{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/views/components/index.js","webpack:///./src/core/redux/index.js","webpack:///./src/core/global/index.js","webpack:///./src/core/enums/index.js","webpack:///./src/config/index.js","webpack:///./src/core/api/index.js","webpack:///./src/views/shared/index.js","webpack:///./src/views/DashboardView/components/Modals/components/index.js","webpack:///./src/core/redux/extensions.js","webpack:///./src/core/redux/auth/index.js","webpack:///./src/views/components/utils/index.js","webpack:///./src/utils/index.js","webpack:///./src/core/redux/auth/actions.js","webpack:///./src/core/redux/userAccounts/actions.js","webpack:///./src/core/redux/app/actions.js","webpack:///./src/core/redux/linkedAccounts/actions.js","webpack:///./src/views/DashboardView/components/MainContent/components/IndividualCashAccount/components/index.js","webpack:///./src/core/redux/acatDeposit/actions.js","webpack:///./src/core/redux/agent/actions.js","webpack:///./src/core/redux/dashboard/actions.js","webpack:///./src/core/redux/depositFunds/actions.js","webpack:///./src/core/redux/etnaAuth/actions.js","webpack:///./src/core/redux/ipo/actions.js","webpack:///./src/core/redux/notifications/actions.js","webpack:///./src/core/redux/profile/actions.js","webpack:///./src/core/redux/reports/actions.js","webpack:///./src/core/redux/reset/actions.js","webpack:///./src/core/redux/tradePlatforms/actions.js","webpack:///./src/core/redux/withdrawFunds/actions.js","webpack:///./src/core/redux/signature/actions.js","webpack:///./src/core/redux/analytics/actions.js","webpack:///./src/core/redux/wallet/actions.js","webpack:///./src/views/components/Messages/BaseMessage/BaseMessage.js","webpack:///./src/views/DashboardView/components/Alerts/components/GenericTextAlert.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoCalendar/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/components/index.js","webpack:///external \"app_config\"","webpack:///./src/core/redux/app/config.js","webpack:///./src/core/redux/linkedAccounts/saga.js","webpack:///./src/core/redux/loginForm/actions.js","webpack:///./src/core/redux/nontradingOrders/actions.js","webpack:///./src/core/redux/signalR/actions.js","webpack:///./src/core/redux/snackbar/actions.js","webpack:///./src/core/redux/userAccounts/selectors.js","webpack:///./src/core/redux/signature/selectors.js","webpack:///./src/views/components/SvgIcon/Icons/index.js","webpack:///./src/views/components/utils/reduxForm/index.js","webpack:///./src/views/components/Input/Input.js","webpack:///./src/views/components/Input/InputFormControl.js","webpack:///./src/views/components/SvgIcon/SvgIcon.js","webpack:///./src/views/components/InputPassword/InputPassword.js","webpack:///./src/views/components/R/R.jsx","webpack:///./src/views/components/R/TranslateContext.jsx","webpack:///./src/views/components/DatePicker/DatePicker.js","webpack:///./src/views/DashboardView/components/index.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/EmploymentPanel.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/HoldersQuestion.js","webpack:///./src/views/shared/BrokerWithdrawalForm/components/index.js","webpack:///./src/views/shared/BrokerWithdrawalForm/components/AccountPropsView.js","webpack:///./src/views/shared/ProfileDesignComponents/CustomEditableItem.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/InstitutionalQuestion.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoOrders/components/index.js","webpack:///./src/index.js","webpack:///./src/config/const.js","webpack:///./src/config/env.js","webpack:///./src/core/global/locationExt.js","webpack:///./src/core/global/logging.js","webpack:///./src/core/global/math.js","webpack:///./src/core/global/memory.js","webpack:///./src/core/global/scrolling.js","webpack:///./src/core/global/toUsaFormat.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/core/global/capitalizeFirstLetter.js","webpack:///./src/core/global/langutils.js","webpack:///./src/core/global/captureException.js","webpack:///./src/core/global/formFieldValidators.js","webpack:///./src/core/global/valueOrEmpty.js","webpack:///./src/core/global/dataAttribute.js","webpack:///./src/core/global/markAsTouched.js","webpack:///./src/config/theme.js","webpack:///./src/config/allowedLanguages.js","webpack:///./src/core/global/img/RUS.png","webpack:///./src/core/global/img/ENG.png","webpack:///./src/core/global/img/spain.png","webpack:///./src/core/global/img/china.png","webpack:///./src/core/global/img/poland.png","webpack:///./src/core/global/img/ukraine.png","webpack:///./src/core/global/img/malaysia3.png","webpack:///./src/core/global/img/korea.png","webpack:///./src/App.js","webpack:///./node_modules/@module-federation/runtime/dist lazy namespace object","webpack:///./src/core/redux/acatDeposit/index.js","webpack:///./src/core/redux/acatDeposit/reducer.js","webpack:///./src/core/enums/AccountPlatforms.js","webpack:///./src/core/enums/AccountTariffs.js","webpack:///./src/core/enums/IraTypes.js","webpack:///./src/core/enums/ModalPopups.js","webpack:///./src/core/enums/TaxFormType.js","webpack:///./src/core/enums/AccountStatus.js","webpack:///./src/core/enums/TwoFactorAutenticationType.js","webpack:///./src/core/enums/OperationTabs.js","webpack:///./src/core/enums/OperationType.js","webpack:///./src/core/enums/AccountClearers.js","webpack:///./src/core/enums/CloseAccountFlow.js","webpack:///./src/core/enums/ValidationMessageMode.js","webpack:///./src/core/enums/MarginType.js","webpack:///./src/core/enums/ClientTypes.js","webpack:///./src/core/enums/OptionLevel.js","webpack:///./src/core/enums/MarketDataClientStatus.js","webpack:///./src/core/enums/InsufficientClientDataKeys.js","webpack:///./src/core/enums/DeliveryTypes.js","webpack:///./src/core/enums/AccountType.js","webpack:///./src/core/redux/auth/reducer.js","webpack:///./src/core/redux/auth/selectors.js","webpack:///./src/core/redux/auth/saga.js","webpack:///./src/core/api/auth.js","webpack:///./src/core/api/agent.js","webpack:///./src/core/api/deposit/index.js","webpack:///./src/core/api/deposit/achDeposit.js","webpack:///./src/core/api/deposit/acatDeposit.js","webpack:///./src/core/api/deposit/acatIraDeposit.js","webpack:///./src/core/api/deposit/brokerDeposit.js","webpack:///./src/core/api/deposit/iraDeposit.js","webpack:///./src/core/api/etnaAuth.js","webpack:///./src/core/api/ipo.js","webpack:///./src/core/api/linkedAccounts.js","webpack:///./src/core/api/nontradingOrders.js","webpack:///./src/core/api/notifications/index.js","webpack:///./src/core/api/notifications/getNotifications.js","webpack:///./src/core/api/notifications/markNewsAllAsRead.js","webpack:///./src/core/api/notifications/markNewsAsRead.js","webpack:///./src/core/api/profile/index.js","webpack:///./src/core/api/profile/profile.js","webpack:///./src/core/api/profile/changeAddress.js","webpack:///./src/core/api/profile/changePostAddress.js","webpack:///./src/core/api/profile/changeEmail.js","webpack:///./src/core/api/profile/confirmEmail.js","webpack:///./src/core/api/profile/changeDeliveryType.js","webpack:///./src/core/api/profile/changePhone.js","webpack:///./src/core/api/profile/changeTariff.js","webpack:///./src/core/api/profile/changeTwoFactorAuthentication.js","webpack:///./src/core/api/profile/changeTaxForm.js","webpack:///./src/core/api/profile/changeDependents.js","webpack:///./src/core/api/profile/changeMaritalStatus.js","webpack:///./src/core/api/profile/changeEmployment.js","webpack:///./src/core/api/profile/changeInvestmentExperience.js","webpack:///./src/core/api/profile/changeInvestmentProfile.js","webpack:///./src/core/api/profile/confirmProfile.js","webpack:///./src/core/api/profile/getCountries.js","webpack:///./src/core/api/profile/getHolderProfiles.js","webpack:///./src/core/api/profile/getUsaStates.js","webpack:///./src/core/api/profile/sendEmailConfirmationCode.js","webpack:///./src/core/api/profile/totpTwoFactorAuthentication.js","webpack:///./src/core/api/profile/apiMarketDataAgreement.js","webpack:///./src/core/api/profile/changeMarketData.js","webpack:///./src/core/api/provider.js","webpack:///./src/core/api/reports.js","webpack:///./src/core/api/reset.js","webpack:///./src/core/api/signature/index.js","webpack:///./src/core/api/signature/checkSignatures.js","webpack:///./src/core/api/signature/saveSignature.js","webpack:///./src/core/api/tradePlatforms/index.js","webpack:///./src/core/api/tradePlatforms/getTradePlatforms.js","webpack:///./src/core/api/tradePlatforms/activatePlatform.js","webpack:///./src/core/api/userAccounts.js","webpack:///./src/core/api/withdraw/index.js","webpack:///./src/core/api/withdraw/acatOutgoing.js","webpack:///./src/core/api/withdraw/achWithdraw.js","webpack:///./src/core/api/withdraw/brokerWithdraw.js","webpack:///./src/core/api/withdraw/iraWithdraw.js","webpack:///./src/core/api/withdraw/closeAccount.js","webpack:///./src/core/api/withdraw/wireWithdraw.js","webpack:///./src/core/api/wallet.js","webpack:///./src/core/api/analytics/index.js","webpack:///./src/core/api/analytics/getEarningsToday.js","webpack:///./src/core/api/analytics/getMostActive.js","webpack:///./src/core/redux/acatDeposit/selectors.js","webpack:///./src/core/redux/acatDeposit/saga.js","webpack:///./src/core/redux/app/index.js","webpack:///./src/core/redux/app/reducer.js","webpack:///./src/core/redux/app/selectors.js","webpack:///./src/core/redux/app/saga.js","webpack:///./src/core/redux/agent/index.js","webpack:///./src/core/redux/agent/reducer.js","webpack:///./src/core/redux/agent/selectors.js","webpack:///./src/core/redux/agent/saga.js","webpack:///./src/core/redux/dashboard/index.js","webpack:///./src/core/redux/dashboard/reducer.js","webpack:///./src/core/redux/dashboard/selectors.js","webpack:///./src/core/redux/dashboard/saga.js","webpack:///./src/core/redux/depositFunds/index.js","webpack:///./src/core/redux/depositFunds/reducer.js","webpack:///./src/core/redux/depositFunds/selectors.js","webpack:///./src/core/redux/depositFunds/saga.js","webpack:///./src/core/redux/etnaAuth/index.js","webpack:///./src/core/redux/etnaAuth/reducer.js","webpack:///./src/core/redux/etnaAuth/selectors.js","webpack:///./src/core/redux/etnaAuth/saga.js","webpack:///./src/core/redux/ipo/index.js","webpack:///./src/core/redux/ipo/reducer.js","webpack:///./src/core/redux/ipo/selectors.js","webpack:///./src/core/redux/ipo/saga.js","webpack:///./src/core/redux/linkedAccounts/index.js","webpack:///./src/core/redux/linkedAccounts/reducer.js","webpack:///./src/core/redux/linkedAccounts/selectors.js","webpack:///./src/core/redux/loginForm/index.js","webpack:///./src/core/redux/loginForm/reducer.js","webpack:///./src/core/redux/loginForm/selectors.js","webpack:///./src/core/redux/loginForm/saga.js","webpack:///./src/core/redux/nontradingOrders/index.js","webpack:///./src/core/redux/nontradingOrders/reducer.js","webpack:///./src/core/redux/nontradingOrders/selectors.js","webpack:///./src/core/redux/nontradingOrders/saga.js","webpack:///./src/core/redux/notifications/index.js","webpack:///./src/core/redux/notifications/reducer.js","webpack:///./src/core/redux/notifications/saga.js","webpack:///./src/core/redux/notifications/selectors.js","webpack:///./src/core/redux/profile/index.js","webpack:///./src/core/redux/profile/reducer.js","webpack:///./src/core/redux/profile/selectors.js","webpack:///./src/core/redux/profile/saga.js","webpack:///./src/core/redux/reports/index.js","webpack:///./src/core/redux/reports/selectors.js","webpack:///./src/core/redux/reset/index.js","webpack:///./src/core/redux/reset/reducer.js","webpack:///./src/core/redux/reset/selectors.js","webpack:///./src/core/redux/reset/saga.js","webpack:///./src/core/redux/signalR/index.js","webpack:///./src/core/redux/signalR/reducer.js","webpack:///./src/core/redux/signalR/selectors.js","webpack:///./src/core/redux/signalR/saga.js","webpack:///./src/core/redux/snackbar/index.js","webpack:///./src/core/redux/snackbar/reducer.js","webpack:///./src/core/redux/snackbar/selectors.js","webpack:///./src/core/redux/tradePlatforms/index.js","webpack:///./src/core/redux/tradePlatforms/reducer.js","webpack:///./src/core/redux/tradePlatforms/selectors.js","webpack:///./src/core/redux/tradePlatforms/saga.js","webpack:///./src/core/redux/userAccounts/index.js","webpack:///./src/core/redux/userAccounts/reducer.js","webpack:///./src/core/redux/userAccounts/saga.js","webpack:///./src/core/redux/withdrawFunds/index.js","webpack:///./src/core/redux/withdrawFunds/reducer.js","webpack:///./src/core/redux/withdrawFunds/selectors.js","webpack:///./src/core/redux/withdrawFunds/saga.js","webpack:///./src/core/redux/signature/index.js","webpack:///./src/core/redux/signature/reducer.js","webpack:///./src/core/redux/signature/saga.js","webpack:///./src/core/redux/analytics/index.js","webpack:///./src/core/redux/analytics/reducer.js","webpack:///./src/core/redux/analytics/selectors.js","webpack:///./src/core/redux/analytics/saga.js","webpack:///./src/core/redux/wallet/index.js","webpack:///./src/core/redux/wallet/reducer.js","webpack:///./src/core/redux/wallet/selectors.js","webpack:///./src/core/redux/wallet/saga.js","webpack:///./src/core/redux/sagaExtensions.js","webpack:///./src/views/components/SvgIcon/AllSvgIcons.js","webpack:///./src/views/components/SvgIcon/Icons/Api.js","webpack:///./src/views/components/SvgIcon/Icons/App.js","webpack:///./src/views/components/SvgIcon/Icons/AddCircleOutline.js","webpack:///./src/views/components/SvgIcon/Icons/Android.js","webpack:///./src/views/components/SvgIcon/Icons/Apple.js","webpack:///./src/views/components/SvgIcon/Icons/ArrowDown.js","webpack:///./src/views/components/SvgIcon/Icons/ArrowLongDown.js","webpack:///./src/views/components/SvgIcon/Icons/ArrowUp.js","webpack:///./src/views/components/SvgIcon/Icons/Back.js","webpack:///./src/views/components/SvgIcon/Icons/Bank.js","webpack:///./src/views/components/SvgIcon/Icons/BaseChart.js","webpack:///./src/views/components/SvgIcon/Icons/BriefcaseAccount.js","webpack:///./src/views/components/SvgIcon/Icons/Circle.js","webpack:///./src/views/components/SvgIcon/Icons/Close.js","webpack:///./src/views/components/SvgIcon/Icons/Contacts.js","webpack:///./src/views/components/SvgIcon/Icons/ContentCopy.js","webpack:///./src/views/components/SvgIcon/Icons/DefaultBank.js","webpack:///./src/views/components/SvgIcon/Icons/Delete.js","webpack:///./src/views/components/SvgIcon/Icons/Deposit.js","webpack:///./src/views/components/SvgIcon/Icons/Description.js","webpack:///./src/views/components/SvgIcon/Icons/DocPdf.js","webpack:///./src/views/components/SvgIcon/Icons/DocXls.js","webpack:///./src/views/components/SvgIcon/Icons/Document.js","webpack:///./src/views/components/SvgIcon/Icons/Dollar.js","webpack:///./src/views/components/SvgIcon/Icons/Done.js","webpack:///./src/views/components/SvgIcon/Icons/Download.js","webpack:///./src/views/components/SvgIcon/Icons/Edit.js","webpack:///./src/views/components/SvgIcon/Icons/EditDocument.js","webpack:///./src/views/components/SvgIcon/Icons/Error.js","webpack:///./src/views/components/SvgIcon/Icons/Gavel.js","webpack:///./src/views/components/SvgIcon/Icons/Help.js","webpack:///./src/views/components/SvgIcon/Icons/Hamburger.js","webpack:///./src/views/components/SvgIcon/Icons/Handshake.js","webpack:///./src/views/components/SvgIcon/Icons/Logout.js","webpack:///./src/views/components/SvgIcon/Icons/Launch.js","webpack:///./src/views/components/SvgIcon/Icons/MarkAsRead.js","webpack:///./src/views/components/SvgIcon/Icons/Minus.js","webpack:///./src/views/components/SvgIcon/Icons/Mobile.js","webpack:///./src/views/components/SvgIcon/Icons/More.js","webpack:///./src/views/components/SvgIcon/Icons/Person.js","webpack:///./src/views/components/SvgIcon/Icons/Plus.js","webpack:///./src/views/components/SvgIcon/Icons/PriceDown.js","webpack:///./src/views/components/SvgIcon/Icons/PriceUp.js","webpack:///./src/views/components/SvgIcon/Icons/Refresh.js","webpack:///./src/views/components/SvgIcon/Icons/Report.js","webpack:///./src/views/components/SvgIcon/Icons/Settings.js","webpack:///./src/views/components/SvgIcon/Icons/SpcLogo.js","webpack:///./src/views/components/SvgIcon/Icons/Star.js","webpack:///./src/views/components/SvgIcon/Icons/TableChart.js","webpack:///./src/views/components/SvgIcon/Icons/TariffPerShare.js","webpack:///./src/views/components/SvgIcon/Icons/TariffPerTrade.js","webpack:///./src/views/components/SvgIcon/Icons/TariffZero.js","webpack:///./src/views/components/SvgIcon/Icons/Trading.js","webpack:///./src/views/components/SvgIcon/Icons/Transfer.js","webpack:///./src/views/components/SvgIcon/Icons/Twitter.js","webpack:///./src/views/components/SvgIcon/Icons/Upgrade.js","webpack:///./src/views/components/SvgIcon/Icons/VisibilityOff.js","webpack:///./src/views/components/SvgIcon/Icons/VisibilityOn.js","webpack:///./src/views/components/SvgIcon/Icons/Withdraw.js","webpack:///./src/views/components/SvgIcon/Icons/Complete.js","webpack:///./src/views/components/AgreementField/AgreementField.js","webpack:///./src/views/components/AutocompleteInput/AutocompleteInput.js","webpack:///./src/views/components/AutocompleteInput/FormAutocompleteInput.js","webpack:///./src/views/components/utils/reduxForm/reduxFormUtils.js","webpack:///./src/views/components/utils/reduxForm/createComponent.js","webpack:///./src/views/components/FormInput/FormBaseInput.js","webpack:///./src/views/components/FormInput/FormInput.js","webpack:///./src/views/components/Button/Button.js","webpack:///./src/views/components/ButtonLime/ButtonLime.js","webpack:///./src/views/components/A/A.js","webpack:///./src/views/components/ChangeLink/ChangeLink.js","webpack:///./src/views/components/Link/Link.js","webpack:///./src/views/components/Select/Select.js","webpack:///./src/views/components/Select/components/index.js","webpack:///./src/views/components/Select/components/MUISelect/Select.js","webpack:///./src/views/components/Select/components/MUISelect/SelectInput.js","webpack:///./src/views/components/FormSelect/FormSelect.js","webpack:///./src/views/components/Modal/Modal.js","webpack:///./src/views/components/BankLogo/BankLogo.js","webpack:///./src/views/components/IconButton/IconButton.js","webpack:///./src/views/components/InputNumber/InputNumber.js","webpack:///./src/views/components/FormInputNumber/FormInputNumber.js","webpack:///./src/views/components/InputPassword/components/VisibilityButton.js","webpack:///./src/views/components/InputPassword/FormInputPassword.js","webpack:///./src/views/components/InputNumberFormat/InputNumberFormat.js","webpack:///./src/views/components/FormInputNumberFormat/FormInputNumberFormat.js","webpack:///./src/views/components/InputPhoneNumber/InputPhoneNumber.js","webpack:///./src/views/components/InputPhoneNumber/phoneCodes.js","webpack:///./src/views/components/InputPhoneIconNumber/InputPhoneIconNumber.js","webpack:///./src/views/components/InputPhoneIconNumber/flags.png","webpack:///./src/views/components/InputPhoneIconNumber/flagLargeStyles.js","webpack:///./src/views/components/FormInputPhoneNumber/FormInputPhoneNumber.js","webpack:///./src/views/components/FormInputPhoneIconNumber/FormInputPhoneIconNumber.js","webpack:///./src/views/components/FileDownload/FileDownload.js","webpack:///./src/views/components/ExpansionPanel/ExpansionPanel.js","webpack:///./src/views/components/List/List.js","webpack:///./src/views/components/List/components/index.js","webpack:///./src/views/components/List/components/ListItem/ListItem.js","webpack:///./src/views/components/List/components/ListItemIcon/ListItemIcon.js","webpack:///./src/views/components/List/components/ListItemText/ListItemText.js","webpack:///./src/views/components/LoadableScrollbars/LoadableScrollbars.js","webpack:///./src/views/components/Divider/Divider.js","webpack:///./src/views/components/ShowMore/ShowMore.js","webpack:///./src/views/components/DropDownMenu/DropDownMenu.js","webpack:///./src/views/components/Radio/Radio.js","webpack:///./src/views/components/RadioGroup/RadioGroup.js","webpack:///./src/views/components/FormRadioGroup/FormRadioGroup.js","webpack:///./src/views/components/Checkbox/Checkbox.js","webpack:///./src/views/components/FormCheckbox/FormCheckbox.js","webpack:///./src/views/components/ChartThumbnail/ChartThumbnail.js","webpack:///./src/views/components/Chart/Chart.js","webpack:///./src/views/components/TabContainer/TabContainer.js","webpack:///./src/views/components/FileInput/FileInput.js","webpack:///./src/views/components/Messages/InfoMessage.js","webpack:///./src/views/components/Messages/BaseMessage/large_error.svg","webpack:///./src/views/components/Messages/ErrorMessage.js","webpack:///./src/views/components/Messages/SuccessMessage.js","webpack:///./src/views/components/ProgressContainer/ProgressContainer.js","webpack:///./src/views/components/FullScreenProgressContainer/FullScreenProgressContainer.js","webpack:///./src/views/components/ErrorCatcher/ErrorCatcher.js","webpack:///./src/views/components/DateRangePicker/DateRangePicker.js","webpack:///./src/views/components/DatePicker/index.js","webpack:///./src/views/components/DatePicker/FormDatePicker.js","webpack:///./src/views/components/SelectField/SelectField.js","webpack:///./src/views/components/Logo/LimeLogo.js","webpack:///./src/views/components/Logo/lime_logo.svg","webpack:///./src/views/components/WithdrawAmount/WithdrawAmount.js","webpack:///./src/views/components/HeaderUserInfo/HeaderUserInfo.js","webpack:///./src/views/components/LanguageSelector/LanguageSelector.js","webpack:///./src/views/components/LanguageSelector/LanguageRefSwitcher.js","webpack:///./src/views/components/LogOutButton/LogOutButton.js","webpack:///./src/views/components/SelectPoints/SelectPoints.js","webpack:///./src/core/redux/store.js","webpack:///./src/core/redux/reducers.js","webpack:///./src/core/redux/reports/reducer.js","webpack:///./src/core/redux/sagas.js","webpack:///./src/core/redux/reports/saga.js","webpack:///./src/views/RootRoutes.js","webpack:///./src/views/DashboardView/DashboardView.js","webpack:///./src/views/DashboardView/components/Alerts/Alerts.js","webpack:///./src/views/DashboardView/components/Alerts/components/index.js","webpack:///./src/views/DashboardView/components/Alerts/components/BrokenEmailAlert.js","webpack:///./src/views/DashboardView/components/Alerts/components/DocumentDebtsAlert.jsx","webpack:///./src/views/DashboardView/components/Alerts/components/MarginTypeAlert.js","webpack:///./src/views/DashboardView/components/Alerts/components/MarketDataAlert.js","webpack:///./src/views/DashboardView/components/Alerts/components/MarketDataDisabledAlert.js","webpack:///./src/views/DashboardView/components/Alerts/components/PaperDeliveryAlert.js","webpack:///./src/views/DashboardView/components/Alerts/components/SignatureAlert.js","webpack:///./src/views/DashboardView/components/Alerts/components/TwoFactorAlert.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/ConfirmProfile.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/ConfirmProfileNavigation.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/index.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/AccountInformation.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/JointHolders.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/JointHolderInformation.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/AccountInformationQuestion.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/InvestmentExpirience.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/InvestmentProfilePanel.js","webpack:///./src/utils/accountNames.js","webpack:///./src/utils/const.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/PersonalInformation.js","webpack:///./src/views/shared/AcatOutgoingForm/AcatOutgoingForm.js","webpack:///./src/views/shared/AchWithdrawalForm/AchWithdrawalForm.js","webpack:///./src/views/shared/AchWithdrawalForm/arrow.svg","webpack:///./src/views/shared/BrokerWithdrawalForm/BrokerWithdrawalForm.js","webpack:///./src/views/shared/BrokerWithdrawalForm/arrow.svg","webpack:///./src/views/shared/BrokerWithdrawalForm/j2t.png","webpack:///./src/views/shared/BrokerWithdrawalForm/components/WithdrawInfo.js","webpack:///./src/views/shared/BrokerWithdrawalForm/components/BrokerAccountInfo.js","webpack:///./src/views/shared/CloseAccountForm/CloseAccountForm.js","webpack:///./src/views/shared/CYChangePasswordForm/CYChangePasswordForm.js","webpack:///./src/views/shared/IpoCreateOrderForm/IpoCreateOrderForm.js","webpack:///./src/views/shared/ProfileDesignComponents/index.js","webpack:///./src/views/shared/ProfileDesignComponents/ExpansionPanelHeaderEditable.js","webpack:///./src/views/shared/ProfileDesignComponents/InputEditableItem.js","webpack:///./src/views/shared/RequireConfirmationCodeItem/RequireConfirmationCodeItem.js","webpack:///./src/views/shared/SignatureChecker/SignatureChecker.js","webpack:///./src/views/shared/WireDeposit/WireDepositPage.js","webpack:///./src/views/shared/WireWithdrawalForm/WireWithdrawalForm.js","webpack:///./src/views/shared/WireWithdrawalForm/WireWithdrawalShortForm.js","webpack:///./src/views/shared/CloseAccountSuggestionPopup/CloseAccountSuggestionPopup.js","webpack:///./src/views/DashboardView/components/ConfirmProfile/components/PersonalInformationQuestion.js","webpack:///./src/views/DashboardView/components/Chat/FreshChat.js","webpack:///./src/views/DashboardView/components/Chat/HubSpotChat.js","webpack:///./src/views/DashboardView/components/Documents/Documents.js","webpack:///./src/views/DashboardView/components/Documents/components/DeliverySettings.jsx","webpack:///./src/views/DashboardView/components/Documents/components/DeliverySettingsItem.jsx","webpack:///./src/views/DashboardView/components/Documents/components/TaxForms.js","webpack:///./src/views/DashboardView/components/Snackbar/Icons.js","webpack:///./src/views/DashboardView/components/Ipo/IpoContent.js","webpack:///./src/views/DashboardView/components/Ipo/components/index.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoCalendar/IpoCalendar.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoCalendar/components/IpoCalendarItem.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoCalendar/components/IpoCalendarItemMobile.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoCalendar/components/OfferingExtendedInfo.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoCalendar/components/OfferingMainInfo.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoCalendar/components/OfferingMainInfoMobile.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoOrders/IpoOrders.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoOrders/components/IpoOrderItem.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoOrders/components/OrderExtendedInfo.js","webpack:///./src/views/DashboardView/components/Ipo/components/IpoOrders/components/OrderMainInfo.js","webpack:///./src/views/DashboardView/components/Ipo/ClickIPO-Logo-Blue-Lettering---Powered-By.png","webpack:///./src/views/DashboardView/components/MainContent/MainContent.js","webpack:///./src/views/DashboardView/components/MainContent/components/index.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/CurrentHoldings.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/index.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/CurrentHoldingsTable/CurrentHoldingsTable.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/CurrentHoldingsTable/components/index.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/CurrentHoldingsTable/components/Ticker/Ticker.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/CurrentHoldingsTable/components/Quantity/Quantity.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/CurrentHoldingsTable/components/CurrentPrice/CurrentPrice.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/CurrentHoldingsTable/components/MarketValue/MarketValue.js","webpack:///./src/views/DashboardView/components/MainContent/components/CurrentHoldings/components/CurrentHoldingsTable/components/Yield/Yield.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/TransactionsHistory.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/index.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/Item/Item.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/Item/components/index.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/Item/components/FundItem/FundItem.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/Item/components/TradeItem/TradeItem.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/Item/components/FeeItem/FeeItem.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/Item/components/InstrumentItem/InstrumentItem.js","webpack:///./src/views/DashboardView/components/MainContent/components/TransactionsHistory/components/TransactionsFilters.js","webpack:///./src/views/DashboardView/components/MainContent/components/IndividualCashAccount/IndividualCashAccount.js","webpack:///./src/views/DashboardView/components/MainContent/components/IndividualCashAccount/components/OpenedBody/OpenedBody.js","webpack:///./src/views/DashboardView/components/MainContent/components/IndividualCashAccount/components/ValueChange/ValueChange.js","webpack:///./src/views/DashboardView/components/MainContent/components/IndividualCashAccount/components/BriefInfo/BriefInfo.js","webpack:///./src/views/DashboardView/components/MainContent/components/IndividualCashAccount/components/ChangeInfo/ChangeInfo.js","webpack:///./src/views/DashboardView/components/MainContent/components/CorporateActions/CorporateActions.js","webpack:///./src/views/DashboardView/components/MainContent/components/CorporateActions/components/index.js","webpack:///./src/views/DashboardView/components/MainContent/components/CorporateActions/components/Item/Item.js","webpack:///./src/views/DashboardView/components/MainContent/components/CorporateActions/components/Item/components/index.js","webpack:///./src/views/DashboardView/components/MainContent/components/CorporateActions/components/Item/components/DividendItem.js","webpack:///./src/views/DashboardView/components/MainContent/components/CorporateActions/components/Item/components/OtherItem.js","webpack:///./src/views/DashboardView/components/MainContent/components/CorporateActions/components/Item/components/SplitItem.js","webpack:///./src/views/DashboardView/components/MainHeader/MainHeader.js","webpack:///./src/views/DashboardView/components/MainHeader/components/GoToTrading.js","webpack:///./src/views/DashboardView/components/MainHeader/img/j2t-plus.png","webpack:///./src/views/DashboardView/components/MainHeader/img/mt5.png","webpack:///./src/views/DashboardView/components/Contacts/Contacts.js","webpack:///./src/views/DashboardView/components/Contacts/ContactsCard.js","webpack:///./src/views/DashboardView/components/Modals/BlockModals.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeDeliveryTypeModal/ChangeDeliveryTypeModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeProfileAddressModal/ChangeProfileAddressModal.js","webpack:///./src/views/DashboardView/components/Modals/components/AcatFundModal/AcatFundModal.js","webpack:///./src/views/DashboardView/components/Modals/components/AcatFundModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/AcatFundModal/components/AcatFundForm/AcatFundForm.js","webpack:///./src/views/DashboardView/components/Modals/components/AcatFundModal/components/AcatFundForm/AcatFundIraForm.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/AddBankAccountModal.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/AchAutoTabComponent.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/components/AchLinkRemoveComponent.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/components/PlaidAccountRadioItem.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/AchManuallyTabComponent.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/WireManuallyTabComponent.js","webpack:///./src/views/DashboardView/components/Modals/components/CommissionFreeModal/CommissionFreeModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ConfirmModal/ConfirmModal.js","webpack:///./src/views/DashboardView/components/Modals/components/CloseAccountModal/CloseAccountModal.js","webpack:///./src/views/DashboardView/components/Modals/components/CloseAccountModal/CloseAccountFormModal.js","webpack:///./src/views/DashboardView/components/Modals/components/CloseAccountModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/CloseAccountModal/components/CloseAccountContinue/CloseAccountContinue.js","webpack:///./src/views/DashboardView/components/Modals/components/CloseAccountModal/components/CloseAccountPennyForm/CloseAccountPennyForm.js","webpack:///./src/views/DashboardView/components/Modals/components/CloseAccountModal/components/CloseAccountWithdrawalCash/CloseAccountWithdrawalCash.js","webpack:///./src/views/DashboardView/components/Modals/components/CloseAccountModal/components/CloseAccountWithdrawalCash/WithdrawFundsWireTab.js","webpack:///./src/views/DashboardView/components/Modals/components/CreateSignatureModal/CreateSignatureModal.js","webpack:///./src/views/DashboardView/components/Modals/components/CreateSignatureModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/CreateSignatureModal/components/SignatureArea/SignatureArea.js","webpack:///./src/views/DashboardView/components/Modals/components/CreateApiKeyModal/CreateApiKeyModal.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsAchModal/DepositFundsAchModal.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsAchModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsAchModal/components/DepositFundsForm/DepositFundsForm.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsAchModal/components/DepositFundsForm/arrow.svg","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsBrokerModal/DepositFundsBrokerModal.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsBrokerModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsBrokerModal/components/DepositFundsBrokerForm/DepositFundsBrokerForm.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsBrokerModal/components/DepositFundsBrokerForm/arrow.svg","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsBrokerModal/components/DepositFundsBrokerForm/j2t.png","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsWireModal/DepositFundsWireModal.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsIraModal/DepositFundsIraModal.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsIraModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/DepositFundsIraModal/components/DepositFundsIraForm/DepositFundsIraForm.js","webpack:///./src/views/DashboardView/components/Modals/components/IpoCreateOrderModal/IpoCreateOrderModal.js","webpack:///./src/views/DashboardView/components/Modals/components/J2tLiteModal/J2tLiteModal.js","webpack:///./src/views/DashboardView/components/Modals/components/J2tLiteModal/imgs/lime_trading_logo.png","webpack:///./src/views/DashboardView/components/Modals/components/J2tPlusModal/J2tPlusModal.js","webpack:///./src/views/DashboardView/components/Modals/components/J2tPlusModal/imgs/j2t-plus.png","webpack:///./src/views/DashboardView/components/Modals/components/J2tProModal/J2tProModal.js","webpack:///./src/views/DashboardView/components/Modals/components/J2tProModal/j2t-pro.png","webpack:///./src/views/DashboardView/components/Modals/components/RequireSignatureModal/RequireSignatureModal.js","webpack:///./src/views/DashboardView/components/Modals/components/StProModal/StProModal.js","webpack:///./src/views/DashboardView/components/Modals/components/StProModal/imgs/stpro.png","webpack:///./src/views/DashboardView/components/Modals/components/MessageModal/MessageModal.js","webpack:///./src/views/DashboardView/components/Modals/components/AddBankAccountModal/components/PlaidSelectAccountModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/ProfileModals.js","webpack:///./src/views/DashboardView/components/Modals/components/UpgradeAccountModal/UpgradeAccountModal.js","webpack:///./src/views/DashboardView/components/Modals/components/UpgradeAccountModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/UpgradeAccountModal/components/UpgradeAccountForm.js","webpack:///./src/views/DashboardView/components/Modals/components/UpgradeAccountModal/components/UpgradeAccountFormContent.js","webpack:///./src/views/DashboardView/components/Modals/components/UpgradeOptionLevelModal/UpgradeOptionLevelModal.js","webpack:///./src/views/DashboardView/components/Modals/components/UpgradeOptionLevelModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/UpgradeOptionLevelModal/components/UpgradeOptionLevelForm.js","webpack:///./src/views/DashboardView/components/Modals/components/WelcomePageModal/WelcomePageModal.js","webpack:///./src/views/DashboardView/components/Modals/components/WithdrawFundsAchModal/WithdrawFundsAchModal.js","webpack:///./src/views/DashboardView/components/Modals/components/WithdrawFundsWireModal/WithdrawFundsWireModal.js","webpack:///./src/views/DashboardView/components/Modals/components/WithdrawFundsBrokerModal/WithdrawFundsBrokerModal.js","webpack:///./src/views/DashboardView/components/Modals/components/WithdrawFundsIraModal/WithdrawFundsIraModal.js","webpack:///./src/views/DashboardView/components/Modals/components/WithdrawFundsIraModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/WithdrawFundsIraModal/components/IraWithdrawalForm.js","webpack:///./src/views/DashboardView/components/Modals/components/IpoExtendedInfoMobileModal/IpoExtendedInfoMobileModal.js","webpack:///./src/views/DashboardView/components/Modals/components/DemoAccountModal/DemoAccountModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ResetDemoBalanceModal/ResetDemoBalanceModal.js","webpack:///./src/views/DashboardView/components/Modals/components/OpenSecondAccountModal/OpenSecondAccountModal.js","webpack:///./src/views/DashboardView/components/Modals/components/SecondFactorRestrictionModal/SecondFactorRestrictionModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ClientDataInsufficientModal/ClientDataInsufficientModal.js","webpack:///./src/views/DashboardView/components/Modals/components/MarketDataModals/UpdateSubscriberAgreementsModal.js","webpack:///./src/views/DashboardView/components/Modals/components/MarketDataModals/UpdateSubscriberStatusModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ActualAddressMissedModal/ActualAddressMissedModal.jsx","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeProfilePostAddressModal/ChangeProfilePostAddressModal.jsx","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeProfileEmailModal/ChangeProfileEmailModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeProfilePhoneModal/ChangeProfilePhoneModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTariffPerShareModal/ChangeTariffPerShareModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTariffPerTradeModal/ChangeTariffPerTradeModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTariffZeroModal/ChangeTariffZeroModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTaxFormModal/ChangeTaxFormModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTaxFormModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTaxFormModal/components/TaxFormFillInTabComponent/TaxFormFillInTabComponent.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTaxFormModal/components/TaxFormUploadTabComponent/TaxFormUploadTabComponent.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ConfirmProfileEmailModal/ConfirmProfileEmailModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeDependentsModal/ChangeDependentsModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeMaritalStatusModal/ChangeMaritalStatusModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeMarketDataSubscriberStatusModal/ChangeMarketDataSubscriberStatusModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeMarketDataSubscriberStatusModal/components/ChangeMarketDataSubscriberStatusForm.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeMarketDataSubscriptionsModal/ChangeMarketDataSubscriptionsModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeMarketDataSubscriptionsModal/components/ChangeMarketDataSubscriptionsForm.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeMarketDataSubscriptionsModal/components/CtaAgrements.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeMarketDataSubscriptionsModal/components/OpraAgreements.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeEmploymentModal/ChangeEmploymentModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeInvestmentExperienceModal/ChangeInvestmentExperienceModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeInvestmentExperienceModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeInvestmentExperienceModal/components/InvestmentExperienceItem/InvestmentExperienceItem.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeInvestmentProfileModal/ChangeInvestmentProfileModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeInvestmentProfileModal/AssetItems.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ConfirmProfileModal/ConfirmProfileModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/CYChangePasswordModal/CYChangePasswordModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/ChangeTwoFactorAuthorizationModal.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/TotpAuthenticationForm/TotpAuthenticationForm.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/TotpAuthenticationForm/components/index.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/TotpAuthenticationForm/components/GoogleInfoStep.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/TotpAuthenticationForm/components/QrCodeStep.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/TotpAuthenticationForm/components/AuthCodeForm.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/TotpAuthenticationForm/components/DigitsOnlyField.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/SmsAuthenticationForm.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/ChangeTwoFactorAuthorizationModal/components/EmailAuthenticationForm.js","webpack:///./src/views/DashboardView/components/Modals/components/ProfileModals/components/EnableThirdPartyMarketDataModal/EnableThirdPartyMarketDataModal.js","webpack:///./src/views/DashboardView/components/Modals/Modals.js","webpack:///./src/views/DashboardView/components/Notifications/Notifications.js","webpack:///./src/views/DashboardView/components/Notifications/components/index.js","webpack:///./src/views/DashboardView/components/Notifications/components/NotificationsContent/NotificationsContent.js","webpack:///./src/views/DashboardView/components/Notifications/components/NotificationsContent/components/index.js","webpack:///./src/views/DashboardView/components/Notifications/components/NotificationsContent/components/Item/Item.js","webpack:///./src/views/DashboardView/components/Notifications/components/NotificationsContent/components/Item/components/index.js","webpack:///./src/views/DashboardView/components/Notifications/components/NotificationsContent/components/Item/components/FundItem/FundItem.js","webpack:///./src/views/DashboardView/components/Notifications/components/NotificationsContent/components/Item/components/MessageItem/MessageItem.js","webpack:///./src/views/DashboardView/components/Notifications/components/NotificationsContent/components/Item/components/TradeItem/TradeItem.js","webpack:///./src/views/DashboardView/components/Profile/Profile.js","webpack:///./src/views/DashboardView/components/Profile/components/index.js","webpack:///./src/views/DashboardView/components/Profile/components/AccountCredentialsPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/CYAccountCredentialsPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/CYPersonalDocumentsPanel.jsx","webpack:///./src/views/DashboardView/components/Profile/components/ApiKeysPanel/ApiKeysPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/ApiKeysPanel/ApiKeysPanelContent.js","webpack:///./src/views/DashboardView/components/Profile/components/EmploymentPanel/EmploymentPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/EmploymentPanel/components/index.js","webpack:///./src/views/DashboardView/components/Profile/components/EmploymentPanel/components/EmployedPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/EmploymentPanel/components/RetiredPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/EmploymentPanel/components/StudentPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/MarketDataPanel/MarketDataPanel.js","webpack:///./src/views/DashboardView/components/Profile/components/TariffCard.js","webpack:///./src/views/DashboardView/components/AccountFeatures/AccountFeatures.js","webpack:///./src/views/DashboardView/components/Reports/Reports.js","webpack:///./src/views/DashboardView/components/Reports/ReportItem.js","webpack:///./src/views/DashboardView/components/Reports/TransmissionItems.js","webpack:///./src/views/DashboardView/components/Reports/CYReport.jsx","webpack:///./src/views/DashboardView/components/Reports/CYReportsTable.jsx","webpack:///./src/views/DashboardView/components/TerminalMt5/TerminalMt5.js","webpack:///./src/views/DashboardView/components/Sidebar/Sidebar.js","webpack:///./src/views/DashboardView/components/Sidebar/components/index.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/SidebarContent.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/index.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/AccountSelection/AccountSelection.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/AccountSelection/lime_bg_logo.png","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/AccountActions/AccountActions.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/LinkedAccountsList/LinkedAccountsList.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/QuickLinks/EmptyLinks.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/QuickLinks/QuickLinks.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/QuickLinks/ProfileQuickLinks.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/QuickLinks/ReportsQuickLinks.js","webpack:///./src/views/DashboardView/components/Sidebar/components/SidebarContent/components/QuickLinks/DocumentsQuickLinks.js","webpack:///./src/views/DashboardView/components/Snackbar/Snackbar.js","webpack:///./src/views/DashboardView/components/TradingAssistance/TradingAssistance.js","webpack:///./src/views/DashboardView/components/TradingAssistance/components/index.js","webpack:///./src/views/DashboardView/components/TradingAssistance/components/EarningsTable.js","webpack:///./src/views/DashboardView/components/TradingAssistance/components/MostActiveTable.js","webpack:///./src/views/DashboardView/components/CashManagementContent/CashManagementContent.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/index.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/CashManagement/CashManagement.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/CashManagement/components/index.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/CashManagement/components/BankAccountItem/BankAccountItem.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/CashManagement/components/ConnectBankAccountItem/LinkBankAccountButon.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/CashManagement/components/BankAccountItem/components/BankAccountItemContent.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/CashManagement/components/ConnectBankAccountItem/ConnectBankAccountItem.js","webpack:///./src/views/DashboardView/components/CashManagementContent/components/CashManagement/PaymentGateCallback.jsx","webpack:///./src/views/DashboardView/components/TradingPlatforms/TradingPlatforms.js","webpack:///./src/views/DashboardView/components/TradingPlatforms/mt4-original.png","webpack:///./src/views/DashboardView/components/TradingPlatforms/soft-icons.png","webpack:///./src/views/LoginView/LoginView.js","webpack:///./src/views/LoginView/components/index.js","webpack:///./src/views/LoginView/components/AutoLogin/AutoLogin.js","webpack:///./src/views/LoginView/components/CheckAuth/CheckAuth.js","webpack:///./src/views/LoginView/components/LoginForm/LoginForm.js","webpack:///./src/views/LoginView/components/LoginForm/LoginFormLocal.js","webpack:///./src/views/LoginView/components/LoginForm/components/index.js","webpack:///./src/views/LoginView/components/LoginForm/components/PasswordInput/PasswordInput.js","webpack:///./src/views/LoginView/components/LoginForm/components/PasswordInput/components/index.js","webpack:///./src/views/LoginView/components/LoginForm/components/PasswordInput/components/VisibilityButton/VisibilityButton.js","webpack:///./src/views/shared/Header/Header.jsx","webpack:///./src/views/shared/Header/lime_logo.png","webpack:///./src/views/ResetView/ResetView.js","webpack:///./src/views/ResetView/components/ResetByEmailForm.js","webpack:///./src/views/ResetView/components/ResetByOperatorForm.js","webpack:///./src/views/ResetView/ResetPasswordView.js","webpack:///./src/global.css?3dcc","webpack:///./src/global.css","webpack:///./static/fonts/Enigma-Bold.otf"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","0","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","default","ListItemText","ListItemIcon","ListItem","useTranslate","DatePicker","FormDatePicker","setAlowedLanguages","getAllowedLanguages","WithdrawInfo","BrokerAccountInfo","InputEditableItem","ExpansionPanelHeaderEditable","CustomEditableItem","ConfirmProfileEmailModal","initTableData","sortField","sortDirection","Items","Count","Pagination","Page","PageSize","Sorting","Field","Direction","Filter","createApiActions","prefix","REQUEST","request","payload","type","SUCCESS","success","FAILURE","failure","error","actions","reducer","selectors","saga","LOGIN_LOCAL","loginLocal","AUTH_WIDGET","setWidget","LOGIN_USER","loginUser","LOGOUT","logout","LOGOUT_SUCCESS","logoutSuccess","CHECK_AUTH_REQUEST","checkAuthRequest","location","AUTOLOGIN_REQUEST","autologinRequest","autologin","SEND_PING_AUTH_REQUEST","sendPingAuthRequest","SEND_CONFIRMATION_CODE_REQUEST","SEND_CONFIRMATION_CODE_SUCCESS","SEND_CONFIRMATION_CODE_FAILURE","sendConfirmationCodeRequest","phone","reason","sendConfirmationCodeSuccess","sendConfirmationCodeFailure","SEND_CONFIRMATION_CODE_EMAIL_REQUEST","SEND_CONFIRMATION_CODE_EMAIL_SUCCESS","SEND_CONFIRMATION_CODE_EMAIL_FAILURE","sendConfirmationCodeEmailRequest","email","sendConfirmationCodeEmailSuccess","sendConfirmationCodeEmailFailure","SET_AFTER_AUTH_URL","setAfterAuthUrl","SET_CURRENT_ACCOUNT","setCurrentAccount","account","SET_ACCOUNT_BASE_PARAMS","setCurrentAccountBaseParams","currentAccountData","response","GET_CURRENT_ACCOUNT_BASE_DATA_REQUEST","GET_CURRENT_ACCOUNT_BASE_DATA_SUCCESS","getCurrentAccountBaseDataRequest","getCurrentAccountBaseDataSuccess","getUserInfo","GET_ACCOUNTS_REQUEST","GET_ACCOUNTS_SUCCESS","GET_ACCOUNTS_FAILURE","getAccountsRequest","getAccountsSuccess","accounts","getAccountsFailure","GET_ACCOUNT_INFO_REQUEST","GET_ACCOUNT_INFO_SUCCESS","GET_ACCOUNT_INFO_FAILURE","getAccountInfoRequest","getAccountInfoSuccess","getAccountInfoFailure","getAccountPortfolio","REPORTS_AND_CONFIRMATIONS_REQUEST","REPORTS_AND_CONFIRMATIONS_SUCCESS","REPORTS_AND_CONFIRMATIONS_FAILURE","reportsAndConfirmationsRequest","orderCode","reportsAndConfirmationsSuccess","reportsAndConfirmationsFailure","REFRESH_REPORTS_AND_CONFIRMATIONS_REQUEST","REFRESH_REPORTS_AND_CONFIRMATIONS_SUCCESS","REFRESH_REPORTS_AND_CONFIRMATIONS_FAILURE","refreshReportsAndConfirmationsRequest","refreshReportsAndConfirmationsSuccess","refreshReportsAndConfirmationsFailure","OPEN_REPORTS_PAGE","openReportsPage","page","getTransactionsHistory","getMoneyTransactionsHistory","getNonTradingOrdersHistory","getAccountCharts","getCorporateActions","getOldCorporateActions","cancelOrder","SHOW_UPGRADE_ACCOUNT_MODAL","showUpgradeAccountModal","upgradeAccountFormSubmitHandler","createFormAction","SHOW_UPGRADE_OPTION_LEVEL_MODAL","showUpgradeOptionLevelModal","upgradeOptionLevelForm","addDemoAccount","SHOW_RESET_DEMO_ACCOUNT_MODAL","showResetDemoAccountModal","SHOW_OPEN_SECOND_ACCOUNT_MODAL","showOpenSecondAccountModal","resetDemoAccountFormSubmit","secondAccountVisionAgreement","openAdditionalAccount","econsentUpdateVisionForm","SET_RESOLUTION","setResolution","resolution","SHOW_CONFIRM_MODAL","HIDE_CONFIRM_MODAL","showConfirmModal","hideConfirmModal","SHOW_BASE_MODAL","HIDE_BASE_MODAL","showBaseModal","modalName","modalData","hideBaseModal","CHECK_MIN_VERSION","checkMinVersionRequest","CHANGE_LANGUAGE","changeLanguage","lang","SHOW_DICWORDS","HIDE_DICWORDS","showDicwords","hideDicwords","plaidSelectAccountFormActionCreator","getLinkedAccounts","GET_PLAID_ACCOUNTS_REQUEST","GET_PLAID_ACCOUNTS_SUCCESS","GET_PLAID_ACCOUNTS_FAILURE","getPlaidAccountsRequest","tradeCode","token","getPlaidAccountsSuccess","getPlaidAccountsFailure","PLAID_SELECT_ACCOUNT_FORM_SUBMIT_REQUEST","PLAID_SELECT_ACCOUNT_FORM_SUBMIT_SUCCESS","PLAID_SELECT_ACCOUNT_FORM_SUBMIT_FAILURE","plaidSelectAccountFormSubmitHandler","plaidSelectAccountFormRequest","args","plaidSelectAccountFormSuccess","plaidSelectAccountFormFailure","achManualLinkingForm","wireManualLinkingForm","achUnlinkBankAccount","wireUnlinkBankAccount","acatDepositFormActionCreator","acatOutgoingFormActionCreator","closeAccountFormActionCreator","SHOW_ACAT_DEPOSIT_MODAL","HIDE_ACAT_DEPOSIT_MODAL","showAcatDepositModal","tradeAccount","hideAcatDepositModal","ACAT_DEPOSIT_FORM_SUBMIT_REQUEST","ACAT_DEPOSIT_FORM_SUBMIT_SUCCESS","ACAT_DEPOSIT_FORM_SUBMIT_FAILURE","acatDepositFormRequest","acatDepositFormSuccess","acatDepositFormFailure","acatDepositFormSubmitHandler","acatDepositIraForm","ACAT_OUTGOING_FORM_SUBMIT_REQUEST","ACAT_OUTGOING_FORM_SUBMIT_SUCCESS","ACAT_OUTGOING_FORM_SUBMIT_FAILURE","acatOutgoingFormRequest","acatOutgoingFormSuccess","acatOutgoingFormFailure","acatOutgoingFormSubmitHandler","CLOSE_ACCOUNT_FORM_SUBMIT_REQUEST","CLOSE_ACCOUNT_FORM_SUBMIT_SUCCESS","CLOSE_ACCOUNT_FORM_SUBMIT_FAILURE","closeAccountFormRequest","closeAccountFormSuccess","closeAccountFormFailure","closeAccountFormSubmitHandler","SHOW_CLOSE_ACCOUNT_MODAL","HIDE_CLOSE_ACCOUNT_MODAL","RESET_CLOSE_ACCOUNT_MODAL_DATA","showCloseAccountModal","hideCloseAccountModal","resetCloseAccountModalData","SHOW_CLOSE_ACCOUNT_FORM_MODAL","HIDE_CLOSE_ACCOUNT_FORM_MODAL","showCloseAccountFormModal","hideCloseAccountFormModal","CLOSE_ACCOUNT_CONTINUE_REQUEST","CLOSE_ACCOUNT_CONTINUE_SUCCESS","CLOSE_ACCOUNT_CONTINUE_FAILURE","closeAccountContinueRequest","closeAccountContinueSuccess","closeAccountContinueFailure","ACTIVE_ORDERS_REQUEST","ACTIVE_ORDERS_COMPLETE","activeOrdersRequest","activeOrdersComplete","closeAccountValidation","agentRegistration","partnerCabinetRedirect","INIT","INIT_COMPLETED","SIDEBAR_OPEN","SIDEBAR_CLOSE","NOTIFICATIONS_OPEN","NOTIFICATIONS_CLOSE","init","initComplete","sidebarOpen","sidebarClose","notificationsOpen","notificationsClose","SHOW_DEPOSIT_FUNDS_MODAL","HIDE_DEPOSIT_FUNDS_MODAL","SHOW_DEPOSIT_FUNDS_BROKER_MODAL","HIDE_DEPOSIT_FUNDS_BROKER_MODAL","showDepositFundsModal","bankAccount","hideDepositFundsModal","showDepositFundsBrokerModal","hideDepositFundsBrokerModal","SHOW_DEPOSIT_FUNDS_IRA_MODAL","HIDE_DEPOSIT_FUNDS_IRA_MODAL","showDepositFundsIraModal","hideDepositFundsIraModal","depositIraFundsForm","SHOW_DEPOSIT_FUNDS_WIRE_MODAL","HIDE_DEPOSIT_FUNDS_WIRE_MODAL","showDepositFundsWireModal","hideDepositFundsWireModal","depositAchFundsForm","depositBrokerFundsForm","getApiKeys","revokeApiKey","createApiKey","SHOW_CREATE_APIKEY_MODAL","showCreateApiKeyModal","HIDE_MODAL","hideModal","modalId","apiKeyModalInit","apiMarketDataAgreement","SHOW_IPO_CREATE_ORDER_MODAL","showIpoCreateOrderModal","SHOW_IPO_EXTENDED_INFO_MOBILE_MODAL","showIpoExtendedInfoMobileModal","getOfferings","getOffering","getOrders","createIpoOrder","cancelIpoOrder","SHOW_MESSAGE_MODAL","HIDE_MESSAGE_MODAL","showMessageModal","message","hideMessageModal","GET_NOTIFICATIONS_REQUEST","GET_NOTIFICATIONS_SUCCESS","GET_NOTIFICATIONS_FAILURE","getNotificationsRequest","pageSize","getNotificationsSuccess","pagination","getNotificationsFailure","GET_MORE_NOTIFICATIONS_REQUEST","GET_MORE_NOTIFICATIONS_SUCCESS","GET_MORE_NOTIFICATIONS_FAILURE","getMoreNotificationsRequest","getMoreNotificationsSuccess","items","getMoreNotificationsFailure","MARK_NEWS_AS_READ","markNewsAsRead","messageId","markNewsAllAsRead","changeProfileAddressFormActionCreator","changeProfilePostAddressFormActionCreator","confirmProfileFormActionCreator","changeProfileEmailFormActionCreator","changeProfilePhoneFormActionCreator","changeProfileDependentsFormSubmitActionCreator","changeProfileMaritalStatusFormSubmitActionCreator","changeProfileEmploymentFormSubmitActionCreator","changeProfileInvestmentProfileFormSubmitActionCreator","changeProfileInvestmentExperienceFormSubmitActionCreator","changeDeliveryTypeFormSubmitActionCreator","changeTaxFormUploadFormActionCreator","changeTaxFormFillInFormActionCreator","GET_PROFILE_REQUEST","GET_PROFILE_SUCCESS","GET_PROFILE_FAILURE","getProfileRequest","getProfileSuccess","profile","getProfileFailure","getHolderProfiles","SHOW_CHANGE_ADDRESS_MODAL","showChangeAddressModal","CHANGE_ADDRESS_FORM_SUBMIT_REQUEST","CHANGE_ADDRESS_FORM_SUBMIT_SUCCESS","CHANGE_ADDRESS_FORM_SUBMIT_FAILURE","changeProfileAddressFormSubmitHandler","changeProfileAddressFormRequest","changeProfileAddressFormSuccess","changeProfileAddressFormFailure","SHOW_CHANGE_POST_ADDRESS_MODAL","showChangePostAddressModal","CHANGE_POST_ADDRESS_FORM_SUBMIT_REQUEST","CHANGE_POST_ADDRESS_FORM_SUBMIT_SUCCESS","CHANGE_POST_ADDRESS_FORM_SUBMIT_FAILURE","changeProfilePostAddressFormSubmitHandler","changeProfilePostAddressFormRequest","changeProfilePostAddressFormSuccess","changeProfilePostAddressFormFailure","SHOW_CHANGE_EMAIL_MODAL","showChangeEmailModal","forceConfirmationEmail","changePasswordFormSubmit","CHANGE_EMAIL_FORM_SUBMIT_REQUEST","CHANGE_EMAIL_FORM_SUBMIT_SUCCESS","CHANGE_EMAIL_FORM_SUBMIT_FAILURE","changeProfileEmailFormSubmitHandler","changeProfileEmailFormRequest","changeProfileEmailFormSuccess","changeProfileEmailFormFailure","sendEmailConfirmationCode","SHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL","showChangeMarketDataSubscriberStatusModal","SHOW_CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL","showChangeMarketDataSubscriptionsModal","changeMarketDataSubscriptionsForm","SHOW_ENABLE_THIRD_PARTY_MARKETDATA_MODAL","showEnableThirdPartyMarketDataModal","enableThirdPartyMarketDataForm","SHOW_CHANGE_MARITAL_STATUS_MODAL","showChangeMaritalStatusModal","CHANGE_MARITAL_STATUS_FORM_SUBMIT_REQUEST","CHANGE_MARITAL_STATUS_FORM_SUBMIT_SUCCESS","CHANGE_MARITAL_STATUS_FORM_SUBMIT_FAILURE","changeProfileMaritalStatusFormSubmitHandler","changeProfileMaritalStatusFormRequest","changeProfileMaritalStatusFormSuccess","changeProfileMaritalStatusFormFailure","SHOW_CHANGE_DEPENDENTS_MODAL","showChangeDependentsModal","CHANGE_DEPENDENTS_FORM_SUBMIT_REQUEST","CHANGE_DEPENDENTS_FORM_SUBMIT_SUCCESS","CHANGE_DEPENDENTS_FORM_SUBMIT_FAILURE","changeProfileDependentsFormSubmitHandler","changeProfileDependentsFormRequest","changeProfileDependentsFormSuccess","changeProfileDependentsFormFailure","SHOW_CHANGE_EMPLOYMENT_MODAL","showChangeEmploymentModal","CHANGE_EMPLOYMENT_FORM_SUBMIT_REQUEST","CHANGE_EMPLOYMENT_FORM_SUBMIT_SUCCESS","CHANGE_EMPLOYMENT_FORM_SUBMIT_FAILURE","changeProfileEmploymentFormSubmitHandler","changeProfileEmploymentFormRequest","changeProfileEmploymentFormSuccess","changeProfileEmploymentFormFailure","SHOW_CHANGE_INVESTMENT_PROFILE_MODAL","showChangeInvestmentProfileModal","CHANGE_INVESTMENT_PROFILE_FORM_SUBMIT_REQUEST","CHANGE_INVESTMENT_PROFILE_FORM_SUBMIT_SUCCESS","CHANGE_INVESTMENT_PROFILE_FORM_SUBMIT_FAILURE","changeProfileInvestmentProfileFormSubmitHandler","changeProfileInvestmentProfileFormRequest","changeProfileInvestmentProfileFormSuccess","changeProfileInvestmentProfileFormFailure","SHOW_CHANGE_INVESTMENT_EXPERIENCE_MODAL","showChangeInvestmentExperienceModal","CHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT_REQUEST","CHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT_SUCCESS","CHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT_FAILURE","changeProfileInvestmentExperienceFormSubmitHandler","changeProfileInvestmentExperienceFormRequest","changeProfileInvestmentExperienceFormSuccess","changeProfileInvestmentExperienceFormFailure","SHOW_CHANGE_PHONE_MODAL","showChangePhoneModal","CHANGE_PHONE_FORM_SUBMIT_REQUEST","CHANGE_PHONE_FORM_SUBMIT_SUCCESS","CHANGE_PHONE_FORM_SUBMIT_FAILURE","changeProfilePhoneFormSubmitHandler","changeProfilePhoneFormRequest","changeProfilePhoneFormSuccess","changeProfilePhoneFormFailure","SHOW_CHANGE_TWO_FACTOR_AUTHORIZATION_MODAL","showChangeTwoFactorAuthorizationModal","changeTwoFactorAuthorizationForm","HIDE_CONFIRM_EMAIL_MODAL","hideConfirmEmailModal","confirmEmailGetUrl","SHOW_CHANGE_TARIFF_PER_TRADE_MODAL","showChangeTariffPerTradeModal","SHOW_CHANGE_TARIFF_PER_SHARE_MODAL","showChangeTariffPerShareModal","SHOW_CHANGE_TARIFF_ZERO_MODAL","showChangeTariffZeroModal","CHANGE_ACCOUNT_TARIFF_REQUEST","CHANGE_ACCOUNT_TARIFF_SUCCESS","CHANGE_ACCOUNT_TARIFF_FAILURE","CHANGE_ACCOUNT_TARIFF_RESET","changeAccountTariffRequest","tariff","changeAccountTariffSuccess","changeAccountTariffFailure","changeAccountTariffReset","CONFIRM_PROFILE_FORM_HIDE_AND_REDIRECT","confirmProfileFormHideAndRedirect","CONFIRM_PROFILE_FORM_SUBMIT_REQUEST","CONFIRM_PROFILE_FORM_SUBMIT_SUCCESS","CONFIRM_PROFILE_FORM_SUBMIT_FAILURE","confirmProfileFormSubmitHandler","confirmProfileFormRequest","confirmProfileFormSuccess","confirmProfileFormFailure","SHOW_CHANGE_DELIVERY_TYPE_MODAL","showChangeDeliveryTypeModal","PROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT_REQUEST","PROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT_SUCCESS","PROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT_FAILURE","changeDeliveryTypeFormSubmitHandler","changeDeliveryTypeFormRequest","changeDeliveryTypeFormSuccess","changeDeliveryTypeFormFailure","getCountries","getUsaStates","SHOW_CHANGE_TAX_FORM_MODAL","showChangeTaxFormModal","FormType","CHANGE_TAXFORM_UPLOAD_FORM_SUBMIT_REQUEST","CHANGE_TAXFORM_UPLOAD_FORM_SUBMIT_SUCCESS","CHANGE_TAXFORM_UPLOAD_FORM_SUBMIT_FAILURE","changeTaxFormUploadFormSubmitHandler","changeTaxFormUploadFormRequest","changeTaxFormUploadFormSuccess","changeTaxFormUploadFormFailure","CHANGE_TAXFORM_FILLIN_FORM_SUBMIT_REQUEST","CHANGE_TAXFORM_FILLIN_FORM_SUBMIT_SUCCESS","CHANGE_TAXFORM_FILLIN_FORM_SUBMIT_FAILURE","changeTaxFormFillInFormSubmitHandler","changeTaxFormFillInFormRequest","changeTaxFormFillInFormSuccess","changeTaxFormFillInFormFailure","HIDE_PROFILE_MODAL","hideProfileModal","changeTotpAuthentication","enableTwoFactorAuthEmail","SHOW_DEMO_ACCOUNT_EXPIRATION_MODAL","showDemoAccountExpirationModal","UPDATE_MARKET_DATA_SUBSCRIPTION","updateMarketDataSubscription","subscription","generateCtaAgreements","generateOpraAgreements","CLEAR_MARKET_DATA_AGREEMENTS","clearMarketDataAgreements","SHOW_CLIENT_DATA_INSUFFICIENT_MODAL","showClientDataInsufficientModal","SHOW_ACTUAL_ADDRESS_MISSED_MODAL","showActualAddressMissedModal","REDIRECT_TO_CHANGE_ADDRESS_MODAL","redirectToChangeAddressModal","REDIRECT_TO_CHANGE_EMPLOYMENT_MODAL","redirectToChangeEmploymentModal","REDIRECT_TO_CHANGE_PHONE_MODAL","redirectToChangePhoneModal","REDIRECT_TO_CHANGE_EMAIL_MODAL","redirectToChangeEmailModal","generateBrokerReport","getBrokerReports","resetByEmail","sendConfirmationForResetByEmail","resetPassword","resetByOperator","SHOW_J2T_LITE_MODAL","showJ2tLiteModal","SHOW_J2T_PLUS_MODAL","showJ2tPlusModal","SHOW_J2T_PRO_MODAL","showJ2tProModal","SHOW_MT5_MODAL","SHOW_STPRO_MODAL","showStProModal","ACTIVATE_PLATFORM_REQUEST","ACTIVATE_PLATFORM_SUCCESS","ACTIVATE_PLATFORM_FAILURE","activatePlatformRequest","tradePlatform","activatePlatformSuccess","activatePlatformFailure","activateCommissionFree","openTradexUrl","withdrawFundsWireFormActionCreator","linkAndWithdrawFundsWireCreator","SHOW_WITHDRAW_FUNDS_ACH_MODAL","HIDE_WITHDRAW_FUNDS_ACH_MODAL","SHOW_WITHDRAW_FUNDS_WIRE_MODAL","HIDE_WITHDRAW_FUNDS_WIRE_MODAL","SHOW_WITHDRAW_FUNDS_BROKER_MODAL","HIDE_WITHDRAW_FUNDS_BROKER_MODAL","withdrawAchFundsForm","WITHDRAW_FUNDS_WIRE_FORM_SUBMIT_REQUEST","WITHDRAW_FUNDS_WIRE_FORM_SUBMIT_SUCCESS","WITHDRAW_FUNDS_WIRE_FORM_SUBMIT_FAILURE","withdrawFundsWireForm","withdrawFundsWireFormRequest","wireWithdrawal","withdrawFundsWireFormSuccess","withdrawFundsWireFormFailure","withdrawFundsBrokerForm","linkAndWithdrawFundsWireForm","linkAndWithdrawFundsWireFormFailure","linkAndWithdrawFundsWireFormSuccess","showWithdrawFundsAchModal","fromUserAccount","toBankAccount","hideWithdrawFundsAchModal","showWithdrawFundsWireModal","hideWithdrawFundsWireModal","showWithdrawFundsBrokerModal","hideWithdrawFundsBrokerModal","SHOW_WITHDRAW_FUNDS_IRA_MODAL","HIDE_WITHDRAW_FUNDS_IRA_MODAL","showWithdrawFundsIraModal","hideWithdrawFundsIraModal","withdrawFundsIraForm","transferBetweenAccountsSubmitForm","SAVE_SIGNATURE_REQUEST","SAVE_SIGNATURE_SUCCESS","SAVE_SIGNATURE_FAILURE","checkSignatures","COLLECT_SIGNATURES_PROCESS_START","SHOW_CREATE_SIGNATURE_MODAL","HIDE_CREATE_SIGNATURE_MODAL","showCreateSignatureModal","guid","personFullName","hideCreateSignatureModal","saveSignatureRequest","image","saveSignatureSuccess","saveSignatureFailure","collectSignaturesProcessStart","successAcion","REQUIRE_SIGNATURE_AND_RETURN","requireSignatureAndReturn","cancelAction","GET_EARNINGS_TODAY_REQUEST","GET_EARNINGS_TODAY_SUCCESS","GET_EARNINGS_TODAY_FAILURE","getEarningsTodayRequest","processingLimit","getEarningsTodaySuccess","getEarningsTodayFailure","GET_MOST_ACTIVE_REQUEST","GET_MOST_ACTIVE_SUCCESS","GET_MOST_ACTIVE_FAILURE","getMostActiveRequest","getMostActiveSuccess","getMostActiveFailure","getWithdrawCash","styles","theme","root","textAlign","icon","marginTop","typography","style","subheading","fontWeight","color","primary","submessage","button","BaseMessage","this","props","classes","onClick","text","subtext","buttonText","className","alt","viewBox","width","height","src","variant","fullWidth","undefined","id","defaultValue","Component","defaultProps","propTypes","isRequired","func","node","string","oneOfType","withStyles","useStyles","makeStyles","createStyles","margin","padding","backgroundColor","palette","secondary","limitOrder","borderRadius","display","alignItems","justifyContent","breakpoints","down","content","body","marginLeft","link","nowrap","whiteSpace","GenericTextAlert","hideButton","buttonTextNowrap","showButton","buttonTextNowrapCss","bool","app_config","STATE_FIELD_NAME","ACTION_PREFIX","RESOLUTIONS_ENUM","xs","sm","md","lg","xl","getLinkedAccountsRequestSaga","MapWireLinkPayload","getPlaidAccounts","plaidSelectAccountFormSubmit","achManualLinkingFormSubmit","hideAddBankAccountModal","showPlaidSelectAccountModal","wireManualLinkingFormSubmit","achUnlinkBankAccountSaga","wireUnlinkBankAccountSaga","watchGetLinkedAccountsRequest","watchPlaidAccounts","watchPlaidSelectAccountFormSubmit","watchAchManualLinkingFormSubmit","watchWireManualLinkingFormSubmit","watchHideAddBankAccountModal","watchShowPlaidSelectAccountModal","watchAchUnlinkBankAccountRequest","watchWireUnlinkBankAccountRequest","callApi","Success","put","Errors","Message","snackbar","showErrorMessage","title","LinkedAccounts","map","item","displayNumber","Number","captureException","console","select","state","router","changeHashInUrl","ModalPopups","ADD_BANK_ACCOUNT","PLAID_SELECT_ACCOUNT","Raven","TradeCode","LinkAccountNo","BaseGetSagaHandler","apiMethod","errorText","handler","submitting","removeHashesFromUrl","wireLink","Name","ClearingFirm","Surname","Address","ZipCode","Phone","BankRoutingNumber","WireType","BankSwiftCode","UseIntermediaryBank","IntermediaryBankRoutingNumber","IntermediaryBankSwiftCode","onEndRequest","others","takeEvery","rootSaga","fork","loginFormActionCreator","LOGIN_FORM_SUBMIT_REQUEST","LOGIN_FORM_SUBMIT_SUCCESS","LOGIN_FORM_SUBMIT_FAILURE","loginFormRequest","password","loginFormSuccess","loginFormFailure","loginFormSubmitHandler","HIDE_NON_TRADING_ORDER_MODAL","hideNonTradingOrderModal","sendNonTradingOrderCommonForm","sendNonTradingOrderIdentityForm","sendNonTradingOrderLeverageForm","sendNonTradingOrderRegistrationForm","sendNonTradingOpenAccount","sendNonTradingOpenDemoAccount","CONNECT_SIGNAL_R","DISCONNECT_SIGNAL_R","RECONNECT_SIGNAL_R","connectSignalR","disconnectSignalR","reconnectSignalR","SHOW_ERROR_MESSAGE","HIDE_ERROR_MESSAGE","SHOW_MESSAGE","HIDE_MESSAGE","hideErrorMessage","showMessage","hideMessage","userAccounts","acc","DisplayFullName","platforms","accountInfo","Platforms","tariffs","Tariffs","fundingInfo","FundingInfo","currentTradeAccount","currentAccount","clearerFirm","currentClearer","currentAccountDisplayFullName","find","a","selectedAccount","currentAccountObject","currentAccountIsDemo","IsDemo","currentAccountIsPaper","IsPaper","currentAccountStatus","Status","reportsAndConfirmations","linkedAccounts","linkedAccountsSubmitting","hasMaxTemplatesCount","loading","submittingBaseData","cashActivities","nonTraidingActivities","charts","userInfo","corporateActions","oldCorporateActions","upgradeMarginTypeData","upgradeMarginType","upgradeOptionLevelData","upgradeOptionLevel","getPaperAccount","IsClosed","getDemoAccount","anyActiveAccountExists","accs","some","AccountStatuses","ACTIVE","RESTRICTED","anyRealAccountExists","hasOpenAccount","secondAccountAgreement","HasSignes","signature","SignesHolders","openModalData","signatureSubmitted","opacity","fontSize","pxToRem","Input","placeholder","additionalText","showLabel","helpertext","validationMessageMode","InputLabelProps","qaAttributes","other","inputProps","qaAttribute","autoFocus","number","disabled","endAdornment","inputComponent","inputRef","multiline","onChange","rows","rowsMax","startAdornment","oneOf","ValidationMessageMode","NONE","INSTEAD_OF_ADDITIONAL","AFTER_ADDITIONAL","arrayOf","shape","label","top","left","red","InputFormControl","children","formControl","htmlFor","Icons","iconNames","keys","SvgIcon","size","htmlColor","titleAccess","inputType","WarningToolTip","arrow","warning","main","tooltip","contrastText","tooltipPlacementBottom","InputPassword","keyDownHandler","keyEvent","onKeyDown","getModifierState","setState","capsLockWarning","blurHandler","onBlur","isPasswordVisible","togglePasswordVisibility","otherprops","open","placement","isVisible","htmlTags","b","showDicwordsKeys","useTranslation","ready","i18n","translateContextData","useContext","extractArgs","Error","isObject","retFunc","useMemo","translateParameters","components","enableHtml","transComponents","dangerouslySetInnerHTML","__html","res","R","tOptions","transSupportBasicHtmlNodes","Consumer","Fragment","i18nKey","defaults","values","propName","componentName","resticted","filter","x","toLowerCase","join","contextData","Context","createContext","TranslateContextProvider","options","Provider","TranslateContext","inputRoot","dark","cursor","inputDisabled","disable","inputUnderline","borderBottom","inputFormControl","labelFormControl","helperText","light","forwardRef","ref","useTheme","asUtc","format","cancelLabel","okLabel","todayLabel","clearLabel","disableUnderline","inputVariant","timeZone","datePickerProps","momentInstance","utc","weekdaysShort","utils","libInstance","InputProps","underline","FormHelperTextProps","useActions","userProfile","dispatch","useDispatch","EmploymentPanel","EmploymentProfile","PendingOrders","Guid","ClientId","employmentPanel","blockTitle","havePendingOrder","Employment","createQAAttribute","valueOrEmpty","Company","Position","FullAddress","editValue","editable","preFieldLabel","lineHeight","withLeftMarginField","background","attestationBackground","noLeftMarginField","extractPropsClasses","HoldersQuestion","_classes","form","useSelector","getFormValues","hasJointOwnersChanges","jointOwnersChanges","orientation","component","AccountName","paddingLeft","itemsTextContainer","itemsText","paddingTop","itemsRefreshIcon","marginBottom","itemsLoadingIcon","AccountPropsView","handleRefresh","flexDirection","editItem","flexGrow","valueControl","editControl","InstitutionalQuestion","noLeftMarginFiled","HasChangesInBenOwners","config","env","sentryRavenUrl","install","render","document","getElementById","constants","regExpAmount","regExpRoutingNumber","regExpBankAccountNumber","regExpEmail","regExpAllTags","regExpMt5Password","regExpPassword","warningForNonTransferableSecuritiesHolders","maxCharsNumber","maxCharsNumberError","maxDependents","regExpEmploymentCompanyName","regExpEmploymentStreetAddress","regExpEmploymentHouse","regExpEmploymentCity","regExpEmploymentZip","regExpEmploymentForbidden","EtnaGateConfirmCode","LIME_FIN","envConfig","production","anketaDocumentationUrl","anketaSiteUrl","anketaSiteOldUrl","backendUrl","pricingUrl","OAuthServiceUrl","UsaApiServiceUrl","plaidApiEnvironment","plaidApiPublicKey","GA_TRACKING_ID","GTM_DATA_LAYER","sterlingPcDownloadUrl","visionOptionsSupplementUrl","uncoveredWrtingRiskDisclosureUrl","characteristicsRisksStandardizedOptionsUrl","languagesServerPath","reloadDicwordsPeriod","allowedLangs","limeTraderAppStore","limeTraderGooglePlay","takeProfitSiteUrl","WEBCAB_3434_tradingAssistance","WEBCAB_3520_emailDelivery","WEBCAB_3534_checkBrokenEmail","WEBCAB_4791_hideDepositRequisites","WEBCAB_5004_walletEnableUsers","WEBCAB_5031_switch_trading_platforms","WEBCAB_5142_marketData_subscriptions_enable","WEBCAB_5222_hubspotChat","WEBCAB_5786_allow_withdrawals","WEBCAB_5863_allow_attestation","WEBCAB_5839_allow_demo_account","WEBCAB_4449_allow_old_corp_actions","UNIAP_909_secondFactorRestrictionDate","preprod","WEBCAB_4061_availableIpoUsers","WEBCAB_4509_transaqChangePwdAvalilableFor","test","dev","cabinetLog","process","baseUrl","origin","version","addItemToArray","arr","it","removeItemFromArray","removeItemsFromArray","indexOf","addHashToUrl","hash","hashList","substr","split","pathname","from","to","removeHashFromUrl","hashes","isNumber","obj","isNaN","parseFloat","globalState","scrollTo","elementId","target","setTimeout","scroll","offsetTop","scrollToTop","scrollIntoView","toUsaFormat","num","precision","toLocaleString","minimumFractionDigits","maximumFractionDigits","toUsaBigNumFormat","Math","abs","toUsaSizeFormat","toUsaDateFormat","date","toUsaDateFormatFromUtc","local","toUsaMoneyFormat","currency","toMoneyFormat","summ","formatDateAsTimeZone","tz","formatDateAsUtc","parseMomentDate","toISOString","dateDiffInDays","firstDate","secondDate","floor","getDateTimeEst","Date","precisionRound","factor","round","EPSILON","webpackContext","req","webpackContextResolve","e","code","resolve","capitalizeFirstLetter","charAt","toUpperCase","orSigns","pattern","RegExpEnRuZhDigitsAndPunctuationOnly","en","errorMessage","isDefault","ru","zh","translate","store","getState","app","checkLettersForLang","str","rule","RegExp","extra","validateSecureString","checkNotSecure","re","val","DATA_QA_ATTR","qaAttributeValue","createInputQAAttributes","isValueEmpty","Array","isArray","markAsTouched","anyTouched","touchField","excludeFields","initial","syncErrors","isNotEmpty","entries","includes","lime","hover","pressed","textDefault","textHover","textPressed","black","blue","lightBlue","white","up","upDark","downDark","gray","card","customstyles","fontFamily","letterSpacing","yellow","pink","muiError","darkRed","lightRed","green","darkGreen","lightGreen","darkBlue","headline1","headlineSm","headline2","subheadingSm","textTransform","buttonLime","stickyButton","bottom","paddingBottom","position","newTypography","table","verticalAlign","borderCollapse","borderTop","divTable","bodyRow","headRow","bodyCell","headCell","overrides","MuiInputBase","MuiSvgIcon","MuiMenuItem","MuiListItem","gutters","paddingRight","MuiFormLabel","createTheme","allDicWordLanguages","language","displayName","dicWordKey","intlLocale","sharedTranslate","langs","qs","history","setMomentLocale","locale","loadLocaleData","addLocaleData","intlEn","useResizeActions","onResize","CONFIG","innerWidth","useEffect","addEventListener","removeEventListener","useApiVersionSynchronization","checkTime","curTime","localStorage","getItem","setItem","useGoogleAnalytics","initialize","debug","set","dimension2","pageview","search","tagManagerArgs","gtmId","useGlobalAuth","onSubscribeJWT","localToken","kratosId","session","person","kratosIdFromJwt","auth","setUserContext","login","nextRoute","afterAuthUrl","TxGlobalAuth","subscribeInitialized","widget","widgetEnv","appName","appVersion","then","subscribeJWT","useShowDicWordsKeys","useState","showDicWordsRes","setShowDicWordsRes","analyzeDisplayDicwordsKeys","showDicWords","parsed","parse","reShow","reHide","parsedShow","k","parsedHide","useLanguages","initialized","setInitialized","onChangeLanguage","cookies","app_locale","exp","setTime","getTime","path","expires","setLanguageCookie","log","cookieLang","enableTranslateBackend","i18nParams","lng","fallbackLng","supportedLngs","interpolation","escapeValue","suffix","react","useSuspense","wait","partialBundledLanguages","use","backend","loadPath","langAllowed","JSON","setInterval","reloadResources","resources","translation","subscribe","App","langInitialized","webpackEmptyAsyncContext","Promise","initialState","closeAccountData","currentStep","cashAmount","pennyStockAttachments","submitSucceeded","isValid","CloseAccountOrderId","OrderCode","ErrorCode","CashAmount","PennyStockAttachments","modals","CLOSE_ACCOUNT","newState","AccountPlatforms","PLATFORM_TRANSAQ","PLATFORM_JUST2TRADE","PLATFORM_MT5","PLATFORM_MT5SPC","PLATFORM_STERLING","AccountTariffs","TARIFF_PER_SHARE","TARIFF_PER_TRADE","TARIFF_ZERO","IraTypes","STRATA","EQUITY_TRUST","CREATE_APIKEY","CY_CHANGE_PASSWORD","CY_NON_TRADING_ORDER_COMMON","CY_NON_TRADING_ORDER_IDENTITY","CY_NON_TRADING_ORDER_REGISTRATION","CY_TRANSFER_BETWEEN_ACCOUNTS","CY_WITHDRAWAL_BANK_TRANSFER","CY_NON_TRADING_OPEN_ACCOUNT","CY_NON_TRADING_OPEN_DEMO_ACCOUNT","DEPOSIT_FUNDS_ACH","DEPOSIT_FUNDS_BROKER","DEPOSIT_FUNDS_IRA","DEPOSIT_FUNDS_WIRE","WITHDRAW_FUNDS_ACH","WITHDRAW_FUNDS_WIRE","WITHDRAW_FUNDS_BROKER","WITHDRAW_FUNDS_IRA","ACAT_FUND","CLOSE_ACCOUNT_FORM","J2T_LITE","J2T_PLUS","J2T_PRO","MT5","ST_PRO","MESSAGE","CHANGE_DELIVERY_TYPE","CHANGE_PROFILE_ADDRESS","CHANGE_PROFILE_POST_ADDRESS","CHANGE_PROFILE_EMAIL","CHANGE_PROFILE_PHONE","CHANGE_DEPENDENTS","CHANGE_MARITAL_STATUS","CHANGE_EMPLOYMENT","CHANGE_INVESTMENT_PROFILE","CHANGE_INVESTMENT_EXPERIENCE","CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL","CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL","ENABLE_THIRD_PARTY_MARKETDATA_MODAL","CHANGE_TARIFF_PER_SHARE","CHANGE_TARIFF_PER_TRADE","CHANGE_TARIFF_ZERO","CHANGE_TWO_FACTOR_AUTHORIZATION","CHANGE_TAX_FORM_MODAL","COMMISSION_FREE_MODAL","CONFIRM_MODAL","CONFIRM_PROFILE_EMAIL","CONFIRM_PROFILE","CREATE_SIGNATURE","IPO_CREATE_ORDER","UPGRADE_MARGIN_TYPE","UPGRADE_OPTION_LEVEL","WELCOME_PAGE","IPO_EXTENDED_INFO_MOBILE","DEMO_ACCOUNT_EXPIRATION","RESET_DEMO_ACCOUNT","OPEN_SECOND_ACCOUNT","SECOND_FACTOR_DISABLED_RESTRICTION","CLIENT_DATA_INSUFFICIENT","UPDATE_SUBSCRIBER_STATUS","UPDATE_SUBSCRIBER_AGREEMENTS","ACTUAL_ADDRESS_MISSED","TaxFormType","W8_BEN","W8_BEN_E","TwoFactorAutenticationType","SMS","TOTP","EMAIL","OperationTabs","TRANSACTION_HISTORY","NON_TRADING_OPERATIONS","OperationType","ALL","INPUT","OUTPUT","CREDIT_IN","CREDIT_OUT","ASSIGNMENTORDER","ADDITIOANLACCOUNT","CLIENTPASSWORDCHANGE","LEVERAGE","CashOperations","NonTraidingOperations","getTranslateId","ot","AccountClearers","UNKNOWN","COR","VISION","J2T","J2T_INC","VELOX","SPC_FUTURES","DEMO","CloseAccountFlow","CASH_MANAGMENT","PROFILE","MarginType","CASH","MARGIN_X2","DAY_TRADER","ClientTypes","INSTITUTIONAL","INDIVIDUAL","OptionLevel","Level0","Level1","Level2","Level3","Level4","Level5","MarketDataClientStatus","PRO","NON_PRO","UNDEFINED","InsufficientClientDataKeys","ADDRESS_RESIDENCE","EMPLOYMENT_STATUS","PLACE_EMPLOYMENT","EMPLOYMENT_POSITION","EMPLOYMENT_FUNCTIONS","EMPLOYMENT_ADDRESS","PHONE_NUMBER","EMAIL_ADDRESS","DeliveryTypes","DELIVERY_TYPES_ACCOUNTS_ELECTRONIC","DELIVERY_TYPES_ACCOUNTS_PAPER","AccountType","ACH","WIRE","BROKER","IRA","authWidget","loginLocalSaga","loginSaga","logoutSaga","checkAuthRequestSaga","pingAuthRequestSaga","autologinRequestSaga","sendConfirmationCodeRequestSaga","sendConfirmationCodeEmailRequestSaga","watchLoginLocal","watchLogin","watchLogout","watchcheckAuthRequest","watchAutologinRequest","watchSendConfirmationCodeRequest","watchSendConfirmationCodeEmailRequest","watchPingAuthRequest","username","useLocalAuth","signalRUrl","signalR","Code","Login","SignalRToken","delay","autologon","providerWithAuth","post","provider","pingauth","sendconfirmationcode","sendconfirmationcodeemail","makePartnerCabinetRedirectUrl","achDeposit","ClearerFirm","Amount","amount","acatDeposit","acatIraDeposit","brokerDeposit","iraDeposit","offeringId","accountDetails","Token","accountSelect","linkId","achLinking","bankCode","wireLinking","getIntrnationalBanksRequisites","query","getDomesticBanksRequisites","sendNonTradingCommonOrder","sendNonTradingIdentityOrder","sendNonTradingLeverageOrder","sendNonTradingRegistrationOrder","getNotifications","enableThirdPartyMarketData","changePassword","changeAddress","changeAddressForClient","clientId","changePostAddress","changePostAddressForClient","changeEmail","changeEmailForClient","confirmEmail","changeDeliveryType","changePhone","changePhoneForClient","changeTariff","tariffValue","changeTwoFactorAuthentication","changeTwoFactorAuthenticationEmail","changeTaxFormUpload","changeTaxFormFillIn","changeDependents","changeMaritalStatus","changeEmployment","changeEmploymentForClient","changeInvestmentExperience","changeInvestmentProfile","confirmProfile","enableTotpAuthentication","generateNyseMarketDataAgreement","generateNasdaqMarketDataAgreement","generateCboeMarketDataAgreement","generateCtaMarketDataAgreement","generateOpraMarketDataAgreement","generateOpraProMarketDataAgreement","changeMarketDataSubscriberStatus","changeMarketDataSubscriptions","baseURL","withCredentials","headers","Authorization","providerFileWithAuth","responseType","getReportFile","reportId","sendConfirmationByEmail","saveSignature","getTradePlatforms","activatePlatform","attachments","getAccountInfo","getAccounts","startDate","endDate","getTransactionHistory","getMoneyTransactionHistory","refreshReportsAndConfirmations","resetDemoAccount","generateSecondAccountVisionAgreement","acatOutgoing","achWithdraw","brokerWithdraw","iraWithdraw","closeAccount","wireWithdraw","transferBetweenAccounts","getEarningsToday","getMostActive","userAccountsActions","acatDepositFormSubmit","acatOutgoingFormSubmit","acatDepositIraFormSubmit","closeAccountFormSubmit","closeAccountContinueSubmit","watchAcatDepositFormSubmit","watchAcatDepositIraFormSubmit","watchAcatOutgoingFormSubmit","watchCloseAccountFormSubmit","watchCloseAccountContinueSubmit","watchShowAcatDepositModal","watchHideAcatDepositModal","watchShowCloseAccountModal","watchHideCloseAccountModal","watchShowCloseAccountFormModal","watchHideCloseAccountFormModal","dataToSend","DestinationAccountNumber","SourceFirmInfo","SourceFirmName","SourceFirmAddress","SourceAccountTitle","SourceAccountNumber","SourceFirmTelephoneNumber","SourceAccountType","TransferInstructionsType","Attachments","AssetsTransferType","AssetsTransfers","BrokerageParts","forEach","AssetsTransferSymbol","AssetsTransferShares","Shares","FundTransfers","MutualFund","FundTransferSymbol","FundTransferShares","FundTransferName","FundTransferType","Type","_error","closeAccountFlow","baseParams","flow","CashCurrentValue","hasNextStep","validationResponse","getCookieShowDicwords","cookie","el","confirmModal","buttonTitle","action","confirmModalData","checkMinVersionSaga","showDicWordsKeysSaga","hideDicWordsKeysSaga","watchShowDicWordsKeysRequest","watchHideDicWordsKeysRequest","watchangeLanguage","watchShowConfirmModal","watchHideConfirmModal","watchShowBaseModal","watchHideBaseModal","watchMinVersionRequest","notifications","Version","reload","remove","loaded","url","Url","PartnerCabinetRedirectUrl","agent","partnerCabinetRedirectRequestSagaHandler","agentRegistrationRequestSagaHandler","watchAgentRegistrationSuccessSagaHandler","watchPartnerCabinetRedirectRequest","watchPartnerCabinetRedirectSuccess","watchAgentRegistrationRequest","watchAgentRegistrationSuccess","partnerCabinetRedirectSuccessSagaHandler","href","w","focus","isSidebarOpen","isNotificationsOpen","dashboard","dashboardInitSaga","IsWelcomePageModalVisible","IsAttestationProfileModalVisible","IsMarketDataStatusModalVisible","IsMarketDataAgreementsModalVisible","Is2FaDisabledModalVisible","dashboardInitCompletedSaga","watchInit","watchDashboardInitCompleted","take","demoAccount","currentDateTimeEst","expirationDate","ExpirationDate","accCurrent","all","IsPreopened","NeedUpdatePersonalInfo","PersonalInformation","HasMarketDataDisabled","MarketDataStatus","secondFactorIsOn","ResidentialCountry","MarketDataSubscriptions","subscriptions","reduce","prev","cur","MarketDataName","IsOn","ctaUtp","CTA_UTP","MDSubscription","showModal","modal","welcomePageVisible","confirmProfleVisible","marketDataStatusVisible","marketDataAgreementsVisible","takeLatest","depositWireModal","depositAchModal","depositFunds","depositFormSubmit","depositFormBrokerSubmit","depositFormIraSubmit","showDepositFundsAchModal","hideDepositFundsAchModal","watchDepositFormSubmit","watchDepositFormBrokerSubmit","watchDepositFormIraSubmit","watchShowDepositFundsAchModal","watchHideDepositFundsAchModal","watchShowDepositFundsBrokerModal","watchHideDepositFundsBrokerModal","watchShowDepositFundsIraModal","watchHideDepositFundsIraModal","watchShowDepositFundsWireModal","watchHideDepositFundsWireModal","reloadTransactionHistory","createTransferModel","BrokerAccount","bankAccountNumber","clients","Clients","CreatedSecretKey","СlientId","HIDE_ETNAAUTH_MODAL","etnaAuth","watchGetApiKeysRequest","revokeApiKeySagaHandler","createApiKeyRequestSaga","watchRevokeApiKeyRequest","watchCreateApiKeyRequest","watchShowModal","watchHideModal","watchApiKeyModalInit","apiMarketDataAgreementSaga","watchChangeApiMarketDataAgreement","GetModalPopupType","currentOffering","ipoCreatingOrder","ipoOrderExtendedInfo","offerings","orders","succeed","Offering","ipo","watchGetOfferingRequest","watchGetOfferingsRequest","watchGetOrdersRequest","createIpoOrderRequestSaga","watchCreateIpoOrderRequest","cancelIpoOrderRequestSaga","watchCancelOrderRequest","watchShowIpoCreateOrderModal","watchShowIpoExtendedInfoMobileModal","OrderId","bankAccounts","BankAccounts","loginFormSubmit","watchLoginFormSubmit","loginResponse","captureMessage","errors","debtDocs","nontradingOrders","sendNonTradingOrderCommonSubmitSaga","sendNonTradingOrderIdentitySubmitSaga","sendNonTradingOrderLeverageSubmitSaga","sendNonTradingOrderRegistrationSubmitSaga","sendNonTradingOpenAccountSubmitSaga","sendNonTradingOpenDemoAccountSubmitSaga","watchHideNonTradingOrderModal","watchNonTradingOrderCommonSubmit","watchNonTradingOrderIdentitySubmit","watchNonTradingOrderLeverageSubmit","watchNonTradingOrderRegistrationSubmit","watchNonTradingOpenAccountSubmit","watchNonTradingOpenDemoAccountSubmit","ClientData","unreadMessagesCount","UnreadMessagesCount","Notifications","Read","Id","getNotificationsRequestSaga","getMoreNotificationsRequestSaga","getShowMessageModalRequestSaga","markNewsAllAsReadSaga","watchGetNotificationsRequest","watchGetMoreNotificationsRequest","watchShowMessageModalRequest","watchHideMessageModal","watchMarkNewsAllAsReadRequest","Experiences","InvestmentProfile","Documents","TaxForms","changeTaxForm","holders","Profiles","MarketDataAgreements","CountryList","UsaStatesList","sub","ctaGenerating","ctaGeneratingSuccess","opraGenerating","opraGeneratingSuccess","clientSecretCode","ClientSecretCode","qrCode","QRCode","totpAuthentication","marketDataAgreements","HasNonRestrictedMobilePhone","profileSaga","confirmProfileFormSubmit","confirmProfileFormSubmitSuccessHandler","isCurrentUser","refreshClientOrHolderProfile","changeAddressFormSubmit","changePostAddressFormSubmit","changeDependentsFormSubmit","changeMaritalStatusFormSubmit","changeEmploymentFormSubmit","changeInvestmentProfileFormSubmit","changeInvestmentExperienceFormSubmit","changeEmailFormSubmit","changePhoneFormSubmit","changeTwoFactorAuthenticationFormSubmit","changeMarketDataSubscriptionsFormSubmit","enableThirdPartyMarketDataFormSubmit","changeAccountTariffSubmit","changeDeliveryTypeFormSubmitSaga","changeTaxFormUploadFormSubmit","changeTaxFormFillInFormSubmit","redirectToProfileModal","showProfileModal","showMarketDataSubscriberStatusModal","showMarketDataSubscriptionsModal","showChangeTwoFactorAuthModal","changePasswordFormSubmitSaga","sendEmailConfirmationCodeRequestSaga","changeTotpAuthenticationRequestSaga","enableTwoFactorAuthEmailRequestSaga","generateCTAFiles","generateOpraFiles","watchProfile","watchGetHolderProfilesRequest","watchChangeAddressFormSubmit","watchChangePostAddressFormSubmit","watchChangeEmailFormSubmit","watchChangePhoneFormSubmit","watchChangeTwoFactorAuthorizationFormSubmit","watchConfirmEmailGetUrl","watchChangeAccountTariffSubmit","watchHideConfirmEmailModal","watchChangeDependentsFormSubmit","watchChangeMaritalStatusFormSubmit","watchChangeEmploymentFormSubmit","watchChangeInvestmentProfileFormSubmit","watchChangeInvestmentExperienceFormSubmit","watchConfirmProfileFormSubmit","watchConfirmProfileFormSubmitSuccess","watchConfirmProfileFormHideAndRedirect","watchChangeDeliveryTypeFormSubmit","watchChangeMarketDataSubscriptionsFormSubmit","watchEnableThirdPartyMarketDataFormSubmit","watchChangeTaxFormUploadFormSubmit","watchChangeTaxFormFillInFormSubmit","watchRedirectProfileModal","watchShowProfileModal","watchShowMarketDataSubscriberStatusModal","watchShowMarketDataSubscriptionsModal","watchShowChangeTwoFactorAuthorizationModal","watchHideProfileModal","watchGetCountriesRequest","watchGetUsaStatesRequest","watchChangePasswordFormSubmit","watchChangeTotpAuthenticationRequest","watchEnableTwoFactorAuthEmailRequest","watchGenerateCTAFiles","watchGenerateOpraFiles","ProfileData","isCurrent","otherPayload","ConfirmationCode","EnableSecondFactor","IsMdssChanged","subscriberStatusErrorTitle","mdssPayload","isPro","questionnaireResponses","StatusChangeResponses","mdsPayload","SubscriptionsChangeResponses","actionType","fromDashboardModal","supposedStatus","errorTitle","profileState","SecurityCode","isClientPro","tasks","responseArray","index","reports","accountReports","generateSubmitting","requestEmail","Email","reset","watchResetByEmail","watchSendConfirmationForResetByEmail","watchResetPassword","watchResetByOperator","reconnectSignalRSaga","connectSignalRSaga","watchConnectSignalR","watchDisconnectSignalR","watchReconnectSignalR","watchSignalRChannel","signalRChannel","channel","connection","isLoggedIn","HubConnectionState","Disconnected","start","catch","HubConnectionBuilder","configureLogging","LogLevel","None","withUrl","build","on","onclose","err","disconnectSignalRSaga","stop","snackbarInfo","commissionFree","tradePlatforms","commissionFreeData","openTradexUrlData","activatePlatformsRequest","activatePlatformsSuccess","activateCommissionFreeSaga","openTradexUrlSaga","watchActivatePlatformRequest","watchActivatePlatformSuccess","watchShowJ2tLiteModal","watchShowJ2tPlusModal","watchShowJ2tProModal","watchShowStProModal","watchActivateCommissionFreeRequest","watchOpenTradexUrlRequest","mustChangePlatform","ActiveTradePlatform","PendingTradePlatform","mustChangeTariff","ActiveTariff","PendingTariff","oneTimeToken","widgetProvider","ott","WireRequisites","CanAcat","CanAchLink","CanAchLinkAuto","CanWireLink","CanFund","CanWithdrawal","CanMarginUpgrade","CanOptionsUpgrade","IsDisabled","CanPlatformChange","IsIra","IraType","portfolio","Transmissions","dates","StartDate","year","month","EndDate","marginParams","created","UserInfo","MarketValue","Positions","sum","HasMaxTemplatesCount","econsentUpdateVision","getUserAccountsRequestSaga","setCurrentAccountSaga","GetCurrentAccountBaseDataSaga","getAccountChartsRequestSaga","getAccountInfoRequestSaga","refreshReportsAndConfirmationsRequestSaga","openReportsPageSaga","cancelOrderRequestSaga","upgradeAccountFormSubmitSaga","upgradeOptionLevelFormSaga","addDemoAccountSaga","resetDemoAccountSaga","showResetDemoAccountModalSaga","showOpenSecondAccountModalSaga","secondAccountVisionAgreementSaga","openAdditionalAccountSaga","econsentUpdateVisionFormSaga","watchGetUserAccountsRequest","watchGetUserInfoRequest","watchSetCurrentAccount","watchGetCurrentAccountBaseData","watchGetAccountChartsRequest","watchGetTransactionsHistoryRequest","watchGetMoneyTransactionsHistoryRequest","watchGetNonTradingOrdersHistoryRequest","watchGetAccountPortfolioRequest","watchRefreshReportsAndConfirmationsRequest","watchOpenReportsPage","watchGetAccountInfoRequest","watchGetCorporateActionsRequest","watchGetOldCorporateActionsRequest","watchUpgradeAccountFormSubmit","watchShowUpgradeAccountModal","watchUpgradeOptionLevelForm","watchShowUpgradeOptionLevelModal","watchaddDemoAccountRequest","watchResetDemoAccountRequest","watchShowResetDemoAccountModal","watchShowOpenSecondAccountModal","watchSecondAccountVisionAgreement","watchOpenAdditionalAccount","watchEconsentUpdateVisionForm","Accounts","endDateCorporateActions","Transmissons","Clearer","MustUpdateProfile","clearer","clearingNumber","setCashTo","marginType","optionLevel","userAccount","withdrawFunds","reloadLinkedAccounts","withdrawFormAchSubmit","withdrawFormBrokerSubmit","withdrawFormIraSubmit","transferBetweenAccountsSubmitSaga","withdrawFormWireSubmit","linkAndWithdrawFundsWireFormSubmit","watchWithdrawFormAchSubmit","watchWithdrawFormBrokerSubmit","watchWithdrawFormIraSubmit","watchTransferBetweenAccountsSubmit","watchLinkAndWithdrawFundsWireFormSubmit","watchWithdrawFormWireSubmit","watchShowWithdrawFundsAchModal","watchHideWithdrawFundsAchModal","watchShowWithdrawFundsWireModal","watchHideWithdrawFundsWireModal","watchShowWithdrawFundsBrokerModal","watchHideWithdrawFundsBrokerModal","watchShowWithdrawFundsIraModal","watchHideWithdrawFundsIraModal","withdrawResponse","TradeCodeFrom","ClearingFirmFrom","MapWireWithdrawalPayload","Summ","wireLinkinkPayload","wireWithdrawalPayload","BankAccountName","BankAccountNumber","BankAddress","BankName","WireWithdrawal","reqireSignatureAndReturnHandler","watchSaveSignatureRequest","watchCheckSignaturesRequest","watchCollectSignaturesProcessStart","watchShowCreateSignatureModal","watchHideCreateSignatureModal","watchReqireSignatureAndReturn","needToGetSignaturePersonsArray","needToGetSignaturePerson","FullName","cancelled","earningsToday","earnings","mostActive","analytics","getEarningsTodayRequestSaga","getMostActiveRequestSaga","watchEarningsTodayRequest","watchMostActiveRequest","getWithdrawCashHandler","watchGetWithdrawCash","change","Data","currencyCode","CurrencyCode","cashToWithdrawValue","FreeMargin","totalAccountValue","Equity","callApiWrapper","apiFn","statusText","errData","ValidationErrors","errItem","hasHtml","Svg","fill","fillRule","transform","strokeWidth","stroke","cx","cy","points","y","rx","AgreementField","docName","currentVal","formValueSelector","docShown","setDocShown","AgreementFormField","AutocompleteInput","autocompleteInputRoot","autocompleteQuery","autocompleteProps","propOnChange","propValue","controlled","defaultValueRef","useRef","propControlledValue","current","openByAutocomplete","setOpenByAutocomplete","openByQuery","setOpenByQuery","setOptions","setQuery","setValue","inputValue","setInputValue","queryLoading","setQueryLoading","timerRef","minQueryLength","maxQueryLength","getOptions","resultOptions","filterOptions","prmOptions","prmState","onOpen","onClose","getOptionSelected","renderOption","getOptionLabel","option","newSelectedOption","inpVal","onInputChange","clearTimeout","freeSolo","renderInput","params","params2","createComponent","mapError","meta","touched","input","Boolean","mapErrorAfterInit","visited","isStateLess","MaterialUIComponent","mapProps","InputComponent","createElement","sizeSmall","outlinedPrimary","border","outlinedSecondary","textPrimary","textSecondary","containedPrimary","boxShadow","containedSecondary","Button","handleClick","gaUrl","modalview","disableFocusRipple","disableRipple","startIcon","LimeButton","textDecoration","upper","A","cssClasses","pendingInfoText","ChangeLink","activeLinkText","inactiveLinkText","oActiveLinkText","oInactiveLinkText","Link","hidden","visibility","Select","isHidden","MUISelect","userSelect","spacing","minWidth","textShadow","selectMenu","textOverflow","overflow","minHeight","right","autoWidth","displayEmpty","MenuProps","multiple","native","renderValue","SelectDisplayProps","cloneElement","element","muiName","hasValue","isFilled","SSR","SelectInput","ignoreNextBlur","displayNode","displayWidth","isOpenControlled","isControlled","update","event","handleClose","handleItemClick","child","itemIndex","persist","handleBlur","stopPropagation","handleKeyDown","readOnly","preventDefault","handleDisplayRef","clientWidth","handleSelectRef","selectInputRef","forceUpdate","classNameProp","onFocus","openProp","tabIndexProp","tabIndex","ArrowDropDownIcon","displaySingle","displayMultiple","computeDisplay","Children","isValidElement","selected","role","MenuMinWidth","data-mui-test","aria-pressed","aria-owns","aria-haspopup","anchorEl","MenuListProps","PaperProps","onChangeFromField","containerWrapper","zIndex","overflowY","containerWrapperMobile","container","maxWidth","backdrop","backdropMobile","header","Modal","querySelector","bgColor","textColor","isXsResolution","cssContainer","cssBackdrop","any","lightTooltip","common","shadows","BankLogo","onImageError","imageError","imgRelativePath","imgUrl","LogoColors","bgBorder","noBankLogoSrc","withBankName","srcLogo","LogoFullFileName","LogoFileName","Logo","onError","TransitionComponent","TransitionProps","timeout","darker","IconButton","buttons","iconPlus","outline","iconMinus","marginRight","NumberFormatCustom","decimalScale","restProps","getInputRef","onValueChange","thousandSeparator","InputNumber","onPlusButtonClick","onMinusButtonClick","onBlurHandler","prevProps","step","allowIconButtons","iconButtonRoot","VisibilityButton","Icon","InputNumberFormat","mask","removeFormatting","array","InputPhoneNumber","onRemoveFormatting","formattedValue","hideNumberMode","formatted","unformatted","replace","onFormatDetect","match","detectPhone","unformattedVal","lenMask","lenVal","mtxt","char","onPhoneChange","maskList","masksSort","sort","ia","ib","cha","chb","maskTemplate","maskOpts","defs","pass","maskIndex","chm","im","source","concat","determined","completed","applyMask","phoneCodes","cpc","cc","name_en","desc_en","name_ru","desc_ru","phoneInputContainer","phoneInput","phoneIcon","backgroundImage","backgroundRepeat","backgroundPosition","backgroundSize","InputPhoneIconNumber","countryCode","newCode","phoneCssStyles","uiFlagAD","uiFlagAE","uiFlagAF","uiFlagAG","uiFlagAI","uiFlagAL","uiFlagAM","uiFlagAN","uiFlagAO","uiFlagAR","uiFlagAS","uiFlagAT","uiFlagAU","uiFlagAW","uiFlagAX","uiFlagAZ","uiFlagBA","uiFlagBB","uiFlagBD","uiFlagBE","uiFlagBF","uiFlagBG","uiFlagBH","uiFlagBI","uiFlagBJ","uiFlagBM","uiFlagBN","uiFlagBO","uiFlagBR","uiFlagBS","uiFlagBT","uiFlagBV","uiFlagBW","uiFlagBY","uiFlagBZ","uiFlagCA","uiFlagcatalonia","uiFlagCC","uiFlagCD","uiFlagCF","uiFlagCG","uiFlagCH","uiFlagCI","uiFlagCK","uiFlagCL","uiFlagCM","uiFlagCN","uiFlagCO","uiFlagCR","uiFlagCS","uiFlagCU","uiFlagCV","uiFlagCX","uiFlagCY","uiFlagCZ","uiFlagDE","uiFlagDJ","uiFlagDK","uiFlagDM","uiFlagDO","uiFlagDZ","uiFlagEC","uiFlagEE","uiFlagEG","uiFlagEH","uiFlagEN","uiFlagER","uiFlagES","uiFlagET","uiFlagEU","uiFlageuropeanunion","uiFlagfam","uiFlagFI","uiFlagFJ","uiFlagFK","uiFlagFM","uiFlagFO","uiFlagFR","uiFlagGA","uiFlagGB","uiFlagGD","uiFlagGE","uiFlagGF","uiFlagGH","uiFlagGI","uiFlagGL","uiFlagGM","uiFlagGN","uiFlagGP","uiFlagGQ","uiFlagGR","uiFlagGS","uiFlagGT","uiFlagGU","uiFlagGW","uiFlagGY","uiFlagHK","uiFlagHM","uiFlagHN","uiFlagHR","uiFlagHT","uiFlagHU","uiFlagID","uiFlagIE","uiFlagIL","uiFlagIN","uiFlagHI","uiFlagIO","uiFlagIQ","uiFlagIR","uiFlagFA","uiFlagIS","uiFlagIT","uiFlagJM","uiFlagJO","uiFlagJP","uiFlagKE","uiFlagKG","uiFlagKH","uiFlagKI","uiFlagKM","uiFlagKN","uiFlagKP","uiFlagKR","uiFlagKW","uiFlagKY","uiFlagKZ","uiFlagLA","uiFlagLB","uiFlagLC","uiFlagLI","uiFlagLK","uiFlagLR","uiFlagLS","uiFlagLT","uiFlagLU","uiFlagLV","uiFlagLY","uiFlagMA","uiFlagMC","uiFlagMD","uiFlagME","uiFlagMG","uiFlagMH","uiFlagMK","uiFlagML","uiFlagMM","uiFlagMN","uiFlagMO","uiFlagMP","uiFlagMQ","uiFlagMR","uiFlagMS","uiFlagMT","uiFlagMU","uiFlagMV","uiFlagMW","uiFlagMX","uiFlagMY","uiFlagMZ","uiFlagNA","uiFlagNC","uiFlagNE","uiFlagNF","uiFlagNG","uiFlagNI","uiFlagNL","uiFlagNO","uiFlagNP","uiFlagNR","uiFlagNU","uiFlagNZ","uiFlagOM","uiFlagPA","uiFlagPE","uiFlagPF","uiFlagPG","uiFlagPH","uiFlagPK","uiFlagPL","uiFlagPM","uiFlagPN","uiFlagPR","uiFlagPS","uiFlagPT","uiFlagPW","uiFlagPY","uiFlagQA","uiFlagRE","uiFlagRO","uiFlagRS","uiFlagRU","uiFlagRW","uiFlagSA","uiFlagSB","uiFlagSC","uiFlagscotland","uiFlagSD","uiFlagSE","uiFlagSG","uiFlagSH","uiFlagSI","uiFlagSJ","uiFlagSK","uiFlagSL","uiFlagSM","uiFlagSN","uiFlagSO","uiFlagSR","uiFlagST","uiFlagSV","uiFlagSY","uiFlagSZ","uiFlagTC","uiFlagTD","uiFlagTF","uiFlagTG","uiFlagTH","uiFlagTJ","uiFlagTK","uiFlagTL","uiFlagTM","uiFlagTN","uiFlagTO","uiFlagTR","uiFlagTT","uiFlagTV","uiFlagTW","uiFlagTZ","uiFlagUA","uiFlagUG","uiFlagUM","uiFlagUS","uiFlagUY","uiFlagUZ","uiFlagVA","uiFlagVC","uiFlagVE","uiFlagVG","uiFlagVI","uiFlagVN","uiFlagVU","uiFlagwales","uiFlagWF","uiFlagWS","uiFlagYE","uiFlagYT","uiFlagZA","uiFlagZM","uiFlagZW","uiFlagnone","progress","rootBlockFlex","rootInlineFlex","rootLoading","FileDownload","downloadFile","clickBubblingStopped","showInBrowser","onSuccess","hasError","fileName","Blob","file","fileURL","URL","createObjectURL","reader","FileReader","self","tryParseJson","srcElement","readAsText","ex","showButtonTitleWhenLoading","inline","headContainer","headContent","flexWrap","headToggleIcon","arrowIcon","transition","collapsedBodyContent","opened","closed","ExpansionPanel","toggleOpen","isOpen","onToggleOpen","status","defaultOpen","headContentClass","contentCssClass","headContentCssClass","headContentUpdate","List","disablePadding","dense","subheader","divider","disableTypography","inset","center","LoadableScrollbars","getContentElm","contentElm","handleScroll","canLoadMore","onLoadMore","mobileScrollTop","scrollTop","max","documentElement","clientHeight","innerHeight","getBoundingClientRect","onScroll","Divider","showLess","float","ShowMore","onShowLessClick","showMoreButton","showLessButton","popupContainer","openRight","openLeft","DropDownMenu","openPopup","closePopup","handleClickOutside","openPosition","openButton","checkedPrimary","checkedError","radioLabel","labelSize","radioButton","radioButtonSize","Radio","checked","control","colorSecondary","horizontal","vertical","withLabelRoot","transformOrigin","errorMessageRoot","RadioGroup","cssRootClasses","rootError","compactMode","Checkbox","isCompact","defaultChecked","isInputChecked","prepareData","newItem","D","Dot","ChartThumbnail","axisY","useDots","lineColor","preparedData","VictoryTheme","grayscale","scale","tickFormat","axis","offsetY","end","parent","valueOf","V","createOptions","mainChartdata","additionalChartsData","YlabelsFormat","TooltipFormat","chart","credits","enabled","xAxis","dateTimeLabelFormats","second","minute","hour","day","week","legend","yAxis","tickPixelInterval","labels","formatter","series","legendTitle","chartData","showInLegend","Chart","highcharts","TabContainer","uploader","activeClassName","uploadedFilesContainer","uploadedFilesItem","uploadedFileName","uploadedFileAction","errorDropZone","convertToMB","decimalPlaces","createHash","crypto","subtle","digest","hashBuffer","hashArray","Uint8Array","toString","padStart","FileInput","setLoading","uploadedFiles","setUploadedFiles","setErrors","filesHash","setFilesHash","onFilesUpdate","isUploaded","uploadedFile","Size","Hash","useDropzone","accept","minSize","maxSize","maxFiles","onDropAccepted","acceptedFiles","FormData","checkErrors","checkAllChecked","f","fileItem","af","uf","onReject","onabort","onerror","onload","binaryStr","h","append","readAsArrayBuffer","onDropRejected","files","fileErrors","getRootProps","getInputProps","newItems","onDeleteButtonClick","InfoMessage","ErrorMessage","btText","SuccessMessage","hasChildren","elm","ProgressContainer","disableCheckChildren","FullScreenProgressContainer","timeShift","timeShiftFinished","setTimeShiftFinished","tm","ErrorCatcher","errorInfo","supportMail","calendarsSplit","materialTheme","MuiPickersToolbar","toolbar","MuiPickersCalendarHeader","switchHeader","MuiTypography","caption","MuiPickersDay","daySelected","MuiButton","MuiInput","mapStateToProps","DateRangePicker","startDateChange","onStartDateChange","endDateChange","onEndDateChange","showTodayButton","maxDate","minDate","connect","mapDatePickerProps","dateFormat","inputContainer","inputContainerItem","selectContainer","errorMsg","SelectField","onExitedRegionSelect","activeElement","blur","handleChange","renderSelectField","invalid","onExited","inputSelectItem","selectItem","LimeLogo","mergedclasses","inputItem","cashToWithdrawInfo","cashToWithdrawInfoText","cashToWithdrawRefreshIcon","cashToWithdrawLoadingIcon","WithdrawAmount","availableAmount","withdrawLabelText","HeaderUserInfo","FirstName","LastName","languageIcon","LanguageSelector","allowedAndHiddenLanguages","allowedLanguages","hiddenLangs","LanguageRefSwitcher","useLocation","langPath","substring","noLangPath","useLayoutEffect","noLangLocation","LogOutButton","logoutProgress","setLogoutProgress","bulletPoints","SelectPoints","displayError","configureStore","initState","sagaMiddleware","enhancers","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","applyMiddleware","routerMiddleware","createStore","run","reducers","wallet","composeSortedReducers","createRootReducer","combineReducers","AccountCode","sagas","loginForm","watchGenerateBrokerReportRequest","watchgetUserReportsRequest","generateBrokerReportSaga","getAccountReportsSaga","PrivateRedirect","rest","PrivateRoute","forceCheckAuth","checkAuth","RootRoutes","langItem","exact","hot","rootContainer","sidebar","demoAccountNotification","demoAccountExpirationWarning","SettingsRoute","mapDispatchToProps","composeExpirationWarningText","days","DashboardView","currentTradeCode","accid","NeedChangePass","dateNowWithUSOffset","dateExpiration","Alerts","HasBrokenEmail","HasPaperDelivery","residential","DeliveryType","DocumentDebtsAlert","BrokenEmailAlert","alert","redButton","DocumentDebtTypes","isMoneyOutPage","hasBlockers","Debts","IsBlockingMoneyOut","getDebtsInfo","debts","identityDebts","CategoryCode","registrationDebts","debtsInfo","onClickModal","DocumentTypes","docType","accountStatus","collectMarginTypesProcessStart","changeAction","MarginTypeAlert","showUpgradeModal","MarginOptionParameters","UpgradeMarginType","IsPrimaryHolder","useMarketDataStatuses","hasPendingOrderStatus","hasPendingOrderSubscription","MarketDataSubscription","needStatus","ctaSubscription","needSubscription","MarketDataAlert","MarketDataDisabledAlert","PaperDeliveryAlert","SignatureAlert","needAlert","TwoFactorAlert","subHeader","alertMessage","CONFIRM_PROFILE_FORM","profileData","userAccountsLoading","userGuid","hasSignes","allFormValues","accountsPrimary","Holders","IsPrimary","hideConfirmationModal","checkSignature","ConfirmProfile","handleCloseConfirmation","handleSubmitButtonClick","createSubmitHandleAction","newValue","IndAssociatedPerson","WorksForAnotherBroker","ChangesInBenOwners","JointOwnersChanges","aProductsExpectedToBeTraded","ClearingNumber","ExpectedAnnualTotalOfDeposits","ExpectedAnnualTotalOfWithdrawals","ProductsExpectedToBeTraded","touchVerifiableFields","handleSubmit","UpdateDate","hiddenFieldInvalid","validate","onSubmit","touch","accPrimary","fieldName","reduxForm","shouldError","editValuePhone","navigationDiv","accountInformation","ConfirmProfileNavigation","Map","composeComponents","getComponent","backClick","nextClick","clientType","filteredAccounts","idkey","valueOrDash","AccountInformation","primaryHolder","primaryHolderName","panelIdPrefix","JointHolders","filteredHolders","holder","JointHolderInformation","allHolders","holderProfile","OptionQuestionType","QuestionText","Options","CurrentAccountType","RadioQuestion","question","CheckBoxQuestion","AccountInformationQuestion","InvestmentExpirience","stocks","Value","margins","mutualFunds","shortSales","InvestmentExperience","InvestmentProfilePanel","RiskTolerance","Goal","Timeline","Experience","Liquidity","Liquid","NetWorth","AnnualIncome","TaxBracket","AccreditedInvestor","QualifiedClient","getPlatformFullName","getAccountProductName","platform","ProductType","Platform","INDUSTRIES","SOURCE_OF_FUNDING","EARNINGS","SOCIAL_SECURITY","PENSION","GIFT","SALE_OF_BUSINESS","INHERITANCE","INSURANCE","OTHER","EMPLOYED","SELF_EMPLOYED","RETIRED","UNEMPLOYED","STUDENT","OCCUPATIONS","ACCREDITED_INVESTOR_TOOLTIP_TEXT","QUALIFIED_CLIENT_TOOLTIP_TEXT","INVESTMENT_TIMELINE_RANGES","LESS_THAN_A_YEAR","ONE_TO_FIVE_YEARS","FIVE_TO_TEN_YEARS","SIX_TO_TEN_YEARS","TEN_TO_FIFTEEN_YEARS","OVER_TEN_YEARS","OVER_FIFTEEN_YEARS","LIQUIDITY_IMPORTANCE_RANGES","VERY_IMPORTANT","IMPORTANT","SOMEWHAT_IMPORTANT","DOES_NOT_MATTER","changeAddressAction","changeEmailAction","changePhoneAction","MaritalStatus","Dependents","row","accountContainer","logo","ownProps","initialValues","TransferInstructions","closeAccountMode","AcatOutgoingForm","DestinationFirmName","TransferReason","amountInput","bankAccountContainer","accountBalance","WITHDRAW_FUNDS_ACH_FORM","formSelector","formAmount","refreshAccountPortfolio","AchWithdrawalForm","getSuccessPopup","cash","unsettledCash","FreeMarginValue","securitiesMarketValue","PositionMarket","onDontCloseAccount","submitFailed","selectedBankAccount","Balance","getCashToWithdraw","CashToWithdrawValue","cashToWithdraw","onSubmitSuccess","sourceAccountInfo","destinationAccountInfo","arrowImg","bankAccountLogo","WITHDRAW_FUNDS_BROKER_FORM","bankAccountInfo","getFormValue","BrokerWithdrawalForm","EquityValue","CloseAccountForm","ClosePrompt","CY_CHANGE_PASSWORD_FORM_ID","AuthKey","resetKey","OldPassword","NewPassword","ConfirmPassword","CYChangePasswordForm","pristine","autoComplete","defaultvalue","formvalues","IPO_CREATE_ORDER_FORM_ID","order","hasAttestationFinraAgree","refreshCurrentOffering","IpoCreateOrderForm","OfferingId","offeringSubmitting","offering","MinTicketSize","MaxTicketSize","UnitIncrement","mr60","valueOrDefault","defaultVal","valueIfEmpty","otherProps","confirmLink","sendConfirmationCode","RequireConfirmationCodeItem","onRequestVerificationCode","onSendCode","intervalId","timer","hasConfirmationCode","currentCount","handleClickShowSmsCode","showPassword","clearInterval","customClasses","disableConfirmation","aria-label","seconds","SignatureChecker","compose","addBreaks","newdata","WireDepositPage","hasBankUrl","BankCabinetUrl","wireRequisites","hiddenSpcFuturesRequisites","AbaNumber","SwiftCode","ForCreditTo","MapForm","template","Template","ReceivingBankName","ReceivingBankRoutingNumber","ReceivingBankSwiftCode","ReceivingBankAccountName","ReceivingBankAddress","ReceivingBankAccountNumber","IntermediaryBankName","Additional","AdditionalInformation","WIRE_WITHDRAWAL_FORM_ID","WireTypeValue","UseIntermediaryBankValue","WireWithdrawalForm","wireType","commissionText","isVision","isCor","Comment","IntermediaryBankAccountNumber","reviewBlock","reviewTitle","reviewTable","reviewLeft","reviewRight","reviewNormal","reviewSuccess","reviewError","reviewProgress","circularProgress","WIRE_WITHDRAWAL_SHORT_FORM_ID","formValues","prevStepValues","linkWireType","DASH_SIGN","WireWithdrawalShortForm","amountToWithdraw","withdrawalFee","amountToReceive","fee","calculateFee","prevState","amountNumber","calculateReviewValues","formSubmit","amountAvailableRefresh","amountChanged","amountFieldName","amountToReceiveAsNum","newValues","CloseAccountSuggestionPopup","PersonalInformationQuestion","FreshChat","initChat","chatInitialized","splittedName","firstName","lastName","fcWidget","host","tags","channel_response","offline","online","minutes","one","more","hours","setExternalId","FreshChatId","user","setFirstName","setLastName","setEmail","HubSpotChat","HubSpotChatToken","HubSpotConversationsReady","hsConversationsSettings","loadImmediately","identificationEmail","identificationToken","HubSpotConversations","refresh","load","hsConversationsOnReady","clear","splitter","documentContainer","documentItem","documentText","disclosures","expansionPanelStaticContent","contentItem","endItem","downloadProgress","downloadRootLoading","setCurrentPage","getDocDisplayName","DocType","DocTypeExt","word","DocumentsAndDisclosures","openPanelId","commission","ProfileDocuments","DocTaxFoms","doc","Download","activeAccounts","docDisplayName","disclosuresUrl","settingsHeader","gridTemplateColumns","tooltipContainer","tooltipIcon","DeliveryTypeTooltip","DeliverySettings","settingsItem","highlight","DeliverySettingsItem","getDeliveryType","highlightClass","IsPendingDeliveryType","taxFormHeader","taxFormRow","taxFormColType","flex","taxFormColDate","taxFormColLink","dashboardLink","formType","getFormType","replaceAll","showTaxFormUpdateModal","taxDocs","SignatureDate","TaxFormUpdate","doneIcon","bankImage","cellHeight","cols","AllSvgIcons","iconName","clickIpoLogoContainer","clickIpoLogo","textContainer","IpoContent","wider","overflowX","panel","mobyleGridItem","IpoCalendar","showMore","holdersCount","viewedItems","direction","justify","rightPadding","IpoCalendarItem","Description","ProsepectusUrl","IpoCalendarItemMobile","createOrder","showExtendedInfo","leftColumn","rightColumn","OfferingExtendedInfo","prospUrl","secondColumn","alignContent","middleColumn","prevRight","companyName","maxHeight","OfferingMainInfo","sPrice","MinPrice","MaxPrice","LogoSmall","TradeDate","OfferingTypeName","AllowOrderEffective","HaveOrders","objectFit","symbol","cardContent","cardActions","cardButtons","OfferingMainInfoMobile","disabledBuyButton","itemContainer","IpoOrders","IpoOrderItem","description","OrderExtendedInfo","mobileAdapter","Quantity","DistributedShares","amountData","OrderMainInfo","AllowCancel","RequestedAmount","StatusName","MainContent","isOld","subhead","showMoreContainer","accountData","initialHoldersCount","CurrentHoldings","positions","tableRow","CurrentHoldingsTable","logoIcon","LogoIconUrl","CompanyName","FriendlyTicker","marketValuePercent","MarketValuePercent","quantity","currentPrice","CurrentSymbolPrice","marketValue","gain","Gain","gainPercent","GainPercent","baseColumn","Ticker","CurrentPrice","Yield","rootCssClass","filtersCss","tranFilters","tranHeader","loadPage","showError","TransactionsHistory","changeFilter","actionsType","Search","tranSearch","loadMore","startDateInit","endDateInit","actionsTypeInit","tranSearchInit","IsTechnical","Item","RequestCode","ItemComponent","Fees","CanBeCanceled","leftEmptyColumn","logoColumn","alignSelf","titleSymbol","grey","FundItem","colorCssClass","Color","fundTitle","IsUserTransaction","logoFileName","Bank","infoColumn","price","cancel","TradeItem","Price","FeeItem","getPrecision","maxPrecision","GrossAmount","prevMax","InstrumentItem","selectType","menuInput","searchInputContainer","searchUnderline","searchInput","searchInputRight","searchIcon","TransactionsFilters","actionsTypeChange","searchKeyPress","keyCode","loseFocus","onKeyDownCapture","searchAlign","upgrade","upgradeIcon","IndividualCashAccount","toggleChartPanelOpen","isChartPanelOpen","headerTitle","totalGainPercent","TotalGainPercent","cashCurrent","positionMarketValue","PERIOD","M1","M3","M6","Y1","getDataByPeriod","dataArray","periodToReturn","dateTo","setDate","getDate","resultData","Points","ChangePercent","briefInfo","footer","industries","periods","periodsTabs","OpenedBody","period","handlePeriodChange","mainDataForPeriod","mainChartData","offset","zone","utcOffset","showChart","indicatorColor","centered","ValueChange","valueSymbol","cssClassName","flexFlow","chartThumbnailPeriod","leftValueContainer","rightValueContainer","percentsChange","BriefInfo","valueContainer","ChangeInfo","firstVal","yesterdayVal","todayVal","dayChangeValue","dayChangePercent","periodChangeValue","periodChangePercent","corpactionsFilters","corpactionsHeader","line_break","oldLoadPage","CorporateActions","reLoad","TypeStr","mt10","mt15","mt5","colored","DividendItem","ExDate","PayDate","invisibleScrollbar","OtherItem","ratio","wordWrap","SplitItem","ExpectedQuantity","Ratio","ExecutionDate","commonlinkStyle","dropdown","tradeLink","limeLink","iconLink","openSideBarIcon","notificationsIcon","headerImg","newNotificationsExists","platformsButton","ml","mainText","limelogo","platformDetails","ListItemCheckedIcon","MainHeader","handleOpenAccount","openApp","TradeUrl","TradeLogin","enableSwitch","platformsVisibility","anyPlatformVisible","anyPlatformVisibleAndSelected","unreadNotificationsExist","terminalMt5Link","tradeUrl","smUp","implementation","BlockTradingAccess","EnableZero","lgUp","GoToTrading","menuItem","list","chevron","setAnchorEl","currentTarget","keepMounted","Contacts","titles","china","asia","india","russia","phones","tds","mails","ms","td","selectContactsData","ind","ContactsTable","ContactsTableRow","TypeCell","ValueCell","ContactsHeader","ContactsCard","refreshUserInfo","BlockModals","checkbox","modalParams","ClearerNumber","deliveryType","clearerNumber","setFormField","ChangeDeliveryTypeModal","disclosure","setDisclosure","consent","setConsent","consentLoaded","setConsentLoaded","generateAgreementFileName","fileUrl","enableReinitialize","fileUploader","spanItem","CHANGE_PROFILE_ADDRESS_FORM","userAddress","country","Country","stateAbbr","StateAbbr","streetAddress","StreetAddress","house","House","building","Building","apartment","Apartment","city","City","zipCode","attachmentsValue","countries","usaStates","profileSubmitting","pendingOrdersAddress","isForeign","IsForeign","isSelfEdit","formState","refreshCountriesList","refreshUsaStatesList","touchFields","fieldsName","ChangeProfileAddressModal","countryChanged","selectedCountry","sortUsFirst","CodeLat2","closeForeign","noAttachments","cntr","st","Abbr","tabHeader","wrapper","acatTradeAccount","isIra","AcatFundModal","acatAvailable","FundForm","inputContainerMultiline","accountHelperText","textNote","brokeragePartsRow","only","brokeragePartsRowNumber","brokeragePartsInputSymbol","brokeragePartsInputNumberOfShares","brokeragePartsColumn","attachFileText","renderMutualFundTransferBody","fields","member","handleChangeEmploymentStatus","renderBrokeragePartsTransferBody","AcatFundForm","phoneState","onFilesUpload","brokeragePartsErrorsArray","itemErrors","mutualFundErrorsArray","ACAT_FUND_IRA_FORM","iraType","linkedBanksAccounts","AddBankAccountModal","currentTab","setCurrentTab","tabs","curTab","canShow","unlinkBankAccount","AchAutoTabComponent","plaidHandle","Plaid","apiVersion","clientName","LongName","product","onExit","metadata","onLoad","publicToken","achBankAccount","AchLinkRemoveComponent","unlinkAccount","CanUnlink","subtitle","PlaidAccountRadioItem","Numbers","Info","balances","available","subtype","AttachmentsBankCheckScan","AttachmentsBankReference","AttachmentsBankStatement","AttachmentsExplanationLetter","attachmentsBankCheckScanValue","attachmentsBankReferenceValue","attachmentsBankStatementValue","attachmentsExplanationLetterValue","AchManuallyTabComponent","formroot","BankAccountType","getPromiseWithFunc","reject","autocompleteInputItem","ADD_WIRE_MANUALLY_FORM_ID","IsOutsideCountryOfResidenceValue","attachmentsReferenceValue","attachmentsStatementValue","RequireBankReference","DueDiligenceType","WireManuallyTabComponent","field","routingNumber","swift","AttachmentsStatement","AttachmentsReference","CommissionFreeModal","submitButton","hide","ConfirmModal","submit","btnTitle","resetModalData","CloseAccountModal","closeModal","CloseAccountFormModal","ModalComponent","ModalTitle","CloseAccountContinue","pennyText","pennyListEntry","CloseAccountContinueRequest","CloseAccountPennyForm","onChangePennyAgree","hasAgree","onClickPennyAgreeDocument","isDocShown","pennyAgree","IsPennyAgree","pennyDisagree","pennyStockDocLink","FileName","ACH_TYPE","WIRE_TYPE","WITHDRAWAL","WIRE_WITHDRAWAL","ACH_WITHDRAWAL","GetTabsComponent","wireBankAccount","wireTabLong","wireTabShort","achTab","CloseAccountWithdrawalCash","succeeded","SuccessType","setLinkedBankAccount","linkedBankAccount","handleAmountSubmit","linkAndwithdrawFundsWireForm","destroyOnUnmount","forceUnregisterOnUnmount","resProps","WIRE_LINK_AND_WITHDRAWAL_FORM","WithdrawFundsWireTab","checkFirstPage","handleGotoAmount","isLinked","isAccountClosing","instructionsContainer","instructionsText","formError","CreateSignatureModal","isEmpty","timerId","signatureAreaInstance","getImage","onRef","canvas","SignatureArea","signaturePad","canvasElement","resizeCanvas","clearCanvas","toDataURL","devicePixelRatio","offsetWidth","offsetHeight","getContext","downloadJsonButton","successContent","textTitle","textContent","createCredentialFile","File","download","click","revokeObjectURL","CreateApiKeyModal","objToDownload","client_id","client_secret","grant_type","base_url","auth_url","stringify","handleDownloadJson","DepositFundsAchModal","DEPOSIT_ACH_FUNDS_FORM","selectedBankAccountNumber","DepositFundsForm","linkedAchAccounts","linkedAccount","checkEnableWallet","depositBrokerModal","DepositFundsBrokerModal","DEPOSIT_BROKER_FUNDS_FORM","banklAccount","linkedBrokerAccounts","DepositFundsWireModal","depositIraModal","DepositFundsIraModal","DEPOSIT_FUNDS_IRA_FORM","CorDepositInstruction","VisionDepositInstruction","DepositInstruction","DepositFundsIraForm","IpoCreateOrderModal","listStyleType","buttonDownload","noteText","spclogo","PLATFORM","J2tLiteModal","HasOptions","J2tPlusModal","J2tProModal","J2tProPcDownloadUrl","requreSignature","startCheckSignature","RequireSignatureModal","StProModal","MessageModal","Title","MessageDate","Full","accItem","PlaidSelectAccountModal","hideConfirmProfileEmailModal","ProfileModals","getProfileModal","topModal","pop","UpgradeAccountModal","canMarginTypeChange","pendingOrder","UPGRADE_ACCOUNT_FORM_ID","NewMarginType","selectedMarginType","setHasMarginAgree","setHasDayTraderAgree","setUpdateInvestmentProfile","reduxFormTouch","fieldname","allAccTypes","level","UpgradeAccountForm","onChangeMarginType","selectedLevel","curLevel","noChanges","isUpgrade","isDowngrade","noEnoughMoney","noCashMoney","hasShortPositions","isMarginAgree","isDayTraderAgree","labelText","txt","HasMarginAgree","HasDayTraderAgree","errs","marginTypeValidate","newMarginType","isChangeInvestmentProfileInactive","createLink","onClickFunc","isInactive","alertText","UpgradeAccountFormContent","onClickMarginAgreement","isMarginDocShown","onClickDayTraderAgreement","isDayTraderDocShown","UpgradeOptionLevelModal","canUpgradeOptionLevel","UpgradeOptionLevel","UPGRADE_OPTION_LEVEL_FORM","NewOptionLevel","selectedOptionLevel","goToCashManagement","NONE_VALUE","LESS_THAN_A_YEAR_VALUE","SIX_TO_TEN_YEARS_VALUE","OVER_TEN_YEARS_VALUE","UpgradeOptionLevelForm","onChangeOptionLevel","getOptionLevels","allOptionLevels","vision","cor","parseInt","upgradeLevel","needOpraDataAgreement","HasOptionsAgree","HasOpraDataAgree","HasRisksofStandardizedOptionsAgree","HasOptionsRiskAgree","visionValidate","newOptionLevel","pendingOrders","investmentProfile","ExperienceOption","experienceOptionValue","showUpgradeAccountForm","isChangeInvestmentExperienceInactive","isUpgradeAccountFormInactive","listTitle","toUserAccount","acatDepositAction","WelcomePageModal","showDepositWireModal","redirectModal","showDepositAchModal","tradingAction","hasInstantTrading","IsInstantTrading","WithdrawFundsAchModal","onCloseHandler","WithdrawFundsWireModal","onSubmitFail","onFail","WithdrawFundsBrokerModal","WithdrawFundsIraModal","CorWithdrawInstruction","VisionWithdrawInstruction","WithdrawInstruction","WITHDRAW_FUNDS_IRA_FORM","IraWithdrawalForm","linkContainer","IpoExtendedInfoMobileModal","DemoAccountModal","fieldTitle","errorItem","RESET_DEMO_BALANCE_FORM_ID","AMOUNT_FIELD","MARGIN_TYPE_FIELD","OPTION_LEVEL_FIELD","AMOUNT_1000","AMOUNT_2000","AMOUNT_5000","AMOUNT_25000","AMOUNT_100000","amountValue","marginTypeValue","optionLevelValue","MarginTypes","displayText","prompt","highlightable","OptionLevels","requiresMargin","ResetDemoBalanceModal","handleAmountChanged","_","amountAsNumber","calcMarginTypeDisabled","calcOptionLevelDisabled","calcOptionLevelHighlighted","handleMarginChange","selectedMarginLevel","handleOptionsChange","clearMarginType","clearOptionLevel","margingTypedDisabled","Set","optionLevelDisabled","optionLevelHighlighted","selectedValue","displayedItem","pr","has","radioGroup","progressContainer","accountChoose","buttonContinue","otherAccountText","OPEN_SECOND_ACCOUNT_FORM","accountsLoading","showAllAccountTypes","clearSecondAccountAgreementData","OpenSecondAccountModal","handleDownloadAgreementClicked","agreed","handleAgreementDownloadSuccess","agreementLoaded","handleAgreementDownloadError","handleSecondAccountAgreementChanged","handleAccountTypeChange","selectedAccountType","handleContinueClick","choseAccountTypeBlock","otherBlock","individualBlock","validateReason","SECOND_ACCOUNT_AGREEMENT","closeButtonDisabled","SecondAccountRestrictionModal","ClientDataInsufficientModal","links","missingList","processingList","goToMarketDataSubscriptions","UpdateSubscriberAgreementsModal","goToMarketDataSubscriberStatus","UpdateSubscriberStatusModal","getProfileInfo","ActualAddressMissedModal","CHANGE_PROFILE_POST_ADDRESS_FORM","userPostAddress","PostAddress","initialAddressValue","FullPostAddress","addressValue","ChangeProfilePostAddressModal","countryValue","setCountryValue","isPristine","prevEmail","initialEmailValue","emailValue","ChangeProfileEmailModal","inputPhoneItem","inputVerificationItem","emptyIfHidden","phoneValue","ChangeProfilePhoneModal","timeRemains","docLink","docText","activateTariff","TARIFF","ChangeTariffPerShareModal","docPdfHandler","activateTariffHandler","succeededCloseHandler","noMoney","ChangeTariffPerTradeModal","ChangeTariffZeroModal","isPending","taxPendingOrders","taxForm","getDefaultFormType","taxForms","Expired","canChange","allowFillIn","ChangeTaxFormModal","setSubmitSuccess","dateItem","infoText","addressStr","addr","cityStr","TAX_FORM_FILLIN_FORM","personalInformation","DateOfBirth","Citizenship","CitizenshipCountry","ResidenceStreet","ResidenceCity","MailingAddress","MailingCity","MailingCountry","TaxID","Ftin","TaxCountry","UseMailingAddressValue","UseSSN","UseTaxCountry","numValue","v","TaxFormFillInTabComponent","countryItems","normalize","NoTINReason","UseMailingAddress","SSN","UseReferenceNumber","ReferenceNumber","UseSpecialRates","Article","Percent","Income","AdditionalConditions","TAX_FORM_UPLOAD_FORM","TaxFormUploadTabComponent","confirmEmailRequest","ChangeDependentsModal","checkDependents","renderInputField","errorMessageClass","ChangeMaritalStatusModal","ChangeMarketDataSubscriberStatusModal","setSubmitSucceeded","OnSuccess","questionTitle","textJustify","disclaimerBlock","proDisclaimer","tooltipPlacement","CHANGE_MARKETDATA_SUBSCRIBER_STATUS_FORM","currentMarketDataStatus","isTrue","ChangeMarketDataSubscriberStatusForm","IsPro","PersonalUse","BusinessPurposes","SESCFTCRegistered","SecuritiesEntityRegistered","SecuritiesEntityRegistrationRequired","InvestmentAdviceEngaged","AssetManager","UsesOthersCapital","TradesForOthersBenefit","SharesProfit","ReceivesBenefits","item1","tooltipDisabled","buttonDisabled","toolTipMessage","tooltipPlacementTop","disableHoverListener","isClosed","ChangeMarketDataSubscriptionsModal","disclaimer","formingAgreements","OPRA","calcInitialValues","CHANGE_MARKETDATA_SUBSCRIPTIONS_FORM","showOptionLevelHint","every","ctaAgreementsChecked","opraAgreementsChecked","ctaUtpChecked","showPrompt","handleCtaChecked","handleOpraChecked","getCtaContent","getOpraContent","isFormValid","ctaCurrentValue","opraCurrentValue","calcPromptVisibility","Section2Certification","Section2Agreed","Section1Agreed","ctaValue","opraValue","ctaPristine","opraPristine","OTC","touchOnChange","agreement","CtaAgreements","nyseEnabled","setNyseEnabled","ctaEnabled","setCtaEnabled","nasdaqEnabled","setNasdaqEnabled","cboeEnabled","setCboeEnabled","nyse1Agreed","setNyse1Agreed","nyse2Agreed","setNyse2Agreed","nyse3Agreed","setNyse3Agreed","ctaAgreed","setCtaAgreed","nasdaqAgreed","setNasdaqAgreed","cboeAgreed","setCboeAgreed","NyseAgreementName","CtaAgreementName","getDownloadErrorMessage","agreementName","handleNyseAgreementDownloadError","checkedCounter","handleAgreementChanged","OpraAgreements","opraEnabled","setOpraEnabled","opraProEnabled","setOpraProEnabled","opraAgreed","setOpraAgreed","opraProAgreed","setOpraProAgreed","CHANGE_PROFILE_EMPLOYMENT_FORM","employmentProfile","years","Years","company","explanationSourceOfFunding","ExplanationSourceOfFunding","industry","Industry","sourceOfFunding","SourceOfFunding","employmentFunctions","EmploymentFunctions","requiredError","maxCharsError","maxCharsHouseNumber","maxCharsHouseError","formatError","allowedSymbolsCompany","allowedSymbolsAddress","allowedSymbolsHouse","allowedSymbolsCity","ChangeEmploymentModal","checkYears","changeSourceOfIncome","sourceOfFundingId","handleChangeSourceOfFunding","handleSuccessMessageClick","employmentStatus","companyPlaceHolder","pos","fund","GetExperienceValues","experiences","shortSale","CHANGE_PROFILE_INVESTMENT_EXPERIENCE_FORM","ChangeInvestmentExperienceModal","InvestmentExperienceItem","riskTolerances","LOW","MODERATE","AGGRESSIVE","SPECULATIVE","investmentGoals","INCOME","SPECULATION","APPRECATION","PRESERVATION","CHANGE_INVESTMENT_PROFILE_FORM_ID","isRiskObjectiveCombinationValid","memoizeRiskObjectiveCombinationCheck","oldDependencies","memoizedValue","newDependencies","dep","isRiskObjectiveCombinationValidMemo","calcMarginType","IsDayTrader","IsMargin","riskTolerance","goal","timeline","taxBracket","liquid","experience","annualIncome","netWorth","liquidity","accreditedInvestor","qualifiedClient","pendingOrderEmployment","liquidValue","totalValue","annualIncomeValue","taxBracketValue","ChangeInvestmentProfileModal","changeReason","investmentGoalKey","investmentGoal","defaultLevel","totalNetWorth","NetWorthList","liquidNetWorth","annualIncomeItems","goalList","calcGoalList","riskToleranceList","calcRiskToleranceList","handleChangeRiskTolerance","handleChangeGoal","showChangeReasonField","initialLiquidValue","NetWorthValues","UNDER_150_000","UNDER_500_000","calcShift","initialValue","currentValue","initialItem","currentItem","initialTotalValue","initialAnnualIncomeValue","initialTaxBracketValue","liquidShift","totalShift","annualShift","taxBracketShit","isAssetsChangesSignificant","getItemLevel","liquidLevel","totalLevel","annualIncomeLevel","taxBracketLevel","annualThresholdLevel","isAssetsOversThresholds","UNDER_50_000","UNDER_1_000_000","UNDER_5_000_000","OVER_5_000_000","AnnualIncomeInstitutionalList","AnnualIncomeList","TaxBracketList","ConfirmProfileModal","handleConfirm","CYChangePasswordModal","onFormSuccess","onFormFail","resetForm","onSuccessedClick","navButton","AuthTypeRadioItem","ChangeTwoFactorAuthorizationModal","getAuthComponent","selectedAuthType","handleAuthTypeChange","nextProps","currentAuthType","showSmsItem","TOTP_STEPS","GOOGLE_INFO","QR_CODE","AUTH_CODE","TOTP_TWO_FACTOR_AUTHORIZATION_FORM","securityCode","TotpAuthenticationForm","showNextButton","AuthCodeForm","googleLink","GoogleInfoStep","secretKeyText","copyButton","qrCodeImage","qrCodeImageError","splitStringToChunks","QrCodeStep","copied","setCopied","qrCodeLoaded","setQrCodeLoaded","qrCodeError","setQrCodeError","clientProfile","splittedSecretCode","onCopy","DigitsOnlyField","CHANGE_TWO_FACTOR_AUTHORIZATION_FORM","SmsAuthenticationForm","EmailAuthenticationForm","EnableThirdPartyMarketDataModal","depositFundsAchClose","depositFundsBrokerClose","depositFundsWireClose","hideEtnaAuthModal","Modals","getModal","closeModals","ids","drawerPaper","drawerPaperMobile","drawerContainer","drawer","closeNotifications","anchor","paper","ModalProps","mobileView","mobileViewOpened","mdDown","rootMobile","NotificationsContent","scrollY","loadNotificationsByScrollEvent","shouldLoadMore","viewportHeight","min","rect","notificationBlockTopOffsetForLoadingNew","notificationBlockWithBodyHeightDifferenceForLoadingNew","markAllAsRead","rootNotificationsClass","autoHide","directionText","OrderDate","col","ddate","unread","unreadIcon","MessageItem","titleCssClass","bodyCssClass","clearedText","textLength","Short","fromNow","closeAccountButton","expansionPanelContent","expansionPanelRoot","showProfile","changePostAddressAction","Profile","onToggle","panelId","Ssn","CloseAccount","CYPersonalDocumentsPanel","AccountCredentialsPanel","getAuthenticationState","showChangePasswordModal","CYAccountCredentialsPanel","expansionPanelHeadContent","ApiKeysPanel","profileTableHeader","profileTableRow","profileTableColName","profileTableColDate","profileTableColLink","generateNew","noIcon","opraSwitcher","buttonContainer","documentationButton","apiClients","opraSubscription","Api","DisplayName","CreatedAt","client","opraMarketData","apiIsOn","isOn","qaAttr","address","RetiredPanel","StudentPanel","marketDataDisabled","MarketDataPanel","canOpenMarketDataSection","missingDataList","HasValidActualAddress","HasValidPhone","HasValidEmail","validateClientData","pendingOrdersList","validatePendingOrders","measureUnit","tariffIcon","disabledButton","hiddenButton","TariffCard","chooseTariffHandler","info","isActive","buttonCssClass","AccountFeatures","paramsSubmitting","tabsRoot","reportItem","getStatementLabel","Label","ReportsIframe","thirdPartyCookies","formReports","method","Reports","docTypesToShow","GetDocTypes","dt","nodeKey","ReportItem","TransmissionItems","FulfillmentDate","SecurityName","CUSIP","indx","filterDefaultSpaces","filterMobileSpaces","reportFilters","reportHeader","CYReport","reportsCount","setReportsCount","isLite","setIsLite","setEndDate","setStartDate","isLiteVersion","reportLink","primaryItem","secondaryItem","CYReportsTable","DateCteate","DateBegin","DateEnd","reportStatus","getStatus","tradeLogin","useScript","script","async","appendChild","removeChild","Terminal","mobile","divContainer","MetaTraderWebTerminal","servers","server","demoAllServers","utmSource","startMode","colorScheme","TerminalMt5","drawerWidth","Sidebar","xsDown","accountSelection","accountActions","linkedAccountsList","actionsDivider","buttonsWrapper","AgentRewardType","ApplyAgreement","agentPartnerCabinetRedirect","userInfoLoading","SidebarContent","quickLinks","rootDefaultImg","equity","currentAccountContainer","selectButton","specialMenuItem","accountCloseDemoText","closedAccountLabelText","splitterTop","splitterBottom","refreshButton","lightToolTip","paperAccount","currentAccountIsDemoOrPaper","showPaperAccountItem","showResetButton","startsWith","showOpenAnotherAccount","AccountSelection","dontCloseSelect","handleResetDemoAccount","showClosedAccounts","isSelectOpened","handleSelectOpen","closedAccountsExist","listItemText","showNonTradingOrderCommon","showNonTradingOpenAccount","showNonTradingOpenDemoAccount","AccountActions","showNonTradingOrderCommonModal","showNonTradingOpenDemoAccountModal","showNonTradingOpenAccountModal","showReportsPage","showPage","showDemoAccounts","handleOpenSubMenu","openSubMenu","IsCashAccount","LinkedAccountsList","showDepositModal","gaDepositUrl","EmptyLinks","QuickLinks","ProfileQuickLinks","ReportsQuickLinks","DocumentsQuickLinks","Snackbar","anchorOrigin","ContentProps","autoHideDuration","getEarnings","TradingAssistance","earningsShowMore","earningsCount","earningsPageSige","earningsShowLess","mostActiveShowMore","mostActiveCount","mostActivePageSige","mostActiveShowLess","dateCol","EarningsTable","Sector","EpsReportDate","ActualEps","ConsensusEps","EstimatedEps","AnnounceTime","EpsSurpriseDollar","FiscalPeriod","FiscalEndDate","numCol","MostActiveTable","MarketCapital","PeRatioHigh","PeRatioLow","LatestEps","LatestEpsDate","EpsSurprisePercent","TtmEps","DividendRate","DividendYield","ReturnOnEquity","ReturnOnAssets","Ebitda","Revenue","GrossProfit","Cash","Debt","ProfitMargin","CashManagementContent","danger","listItemContainer","listConnectItemContainer","wireWithdrawalAction","userLinkedAccounts","CashManagement","showWithdrawFundsModal","hasDepositButton","hasWithdrawalButton","isEnableWallet","allLinkAccounts","walletAccount","onDepositFundsModal","onWithdrawFundsModal","onUnlinkAccount","linkType","linkTypeWide","bankLogo","balance","linkAccountButton","textButtonContainer","BankAccountItem","gaWithdrawalUrl","isLimeInternationalStyle","mdUp","HavePendingWithdrawOrder","smDown","linkedaccount","LinkBankAccountButon","withRouter","StaticField","StyledDivider","BankAccountItemContent","RecipientBankSwift","BankCorrespondent","RecipientBankCorAccount","BankCorrespondentSwift","RecipientBankBIK","IntermediaryBank","IntermediaryBankSwift","ConnectBankAccountItem","rootStyle","PaymentGateCallback","progContainer","progLeft","progRight","progIconTitle","progHeader","progDescription","progButtonsContainer","progButton","softIconMultiterminal","softIcon","WebkitTransition","TradingPlatforms","downloadmt","IsEnabledForTrade","IsForex","downloadlink","languageGrid","LoginView","AutoLogin","CheckAuth","LoginForm","isWidgetMounted","setIsWidgetMounted","mountInline","prepareContainer","authenticate","unmount","inputStyle","forgotPassword","formErrorShake","newAccount","LoginFormLocal","anketaUrl","endsWith","PasswordInput","Header","ResetView","setStep","setError","goToLogin","titleModal","onOperatorSended","RESET_BY_EMAIL_FORM_ID","ResetByEmailForm","RESET_BY_OPERATOR_FORM_ID","ResetByOperatorForm","fillInComment","ResetPasswordView","emailAuthKey","api","locals","escape"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQ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,4GACAA,W,gGACAA,W,kGACAA,W,wFACAA,W,8EAAiBC,gB,8EAAcC,gB,0EAAcC,Y,sGAC7CH,W,2FACAA,W,4FACAA,W,gGACAA,W,oFACAA,W,8EACAI,gB,yFACAJ,W,8FACAA,W,kGACAA,W,4FACAA,W,gGACAA,W,kGACAA,W,yFACAA,W,gGACAA,W,6FACAA,W,+FACAA,W,gGACAA,W,kGACAA,W,qGACAA,W,+GACAA,W,gGACAA,W,qGACAA,W,4FAERK,c,iFACAC,kB,iGAEQN,W,8FACAA,W,oGACAA,W,oGACAA,W,sGACAA,W,yGACAA,W,kGACAA,W,sJACAA,W,8PChEAA,W,sFACAA,W,wFACAA,W,sFACAA,W,4FACAA,W,+FACAA,W,2FACAA,W,sFACAA,W,iGACAA,W,4FACAA,W,mGACAA,W,gGACAA,W,0FACAA,W,0FACAA,W,wFACAA,W,0FAEAA,W,2FACAA,W,iGACAA,W,+FACAA,W,gGACAA,W,4FACAA,W,4FACAA,W,yFACAA,W,aACT,+I,iEACA,+I,oLCzBA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,aACA,+I,gLCZA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,4PClBSA,W,qFACAA,W,uFACAA,W,oJACAO,sB,qFAAoBC,uB,gLCH7B,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cACA,+I,cAEA,+I,2SClBSR,W,oGACAA,W,uGACAA,W,2FAERS,gB,mFACAC,qB,mGAEQV,W,uGACAA,W,qGACAA,W,iGAERW,qB,8FACAC,gC,oFACAC,s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,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,uBACTC,QAAS,SACTC,QAAS,gCACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,uBACTC,QAAS,GACTC,QAAS,gCACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,wBACTC,QAAS,GACTC,QAAS,uBACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,uBACTC,QAAS,GACTC,QAAS,mCACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,uBACTC,QAAS,UACTC,QAAS,mCACTC,QAAS,WACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,iCACTC,QAAS,GACTC,QAAS,oCACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,iBACTC,QAAS,GACTC,QAAS,qBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,cACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,yBACTC,QAAS,GACTC,QAAS,uBACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,yBACTC,QAAS,GACTC,QAAS,uBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,qBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,eACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,qBACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,QACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,wBACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,6BACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,2BACTC,QAAS,GACTC,QAAS,mCACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,sBACTC,QAAS,GACTC,QAAS,qBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,8BACTC,QAAS,GACTC,QAAS,cACTC,QAAS,IACP,CACF5C,KAAM,cACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,eACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,iBACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,cACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,qBACTC,QAAS,GACTC,QAAS,2BACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,qBACTC,QAAS,GACTC,QAAS,2BACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,qBACTC,QAAS,GACTC,QAAS,2BACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,qBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,aACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,mBACTC,QAAS,GACTC,QAAS,uBACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,kBACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,gBACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,uBACTC,QAAS,GACTC,QAAS,qBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,wBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,gBACTC,QAAS,GACTC,QAAS,eACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,SACTC,QAAS,aACTC,QAAS,aACP,CACF5C,KAAM,gBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,SACTC,QAAS,aACTC,QAAS,aACP,CACF5C,KAAM,qBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,SACTC,QAAS,aACTC,QAAS,aACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,UACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,eACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,UACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,cACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,sBACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,SACLC,GAAI,KACJC,QAAS,qBACTC,QAAS,SACTC,QAAS,iBACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,gBACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,gBACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,gBACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,gBACTC,QAAS,IACP,CACF5C,KAAM,0BACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,gBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,gBACTC,QAAS,GACTC,QAAS,cACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,iBACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,QACLC,GAAI,KACJC,QAAS,QACTC,QAAS,SACTC,QAAS,QACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,SACTC,QAAS,aACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,gBACTC,QAAS,GACTC,QAAS,cACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,mBACTC,QAAS,GACTC,QAAS,qBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,wBACTC,QAAS,GACTC,QAAS,kBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,cACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,2BACTC,QAAS,GACTC,QAAS,qCACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,sBACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,SACTC,QAAS,cACTC,QAAS,SACTC,QAAS,eACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,SACTC,QAAS,YACTC,QAAS,aACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,SACTC,QAAS,YACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,SACTC,QAAS,YACTC,QAAS,aACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,SACTC,QAAS,YACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,gBACTC,QAAS,GACTC,QAAS,kBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,iBACTC,QAAS,GACTC,QAAS,mBACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,YACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,mBACTC,QAAS,GACTC,QAAS,gCACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,mBACTC,QAAS,GACTC,QAAS,qBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,gBACTC,QAAS,SACTC,QAAS,qBACTC,QAAS,aACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,mBACTC,QAAS,SACTC,QAAS,sBACTC,QAAS,aACP,CACF5C,KAAM,aACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,kBACTC,QAAS,GACTC,QAAS,qBACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,YACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,sBACTC,QAAS,IACP,CACF5C,KAAM,YACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,mBACTC,QAAS,GACTC,QAAS,mBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,eACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,UACTC,QAAS,aACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,cACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,wBACTC,QAAS,GACTC,QAAS,sBACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,cACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,eACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,uBACTC,QAAS,GACTC,QAAS,gCACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,iBACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,MACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,OACTC,QAAS,GACTC,QAAS,OACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,iBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,cACTC,QAAS,IACP,CACF5C,KAAM,YACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,kBACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,QACLC,GAAI,KACJC,QAAS,aACTC,QAAS,gBACTC,QAAS,kBACTC,QAAS,iBACP,CACF5C,KAAM,iBACNuC,IAAK,QACLC,GAAI,KACJC,QAAS,aACTC,QAAS,gBACTC,QAAS,kBACTC,QAAS,iBACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,eACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,aACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,oBACTC,QAAS,IACP,CACF5C,KAAM,cACNuC,IAAK,QACLC,GAAI,KACJC,QAAS,UACTC,QAAS,SACTC,QAAS,UACTC,QAAS,aACP,CACF5C,KAAM,aACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,iBACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,oBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,iBACTC,QAAS,GACTC,QAAS,iBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,aACTC,QAAS,GACTC,QAAS,aACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,SACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,iCACTC,QAAS,GACTC,QAAS,2BACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,YACTC,QAAS,GACTC,QAAS,YACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,yBACTC,QAAS,GACTC,QAAS,gCACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,OACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,kCACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,aACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,UACTC,QAAS,GACTC,QAAS,UACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,oBACTC,QAAS,GACTC,QAAS,kBACTC,QAAS,IACP,CACF5C,KAAM,eACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,SACTC,QAAS,QACTC,QAAS,aACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,QACTC,QAAS,GACTC,QAAS,QACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,KACLC,GAAI,KACJC,QAAS,eACTC,QAAS,GACTC,QAAS,yBACTC,QAAS,IACP,CACF5C,KAAM,mBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,SACTC,QAAS,GACTC,QAAS,SACTC,QAAS,IACP,CACF5C,KAAM,iBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,GACTC,QAAS,WACTC,QAAS,IACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,WACTC,QAAS,aACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,WACTC,QAAS,WACTC,QAAS,YACP,CACF5C,KAAM,gBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,WACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,SACTC,QAAS,WACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,MACLC,GAAI,KACJC,QAAS,WACTC,QAAS,YACTC,QAAS,WACTC,QAAS,aAEV,CACC5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,WACTC,QAAS,SACTC,QAAS,YACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,mBACTC,QAAS,SACTC,QAAS,uBACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,eACTC,QAAS,SACTC,QAAS,cACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,YACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,SACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,SACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,SACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,gBACTC,QAAS,SACTC,QAAS,gBACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,SACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,SACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,SACTC,QAAS,UACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,YACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,mBACTC,QAAS,SACTC,QAAS,uBACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,4BACTC,QAAS,SACTC,QAAS,2BACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,mBACTC,QAAS,SACTC,QAAS,uBACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,YACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,UACTC,QAAS,SACTC,QAAS,WACP,CACF5C,KAAM,kBACNuC,IAAK,IACLC,GAAI,KACJC,QAAS,SACTC,QAAS,SACTC,QAAS,SACTC,QAAS,U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EAAU,CAAC,CAAClrB,EAAO1B,EAAI4sB,EAAS,MAG9C,IAAI8R,EAAU,CAEd,OAAiB,OACjB,WAAoB,GAEPo7H,EAAIltI,EAAS8R,GAI1Bh9B,EAAOD,QAAUmrB,EAAQmtI,QAAU,I,iBClBnC,IAAIC,EAAS,EAAQ,OACXt4J,EAAOD,QAAU,EAAQ,KAAR,EAAsD,IAKzEjB,KAAK,CAACkB,EAAO1B,EAAI,uIAAyIg6J,EAAO,EAAQ,OAAsC,2BAA4B,M,kBCNnPt4J,EAAOD,QAAU,IAA0B","file":"scripts/main.12dc771befea6bd34515.bundle.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([942,1]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export { default as AllSvgIcons } from './SvgIcon/AllSvgIcons';\r\nexport { default as AgreementField } from './AgreementField/AgreementField';\r\nexport { default as AutocompleteInput } from './AutocompleteInput/AutocompleteInput';\r\nexport { default as FormAutocompleteInput } from './AutocompleteInput/FormAutocompleteInput';\r\nexport { default as Input } from './Input/Input';\r\nexport { default as FormBaseInput } from './FormInput/FormBaseInput';\r\nexport { default as FormInput } from './FormInput/FormInput';\r\nexport { default as SvgIcon } from './SvgIcon/SvgIcon';\r\nexport { default as Button } from './Button/Button';\r\nexport { default as ButtonLime } from './ButtonLime/ButtonLime';\r\nexport { default as A } from './A/A';\r\nexport { default as ChangeLink } from './ChangeLink/ChangeLink';\r\nexport { default as Link } from './Link/Link';\r\nexport { default as Select } from './Select/Select';\r\nexport { default as FormSelect } from './FormSelect/FormSelect';\r\nexport { default as Modal } from './Modal/Modal';\r\nexport { default as BankLogo } from './BankLogo/BankLogo';\r\nexport { default as IconButton } from './IconButton/IconButton';\r\nexport { default as InputNumber } from './InputNumber/InputNumber';\r\nexport { default as FormInputNumber } from './FormInputNumber/FormInputNumber';\r\nexport { default as InputPassword } from './InputPassword/InputPassword';\r\nexport { default as FormInputPassword } from './InputPassword/FormInputPassword';\r\nexport { default as InputNumberFormat } from './InputNumberFormat/InputNumberFormat';\r\nexport { default as FormInputNumberFormat } from './FormInputNumberFormat/FormInputNumberFormat';\r\nexport { default as InputPhoneNumber } from './InputPhoneNumber/InputPhoneNumber';\r\nexport { default as InputPhoneIconNumber } from './InputPhoneIconNumber/InputPhoneIconNumber';\r\nexport { default as FormInputPhoneNumber } from './FormInputPhoneNumber/FormInputPhoneNumber';\r\nexport { default as FormInputPhoneIconNumber } from './FormInputPhoneIconNumber/FormInputPhoneIconNumber';\r\nexport { default as FileDownload } from './FileDownload/FileDownload';\r\nexport { default as ExpansionPanel } from './ExpansionPanel/ExpansionPanel';\r\nexport { default as List, ListItemText, ListItemIcon, ListItem } from './List/List';\r\nexport { default as LoadableScrollbars } from './LoadableScrollbars/LoadableScrollbars';\r\nexport { default as Divider } from './Divider/Divider';\r\nexport { default as ShowMore } from './ShowMore/ShowMore';\r\nexport { default as DropDownMenu } from './DropDownMenu/DropDownMenu';\r\nexport { default as R } from './R/R';\r\nexport { useTranslate } from './R/R';\r\nexport { default as Radio } from './Radio/Radio';\r\nexport { default as RadioGroup } from './RadioGroup/RadioGroup';\r\nexport { default as FormRadioGroup } from './FormRadioGroup/FormRadioGroup';\r\nexport { default as Checkbox } from './Checkbox/Checkbox';\r\nexport { default as FormCheckbox } from './FormCheckbox/FormCheckbox';\r\nexport { default as ChartThumbnail } from './ChartThumbnail/ChartThumbnail';\r\nexport { default as Chart } from './Chart/Chart';\r\nexport { default as TabContainer } from './TabContainer/TabContainer';\r\nexport { default as FileInput } from './FileInput/FileInput';\r\nexport { default as InfoMessage } from './Messages/InfoMessage';\r\nexport { default as ErrorMessage } from './Messages/ErrorMessage';\r\nexport { default as SuccessMessage } from './Messages/SuccessMessage';\r\nexport { default as ProgressContainer } from './ProgressContainer/ProgressContainer';\r\nexport { default as FullScreenProgressContainer } from './FullScreenProgressContainer/FullScreenProgressContainer';\r\nexport { default as ErrorCatcher } from './ErrorCatcher/ErrorCatcher';\r\nexport { default as DateRangePicker } from './DateRangePicker/DateRangePicker';\r\nexport {\r\n\tDatePicker,\r\n\tFormDatePicker,\r\n} from './DatePicker';\r\nexport { default as SelectField } from './SelectField/SelectField';\r\nexport { default as LimeLogo } from './Logo/LimeLogo';\r\nexport { default as WithdrawAmount } from './WithdrawAmount/WithdrawAmount';\r\nexport { default as HeaderUserInfo } from './HeaderUserInfo/HeaderUserInfo';\r\nexport { default as LanguageSelector } from './LanguageSelector/LanguageSelector';\r\nexport { default as LanguageRefSwitcher } from './LanguageSelector/LanguageRefSwitcher';\r\nexport { default as LogOutButton } from './LogOutButton/LogOutButton';\r\nexport { default as SelectPoints } from './SelectPoints/SelectPoints';\r\n","export { default as acatDeposit } from './acatDeposit';\r\nexport { default as app } from './app';\r\nexport { default as agent } from './agent';\r\nexport { default as auth } from './auth';\r\nexport { default as dashboard } from './dashboard';\r\nexport { default as depositFunds } from './depositFunds';\r\nexport { default as etnaAuth } from './etnaAuth';\r\nexport { default as ipo } from './ipo';\r\nexport { default as linkedAccounts } from './linkedAccounts';\r\nexport { default as loginForm } from './loginForm';\r\nexport { default as nontradingOrders } from './nontradingOrders';\r\nexport { default as notifications } from './notifications';\r\nexport { default as profile } from './profile';\r\nexport { default as reports } from './reports';\r\nexport { default as reset } from './reset';\r\n// export { default as promotions } from './promotions';\r\nexport { default as signalR } from './signalR';\r\nexport { default as snackbar } from './snackbar';\r\nexport { default as tradePlatforms } from './tradePlatforms';\r\nexport { default as userAccounts } from './userAccounts';\r\nexport { default as withdrawFunds } from './withdrawFunds';\r\nexport { default as signature } from './signature';\r\nexport { default as analytics } from './analytics';\r\nexport { default as wallet } from './wallet';\r\nexport * from './extensions';\r\nexport * from './sagaExtensions';\r\n","export * from './locationExt';\r\nexport * from './logging';\r\nexport * from './math';\r\nexport * from './memory';\r\nexport * from './scrolling';\r\nexport * from './toUsaFormat';\r\nexport * from './capitalizeFirstLetter';\r\nexport * from './langutils';\r\nexport * from './captureException';\r\nexport * from './formFieldValidators';\r\nexport * from './valueOrEmpty';\r\nexport * from './dataAttribute';\r\nexport * from './markAsTouched';\r\n","export * from './AccountPlatforms';\nexport * from './AccountTariffs';\nexport * from './IraTypes';\nexport * from './ModalPopups';\nexport * from './TaxFormType';\nexport * from './AccountStatus';\nexport * from './TwoFactorAutenticationType';\nexport * from './OperationTabs';\nexport * from './OperationType';\nexport * from './AccountClearers';\nexport * from './CloseAccountFlow';\nexport * from './ValidationMessageMode';\nexport * from './MarginType';\nexport * from './ClientTypes';\nexport * from './OptionLevel';\nexport * from './MarketDataClientStatus';\nexport * from './InsufficientClientDataKeys';\nexport * from './DeliveryTypes';\nexport * from './AccountType';\n\n","export { default as constants } from './const';\r\nexport { default as env } from './env';\r\nexport { default as theme } from './theme';\r\nexport { setAlowedLanguages, getAllowedLanguages } from './allowedLanguages';\r\n","export * from './auth';\r\nexport * from './agent';\r\nexport * from './deposit';\r\nexport * from './etnaAuth';\r\nexport * from './ipo';\r\nexport * from './linkedAccounts';\r\nexport * from './nontradingOrders';\r\nexport * from './notifications';\r\nexport * from './profile';\r\nexport * from './provider';\r\nexport * from './reports';\r\nexport * from './reset';\r\nexport * from './signature';\r\nexport * from './tradePlatforms';\r\nexport * from './userAccounts';\r\nexport * from './withdraw';\r\nexport * from './wallet';\r\n// export * from './promotions';\r\nexport * from './analytics';\r\n","export { default as AcatOutgoingForm } from './AcatOutgoingForm/AcatOutgoingForm';\r\nexport { default as AchWithdrawalForm } from './AchWithdrawalForm/AchWithdrawalForm';\r\nexport { default as BrokerWithdrawalForm } from './BrokerWithdrawalForm/BrokerWithdrawalForm';\r\nexport {\r\n\tWithdrawInfo,\r\n\tBrokerAccountInfo,\r\n} from './BrokerWithdrawalForm/components';\r\nexport { default as CloseAccountForm } from './CloseAccountForm/CloseAccountForm';\r\nexport { default as CYChangePasswordForm } from './CYChangePasswordForm/CYChangePasswordForm';\r\nexport { default as IpoCreateOrderForm } from './IpoCreateOrderForm/IpoCreateOrderForm';\r\nexport {\r\n\tInputEditableItem,\r\n\tExpansionPanelHeaderEditable,\r\n\tCustomEditableItem,\r\n} from './ProfileDesignComponents';\r\nexport { default as RequireConfirmationCodeItem } from './RequireConfirmationCodeItem/RequireConfirmationCodeItem';\r\nexport { default as SignatureChecker } from './SignatureChecker/SignatureChecker';\r\nexport { default as WireDepositPage } from './WireDeposit/WireDepositPage';\r\nexport { default as WireWithdrawalForm } from './WireWithdrawalForm/WireWithdrawalForm';\r\nexport { default as WireWithdrawalShortForm } from './WireWithdrawalForm/WireWithdrawalShortForm';\r\nexport { default as CloseAccountSuggestionPopup } from './CloseAccountSuggestionPopup/CloseAccountSuggestionPopup';\r\n\r\n","export { default as AcatFundModal } from './AcatFundModal/AcatFundModal';\r\nexport { default as AddBankAccountModal } from './AddBankAccountModal/AddBankAccountModal';\r\nexport { default as CommissionFreeModal } from './CommissionFreeModal/CommissionFreeModal';\r\nexport { default as ConfirmModal } from './ConfirmModal/ConfirmModal';\r\nexport { default as CloseAccountModal } from './CloseAccountModal/CloseAccountModal';\r\nexport { default as CloseAccountFormModal } from './CloseAccountModal/CloseAccountFormModal';\r\nexport { default as CreateSignatureModal } from './CreateSignatureModal/CreateSignatureModal';\r\nexport { default as CreateApiKeyModal } from './CreateApiKeyModal/CreateApiKeyModal';\r\nexport { default as DepositFundsAchModal } from './DepositFundsAchModal/DepositFundsAchModal';\r\nexport { default as DepositFundsBrokerModal } from './DepositFundsBrokerModal/DepositFundsBrokerModal';\r\nexport { default as DepositFundsWireModal } from './DepositFundsWireModal/DepositFundsWireModal';\r\nexport { default as DepositFundsIraModal } from './DepositFundsIraModal/DepositFundsIraModal';\r\nexport { default as IpoCreateOrderModal } from './IpoCreateOrderModal/IpoCreateOrderModal';\r\nexport { default as J2tLiteModal } from './J2tLiteModal/J2tLiteModal';\r\nexport { default as J2tPlusModal } from './J2tPlusModal/J2tPlusModal';\r\nexport { default as J2tProModal } from './J2tProModal/J2tProModal';\r\nexport { default as RequireSignatureModal } from './RequireSignatureModal/RequireSignatureModal';\r\nexport { default as StProModal } from './StProModal/StProModal';\r\nexport { default as MessageModal } from './MessageModal/MessageModal';\r\nexport { default as PlaidSelectAccountModal } from './AddBankAccountModal/components/PlaidSelectAccountModal';\r\nexport { default as ProfileModals } from './ProfileModals/ProfileModals';\r\nexport { ConfirmProfileEmailModal } from './ProfileModals/components/';\r\nexport { default as UpgradeAccountModal } from './UpgradeAccountModal/UpgradeAccountModal';\r\nexport { default as UpgradeOptionLevelModal } from './UpgradeOptionLevelModal/UpgradeOptionLevelModal';\r\nexport { default as WelcomePageModal } from './WelcomePageModal/WelcomePageModal';\r\nexport { default as WithdrawFundsAchModal } from './WithdrawFundsAchModal/WithdrawFundsAchModal';\r\nexport { default as WithdrawFundsWireModal } from './WithdrawFundsWireModal/WithdrawFundsWireModal';\r\nexport { default as WithdrawFundsBrokerModal } from './WithdrawFundsBrokerModal/WithdrawFundsBrokerModal';\r\nexport { default as WithdrawFundsIraModal } from './WithdrawFundsIraModal/WithdrawFundsIraModal';\r\nexport { default as IpoExtendedInfoMobileModal } from './IpoExtendedInfoMobileModal/IpoExtendedInfoMobileModal';\r\nexport { default as DemoAccountModal } from './DemoAccountModal/DemoAccountModal';\r\nexport { default as ResetDemoBalanceModal } from './ResetDemoBalanceModal/ResetDemoBalanceModal';\r\nexport { default as OpenSecondAccountModal } from './OpenSecondAccountModal/OpenSecondAccountModal';\r\nexport { default as SecondFactorRestrictionModal } from './SecondFactorRestrictionModal/SecondFactorRestrictionModal';\r\nexport { default as ClientDataInsufficientModal } from './ClientDataInsufficientModal/ClientDataInsufficientModal';\r\nexport { default as UpdateSubscriberAgreementsModal } from './MarketDataModals/UpdateSubscriberAgreementsModal';\r\nexport { default as UpdateSubscriberStatusModal } from './MarketDataModals/UpdateSubscriberStatusModal';\r\nexport { default as ActualAddressMissedModal } from './ActualAddressMissedModal/ActualAddressMissedModal';\r\n\r\n","\nexport const initTableData = (sortField, sortDirection) => ({\n\tItems: [],\n\tCount: 0,\n\tPagination: {\n\t\tPage: 0,\n\t\tPageSize: 20,\n\t},\n\tSorting: {\n\t\tField: sortField,\n\t\tDirection: sortDirection,\n\t},\n\tFilter: [],\n});\n\nexport const createApiActions = prefix => ({\n\tREQUEST: `${prefix}_REQUEST`,\n\trequest: payload => ({\n\t\ttype: `${prefix}_REQUEST`,\n\t\tpayload,\n\t}),\n\tSUCCESS: `${prefix}_SUCCESS`,\n\tsuccess: payload => ({\n\t\ttype: `${prefix}_SUCCESS`,\n\t\tpayload,\n\t}),\n\tFAILURE: `${prefix}_FAILURE`,\n\tfailure: error => ({\n\t\ttype: `${prefix}_FAILURE`,\n\t\tpayload: {\n\t\t\terror,\n\t\t},\n\t}),\n});\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","export * from './reduxForm';\r\n","export * from './accountNames';\nexport * from './const';\n","const actions = {\r\n\r\n\tLOGIN_LOCAL: 'AUTH/LOGIN_LOCAL',\r\n\r\n\tloginLocal: payload => ({\r\n\t\ttype: actions.LOGIN_LOCAL,\r\n\t\tpayload,\r\n\t}),\r\n\tAUTH_WIDGET: 'AUTH/AUTH_WIDGET',\r\n\tsetWidget: payload => ({\r\n\t\ttype: actions.AUTH_WIDGET,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\r\n\tLOGIN_USER: 'AUTH/LOGIN_USER',\r\n\tloginUser: payload => ({\r\n\t\ttype: actions.LOGIN_USER,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\r\n\tLOGOUT: 'AUTH/LOGOUT',\r\n\tlogout: () => ({\r\n\t\ttype: actions.LOGOUT,\r\n\t}),\r\n\r\n\tLOGOUT_SUCCESS: 'AUTH/LOGOUT_SUCCESS',\r\n\tlogoutSuccess: () => ({\r\n\t\ttype: actions.LOGOUT_SUCCESS,\r\n\t}),\r\n\r\n\tCHECK_AUTH_REQUEST: 'AUTH/CHECK_AUTH_REQUEST',\r\n\r\n\tcheckAuthRequest: location => ({\r\n\t\ttype: actions.CHECK_AUTH_REQUEST,\r\n\t\tpayload: {\r\n\t\t\tlocation,\r\n\t\t},\r\n\t}),\r\n\r\n\tAUTOLOGIN_REQUEST: 'AUTH/AUTOLOGIN_REQUEST',\r\n\r\n\tautologinRequest: autologin => ({\r\n\t\ttype: actions.AUTOLOGIN_REQUEST,\r\n\t\tpayload: {\r\n\t\t\tautologin,\r\n\t\t},\r\n\t}),\r\n\r\n\tSEND_PING_AUTH_REQUEST: 'AUTH/SEND_PING_AUTH_REQUEST',\r\n\r\n\tsendPingAuthRequest: () => ({\r\n\t\ttype: actions.SEND_PING_AUTH_REQUEST,\r\n\t}),\r\n\r\n\tSEND_CONFIRMATION_CODE_REQUEST: 'AUTH/SEND_CONFIRMATION_CODE_REQUEST',\r\n\tSEND_CONFIRMATION_CODE_SUCCESS: 'AUTH/SEND_CONFIRMATION_CODE_SUCCESS',\r\n\tSEND_CONFIRMATION_CODE_FAILURE: 'AUTH/SEND_CONFIRMATION_CODE_FAILURE',\r\n\r\n\tsendConfirmationCodeRequest: (phone, reason) => ({\r\n\t\ttype: actions.SEND_CONFIRMATION_CODE_REQUEST,\r\n\t\tpayload: {\r\n\t\t\tphone,\r\n\t\t\treason,\r\n\t\t},\r\n\t}),\r\n\tsendConfirmationCodeSuccess: () => ({\r\n\t\ttype: actions.SEND_CONFIRMATION_CODE_SUCCESS,\r\n\t}),\r\n\tsendConfirmationCodeFailure: error => ({\r\n\t\ttype: actions.SEND_CONFIRMATION_CODE_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tSEND_CONFIRMATION_CODE_EMAIL_REQUEST: 'AUTH/SEND_CONFIRMATION_CODE_EMAIL_REQUEST',\r\n\tSEND_CONFIRMATION_CODE_EMAIL_SUCCESS: 'AUTH/SEND_CONFIRMATION_CODE_EMAIL_SUCCESS',\r\n\tSEND_CONFIRMATION_CODE_EMAIL_FAILURE: 'AUTH/SEND_CONFIRMATION_CODE_EMAIL_FAILURE',\r\n\r\n\tsendConfirmationCodeEmailRequest: email => ({\r\n\t\ttype: actions.SEND_CONFIRMATION_CODE_EMAIL_REQUEST,\r\n\t\tpayload: {\r\n\t\t\temail,\r\n\t\t},\r\n\t}),\r\n\r\n\tsendConfirmationCodeEmailSuccess: () => ({\r\n\t\ttype: actions.SEND_CONFIRMATION_CODE_EMAIL_SUCCESS,\r\n\t}),\r\n\r\n\tsendConfirmationCodeEmailFailure: error => ({\r\n\t\ttype: actions.SEND_CONFIRMATION_CODE_EMAIL_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tSET_AFTER_AUTH_URL: 'AUTH/SET_AFTER_AUTH_URL',\r\n\tsetAfterAuthUrl: payload => ({\r\n\t\ttype: actions.SET_AFTER_AUTH_URL,\r\n\t\tpayload,\r\n\t}),\r\n};\r\n\r\nexport default actions;\r\n","import { createFormAction } from 'redux-form-saga';\r\nimport { createApiActions } from '../extensions';\r\n\r\nconst actions = {\r\n\t// actions\r\n\tSET_CURRENT_ACCOUNT: 'USER_ACCOUNTS/SET_CURRENT_ACCOUNT',\r\n\tsetCurrentAccount: account => ({\r\n\t\ttype: actions.SET_CURRENT_ACCOUNT,\r\n\t\tpayload: {\r\n\t\t\taccount,\r\n\t\t},\r\n\t}),\r\n\r\n\t// set account data without request to the backend (used for lime international)\r\n\tSET_ACCOUNT_BASE_PARAMS: 'USER_ACCOUNTS/SET_ACCOUNT_BASE_PARAMS',\r\n\tsetCurrentAccountBaseParams: currentAccountData => ({\r\n\t\ttype: actions.SET_ACCOUNT_BASE_PARAMS,\r\n\t\tpayload: {\r\n\t\t\tresponse: currentAccountData,\r\n\t\t},\r\n\t}),\r\n\r\n\r\n\tGET_CURRENT_ACCOUNT_BASE_DATA_REQUEST: 'USER_ACCOUNTS/GET_CURRENT_ACCOUNT_BASE_DATA_REQUEST',\r\n\tGET_CURRENT_ACCOUNT_BASE_DATA_SUCCESS: 'USER_ACCOUNTS/GET_CURRENT_ACCOUNT_BASE_DATA_SUCCESS',\r\n\r\n\tgetCurrentAccountBaseDataRequest: payload => ({\r\n\t\ttype: actions.GET_CURRENT_ACCOUNT_BASE_DATA_REQUEST,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tgetCurrentAccountBaseDataSuccess: () => ({\r\n\t\ttype: actions.GET_CURRENT_ACCOUNT_BASE_DATA_SUCCESS,\r\n\t}),\r\n\r\n\r\n\tgetUserInfo: createApiActions('USER_ACCOUNTS/GET_USER_INFO'),\r\n\r\n\r\n\tGET_ACCOUNTS_REQUEST: 'USER_ACCOUNTS/GET_ACCOUNTS_REQUEST',\r\n\tGET_ACCOUNTS_SUCCESS: 'USER_ACCOUNTS/GET_ACCOUNTS_SUCCESS',\r\n\tGET_ACCOUNTS_FAILURE: 'USER_ACCOUNTS/GET_ACCOUNTS_FAILURE',\r\n\r\n\t// action creators\r\n\tgetAccountsRequest: () => ({\r\n\t\ttype: actions.GET_ACCOUNTS_REQUEST,\r\n\t}),\r\n\tgetAccountsSuccess: accounts => ({\r\n\t\ttype: actions.GET_ACCOUNTS_SUCCESS,\r\n\t\tpayload: {\r\n\t\t\taccounts,\r\n\t\t},\r\n\t}),\r\n\tgetAccountsFailure: error => ({\r\n\t\ttype: actions.GET_ACCOUNTS_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\r\n\tGET_ACCOUNT_INFO_REQUEST: 'USER_ACCOUNTS/GET_ACCOUNT_INFO_REQUEST',\r\n\tGET_ACCOUNT_INFO_SUCCESS: 'USER_ACCOUNTS/GET_ACCOUNT_INFO_SUCCESS',\r\n\tGET_ACCOUNT_INFO_FAILURE: 'USER_ACCOUNTS/GET_ACCOUNT_INFO_FAILURE',\r\n\r\n\tgetAccountInfoRequest: account => ({\r\n\t\ttype: actions.GET_ACCOUNT_INFO_REQUEST,\r\n\t\tpayload: {\r\n\t\t\taccount,\r\n\t\t},\r\n\t}),\r\n\tgetAccountInfoSuccess: payload => ({\r\n\t\ttype: actions.GET_ACCOUNT_INFO_SUCCESS,\r\n\t\tpayload,\r\n\t}),\r\n\tgetAccountInfoFailure: error => ({\r\n\t\ttype: actions.GET_ACCOUNT_INFO_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tgetAccountPortfolio: createApiActions('USER_ACCOUNTS/GET_ACCOUNT_PORTFOLIO'),\r\n\r\n\tREPORTS_AND_CONFIRMATIONS_REQUEST: 'USER_ACCOUNTS/REPORTS_AND_CONFIRMATIONS_REQUEST',\r\n\tREPORTS_AND_CONFIRMATIONS_SUCCESS: 'USER_ACCOUNTS/REPORTS_AND_CONFIRMATIONS_SUCCESS',\r\n\tREPORTS_AND_CONFIRMATIONS_FAILURE: 'USER_ACCOUNTS/REPORTS_AND_CONFIRMATIONS_FAILURE',\r\n\r\n\treportsAndConfirmationsRequest: (account, orderCode) => ({\r\n\t\ttype: actions.REPORTS_AND_CONFIRMATIONS_REQUEST,\r\n\t\tpayload: {\r\n\t\t\taccount,\r\n\t\t\torderCode,\r\n\t\t},\r\n\t}),\r\n\treportsAndConfirmationsSuccess: () => ({\r\n\t\ttype: actions.REPORTS_AND_CONFIRMATIONS_SUCCESS,\r\n\t}),\r\n\treportsAndConfirmationsFailure: error => ({\r\n\t\ttype: actions.REPORTS_AND_CONFIRMATIONS_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tREFRESH_REPORTS_AND_CONFIRMATIONS_REQUEST: 'USER_ACCOUNTS/REFRESH_REPORTS_AND_CONFIRMATIONS_REQUEST',\r\n\tREFRESH_REPORTS_AND_CONFIRMATIONS_SUCCESS: 'USER_ACCOUNTS/REFRESH_REPORTS_AND_CONFIRMATIONS_SUCCESS',\r\n\tREFRESH_REPORTS_AND_CONFIRMATIONS_FAILURE: 'USER_ACCOUNTS/REFRESH_REPORTS_AND_CONFIRMATIONS_FAILURE',\r\n\r\n\trefreshReportsAndConfirmationsRequest: account => ({\r\n\t\ttype: actions.REFRESH_REPORTS_AND_CONFIRMATIONS_REQUEST,\r\n\t\tpayload: {\r\n\t\t\taccount,\r\n\t\t},\r\n\t}),\r\n\trefreshReportsAndConfirmationsSuccess: payload => ({\r\n\t\ttype: actions.REFRESH_REPORTS_AND_CONFIRMATIONS_SUCCESS,\r\n\t\tpayload,\r\n\t}),\r\n\trefreshReportsAndConfirmationsFailure: error => ({\r\n\t\ttype: actions.REFRESH_REPORTS_AND_CONFIRMATIONS_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tOPEN_REPORTS_PAGE: 'USER_ACCOUNTS/OPEN_REPORTS_PAGE',\r\n\topenReportsPage: ({ page, account }) => ({\r\n\t\ttype: actions.OPEN_REPORTS_PAGE,\r\n\t\tpayload: {\r\n\t\t\tpage,\r\n\t\t\taccount,\r\n\t\t},\r\n\t}),\r\n\r\n\tgetTransactionsHistory: createApiActions('USER_ACCOUNTS/GET_TRANSACTIONS_HISTORY'),\r\n\r\n\tgetMoneyTransactionsHistory: createApiActions('USER_ACCOUNTS/GET_MONEY_TRANSACTIONS_HISTORY'),\r\n\r\n\tgetNonTradingOrdersHistory: createApiActions('USER_ACCOUNTS/GET_NON_TRADING_ORDERS_HISTORY'),\r\n\r\n\tgetAccountCharts: createApiActions('USER_ACCOUNTS/GET_ACCOUNT_CHARTS'),\r\n\r\n\tgetCorporateActions: createApiActions('USER_ACCOUNTS/GET_CORPORATE_ACTIONS'),\r\n\r\n\tgetOldCorporateActions: createApiActions('USER_ACCOUNTS/GET_OLD_CORPORATE_ACTIONS'),\r\n\r\n\tcancelOrder: createApiActions('USER_ACCOUNTS/CANCEL_ORDER'),\r\n\r\n\r\n\tSHOW_UPGRADE_ACCOUNT_MODAL: 'USER_ACCOUNTS/SHOW_UPGRADE_ACCOUNT_MODAL',\r\n\r\n\tshowUpgradeAccountModal: payload => ({\r\n\t\ttype: actions.SHOW_UPGRADE_ACCOUNT_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tupgradeAccountFormSubmitHandler: createFormAction('USER_ACCOUNTS/UPGRADE_ACCOUNT_FORM_SUBMIT'),\r\n\r\n\r\n\tSHOW_UPGRADE_OPTION_LEVEL_MODAL: 'USER_ACCOUNTS/SHOW_UPGRADE_OPTION_LEVEL_MODAL',\r\n\r\n\tshowUpgradeOptionLevelModal: payload => ({\r\n\t\ttype: actions.SHOW_UPGRADE_OPTION_LEVEL_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tupgradeOptionLevelForm: createFormAction('USER_ACCOUNTS/UPGRADE_OPTION_LEVEL_FORM'),\r\n\r\n\taddDemoAccount: createApiActions('USER_ACCOUNTS/ADD_DEMO_ACCOUNT'),\r\n\r\n\tSHOW_RESET_DEMO_ACCOUNT_MODAL: 'USER_ACCOUNTS/SHOW_RESET_DEMO_ACCOUNT_MODAL',\r\n\tshowResetDemoAccountModal: () => ({\r\n\t\ttype: actions.SHOW_RESET_DEMO_ACCOUNT_MODAL,\r\n\t}),\r\n\r\n\tSHOW_OPEN_SECOND_ACCOUNT_MODAL: 'USER_ACCOUNTS/SHOW_OPEN_SECOND_ACCOUNT_MODAL',\r\n\tshowOpenSecondAccountModal: () => ({\r\n\t\ttype: actions.SHOW_OPEN_SECOND_ACCOUNT_MODAL,\r\n\t}),\r\n\r\n\tresetDemoAccountFormSubmit: createFormAction('USER_ACCOUNTS/RESET_DEMO_ACCOUNT_SUBMIT'),\r\n\tsecondAccountVisionAgreement: createApiActions('USER_ACCOUNTS/SECOND_ACCOUNT_VISION_AFGREEMENT'),\r\n\topenAdditionalAccount: createFormAction('USER_ACCOUNTS/OPEN_ADDITIONAL_ACCOUNT'),\r\n\teconsentUpdateVisionForm: createApiActions('USER_ACCOUNTS/ECONSENT_UPDATE_VISION_FORM'),\r\n};\r\n\r\nexport default actions;\r\n","const actions = {\r\n\t// actions\r\n\r\n\tSET_RESOLUTION: 'APP/SET_RESOLUTION',\r\n\tsetResolution: resolution => ({\r\n\t\ttype: actions.SET_RESOLUTION,\r\n\t\tpayload: {\r\n\t\t\tresolution,\r\n\t\t},\r\n\t}),\r\n\r\n\tSHOW_CONFIRM_MODAL: 'APP/SHOW_CONFIRM_MODAL',\r\n\tHIDE_CONFIRM_MODAL: 'APP/HIDE_CONFIRM_MODAL',\r\n\r\n\tshowConfirmModal: payload => ({\r\n\t\ttype: actions.SHOW_CONFIRM_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\thideConfirmModal: () => ({\r\n\t\ttype: actions.HIDE_CONFIRM_MODAL,\r\n\t}),\r\n\r\n\tSHOW_BASE_MODAL: 'APP/SHOW_BASE_MODAL',\r\n\tHIDE_BASE_MODAL: 'APP/HIDE_BASE_MODAL',\r\n\r\n\tshowBaseModal: (modalName, modalData) => ({\r\n\t\ttype: actions.SHOW_BASE_MODAL,\r\n\t\tpayload: {\r\n\t\t\tmodalName,\r\n\t\t\tmodalData,\r\n\t\t},\r\n\t}),\r\n\thideBaseModal: modalName => ({\r\n\t\ttype: actions.HIDE_BASE_MODAL,\r\n\t\tpayload: {\r\n\t\t\tmodalName,\r\n\t\t},\r\n\t}),\r\n\r\n\tCHECK_MIN_VERSION: 'APP/CHECK_MIN_VERSION',\r\n\r\n\tcheckMinVersionRequest: () => ({\r\n\t\ttype: actions.CHECK_MIN_VERSION,\r\n\t}),\r\n\r\n\tCHANGE_LANGUAGE: 'APP/CHANGE_LANGUAGE',\r\n\tchangeLanguage: lang => ({\r\n\t\ttype: actions.CHANGE_LANGUAGE,\r\n\t\tpayload: {\r\n\t\t\tlang,\r\n\t\t},\r\n\t}),\r\n\r\n\tSHOW_DICWORDS: 'APP/SHOW_DICWORDS',\r\n\tHIDE_DICWORDS: 'APP/HIDE_DICWORDS',\r\n\r\n\tshowDicwords: () => ({\r\n\r\n\t\ttype: actions.SHOW_DICWORDS,\r\n\t}),\r\n\thideDicwords: () => ({\r\n\t\ttype: actions.HIDE_DICWORDS,\r\n\t}),\r\n\r\n};\r\n\r\n\r\nexport default actions;\r\n","import { createFormAction } from 'redux-form-saga';\nimport { createApiActions } from '../extensions';\n\nconst plaidSelectAccountFormSubmitActionPrefix = 'PLAID_SELECT_ACCOUNT_FORM_SUBMIT';\nconst plaidSelectAccountFormActionCreator =\n\tcreateFormAction(plaidSelectAccountFormSubmitActionPrefix);\n\nconst actions = {\n\n\tgetLinkedAccounts: createApiActions('LINKED_ACCOUNTS/GET_LINKED_ACCOUNTS'),\n\n\n\tGET_PLAID_ACCOUNTS_REQUEST: 'LINKED_ACCOUNTS/GET_PLAID_ACCOUNTS_REQUEST',\n\tGET_PLAID_ACCOUNTS_SUCCESS: 'LINKED_ACCOUNTS/GET_PLAID_ACCOUNTS_SUCCESS',\n\tGET_PLAID_ACCOUNTS_FAILURE: 'LINKED_ACCOUNTS/GET_PLAID_ACCOUNTS_FAILURE',\n\n\tgetPlaidAccountsRequest: (tradeCode, token) => ({\n\t\ttype: actions.GET_PLAID_ACCOUNTS_REQUEST,\n\t\tpayload: {\n\t\t\ttradeCode,\n\t\t\ttoken,\n\t\t},\n\t}),\n\tgetPlaidAccountsSuccess: payload => ({\n\t\ttype: actions.GET_PLAID_ACCOUNTS_SUCCESS,\n\t\tpayload,\n\t}),\n\tgetPlaidAccountsFailure: error => ({\n\t\ttype: actions.GET_PLAID_ACCOUNTS_FAILURE,\n\t\tpayload: {\n\t\t\terror,\n\t\t},\n\t}),\n\n\tPLAID_SELECT_ACCOUNT_FORM_SUBMIT_REQUEST: plaidSelectAccountFormActionCreator.REQUEST,\n\tPLAID_SELECT_ACCOUNT_FORM_SUBMIT_SUCCESS: plaidSelectAccountFormActionCreator.SUCCESS,\n\tPLAID_SELECT_ACCOUNT_FORM_SUBMIT_FAILURE: plaidSelectAccountFormActionCreator.FAILURE,\n\n\tplaidSelectAccountFormSubmitHandler: plaidSelectAccountFormActionCreator,\n\tplaidSelectAccountFormRequest: (...args) =>\n\t\tplaidSelectAccountFormActionCreator.request({ ...args }),\n\tplaidSelectAccountFormSuccess: payload => plaidSelectAccountFormActionCreator.success(payload),\n\tplaidSelectAccountFormFailure: error => plaidSelectAccountFormActionCreator.failure(error),\n\n\n\tachManualLinkingForm: createFormAction('LINKED_ACCOUNTS/ACH_MANUAL_LINKING_FORM'),\n\n\twireManualLinkingForm: createFormAction('LINKED_ACCOUNTS/WIRE_MANUAL_LINKING_FORM'),\n\n\tachUnlinkBankAccount: createApiActions('LINKED_ACCOUNTS/ACH_UNLINK_BANK_ACCOUNT'),\n\n\twireUnlinkBankAccount: createApiActions('LINKED_ACCOUNTS/WIRE_UNLINK_BANK_ACCOUNT'),\n};\n\nexport default actions;\n","export { default as OpenedBody } from './OpenedBody/OpenedBody';\r\nexport { default as ValueChange } from './ValueChange/ValueChange';\r\nexport { default as BriefInfo } from './BriefInfo/BriefInfo';\r\nexport { default as ChangeInfo } from './ChangeInfo/ChangeInfo';\r\n","import { createFormAction } from 'redux-form-saga';\r\nimport { createApiActions } from '../extensions';\r\n\r\nconst acatDepositFormSubmitActionPrefix = 'ACAT_DEPOSIT_FORM_SUBMIT';\r\nconst acatDepositFormActionCreator =\r\n\tcreateFormAction(acatDepositFormSubmitActionPrefix);\r\n\r\nconst acatOutgoingFormSubmitActionPrefix = 'ACAT_OUTGOING_FORM_SUBMIT';\r\nconst acatOutgoingFormActionCreator =\r\n\tcreateFormAction(acatOutgoingFormSubmitActionPrefix);\r\n\r\nconst closeAccountFormSubmitActionPrefix = 'CLOSE_ACCOUNT_FORM_SUBMIT';\r\nconst closeAccountFormActionCreator =\r\n\tcreateFormAction(closeAccountFormSubmitActionPrefix);\r\n\r\nconst actions = {\r\n\t// actions\r\n\tSHOW_ACAT_DEPOSIT_MODAL: 'ACAT_DEPOSIT/MODAL_SHOW',\r\n\tHIDE_ACAT_DEPOSIT_MODAL: 'ACAT_DEPOSIT/MODAL_HIDE',\r\n\r\n\tshowAcatDepositModal: tradeAccount => ({\r\n\t\ttype: actions.SHOW_ACAT_DEPOSIT_MODAL,\r\n\t\tpayload: {\r\n\t\t\ttradeAccount,\r\n\t\t},\r\n\t}),\r\n\thideAcatDepositModal: () => ({\r\n\t\ttype: actions.HIDE_ACAT_DEPOSIT_MODAL,\r\n\t}),\r\n\r\n\r\n\tACAT_DEPOSIT_FORM_SUBMIT_REQUEST: acatDepositFormActionCreator.REQUEST,\r\n\tACAT_DEPOSIT_FORM_SUBMIT_SUCCESS: acatDepositFormActionCreator.SUCCESS,\r\n\tACAT_DEPOSIT_FORM_SUBMIT_FAILURE: acatDepositFormActionCreator.FAILURE,\r\n\r\n\tacatDepositFormRequest: (...args) => acatDepositFormActionCreator.request({ ...args }),\r\n\tacatDepositFormSuccess: payload => acatDepositFormActionCreator.success(payload),\r\n\tacatDepositFormFailure: error => acatDepositFormActionCreator.failure(error),\r\n\tacatDepositFormSubmitHandler: acatDepositFormActionCreator,\r\n\r\n\tacatDepositIraForm: createFormAction('ACAT_DEPOSIT_IRA_FORM'),\r\n\r\n\tACAT_OUTGOING_FORM_SUBMIT_REQUEST: acatOutgoingFormActionCreator.REQUEST,\r\n\tACAT_OUTGOING_FORM_SUBMIT_SUCCESS: acatOutgoingFormActionCreator.SUCCESS,\r\n\tACAT_OUTGOING_FORM_SUBMIT_FAILURE: acatOutgoingFormActionCreator.FAILURE,\r\n\r\n\tacatOutgoingFormRequest: (...args) => acatOutgoingFormActionCreator.request({ ...args }),\r\n\tacatOutgoingFormSuccess: payload => acatOutgoingFormActionCreator.success(payload),\r\n\tacatOutgoingFormFailure: error => acatOutgoingFormActionCreator.failure(error),\r\n\tacatOutgoingFormSubmitHandler: acatOutgoingFormActionCreator,\r\n\r\n\r\n\tCLOSE_ACCOUNT_FORM_SUBMIT_REQUEST: closeAccountFormActionCreator.REQUEST,\r\n\tCLOSE_ACCOUNT_FORM_SUBMIT_SUCCESS: closeAccountFormActionCreator.SUCCESS,\r\n\tCLOSE_ACCOUNT_FORM_SUBMIT_FAILURE: closeAccountFormActionCreator.FAILURE,\r\n\r\n\tcloseAccountFormRequest: (...args) => closeAccountFormActionCreator.request({ ...args }),\r\n\tcloseAccountFormSuccess: payload => closeAccountFormActionCreator.success(payload),\r\n\tcloseAccountFormFailure: error => closeAccountFormActionCreator.failure(error),\r\n\tcloseAccountFormSubmitHandler: closeAccountFormActionCreator,\r\n\r\n\r\n\tSHOW_CLOSE_ACCOUNT_MODAL: 'CLOSE_ACCOUNT/MODAL_SHOW',\r\n\tHIDE_CLOSE_ACCOUNT_MODAL: 'CLOSE_ACCOUNT/MODAL_HIDE',\r\n\tRESET_CLOSE_ACCOUNT_MODAL_DATA: 'CLOSE_ACCOUNT/RESET_MODAL_DATA',\r\n\r\n\tshowCloseAccountModal: payload => ({\r\n\t\ttype: actions.SHOW_CLOSE_ACCOUNT_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\thideCloseAccountModal: () => ({\r\n\t\ttype: actions.HIDE_CLOSE_ACCOUNT_MODAL,\r\n\t}),\r\n\r\n\tresetCloseAccountModalData: () => ({\r\n\t\ttype: actions.RESET_CLOSE_ACCOUNT_MODAL_DATA,\r\n\t}),\r\n\r\n\tSHOW_CLOSE_ACCOUNT_FORM_MODAL: 'CLOSE_ACCOUNT/MODAL_FORM_SHOW',\r\n\tHIDE_CLOSE_ACCOUNT_FORM_MODAL: 'CLOSE_ACCOUNT/MODAL_FORM_HIDE',\r\n\r\n\tshowCloseAccountFormModal: () => ({\r\n\t\ttype: actions.SHOW_CLOSE_ACCOUNT_FORM_MODAL,\r\n\t}),\r\n\thideCloseAccountFormModal: () => ({\r\n\t\ttype: actions.HIDE_CLOSE_ACCOUNT_FORM_MODAL,\r\n\t}),\r\n\r\n\r\n\tCLOSE_ACCOUNT_CONTINUE_REQUEST: 'CLOSE_ACCOUNT_CONTINUE_REQUEST',\r\n\tCLOSE_ACCOUNT_CONTINUE_SUCCESS: 'CLOSE_ACCOUNT_CONTINUE_SUCCESS',\r\n\tCLOSE_ACCOUNT_CONTINUE_FAILURE: 'CLOSE_ACCOUNT_CONTINUE_FAILURE',\r\n\r\n\tcloseAccountContinueRequest: payload => ({\r\n\t\ttype: actions.CLOSE_ACCOUNT_CONTINUE_REQUEST,\r\n\t\tpayload,\r\n\t}),\r\n\tcloseAccountContinueSuccess: payload => ({\r\n\t\ttype: actions.CLOSE_ACCOUNT_CONTINUE_SUCCESS,\r\n\t\tpayload,\r\n\t}),\r\n\tcloseAccountContinueFailure: payload => ({\r\n\t\ttype: actions.CLOSE_ACCOUNT_CONTINUE_FAILURE,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tACTIVE_ORDERS_REQUEST: 'CLOSE_ACCOUNT/ACTIVE_ORDERS_REQUEST',\r\n\tACTIVE_ORDERS_COMPLETE: 'CLOSE_ACCOUNT/ACTIVE_ORDERS_COMPLETE',\r\n\r\n\tactiveOrdersRequest: () => ({ type: actions.ACTIVE_ORDERS_REQUEST }),\r\n\tactiveOrdersComplete: () => ({ type: actions.ACTIVE_ORDERS_COMPLETE }),\r\n\r\n\tcloseAccountValidation: createApiActions('CLOSE_ACCOUNT/VALIDATION'),\r\n};\r\n\r\nexport default actions;\r\n","import { createApiActions } from '../extensions';\n\n\nconst actions = {\n\tagentRegistration: createApiActions('AGENT/REGISTRATION'),\n\tpartnerCabinetRedirect: createApiActions('AGENT/PARTNER_CABINET_REDIRECT'),\n};\n\nexport default actions;\n","const actions = {\r\n\t// actions\r\n\tINIT: 'DASHBOARD/INIT',\r\n\tINIT_COMPLETED: 'DASHBOARD/INIT_COMPLETED',\r\n\tSIDEBAR_OPEN: 'DASHBOARD/SIDEBAR_OPEN',\r\n\tSIDEBAR_CLOSE: 'DASHBOARD/SIDEBAR_CLOSE',\r\n\tNOTIFICATIONS_OPEN: 'DASHBOARD/NOTIFICATIONS_OPEN',\r\n\tNOTIFICATIONS_CLOSE: 'DASHBOARD/NOTIFICATIONS_CLOSE',\r\n\t// action creators\r\n\tinit: tradeCode => ({\r\n\t\ttype: actions.INIT,\r\n\t\tpayload: {\r\n\t\t\ttradeCode,\r\n\t\t},\r\n\t}),\r\n\tinitComplete: payload => ({\r\n\t\ttype: actions.INIT_COMPLETED,\r\n\t\tpayload: {\r\n\t\t\t...payload,\r\n\t\t},\r\n\t}),\r\n\tsidebarOpen: () => ({\r\n\t\ttype: actions.SIDEBAR_OPEN,\r\n\t}),\r\n\tsidebarClose: () => ({\r\n\t\ttype: actions.SIDEBAR_CLOSE,\r\n\t}),\r\n\tnotificationsOpen: () => ({\r\n\t\ttype: actions.NOTIFICATIONS_OPEN,\r\n\t}),\r\n\tnotificationsClose: () => ({\r\n\t\ttype: actions.NOTIFICATIONS_CLOSE,\r\n\t}),\r\n};\r\n\r\nexport default actions;\r\n","import { createFormAction } from 'redux-form-saga';\r\n\r\nconst actions = {\r\n\t// actions\r\n\tSHOW_DEPOSIT_FUNDS_MODAL: 'DEPOSIT_FUNDS/SHOW',\r\n\tHIDE_DEPOSIT_FUNDS_MODAL: 'DEPOSIT_FUNDS/HIDE',\r\n\tSHOW_DEPOSIT_FUNDS_BROKER_MODAL: 'DEPOSIT_FUNDS_BROKER/SHOW',\r\n\tHIDE_DEPOSIT_FUNDS_BROKER_MODAL: 'DEPOSIT_FUNDS_BROKER/HIDE',\r\n\r\n\tshowDepositFundsModal: (bankAccount, tradeAccount) => ({\r\n\t\ttype: actions.SHOW_DEPOSIT_FUNDS_MODAL,\r\n\t\tpayload: {\r\n\t\t\tbankAccount,\r\n\t\t\ttradeAccount,\r\n\t\t},\r\n\t}),\r\n\thideDepositFundsModal: () => ({\r\n\t\ttype: actions.HIDE_DEPOSIT_FUNDS_MODAL,\r\n\t}),\r\n\tshowDepositFundsBrokerModal: (bankAccount, tradeAccount) => ({\r\n\t\ttype: actions.SHOW_DEPOSIT_FUNDS_BROKER_MODAL,\r\n\t\tpayload: {\r\n\t\t\tbankAccount,\r\n\t\t\ttradeAccount,\r\n\t\t},\r\n\t}),\r\n\thideDepositFundsBrokerModal: () => ({\r\n\t\ttype: actions.HIDE_DEPOSIT_FUNDS_BROKER_MODAL,\r\n\t}),\r\n\r\n\tSHOW_DEPOSIT_FUNDS_IRA_MODAL: 'DEPOSIT_FUNDS/SHOW_IRA_MODAL',\r\n\tHIDE_DEPOSIT_FUNDS_IRA_MODAL: 'DEPOSIT_FUNDS/HIDE_IRA_MODAL',\r\n\tshowDepositFundsIraModal: () => ({\r\n\t\ttype: actions.SHOW_DEPOSIT_FUNDS_IRA_MODAL,\r\n\t}),\r\n\thideDepositFundsIraModal: () => ({\r\n\t\ttype: actions.HIDE_DEPOSIT_FUNDS_IRA_MODAL,\r\n\t}),\r\n\tdepositIraFundsForm: createFormAction('DEPOSIT_FUNDS/IRA_DEPOSIT_FUNDS_FORM'),\r\n\r\n\tSHOW_DEPOSIT_FUNDS_WIRE_MODAL: 'DEPOSIT_FUNDS/SHOW_WIRE_MODAL',\r\n\tHIDE_DEPOSIT_FUNDS_WIRE_MODAL: 'DEPOSIT_FUNDS/HIDE_WIRE_MODAL',\r\n\r\n\tshowDepositFundsWireModal: bankAccount => ({\r\n\t\ttype: actions.SHOW_DEPOSIT_FUNDS_WIRE_MODAL,\r\n\t\tpayload: {\r\n\t\t\tbankAccount,\r\n\t\t},\r\n\t}),\r\n\thideDepositFundsWireModal: () => ({\r\n\t\ttype: actions.HIDE_DEPOSIT_FUNDS_WIRE_MODAL,\r\n\t}),\r\n\r\n\tdepositAchFundsForm: createFormAction('DEPOSIT_FUNDS/ACH_DEPOSIT_FUNDS_FORM'),\r\n\r\n\tdepositBrokerFundsForm: createFormAction('DEPOSIT_FUNDS/BROKER_DEPOSIT_FUNDS_FORM'),\r\n};\r\n\r\nexport default actions;\r\n","import { createApiActions } from '../extensions';\n\nconst API_KEY_MODAL_INIT = 'ETNAAUTH/API_KEY_MODAL_INIT';\n\nconst actions = {\n\n\tgetApiKeys: createApiActions('ETNAAUTH/GET_CLIENTS'),\n\trevokeApiKey: createApiActions('ETNAAUTH/REVOKE'),\n\tcreateApiKey: createApiActions('ETNAAUTH/CREATE_APIKEY'),\n\n\tSHOW_CREATE_APIKEY_MODAL: 'ETNAAUTH/SHOW_CREATEAPIKEY_MODAL',\n\tshowCreateApiKeyModal: () => ({\n\t\ttype: actions.SHOW_CREATE_APIKEY_MODAL,\n\t}),\n\n\tHIDE_MODAL: 'ETNAAUTH/HIDE_MODAL',\n\thideModal: modalId => ({\n\t\ttype: actions.HIDE_MODAL,\n\t\tpayload: modalId,\n\t}),\n\n\tapiKeyModalInit: createApiActions(API_KEY_MODAL_INIT),\n\tapiMarketDataAgreement: createApiActions('ETNAAUTH/API_MARKET_DATA_AGREEMENT'),\n};\n\nexport default actions;\n","import { createFormAction } from 'redux-form-saga';\nimport { createApiActions } from '../extensions';\n\n\nconst actions = {\n\n\tSHOW_IPO_CREATE_ORDER_MODAL: 'IPO/SHOW_IPO_CREATE_ORDER_MODAL',\n\n\tshowIpoCreateOrderModal: payload => ({\n\t\ttype: actions.SHOW_IPO_CREATE_ORDER_MODAL,\n\t\tpayload,\n\t}),\n\n\tSHOW_IPO_EXTENDED_INFO_MOBILE_MODAL: 'IPO/SHOW_IPO_EXTENDED_INFO_MOBILE_MODAL',\n\n\tshowIpoExtendedInfoMobileModal: payload => ({\n\t\ttype: actions.SHOW_IPO_EXTENDED_INFO_MOBILE_MODAL,\n\t\tpayload,\n\t}),\n\n\tgetOfferings: createApiActions('IPO/GET_ALL_OFFERINGS'),\n\tgetOffering: createApiActions('IPO/GET_OFFERING'),\n\n\tgetOrders: createApiActions('IPO/GET_ORDERS'),\n\n\tcreateIpoOrder: createFormAction('IPO/CREATE_IPO_ORDER'),\n\n\tcancelIpoOrder: createApiActions('IPO/CANCEL_IPO_ORDER'),\n};\n\nexport default actions;\n","import { createApiActions } from '../extensions';\r\n\r\nconst actions = {\r\n\t// actions\r\n\r\n\tSHOW_MESSAGE_MODAL: 'NOTIFICATIONS/SHOW_MESSAGE_MODAL',\r\n\tHIDE_MESSAGE_MODAL: 'NOTIFICATIONS/HIDE_MESSAGE_MODAL',\r\n\r\n\tshowMessageModal: message => ({\r\n\t\ttype: actions.SHOW_MESSAGE_MODAL,\r\n\t\tpayload: {\r\n\t\t\tmessage,\r\n\t\t},\r\n\t}),\r\n\thideMessageModal: () => ({\r\n\t\ttype: actions.HIDE_MESSAGE_MODAL,\r\n\t}),\r\n\r\n\tGET_NOTIFICATIONS_REQUEST: 'NOTIFICATIONS/GET_NOTIFICATIONS_REQUEST',\r\n\tGET_NOTIFICATIONS_SUCCESS: 'NOTIFICATIONS/GET_NOTIFICATIONS_SUCCESS',\r\n\tGET_NOTIFICATIONS_FAILURE: 'NOTIFICATIONS/GET_NOTIFICATIONS_FAILURE',\r\n\r\n\tgetNotificationsRequest: (tradeCode, page = 1, pageSize = 10) => ({\r\n\t\ttype: actions.GET_NOTIFICATIONS_REQUEST,\r\n\t\tpayload: {\r\n\t\t\ttradeCode,\r\n\t\t\tpage,\r\n\t\t\tpageSize,\r\n\t\t},\r\n\t}),\r\n\tgetNotificationsSuccess: (pagination, data) => ({\r\n\t\ttype: actions.GET_NOTIFICATIONS_SUCCESS,\r\n\t\tpayload: {\r\n\t\t\tpagination,\r\n\t\t\tdata,\r\n\t\t},\r\n\t}),\r\n\tgetNotificationsFailure: error => ({\r\n\t\ttype: actions.GET_NOTIFICATIONS_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tGET_MORE_NOTIFICATIONS_REQUEST: 'NOTIFICATIONS/GET_MORE_NOTIFICATIONS_REQUEST',\r\n\tGET_MORE_NOTIFICATIONS_SUCCESS: 'NOTIFICATIONS/GET_MORE_NOTIFICATIONS_SUCCESS',\r\n\tGET_MORE_NOTIFICATIONS_FAILURE: 'NOTIFICATIONS/GET_MORE_NOTIFICATIONS_FAILURE',\r\n\r\n\tgetMoreNotificationsRequest: (tradeCode, page = 1, pageSize = 10) => ({\r\n\t\ttype: actions.GET_MORE_NOTIFICATIONS_REQUEST,\r\n\t\tpayload: {\r\n\t\t\ttradeCode,\r\n\t\t\tpage,\r\n\t\t\tpageSize,\r\n\t\t},\r\n\t}),\r\n\tgetMoreNotificationsSuccess: (pagination, items) => ({\r\n\t\ttype: actions.GET_MORE_NOTIFICATIONS_SUCCESS,\r\n\t\tpayload: {\r\n\t\t\tpagination,\r\n\t\t\titems,\r\n\t\t},\r\n\t}),\r\n\tgetMoreNotificationsFailure: error => ({\r\n\t\ttype: actions.GET_MORE_NOTIFICATIONS_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tMARK_NEWS_AS_READ: 'NOTIFICATIONS/MARK_NEWS_AS_READ',\r\n\r\n\tmarkNewsAsRead: messageId => ({\r\n\t\ttype: actions.MARK_NEWS_AS_READ,\r\n\t\tpayload: {\r\n\t\t\tmessageId,\r\n\t\t},\r\n\t}),\r\n\r\n\tmarkNewsAllAsRead: createApiActions('NOTIFICATIONS/MARK_NEWS_ALL_AS_READ'),\r\n};\r\n\r\nexport default actions;\r\n","import { createFormAction } from 'redux-form-saga';\r\nimport { createApiActions } from '../extensions';\r\n\r\nconst changeProfileAddressFormSubmitActionPrefix = 'PROFILE_CHANGE_ADDRESS_FORM_SUBMIT';\r\nconst changeProfileAddressFormActionCreator =\r\n\tcreateFormAction(changeProfileAddressFormSubmitActionPrefix);\r\n\r\nconst changeProfilePostAddressFormSubmitActionPrefix = 'PROFILE_CHANGE_POST_ADDRESS_FORM_SUBMIT';\r\nconst changeProfilePostAddressFormActionCreator =\r\n\tcreateFormAction(changeProfilePostAddressFormSubmitActionPrefix);\r\n\r\nconst confirmProfileFormActionPrefix = 'PROFILE_CONFIRM_FORM_SUBMIT';\r\nconst confirmProfileFormActionCreator =\r\n\tcreateFormAction(confirmProfileFormActionPrefix);\r\n\r\nconst changeProfileEmailFormSubmitActionPrefix = 'PROFILE_CHANGE_EMAIL_FORM_SUBMIT';\r\nconst changeProfileEmailFormActionCreator =\r\n\tcreateFormAction(changeProfileEmailFormSubmitActionPrefix);\r\n\r\nconst changeProfilePhoneFormSubmitActionPrefix = 'PROFILE_CHANGE_PHONE_FORM_SUBMIT';\r\nconst changeProfilePhoneFormActionCreator =\r\n\tcreateFormAction(changeProfilePhoneFormSubmitActionPrefix);\r\n\r\nconst changeProfileDependentsFormSubmitActionPrefix = 'PROFILE_CHANGE_DEPENDENTS_FORM_SUBMIT';\r\nconst changeProfileDependentsFormSubmitActionCreator =\r\n\tcreateFormAction(changeProfileDependentsFormSubmitActionPrefix);\r\n\r\nconst changeProfileMaritalStatusFormSubmitActionPrefix = 'PROFILE_CHANGE_MARITAL_STATUS_FORM_SUBMIT';\r\nconst changeProfileMaritalStatusFormSubmitActionCreator =\r\n\tcreateFormAction(changeProfileMaritalStatusFormSubmitActionPrefix);\r\n\r\nconst changeProfileEmploymentFormSubmitActionPrefix = 'PROFILE_CHANGE_EMPLOYMENT_FORM_SUBMIT';\r\nconst changeProfileEmploymentFormSubmitActionCreator =\r\n\tcreateFormAction(changeProfileEmploymentFormSubmitActionPrefix);\r\n\r\nconst changeProfileInvestmentProfileFormSubmitActionPrefix = 'PROFILE_CHANGE_INVESTMENT_PROFILE_FORM_SUBMIT';\r\nconst changeProfileInvestmentProfileFormSubmitActionCreator =\r\n\tcreateFormAction(changeProfileInvestmentProfileFormSubmitActionPrefix);\r\n\r\nconst changeProfileInvestmentExperienceFormSubmitActionPrefix = 'PROFILE_CHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT';\r\nconst changeProfileInvestmentExperienceFormSubmitActionCreator =\r\n\tcreateFormAction(changeProfileInvestmentExperienceFormSubmitActionPrefix);\r\n\r\nconst changeDeliveryTypeFormSubmitActionCreator = createFormAction('PROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT');\r\n\r\nconst changeTaxFormUploadFormSubmitActionPrefix = 'PROFILE_CHANGE_TAXFORM_UPLOAD_FORM_SUBMIT';\r\nconst changeTaxFormUploadFormActionCreator =\r\n\tcreateFormAction(changeTaxFormUploadFormSubmitActionPrefix);\r\n\r\nconst changeTaxFormFillInFormSubmitActionPrefix = 'PROFILE_CHANGE_TAXFORM_FILLIN_FORM_SUBMIT';\r\nconst changeTaxFormFillInFormActionCreator = createFormAction(changeTaxFormFillInFormSubmitActionPrefix);\r\n\r\nconst actions = {\r\n\t// actions\r\n\r\n\tGET_PROFILE_REQUEST: 'PROFILE/GET_PROFILE_REQUEST',\r\n\tGET_PROFILE_SUCCESS: 'PROFILE/GET_PROFILE_SUCCESS',\r\n\tGET_PROFILE_FAILURE: 'PROFILE/GET_PROFILE_FAILURE',\r\n\r\n\tgetProfileRequest: () => ({\r\n\t\ttype: actions.GET_PROFILE_REQUEST,\r\n\t}),\r\n\tgetProfileSuccess: profile => ({\r\n\t\ttype: actions.GET_PROFILE_SUCCESS,\r\n\t\tpayload: {\r\n\t\t\t...profile,\r\n\t\t},\r\n\t}),\r\n\tgetProfileFailure: error => ({\r\n\t\ttype: actions.GET_PROFILE_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\tgetHolderProfiles: createApiActions('PROFILE/GET_HOLDER_PROFILES'),\r\n\r\n\tSHOW_CHANGE_ADDRESS_MODAL: 'PROFILE/SHOW_CHANGE_ADDRESS_MODAL',\r\n\r\n\tshowChangeAddressModal: profile => ({\r\n\t\ttype: actions.SHOW_CHANGE_ADDRESS_MODAL,\r\n\t\tpayload: profile,\r\n\t}),\r\n\r\n\tCHANGE_ADDRESS_FORM_SUBMIT_REQUEST: changeProfileAddressFormActionCreator.REQUEST,\r\n\tCHANGE_ADDRESS_FORM_SUBMIT_SUCCESS: changeProfileAddressFormActionCreator.SUCCESS,\r\n\tCHANGE_ADDRESS_FORM_SUBMIT_FAILURE: changeProfileAddressFormActionCreator.FAILURE,\r\n\r\n\tchangeProfileAddressFormSubmitHandler: changeProfileAddressFormActionCreator,\r\n\tchangeProfileAddressFormRequest: (...args) =>\r\n\t\tchangeProfileAddressFormActionCreator.request({ ...args }),\r\n\tchangeProfileAddressFormSuccess: payload =>\r\n\t\tchangeProfileAddressFormActionCreator.success(payload),\r\n\tchangeProfileAddressFormFailure: error => changeProfileAddressFormActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_POST_ADDRESS_MODAL: 'PROFILE/SHOW_CHANGE_POST_ADDRESS_MODAL',\r\n\r\n\tshowChangePostAddressModal: profile => ({\r\n\t\ttype: actions.SHOW_CHANGE_POST_ADDRESS_MODAL,\r\n\t\tpayload: profile,\r\n\t}),\r\n\r\n\tCHANGE_POST_ADDRESS_FORM_SUBMIT_REQUEST: changeProfilePostAddressFormActionCreator.REQUEST,\r\n\tCHANGE_POST_ADDRESS_FORM_SUBMIT_SUCCESS: changeProfilePostAddressFormActionCreator.SUCCESS,\r\n\tCHANGE_POST_ADDRESS_FORM_SUBMIT_FAILURE: changeProfilePostAddressFormActionCreator.FAILURE,\r\n\r\n\tchangeProfilePostAddressFormSubmitHandler: changeProfilePostAddressFormActionCreator,\r\n\tchangeProfilePostAddressFormRequest: (...args) =>\r\n\t\tchangeProfilePostAddressFormActionCreator.request({ ...args }),\r\n\tchangeProfilePostAddressFormSuccess: payload =>\r\n\t\tchangeProfilePostAddressFormActionCreator.success(payload),\r\n\tchangeProfilePostAddressFormFailure: error => changeProfilePostAddressFormActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_EMAIL_MODAL: 'PROFILE/SHOW_CHANGE_EMAIL_MODAL',\r\n\r\n\tshowChangeEmailModal: ({ profile, forceConfirmationEmail = false } = {}) => ({\r\n\t\ttype: actions.SHOW_CHANGE_EMAIL_MODAL,\r\n\t\tpayload: {\r\n\t\t\tprofile,\r\n\t\t\tforceConfirmationEmail,\r\n\t\t},\r\n\t}),\r\n\r\n\tchangePasswordFormSubmit: createFormAction('PROFILE/CHANGE_PASSWORD_FORM_SUBMIT'),\r\n\r\n\tCHANGE_EMAIL_FORM_SUBMIT_REQUEST: changeProfileEmailFormActionCreator.REQUEST,\r\n\tCHANGE_EMAIL_FORM_SUBMIT_SUCCESS: changeProfileEmailFormActionCreator.SUCCESS,\r\n\tCHANGE_EMAIL_FORM_SUBMIT_FAILURE: changeProfileEmailFormActionCreator.FAILURE,\r\n\r\n\tchangeProfileEmailFormSubmitHandler: changeProfileEmailFormActionCreator,\r\n\tchangeProfileEmailFormRequest: (...args) =>\r\n\t\tchangeProfileEmailFormActionCreator.request({ ...args }),\r\n\tchangeProfileEmailFormSuccess: payload =>\r\n\t\tchangeProfileEmailFormActionCreator.success(payload),\r\n\tchangeProfileEmailFormFailure: error => changeProfileEmailFormActionCreator.failure(error),\r\n\r\n\tsendEmailConfirmationCode: createApiActions('AUTH/SEND_EMAIL_CONFIRMATION_CODE'),\r\n\r\n\tSHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL: 'PROFILE/SHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL',\r\n\tshowChangeMarketDataSubscriberStatusModal: payload => ({\r\n\t\ttype: actions.SHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tSHOW_CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL: 'PROFILE/SHOW_CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL',\r\n\tshowChangeMarketDataSubscriptionsModal: payload => ({\r\n\t\ttype: actions.SHOW_CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\tchangeMarketDataSubscriptionsForm: createFormAction('PROFILE/CHANGE_MARKETDATA_SUBSCRIPTIONS_FORM_SUBMIT'),\r\n\r\n\tSHOW_ENABLE_THIRD_PARTY_MARKETDATA_MODAL: 'PROFILE/SHOW_ENABLE_THIRD_PARTY_MARKETDATA_MODAL',\r\n\tshowEnableThirdPartyMarketDataModal: () => ({\r\n\t\ttype: actions.SHOW_ENABLE_THIRD_PARTY_MARKETDATA_MODAL,\r\n\t}),\r\n\tenableThirdPartyMarketDataForm: createFormAction('PROFILE/ENABLE_THIRD_PARTY_MARKETDATA_FORM_SUBMIT'),\r\n\r\n\tSHOW_CHANGE_MARITAL_STATUS_MODAL: 'PROFILE/SHOW_CHANGE_MARITAL_STATUS_MODAL',\r\n\r\n\tshowChangeMaritalStatusModal: () => ({\r\n\t\ttype: actions.SHOW_CHANGE_MARITAL_STATUS_MODAL,\r\n\t}),\r\n\r\n\tCHANGE_MARITAL_STATUS_FORM_SUBMIT_REQUEST: changeProfileMaritalStatusFormSubmitActionCreator.REQUEST,\r\n\tCHANGE_MARITAL_STATUS_FORM_SUBMIT_SUCCESS: changeProfileMaritalStatusFormSubmitActionCreator.SUCCESS,\r\n\tCHANGE_MARITAL_STATUS_FORM_SUBMIT_FAILURE: changeProfileMaritalStatusFormSubmitActionCreator.FAILURE,\r\n\r\n\tchangeProfileMaritalStatusFormSubmitHandler: changeProfileMaritalStatusFormSubmitActionCreator,\r\n\tchangeProfileMaritalStatusFormRequest: (...args) =>\r\n\t\tchangeProfileMaritalStatusFormSubmitActionCreator.request({ ...args }),\r\n\tchangeProfileMaritalStatusFormSuccess: payload =>\r\n\t\tchangeProfileMaritalStatusFormSubmitActionCreator.success(payload),\r\n\tchangeProfileMaritalStatusFormFailure: error => changeProfileMaritalStatusFormSubmitActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_DEPENDENTS_MODAL: 'PROFILE/SHOW_CHANGE_DEPENDENTS_MODAL',\r\n\r\n\tshowChangeDependentsModal: () => ({\r\n\t\ttype: actions.SHOW_CHANGE_DEPENDENTS_MODAL,\r\n\t}),\r\n\r\n\r\n\tCHANGE_DEPENDENTS_FORM_SUBMIT_REQUEST: changeProfileDependentsFormSubmitActionCreator.REQUEST,\r\n\tCHANGE_DEPENDENTS_FORM_SUBMIT_SUCCESS: changeProfileDependentsFormSubmitActionCreator.SUCCESS,\r\n\tCHANGE_DEPENDENTS_FORM_SUBMIT_FAILURE: changeProfileDependentsFormSubmitActionCreator.FAILURE,\r\n\r\n\tchangeProfileDependentsFormSubmitHandler: changeProfileDependentsFormSubmitActionCreator,\r\n\tchangeProfileDependentsFormRequest: (...args) =>\r\n\t\tchangeProfileDependentsFormSubmitActionCreator.request({ ...args }),\r\n\tchangeProfileDependentsFormSuccess: payload =>\r\n\t\tchangeProfileDependentsFormSubmitActionCreator.success(payload),\r\n\tchangeProfileDependentsFormFailure: error => changeProfileDependentsFormSubmitActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_EMPLOYMENT_MODAL: 'PROFILE/SHOW_CHANGE_EMPLOYMENT_MODAL',\r\n\r\n\tshowChangeEmploymentModal: profile => ({\r\n\t\ttype: actions.SHOW_CHANGE_EMPLOYMENT_MODAL,\r\n\t\tpayload: profile,\r\n\t}),\r\n\r\n\r\n\tCHANGE_EMPLOYMENT_FORM_SUBMIT_REQUEST: changeProfileEmploymentFormSubmitActionCreator.REQUEST,\r\n\tCHANGE_EMPLOYMENT_FORM_SUBMIT_SUCCESS: changeProfileEmploymentFormSubmitActionCreator.SUCCESS,\r\n\tCHANGE_EMPLOYMENT_FORM_SUBMIT_FAILURE: changeProfileEmploymentFormSubmitActionCreator.FAILURE,\r\n\r\n\tchangeProfileEmploymentFormSubmitHandler: changeProfileEmploymentFormSubmitActionCreator,\r\n\tchangeProfileEmploymentFormRequest: (...args) =>\r\n\t\tchangeProfileEmploymentFormSubmitActionCreator.request({ ...args }),\r\n\tchangeProfileEmploymentFormSuccess: payload =>\r\n\t\tchangeProfileEmploymentFormSubmitActionCreator.success(payload),\r\n\tchangeProfileEmploymentFormFailure: error => changeProfileEmploymentFormSubmitActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_INVESTMENT_PROFILE_MODAL: 'PROFILE/SHOW_CHANGE_INVESTMENT_PROFILE_MODAL',\r\n\r\n\tshowChangeInvestmentProfileModal: () => ({\r\n\t\ttype: actions.SHOW_CHANGE_INVESTMENT_PROFILE_MODAL,\r\n\t}),\r\n\r\n\r\n\tCHANGE_INVESTMENT_PROFILE_FORM_SUBMIT_REQUEST: changeProfileInvestmentProfileFormSubmitActionCreator.REQUEST,\r\n\tCHANGE_INVESTMENT_PROFILE_FORM_SUBMIT_SUCCESS: changeProfileInvestmentProfileFormSubmitActionCreator.SUCCESS,\r\n\tCHANGE_INVESTMENT_PROFILE_FORM_SUBMIT_FAILURE: changeProfileInvestmentProfileFormSubmitActionCreator.FAILURE,\r\n\r\n\tchangeProfileInvestmentProfileFormSubmitHandler: changeProfileInvestmentProfileFormSubmitActionCreator,\r\n\tchangeProfileInvestmentProfileFormRequest: (...args) =>\r\n\t\tchangeProfileInvestmentProfileFormSubmitActionCreator.request({ ...args }),\r\n\tchangeProfileInvestmentProfileFormSuccess: payload =>\r\n\t\tchangeProfileInvestmentProfileFormSubmitActionCreator.success(payload),\r\n\tchangeProfileInvestmentProfileFormFailure: error => changeProfileInvestmentProfileFormSubmitActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_INVESTMENT_EXPERIENCE_MODAL: 'PROFILE/SHOW_CHANGE_INVESTMENT_EXPERIENCE_MODAL',\r\n\r\n\tshowChangeInvestmentExperienceModal: () => ({\r\n\t\ttype: actions.SHOW_CHANGE_INVESTMENT_EXPERIENCE_MODAL,\r\n\t}),\r\n\r\n\r\n\tCHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT_REQUEST: changeProfileInvestmentExperienceFormSubmitActionCreator.REQUEST,\r\n\tCHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT_SUCCESS: changeProfileInvestmentExperienceFormSubmitActionCreator.SUCCESS,\r\n\tCHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT_FAILURE: changeProfileInvestmentExperienceFormSubmitActionCreator.FAILURE,\r\n\r\n\tchangeProfileInvestmentExperienceFormSubmitHandler: changeProfileInvestmentExperienceFormSubmitActionCreator,\r\n\tchangeProfileInvestmentExperienceFormRequest: (...args) =>\r\n\t\tchangeProfileInvestmentExperienceFormSubmitActionCreator.request({ ...args }),\r\n\tchangeProfileInvestmentExperienceFormSuccess: payload =>\r\n\t\tchangeProfileInvestmentExperienceFormSubmitActionCreator.success(payload),\r\n\tchangeProfileInvestmentExperienceFormFailure: error => changeProfileInvestmentExperienceFormSubmitActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_PHONE_MODAL: 'PROFILE/SHOW_CHANGE_PHONE_MODAL',\r\n\r\n\tshowChangePhoneModal: profile => ({\r\n\t\ttype: actions.SHOW_CHANGE_PHONE_MODAL,\r\n\t\tpayload: profile,\r\n\t}),\r\n\r\n\tCHANGE_PHONE_FORM_SUBMIT_REQUEST: changeProfilePhoneFormActionCreator.REQUEST,\r\n\tCHANGE_PHONE_FORM_SUBMIT_SUCCESS: changeProfilePhoneFormActionCreator.SUCCESS,\r\n\tCHANGE_PHONE_FORM_SUBMIT_FAILURE: changeProfilePhoneFormActionCreator.FAILURE,\r\n\r\n\tchangeProfilePhoneFormSubmitHandler: changeProfilePhoneFormActionCreator,\r\n\tchangeProfilePhoneFormRequest: (...args) =>\r\n\t\tchangeProfilePhoneFormActionCreator.request({ ...args }),\r\n\tchangeProfilePhoneFormSuccess: payload =>\r\n\t\tchangeProfilePhoneFormActionCreator.success(payload),\r\n\tchangeProfilePhoneFormFailure: error => changeProfilePhoneFormActionCreator.failure(error),\r\n\r\n\tSHOW_CHANGE_TWO_FACTOR_AUTHORIZATION_MODAL: 'PROFILE/SHOW_CHANGE_TWO_FACTOR_AUTHORIZATION_MODAL',\r\n\r\n\tshowChangeTwoFactorAuthorizationModal: payload => ({\r\n\t\ttype: actions.SHOW_CHANGE_TWO_FACTOR_AUTHORIZATION_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tchangeTwoFactorAuthorizationForm: createFormAction('PROFILE/CHANGE_TWO_FACTOR_AUTHORIZATION_FORM_SUBMIT'),\r\n\r\n\tHIDE_CONFIRM_EMAIL_MODAL: 'PROFILE/HIDE_CONFIRM_EMAIL_MODAL',\r\n\r\n\thideConfirmEmailModal: () => ({\r\n\t\ttype: actions.HIDE_CONFIRM_EMAIL_MODAL,\r\n\t}),\r\n\r\n\r\n\tconfirmEmailGetUrl: createApiActions('PROFILE/CONFIRM_EMAIL_GET_URL'),\r\n\r\n\r\n\tSHOW_CHANGE_TARIFF_PER_TRADE_MODAL: 'PROFILE/SHOW_CHANGE_TARIFF_PER_TRADE_MODAL',\r\n\r\n\tshowChangeTariffPerTradeModal: () => ({\r\n\t\ttype: actions.SHOW_CHANGE_TARIFF_PER_TRADE_MODAL,\r\n\t}),\r\n\r\n\r\n\tSHOW_CHANGE_TARIFF_PER_SHARE_MODAL: 'PROFILE/SHOW_CHANGE_TARIFF_PER_SHARE_MODAL',\r\n\r\n\tshowChangeTariffPerShareModal: () => ({\r\n\t\ttype: actions.SHOW_CHANGE_TARIFF_PER_SHARE_MODAL,\r\n\t}),\r\n\r\n\r\n\tSHOW_CHANGE_TARIFF_ZERO_MODAL: 'PROFILE/SHOW_CHANGE_TARIFF_ZERO_MODAL',\r\n\r\n\tshowChangeTariffZeroModal: () => ({\r\n\t\ttype: actions.SHOW_CHANGE_TARIFF_ZERO_MODAL,\r\n\t}),\r\n\r\n\r\n\tCHANGE_ACCOUNT_TARIFF_REQUEST: 'PROFILE/CHANGE_ACCOUNT_TARIFF_REQUEST',\r\n\tCHANGE_ACCOUNT_TARIFF_SUCCESS: 'PROFILE/CHANGE_ACCOUNT_TARIFF_SUCCESS',\r\n\tCHANGE_ACCOUNT_TARIFF_FAILURE: 'PROFILE/CHANGE_ACCOUNT_TARIFF_FAILURE',\r\n\tCHANGE_ACCOUNT_TARIFF_RESET: 'PROFILE/CHANGE_ACCOUNT_TARIFF_RESET',\r\n\r\n\tchangeAccountTariffRequest: (tradeCode, tariff) => ({\r\n\t\ttype: actions.CHANGE_ACCOUNT_TARIFF_REQUEST,\r\n\t\tpayload: {\r\n\t\t\ttradeCode,\r\n\t\t\ttariff,\r\n\t\t},\r\n\t}),\r\n\tchangeAccountTariffSuccess: payload => ({\r\n\t\ttype: actions.CHANGE_ACCOUNT_TARIFF_SUCCESS,\r\n\t\tpayload,\r\n\t}),\r\n\tchangeAccountTariffFailure: error => ({\r\n\t\ttype: actions.CHANGE_ACCOUNT_TARIFF_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\tchangeAccountTariffReset: () => ({\r\n\t\ttype: actions.CHANGE_ACCOUNT_TARIFF_RESET,\r\n\t}),\r\n\r\n\tCONFIRM_PROFILE_FORM_HIDE_AND_REDIRECT: 'PROFILE/CONFIRM_PROFILE_FORM_HIDE_AND_REDIRECT',\r\n\tconfirmProfileFormHideAndRedirect: () => ({\r\n\t\ttype: actions.CONFIRM_PROFILE_FORM_HIDE_AND_REDIRECT,\r\n\t}),\r\n\r\n\tCONFIRM_PROFILE_FORM_SUBMIT_REQUEST: confirmProfileFormActionCreator.REQUEST,\r\n\tCONFIRM_PROFILE_FORM_SUBMIT_SUCCESS: confirmProfileFormActionCreator.SUCCESS,\r\n\tCONFIRM_PROFILE_FORM_SUBMIT_FAILURE: confirmProfileFormActionCreator.FAILURE,\r\n\r\n\tconfirmProfileFormSubmitHandler: confirmProfileFormActionCreator,\r\n\tconfirmProfileFormRequest: (...args) =>\r\n\t\tconfirmProfileFormActionCreator.request({ ...args }),\r\n\tconfirmProfileFormSuccess: payload =>\r\n\t\tconfirmProfileFormActionCreator.success(payload),\r\n\tconfirmProfileFormFailure: error => confirmProfileFormActionCreator.failure(error),\r\n\r\n\r\n\tSHOW_CHANGE_DELIVERY_TYPE_MODAL: 'PROFILE/CHANGE_DELIVERY_TYPE_MODAL/SHOW',\r\n\r\n\tshowChangeDeliveryTypeModal: ({ tradeCode }) => ({\r\n\t\ttype: actions.SHOW_CHANGE_DELIVERY_TYPE_MODAL,\r\n\t\tpayload: {\r\n\t\t\ttradeCode,\r\n\t\t},\r\n\t}),\r\n\r\n\r\n\tPROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT_REQUEST: changeDeliveryTypeFormSubmitActionCreator.REQUEST,\r\n\tPROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT_SUCCESS: changeDeliveryTypeFormSubmitActionCreator.SUCCESS,\r\n\tPROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT_FAILURE: changeDeliveryTypeFormSubmitActionCreator.FAILURE,\r\n\r\n\tchangeDeliveryTypeFormSubmitHandler: changeDeliveryTypeFormSubmitActionCreator,\r\n\tchangeDeliveryTypeFormRequest: (...args) =>\r\n\t\tchangeDeliveryTypeFormSubmitActionCreator.request({ ...args }),\r\n\tchangeDeliveryTypeFormSuccess: payload =>\r\n\t\tchangeDeliveryTypeFormSubmitActionCreator.success(payload),\r\n\tchangeDeliveryTypeFormFailure: error => changeDeliveryTypeFormSubmitActionCreator.failure(error),\r\n\r\n\tgetCountries: createApiActions('PROFILE/GET_COUNTRIES'),\r\n\tgetUsaStates: createApiActions('PROFILE/GET_USA_STATES'),\r\n\r\n\tSHOW_CHANGE_TAX_FORM_MODAL: 'PROFILE/SHOW_CHANGE_TAX_FORM_MODAL',\r\n\r\n\tshowChangeTaxFormModal: FormType => ({\r\n\t\ttype: actions.SHOW_CHANGE_TAX_FORM_MODAL,\r\n\t\tpayload: {\r\n\t\t\tFormType,\r\n\t\t},\r\n\t}),\r\n\r\n\tCHANGE_TAXFORM_UPLOAD_FORM_SUBMIT_REQUEST: changeTaxFormUploadFormActionCreator.REQUEST,\r\n\tCHANGE_TAXFORM_UPLOAD_FORM_SUBMIT_SUCCESS: changeTaxFormUploadFormActionCreator.SUCCESS,\r\n\tCHANGE_TAXFORM_UPLOAD_FORM_SUBMIT_FAILURE: changeTaxFormUploadFormActionCreator.FAILURE,\r\n\r\n\tchangeTaxFormUploadFormSubmitHandler: changeTaxFormUploadFormActionCreator,\r\n\tchangeTaxFormUploadFormRequest: (...args) =>\r\n\t\tchangeTaxFormUploadFormActionCreator.request({ ...args }),\r\n\tchangeTaxFormUploadFormSuccess: payload =>\r\n\t\tchangeTaxFormUploadFormActionCreator.success(payload),\r\n\tchangeTaxFormUploadFormFailure: error => changeTaxFormUploadFormActionCreator.failure(error),\r\n\r\n\tCHANGE_TAXFORM_FILLIN_FORM_SUBMIT_REQUEST: changeTaxFormFillInFormActionCreator.REQUEST,\r\n\tCHANGE_TAXFORM_FILLIN_FORM_SUBMIT_SUCCESS: changeTaxFormFillInFormActionCreator.SUCCESS,\r\n\tCHANGE_TAXFORM_FILLIN_FORM_SUBMIT_FAILURE: changeTaxFormFillInFormActionCreator.FAILURE,\r\n\r\n\tchangeTaxFormFillInFormSubmitHandler: changeTaxFormFillInFormActionCreator,\r\n\tchangeTaxFormFillInFormRequest: (...args) =>\r\n\t\tchangeTaxFormFillInFormActionCreator.request({ ...args }),\r\n\tchangeTaxFormFillInFormSuccess: payload =>\r\n\t\tchangeTaxFormFillInFormActionCreator.success(payload),\r\n\tchangeTaxFormFillInFormFailure: error => changeTaxFormFillInFormActionCreator.failure(error),\r\n\r\n\tHIDE_PROFILE_MODAL: 'PROFILE/HIDE_PROFILE_MODAL',\r\n\thideProfileModal: modalId => ({\r\n\t\ttype: actions.HIDE_PROFILE_MODAL,\r\n\t\tpayload: modalId,\r\n\t}),\r\n\r\n\tchangeTotpAuthentication: createFormAction('PROFILE/ENABLE_TOTP_AUTH'),\r\n\tenableTwoFactorAuthEmail: createFormAction('PROFILE/ENABLE_TWO_FACTOR_AUTH_EMAIL'),\r\n\r\n\tSHOW_DEMO_ACCOUNT_EXPIRATION_MODAL: 'PROFILE/SHOW_DEMO_ACCOUNT_EXPIRATION_MODAL',\r\n\r\n\tshowDemoAccountExpirationModal: () => ({\r\n\t\ttype: actions.SHOW_DEMO_ACCOUNT_EXPIRATION_MODAL,\r\n\t}),\r\n\r\n\tUPDATE_MARKET_DATA_SUBSCRIPTION: 'PROFILE/UPDATE_MARKET_DATA_SUBSCRIPTION',\r\n\tupdateMarketDataSubscription: subscription => ({\r\n\t\ttype: actions.UPDATE_MARKET_DATA_SUBSCRIPTION,\r\n\t\tpayload: subscription,\r\n\t}),\r\n\r\n\tgenerateCtaAgreements: createApiActions('PROFILE/GENERATE_CTA_AGREEMENTS'),\r\n\tgenerateOpraAgreements: createApiActions('PROFILE/GENERATE_OPRA_AGREEMENTS'),\r\n\r\n\tCLEAR_MARKET_DATA_AGREEMENTS: 'PROFILE/CLEAR_MARKET_DATA_AGREEMENTS',\r\n\tclearMarketDataAgreements: () => ({\r\n\t\ttype: actions.CLEAR_MARKET_DATA_AGREEMENTS,\r\n\t}),\r\n\r\n\tSHOW_CLIENT_DATA_INSUFFICIENT_MODAL: 'PROFILE/SHOW_CLIENT_DATA_INSUFFICIENT_MODAL',\r\n\tshowClientDataInsufficientModal: payload => ({\r\n\t\ttype: actions.SHOW_CLIENT_DATA_INSUFFICIENT_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tSHOW_ACTUAL_ADDRESS_MISSED_MODAL: 'PROFILE/SHOW_ACTUAL_ADDRESS_MISSED_MODAL',\r\n\tshowActualAddressMissedModal: () => ({\r\n\t\ttype: actions.SHOW_ACTUAL_ADDRESS_MISSED_MODAL,\r\n\t}),\r\n\r\n\tREDIRECT_TO_CHANGE_ADDRESS_MODAL: 'PROFILE/REDIRECT_TO_CHANGE_ADDRESS_MODAL',\r\n\tredirectToChangeAddressModal: payload => ({\r\n\t\ttype: actions.REDIRECT_TO_CHANGE_ADDRESS_MODAL,\r\n\t\tpayload,\r\n\t}),\r\n\r\n\tREDIRECT_TO_CHANGE_EMPLOYMENT_MODAL: 'PROFILE/REDIRECT_TO_CHANGE_EMPLOYMENT_MODAL',\r\n\tredirectToChangeEmploymentModal: () => ({\r\n\t\ttype: actions.REDIRECT_TO_CHANGE_EMPLOYMENT_MODAL,\r\n\t}),\r\n\r\n\tREDIRECT_TO_CHANGE_PHONE_MODAL: 'PROFILE/REDIRECT_TO_CHANGE_PHONE_MODAL',\r\n\tredirectToChangePhoneModal: () => ({\r\n\t\ttype: actions.REDIRECT_TO_CHANGE_PHONE_MODAL,\r\n\t}),\r\n\r\n\tREDIRECT_TO_CHANGE_EMAIL_MODAL: 'PROFILE/REDIRECT_TO_CHANGE_EMAIL_MODAL',\r\n\tredirectToChangeEmailModal: () => ({\r\n\t\ttype: actions.REDIRECT_TO_CHANGE_EMAIL_MODAL,\r\n\t}),\r\n};\r\n\r\nexport default actions;\r\n","import { createApiActions } from '../extensions';\n\n// reports for lime international\nconst actions = {\n\tgenerateBrokerReport: createApiActions('REPORTS/GENERATE_BROKER_REPORT'),\n\tgetBrokerReports: createApiActions('REPORTS/GET_BROKER_REPORTS'),\n\n\t// getReportFile: createApiActions('REPORTS/GET_REPORT_FILE'),\n};\n\nexport default actions;\n","import { createFormAction } from 'redux-form-saga';\n\nconst actions = {\n\n\tresetByEmail: createFormAction('RESET/RESET_BY_EMAIL'),\n\tsendConfirmationForResetByEmail: createFormAction('RESET/RESET_CONFIRMATION_CODE_BY_EMAIL'),\n\tresetPassword: createFormAction('RESET/RESET_PASSWORD'),\n\tresetByOperator: createFormAction('RESET/RESET_BY_OPERATOR'),\n};\n\nexport default actions;\n","import { createApiActions } from '../extensions';\r\n\r\nconst actions = {\r\n\t// actions\r\n\tSHOW_J2T_LITE_MODAL: 'TRADE_PLATFORMS/SHOW_J2T_LITE_MODAL',\r\n\r\n\tshowJ2tLiteModal: () => ({\r\n\t\ttype: actions.SHOW_J2T_LITE_MODAL,\r\n\t}),\r\n\r\n\r\n\tSHOW_J2T_PLUS_MODAL: 'TRADE_PLATFORMS/SHOW_J2T_PLUS_MODAL',\r\n\r\n\tshowJ2tPlusModal: () => ({\r\n\t\ttype: actions.SHOW_J2T_PLUS_MODAL,\r\n\t}),\r\n\r\n\tSHOW_J2T_PRO_MODAL: 'TRADE_PLATFORMS/SHOW_J2T_PRO_MODAL',\r\n\r\n\tshowJ2tProModal: () => ({\r\n\t\ttype: actions.SHOW_J2T_PRO_MODAL,\r\n\t}),\r\n\r\n\r\n\tSHOW_MT5_MODAL: 'TRADE_PLATFORMS/SHOW_MT5_MODAL',\r\n\r\n\tSHOW_STPRO_MODAL: 'TRADE_PLATFORMS/SHOW_STPRO_MODAL',\r\n\r\n\tshowStProModal: () => ({\r\n\t\ttype: actions.SHOW_STPRO_MODAL,\r\n\t}),\r\n\r\n\r\n\tACTIVATE_PLATFORM_REQUEST: 'TRADE_PLATFORMS/ACTIVATE_PLATFORM_REQUEST',\r\n\tACTIVATE_PLATFORM_SUCCESS: 'TRADE_PLATFORMS/ACTIVATE_PLATFORM_SUCCESS',\r\n\tACTIVATE_PLATFORM_FAILURE: 'TRADE_PLATFORMS/ACTIVATE_PLATFORM_FAILURE',\r\n\r\n\tactivatePlatformRequest: (account, tradePlatform) => ({\r\n\t\ttype: actions.ACTIVATE_PLATFORM_REQUEST,\r\n\t\tpayload: {\r\n\t\t\taccount,\r\n\t\t\ttradePlatform,\r\n\t\t},\r\n\t}),\r\n\tactivatePlatformSuccess: payload => ({\r\n\t\ttype: actions.ACTIVATE_PLATFORM_SUCCESS,\r\n\t\tpayload,\r\n\t}),\r\n\tactivatePlatformFailure: error => ({\r\n\t\ttype: actions.ACTIVATE_PLATFORM_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\r\n\tactivateCommissionFree: createApiActions('TRADE_PLATFORMS/ACTIVATE_COMMISSION_FREE'),\r\n\r\n\t// open tradex url with one time token for end-to-end transition\r\n\topenTradexUrl: createApiActions('TRADE_PLATFORMS/OPEN_TRADEX_URL'),\r\n};\r\n\r\nexport default actions;\r\n","import { createFormAction } from 'redux-form-saga';\r\n\r\nconst withdrawFundsWireFormSubmitActionPrefix = 'WITHDRAW_FUNDS_WIRE_FORM_SUBMIT';\r\nconst withdrawFundsWireFormActionCreator =\r\n\tcreateFormAction(withdrawFundsWireFormSubmitActionPrefix);\r\n\r\nconst linkAndWithdrawFundsWireCreator = createFormAction('LINK_AND_WITHDRAW_WIRE_FORM_SUBMIT');\r\nconst actions = {\r\n\t// actions\r\n\r\n\tSHOW_WITHDRAW_FUNDS_ACH_MODAL: 'WITHDRAW_FUNDS/ACH_MODAL_SHOW',\r\n\tHIDE_WITHDRAW_FUNDS_ACH_MODAL: 'WITHDRAW_FUNDS/ACH_MODAL_HIDE',\r\n\r\n\tSHOW_WITHDRAW_FUNDS_WIRE_MODAL: 'WITHDRAW_FUNDS/WIRE_MODAL_SHOW',\r\n\tHIDE_WITHDRAW_FUNDS_WIRE_MODAL: 'WITHDRAW_FUNDS/WIRE_MODAL_HIDE',\r\n\r\n\tSHOW_WITHDRAW_FUNDS_BROKER_MODAL: 'WITHDRAW_FUNDS/BROKER_MODAL_SHOW',\r\n\tHIDE_WITHDRAW_FUNDS_BROKER_MODAL: 'WITHDRAW_FUNDS/BROKER_MODAL_HIDE',\r\n\r\n\twithdrawAchFundsForm: createFormAction('WITHDRAW_FUNDS/ACH_WITHDRAW_FUNDS_FORM'),\r\n\r\n\tWITHDRAW_FUNDS_WIRE_FORM_SUBMIT_REQUEST: withdrawFundsWireFormActionCreator.REQUEST,\r\n\tWITHDRAW_FUNDS_WIRE_FORM_SUBMIT_SUCCESS: withdrawFundsWireFormActionCreator.SUCCESS,\r\n\tWITHDRAW_FUNDS_WIRE_FORM_SUBMIT_FAILURE: withdrawFundsWireFormActionCreator.FAILURE,\r\n\r\n\twithdrawFundsWireForm: withdrawFundsWireFormActionCreator,\r\n\r\n\twithdrawFundsWireFormRequest: (...args) => {\r\n\t\twithdrawFundsWireFormActionCreator.request({ ...args.wireWithdrawal });\r\n\t},\r\n\twithdrawFundsWireFormSuccess: payload => withdrawFundsWireFormActionCreator.success(payload),\r\n\twithdrawFundsWireFormFailure: error => withdrawFundsWireFormActionCreator.failure(error),\r\n\r\n\twithdrawFundsBrokerForm: createFormAction('WITHDRAW_FUNDS/BROKER_WITHDRAW_FUNDS_FORM'),\r\n\r\n\tlinkAndWithdrawFundsWireForm: linkAndWithdrawFundsWireCreator,\r\n\tlinkAndWithdrawFundsWireFormFailure: error => linkAndWithdrawFundsWireCreator.failure(error),\r\n\tlinkAndWithdrawFundsWireFormSuccess: payload => linkAndWithdrawFundsWireCreator.success(payload),\r\n\r\n\tshowWithdrawFundsAchModal: (fromUserAccount, toBankAccount) => ({\r\n\t\ttype: actions.SHOW_WITHDRAW_FUNDS_ACH_MODAL,\r\n\t\tpayload: {\r\n\t\t\tfromUserAccount,\r\n\t\t\ttoBankAccount,\r\n\t\t},\r\n\t}),\r\n\thideWithdrawFundsAchModal: () => ({\r\n\t\ttype: actions.HIDE_WITHDRAW_FUNDS_ACH_MODAL,\r\n\t}),\r\n\tshowWithdrawFundsWireModal: (fromUserAccount, toBankAccount) => ({\r\n\t\ttype: actions.SHOW_WITHDRAW_FUNDS_WIRE_MODAL,\r\n\t\tpayload: {\r\n\t\t\tfromUserAccount,\r\n\t\t\ttoBankAccount,\r\n\t\t},\r\n\t}),\r\n\thideWithdrawFundsWireModal: () => ({\r\n\t\ttype: actions.HIDE_WITHDRAW_FUNDS_WIRE_MODAL,\r\n\t}),\r\n\tshowWithdrawFundsBrokerModal: (fromUserAccount, toBankAccount) => ({\r\n\t\ttype: actions.SHOW_WITHDRAW_FUNDS_BROKER_MODAL,\r\n\t\tpayload: {\r\n\t\t\tfromUserAccount,\r\n\t\t\ttoBankAccount,\r\n\t\t},\r\n\t}),\r\n\thideWithdrawFundsBrokerModal: () => ({\r\n\t\ttype: actions.HIDE_WITHDRAW_FUNDS_BROKER_MODAL,\r\n\t}),\r\n\r\n\tSHOW_WITHDRAW_FUNDS_IRA_MODAL: 'WITHDRAW_FUNDS/IRA_MODAL_SHOW',\r\n\tHIDE_WITHDRAW_FUNDS_IRA_MODAL: 'WITHDRAW_FUNDS/IRA_MODAL_HIDE',\r\n\tshowWithdrawFundsIraModal: (fromUserAccount, toBankAccount) => ({\r\n\t\ttype: actions.SHOW_WITHDRAW_FUNDS_IRA_MODAL,\r\n\t\tpayload: {\r\n\t\t\tfromUserAccount,\r\n\t\t\ttoBankAccount,\r\n\t\t},\r\n\t}),\r\n\thideWithdrawFundsIraModal: () => ({\r\n\t\ttype: actions.HIDE_WITHDRAW_FUNDS_IRA_MODAL,\r\n\t}),\r\n\twithdrawFundsIraForm: createFormAction('WITHDRAW_FUNDS/IRA_WITHDRAW_FUNDS_FORM'),\r\n\r\n\ttransferBetweenAccountsSubmitForm: createFormAction('WITHDRAW_FUNDS/TRANSFER_BETWEEN_ACCOUNTS_FORM'),\r\n};\r\n\r\nexport default actions;\r\n","import { createApiActions } from '../extensions';\r\n\r\nconst actions = {\r\n\t// actions\r\n\r\n\tSAVE_SIGNATURE_REQUEST: 'SIGNATURE/SAVE_SIGNATURE_REQUEST',\r\n\tSAVE_SIGNATURE_SUCCESS: 'SIGNATURE/SAVE_SIGNATURE_SUCCESS',\r\n\tSAVE_SIGNATURE_FAILURE: 'SIGNATURE/SAVE_SIGNATURE_FAILURE',\r\n\r\n\r\n\tcheckSignatures: createApiActions('SIGNATURE/CHECK_SIGNATURES'),\r\n\r\n\r\n\tCOLLECT_SIGNATURES_PROCESS_START: 'SIGNATURE/COLLECT_SIGNATURES_PROCESS_START',\r\n\r\n\tSHOW_CREATE_SIGNATURE_MODAL: 'SIGNATURE/SHOW_CREATE_SIGNATURE_MODAL',\r\n\tHIDE_CREATE_SIGNATURE_MODAL: 'SIGNATURE/HIDE_CREATE_SIGNATURE_MODAL',\r\n\r\n\tshowCreateSignatureModal: (account, guid, personFullName) => ({\r\n\t\ttype: actions.SHOW_CREATE_SIGNATURE_MODAL,\r\n\t\tpayload: {\r\n\t\t\taccount,\r\n\t\t\tguid,\r\n\t\t\tpersonFullName,\r\n\t\t},\r\n\t}),\r\n\thideCreateSignatureModal: () => ({\r\n\t\ttype: actions.HIDE_CREATE_SIGNATURE_MODAL,\r\n\t}),\r\n\r\n\tsaveSignatureRequest: (account, image, guid) => ({\r\n\t\ttype: actions.SAVE_SIGNATURE_REQUEST,\r\n\t\tpayload: {\r\n\t\t\taccount,\r\n\t\t\timage,\r\n\t\t\tguid,\r\n\t\t},\r\n\t}),\r\n\tsaveSignatureSuccess: payload => ({\r\n\t\ttype: actions.SAVE_SIGNATURE_SUCCESS,\r\n\t\tpayload,\r\n\t}),\r\n\tsaveSignatureFailure: error => ({\r\n\t\ttype: actions.SAVE_SIGNATURE_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\tcollectSignaturesProcessStart: successAcion => ({\r\n\t\ttype: actions.COLLECT_SIGNATURES_PROCESS_START,\r\n\t\tpayload: {\r\n\t\t\tsuccessAcion,\r\n\t\t},\r\n\t}),\r\n\tREQUIRE_SIGNATURE_AND_RETURN: 'SIGNATURE/REQUIRE_SIGNATURE_AND_RETURN',\r\n\trequireSignatureAndReturn: (successAcion, cancelAction) => ({\r\n\t\ttype: actions.REQUIRE_SIGNATURE_AND_RETURN,\r\n\t\tpayload: {\r\n\t\t\tsuccessAcion,\r\n\t\t\tcancelAction,\r\n\t\t},\r\n\t}),\r\n};\r\n\r\nexport default actions;\r\n","const actions = {\r\n\t/* GET_GAINERS_AND_LOSERS_REQUEST: 'ANALYTICS/GET_GAINERS_AND_LOSERS_REQUEST',\r\n\tGET_GAINERS_AND_LOSERS_SUCCESS: 'ANALYTICS/GET_GAINERS_AND_LOSERS_SUCCESS',\r\n\tGET_GAINERS_AND_LOSERS_FAILURE: 'ANALYTICS/GET_GAINERS_AND_LOSERS_FAILURE',\r\n\r\n\tgetGainersAndLosersRequest: (page = 1, pageSize = 5, processingLimit = 5) => ({\r\n\t\ttype: actions.GET_GAINERS_AND_LOSERS_REQUEST,\r\n\t\tpayload: {\r\n\t\t\tpage,\r\n\t\t\tpageSize,\r\n\t\t\tprocessingLimit,\r\n\t\t},\r\n\t}),\r\n\tgetGainersAndLosersSuccess: (pagination, items) => ({\r\n\t\ttype: actions.GET_GAINERS_AND_LOSERS_SUCCESS,\r\n\t\tpayload: {\r\n\t\t\tpagination,\r\n\t\t\titems,\r\n\t\t},\r\n\t}),\r\n\tgetGainersAndLosersFailure: error => ({\r\n\t\ttype: actions.GET_GAINERS_AND_LOSERS_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}), */\r\n\r\n\r\n\tGET_EARNINGS_TODAY_REQUEST: 'ANALYTICS/GET_EARNINGS_TODAY_REQUEST',\r\n\tGET_EARNINGS_TODAY_SUCCESS: 'ANALYTICS/GET_EARNINGS_TODAY_SUCCESS',\r\n\tGET_EARNINGS_TODAY_FAILURE: 'ANALYTICS/GET_EARNINGS_TODAY_FAILURE',\r\n\r\n\tgetEarningsTodayRequest: (processingLimit = 5) => ({\r\n\t\ttype: actions.GET_EARNINGS_TODAY_REQUEST,\r\n\t\tpayload: {\r\n\t\t\tprocessingLimit,\r\n\t\t},\r\n\t}),\r\n\tgetEarningsTodaySuccess: items => ({\r\n\t\ttype: actions.GET_EARNINGS_TODAY_SUCCESS,\r\n\t\tpayload: {\r\n\t\t\titems,\r\n\t\t},\r\n\t}),\r\n\tgetEarningsTodayFailure: error => ({\r\n\t\ttype: actions.GET_EARNINGS_TODAY_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n\r\n\tGET_MOST_ACTIVE_REQUEST: 'ANALYTICS/GET_MOST_ACTIVE_REQUEST',\r\n\tGET_MOST_ACTIVE_SUCCESS: 'ANALYTICS/GET_MOST_ACTIVE_SUCCESS',\r\n\tGET_MOST_ACTIVE_FAILURE: 'ANALYTICS/GET_MOST_ACTIVE_FAILURE',\r\n\r\n\tgetMostActiveRequest: (processingLimit = 5) => ({\r\n\t\ttype: actions.GET_MOST_ACTIVE_REQUEST,\r\n\t\tpayload: {\r\n\t\t\tprocessingLimit,\r\n\t\t},\r\n\t}),\r\n\tgetMostActiveSuccess: items => ({\r\n\t\ttype: actions.GET_MOST_ACTIVE_SUCCESS,\r\n\t\tpayload: {\r\n\t\t\titems,\r\n\t\t},\r\n\t}),\r\n\tgetMostActiveFailure: error => ({\r\n\t\ttype: actions.GET_MOST_ACTIVE_FAILURE,\r\n\t\tpayload: {\r\n\t\t\terror,\r\n\t\t},\r\n\t}),\r\n\r\n};\r\n\r\nexport default actions;\r\n","import { createApiActions } from '../extensions';\n\nconst actions = {\n\n\tgetWithdrawCash: createApiActions('WALLET/GET_WITHDRAW_CASH'),\n};\n\nexport default actions;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { Button, R, SvgIcon } from '@components';\nimport errorIcon from './large_error.svg';\n\nconst styles = theme => ({\n\troot: {\n\t\ttextAlign: 'center',\n\t},\n\ticon: {\n\t\tmarginTop: '16px',\n\t},\n\tmessage: {\n\t\tmarginTop: '32px',\n\t\t...theme.typography.style.subheading,\n\t\tfontWeight: 'bold',\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tsubmessage: {\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tbutton: {\n\t\tmarginTop: '32px',\n\t},\n});\n\nclass BaseMessage extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClick,\n\t\t\ttype,\n\t\t\ttext,\n\t\t\tsubtext,\n\t\t\tbuttonText,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{type === 'success' &&\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{type === 'error' &&\n\t\t\t\t\t
\n\t\t\t\t\t\t\"Error\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t\t{text}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{subtext}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{ buttonText === undefined ? : buttonText}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nBaseMessage.defaultProps = {\n\tsubtext: '',\n};\n\nBaseMessage.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClick: PropTypes.func.isRequired,\n\ttext: PropTypes.node.isRequired,\n\tsubtext: PropTypes.node,\n\ttype: PropTypes.string.isRequired,\n\tbuttonText: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\n};\n\nexport default compose(withStyles(styles))(BaseMessage);\n","import React from 'react';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport { Button } from '@components';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nconst useStyles = makeStyles(theme => createStyles({\n\troot: {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tactions: {\n\t\tmarginLeft: '16px',\n\t},\n\tbutton: {\n\t\tcolor: theme.typography.color.link,\n\t},\n\tnowrap: {\n\t\twhiteSpace: 'nowrap',\n\t},\n}));\n\nconst GenericTextAlert = ({\n\tonClick,\n\tbuttonText,\n\ttext,\n\thideButton,\n\tbuttonTextNowrap,\n}) => {\n\tconst classes = useStyles();\n\tconst showButton = !hideButton && onClick && buttonText;\n\n\tconst buttonTextNowrapCss = classNames({\n\t\t[classes.actions]: true,\n\t\t[classes.nowrap]: buttonTextNowrap,\n\t});\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
{text}
\n\t\t\t\t{showButton &&\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{buttonText}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t
\n\t);\n};\n\nGenericTextAlert.propTypes = {\n\ttext: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\n\tbuttonText: PropTypes.string,\n\tonClick: PropTypes.func,\n\thideButton: PropTypes.bool,\n\tbuttonTextNowrap: PropTypes.bool,\n};\n\nGenericTextAlert.defaultProps = {\n\tonClick: null,\n\thideButton: false,\n\tbuttonText: null,\n\tbuttonTextNowrap: false,\n};\n\nexport default GenericTextAlert;\n","export { default as IpoCalendarItem } from './IpoCalendarItem';\nexport { default as IpoCalendarItemMobile } from './IpoCalendarItemMobile';\nexport { default as OfferingExtendedInfo } from './OfferingExtendedInfo';\nexport { default as OfferingMainInfo } from './OfferingMainInfo';\nexport { default as OfferingMainInfoMobile } from './OfferingMainInfoMobile';\n","export { default as ChangeDeliveryTypeModal } from './ChangeDeliveryTypeModal/ChangeDeliveryTypeModal';\r\nexport { default as ChangeProfileAddressModal } from './ChangeProfileAddressModal/ChangeProfileAddressModal';\r\nexport { default as ChangeProfilePostAddressModal } from './ChangeProfilePostAddressModal/ChangeProfilePostAddressModal';\r\nexport { default as ChangeProfileEmailModal } from './ChangeProfileEmailModal/ChangeProfileEmailModal';\r\nexport { default as ChangeProfilePhoneModal } from './ChangeProfilePhoneModal/ChangeProfilePhoneModal';\r\nexport { default as ChangeTariffPerShareModal } from './ChangeTariffPerShareModal/ChangeTariffPerShareModal';\r\nexport { default as ChangeTariffPerTradeModal } from './ChangeTariffPerTradeModal/ChangeTariffPerTradeModal';\r\nexport { default as ChangeTariffZeroModal } from './ChangeTariffZeroModal/ChangeTariffZeroModal';\r\nexport { default as ChangeTaxFormModal } from './ChangeTaxFormModal/ChangeTaxFormModal';\r\nexport { default as ConfirmProfileEmailModal } from './ConfirmProfileEmailModal/ConfirmProfileEmailModal';\r\nexport { default as ChangeDependentsModal } from './ChangeDependentsModal/ChangeDependentsModal';\r\nexport { default as ChangeMaritalStatusModal } from './ChangeMaritalStatusModal/ChangeMaritalStatusModal';\r\nexport { default as ChangeMarketDataSubscriberStatusModal } from './ChangeMarketDataSubscriberStatusModal/ChangeMarketDataSubscriberStatusModal';\r\nexport { default as ChangeMarketDataSubscriptionsModal } from './ChangeMarketDataSubscriptionsModal/ChangeMarketDataSubscriptionsModal';\r\nexport { default as ChangeEmploymentModal } from './ChangeEmploymentModal/ChangeEmploymentModal';\r\nexport { default as ChangeInvestmentExperienceModal } from './ChangeInvestmentExperienceModal/ChangeInvestmentExperienceModal';\r\nexport { default as ChangeInvestmentProfileModal } from './ChangeInvestmentProfileModal/ChangeInvestmentProfileModal';\r\nexport { default as ConfirmProfileModal } from './ConfirmProfileModal/ConfirmProfileModal';\r\nexport { default as CYChangePasswordModal } from './CYChangePasswordModal/CYChangePasswordModal';\r\nexport { default as ChangeTwoFactorAuthorizationModal } from './ChangeTwoFactorAuthorizationModal/ChangeTwoFactorAuthorizationModal';\r\nexport { default as EnableThirdPartyMarketDataModal } from './EnableThirdPartyMarketDataModal/EnableThirdPartyMarketDataModal';\r\n","export { default as AchAutoTabComponent } from './AchAutoTabComponent';\r\nexport { default as AchManuallyTabComponent } from './AchManuallyTabComponent';\r\nexport { default as WireManuallyTabComponent } from './WireManuallyTabComponent';\r\n","export { default as AchLinkRemoveComponent } from './AchLinkRemoveComponent';\r\nexport { default as PlaidAccountRadioItem } from './PlaidAccountRadioItem';\r\n","module.exports = app_config;","export default {\r\n\tSTATE_FIELD_NAME: 'app',\r\n\tACTION_PREFIX: 'APP',\r\n\tRESOLUTIONS_ENUM: {\r\n\t\txs: 1,\r\n\t\tsm: 2,\r\n\t\tmd: 3,\r\n\t\tlg: 4,\r\n\t\txl: 5,\r\n\t},\r\n};\r\n","import { put, fork, select, takeEvery } from 'redux-saga/effects';\nimport { push } from 'connected-react-router';\nimport {\n\taccountDetails,\n\taccountSelect,\n\tachLinking,\n\tgetLinkedAccounts,\n\twireLinking,\n\tachUnlinkBankAccount,\n\twireUnlinkBankAccount,\n} from '@api';\nimport { constants, env } from '@config';\nimport { ModalPopups } from '@enums';\nimport { captureException, changeHashInUrl, removeHashesFromUrl } from '@global';\nimport { BaseGetSagaHandler, callApi, snackbar } from '@redux';\n\nimport actions from './actions';\n\n\nexport function* getLinkedAccountsRequestSaga({ payload }) {\n\ttry {\n\t\tconst request = yield callApi(getLinkedAccounts, payload);\n\t\tif (!request.data.Success) {\n\t\t\tyield put(actions.getLinkedAccounts.failure(request.data.Errors[0].Message));\n\t\t\tyield put(snackbar.actions.showErrorMessage({\n\t\t\t\ttitle: 'Get Cash Management',\n\t\t\t\ttext: request.data.Errors[0].Message,\n\t\t\t}));\n\t\t} else {\n\t\t\tif (request.data.LinkedAccounts && request.data.LinkedAccounts.length > 0) {\n\t\t\t\trequest.data.LinkedAccounts = request.data.LinkedAccounts.map(item => ({\n\t\t\t\t\t...item,\n\t\t\t\t\tdisplayNumber: (item.Number && item.Number.length > 3)\n\t\t\t\t\t\t? item.Number.slice(item.Number.length - 4)\n\t\t\t\t\t\t: item.Number,\n\t\t\t\t}));\n\t\t\t}\n\t\t\tyield put(actions.getLinkedAccounts.success(request.data));\n\t\t\treturn request.data;\n\t\t}\n\t} catch (error) {\n\t\tcaptureException('getLinkedAccountsRequestSaga', error);\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Cash Management', text: error.message }));\n\t\tyield put(actions.getLinkedAccounts.failure(error.message));\n\t\tconsole.error(error);\n\t}\n\treturn null;\n}\n\nfunction* getPlaidAccounts({ payload: { tradeCode, token } }) {\n\ttry {\n\t\t// get current location\n\t\tconst location = yield select(state => state.router.location);\n\t\t// show modal\n\t\tyield put(push(changeHashInUrl(location, ModalPopups.ADD_BANK_ACCOUNT, ModalPopups.PLAID_SELECT_ACCOUNT)));\n\n\t\tconst request = yield callApi(accountDetails, tradeCode, token);\n\t\tif (!request.data.Success) {\n\t\t\tyield put(actions.getPlaidAccountsFailure(request.data.Errors[0].Message));\n\t\t} else {\n\t\t\tyield put(actions.getPlaidAccountsSuccess(request.data));\n\t\t}\n\t} catch (error) {\n\t\twindow.Raven.captureException(error);\n\t\tyield put(actions.getPlaidAccountsFailure('An error was occured.'));\n\t}\n}\n\nfunction* plaidSelectAccountFormSubmit({ payload: { TradeCode, LinkAccountNo } }) {\n\ttry {\n\t\tconst request = yield callApi(accountSelect, TradeCode, LinkAccountNo);\n\t\tif (!request.data.Success) {\n\t\t\tyield put(actions.plaidSelectAccountFormFailure(request.data.Errors[0].Message));\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\n\t\t} else {\n\t\t\tyield put(actions.plaidSelectAccountFormSuccess());\n\t\t\tyield put(actions.getLinkedAccounts.request({ tradeCode: TradeCode }));\n\t\t}\n\t} catch (error) {\n\t\twindow.Raven.captureException(error);\n\t\tyield put(actions.plaidSelectAccountFormFailure(error.message));\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\n\t}\n}\n\nfunction* achManualLinkingFormSubmit({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: achLinking,\n\t\terrorText: 'ACH Manually Link Bank Account',\n\t\thandler: actions.achManualLinkingForm,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield put(actions.getLinkedAccounts.request({ tradeCode: payload.TradeCode, submitting: true }));\n\t}\n}\n\nfunction* hideAddBankAccountModal() {\n\t// get current location\n\tconst location = yield select(state => state.router.location);\n\t// show modal\n\tyield put(push(removeHashesFromUrl(location, [ModalPopups.ADD_BANK_ACCOUNT, ModalPopups.PLAID_SELECT_ACCOUNT])));\n}\nfunction* showPlaidSelectAccountModal() {\n\t// get current location\n\tconst location = yield select(state => state.router.location);\n\t// show modal\n\tyield put(push(changeHashInUrl(location, ModalPopups.ADD_BANK_ACCOUNT, ModalPopups.PLAID_SELECT_ACCOUNT)));\n}\n\nexport function MapWireLinkPayload(payload) {\n\tconst result = {\n\t\t...payload.wireLink,\n\t\tName: payload.wireLink.ClearingFirm === 'cor' ? payload.wireLink.Name : 'Name',\n\t\tSurname: payload.wireLink.ClearingFirm === 'cor' ? payload.wireLink.Surname : 'Surname',\n\t\tAddress: payload.wireLink.ClearingFirm === 'cor' ? payload.wireLink.Address : 'Address',\n\t\tZipCode: payload.wireLink.ClearingFirm === 'cor' ? payload.wireLink.ZipCode : 'ZipCode',\n\t\tPhone: payload.wireLink.ClearingFirm === 'cor' ? payload.wireLink.Phone : '123456789',\n\t\tBankRoutingNumber: payload.wireLink.WireType === 'International' ? '123456789' : payload.wireLink.BankRoutingNumber,\n\t\tBankSwiftCode: payload.wireLink.WireType === 'Domestic' ? '123456789' : payload.wireLink.BankSwiftCode,\n\t\tUseIntermediaryBank: payload.wireLink.UseIntermediaryBank ? 'FME' : false,\n\t\tIntermediaryBankRoutingNumber:\n\t\t\t(payload.wireLink.UseIntermediaryBank && payload.wireLink.WireType === 'International') ? '123456789' : payload.wireLink.IntermediaryBankRoutingNumber,\n\t\tIntermediaryBankSwiftCode:\n\t\t\t(payload.wireLink.UseIntermediaryBank && payload.wireLink.WireType === 'Domestic') ? '123456789' : payload.wireLink.IntermediaryBankSwiftCode,\n\t};\n\n\treturn result;\n}\n\nfunction* wireManualLinkingFormSubmit({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: wireLinking,\n\t\terrorText: 'WIRE Link Bank Account',\n\t\thandler: actions.wireManualLinkingForm,\n\t}, {\n\t\tpayload: MapWireLinkPayload(payload),\n\t});\n\n\tif (isSuccess) {\n\t\tyield put(actions.getLinkedAccounts.request({ tradeCode: payload.wireLink.TradeCode, submitting: true }));\n\t}\n}\n\nfunction* achUnlinkBankAccountSaga({ payload: { onEndRequest, ...others } }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: achUnlinkBankAccount,\n\t\terrorText: 'ACH Unlink Bank Account',\n\t\thandler: actions.achUnlinkBankAccount,\n\t\tonEndRequest,\n\t}, { payload: others });\n\n\tif (isSuccess) {\n\t\tyield put(actions.getLinkedAccounts.request({ tradeCode: others.tradeCode, submitting: true }));\n\t}\n}\n\nfunction* wireUnlinkBankAccountSaga({ payload: { onEndRequest, ...others } }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: wireUnlinkBankAccount,\n\t\terrorText: 'WIRE Unlink Bank Account',\n\t\thandler: actions.wireUnlinkBankAccount,\n\t\tonEndRequest,\n\t}, { payload: others });\n\n\tif (isSuccess) {\n\t\tyield put(actions.getLinkedAccounts.request({ tradeCode: others.tradeCode, submitting: true }));\n\t}\n}\n\n\n// Watchers\nfunction* watchGetLinkedAccountsRequest() {\n\tyield takeEvery(actions.getLinkedAccounts.REQUEST, getLinkedAccountsRequestSaga);\n}\nfunction* watchPlaidAccounts() {\n\tyield takeEvery(actions.GET_PLAID_ACCOUNTS_REQUEST, getPlaidAccounts);\n}\nfunction* watchPlaidSelectAccountFormSubmit() {\n\tyield takeEvery(actions.PLAID_SELECT_ACCOUNT_FORM_SUBMIT_REQUEST, plaidSelectAccountFormSubmit);\n}\nfunction* watchAchManualLinkingFormSubmit() {\n\tyield takeEvery(actions.achManualLinkingForm.REQUEST, achManualLinkingFormSubmit);\n}\nfunction* watchWireManualLinkingFormSubmit() {\n\tyield takeEvery(actions.wireManualLinkingForm.REQUEST, wireManualLinkingFormSubmit);\n}\n\nfunction* watchHideAddBankAccountModal() {\n\tyield takeEvery([\n\t\tactions.PLAID_SELECT_ACCOUNT_FORM_SUBMIT_SUCCESS,\n\t\tactions.achManualLinkingForm.SUCCESS,\n\t\tactions.wireManualLinkingForm.SUCCESS,\n\t], hideAddBankAccountModal);\n}\nfunction* watchShowPlaidSelectAccountModal() {\n\tyield takeEvery([\n\t\tactions.GET_PLAID_ACCOUNTS_SUCCESS,\n\t\tactions.GET_PLAID_ACCOUNTS_FAILURE,\n\t], showPlaidSelectAccountModal);\n}\n\nfunction* watchAchUnlinkBankAccountRequest() {\n\tyield takeEvery(actions.achUnlinkBankAccount.REQUEST, achUnlinkBankAccountSaga);\n}\nfunction* watchWireUnlinkBankAccountRequest() {\n\tyield takeEvery(actions.wireUnlinkBankAccount.REQUEST, wireUnlinkBankAccountSaga);\n}\n\n\n// Root saga\nconst rootSaga = [\n\tfork(watchGetLinkedAccountsRequest),\n\tfork(watchPlaidAccounts),\n\tfork(watchPlaidSelectAccountFormSubmit),\n\tfork(watchAchManualLinkingFormSubmit),\n\tfork(watchHideAddBankAccountModal),\n\tfork(watchShowPlaidSelectAccountModal),\n\tfork(watchWireManualLinkingFormSubmit),\n\tfork(watchAchUnlinkBankAccountRequest),\n\tfork(watchWireUnlinkBankAccountRequest),\n];\n\nexport default {\n\trootSaga,\n};\n","import { createFormAction } from 'redux-form-saga';\r\n\r\nconst loginFormSubmitActionPrefix = 'LOGIN_FORM_SUBMIT';\r\nconst loginFormActionCreator = createFormAction(loginFormSubmitActionPrefix);\r\n\r\nconst actions = {\r\n\t// actions\r\n\tLOGIN_FORM_SUBMIT_REQUEST: loginFormActionCreator.REQUEST,\r\n\tLOGIN_FORM_SUBMIT_SUCCESS: loginFormActionCreator.SUCCESS,\r\n\tLOGIN_FORM_SUBMIT_FAILURE: loginFormActionCreator.FAILURE,\r\n\r\n\tloginFormRequest: (email, password) => loginFormActionCreator.request({ email, password }),\r\n\tloginFormSuccess: payload => loginFormActionCreator.success(payload),\r\n\tloginFormFailure: error => loginFormActionCreator.failure(error),\r\n\tloginFormSubmitHandler: loginFormActionCreator,\r\n};\r\n\r\nexport default actions;\r\n","import { createFormAction } from 'redux-form-saga';\n\nconst actions = {\n\n\tHIDE_NON_TRADING_ORDER_MODAL: 'NON_TRADING_ORDERS/HIDE_MODAL',\n\thideNonTradingOrderModal: modalId => ({\n\t\ttype: actions.HIDE_NON_TRADING_ORDER_MODAL,\n\t\tpayload: modalId,\n\t}),\n\n\tsendNonTradingOrderCommonForm: createFormAction('NON_TRADING_ORDERS/COMMON'),\n\tsendNonTradingOrderIdentityForm: createFormAction('NON_TRADING_ORDERS/IDENTITY'),\n\tsendNonTradingOrderLeverageForm: createFormAction('NON_TRADING_ORDERS/LEVERAGE'),\n\tsendNonTradingOrderRegistrationForm: createFormAction('NON_TRADING_ORDERS/REGISTRATION'),\n\tsendNonTradingOpenAccount: createFormAction('NON_TRADING_ORDERS/OPEN_ACCOUNT'),\n\tsendNonTradingOpenDemoAccount: createFormAction('NON_TRADING_ORDERS/OPEN_DEMO_ACCOUNT'),\n};\n\nexport default actions;\n","const actions = {\n\tCONNECT_SIGNAL_R: 'SIGNALR/CONNECT',\n\tDISCONNECT_SIGNAL_R: 'SIGNALR/DISCONNECT',\n\tRECONNECT_SIGNAL_R: 'SIGNALR/RECONNECT',\n\n\tconnectSignalR: () => ({\n\t\ttype: actions.CONNECT_SIGNAL_R,\n\t}),\n\n\tdisconnectSignalR: () => ({\n\t\ttype: actions.DISCONNECT_SIGNAL_R,\n\t}),\n\n\treconnectSignalR: () => ({\n\t\ttype: actions.RECONNECT_SIGNAL_R,\n\t}),\n};\n\nexport default actions;\n","const actions = {\r\n\r\n\tSHOW_ERROR_MESSAGE: 'SNACKBAR/SHOW_ERROR_MESSAGE',\r\n\tHIDE_ERROR_MESSAGE: 'SNACKBAR/HIDE_ERROR_MESSAGE',\r\n\tSHOW_MESSAGE: 'SNACKBAR/SHOW_MESSAGE',\r\n\tHIDE_MESSAGE: 'SNACKBAR/HIDE_MESSAGE',\r\n\tshowErrorMessage: payload => ({\r\n\t\ttype: actions.SHOW_ERROR_MESSAGE,\r\n\t\tpayload,\r\n\t}),\r\n\thideErrorMessage: () => ({\r\n\t\ttype: actions.HIDE_ERROR_MESSAGE,\r\n\t}),\r\n\tshowMessage: payload => ({\r\n\t\ttype: actions.SHOW_MESSAGE,\r\n\t\tpayload,\r\n\t}),\r\n\thideMessage: () => ({\r\n\t\ttype: actions.HIDE_MESSAGE,\r\n\t}),\r\n};\r\n\r\nexport default actions;\r\n","import { AccountStatuses } from '@enums';\r\n\r\nconst accounts = state => state.userAccounts.accounts.map(acc => ({\r\n\t...acc,\r\n\tDisplayFullName: acc.TradeCode,\r\n}));\r\n\r\nexport default {\r\n\taccounts,\r\n\tplatforms: state => state.userAccounts.accountInfo.Platforms,\r\n\ttariffs: state => state.userAccounts.accountInfo.Tariffs,\r\n\taccountInfo: state => state.userAccounts.accountInfo,\r\n\tfundingInfo: state => state.userAccounts.accountInfo.FundingInfo,\r\n\tcurrentTradeAccount: state => ({\r\n\t\ttradeCode: state.userAccounts.currentAccount,\r\n\t\tclearerFirm: state.userAccounts.currentClearer,\r\n\t}),\r\n\tcurrentAccount: state => state.userAccounts.currentAccount,\r\n\tcurrentClearer: state => state.userAccounts.currentClearer,\r\n\tcurrentAccountDisplayFullName: (state) => {\r\n\t\tconst acc = accounts(state).find(a => a.TradeCode === state.userAccounts.currentAccount);\r\n\t\treturn (acc && acc.DisplayFullName) || state.userAccounts.currentAccount;\r\n\t},\r\n\tselectedAccount: state => accounts(state).find(a => a.TradeCode === state.userAccounts.currentAccount),\r\n\tcurrentAccountData: state => state.userAccounts.currentAccountData,\r\n\tcurrentAccountObject: state => state.userAccounts.currentAccountObject,\r\n\tcurrentAccountIsDemo: state => (state.userAccounts.currentAccountObject && state.userAccounts.currentAccountObject.IsDemo),\r\n\tcurrentAccountIsPaper: state => (state.userAccounts.currentAccountObject && state.userAccounts.currentAccountObject.IsPaper),\r\n\tcurrentAccountStatus: state => state.userAccounts.accountInfo.Status,\r\n\treportsAndConfirmations: state => state.userAccounts.reportsAndConfirmations,\r\n\tlinkedAccounts: state => state.userAccounts.linkedAccounts,\r\n\tlinkedAccountsSubmitting: state => state.userAccounts.linkedAccountsSubmitting,\r\n\thasMaxTemplatesCount: state => state.userAccounts.hasMaxTemplatesCount,\r\n\tloading: state => state.userAccounts.submittingBaseData,\r\n\tcashActivities: state => state.userAccounts.cashActivities,\r\n\tnonTraidingActivities: state => state.userAccounts.nonTraidingActivities,\r\n\tcharts: state => state.userAccounts.charts,\r\n\tuserInfo: state => state.userAccounts.userInfo,\r\n\tcorporateActions: state => state.userAccounts.corporateActions,\r\n\toldCorporateActions: state => state.userAccounts.oldCorporateActions,\r\n\tupgradeMarginTypeData: state => state.userAccounts.upgradeMarginType,\r\n\tupgradeOptionLevelData: state => state.userAccounts.upgradeOptionLevel,\r\n\tgetPaperAccount: state => state.userAccounts.accounts && state.userAccounts.accounts.find(a => a.IsPaper && !a.IsClosed),\r\n\tgetDemoAccount: state => state.userAccounts.accounts && state.userAccounts.accounts.find(a => a.IsDemo),\r\n\tanyActiveAccountExists: (state) => {\r\n\t\tconst accs = accounts(state);\r\n\t\treturn accs && accs.some(acc => !(acc.IsDemo || acc.IsPaper)\r\n\t\t\t&& (acc.Status === AccountStatuses.ACTIVE || acc.Status === AccountStatuses.RESTRICTED));\r\n\t},\r\n\t// Real means not demo or paper\r\n\tanyRealAccountExists: (state) => {\r\n\t\tconst accs = accounts(state);\r\n\t\treturn accs && accs.some(acc => !(acc.IsDemo || acc.IsPaper));\r\n\t},\r\n\thasOpenAccount: state => state.userAccounts.accounts.some(acc => !acc.IsClosed),\r\n\tsecondAccountAgreement: state => state.userAccounts.secondAccountAgreement,\r\n};\r\n","export default {\r\n\tHasSignes: state =>\tstate.signature.HasSignes,\r\n\tSignesHolders: state => state.signature.SignesHolders,\r\n\topenModalData: state =>\tstate.signature.openModalData,\r\n\tsubmitting: state => state.signature.submitting,\r\n\tsignatureSubmitted: state => state.signature.signatureSubmitted,\r\n};\r\n","export { default as Api } from './Api';\r\nexport { default as App } from './App';\r\nexport { default as AddCircleOutline } from './AddCircleOutline';\r\nexport { default as Android } from './Android';\r\nexport { default as Apple } from './Apple';\r\nexport { default as ArrowDown } from './ArrowDown';\r\nexport { default as ArrowLongDown } from './ArrowLongDown';\r\nexport { default as ArrowUp } from './ArrowUp';\r\nexport { default as Back } from './Back';\r\nexport { default as Bank } from './Bank';\r\nexport { default as BaseChart } from './BaseChart';\r\nexport { default as BriefcaseAccount } from './BriefcaseAccount';\r\nexport { default as Circle } from './Circle';\r\nexport { default as Close } from './Close';\r\nexport { default as Contacts } from './Contacts';\r\nexport { default as ContentCopy } from './ContentCopy';\r\nexport { default as DefaultBank } from './DefaultBank';\r\nexport { default as Delete } from './Delete';\r\nexport { default as Deposit } from './Deposit';\r\nexport { default as Description } from './Description';\r\nexport { default as DocPdf } from './DocPdf';\r\nexport { default as DocXls } from './DocXls';\r\nexport { default as Document } from './Document';\r\nexport { default as Dollar } from './Dollar';\r\nexport { default as Done } from './Done';\r\nexport { default as Download } from './Download';\r\nexport { default as Edit } from './Edit';\r\nexport { default as EditDocument } from './EditDocument';\r\nexport { default as Error } from './Error';\r\nexport { default as Gavel } from './Gavel';\r\nexport { default as Help } from './Help';\r\nexport { default as Hamburger } from './Hamburger';\r\nexport { default as Handshake } from './Handshake';\r\nexport { default as Logout } from './Logout';\r\nexport { default as Launch } from './Launch';\r\nexport { default as MarkAsRead } from './MarkAsRead';\r\nexport { default as Minus } from './Minus';\r\nexport { default as Mobile } from './Mobile';\r\nexport { default as More } from './More';\r\nexport { default as Person } from './Person';\r\nexport { default as Plus } from './Plus';\r\nexport { default as PriceDown } from './PriceDown';\r\nexport { default as PriceUp } from './PriceUp';\r\nexport { default as Refresh } from './Refresh';\r\nexport { default as Report } from './Report';\r\nexport { default as Settings } from './Settings';\r\nexport { default as SpcLogo } from './SpcLogo';\r\nexport { default as Star } from './Star';\r\nexport { default as TableChart } from './TableChart';\r\nexport { default as TariffPerShare } from './TariffPerShare';\r\nexport { default as TariffPerTrade } from './TariffPerTrade';\r\nexport { default as TariffZero } from './TariffZero';\r\nexport { default as Trading } from './Trading';\r\nexport { default as Transfer } from './Transfer';\r\nexport { default as Twitter } from './Twitter';\r\nexport { default as Upgrade } from './Upgrade';\r\nexport { default as VisibilityOff } from './VisibilityOff';\r\nexport { default as VisibilityOn } from './VisibilityOn';\r\nexport { default as Withdraw } from './Withdraw';\r\nexport { default as Complete } from './Complete';\r\n","export * from './reduxFormUtils';\r\nexport { default as createComponent } from './createComponent';\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport InputBase from '@material-ui/core/InputBase';\r\nimport { ValidationMessageMode } from '@enums';\r\nimport InputFormControl from './InputFormControl';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tpadding: '12px 24px 5px',\r\n\t\tbackgroundColor: 'rgba(255,255,255,0.05)',\r\n\t\tborderRadius: '8px',\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\t'& input::placeholder': {\r\n\t\t\topacity: 0.75,\r\n\t\t},\r\n\t\tfontSize: theme.typography.pxToRem(18),\r\n\t},\r\n});\r\nclass Input extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tname,\r\n\t\t\tid,\r\n\t\t\tplaceholder,\r\n\t\t\tfullWidth,\r\n\t\t\terror,\r\n\t\t\tadditionalText,\r\n\t\t\tshowLabel,\r\n\t\t\tclasses,\r\n\t\t\thelpertext,\r\n\t\t\tvalidationMessageMode,\r\n\t\t\tInputLabelProps,\r\n\t\t\tqaAttributes,\r\n\t\t\t...other\r\n\t\t} = this.props;\r\n\r\n\t\tconst inputProps = { ...other.inputProps, ...qaAttributes.value };\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nInput.propTypes = {\r\n\tshowLabel: PropTypes.bool,\r\n\tadditionalText: PropTypes.string,\r\n\t/**\r\n\t * If `true`, the input will be focused during the first mount.\r\n\t */\r\n\tautoFocus: PropTypes.bool,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object,\r\n\t/**\r\n\t * The default input value.\r\n\t */\r\n\tdefaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n\t/**\r\n\t * If `true`, the input will be disabled.\r\n\t */\r\n\tdisabled: PropTypes.bool,\r\n\t/**\r\n\t * End `InputAdornment` for this component.\r\n\t */\r\n\tendAdornment: PropTypes.node,\r\n\t/**\r\n\t * If `true`, the input will indicate an error.\r\n\t */\r\n\terror: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, the input will take up the full width of its container.\r\n\t */\r\n\tfullWidth: PropTypes.bool,\r\n\t/**\r\n\t * Текст ошибки валидации, отображаемый при props.error == true\r\n\t */\r\n\thelpertext: PropTypes.string,\r\n\t/**\r\n\t * The id of the `input` element.\r\n\t */\r\n\tid: PropTypes.string,\r\n\t/**\r\n\t * The component used for the native input.\r\n\t * Either a string to use a DOM element or a component.\r\n\t */\r\n\tinputComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n\t/**\r\n\t * Properties applied to the `input` element.\r\n\t */\r\n\tinputProps: PropTypes.object,\r\n\t/**\r\n\t * Use that property to pass a ref callback to the native input component.\r\n\t */\r\n\tinputRef: PropTypes.func,\r\n\t/**\r\n\t * If `true`, a textarea element will be rendered.\r\n\t */\r\n\tmultiline: PropTypes.bool,\r\n\t/**\r\n\t * Name attribute of the `input` element.\r\n\t */\r\n\tname: PropTypes.string,\r\n\t/**\r\n\t * Callback fired when the value is changed.\r\n\t */\r\n\tonChange: PropTypes.func,\r\n\t/**\r\n\t * The short hint displayed in the input before the user enters a value.\r\n\t */\r\n\tplaceholder: PropTypes.string,\r\n\t/**\r\n\t * Number of rows to display when multiline option is set to true.\r\n\t */\r\n\trows: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n\t/**\r\n\t * Maximum number of rows to display when multiline option is set to true.\r\n\t */\r\n\trowsMax: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n\t/**\r\n\t * Start `InputAdornment` for this component.\r\n\t */\r\n\tstartAdornment: PropTypes.node,\r\n\t/**\r\n\t * Type of the input element. It should be a valid HTML5 input type.\r\n\t */\r\n\ttype: PropTypes.string,\r\n\t/**\r\n\t * Разрешает выводить сообщение валидации.\r\n\t */\r\n\tvalidationMessageMode: PropTypes.oneOf([\r\n\t\tValidationMessageMode.NONE,\r\n\t\tValidationMessageMode.INSTEAD_OF_ADDITIONAL,\r\n\t\tValidationMessageMode.AFTER_ADDITIONAL,\r\n\t]),\r\n\t/**\r\n\t * The input value, required for a controlled component.\r\n\t */\r\n\tvalue: PropTypes.oneOfType([\r\n\t\tPropTypes.string,\r\n\t\tPropTypes.number,\r\n\t\tPropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\r\n\t]),\r\n\tInputLabelProps: PropTypes.object,\r\n\tqaAttributes: PropTypes.shape({\r\n\t\ttitle: PropTypes.object,\r\n\t\tvalue: PropTypes.object,\r\n\t}),\r\n};\r\nInput.defaultProps = {\r\n\tshowLabel: true,\r\n\tadditionalText: undefined,\r\n\tautoFocus: false,\r\n\tclasses: {},\r\n\tdefaultValue: undefined,\r\n\tdisabled: false,\r\n\tendAdornment: null,\r\n\terror: false,\r\n\tfullWidth: true,\r\n\thelpertext: undefined,\r\n\tid: null,\r\n\tinputComponent: 'input',\r\n\tinputProps: {},\r\n\tInputLabelProps: {},\r\n\tinputRef: null,\r\n\tmultiline: false,\r\n\tname: null,\r\n\tonChange: null,\r\n\tplaceholder: '',\r\n\trows: 4,\r\n\trowsMax: 10,\r\n\tstartAdornment: null,\r\n\ttype: 'text',\r\n\tvalidationMessageMode: 'none',\r\n\tvalue: undefined,\r\n\tqaAttributes: {},\r\n};\r\n\r\nexport default withStyles(styles)(Input);\r\n","import React from 'react';\nimport InputLabel from '@material-ui/core/InputLabel';\n\nimport FormControl from '@material-ui/core/FormControl';\nimport FormHelperText from '@material-ui/core/FormHelperText';\n\nimport { ValidationMessageMode } from '@enums';\n\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\n\nconst styles = theme => ({\n\tlabel: {\n\t\ttop: '10px',\n\t\tleft: '24px',\n\t\t...theme.typography.style.title,\n\t},\n\tadditionalText: {\n\t\tpadding: '0px 24px',\n\t\tcolor: theme.typography.color.secondary,\n\t\t...theme.typography.style.body,\n\n\t},\n\terrorText: {\n\t\tpadding: '0px 24px',\n\t\tcolor: theme.typography.color.red,\n\t\t...theme.typography.style.body,\n\n\t},\n});\nclass InputFormControl extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tname,\n\t\t\tplaceholder,\n\t\t\tfullWidth,\n\t\t\terror,\n\t\t\tadditionalText,\n\t\t\tshowLabel,\n\t\t\tclasses,\n\t\t\thelpertext,\n\t\t\tvalidationMessageMode,\n\t\t\tchildren,\n\t\t\tqaAttribute,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{showLabel &&\n\t\t\t\t\t\n\t\t\t\t\t\t{placeholder}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{children}\n\n\t\t\t\t{additionalText && !(error && helpertext && validationMessageMode === ValidationMessageMode.INSTEAD_OF_ADDITIONAL) &&\n\t\t\t\t\t\n\t\t\t\t\t\t{additionalText}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{error && validationMessageMode !== ValidationMessageMode.NONE &&\n\t\t\t\t\t\n\t\t\t\t\t\t{helpertext}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nInputFormControl.propTypes = {\n\tchildren: PropTypes.oneOfType([\n\t\tPropTypes.arrayOf(PropTypes.node),\n\t\tPropTypes.node,\n\t]).isRequired,\n\tshowLabel: PropTypes.bool,\n\tadditionalText: PropTypes.string,\n\t/**\n\t * If `true`, the input will be focused during the first mount.\n\t */\n\tautoFocus: PropTypes.bool,\n\t/**\n\t * Useful to extend the style applied to components.\n\t */\n\tclasses: PropTypes.object,\n\t/**\n\t * The default input value.\n\t */\n\tdefaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\t/**\n\t * If `true`, the input will be disabled.\n\t */\n\tdisabled: PropTypes.bool,\n\t/**\n\t * End `InputAdornment` for this component.\n\t */\n\tendAdornment: PropTypes.node,\n\t/**\n\t * If `true`, the input will indicate an error.\n\t */\n\terror: PropTypes.bool,\n\t/**\n\t * If `true`, the input will take up the full width of its container.\n\t */\n\tfullWidth: PropTypes.bool,\n\t/**\n\t * Текст ошибки валидации, отображаемый при props.error == true\n\t */\n\thelpertext: PropTypes.string,\n\t/**\n\t * The id of the `input` element.\n\t */\n\tid: PropTypes.string,\n\t/**\n\t * The component used for the native input.\n\t * Either a string to use a DOM element or a component.\n\t */\n\tinputComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\t/**\n\t * Properties applied to the `input` element.\n\t */\n\tinputProps: PropTypes.object,\n\t/**\n\t * Use that property to pass a ref callback to the native input component.\n\t */\n\tinputRef: PropTypes.func,\n\t/**\n\t * If `true`, a textarea element will be rendered.\n\t */\n\tmultiline: PropTypes.bool,\n\t/**\n\t * Name attribute of the `input` element.\n\t */\n\tname: PropTypes.string,\n\t/**\n\t * Callback fired when the value is changed.\n\t */\n\tonChange: PropTypes.func,\n\t/**\n\t * The short hint displayed in the input before the user enters a value.\n\t */\n\tplaceholder: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n\t/**\n\t * Number of rows to display when multiline option is set to true.\n\t */\n\trows: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\t/**\n\t * Maximum number of rows to display when multiline option is set to true.\n\t */\n\trowsMax: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\t/**\n\t * Start `InputAdornment` for this component.\n\t */\n\tstartAdornment: PropTypes.node,\n\t/**\n\t * Type of the input element. It should be a valid HTML5 input type.\n\t */\n\ttype: PropTypes.string,\n\t/**\n\t * Разрешает выводить сообщение валидации.\n\t */\n\tvalidationMessageMode: PropTypes.oneOf([\n\t\tValidationMessageMode.NONE,\n\t\tValidationMessageMode.INSTEAD_OF_ADDITIONAL,\n\t\tValidationMessageMode.AFTER_ADDITIONAL,\n\t]),\n\t/**\n\t * The input value, required for a controlled component.\n\t */\n\tvalue: PropTypes.oneOfType([\n\t\tPropTypes.string,\n\t\tPropTypes.number,\n\t\tPropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\n\t]),\n\tInputLabelProps: PropTypes.object,\n\tqaAttribute: PropTypes.object,\n};\nInputFormControl.defaultProps = {\n\tshowLabel: true,\n\tadditionalText: undefined,\n\tautoFocus: false,\n\tclasses: {},\n\tdefaultValue: undefined,\n\tdisabled: false,\n\tendAdornment: null,\n\terror: false,\n\tfullWidth: true,\n\thelpertext: undefined,\n\tid: null,\n\tinputComponent: 'input',\n\tinputProps: {},\n\tInputLabelProps: {},\n\tinputRef: null,\n\tmultiline: false,\n\tname: null,\n\tonChange: null,\n\tplaceholder: null,\n\trows: 4,\n\trowsMax: 10,\n\tstartAdornment: null,\n\ttype: 'text',\n\tvalidationMessageMode: 'none',\n\tvalue: undefined,\n\tqaAttribute: {},\n};\n\nexport default withStyles(styles)(InputFormControl);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport PropTypes from 'prop-types';\r\nimport MUISvgIcon from '@material-ui/core/SvgIcon';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport * as Icons from './Icons';\r\n\r\nconst iconNames = Object.keys(Icons);\r\n\r\nconst styles = {\r\n\troot: {\r\n\t},\r\n};\r\n\r\nconst SvgIcon = ({ icon, submitting, ...props }) => {\r\n\tif (submitting) {\r\n\t\treturn ();\r\n\t}\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t{Icons[icon]}\r\n\t\t);\r\n};\r\n\r\nSvgIcon.propTypes = {\r\n\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * The color of the component. It supports those theme colors that make sense for this component.\r\n\t * You can use the `htmlColor` property to apply a color attribute to the SVG element.\r\n\t */\r\n\tcolor: PropTypes.oneOf(['action', 'disabled', 'error', 'inherit', 'primary', 'secondary']),\r\n\t/**\r\n\t * Applies a color attribute to the SVG element.\r\n\t */\r\n\thtmlColor: PropTypes.string,\r\n\t/**\r\n\t * Provides a human-readable title for the element that contains it.\r\n\t * https://www.w3.org/TR/SVG-access/#Equivalent\r\n\t */\r\n\ttitleAccess: PropTypes.string,\r\n\t/**\r\n\t * Allows you to redefine what the coordinates without units mean inside an SVG element.\r\n\t * For example, if the SVG element is 500 (width) by 200 (height),\r\n\t * and you pass viewBox=\"0 0 50 20\",\r\n\t * this means that the coordinates inside the SVG will go from the top left corner (0,0)\r\n\t * to bottom right (50,20) and each unit will be worth 10px.\r\n\t */\r\n\tviewBox: PropTypes.string,\r\n\r\n\ticon: PropTypes.oneOf(iconNames).isRequired,\r\n\tsubmitting: PropTypes.bool,\r\n};\r\n\r\nSvgIcon.defaultProps = {\r\n\tcolor: 'inherit',\r\n\thtmlColor: '',\r\n\ttitleAccess: '',\r\n\tviewBox: '0 0 24 24',\r\n\tsubmitting: false,\r\n};\r\n\r\nexport default withStyles(styles)(SvgIcon);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport Input from '../Input/Input';\nimport VisibilityButton from './components/VisibilityButton';\n\n\nconst styles = {\n\tinputType: {\n\t\theight: 'auto',\n\t},\n};\n\nconst WarningToolTip = withStyles(theme => ({\n\tarrow: {\n\t\tcolor: theme.palette.warning.main,\n\t},\n\ttooltip: {\n\t\tcolor: theme.palette.warning.contrastText,\n\t\tbackgroundColor: theme.palette.warning.main,\n\t},\n\ttooltipPlacementBottom: { margin: '0px' },\n}))(Tooltip);\n\nclass InputPassword extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tisPasswordVisible: false,\n\t\t\tcapsLockWarning: false,\n\t\t};\n\t\tthis.togglePasswordVisibility = this.togglePasswordVisibility.bind(this);\n\t}\n\n\ttogglePasswordVisibility() {\n\t\tthis.setState({\n\t\t\tisPasswordVisible: !this.state.isPasswordVisible,\n\t\t});\n\t}\n\n\tkeyDownHandler = (keyEvent) => {\n\t\tconst { onKeyDown } = this.props;\n\t\tif (keyEvent.getModifierState('CapsLock')) {\n\t\t\tthis.setState({ capsLockWarning: true });\n\t\t} else {\n\t\t\tthis.setState({ capsLockWarning: false });\n\t\t}\n\t\tif (onKeyDown) {\n\t\t\tonKeyDown(keyEvent);\n\t\t}\n\t};\n\n\tblurHandler = (keyEvent) => {\n\t\tconst { onBlur } = this.props;\n\t\tthis.setState({ capsLockWarning: false });\n\t\tif (onBlur) {\n\t\t\tonBlur(keyEvent);\n\t\t}\n\t};\n\n\trender() {\n\t\tconst { isPasswordVisible } = this.state;\n\t\tconst {\n\t\t\tclasses,\n\t\t\tinputProps,\n\t\t\tonKeyDown,\n\t\t\tonBlur,\n\t\t\t...otherprops\n\t\t} = this.props;\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tonKeyDown={this.keyDownHandler}\n\t\t\t\t\tonBlur={this.blurHandler}\n\t\t\t\t\t{...otherprops}\n\t\t\t\t/>\n\t\t\t\n\t\t);\n\t}\n}\n\nInputPassword.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tinputProps: PropTypes.object,\n};\nInputPassword.defaultProps = {\n\tinputProps: {},\n};\n\nexport default withStyles(styles)(InputPassword);\n","import React, { useContext, useMemo } from 'react';\nimport { Trans, useTranslation } from 'react-i18next';\nimport PropTypes from 'prop-types';\nimport { TranslateContext } from './TranslateContext';\n\nconst htmlTags = {\n\tb: ,\n};\n\nexport const useTranslate = (showDicwordsKeys = false) => {\n\tconst { t, i18n, ready } = useTranslation();\n\tconst translateContextData = useContext(TranslateContext);\n\n\tconst extractArgs = (args) => {\n\t\tif (!args || args.length === 0) {\n\t\t\tthrow new Error('DicWord code not specified');\n\t\t}\n\t\tif (args.length === 1 && Object.isObject(args[0])) {\n\t\t\treturn args[0];\n\t\t}\n\t\treturn {\n\t\t\tid: args[0],\n\t\t\tdefaultValue: args.length > 1 ? args[1] : null,\n\t\t};\n\t};\n\tconst retFunc = useMemo(() => (\n\t\t(...args) => {\n\t\t\tconst {\n\t\t\t\tid, translateParameters, components, defaultValue, enableHtml,\n\t\t\t} = extractArgs(args);\n\n\t\t\tconst transComponents =\n\t\t\t\tenableHtml || components\n\t\t\t\t\t? {\n\t\t\t\t\t\t...(enableHtml ? htmlTags : {}),\n\t\t\t\t\t\t...(components || {}),\n\t\t\t\t\t}\n\t\t\t\t\t: undefined;\n\t\t\tif (!ready) {\n\t\t\t\treturn defaultValue || '';\n\t\t\t}\n\t\t\tif (enableHtml && !components) {\n\t\t\t\treturn (\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tconst res = translateContextData.t(id, {\n\t\t\t\t...(translateParameters || {}),\n\t\t\t\tdefaultValue,\n\t\t\t\ttransComponents,\n\t\t\t});\n\t\t\treturn res;\n\t\t}\n\t), [showDicwordsKeys, translateContextData, ready]);\n\n\treturn retFunc;\n};\n\nconst R = (props) => {\n\tconst {\n\t\tid, showDicwordsKeys = false, translateParameters, components, defaultValue, enableHtml,\n\t} = props;\n\tconst { t, i18n, ready } = useTranslation();\n\tconst transComponents =\n\t\tenableHtml || components\n\t\t\t? {\n\t\t\t\t...(enableHtml ? htmlTags : {}),\n\t\t\t\t...(components || {}),\n\t\t\t}\n\t\t\t: undefined;\n\tconst tOptions = { transSupportBasicHtmlNodes: enableHtml };\n\treturn (\n\t\t\n\t\t\t{(translateContextData) => {\n\t\t\t\tif (!ready) {\n\t\t\t\t\treturn defaultValue || '';\n\t\t\t\t}\n\t\t\t\tif (enableHtml && !components) {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\treturn (\n\t\t\t\t\t\n\t\t\t\t\t\t{(showDicwordsKeys || translateContextData.showDicwordsKeys) &&\n\t\t\t\t\t\t\t`[[${id}]] `}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nR.propTypes = {\n\tid: PropTypes.string.isRequired,\n\tdefaultValue: PropTypes.string,\n\tshowDicwordsKeys: PropTypes.bool,\n\tenableHtml: PropTypes.bool,\n\ttranslateParameters: PropTypes.object,\n\tcomponents: function componentValidate(props, propName, componentName) {\n\t\tconst name = componentName || 'R';\n\t\tif (props[propName]) {\n\t\t\tconst value = props[propName];\n\n\t\t\tif (!value) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif (value && (typeof value !== 'object')) {\n\t\t\t\treturn new Error(`${propName} in ${name} shoud be Object but it is ${typeof value}`);\n\t\t\t}\n\n\t\t\tconst resticted = Object.keys(value).filter(x => ['link', 'img', 'media'].some(b => b === x.toLowerCase()));\n\t\t\tif (resticted.length > 0) {\n\t\t\t\treturn new Error(`${propName} in ${name} contains bad component names: ${resticted.join(',')}. For aditinal info see https://react.i18next.com/latest/trans-component.`);\n\t\t\t}\n\t\t}\n\t\t// assume all ok\n\t\treturn null;\n\t},\n};\n\nR.defaultProps = {\n\tshowDicwordsKeys: false,\n\tdefaultValue: undefined,\n\ttranslateParameters: undefined,\n\tenableHtml: false,\n\tcomponents: undefined,\n};\nexport default R;\n","import React from 'react';\nimport i18next from 'i18next';\n\nlet contextData = {\n\tshowDicwordsKeys: false,\n\tt() { return 'not init'; },\n};\nconst Context = React.createContext(contextData);\n\nconst TranslateContextProvider = (props) => {\n\tconst { showDicwordsKeys = false, children } = props;\n\n\tif (contextData.showDicwordsKeys !== showDicwordsKeys) {\n\t\t// контекст оринтируется равенство по ссылке. Создаем новый объект состояния\n\t\tcontextData = { showDicwordsKeys };\n\t}\n\tcontextData.showDicwordsKeys = showDicwordsKeys;\n\n\tcontextData.t = (key, options) => {\n\t\treturn (showDicwordsKeys ? `[[${key}]] ` : '') + i18next.t(key, options);\n\t};\n\treturn {children};\n};\n\nexport { TranslateContextProvider, Context as TranslateContext };\n\n","import PropTypes from 'prop-types';\nimport MomentUtils from '@date-io/moment';\nimport {\n\tDatePicker as MuiDatePicker,\n\tMuiPickersUtilsProvider,\n} from '@material-ui/pickers';\nimport { makeStyles, useTheme } from '@material-ui/core/styles';\nimport moment from 'moment';\n// import moment from 'moment-timezone';\nimport React from 'react';\nimport classNames from 'classnames';\n\n\nconst styles = theme => ({\n\troot: {},\n\tinputRoot: {\n\t\tpadding: '5px 24px',\n\t\tbackgroundColor: 'rgba(255,255,255,0.05)',\n\t\tborderRadius: '8px',\n\t\tcolor: theme.palette.primary.dark,\n\t\t'& input': {\n\t\t\tcursor: 'pointer',\n\t\t},\n\t\t'& input::placeholder': {\n\t\t\topacity: 0.75,\n\t\t},\n\t\tfontSize: '18px',\n\t\t'&:before': {\n\t\t\tmargin: '0px 24px',\n\t\t},\n\t\t'&:after': {\n\t\t\tmargin: '0px 24px',\n\t\t},\n\t},\n\tinputDisabled: {\n\t\tcolor: theme.typography.color.disable,\n\t\t'& input': {\n\t\t\tcursor: 'default',\n\t\t},\n\t},\n\tinputUnderline: {\n\t\t'&:before': {\n\t\t\tborderBottom: `1px solid ${\n\t\t\t\ttheme.palette.primary.main\n\t\t\t}`,\n\t\t},\n\t\t'&:hover:not(.Mui-disabled):before': {\n\t\t\tborderBottom: `2px solid ${\n\t\t\t\ttheme.palette.primary.main\n\t\t\t}`,\n\t\t},\n\t},\n\tinputFormControl: {\n\t\tcolor: theme.palette.primary.main,\n\t},\n\tlabelFormControl: {\n\t\t...theme.typography.style.title,\n\t\ttop: '0px',\n\t\tleft: '24px',\n\t\twidth: '100%',\n\t},\n\thelperText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: undefined,\n\t\tpadding: '0px 24px',\n\t},\n\terror: {\n\t\tbackgroundColor: theme.palette.error.light,\n\t\tborderRadius: '8px',\n\t},\n});\n\nconst useStyles = makeStyles(styles);\n\nconst DatePicker = React.forwardRef((props, ref) => {\n\tconst theme = useTheme();\n\tconst classes = useStyles(props); // props classes+withStyles\n\n\tconst {\n\t\tasUtc = false,\n\t\tformat = 'DD MMM YY',\n\t\tcancelLabel = 'Cancel',\n\t\tokLabel = 'Ok',\n\t\ttodayLabel = 'Today',\n\t\tclearLabel = 'Clear',\n\t\tvalue,\n\t\tclassName,\n\t\tdisableUnderline = true,\n\t\tinputVariant,\n\t\ttimeZone,\n\t\tdisabled,\n\t\t...datePickerProps\n\t} = props;\n\n\tconst momentInstance = asUtc ? moment.utc : moment;\n\t/* if (timeZone) {\n\t\tmomentInstance = moment.tz.setDefault(timeZone);\n\t} */\n\tif (asUtc) {\n\t\t// hack for working in MuiPickersUtilsProvider\n\t\tmomentInstance.weekdaysShort = moment.weekdaysShort;\n\t}\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n});\n\nDatePicker.propTypes = {\n\tasUtc: PropTypes.bool,\n\t/** Если указана временная зона,параметр asUtc не используется */\n\t// timeZone: PropTypes.string,\n\tdisableUnderline: PropTypes.bool,\n\tformat: PropTypes.string.isRequired,\n};\n\nDatePicker.defaultProps = {\n\tasUtc: false,\n\t// timeZone: undefined,\n\tdisableUnderline: true,\n\tformat: 'DD MMM YYYY',\n};\nexport default DatePicker;\n","export { default as Alerts } from './Alerts/Alerts';\r\nexport { default as ConfirmProfile } from './ConfirmProfile/ConfirmProfile';\r\nexport { default as FreshChat } from './Chat/FreshChat';\r\nexport { default as HubSpotChat } from './Chat/HubSpotChat';\r\nexport { default as Documents } from './Documents/Documents';\r\nexport { default as Icons } from './Snackbar/Icons';\r\nexport { default as IpoContent } from './Ipo/IpoContent';\r\nexport { default as MainContent } from './MainContent/MainContent';\r\nexport { default as MainHeader } from './MainHeader/MainHeader';\r\nexport { default as Contacts } from './Contacts/Contacts';\r\nexport { default as BlockModals } from './Modals/BlockModals';\r\nexport { default as Modals } from './Modals/Modals';\r\nexport { default as Notifications } from './Notifications/Notifications';\r\nexport { default as Profile } from './Profile/Profile';\r\nexport { default as AccountFeatures } from './AccountFeatures/AccountFeatures';\r\nexport { default as Reports } from './Reports/Reports';\r\nexport { default as TerminalMt5 } from './TerminalMt5/TerminalMt5';\r\nexport { default as Sidebar } from './Sidebar/Sidebar';\r\nexport { default as Snackbar } from './Snackbar/Snackbar';\r\nexport { default as TradingAssistance } from './TradingAssistance/TradingAssistance';\r\nexport { default as CashManagementContent } from './CashManagementContent/CashManagementContent';\r\nexport { default as TradingPlatforms } from './TradingPlatforms/TradingPlatforms';\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useDispatch } from 'react-redux';\nimport { profile } from '@redux';\nimport {\n\tChangeLink,\n\tInput,\n} from '@components';\nimport { valueOrEmpty, createQAAttribute } from '@global';\n\nconst useActions = (userProfile) => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tshowChangeEmploymentModal: () => dispatch(profile.actions.showChangeEmploymentModal(userProfile)),\n\t});\n};\n\nconst EmploymentPanel = ({\n\tprofile: {\n\t\tEmploymentProfile,\n\t\tPendingOrders,\n\t\tGuid,\n\t\tClientId,\n\t},\n\tclasses,\n}) => {\n\tconst actions = useActions({\n\t\tEmploymentProfile,\n\t\tPendingOrders,\n\t\tGuid,\n\t\tClientId,\n\t});\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\tEmployment\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nEmploymentPanel.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\n};\n\nexport default EmploymentPanel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { getFormValues, Field } from 'redux-form';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport {\n\tFormInput,\n\tFormRadioGroup,\n\tRadio,\n} from '@components';\n\nconst useStyles = makeStyles(theme => createStyles({\n\teditValue: {},\n\teditable: {},\n\tpreFieldLabel: {\n\t\tmargin: '10px 24px 0px 0px',\n\t\tlineHeight: '21px',\n\t\tfontSize: '14px',\n\t\tcolor: theme.palette.text.secondary,\n\t},\n\twithLeftMarginField: {\n\t\tmarginLeft: '-24px',\n\t\t'& input': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tborderRadius: '8px'\n\t\t}\n\t},\n\tnoLeftMarginField: {\n\t\tmarginLeft: '0px',\n\t},\n}));\n\nconst extractPropsClasses = ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n}) => ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n});\n\nconst HoldersQuestion = ({\n\tclasses: _classes,\n\taccount,\n\tform,\n}) => {\n\tconst classes = useStyles({ classes: extractPropsClasses(_classes) });\n\tconst values = useSelector(state => getFormValues(form)(state)) || {};\n\n\tconst hasJointOwnersChanges = `HasJointOwnersChanges${account.TradeCode}`;\n\tconst jointOwnersChanges = `JointOwnersChanges${account.TradeCode}`;\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\tWere there any changes in Authorized users since the previous attestation?\n\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{values[hasJointOwnersChanges] === 'Yes' &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nHoldersQuestion.propTypes = {\n\tform: PropTypes.string.isRequired,\n\taccount: PropTypes.shape({\n\t\tAccountName: PropTypes.string.isRequired,\n\t\tTradeCode: PropTypes.string.isRequired,\n\t}).isRequired,\n\tclasses: PropTypes.object,\n};\n\nHoldersQuestion.defaultProps = {\n\tclasses: {},\n};\n\n\nexport default HoldersQuestion;\n","export { default as WithdrawInfo } from './WithdrawInfo';\nexport { default as BrokerAccountInfo } from './BrokerAccountInfo';\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { SvgIcon } from '@components';\n\nconst styles = theme => ({\n\troot: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\titemsTextContainer: {\n\t\talignItems: 'flex-start', display: 'flex', justifyContent: 'flex-start',\n\t},\n\titemsText: {\n\t\tfontSize: '14px',\n\t\tmarginTop: 0,\n\t\tpaddingTop: 0,\n\t\tcolor: theme.typography.color.secondary,\n\t\tpaddingLeft: '24px',\n\t},\n\titemsRefreshIcon: {\n\t\tmarginLeft: '5px',\n\t\tmarginTop: 'auto',\n\t\tmarginBottom: 'auto',\n\t\tcursor: 'pointer',\n\t},\n\titemsLoadingIcon: {\n\t\talignItems: 'center', display: 'flex', justifyContent: 'flex-start', margin: 'auto',\n\t},\n});\n\n\nclass AccountPropsView extends React.Component {\n\n\trender() {\n\t\tconst {\n\t\t\tchildren,\n\t\t\tclasses,\n\t\t\tloading,\n\t\t\thandleRefresh,\n\t\t\ttheme,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{/* field */}\n\t\t\t\t
\n\t\t\t\t\t{!loading &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{children}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{handleRefresh && }\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t\t{loading &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\n\t\t);\n\t}\n}\n\nAccountPropsView.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tchildren: PropTypes.node.isRequired,\n\thandleRefresh: PropTypes.func,\n};\n\nAccountPropsView.defaultProps = {\n\thandleRefresh: undefined,\n};\n\nexport default compose(\n\twithStyles(styles),\n\twithTheme,\n)(AccountPropsView);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\n\n\n// eslint-disable-next-line no-unused-vars\nconst useStyles = makeStyles(theme => createStyles({\n\teditable: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'row',\n\t},\n\teditItem: {\n\t\tdisplay: 'flex',\n\t\tpadding: '24px 32px 12px 0',\n\t\ttextAlign: 'right',\n\t},\n\teditValue: {\n\t\tflexGrow: 2,\n\t},\n}));\n\nconst CustomEditableItem = (props) => {\n\tconst {\n\t\tvalueControl,\n\t\teditControl,\n\t} = props;\n\tconst classes = useStyles(props);\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t{valueControl}\n\t\t\t
\n\t\t\t{editControl &&\n\t\t\t\t
\n\t\t\t\t\t{editControl}\n\t\t\t\t
\n\t\t\t}\n\t\t
\n\t);\n};\n\nCustomEditableItem.propTypes = {\n\tclasses: PropTypes.object,\n\tvalueControl: PropTypes.oneOfType([\n\t\tPropTypes.node,\n\t\tPropTypes.string,\n\t]).isRequired,\n\teditControl: PropTypes.oneOfType([\n\t\tPropTypes.node,\n\t\tPropTypes.string,\n\t]),\n};\nCustomEditableItem.defaultProps = {\n\teditControl: undefined,\n\tclasses: {},\n};\nexport default CustomEditableItem;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { getFormValues, Field } from 'redux-form';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport {\n\tFormInput,\n\tFormRadioGroup,\n\tRadio,\n} from '@components';\n\nconst useStyles = makeStyles(theme => createStyles({\n\teditValue: {},\n\teditable: {},\n\tpreFieldLabel: {\n\t\tmargin: '10px 24px 0px 0px',\n\t\tlineHeight: '21px',\n\t\tfontSize: '18px',\n\t\tcolor: '#345464',\n\t},\n\twithLeftMarginField: {\n\t\tmarginLeft: '-24px',\n\t\t'& input': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tborderRadius: '8px'\n\t\t}\n\t},\n\tnoLeftMarginField: {\n\t\tmarginLeft: '0px',\n\t},\n}));\nconst extractPropsClasses = ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n}) => ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n});\n\nconst InstitutionalQuestion = ({\n\tclasses: _classes,\n\tform,\n}) => {\n\tconst classes = useStyles({ classes: extractPropsClasses(_classes) });\n\tconst values = useSelector(state => getFormValues(form)(state)) || {};\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\tWere there any changes in Beneficial Owners since the previous attestation?\n\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{values.HasChangesInBenOwners === 'Yes' &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nInstitutionalQuestion.propTypes = {\n\tform: PropTypes.string.isRequired,\n\tclasses: PropTypes.object,\n};\n\nInstitutionalQuestion.defaultProps = {\n\tclasses: {},\n};\n\nexport default InstitutionalQuestion;\n","export { default as IpoOrderItem } from './IpoOrderItem';\nexport { default as OrderExtendedInfo } from './OrderExtendedInfo';\nexport { default as OrderMainInfo } from './OrderMainInfo';\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { env } from '@config';\r\nimport App from './App';\r\n\r\nwindow.Raven.config(env.sentryRavenUrl).install();\r\nReactDOM.render(, document.getElementById('app'));\r\n","const maxCharsNumber = 254;\r\nconst maxDependents = 20;\r\nconst constants = {\r\n\tregExpAmount: /^\\d+(\\.\\d{1,2})?$/,\r\n\tregExpRoutingNumber: /^(\\d{9})$/,\r\n\tregExpBankAccountNumber: /^[0-9a-zA-Z]+$/,\r\n\tregExpEmail: /^([\\w-+.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([\\w-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\\]?)$/,\r\n\tregExpAllTags: /(<([^>]+)>)/ig,\r\n\tregExpMt5Password: /^(?=.*[A-Z].*)(?=.*[a-z].*)(?=.*[0-9].*)[A-Za-z0-9]{8,}$/,\r\n\tregExpPassword: /(?=^.{6,}$)(?=^[a-zA-Z0-9!\\\"#$%&'()*+,-./:;<=>?@[\\\\\\]^_`{|}~]*$)(?=.*\\d)(?![.\\n])(?=.*[A-Z])(?=.*[a-z]).*$/,\r\n\twarningForNonTransferableSecuritiesHolders: 'Please Note: Accounts holding non-transferable and/or worthless securities will be required to maintain a minimum cash balance of $250.00 in the account (The balance is to offset the fees incurred for holding these types of securities, minimum amount required may be greater than $250.00 and will depend on the number of positions held).',\r\n\r\n\tmaxCharsNumber,\r\n\tmaxCharsNumberError: `The allowed number of characters is ${maxCharsNumber}`,\r\n\tmaxDependents,\r\n\r\n\tregExpEmploymentCompanyName: /^[A-Za-z0-9\\.,\\-\\+\"\\s]+$/,\r\n\tregExpEmploymentStreetAddress: /^[A-Za-z0-9\\.,\\-\\+\"\\/\\s]+$/,\r\n\tregExpEmploymentHouse: /^[A-Za-z0-9\\.,-\\/\\s]+$/,\r\n\tregExpEmploymentCity: /^[A-Za-z0-9\\.,\\-\\s]+$/,\r\n\tregExpEmploymentZip: /^[0-9a-zA-Z]+$/,\r\n\tregExpEmploymentForbidden: /(--)+/,\r\n\r\n\tEtnaGateConfirmCode: 'EtnaGateConfirmCode',\r\n\r\n\tLIME_FIN: 'Lime Trading',\r\n};\r\n\r\nexport default constants;\r\n","import appConfig from 'app_config';\r\nimport { constants } from '@config';\r\nimport { cabinetLog } from '@global';\r\n\r\nconst envConfig = {\r\n\tproduction: {\r\n\t\tanketaDocumentationUrl: 'https://docs.lime.co',\r\n\t\tanketaSiteUrl: 'https://open.lime.co/login',\r\n\t\tanketaSiteOldUrl: 'https://open-old.lime.co',\r\n\t\tbackendUrl: 'https://myaccountapi.lime.co/',\r\n\t\tpricingUrl: 'https://lime.co/pricing/',\r\n\t\tOAuthServiceUrl: 'https://auth.lime.co',\r\n\t\tUsaApiServiceUrl: 'https://api.lime.co',\r\n\t\tplaidApiEnvironment: 'production',\r\n\t\tplaidApiPublicKey: 'b3ddce858a38efc6c36ccbf8d9b93e',\r\n\t\tGA_TRACKING_ID: 'UA-5574920-1',\r\n\t\tGTM_DATA_LAYER: 'GTM-KZH6ZPM',\r\n\t\tsterlingPcDownloadUrl: 'https://download.sterlingtrader.com/applications/ISSterlingTraderPro_10_3_0.exe',\r\n\t\tvisionOptionsSupplementUrl: 'https://cdn-lpbr.lime.co/lpbr-static/Options_Supplement_9a362b1e05.pdf',\r\n\t\tuncoveredWrtingRiskDisclosureUrl: 'https://cdn-lpbr.lime.co/lpbr-static/Special_Options_Risk_Disclosure_Statement_1_8d27d2ff6e.pdf',\r\n\t\tcharacteristicsRisksStandardizedOptionsUrl: 'https://www.theocc.com/Company-Information/Documents-and-Archives/Options-Disclosure-Document',\r\n\t\tlanguagesServerPath: '/translation/translations.{lng}.json',\r\n\t\treloadDicwordsPeriod: 15 * 60 * 1000, // 15 мин\r\n\t\tallowedLangs: null,\r\n\t\tlimeTraderAppStore: 'https://apps.apple.com/us/app/lime-trader/id1314411861',\r\n\t\tlimeTraderGooglePlay: 'https://play.google.com/store/apps/details?id=com.just2trade.android&hl=en_US&gl=US&pli=',\r\n\t\ttakeProfitSiteUrl: 'https://takeprofit.com/platform#lime',\r\n\r\n\t\tWEBCAB_3434_tradingAssistance: false,\r\n\t\tWEBCAB_3520_emailDelivery: false,\r\n\t\tWEBCAB_3534_checkBrokenEmail: false,\r\n\t\tWEBCAB_4791_hideDepositRequisites: false,\r\n\t\tWEBCAB_5004_walletEnableUsers: [\r\n\t\t\t'00000000-0000-0000-0000-000000000649',\r\n\t\t],\r\n\t\tWEBCAB_5031_switch_trading_platforms: true,\r\n\t\tWEBCAB_5142_marketData_subscriptions_enable: false,\r\n\t\tWEBCAB_5222_hubspotChat: true,\r\n\t\tWEBCAB_5786_allow_withdrawals: true,\r\n\t\tWEBCAB_5863_allow_attestation: true,\r\n\t\tWEBCAB_5839_allow_demo_account: false,\r\n\t\tWEBCAB_4449_allow_old_corp_actions: false,\r\n\t\tUNIAP_909_secondFactorRestrictionDate: 'January 31st, 2025',\r\n\t},\r\n\tpreprod: {\r\n\t\tanketaDocumentationUrl: 'https://docs.lime.co',\r\n\t\tanketaSiteUrl: 'http://limeform.ui.preprodcabweb.corp.whotrades.eu/login',\r\n\t\tanketaSiteOldUrl: 'https://open-old.lime.co',\r\n\t\tbackendUrl: 'https://uspreprod.tst.just2trade.online/',\r\n\t\tpricingUrl: 'https://lime.co/pricing/',\r\n\t\tOAuthServiceUrl: 'http://nyx-etnae1-ap01.corp.whotrades.eu/auth-uat',\r\n\t\tUsaApiServiceUrl: 'https://ftru03.just2trade.com/pp/usaapi',\r\n\t\tplaidApiEnvironment: 'sandbox',\r\n\t\tplaidApiPublicKey: 'b3ddce858a38efc6c36ccbf8d9b93e',\r\n\t\tsterlingPcDownloadUrl: 'https://download.sterlingtrader.com/applications/ISSterlingTraderPro_10_3_0.exe',\r\n\t\tvisionOptionsSupplementUrl: 'https://cdn-lpbr.lime.co/lpbr-static/Options_Supplement_9a362b1e05.pdf',\r\n\t\tuncoveredWrtingRiskDisclosureUrl: 'https://cdn-lpbr.lime.co/lpbr-static/Special_Options_Risk_Disclosure_Statement_1_8d27d2ff6e.pdf',\r\n\t\tcharacteristicsRisksStandardizedOptionsUrl: 'https://www.theocc.com/Company-Information/Documents-and-Archives/Options-Disclosure-Document',\r\n\t\tlanguagesServerPath: 'http://cab-lme.tstcabweb.corp.whotrades.eu/translation/translations.{lng}.json',\r\n\t\treloadDicwordsPeriod: null,\r\n\t\tallowedLangs: null,\r\n\r\n\t\tlimeTraderAppStore: 'https://apps.apple.com/us/app/lime-trader/id1314411861',\r\n\t\tlimeTraderGooglePlay: 'https://play.google.com/store/apps/details?id=com.just2trade.android&hl=en_US&gl=US&pli=',\r\n\t\ttakeProfitSiteUrl: 'https://takeprofit.com/platform#lime',\r\n\r\n\t\tWEBCAB_3434_tradingAssistance: false,\r\n\t\tWEBCAB_3520_emailDelivery: true,\r\n\t\tWEBCAB_3534_checkBrokenEmail: true,\r\n\t\tWEBCAB_4061_availableIpoUsers: ['sminkov', 'vremsha', 'whotrades2', 'wadam', 'ycartth2880'],\r\n\t\tWEBCAB_4509_transaqChangePwdAvalilableFor: [\r\n\t\t\t'3065A493-0379-4A66-AD28-0450F7392769',\r\n\t\t\t'DAF16251-7054-4975-94F2-342FD57675D7',\r\n\t\t\t'417AEE48-D64E-4CDC-8F85-205198B9AE78',\r\n\t\t\t'BC7BE6BE-CC1A-4D43-BDBA-7645DDCD5C20',\r\n\t\t\t'3065A493-0379-4A66-AD28-0450F7392769',\r\n\t\t],\r\n\t\tWEBCAB_4791_hideDepositRequisites: false,\r\n\t\tWEBCAB_5004_walletEnableUsers: [\r\n\t\t\t'00000000-0000-0000-0000-000000000649',\r\n\t\t],\r\n\t\tWEBCAB_5031_switch_trading_platforms: true,\r\n\t\tWEBCAB_5142_marketData_subscriptions_enable: false,\r\n\t\tWEBCAB_5222_hubspotChat: true,\r\n\t\tWEBCAB_5786_allow_withdrawals: true,\r\n\t\tWEBCAB_5863_allow_attestation: true,\r\n\t\tWEBCAB_4449_allow_old_corp_actions: false,\r\n\t\tUNIAP_909_secondFactorRestrictionDate: 'January 31st, 2025',\r\n\t},\r\n\ttest: {\r\n\t\tanketaDocumentationUrl: 'https://docs.lime.co',\r\n\t\tanketaSiteUrl: 'http://limeform.ui.tstcabweb.corp.whotrades.eu/login',\r\n\t\tanketaSiteOldUrl: 'https://open-old.lime.co',\r\n\t\tbackendUrl: 'https://ustest.tst.just2trade.online/',\r\n\t\tpricingUrl: 'https://lime.co/pricing/',\r\n\t\tOAuthServiceUrl: 'http://nyx-etnae1-ap01.corp.whotrades.eu/auth-test',\r\n\t\tUsaApiServiceUrl: 'https://ftru03.just2trade.com/tst/usaapi',\r\n\t\tplaidApiEnvironment: 'sandbox',\r\n\t\tplaidApiPublicKey: 'b3ddce858a38efc6c36ccbf8d9b93e',\r\n\t\tsterlingPcDownloadUrl: 'https://download.sterlingtrader.com/applications/ISSterlingTraderPro_10_3_0.exe',\r\n\t\tvisionOptionsSupplementUrl: 'https://cdn-lpbr.lime.co/lpbr-static/Options_Supplement_9a362b1e05.pdf',\r\n\t\tuncoveredWrtingRiskDisclosureUrl: 'https://cdn-lpbr.lime.co/lpbr-static/Special_Options_Risk_Disclosure_Statement_1_8d27d2ff6e.pdf',\r\n\t\tcharacteristicsRisksStandardizedOptionsUrl: 'https://www.theocc.com/Company-Information/Documents-and-Archives/Options-Disclosure-Document',\r\n\t\tlanguagesServerPath: '/translation/translations.{lng}.json',\r\n\t\treloadDicwordsPeriod: null,\r\n\t\tallowedLangs: null,\r\n\r\n\t\tlimeTraderAppStore: 'https://apps.apple.com/us/app/lime-trader/id1314411861',\r\n\t\tlimeTraderGooglePlay: 'https://play.google.com/store/apps/details?id=com.just2trade.android&hl=en_US&gl=US&pli=',\r\n\t\ttakeProfitSiteUrl: 'https://takeprofit.com/platform#lime',\r\n\r\n\t\tWEBCAB_3434_tradingAssistance: false,\r\n\t\tWEBCAB_3520_emailDelivery: true,\r\n\t\tWEBCAB_3534_checkBrokenEmail: true,\r\n\t\tWEBCAB_4791_hideDepositRequisites: false,\r\n\t\tWEBCAB_5004_walletEnableUsers: [\r\n\t\t\t'00000000-0000-0000-0000-000000000649',\r\n\t\t],\r\n\t\tWEBCAB_5031_switch_trading_platforms: true,\r\n\t\tWEBCAB_5142_marketData_subscriptions_enable: true,\r\n\t\tWEBCAB_5222_hubspotChat: true,\r\n\t\tWEBCAB_5786_allow_withdrawals: true,\r\n\t\tWEBCAB_5863_allow_attestation: true,\r\n\t\tWEBCAB_5839_allow_demo_account: true,\r\n\t\tWEBCAB_4449_allow_old_corp_actions: false,\r\n\t\tUNIAP_909_secondFactorRestrictionDate: 'January 31st, 2025',\r\n\t},\r\n\tdev: {\r\n\t\tanketaDocumentationUrl: 'https://docs.lime.co',\r\n\t\tanketaSiteUrl: 'http://limeform.ui.tstcabweb.corp.whotrades.eu/login',\r\n\t\tanketaSiteOldUrl: 'https://open-old.lime.co',\r\n\t\tsentryRavenUrl: '',\r\n\t\tplaidApiEnvironment: 'sandbox',\r\n\t\tplaidApiPublicKey: 'b3ddce858a38efc6c36ccbf8d9b93e',\r\n\t\tlanguagesServerPath: 'http://cab-lme.tstcabweb.corp.whotrades.eu/translation/translations.{lng}.json',\r\n\t\tlimeTraderAppStore: 'https://apps.apple.com/us/app/lime-trader/id1314411861',\r\n\t\tlimeTraderGooglePlay: 'https://play.google.com/store/apps/details?id=com.just2trade.android&hl=en_US&gl=US&pli=',\r\n\t\ttakeProfitSiteUrl: 'https://takeprofit.com/platform#lime',\r\n\t\tWEBCAB_5004_walletEnableUsers: [\r\n\t\t\t'00000000-0000-0000-0000-000000000649',\r\n\t\t],\r\n\t\tWEBCAB_5031_switch_trading_platforms: true,\r\n\t\tWEBCAB_5142_marketData_subscriptions_enable: true,\r\n\t\tWEBCAB_5222_hubspotChat: true,\r\n\t\tWEBCAB_5786_allow_withdrawals: true,\r\n\t\tWEBCAB_5863_allow_attestation: true,\r\n\t\tWEBCAB_5839_allow_demo_account: true,\r\n\t\tWEBCAB_4449_allow_old_corp_actions: false,\r\n\t\tUNIAP_909_secondFactorRestrictionDate: 'January 31st, 2025',\r\n\t},\r\n};\r\n\r\n// eslint-disable-next-line import/no-mutable-exports\r\nlet env = {\r\n\t...envConfig.production,\r\n\t...appConfig,\r\n};\r\ncabinetLog(process.env.NODE_ENV);\r\n\r\n\r\nif (process.env.NODE_ENV !== 'production') {\r\n\tenv = {\r\n\t\t...envConfig.test,\r\n\t\t...appConfig,\r\n\t};\r\n\tenv.J2tProPcDownloadUrl = `${env.backendUrl}files/programs/J2T_PRO.exe`;\r\n}\r\n\r\nif (IS_LOCAL !== undefined && IS_LOCAL) {\r\n\tenv = {\r\n\t\t...appConfig,\r\n\t\t...envConfig.dev,\r\n\t};\r\n}\r\n\r\nif (IS_PREPROD !== undefined && IS_PREPROD) {\r\n\tenv = {\r\n\t\t...envConfig.preprod,\r\n\t\t...appConfig,\r\n\t};\r\n\tenv.J2tProPcDownloadUrl = `${env.backendUrl}files/programs/J2T_PRO.exe`;\r\n}\r\n\r\nif (!env.baseUrl) {\r\n\tenv.baseUrl = window.location.origin;\r\n}\r\n\r\nenv.version = 115;\r\n\r\ncabinetLog('env', env);\r\n\r\nexport default env;\r\n","\nfunction addItemToArray(arr, item) {\n\tif (!arr) {\n\t\treturn [item];\n\t} else if (!arr.find(it => it === item)) {\n\t\tarr.push(item);\n\t}\n\treturn arr;\n}\n\nfunction removeItemFromArray(arr, item) {\n\treturn arr && arr.filter(it => it !== item);\n}\n\nfunction removeItemsFromArray(arr, items) {\n\treturn arr && arr.filter(it => items.indexOf(it) < 0);\n}\n\nmodule.exports = {\n\taddHashToUrl(location, hash) {\n\t\tconst hashList = location.hash && location.hash.substr(1).split('/');\n\t\treturn `${location.pathname}#${addItemToArray(hashList, hash).join('/')}`;\n\t},\n\tchangeHashInUrl(location, from, to) {\n\t\tlet hashList = location.hash && location.hash.substr(1).split('/');\n\t\thashList = removeItemFromArray(hashList, from);\n\t\treturn `${location.pathname}#${addItemToArray(hashList, to).join('/')}`;\n\t},\n\tremoveHashFromUrl(location, hash) {\n\t\tconst hashList = location.hash && location.hash.substr(1).split('/');\n\t\treturn hashList ? `${location.pathname}#${removeItemFromArray(hashList, hash).join('/')}` : location.pathname;\n\t},\n\tremoveHashesFromUrl(location, hashes) {\n\t\tconst hashList = location.hash && location.hash.substr(1).split('/');\n\t\treturn hashList ? `${location.pathname}#${removeItemsFromArray(hashList, hashes).join('/')}` : location.pathname;\n\t},\n};\n","module.exports = {\n\tcabinetLog(...args) {\n\t\tif (process.env.NODE_ENV !== 'production') {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.log(...args);\n\t\t}\n\t},\n};\n","\nmodule.exports = {\n\tisNumber(obj) {\n\t\treturn !Number.isNaN(parseFloat(obj));\n\t},\n};\n","export const globalState = {};\n","module.exports = {\r\n\tscrollTo(elementId) {\r\n\t\tconst target = document.getElementById(elementId || 'dashboard-top');\r\n\t\tif (target) {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\twindow.scroll(0, target.offsetTop);\r\n\t\t\t}, 400);\r\n\t\t}\r\n\t},\r\n\r\n\tscrollToTop() {\r\n\t\tconst target = document.getElementById('dashboard-top');\r\n\t\tif (target) {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\twindow.scroll(0, target.offsetTop);\r\n\t\t\t}, 300);\r\n\t\t}\r\n\t},\r\n\r\n\tscrollIntoView(elementId) {\r\n\t\tconst target = document.getElementById(elementId);\r\n\t\ttarget.scrollIntoView();\r\n\t},\r\n\r\n};\r\n\r\n// export const isStateLess = Component => !Component.prototype.render;\r\n","import moment from 'moment-timezone';\nimport { constants, env } from '@config';\n\nfunction toUsaFormat(num, precision = 2) {\n\treturn num.toLocaleString('en-US', { minimumFractionDigits: precision, maximumFractionDigits: precision });\n}\n\nmodule.exports = {\n\ttoUsaFormat,\n\ttoUsaBigNumFormat(num) {\n\t\tif (Math.abs(num) >= 1.0e+9) {\n\t\t\treturn `${toUsaFormat(num / 1.0e+9)}B`;\n\t\t} else if (Math.abs(num) >= 1.0e+6) {\n\t\t\treturn `${toUsaFormat(num / 1.0e+6)}M`;\n\t\t} else if (Math.abs(num) >= 1.0e+3) {\n\t\t\treturn `${toUsaFormat(num / 1.0e+3)}K`;\n\t\t}\n\t\treturn `${toUsaFormat(num)}`;\n\t},\n\ttoUsaSizeFormat(num) {\n\t\tif (Math.abs(num) >= 1.0e+9) {\n\t\t\treturn `${toUsaFormat(num / 1.0e+9, 0)} Bb`;\n\t\t} else if (Math.abs(num) >= 1.0e+6) {\n\t\t\treturn `${toUsaFormat(num / 1.0e+6, 0)} Mb`;\n\t\t} else if (Math.abs(num) >= 1.0e+3) {\n\t\t\treturn `${toUsaFormat(num / 1.0e+3, 0)} Kb`;\n\t\t}\n\t\treturn `${toUsaFormat(num, 0)} bytes`;\n\t},\n\ttoUsaDateFormat(date) {\n\t\treturn moment(date).format('D MMM YYYY');\n\t},\n\ttoUsaDateFormatFromUtc(date, format = 'D MMM YYYY') {\n\t\treturn date ? moment.utc(date).local().format(format) : '';\n\t},\n\ttoUsaMoneyFormat(num, precision = 2) {\n\t\treturn typeof num !== 'number' ? '' :\n\t\t\tnum.toLocaleString('en-US', {\n\t\t\t\tminimumFractionDigits: precision, maximumFractionDigits: precision, currency: 'USD', style: 'currency',\n\t\t\t});\n\t},\n\ttoMoneyFormat(summ, precision = 2) {\n\t\treturn this.toUsaMoneyFormat(summ, precision);\n\t},\n\tformatDateAsTimeZone(date, format = 'L LTS') {\n\t\treturn date ? moment.tz(date, 'America/New_York').format(format) : '';\n\t},\n\tformatDateAsUtc(date, format = 'L') {\n\t\treturn date ? moment.utc(date).format(format) : '';\n\t},\n\tparseMomentDate(date) {\n\t\tif ((typeof date) === 'object') {\n\t\t\treturn date.toISOString();\n\t\t}\n\t\treturn undefined;\n\t},\n\tdateDiffInDays(firstDate, secondDate) {\n\t\tconst MS_PER_DAY = 1000 * 60 * 60 * 24;\n\t\treturn Math.floor((firstDate - secondDate) / MS_PER_DAY);\n\t},\n\tgetDateTimeEst(date = new Date()) {\n\t\tif (typeof date === 'string') {\n\t\t\treturn new Date(new Date(date).toLocaleString('en-US', {\n\t\t\t\ttimeZone: 'America/New_York',\n\t\t\t}));\n\t\t}\n\n\t\treturn new Date(date.toLocaleString('en-US', {\n\t\t\ttimeZone: 'America/New_York',\n\t\t}));\n\t},\n\tprecisionRound(number, precision = 2) {\n\t\tconst factor = 10 ** precision;\n\t\treturn Math.round((number + Number.EPSILON) * factor) / factor;\n\t},\n};\n","var map = {\n\t\"./af\": 587,\n\t\"./af.js\": 587,\n\t\"./ar\": 588,\n\t\"./ar-dz\": 589,\n\t\"./ar-dz.js\": 589,\n\t\"./ar-kw\": 590,\n\t\"./ar-kw.js\": 590,\n\t\"./ar-ly\": 591,\n\t\"./ar-ly.js\": 591,\n\t\"./ar-ma\": 592,\n\t\"./ar-ma.js\": 592,\n\t\"./ar-sa\": 593,\n\t\"./ar-sa.js\": 593,\n\t\"./ar-tn\": 594,\n\t\"./ar-tn.js\": 594,\n\t\"./ar.js\": 588,\n\t\"./az\": 595,\n\t\"./az.js\": 595,\n\t\"./be\": 596,\n\t\"./be.js\": 596,\n\t\"./bg\": 597,\n\t\"./bg.js\": 597,\n\t\"./bm\": 598,\n\t\"./bm.js\": 598,\n\t\"./bn\": 599,\n\t\"./bn-bd\": 600,\n\t\"./bn-bd.js\": 600,\n\t\"./bn.js\": 599,\n\t\"./bo\": 601,\n\t\"./bo.js\": 601,\n\t\"./br\": 602,\n\t\"./br.js\": 602,\n\t\"./bs\": 603,\n\t\"./bs.js\": 603,\n\t\"./ca\": 604,\n\t\"./ca.js\": 604,\n\t\"./cs\": 605,\n\t\"./cs.js\": 605,\n\t\"./cv\": 606,\n\t\"./cv.js\": 606,\n\t\"./cy\": 607,\n\t\"./cy.js\": 607,\n\t\"./da\": 608,\n\t\"./da.js\": 608,\n\t\"./de\": 609,\n\t\"./de-at\": 610,\n\t\"./de-at.js\": 610,\n\t\"./de-ch\": 611,\n\t\"./de-ch.js\": 611,\n\t\"./de.js\": 609,\n\t\"./dv\": 612,\n\t\"./dv.js\": 612,\n\t\"./el\": 613,\n\t\"./el.js\": 613,\n\t\"./en-au\": 614,\n\t\"./en-au.js\": 614,\n\t\"./en-ca\": 615,\n\t\"./en-ca.js\": 615,\n\t\"./en-gb\": 616,\n\t\"./en-gb.js\": 616,\n\t\"./en-ie\": 617,\n\t\"./en-ie.js\": 617,\n\t\"./en-il\": 618,\n\t\"./en-il.js\": 618,\n\t\"./en-in\": 619,\n\t\"./en-in.js\": 619,\n\t\"./en-nz\": 620,\n\t\"./en-nz.js\": 620,\n\t\"./en-sg\": 621,\n\t\"./en-sg.js\": 621,\n\t\"./eo\": 622,\n\t\"./eo.js\": 622,\n\t\"./es\": 623,\n\t\"./es-do\": 624,\n\t\"./es-do.js\": 624,\n\t\"./es-mx\": 625,\n\t\"./es-mx.js\": 625,\n\t\"./es-us\": 626,\n\t\"./es-us.js\": 626,\n\t\"./es.js\": 623,\n\t\"./et\": 627,\n\t\"./et.js\": 627,\n\t\"./eu\": 628,\n\t\"./eu.js\": 628,\n\t\"./fa\": 629,\n\t\"./fa.js\": 629,\n\t\"./fi\": 630,\n\t\"./fi.js\": 630,\n\t\"./fil\": 631,\n\t\"./fil.js\": 631,\n\t\"./fo\": 632,\n\t\"./fo.js\": 632,\n\t\"./fr\": 633,\n\t\"./fr-ca\": 634,\n\t\"./fr-ca.js\": 634,\n\t\"./fr-ch\": 635,\n\t\"./fr-ch.js\": 635,\n\t\"./fr.js\": 633,\n\t\"./fy\": 636,\n\t\"./fy.js\": 636,\n\t\"./ga\": 637,\n\t\"./ga.js\": 637,\n\t\"./gd\": 638,\n\t\"./gd.js\": 638,\n\t\"./gl\": 639,\n\t\"./gl.js\": 639,\n\t\"./gom-deva\": 640,\n\t\"./gom-deva.js\": 640,\n\t\"./gom-latn\": 641,\n\t\"./gom-latn.js\": 641,\n\t\"./gu\": 642,\n\t\"./gu.js\": 642,\n\t\"./he\": 643,\n\t\"./he.js\": 643,\n\t\"./hi\": 644,\n\t\"./hi.js\": 644,\n\t\"./hr\": 645,\n\t\"./hr.js\": 645,\n\t\"./hu\": 646,\n\t\"./hu.js\": 646,\n\t\"./hy-am\": 647,\n\t\"./hy-am.js\": 647,\n\t\"./id\": 648,\n\t\"./id.js\": 648,\n\t\"./is\": 649,\n\t\"./is.js\": 649,\n\t\"./it\": 650,\n\t\"./it-ch\": 651,\n\t\"./it-ch.js\": 651,\n\t\"./it.js\": 650,\n\t\"./ja\": 652,\n\t\"./ja.js\": 652,\n\t\"./jv\": 653,\n\t\"./jv.js\": 653,\n\t\"./ka\": 654,\n\t\"./ka.js\": 654,\n\t\"./kk\": 655,\n\t\"./kk.js\": 655,\n\t\"./km\": 656,\n\t\"./km.js\": 656,\n\t\"./kn\": 657,\n\t\"./kn.js\": 657,\n\t\"./ko\": 658,\n\t\"./ko.js\": 658,\n\t\"./ku\": 659,\n\t\"./ku.js\": 659,\n\t\"./ky\": 660,\n\t\"./ky.js\": 660,\n\t\"./lb\": 661,\n\t\"./lb.js\": 661,\n\t\"./lo\": 662,\n\t\"./lo.js\": 662,\n\t\"./lt\": 663,\n\t\"./lt.js\": 663,\n\t\"./lv\": 664,\n\t\"./lv.js\": 664,\n\t\"./me\": 665,\n\t\"./me.js\": 665,\n\t\"./mi\": 666,\n\t\"./mi.js\": 666,\n\t\"./mk\": 667,\n\t\"./mk.js\": 667,\n\t\"./ml\": 668,\n\t\"./ml.js\": 668,\n\t\"./mn\": 669,\n\t\"./mn.js\": 669,\n\t\"./mr\": 670,\n\t\"./mr.js\": 670,\n\t\"./ms\": 671,\n\t\"./ms-my\": 672,\n\t\"./ms-my.js\": 672,\n\t\"./ms.js\": 671,\n\t\"./mt\": 673,\n\t\"./mt.js\": 673,\n\t\"./my\": 674,\n\t\"./my.js\": 674,\n\t\"./nb\": 675,\n\t\"./nb.js\": 675,\n\t\"./ne\": 676,\n\t\"./ne.js\": 676,\n\t\"./nl\": 677,\n\t\"./nl-be\": 678,\n\t\"./nl-be.js\": 678,\n\t\"./nl.js\": 677,\n\t\"./nn\": 679,\n\t\"./nn.js\": 679,\n\t\"./oc-lnc\": 680,\n\t\"./oc-lnc.js\": 680,\n\t\"./pa-in\": 681,\n\t\"./pa-in.js\": 681,\n\t\"./pl\": 682,\n\t\"./pl.js\": 682,\n\t\"./pt\": 683,\n\t\"./pt-br\": 684,\n\t\"./pt-br.js\": 684,\n\t\"./pt.js\": 683,\n\t\"./ro\": 685,\n\t\"./ro.js\": 685,\n\t\"./ru\": 686,\n\t\"./ru.js\": 686,\n\t\"./sd\": 687,\n\t\"./sd.js\": 687,\n\t\"./se\": 688,\n\t\"./se.js\": 688,\n\t\"./si\": 689,\n\t\"./si.js\": 689,\n\t\"./sk\": 690,\n\t\"./sk.js\": 690,\n\t\"./sl\": 691,\n\t\"./sl.js\": 691,\n\t\"./sq\": 692,\n\t\"./sq.js\": 692,\n\t\"./sr\": 693,\n\t\"./sr-cyrl\": 694,\n\t\"./sr-cyrl.js\": 694,\n\t\"./sr.js\": 693,\n\t\"./ss\": 695,\n\t\"./ss.js\": 695,\n\t\"./sv\": 696,\n\t\"./sv.js\": 696,\n\t\"./sw\": 697,\n\t\"./sw.js\": 697,\n\t\"./ta\": 698,\n\t\"./ta.js\": 698,\n\t\"./te\": 699,\n\t\"./te.js\": 699,\n\t\"./tet\": 700,\n\t\"./tet.js\": 700,\n\t\"./tg\": 701,\n\t\"./tg.js\": 701,\n\t\"./th\": 702,\n\t\"./th.js\": 702,\n\t\"./tk\": 703,\n\t\"./tk.js\": 703,\n\t\"./tl-ph\": 704,\n\t\"./tl-ph.js\": 704,\n\t\"./tlh\": 705,\n\t\"./tlh.js\": 705,\n\t\"./tr\": 706,\n\t\"./tr.js\": 706,\n\t\"./tzl\": 707,\n\t\"./tzl.js\": 707,\n\t\"./tzm\": 708,\n\t\"./tzm-latn\": 709,\n\t\"./tzm-latn.js\": 709,\n\t\"./tzm.js\": 708,\n\t\"./ug-cn\": 710,\n\t\"./ug-cn.js\": 710,\n\t\"./uk\": 711,\n\t\"./uk.js\": 711,\n\t\"./ur\": 712,\n\t\"./ur.js\": 712,\n\t\"./uz\": 713,\n\t\"./uz-latn\": 714,\n\t\"./uz-latn.js\": 714,\n\t\"./uz.js\": 713,\n\t\"./vi\": 715,\n\t\"./vi.js\": 715,\n\t\"./x-pseudo\": 716,\n\t\"./x-pseudo.js\": 716,\n\t\"./yo\": 717,\n\t\"./yo.js\": 717,\n\t\"./zh-cn\": 718,\n\t\"./zh-cn.js\": 718,\n\t\"./zh-hk\": 719,\n\t\"./zh-hk.js\": 719,\n\t\"./zh-mo\": 720,\n\t\"./zh-mo.js\": 720,\n\t\"./zh-tw\": 721,\n\t\"./zh-tw.js\": 721\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 959;","module.exports = {\n\tcapitalizeFirstLetter(string) {\n\t\treturn string.charAt(0).toUpperCase() + string.slice(1);\n\t},\n};\n","import i18n from 'i18next';\n\nconst JsonRegExpRuEnDigitsAndPunctuationOnly = '[a-zA-Zа-яА-ЯёЁ]';\nconst JsonRegExpZhEnDigitsAndPunctuationOnly = '[a-zA-Z\\\\u4e00-\\\\u9fff]';\nconst JsonRegExpEnDigitsAndPunctuationOnly = '[a-zA-Z]';\nconst orSigns = pattern => '^(?:' + pattern + '|[\\\\s\\\\d!\"#№$%&\\'()*+,-.\\\\\\\\/:;<=>?@[\\\\^_`{|}~«»\\\\r\\\\n]|\\\\])*$';\nconst RegExpEnRuZhDigitsAndPunctuationOnly = {\n\ten: {\n\t\tpattern: JsonRegExpEnDigitsAndPunctuationOnly,\n\t\terrorMessage: 'shared_allowed_only_latin_letters',\n\t\tisDefault: true,\n\t},\n\tru: {\n\t\tpattern: JsonRegExpRuEnDigitsAndPunctuationOnly,\n\t\terrorMessage: 'shared_allowed_only_russianor_latin_letters',\n\t},\n\tzh: {\n\t\tpattern: JsonRegExpZhEnDigitsAndPunctuationOnly,\n\t\terrorMessage: 'shared_allowed_only_chinese_or_latin_letters',\n\t},\n};\n\n/**\n * Возвращает перевод по дикворду\n * @id дикворд;\n * @defaultValue значение по умолчанию если не найен перевод;\n * @options Значения для параметризованного дикворда;\n * @showDicwordsKeys Признак необходимости отображения кода дикворда\n * Внутри компонентов лучше использовать useTranslate, т.к.эта функция не отслеживает изменения стейта\n */\nfunction translate(\n\tid,\n\tdefaultValue,\n\toptions = null,\n) {\n\tconst { showDicwordsKeys } = window.store.getState().app;\n\tconst dw = showDicwordsKeys ? `[[${id}]] ` : '';\n\t// пока идет инициализация возвращается null, поэтому нужно этом случае принудительно подставлять дефолтное значение.\n\t// после инициализации t сама возвращает по дефолту id, поэтому используется defaultValue в опциях.\n\treturn dw + (i18n.t(id, { ...(options || {}), defaultValue }) || defaultValue || id);\n}\n\nmodule.exports = {\n\tcheckLettersForLang(str, lang) {\n\t\tconst rule = RegExpEnRuZhDigitsAndPunctuationOnly[lang || 'en'] || RegExpEnRuZhDigitsAndPunctuationOnly.en;\n\t\tconst re = new RegExp(orSigns(rule.pattern), 'gi');\n\t\treturn re.test(str) ? undefined : rule.errorMessage;\n\t},\n\ttranslate,\n};\n\n","module.exports = {\r\n\tcaptureException(title, error) {\r\n\t\tif (error && error.message !== 'Unauthorized') {\r\n\t\t\tRaven.captureException(error, { extra: { title } });\r\n\t\t}\r\n\t},\r\n};\r\n","import React from 'react';\n\n// Регулярные выражения для поиска всяких нехороших символов и сочетаний\nconst checkNotSecure = [\n\t// Скобки сами по себе опасны\n\tnew RegExp('[><{}]', 'i'),\n\t// кавычки или пробел после которых начинается нечто похожее на html - атрибут обработчика события\n\tnew RegExp('[\\\\s\\'\"`]+(?=on\\\\S+\\\\s*=)', 'i'),\n\t// двойные слеши, -\n\tnew RegExp('([\\\\-\\\\\\\\\\\\/])(?=\\\\1)'),\n\t// попытки вписать комментарий\n\tnew RegExp('//|\\\\\\\\|\\\\*/|/\\\\*'),\n];\n\nexport function\tvalidateSecureString(value) {\n\tif (!value)\treturn undefined;\n\tif (checkNotSecure.some(re => re.test(value))) {\n\t\treturn 'Invalid characters';\n\t}\n\treturn undefined;\n}\n","export const valueOrEmpty = val => val || '';\n","const DATA_QA_ATTR = 'data-qa';\n\nfunction createQAAttribute(qaAttributeValue) {\n\treturn qaAttributeValue ? { [DATA_QA_ATTR]: qaAttributeValue } : {};\n}\n\nfunction createInputQAAttributes(qaAttributeValue) {\n\treturn qaAttributeValue\n\t\t? {\n\t\t\ttitle: { [DATA_QA_ATTR]: `${qaAttributeValue}_title` },\n\t\t\tvalue: { [DATA_QA_ATTR]: `${qaAttributeValue}_value` },\n\t\t}\n\t\t: {};\n}\n\nmodule.exports = { createQAAttribute, createInputQAAttributes };\n","const isValueEmpty = val => val == null || val === undefined || val === '' || (Array.isArray(val) && val.length === 0);\n\nexport const markAsTouched = (anyTouched, form, touchField, excludeFields = []) => {\n\tif (anyTouched) {\n\t\treturn;\n\t}\n\n\tif (form && form.initial && form.syncErrors) {\n\t\tconst isNotEmpty = Object.entries(form.initial).some(([key, value]) => !excludeFields.includes(key) && !isValueEmpty(value));\n\n\t\tif (isNotEmpty) {\n\t\t\ttouchField(Object.keys(form.syncErrors));\n\t\t}\n\t}\n};\n","import { createTheme } from '@material-ui/core/styles';\r\nimport blue from '@material-ui/core/colors/blue';\r\nimport green from '@material-ui/core/colors/green';\r\nimport red from '@material-ui/core/colors/red';\r\nimport createBreakpoints from '@material-ui/core/styles/createBreakpoints';\r\n// Based on https://app.zeplin.io/project/5a6ed307163440c3e15247d9/screen/5a97da1b61f517c8b851fe6e\r\n\r\nconst breakpoints = createBreakpoints({\r\n\tvalues: {\r\n\t\tlg: 1280,\r\n\t\tmd: 1024,\r\n\t\tsm: 600,\r\n\t\txl: 1920,\r\n\t\txs: 0,\r\n\t},\r\n});\r\n\r\nconst theme = {\r\n\tbreakpoints,\r\n\tpalette: {\r\n\t\tlime: {\r\n\t\t\tprimary: {\r\n\t\t\t\tdefault: 'rgba(59, 145, 38, 1)',\r\n\t\t\t\thover: 'rgba(53, 130, 60, 1)',\r\n\t\t\t\tpressed: 'rgba(38, 110, 57, 1)',\r\n\t\t\t\ttextDefault: 'rgba(255, 255, 255, 1)',\r\n\t\t\t},\r\n\t\t\tsecondary: {\r\n\t\t\t\tdefault: 'rgba(133, 219, 46, 0.16)',\r\n\t\t\t\thover: 'rgba(127, 214, 41, 0.24)',\r\n\t\t\t\tpressed: 'rgba(110, 212, 42, 0.32)',\r\n\t\t\t\ttextDefault: 'rgba(47, 138, 33, 1)',\r\n\t\t\t\ttextHover: 'rgba(47, 115, 55, 1)',\r\n\t\t\t\ttextPressed: 'rgba(32, 92, 50, 1)',\r\n\t\t\t},\r\n\t\t},\r\n\t\ttext: {\r\n\t\t\tsecondary: '#7d9eb7',\r\n\t\t},\r\n\t\tcolor: {\r\n\t\t\tprimary: {\r\n\t\t\t\tblack: '#345464',\r\n\t\t\t\tblue: '#1a96ff',\r\n\t\t\t\tlightBlue: '#78aaff',\r\n\t\t\t\twhite: '#f9fcfd',\r\n\t\t\t\tattestationBackground: 'rgba(200, 237, 249, 0.3)',\r\n\t\t\t},\r\n\t\t\tsecondary: {\r\n\t\t\t\tup: '#11d87c',\r\n\t\t\t\tupDark: '#04c070',\r\n\t\t\t\tdown: '#ff6567',\r\n\t\t\t\tdownDark: '#ed5153',\r\n\t\t\t\tlimitOrder: '#f9d113',\r\n\t\t\t\tgray: '#7d9eb7',\r\n\t\t\t\tdisable: '#b3c9d9',\r\n\t\t\t\tselect: '#e3edf5',\r\n\t\t\t\tcard: '#ffffff',\r\n\t\t\t},\r\n\t\t},\r\n\t\tprimary: {\r\n\t\t\tmain: '#1a96ff',\r\n\t\t\tdark: '#345464',\r\n\t\t\tlight: '#78aaff',\r\n\t\t\twhite: '#f9fcfd',\r\n\t\t},\r\n\t\twarning: {\r\n\t\t\tlight: '#ffff57',\r\n\t\t\tmain: '#f9d113',\r\n\t\t\tdark: '#c2a000',\r\n\t\t\tcontrastText: '#000000',\r\n\t\t},\r\n\t},\r\n\tcustomstyles: {\r\n\t\ttitle: {\r\n\t\t\tfontSize: '18px',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\tlineHeight: '28px',\r\n\t\t\tletterSpacing: 'normal',\r\n\t\t},\r\n\t\tbody: {\r\n\t\t\tfontSize: '14px',\r\n\t\t\tcolor: 'inherit',\r\n\t\t\tfontWeight: 'normal',\r\n\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\tlineHeight: '24px',\r\n\t\t\tletterSpacing: 'normal',\r\n\t\t},\r\n\t},\r\n\ttypography: {\r\n\t\tcolor: {\r\n\t\t\tprimary: '#345464',\r\n\t\t\tsecondary: '#7d9eb7',\r\n\t\t\tdisable: '#b3c9d9',\r\n\t\t\tlink: '#78aaff',\r\n\t\t\twhite: '#f9fcfd',\r\n\t\t\tyellow: '#f9d113',\r\n\t\t\tpink: '#f7eaeb',\r\n\t\t\tred: '#ff6567',\r\n\t\t\tmuiError: '#f44336',\r\n\t\t\tdarkRed: red[400],\r\n\t\t\tlightRed: red[50],\r\n\t\t\tgreen: '#11d87c',\r\n\t\t\tdarkGreen: green[400],\r\n\t\t\tlightGreen: green[200],\r\n\t\t\tblue: '#1a96ff',\r\n\t\t\tdarkBlue: blue[400],\r\n\t\t},\r\n\t\tstyle: {\r\n\t\t\tdisplay: {\r\n\t\t\t\tfontSize: '64px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 300,\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tletterSpacing: '-.4px',\r\n\t\t\t\tlineHeight: '72px',\r\n\t\t\t},\r\n\t\t\theadline1: {\r\n\t\t\t\tfontSize: '34px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '40px',\r\n\t\t\t},\r\n\t\t\theadlineSm: {\r\n\t\t\t\tfontSize: '30px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '36px',\r\n\t\t\t},\r\n\t\t\theadline2: {\r\n\t\t\t\tfontSize: '28px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 'bold',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '38px',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t},\r\n\t\t\tsubheading: {\r\n\t\t\t\tfontSize: '24px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '32px',\r\n\t\t\t\tletterSpacing: '-0.2px',\r\n\t\t\t},\r\n\t\t\tsubheadingSm: {\r\n\t\t\t\tfontSize: '22px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '32px',\r\n\t\t\t\tletterSpacing: '-0.2px',\r\n\t\t\t},\r\n\t\t\ttitle: {\r\n\t\t\t\tfontSize: '18px',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '28px',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t},\r\n\t\t\tbody: {\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '24px',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t},\r\n\t\t\tbutton: {\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: '500',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '24px',\r\n\t\t\t\ttextTransform: 'uppercase',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t},\r\n\t\t\tbuttonLime: {\r\n\t\t\t\tfontSize: '16px',\r\n\t\t\t\tfontWeight: '500',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif;',\r\n\t\t\t\tlineHeight: '24px',\r\n\t\t\t\ttextTransform: 'none',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t},\r\n\t\t\tstickyButton: {\r\n\t\t\t\tbackgroundColor: '#f9fcfd',\r\n\t\t\t\tbottom: 0,\r\n\t\t\t\tpaddingTop: '15px',\r\n\t\t\t\tmarginTop: '30px', // transparent back color when margin\r\n\t\t\t\tpaddingBottom: '45px',\r\n\t\t\t\tposition: 'sticky',\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tnewTypography: {\r\n\t\tcolor: {\r\n\t\t\twhite: '#ffffff',\r\n\t\t\tblack: '#152238',\r\n\t\t\tgreen: '#357B24',\r\n\t\t},\r\n\t\tstyle: {\r\n\t\t\theadline2: {\r\n\t\t\t\tfontSize: '30px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 700,\r\n\t\t\t\tfontFamily: '\"Enigma\", sans-serif',\r\n\t\t\t\tlineHeight: '30px',\r\n\t\t\t},\r\n\t\t\tbody: {\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Inter\", sans-serif',\r\n\t\t\t\tlineHeight: '24px',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\ttable: {\r\n\t\tdefault: {\r\n\t\t\twidth: '100%',\r\n\t\t\tverticalAlign: 'top',\r\n\t\t\tborderCollapse: 'collapse',\r\n\t\t\t'& thead tr': {\r\n\t\t\t\tborderTop: '1px solid #deeaef',\r\n\t\t\t\tborderBottom: '3px solid #deeaef',\r\n\t\t\t},\r\n\t\t\t'& th': {\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '24px',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t\tcolor: '#7d9eb7',\r\n\t\t\t\tpadding: '5px 10px',\r\n\t\t\t\tverticalAlign: 'top',\r\n\t\t\t\ttextAlign: 'left',\r\n\t\t\t},\r\n\t\t\t'& td': {\r\n\t\t\t\tpadding: '5px 10px',\r\n\t\t\t\ttextAlign: 'left',\r\n\t\t\t},\r\n\t\t\t'& tbody': {\r\n\t\t\t\tverticalAlign: 'top',\r\n\t\t\t\t'& tr': {\r\n\t\t\t\t\tborderBottom: '1px solid #deeaef',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tdivTable: {\r\n\t\t\ttable: {\r\n\t\t\t\tdisplay: 'table',\r\n\t\t\t\twidth: '100%',\r\n\t\t\t\tverticalAlign: 'top',\r\n\t\t\t\tborderCollapse: 'collapse',\r\n\t\t\t},\r\n\t\t\tbodyRow: {\r\n\t\t\t\tdisplay: 'table-row',\r\n\t\t\t\tborderBottom: '1px solid #deeaef',\r\n\t\t\t},\r\n\t\t\theadRow: {\r\n\t\t\t\tdisplay: 'table-row',\r\n\t\t\t\tborderTop: '1px solid #deeaef',\r\n\t\t\t\tborderBottom: '3px solid #deeaef',\r\n\t\t\t},\r\n\t\t\tbodyCell: {\r\n\t\t\t\tdisplay: 'table-cell',\r\n\t\t\t\tpadding: '0 10px',\r\n\t\t\t\tlineHeight: '30px',\r\n\t\t\t\ttextAlign: 'left',\r\n\t\t\t},\r\n\t\t\theadCell: {\r\n\t\t\t\tdisplay: 'table-cell',\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t\tfontWeight: 'normal',\r\n\t\t\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\r\n\t\t\t\tlineHeight: '24px',\r\n\t\t\t\tletterSpacing: 'normal',\r\n\t\t\t\tcolor: '#7d9eb7',\r\n\t\t\t\tpadding: '0 10px',\r\n\t\t\t\tverticalAlign: 'top',\r\n\t\t\t\ttextAlign: 'left',\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tfontSize: 18,\r\n\toverrides: {\r\n\t\tMuiInputBase: {\r\n\t\t\tformControl: {\r\n\t\t\t\t'label + &': {\r\n\t\t\t\t\tmarginTop: '16px',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiSvgIcon: {\r\n\t\t\troot: {\r\n\t\t\t\tcolor: 'inherit',\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiMenuItem: {\r\n\t\t\troot: {\r\n\t\t\t\tpaddingTop: '12px',\r\n\t\t\t\tpaddingBottom: '12px',\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiListItem: {\r\n\t\t\troot: {\r\n\t\t\t\t'&.Mui-selected': {\r\n\t\t\t\t\tbackgroundColor: 'rgba(0, 0, 0, 0.14)',\r\n\t\t\t\t},\r\n\t\t\t\t'&.Mui-selected:hover': {\r\n\t\t\t\t\tbackgroundColor: 'rgba(0, 0, 0, 0.14)',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tgutters: {\r\n\t\t\t\t[breakpoints.up('sm')]: {\r\n\t\t\t\t\tpaddingLeft: '24px',\r\n\t\t\t\t\tpaddingRight: '24px',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tbutton: {\r\n\t\t\t\t'&:hover': {\r\n\t\t\t\t\tbackgroundColor: 'rgba(0, 0, 0, 0.08)',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiFormLabel: {\r\n\t\t\troot: {\r\n\t\t\t\t'&.Mui-focused': {\r\n\t\t\t\t\tcolor: '#7d9eb7',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n};\r\n\r\nexport default createTheme(theme);\r\n","import {env} from '@config';\n\n\nimport ruLangImg from '@global/img/RUS.png';\nimport enLangImg from '@global/img/ENG.png';\nimport esLangImg from '@global/img/spain.png';\nimport zhLangImg from '@global/img/china.png';\nimport plLangImg from '@global/img/poland.png';\nimport ukLangImg from '@global/img/ukraine.png';\nimport msLangImg from '@global/img/malaysia3.png';\nimport koLangImg from '@global/img/korea.png';\n\n// locales for dates and ints in app\n// Выбираем по одному, чтобы в сборку попали только нужные данные, а не всё вместе\nimport intlEn from 'react-intl/locale-data/en'; // Английский\nimport intlEs from 'react-intl/locale-data/es'; // Испанский\nimport intlMs from 'react-intl/locale-data/ms'; // Малазийский\nimport intlPl from 'react-intl/locale-data/pl'; // Польский\nimport intlRu from 'react-intl/locale-data/ru'; // Русский\nimport intlUk from 'react-intl/locale-data/uk'; // Украинский\nimport intlZh from 'react-intl/locale-data/zh'; // Китайский\nimport intlKo from 'react-intl/locale-data/ko'; // Корейский\n\n\nconst allDicWordLanguages = [\n\t{\n\t\tlanguage: 'en',\n\t\ticon: enLangImg,\n\t\tdisplayName: 'English',\n\t\tdicWordKey: 'en_lang',\n\t\tintlLocale: intlEn,\n\t\tsharedTranslate: {},\n\t},\n\t{\n\t\tlanguage: 'ru',\n\t\ticon: ruLangImg,\n\t\tdisplayName: 'Русский',\n\t\tdicWordKey: 'ru_lang',\n\t\tintlLocale: intlRu,\n\t\tsharedTranslate: {},\n\t},\n\t{\n\t\tlanguage: 'zh',\n\t\ticon: zhLangImg,\n\t\tdisplayName: '中文',\n\t\tdicWordKey: 'zh_lang',\n\t\tintlLocale: intlZh,\n\t\tsharedTranslate: {},\n\t},\n\t{\n\t\tlanguage: 'es',\n\t\ticon: esLangImg,\n\t\tdisplayName: 'Español',\n\t\tdicWordKey: 'es_lang',\n\t\tintlLocale: intlEs,\n\t\tsharedTranslate: {},\n\t},\n\t{\n\t\tlanguage: 'pl',\n\t\ticon: plLangImg,\n\t\tdisplayName: 'Polski',\n\t\tdicWordKey: 'pl_lang',\n\t\tintlLocale: intlPl,\n\t\tsharedTranslate: {},\n\t},\n\t{\n\t\tlanguage: 'uk',\n\t\ticon: ukLangImg,\n\t\tdisplayName: 'Українська',\n\t\tdicWordKey: 'uk_lang',\n\t\tintlLocale: {},\n\t},\n\t{\n\t\tlanguage: 'ms',\n\t\ticon: msLangImg,\n\t\tdisplayName: 'Malay',\n\t\tdicWordKey: 'ms_lang',\n\t\tintlLocale: {},\n\t},\n\t{\n\t\tlanguage: 'ko',\n\t\ticon: koLangImg,\n\t\tdisplayName: '한국어',\n\t\tdicWordKey: 'ko_lang',\n\t\tintlLocale: intlKo,\n\t},\n];\n\nexport const getAllowedLanguages = () => {\n\tif (env.allowedLangs) {\n\t\treturn allDicWordLanguages.filter(x => env.allowedLangs.indexOf(x.language) >= 0);\n\t}\n\treturn allDicWordLanguages.filter(x => x.language === 'en');\n};\n\n// // set allowed languages\nexport const setAlowedLanguages = (langs) => {\n\treturn langs && langs.length ?\n\t\tgetAllowedLanguages().filter(item => langs.some(x => x === item.language)) :\n\t\tgetAllowedLanguages();\n};\n\n","module.exports = __webpack_public_path__ + \"content/assets/ba0685972715dacc8674c8bf5aebcaf9.png\";","module.exports = __webpack_public_path__ + \"content/assets/95a41fe9f22e4a787a530aa3ec97f6cb.png\";","module.exports = __webpack_public_path__ + \"content/assets/c45ebb9fd195934805a674f1d1f1b18c.png\";","module.exports = __webpack_public_path__ + \"content/assets/1dcd4452dbb84010e7b31164fd024e95.png\";","module.exports = __webpack_public_path__ + \"content/assets/377cf91fd3a3e668f9e2be5b8f3e7cfb.png\";","module.exports = __webpack_public_path__ + \"content/assets/92347ec63a20ec5e7f755dbbfd250b9a.png\";","module.exports = __webpack_public_path__ + \"content/assets/cf845c13977302fc6cfec75d895bb8d2.png\";","module.exports = __webpack_public_path__ + \"content/assets/891497c56f136d31da064f9f062af9d9.png\";","import React, { useEffect, useState } from 'react';\r\nimport classNames from 'classnames';\r\nimport { Provider } from 'react-redux';\r\nimport { ConnectedRouter } from 'connected-react-router';\r\nimport moment from 'moment';\r\nimport ReactGA from 'react-ga';\r\nimport TagManager from 'react-gtm-module';\r\nimport { MuiThemeProvider } from '@material-ui/core/styles';\r\nimport CssBaseline from '@material-ui/core/CssBaseline';\r\nimport { TxGlobalAuth } from '@finam/tx-auth-widget';\r\nimport { env, getAllowedLanguages } from '@config';\r\nimport { auth, app } from '@redux';\r\nimport { cabinetLog, globalState } from '@global';\r\nimport { ErrorCatcher, FullScreenProgressContainer } from '@components';\r\nimport { addLocaleData } from 'react-intl';\r\nimport i18next from 'i18next';\r\nimport Backend from 'i18next-http-backend';\r\nimport { initReactI18next } from 'react-i18next';\r\nimport { Cookies } from 'react-cookie';\r\nimport * as qs from 'query-string';\r\nimport { theme } from './config';\r\nimport configureStore from './core/redux/store';\r\nimport RootRoutes from './views/RootRoutes';\r\nimport { Snackbar } from './views/DashboardView/components';\r\nimport { TranslateContextProvider } from './views/components/R/TranslateContext';\r\nimport './global.css';\r\n\r\nconst { store, history } = configureStore();\r\n\r\nconst setMomentLocale = (language) => {\r\n\tswitch (language) {\r\n\t\tcase 'zh':\r\n\t\t\tmoment.locale('zh-cn');\r\n\t\t\tbreak;\r\n\t\tcase 'en':\r\n\t\t\tmoment.locale('en-us');\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tmoment.locale(language);\r\n\t\t\tbreak;\r\n\t}\r\n};\r\n\r\nconst loadLocaleData = (language) => {\r\n\tconst lang = getAllowedLanguages().find(x => x.language === language);\r\n\tif (lang) {\r\n\t\taddLocaleData([...lang.intlLocale]);\r\n\t\tsetMomentLocale(language);\r\n\t} else {\r\n\t\t// defaults\r\n\t\taddLocaleData([...intlEn]);\r\n\t\tsetMomentLocale('en');\r\n\t}\r\n};\r\n\r\nconst useResizeActions = () => {\r\n\tconst onResize = () => {\r\n\t\tlet resolution = app.CONFIG.RESOLUTIONS_ENUM.xl;\r\n\t\tconst width = window.innerWidth;\r\n\t\tconst { values } = theme.breakpoints;\r\n\t\tif (width < values.xl) resolution = app.CONFIG.RESOLUTIONS_ENUM.lg;\r\n\t\tif (width < values.lg) resolution = app.CONFIG.RESOLUTIONS_ENUM.md;\r\n\t\tif (width < values.md) resolution = app.CONFIG.RESOLUTIONS_ENUM.sm;\r\n\t\tif (width < values.sm) resolution = app.CONFIG.RESOLUTIONS_ENUM.xs;\r\n\r\n\t\tif (app.selectors.resolution(store.getState()) !== resolution) {\r\n\t\t\tstore.dispatch(app.actions.setResolution(resolution));\r\n\t\t}\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\twindow.addEventListener('resize', onResize);\r\n\t\tonResize();\r\n\t\treturn () => {\r\n\t\t\twindow.removeEventListener('resize', onResize);\r\n\t\t};\r\n\t}, []);\r\n};\r\n\r\nconst useApiVersionSynchronization = () => {\r\n\tconst checkActualVersion = () => {\r\n\t\tconst checkTime = localStorage.getItem('verstm');\r\n\t\tconst curTime = moment().format('YYYYMMDD');\r\n\t\tif (!checkTime || checkTime !== curTime) {\r\n\t\t\tlocalStorage.setItem('verstm', curTime);\r\n\r\n\t\t\t// use globalState if localStorage not worked\r\n\t\t\tif (!globalState.version) {\r\n\t\t\t\t// check ui version\r\n\t\t\t\tstore.dispatch(app.actions.checkMinVersionRequest());\r\n\t\t\t\tglobalState.version = true;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\tuseEffect(() => {\r\n\t\tcheckActualVersion();\r\n\t}, []);\r\n};\r\n\r\nconst useGoogleAnalytics = () => {\r\n\tuseEffect(() => {\r\n\t\tif (process.env.NODE_ENV === 'production') {\r\n\t\t\tReactGA.initialize(env.GA_TRACKING_ID, { debug: true });\r\n\t\t\tReactGA.set({ dimension2: 'cabinet' });\r\n\t\t\tReactGA.pageview(window.location.pathname + window.location.search);\r\n\r\n\t\t\tconst tagManagerArgs = {\r\n\t\t\t\tgtmId: env.GTM_DATA_LAYER,\r\n\t\t\t};\r\n\t\t\tTagManager.initialize(tagManagerArgs);\r\n\t\t}\r\n\t}, []);\r\n};\r\n\r\nconst useGlobalAuth = () => {\r\n\tconst onSubscribeJWT = (response) => {\r\n\t\tif (response && response.token) {\r\n\t\t\tglobalState.localToken = response.token;\r\n\t\t\tconst { kratosId } = response.session.person;\r\n\t\t\tcabinetLog('clients', globalState.kratosIdFromJwt, kratosId);\r\n\t\t\tconst isRenew = globalState.kratosIdFromJwt === kratosId;\r\n\r\n\t\t\tif (!isRenew) {\r\n\t\t\t\tglobalState.kratosIdFromJwt = kratosId;\r\n\r\n\t\t\t\t// send login signal for clear all prev user data\r\n\t\t\t\tstore.dispatch(auth.actions.loginUser());\r\n\r\n\t\t\t\t// Global auth нет логинов, но есть уникальный идентифкатор пользователя.\r\n\t\t\t\twindow.Raven.setUserContext({\r\n\t\t\t\t\tlogin: globalState.kratosIdFromJwt,\r\n\t\t\t\t});\r\n\r\n\t\t\t\tconst nextRoute = store.getState().auth.afterAuthUrl || store.getState().router.location.pathname;\r\n\t\t\t\tcabinetLog('push on ', nextRoute);\r\n\t\t\t\thistory.push(nextRoute);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tglobalState.localToken = null;\r\n\t\t\tif (globalState.kratosIdFromJwt) {\r\n\t\t\t\tglobalState.kratosIdFromJwt = null;\r\n\t\t\t\twindow.Raven.setUserContext();\r\n\t\t\t}\r\n\t\t\tif (history.location.pathname.indexOf('/reset') !== 0) {\r\n\t\t\t\tcabinetLog('push on /login');\r\n\t\t\t\thistory.push('/login');\r\n\t\t\t} else {\r\n\t\t\t\t// go to reset or reset password\r\n\t\t\t\thistory.push(history.location.pathname);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tconst callback = (widget) => {\r\n\t\t\tstore.dispatch(auth.actions.setWidget(widget));\r\n\t\t};\r\n\t\tTxGlobalAuth.subscribeInitialized(callback);\r\n\r\n\t\t//todo: после завершения https://jira.finam.ru/browse/GA-1261, параметр \"provider\" станет неактуальным\r\n\t\tTxGlobalAuth.init({\r\n\t\t\tenv: env.widgetEnv,\r\n\t\t\tappName: 'lime',\r\n\t\t\tlang: 'en',\r\n\t\t\tpalette: 'lime',\r\n\t\t\tappVersion: '1.0.0',\r\n\t\t}).then(() => {\r\n\t\t\tTxGlobalAuth.subscribeJWT(onSubscribeJWT);\r\n\t\t});\r\n\t}, []);\r\n};\r\n\r\nconst useShowDicWordsKeys = () => {\r\n\tconst [showDicWordsRes, setShowDicWordsRes] = useState(false);\r\n\tconst getShowDicWords = () => store.getState().app.showDicwordsKeys === '1';\r\n\tconst analyzeDisplayDicwordsKeys = () => {\r\n\t\tlet showDicWords = getShowDicWords();\r\n\t\tconst parsed = qs.parse(window.location.search);\r\n\t\tconst reShow = new RegExp('^showDicWord(s?)key(s?)$', 'i');\r\n\t\tconst reHide = new RegExp('^hideDicWord(s?)key(s?)$', 'i');\r\n\t\tconst parsedShow = Object.keys(parsed).some(k => reShow.test(k));\r\n\t\tconst parsedHide = Object.keys(parsed).some(k => reHide.test(k));\r\n\t\tif (parsedShow && !showDicWords) {\r\n\t\t\tshowDicWords = true;\r\n\t\t\tstore.dispatch(app.actions.showDicwords());\r\n\t\t} else if (parsedHide && showDicWords) {\r\n\t\t\tshowDicWords = false;\r\n\t\t\tstore.dispatch(app.actions.hideDicwords());\r\n\t\t}\r\n\t\treturn showDicWords;\r\n\t};\r\n\r\n\tuseEffect(() => {\r\n\t\tsetShowDicWordsRes(analyzeDisplayDicwordsKeys());\r\n\t}, []);\r\n\r\n\treturn showDicWordsRes;\r\n};\r\n\r\nconst useLanguages = () => {\r\n\tconst [initialized, setInitialized] = useState(false);\r\n\r\n\tconst setLanguageCookie = (cookies, lang) => {\r\n\t\tconst exp = new Date();\r\n\t\texp.setTime(exp.getTime() + (1000 * 3600 * 24 * 365));\r\n\t\tcookies.set('site_culture', lang, { path: '/', expires: exp });\r\n\t};\r\n\r\n\tconst getLanguageCookie = () => {\r\n\t\tconst cookies = new Cookies();\r\n\t\tconst cookieLang = cookies.get('site_culture');\r\n\t\tif (getAllowedLanguages().some(x => x.language === cookieLang)) {\r\n\t\t\treturn cookieLang;\r\n\t\t}\r\n\t\treturn getAllowedLanguages()[0].language;\r\n\t};\r\n\tconst onChangeLanguage = () => {\r\n\t\tconst cookies = new Cookies();\r\n\t\tconst lang = store.getState().app.language;\r\n\t\tif (window.app_locale !== lang) {\r\n\t\t\twindow.app_locale = lang;\r\n\t\t\tsetLanguageCookie(cookies, lang);\r\n\t\t\ti18next.changeLanguage(lang).then(() => {\r\n\t\t\t\t// window.location.reload(false);\r\n\t\t\t});\r\n\t\t\tsetMomentLocale(lang);\r\n\t\t\tconsole.log(moment().format());\r\n\t\t}\r\n\t};\r\n\r\n\r\n\tuseEffect(() => {\r\n\t\tconst lang = getLanguageCookie();\r\n\t\twindow.app_locale = lang;\r\n\t\tloadLocaleData(lang);\r\n\t\tconst enableTranslateBackend = !!env.allowedLangs;\r\n\t\tif (enableTranslateBackend) {\r\n\t\t\tstore.dispatch(app.actions.changeLanguage(lang));\r\n\t\t}\r\n\t\tconst i18nParams = {\r\n\t\t\tlng: lang,\r\n\t\t\tfallbackLng: 'en',\r\n\t\t\tsupportedLngs: getAllowedLanguages().map(item => item.language),\r\n\t\t\tinterpolation: {\r\n\t\t\t\tescapeValue: false,\r\n\t\t\t\tprefix: '{',\r\n\t\t\t\tsuffix: '}',\r\n\t\t\t},\r\n\t\t\treact: {\r\n\t\t\t\tuseSuspense: false,\r\n\t\t\t\twait: false,\r\n\t\t\t},\r\n\t\t\tpartialBundledLanguages: true,\r\n\t\t};\r\n\t\tif (enableTranslateBackend) {\r\n\t\t\ti18next\r\n\t\t\t\t.use(Backend) // passes i18n down to react-i18next\r\n\t\t\t\t.use(initReactI18next)\r\n\t\t\t\t.init({\r\n\t\t\t\t\t...i18nParams,\r\n\t\t\t\t\tbackend: {\r\n\t\t\t\t\t\tloadPath: env.languagesServerPath,\r\n\t\t\t\t\t\tparse(data, l) {\r\n\t\t\t\t\t\t\tconst langAllowed = getAllowedLanguages().find(x => x.language === l);\r\n\t\t\t\t\t\t\treturn { ...JSON.parse(data), ...langAllowed.sharedTranslate };\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t})\r\n\t\t\t\t.then(() => setInitialized(true));\r\n\r\n\t\t\t// reload i18n dicwords\r\n\t\t\tif (enableTranslateBackend && env.reloadDicwordsPeriod) {\r\n\t\t\t\tsetInterval(() => {\r\n\t\t\t\t\ti18next.reloadResources();\r\n\t\t\t\t}, env.reloadDicwordsPeriod);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\ti18next\r\n\t\t\t\t.use(initReactI18next)\r\n\t\t\t\t.init({\r\n\t\t\t\t\t...i18nParams,\r\n\t\t\t\t\tresources: {\r\n\t\t\t\t\t\ten: { translation: {} },\r\n\t\t\t\t\t\tru: { translation: {} },\r\n\t\t\t\t\t},\r\n\t\t\t\t})\r\n\t\t\t\t.then(() => setInitialized(true));\r\n\t\t}\r\n\r\n\t\tstore.subscribe(onChangeLanguage);\r\n\t});\r\n\treturn initialized;\r\n};\r\n\r\nconst App = () => {\r\n\tuseResizeActions();\r\n\tuseApiVersionSynchronization();\r\n\tuseGoogleAnalytics();\r\n\tuseGlobalAuth();\r\n\tconst showDicWords = useShowDicWordsKeys();\r\n\tconst langInitialized = useLanguages();\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\nApp.propTypes = {\r\n};\r\n\r\nexport default App;\r\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 1007;","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import { ModalPopups } from '@enums';\r\nimport actions from './actions';\r\nimport auth from '../auth';\r\n\r\nconst initialState = {\r\n\tcloseAccountData: {\r\n\t\trequest: null,\r\n\t\tcurrentStep: null,\r\n\t\tcashAmount: null,\r\n\t\tpennyStockAttachments: null,\r\n\t\tsubmitting: false,\r\n\t\tsubmitSucceeded: false,\r\n\t},\r\n\ttradeAccount: null,\r\n\tcloseAccountValidation: {\r\n\t\tsubmitting: false,\r\n\t\tsubmitSucceeded: false,\r\n\t\tisValid: false,\r\n\t},\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.SHOW_ACAT_DEPOSIT_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\t...payload,\r\n\t\t\t\tcloseAccountData: {},\r\n\t\t\t};\r\n\t\tcase actions.HIDE_ACAT_DEPOSIT_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountData: {},\r\n\t\t\t\ttradeAccount: null,\r\n\t\t\t};\r\n\r\n\t\tcase actions.CLOSE_ACCOUNT_FORM_SUBMIT_REQUEST:\r\n\t\tcase actions.CLOSE_ACCOUNT_CONTINUE_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountData: {\r\n\t\t\t\t\t...state.closeAccountData,\r\n\t\t\t\t\trequest: payload,\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.CLOSE_ACCOUNT_FORM_SUBMIT_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountData: {\r\n\t\t\t\t\t...state.closeAccountData,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.CLOSE_ACCOUNT_CONTINUE_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountData: {\r\n\t\t\t\t\t...state.closeAccountData,\r\n\t\t\t\t\trequest: {\r\n\t\t\t\t\t\t...state.closeAccountData.request,\r\n\t\t\t\t\t\tCloseAccountOrderId: (payload && payload.OrderCode !== null)\r\n\t\t\t\t\t\t\t? payload.OrderCode\r\n\t\t\t\t\t\t\t: state.closeAccountData.request.CloseAccountOrderId,\r\n\t\t\t\t\t},\r\n\t\t\t\t\tcurrentStep: (payload && payload.ErrorCode !== null) ? payload.ErrorCode : state.closeAccountData.currentStep,\r\n\t\t\t\t\tcashAmount: payload && payload.CashAmount,\r\n\t\t\t\t\tpennyStockAttachments: payload && payload.PennyStockAttachments,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.CLOSE_ACCOUNT_FORM_SUBMIT_SUCCESS:\r\n\t\tcase actions.CLOSE_ACCOUNT_CONTINUE_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountData: {\r\n\t\t\t\t\t...state.closeAccountData,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_CLOSE_ACCOUNT_FORM_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\ttradeAccount: null,\r\n\t\t\t\tcloseAccountData: {\r\n\t\t\t\t\t...state.closeAccountData,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.HIDE_CLOSE_ACCOUNT_FORM_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountData: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t\ttradeAccount: null,\r\n\t\t\t};\r\n\t\tcase auth.actions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\t\tcase actions.SHOW_CLOSE_ACCOUNT_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CLOSE_ACCOUNT]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.RESET_CLOSE_ACCOUNT_MODAL_DATA: {\r\n\t\t\tconst newState = {\r\n\t\t\t\t...state,\r\n\t\t\t};\r\n\t\t\tdelete newState.modals;\r\n\t\t\treturn newState;\r\n\t\t}\r\n\t\tcase actions.closeAccountValidation.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountValidation: {\r\n\t\t\t\t\t...state.closeAccountValidation,\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.closeAccountValidation.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountValidation: {\r\n\t\t\t\t\t...state.closeAccountValidation,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.closeAccountValidation.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcloseAccountValidation: {\r\n\t\t\t\t\t...state.closeAccountValidation,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","module.exports = {\n\tAccountPlatforms: {\n\t\tPLATFORM_TRANSAQ: 'Transaq',\n\t\tPLATFORM_JUST2TRADE: 'Just2Trade',\n\t\tPLATFORM_MT5: 'Mt5',\n\t\tPLATFORM_MT5SPC: 'Mt5Spc',\n\t\tPLATFORM_STERLING: 'Sterling',\n\t},\n};\n","module.exports = {\n\tAccountTariffs: {\n\t\tTARIFF_PER_SHARE: 'PerShare',\n\t\tTARIFF_PER_TRADE: 'PerTrade',\n\t\tTARIFF_ZERO: 'Zero',\n\t},\n};\n","module.exports = {\n\tIraTypes: {\n\t\tSTRATA: 'STRATA',\n\t\tEQUITY_TRUST: 'Equity Trust',\n\t},\n};\n","module.exports = {\n\tModalPopups: {\n\t\tADD_BANK_ACCOUNT: 'AddBankAccount',\n\t\tCREATE_APIKEY: 'CreateApiKey',\n\t\tCY_CHANGE_PASSWORD: 'ChangePassword',\n\t\tCY_NON_TRADING_ORDER_COMMON: 'NonTradingOrderCommonModal',\n\t\tCY_NON_TRADING_ORDER_IDENTITY: 'NonTradingOrderIdentityModal',\n\t\tCY_NON_TRADING_ORDER_REGISTRATION: 'NonTradingOrderRegistrationModal',\n\t\tCY_TRANSFER_BETWEEN_ACCOUNTS: 'TransferBetweenAccountsModal',\n\t\tCY_WITHDRAWAL_BANK_TRANSFER: 'WithdrawalBankTransferModal',\n\t\tCY_NON_TRADING_OPEN_ACCOUNT: 'NonTradingOpenAccount',\n\t\tCY_NON_TRADING_OPEN_DEMO_ACCOUNT: 'NonTradingOpenDemoAccount',\n\t\tDEPOSIT_FUNDS_ACH: 'DepositFundsAch',\n\t\tDEPOSIT_FUNDS_BROKER: 'DepositFundsBroker',\n\t\tDEPOSIT_FUNDS_IRA: 'DepositFundsIra',\n\t\tDEPOSIT_FUNDS_WIRE: 'DepositFundsWire',\n\t\tWITHDRAW_FUNDS_ACH: 'WithdrawFundsAch',\n\t\tWITHDRAW_FUNDS_WIRE: 'WithdrawFundsWire',\n\t\tWITHDRAW_FUNDS_BROKER: 'WithdrawFundsBroker',\n\t\tWITHDRAW_FUNDS_IRA: 'WithdrawFundsIra',\n\t\tACAT_FUND: 'AcatFund',\n\t\tCLOSE_ACCOUNT: 'CloseAccount',\n\t\tCLOSE_ACCOUNT_FORM: 'CloseAccountForm',\n\t\tJ2T_LITE: 'LimeTradingPlatform',\n\t\tJ2T_PLUS: 'J2tPlus',\n\t\tJ2T_PRO: 'J2tPro',\n\t\tMT5: 'Mt5',\n\t\tST_PRO: 'StPro',\n\t\tMESSAGE: 'Message',\n\t\tCHANGE_DELIVERY_TYPE: 'ChangeDeliveryType',\n\t\tCHANGE_PROFILE_ADDRESS: 'ChangeProfileAddress',\n\t\tCHANGE_PROFILE_POST_ADDRESS: 'ChangeProfilePostAddress',\n\t\tCHANGE_PROFILE_EMAIL: 'ChangeProfileEmail',\n\t\tCHANGE_PROFILE_PHONE: 'ChangeProfilePhone',\n\t\tCHANGE_DEPENDENTS: 'ChangeDependents',\n\t\tCHANGE_MARITAL_STATUS: 'ChangeMaritalStatus',\n\t\tCHANGE_EMPLOYMENT: 'ChangeEmployment',\n\t\tCHANGE_INVESTMENT_PROFILE: 'ChangeInvestmentProfile',\n\t\tCHANGE_INVESTMENT_EXPERIENCE: 'ChangeInvestmentExperience',\n\t\tCHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL: 'ChangeMarketDataSubscriberStatus',\n\t\tCHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL: 'ChangeMarketDataSubscriptions',\n\t\tENABLE_THIRD_PARTY_MARKETDATA_MODAL: 'EnableThirdPartyMarketData',\n\t\tCHANGE_TARIFF_PER_SHARE: 'ChangeTariffPerShare',\n\t\tCHANGE_TARIFF_PER_TRADE: 'ChangeTariffPerTrade',\n\t\tCHANGE_TARIFF_ZERO: 'ChangeTariffZero',\n\t\tCHANGE_TWO_FACTOR_AUTHORIZATION: 'ChangeTwoFactor',\n\t\tCHANGE_TAX_FORM_MODAL: 'ChangeTaxForm',\n\t\tCOMMISSION_FREE_MODAL: 'CommissionFreeModal',\n\t\tCONFIRM_MODAL: 'ConfirmModal',\n\t\tCONFIRM_PROFILE_EMAIL: 'ConfirmProfileEmail',\n\t\tCONFIRM_PROFILE: 'ConfirmProfile',\n\t\tCREATE_SIGNATURE: 'CreateSignature',\n\t\tIPO_CREATE_ORDER: 'IpoCreateOrder',\n\t\tPLAID_SELECT_ACCOUNT: 'PlaidSelectAccount',\n\t\tUPGRADE_MARGIN_TYPE: 'UpgradeMarginType',\n\t\tUPGRADE_OPTION_LEVEL: 'UpdateOptionLevel',\n\t\tWELCOME_PAGE: 'WelcomePage',\n\t\tIPO_EXTENDED_INFO_MOBILE: 'IpoExtendedInfoMobile',\n\t\tDEMO_ACCOUNT_EXPIRATION: 'DemoAccountExpiration',\n\t\tRESET_DEMO_ACCOUNT: 'ResetDemoAccount',\n\t\tOPEN_SECOND_ACCOUNT: 'OpenSecondAccount',\n\t\tSECOND_FACTOR_DISABLED_RESTRICTION: 'SecondFactorDisabledRestriction',\n\t\tCLIENT_DATA_INSUFFICIENT: 'ClientDataInsufficientModal',\n\t\tUPDATE_SUBSCRIBER_STATUS: 'UpdateSubscriberStatus',\n\t\tUPDATE_SUBSCRIBER_AGREEMENTS: 'UpdateSubscriberAgreements',\n\t\tACTUAL_ADDRESS_MISSED: 'ActualAddressMissedModal',\n\t},\n};\n","module.exports = {\n\tTaxFormType: {\n\t\tW8_BEN: 'W8BEN',\n\t\tW8_BEN_E: 'W8BENE',\n\t},\n};\n","module.exports = {\n\tAccountStatuses: {\n\t\tACTIVE: 'Active',\n\t\tRESTRICTED: 'Restricted',\n\t},\n};\n","module.exports = {\n\tTwoFactorAutenticationType: {\n\t\tSMS: 'SMS',\n\t\tTOTP: 'TOTP',\n\t\tEMAIL: 'EMAIL',\n\t\tNONE: 'NONE',\n\t},\n};\n","module.exports = {\n\tOperationTabs: {\n\t\tTRANSACTION_HISTORY: 'tabs_transaction_history',\n\t\tNON_TRADING_OPERATIONS: 'tabs_non_traiding_orders',\n\t},\n};\n","module.exports = {\n\tOperationType: {\n\t\tALL: 'ALL',\n\n\t\tINPUT: 'INPUT',\n\t\tOUTPUT: 'OUTPUT',\n\t\tCREDIT_IN: 'CREDITIN',\n\t\tCREDIT_OUT: 'CREDITOUT',\n\n\t\tASSIGNMENTORDER: 'ASSIGNMENTORDER',\n\t\tADDITIOANLACCOUNT: 'ADDITIONALACCOUNT',\n\t\tCLIENTPASSWORDCHANGE: 'CLIENTPASSWORDCHANGE',\n\t\tLEVERAGE: 'LEVERAGE',\n\n\t\tCashOperations() {\n\t\t\treturn [this.ALL, this.INPUT, this.OUTPUT, this.CREDIT_IN, this.CREDIT_OUT];\n\t\t},\n\n\t\tNonTraidingOperations() {\n\t\t\treturn [this.ALL, this.ASSIGNMENTORDER, this.CLIENTPASSWORDCHANGE, this.LEVERAGE];\n\t\t},\n\n\t\tgetTranslateId(ot) {\n\t\t\tswitch (ot.toUpperCase()) {\n\t\t\t\tcase this.ALL: return 'operation_type_all';\n\t\t\t\tcase this.INPUT: return 'operation_type_deposit';\n\t\t\t\tcase this.OUTPUT: return 'operation_type_withdrawal';\n\t\t\t\tcase this.CREDIT_IN: return 'operation_type_credit_in';\n\t\t\t\tcase this.CREDIT_OUT: return 'operation_type_credit_out';\n\n\t\t\t\tcase this.ASSIGNMENTORDER: return 'order_type_assignment_order';\n\t\t\t\tcase this.ADDITIOANLACCOUNT: return 'order_type_additional_account';\n\t\t\t\tcase this.CLIENTPASSWORDCHANGE: return 'order_type_client_password_change';\n\t\t\t\tcase this.LEVERAGE: return 'order_type_account_leverage';\n\t\t\t\tdefault: return ot;\n\t\t\t}\n\t\t},\n\t},\n};\n","module.exports = {\n\tAccountClearers: {\n\t\tUNKNOWN: '',\n\t\tCOR: 'cor',\n\t\tVISION: 'vision',\n\t\tJ2T: 'j2t',\n\t\tJ2T_INC: 'j2tinc',\n\t\tVELOX: 'velox',\n\t\tSPC_FUTURES: 'spcfutures',\n\t\tDEMO: 'demo',\n\t},\n};\n","module.exports = {\n\tCloseAccountFlow: {\n\t\tCASH_MANAGMENT: 'CashManagment',\n\t\tPROFILE: 'Profile',\n\t},\n};\n","module.exports = {\n\tValidationMessageMode: {\n\t\tNONE: 'none',\n\t\tINSTEAD_OF_ADDITIONAL: 'insteadOfAdditional',\n\t\tAFTER_ADDITIONAL: 'afterAdditional',\n\t},\n};\n","module.exports = {\n\tMarginType: {\n\t\tCASH: 'Cash',\n\t\tMARGIN_X2: 'MarginX2',\n\t\tDAY_TRADER: 'DayTrader',\n\t},\n};\n\n","module.exports = {\n\tClientTypes: {\n\t\tINSTITUTIONAL: 'Institutional',\n\t\tINDIVIDUAL: 'Retail',\n\t},\n};\n","module.exports = {\n\tOptionLevel: {\n\t\tLevel0: '0',\n\t\tLevel1: '1',\n\t\tLevel2: '2',\n\t\tLevel3: '3',\n\t\tLevel4: '4',\n\t\tLevel5: '5',\n\t},\n};\n","module.exports = {\n\tMarketDataClientStatus: {\n\t\tPRO: 'Pro',\n\t\tNON_PRO: 'Non-Pro',\n\t\tUNDEFINED: 'Undefined',\n\t},\n};\n","module.exports = {\n\tInsufficientClientDataKeys: {\n\t\tADDRESS_RESIDENCE: 'Address of Residence',\n\t\tEMPLOYMENT_STATUS: 'Employment Status',\n\t\tPLACE_EMPLOYMENT: 'Place of Employment',\n\t\tEMPLOYMENT_POSITION: 'Employment Position',\n\t\tEMPLOYMENT_FUNCTIONS: 'Employment Functions',\n\t\tEMPLOYMENT_ADDRESS: 'Employment Address',\n\t\tPHONE_NUMBER: 'Phone Number',\n\t\tEMAIL_ADDRESS: 'Email Address',\n\t},\n};\n","module.exports = {\n\tDeliveryTypes: {\n\t\tDELIVERY_TYPES_ACCOUNTS_ELECTRONIC: 'DELIVERYTYPES:ACCOUNTS:ELECTRONIC',\n\t\tDELIVERY_TYPES_ACCOUNTS_PAPER: 'DELIVERYTYPES:ACCOUNTS:PAPER',\n\t},\n};\n","module.exports = {\n\tAccountType: {\n\t\tACH: 'ACH',\n\t\tWIRE: 'WIRE',\n\t\tBROKER: 'BROKER',\n\t\tIRA: 'IRA',\n\t},\n};\n","import actions from './actions';\r\n\r\nconst initialState = {\r\n\tauthWidget: null,\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.AUTH_WIDGET:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tauthWidget: payload,\r\n\t\t\t};\r\n\t\tcase actions.LOGIN_USER:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\t...payload,\r\n\t\t\t};\r\n\t\tcase actions.LOGOUT:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t};\r\n\t\tcase actions.SET_AFTER_AUTH_URL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tafterAuthUrl: payload,\r\n\t\t\t};\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\tauthWidget: state => state.auth.authWidget,\r\n\tafterAuthUrl: state => state.auth.afterAuthUrl,\r\n};\r\n","import { fork, takeEvery, put, select, delay } from 'redux-saga/effects';\r\nimport { auth, callApi, signalR, snackbar, userAccounts } from '@redux';\r\nimport { autologon, logout, pingauth, sendconfirmationcode, sendconfirmationcodeemail } from '@api';\r\nimport { env } from '@config';\r\nimport { cabinetLog, globalState } from '@global';\r\nimport { push } from 'connected-react-router';\r\nimport actions from './actions';\r\n\r\nfunction* loginLocalSaga({ payload: { username, token, location } }) {\r\n\ttry {\r\n\t\tglobalState.localToken = token; // response.data.SignalRToken;\r\n\t\twindow.Raven.setUserContext({\r\n\t\t\tlogin: username,\r\n\t\t});\r\n\t\tyield put(push(location ? `${location.pathname}${location.search}` : '/dashboard'));\r\n\t\tyield put(actions.sendPingAuthRequest());\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tconsole.log(error);\r\n\t}\r\n}\r\n\r\nfunction* loginSaga() {\r\n\t// used for clearing all prev data by reducers\r\n\r\n\t// and logout prev user if he was authorized\r\n\tconst response = yield callApi(logout);\r\n\tcabinetLog('prev logout response', response);\r\n}\r\n\r\nfunction* logoutSaga() {\r\n\ttry {\r\n\t\tif (!env.useLocalAuth) {\r\n\t\t\tconst authWidget = yield select(auth.selectors.authWidget);\r\n\t\t\tif (!authWidget) {\r\n\t\t\t\t// no widget - client is unauthorized - do nothing\r\n\t\t\t\tcabinetLog('no widget');\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tauthWidget.logout();\r\n\r\n\t\t\tif (env.signalRUrl) {\r\n\t\t\t\tyield put(signalR.actions.disconnectSignalR());\r\n\t\t\t}\r\n\r\n\t\t\t// always logout on server, otherwise prev user data will live in the server cache for a while.\r\n\t\t\tconst response = yield callApi(logout);\r\n\t\t} else { // useLocalAuth\r\n\t\t\tif (env.signalRUrl) {\r\n\t\t\t\tyield put(signalR.actions.disconnectSignalR());\r\n\t\t\t}\r\n\r\n\t\t\t// always logout on server, otherwise prev user data will live in the server cache for a while.\r\n\t\t\tconst response = yield callApi(logout);\r\n\t\t\tglobalState.localToken = null;\r\n\t\t\tyield put(actions.logoutSuccess());\r\n\t\t\tyield put(push('/'));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tcabinetLog(error);\r\n\t}\r\n}\r\n\r\nfunction* checkAuthRequestSaga({ payload: { location } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(pingauth);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tif (response.data.Errors[0].Code === 'Authorized') {\r\n\t\t\t\tyield put(actions.loginLocal({ username: response.data.Login, token: response.data.SignalRToken, location }));\r\n\t\t\t} else {\r\n\t\t\t\tglobalState.localToken = null;\r\n\t\t\t\twindow.Raven.setUserContext();\r\n\t\t\t\tyield put(push('/login'));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t// const userInfo = yield select(userAccounts.selectors.userInfo);\r\n\t\t\t// yield put(actions.login(userInfo.Login, location));\r\n\t\t\tyield put(actions.loginLocal({ username: response.data.Login, token: response.data.SignalRToken, location }));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tcabinetLog(error);\r\n\t\tglobalState.localToken = null;\r\n\t\twindow.Raven.setUserContext();\r\n\t\tyield put(push('/login'));\r\n\t}\r\n}\r\n\r\nfunction* pingAuthRequestSaga() {\r\n\tyield delay(30 * 1000);\r\n\tif (!globalState.localToken) {\r\n\t\treturn;\r\n\t}\r\n\r\n\ttry {\r\n\t\tconst response = yield callApi(pingauth);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tif (response.data.Errors[0].Code !== 'Authorized') {\r\n\t\t\t\t// Никаких вызовов не требуется, т.к при обработке callApi итак вызывается разлогин\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tyield put(actions.sendPingAuthRequest());\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tcabinetLog(error);\r\n\t}\r\n}\r\n\r\nfunction* autologinRequestSaga({ payload: { autologin } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(autologon, autologin);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tif (response.data.Errors[0].Code === 'Authorized') {\r\n\t\t\t\tconst userInfo = yield select(userAccounts.selectors.userInfo);\r\n\t\t\t\tyield put(actions.login(userInfo.Login));\r\n\t\t\t\tcabinetLog('success auth', response.data);\r\n\t\t\t\tyield put(auth.actions.loginLocal({ username: userInfo.Login, token: response.data.SignalRToken }));\r\n\t\t\t} else {\r\n\t\t\t\tglobalState.localToken = null;\r\n\t\t\t\twindow.Raven.setUserContext();\r\n\t\t\t\tyield put(push('/login'));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tcabinetLog('success auth', response.data);\r\n\t\t\tyield put(auth.actions.loginLocal({ username: response.data.Login, token: response.data.SignalRToken }));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tcabinetLog(error);\r\n\t\tglobalState.localToken = null;\r\n\t\twindow.Raven.setUserContext();\r\n\t\tyield put(push('/login'));\r\n\t}\r\n}\r\n\r\nfunction* sendConfirmationCodeRequestSaga({ payload: { phone, reason } }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(sendconfirmationcode, phone, reason);\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.sendConfirmationCodeFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Send Confirmation Code', text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.sendConfirmationCodeSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.sendConfirmationCodeFailure(error));\r\n\t}\r\n}\r\n\r\nfunction* sendConfirmationCodeEmailRequestSaga({ payload: { email } }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(sendconfirmationcodeemail, email);\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.sendConfirmationCodeEmailFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Send Confirmation Code', text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.sendConfirmationCodeEmailSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.sendConfirmationCodeEmailFailure(error));\r\n\t}\r\n}\r\n\r\n\r\n// Watchers\r\nfunction* watchLoginLocal() {\r\n\tyield takeEvery(actions.LOGIN_LOCAL, loginLocalSaga);\r\n}\r\n\r\nfunction* watchLogin() {\r\n\tyield takeEvery(actions.LOGIN_USER, loginSaga);\r\n}\r\nfunction* watchLogout() {\r\n\tyield takeEvery(actions.LOGOUT, logoutSaga);\r\n}\r\nfunction* watchcheckAuthRequest() {\r\n\tyield takeEvery(actions.CHECK_AUTH_REQUEST, checkAuthRequestSaga);\r\n}\r\nfunction* watchAutologinRequest() {\r\n\tyield takeEvery(actions.AUTOLOGIN_REQUEST, autologinRequestSaga);\r\n}\r\nfunction* watchSendConfirmationCodeRequest() {\r\n\tyield takeEvery(actions.SEND_CONFIRMATION_CODE_REQUEST, sendConfirmationCodeRequestSaga);\r\n}\r\nfunction* watchSendConfirmationCodeEmailRequest() {\r\n\tyield takeEvery(actions.SEND_CONFIRMATION_CODE_EMAIL_REQUEST, sendConfirmationCodeEmailRequestSaga);\r\n}\r\nfunction* watchPingAuthRequest() {\r\n\tyield takeEvery(actions.SEND_PING_AUTH_REQUEST, pingAuthRequestSaga);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchLoginLocal),\r\n\tfork(watchLogin),\r\n\tfork(watchLogout),\r\n\tfork(watchcheckAuthRequest),\r\n\tfork(watchAutologinRequest),\r\n\tfork(watchSendConfirmationCodeRequest),\r\n\tfork(watchSendConfirmationCodeEmailRequest),\r\n\tfork(watchPingAuthRequest),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n\tpingAuthRequestSaga,\r\n};\r\n","import { providerWithAuth, provider } from '@api';\n\nmodule.exports = {\n\tautologon: autologin => providerWithAuth().post('/account/api_autologon', { autologin }),\n\t// login: (username, password) => providerWithAuth().post('/account/api_logon', { username, password }),\n\tloginLocal: (username, password) => providerWithAuth().post('/account/apiui_logon', { username, password }),\n\tlanguage: lang => provider.get(`/account/apiui_changeculture/${lang}`),\n\tlogout: () => providerWithAuth().get('/account/api_logoff'),\n\tpingauth: () =>\tproviderWithAuth().get('/account/apiui_pingauth'),\n\tsendconfirmationcode: (phone, reason) => providerWithAuth().post('/account/api_sendconfirmationcode', { phone, reason }),\n\tsendconfirmationcodeemail: email => providerWithAuth().post('/account/api_sendtwofactorconfirmationcode_email', { email }),\n\tversion: () =>\tproviderWithAuth().get('/account/api_version/'),\n};\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\tmakePartnerCabinetRedirectUrl: () => providerWithAuth().get('/agent/apiui_makepartnercabinetredirecturl'),\n\tagentRegistration: payload => providerWithAuth().post('/agent/apiui_agentregistration', payload),\n};\n\n","export * from './achDeposit';\r\nexport * from './acatDeposit';\r\nexport * from './acatIraDeposit';\r\nexport * from './brokerDeposit';\r\nexport * from './iraDeposit';\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const achDeposit = payload =>\r\n\tproviderWithAuth().post('/api_funding/ach', {\r\n\t\tTradeCode: payload.tradeCode,\r\n\t\tClearerFirm: payload.clearerFirm,\r\n\t\tAmount: payload.amount,\r\n\t});\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const acatDeposit = payload =>\r\n\tproviderWithAuth().post('/api_funding/acat/', payload);\r\n","import { providerWithAuth } from '@api';\n\nexport const acatIraDeposit = payload =>\n\tproviderWithAuth().post('/api_acatira', payload);\n","import { providerWithAuth } from '@api';\n\nexport const brokerDeposit = payload =>\n\tproviderWithAuth().post('/api_funding/broker', payload);\n","import { providerWithAuth } from '@api';\n\nexport const iraDeposit = payload =>\n\tproviderWithAuth().post('/api_funding/ira', payload);\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\tgetApiKeys: payload =>\n\t\tproviderWithAuth().get('/account/api_getApiKeys', payload),\n\trevokeApiKey: id => providerWithAuth().post('/account/api_revokeApiKey', id),\n\tcreateApiKey: payload => providerWithAuth().post('/account/api_createApiKey', payload),\n};\n\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\n\tcreateIpoOrder: payload => providerWithAuth().post('/ipo/api_createOrder', payload),\n\tcancelIpoOrder: payload => providerWithAuth().post('/ipo/api_cancelOrder', payload),\n\tgetOfferings: payload => providerWithAuth().post('/ipo/api_calendar', payload),\n\tgetOffering: offeringId => providerWithAuth().get(`/ipo/api_ipogetoffering/${offeringId}`),\n\tgetOrders: payload => providerWithAuth().post('/ipo/api_orders', payload),\n};\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\tgetLinkedAccounts: payload => providerWithAuth().get(`/linkedaccounts/api_list/${payload.tradeCode}`),\n\n\taccountDetails: (tradeCode, token) => providerWithAuth().post('/linkedaccounts/api_accountdetails', {\n\t\tTradeCode: tradeCode,\n\t\tToken: token,\n\t}),\n\taccountSelect: (tradeCode, linkId) => providerWithAuth().post('/linkedaccounts/api_accountchoice', {\n\t\tTradeCode: tradeCode,\n\t\tLinkAccountNo: linkId,\n\t}),\n\n\tachLinking: payload =>\tproviderWithAuth().post('/linkedaccounts/api_achlinking', payload),\n\tachUnlinkBankAccount: payload => providerWithAuth().get(`/linkedaccounts/api_remove/${payload.tradeCode}/${payload.bankCode}`),\n\n\twireLinking: payload =>\tproviderWithAuth().post('/linkedaccounts/api_wirelinking', payload),\n\twireUnlinkBankAccount: payload =>\n\t\tproviderWithAuth().get(`/linkedaccounts/api_wireremove/${payload.clearerFirm}/${payload.tradeCode}/${payload.bankCode}`),\n\tgetIntrnationalBanksRequisites: query =>\n\t\tproviderWithAuth().post('/linkedaccounts/api_internationalbanksrequisites', { query }),\n\tgetDomesticBanksRequisites: query =>\n\t\tproviderWithAuth().post('/linkedaccounts/api_domesticbanksrequisites', { query }),\n};\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\n\tsendNonTradingCommonOrder: payload => providerWithAuth().post('/nontrading/api_common', payload),\n\tsendNonTradingIdentityOrder: payload => providerWithAuth().post('/nontrading/api_identity', payload),\n\tsendNonTradingLeverageOrder: payload => providerWithAuth().post('/nontrading/api_leverage', payload),\n\tsendNonTradingRegistrationOrder: payload => providerWithAuth().post('/nontrading/api_registration', payload),\n\tsendNonTradingOpenAccount: payload => providerWithAuth().post('/nontrading/api_openaccount', payload),\n\tsendNonTradingOpenDemoAccount: payload => providerWithAuth().post('/nontrading/api_opendemoaccount', payload),\n};\n","export * from './getNotifications';\r\nexport * from './markNewsAllAsRead';\r\nexport * from './markNewsAsRead';\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const getNotifications = (page, pageSize) =>\r\n\tproviderWithAuth().get(`/account/api_getnotifications/${page}/${pageSize}`);\r\n","import { providerWithAuth } from '@api';\n\nexport const markNewsAllAsRead = () =>\n\tproviderWithAuth().post('/account/api_marknewsallasread/');\n","import { providerWithAuth } from '@api';\r\n\r\nexport const markNewsAsRead = messageId =>\r\n\tproviderWithAuth().post('/account/api_marknewsasread/', { id: messageId });\r\n","export * from './profile';\r\nexport * from './changeAddress';\r\nexport * from './changePostAddress';\r\nexport * from './changeEmail';\r\nexport * from './confirmEmail';\r\nexport * from './changeDeliveryType';\r\nexport * from './changePhone';\r\nexport * from './changeTariff';\r\nexport * from './changeTwoFactorAuthentication';\r\nexport * from './changeTaxForm';\r\nexport * from './changeDependents';\r\nexport * from './changeMaritalStatus';\r\nexport * from './changeEmployment';\r\nexport * from './changeInvestmentExperience';\r\nexport * from './changeInvestmentProfile';\r\nexport * from './confirmProfile';\r\nexport * from './getCountries';\r\nexport * from './getHolderProfiles';\r\nexport * from './getUsaStates';\r\nexport * from './sendEmailConfirmationCode';\r\nexport * from './totpTwoFactorAuthentication';\r\nexport * from './apiMarketDataAgreement';\r\nexport * from './changeMarketData';\r\n\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const profile = () => providerWithAuth().get('/account/api_profile');\r\n\r\nexport const enableThirdPartyMarketData = () =>\r\n\tproviderWithAuth().post('/account/api_createThirdPartyMarketDataOrder/');\r\n\r\nexport const changePassword = payload =>\r\n\tproviderWithAuth().post('/account/api_changePassword/', payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeAddress = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofileaddress/', payload);\r\nexport const changeAddressForClient = (payload, clientId) =>\r\n\tproviderWithAuth().post(`/account/api_changeprofileaddress/${clientId}/`, payload);\r\n","import { providerWithAuth } from '@api';\n\nexport const changePostAddress = payload =>\n\tproviderWithAuth().post('/account/api_changeprofilepostaddress/', payload);\nexport const changePostAddressForClient = (payload, clientId) =>\n\tproviderWithAuth().post(`/account/api_changeprofilepostaddress/${clientId}/`, payload);\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeEmail = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofileemail/', payload);\r\nexport const changeEmailForClient = (payload, clientId) =>\r\n\tproviderWithAuth().post(`/account/api_changeprofileemail/${clientId}/`, payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const confirmEmail = payload =>\r\n\tproviderWithAuth().post('/account/api_confirmprofileemail/', payload);\r\n","import { providerWithAuth } from '@api';\n\nexport const changeDeliveryType = payload =>\n\tproviderWithAuth().post('/Account/api_changeDeliveryType/', payload);\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changePhone = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofilephone/', payload);\r\n\r\nexport const changePhoneForClient = (payload, clientId) =>\r\n\tproviderWithAuth().post(`/account/api_changeprofilephone/${clientId}/`, payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeTariff = (tradeCode, tariffValue) =>\r\n\tproviderWithAuth().post('/useraccounts/api_changetariff/', {\r\n\t\ttradeCode,\r\n\t\ttariffValue,\r\n\t});\r\n","import { providerWithAuth } from '@api';\n\nexport const changeTwoFactorAuthentication = payload =>\n\tproviderWithAuth().post('/account/api_changetwofactor/', payload);\n\nexport const changeTwoFactorAuthenticationEmail = payload =>\n\tproviderWithAuth().post('/account/api_enableTwoFactorAuthentication_email/', payload);\n","import { providerWithAuth } from '@api';\n\nexport const changeTaxFormUpload = payload =>\n\tproviderWithAuth().post('/account/api_changetaxform/upload/', payload);\n\nexport const changeTaxFormFillIn = payload =>\n\tproviderWithAuth().post('/account/api_changetaxform/fillin/', payload);\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeDependents = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofiledependents/', payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeMaritalStatus = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofilemaritalstatus/', payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeEmployment = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofileemployment/', payload);\r\n\r\nexport const changeEmploymentForClient = (payload, clientId) =>\r\n\tproviderWithAuth().post(`/account/api_changeprofileemployment/${clientId}/`, payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeInvestmentExperience = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofileinvestmentexperience/', payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const changeInvestmentProfile = payload =>\r\n\tproviderWithAuth().post('/account/api_changeprofileinvestmentprofile/', payload);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const confirmProfile = payload =>\r\n\tproviderWithAuth().post('/account/api_ConfirmPersonalInfo/', payload);\r\n","import { providerWithAuth } from '@api';\n\nexport const getCountries = () =>\n\tproviderWithAuth().get('/account/api_getcountries/');\n","import { providerWithAuth } from '@api';\n\nexport const getHolderProfiles = () => providerWithAuth().get('/account/api_getholderprofiles');\n","import { providerWithAuth } from '@api';\n\nexport const getUsaStates = () =>\n\tproviderWithAuth().get('/account/api_getusastates/');\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\tsendEmailConfirmationCode: email => providerWithAuth().post('/account/api_sendemailconfirmationcode', { email }),\n};\n","import { providerWithAuth } from '@api';\n\nexport const enableTotpAuthentication = payload =>\n\tproviderWithAuth().post('/account/api_enableTwoFactorAuthentication_Totp', payload);\n","import { providerWithAuth } from '@api';\n\nexport const apiMarketDataAgreement = payload =>\n\tproviderWithAuth().post('/account/api_market_data_agreement/', payload);\n\n","import { providerWithAuth } from '@api';\n\nexport const generateNyseMarketDataAgreement = payload =>\n\tproviderWithAuth().post('/account/api_generate_nyseMarketDataAgreement/', payload);\n\nexport const generateNasdaqMarketDataAgreement = payload =>\n\tproviderWithAuth().post('/account/api_generate_nasdaqMarketDataAgreement/', payload);\n\nexport const generateCboeMarketDataAgreement = payload =>\n\tproviderWithAuth().post('/account/api_generate_cboeMarketDataAgreement/', payload);\n\nexport const generateCtaMarketDataAgreement = payload =>\n\tproviderWithAuth().post('/account/api_generate_ctaMarketDataAgreement/', payload);\n\nexport const generateOpraMarketDataAgreement = payload =>\n\tproviderWithAuth().post('/account/api_generate_opraMarketDataAgreement/', payload);\n\nexport const generateOpraProMarketDataAgreement = payload =>\n\tproviderWithAuth().post('/account/api_generate_opraProMarketDataAgreement/', payload);\n\nexport const changeMarketDataSubscriberStatus = payload =>\n\tproviderWithAuth().post('/account/api_changeMarketDataSubscriberStatus/', payload);\n\nexport const changeMarketDataSubscriptions = payload =>\n\tproviderWithAuth().post('/account/api_changeMarketDataSubscriptions/', payload);\n","import axios from 'axios';\r\nimport { env } from '@config';\r\nimport { globalState } from '@global';\r\n\r\nexport const provider = axios.create({\r\n\tbaseURL: env.backendUrl,\r\n\twithCredentials: true,\r\n\theaders: {\r\n\t\t'X-Requested-With': 'XMLHttpRequest',\r\n\t},\r\n});\r\n\r\nexport const providerWithAuth = () => {\r\n\tconst headers = {\r\n\t\t'X-Requested-With': 'XMLHttpRequest',\r\n\t};\r\n\r\n\tif (!env.useLocalAuth) {\r\n\t\theaders.Authorization = globalState.localToken;\r\n\t}\r\n\r\n\treturn axios.create({\r\n\t\tbaseURL: env.backendUrl,\r\n\t\twithCredentials: true,\r\n\t\theaders,\r\n\t});\r\n};\r\n\r\nexport const providerFileWithAuth = () => { \r\n\tconst headers = {\r\n\t\t'X-Requested-With': 'XMLHttpRequest',\r\n\t};\r\n\r\n\tif (!env.useLocalAuth) {\r\n\t\theaders.Authorization = globalState.localToken;\r\n\t}\r\n\r\n\treturn axios.create({\r\n\t\tbaseURL: env.backendUrl,\r\n\t\twithCredentials: true,\r\n\t\tresponseType: 'blob',\r\n\t\theaders,\r\n\t});\r\n};\r\n\r\n","import { providerFileWithAuth, providerWithAuth } from '@api';\n\n// reports for lime international\nmodule.exports = {\n\tgenerateBrokerReport: payload => providerWithAuth().post('/reports/api_generateBrokerReport', payload),\n\tgetBrokerReports: payload => providerWithAuth().post('/reports/api_getBrokerReports', payload),\n\t// getReportFile used directly in the \n\tgetReportFile: reportId => providerFileWithAuth().post('/reports/api_getReportFile', { reportId }),\n};\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\n\tresetByEmail: request => providerWithAuth().post('/reset/api_resetbyemail', request),\n\tsendConfirmationByEmail: email => providerWithAuth().post('/reset/api_confirmemail', { email }),\n\tresetPassword: request => providerWithAuth().post('/reset/api_reset', request),\n\tresetByOperator: request => providerWithAuth().post('/reset/api_resetbyoperator', request),\n};\n","export * from './checkSignatures';\r\nexport * from './saveSignature';\r\n\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const checkSignatures = ({ tradeCode, clearerFirm }) =>\r\n\tproviderWithAuth().post('/account/api_checksignatures/', {\r\n\t\ttradeCode,\r\n\t\tclearerFirm,\r\n\t});\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const saveSignature = (tradeCode, image, guid) =>\r\n\tproviderWithAuth().post('/account/api_savesignature/', {\r\n\t\ttradeCode,\r\n\t\timage,\r\n\t\tguid,\r\n\t});\r\n","export * from './getTradePlatforms';\r\nexport * from './activatePlatform';\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const getTradePlatforms = tradeCode =>\r\n\tproviderWithAuth().get(`useraccounts/api_tradeplatforms/${tradeCode}`);\r\n","import { providerWithAuth } from '@api';\r\n\r\nexport const activatePlatform = (tradeCode, tradePlatform) =>\r\n\tproviderWithAuth().post('/useraccounts/Api_ActivateTradePlatform/', {\r\n\t\ttradeCode,\r\n\t\ttradePlatform,\r\n\t\tattachments: '',\r\n\t});\r\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\tcancelOrder: ({ tradeCode, orderCode }) =>\n\t\tproviderWithAuth().get(`/useraccounts/api_cancelcashactivity/${tradeCode}/${orderCode}/`),\n\n\tgetAccountCharts: account => providerWithAuth().get(`/useraccounts/api_accountchart/${account.clearerFirm}/${account.tradeCode}/`),\n\n\tgetAccountInfo: account => providerWithAuth().get(`/useraccounts/api_accountinfo/${account.clearerFirm}/${account.tradeCode}/`),\n\n\tgetAccountPortfolio: payload => providerWithAuth().get(`/useraccounts/api_getaccountportfolio/${payload.tradeCode}`),\n\n\tgetAccounts: () => providerWithAuth().get('/useraccounts/api_accounts'),\n\tgetUserInfo: () => providerWithAuth().get('/useraccounts/api_userInfo'),\n\n\tgetCorporateActions: ({\n\t\ttradeCode, startDate, endDate, page, pageSize, type,\n\t}) =>\n\t\tproviderWithAuth().get(`/useraccounts/api_corporateactions?tradecode=${tradeCode}&startDate=${startDate}\n\t\t&endDate=${endDate}&page=${page || 1}&pageSize=${pageSize || 8}&type=${type || 'any'}`),\n\n\tgetOldCorporateActions: ({\n\t\ttradeCode, startDate, endDate, page, pageSize, type,\n\t}) =>\n\t\tproviderWithAuth().get(`/useraccounts/api_oldcorporateactions?tradecode=${tradeCode}&startDate=${startDate}\n\t\t&endDate=${endDate}&page=${page || 1}&pageSize=${pageSize || 8}&type=${type || 'any'}`),\n\n\t// non lme\n\tgetTransactionHistory: payload => providerWithAuth().post('/useraccounts/api_transactionhistory/', payload),\n\t// lme - webcab-6331\n\tgetMoneyTransactionHistory: payload => providerWithAuth().post('/useraccounts/api_money-transaction-history/', payload),\n\tgetNonTradingOrdersHistory: payload => providerWithAuth().post('/useraccounts/api_non-trading-orders-history', payload),\n\n\trefreshReportsAndConfirmations: account =>\n\t\tproviderWithAuth().get(`/useraccounts/api_refreshReportsAndConfirmations/${account.clearerFirm}/${account.tradeCode}/`),\n\n\tupgradeMarginType: payload => providerWithAuth().post('/useraccounts/api_upgradeAccount/', payload),\n\n\tupgradeOptionLevel: payload => providerWithAuth().post('/useraccounts/api_upgradeOptionLevel/', payload),\n\n\taddDemoAccount: () => providerWithAuth().post('useraccounts/api_addDemoAccount'),\n\tresetDemoAccount: payload => providerWithAuth().post('useraccounts/api_resetDemoAccount', payload),\n\n\tgenerateSecondAccountVisionAgreement:\n\t\tpayload => providerWithAuth().post('useraccounts/api_generateSecondAccountVisionAgreement', payload),\n\topenAdditionalAccount:\n\t\tpayload => providerWithAuth().post('useraccounts/api_openAdditionalAccount', payload),\n\teconsentUpdateVisionForm:\n\t\tpayload => providerWithAuth().post('useraccounts/api_econsentUpdateVisionForm', payload),\n};\n","export * from './acatOutgoing';\r\nexport * from './achWithdraw';\r\nexport * from './brokerWithdraw';\r\nexport * from './iraWithdraw';\r\nexport * from './closeAccount';\r\nexport * from './wireWithdraw';\r\n\r\n","import { providerWithAuth } from '@api';\n\nexport const acatOutgoing = payload =>\n\tproviderWithAuth().post('/api_withdrawal/acat/', payload);\n","import { providerWithAuth } from '@api';\r\n\r\nexport const achWithdraw = payload =>\r\n\tproviderWithAuth().post('/api_withdrawal/ach/', payload);\r\n","import { providerWithAuth } from '@api';\n\nexport const brokerWithdraw = payload =>\n\tproviderWithAuth().post('/api_withdrawal/broker/', payload);\n\n","import { providerWithAuth } from '@api';\n\nexport const iraWithdraw = payload =>\n\tproviderWithAuth().post('/api_withdrawal/ira/', payload);\n\n","import { providerWithAuth } from '@api';\n\nexport const closeAccount = payload =>\n\tproviderWithAuth().post('/api_withdrawal/closeAccount/', payload);\n\nexport const closeAccountValidation = payload =>\n\tproviderWithAuth().post('/api_withdrawal/closeAccountValidation/', payload);\n","import { providerWithAuth } from '@api';\r\n\r\nexport const wireWithdraw = payload =>\r\n\tproviderWithAuth().post('/api_withdrawal/wire/', payload);\r\n\r\nexport const transferBetweenAccounts = query =>\r\n\tproviderWithAuth().post('/api_transferBetweenAccounts', query);\r\n","import { providerWithAuth } from '@api';\n\nmodule.exports = {\n\tgetWithdrawCash: account => providerWithAuth().get(`/api_wallet/GetWithdrawCash/${account}`),\n};\n","export * from './getEarningsToday';\r\n// export * from './getGainersAndLosers';\r\nexport * from './getMostActive';\r\n","import { providerWithAuth } from '@api';\n\nexport const getEarningsToday = () =>\n\tproviderWithAuth().get('/analitics/Api_EarningsToday');\n","import { providerWithAuth } from '@api';\n\nexport const getMostActive = () =>\n\tproviderWithAuth().get('/analitics/Api_MostActive');\n","export default {\r\n\ttradeAccount: state => state.acatDeposit.tradeAccount,\r\n\tcloseAccountData: state => state.acatDeposit.closeAccountData,\r\n\tmodals: state => state.acatDeposit.modals,\r\n\tcloseAccountValidation: state => state.acatDeposit.closeAccountValidation,\r\n};\r\n","import { put, fork, select, takeEvery } from 'redux-saga/effects';\r\nimport { acatDeposit, acatOutgoing, closeAccount, acatIraDeposit, closeAccountValidation } from '@api';\r\nimport { SubmissionError } from 'redux-form';\r\nimport { BaseGetSagaHandler, callApi, snackbar, userAccounts } from '@redux';\r\nimport { push } from 'connected-react-router';\r\nimport { ModalPopups, CloseAccountFlow } from '@enums';\r\nimport { cabinetLog, addHashToUrl, changeHashInUrl, removeHashFromUrl, removeHashesFromUrl } from '@global';\r\nimport actions from './actions';\r\nimport * as userAccountsActions from './../userAccounts/actions';\r\n\r\nfunction* acatDepositFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst dataToSend = {\r\n\t\t\tDestinationAccountNumber: payload.TradeCode,\r\n\t\t\tSourceFirmInfo: {\r\n\t\t\t\tSourceFirmName: payload.SourceFirmName,\r\n\t\t\t\tSourceFirmAddress: payload.SourceFirmAddress,\r\n\t\t\t\tSourceAccountTitle: payload.SourceAccountTitle,\r\n\t\t\t\tSourceAccountNumber: payload.SourceAccountNumber,\r\n\t\t\t\tSourceFirmTelephoneNumber: payload.SourceFirmTelephoneNumber,\r\n\t\t\t\tSourceAccountType: payload.SourceAccountType,\r\n\t\t\t},\r\n\t\t\tTransferInstructionsType: payload.TransferInstructionsType,\r\n\t\t\tAttachments: payload.Attachments,\r\n\t\t};\r\n\r\n\t\tif (dataToSend.TransferInstructionsType === 'Brokerage') {\r\n\t\t\tif (payload.AssetsTransferType === 'All') {\r\n\t\t\t\tdataToSend.AssetsTransferType = 'All';\r\n\t\t\t}\r\n\t\t\tif (payload.AssetsTransferType === 'Parts') {\r\n\t\t\t\tdataToSend.AssetsTransferType = 'Parts';\r\n\t\t\t\tdataToSend.AssetsTransfers = [];\r\n\t\t\t\tpayload.BrokerageParts.forEach((item) => {\r\n\t\t\t\t\tif (item.AssetsTransferSymbol && item.AssetsTransferShares) {\r\n\t\t\t\t\t\tdataToSend.AssetsTransfers.push({\r\n\t\t\t\t\t\t\tSymbol: item.AssetsTransferSymbol,\r\n\t\t\t\t\t\t\tShares: item.AssetsTransferShares,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (dataToSend.TransferInstructionsType === 'MutualFund') {\r\n\t\t\tdataToSend.FundTransfers = [];\r\n\t\t\tpayload.MutualFund.forEach((item) => {\r\n\t\t\t\tif (\r\n\t\t\t\t\titem.FundTransferSymbol &&\r\n\t\t\t\t\titem.FundTransferShares &&\r\n\t\t\t\t\titem.FundTransferName &&\r\n\t\t\t\t\titem.FundTransferType\r\n\t\t\t\t) {\r\n\t\t\t\t\tdataToSend.FundTransfers.push({\r\n\t\t\t\t\t\tSymbol: item.FundTransferSymbol,\r\n\t\t\t\t\t\tShares: item.FundTransferShares,\r\n\t\t\t\t\t\tName: item.FundTransferName,\r\n\t\t\t\t\t\tType: item.FundTransferType,\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconst response = yield callApi(acatDeposit, dataToSend);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.acatDepositFormFailure(new SubmissionError({\r\n\t\t\t\t_error: response.data.Errors[0].Message,\r\n\t\t\t})));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: response.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.acatDepositFormSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.acatDepositFormFailure(new SubmissionError({\r\n\t\t\t_error: error.message,\r\n\t\t})));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\n\r\nfunction* acatOutgoingFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(acatOutgoing, payload);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.acatOutgoingFormFailure(new SubmissionError({\r\n\t\t\t\t_error: response.data.Errors[0].Message,\r\n\t\t\t})));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: response.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.acatOutgoingFormSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.acatOutgoingFormFailure(new SubmissionError({\r\n\t\t\t_error: error.message,\r\n\t\t})));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* acatDepositIraFormSubmit({ payload }) {\r\n\tyield BaseGetSagaHandler({\r\n\t\tapiMethod: acatIraDeposit,\r\n\t\terrorText: 'Ira Deposit Funds',\r\n\t\thandler: actions.acatDepositIraForm,\r\n\t}, { payload });\r\n}\r\n\r\nfunction* closeAccountFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = { ...payload };\r\n\t\tconst closeAccountFlow = yield select(state => state.acatDeposit.modals[ModalPopups.CLOSE_ACCOUNT]);\r\n\r\n\t\tconst response = yield callApi(closeAccount, request);\r\n\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.closeAccountFormFailure(new SubmissionError({\r\n\t\t\t\t_error: response.data.Errors[0].Code,\r\n\t\t\t})));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t}));\r\n\t\t} else {\r\n\t\t\tconst { baseParams } = yield select(userAccounts.selectors.currentAccountData);\r\n\t\t\tif (closeAccountFlow.flow === CloseAccountFlow.PROFILE && baseParams.CashCurrentValue > 0) {\r\n\t\t\t\t// Failure лишь переводит state в нужное состояние, это не сигнал об неуспешности.\r\n\t\t\t\t// Иначе, при повторном открытии окна, будет success popup\r\n\t\t\t\tyield put(actions.closeAccountFormFailure(new SubmissionError({\r\n\t\t\t\t\t_error: '',\r\n\t\t\t\t})));\r\n\t\t\t\tyield put(actions.showCloseAccountFormModal());\r\n\t\t\t} else {\r\n\t\t\t\tyield put(actions.closeAccountFormSuccess());\r\n\t\t\t\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\r\n\t\t\t\tyield put(userAccountsActions.default.getCurrentAccountBaseDataRequest({\r\n\t\t\t\t\ttradeCode: currentAccount.tradeCode,\r\n\t\t\t\t\tclearerFirm: currentAccount.clearerFirm,\r\n\t\t\t\t}));\r\n\t\t\t}\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.closeAccountFormFailure(new SubmissionError({\r\n\t\t\t_error: error.message,\r\n\t\t})));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\n\r\nfunction* closeAccountContinueSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(closeAccount, payload);\r\n\t\tcabinetLog('continue submit', response);\r\n\r\n\t\tif (!response.data.Success) {\r\n\t\t\tconst hasNextStep = (response.data.Errors[0].Code === 'HasUnmarketablePositions'\r\n\t\t\t\t|| response.data.Errors[0].Code === 'HasPositions'\r\n\t\t\t\t|| response.data.Errors[0].Code === 'HasCash');\r\n\r\n\t\t\tyield put(actions.closeAccountContinueFailure({\r\n\t\t\t\tErrorCode: response.data.Errors[0].Code,\r\n\t\t\t\tOrderCode: response.data.OrderCode,\r\n\t\t\t\tCashAmount: response.data.CashAmount,\r\n\t\t\t\tPennyStockAttachments: response.data.PennyStockAttachments,\r\n\t\t\t}));\r\n\r\n\t\t\tif (!hasNextStep) {\r\n\t\t\t\tyield put(snackbar.actions.showErrorMessage({ text: response.data.Errors[0].Message }));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tyield put(actions.closeAccountContinueSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.closeAccountContinueFailure(new SubmissionError({\r\n\t\t\t_error: error.message,\r\n\t\t})));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* showAcatDepositModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(changeHashInUrl(location, ModalPopups.CLOSE_ACCOUNT_FORM, ModalPopups.ACAT_FUND)));\r\n}\r\n\r\nfunction* hideAcatDepositModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashesFromUrl(location, [ModalPopups.CLOSE_ACCOUNT_FORM, ModalPopups.ACAT_FUND])));\r\n}\r\n\r\nfunction* showCloseAccountModal({ payload }) {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\r\n\tif (payload.flow === CloseAccountFlow.PROFILE) {\r\n\t\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\r\n\r\n\t\ttry\t{\r\n\t\t\tyield put(actions.closeAccountValidation.request());\r\n\t\t\tconst validationResponse = yield callApi(closeAccountValidation, {\r\n\t\t\t\ttradeCode: currentAccount.tradeCode,\r\n\t\t\t\tclearerFirm: currentAccount.clearerFirm,\r\n\t\t\t});\r\n\t\t\tif (!validationResponse.data.Success) {\r\n\t\t\t\tyield put(actions.closeAccountValidation.failure());\r\n\t\t\t\tyield put(snackbar.actions.showErrorMessage({ text: validationResponse.data.Errors[0].Message }));\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} catch (error) {\r\n\t\t\twindow.Raven.captureException(error);\r\n\t\t\tyield put(actions.closeAccountValidation.failure());\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tyield put(actions.closeAccountValidation.success());\r\n\t\t// show modal\r\n\t\tyield put(push(addHashToUrl(location, ModalPopups.CLOSE_ACCOUNT)));\r\n\t}\r\n\r\n\t// Implicitly (payload.flow === CloseAccountFlow.CASH_MANAGMENT)\r\n\tif (payload.from === 'ACH') {\r\n\t\tyield put(push(changeHashInUrl(location, ModalPopups.WITHDRAW_FUNDS_ACH, ModalPopups.CLOSE_ACCOUNT)));\r\n\t} else if (payload.from === 'WIRE') {\r\n\t\tyield put(push(changeHashInUrl(location, ModalPopups.WITHDRAW_FUNDS_WIRE, ModalPopups.CLOSE_ACCOUNT)));\r\n\t}\r\n}\r\n\r\nfunction* hideCloseAccountModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.CLOSE_ACCOUNT)));\r\n}\r\n\r\nfunction* showCloseAccountFormModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\t// yield put(push(changeHashInUrl(location, ModalPopups.ACAT_FUND, ModalPopups.CLOSE_ACCOUNT_FORM)));\r\n\tyield put(push(changeHashInUrl(location, ModalPopups.CLOSE_ACCOUNT, ModalPopups.CLOSE_ACCOUNT_FORM)));\r\n}\r\n\r\nfunction* hideCloseAccountFormModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashesFromUrl(location, [ModalPopups.CLOSE_ACCOUNT, ModalPopups.CLOSE_ACCOUNT_FORM, ModalPopups.ACAT_FUND])));\r\n}\r\n\r\n\r\n// Watchers\r\nfunction* watchAcatDepositFormSubmit() {\r\n\tyield takeEvery(actions.ACAT_DEPOSIT_FORM_SUBMIT_REQUEST, acatDepositFormSubmit);\r\n}\r\nfunction* watchAcatDepositIraFormSubmit() {\r\n\tyield takeEvery(actions.acatDepositIraForm.REQUEST, acatDepositIraFormSubmit);\r\n}\r\nfunction* watchAcatOutgoingFormSubmit() {\r\n\tyield takeEvery(actions.ACAT_OUTGOING_FORM_SUBMIT_REQUEST, acatOutgoingFormSubmit);\r\n}\r\n\r\nfunction* watchCloseAccountFormSubmit() {\r\n\tyield takeEvery(actions.CLOSE_ACCOUNT_FORM_SUBMIT_REQUEST, closeAccountFormSubmit);\r\n}\r\n\r\nfunction* watchCloseAccountContinueSubmit() {\r\n\tyield takeEvery(actions.CLOSE_ACCOUNT_CONTINUE_REQUEST, closeAccountContinueSubmit);\r\n}\r\n\r\nfunction* watchShowAcatDepositModal() {\r\n\tyield takeEvery(actions.SHOW_ACAT_DEPOSIT_MODAL, showAcatDepositModal);\r\n}\r\nfunction* watchHideAcatDepositModal() {\r\n\tyield takeEvery(actions.HIDE_ACAT_DEPOSIT_MODAL, hideAcatDepositModal);\r\n}\r\nfunction* watchShowCloseAccountModal() {\r\n\tyield takeEvery(actions.SHOW_CLOSE_ACCOUNT_MODAL, showCloseAccountModal);\r\n}\r\nfunction* watchHideCloseAccountModal() {\r\n\tyield takeEvery(actions.HIDE_CLOSE_ACCOUNT_MODAL, hideCloseAccountModal);\r\n}\r\nfunction* watchShowCloseAccountFormModal() {\r\n\tyield takeEvery(actions.SHOW_CLOSE_ACCOUNT_FORM_MODAL, showCloseAccountFormModal);\r\n}\r\nfunction* watchHideCloseAccountFormModal() {\r\n\tyield takeEvery(actions.HIDE_CLOSE_ACCOUNT_FORM_MODAL, hideCloseAccountFormModal);\r\n}\r\n\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchAcatDepositFormSubmit),\r\n\tfork(watchAcatOutgoingFormSubmit),\r\n\tfork(watchAcatDepositIraFormSubmit),\r\n\tfork(watchCloseAccountFormSubmit),\r\n\tfork(watchCloseAccountContinueSubmit),\r\n\tfork(watchShowAcatDepositModal),\r\n\tfork(watchHideAcatDepositModal),\r\n\tfork(watchHideCloseAccountModal),\r\n\tfork(watchShowCloseAccountFormModal),\r\n\tfork(watchHideCloseAccountFormModal),\r\n\tfork(watchShowCloseAccountModal),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\nimport CONFIG from './config';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n\tCONFIG,\r\n};\r\n\r\n","import actions from './actions';\r\n\r\nconst getCookieShowDicwords = document.cookie\r\n\t.split(';')\r\n\t.filter(el => el.includes('show_dicwords_keys'))\r\n\t.join('');\r\n\r\nconst initialState = {\r\n\tresolution: 'lg',\r\n\tconfirmModal: {\r\n\t\tisVisible: false,\r\n\t\ttitle: null,\r\n\t\ttext: null,\r\n\t\tbuttonTitle: null,\r\n\t\taction: null,\r\n\t},\r\n\tlanguage: 'en',\r\n\tshowDicwordsKeys: getCookieShowDicwords[getCookieShowDicwords.length - 1],\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.SET_RESOLUTION:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tresolution: payload.resolution,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_CONFIRM_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tconfirmModal: {\r\n\t\t\t\t\tisVisible: true,\r\n\t\t\t\t\t...payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.HIDE_CONFIRM_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tconfirmModal: {\r\n\t\t\t\t\tisVisible: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.CHANGE_LANGUAGE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tlanguage: payload.lang,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_DICWORDS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tshowDicwordsKeys: true,\r\n\t\t\t};\r\n\r\n\t\tcase actions.HIDE_DICWORDS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tshowDicwordsKeys: false,\r\n\t\t\t};\r\n\r\n\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","import CONFIG from './config';\r\n\r\nexport default {\r\n\tresolution: state => state[CONFIG.STATE_FIELD_NAME].resolution,\r\n\tconfirmModalData: state => state.app.confirmModal,\r\n\tlanguage: state => state.app.language,\r\n};\r\n","import { put, select, fork, takeEvery } from 'redux-saga/effects';\r\nimport { push } from 'connected-react-router';\r\nimport { version, language } from '@api';\r\nimport { env, constants } from '@config';\r\nimport { ModalPopups } from '@enums';\r\nimport { addHashToUrl, cabinetLog, removeHashFromUrl, captureException } from '@global';\r\nimport { callApi, notifications, userAccounts, snackbar } from '@redux';\r\nimport { Cookies } from 'react-cookie';\r\nimport actions from './actions';\r\n\r\n\r\nfunction* changeLanguage({ type, payload: { lang } }) {\r\n\ttry {\r\n\t\tyield language(lang);\r\n\t} catch (ex) {\r\n\t\tcaptureException(type, ex);\r\n\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\ttitle: 'Application error',\r\n\t\t\ttext: 'Please contact with our support team',\r\n\t\t}));\r\n\t}\r\n\tconst account = yield select(userAccounts.selectors.currentTradeAccount);\r\n\r\n\tif (yield select(state => state.userAccounts.currentAccount)) {\r\n\t\tyield put(notifications.actions.getNotificationsRequest(account.tradeCode));\r\n\t}\r\n}\r\n\r\nfunction* showConfirmModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.CONFIRM_MODAL)));\r\n}\r\n\r\nfunction* hideConfirmModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.CONFIRM_MODAL)));\r\n}\r\n\r\nfunction* showBaseModal({ payload: { modalName } }) {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, modalName)));\r\n}\r\n\r\nfunction* hideBaseModal({ payload: { modalName } }) {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, modalName)));\r\n}\r\n\r\n\r\nfunction* checkMinVersionSaga() {\r\n\ttry {\r\n\t\tconst response = yield callApi(version);\r\n\t\tif (response.data.Success) {\r\n\t\t\tif (!env.version || env.version < response.data.Version) {\r\n\t\t\t\twindow.location.reload(true);\r\n\t\t\t}\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcabinetLog(error);\r\n\t}\r\n}\r\n\r\nfunction* showDicWordsKeysSaga() {\r\n\tconst exp = new Date();\r\n\texp.setTime(exp.getTime() + 24 * 60 * 60 * 1000);\r\n\tconst cookies = new Cookies();\r\n\tcookies.set('show_dicwords_keys', '1', {path: \"/\", expires: exp});\r\n}\r\n\r\nfunction* hideDicWordsKeysSaga() {\r\n\tconst cookies = new Cookies();\r\n\tcookies.remove('show_dicwords_keys', { path: '/' });\r\n}\r\n\r\nfunction* watchShowDicWordsKeysRequest() {\r\n\tyield takeEvery(actions.SHOW_DICWORDS, showDicWordsKeysSaga);\r\n}\r\n\r\nfunction* watchHideDicWordsKeysRequest() {\r\n\tyield takeEvery(actions.HIDE_DICWORDS, hideDicWordsKeysSaga);\r\n}\r\n\r\nfunction* watchangeLanguage() {\r\n\tyield takeEvery(actions.CHANGE_LANGUAGE, changeLanguage);\r\n}\r\n\r\nfunction* watchShowConfirmModal() {\r\n\tyield takeEvery(actions.SHOW_CONFIRM_MODAL, showConfirmModal);\r\n}\r\nfunction* watchHideConfirmModal() {\r\n\tyield takeEvery(actions.HIDE_CONFIRM_MODAL, hideConfirmModal);\r\n}\r\nfunction* watchShowBaseModal() {\r\n\tyield takeEvery(actions.SHOW_BASE_MODAL, showBaseModal);\r\n}\r\nfunction* watchHideBaseModal() {\r\n\tyield takeEvery(actions.HIDE_BASE_MODAL, hideBaseModal);\r\n}\r\nfunction* watchMinVersionRequest() {\r\n\tyield takeEvery(actions.CHECK_MIN_VERSION, checkMinVersionSaga);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchShowConfirmModal),\r\n\tfork(watchHideConfirmModal),\r\n\tfork(watchShowBaseModal),\r\n\tfork(watchHideBaseModal),\r\n\tfork(watchMinVersionRequest),\r\n\tfork(watchShowDicWordsKeysRequest),\r\n\tfork(watchHideDicWordsKeysRequest),\r\n\tfork(watchangeLanguage),\r\n\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n","import actions from './actions';\nimport auth from '../auth';\n\nconst initialState = {\n\tpartnerCabinetRedirect: {\n\t\tsubmitting: false,\n\t\tloaded: false,\n\t\turl: null,\n\t},\n\tmodals: {},\n};\n\nexport default (state = initialState, { type, payload }) => {\n\tswitch (type) {\n\t\tcase actions.agentRegistration.REQUEST:\n\t\tcase actions.partnerCabinetRedirect.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tpartnerCabinetRedirect: {\n\t\t\t\t\tsubmitting: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.agentRegistration.SUCCESS:\n\t\tcase actions.partnerCabinetRedirect.SUCCESS:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tpartnerCabinetRedirect: {\n\t\t\t\t\tUrl: payload.PartnerCabinetRedirectUrl,\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tloaded: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.agentRegistration.FAILURE:\n\t\tcase actions.partnerCabinetRedirect.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tpartnerCabinetRedirect: {\n\t\t\t\t\t...initialState.partnerCabinetRedirect,\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tloaded: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase auth.actions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","export default {\n\tpartnerCabinetRedirect: state => state.agent.partnerCabinetRedirect,\n};\n","import { fork, takeEvery, put } from 'redux-saga/effects';\nimport {\n\tmakePartnerCabinetRedirectUrl,\n\tagentRegistration,\n} from '@api';\nimport { BaseGetSagaHandler, userAccounts } from '@redux';\nimport actions from './actions';\n\nfunction* partnerCabinetRedirectRequestSagaHandler({ payload }) {\n\tyield BaseGetSagaHandler({\n\t\tapiMethod: makePartnerCabinetRedirectUrl,\n\t\terrorText: 'Partner Account',\n\t\thandler: actions.partnerCabinetRedirect,\n\t}, { payload });\n}\n\nfunction* agentRegistrationRequestSagaHandler({ payload }) {\n\tyield BaseGetSagaHandler({\n\t\tapiMethod: agentRegistration,\n\t\terrorText: 'Partner Account',\n\t\thandler: actions.agentRegistration,\n\t}, { payload });\n}\nfunction partnerCabinetRedirectSuccessSagaHandler({ payload }) {\n\twindow.location.href = payload.response.PartnerCabinetRedirectUrl;\n}\n\nfunction* watchAgentRegistrationSuccessSagaHandler({ payload }) {\n\tconst w = window.open(payload.response.PartnerCabinetRedirectUrl, '_blank');\n\tif (w) {\n\t\tyield put(userAccounts.actions.getAccountsRequest());\n\t\tw.focus();\n\t} else {\n\t\t// Если всплывающие окна заблокированы\n\t\twindow.location.href = payload.response.PartnerCabinetRedirectUrl;\n\t}\n}\n\nfunction* watchPartnerCabinetRedirectRequest() {\n\tyield takeEvery(actions.partnerCabinetRedirect.REQUEST, partnerCabinetRedirectRequestSagaHandler);\n}\nfunction* watchPartnerCabinetRedirectSuccess() {\n\tyield takeEvery(actions.partnerCabinetRedirect.SUCCESS, partnerCabinetRedirectSuccessSagaHandler);\n}\nfunction* watchAgentRegistrationRequest() {\n\tyield takeEvery(actions.agentRegistration.REQUEST, agentRegistrationRequestSagaHandler);\n}\nfunction* watchAgentRegistrationSuccess() {\n\tyield takeEvery(actions.agentRegistration.SUCCESS, watchAgentRegistrationSuccessSagaHandler);\n}\n\n// Root saga\nconst rootSaga = [\n\tfork(watchPartnerCabinetRedirectRequest),\n\tfork(watchPartnerCabinetRedirectSuccess),\n\tfork(watchAgentRegistrationRequest),\n\tfork(watchAgentRegistrationSuccess),\n];\n\nexport default {\n\trootSaga,\n};\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import actions from './actions';\r\n\r\nconst initialState = {\r\n\tisSidebarOpen: false,\r\n\tisNotificationsOpen: false,\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.INIT:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t};\r\n\t\tcase actions.INIT_COMPLETED:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\t...payload,\r\n\t\t\t};\r\n\t\tcase actions.SIDEBAR_OPEN:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tisSidebarOpen: true,\r\n\t\t\t};\r\n\t\tcase actions.SIDEBAR_CLOSE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tisSidebarOpen: false,\r\n\t\t\t};\r\n\t\tcase actions.NOTIFICATIONS_OPEN:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tisNotificationsOpen: true,\r\n\t\t\t};\r\n\t\tcase actions.NOTIFICATIONS_CLOSE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tisNotificationsOpen: false,\r\n\t\t\t};\r\n\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\tisSidebarOpen: state => state.dashboard.isSidebarOpen,\r\n\tisNotificationsOpen: state => state.dashboard.isNotificationsOpen,\r\n};\r\n","import { all, fork, put, select, take, takeEvery, takeLatest } from 'redux-saga/effects';\r\nimport { auth, profile, signalR, userAccounts } from '@redux';\r\nimport { push } from 'connected-react-router';\r\nimport { env } from '@config';\r\nimport { ModalPopups, TwoFactorAutenticationType, MarketDataClientStatus } from '@enums';\r\nimport { cabinetLog, addHashToUrl, getDateTimeEst, dateDiffInDays } from '@global';\r\nimport actions from './actions';\r\n\r\nfunction* dashboardInitSaga({ payload: { tradeCode } }) {\r\n\ttry {\r\n\t\tif (env.signalRUrl) {\r\n\t\t\tyield put(signalR.actions.connectSignalR());\r\n\t\t}\r\n\r\n\t\tyield put(userAccounts.actions.getAccountsRequest());\r\n\r\n\t\tyield take([\r\n\t\t\tuserAccounts.actions.GET_ACCOUNTS_SUCCESS,\r\n\t\t\tuserAccounts.actions.GET_ACCOUNTS_FAILURE,\r\n\t\t]);\r\n\r\n\t\tconst demoAccount = yield select(userAccounts.selectors.getDemoAccount);\r\n\t\tconst anyRealAccountExists = yield select(userAccounts.selectors.anyRealAccountExists);\r\n\r\n\t\tif (demoAccount && !anyRealAccountExists) {\r\n\t\t\tconst currentDateTimeEst = getDateTimeEst();\r\n\t\t\tconst expirationDate = new Date(demoAccount.ExpirationDate);\r\n\t\t\tconst diffDays = dateDiffInDays(expirationDate, currentDateTimeEst);\r\n\r\n\t\t\tif (diffDays < 0 || demoAccount.IsClosed) {\r\n\t\t\t\tyield put(profile.actions.showDemoAccountExpirationModal());\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst accounts = (yield select(userAccounts.selectors.accounts));\r\n\t\tcabinetLog(accounts);\r\n\t\tif (!accounts || accounts.length === 0) {\r\n\t\t\tthrow new Error('Has no account');\r\n\t\t}\r\n\r\n\t\tconst currentAccount = localStorage.getItem('curacc');\r\n\t\tconst accCurrent = accounts.find(it => it.TradeCode === tradeCode || it.TradeCode === currentAccount);\r\n\r\n\t\t// init start's popups\r\n\t\tyield put(actions.initComplete());\r\n\t\tcabinetLog('init complete');\r\n\r\n\t\tyield all([\r\n\t\t\tyield put(userAccounts.actions.setCurrentAccount(!accCurrent ? accounts[0] : accCurrent)),\r\n\t\t\tyield put(profile.actions.getProfileRequest()),\r\n\t\t]);\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tconsole.error('init error', error);\r\n\t\tyield put(auth.actions.logout());\r\n\t}\r\n}\r\n\r\nfunction* IsWelcomePageModalVisible() {\r\n\ttry {\r\n\t\tyield all([\r\n\t\t\t// welcome page required profile.IsInstantTrading\r\n\t\t\ttake(profile.actions.GET_PROFILE_SUCCESS),\r\n\t\t\t// welcome page required accountInfo.platforms.ActiveTradePlatform\r\n\t\t\ttake(userAccounts.actions.GET_ACCOUNT_INFO_SUCCESS),\r\n\t\t]);\r\n\r\n\t\tconst userInfo = yield select(userAccounts.selectors.userInfo);\r\n\t\treturn userInfo && userInfo.IsPreopened;\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction* IsAttestationProfileModalVisible() {\r\n\ttry {\r\n\t\tconst userProfile = yield select(profile.selectors.profile);\r\n\t\tconst location = yield select(state => state.router.location);\r\n\r\n\t\treturn env.WEBCAB_5863_allow_attestation &&\r\n\t\t\tuserProfile &&\r\n\t\t\tuserProfile.NeedUpdatePersonalInfo &&\r\n\t\t\tlocation && location.pathname !== '/dashboard/ConfirmPersonalInfo';\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction* IsMarketDataStatusModalVisible() {\r\n\ttry {\r\n\t\tconst userProfile = yield select(profile.selectors.profile);\r\n\t\tconst {\r\n\t\t\tPersonalInformation,\r\n\t\t\tPendingOrders,\r\n\t\t\tHasMarketDataDisabled,\r\n\t\t\tMarketDataStatus,\r\n\t\t} = userProfile;\r\n\r\n\t\tconst userInfo = yield select(userAccounts.selectors.userInfo);\r\n\t\tconst secondFactorIsOn = userInfo && userInfo.TwoFactorAutenticationType !== TwoFactorAutenticationType.NONE;\r\n\r\n\t\treturn !HasMarketDataDisabled &&\r\n\t\t\tPersonalInformation.ResidentialCountry !== 'RU' &&\r\n\t\t\tMarketDataStatus === MarketDataClientStatus.UNDEFINED &&\r\n\t\t\t!PendingOrders.MarketDataStatus &&\r\n\t\t\tsecondFactorIsOn;\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction* IsMarketDataAgreementsModalVisible() {\r\n\ttry {\r\n\t\tconst userProfile = yield select(profile.selectors.profile);\r\n\t\tconst {\r\n\t\t\tPersonalInformation,\r\n\t\t\tPendingOrders,\r\n\t\t\tHasMarketDataDisabled,\r\n\t\t\tMarketDataStatus,\r\n\t\t\tMarketDataSubscriptions,\r\n\t\t} = userProfile;\r\n\r\n\t\tconst userInfo = yield select(userAccounts.selectors.userInfo);\r\n\t\tconst secondFactorIsOn = userInfo && userInfo.TwoFactorAutenticationType !== TwoFactorAutenticationType.NONE;\r\n\t\tconst subscriptions = MarketDataSubscriptions.reduce((prev, cur) => ({ ...prev, [cur.MarketDataName]: cur.IsOn }), {});\r\n\t\tconst ctaUtp = subscriptions.CTA_UTP;\r\n\r\n\t\treturn !HasMarketDataDisabled &&\r\n\t\t\tPersonalInformation.ResidentialCountry !== 'RU' &&\r\n\t\t\t(MarketDataStatus === MarketDataClientStatus.PRO || MarketDataStatus === MarketDataClientStatus.NON_PRO) &&\r\n\t\t\t!PendingOrders.MDSubscription &&\r\n\t\t\tsecondFactorIsOn &&\r\n\t\t\t!ctaUtp;\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction* Is2FaDisabledModalVisible() {\r\n\ttry {\r\n\t\tconst demoAccount = yield select(userAccounts.selectors.getDemoAccount);\r\n\t\tconst anyRealAccountExists = yield select(userAccounts.selectors.anyRealAccountExists);\r\n\t\tconst userInfo = yield select(userAccounts.selectors.userInfo);\r\n\r\n\t\treturn !env.UNIAP_909_secondFactorRestrictionDate &&\r\n\t\t\t(!demoAccount || anyRealAccountExists) &&\r\n\t\t\tuserInfo &&\r\n\t\t\tuserInfo.TwoFactorAutenticationType === TwoFactorAutenticationType.NONE;\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction* dashboardInitCompletedSaga() {\r\n\tfunction* showModal(modal) {\r\n\t\tconst location = yield select(state => state.router.location);\r\n\t\tyield put(push(addHashToUrl(location, modal)));\r\n\t}\r\n\r\n\tyield take(userAccounts.actions.getUserInfo.SUCCESS);\r\n\r\n\tconst welcomePageVisible = yield IsWelcomePageModalVisible();\r\n\tconst confirmProfleVisible = yield IsAttestationProfileModalVisible();\r\n\t/* У marketDataStatus и marketDataAgreements взаимоисключающая видимость */\r\n\tconst marketDataStatusVisible = yield IsMarketDataStatusModalVisible();\r\n\tconst marketDataAgreementsVisible = yield IsMarketDataAgreementsModalVisible();\r\n\tconst secondFactorDisabledVisible = yield Is2FaDisabledModalVisible();\r\n\r\n\t// Задание приоритета отображения модальным окнам\r\n\tif (secondFactorDisabledVisible) {\r\n\t\tyield showModal(ModalPopups.SECOND_FACTOR_DISABLED_RESTRICTION);\r\n\t\treturn;\r\n\t}\r\n\tif (marketDataStatusVisible) {\r\n\t\tyield showModal(ModalPopups.UPDATE_SUBSCRIBER_STATUS);\r\n\t\treturn;\r\n\t}\r\n\tif (marketDataAgreementsVisible) {\r\n\t\tyield showModal(ModalPopups.UPDATE_SUBSCRIBER_AGREEMENTS);\r\n\t\treturn;\r\n\t}\r\n\tif (confirmProfleVisible) {\r\n\t\tyield showModal(ModalPopups.CONFIRM_PROFILE);\r\n\t\treturn;\r\n\t}\r\n\tif (welcomePageVisible) {\r\n\t\tyield showModal(ModalPopups.WELCOME_PAGE);\r\n\t}\r\n}\r\n\r\n// Watchers\r\nfunction* watchInit() {\r\n\tyield takeEvery(actions.INIT, dashboardInitSaga);\r\n}\r\n\r\nfunction* watchDashboardInitCompleted() {\r\n\tyield takeLatest(actions.INIT_COMPLETED, dashboardInitCompletedSaga);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchInit),\r\n\tfork(watchDashboardInitCompleted),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import actions from './actions';\r\nimport auth from '../auth';\r\n\r\nconst initialState = {\r\n\tdepositWireModal: {\r\n\t\tbankAccount: null,\r\n\t},\r\n\tdepositAchModal: {\r\n\t\tbankAccount: null,\r\n\t\ttradeAccount: null,\r\n\t},\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.SHOW_DEPOSIT_FUNDS_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tdepositAchModal: {\r\n\t\t\t\t\tbankAccount: payload.bankAccount,\r\n\t\t\t\t\ttradeAccount: payload.tradeAccount,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.HIDE_DEPOSIT_FUNDS_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tdepositAchModal: {\r\n\t\t\t\t\tbankAccount: null,\r\n\t\t\t\t\ttradeAccount: null,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_DEPOSIT_FUNDS_WIRE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tdepositWireModal: {\r\n\t\t\t\t\tbankAccount: payload.bankAccount,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.HIDE_DEPOSIT_FUNDS_WIRE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tdepositWireModal: {\r\n\t\t\t\t\tbankAccount: null,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase auth.actions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\tdepositAchModal: state => state.depositFunds.depositAchModal,\r\n\tdepositWireModal: state => state.depositFunds.depositWireModal,\r\n};\r\n","import { put, fork, takeEvery, select, call } from 'redux-saga/effects';\r\nimport { achDeposit, brokerDeposit, iraDeposit } from '@api';\r\nimport { SubmissionError } from 'redux-form';\r\nimport { BaseGetSagaHandler, snackbar, userAccounts, callApi } from '@redux';\r\nimport { push } from 'connected-react-router';\r\nimport { ModalPopups } from '@enums';\r\nimport { addHashToUrl, removeHashFromUrl } from '@global';\r\nimport actions from './actions';\r\n\r\n// function* reloadTransactionHistory(tradeCode, clearerFirm) {\r\n// \tconst cashActivities = yield select(userAccounts.selectors.cashActivities);\r\n// \tconst {\r\n// \t\tStartDate,\r\n// \t\tEndDate,\r\n// \t} = cashActivities.pagination;\r\n\r\n// \t// reload first page\r\n// \tyield put(userAccounts.actions.getTransactionsHistory.request({\r\n// \t\tTradeCode: tradeCode,\r\n// \t\tClearerFirm: clearerFirm,\r\n// \t\tStartDate,\r\n// \t\tEndDate,\r\n// \t\tPage: 1,\r\n// \t\tPageSize: 10,\r\n// \t}));\r\n// }\r\n\r\nfunction* depositFormSubmit({ payload }) {\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: achDeposit,\r\n\t\terrorText: 'ACH Deposit Funds',\r\n\t\thandler: actions.depositAchFundsForm,\r\n\t}, { payload });\r\n\r\n\tif (isSuccess) {\r\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.tradeCode, payload.clearerFirm);\r\n\t}\r\n}\r\nfunction* depositFormBrokerSubmit({ payload }) {\r\n\tconst createTransferModel = {\r\n\t\tTradeCode: payload.TradeCode,\r\n\t\tClearingFirm: payload.ClearingFirm,\r\n\t\tAmount: payload.Amount,\r\n\t\tDirection: payload.Direction,\r\n\t\tBrokerAccount: payload.bankAccountNumber,\r\n\t};\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: brokerDeposit,\r\n\t\terrorText: 'Broker Deposit Funds',\r\n\t\thandler: actions.depositBrokerFundsForm,\r\n\t}, { payload: createTransferModel });\r\n\r\n\tif (isSuccess) {\r\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCode, payload.ClearingFirm);\r\n\t}\r\n}\r\nfunction* depositFormIraSubmit({ payload }) {\r\n\tyield BaseGetSagaHandler({\r\n\t\tapiMethod: iraDeposit,\r\n\t\terrorText: 'Ira Deposit Funds',\r\n\t\thandler: actions.depositIraFundsForm,\r\n\t}, { payload });\r\n}\r\n\r\nfunction* showDepositFundsAchModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.DEPOSIT_FUNDS_ACH)));\r\n}\r\n\r\nfunction* hideDepositFundsAchModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.DEPOSIT_FUNDS_ACH)));\r\n}\r\nfunction* showDepositFundsBrokerModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.DEPOSIT_FUNDS_BROKER)));\r\n}\r\n\r\nfunction* hideDepositFundsBrokerModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.DEPOSIT_FUNDS_BROKER)));\r\n}\r\n\r\nfunction* showDepositFundsIraModal() {\r\n\tconst location = yield select(state => state.router.location);\r\n\tyield put(push(addHashToUrl(location, ModalPopups.DEPOSIT_FUNDS_IRA)));\r\n}\r\n\r\nfunction* hideDepositFundsIraModal() {\r\n\tconst location = yield select(state => state.router.location);\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.DEPOSIT_FUNDS_IRA)));\r\n}\r\nfunction* showDepositFundsWireModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.DEPOSIT_FUNDS_WIRE)));\r\n}\r\n\r\nfunction* hideDepositFundsWireModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.DEPOSIT_FUNDS_WIRE)));\r\n}\r\n\r\n\r\n// Watchers\r\nfunction* watchDepositFormSubmit() {\r\n\tyield takeEvery(actions.depositAchFundsForm.REQUEST, depositFormSubmit);\r\n}\r\nfunction* watchDepositFormBrokerSubmit() {\r\n\tyield takeEvery(actions.depositBrokerFundsForm.REQUEST, depositFormBrokerSubmit);\r\n}\r\nfunction* watchDepositFormIraSubmit() {\r\n\tyield takeEvery(actions.depositIraFundsForm.REQUEST, depositFormIraSubmit);\r\n}\r\nfunction* watchShowDepositFundsAchModal() {\r\n\tyield takeEvery(actions.SHOW_DEPOSIT_FUNDS_MODAL, showDepositFundsAchModal);\r\n}\r\nfunction* watchHideDepositFundsAchModal() {\r\n\tyield takeEvery(actions.HIDE_DEPOSIT_FUNDS_MODAL, hideDepositFundsAchModal);\r\n}\r\nfunction* watchShowDepositFundsBrokerModal() {\r\n\tyield takeEvery(actions.SHOW_DEPOSIT_FUNDS_BROKER_MODAL, showDepositFundsBrokerModal);\r\n}\r\nfunction* watchHideDepositFundsBrokerModal() {\r\n\tyield takeEvery(actions.HIDE_DEPOSIT_FUNDS_BROKER_MODAL, hideDepositFundsBrokerModal);\r\n}\r\nfunction* watchShowDepositFundsIraModal() {\r\n\tyield takeEvery(actions.SHOW_DEPOSIT_FUNDS_IRA_MODAL, showDepositFundsIraModal);\r\n}\r\nfunction* watchHideDepositFundsIraModal() {\r\n\tyield takeEvery(actions.HIDE_DEPOSIT_FUNDS_IRA_MODAL, hideDepositFundsIraModal);\r\n}\r\nfunction* watchShowDepositFundsWireModal() {\r\n\tyield takeEvery(actions.SHOW_DEPOSIT_FUNDS_WIRE_MODAL, showDepositFundsWireModal);\r\n}\r\nfunction* watchHideDepositFundsWireModal() {\r\n\tyield takeEvery(actions.HIDE_DEPOSIT_FUNDS_WIRE_MODAL, hideDepositFundsWireModal);\r\n}\r\n\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchDepositFormSubmit),\r\n\tfork(watchDepositFormBrokerSubmit),\r\n\tfork(watchDepositFormIraSubmit),\r\n\tfork(watchShowDepositFundsAchModal),\r\n\tfork(watchHideDepositFundsAchModal),\r\n\tfork(watchShowDepositFundsBrokerModal),\r\n\tfork(watchHideDepositFundsBrokerModal),\r\n\tfork(watchShowDepositFundsIraModal),\r\n\tfork(watchHideDepositFundsIraModal),\r\n\tfork(watchShowDepositFundsWireModal),\r\n\tfork(watchHideDepositFundsWireModal),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n","import { ModalPopups } from '@enums';\nimport actions from './actions';\nimport auth from '../auth';\n\nconst initialState = {\n\tclients: {\n\t\tsubmitting: false,\n\t\tloaded: false,\n\t\titems: [],\n\t},\n\tmodals: {},\n};\n\nexport default (state = initialState, { type, payload }) => {\n\tswitch (type) {\n\t\t// getApiKeys\n\t\tcase actions.getApiKeys.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tclients: {\n\t\t\t\t\t...state.clients,\n\t\t\t\t\tsubmitting: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getApiKeys.SUCCESS:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tclients: {\n\t\t\t\t\tloaded: true,\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\titems: [\n\t\t\t\t\t\t...payload.response.Clients,\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getApiKeys.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tclients: {\n\t\t\t\t\t...initialState.clients,\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tloaded: true,\n\t\t\t\t},\n\t\t\t};\n\n\t\t// createApiKey\n\t\tcase actions.createApiKey.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tmodals: {\n\t\t\t\t\t...state.modals,\n\t\t\t\t\t[ModalPopups.CREATE_APIKEY]: {\n\t\t\t\t\t\tsubmitting: true,\n\t\t\t\t\t\terror: false,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase actions.createApiKey.SUCCESS: {\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tmodals: {\n\t\t\t\t\t...state.modals,\n\t\t\t\t\t[ModalPopups.CREATE_APIKEY]: {\n\t\t\t\t\t\tCreatedSecretKey: payload.response.CreatedSecretKey,\n\t\t\t\t\t\tСlientId: payload.response.ClientId,\n\t\t\t\t\t\tsubmitting: false,\n\t\t\t\t\t\terror: false,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\tcase actions.createApiKey.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tmodals: {\n\t\t\t\t\t...state.modals,\n\t\t\t\t\t[ModalPopups.CREATE_APIKEY]: {\n\t\t\t\t\t\tsubmitting: false,\n\t\t\t\t\t\terror: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.SHOW_CREATE_APIKEY_MODAL:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tmodals: {\n\t\t\t\t\t...state.modals,\n\t\t\t\t\t[ModalPopups.CREATE_APIKEY]: null,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.HIDE_ETNAAUTH_MODAL:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tmodals: {\n\t\t\t\t\t...state.modals,\n\t\t\t\t\t[payload]: undefined,\n\t\t\t\t},\n\t\t\t};\n\t\tcase auth.actions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","export default {\n\tclients: state => state.etnaAuth.clients,\n\tmodals: state => state.etnaAuth.modals,\n};\n","import { fork, put, select, takeEvery } from 'redux-saga/effects';\nimport { push } from 'connected-react-router';\nimport {\n\tcreateApiKey,\n\tgetApiKeys,\n\trevokeApiKey,\n\tapiMarketDataAgreement,\n} from '@api';\nimport { ModalPopups } from '@enums';\nimport { addHashToUrl, removeHashFromUrl } from '@global';\nimport { BaseGetSagaHandler, etnaAuth, userAccounts } from '@redux';\nimport actions from './actions';\n\n\nfunction* watchGetApiKeysRequest() {\n\tyield takeEvery(actions.getApiKeys.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: getApiKeys,\n\t\terrorText: 'Get Clients',\n\t\thandler: actions.getApiKeys,\n\t});\n}\n\nfunction* revokeApiKeySagaHandler({ payload: { onEndRequest, ...others } }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: revokeApiKey,\n\t\terrorText: 'API Key Revoke',\n\t\thandler: actions.revokeApiKey,\n\t\tonEndRequest,\n\t}, { payload: others });\n\n\tif (isSuccess) {\n\t\tyield put(actions.getApiKeys.request());\n\t}\n}\n\nfunction* createApiKeyRequestSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: createApiKey,\n\t\terrorText: 'Create API Key',\n\t\thandler: actions.createApiKey,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield put(actions.getApiKeys.request());\n\t}\n}\n\nfunction GetModalPopupType(type) {\n\tswitch (type) {\n\t\tcase actions.SHOW_CREATE_APIKEY_MODAL:\n\t\t\treturn ModalPopups.CREATE_APIKEY;\n\t\tdefault:\n\t\t\treturn '';\n\t}\n}\n\nfunction* showModal({ type }) {\n\tconst location = yield select(state => state.router.location);\n\tyield put(push(addHashToUrl(location, GetModalPopupType(type))));\n}\n\nfunction* hideModal({ payload }) {\n\tconst location = yield select(state => state.router.location);\n\tyield put(push(removeHashFromUrl(location, payload)));\n}\n\nfunction* apiKeyModalInit() {\n\tconst clients = yield select(etnaAuth.selectors.clients);\n\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\n\n\tif (!clients.submitting && !clients.loaded) {\n\t\tyield put(actions.getApiKeys.request());\n\t}\n\n\tyield put(actions.createApiKey.request({ clientId: currentAccount.tradeCode }));\n}\n\nfunction* watchRevokeApiKeyRequest() {\n\tyield takeEvery(actions.revokeApiKey.REQUEST, revokeApiKeySagaHandler);\n}\n\nfunction* watchCreateApiKeyRequest() {\n\tyield takeEvery(actions.createApiKey.REQUEST, createApiKeyRequestSaga);\n}\n\nfunction* watchShowModal() {\n\tyield takeEvery([\n\t\tactions.SHOW_CREATE_APIKEY_MODAL,\n\t], showModal);\n}\n\nfunction* watchHideModal() {\n\tyield takeEvery(actions.HIDE_MODAL, hideModal);\n}\n\nfunction* watchApiKeyModalInit() {\n\tyield takeEvery(actions.apiKeyModalInit.REQUEST, apiKeyModalInit);\n}\n\nfunction* apiMarketDataAgreementSaga({ payload }) {\n\tyield BaseGetSagaHandler({\n\t\tapiMethod: apiMarketDataAgreement,\n\t\terrorText: 'Api Market Data Agreement',\n\t\thandler: actions.apiMarketDataAgreement,\n\t}, { payload });\n}\n\nfunction* watchChangeApiMarketDataAgreement() {\n\tyield takeEvery(actions.apiMarketDataAgreement.REQUEST, apiMarketDataAgreementSaga);\n}\n\n// Root saga\nconst rootSaga = [\n\tfork(watchGetApiKeysRequest),\n\tfork(watchRevokeApiKeyRequest),\n\tfork(watchCreateApiKeyRequest),\n\tfork(watchShowModal),\n\tfork(watchHideModal),\n\tfork(watchApiKeyModalInit),\n\tfork(watchChangeApiMarketDataAgreement),\n];\n\nexport default {\n\trootSaga,\n};\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n","import actions from './actions';\nimport authActions from '../auth/actions';\nimport userAccountsActions from '../userAccounts/actions';\n\nconst initialState = {\n\tcurrentOffering: {\n\t\tsubmitting: false,\n\t\tvalue: undefined,\n\t},\n\tipoCreatingOrder: {},\n\tipoOrderExtendedInfo: {},\n\tofferings: {\n\t\tsubmitting: true,\n\t\tpagination: {},\n\t\titems: [],\n\t},\n\torders: {\n\t\tsubmitting: true,\n\t\tpagination: {},\n\t\titems: [],\n\t},\n};\n\nexport default (state = initialState, { type, payload }) => {\n\tswitch (type) {\n\t\tcase actions.SHOW_IPO_CREATE_ORDER_MODAL:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tipoCreatingOrder: payload,\n\t\t\t};\n\t\tcase actions.SHOW_IPO_EXTENDED_INFO_MOBILE_MODAL:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tipoOrderExtendedInfo: payload,\n\t\t\t};\n\n\t\tcase actions.getOfferings.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tofferings: (payload.page === 1) ? {\n\t\t\t\t\t...initialState.offerings,\n\t\t\t\t} : {\n\t\t\t\t\t...state.offerings,\n\t\t\t\t\tsubmitting: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getOfferings.SUCCESS:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tofferings: {\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tpagination: {\n\t\t\t\t\t\t...payload.request,\n\t\t\t\t\t},\n\t\t\t\t\titems: [\n\t\t\t\t\t\t...state.offerings.items,\n\t\t\t\t\t\t...payload.response.Items,\n\t\t\t\t\t],\n\t\t\t\t\tsucceed: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getOfferings.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tofferings: {\n\t\t\t\t\t...state.offerings,\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tsucceed: false,\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase actions.getOffering.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tcurrentOffering: {\n\t\t\t\t\tsubmitting: true,\n\t\t\t\t\tvalue: undefined,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getOffering.SUCCESS:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tcurrentOffering: {\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tvalue: payload.response.Offering,\n\t\t\t\t\tsucceed: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getOffering.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tcurrentOffering: {\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tvalue: undefined,\n\t\t\t\t\tsucceed: false,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getOrders.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\torders: (payload.page === 1) ? {\n\t\t\t\t\t...initialState.orders,\n\t\t\t\t} : {\n\t\t\t\t\t...state.orders,\n\t\t\t\t\tsubmitting: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getOrders.SUCCESS:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\torders: {\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tpagination: {\n\t\t\t\t\t\t...payload.request,\n\t\t\t\t\t},\n\t\t\t\t\titems: [\n\t\t\t\t\t\t...state.orders.items,\n\t\t\t\t\t\t...payload.response.Items,\n\t\t\t\t\t],\n\t\t\t\t\tsucceed: true,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getOrders.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\torders: {\n\t\t\t\t\t...state.orders,\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\tsucceed: false,\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase userAccountsActions.SET_CURRENT_ACCOUNT:\n\t\t\treturn {\n\t\t\t\t...initialState,\n\t\t\t};\n\n\t\tcase authActions.LOGIN_USER:\n\t\t\treturn {\n\t\t\t\t...initialState,\n\t\t\t};\n\t\tcase authActions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","export default {\n\tcurrentOffering: state => state.ipo.currentOffering,\n\tipoCreatingOrder: state => state.ipo.ipoCreatingOrder,\n\tipoOrderExtendedInfo: state => state.ipo.ipoOrderExtendedInfo,\n\tofferings: state => state.ipo.offerings,\n\torders: state => state.ipo.orders,\n};\n","import { fork, put, select, takeEvery } from 'redux-saga/effects';\nimport { push } from 'connected-react-router';\nimport { cancelIpoOrder, createIpoOrder, getOffering, getOfferings, getOrders } from '@api';\nimport { ModalPopups } from '@enums';\nimport { addHashToUrl } from '@global';\nimport { BaseGetSagaHandler, userAccounts } from '@redux';\nimport actions from './actions';\n\n\nfunction* watchGetOfferingRequest() {\n\tyield takeEvery(actions.getOffering.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: getOffering,\n\t\terrorText: 'Get IPO Offering',\n\t\thandler: actions.getOffering,\n\t});\n}\nfunction* watchGetOfferingsRequest() {\n\tyield takeEvery(actions.getOfferings.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: getOfferings,\n\t\terrorText: 'Get IPO Offerings',\n\t\thandler: actions.getOfferings,\n\t\tdefaults: { page: 1, pageSize: 10, type: 'any' },\n\t});\n}\n\nfunction* watchGetOrdersRequest() {\n\tyield takeEvery(actions.getOrders.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: getOrders,\n\t\terrorText: 'Get IPO Orders',\n\t\thandler: actions.getOrders,\n\t\tdefaults: { page: 1, pageSize: 10, type: 'any' },\n\t});\n}\n\nfunction* createIpoOrderRequestSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: createIpoOrder,\n\t\terrorText: 'Create IPO Order',\n\t\thandler: actions.createIpoOrder,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\t// reload first page\n\t\tyield put(actions.getOfferings.request({\n\t\t\tTradeCode: payload.TradeCode,\n\t\t\tClearerFirm: payload.ClearerFirm,\n\t\t\tpage: 1,\n\t\t\tpageSize: 10,\n\t\t}));\n\n\t\tyield put(actions.getOrders.request({\n\t\t\tTradeCode: payload.TradeCode,\n\t\t\tClearerFirm: payload.ClearerFirm,\n\t\t\tpage: 1,\n\t\t\tpageSize: 10,\n\t\t}));\n\t}\n}\n\nfunction* watchCreateIpoOrderRequest() {\n\tyield takeEvery(actions.createIpoOrder.REQUEST, createIpoOrderRequestSaga);\n}\n\nfunction* cancelIpoOrderRequestSaga({ payload: { onEndRequest, OrderId } }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: cancelIpoOrder,\n\t\terrorText: 'Cancel IPO Order',\n\t\thandler: actions.cancelIpoOrder,\n\t\tonEndRequest,\n\t}, { payload: { OrderId } });\n\n\tif (isSuccess) {\n\t\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\n\n\t\t// reload first page\n\t\tyield put(actions.getOfferings.request({\n\t\t\tTradeCode: currentAccount.tradeCode,\n\t\t\tClearerFirm: currentAccount.clearerFirm,\n\t\t\tpage: 1,\n\t\t\tpageSize: 10,\n\t\t}));\n\n\t\tyield put(actions.getOrders.request({\n\t\t\tTradeCode: currentAccount.tradeCode,\n\t\t\tClearerFirm: currentAccount.clearerFirm,\n\t\t\tpage: 1,\n\t\t\tpageSize: 10,\n\t\t}));\n\t}\n}\n\nfunction* watchCancelOrderRequest() {\n\tyield takeEvery(actions.cancelIpoOrder.REQUEST, cancelIpoOrderRequestSaga);\n}\n\n\nfunction* showIpoCreateOrderModal() {\n\t// get current location\n\tconst location = yield select(state => state.router.location);\n\t// show modal\n\tyield put(push(addHashToUrl(location, ModalPopups.IPO_CREATE_ORDER)));\n}\n\nfunction* watchShowIpoCreateOrderModal() {\n\tyield takeEvery(actions.SHOW_IPO_CREATE_ORDER_MODAL, showIpoCreateOrderModal);\n}\n\nfunction* showIpoExtendedInfoMobileModal() {\n\t// get current location\n\tconst location = yield select(state => state.router.location);\n\t// show modal\n\tyield put(push(addHashToUrl(location, ModalPopups.IPO_EXTENDED_INFO_MOBILE)));\n}\n\nfunction* watchShowIpoExtendedInfoMobileModal() {\n\tyield takeEvery(actions.SHOW_IPO_EXTENDED_INFO_MOBILE_MODAL, showIpoExtendedInfoMobileModal);\n}\n\n// Root saga\nconst rootSaga = [\n\tfork(watchGetOfferingRequest),\n\tfork(watchGetOfferingsRequest),\n\tfork(watchGetOrdersRequest),\n\tfork(watchCreateIpoOrderRequest),\n\tfork(watchCancelOrderRequest),\n\tfork(watchShowIpoCreateOrderModal),\n\tfork(watchShowIpoCreateOrderModal),\n\tfork(watchShowIpoExtendedInfoMobileModal),\n];\n\nexport default {\n\trootSaga,\n};\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n","import actions from './actions';\nimport auth from '../auth';\n\nconst initialState = {\n\tbankAccounts: {\n\t\tloading: true,\n\t},\n};\n\nexport default (state = initialState, { type, payload }) => {\n\tswitch (type) {\n\t\tcase actions.GET_PLAID_ACCOUNTS_REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tbankAccounts: {\n\t\t\t\t\tloading: true,\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase actions.GET_PLAID_ACCOUNTS_SUCCESS:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tbankAccounts: {\n\t\t\t\t\tloading: false,\n\t\t\t\t\taccounts: payload.BankAccounts,\n\t\t\t\t\terror: null,\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase actions.GET_PLAID_ACCOUNTS_FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tbankAccounts: {\n\t\t\t\t\tloading: false,\n\t\t\t\t\terror: payload.error,\n\t\t\t\t},\n\t\t\t};\n\t\tcase auth.actions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","export default {\n\tbankAccounts: state => state.linkedAccounts.bankAccounts,\n};\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","/* eslint-disable no-unused-vars */\r\n\r\nconst initialState = {\r\n\tloading: false,\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n};\r\n","/* eslint-disable no-plusplus */\r\nimport { put, fork, takeEvery, call } from 'redux-saga/effects';\r\nimport { SubmissionError } from 'redux-form';\r\nimport { loginLocal } from '@api';\r\nimport { cabinetLog } from '@global';\r\nimport { auth } from '@redux';\r\n\r\nimport actions from './actions';\r\n\r\nfunction* loginFormSubmit({ payload: { username, password } }) {\r\n\ttry {\r\n\t\tconst loginResponse = yield call(loginLocal, username, password);\r\n\t\tif (typeof loginResponse.data === 'string') {\r\n\t\t\t// if was error with status 200\r\n\t\t\tRaven.captureMessage('loginResponse.data === string', { extra: { text: loginResponse.data.substr(0, 200) } });\r\n\t\t\tloginResponse.data = {\r\n\t\t\t\tSuccess: false,\r\n\t\t\t\tErrors: [{\r\n\t\t\t\t\tCode: 'Unknown',\r\n\t\t\t\t\tMessage: 'An internal server error',\r\n\t\t\t\t}],\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tif (!loginResponse.data.Success) {\r\n\t\t\tif (loginResponse.data.Errors[0].Code === 'Authorized') {\r\n\t\t\t\tyield put(actions.loginFormSuccess());\r\n\t\t\t\tcabinetLog('Authorized auth error', loginResponse.data);\r\n\t\t\t\tyield put(auth.actions.loginLocal({ username, token: loginResponse.data.SignalRToken }));\r\n\t\t\t}\r\n\t\t\tif (loginResponse.data.Errors) {\r\n\t\t\t\tconst errors = [];\r\n\t\t\t\tfor (let i = 0; i < loginResponse.data.Errors.length; i++) {\r\n\t\t\t\t\terrors.push(`${loginResponse.data.Errors[i].Message}`);\r\n\t\t\t\t}\r\n\t\t\t\tyield put(actions.loginFormFailure(new SubmissionError({\r\n\t\t\t\t\t_error: errors,\r\n\t\t\t\t})));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tyield put(actions.loginFormSuccess());\r\n\t\t\tcabinetLog('success auth', loginResponse.data);\r\n\t\t\tyield put(auth.actions.loginLocal({ username, token: loginResponse.data.SignalRToken }));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureMessage('loginFormSubmit exception', { extra: error });\r\n\t\tyield put(actions.loginFormFailure(new SubmissionError({\r\n\t\t\t_error: ['NETWORK ERROR'],\r\n\t\t})));\r\n\t\tconsole.error(error);\r\n\t}\r\n}\r\n\r\n// Watchers\r\nfunction* watchLoginFormSubmit() {\r\n\tyield takeEvery(actions.LOGIN_FORM_SUBMIT_REQUEST, loginFormSubmit);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchLoginFormSubmit),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n\n","import { ModalPopups } from '@enums';\nimport appActions from '../app/actions';\nimport auth from '../auth';\n\n\nconst initialState = {\n\tdebtDocs: null,\n};\n\nexport default (state = initialState, { type, payload }) => {\n\tswitch (type) {\n\t\tcase appActions.SHOW_BASE_MODAL:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tdebtDocs: [\n\t\t\t\t\tModalPopups.CY_NON_TRADING_ORDER_IDENTITY,\n\t\t\t\t\tModalPopups.CY_NON_TRADING_ORDER_REGISTRATION,\n\t\t\t\t].includes(payload.modalName)\n\t\t\t\t\t? payload.modalData : null,\n\t\t\t};\n\t\tcase appActions.HIDE_BASE_MODAL:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tdebtDocs: [\n\t\t\t\t\tModalPopups.CY_NON_TRADING_ORDER_IDENTITY,\n\t\t\t\t\tModalPopups.CY_NON_TRADING_ORDER_REGISTRATION,\n\t\t\t\t].includes(payload.modalName)\n\t\t\t\t\t? null : state.debtDocs,\n\t\t\t};\n\t\tcase auth.actions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n\n","export default {\n\tdebtDocs: state => state.nontradingOrders.debtDocs,\n};\n","import { fork, put, select, takeEvery, delay } from 'redux-saga/effects';\nimport { push } from 'connected-react-router';\nimport {\n\tsendNonTradingCommonOrder,\n\tsendNonTradingIdentityOrder,\n\tsendNonTradingLeverageOrder,\n\tsendNonTradingRegistrationOrder,\n\tsendNonTradingOpenAccount,\n\tsendNonTradingOpenDemoAccount,\n} from '@api';\nimport { removeHashFromUrl } from '@global';\nimport { BaseGetSagaHandler, userAccounts } from '@redux';\nimport actions from './actions';\n\n\nfunction* hideNonTradingOrderModal({ payload }) {\n\tconst location = yield select(state => state.router.location);\n\tyield put(push(removeHashFromUrl(location, payload)));\n}\n\nfunction* sendNonTradingOrderCommonSubmitSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: sendNonTradingCommonOrder,\n\t\terrorText: 'Free form order',\n\t\thandler: actions.sendNonTradingOrderCommonForm,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCode, payload.ClearingFirm);\n\t}\n}\n\nfunction* sendNonTradingOrderIdentitySubmitSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: sendNonTradingIdentityOrder,\n\t\terrorText: 'Identification document uploading',\n\t\thandler: actions.sendNonTradingOrderIdentityForm,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCode, payload.ClearingFirm);\n\t}\n}\n\nfunction* sendNonTradingOrderLeverageSubmitSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: sendNonTradingLeverageOrder,\n\t\terrorText: 'Change in leverage',\n\t\thandler: actions.sendNonTradingOrderLeverageForm,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCode, payload.ClearingFirm);\n\t}\n}\n\nfunction* sendNonTradingOrderRegistrationSubmitSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: sendNonTradingRegistrationOrder,\n\t\terrorText: 'Free form order',\n\t\thandler: actions.sendNonTradingOrderRegistrationForm,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCode, payload.ClearingFirm);\n\t}\n}\nfunction* sendNonTradingOpenAccountSubmitSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: sendNonTradingOpenAccount,\n\t\terrorText: 'Open Account Error',\n\t\thandler: actions.sendNonTradingOpenAccount,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.ClientData.TradeCode, payload.ClientData.ClearingFirm);\n\t\tyield delay(10000);\n\t\tyield put(userAccounts.actions.getAccountsRequest());\n\t}\n}\n\nfunction* sendNonTradingOpenDemoAccountSubmitSaga({ payload }) {\n\tconst isSuccess = yield BaseGetSagaHandler({\n\t\tapiMethod: sendNonTradingOpenDemoAccount,\n\t\terrorText: 'Open Demo Account Error',\n\t\thandler: actions.sendNonTradingOpenDemoAccount,\n\t}, { payload });\n\n\tif (isSuccess) {\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.ClientData.TradeCode, payload.ClientData.ClearingFirm);\n\t\tyield delay(10000);\n\t\tyield put(userAccounts.actions.getAccountsRequest());\n\t}\n}\n\nfunction* watchHideNonTradingOrderModal() {\n\tyield takeEvery(actions.HIDE_NON_TRADING_ORDER_MODAL, hideNonTradingOrderModal);\n}\n\nfunction* watchNonTradingOrderCommonSubmit() {\n\tyield takeEvery(actions.sendNonTradingOrderCommonForm.REQUEST, sendNonTradingOrderCommonSubmitSaga);\n}\n\nfunction* watchNonTradingOrderIdentitySubmit() {\n\tyield takeEvery(actions.sendNonTradingOrderIdentityForm.REQUEST, sendNonTradingOrderIdentitySubmitSaga);\n}\n\nfunction* watchNonTradingOrderLeverageSubmit() {\n\tyield takeEvery(actions.sendNonTradingOrderLeverageForm.REQUEST, sendNonTradingOrderLeverageSubmitSaga);\n}\n\nfunction* watchNonTradingOrderRegistrationSubmit() {\n\tyield takeEvery(actions.sendNonTradingOrderRegistrationForm.REQUEST, sendNonTradingOrderRegistrationSubmitSaga);\n}\nfunction* watchNonTradingOpenAccountSubmit() {\n\tyield takeEvery(actions.sendNonTradingOpenAccount.REQUEST, sendNonTradingOpenAccountSubmitSaga);\n}\nfunction* watchNonTradingOpenDemoAccountSubmit() {\n\tyield takeEvery(actions.sendNonTradingOpenDemoAccount.REQUEST, sendNonTradingOpenDemoAccountSubmitSaga);\n}\n\n// Root saga\nconst rootSaga = [\n\tfork(watchHideNonTradingOrderModal),\n\tfork(watchNonTradingOrderCommonSubmit),\n\tfork(watchNonTradingOrderIdentitySubmit),\n\tfork(watchNonTradingOrderLeverageSubmit),\n\tfork(watchNonTradingOrderRegistrationSubmit),\n\tfork(watchNonTradingOpenAccountSubmit),\n\tfork(watchNonTradingOpenDemoAccountSubmit),\n];\n\nexport default {\n\trootSaga,\n};\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport saga from './saga';\r\nimport selectors from './selectors';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tsaga,\r\n\tselectors,\r\n};\r\n","import actions from './actions';\r\nimport auth from '../auth';\r\n\r\nconst initialState = {\r\n\tmessage: null,\r\n\tnotifications: {\r\n\t\tloading: false,\r\n\t\tpagination: {},\r\n\t\tunreadMessagesCount: 0,\r\n\t\titems: [],\r\n\t},\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.SHOW_MESSAGE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmessage: payload.message,\r\n\t\t\t};\r\n\t\tcase actions.HIDE_MESSAGE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmessage: null,\r\n\t\t\t};\r\n\r\n\t\tcase actions.GET_NOTIFICATIONS_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnotifications: {\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t\tpagination: {},\r\n\t\t\t\t\tunreadMessagesCount: 0,\r\n\t\t\t\t\titems: [],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.GET_NOTIFICATIONS_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnotifications: {\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t\tpagination: {\r\n\t\t\t\t\t\t...payload.pagination,\r\n\t\t\t\t\t},\r\n\t\t\t\t\tunreadMessagesCount: payload.data.UnreadMessagesCount,\r\n\t\t\t\t\titems: [\r\n\t\t\t\t\t\t...payload.data.Notifications,\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.GET_MORE_NOTIFICATIONS_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnotifications: {\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t\tpagination: { ...state.notifications.pagination },\r\n\t\t\t\t\tunreadMessagesCount: state.notifications.unreadMessagesCount,\r\n\t\t\t\t\titems: [...state.notifications.items],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.GET_MORE_NOTIFICATIONS_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnotifications: {\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t\tpagination: {\r\n\t\t\t\t\t\t...payload.pagination,\r\n\t\t\t\t\t},\r\n\t\t\t\t\tunreadMessagesCount: state.notifications.unreadMessagesCount,\r\n\t\t\t\t\titems: [\r\n\t\t\t\t\t\t...state.notifications.items,\r\n\t\t\t\t\t\t...payload.items,\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.MARK_NEWS_AS_READ:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnotifications: {\r\n\t\t\t\t\tpagination: state.notifications.pagination,\r\n\t\t\t\t\tunreadMessagesCount: state.notifications.unreadMessagesCount - 1,\r\n\t\t\t\t\titems: state.notifications.items.map(item => ({\r\n\t\t\t\t\t\t...item,\r\n\t\t\t\t\t\tRead: (item.Id === payload.messageId) ? true : item.Read,\r\n\t\t\t\t\t})),\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.markNewsAllAsRead.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnotifications: {\r\n\t\t\t\t\t...initialState.notifications,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase auth.actions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","import { fork, takeEvery, put, select } from 'redux-saga/effects';\r\nimport { push } from 'connected-react-router';\r\nimport { BaseGetSagaHandler, callApi, snackbar, userAccounts } from '@redux';\r\nimport { getNotifications, markNewsAsRead, markNewsAllAsRead } from '@api';\r\nimport { ModalPopups } from '@enums';\r\nimport { addHashToUrl, removeHashFromUrl } from '@global';\r\nimport actions from './actions';\r\n\r\nfunction* getNotificationsRequestSaga({ payload: { page, pageSize } }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(getNotifications, page, pageSize);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.getNotificationsFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Notifications', text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getNotificationsSuccess(\r\n\t\t\t\t{\r\n\t\t\t\t\tpage,\r\n\t\t\t\t\tpageSize,\r\n\t\t\t\t},\r\n\t\t\t\trequest.data.Notifications,\r\n\t\t\t));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Notifications', text: error.message }));\r\n\t\tyield put(actions.getNotificationsFailure(error.message));\r\n\t}\r\n}\r\n\r\nfunction* getMoreNotificationsRequestSaga({ payload: { page, pageSize } }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(getNotifications, page, pageSize);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.getMoreNotificationsFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get More Notifications', text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getMoreNotificationsSuccess(\r\n\t\t\t\t{\r\n\t\t\t\t\tpage,\r\n\t\t\t\t\tpageSize,\r\n\t\t\t\t},\r\n\t\t\t\trequest.data.Notifications ? request.data.Notifications.Notifications : [],\r\n\t\t\t));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get More Notifications', text: error.message }));\r\n\t\tyield put(actions.getMoreNotificationsFailure(error.message));\r\n\t}\r\n}\r\n\r\nfunction* getShowMessageModalRequestSaga({ payload: { message } }) {\r\n\ttry {\r\n\t\t// get current location\r\n\t\tconst location = yield select(state => state.router.location);\r\n\t\t// show modal\r\n\t\tyield put(push(addHashToUrl(location, ModalPopups.MESSAGE)));\r\n\r\n\t\tif (!message.Read) {\r\n\t\t\tconst response = yield callApi(markNewsAsRead, message.Id);\r\n\t\t\tif (response.data.Success) {\r\n\t\t\t\tyield put(actions.markNewsAsRead(message.Id));\r\n\t\t\t}\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t}\r\n}\r\n\r\nfunction* hideMessageModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.MESSAGE)));\r\n}\r\nfunction* markNewsAllAsReadSaga({ payload: { onEndRequest, ...others } }) {\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: markNewsAllAsRead,\r\n\t\terrorText: 'Notifications - Mark all as read',\r\n\t\thandler: actions.markNewsAllAsRead,\r\n\t\tonEndRequest,\r\n\t}, { payload: others });\r\n\r\n\tif (isSuccess) {\r\n\t\tconst { tradeCode } = yield select(userAccounts.selectors.currentTradeAccount);\r\n\t\tyield put(actions.getNotificationsRequest(tradeCode));\r\n\t}\r\n}\r\n\r\nfunction* watchGetNotificationsRequest() {\r\n\tyield takeEvery(actions.GET_NOTIFICATIONS_REQUEST, getNotificationsRequestSaga);\r\n}\r\nfunction* watchGetMoreNotificationsRequest() {\r\n\tyield takeEvery(actions.GET_MORE_NOTIFICATIONS_REQUEST, getMoreNotificationsRequestSaga);\r\n}\r\nfunction* watchShowMessageModalRequest() {\r\n\tyield takeEvery(actions.SHOW_MESSAGE_MODAL, getShowMessageModalRequestSaga);\r\n}\r\nfunction* watchHideMessageModal() {\r\n\tyield takeEvery(actions.HIDE_MESSAGE_MODAL, hideMessageModal);\r\n}\r\n\r\nfunction* watchMarkNewsAllAsReadRequest() {\r\n\tyield takeEvery(actions.markNewsAllAsRead.REQUEST, markNewsAllAsReadSaga);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchGetNotificationsRequest),\r\n\tfork(watchGetMoreNotificationsRequest),\r\n\tfork(watchShowMessageModalRequest),\r\n\tfork(watchHideMessageModal),\r\n\tfork(watchMarkNewsAllAsReadRequest),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","export default {\r\n\tmessage: state => state.notifications.message,\r\n\tnotifications: state => state.notifications.notifications,\r\n\tloading: state => state.notifications.notifications.loading,\r\n};\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n","import { ModalPopups } from '@enums';\r\nimport actions from './actions';\r\nimport authActions from '../auth/actions';\r\n\r\nconst initialState = {\r\n\tprofile: {\r\n\t\tsubmitting: true,\r\n\t\tPersonalInformation: {},\r\n\t\tExperiences: [],\r\n\t\tInvestmentProfile: {},\r\n\t\tEmploymentProfile: {},\r\n\t\tPendingOrders: {},\r\n\t\tDocuments: [],\r\n\t\tTaxForms: [],\r\n\t\tMarketDataSubscriptions: [],\r\n\t\terror: false,\r\n\t},\r\n\tchangeTariff: {\r\n\t\tsubmitting: false,\r\n\t\tsubmitSucceeded: false,\r\n\t},\r\n\tchangeTaxForm: {},\r\n\tconfirmEmail: {\r\n\t\tsubmitting: true,\r\n\t},\r\n\tholders: {\r\n\t\tProfiles: [],\r\n\t\tsubmitting: false,\r\n\t\tloaded: false,\r\n\t},\r\n\tMarketDataAgreements: {},\r\n\tmodals: {},\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.GET_PROFILE_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tprofile: {\r\n\t\t\t\t\t...state.profile,\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.GET_PROFILE_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tprofile: {\r\n\t\t\t\t\t...payload,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\terror: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.GET_PROFILE_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tprofile: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tPersonalInformation: {},\r\n\t\t\t\t\tExperiences: [],\r\n\t\t\t\t\tInvestmentProfile: {},\r\n\t\t\t\t\tEmploymentProfile: {},\r\n\t\t\t\t\tPendingOrders: {},\r\n\t\t\t\t\tDocuments: [],\r\n\t\t\t\t\tTaxForms: [],\r\n\t\t\t\t\terror: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getHolderProfiles.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tholders: {\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t\terror: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getHolderProfiles.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tholders: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tProfiles: payload.response.Profiles,\r\n\t\t\t\t\tloaded: true,\r\n\t\t\t\t\terror: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getHolderProfiles.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tholders: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tProfiles: [],\r\n\t\t\t\t\tloaded: true,\r\n\t\t\t\t\terror: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_EMAIL_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_PROFILE_EMAIL]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.confirmEmailGetUrl.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tconfirmEmail: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsuccess: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.confirmEmailGetUrl.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tconfirmEmail: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsuccess: false,\r\n\t\t\t\t\t// eslint-disable-next-line no-underscore-dangle\r\n\t\t\t\t\terror: payload.error.errors._error,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.CHANGE_ACCOUNT_TARIFF_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tchangeTariff: {\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.CHANGE_ACCOUNT_TARIFF_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tchangeTariff: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.CHANGE_ACCOUNT_TARIFF_RESET:\r\n\t\tcase actions.CHANGE_ACCOUNT_TARIFF_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tchangeTariff: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_TAX_FORM_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tchangeTaxForm: {\r\n\t\t\t\t\tFormType: payload.FormType,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_DELIVERY_TYPE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_DELIVERY_TYPE]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getCountries.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tCountryList: [...payload.response.Items],\r\n\t\t\t};\r\n\t\tcase actions.getUsaStates.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tUsaStatesList: [...payload.response.Items],\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_EMPLOYMENT_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_EMPLOYMENT]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_ADDRESS_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_PROFILE_ADDRESS]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_POST_ADDRESS_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_PROFILE_POST_ADDRESS]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_PHONE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_PROFILE_PHONE]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.HIDE_PROFILE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[payload]: undefined,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.UPDATE_MARKET_DATA_SUBSCRIPTION:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tprofile: {\r\n\t\t\t\t\t...state.profile,\r\n\t\t\t\t\tMarketDataSubscriptions: state.profile.MarketDataSubscriptions.map(sub =>\r\n\t\t\t\t\t\t(sub.MarketDataName === payload.MarketDataName ? { ...sub, ...payload } : sub)),\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase authActions.LOGIN_USER:\r\n\t\t\treturn {\r\n\t\t\t\t...initialState,\r\n\t\t\t};\r\n\t\tcase authActions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\r\n\t\tcase actions.generateCtaAgreements.REQUEST: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tMarketDataAgreements: {\r\n\t\t\t\t\t...state.MarketDataAgreements,\r\n\t\t\t\t\tctaGenerating: true,\r\n\t\t\t\t\tctaGeneratingSuccess: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.generateCtaAgreements.SUCCESS: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tMarketDataAgreements: {\r\n\t\t\t\t\t...state.MarketDataAgreements,\r\n\t\t\t\t\tctaGenerating: false,\r\n\t\t\t\t\tctaGeneratingSuccess: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.generateCtaAgreements.FAILURE: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tMarketDataAgreements: {\r\n\t\t\t\t\t...state.MarketDataAgreements,\r\n\t\t\t\t\tctaGenerating: false,\r\n\t\t\t\t\tctaGeneratingSuccess: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tcase actions.generateOpraAgreements.REQUEST: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tMarketDataAgreements: {\r\n\t\t\t\t\t...state.MarketDataAgreements,\r\n\t\t\t\t\topraGenerating: true,\r\n\t\t\t\t\topraGeneratingSuccess: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.generateOpraAgreements.SUCCESS: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tMarketDataAgreements: {\r\n\t\t\t\t\t...state.MarketDataAgreements,\r\n\t\t\t\t\topraGenerating: false,\r\n\t\t\t\t\topraGeneratingSuccess: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.generateOpraAgreements.FAILURE: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tMarketDataAgreements: {\r\n\t\t\t\t\t...state.MarketDataAgreements,\r\n\t\t\t\t\topraGenerating: false,\r\n\t\t\t\t\topraGeneratingSuccess: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.CLEAR_MARKET_DATA_AGREEMENTS: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tMarketDataAgreements: {},\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.SHOW_CHANGE_TWO_FACTOR_AUTHORIZATION_MODAL: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CHANGE_TWO_FACTOR_AUTHORIZATION]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.SHOW_CLIENT_DATA_INSUFFICIENT_MODAL: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmodals: {\r\n\t\t\t\t\t...state.modals,\r\n\t\t\t\t\t[ModalPopups.CLIENT_DATA_INSUFFICIENT]: payload,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\tprofile: state => state.profile.profile,\r\n\tconfirmEmail: state => state.profile.confirmEmail,\r\n\tchangeTariff: state => state.profile.changeTariff,\r\n\tholders: state => state.profile.holders,\r\n\tgetCountries: state => state.profile.CountryList,\r\n\tgetUsaStates: state => state.profile.UsaStatesList,\r\n\tchangeTaxForm: state => state.profile.changeTaxForm,\r\n\tmodals: state => state.profile.modals,\r\n\tclientSecretCode: state => state.profile.ClientSecretCode,\r\n\tqrCode: state => state.profile.QRCode,\r\n\ttotpAuthentication: state => state.profile.totpAuthentication,\r\n\tmarketDataAgreements: state => state.profile.MarketDataAgreements,\r\n\tHasNonRestrictedMobilePhone: state => state.profile.HasNonRestrictedMobilePhone,\r\n};\r\n","import { fork, put, select, takeEvery, takeLatest, all } from 'redux-saga/effects';\r\nimport { push } from 'connected-react-router';\r\nimport { SubmissionError } from 'redux-form';\r\nimport { BaseGetSagaHandler, callApi, snackbar, userAccounts, profile as profileModule } from '@redux';\r\nimport {\r\n\tprofile,\r\n\tchangeTariff,\r\n\tchangeAddress,\r\n\tchangeAddressForClient,\r\n\tchangePostAddress,\r\n\tchangePostAddressForClient,\r\n\tchangeEmail,\r\n\tchangeEmailForClient,\r\n\tchangePassword,\r\n\tchangePhone,\r\n\tchangePhoneForClient,\r\n\tconfirmEmail,\r\n\tchangeDeliveryType,\r\n\tchangeDependents,\r\n\tchangeMaritalStatus,\r\n\tchangeEmployment,\r\n\tchangeEmploymentForClient,\r\n\tchangeInvestmentExperience,\r\n\tchangeInvestmentProfile,\r\n\tgenerateNyseMarketDataAgreement,\r\n\tgenerateNasdaqMarketDataAgreement,\r\n\tgenerateCboeMarketDataAgreement,\r\n\tgenerateCtaMarketDataAgreement,\r\n\tgenerateOpraMarketDataAgreement,\r\n\tgenerateOpraProMarketDataAgreement,\r\n\tchangeMarketDataSubscriberStatus,\r\n\tchangeMarketDataSubscriptions,\r\n\tchangeTwoFactorAuthentication,\r\n\tchangeTaxFormUpload,\r\n\tchangeTaxFormFillIn,\r\n\tconfirmProfile,\r\n\tenableThirdPartyMarketData,\r\n\tgetCountries,\r\n\tgetHolderProfiles,\r\n\tgetUsaStates,\r\n\tsendEmailConfirmationCode,\r\n\tenableTotpAuthentication,\r\n\tchangeTwoFactorAuthenticationEmail,\r\n} from '@api';\r\nimport { ModalPopups } from '@enums';\r\nimport { addHashToUrl, cabinetLog, captureException, removeHashFromUrl, changeHashInUrl } from '@global';\r\nimport actions from './actions';\r\nimport userActions from '../userAccounts/actions';\r\n\r\nfunction* profileSaga() {\r\n\ttry {\r\n\t\tconst response = yield callApi(profile);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttitle: 'Get User Profile',\r\n\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t}));\r\n\t\t\tyield put(actions.getProfileFailure(response.data.Errors[0].Message));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getProfileSuccess(response.data.ProfileData));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcaptureException('profileSaga', error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get User Profile', text: error.message }));\r\n\t\tyield put(actions.getProfileFailure(error.message));\r\n\t}\r\n}\r\n\r\nfunction* confirmProfileFormHideAndRedirect() {\r\n\tyield put(push('/dashboard'));\r\n}\r\n\r\nfunction* confirmProfileFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(confirmProfile, payload);\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.confirmProfileFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.confirmProfileFormSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.confirmProfileFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* confirmProfileFormSubmitSuccessHandler() {\r\n\tyield put(actions.getProfileRequest());\r\n}\r\n\r\nfunction* isCurrentUser({ guid, clientId }) {\r\n\tif (!guid) {\r\n\t\treturn !clientId;\r\n\t}\r\n\tconst userInfo = yield select(userAccounts.selectors.userInfo);\r\n\treturn \tguid.toLowerCase() === userInfo.Guid.toLowerCase();\r\n}\r\nfunction* refreshClientOrHolderProfile(isCurrent) {\r\n\tif (isCurrent) {\r\n\t\tyield put(actions.getProfileRequest());\r\n\t} else {\r\n\t\tyield put(actions.getHolderProfiles.request());\r\n\t}\r\n}\r\n\r\nfunction* changeAddressFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst { clientId, guid, ...otherPayload } = payload;\r\n\t\tconst isCurrent = yield* isCurrentUser({ guid, clientId });\r\n\t\tlet request;\r\n\t\tif (isCurrent) {\r\n\t\t\trequest = yield callApi(changeAddress, otherPayload);\r\n\t\t} else {\r\n\t\t\trequest = yield callApi(changeAddressForClient, otherPayload, clientId);\r\n\t\t}\r\n\t\tcabinetLog('change address', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfileAddressFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfileAddressFormSuccess());\r\n\t\t\tyield* refreshClientOrHolderProfile(isCurrent);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfileAddressFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changePostAddressFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst { clientId, guid, ...otherPayload } = payload;\r\n\t\tconst isCurrent = yield* isCurrentUser({ guid, clientId });\r\n\t\tlet request;\r\n\t\tif (isCurrent) {\r\n\t\t\trequest = yield callApi(changePostAddress, otherPayload);\r\n\t\t} else {\r\n\t\t\trequest = yield callApi(changePostAddressForClient, otherPayload, clientId);\r\n\t\t}\r\n\t\tcabinetLog('change post address', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfilePostAddressFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfilePostAddressFormSuccess());\r\n\t\t\tyield* refreshClientOrHolderProfile(isCurrent);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfilePostAddressFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeDependentsFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(changeDependents, payload);\r\n\t\tcabinetLog('change Dependents', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfileDependentsFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfileDependentsFormSuccess());\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfileDependentsFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeMaritalStatusFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(changeMaritalStatus, payload);\r\n\t\tcabinetLog('change MaritalStatus', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfileMaritalStatusFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfileMaritalStatusFormSuccess());\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfileMaritalStatusFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeEmploymentFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst { clientId, guid, ...otherPayload } = payload;\r\n\t\tconst isCurrent = yield* isCurrentUser({ guid, clientId });\r\n\t\tlet request;\r\n\t\tif (isCurrent) {\r\n\t\t\trequest = yield callApi(changeEmployment, otherPayload);\r\n\t\t} else {\r\n\t\t\trequest = yield callApi(changeEmploymentForClient, otherPayload, clientId);\r\n\t\t}\r\n\t\tcabinetLog('change Employment(', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfileEmploymentFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfileEmploymentFormSuccess());\r\n\t\t\tyield* refreshClientOrHolderProfile(isCurrent);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfileEmploymentFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeInvestmentProfileFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(changeInvestmentProfile, payload);\r\n\t\tcabinetLog('change InvestmentProfile', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfileInvestmentProfileFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfileInvestmentProfileFormSuccess());\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfileInvestmentProfileFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeInvestmentExperienceFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(changeInvestmentExperience, payload);\r\n\t\tcabinetLog('change InvestmentExperience', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfileInvestmentExperienceFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfileInvestmentExperienceFormSuccess());\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfileInvestmentExperienceFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\n\r\nfunction* changeEmailFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst { clientId, guid, ...otherPayload } = payload;\r\n\t\tconst isCurrent = yield* isCurrentUser({ guid, clientId });\r\n\t\tlet request;\r\n\t\tif (isCurrent) {\r\n\t\t\trequest = yield callApi(changeEmail, otherPayload);\r\n\t\t} else {\r\n\t\t\trequest = yield callApi(changeEmailForClient, otherPayload, clientId);\r\n\t\t}\r\n\t\tcabinetLog('change Email', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfileEmailFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfileEmailFormSuccess());\r\n\t\t\tyield* refreshClientOrHolderProfile(isCurrent);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfileEmailFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\n\r\nfunction* changePhoneFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst { clientId, guid, ...otherPayload } = payload;\r\n\t\tconst isCurrent = yield* isCurrentUser({ guid, clientId });\r\n\t\tlet request;\r\n\t\tif (isCurrent) {\r\n\t\t\trequest = yield callApi(changePhone, otherPayload);\r\n\t\t} else {\r\n\t\t\trequest = yield callApi(changePhoneForClient, otherPayload, clientId);\r\n\t\t}\r\n\t\tcabinetLog('change Phone', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeProfilePhoneFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeProfilePhoneFormSuccess());\r\n\t\t\tyield* refreshClientOrHolderProfile(isCurrent);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeProfilePhoneFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeTwoFactorAuthenticationFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\r\n\t\tconst request = yield callApi(changeTwoFactorAuthentication, {\r\n\t\t\tTradeCode: currentAccount.tradeCode,\r\n\t\t\tClearerFirm: currentAccount.clearerFirm,\r\n\t\t\tConfirmationCode: payload.ConfirmationCode,\r\n\t\t\tEnableSecondFactor: payload.EnableSecondFactor,\r\n\t\t});\r\n\t\tcabinetLog('change TwoFactorAuthentication', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeTwoFactorAuthorizationForm.failure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeTwoFactorAuthorizationForm.success());\r\n\t\t\t// refresh IsSecondFactorAuthorization\r\n\t\t\tyield put(userAccounts.actions.getAccountsRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeTwoFactorAuthorizationForm.failure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeMarketDataSubscriptionsFormSubmit({ payload }) {\r\n\tif (payload.IsMdssChanged) {\r\n\t\tconst subscriberStatusErrorTitle = 'Change Market Data Subscriber Status';\r\n\t\ttry {\r\n\t\t\tconst mdssPayload = {\r\n\t\t\t\tisPro: payload.isPro,\r\n\t\t\t\tquestionnaireResponses: payload.StatusChangeResponses,\r\n\t\t\t};\r\n\t\t\tconst response = yield callApi(changeMarketDataSubscriberStatus, mdssPayload);\r\n\t\t\tif (!response.data.Success) {\r\n\t\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\t\ttitle: subscriberStatusErrorTitle,\r\n\t\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t\t}));\r\n\t\t\t\tyield put(actions.changeMarketDataSubscriptionsForm.failure());\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} catch (error) {\r\n\t\t\tcaptureException(subscriberStatusErrorTitle, error);\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: subscriberStatusErrorTitle, text: error.message }));\r\n\t\t\tyield put(actions.changeMarketDataSubscriptionsForm.failure());\r\n\t\t\treturn;\r\n\t\t}\r\n\t}\r\n\r\n\tconst mdsPayload = {\r\n\t\tisPro: payload.isPro,\r\n\t\tsubscriptions: payload.subscriptions,\r\n\t\tquestionnaireResponses: payload.SubscriptionsChangeResponses,\r\n\t};\r\n\r\n\tyield BaseGetSagaHandler({\r\n\t\tapiMethod: changeMarketDataSubscriptions,\r\n\t\terrorText: 'Change Market Data Subscriptions',\r\n\t\thandler: actions.changeMarketDataSubscriptionsForm,\r\n\t}, { payload: mdsPayload });\r\n\r\n\tyield put(actions.getProfileRequest());\r\n}\r\n\r\nfunction* enableThirdPartyMarketDataFormSubmit() {\r\n\ttry {\r\n\t\tconst request = yield callApi(enableThirdPartyMarketData);\r\n\t\tcabinetLog('enable ThirdPartyMarketData', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.enableThirdPartyMarketDataForm.failure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.enableThirdPartyMarketDataForm.success());\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.enableThirdPartyMarketDataForm.failure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeAccountTariffSubmit({ payload: { tradeCode, tariff } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(changeTariff, tradeCode, tariff);\r\n\t\tcabinetLog('change Account Tariff', response);\r\n\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.changeAccountTariffFailure(response.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Change Account Tariff', text: response.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeAccountTariffSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeAccountTariffFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Change Account Tariff', text: error.message }));\r\n\t}\r\n}\r\n\r\n\r\nfunction* hideConfirmEmailModal() {\r\n\tconst { hash } = yield select(state => state.router.location);\r\n\tconst request = yield put(push(`/dashboard${(hash || '')}`));\r\n}\r\n\r\n\r\nfunction* changeDeliveryTypeFormSubmitSaga({ payload }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(changeDeliveryType, payload);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.changeDeliveryTypeFormFailure(new SubmissionError({\r\n\t\t\t\t_error: response.data.Errors[0].Message,\r\n\t\t\t})));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: response.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t\tyield put(userActions.getAccountsRequest());\r\n\t\t\tyield put(actions.changeDeliveryTypeFormSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeDeliveryTypeFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\n\r\nfunction* changeTaxFormUploadFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(changeTaxFormUpload, payload);\r\n\t\tcabinetLog('change tax form upload', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeTaxFormUploadFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeTaxFormUploadFormSuccess());\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeTaxFormUploadFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\nfunction* changeTaxFormFillInFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(changeTaxFormFillIn, payload);\r\n\t\tcabinetLog('change tax form upload', request);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changeTaxFormFillInFormFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeTaxFormFillInFormSuccess());\r\n\t\t\tyield put(actions.getProfileRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeTaxFormFillInFormFailure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n}\r\nfunction GetModalPopupType(actionType) {\r\n\tswitch (actionType) {\r\n\t\tcase actions.SHOW_CHANGE_DELIVERY_TYPE_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_DELIVERY_TYPE;\r\n\t\tcase actions.SHOW_CHANGE_ADDRESS_MODAL:\r\n\t\tcase actions.REDIRECT_TO_CHANGE_ADDRESS_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_PROFILE_ADDRESS;\r\n\t\tcase actions.SHOW_CHANGE_POST_ADDRESS_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_PROFILE_POST_ADDRESS;\r\n\t\tcase actions.SHOW_CHANGE_EMAIL_MODAL:\r\n\t\tcase actions.REDIRECT_TO_CHANGE_EMAIL_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_PROFILE_EMAIL;\r\n\t\tcase actions.SHOW_CHANGE_PHONE_MODAL:\r\n\t\tcase actions.REDIRECT_TO_CHANGE_PHONE_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_PROFILE_PHONE;\r\n\t\tcase actions.SHOW_CHANGE_DEPENDENTS_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_DEPENDENTS;\r\n\t\tcase actions.SHOW_CHANGE_MARITAL_STATUS_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_MARITAL_STATUS;\r\n\t\tcase actions.SHOW_CHANGE_EMPLOYMENT_MODAL:\r\n\t\tcase actions.REDIRECT_TO_CHANGE_EMPLOYMENT_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_EMPLOYMENT;\r\n\t\tcase actions.SHOW_CHANGE_INVESTMENT_PROFILE_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_INVESTMENT_PROFILE;\r\n\t\tcase actions.SHOW_CHANGE_INVESTMENT_EXPERIENCE_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_INVESTMENT_EXPERIENCE;\r\n\t\tcase actions.SHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL;\r\n\t\tcase actions.SHOW_CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL;\r\n\t\tcase actions.SHOW_ENABLE_THIRD_PARTY_MARKETDATA_MODAL:\r\n\t\t\treturn ModalPopups.ENABLE_THIRD_PARTY_MARKETDATA_MODAL;\r\n\t\tcase actions.SHOW_CHANGE_TARIFF_PER_TRADE_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_TARIFF_PER_TRADE;\r\n\t\tcase actions.SHOW_CHANGE_TARIFF_PER_SHARE_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_TARIFF_PER_SHARE;\r\n\t\tcase actions.SHOW_CHANGE_TARIFF_ZERO_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_TARIFF_ZERO;\r\n\t\tcase actions.SHOW_CHANGE_TWO_FACTOR_AUTHORIZATION_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_TWO_FACTOR_AUTHORIZATION;\r\n\t\tcase actions.SHOW_CHANGE_TAX_FORM_MODAL:\r\n\t\t\treturn ModalPopups.CHANGE_TAX_FORM_MODAL;\r\n\t\tcase actions.SHOW_DEMO_ACCOUNT_EXPIRATION_MODAL:\r\n\t\t\treturn ModalPopups.DEMO_ACCOUNT_EXPIRATION;\r\n\t\tcase actions.SHOW_CLIENT_DATA_INSUFFICIENT_MODAL:\r\n\t\t\treturn ModalPopups.CLIENT_DATA_INSUFFICIENT;\r\n\t\tcase actions.SHOW_ACTUAL_ADDRESS_MISSED_MODAL:\r\n\t\t\treturn ModalPopups.ACTUAL_ADDRESS_MISSED;\r\n\r\n\t\tdefault:\r\n\t\t\treturn '';\r\n\t}\r\n}\r\n\r\nfunction* redirectToProfileModal({ type, payload }) {\r\n\tlet modal;\r\n\tif (payload.to === ModalPopups.WITHDRAW_FUNDS_WIRE) {\r\n\t\tmodal = ModalPopups.ACTUAL_ADDRESS_MISSED;\r\n\t} else {\r\n\t\tmodal = ModalPopups.CLIENT_DATA_INSUFFICIENT;\r\n\t}\r\n\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(changeHashInUrl(\r\n\t\tlocation,\r\n\t\tmodal,\r\n\t\tGetModalPopupType(type),\r\n\t)));\r\n}\r\n\r\nfunction* showProfileModal({ type }) {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, GetModalPopupType(type))));\r\n}\r\n\r\nfunction* showMarketDataSubscriberStatusModal({ payload }) {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\r\n\tif (payload && payload.fromDashboardModal) {\r\n\t\tyield put(push(changeHashInUrl(\r\n\t\t\tlocation,\r\n\t\t\tModalPopups.UPDATE_SUBSCRIBER_STATUS,\r\n\t\t\tModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL,\r\n\t\t)));\r\n\t\treturn;\r\n\t}\r\n\r\n\tyield put(push(addHashToUrl(location, ModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL)));\r\n}\r\n\r\nfunction* showMarketDataSubscriptionsModal({ payload }) {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\r\n\tif (payload && payload.fromDashboardModal && !payload.supposedStatus) {\r\n\t\tyield put(push(changeHashInUrl(\r\n\t\t\tlocation,\r\n\t\t\tModalPopups.UPDATE_SUBSCRIBER_AGREEMENTS,\r\n\t\t\tModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL,\r\n\t\t)));\r\n\t\treturn;\r\n\t}\r\n\r\n\t// show modal\r\n\tif (payload && payload.supposedStatus) {\r\n\t\tyield put(push(changeHashInUrl(\r\n\t\t\tlocation,\r\n\t\t\tModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL,\r\n\t\t\tModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL,\r\n\t\t)));\r\n\t\treturn;\r\n\t}\r\n\r\n\tyield put(push(addHashToUrl(location, ModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL)));\r\n}\r\n\r\n\r\nfunction* showChangeTwoFactorAuthModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(changeHashInUrl(\r\n\t\tlocation,\r\n\t\tModalPopups.SECOND_FACTOR_DISABLED_RESTRICTION,\r\n\t\tModalPopups.CHANGE_TWO_FACTOR_AUTHORIZATION,\r\n\t)));\r\n}\r\n\r\nfunction* hideProfileModal({ payload }) {\r\n\tconst location = yield select(state => state.router.location);\r\n\tyield put(push(removeHashFromUrl(location, payload)));\r\n}\r\n\r\nfunction* changePasswordFormSubmitSaga({ payload }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(changePassword, payload);\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.changePasswordFormSubmit.failure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Change Password', text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changePasswordFormSubmit.success());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changePasswordFormSubmit.failure(error));\r\n\t}\r\n}\r\n\r\nfunction* sendEmailConfirmationCodeRequestSaga({ payload: { email } }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(sendEmailConfirmationCode, email);\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.sendEmailConfirmationCode.failure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Send Confirmation Code', text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.sendEmailConfirmationCode.success());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.sendEmailConfirmationCode.failure(error));\r\n\t}\r\n}\r\n\r\nfunction* changeTotpAuthenticationRequestSaga({ payload }) {\r\n\tconst errorTitle = 'Cannot change TOTP authentication';\r\n\tconst profileState = yield select(profileModule.selectors.profile);\r\n\tconst apiMethod = enableTotpAuthentication;\r\n\tconst request = {\r\n\t\tcode: payload.SecurityCode,\r\n\t\tguid: profileState.Guid,\r\n\t};\r\n\r\n\ttry {\r\n\t\tconst response = yield callApi(apiMethod, request);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.changeTotpAuthentication.failure(response.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: errorTitle, text: response.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.changeTotpAuthentication.success());\r\n\t\t\t// refresh 2FA Auth mark\r\n\t\t\tyield put(userAccounts.actions.getAccountsRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.changeTotpAuthentication.failure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\ttitle: errorTitle,\r\n\t\t\ttext: error.message,\r\n\t\t}));\r\n\t}\r\n}\r\n\r\nfunction* enableTwoFactorAuthEmailRequestSaga({ payload }) {\r\n\tconst errorTitle = 'Cannot enable 2FA authentication';\r\n\tconst apiMethod = changeTwoFactorAuthenticationEmail;\r\n\tconst request = {\r\n\t\tcode: payload.ConfirmationCode,\r\n\t};\r\n\r\n\ttry {\r\n\t\tconst response = yield callApi(apiMethod, request);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.enableTwoFactorAuthEmail.failure(response.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: errorTitle, text: response.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.enableTwoFactorAuthEmail.success());\r\n\t\t\t// refresh 2FA Auth mark\r\n\t\t\tyield put(userAccounts.actions.getAccountsRequest());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tRaven.captureException(error);\r\n\t\tyield put(actions.enableTwoFactorAuthEmail.failure(error));\r\n\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\ttitle: errorTitle,\r\n\t\t\ttext: error.message,\r\n\t\t}));\r\n\t}\r\n}\r\n\r\nfunction* generateCTAFiles({ payload: { isClientPro: isPro, questionnaireResponses } }) {\r\n\tconst tasks = [];\r\n\tlet responseArray;\r\n\ttry {\r\n\t\tif (isPro) {\r\n\t\t\ttasks.push(callApi(generateNasdaqMarketDataAgreement, { isPro }));\r\n\t\t\ttasks.push(callApi(generateCboeMarketDataAgreement, { isPro }));\r\n\t\t\ttasks.push(callApi(generateCtaMarketDataAgreement, { isPro }));\r\n\t\t} else {\r\n\t\t\ttasks.push(callApi(generateNasdaqMarketDataAgreement, { isPro }));\r\n\t\t\ttasks.push(callApi(generateCboeMarketDataAgreement, { isPro }));\r\n\t\t\ttasks.push(callApi(generateNyseMarketDataAgreement, { ...questionnaireResponses }));\r\n\t\t}\r\n\t\tresponseArray = yield all(tasks);\r\n\t\tlet index = 0;\r\n\t\twhile (index < responseArray.length) {\r\n\t\t\tif (!responseArray[index].data.Success) {\r\n\t\t\t\tyield put(actions.generateCtaAgreements.failure(responseArray[index].data.Errors[0].Message));\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tindex += 1;\r\n\t\t}\r\n\t\tyield put(actions.generateCtaAgreements.success());\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.generateCtaAgreements.failure(error));\r\n\t}\r\n}\r\n\r\nfunction* generateOpraFiles({ payload: { isClientPro } }) {\r\n\ttry {\r\n\t\tconst response = isClientPro\r\n\t\t\t? yield callApi(generateOpraProMarketDataAgreement)\r\n\t\t\t: yield callApi(generateOpraMarketDataAgreement);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.generateOpraAgreements.failure(response.data.Errors[0].Message));\r\n\t\t} else {\r\n\t\t\tyield put(actions.generateOpraAgreements.success());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.generateOpraAgreements.failure(error));\r\n\t}\r\n}\r\n\r\n// Watchers\r\nfunction* watchProfile() {\r\n\tyield takeEvery(actions.GET_PROFILE_REQUEST, profileSaga);\r\n}\r\nfunction* watchGetHolderProfilesRequest() {\r\n\tyield takeEvery(actions.getHolderProfiles.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getHolderProfiles,\r\n\t\terrorText: 'Get Holder Profiles',\r\n\t\thandler: actions.getHolderProfiles,\r\n\t});\r\n}\r\nfunction* watchChangeAddressFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_ADDRESS_FORM_SUBMIT_REQUEST, changeAddressFormSubmit);\r\n}\r\nfunction* watchChangePostAddressFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_POST_ADDRESS_FORM_SUBMIT_REQUEST, changePostAddressFormSubmit);\r\n}\r\nfunction* watchChangeEmailFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_EMAIL_FORM_SUBMIT_REQUEST, changeEmailFormSubmit);\r\n}\r\nfunction* watchChangePhoneFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_PHONE_FORM_SUBMIT_REQUEST, changePhoneFormSubmit);\r\n}\r\nfunction* watchChangeTwoFactorAuthorizationFormSubmit() {\r\n\tyield takeEvery(actions.changeTwoFactorAuthorizationForm.REQUEST, changeTwoFactorAuthenticationFormSubmit);\r\n}\r\nfunction* watchConfirmEmailGetUrl() {\r\n\tyield takeEvery(actions.confirmEmailGetUrl.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: confirmEmail,\r\n\t\terrorText: 'Confirm Email',\r\n\t\thandler: actions.confirmEmailGetUrl,\r\n\t});\r\n}\r\nfunction* watchChangeAccountTariffSubmit() {\r\n\tyield takeEvery(actions.CHANGE_ACCOUNT_TARIFF_REQUEST, changeAccountTariffSubmit);\r\n}\r\nfunction* watchHideConfirmEmailModal() {\r\n\tyield takeEvery(actions.HIDE_CONFIRM_EMAIL_MODAL, hideConfirmEmailModal);\r\n}\r\nfunction* watchChangeDependentsFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_DEPENDENTS_FORM_SUBMIT_REQUEST, changeDependentsFormSubmit);\r\n}\r\nfunction* watchChangeMaritalStatusFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_MARITAL_STATUS_FORM_SUBMIT_REQUEST, changeMaritalStatusFormSubmit);\r\n}\r\nfunction* watchChangeEmploymentFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_EMPLOYMENT_FORM_SUBMIT_REQUEST, changeEmploymentFormSubmit);\r\n}\r\nfunction* watchChangeInvestmentProfileFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_INVESTMENT_PROFILE_FORM_SUBMIT_REQUEST, changeInvestmentProfileFormSubmit);\r\n}\r\nfunction* watchChangeInvestmentExperienceFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_INVESTMENT_EXPERIENCE_FORM_SUBMIT_REQUEST, changeInvestmentExperienceFormSubmit);\r\n}\r\nfunction* watchConfirmProfileFormSubmit() {\r\n\tyield takeEvery(actions.CONFIRM_PROFILE_FORM_SUBMIT_REQUEST, confirmProfileFormSubmit);\r\n}\r\nfunction* watchConfirmProfileFormSubmitSuccess() {\r\n\tyield takeEvery(actions.CONFIRM_PROFILE_FORM_SUBMIT_SUCCESS, confirmProfileFormSubmitSuccessHandler);\r\n}\r\nfunction* watchConfirmProfileFormHideAndRedirect() {\r\n\tyield takeEvery(actions.CONFIRM_PROFILE_FORM_HIDE_AND_REDIRECT, confirmProfileFormHideAndRedirect);\r\n}\r\nfunction* watchChangeDeliveryTypeFormSubmit() {\r\n\tyield takeEvery(actions.PROFILE_CHANGE_DELIVERY_TYPE_FORM_SUBMIT_REQUEST, changeDeliveryTypeFormSubmitSaga);\r\n}\r\nfunction* watchChangeMarketDataSubscriptionsFormSubmit() {\r\n\tyield takeEvery(actions.changeMarketDataSubscriptionsForm.REQUEST, changeMarketDataSubscriptionsFormSubmit);\r\n}\r\nfunction* watchEnableThirdPartyMarketDataFormSubmit() {\r\n\tyield takeEvery(actions.enableThirdPartyMarketDataForm.REQUEST, enableThirdPartyMarketDataFormSubmit);\r\n}\r\nfunction* watchChangeTaxFormUploadFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_TAXFORM_UPLOAD_FORM_SUBMIT_REQUEST, changeTaxFormUploadFormSubmit);\r\n}\r\nfunction* watchChangeTaxFormFillInFormSubmit() {\r\n\tyield takeEvery(actions.CHANGE_TAXFORM_FILLIN_FORM_SUBMIT_REQUEST, changeTaxFormFillInFormSubmit);\r\n}\r\n\r\n// Модалки, которые открываются взамен открытых, а не поверх.\r\nfunction* watchRedirectProfileModal() {\r\n\tyield takeEvery([\r\n\t\tactions.REDIRECT_TO_CHANGE_ADDRESS_MODAL,\r\n\t\tactions.REDIRECT_TO_CHANGE_EMPLOYMENT_MODAL,\r\n\t\tactions.REDIRECT_TO_CHANGE_PHONE_MODAL,\r\n\t\tactions.REDIRECT_TO_CHANGE_EMAIL_MODAL,\r\n\t], redirectToProfileModal);\r\n}\r\n\r\nfunction* watchShowProfileModal() {\r\n\tyield takeEvery([\r\n\t\tactions.SHOW_CHANGE_DELIVERY_TYPE_MODAL,\r\n\t\tactions.SHOW_CHANGE_ADDRESS_MODAL,\r\n\t\tactions.SHOW_CHANGE_POST_ADDRESS_MODAL,\r\n\t\tactions.SHOW_CHANGE_EMAIL_MODAL,\r\n\t\tactions.SHOW_CHANGE_PHONE_MODAL,\r\n\t\tactions.SHOW_CHANGE_DEPENDENTS_MODAL,\r\n\t\tactions.SHOW_CHANGE_MARITAL_STATUS_MODAL,\r\n\t\tactions.SHOW_CHANGE_EMPLOYMENT_MODAL,\r\n\t\tactions.SHOW_CHANGE_INVESTMENT_PROFILE_MODAL,\r\n\t\tactions.SHOW_CHANGE_INVESTMENT_EXPERIENCE_MODAL,\r\n\t\tactions.SHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL,\r\n\t\tactions.SHOW_ENABLE_THIRD_PARTY_MARKETDATA_MODAL,\r\n\t\tactions.SHOW_CHANGE_TARIFF_PER_TRADE_MODAL,\r\n\t\tactions.SHOW_CHANGE_TARIFF_PER_SHARE_MODAL,\r\n\t\tactions.SHOW_CHANGE_TARIFF_ZERO_MODAL,\r\n\t\tactions.SHOW_CHANGE_TAX_FORM_MODAL,\r\n\t\tactions.SHOW_DEMO_ACCOUNT_EXPIRATION_MODAL,\r\n\t\tactions.SHOW_CLIENT_DATA_INSUFFICIENT_MODAL,\r\n\t\tactions.SHOW_ACTUAL_ADDRESS_MISSED_MODAL,\r\n\t], showProfileModal);\r\n}\r\n\r\nfunction* watchShowMarketDataSubscriberStatusModal() {\r\n\tyield takeEvery(actions.SHOW_CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL, showMarketDataSubscriberStatusModal);\r\n}\r\n\r\nfunction* watchShowMarketDataSubscriptionsModal() {\r\n\tyield takeEvery(actions.SHOW_CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL, showMarketDataSubscriptionsModal);\r\n}\r\n\r\nfunction* watchShowChangeTwoFactorAuthorizationModal() {\r\n\tyield takeEvery(actions.SHOW_CHANGE_TWO_FACTOR_AUTHORIZATION_MODAL, showChangeTwoFactorAuthModal);\r\n}\r\n\r\nfunction* watchHideProfileModal() {\r\n\tyield takeEvery(actions.HIDE_PROFILE_MODAL, hideProfileModal);\r\n}\r\n\r\nfunction* watchGetCountriesRequest() {\r\n\tyield takeLatest(actions.getCountries.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getCountries,\r\n\t\terrorText: 'Get countries',\r\n\t\thandler: actions.getCountries,\r\n\t});\r\n}\r\nfunction* watchGetUsaStatesRequest() {\r\n\tyield takeLatest(actions.getUsaStates.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getUsaStates,\r\n\t\terrorText: 'Get USA states',\r\n\t\thandler: actions.getUsaStates,\r\n\t});\r\n}\r\n\r\nfunction* watchChangePasswordFormSubmit() {\r\n\tyield takeEvery(actions.changePasswordFormSubmit.REQUEST, changePasswordFormSubmitSaga);\r\n}\r\n\r\nfunction* watchSendConfirmationCodeRequest() {\r\n\tyield takeEvery(actions.sendEmailConfirmationCode.REQUEST, sendEmailConfirmationCodeRequestSaga);\r\n}\r\n\r\nfunction* watchChangeTotpAuthenticationRequest() {\r\n\tyield takeEvery(actions.changeTotpAuthentication.REQUEST, changeTotpAuthenticationRequestSaga);\r\n}\r\n\r\nfunction* watchEnableTwoFactorAuthEmailRequest() {\r\n\tyield takeEvery(actions.enableTwoFactorAuthEmail.REQUEST, enableTwoFactorAuthEmailRequestSaga);\r\n}\r\n\r\nfunction* watchGenerateCTAFiles() {\r\n\tyield takeEvery(actions.generateCtaAgreements.REQUEST, generateCTAFiles);\r\n}\r\n\r\nfunction* watchGenerateOpraFiles() {\r\n\tyield takeEvery(actions.generateOpraAgreements.REQUEST, generateOpraFiles);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchProfile),\r\n\tfork(watchGetHolderProfilesRequest),\r\n\tfork(watchChangeAddressFormSubmit),\r\n\tfork(watchChangePostAddressFormSubmit),\r\n\tfork(watchChangeEmailFormSubmit),\r\n\tfork(watchChangePhoneFormSubmit),\r\n\tfork(watchChangeTwoFactorAuthorizationFormSubmit),\r\n\tfork(watchChangeAccountTariffSubmit),\r\n\tfork(watchConfirmEmailGetUrl),\r\n\tfork(watchHideConfirmEmailModal),\r\n\tfork(watchChangeDependentsFormSubmit),\r\n\tfork(watchChangeMaritalStatusFormSubmit),\r\n\tfork(watchChangeEmploymentFormSubmit),\r\n\tfork(watchChangeInvestmentExperienceFormSubmit),\r\n\tfork(watchChangeInvestmentProfileFormSubmit),\r\n\tfork(watchConfirmProfileFormSubmit),\r\n\tfork(watchConfirmProfileFormSubmitSuccess),\r\n\tfork(watchConfirmProfileFormHideAndRedirect),\r\n\tfork(watchChangeDeliveryTypeFormSubmit),\r\n\tfork(watchChangeMarketDataSubscriptionsFormSubmit),\r\n\tfork(watchEnableThirdPartyMarketDataFormSubmit),\r\n\tfork(watchChangeTaxFormUploadFormSubmit),\r\n\tfork(watchChangeTaxFormFillInFormSubmit),\r\n\tfork(watchRedirectProfileModal),\r\n\tfork(watchShowProfileModal),\r\n\tfork(watchHideProfileModal),\r\n\tfork(watchGetCountriesRequest),\r\n\tfork(watchGetUsaStatesRequest),\r\n\tfork(watchChangePasswordFormSubmit),\r\n\tfork(watchSendConfirmationCodeRequest),\r\n\tfork(watchChangeTotpAuthenticationRequest),\r\n\tfork(watchEnableTwoFactorAuthEmailRequest),\r\n\tfork(watchShowMarketDataSubscriberStatusModal),\r\n\tfork(watchShowMarketDataSubscriptionsModal),\r\n\tfork(watchGenerateCTAFiles),\r\n\tfork(watchGenerateOpraFiles),\r\n\tfork(watchShowChangeTwoFactorAuthorizationModal),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\nimport selectors from './selectors';\n\nexport default {\n\tactions,\n\tselectors,\n};\n","\nexport default {\n\treports: state => state.reports.accountReports,\n\tgenerateSubmitting: state => state.reports.generateSubmitting,\n};\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n\n","import actions from './actions';\nimport auth from '../auth';\n\nconst initialState = {\n\trequestEmail: null,\n};\n\nexport default (state = initialState, { type, payload }) => {\n\tswitch (type) {\n\t\tcase actions.resetByEmail.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\trequestEmail: payload.Email,\n\t\t\t};\n\t\tcase auth.actions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","export default {\n\trequestEmail: state => state.reset.requestEmail,\n};\n","import { fork, takeEvery } from 'redux-saga/effects';\nimport { resetByEmail, resetByOperator, resetPassword, sendConfirmationByEmail } from '@api';\nimport { BaseGetSagaHandler } from '@redux';\nimport actions from './actions';\n\n\nfunction* watchResetByEmail() {\n\tyield takeEvery(actions.resetByEmail.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: resetByEmail,\n\t\terrorText: 'Reset By Email',\n\t\thandler: actions.resetByEmail,\n\t});\n}\n\nfunction* watchSendConfirmationForResetByEmail() {\n\tyield takeEvery(actions.sendConfirmationForResetByEmail.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: sendConfirmationByEmail,\n\t\terrorText: 'Send Reset Confirmation Code',\n\t\thandler: actions.sendConfirmationForResetByEmail,\n\t});\n}\n\nfunction* watchResetPassword() {\n\tyield takeEvery(actions.resetPassword.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: resetPassword,\n\t\terrorText: 'Reset Password',\n\t\thandler: actions.resetPassword,\n\t});\n}\n\nfunction* watchResetByOperator() {\n\tyield takeEvery(actions.resetByOperator.REQUEST, BaseGetSagaHandler, {\n\t\tapiMethod: resetByOperator,\n\t\terrorText: 'Reset By Operator',\n\t\thandler: actions.resetByOperator,\n\t});\n}\n\n// Root saga\nconst rootSaga = [\n\tfork(watchResetByEmail),\n\tfork(watchSendConfirmationForResetByEmail),\n\tfork(watchResetPassword),\n\tfork(watchResetByOperator),\n];\n\nexport default {\n\trootSaga,\n};\n\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n","const initialState = {\n};\n\nexport default (state = initialState, { type }) => {\n\tswitch (type) {\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","export default {\n\n};\n","import { env } from '@config';\nimport { cabinetLog, globalState } from '@global';\nimport * as signalR from '@microsoft/signalr';\nimport { auth, reports, signalR as signalRRedux } from '@redux';\nimport { channel } from 'redux-saga';\nimport { fork, put, select, take, takeEvery } from 'redux-saga/effects';\n\nimport actions from './actions';\n\nconst signalRChannel = channel();\n\nlet connection;\n\nfunction* reconnectSignalRSaga() {\n\tconst authWidget = yield select(auth.selectors.authWidget);\n\tconst isLoggedIn = authWidget && authWidget.isLoggedIn();\n\n\tif (isLoggedIn && connection.state === signalR.HubConnectionState.Disconnected) {\n\t\tcabinetLog('reconnectSignalR');\n\t\tconnection.start().catch(() => setTimeout(() => signalRChannel.put(signalRRedux.actions.reconnectSignalR()), 5000));\n\t}\n}\n\n// Watchers\nfunction* connectSignalRSaga() {\n\tconst options = { headers: { Authorization: globalState.localToken } };\n\n\tconnection = new signalR.HubConnectionBuilder()\n\t\t.configureLogging(signalR.LogLevel.None)\n\t\t.withUrl(env.signalRUrl, options)\n\t\t.build();\n\n\tconnection.on('ReportReady', (message) => {\n\t\t// update Reports\n\t\tcabinetLog(`receive method=\"ReportReady\", message=\"${message}\"`);\n\t\tsignalRChannel.put(reports.actions.getBrokerReports.request());\n\t});\n\tconnection.onclose(err => setTimeout(() => signalRChannel.put(signalRRedux.actions.reconnectSignalR()), 5000));\n\tconnection.start().catch(err => setTimeout(() => signalRChannel.put(signalRRedux.actions.reconnectSignalR()), 5000));\n}\n\nfunction disconnectSignalRSaga() {\n\tif (connection) {\n\t\tcabinetLog('disconnectSignalRSaga');\n\t\tconnection.stop();\n\t}\n}\n\nfunction* watchConnectSignalR() {\n\tyield takeEvery(actions.CONNECT_SIGNAL_R, connectSignalRSaga);\n}\n\nfunction* watchDisconnectSignalR() {\n\tyield takeEvery(actions.DISCONNECT_SIGNAL_R, disconnectSignalRSaga);\n}\nfunction* watchReconnectSignalR() {\n\tyield takeEvery(actions.RECONNECT_SIGNAL_R, reconnectSignalRSaga);\n}\n\nfunction* watchSignalRChannel() {\n\twhile (true) {\n\t\tconst action = yield take(signalRChannel);\n\t\tyield put(action);\n\t}\n}\n\n// Root saga\nconst rootSaga = [\n\tfork(watchConnectSignalR),\n\tfork(watchDisconnectSignalR),\n\tfork(watchSignalRChannel),\n\tfork(watchReconnectSignalR),\n];\n\nexport default {\n\trootSaga,\n};\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n};\r\n","import actions from './actions';\r\nimport authActions from '../auth/actions';\r\n\r\nconst initialState = {\r\n\tisVisible: false,\r\n\tmessage: null,\r\n};\r\n\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.SHOW_ERROR_MESSAGE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmessage: { ...payload },\r\n\t\t\t\tisVisible: true,\r\n\t\t\t};\r\n\t\tcase actions.HIDE_ERROR_MESSAGE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tisVisible: false,\r\n\t\t\t// message: null, // for correct animation\r\n\t\t\t};\r\n\t\tcase actions.SHOW_MESSAGE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tmessage: { ...payload },\r\n\t\t\t\tisVisible: true,\r\n\t\t\t};\r\n\t\tcase actions.HIDE_MESSAGE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tisVisible: false,\r\n\t\t\t// message: null, // for correct animation\r\n\t\t\t};\r\n\t\tcase authActions.LOGIN_USER:\r\n\t\t\treturn {\r\n\t\t\t\t...initialState,\r\n\t\t\t};\r\n\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\tsnackbarInfo: state => ({\r\n\t\tisVisible: state.snackbar.isVisible,\r\n\t\tmessage: state.snackbar.message,\r\n\t}),\r\n};\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import actions from './actions';\r\nimport auth from '../auth';\r\n\r\nconst initialState = {\r\n\tsubmitting: false,\r\n\tcommissionFree: {\r\n\t\tsubmitting: false,\r\n\t\terror: false,\r\n\t\tsubmitSucceeded: false,\r\n\t},\r\n\topenTradexUrl: {\r\n\t\tsubmitting: false,\r\n\t},\r\n};\r\n\r\nexport default (state = initialState, { type }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.SHOW_J2T_LITE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_J2T_PLUS_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_J2T_PRO_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_MT5_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_STPRO_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\t\tcase actions.ACTIVATE_PLATFORM_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: true,\r\n\t\t\t};\r\n\t\tcase actions.ACTIVATE_PLATFORM_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\t\tcase actions.ACTIVATE_PLATFORM_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\r\n\t\tcase actions.activateCommissionFree.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcommissionFree: {\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t\terror: false,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.activateCommissionFree.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcommissionFree: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\terror: false,\r\n\t\t\t\t\tsubmitSucceeded: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.activateCommissionFree.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcommissionFree: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\terror: true,\r\n\t\t\t\t\tsubmitSucceeded: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.openTradexUrl.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\topenTradexUrl: {\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.openTradexUrl.SUCCESS:\r\n\t\tcase actions.openTradexUrl.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\topenTradexUrl: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase auth.actions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\tsubmitting: state => state.tradePlatforms.submitting,\r\n\tcommissionFreeData: state => state.tradePlatforms.commissionFree,\r\n\topenTradexUrlData: state => state.tradePlatforms.openTradexUrl,\r\n};\r\n","import { all, call, put, fork, select, takeEvery } from 'redux-saga/effects';\r\nimport { push } from 'connected-react-router';\r\nimport { activatePlatform, changeTariff } from '@api';\r\nimport { env } from '@config';\r\nimport { AccountPlatforms, AccountTariffs, ModalPopups } from '@enums';\r\nimport { addHashToUrl, captureException, removeHashesFromUrl } from '@global';\r\nimport { auth, callApi, snackbar, userAccounts } from '@redux';\r\nimport actions from './actions';\r\n\r\n\r\nfunction* activatePlatformsRequest({ payload: { account, tradePlatform } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(activatePlatform, account.tradeCode, tradePlatform);\r\n\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.activatePlatformFailure(response.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Activate Trade Platform', text: response.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(userAccounts.actions.getAccountInfoRequest(account));\r\n\t\t\tyield put(actions.activatePlatformSuccess(response.data));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Activate Trade Platform', text: error.message }));\r\n\t\tyield put(actions.activatePlatformFailure(error.message));\r\n\t}\r\n}\r\n\r\nfunction* activatePlatformsSuccess() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashesFromUrl(\r\n\t\tlocation,\r\n\t\t[ModalPopups.J2T_LITE, ModalPopups.J2T_PLUS, ModalPopups.J2T_PRO, ModalPopups.MT5, ModalPopups.ST_PRO],\r\n\t)));\r\n}\r\n\r\n\r\nfunction* showJ2tLiteModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.J2T_LITE)));\r\n}\r\n\r\nfunction* showJ2tPlusModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.J2T_PLUS)));\r\n}\r\n\r\nfunction* showJ2tProModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.J2T_PRO)));\r\n}\r\n\r\nfunction* showStProModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.ST_PRO)));\r\n}\r\n\r\nfunction* activateCommissionFreeSaga({ payload: { account, accountInfo: { Tariffs }, platforms } }) {\r\n\ttry {\r\n\t\tconst mustChangePlatform = !platforms || (platforms.ActiveTradePlatform !== AccountPlatforms.PLATFORM_TRANSAQ\r\n\t\t\t&& platforms.PendingTradePlatform !== AccountPlatforms.PLATFORM_TRANSAQ);\r\n\t\tconst mustChangeTariff = !Tariffs || (Tariffs.ActiveTariff !== AccountTariffs.TARIFF_ZERO\r\n\t\t\t&& Tariffs.PendingTariff !== AccountTariffs.TARIFF_ZERO);\r\n\r\n\t\tconst tasks = [];\r\n\t\tif (mustChangePlatform) {\r\n\t\t\ttasks.push(yield callApi(activatePlatform, account.tradeCode, AccountPlatforms.PLATFORM_TRANSAQ));\r\n\t\t}\r\n\t\tif (mustChangeTariff) {\r\n\t\t\ttasks.push(yield callApi(changeTariff, account.tradeCode, AccountTariffs.TARIFF_ZERO));\r\n\t\t}\r\n\r\n\t\tif (tasks.length === 0) {\r\n\t\t\tyield put(actions.activateCommissionFree.success());\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst responseArray = yield all(tasks);\r\n\r\n\t\tlet index = 0;\r\n\t\twhile (index < responseArray.length) {\r\n\t\t\tif (!responseArray[index].data.Success) {\r\n\t\t\t\tyield put(actions.activateCommissionFree.failure(responseArray[index].data.Errors[0].Message));\r\n\t\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\t\ttitle: 'Activate Commission Free',\r\n\t\t\t\t\ttext: responseArray[index].data.Errors[0].Message,\r\n\t\t\t\t}));\r\n\t\t\t\tyield put(userAccounts.actions.getAccountInfoRequest(account));\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tindex += 1;\r\n\t\t}\r\n\t\tyield put(userAccounts.actions.getAccountInfoRequest(account));\r\n\t\tyield put(actions.activateCommissionFree.success());\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Activate Commission Free', text: error.message }));\r\n\t\tyield put(actions.activateCommissionFree.failure(error.message));\r\n\t}\r\n}\r\n\r\nfunction* openTradexUrlSaga({ payload }) {\r\n\ttry\t{\r\n\t\tconst authWidget = yield select(auth.selectors.authWidget);\r\n\t\tif (authWidget) {\r\n\t\t\tconst ott = yield call(authWidget.oneTimeToken, env.widgetProvider);\r\n\t\t\twindow.open(`${payload}?ott=${ott}`, '_blank').focus();\r\n\t\t} else {\r\n\t\t\twindow.open(payload, '_blank').focus();\r\n\t\t}\r\n\t\tyield put(actions.openTradexUrl.success());\r\n\t\treturn true;\r\n\t} catch (error) {\r\n\t\tcaptureException(actions.openTradexUrl.REQUEST, error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\ttitle: 'Open Tradex Error',\r\n\t\t\ttext: error.message,\r\n\t\t}));\r\n\t\tyield put(actions.openTradexUrl.failure());\r\n\t\tconsole.error(error);\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\n// Watchers\r\nfunction* watchActivatePlatformRequest() {\r\n\tyield takeEvery(actions.ACTIVATE_PLATFORM_REQUEST, activatePlatformsRequest);\r\n}\r\nfunction* watchActivatePlatformSuccess() {\r\n\tyield takeEvery(actions.ACTIVATE_PLATFORM_SUCCESS, activatePlatformsSuccess);\r\n}\r\nfunction* watchShowJ2tLiteModal() {\r\n\tyield takeEvery(actions.SHOW_J2T_LITE_MODAL, showJ2tLiteModal);\r\n}\r\nfunction* watchShowJ2tPlusModal() {\r\n\tyield takeEvery(actions.SHOW_J2T_PLUS_MODAL, showJ2tPlusModal);\r\n}\r\nfunction* watchShowJ2tProModal() {\r\n\tyield takeEvery(actions.SHOW_J2T_PRO_MODAL, showJ2tProModal);\r\n}\r\nfunction* watchShowStProModal() {\r\n\tyield takeEvery(actions.SHOW_STPRO_MODAL, showStProModal);\r\n}\r\nfunction* watchActivateCommissionFreeRequest() {\r\n\tyield takeEvery(actions.activateCommissionFree.REQUEST, activateCommissionFreeSaga);\r\n}\r\nfunction* watchOpenTradexUrlRequest() {\r\n\tyield takeEvery(actions.openTradexUrl.REQUEST, openTradexUrlSaga);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchActivatePlatformRequest),\r\n\tfork(watchActivatePlatformSuccess),\r\n\tfork(watchShowJ2tLiteModal),\r\n\tfork(watchShowJ2tPlusModal),\r\n\tfork(watchShowJ2tProModal),\r\n\tfork(watchShowStProModal),\r\n\tfork(watchActivateCommissionFreeRequest),\r\n\tfork(watchOpenTradexUrlRequest),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import moment from 'moment';\r\nimport { OperationType } from '@enums';\r\nimport actions from './actions';\r\nimport authActions from '../auth/actions';\r\nimport linkedAccountsActions from '../linkedAccounts/actions';\r\n\r\nconst initialState = {\r\n\tsubmittingBaseData: false,\r\n\taccountInfo: {\r\n\t\tloading: true,\r\n\t\tPlatforms: {},\r\n\t\tTariffs: null,\r\n\t\tPendingOrders: {},\r\n\t\tAccountName: '',\r\n\t\tWireRequisites: {},\r\n\t\tStatus: {\r\n\t\t\tCanAcat: false,\r\n\t\t\tCanAchLink: false,\r\n\t\t\tCanAchLinkAuto: false,\r\n\t\t\tCanWireLink: false,\r\n\t\t\tCanFund: true,\r\n\t\t\tCanWithdrawal: true,\r\n\t\t\tCanMarginUpgrade: false,\r\n\t\t\tCanOptionsUpgrade: false,\r\n\t\t\tIsClosed: false,\r\n\t\t\tIsDisabled: false,\r\n\t\t\tCanPlatformChange: false,\r\n\t\t},\r\n\t\tIsIra: null,\r\n\t\tIraType: null,\r\n\t},\r\n\tcurrentAccount: '',\r\n\tcurrentClearer: '',\r\n\tcurrentAccountData: {\r\n\t\tsubmitting: true,\r\n\t\tportfolio: [],\r\n\t\tbaseParams: null,\r\n\t},\r\n\t// currentAccountStatus: {\r\n\t// \tCanAchLink: false,\r\n\t// \tCanFund: true,\r\n\t// \tCanWithdrawal: true,\r\n\t// \tCanMarginUpgrade: false,\r\n\t// \tCanOptionsUpgrade: false,\r\n\t// \tIsClosed: false,\r\n\t// \tIsDisabled: false,\r\n\t// },\r\n\treportsAndConfirmations: {\r\n\t\tloading: true,\r\n\t\tUrl: null,\r\n\t\tDocuments: [],\r\n\t\tTransmissions: [],\r\n\t},\r\n\tcharts: {},\r\n\thasMaxTemplatesCount: false,\r\n\tlinkedAccountsSubmitting: false,\r\n\tlinkedAccounts: [],\r\n\taccounts: [],\r\n\tcashActivities: {\r\n\t\tloading: true,\r\n\t\tdates: {\r\n\t\t\tStartDate: new Date(moment().year(), moment().month() - 2, moment().date()),\r\n\t\t\tEndDate: new Date(),\r\n\t\t},\r\n\t\ttype: OperationType.ALL,\r\n\t\tpagination: {\r\n\t\t\tPage: 1,\r\n\t\t},\r\n\t\titems: [],\r\n\t},\r\n\tnonTraidingActivities: {\r\n\t\tloading: true,\r\n\t\tdates: {\r\n\t\t\tStartDate: new Date(moment().year(), moment().month() - 2, moment().date()),\r\n\t\t\tEndDate: new Date(),\r\n\t\t},\r\n\t\ttype: OperationType.ALL,\r\n\t\tpagination: {\r\n\t\t\tPage: 1,\r\n\t\t},\r\n\t\titems: [],\r\n\t},\r\n\tuserInfo: {\r\n\t\tsubmitting: false,\r\n\t},\r\n\tcorporateActions: {\r\n\t\tloading: true,\r\n\t\tpagination: {},\r\n\t\titems: [],\r\n\t},\r\n\toldCorporateActions: {\r\n\t\tloading: true,\r\n\t\tpagination: {},\r\n\t\titems: [],\r\n\t},\r\n\tupgradeMarginType: {\r\n\t\tsubmitting: false,\r\n\t\ttradeAccount: null,\r\n\t\tmarginParams: null,\r\n\t},\r\n\tupgradeOptionLevel: {\r\n\t\tsubmitting: false,\r\n\t\ttradeAccount: null,\r\n\t\tmarginParams: null,\r\n\t},\r\n\tcurrentAccountObject: null,\r\n\tsecondAccountAgreement: {\r\n\t\tsubmitting: false,\r\n\t\tcreated: false,\r\n\t},\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.getUserInfo.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tuserInfo: {\r\n\t\t\t\t\t...state.userInfo,\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getUserInfo.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tuserInfo: {\r\n\t\t\t\t\t...payload.response.UserInfo,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getUserInfo.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tuserInfo: {\r\n\t\t\t\t\t...state.userInfo,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.GET_ACCOUNTS_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmittingBaseData: true,\r\n\t\t\t};\r\n\t\tcase actions.GET_ACCOUNTS_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\t...payload,\r\n\t\t\t\tsubmittingBaseData: false,\r\n\t\t\t};\r\n\t\tcase actions.GET_ACCOUNTS_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\t...payload,\r\n\t\t\t\tsubmittingBaseData: false,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SET_CURRENT_ACCOUNT:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmittingBaseData: true,\r\n\t\t\t\tcurrentAccount: payload.account.TradeCode,\r\n\t\t\t\tcurrentClearer: payload.account.ClearerFirm || payload.account.ClearingFirm,\r\n\t\t\t\tcurrentAccountObject: {\r\n\t\t\t\t\tIsDemo: payload.account.IsDemo,\r\n\t\t\t\t\tIsPaper: payload.account.IsPaper,\r\n\t\t\t\t\tIsClosed: payload.account.IsClosed,\r\n\t\t\t\t},\r\n\t\t\t\tcurrentAccountData: {\r\n\t\t\t\t\t...initialState.currentAccountData,\r\n\t\t\t\t},\r\n\t\t\t\taccountInfo: {\r\n\t\t\t\t\t...initialState.accountInfo,\r\n\t\t\t\t},\r\n\t\t\t\tcharts: {},\r\n\t\t\t\thasMaxTemplatesCount: false,\r\n\t\t\t\tlinkedAccounts: [],\r\n\t\t\t\tcashActivities: {\r\n\t\t\t\t\t...initialState.cashActivities,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.GET_CURRENT_ACCOUNT_BASE_DATA_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmittingBaseData: false,\r\n\t\t\t};\r\n\r\n\t\tcase actions.REFRESH_REPORTS_AND_CONFIRMATIONS_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\treportsAndConfirmations: {\r\n\t\t\t\t\t...state.reportsAndConfirmations,\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.REFRESH_REPORTS_AND_CONFIRMATIONS_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\treportsAndConfirmations: {\r\n\t\t\t\t\t...payload,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.REFRESH_REPORTS_AND_CONFIRMATIONS_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\treportsAndConfirmations: {\r\n\t\t\t\t\t...state.reportsAndConfirmations,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.getAccountPortfolio.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcurrentAccountData: {\r\n\t\t\t\t\t...initialState.currentAccountData,\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SET_ACCOUNT_BASE_PARAMS:\r\n\t\tcase actions.getAccountPortfolio.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcurrentAccountData: {\r\n\t\t\t\t\t...payload.response,\r\n\t\t\t\t\tbaseParams: {\r\n\t\t\t\t\t\t...payload.response.baseParams,\r\n\t\t\t\t\t\tMarketValue: payload.response.portfolio &&\r\n\t\t\t\t\t\tpayload.response.portfolio.Positions &&\r\n\t\t\t\t\t\tpayload.response.portfolio.Positions.reduce((sum, it) => sum + it.MarketValue, 0),\r\n\t\t\t\t\t},\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getAccountPortfolio.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcurrentAccountData: {\r\n\t\t\t\t\t...state.currentAccountData,\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.GET_ACCOUNT_INFO_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\taccountInfo: {\r\n\t\t\t\t\t...initialState.accountInfo,\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.GET_ACCOUNT_INFO_SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\taccountInfo: {\r\n\t\t\t\t\t...payload,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.GET_ACCOUNT_INFO_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\taccountInfo: {\r\n\t\t\t\t\t...state.accountInfo,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase linkedAccountsActions.getLinkedAccounts.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tlinkedAccountsSubmitting: false,\r\n\t\t\t};\r\n\t\tcase linkedAccountsActions.getLinkedAccounts.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tlinkedAccountsSubmitting: payload.submitting || false,\r\n\t\t\t};\r\n\t\tcase linkedAccountsActions.getLinkedAccounts.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\thasMaxTemplatesCount: payload.HasMaxTemplatesCount || false,\r\n\t\t\t\tlinkedAccountsSubmitting: false,\r\n\t\t\t\tlinkedAccounts: [...payload.LinkedAccounts],\r\n\t\t\t// currentAccountStatus: {\r\n\t\t\t// \tCanAchLink: payload.CanAchLink,\r\n\t\t\t// \tCanFund: payload.CanFund,\r\n\t\t\t// \tCanWithdrawal: payload.CanWithdrawal,\r\n\t\t\t// \tCanMarginUpgrade: payload.CanUpgrade,\r\n\t\t\t// \tCanOptionsUpgrade: payload.CanOptionsUpgrade,\r\n\t\t\t// \tIsClosed: payload.IsClosed,\r\n\t\t\t// \tIsDisabled: payload.IsDisabled,\r\n\t\t\t// },\r\n\t\t\t};\r\n\r\n\t\tcase actions.getTransactionsHistory.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcashActivities: (payload.Page === 1) ? {\r\n\t\t\t\t\t...initialState.cashActivities,\r\n\t\t\t\t\ttype: payload.Type,\r\n\t\t\t\t\tdates: {\r\n\t\t\t\t\t\tStartDate: payload.StartDate,\r\n\t\t\t\t\t\tEndDate: payload.EndDate,\r\n\t\t\t\t\t},\r\n\t\t\t\t} : {\r\n\t\t\t\t\t...state.cashActivities,\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t\ttype: payload.Type,\r\n\t\t\t\t\tdates: {\r\n\t\t\t\t\t\tStartDate: payload.StartDate,\r\n\t\t\t\t\t\tEndDate: payload.EndDate,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getTransactionsHistory.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcashActivities: {\r\n\t\t\t\t\t...state.cashActivities,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t\tpagination: {\r\n\t\t\t\t\t\t...payload.request,\r\n\t\t\t\t\t},\r\n\t\t\t\t\titems: [\r\n\t\t\t\t\t\t...state.cashActivities.items,\r\n\t\t\t\t\t\t...payload.response.Items,\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getTransactionsHistory.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcashActivities: {\r\n\t\t\t\t\t...state.cashActivities,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\r\n\t\tcase actions.getMoneyTransactionsHistory.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcashActivities: (payload.Page === 1) ? {\r\n\t\t\t\t\t...initialState.cashActivities,\r\n\t\t\t\t\ttype: payload.Type,\r\n\t\t\t\t\tdates: {\r\n\t\t\t\t\t\tStartDate: payload.StartDate,\r\n\t\t\t\t\t\tEndDate: payload.EndDate,\r\n\t\t\t\t\t},\r\n\t\t\t\t} : {\r\n\t\t\t\t\t...state.cashActivities,\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t\ttype: payload.Type,\r\n\t\t\t\t\tdates: {\r\n\t\t\t\t\t\tStartDate: payload.StartDate,\r\n\t\t\t\t\t\tEndDate: payload.EndDate,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getMoneyTransactionsHistory.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcashActivities: {\r\n\t\t\t\t\t...state.cashActivities,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t\tpagination: {\r\n\t\t\t\t\t\t...payload.request,\r\n\t\t\t\t\t},\r\n\t\t\t\t\titems: [\r\n\t\t\t\t\t\t...state.cashActivities.items,\r\n\t\t\t\t\t\t...payload.response.Items,\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getMoneyTransactionsHistory.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcashActivities: {\r\n\t\t\t\t\t...state.cashActivities,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.getNonTradingOrdersHistory.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnonTraidingActivities: (payload.Page === 1) ? {\r\n\t\t\t\t\t...initialState.nonTraidingActivities,\r\n\t\t\t\t\ttype: payload.Type,\r\n\t\t\t\t\tdates: {\r\n\t\t\t\t\t\tStartDate: payload.StartDate,\r\n\t\t\t\t\t\tEndDate: payload.EndDate,\r\n\t\t\t\t\t},\r\n\t\t\t\t} : {\r\n\t\t\t\t\t...state.nonTraidingActivities,\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t\ttype: payload.Type,\r\n\t\t\t\t\tdates: {\r\n\t\t\t\t\t\tStartDate: payload.StartDate,\r\n\t\t\t\t\t\tEndDate: payload.EndDate,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getNonTradingOrdersHistory.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnonTraidingActivities: {\r\n\t\t\t\t\t...state.nonTraidingActivities,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t\tpagination: {\r\n\t\t\t\t\t\t...payload.request,\r\n\t\t\t\t\t},\r\n\t\t\t\t\titems: [\r\n\t\t\t\t\t\t...state.nonTraidingActivities.items,\r\n\t\t\t\t\t\t...payload.response.Items,\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getNonTradingOrdersHistory.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tnonTraidingActivities: {\r\n\t\t\t\t\t...state.nonTraidingActivities,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.getAccountCharts.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcharts: { ...payload },\r\n\t\t\t};\r\n\r\n\t\tcase actions.getCorporateActions.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcorporateActions: (!payload.page || payload.page === 1) ? {\r\n\t\t\t\t\t...initialState.corporateActions,\r\n\t\t\t\t} : {\r\n\t\t\t\t\t...state.corporateActions,\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getCorporateActions.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcorporateActions: {\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t\tpagination: {\r\n\t\t\t\t\t\tpage: payload.request.page,\r\n\t\t\t\t\t\tpageSize: payload.request.pageSize,\r\n\t\t\t\t\t},\r\n\t\t\t\t\titems: [\r\n\t\t\t\t\t\t...state.corporateActions.items,\r\n\t\t\t\t\t\t...payload.response.Items,\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getCorporateActions.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tcorporateActions: {\r\n\t\t\t\t\t...state.corporateActions,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.getOldCorporateActions.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\toldCorporateActions: (!payload.page || payload.page === 1) ? {\r\n\t\t\t\t\t...initialState.oldCorporateActions,\r\n\t\t\t\t} : {\r\n\t\t\t\t\t...state.oldCorporateActions,\r\n\t\t\t\t\tloading: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getOldCorporateActions.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\toldCorporateActions: {\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t\tpagination: {\r\n\t\t\t\t\t\tpage: payload.request.page,\r\n\t\t\t\t\t\tpageSize: payload.request.pageSize,\r\n\t\t\t\t\t},\r\n\t\t\t\t\titems: [\r\n\t\t\t\t\t\t...state.oldCorporateActions.items,\r\n\t\t\t\t\t\t...payload.response.Items,\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.getOldCorporateActions.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\toldCorporateActions: {\r\n\t\t\t\t\t...state.oldCorporateActions,\r\n\t\t\t\t\tloading: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase actions.SHOW_UPGRADE_ACCOUNT_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tupgradeMarginType: {\r\n\t\t\t\t\ttradeAccount: payload.tradeAccount,\r\n\t\t\t\t\tmarginParams: payload.marginParams,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.SHOW_UPGRADE_OPTION_LEVEL_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tupgradeOptionLevel: {\r\n\t\t\t\t\ttradeAccount: payload.tradeAccount,\r\n\t\t\t\t\tmarginParams: payload.marginParams,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\r\n\t\tcase authActions.LOGIN_USER:\r\n\t\t\treturn {\r\n\t\t\t\t...initialState,\r\n\t\t\t};\r\n\t\tcase authActions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\r\n\t\tcase actions.addDemoAccount.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmittingBaseData: true,\r\n\t\t\t};\r\n\t\tcase actions.addDemoAccount.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmittingBaseData: false,\r\n\t\t\t};\r\n\t\tcase actions.addDemoAccount.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmittingBaseData: false,\r\n\t\t\t};\r\n\t\tcase actions.secondAccountVisionAgreement.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsecondAccountAgreement: {\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t\tcreated: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.secondAccountVisionAgreement.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsecondAccountAgreement: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tcreated: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.secondAccountVisionAgreement.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsecondAccountAgreement: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tcreated: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.econsentUpdateVisionForm.REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\teconsentUpdateVision: {\r\n\t\t\t\t\tsubmitting: true,\r\n\t\t\t\t\tcreated: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.econsentUpdateVisionForm.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\teconsentUpdateVision: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tcreated: true,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.econsentUpdateVisionForm.FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\teconsentUpdateVision: {\r\n\t\t\t\t\tsubmitting: false,\r\n\t\t\t\t\tcreated: false,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","import { SubmissionError } from 'redux-form';\r\nimport { all, fork, select, take, takeEvery, put } from 'redux-saga/effects';\r\nimport { push } from 'connected-react-router';\r\nimport moment from 'moment';\r\nimport {\r\n\tBaseGetSagaHandler,\r\n\tcallApi,\r\n\tlinkedAccounts,\r\n\tnotifications,\r\n\tprofile,\r\n\tsignature,\r\n\tsnackbar,\r\n\tuserAccounts,\r\n} from '@redux';\r\nimport {\r\n\tcancelOrder,\r\n\tgetAccountCharts,\r\n\tgetAccounts,\r\n\tgetAccountInfo,\r\n\tgetAccountPortfolio,\r\n\tgetCorporateActions,\r\n\tgetOldCorporateActions,\r\n\tgetTransactionHistory,\r\n\tgetMoneyTransactionHistory,\r\n\tgetNonTradingOrdersHistory,\r\n\tgetUserInfo,\r\n\trefreshReportsAndConfirmations,\r\n\tupgradeMarginType,\r\n\tupgradeOptionLevel,\r\n\taddDemoAccount,\r\n\tresetDemoAccount,\r\n\tgenerateSecondAccountVisionAgreement,\r\n\topenAdditionalAccount,\r\n\teconsentUpdateVisionForm,\r\n} from '@api';\r\nimport { env } from '@config';\r\nimport { ModalPopups } from '@enums';\r\nimport { addHashToUrl, cabinetLog, captureException, changeHashInUrl } from '@global';\r\nimport actions from './actions';\r\nimport selectors from './selectors';\r\n\r\n\r\nfunction* getUserAccountsRequestSaga() {\r\n\ttry {\r\n\t\tconst response = yield callApi(getAccounts);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.getAccountsFailure(response.data.Errors[0]));\r\n\t\t\t// if (response.data.Errors[0].Code === 'Unauthorized') {\r\n\t\t\t// \treturn false;\r\n\t\t\t// }\r\n\t\t\t// throw (response.data.Errors[0].Message);\r\n\t\t} else {\r\n\t\t\tyield put(actions.getAccountsSuccess(response.data.Accounts));\r\n\t\t\tyield put(actions.getUserInfo.success({ response: response.data }));\r\n\t\t}\r\n\t\treturn true;\r\n\t} catch (error) {\r\n\t\tcaptureException('getUserAccountsRequestSaga', error);\r\n\t\tyield put(actions.getAccountsFailure(error.message));\r\n\t\tconsole.error(error);\r\n\t}\r\n}\r\n\r\nfunction* setCurrentAccountSaga({ payload: { account: { TradeCode, ClearingFirm } } }) {\r\n\tlocalStorage.setItem('curacc', TradeCode);\r\n\r\n\tyield put(actions.getCurrentAccountBaseDataRequest({ tradeCode: TradeCode, clearerFirm: ClearingFirm }));\r\n\r\n\tconst startDate = new Date(moment().year(), moment().month() - 2, moment().date());\r\n\tconst endDate = new Date();\r\n\tconst endDateCorporateActions = new Date(moment().year() + 1, moment().month(), moment().date());\r\n\r\n\tyield put(actions.getTransactionsHistory.request({\r\n\t\tTradeCode,\r\n\t\tClearerFirm: ClearingFirm,\r\n\t\tStartDate: moment(startDate).format('YYYYMMDD'),\r\n\t\tEndDate: moment(endDate).format('YYYYMMDD'),\r\n\t\tPage: 1,\r\n\t}));\r\n\r\n\tyield put(actions.getAccountCharts.request({ tradeCode: TradeCode, clearerFirm: ClearingFirm }));\r\n\r\n\tyield put(actions.getCorporateActions.request({\r\n\t\ttradeCode: TradeCode,\r\n\t\tstartDate: moment(startDate).format('YYYYMMDD'),\r\n\t\tendDate: moment(endDateCorporateActions).format('YYYYMMDD'),\r\n\t\tpage: 1,\r\n\t}));\r\n\r\n\tif (env.WEBCAB_4449_allow_old_corp_actions) {\r\n\t\tyield put(actions.getOldCorporateActions.request({\r\n\t\t\ttradeCode: TradeCode,\r\n\t\t\tstartDate: moment(startDate).format('YYYYMMDD'),\r\n\t\t\tendDate: moment(endDateCorporateActions).format('YYYYMMDD'),\r\n\t\t\tpage: 1,\r\n\t\t}));\r\n\t}\r\n\r\n\t// WEBCAB-4989 блок Gainers & Loosers удален\r\n\t// yield put(analytics.actions.getGainersAndLosersRequest());\r\n\tyield put(notifications.actions.getNotificationsRequest(TradeCode));\r\n}\r\n\r\nfunction* GetCurrentAccountBaseDataSaga({ payload }) {\r\n\tyield put(actions.getAccountPortfolio.request({ tradeCode: payload.tradeCode }));\r\n\tyield put(actions.getAccountInfoRequest(payload));\r\n\tyield put(linkedAccounts.actions.getLinkedAccounts.request({ tradeCode: payload.tradeCode }));\r\n\tyield put(signature.actions.checkSignatures.request(payload));\r\n\r\n\tyield all([\r\n\t\ttake([actions.getAccountPortfolio.SUCCESS, actions.getAccountPortfolio.FAILURE]),\r\n\t\ttake([actions.GET_ACCOUNT_INFO_SUCCESS, actions.GET_ACCOUNT_INFO_FAILURE]),\r\n\t\ttake([linkedAccounts.actions.getLinkedAccounts.SUCCESS, linkedAccounts.actions.getLinkedAccounts.FAILURE]),\r\n\t\ttake([signature.actions.checkSignatures.SUCCESS, signature.actions.checkSignatures.FAILURE]),\r\n\t]);\r\n\r\n\tyield put(actions.getCurrentAccountBaseDataSuccess());\r\n}\r\n\r\n\r\nfunction* getAccountChartsRequestSaga({ payload }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(getAccountCharts, payload);\r\n\t\tcabinetLog('charts', response);\r\n\t\tyield put(actions.getAccountCharts.success(response.data));\r\n\t} catch (error) {\r\n\t\tcaptureException('getAccountChartsRequestSaga', error);\r\n\t\tyield put(actions.getAccountCharts.failure(error));\r\n\t}\r\n}\r\n\r\nfunction* getAccountInfoRequestSaga({ payload: { account } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(getAccountInfo, account);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttitle: 'Get Account Info',\r\n\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t}));\r\n\t\t\tyield put(actions.getAccountInfoFailure(response.data.Errors[0].Message));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getAccountInfoSuccess(response.data));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcaptureException('getAccountInfoRequestSaga', error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Account Info', text: error.message }));\r\n\t\tyield put(actions.getAccountInfoFailure(error.message));\r\n\t\tconsole.error(error);\r\n\t}\r\n}\r\n\r\n\r\nfunction* refreshReportsAndConfirmationsRequestSaga({ payload: { account } }) {\r\n\ttry {\r\n\t\tlet tradeAccount = account;\r\n\t\tif (!account || !account.tradeCode) {\r\n\t\t\t// set current account waiting\r\n\t\t\tyield all([\r\n\t\t\t\t// Reports and Confirmations required currentTradeAccount\r\n\t\t\t\ttake(userAccounts.actions.SET_CURRENT_ACCOUNT),\r\n\t\t\t]);\r\n\t\t\ttradeAccount = yield select(userAccounts.selectors.currentTradeAccount);\r\n\t\t}\r\n\t\tconst response = yield callApi(refreshReportsAndConfirmations, tradeAccount);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttitle: 'Get Reports',\r\n\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t}));\r\n\t\t\tyield put(actions.refreshReportsAndConfirmationsFailure(response.data.Errors[0].Message));\r\n\t\t} else {\r\n\t\t\tyield put(actions.refreshReportsAndConfirmationsSuccess(response.data));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcaptureException('refreshReportsAndConfirmationsRequestSaga', error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Reports', text: error.message }));\r\n\t\tyield put(actions.refreshReportsAndConfirmationsFailure(error.message));\r\n\t}\r\n}\r\n\r\nfunction* openReportsPageSaga({ payload: { page, account } }) {\r\n\tyield* refreshReportsAndConfirmationsRequestSaga({ payload: { account } });\r\n\tconst reports = yield select(selectors.reportsAndConfirmations);\r\n\r\n\tif (reports.Success && !reports.loading &&\r\n\t\treports.Url &&\r\n\t\t!reports.Documents &&\r\n\t\t!reports.Transmissons\r\n\t) {\r\n\t\twindow.open(reports.Url, '_blank');\r\n\t} else {\r\n\t\tyield put(push(page));\r\n\t}\r\n}\r\n\r\nfunction* cancelOrderRequestSaga({ payload: { onEndRequest, account, orderCode } }) {\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: cancelOrder,\r\n\t\terrorText: 'Cancel Order',\r\n\t\thandler: actions.cancelOrder,\r\n\t\tonEndRequest,\r\n\t}, { payload: { tradeCode: account.tradeCode, orderCode } });\r\n\r\n\tif (isSuccess) {\r\n\t\tconst cashActivities = yield select(selectors.cashActivities);\r\n\t\tconst {\r\n\t\t\tStartDate,\r\n\t\t\tEndDate,\r\n\t\t} = cashActivities.pagination;\r\n\r\n\t\tyield put(actions.getTransactionsHistory.request({\r\n\t\t\tTradeCode: account.tradeCode,\r\n\t\t\tClearerFirm: account.clearerFirm,\r\n\t\t\tStartDate,\r\n\t\t\tEndDate,\r\n\t\t\tPage: 1,\r\n\t\t}));\r\n\t}\r\n}\r\n\r\nfunction* upgradeAccountFormSubmitSaga({ payload }) {\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: upgradeMarginType,\r\n\t\terrorText: 'Upgrade Margin Type',\r\n\t\thandler: actions.upgradeAccountFormSubmitHandler,\r\n\t}, { payload });\r\n\r\n\tif (isSuccess) {\r\n\t\tyield put(actions.getAccountInfoRequest({\r\n\t\t\ttradeCode: payload.TradeCode,\r\n\t\t\tclearerFirm: payload.Clearer,\r\n\t\t}));\r\n\t}\r\n\tif (payload.MustUpdateProfile) {\r\n\t\tyield put(profile.actions.getProfileRequest());\r\n\t}\r\n}\r\nfunction* showUpgradeAccountModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.UPGRADE_MARGIN_TYPE)));\r\n}\r\n\r\n\r\nfunction* upgradeOptionLevelFormSaga({ payload }) {\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: upgradeOptionLevel,\r\n\t\terrorText: 'Upgrade Option Level',\r\n\t\thandler: actions.upgradeOptionLevelForm,\r\n\t}, { payload });\r\n\r\n\tif (isSuccess) {\r\n\t\tyield put(actions.getAccountInfoRequest({\r\n\t\t\ttradeCode: payload.TradeCode,\r\n\t\t\tclearerFirm: payload.Clearer,\r\n\t\t}));\r\n\t}\r\n\tif (payload.MustUpdateProfile) {\r\n\t\tyield put(profile.actions.getProfileRequest());\r\n\t}\r\n}\r\nfunction* showUpgradeOptionLevelModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(changeHashInUrl(\r\n\t\tlocation,\r\n\t\tModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL,\r\n\t\tModalPopups.UPGRADE_OPTION_LEVEL,\r\n\t)));\r\n}\r\n\r\nfunction* reloadTransactionHistory(tradeCode, clearerFirm) {\r\n\t// reload first page\r\n\tconst cashActivities = yield select(selectors.cashActivities);\r\n\tconst {\r\n\t\tStartDate,\r\n\t\tEndDate,\r\n\t} = cashActivities.pagination;\r\n\r\n\tyield put(actions.getTransactionsHistory.request({\r\n\t\tTradeCode: tradeCode,\r\n\t\tClearerFirm: clearerFirm,\r\n\t\tStartDate,\r\n\t\tEndDate,\r\n\t\tPage: 1,\r\n\t}));\r\n}\r\n\r\nfunction* addDemoAccountSaga() {\r\n\ttry {\r\n\t\tconst response = yield callApi(addDemoAccount);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttitle: 'Cannot add demo account',\r\n\t\t\t\ttext: response.data.Errors[0],\r\n\t\t\t}));\r\n\r\n\t\t\tyield put(actions.addDemoAccount.failure(response.data.Errors[0]));\r\n\t\t\treturn;\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcaptureException('addDemoAccountSaga', error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\ttitle: 'Cannot add demo account',\r\n\t\t\ttext: error.message,\r\n\t\t}));\r\n\r\n\t\tyield put(actions.addDemoAccount.failure(error.message));\r\n\r\n\t\tconsole.error(error);\r\n\t\treturn;\r\n\t}\r\n\r\n\tyield put(userAccounts.actions.getAccountsRequest());\r\n\tconst accountAction = yield take([\r\n\t\tuserAccounts.actions.GET_ACCOUNTS_SUCCESS,\r\n\t\tuserAccounts.actions.GET_ACCOUNTS_FAILURE,\r\n\t]);\r\n\r\n\tif (accountAction.type === userAccounts.actions.GET_ACCOUNTS_FAILURE) {\r\n\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\ttitle: 'Demo account',\r\n\t\t\ttext: 'Added demo account, but cannot reload accounts',\r\n\t\t}));\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst accounts = yield select(userAccounts.selectors.accounts);\r\n\tconst demoAccount = accounts.find(it => it.IsDemo || it.IsPaper);\r\n\r\n\tif (demoAccount) {\r\n\t\tyield put(userAccounts.actions.setCurrentAccount(demoAccount));\r\n\t}\r\n\r\n\tyield put(snackbar.actions.showMessage({\r\n\t\ttitle: 'Demo account',\r\n\t\ttext: 'Successfully added demo account',\r\n\t\ttype: 'success',\r\n\t}));\r\n}\r\n\r\nfunction* resetDemoAccountSaga({ payload }) {\r\n\tconst tradeCode = yield select(userAccounts.selectors.currentAccount);\r\n\tconst clearerFirm = yield select(userAccounts.selectors.currentClearer);\r\n\r\n\tconst isSuccess = yield BaseGetSagaHandler(\r\n\t\t{\r\n\t\t\tapiMethod: resetDemoAccount,\r\n\t\t\terrorText: 'Cannot reset demo account',\r\n\t\t\thandler: actions.resetDemoAccountFormSubmit,\r\n\t\t},\r\n\t\t{\r\n\t\t\tpayload: {\r\n\t\t\t\tclearer: clearerFirm,\r\n\t\t\t\tclearingNumber: tradeCode,\r\n\t\t\t\tsetCashTo: payload.Amount,\r\n\t\t\t\tmarginType: payload.MarginType,\r\n\t\t\t\toptionLevel: payload.OptionLevel,\r\n\t\t\t},\r\n\t\t},\r\n\t);\r\n\r\n\tif (isSuccess) {\r\n\t\tyield put(snackbar.actions.showMessage({\r\n\t\t\ttitle: 'Reset demo account',\r\n\t\t\ttext: 'Successfully confirmed account reset',\r\n\t\t\ttype: 'success',\r\n\t\t}));\r\n\r\n\t\tconst startDate = new Date(moment().year(), moment().month() - 2, moment().date());\r\n\t\tconst endDate = new Date();\r\n\t\tconst endDateCorporateActions = new Date(moment().year() + 1, moment().month(), moment().date());\r\n\r\n\t\tyield put(actions.getAccountPortfolio.request({ tradeCode }));\r\n\r\n\t\tyield put(actions.getTransactionsHistory.request({\r\n\t\t\ttradeCode,\r\n\t\t\tClearerFirm: clearerFirm,\r\n\t\t\tStartDate: moment(startDate).format('YYYYMMDD'),\r\n\t\t\tEndDate: moment(endDate).format('YYYYMMDD'),\r\n\t\t\tPage: 1,\r\n\t\t}));\r\n\r\n\t\tyield put(actions.getAccountCharts.request({ tradeCode, clearerFirm }));\r\n\r\n\t\tyield put(actions.getCorporateActions.request({\r\n\t\t\ttradeCode,\r\n\t\t\tstartDate: moment(startDate).format('YYYYMMDD'),\r\n\t\t\tendDate: moment(endDateCorporateActions).format('YYYYMMDD'),\r\n\t\t\tpage: 1,\r\n\t\t}));\r\n\t\tif (env.WEBCAB_4449_allow_old_corp_actions) {\r\n\t\t\tyield put(actions.getOldCorporateActions.request({\r\n\t\t\t\ttradeCode,\r\n\t\t\t\tstartDate: moment(startDate).format('YYYYMMDD'),\r\n\t\t\t\tendDate: moment(endDateCorporateActions).format('YYYYMMDD'),\r\n\t\t\t\tpage: 1,\r\n\t\t\t}));\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction* showResetDemoAccountModalSaga() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.RESET_DEMO_ACCOUNT)));\r\n}\r\n\r\nfunction* showOpenSecondAccountModalSaga() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.OPEN_SECOND_ACCOUNT)));\r\n}\r\n\r\nfunction* secondAccountVisionAgreementSaga({ payload }) {\r\n\tyield BaseGetSagaHandler({\r\n\t\tapiMethod: generateSecondAccountVisionAgreement,\r\n\t\terrorText: 'Something went wrong',\r\n\t\thandler: actions.secondAccountVisionAgreement,\r\n\t}, { payload });\r\n}\r\n\r\nfunction* openAdditionalAccountSaga({ payload }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(openAdditionalAccount, payload);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.openAdditionalAccount.failure(new SubmissionError({\r\n\t\t\t\t_error: response.data.Errors[0].Message,\r\n\t\t\t})));\r\n\t\t} else {\r\n\t\t\tyield put(actions.openAdditionalAccount.success());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.openAdditionalAccount.failure(new SubmissionError({\r\n\t\t\t_error: error.message,\r\n\t\t})));\r\n\t}\r\n}\r\n\r\nfunction* econsentUpdateVisionFormSaga({ payload }) {\r\n\tyield BaseGetSagaHandler({\r\n\t\tapiMethod: econsentUpdateVisionForm,\r\n\t\terrorText: 'Something went wrong',\r\n\t\thandler: actions.econsentUpdateVisionForm,\r\n\t}, { payload });\r\n}\r\n\r\n// Watchers\r\nfunction* watchGetUserAccountsRequest() {\r\n\tyield takeEvery(actions.GET_ACCOUNTS_REQUEST, getUserAccountsRequestSaga);\r\n}\r\n\r\nfunction* watchGetUserInfoRequest() {\r\n\tyield takeEvery(actions.getUserInfo.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getUserInfo,\r\n\t\terrorText: 'Get User Info',\r\n\t\thandler: actions.getUserInfo,\r\n\t});\r\n}\r\n\r\nfunction* watchSetCurrentAccount() {\r\n\tyield takeEvery(actions.SET_CURRENT_ACCOUNT, setCurrentAccountSaga);\r\n}\r\nfunction* watchGetCurrentAccountBaseData() {\r\n\tyield takeEvery(actions.GET_CURRENT_ACCOUNT_BASE_DATA_REQUEST, GetCurrentAccountBaseDataSaga);\r\n}\r\nfunction* watchGetAccountChartsRequest() {\r\n\tyield takeEvery(actions.getAccountCharts.REQUEST, getAccountChartsRequestSaga);\r\n}\r\nfunction* watchGetTransactionsHistoryRequest() {\r\n\tyield takeEvery(actions.getTransactionsHistory.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getTransactionHistory,\r\n\t\terrorText: 'Get Transactions History',\r\n\t\thandler: actions.getTransactionsHistory,\r\n\t\tdefaults: { Page: 1, Type: 0, PageSize: 10 },\r\n\t});\r\n}\r\n\r\nfunction* watchGetMoneyTransactionsHistoryRequest() {\r\n\tyield takeEvery(actions.getMoneyTransactionsHistory.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getMoneyTransactionHistory,\r\n\t\terrorText: 'Get Transactions History',\r\n\t\thandler: actions.getMoneyTransactionsHistory,\r\n\t\tdefaults: { Page: 1, Type: 0, PageSize: 10 },\r\n\t});\r\n}\r\n\r\nfunction* watchGetNonTradingOrdersHistoryRequest() {\r\n\tyield takeEvery(actions.getNonTradingOrdersHistory.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getNonTradingOrdersHistory,\r\n\t\terrorText: 'Get Non Transactions History',\r\n\t\thandler: actions.getNonTradingOrdersHistory,\r\n\t\tdefaults: { Page: 1, Type: 0, PageSize: 10 },\r\n\t});\r\n}\r\n\r\nfunction* watchGetAccountPortfolioRequest() {\r\n\tyield takeEvery(actions.getAccountPortfolio.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getAccountPortfolio,\r\n\t\terrorText: 'Get Account Portfolio',\r\n\t\thandler: actions.getAccountPortfolio,\r\n\t});\r\n}\r\nfunction* watchRefreshReportsAndConfirmationsRequest() {\r\n\tyield takeEvery(actions.REFRESH_REPORTS_AND_CONFIRMATIONS_REQUEST, refreshReportsAndConfirmationsRequestSaga);\r\n}\r\nfunction* watchOpenReportsPage() {\r\n\tyield takeEvery(actions.OPEN_REPORTS_PAGE, openReportsPageSaga);\r\n}\r\nfunction* watchGetAccountInfoRequest() {\r\n\tyield takeEvery(actions.GET_ACCOUNT_INFO_REQUEST, getAccountInfoRequestSaga);\r\n}\r\nfunction* watchGetCorporateActionsRequest() {\r\n\tyield takeEvery(actions.getCorporateActions.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getCorporateActions,\r\n\t\terrorText: 'Get Corporate Actions',\r\n\t\thandler: actions.getCorporateActions,\r\n\t\tdefaults: { page: 1, pageSize: 8, type: 'any' },\r\n\t});\r\n}\r\nfunction* watchGetOldCorporateActionsRequest() {\r\n\tyield takeEvery(actions.getOldCorporateActions.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: getOldCorporateActions,\r\n\t\terrorText: 'Get Old Corporate Actions',\r\n\t\thandler: actions.getOldCorporateActions,\r\n\t\tdefaults: { page: 1, pageSize: 8, type: 'any' },\r\n\t});\r\n}\r\nfunction* watchCancelOrderRequest() {\r\n\tyield takeEvery(actions.cancelOrder.REQUEST, cancelOrderRequestSaga);\r\n}\r\nfunction* watchUpgradeAccountFormSubmit() {\r\n\tyield takeEvery(actions.upgradeAccountFormSubmitHandler.REQUEST, upgradeAccountFormSubmitSaga);\r\n}\r\nfunction* watchShowUpgradeAccountModal() {\r\n\tyield takeEvery(actions.SHOW_UPGRADE_ACCOUNT_MODAL, showUpgradeAccountModal);\r\n}\r\nfunction* watchUpgradeOptionLevelForm() {\r\n\tyield takeEvery(actions.upgradeOptionLevelForm.REQUEST, upgradeOptionLevelFormSaga);\r\n}\r\nfunction* watchShowUpgradeOptionLevelModal() {\r\n\tyield takeEvery(actions.SHOW_UPGRADE_OPTION_LEVEL_MODAL, showUpgradeOptionLevelModal);\r\n}\r\nfunction* watchaddDemoAccountRequest() {\r\n\tyield takeEvery(actions.addDemoAccount.REQUEST, addDemoAccountSaga);\r\n}\r\nfunction* watchResetDemoAccountRequest() {\r\n\tyield takeEvery(actions.resetDemoAccountFormSubmit.REQUEST, resetDemoAccountSaga);\r\n}\r\nfunction* watchShowResetDemoAccountModal() {\r\n\tyield takeEvery(actions.SHOW_RESET_DEMO_ACCOUNT_MODAL, showResetDemoAccountModalSaga);\r\n}\r\nfunction* watchShowOpenSecondAccountModal() {\r\n\tyield takeEvery(actions.SHOW_OPEN_SECOND_ACCOUNT_MODAL, showOpenSecondAccountModalSaga);\r\n}\r\n\r\nfunction* watchSecondAccountVisionAgreement() {\r\n\tyield takeEvery(actions.secondAccountVisionAgreement.REQUEST, secondAccountVisionAgreementSaga);\r\n}\r\n\r\nfunction* watchOpenAdditionalAccount() {\r\n\tyield takeEvery(actions.openAdditionalAccount.REQUEST, openAdditionalAccountSaga);\r\n}\r\nfunction* watchEconsentUpdateVisionForm() {\r\n\tyield takeEvery(actions.econsentUpdateVisionForm.REQUEST, econsentUpdateVisionFormSaga);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchSetCurrentAccount),\r\n\tfork(watchGetCurrentAccountBaseData),\r\n\tfork(watchGetAccountChartsRequest),\r\n\tfork(watchGetUserAccountsRequest),\r\n\tfork(watchGetUserInfoRequest),\r\n\tfork(watchGetAccountInfoRequest),\r\n\tfork(watchGetAccountPortfolioRequest),\r\n\tfork(watchRefreshReportsAndConfirmationsRequest),\r\n\tfork(watchOpenReportsPage),\r\n\tfork(watchGetTransactionsHistoryRequest),\r\n\tfork(watchGetMoneyTransactionsHistoryRequest),\r\n\tfork(watchGetNonTradingOrdersHistoryRequest),\r\n\tfork(watchGetCorporateActionsRequest),\r\n\tfork(watchGetOldCorporateActionsRequest),\r\n\tfork(watchCancelOrderRequest),\r\n\tfork(watchUpgradeAccountFormSubmit),\r\n\tfork(watchShowUpgradeAccountModal),\r\n\tfork(watchUpgradeOptionLevelForm),\r\n\tfork(watchShowUpgradeOptionLevelModal),\r\n\tfork(watchaddDemoAccountRequest),\r\n\tfork(watchResetDemoAccountRequest),\r\n\tfork(watchShowResetDemoAccountModal),\r\n\tfork(watchShowOpenSecondAccountModal),\r\n\tfork(watchSecondAccountVisionAgreement),\r\n\tfork(watchOpenAdditionalAccount),\r\n\tfork(watchEconsentUpdateVisionForm),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n\tgetUserAccountsRequestSaga,\r\n\treloadTransactionHistory,\r\n};\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import { ModalPopups } from '@enums';\r\nimport actions from './actions';\r\nimport appActions from '../app/actions';\r\nimport auth from '../auth';\r\n\r\n\r\nconst initialState = {\r\n\tfromUserAccount: null,\r\n\ttoBankAccount: null,\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase appActions.SHOW_BASE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tfromUserAccount: [\r\n\t\t\t\t\tModalPopups.CY_WITHDRAWAL_BANK_TRANSFER,\r\n\t\t\t\t\tModalPopups.CY_TRANSFER_BETWEEN_ACCOUNTS,\r\n\t\t\t\t].includes(payload.modalName)\r\n\t\t\t\t\t? payload.modalData.userAccount : state.fromUserAccount,\r\n\t\t\t\ttoBankAccount: [\r\n\t\t\t\t\tModalPopups.CY_WITHDRAWAL_BANK_TRANSFER,\r\n\t\t\t\t\tModalPopups.CY_TRANSFER_BETWEEN_ACCOUNTS,\r\n\t\t\t\t].includes(payload.modalName)\r\n\t\t\t\t\t? payload.modalData.bankAccount : state.toBankAccount,\r\n\t\t\t};\r\n\t\tcase appActions.HIDE_BASE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tfromUserAccount: [\r\n\t\t\t\t\tModalPopups.CY_WITHDRAWAL_BANK_TRANSFER,\r\n\t\t\t\t\tModalPopups.CY_TRANSFER_BETWEEN_ACCOUNTS,\r\n\t\t\t\t].includes(payload.modalName) ? null : state.fromUserAccount,\r\n\t\t\t\ttoBankAccount: [\r\n\t\t\t\t\tModalPopups.CY_WITHDRAWAL_BANK_TRANSFER,\r\n\t\t\t\t\tModalPopups.CY_TRANSFER_BETWEEN_ACCOUNTS,\r\n\t\t\t\t].includes(payload.modalName) ? null : state.toBankAccount,\r\n\t\t\t};\r\n\t\tcase actions.SHOW_WITHDRAW_FUNDS_ACH_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\t...payload,\r\n\t\t\t};\r\n\t\tcase actions.HIDE_WITHDRAW_FUNDS_ACH_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tfromUserAccount: null,\r\n\t\t\t\ttoBankAccount: null,\r\n\t\t\t};\r\n\t\tcase actions.SHOW_WITHDRAW_FUNDS_WIRE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\t...payload,\r\n\t\t\t};\r\n\t\tcase actions.HIDE_WITHDRAW_FUNDS_WIRE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tfromUserAccount: null,\r\n\t\t\t\ttoBankAccount: null,\r\n\t\t\t};\r\n\t\tcase auth.actions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\tfromUserAccount: state => state.withdrawFunds.fromUserAccount,\r\n\ttoBankAccount: state => state.withdrawFunds.toBankAccount,\r\n};\r\n","import { put, select, fork, takeEvery } from 'redux-saga/effects';\r\nimport {\r\n\tachWithdraw,\r\n\tbrokerWithdraw,\r\n\tiraWithdraw,\r\n\ttransferBetweenAccounts,\r\n\twireWithdraw,\r\n\twireLinking,\r\n\tcloseAccountValidation,\r\n} from '@api';\r\nimport { SubmissionError } from 'redux-form';\r\nimport { BaseGetSagaHandler, callApi, linkedAccounts, userAccounts, snackbar, acatDeposit } from '@redux';\r\nimport { push } from 'connected-react-router';\r\nimport { ModalPopups, CloseAccountFlow } from '@enums';\r\nimport { addHashToUrl, removeHashFromUrl } from '@global';\r\nimport actions from './actions';\r\nimport { MapWireLinkPayload } from '../linkedAccounts/saga';\r\n\r\nfunction* reloadLinkedAccounts(tradeCode) {\r\n\tyield put(linkedAccounts.actions.getLinkedAccounts.request({ tradeCode }));\r\n}\r\n\r\n// function* reloadTransactionHistory(tradeCode, clearerFirm) {\r\n// \tconst cashActivities = yield select(userAccounts.selectors.cashActivities);\r\n// \tconst {\r\n// \t\tStartDate,\r\n// \t\tEndDate,\r\n// \t} = cashActivities.pagination;\r\n\r\n// \t// reload first page\r\n// \tyield put(userAccounts.actions.getTransactionsHistory.request({\r\n// \t\tTradeCode: tradeCode,\r\n// \t\tClearerFirm: clearerFirm,\r\n// \t\tStartDate,\r\n// \t\tEndDate,\r\n// \t\tPage: 1,\r\n// \t\tPageSize: 10,\r\n// \t}));\r\n// }\r\n\r\nfunction* withdrawFormAchSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst withdrawResponse = yield callApi(achWithdraw, payload);\r\n\t\tif (!withdrawResponse.data.Success) {\r\n\t\t\tyield put(actions.withdrawAchFundsForm.failure(new SubmissionError({\r\n\t\t\t\t_error: withdrawResponse.data.Errors[0].Message,\r\n\t\t\t})));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: withdrawResponse.data.Errors[0].Message }));\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCode, payload.ClearerFirm);\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.withdrawAchFundsForm.failure(new SubmissionError({\r\n\t\t\t_error: 'NETWORK ERROR',\r\n\t\t})));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t\treturn;\r\n\t}\r\n\r\n\t// Если это флоу закрытия аккаунта, то дополнительные серверные валидации не нужны\r\n\tif (payload.CloseAccountFlow === CloseAccountFlow.PROFILE) {\r\n\t\tyield put(actions.withdrawAchFundsForm.success());\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst { baseParams: { CashCurrentValue } } = yield select(userAccounts.selectors.currentAccountData);\r\n\r\n\tif (CashCurrentValue !== parseFloat(payload.Amount)) {\r\n\t\tyield put(actions.withdrawAchFundsForm.success());\r\n\t\treturn;\r\n\t}\r\n\r\n\ttry\t{\r\n\t\tconst validationResponse = yield callApi(closeAccountValidation, {\r\n\t\t\ttradeCode: payload.TradeCode,\r\n\t\t\tclearerFirm: payload.ClearerFirm,\r\n\t\t});\r\n\t\tif (!validationResponse.data.Success) {\r\n\t\t\tyield put(acatDeposit.actions.closeAccountValidation.failure());\r\n\t\t\tyield put(actions.withdrawAchFundsForm.success());\r\n\t\t\treturn;\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(acatDeposit.actions.closeAccountValidation.failure());\r\n\t\tyield put(actions.withdrawAchFundsForm.success());\r\n\t\treturn;\r\n\t}\r\n\r\n\tyield put(acatDeposit.actions.closeAccountValidation.success());\r\n\tyield put(actions.withdrawAchFundsForm.success());\r\n}\r\n\r\n\r\nfunction* withdrawFormBrokerSubmit({ payload }) {\r\n\tconst createTransferModel = {\r\n\t\tTradeCode: payload.TradeCode,\r\n\t\tClearingFirm: payload.ClearingFirm,\r\n\t\tAmount: payload.Amount,\r\n\t\tDirection: payload.Direction,\r\n\t\tBrokerAccount: payload.bankAccountNumber,\r\n\t};\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: brokerWithdraw,\r\n\t\terrorText: 'BROKER Withdraw Funds',\r\n\t\thandler: actions.withdrawFundsBrokerForm,\r\n\t}, { payload: createTransferModel });\r\n\r\n\tif (isSuccess) {\r\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCode, payload.ClearingFirm);\r\n\t}\r\n}\r\n\r\nfunction* withdrawFormIraSubmit({ payload }) {\r\n\tyield BaseGetSagaHandler({\r\n\t\tapiMethod: iraWithdraw,\r\n\t\terrorText: 'Ira Withdraw Funds',\r\n\t\thandler: actions.withdrawFundsIraForm,\r\n\t}, { payload });\r\n}\r\n\r\n\r\nfunction* transferBetweenAccountsSubmitSaga({ payload }) {\r\n\tconst isSuccess = yield BaseGetSagaHandler({\r\n\t\tapiMethod: transferBetweenAccounts,\r\n\t\terrorText: 'Transfer between accounts',\r\n\t\thandler: actions.transferBetweenAccountsSubmitForm,\r\n\t}, { payload });\r\n\r\n\tif (isSuccess) {\r\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.TradeCodeFrom, payload.ClearingFirmFrom);\r\n\t}\r\n}\r\n\r\n\r\nfunction MapWireWithdrawalPayload(payload) {\r\n\treturn {\r\n\t\t...payload.wireWithdrawal,\r\n\t\tName: payload.wireWithdrawal.ClearingFirm === 'cor' ? payload.wireWithdrawal.Name : 'Name',\r\n\t\tSurname: payload.wireWithdrawal.ClearingFirm === 'cor' ? payload.wireWithdrawal.Surname : 'Surname',\r\n\t\tAddress: payload.wireWithdrawal.ClearingFirm === 'cor' ? payload.wireWithdrawal.Address : 'Address',\r\n\t\tZipCode: payload.wireWithdrawal.ClearingFirm === 'cor' ? payload.wireWithdrawal.ZipCode : 'ZipCode',\r\n\t\tPhone: payload.wireWithdrawal.ClearingFirm === 'cor' ? payload.wireWithdrawal.Phone : '123456789',\r\n\t\tBankRoutingNumber: payload.wireWithdrawal.WireType === 'International' ? '123456789' : payload.wireWithdrawal.BankRoutingNumber,\r\n\t\tBankSwiftCode: payload.wireWithdrawal.WireType === 'Domestic' ? '123456789' : payload.wireWithdrawal.BankSwiftCode,\r\n\t\tUseIntermediaryBank: payload.wireWithdrawal.UseIntermediaryBank ? 'FME' : false,\r\n\t\tIntermediaryBankRoutingNumber: (payload.wireWithdrawal.UseIntermediaryBank && payload.wireWithdrawal.WireType === 'International')\r\n\t\t\t? '123456789'\r\n\t\t\t: payload.wireWithdrawal.IntermediaryBankRoutingNumber,\r\n\t\tIntermediaryBankSwiftCode: (payload.wireWithdrawal.UseIntermediaryBank && payload.wireWithdrawal.WireType === 'Domestic')\r\n\t\t\t? '123456789'\r\n\t\t\t: payload.wireWithdrawal.IntermediaryBankSwiftCode,\r\n\t\tConfirmationCode: payload.wireWithdrawal.ConfirmationCode,\r\n\t\tSumm: payload.wireWithdrawal.Summ,\r\n\t};\r\n}\r\n\r\nfunction* withdrawFormWireSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(wireWithdraw, MapWireWithdrawalPayload(payload));\r\n\t\tif (!response.data.Success) {\r\n\t\t\tyield put(actions.withdrawFundsWireFormFailure(new SubmissionError({\r\n\t\t\t\t_error: response.data.Errors[0].Message,\r\n\t\t\t})));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: response.data.Errors[0].Message }));\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tyield* reloadLinkedAccounts(payload.wireWithdrawal.TradeCode);\r\n\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.wireWithdrawal.TradeCode, payload.wireWithdrawal.ClearingFirm);\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(actions.withdrawFundsWireFormFailure(new SubmissionError({\r\n\t\t\t_error: 'NETWORK ERROR',\r\n\t\t})));\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst { baseParams: { CashCurrentValue } } = yield select(userAccounts.selectors.currentAccountData);\r\n\r\n\t// Если это флоу закрытия аккаунта, то дополнительные серверные валидации не нужны\r\n\tif (payload.CloseAccountFlow === CloseAccountFlow.PROFILE) {\r\n\t\tyield put(actions.withdrawFundsWireFormSuccess());\r\n\t\treturn;\r\n\t}\r\n\r\n\tif (CashCurrentValue !== parseFloat(payload.wireWithdrawal.Amount)) {\r\n\t\tyield put(actions.withdrawFundsWireFormSuccess());\r\n\t\treturn;\r\n\t}\r\n\r\n\ttry\t{\r\n\t\tconst validationResponse = yield callApi(closeAccountValidation, {\r\n\t\t\ttradeCode: payload.wireWithdrawal.TradeCode,\r\n\t\t\tclearerFirm: payload.wireWithdrawal.ClearingFirm,\r\n\t\t});\r\n\t\tif (!validationResponse.data.Success) {\r\n\t\t\tyield put(acatDeposit.actions.closeAccountValidation.failure());\r\n\t\t\tyield put(actions.withdrawFundsWireFormSuccess());\r\n\t\t\treturn;\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(acatDeposit.actions.closeAccountValidation.failure());\r\n\t\tyield put(actions.withdrawFundsWireFormSuccess());\r\n\t\treturn;\r\n\t}\r\n\r\n\tyield put(acatDeposit.actions.closeAccountValidation.success());\r\n\tyield put(actions.withdrawFundsWireFormSuccess());\r\n}\r\n\r\nfunction* linkAndWithdrawFundsWireFormSubmit({ payload }) {\r\n\ttry {\r\n\t\tconst wireLinkinkPayload = MapWireLinkPayload(payload);\r\n\t\tconst wireWithdrawalPayload = {\r\n\t\t\t...MapWireWithdrawalPayload(payload),\r\n\t\t\tWireType: wireLinkinkPayload.WireType,\r\n\t\t\tBankAccountName: wireLinkinkPayload.BankAccountName,\r\n\t\t\tBankAccountNumber: wireLinkinkPayload.BankAccountNumber,\r\n\t\t\tBankAddress: wireLinkinkPayload.BankAddress,\r\n\t\t\tBankName: wireLinkinkPayload.BankName,\r\n\t\t\tBankRoutingNumber: wireLinkinkPayload.BankRoutingNumber,\r\n\t\t\tBankSwiftCode: wireLinkinkPayload.BankSwiftCode,\r\n\t\t};\r\n\t\tconst request = yield callApi(wireLinking, {\r\n\t\t\t...wireLinkinkPayload,\r\n\t\t\tWireWithdrawal: wireWithdrawalPayload,\r\n\t\t\tConfirmationCode: wireWithdrawalPayload.ConfirmationCode,\r\n\t\t\tSumm: wireWithdrawalPayload.Summ,\r\n\t\t});\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.linkAndWithdrawFundsWireFormFailure(new SubmissionError({\r\n\t\t\t\t_error: request.data.Errors[0].Message,\r\n\t\t\t})));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield* reloadLinkedAccounts(payload.wireLink.TradeCode);\r\n\t\t\tyield* userAccounts.saga.reloadTransactionHistory(payload.wireLink.TradeCode, payload.wireLink.ClearingFirm);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\r\n\t}\r\n\r\n\t// Если это флоу закрытия аккаунта, то дополнительные серверные валидации не нужны\r\n\tif (payload.CloseAccountFlow === CloseAccountFlow.PROFILE) {\r\n\t\tyield put(actions.linkAndWithdrawFundsWireFormSuccess());\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst { baseParams: { CashCurrentValue } } = yield select(userAccounts.selectors.currentAccountData);\r\n\r\n\tif (CashCurrentValue !== parseFloat(payload.wireWithdrawal.Amount)) {\r\n\t\tyield put(actions.linkAndWithdrawFundsWireFormSuccess());\r\n\t\treturn;\r\n\t}\r\n\r\n\ttry\t{\r\n\t\tconst validationResponse = yield callApi(closeAccountValidation, {\r\n\t\t\ttradeCode: payload.wireLink.TradeCode,\r\n\t\t\tclearerFirm: payload.wireLink.ClearingFirm,\r\n\t\t});\r\n\r\n\t\tif (!validationResponse.data.Success) {\r\n\t\t\tyield put(acatDeposit.actions.closeAccountValidation.failure());\r\n\t\t\tyield put(actions.linkAndWithdrawFundsWireFormSuccess());\r\n\t\t\treturn;\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(acatDeposit.actions.closeAccountValidation.failure());\r\n\t\tyield put(actions.linkAndWithdrawFundsWireFormSuccess());\r\n\t\treturn;\r\n\t}\r\n\r\n\tyield put(acatDeposit.actions.closeAccountValidation.success());\r\n\tyield put(actions.linkAndWithdrawFundsWireFormSuccess());\r\n}\r\n\r\nfunction* showWithdrawFundsAchModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.WITHDRAW_FUNDS_ACH)));\r\n}\r\n\r\nfunction* hideWithdrawFundsAchModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.WITHDRAW_FUNDS_ACH)));\r\n}\r\n\r\nfunction* showWithdrawFundsWireModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.WITHDRAW_FUNDS_WIRE)));\r\n}\r\n\r\nfunction* hideWithdrawFundsWireModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.WITHDRAW_FUNDS_WIRE)));\r\n}\r\nfunction* showWithdrawFundsBrokerModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.WITHDRAW_FUNDS_BROKER)));\r\n}\r\n\r\nfunction* hideWithdrawFundsBrokerModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.WITHDRAW_FUNDS_BROKER)));\r\n}\r\n\r\nfunction* showWithdrawFundsIraModal() {\r\n\tconst location = yield select(state => state.router.location);\r\n\tyield put(push(addHashToUrl(location, ModalPopups.WITHDRAW_FUNDS_IRA)));\r\n}\r\nfunction* hideWithdrawFundsIraModal() {\r\n\tconst location = yield select(state => state.router.location);\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.WITHDRAW_FUNDS_IRA)));\r\n}\r\n\r\n// Watchers\r\nfunction* watchWithdrawFormAchSubmit() {\r\n\tyield takeEvery(actions.withdrawAchFundsForm.REQUEST, withdrawFormAchSubmit);\r\n}\r\nfunction* watchWithdrawFormBrokerSubmit() {\r\n\tyield takeEvery(actions.withdrawFundsBrokerForm.REQUEST, withdrawFormBrokerSubmit);\r\n}\r\nfunction* watchWithdrawFormIraSubmit() {\r\n\tyield takeEvery(actions.withdrawFundsIraForm.REQUEST, withdrawFormIraSubmit);\r\n}\r\nfunction* watchTransferBetweenAccountsSubmit() {\r\n\tyield takeEvery(actions.transferBetweenAccountsSubmitForm.REQUEST, transferBetweenAccountsSubmitSaga);\r\n}\r\nfunction* watchLinkAndWithdrawFundsWireFormSubmit() {\r\n\tyield takeEvery(actions.linkAndWithdrawFundsWireForm.REQUEST, linkAndWithdrawFundsWireFormSubmit);\r\n}\r\nfunction* watchWithdrawFormWireSubmit() {\r\n\tyield takeEvery(actions.WITHDRAW_FUNDS_WIRE_FORM_SUBMIT_REQUEST, withdrawFormWireSubmit);\r\n}\r\nfunction* watchShowWithdrawFundsAchModal() {\r\n\tyield takeEvery(actions.SHOW_WITHDRAW_FUNDS_ACH_MODAL, showWithdrawFundsAchModal);\r\n}\r\nfunction* watchHideWithdrawFundsAchModal() {\r\n\tyield takeEvery(actions.HIDE_WITHDRAW_FUNDS_ACH_MODAL, hideWithdrawFundsAchModal);\r\n}\r\nfunction* watchShowWithdrawFundsWireModal() {\r\n\tyield takeEvery(actions.SHOW_WITHDRAW_FUNDS_WIRE_MODAL, showWithdrawFundsWireModal);\r\n}\r\nfunction* watchHideWithdrawFundsWireModal() {\r\n\tyield takeEvery(actions.HIDE_WITHDRAW_FUNDS_WIRE_MODAL, hideWithdrawFundsWireModal);\r\n}\r\nfunction* watchShowWithdrawFundsBrokerModal() {\r\n\tyield takeEvery(actions.SHOW_WITHDRAW_FUNDS_BROKER_MODAL, showWithdrawFundsBrokerModal);\r\n}\r\nfunction* watchHideWithdrawFundsBrokerModal() {\r\n\tyield takeEvery(actions.HIDE_WITHDRAW_FUNDS_BROKER_MODAL, hideWithdrawFundsBrokerModal);\r\n}\r\nfunction* watchShowWithdrawFundsIraModal() {\r\n\tyield takeEvery(actions.SHOW_WITHDRAW_FUNDS_IRA_MODAL, showWithdrawFundsIraModal);\r\n}\r\nfunction* watchHideWithdrawFundsIraModal() {\r\n\tyield takeEvery(actions.HIDE_WITHDRAW_FUNDS_IRA_MODAL, hideWithdrawFundsIraModal);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchWithdrawFormAchSubmit),\r\n\tfork(watchWithdrawFormBrokerSubmit),\r\n\tfork(watchLinkAndWithdrawFundsWireFormSubmit),\r\n\tfork(watchWithdrawFormWireSubmit),\r\n\tfork(watchShowWithdrawFundsAchModal),\r\n\tfork(watchHideWithdrawFundsAchModal),\r\n\tfork(watchShowWithdrawFundsWireModal),\r\n\tfork(watchHideWithdrawFundsWireModal),\r\n\tfork(watchShowWithdrawFundsBrokerModal),\r\n\tfork(watchHideWithdrawFundsBrokerModal),\r\n\tfork(watchShowWithdrawFundsIraModal),\r\n\tfork(watchHideWithdrawFundsIraModal),\r\n\tfork(watchWithdrawFormIraSubmit),\r\n\tfork(watchTransferBetweenAccountsSubmit),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import actions from './actions';\r\nimport authActions from '../auth/actions';\r\n\r\nconst initialState = {\r\n\topenModalData: {\r\n\t\taccount: null,\r\n\t\tguid: null,\r\n\t\tpersonFullName: null,\r\n\t},\r\n\tsubmitting: true,\r\n\tHasSignes: true,\r\n\tSignesHolders: [],\r\n\tsignatureSubmitted: false,\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t\tcase actions.SHOW_CREATE_SIGNATURE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\topenModalData: {\r\n\t\t\t\t\taccount: payload.account,\r\n\t\t\t\t\tguid: payload.guid,\r\n\t\t\t\t\tpersonFullName: payload.personFullName,\r\n\t\t\t\t},\r\n\t\t\t};\r\n\t\tcase actions.HIDE_CREATE_SIGNATURE_MODAL:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\topenModalData: initialState.openModalData,\r\n\t\t\t};\r\n\r\n\t\tcase actions.SAVE_SIGNATURE_REQUEST:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsignatureSubmitted: false,\r\n\t\t\t\tsubmitting: true,\r\n\t\t\t};\r\n\t\tcase actions.SAVE_SIGNATURE_SUCCESS: {\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsignatureSubmitted: true,\r\n\t\t\t};\r\n\t\t}\r\n\t\tcase actions.checkSignatures.SUCCESS:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t\tHasSignes: payload.response.HasSignes,\r\n\t\t\t\tSignesHolders: payload.response.SignesHolders,\r\n\t\t\t};\r\n\t\tcase actions.SAVE_SIGNATURE_FAILURE:\r\n\t\t\treturn {\r\n\t\t\t\t...state,\r\n\t\t\t\tsubmitting: false,\r\n\t\t\t};\r\n\r\n\t\tcase authActions.LOGIN_USER:\r\n\t\t\treturn {\r\n\t\t\t\t...initialState,\r\n\t\t\t};\r\n\t\tcase authActions.LOGOUT_SUCCESS:\r\n\t\t\treturn { ...initialState };\r\n\r\n\t\tdefault:\r\n\t\t\treturn state;\r\n\t}\r\n};\r\n","import {\r\n\tput,\r\n\tfork,\r\n\ttakeEvery,\r\n\ttakeLatest,\r\n\tselect,\r\n\ttake,\r\n} from 'redux-saga/effects';\r\nimport { push } from 'connected-react-router';\r\nimport {\r\n\tcheckSignatures,\r\n\tsaveSignature,\r\n} from '@api';\r\nimport { ModalPopups } from '@enums';\r\nimport { addHashToUrl, removeHashFromUrl } from '@global';\r\nimport {\r\n\tBaseGetSagaHandler,\r\n\tcallApi,\r\n\tuserAccounts,\r\n\tsnackbar,\r\n} from '@redux';\r\nimport actions from './actions';\r\nimport selectors from './selectors';\r\n\r\nfunction* saveSignatureRequest({ payload: { account, image, guid } }) {\r\n\ttry {\r\n\t\tconst request = yield callApi(saveSignature, account, image, guid);\r\n\r\n\t\tif (!request.data.Success) {\r\n\t\t\tyield put(actions.saveSignatureFailure(request.data.Errors[0].Message));\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Save Signature', text: request.data.Errors[0].Message }));\r\n\t\t} else {\r\n\t\t\tyield put(actions.saveSignatureSuccess());\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Save Signature', text: error.message }));\r\n\t\tyield put(actions.saveSignatureFailure(error));\r\n\t}\r\n}\r\n\r\nfunction* collectSignaturesProcessStart({ payload: { successAcion } }) {\r\n\ttry {\r\n\t\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\r\n\t\tconst needToGetSignaturePersonsArray = yield select(selectors.SignesHolders);\r\n\r\n\t\tfor (const needToGetSignaturePerson of needToGetSignaturePersonsArray) {\r\n\t\t\tyield put(actions.showCreateSignatureModal(\r\n\t\t\t\tcurrentAccount.tradeCode,\r\n\t\t\t\tneedToGetSignaturePerson.Guid,\r\n\t\t\t\tneedToGetSignaturePerson.FullName,\r\n\t\t\t));\r\n\t\t\tyield take(actions.SAVE_SIGNATURE_SUCCESS);\r\n\t\t\tyield put(actions.hideCreateSignatureModal());\r\n\t\t}\r\n\t\tyield put(actions.checkSignatures.request(currentAccount));\r\n\t\tif (successAcion) yield put(successAcion);\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t}\r\n}\r\nfunction* reqireSignatureAndReturnHandler() {\r\n\ttry {\r\n\t\tconst location = yield select(state => state.router.location);\r\n\t\tconst successAcion = push(location.pathname + location.hash);\r\n\r\n\t\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\r\n\t\tconst needToGetSignaturePersonsArray = yield select(selectors.SignesHolders);\r\n\t\tlet cancelled = false;\r\n\t\tfor (const needToGetSignaturePerson of needToGetSignaturePersonsArray) {\r\n\t\t\tyield put(actions.showCreateSignatureModal(\r\n\t\t\t\tcurrentAccount.tradeCode,\r\n\t\t\t\tneedToGetSignaturePerson.Guid,\r\n\t\t\t\tneedToGetSignaturePerson.FullName,\r\n\t\t\t));\r\n\t\t\tconst userAction = yield take([actions.SAVE_SIGNATURE_SUCCESS, actions.HIDE_CREATE_SIGNATURE_MODAL]);\r\n\t\t\tif (userAction.type === actions.HIDE_CREATE_SIGNATURE_MODAL) {\r\n\t\t\t\tcancelled = true;\r\n\t\t\t\tyield put(push(location.pathname));\r\n\t\t\t} else {\r\n\t\t\t\tyield put(actions.hideCreateSignatureModal());\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!cancelled) {\r\n\t\t\tyield put(actions.checkSignatures.request(currentAccount));\r\n\t\t\tif (successAcion) yield put(successAcion);\r\n\t\t}\r\n\t} catch (error) {\r\n\t\twindow.Raven.captureException(error);\r\n\t}\r\n}\r\nfunction* showCreateSignatureModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(addHashToUrl(location, ModalPopups.CREATE_SIGNATURE)));\r\n}\r\n\r\nfunction* hideCreateSignatureModal() {\r\n\t// get current location\r\n\tconst location = yield select(state => state.router.location);\r\n\t// show modal\r\n\tyield put(push(removeHashFromUrl(location, ModalPopups.CREATE_SIGNATURE)));\r\n}\r\n\r\n\r\n// Watchers\r\nfunction* watchSaveSignatureRequest() {\r\n\tyield takeEvery(actions.SAVE_SIGNATURE_REQUEST, saveSignatureRequest);\r\n}\r\nfunction* watchCheckSignaturesRequest() {\r\n\tyield takeEvery(actions.checkSignatures.REQUEST, BaseGetSagaHandler, {\r\n\t\tapiMethod: checkSignatures,\r\n\t\terrorText: 'Check Signatures',\r\n\t\thandler: actions.checkSignatures,\r\n\t});\r\n}\r\nfunction* watchCollectSignaturesProcessStart() {\r\n\tyield takeLatest(actions.COLLECT_SIGNATURES_PROCESS_START, collectSignaturesProcessStart);\r\n}\r\nfunction* watchShowCreateSignatureModal() {\r\n\tyield takeEvery(actions.SHOW_CREATE_SIGNATURE_MODAL, showCreateSignatureModal);\r\n}\r\nfunction* watchHideCreateSignatureModal() {\r\n\tyield takeEvery(actions.HIDE_CREATE_SIGNATURE_MODAL, hideCreateSignatureModal);\r\n}\r\n\r\nfunction* watchReqireSignatureAndReturn() {\r\n\tyield takeEvery(actions.REQUIRE_SIGNATURE_AND_RETURN, reqireSignatureAndReturnHandler);\r\n}\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\tfork(watchSaveSignatureRequest),\r\n\tfork(watchCheckSignaturesRequest),\r\n\tfork(watchCollectSignaturesProcessStart),\r\n\tfork(watchShowCreateSignatureModal),\r\n\tfork(watchHideCreateSignatureModal),\r\n\tfork(watchReqireSignatureAndReturn),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n","import actions from './actions';\r\nimport reducer from './reducer';\r\nimport selectors from './selectors';\r\nimport saga from './saga';\r\n\r\nexport default {\r\n\tactions,\r\n\treducer,\r\n\tselectors,\r\n\tsaga,\r\n};\r\n\r\n","import actions from './actions';\r\n\r\nconst initialState = {\r\n\r\n\t/* gainersAndLosers: {\r\n\t\tloading: true,\r\n\t\tpagination: {},\r\n\t\tgainers: [],\r\n\t\tlosers: [],\r\n\t}, */\r\n\tearningsToday: {\r\n\t\tloading: true,\r\n\t\tearnings: [],\r\n\t},\r\n\tmostActive: {\r\n\t\tloading: true,\r\n\t\titems: [],\r\n\t},\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n\tswitch (type) {\r\n\t/*\r\n\tcase actions.GET_GAINERS_AND_LOSERS_REQUEST:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tgainersAndLosers: (payload.page === 1) ? {\r\n\t\t\t\tloading: true,\r\n\t\t\t\tpagination: {},\r\n\t\t\t\tgainers: [],\r\n\t\t\t\tlosers: [],\r\n\t\t\t} : {\r\n\t\t\t\t...state.gainersAndLosers,\r\n\t\t\t\tloading: true,\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tcase actions.GET_GAINERS_AND_LOSERS_SUCCESS:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tgainersAndLosers: {\r\n\t\t\t\tloading: false,\r\n\t\t\t\tpagination: {\r\n\t\t\t\t\t...payload.pagination,\r\n\t\t\t\t},\r\n\t\t\t\tgainers: [\r\n\t\t\t\t\t...state.gainersAndLosers.gainers,\r\n\t\t\t\t\t...payload.items.Gainers,\r\n\t\t\t\t],\r\n\t\t\t\tlosers: [\r\n\t\t\t\t\t...state.gainersAndLosers.losers,\r\n\t\t\t\t\t...payload.items.Losers,\r\n\t\t\t\t],\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tcase actions.GET_GAINERS_AND_LOSERS_FAILURE:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tgainersAndLosers: {\r\n\t\t\t\t...state.gainersAndLosers,\r\n\t\t\t\tloading: false,\r\n\t\t\t},\r\n\t\t};\r\n\t*/\t\r\n\tcase actions.GET_EARNINGS_TODAY_REQUEST:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tearningsToday: {\r\n\t\t\t\tloading: true,\r\n\t\t\t\tearnings: [],\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tcase actions.GET_EARNINGS_TODAY_SUCCESS:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tearningsToday: {\r\n\t\t\t\tloading: false,\r\n\t\t\t\tearnings: [\r\n\t\t\t\t\t...payload.items,\r\n\t\t\t\t],\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tcase actions.GET_EARNINGS_TODAY_FAILURE:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tearningsToday: {\r\n\t\t\t\tloading: false,\r\n\t\t\t\tearnings: [],\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tcase actions.GET_MOST_ACTIVE_REQUEST:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tmostActive: {\r\n\t\t\t\tloading: true,\r\n\t\t\t\titems: [],\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tcase actions.GET_MOST_ACTIVE_SUCCESS:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tmostActive: {\r\n\t\t\t\tloading: false,\r\n\t\t\t\titems: [\r\n\t\t\t\t\t...payload.items,\r\n\t\t\t\t],\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tcase actions.GET_MOST_ACTIVE_FAILURE:\r\n\t\treturn {\r\n\t\t\t...state,\r\n\t\t\tmostActive: {\r\n\t\t\t\tloading: false,\r\n\t\t\t\titems: [],\r\n\t\t\t},\r\n\t\t};\r\n\r\n\tdefault:\r\n\t\treturn state;\r\n\t}\r\n};\r\n","export default {\r\n\t// gainersAndLosers: state => state.analytics.gainersAndLosers,\r\n\tearningsToday: state => state.analytics.earningsToday,\r\n\tmostActive: state => state.analytics.mostActive,\r\n};\r\n","import { fork, put, takeEvery } from 'redux-saga/effects';\r\nimport {\r\n\tcallApi,\r\n\tsnackbar,\r\n} from '@redux';\r\nimport { getEarningsToday, /* getGainersAndLosers, */ getMostActive } from '@api';\r\nimport { captureException } from '@global';\r\nimport actions from './actions';\r\n/* \r\nfunction* getGainersAndLosersRequestSaga({ payload: { page, pageSize, processingLimit } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(getGainersAndLosers, page, pageSize);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tif (response.data.Errors.length > 0 && response.data.Errors[0].Code === 'Processing') {\r\n\t\t\t\tif (processingLimit > 0) {\r\n\t\t\t\t\tyield put(actions.getGainersAndLosersRequest(page, pageSize, processingLimit - 1));\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttitle: 'Get Gainers And Losers',\r\n\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t}));\r\n\t\t\tyield put(actions.getGainersAndLosersFailure(response.data.Errors[0].Message));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getGainersAndLosersSuccess({ page, pageSize }, response.data.Items));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcaptureException('getGainersAndLosersRequestSaga', error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Gainers And Losers', text: error.message }));\r\n\t\tyield put(actions.getGainersAndLosersFailure(error.message));\r\n\t\tconsole.error(error);\r\n\t}\r\n}\r\n */\r\n\r\nfunction* getEarningsTodayRequestSaga({ payload: { processingLimit } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(getEarningsToday);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tif (response.data.Errors.length > 0 && response.data.Errors[0].Code === 'Processing') {\r\n\t\t\t\tif (processingLimit > 0) {\r\n\t\t\t\t\tyield put(actions.getEarningsTodayRequest(processingLimit - 1));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tyield put(actions.getEarningsTodaySuccess([]));\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttitle: 'Get Earnings Today',\r\n\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t}));\r\n\t\t\tyield put(actions.getEarningsTodayFailure(response.data.Errors[0].Message));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getEarningsTodaySuccess(response.data.Items));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcaptureException('getEarningsTodayRequestSaga', error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Earnings Today', text: error.message }));\r\n\t\tyield put(actions.getEarningsTodayFailure(error.message));\r\n\t\tconsole.error(error);\r\n\t}\r\n}\r\n\r\n\r\nfunction* getMostActiveRequestSaga({ payload: { processingLimit } }) {\r\n\ttry {\r\n\t\tconst response = yield callApi(getMostActive);\r\n\t\tif (!response.data.Success) {\r\n\t\t\tif (response.data.Errors.length > 0 && response.data.Errors[0].Code === 'Processing') {\r\n\t\t\t\tif (processingLimit > 0) {\r\n\t\t\t\t\tyield put(actions.getMostActiveRequest(processingLimit - 1));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tyield put(actions.getMostActiveSuccess([]));\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tyield put(snackbar.actions.showErrorMessage({\r\n\t\t\t\ttitle: 'Get Most Active',\r\n\t\t\t\ttext: response.data.Errors[0].Message,\r\n\t\t\t}));\r\n\t\t\tyield put(actions.getMostActiveFailure(response.data.Errors[0].Message));\r\n\t\t} else {\r\n\t\t\tyield put(actions.getMostActiveSuccess(response.data.Items));\r\n\t\t}\r\n\t} catch (error) {\r\n\t\tcaptureException('getMostActiveRequestSaga', error);\r\n\t\tyield put(snackbar.actions.showErrorMessage({ title: 'Get Most Active', text: error.message }));\r\n\t\tyield put(actions.getMostActiveFailure(error.message));\r\n\t\tconsole.error(error);\r\n\t}\r\n}\r\n\r\n\r\n// Watchers\r\n/* function* watchGainersAndLosersRequest() {\r\n\tyield takeEvery(actions.GET_GAINERS_AND_LOSERS_REQUEST, getGainersAndLosersRequestSaga);\r\n} */\r\nfunction* watchEarningsTodayRequest() {\r\n\tyield takeEvery(actions.GET_EARNINGS_TODAY_REQUEST, getEarningsTodayRequestSaga);\r\n}\r\nfunction* watchMostActiveRequest() {\r\n\tyield takeEvery(actions.GET_MOST_ACTIVE_REQUEST, getMostActiveRequestSaga);\r\n}\r\n\r\n\r\n// Root saga\r\nconst rootSaga = [\r\n\t// fork(watchGainersAndLosersRequest),\r\n\tfork(watchEarningsTodayRequest),\r\n\tfork(watchMostActiveRequest),\r\n];\r\n\r\nexport default {\r\n\trootSaga,\r\n};\r\n\r\n","import actions from './actions';\nimport reducer from './reducer';\nimport selectors from './selectors';\nimport saga from './saga';\n\nexport default {\n\tactions,\n\treducer,\n\tselectors,\n\tsaga,\n};\n\n","import actions from './actions';\nimport auth from '../auth';\n\nconst initialState = {\n\n};\n\nexport default (state = initialState, { type }) => {\n\tswitch (type) {\n\t\tcase actions.getWithdrawCash.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t};\n\t\tcase auth.actions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","export default {\n};\n","import { getWithdrawCash } from '@api';\nimport { callApi, snackbar } from '@redux';\nimport { put, fork, takeEvery } from 'redux-saga/effects';\nimport { change as changeReduxFormValue, SubmissionError } from 'redux-form';\nimport actions from './actions';\n\n\nfunction* getWithdrawCashHandler({ payload }) {\n\ttry {\n\t\tconst { account, form, name } = payload;\n\t\tyield put(changeReduxFormValue(form, name, { submitting: true }));\n\t\tconst request = yield callApi(getWithdrawCash, account);\n\n\t\tif (!request.data.Success) {\n\t\t\tyield put(actions.getWithdrawCash.failure(new SubmissionError({\n\t\t\t\t_error: request.data.Errors[0].Message,\n\t\t\t})));\n\t\t\tyield put(snackbar.actions.showErrorMessage({ text: request.data.Errors[0].Message }));\n\t\t\tyield put(changeReduxFormValue(form, name, { submitting: false }));\n\t\t} else {\n\t\t\tconst res = request.data.Data;\n\t\t\tyield put(changeReduxFormValue(form, name, {\n\t\t\t\tsubmitting: false,\n\t\t\t\tcurrencyCode: res && res.CurrencyCode && 'USD',\n\t\t\t\tcashToWithdrawValue: res && res.FreeMargin,\n\t\t\t\ttotalAccountValue: res && res.Equity,\n\t\t\t}));\n\t\t\tyield put(actions.getWithdrawCash.success(res));\n\t\t}\n\t} catch (error) {\n\t\twindow.Raven.captureException(error);\n\t\tyield put(snackbar.actions.showErrorMessage({ text: error.message }));\n\t}\n}\n\n\nfunction* watchGetWithdrawCash() {\n\tyield takeEvery(actions.getWithdrawCash.REQUEST, getWithdrawCashHandler);\n}\n\n// Root saga\nconst rootSaga = [\n\tfork(watchGetWithdrawCash),\n];\n\nexport default {\n\trootSaga,\n};\n","import React from 'react';\nimport { SubmissionError } from 'redux-form';\nimport { put, call } from 'redux-saga/effects';\nimport { cabinetLog, captureException } from '@global';\nimport { auth, snackbar } from '@redux';\n\n\nexport function* callApiWrapper(apiFn, ...args) {\n\ttry {\n\t\tconst request = call(apiFn, ...args);\n\t\tlet response = yield request;\n\t\tif (response.data.Errors && response.data.Errors[0] && response.data.Errors[0].Code === 'NeedReCall') {\n\t\t\t// need call this method again\n\t\t\tcabinetLog('need call this method again');\n\t\t\tresponse = yield request;\n\t\t}\n\t\tcabinetLog(apiFn.name || 'respcall', response);\n\t\tif (response.data.Errors && response.data.Errors[0] && response.data.Errors[0].Code === 'Unauthorized') {\n\t\t\tyield put(auth.actions.logout());\n\t\t\t// window.Raven.captureException(new Error('Client Unauthorized'));\n\t\t}\n\t\tif (typeof response.data === 'string') {\n\t\t\t// if was error with status 200\n\t\t\twindow.Raven.captureMessage('response.data === string', { extra: { text: response.data.substr(0, 200) } });\n\t\t\tresponse.data = {\n\t\t\t\tSuccess: false,\n\t\t\t\tErrors: [{\n\t\t\t\t\tCode: 'Unknown',\n\t\t\t\t\tMessage: 'Unexpected server resoponse. The information sent to developers. Try to repeat your actions or contact support.',\n\t\t\t\t}],\n\t\t\t};\n\t\t}\n\t\treturn response;\n\t}\tcatch (e) {\n\t\tif (e.response) {\n\t\t\tif (e.response.data && e.response.data.Errors && Array.isArray(e.response.data.Errors)) {\n\t\t\t\tthrow new Error(e.response.data.Errors[0].Message);\n\t\t\t} else if (e.response.statusText) {\n\t\t\t\tthrow new Error(e.response.statusText);\n\t\t\t} else {\n\t\t\t\tthrow new Error(e);\n\t\t\t}\n\t\t} else throw new Error(e);\n\t}\n}\n\nexport function* callApi(apiFn, ...args) {\n\treturn yield call(callApiWrapper, apiFn, ...args);\n}\n\n\nexport function* BaseGetSagaHandler(\n\t{\n\t\t/**\n\t\t * Rest service api method for request data from server.\n\t\t */\n\t\tapiMethod,\n\t\t/**\n\t\t * Message text when error is occured.\n\t\t */\n\t\terrorText,\n\t\t/**\n\t\t * Redux callback that processing response from the service.\n\t\t */\n\t\thandler,\n\t\t/**\n\t\t * Defaults settings for request.\n\t\t */\n\t\tdefaults,\n\t\t/**\n\t\t * UI callback fired when the response was received from the service.\n\t\t * It's needed for special components like ConfirmModal.\n\t\t */\n\t\tonEndRequest,\n\t},\n\t{ payload },\n) {\n\ttry {\n\t\tconst request = defaults ? { ...defaults, ...payload } : payload;\n\t\tconst response = yield callApi(apiMethod, request);\n\t\tif (onEndRequest) {\tonEndRequest();\t}\n\t\tif (!response.data.Success) {\n\t\t\tconst errData = {};\n\n\t\t\tif (response.data.Errors && response.data.Errors.length > 0) {\n\t\t\t\t// eslint-disable-next-line no-underscore-dangle\n\t\t\t\terrData._error = response.data.Errors[0].Message;\n\t\t\t}\n\n\t\t\tresponse.data.ValidationErrors.forEach((item) => {\n\t\t\t\t// display field's validation errors on redux-form\n\t\t\t\terrData[item.Code] = item.Message;\n\t\t\t});\n\n\t\t\tconst err = new SubmissionError(errData);\n\t\t\tif (response.data.ValidationErrors.length === 0) {\n\t\t\t\tyield put(snackbar.actions.showErrorMessage({\n\t\t\t\t\ttitle: errorText,\n\t\t\t\t\ttext: response.data.Errors.length > 1\n\t\t\t\t\t\t?
    {response.data.Errors.map(errItem =>
  • {errItem.Message}
  • )}
\n\t\t\t\t\t\t: response.data.Errors[0].Message,\n\t\t\t\t\thasHtml: true,\n\t\t\t\t}));\n\t\t\t}\n\t\t\tyield put(handler.failure(err));\n\t\t\treturn false;\n\t\t}\n\t\tyield put(handler.success({ request, response: response.data }));\n\t\treturn true;\n\t} catch (error) {\n\t\tif (onEndRequest) {\tonEndRequest();\t}\n\t\tcaptureException(handler.REQUEST, error);\n\t\tyield put(snackbar.actions.showErrorMessage({\n\t\t\ttitle: errorText,\n\t\t\ttext: error.message,\n\t\t}));\n\t\tyield put(handler.failure(new SubmissionError({\n\t\t\t_error: error.message,\n\t\t})));\n\t\tconsole.error(error);\n\t\treturn false;\n\t}\n}\n","import * as Icons from './Icons';\n\nexport default Object.keys(Icons);\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n\t\t\n\t\t\n\t\n);\n\nexport default Svg;\n\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\n/*\r\nconst Svg = (\r\n\t\r\n);\r\n*/\r\n\r\nconst Svg = (\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\t\t\r\n\t\r\n\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n \n \n\t\n);\n\nexport default Svg;","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\n\nconst Svg = (\n\t\n\t\t\n\t\t\n\t\n);\n\nexport default Svg;","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","/* eslint-disable max-len */\r\nimport React from 'react';\r\n\r\nconst Svg = (\r\n\r\n\t\r\n\r\n);\r\n\r\nexport default Svg;\r\n","/* eslint-disable max-len */\nimport React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n);\n\nexport default Svg;\n\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n);\n\nexport default Svg;\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\r\n\r\nconst Svg = (\r\n\t\r\n\r\n);\r\n\r\nexport default Svg;\r\n","import React from 'react';\n\nconst Svg = (\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n);\n\nexport default Svg;\n","import React, { useState } from 'react';\nimport { change, formValueSelector, Field, ReduxFormContext } from 'redux-form';\nimport PropTypes from 'prop-types';\nimport { A, FormCheckbox } from '@components';\nimport { useDispatch, useSelector } from 'react-redux';\n\n\nconst AgreementField = ({\n\tname,\n\thref,\n\tdocName,\n\tform,\n\tclasses,\n}) => {\n\t// текущее значение. Если задано - значит считаем что и документ смотрели\n\tconst currentVal = !!form && useSelector(state => formValueSelector(form)(state, name));\n\tconst [docShown, setDocShown] = useState(currentVal);\n\tconst dispatch = useDispatch();\n\tconst handleDocClick = () => {\n\t\tsetDocShown(true);\n\t\tdispatch(change(form, name, true));\n\t};\n\n\treturn (\n\t\t\n\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the  \n\t\t\t\t\t\n\t\t\t\t\t\t{docName}\n\t\t\t\t\t\n\n\n\t\t\t\t

\n\t\t\t}\n\t\t\tclasses={classes}\n\t\t\tdisabled={!docShown}\n\t\t/>\n\t);\n};\n\nAgreementField.propTypes = {\n\tname: PropTypes.string.isRequired,\n\thref: PropTypes.string.isRequired,\n\tdocName: PropTypes.string.isRequired,\n\tform: PropTypes.string.isRequired,\n};\nconst AgreementFormField = props => (\n\t\n\t\t{value => ()}\n\t\n);\nexport default AgreementFormField;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Autocomplete from '@material-ui/lab/Autocomplete';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport TextField from '@material-ui/core/TextField';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\n\nconst useStyles = makeStyles(theme => createStyles({\n\tinputRoot: {\n\t\tpadding: '12px 24px 5px',\n\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\tborderRadius: '8px',\n\t\tcolor: theme.typography.color.primary,\n\t\t'& input::placeholder': {\n\t\t\topacity: 0.75,\n\t\t},\n\t\tfontSize: theme.typography.pxToRem(18),\n\t},\n\tautocompleteInputRoot: {\n\t\t'&[class*=\"MuiInput-root\"]': {\n\t\t\tpaddingBottom: '5px',\n\t\t},\n\t},\n\tlabel: {\n\t\ttop: '10px',\n\t\tleft: '24px',\n\t\t...theme.typography.style.title,\n\t},\n\tadditionalText: {\n\t\tpadding: '0px 24px',\n\t\tcolor: theme.typography.color.secondary,\n\t\t...theme.typography.style.body,\n\n\t},\n\terrorText: {\n\t\tpadding: '0px 24px',\n\t\tcolor: theme.typography.color.red,\n\t\t...theme.typography.style.body,\n\n\t},\n}));\n\nexport default function AutocompleteInput({\n\tautocompleteQuery,\n\tautocompleteProps,\n\tonChange: propOnChange,\n\tvalue: propValue,\n\tdefaultValue,\n\t...otherprops\n}) {\n\tconst controlled = propValue !== undefined;\n\tconst defaultValueRef = React.useRef(defaultValue);\n\tconst propControlledValue = (controlled ? propValue : defaultValueRef.current) || '';\n\n\t// признак что список должен быть раскрыт по логике Autocomplete\n\tconst [openByAutocomplete, setOpenByAutocomplete] = React.useState(false);\n\t// признак что список должен быть раскрыт в зависимости от смого запроса\n\tconst [openByQuery, setOpenByQuery] = React.useState(false);\n\tconst [options, setOptions] = React.useState([]);\n\tconst [query, setQuery] = React.useState('');\n\tconst [value, setValue] = React.useState(propControlledValue);\n\tconst [inputValue, setInputValue] = React.useState(propControlledValue);\n\tconst [queryLoading, setQueryLoading] = React.useState(false);\n\tconst open = openByQuery && openByAutocomplete;\n\tconst loading = open && queryLoading;\n\tconst classes = useStyles();\n\tconst timerRef = React.useRef(null);\n\n\tReact.useEffect(() => {\n\t\tif (controlled) {\n\t\t\tsetInputValue(propValue);\n\t\t\tsetValue(propValue);\n\t\t}\n\t}, [propControlledValue]);\n\n\tReact.useEffect(() => {\n\t\tif (query.length < autocompleteQuery.minQueryLength || query.length > autocompleteQuery.maxQueryLength) {\n\t\t\tsetQueryLoading(false);\n\t\t\tsetOptions([]);\n\t\t\tsetOpenByQuery(false);\n\t\t\treturn;\n\t\t}\n\t\tsetOpenByQuery(true);\n\t\tsetQueryLoading(true);\n\n\t\tconst getOptions = autocompleteQuery.getOptions(query);\n\t\tif (Array.isArray(getOptions)) {\n\t\t\tsetOptions(getOptions);\n\t\t\tif (!timerRef.current) {\n\t\t\t\tsetQueryLoading(false);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tgetOptions.then(\n\t\t\tresultOptions => setOptions(Array.isArray(resultOptions) ? resultOptions : []),\n\t\t\t() => setOptions([]),\n\t\t).then(() => {\n\t\t\tif (!timerRef.current) {\n\t\t\t\tsetQueryLoading(false);\n\t\t\t}\n\t\t});\n\t}, [query]);\n\n\tconst onInputChange = (e, val, reason) => {\n\t\tif (reason === 'reset') {\n\t\t\treturn;\n\t\t}\n\t\tsetInputValue(val);\n\t\tif (reason === 'input') {\n\t\t\tif (timerRef.current) {\n\t\t\t\twindow.clearTimeout(timerRef.current);\n\t\t\t\ttimerRef.current = null;\n\t\t\t}\n\t\t\ttimerRef.current = window.setTimeout(() => {\n\t\t\t\ttimerRef.current = null;\n\t\t\t\tsetQuery(val);\n\t\t\t}, 500);\n\t\t}\n\t};\n\n\tconst onChange = (e, newSelectedOption) => {\n\t\tsetValue(newSelectedOption);\n\t\tconst inpVal = newSelectedOption ? autocompleteProps.getOptionLabel(newSelectedOption) : '';\n\t\tsetInputValue(inpVal);\n\t\tif (propOnChange) {\n\t\t\tpropOnChange(inpVal);\n\t\t}\n\t\tif (autocompleteProps.onChange) {\n\t\t\tautocompleteProps.onChange(newSelectedOption);\n\t\t}\n\t};\n\n\tconst filterOptions = autocompleteProps.filterOptions\n\t\t|| (autocompleteQuery.getOptions && ((prmOptions, prmState) => prmOptions)) // при загрузке уже не нужно фильтровать\n\t\t|| undefined;\n\n\treturn (\n\t\t {\n\t\t\t\tsetOpenByAutocomplete(true);\n\t\t\t}}\n\t\t\tonClose={() => {\n\t\t\t\tsetOpenByAutocomplete(false);\n\t\t\t}}\n\t\t\tclasses={{ inputRoot: classes.autocompleteInputRoot }}\n\t\t\tgetOptionSelected={autocompleteProps.getOptionSelected}\n\t\t\trenderOption={autocompleteProps.renderOption}\n\t\t\tgetOptionLabel={option => ((option && autocompleteProps.getOptionLabel(option)) || '')}\n\t\t\toptions={options}\n\t\t\tloading={loading}\n\t\t\tonChange={onChange}\n\t\t\tonInputChange={onInputChange}\n\t\t\tfreeSolo\n\t\t\tvalue={value}\n\t\t\tinputValue={inputValue}\n\t\t\tfilterOptions={filterOptions}\n\t\t\trenderInput={(params) => {\n\t\t\t\tconst params2 = {\n\t\t\t\t\t...params,\n\t\t\t\t\tInputProps: {\n\t\t\t\t\t\t...params.InputProps,\n\t\t\t\t\t\tendAdornment: (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{loading ? : null}\n\t\t\t\t\t\t\t\t{(loading || (options && options.length > 0 && params.inputProps.value)) &&\n\t\t\t\t\t\t\t\t\tparams.InputProps.endAdornment\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t),\n\t\t\t\t\t\tdisableUnderline: true,\n\t\t\t\t\t\tclasses: {\n\t\t\t\t\t\t\t...(params.InputProps.classes || {}),\n\t\t\t\t\t\t\troot: classNames(params.InputProps.classes && params.InputProps.classes.root, classes.inputRoot),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tInputLabelProps: {\n\t\t\t\t\t\t...params.InputLabelProps,\n\t\t\t\t\t\tclasses: {\n\t\t\t\t\t\t\t...(params.InputLabelProps.classes || {}),\n\t\t\t\t\t\t\tformControl: classes.label,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tFormHelperTextProps: {\n\t\t\t\t\t\tclasses: {\n\t\t\t\t\t\t\troot: classNames({\n\t\t\t\t\t\t\t\t[classes.additionalText]: !otherprops.error,\n\t\t\t\t\t\t\t\t[classes.error]: otherprops.error,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\n\t\t\t\treturn (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tif (propOnChange) {\n\t\t\t\t\t\t\t\tpropOnChange(e.target.value);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t{...params2}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\t}}\n\t\t/>\n\t);\n}\n\nAutocompleteInput.propTypes = {\n\tautocompleteQuery: PropTypes.shape({\n\t\tminQueryLength: PropTypes.number,\n\t\tmaxQueryLength: PropTypes.number,\n\t\t/**\n\t\t * Функция возвращает либо список опций, либо Promise который возвращает список опций (inputValue) => options | Promise=>options.\n\t\t * Если возвращается промис, все ошибки получения данных должны в нем обрабатываться.\n\t\t * Данный компонент проигнорирует оставшиеся ошибки и установит в случае ошибок пустой массив\n\t\t * inputValue - введенный текст, по которому должен выполняться поиск\n\t\t */\n\t\tgetOptions: PropTypes.func,\n\t}).isRequired,\n\tautocompleteProps: PropTypes.shape({\n\t\t/**\n\t\t * Функция для проверки что опция выбрана (option, value) => bool\n\t\t * option - элемент списка\n\t\t * value - текущее выбранное значение (в элементе input)\n\t\t */\n\t\tgetOptionSelected: PropTypes.func.isRequired,\n\t\t/**\n\t\t * Функция для отрисовки элемента в выпадающем списке (option, state) => Node\n\t\t * option - элемент списка\n\t\t * state - состояние элемента { inputValue, getOptionLabel}\n\t\t */\n\t\trenderOption: PropTypes.func.isRequired,\n\t\t/**\n\t\t * Функция для получения значения (option) => string\n\t\t * option - элемент списка\n\t\t */\n\t\tgetOptionLabel: PropTypes.func.isRequired,\n\t\t/**\n\t\t * Событие при для получения значения (valueOption) => string\n\t\t * valueOption - выбранный элемент списка. Может быть null, если выбраное значение очищено\n\t\t */\n\t\tonChange: PropTypes.func,\n\t\t/**\n\t\t * Функция для фильтрации списка опций (options, state) => options\n\t\t * options - массив опций в списка\n\t\t * state - состояние элемента { inputValue, getOptionLabel}\n\t\t */\n\t\tfilterOptions: PropTypes.func,\n\t}).isRequired,\n\t/**\n\t * If `true`, the input will indicate an error.\n\t */\n\terror: PropTypes.bool,\n\t/**\n\t * Событие при изменении значения (valueText) => string\n\t * valueText - строковое значение введенное в поле или текстовое отображение выбранного элемента\n\t * (то, которое попадает в текстовое поле после выбора элемента, т.е. определяется getOptionLabel)\n\t */\n\tonChange: PropTypes.func,\n\t/**\n\t * The default input value for uncontrolled component\n\t */\n\tdefaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\t/**\n\t * The input value, required for a controlled component.\n\t */\n\tvalue: PropTypes.oneOfType([PropTypes.string, \t\tPropTypes.number]),\n};\nAutocompleteInput.defaultProps = {\n\terror: false,\n\tonChange: undefined,\n\tdefaultValue: undefined,\n\tvalue: undefined,\n};\n","import { AutocompleteInput } from '@components';\nimport { createComponent, mapError } from '../utils';\n\nexport default createComponent(\n\tAutocompleteInput,\n\t({\n\t\tdefaultValue,\n\t\t...props\n\t}) => ({\n\t\t...mapError(props),\n\t}),\n);\n","\r\n// OBSOLETE: touched should be replaced by visited \r\n// because touched disables validation when typing, \r\n// and use validation when losing focus only\r\nexport const mapError = ({\r\n\tmeta: { touched, error, warning } = {},\r\n\tinput,\r\n\t...props\r\n}) =>\r\n\t(touched && (error || warning)\r\n\t\t? {\r\n\t\t\t...props,\r\n\t\t\t...input,\r\n\t\t\terror: Boolean(error || warning),\r\n\t\t\thelpertext: error || warning,\r\n\t\t}\r\n\t\t: { ...input, ...props });\r\n\r\n// visited enables validation when typing\r\nexport const mapErrorAfterInit = ({\r\n\tmeta: { visited, error, warning } = {},\r\n\tinput,\r\n\t...props\r\n}) =>\r\n\t(visited && (error || warning)\r\n\t\t? {\r\n\t\t\t...props,\r\n\t\t\t...input,\r\n\t\t\terror: Boolean(error || warning),\r\n\t\t\thelpertext: error || warning,\r\n\t\t}\r\n\t\t: { ...input, ...props });\r\n\t\t\r\nexport const isStateLess = Component => !(Component.prototype && Component.prototype.render);\r\n\r\n","/* eslint-disable no-return-assign */\r\nimport { Component, createElement } from 'react';\r\nimport { isStateLess } from './';\r\n\r\n/**\r\n * Creates a component class that renders the given Material UI component\r\n *\r\n * @param MaterialUIComponent The material ui component to render\r\n * @param mapProps A mapping of props provided by redux-form to the props the Material UI\r\n * component needs\r\n */\r\n\r\nexport default function createComponent(MaterialUIComponent, mapProps) {\r\n\tclass InputComponent extends Component {\r\n\t\tgetRenderedComponent() {\r\n\t\t\treturn this.component;\r\n\t\t}\r\n\r\n\t\trender() {\r\n\t\t\treturn createElement(MaterialUIComponent, {\r\n\t\t\t\t...mapProps(this.props),\r\n\t\t\t\tref: (!isStateLess(MaterialUIComponent) ? el => this.component = el : null),\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tInputComponent.displayName = `ReduxFormMaterialUI${MaterialUIComponent.name}`;\r\n\treturn InputComponent;\r\n}\r\n","import { Input } from '@components';\nimport { createComponent, mapErrorAfterInit } from '../utils';\n\nexport default createComponent(\n\tInput,\n\t({\n\t\tdefaultValue,\n\t\t...props\n\t}) => ({\n\t\t...mapErrorAfterInit(props),\n\t}),\n);\n","import { Input } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\n// OBSOLETE: FormInput should be replaced by FormBaseInput \r\n// because in this component validation is triggered only after losing focus\r\n// but it should be after entering a character\r\nexport default createComponent(\r\n\tInput,\r\n\t({\r\n\t\tdefaultValue,\r\n\t\t...props\r\n\t}) => ({\r\n\t\t...mapError(props),\r\n\t}),\r\n);\r\n","import React from 'react';\r\nimport MUButton from '@material-ui/core/Button';\r\nimport ReactGA from 'react-ga';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { cabinetLog } from '@global';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tborderRadius: '4px',\r\n\t\tpadding: '12px 24px',\r\n\t},\r\n\tsizeSmall: {\r\n\t\tpadding: '4px 10px',\r\n\t},\r\n\toutlinedPrimary: {\r\n\t\tcolor: theme.palette.color.primary.lightBlue,\r\n\t\tbackgroundColor: 'none',\r\n\t\tborder: `solid 1px ${theme.palette.color.primary.lightBlue}`,\r\n\t\t'&$disabled': {\r\n\t\t\topacity: '0.35',\r\n\t\t},\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: theme.palette.color.primary.lightBlue,\r\n\t\t\tcolor: theme.palette.color.primary.white,\r\n\t\t\t// Reset on mouse devices\r\n\t\t\t'@media (hover: none)': {\r\n\t\t\t\tbackgroundColor: theme.palette.color.primary.lightBlue,\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\toutlinedSecondary: {\r\n\t\tcolor: theme.palette.color.primary.white,\r\n\t\tbackgroundColor: 'none',\r\n\t\tborder: `solid 1px ${theme.palette.color.primary.white}`,\r\n\t\t'&$disabled': {\r\n\t\t\topacity: '0.35',\r\n\t\t},\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\t\tcolor: theme.palette.color.primary.lightBlue,\r\n\t\t\t// Reset on mouse devices\r\n\t\t\t'@media (hover: none)': {\r\n\t\t\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\ttextPrimary: {\r\n\t\tcolor: theme.palette.color.primary.lightBlue,\r\n\t\t'&$disabled': {\r\n\t\t\topacity: '0.35',\r\n\t\t},\r\n\t\t'&:hover': {\r\n\t\t\tcolor: theme.palette.color.primary.lightBlue,\r\n\t\t},\r\n\t},\r\n\ttextSecondary: {\r\n\t\tcolor: theme.palette.color.primary.white,\r\n\t\tbackgroundColor: 'none',\r\n\t\t'&$disabled': {\r\n\t\t\topacity: '0.35',\r\n\t\t},\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\t\tcolor: theme.palette.color.primary.lightBlue,\r\n\t\t\t// Reset on mouse devices\r\n\t\t\t'@media (hover: none)': {\r\n\t\t\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tdisabled: {\r\n\t\topacity: '0.6',\r\n\t\tbackgroundColor: 'inherit',\r\n\t},\r\n\tcontainedPrimary: {\r\n\t\tcolor: theme.palette.color.primary.white,\r\n\t\tbackgroundColor: theme.palette.color.primary.blue,\r\n\t\tboxShadow: '0 5px 10px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t'&$disabled': {\r\n\t\t\t// opacity: '0.35',\r\n\t\t\tboxShadow: '0 5px 10px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t\tbackgroundColor: 'rgba(26, 150, 255, 0.35)',\r\n\t\t\t'& > *': {\r\n\t\t\t\tcolor: theme.palette.color.primary.white,\r\n\t\t\t},\r\n\t\t},\r\n\t\t'&:hover': {\r\n\t\t\tboxShadow: '0 8px 12px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t\tbackgroundColor: theme.palette.color.primary.lightBlue,\r\n\t\t\t// Reset on mouse devices\r\n\t\t\t'@media (hover: none)': {\r\n\t\t\t\tboxShadow: '0 8px 12px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t\t\tbackgroundColor: theme.palette.color.primary.lightBlue,\r\n\t\t\t},\r\n\t\t},\r\n\r\n\t},\r\n\tcontainedSecondary: {\r\n\t\tcolor: theme.palette.color.primary.blue,\r\n\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\tboxShadow: '0 5px 10px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t'&$disabled': {\r\n\t\t\tboxShadow: '0 5px 10px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t\tbackgroundColor: 'rgba(255,255,255,0.2)',\r\n\t\t\t'& > *': {\r\n\t\t\t\tcolor: theme.palette.color.primary.primary,\r\n\t\t\t},\r\n\t\t},\r\n\t\t'&:hover': {\r\n\t\t\tboxShadow: '0 8px 12px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\t\t// Reset on mouse devices\r\n\t\t\t'@media (hover: none)': {\r\n\t\t\t\tboxShadow: '0 8px 12px 0 rgba(61, 65, 71, 0.16)',\r\n\t\t\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n});\r\n\r\nclass Button extends React.Component {\r\n\thandleClick = (e) => {\r\n\t\tif (process.env.NODE_ENV === 'production' && this.props.gaUrl) {\r\n\t\t\tcabinetLog(`send to ${this.props.gaUrl}`);\r\n\t\t\tReactGA.modalview(this.props.gaUrl);\r\n\t\t}\r\n\t\tif (this.props.onClick) {\r\n\t\t\tthis.props.onClick(e);\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClick,\r\n\t\t\tgaUrl,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\r\nButton.propTypes = {\r\n\t/**\r\n\t * mouse click handler\r\n\t */\r\n\tonClick: PropTypes.func,\r\n\t/**\r\n\t * If exists, send this url to Google Analytics\r\n\t */\r\n\tgaUrl: PropTypes.string,\r\n\t/**\r\n\t * The content of the button.\r\n\t */\r\n\tchildren: PropTypes.node.isRequired,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * The color of the component. It supports those theme colors that make sense for this component.\r\n\t */\r\n\tcolor: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\r\n\t/**\r\n\t * The component used for the root node.\r\n\t * Either a string to use a DOM element or a component.\r\n\t * The default value is a `button`.\r\n\t */\r\n\tcomponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n\t/**\r\n\t * If `true`, the button will be disabled.\r\n\t */\r\n\tdisabled: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, the keyboard focus ripple will be disabled.\r\n\t * `disableRipple` must also be true.\r\n\t */\r\n\tdisableFocusRipple: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, the ripple effect will be disabled.\r\n\t */\r\n\tdisableRipple: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, the button will take up the full width of its container.\r\n\t */\r\n\tfullWidth: PropTypes.bool,\r\n\t/**\r\n\t * The URL to link to when the button is clicked.\r\n\t * If defined, an `a` element will be used as the root node.\r\n\t */\r\n\thref: PropTypes.string,\r\n\t/**\r\n\t * The size of the button.\r\n\t * `small` is equivalent to the dense button styling.\r\n\t */\r\n\tsize: PropTypes.oneOf(['small', 'medium', 'large']),\r\n\t/**\r\n\t * The type of button.\r\n\t */\r\n\tstartIcon: PropTypes.node,\r\n\t/**\r\n\t * The type of button.\r\n\t */\r\n\tvariant: PropTypes.oneOf(['text', 'outlined', 'contained']),\r\n};\r\n\r\nButton.defaultProps = {\r\n\tcolor: 'default',\r\n\tdisabled: false,\r\n\tdisableFocusRipple: false,\r\n\tfullWidth: false,\r\n\tsize: 'medium',\r\n\tvariant: 'outlined',\r\n\tcomponent: undefined,\r\n\thref: undefined,\r\n\tdisableRipple: false,\r\n\tgaUrl: null,\r\n\tonClick: null,\r\n\tstartIcon: undefined,\r\n};\r\n\r\nexport default withStyles(styles)(Button);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport MUButton from '@material-ui/core/Button';\nimport PropTypes from 'prop-types';\n\nconst styles = theme => ({\n\troot: {\n\t\tboxShadow: 'none',\n\t\tborderRadius: '8px',\n\t\t...theme.typography.style.buttonLime,\n\t\t'&:hover': {\n\t\t\tboxShadow: 'none',\n\t\t\tborderRadius: '8px',\n\t\t},\n\t\t'&:active': {\n\t\t\tboxShadow: 'none',\n\t\t\tborderRadius: '8px',\n\t\t},\n\t},\n\tcontainedPrimary: {\n\t\tcolor: theme.palette.lime.primary.textDefault,\n\t\tbackgroundColor: theme.palette.lime.primary.default,\n\t\t'&:hover': {\n\t\t\tbackgroundColor: theme.palette.lime.primary.hover,\n\t\t\t// Reset on mouse devices\n\t\t\t'@media (hover: none)': {\n\t\t\t\tbackgroundColor: theme.palette.lime.primary.hover,\n\t\t\t},\n\t\t},\n\t\t'&:active': {\n\t\t\tbackgroundColor: theme.palette.lime.primary.pressed,\n\t\t},\n\n\t},\n\tcontainedSecondary: {\n\t\tcolor: theme.palette.lime.secondary.textDefault, //\n\t\tbackgroundColor: theme.palette.lime.secondary.default,\n\t\t'&:hover': {\n\t\t\tcolor: theme.palette.lime.secondary.textHover,\n\t\t\tbackgroundColor: theme.palette.lime.secondary.hover,\n\t\t\t// Reset on mouse devices\n\t\t\t'@media (hover: none)': {\n\t\t\t\tcolor: theme.palette.lime.secondary.textHover,\n\t\t\t\tbackgroundColor: theme.palette.lime.secondary.hover,\n\t\t\t},\n\t\t},\n\t\t'&:active': {\n\t\t\tcolor: theme.palette.lime.secondary.textPressed,\n\t\t\tbackgroundColor: theme.palette.lime.secondary.pressed,\n\t\t},\n\t},\n});\n\nconst LimeButton = props => ;\n\nLimeButton.propTypes = {\n\t/**\n\t * mouse click handler\n\t */\n\tonClick: PropTypes.func,\n\t/**\n\t * The content of the button.\n\t */\n\tchildren: PropTypes.node.isRequired,\n\t/**\n\t * Useful to extend the style applied to components.\n\t */\n\tclasses: PropTypes.object.isRequired,\n\t/**\n\t * The color of the component. It supports those theme colors that make sense for this component.\n\t */\n\tcolor: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\n\t/**\n\t * If `true`, the button will be disabled.\n\t */\n\tdisabled: PropTypes.bool,\n\t/**\n\t * If `true`, the keyboard focus ripple will be disabled.\n\t * `disableRipple` must also be true.\n\t */\n\tdisableFocusRipple: PropTypes.bool,\n\t/**\n\t * If `true`, the ripple effect will be disabled.\n\t */\n\tdisableRipple: PropTypes.bool,\n\t/**\n\t * If `true`, the button will take up the full width of its container.\n\t */\n\tfullWidth: PropTypes.bool,\n\t/**\n\t * The size of the button.\n\t * `small` is equivalent to the dense button styling.\n\t */\n\tsize: PropTypes.oneOf(['small', 'medium', 'large']),\n\t/**\n\t * The type of button.\n\t */\n\tvariant: PropTypes.oneOf(['text', 'outlined', 'contained']),\n};\n\nLimeButton.defaultProps = {\n\tcolor: 'default',\n\tdisabled: false,\n\tdisableRipple: false,\n\tdisableFocusRipple: false,\n\tfullWidth: false,\n\tsize: 'medium',\n\tvariant: 'outlined',\n\tonClick: null,\n};\n\nexport default withStyles(styles)(LimeButton);\n","import React from 'react';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport PropTypes from 'prop-types';\r\nimport compose from 'recompose/compose';\r\nimport classNames from 'classnames';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\ttextDecoration: 'none',\r\n\t\tcursor: 'pointer',\r\n\t\tcolor: theme.typography.color.link,\r\n\t},\r\n\tupper: {\r\n\t\ttextTransform: 'uppercase',\r\n\t},\r\n});\r\n\r\nconst A = ({\r\n\tclasses,\r\n\tupper,\r\n\tcolor,\r\n\ttheme,\r\n\tstyle,\r\n\t...props\r\n}) => {\r\n\tconst cssClasses = classNames({\r\n\t\t[classes.root]: true,\r\n\t\t[classes.upper]: upper,\r\n\t});\r\n\treturn (\r\n\t\t{props.children}\r\n\t);\r\n};\r\n\r\nA.propTypes = {\r\n\tchildren: PropTypes.node.isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\ttheme: PropTypes.object.isRequired,\r\n\tstyle: PropTypes.object,\r\n\tcolor: PropTypes.string,\r\n\tupper: PropTypes.bool,\r\n};\r\n\r\nA.defaultProps = {\r\n\tcolor: 'default',\r\n\tupper: false,\r\n\tstyle: {},\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\twithTheme,\r\n)(A);\r\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { A, R } from '@components';\n\nconst styles = theme => ({\n\tpendingInfoText: {\n\t\tdisplay: 'inline-block',\n\t\tcolor: theme.typography.color.red,\n\t\tmargin: '0 0',\n\t\ttextTransform: 'uppercase',\n\t},\n});\n\nclass ChangeLink extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tclassName,\n\t\t\tonClick,\n\t\t\tactiveLinkText,\n\t\t\tinactiveLinkText,\n\t\t\tqaAttribute,\n\t\t} = this.props;\n\n\t\tconst oActiveLinkText = activeLinkText || ;\n\t\tconst oInactiveLinkText = inactiveLinkText ||\n\t\t\t;\n\t\treturn (\n\t\t\t\n\t\t\t\t{!this.props.havePendingOrder &&\n\t\t\t\t\t{oActiveLinkText}\n\t\t\t\t}\n\t\t\t\t{this.props.havePendingOrder &&\n\t\t\t\t\t

{oInactiveLinkText}

\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nChangeLink.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClick: PropTypes.func.isRequired,\n\thavePendingOrder: PropTypes.bool,\n\tactiveLinkText: PropTypes.string,\n\tinactiveLinkText: PropTypes.string,\n\tclassName: PropTypes.string,\n\tqaAttribute: PropTypes.object,\n};\n\n\nChangeLink.defaultProps = {\n\tactiveLinkText: undefined,\n\tinactiveLinkText: undefined,\n\thavePendingOrder: false,\n\tclassName: undefined,\n\tqaAttribute: {},\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n)(ChangeLink);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Link as RouterLink } from 'react-router-dom';\n\nconst styles = theme => ({\n\troot: {\n\t\ttextDecoration: 'none',\n\t\tcursor: 'pointer',\n\t},\n\tdefault: {\n\t\tcolor: theme.palette.primary.light,\n\t},\n\twhite: {\n\t\tcolor: 'white',\n\t},\n\tupper: {\n\t\ttextTransform: 'uppercase',\n\t},\n});\n\nconst Link = ({\n\tclasses,\n\tupper,\n\thref,\n\tto,\n\t...props\n}) => {\n\tconst cssClasses = classNames({\n\t\t[classes.root]: true,\n\t\t[classes.default]: props.color === 'default',\n\t\t[classes.white]: props.color === 'white',\n\t\t[classes.upper]: upper,\n\t});\n\n\treturn (\n\t\t{props.children}\n\t);\n};\n\nLink.propTypes = {\n\tchildren: PropTypes.node.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tcolor: PropTypes.oneOf(['default', 'white']),\n\tupper: PropTypes.bool,\n\thref: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n\tto: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n};\n\nLink.defaultProps = {\n\tcolor: 'default',\n\tupper: false,\n\thref: null,\n\tto: null,\n};\n\nexport default withStyles(styles)(Link);\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport FormControl from '@material-ui/core/FormControl';\r\nimport { withStyles } from '@material-ui/core/styles';\r\n// import MUISelect from '@material-ui/core/Select';\r\nimport Input from '@material-ui/core/Input';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport { MUISelect } from './components';\r\n\r\nconst styles = theme => ({\r\n\thidden: {\r\n\t\tvisibility: 'hidden',\r\n\t\theight: 0,\r\n\t},\r\n\tfullWidth: {\r\n\t\twidth: '100%',\r\n\t},\r\n\tlabel: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nconst Select = ({\r\n\tchildren,\r\n\tisHidden,\r\n\tfullWidth,\r\n\tclasses,\r\n\tlabel,\r\n\tdisabled,\r\n\terror,\r\n\t...props\r\n}) => {\r\n\tconst cssClasses = classNames({\r\n\t\t[classes.fullWidth]: fullWidth,\r\n\t\t[classes.hidden]: isHidden,\r\n\t});\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t{label}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t{children}\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\nSelect.propTypes = {\r\n\t...MUISelect.propTypes,\r\n\tisHidden: PropTypes.bool,\r\n\tfullWidth: PropTypes.bool,\r\n\tlabel: PropTypes.string,\r\n\tdisabled: PropTypes.bool,\r\n};\r\n\r\nSelect.defaultProps = {\r\n\tisHidden: false,\r\n\tfullWidth: true,\r\n\tlabel: '',\r\n\tdisabled: false,\r\n};\r\n\r\nexport default withStyles(styles)(Select);\r\n","export { default as MUISelect } from './MUISelect/Select';\r\n\r\n","/* eslint-disable */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport SelectInput from './SelectInput';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Input from '@material-ui/core/Input'; // Import to enforce the CSS injection order\r\n\r\nexport const styles = theme => ({\r\n\troot: {\r\n\t\tposition: 'relative',\r\n\t\twidth: '100%',\r\n\t},\r\n\tselect: {\r\n\t\t'-moz-appearance': 'none', // Reset\r\n\t\t'-webkit-appearance': 'none', // Reset\r\n\t\t// When interacting quickly, the text can end up selected.\r\n\t\t// Native select can't be selected either.\r\n\t\tuserSelect: 'none',\r\n\t\tpaddingRight: theme.spacing(4),\r\n\t\twidth: `calc(100% - ${theme.spacing(4)}px)`,\r\n\t\tminWidth: theme.spacing(2), // So it doesn't collapse.\r\n\t\tcursor: 'pointer',\r\n\t\t'&:focus': {\r\n\t\t\t// Show that it's not an text input\r\n\t\t\tbackground:\r\n\t\t\t\ttheme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)',\r\n\t\t\tborderRadius: 0, // Reset Chrome style\r\n\t\t},\r\n\t\t// Remove Firefox focus border\r\n\t\t'&:-moz-focusring': {\r\n\t\t\tcolor: 'transparent',\r\n\t\t\ttextShadow: '0 0 0 #000',\r\n\t\t},\r\n\t\t// Remove IE11 arrow\r\n\t\t'&::-ms-expand': {\r\n\t\t\tdisplay: 'none',\r\n\t\t},\r\n\t},\r\n\tselectMenu: {\r\n\t\twidth: 'auto', // Fix Safari textOverflow\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\twhiteSpace: 'nowrap',\r\n\t\toverflow: 'hidden',\r\n\t\theight: 'auto', // Reset (19px), match the native input line-height\r\n\t\tminHeight: '1.1875em', // Reset (19px), match the native input line-height\r\n\t},\r\n\tdisabled: {\r\n\t\tcursor: 'default',\r\n\t},\r\n\ticon: {\r\n\t\t// We use a position absolute over a flexbox in order to forward the pointer events\r\n\t\t// to the input.\r\n\t\tposition: 'absolute',\r\n\t\tright: 0,\r\n\t\ttop: 'calc(50% - 14px)', // Center vertically\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tstroke: theme.typography.color.primary,\r\n\t\t'pointer-events': 'none', // Don't block pointer events on the select under the icon.\r\n\t},\r\n});\r\n\r\nfunction Select(props) {\r\n\tconst {\r\n\t\tautoWidth,\r\n\t\tchildren,\r\n\t\tclasses,\r\n\t\tdisplayEmpty,\r\n\t\tinput,\r\n\t\tinputProps,\r\n\t\tMenuProps,\r\n\t\tmultiple,\r\n\t\tnative,\r\n\t\tonClose,\r\n\t\tonOpen,\r\n\t\topen,\r\n\t\trenderValue,\r\n\t\tSelectDisplayProps,\r\n\t\t...other\r\n\t} = props;\r\n\r\n\treturn React.cloneElement(input, {\r\n\t\t// Most of the logic is implemented in `SelectInput`.\r\n\t\t// The `Select` component is a simple API wrapper to expose something better to play with.\r\n\t\tinputComponent: SelectInput,\r\n\t\tinputProps: {\r\n\t\t\tautoWidth,\r\n\t\t\tchildren,\r\n\t\t\tclasses,\r\n\t\t\tdisplayEmpty,\r\n\t\t\tMenuProps,\r\n\t\t\tmultiple,\r\n\t\t\tnative,\r\n\t\t\tonClose,\r\n\t\t\tonOpen,\r\n\t\t\topen,\r\n\t\t\trenderValue,\r\n\t\t\tSelectDisplayProps,\r\n\t\t\ttype: undefined, // We render a select. We can ignore the type provided by the `Input`.\r\n\t\t\t...inputProps,\r\n\t\t\t...(input ? input.props.inputProps : {}),\r\n\t\t},\r\n\t\t...other,\r\n\t});\r\n}\r\n\r\nSelect.propTypes = {\r\n\t/**\r\n\t * If true, the width of the popover will automatically be set according to the items inside the\r\n\t * menu, otherwise it will be at least the width of the select input.\r\n\t */\r\n\tautoWidth: PropTypes.bool,\r\n\t/**\r\n\t * The option elements to populate the select with.\r\n\t * Can be some `MenuItem` when `native` is false and `option` when `native` is true.\r\n\t */\r\n\tchildren: PropTypes.node,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * If `true`, the selected item is displayed even if its value is empty.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t */\r\n\tdisplayEmpty: PropTypes.bool,\r\n\t/**\r\n\t * An `Input` element; does not have to be a material-ui specific `Input`.\r\n\t */\r\n\tinput: PropTypes.element,\r\n\t/**\r\n\t * Properties applied to the `input` element.\r\n\t * When `native` is `true`, the properties are applied on the `select` element.\r\n\t */\r\n\tinputProps: PropTypes.object,\r\n\t/**\r\n\t * Properties applied to the `Menu` element.\r\n\t */\r\n\tMenuProps: PropTypes.object,\r\n\t/**\r\n\t * If true, `value` must be an array and the menu will support multiple selections.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t */\r\n\tmultiple: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, the component will be using a native `select` element.\r\n\t */\r\n\tnative: PropTypes.bool,\r\n\t/**\r\n\t * Callback function fired when a menu item is selected.\r\n\t *\r\n\t * @param {object} event The event source of the callback.\r\n\t * You can pull out the new value by accessing `event.target.value`.\r\n\t * @param {object} [child] The react element that was selected when `native` is `false` (default).\r\n\t */\r\n\tonChange: PropTypes.func,\r\n\t/**\r\n\t * Callback fired when the component requests to be closed.\r\n\t * Useful in controlled mode (see open).\r\n\t *\r\n\t * @param {object} event The event source of the callback\r\n\t */\r\n\tonClose: PropTypes.func,\r\n\t/**\r\n\t * Callback fired when the component requests to be opened.\r\n\t * Useful in controlled mode (see open).\r\n\t *\r\n\t * @param {object} event The event source of the callback\r\n\t */\r\n\tonOpen: PropTypes.func,\r\n\t/**\r\n\t * Control `select` open state.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t */\r\n\topen: PropTypes.bool,\r\n\t/**\r\n\t * Render the selected value.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t *\r\n\t * @param {*} value The `value` provided to the component.\r\n\t * @returns {ReactElement}\r\n\t */\r\n\trenderValue: PropTypes.func,\r\n\t/**\r\n\t * Properties applied to the clickable div element.\r\n\t */\r\n\tSelectDisplayProps: PropTypes.object,\r\n\t/**\r\n\t * The input value.\r\n\t * This property is required when the `native` property is `false` (default).\r\n\t */\r\n\tvalue: PropTypes.oneOfType([\r\n\t\tPropTypes.string,\r\n\t\tPropTypes.number,\r\n\t\tPropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\r\n\t]),\r\n};\r\n\r\nSelect.defaultProps = {\r\n\tautoWidth: false,\r\n\tdisplayEmpty: false,\r\n\tinput: ,\r\n\tmultiple: false,\r\n\tnative: false,\r\n};\r\n\r\nSelect.muiName = 'Select';\r\n\r\nexport default withStyles(styles, { name: 'MuiSelect' })(Select);\r\n","/* eslint-disable */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport keycode from 'keycode';\r\nimport warning from 'warning';\r\nimport { SvgIcon } from '@components';\r\nimport Menu from '@material-ui/core/Menu/Menu';\r\n\r\nconst hasValue = (value) => {\r\n\treturn value != null && !(Array.isArray(value) && value.length === 0);\r\n } \r\n\r\nconst isFilled = (obj) => {\r\n\tvar SSR = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\r\n\treturn obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');\r\n}\r\n\r\n/**\r\n/**\r\n * @ignore - internal component.\r\n */\r\nclass SelectInput extends React.Component {\r\n\tstate = {\r\n\t\topen: false,\r\n\t};\r\n\r\n\tcomponentDidMount() {\r\n\t\tif (this.isOpenControlled && this.props.open) {\r\n\t\t\t// Focus the display node so the focus is restored on this element once\r\n\t\t\t// the menu is closed.\r\n\t\t\tthis.displayNode.focus();\r\n\t\t\t// Rerender with the resolve `displayNode` reference.\r\n\t\t\tthis.forceUpdate();\r\n\t\t}\r\n\r\n\t\tif (this.props.autoFocus && !this.props.native) {\r\n\t\t\tthis.displayNode.focus();\r\n\t\t}\r\n\t\tif (this.props.inputRef) {\r\n\t\t\tthis.props.inputRef(this.selectInputRef);\r\n\t\t\t/* this.props.inputRef({\r\n\t\t\t\tnode: this.selectInputRef,\r\n\t\t\t\t// By pass the native input as we expose a rich object (array).\r\n\t\t\t\tvalue: this.props.value,\r\n\t\t\t}); */\r\n\t\t}\r\n\t}\r\n\r\n\tignoreNextBlur = false;\r\n\tdisplayNode = null;\r\n\tdisplayWidth = null;\r\n\tisOpenControlled = this.props.open !== undefined;\r\n\tisControlled = this.props.value != null;\r\n\r\n\tupdate = this.isOpenControlled\r\n\t\t? ({ event, open }) => {\r\n\t\t\tif (open) {\r\n\t\t\t\tthis.props.onOpen(event);\r\n\t\t\t} else {\r\n\t\t\t\tthis.props.onClose(event);\r\n\t\t\t}\r\n\t\t}\r\n\t\t: ({ open }) => this.setState({ open });\r\n\r\n\thandleClick = event => {\r\n\t\t// Opening the menu is going to blur the. It will be focused back when closed.\r\n\t\tthis.ignoreNextBlur = true;\r\n\t\tthis.update({\r\n\t\t\topen: true,\r\n\t\t\tevent,\r\n\t\t});\r\n\t};\r\n\r\n\thandleClose = event => {\r\n\t\tthis.update({\r\n\t\t\topen: false,\r\n\t\t\tevent,\r\n\t\t});\r\n\t};\r\n\r\n\thandleItemClick = child => event => {\r\n\t\tif (!this.props.multiple) {\r\n\t\t\tthis.update({\r\n\t\t\t\topen: false,\r\n\t\t\t\tevent,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tconst { onChange, name } = this.props;\r\n\r\n\t\tif (onChange) {\r\n\t\t\tlet value;\r\n\t\t\tlet target;\r\n\r\n\t\t\tif (event.target) {\r\n\t\t\t\ttarget = event.target;\r\n\t\t\t}\r\n\r\n\t\t\tif (this.props.multiple) {\r\n\t\t\t\tvalue = Array.isArray(this.props.value) ? [...this.props.value] : [];\r\n\t\t\t\tconst itemIndex = value.indexOf(child.props.value);\r\n\t\t\t\tif (itemIndex === -1) {\r\n\t\t\t\t\tvalue.push(child.props.value);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvalue.splice(itemIndex, 1);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tvalue = child.props.value;\r\n\t\t\t}\r\n\r\n\t\t\tevent.persist();\r\n\t\t\tevent.target = { ...target, value, name };\r\n\r\n\t\t\tonChange(event, child);\r\n\t\t}\r\n\t};\r\n\r\n\thandleBlur = event => {\r\n\t\tif (this.ignoreNextBlur === true) {\r\n\t\t\t// The parent components are relying on the bubbling of the event.\r\n\t\t\tevent.stopPropagation();\r\n\t\t\tthis.ignoreNextBlur = false;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.props.onBlur) {\r\n\t\t\tthis.props.onBlur(event);\r\n\t\t}\r\n\t};\r\n\r\n\thandleKeyDown = event => {\r\n\t\tif (this.props.readOnly) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (['space', 'up', 'down'].indexOf(keycode(event)) !== -1) {\r\n\t\t\tevent.preventDefault();\r\n\t\t\t// Opening the menu is going to blur the. It will be focused back when closed.\r\n\t\t\tthis.ignoreNextBlur = true;\r\n\t\t\tthis.update({\r\n\t\t\t\topen: true,\r\n\t\t\t\tevent,\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n\r\n\thandleDisplayRef = node => {\r\n\t\tthis.displayNode = node;\r\n\r\n\t\tif (node) {\r\n\t\t\t// Perfom the layout computation outside of the render method.\r\n\t\t\tthis.displayWidth = node.clientWidth;\r\n\t\t}\r\n\t};\r\n\r\n\thandleSelectRef = node => {\r\n\t\tthis.selectInputRef = node;\r\n\t\t\r\n\t};\r\n\t\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tautoWidth,\r\n\t\t\tchildren,\r\n\t\t\tclasses,\r\n\t\t\tclassName: classNameProp,\r\n\t\t\tdisabled,\r\n\t\t\tdisplayEmpty,\r\n\t\t\tinputRef,\r\n\t\t\tMenuProps = {},\r\n\t\t\tmultiple,\r\n\t\t\tname,\r\n\t\t\tnative,\r\n\t\t\tonBlur,\r\n\t\t\tonChange,\r\n\t\t\tonClose,\r\n\t\t\tonFocus,\r\n\t\t\tonOpen,\r\n\t\t\topen: openProp,\r\n\t\t\treadOnly,\r\n\t\t\trenderValue,\r\n\t\t\tSelectDisplayProps,\r\n\t\t\ttabIndex: tabIndexProp,\r\n\t\t\ttype = 'hidden',\r\n\t\t\tvalue,\r\n\t\t\t...other\r\n\t\t} = this.props;\r\n\t\tconst open = this.isOpenControlled && this.displayNode ? openProp : this.state.open;\r\n\r\n\t\tif (native) {\r\n\t\t\twarning(\r\n\t\t\t\tmultiple === false,\r\n\t\t\t\t'Material-UI: you can not use the `native={true}` and `multiple={true}` properties ' +\r\n\t\t\t\t'at the same time on a `Select` component.',\r\n\t\t\t);\r\n\t\t\twarning(\r\n\t\t\t\t!renderValue,\r\n\t\t\t\t'Material-UI: the `renderValue` property is not used by the native implementation.',\r\n\t\t\t);\r\n\t\t\twarning(\r\n\t\t\t\t!displayEmpty,\r\n\t\t\t\t'Material-UI: the `displayEmpty` property is not used by the native implementation.',\r\n\t\t\t);\r\n\r\n\t\t\treturn (\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{children}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tif (!this.isControlled) {\r\n\t\t\tthrow new Error(\r\n\t\t\t\t'Material-UI: the `value` property is required ' +\r\n\t\t\t\t'when using the `Select` component with `native=false` (default).',\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tlet display;\r\n\t\tlet displaySingle = '';\r\n\t\tconst displayMultiple = [];\r\n\t\tlet computeDisplay = false;\r\n\t\t// No need to display any value if the field is empty.\r\n\t\tif (isFilled(this.props) || displayEmpty) {\r\n\t\t\tif (renderValue) {\r\n\t\t\t\tdisplay = renderValue(value);\r\n\t\t\t} else {\r\n\t\t\t\tcomputeDisplay = true;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst items = React.Children.map(children, child => {\r\n\t\t\tif (!React.isValidElement(child)) {\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t\tlet selected;\r\n\r\n\t\t\tif (multiple) {\r\n\t\t\t\tif (!Array.isArray(value)) {\r\n\t\t\t\t\tthrow new Error(\r\n\t\t\t\t\t\t'Material-UI: the `value` property must be an array ' +\r\n\t\t\t\t\t\t'when using the `Select` component with `multiple`.',\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tselected = value.indexOf(child.props.value) !== -1;\r\n\t\t\t\tif (selected && computeDisplay) {\r\n\t\t\t\t\tdisplayMultiple.push(child.props.children);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tselected = value === child.props.value;\r\n\t\t\t\tif (selected && computeDisplay) {\r\n\t\t\t\t\tdisplaySingle = child.props.children;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\treturn React.cloneElement(child, {\r\n\t\t\t\tonClick: this.handleItemClick(child),\r\n\t\t\t\trole: 'option',\r\n\t\t\t\tselected,\r\n\t\t\t\tvalue: undefined, // The value is most likely not a valid HTML attribute.\r\n\t\t\t\t'data-value': child.props.value, // Instead, we provide it as a data attribute.\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tif (computeDisplay) {\r\n\t\t\tdisplay = multiple ? displayMultiple.join(', ') : displaySingle;\r\n\t\t}\r\n\r\n\t\tconst MenuMinWidth = this.displayNode && !autoWidth ? this.displayWidth : undefined;\r\n\r\n\t\tlet tabIndex;\r\n\t\tif (typeof tabIndexProp !== 'undefined') {\r\n\t\t\ttabIndex = tabIndexProp;\r\n\t\t} else {\r\n\t\t\ttabIndex = disabled ? null : 0;\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t{/* So the vertical align positioning algorithm quicks in. */}\r\n\t\t\t\t\t{/* eslint-disable-next-line react/no-danger */}\r\n\t\t\t\t\t{display || }\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{items}\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSelectInput.propTypes = {\r\n\t/**\r\n\t * @ignore\r\n\t */\r\n\tautoFocus: PropTypes.bool,\r\n\t/**\r\n\t * If true, the width of the popover will automatically be set according to the items inside the\r\n\t * menu, otherwise it will be at least the width of the select input.\r\n\t */\r\n\tautoWidth: PropTypes.bool,\r\n\t/**\r\n\t * The option elements to populate the select with.\r\n\t * Can be some `MenuItem` when `native` is false and `option` when `native` is true.\r\n\t */\r\n\tchildren: PropTypes.node,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * The CSS class name of the select element.\r\n\t */\r\n\tclassName: PropTypes.string,\r\n\t/**\r\n\t * If `true`, the select will be disabled.\r\n\t */\r\n\tdisabled: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, the selected item is displayed even if its value is empty.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t */\r\n\tdisplayEmpty: PropTypes.bool,\r\n\t/**\r\n\t * Use that property to pass a ref callback to the native select element.\r\n\t */\r\n\tinputRef: PropTypes.func,\r\n\t/**\r\n\t * Properties applied to the `Menu` element.\r\n\t */\r\n\tMenuProps: PropTypes.object,\r\n\t/**\r\n\t * If true, `value` must be an array and the menu will support multiple selections.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t */\r\n\tmultiple: PropTypes.bool,\r\n\t/**\r\n\t * Name attribute of the `select` or hidden `input` element.\r\n\t */\r\n\tname: PropTypes.string,\r\n\t/**\r\n\t * If `true`, the component will be using a native `select` element.\r\n\t */\r\n\tnative: PropTypes.bool,\r\n\t/**\r\n\t * @ignore\r\n\t */\r\n\tonBlur: PropTypes.func,\r\n\t/**\r\n\t * Callback function fired when a menu item is selected.\r\n\t *\r\n\t * @param {object} event The event source of the callback.\r\n\t * You can pull out the new value by accessing `event.target.value`.\r\n\t * @param {object} [child] The react element that was selected when `native` is `false` (default).\r\n\t */\r\n\tonChange: PropTypes.func,\r\n\t/**\r\n\t * Callback fired when the component requests to be closed.\r\n\t * Useful in controlled mode (see open).\r\n\t *\r\n\t * @param {object} event The event source of the callback\r\n\t */\r\n\tonClose: PropTypes.func,\r\n\t/**\r\n\t * @ignore\r\n\t */\r\n\tonFocus: PropTypes.func,\r\n\t/**\r\n\t * Callback fired when the component requests to be opened.\r\n\t * Useful in controlled mode (see open).\r\n\t *\r\n\t * @param {object} event The event source of the callback\r\n\t */\r\n\tonOpen: PropTypes.func,\r\n\t/**\r\n\t * Control `select` open state.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t */\r\n\topen: PropTypes.bool,\r\n\t/**\r\n\t * @ignore\r\n\t */\r\n\treadOnly: PropTypes.bool,\r\n\t/**\r\n\t * Render the selected value.\r\n\t * You can only use it when the `native` property is `false` (default).\r\n\t *\r\n\t * @param {*} value The `value` provided to the component.\r\n\t * @returns {ReactElement}\r\n\t */\r\n\trenderValue: PropTypes.func,\r\n\t/**\r\n\t * Properties applied to the clickable div element.\r\n\t */\r\n\tSelectDisplayProps: PropTypes.object,\r\n\t/**\r\n\t * @ignore\r\n\t */\r\n\ttabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\r\n\t/**\r\n\t * @ignore\r\n\t */\r\n\ttype: PropTypes.string,\r\n\t/**\r\n\t * The input value.\r\n\t * This property is required when the `native` property is `false` (default).\r\n\t */\r\n\tvalue: PropTypes.oneOfType([\r\n\t\tPropTypes.string,\r\n\t\tPropTypes.number,\r\n\t\tPropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\r\n\t]),\r\n};\r\n\r\nexport default SelectInput;\r\n","import { Select } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\nexport default createComponent(Select, ({\r\n\tinput: {\r\n\t\tonChange, value, onBlur, ...inputProps\r\n\t},\r\n\tonChange: onChangeFromField,\r\n\tdefaultValue,\r\n\t...props\r\n}) => ({\r\n\t...mapError(props),\r\n\t...inputProps,\r\n\tvalue,\r\n\tonChange: (event) => {\r\n\t\tonChange(event.target.value);\r\n\t\tif (onChangeFromField) {\r\n\t\t\tonChangeFromField(event.target.value);\r\n\t\t}\r\n\t},\r\n\tonBlur: () => onBlur(value),\r\n}));\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { SvgIcon } from '@components';\r\nimport compose from 'recompose/compose';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t},\r\n\tcontainerWrapper: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tposition: 'fixed',\r\n\t\twidth: '100%',\r\n\t\theight: '100%',\r\n\t\ttop: '0',\r\n\t\tleft: '0',\r\n\t\tzIndex: 200,\r\n\t\toverflowY: 'scroll',\r\n\t},\r\n\tcontainerWrapperMobile: {\r\n\t\tzIndex: 1400,\r\n\t},\r\n\tcontainer: {\r\n\t\tpadding: '0 24px',\r\n\t\tmaxWidth: '496px',\r\n\t\tmargin: '0 auto',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tbackdrop: {\r\n\t\tposition: 'fixed',\r\n\t\twidth: '100%',\r\n\t\theight: '100%',\r\n\t\topacity: '0.98',\r\n\t\ttop: '0',\r\n\t\tleft: '0',\r\n\t\tzIndex: 190,\r\n\t},\r\n\tbackdropMobile: {\r\n\t\tzIndex: 1390,\r\n\t},\r\n\theader: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t\talignItems: 'center',\r\n\t\tpadding: '20px 0',\r\n\t},\r\n\ticon: {\r\n\t\twidth: '72px',\r\n\t\ttextAlign: 'center',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\ttextAlign: 'center',\r\n\t\tfontWeight: 'bold',\r\n\t\twidth: '100%',\r\n\t},\r\n\tbody: {\r\n\t\tpaddingBottom: '24px',\r\n\t},\r\n});\r\n\r\nclass Modal extends React.Component {\r\n\tcomponentDidMount() {\r\n\t\tdocument.querySelector('body').style.overflow = 'hidden';\r\n\t}\r\n\tcomponentWillUnmount() {\r\n\t\tdocument.querySelector('body').style.overflow = 'auto';\r\n\t}\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tclassName,\r\n\t\t\tbgColor,\r\n\t\t\ttextColor,\r\n\t\t\tonClose,\r\n\t\t\tchildren,\r\n\t\t\ttitle,\r\n\t\t\tisXsResolution\r\n\t\t} = this.props;\r\n\r\n\t\tconst cssContainer = classNames({\r\n\t\t\t[classes.containerWrapper]: true,\r\n\t\t\t[classes.containerWrapperMobile]: isXsResolution,\r\n\t\t});\r\n\r\n\t\tconst cssBackdrop = classNames({\r\n\t\t\t[classes.backdrop]: true,\r\n\t\t\t[classes.backdropMobile]: isXsResolution,\r\n\t\t});\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{onClose && // for symmetric\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{title}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{onClose &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{children}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tclassName: PropTypes.string,\r\n\tbgColor: PropTypes.string,\r\n\ttextColor: PropTypes.string,\r\n\tchildren: PropTypes.any.isRequired,\r\n\ttitle: PropTypes.any.isRequired,\r\n};\r\n\r\nModal.defaultProps = {\r\n\tbgColor: '#fff',\r\n\ttextColor: '#000',\r\n\tclassName: undefined,\r\n};\r\n\r\nexport default compose(withStyles(styles))(Modal);\r\n","import React from 'react';\r\nimport { withRouter } from 'react-router';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\nimport Fade from '@material-ui/core/Fade';\r\nimport { env } from '@config';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tborderRadius: '50%',\r\n\t\tpadding: '7px',\r\n\t\tpaddingTop: '6px',\r\n\t\twidth: '40px',\r\n\t\theight: '40px',\r\n\t},\r\n\timage: {\r\n\t\twidth: '100%',\r\n\t\theight: '100%',\r\n\t\tmargin: 'auto',\r\n\t},\r\n\tlightTooltip: {\r\n\t\tbackground: theme.palette.common.white,\r\n\t\tcolor: theme.palette.text.primary,\r\n\t\tboxShadow: theme.shadows[1],\r\n\t\tfontSize: 11,\r\n\t},\r\n});\r\n\r\nclass BankLogo extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\timageError: false,\r\n\t\t};\r\n\t}\r\n\r\n\tonImageError = () => {\r\n\t\tthis.setState({\r\n\t\t\timageError: true,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\timgUrl,\r\n\t\t\timgRelativePath,\r\n\t\t\tbankAccount,\r\n\t\t\ttheme,\r\n\t\t} = this.props;\r\n\r\n\t\tconst bgColor = bankAccount.LogoColors ?\r\n\t\t\tbankAccount.LogoColors.primary\r\n\t\t\t: theme.palette.color.secondary.gray;\r\n\t\tconst bgBorder = bankAccount.LogoColors && bankAccount.LogoColors.border || '0px';\r\n\r\n\t\tconst noBankLogoSrc = `${env.baseUrl}${imgRelativePath}/no-bank-icon.png`;\r\n\t\tconst withBankName = !!bankAccount.BankName;\r\n\r\n\t\tconst srcLogo = this.state.imageError\r\n\t\t\t? noBankLogoSrc\r\n\t\t\t: bankAccount.LogoFullFileName || (\r\n\t\t\t\tbankAccount.LogoFileName ?\r\n\t\t\t\t\t`${env.baseUrl}${imgRelativePath}/${bankAccount.LogoFileName}`\r\n\t\t\t\t\t: noBankLogoSrc\r\n\t\t\t);\r\n\r\n\t\tconst Logo = (\r\n\t\t\t);\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{withBankName &&\r\n\t\t\t\t\r\n\t\t\t\t\t{Logo}\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!withBankName &&\r\n\t\t\t\t
\r\n\t\t\t\t\t{ Logo }\r\n\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nBankLogo.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tbankAccount: PropTypes.shape({\r\n\t\tLogoFileName: PropTypes.string,\r\n\t\tLogoColors: PropTypes.shape({\r\n\t\t\tprimary: PropTypes.string,\r\n\t\t\tdark: PropTypes.string,\r\n\t\t\tlight: PropTypes.string,\r\n\t\t\tdarker: PropTypes.string,\r\n\t\t}),\r\n\t}).isRequired,\r\n};\r\n\r\nBankLogo.defaultProps = {\r\n\timgRelativePath: '/static/banklogos',\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\twithTheme,\r\n)(BankLogo);\r\n","import React from 'react';\nimport MUIconButton from '@material-ui/core/IconButton';\nimport ReactGA from 'react-ga';\nimport PropTypes from 'prop-types';\nimport { cabinetLog } from '@global';\n\nclass IconButton extends React.Component {\n\thandleClick = (e) => {\n\t\tif (process.env.NODE_ENV === 'production' && this.props.gaUrl) {\n\t\t\tcabinetLog(`send to ${this.props.gaUrl}`);\n\t\t\tReactGA.modalview(this.props.gaUrl);\n\t\t}\n\t\tif (this.props.onClick) {\n\t\t\tthis.props.onClick(e);\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tonClick,\n\t\t\tgaUrl,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t);\n\t}\n}\n\n\nIconButton.propTypes = {\n\t/**\n\t * mouse click handler\n\t */\n\tonClick: PropTypes.func,\n\t/**\n\t * If exists, send this url to Google Analytics\n\t */\n\tgaUrl: PropTypes.string,\n\t/**\n\t * The content of the button.\n\t */\n\tchildren: PropTypes.node.isRequired,\n\t/**\n\t * Useful to extend the style applied to components.\n\t */\n\tclasses: PropTypes.object,\n\t/**\n\t * The color of the component. It supports those theme colors that make sense for this component.\n\t */\n\tcolor: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\n\t/**\n\t * The component used for the root node.\n\t * Either a string to use a DOM element or a component.\n\t * The default value is a `button`.\n\t */\n\tcomponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\t/**\n\t * If `true`, the button will be disabled.\n\t */\n\tdisabled: PropTypes.bool,\n\t/**\n\t * If `true`, the ripple effect will be disabled.\n\t */\n\tdisableRipple: PropTypes.bool,\n};\n\nIconButton.defaultProps = {\n\tclasses: null,\n\tcolor: 'default',\n\tdisabled: false,\n\tcomponent: undefined, // 'button',\n\tdisableRipple: false,\n\tgaUrl: null,\n\tonClick: null,\n};\n\nexport default IconButton;\n","/* eslint-disable react/no-did-update-set-state,no-param-reassign,consistent-return */\r\nimport React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { SvgIcon } from '@components';\r\nimport InputBase from '@material-ui/core/InputBase';\r\nimport NumberFormat from 'react-number-format';\r\nimport PropTypes from 'prop-types';\r\nimport { precisionRound } from '@global';\r\nimport InputFormControl from '../Input/InputFormControl';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tbackgroundColor: 'rgba(255,255,255,0.05)',\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\t'& input::placeholder': {\r\n\t\t\topacity: 0.75,\r\n\t\t},\r\n\t\tfontSize: theme.typography.pxToRem(18),\r\n\t},\r\n\tcontainer: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'flex-end',\r\n\t\tjustifyContent: 'space-between',\r\n\t\tmargin: '16px 0px 0px 0px',\r\n\t\tpadding: '12px 24px 5px',\r\n\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\tborderRadius: '8px',\r\n\t},\r\n\tinput: {\r\n\t},\r\n\tbuttons: {\r\n\t\twidth: '72px',\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tpadding: '2px 0',\r\n\t},\r\n\ticonPlus: {\r\n\t\tcursor: 'pointer',\r\n\t\toutline: 'none',\r\n\t},\r\n\ticonMinus: {\r\n\t\tcursor: 'pointer',\r\n\t\tmarginRight: '24px',\r\n\t\toutline: 'none',\r\n\t},\r\n});\r\n\r\nfunction NumberFormatCustom(props) {\r\n\tconst {\r\n\t\tinputRef,\r\n\t\tonChange,\r\n\t\tprefix = '$',\r\n\t\tsuffix = '',\r\n\t\tdecimalScale,\r\n\t\t...restProps\r\n\t} = props;\r\n\treturn (\r\n\t\t {\r\n\t\t\t\tonChange(values.value || '');\r\n\t\t\t}}\r\n\t\t\tthousandSeparator\r\n\t\t\tprefix={prefix}\r\n\t\t\tsuffix={suffix}\r\n\t\t\tdecimalScale={decimalScale}\r\n\t\t/>\r\n\t);\r\n}\r\n\r\nclass InputNumber extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\tvalue: props.value,\r\n\t\t};\r\n\t\tthis.onInputChange = this.onInputChange.bind(this);\r\n\t\tthis.onPlusButtonClick = this.onPlusButtonClick.bind(this);\r\n\t\tthis.onMinusButtonClick = this.onMinusButtonClick.bind(this);\r\n\t\tthis.onBlurHandler = this.onBlurHandler.bind(this);\r\n\t}\r\n\tcomponentDidUpdate(prevProps) {\r\n\t\tif (this.props.value !== prevProps.value && this.props.value !== this.state.value) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tvalue: this.props.value,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tonInputChange(value) {\r\n\t\tthis.setState({\r\n\t\t\tvalue,\r\n\t\t}, () => {\r\n\t\t\tthis.props.onChange(value);\r\n\t\t});\r\n\t}\r\n\r\n\tonPlusButtonClick() {\r\n\t\tconst val = Number(this.state.value) + this.props.step;\r\n\t\tthis.onInputChange(precisionRound(val));\r\n\t\tthis.onBlurHandler();\r\n\t}\r\n\r\n\tonMinusButtonClick() {\r\n\t\tconst { value } = this.state;\r\n\t\tif ((value - this.props.step) > 0) {\r\n\t\t\tthis.onInputChange(Number(precisionRound(value - this.props.step)));\r\n\t\t\tthis.onBlurHandler();\r\n\t\t}\r\n\t}\r\n\r\n\tonBlurHandler() {\r\n\t\tif (this.props.onBlur) {\r\n\t\t\tthis.props.onBlur(this.state.value);\r\n\t\t}\r\n\t}\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tallowIconButtons,\r\n\t\t\tname,\r\n\t\t\tplaceholder,\r\n\t\t\tfullWidth,\r\n\t\t\terror,\r\n\t\t\tadditionalText,\r\n\t\t\tshowLabel,\r\n\t\t\tclasses,\r\n\t\t\thelpertext,\r\n\t\t\tvalidationMessageMode,\r\n\t\t\tonChange,\r\n\t\t\tonBlur,\r\n\t\t\tvalue,\r\n\t\t\tdisabled,\r\n\t\t\tprefix,\r\n\t\t\tsuffix,\r\n\t\t\tdecimalScale,\r\n\t\t\t...other\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{!disabled && allowIconButtons &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nInputNumber.propTypes = {\r\n\tstep: PropTypes.number,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonBlur: PropTypes.func,\r\n\tallowIconButtons: PropTypes.bool,\r\n\tprefix: PropTypes.string,\r\n};\r\n\r\nInputNumber.defaultProps = {\r\n\tstep: 1000,\r\n\tonBlur: null,\r\n\tshowLabel: true,\r\n\tallowIconButtons: true,\r\n\tprefix: '$',\r\n};\r\n\r\nexport default compose(withStyles(styles))(InputNumber);\r\n","import { InputNumber } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\nexport default createComponent(\r\n\tInputNumber,\r\n\t({\r\n\t\tdefaultValue,\r\n\t\t...props\r\n\t}) => ({\r\n\t\t...mapError(props),\r\n\t}),\r\n);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport SvgIcon from '../../SvgIcon/SvgIcon';\nimport IconButton from '@material-ui/core/IconButton';\nimport { withStyles } from '@material-ui/core/styles';\n\nconst styles = {\n\ticonButtonRoot: {\n\t\tmarginTop: '-12px',\n\t\tmarginBottom: '-12px',\n\t},\n};\n\nconst VisibilityButton = ({ isVisible, onClick, classes, tabIndex = 10 }) => {\n\tconst Icon = isVisible ?\n\t\t\n\t\t: ;\n\n\treturn (\n\t\t\n\t\t\t{Icon}\n\t\t\n\t);\n};\n\nVisibilityButton.propTypes = {\n\tisVisible: PropTypes.bool.isRequired,\n\tonClick: PropTypes.func,\n\tclasses: PropTypes.object.isRequired,\n};\n\nVisibilityButton.defaultProps = {\n\tonClick: null,\n};\n\nexport default withStyles(styles)(VisibilityButton);\n","import { createComponent, mapError } from '../utils';\nimport InputPassword from './InputPassword';\n\nexport default createComponent(\n\tInputPassword,\n\t({\n\t\tdefaultValue,\n\t\t...props\n\t}) => ({\n\t\t...mapError(props),\n\t}),\n);\n","/* eslint-disable react/no-did-update-set-state,no-param-reassign,consistent-return */\r\nimport React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { Input } from '@components';\r\nimport NumberFormat from 'react-number-format';\r\n\r\n\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tcolor: theme.palette.color.primary.black,\r\n\t},\r\n\tcontainer: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'flex-end',\r\n\t\tjustifyContent: 'space-between',\r\n\t},\r\n\tinput: {\r\n\t\t// flexGrow: 1,\r\n\t},\r\n});\r\n\r\nfunction NumberFormatCustom(props) {\r\n\tconst { inputRef, onChange, ...restProps } = props;\r\n\treturn (\r\n\t\t {\r\n\t\t\t\tonChange(values.value || '');\r\n\t\t\t}}\r\n\t\t/>\r\n\t);\r\n}\r\n\r\nclass InputNumberFormat extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\tvalue: props.value,\r\n\t\t};\r\n\r\n\t\tthis.onInputChange = this.onInputChange.bind(this);\r\n\t\tthis.onBlurHandler = this.onBlurHandler.bind(this);\r\n\t}\r\n\tcomponentDidUpdate(prevProps) {\r\n\t\tif (this.props.value !== prevProps.value) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tvalue: this.props.value,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\tonInputChange(value) {\r\n\t\tthis.setState({\r\n\t\t\tvalue,\r\n\t\t});\r\n\t\tthis.props.onChange(value);\r\n\t}\r\n\tonBlurHandler() {\r\n\t\tif (this.props.onBlur) {\r\n\t\t\tthis.props.onBlur(this.state.value);\r\n\t\t}\r\n\t}\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonChange,\r\n\t\t\tvalue,\r\n\t\t\ttype,\r\n\t\t\tonBlur,\r\n\t\t\tformat,\r\n\t\t\tmask,\r\n\t\t\tremoveFormatting,\r\n\t\t\tqaAttributes,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nInputNumberFormat.propTypes = {\r\n\tformat: PropTypes.oneOfType([PropTypes.string, PropTypes.func]).isRequired,\r\n\tmask: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),\r\n\tonChange: PropTypes.func.isRequired,\r\n\tonBlur: PropTypes.func,\r\n\tremoveFormatting: PropTypes.func,\r\n\tqaAttributes: PropTypes.shape({\r\n\t\ttitle: PropTypes.object,\r\n\t\tvalue: PropTypes.object,\r\n\t}),\r\n};\r\nInputNumberFormat.defaultProps = {\r\n\tonBlur: null,\r\n\tformat: '####',\r\n\tmask: ['R', 'T', 'F', 'M'],\r\n\tremoveFormatting: null,\r\n\tqaAttributes: {},\r\n};\r\n\r\nexport default compose(withStyles(styles))(InputNumberFormat);\r\n","import { InputNumberFormat } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\nexport default createComponent(\r\n\tInputNumberFormat,\r\n\t({\r\n\t\tdefaultValue,\r\n\t\t...props\r\n\t}) => ({\r\n\t\t...mapError(props),\r\n\t}),\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { InputNumberFormat } from '@components';\r\nimport { phoneCodes } from './phoneCodes';\r\n\r\nclass InputPhoneNumber extends React.Component {\r\n\tstatic masksSort(maskList) {\r\n\t\tmaskList.sort((a, b) => {\r\n\t\t\tlet ia = 0;\r\n\t\t\tlet ib = 0;\r\n\t\t\tconst match = /[0-9#]/;\r\n\t\t\tconst key = 'mask';\r\n\r\n\t\t\tfor (; (ia < a[key].length && ib < b[key].length);) {\r\n\t\t\t\tconst cha = a[key].charAt(ia);\r\n\t\t\t\tconst chb = b[key].charAt(ib);\r\n\t\t\t\tif (!match.test(cha)) {\r\n\t\t\t\t\tia += 1;\r\n\t\t\t\t} else if (!match.test(chb)) {\r\n\t\t\t\t\tib += 1;\r\n\t\t\t\t} else if ((cha !== '#') && (chb === '#')) {\r\n\t\t\t\t\treturn -1;\r\n\t\t\t\t} else if ((cha === '#') && (chb !== '#')) {\r\n\t\t\t\t\treturn 1;\r\n\t\t\t\t} else if (cha !== chb) {\r\n\t\t\t\t\treturn cha < chb ? -1 : 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tia += 1;\r\n\t\t\t\t\tib += 1;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tfor (; (ia < a[key].length || ib < b[key].length);) {\r\n\t\t\t\tif (ia < a[key].length && !match.test(a[key].charAt(ia))) {\r\n\t\t\t\t\tia += 1;\r\n\t\t\t\t} else if (ib < b[key].length && !match.test(b[key].charAt(ib))) {\r\n\t\t\t\t\tib += 1;\r\n\t\t\t\t} else if (ia < a[key].length) {\r\n\t\t\t\t\treturn 1;\r\n\t\t\t\t} else if (ib < b[key].length) {\r\n\t\t\t\t\treturn -1;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (a.length < b.length) return -1;\r\n\t\t\tif (a.length > b.length) return 1;\r\n\r\n\t\t\treturn 0;\r\n\t\t});\r\n\t\treturn maskList;\r\n\t}\r\n\r\n\tstatic applyMask(maskTemplate, val, maskOpts, defs) {\r\n\t\tlet index = 0;\r\n\t\tlet pass = true;\r\n\t\tlet maskIndex = 0;\r\n\r\n\t\tmaskTemplate.mask.split('').some((chm, im) => {\r\n\t\t\tif (index >= val.length) return true;\r\n\t\t\tif (!maskOpts.match.test(chm) && !(chm in defs)) {\r\n\t\t\t\tmaskIndex = im;\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tif (((chm in defs) && defs[chm].test(val[index])) || (val[index] === chm)) {\r\n\t\t\t\tindex += 1;\r\n\t\t\t\tmaskIndex = im;\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\tpass = false;\r\n\t\t\treturn true;\r\n\t\t});\r\n\r\n\t\tif (pass && index === val.length) {\r\n\t\t\treturn {\r\n\t\t\t\tmask: maskTemplate.mask.replace(new RegExp([maskOpts.match.source].concat('#').join('|'), 'g'), maskOpts.replace),\r\n\t\t\t\tobj: maskTemplate,\r\n\t\t\t\tdetermined: maskTemplate.mask.substr(maskIndex + 1).search(maskOpts.match) === -1,\r\n\t\t\t\tcompleted: maskTemplate.mask.substr(maskIndex + 1).search(maskOpts.replace) === -1,\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.maskList = InputPhoneNumber.masksSort(phoneCodes);\r\n\t\tthis.current = {\r\n\t\t\tformatted: '',\r\n\t\t\tunformatted: '',\r\n\t\t\tmatch: {\r\n\t\t\t\tmask: '+#(###)###-####',\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.detectPhone = this.detectPhone.bind(this);\r\n\t}\r\n\r\n\tonRemoveFormatting = (formattedValue) => {\r\n\t\tconst { hideNumberMode, disabled, readOnly } = this.props;\r\n\t\tif (this.current.formatted === formattedValue) {\r\n\t\t\treturn this.current.unformatted;\r\n\t\t}\r\n\t\tif (hideNumberMode && (disabled || readOnly)) {\r\n\t\t\treturn formattedValue.replace(/[^0-9\\*]/g, '').replace(/\\*+/g, '*');\r\n\t\t}\r\n\t\treturn formattedValue.replace(/[^0-9]/g, '');\r\n\t}\r\n\r\n\tonFormatDetect = (unformatted) => {\r\n\t\tconst { hideNumberMode, disabled, readOnly } = this.props;\r\n\t\tif (this.current.unformatted === unformatted) {\r\n\t\t\treturn this.current.formatted;\r\n\t\t}\r\n\r\n\t\tconst match = this.detectPhone(unformatted);\r\n\t\tlet unformattedVal = unformatted;\r\n\t\tif (hideNumberMode && match && unformatted && unformatted.indexOf('*') >= 0) {\r\n\t\t\tconst lenMask = match.mask.split('').filter(s => s === '#').length;\r\n\t\t\tconst lenVal = unformatted.split('').filter(s => new RegExp(/[0-9]/).test(s)).length;\r\n\t\t\tif (lenMask > lenVal) {\r\n\t\t\t\tunformattedVal = unformatted.replace(/\\*+/, new Array(lenMask - lenVal + 1).join('*'));\r\n\t\t\t}\r\n\t\t}\r\n\t\tlet index = 0;\r\n\t\tlet mtxt = '';\r\n\t\tconst mask = match ? match.mask : this.current.match.mask;\r\n\t\tmask.split('').forEach((char) => {\r\n\t\t\tif ((char === '#') && (index < unformattedVal.length)) {\r\n\t\t\t\tmtxt += unformattedVal[index];\r\n\t\t\t\tindex += 1;\r\n\t\t\t} else {\r\n\t\t\t\tmtxt += char;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.current = {\r\n\t\t\tunformatted,\r\n\t\t\tformatted: mtxt.replace(/#/g, '_'),\r\n\t\t\tmatch: match || this.current.match,\r\n\t\t};\r\n\r\n\t\tthis.props.onPhoneChange(this.current.match);\r\n\t\treturn this.current.formatted;\r\n\t}\r\n\r\n\t// Определение страны и маски телефона\r\n\tdetectPhone(value) {\r\n\t\tconst { hideNumberMode } = this.props;\r\n\t\tconst maskOpts = {\r\n\t\t\tmatch: hideNumberMode ? /[0-9\\*]/ : /[0-9]/,\r\n\t\t\treplace: '#',\r\n\t\t\tplaceholder: '_',\r\n\t\t};\r\n\r\n\t\tconst defs = {\r\n\t\t\t'#': hideNumberMode ? new RegExp(/[0-9\\*]/) : new RegExp(/[0-9]/),\r\n\t\t};\r\n\r\n\t\tlet mtxt = ''; // entered digits\r\n\r\n\t\tvalue.split('').some((char) => {\r\n\t\t\tif (char === maskOpts.placeholder) return true; // like break\r\n\t\t\tif (maskOpts.match.test(char)) {\r\n\t\t\t\tmtxt += char;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t});\r\n\r\n\t\tlet result = null;\r\n\t\tthis.maskList.some((item) => {\r\n\t\t\tresult = InputPhoneNumber.applyMask(item, mtxt, maskOpts, defs);\r\n\t\t\treturn !!result;\r\n\t\t});\r\n\r\n\t\treturn result;\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonChange,\r\n\t\t\tonPhoneChange,\r\n\t\t\thideNumberMode,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nInputPhoneNumber.propTypes = {\r\n\tonChange: PropTypes.func.isRequired,\r\n\tonPhoneChange: PropTypes.func.isRequired,\r\n\t/**\r\n\t * hideNumberMode - позволяет скрывать часть символов в середине номера телефона.\r\n\t * Действует только одновременно с disabled или readOnly.\r\n\t */\r\n\thideNumberMode: PropTypes.bool,\r\n\tqaAttributes: PropTypes.shape({\r\n\t\ttitle: PropTypes.object,\r\n\t\tvalue: PropTypes.object,\r\n\t}),\r\n};\r\n\r\nInputPhoneNumber.defaultProps = {\r\n\thideNumberMode: false,\r\n\tqaAttributes: {},\r\n};\r\n\r\n\r\nexport default InputPhoneNumber;\r\n","export const phoneCodes = [\r\n\t{\r\n\t\tmask: '+247-####',\r\n\t\tcpc: '247',\r\n\t\tcc: 'AC',\r\n\t\tname_en: 'Ascension',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Остров Вознесения',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+376-###-###',\r\n\t\tcpc: '376',\r\n\t\tcc: 'AD',\r\n\t\tname_en: 'Andorra',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Андорра',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+971-5#-###-####',\r\n\t\tcpc: '9715',\r\n\t\tcc: 'AE',\r\n\t\tname_en: 'United Arab Emirates',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Объединенные Арабские Эмираты',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+971-#-###-####',\r\n\t\tcpc: '971',\r\n\t\tcc: 'AE',\r\n\t\tname_en: 'United Arab Emirates',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Объединенные Арабские Эмираты',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+93-##-###-####',\r\n\t\tcpc: '93',\r\n\t\tcc: 'AF',\r\n\t\tname_en: 'Afghanistan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Афганистан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(268)###-####',\r\n\t\tcpc: '1268',\r\n\t\tcc: 'AG',\r\n\t\tname_en: 'Antigua & Barbuda',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Антигуа и Барбуда',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(264)###-####',\r\n\t\tcpc: '1264',\r\n\t\tcc: 'AI',\r\n\t\tname_en: 'Anguilla',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ангилья',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+355(###)###-###',\r\n\t\tcpc: '355',\r\n\t\tcc: 'AL',\r\n\t\tname_en: 'Albania',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Албания',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+374-##-###-###',\r\n\t\tcpc: '374',\r\n\t\tcc: 'AM',\r\n\t\tname_en: 'Armenia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Армения',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+599-###-####',\r\n\t\tcpc: '599',\r\n\t\tcc: 'AN',\r\n\t\tname_en: 'Caribbean Netherlands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Карибские Нидерланды',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+599-###-####',\r\n\t\tcpc: '599',\r\n\t\tcc: 'AN',\r\n\t\tname_en: 'Netherlands Antilles',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Нидерландские Антильские острова',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+599-9###-####',\r\n\t\tcpc: '5999',\r\n\t\tcc: 'AN',\r\n\t\tname_en: 'Netherlands Antilles',\r\n\t\tdesc_en: 'Curacao',\r\n\t\tname_ru: 'Нидерландские Антильские острова',\r\n\t\tdesc_ru: 'Кюрасао',\r\n\t}, {\r\n\t\tmask: '+244(###)###-###',\r\n\t\tcpc: '244',\r\n\t\tcc: 'AO',\r\n\t\tname_en: 'Angola',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ангола',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+672-1##-###',\r\n\t\tcpc: '6721',\r\n\t\tcc: 'AQ',\r\n\t\tname_en: 'Australian bases in Antarctica',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Австралийская антарктическая база',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+54(###)###-####',\r\n\t\tcpc: '54',\r\n\t\tcc: 'AR',\r\n\t\tname_en: 'Argentina',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Аргентина',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(684)###-####',\r\n\t\tcpc: '1684',\r\n\t\tcc: 'AS',\r\n\t\tname_en: 'American Samoa',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Американское Самоа',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+43(###)###-####',\r\n\t\tcpc: '43',\r\n\t\tcc: 'AT',\r\n\t\tname_en: 'Austria',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Австрия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+43(###)###-#####',\r\n\t\tcpc: '43',\r\n\t\tcc: 'AT',\r\n\t\tname_en: 'Austria',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Австрия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+61-#-####-####',\r\n\t\tcpc: '61',\r\n\t\tcc: 'AU',\r\n\t\tname_en: 'Australia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Австралия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+297-###-####',\r\n\t\tcpc: '297',\r\n\t\tcc: 'AW',\r\n\t\tname_en: 'Aruba',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Аруба',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+994-##-###-##-##',\r\n\t\tcpc: '994',\r\n\t\tcc: 'AZ',\r\n\t\tname_en: 'Azerbaijan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Азербайджан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+387-##-#####',\r\n\t\tcpc: '387',\r\n\t\tcc: 'BA',\r\n\t\tname_en: 'Bosnia and Herzegovina',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Босния и Герцеговина',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+387-##-####',\r\n\t\tcpc: '387',\r\n\t\tcc: 'BA',\r\n\t\tname_en: 'Bosnia and Herzegovina',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Босния и Герцеговина',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(246)###-####',\r\n\t\tcpc: '1246',\r\n\t\tcc: 'BB',\r\n\t\tname_en: 'Barbados',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Барбадос',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+880-1#-####-####',\r\n\t\tcpc: '880',\r\n\t\tcc: 'BD',\r\n\t\tname_en: 'Bangladesh',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бангладеш',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+880-2-#-####-####',\r\n\t\tcpc: '880',\r\n\t\tcc: 'BD',\r\n\t\tname_en: 'Bangladesh',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бангладеш',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+880-3##-###-####',\r\n\t\tcpc: '880',\r\n\t\tcc: 'BD',\r\n\t\tname_en: 'Bangladesh',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бангладеш',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+32(###)###-###',\r\n\t\tcpc: '32',\r\n\t\tcc: 'BE',\r\n\t\tname_en: 'Belgium',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бельгия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+226-##-##-####',\r\n\t\tcpc: '226',\r\n\t\tcc: 'BF',\r\n\t\tname_en: 'Burkina Faso',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Буркина Фасо',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+359(###)###-###',\r\n\t\tcpc: '359',\r\n\t\tcc: 'BG',\r\n\t\tname_en: 'Bulgaria',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Болгария',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+973-####-####',\r\n\t\tcpc: '973',\r\n\t\tcc: 'BH',\r\n\t\tname_en: 'Bahrain',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бахрейн',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+257-##-##-####',\r\n\t\tcpc: '257',\r\n\t\tcc: 'BI',\r\n\t\tname_en: 'Burundi',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бурунди',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+229-##-##-####',\r\n\t\tcpc: '229',\r\n\t\tcc: 'BJ',\r\n\t\tname_en: 'Benin',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бенин',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(441)###-####',\r\n\t\tcpc: '1441',\r\n\t\tcc: 'BM',\r\n\t\tname_en: 'Bermuda',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бермудские острова',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+673-###-####',\r\n\t\tcpc: '673',\r\n\t\tcc: 'BN',\r\n\t\tname_en: 'Brunei Darussalam',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бруней-Даруссалам',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+591-#-###-####',\r\n\t\tcpc: '591',\r\n\t\tcc: 'BO',\r\n\t\tname_en: 'Bolivia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Боливия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+55-##-####-####',\r\n\t\tcpc: '55',\r\n\t\tcc: 'BR',\r\n\t\tname_en: 'Brazil',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бразилия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(242)###-####',\r\n\t\tcpc: '1242',\r\n\t\tcc: 'BS',\r\n\t\tname_en: 'Bahamas',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Багамские Острова',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+975-17-###-###',\r\n\t\tcpc: '97517',\r\n\t\tcc: 'BT',\r\n\t\tname_en: 'Bhutan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бутан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+975-#-###-###',\r\n\t\tcpc: '975',\r\n\t\tcc: 'BT',\r\n\t\tname_en: 'Bhutan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бутан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+267-##-###-###',\r\n\t\tcpc: '267',\r\n\t\tcc: 'BW',\r\n\t\tname_en: 'Botswana',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ботсвана',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+375(##)###-##-##',\r\n\t\tcpc: '375',\r\n\t\tcc: 'BY',\r\n\t\tname_en: 'Belarus',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Беларусь (Белоруссия)',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+501-###-####',\r\n\t\tcpc: '501',\r\n\t\tcc: 'BZ',\r\n\t\tname_en: 'Belize',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Белиз',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+243(###)###-###',\r\n\t\tcpc: '243',\r\n\t\tcc: 'CD',\r\n\t\tname_en: 'Dem. Rep. Congo',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Дем. Респ. Конго (Киншаса)',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+236-##-##-####',\r\n\t\tcpc: '236',\r\n\t\tcc: 'CF',\r\n\t\tname_en: 'Central African Republic',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Центральноафриканская Республика',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+242-##-###-####',\r\n\t\tcpc: '242',\r\n\t\tcc: 'CG',\r\n\t\tname_en: 'Congo (Brazzaville)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Конго (Браззавиль)',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+41-##-###-####',\r\n\t\tcpc: '41',\r\n\t\tcc: 'CH',\r\n\t\tname_en: 'Switzerland',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Швейцария',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+225-##-###-###',\r\n\t\tcpc: '225',\r\n\t\tcc: 'CI',\r\n\t\tname_en: 'Cote d’Ivoire (Ivory Coast)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Кот-д’Ивуар',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+682-##-###',\r\n\t\tcpc: '682',\r\n\t\tcc: 'CK',\r\n\t\tname_en: 'Cook Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Острова Кука',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+56-#-####-####',\r\n\t\tcpc: '56',\r\n\t\tcc: 'CL',\r\n\t\tname_en: 'Chile',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Чили',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+237-####-####',\r\n\t\tcpc: '237',\r\n\t\tcc: 'CM',\r\n\t\tname_en: 'Cameroon',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Камерун',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+86###########',\r\n\t\tcpc: '86',\r\n\t\tcc: 'CN',\r\n\t\tname_en: 'China (PRC)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Китайская Н.Р.',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+86##########',\r\n\t\tcpc: '86',\r\n\t\tcc: 'CN',\r\n\t\tname_en: 'China (PRC)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Китайская Н.Р.',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+86############',\r\n\t\tcpc: '86',\r\n\t\tcc: 'CN',\r\n\t\tname_en: 'China (PRC)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Китайская Н.Р.',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+57(###)###-####',\r\n\t\tcpc: '57',\r\n\t\tcc: 'CO',\r\n\t\tname_en: 'Colombia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Колумбия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+506-####-####',\r\n\t\tcpc: '506',\r\n\t\tcc: 'CR',\r\n\t\tname_en: 'Costa Rica',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Коста-Рика',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+53-#-###-####',\r\n\t\tcpc: '53',\r\n\t\tcc: 'CU',\r\n\t\tname_en: 'Cuba',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Куба',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+238(###)##-##',\r\n\t\tcpc: '238',\r\n\t\tcc: 'CV',\r\n\t\tname_en: 'Cape Verde',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Кабо-Верде',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+599-###-####',\r\n\t\tcpc: '599',\r\n\t\tcc: 'CW',\r\n\t\tname_en: 'Curacao',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Кюрасао',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+357-##-###-###',\r\n\t\tcpc: '357',\r\n\t\tcc: 'CY',\r\n\t\tname_en: 'Cyprus',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Кипр',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+420(###)###-###',\r\n\t\tcpc: '420',\r\n\t\tcc: 'CZ',\r\n\t\tname_en: 'Czech Republic',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Чехия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+49(####)###-####',\r\n\t\tcpc: '49',\r\n\t\tcc: 'DE',\r\n\t\tname_en: 'Germany',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Германия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+49(###)###-####',\r\n\t\tcpc: '49',\r\n\t\tcc: 'DE',\r\n\t\tname_en: 'Germany',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Германия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+49(###)##-####',\r\n\t\tcpc: '49',\r\n\t\tcc: 'DE',\r\n\t\tname_en: 'Germany',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Германия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+49(###)##-###',\r\n\t\tcpc: '49',\r\n\t\tcc: 'DE',\r\n\t\tname_en: 'Germany',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Германия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+49(###)##-##',\r\n\t\tcpc: '49',\r\n\t\tcc: 'DE',\r\n\t\tname_en: 'Germany',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Германия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+49-###-###',\r\n\t\tcpc: '49',\r\n\t\tcc: 'DE',\r\n\t\tname_en: 'Germany',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Германия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+253-##-##-##-##',\r\n\t\tcpc: '253',\r\n\t\tcc: 'DJ',\r\n\t\tname_en: 'Djibouti',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Джибути',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+45-##-##-##-##',\r\n\t\tcpc: '45',\r\n\t\tcc: 'DK',\r\n\t\tname_en: 'Denmark',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Дания',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(767)###-####',\r\n\t\tcpc: '1767',\r\n\t\tcc: 'DM',\r\n\t\tname_en: 'Dominica',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Доминика',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(809)###-####',\r\n\t\tcpc: '1809',\r\n\t\tcc: 'DO',\r\n\t\tname_en: 'Dominican Republic',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Доминиканская Республика',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(829)###-####',\r\n\t\tcpc: '1829',\r\n\t\tcc: 'DO',\r\n\t\tname_en: 'Dominican Republic',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Доминиканская Республика',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(849)###-####',\r\n\t\tcpc: '1849',\r\n\t\tcc: 'DO',\r\n\t\tname_en: 'Dominican Republic',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Доминиканская Республика',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+213-##-#######',\r\n\t\tcpc: '213',\r\n\t\tcc: 'DZ',\r\n\t\tname_en: 'Algeria',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Алжир',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+593-##-###-####',\r\n\t\tcpc: '593',\r\n\t\tcc: 'EC',\r\n\t\tname_en: 'Ecuador ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Эквадор ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+593-#-###-####',\r\n\t\tcpc: '593',\r\n\t\tcc: 'EC',\r\n\t\tname_en: 'Ecuador',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Эквадор',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+372-####-####',\r\n\t\tcpc: '372',\r\n\t\tcc: 'EE',\r\n\t\tname_en: 'Estonia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Эстония ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+372-###-####',\r\n\t\tcpc: '372',\r\n\t\tcc: 'EE',\r\n\t\tname_en: 'Estonia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Эстония',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+20(###)###-####',\r\n\t\tcpc: '20',\r\n\t\tcc: 'EG',\r\n\t\tname_en: 'Egypt',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Египет',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+291-#-###-###',\r\n\t\tcpc: '291',\r\n\t\tcc: 'ER',\r\n\t\tname_en: 'Eritrea',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Эритрея',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+34(###)###-###',\r\n\t\tcpc: '34',\r\n\t\tcc: 'ES',\r\n\t\tname_en: 'Spain',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Испания',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+251-##-###-####',\r\n\t\tcpc: '251',\r\n\t\tcc: 'ET',\r\n\t\tname_en: 'Ethiopia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Эфиопия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+358(###)###-##-##',\r\n\t\tcpc: '358',\r\n\t\tcc: 'FI',\r\n\t\tname_en: 'Finland',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Финляндия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+679-##-#####',\r\n\t\tcpc: '679',\r\n\t\tcc: 'FJ',\r\n\t\tname_en: 'Fiji',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Фиджи',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+500-#####',\r\n\t\tcpc: '500',\r\n\t\tcc: 'FK',\r\n\t\tname_en: 'Falkland Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Фолклендские острова',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+691-###-####',\r\n\t\tcpc: '691',\r\n\t\tcc: 'FM',\r\n\t\tname_en: 'F.S. Micronesia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ф.Ш. Микронезии',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+298-###-###',\r\n\t\tcpc: '298',\r\n\t\tcc: 'FO',\r\n\t\tname_en: 'Faroe Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Фарерские острова',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+262-#####-####',\r\n\t\tcpc: '262',\r\n\t\tcc: 'FR',\r\n\t\tname_en: 'Mayotte',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Майотта',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+33(###)###-###',\r\n\t\tcpc: '33',\r\n\t\tcc: 'FR',\r\n\t\tname_en: 'France',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Франция',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+508-##-####',\r\n\t\tcpc: '508',\r\n\t\tcc: 'FR',\r\n\t\tname_en: 'St Pierre & Miquelon',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сен-Пьер и Микелон',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+590(###)###-###',\r\n\t\tcpc: '590',\r\n\t\tcc: 'FR',\r\n\t\tname_en: 'Guadeloupe',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гваделупа',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+241-#-##-##-##',\r\n\t\tcpc: '241',\r\n\t\tcc: 'GA',\r\n\t\tname_en: 'Gabon',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Габон',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(473)###-####',\r\n\t\tcpc: '1473',\r\n\t\tcc: 'GD',\r\n\t\tname_en: 'Grenada',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гренада',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+995(###)###-###',\r\n\t\tcpc: '995',\r\n\t\tcc: 'GE',\r\n\t\tname_en: 'Rep. of Georgia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Грузия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+594-#####-####',\r\n\t\tcpc: '594',\r\n\t\tcc: 'GF',\r\n\t\tname_en: 'Guiana (French)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Фр. Гвиана',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+233(###)###-###',\r\n\t\tcpc: '233',\r\n\t\tcc: 'GH',\r\n\t\tname_en: 'Ghana',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гана',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+350-###-#####',\r\n\t\tcpc: '350',\r\n\t\tcc: 'GI',\r\n\t\tname_en: 'Gibraltar',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гибралтар',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+299-##-##-##',\r\n\t\tcpc: '299',\r\n\t\tcc: 'GL',\r\n\t\tname_en: 'Greenland',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гренландия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+220(###)##-##',\r\n\t\tcpc: '220',\r\n\t\tcc: 'GM',\r\n\t\tname_en: 'Gambia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гамбия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+224-##-###-###',\r\n\t\tcpc: '224',\r\n\t\tcc: 'GN',\r\n\t\tname_en: 'Guinea',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гвинея',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+224-###-###-###',\r\n\t\tcpc: '224',\r\n\t\tcc: 'GN',\r\n\t\tname_en: 'Guinea',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гвинея',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+240-##-###-####',\r\n\t\tcpc: '240',\r\n\t\tcc: 'GQ',\r\n\t\tname_en: 'Equatorial Guinea',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Экваториальная Гвинея',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+30(###)###-####',\r\n\t\tcpc: '30',\r\n\t\tcc: 'GR',\r\n\t\tname_en: 'Greece',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Греция',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+502-#-###-####',\r\n\t\tcpc: '502',\r\n\t\tcc: 'GT',\r\n\t\tname_en: 'Guatemala',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гватемала',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(671)###-####',\r\n\t\tcpc: '1671',\r\n\t\tcc: 'GU',\r\n\t\tname_en: 'Guam',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гуам',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+245-#-######',\r\n\t\tcpc: '245',\r\n\t\tcc: 'GW',\r\n\t\tname_en: 'Guinea-Bissau',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гвинея-Бисау',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+592-###-####',\r\n\t\tcpc: '592',\r\n\t\tcc: 'GY',\r\n\t\tname_en: 'Guyana',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гайана',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+852-####-####',\r\n\t\tcpc: '852',\r\n\t\tcc: 'HK',\r\n\t\tname_en: 'Hong Kong',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гонконг',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+504-####-####',\r\n\t\tcpc: '504',\r\n\t\tcc: 'HN',\r\n\t\tname_en: 'Honduras',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гондурас',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+385-##-###-###',\r\n\t\tcpc: '385',\r\n\t\tcc: 'HR',\r\n\t\tname_en: 'Croatia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Хорватия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+385-##-###-####',\r\n\t\tcpc: '385',\r\n\t\tcc: 'HR',\r\n\t\tname_en: 'Croatia',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Хорватия',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+509-##-##-####',\r\n\t\tcpc: '509',\r\n\t\tcc: 'HT',\r\n\t\tname_en: 'Haiti',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Гаити',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+36(###)###-###',\r\n\t\tcpc: '36',\r\n\t\tcc: 'HU',\r\n\t\tname_en: 'Hungary',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Венгрия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+62(8##)###-####',\r\n\t\tcpc: '628',\r\n\t\tcc: 'ID',\r\n\t\tname_en: 'Indonesia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Индонезия ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+62-##-###-##',\r\n\t\tcpc: '62',\r\n\t\tcc: 'ID',\r\n\t\tname_en: 'Indonesia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Индонезия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+62-##-###-###',\r\n\t\tcpc: '62',\r\n\t\tcc: 'ID',\r\n\t\tname_en: 'Indonesia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Индонезия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+62-##-###-####',\r\n\t\tcpc: '62',\r\n\t\tcc: 'ID',\r\n\t\tname_en: 'Indonesia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Индонезия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+62(8##)###-###',\r\n\t\tcpc: '628',\r\n\t\tcc: 'ID',\r\n\t\tname_en: 'Indonesia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Индонезия ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+62(8##)###-##-###',\r\n\t\tcpc: '628',\r\n\t\tcc: 'ID',\r\n\t\tname_en: 'Indonesia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Индонезия ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+353(###)###-###',\r\n\t\tcpc: '353',\r\n\t\tcc: 'IE',\r\n\t\tname_en: 'Ireland',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ирландия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+972-5#-###-####',\r\n\t\tcpc: '9725',\r\n\t\tcc: 'IL',\r\n\t\tname_en: 'Israel ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Израиль ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+972-#-###-####',\r\n\t\tcpc: '972',\r\n\t\tcc: 'IL',\r\n\t\tname_en: 'Israel',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Израиль',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+91(####)###-###',\r\n\t\tcpc: '91',\r\n\t\tcc: 'IN',\r\n\t\tname_en: 'India',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Индия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+246-###-####',\r\n\t\tcpc: '246',\r\n\t\tcc: 'IO',\r\n\t\tname_en: 'Diego Garcia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Диего-Гарсия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+964(###)###-####',\r\n\t\tcpc: '964',\r\n\t\tcc: 'IQ',\r\n\t\tname_en: 'Iraq',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ирак',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+98(###)###-####',\r\n\t\tcpc: '98',\r\n\t\tcc: 'IR',\r\n\t\tname_en: 'Iran',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Иран',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+354-###-####',\r\n\t\tcpc: '354',\r\n\t\tcc: 'IS',\r\n\t\tname_en: 'Iceland',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Исландия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+39(###)####-###',\r\n\t\tcpc: '39',\r\n\t\tcc: 'IT',\r\n\t\tname_en: 'Italy',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Италия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(876)###-####',\r\n\t\tcpc: '1876',\r\n\t\tcc: 'JM',\r\n\t\tname_en: 'Jamaica',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ямайка',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+962-#-####-####',\r\n\t\tcpc: '962',\r\n\t\tcc: 'JO',\r\n\t\tname_en: 'Jordan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Иордания',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+81-##-####-####',\r\n\t\tcpc: '81',\r\n\t\tcc: 'JP',\r\n\t\tname_en: 'Japan ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Япония ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+81(###)###-###',\r\n\t\tcpc: '81',\r\n\t\tcc: 'JP',\r\n\t\tname_en: 'Japan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Япония',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+254-###-######',\r\n\t\tcpc: '254',\r\n\t\tcc: 'KE',\r\n\t\tname_en: 'Kenya',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Кения',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+996(###)###-###',\r\n\t\tcpc: '996',\r\n\t\tcc: 'KG',\r\n\t\tname_en: 'Kyrgyzstan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Киргизия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+855-###-###-###',\r\n\t\tcpc: '855',\r\n\t\tcc: 'KH',\r\n\t\tname_en: 'Cambodia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Камбоджа',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+855-###-###-####',\r\n\t\tcpc: '855',\r\n\t\tcc: 'KH',\r\n\t\tname_en: 'Cambodia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Камбоджа',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+855-##-###-###',\r\n\t\tcpc: '855',\r\n\t\tcc: 'KH',\r\n\t\tname_en: 'Cambodia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Камбоджа',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+686-##-###',\r\n\t\tcpc: '686',\r\n\t\tcc: 'KI',\r\n\t\tname_en: 'Kiribati',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Кирибати',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+269-##-#####',\r\n\t\tcpc: '269',\r\n\t\tcc: 'KM',\r\n\t\tname_en: 'Comoros',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Коморы',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(869)###-####',\r\n\t\tcpc: '1869',\r\n\t\tcc: 'KN',\r\n\t\tname_en: 'Saint Kitts & Nevis',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сент-Китс и Невис',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+850-191-###-####',\r\n\t\tcpc: '850191',\r\n\t\tcc: 'KP',\r\n\t\tname_en: 'DPR Korea (North) ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Корейская НДР ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+850-##-###-###',\r\n\t\tcpc: '850',\r\n\t\tcc: 'KP',\r\n\t\tname_en: 'DPR Korea (North)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Корейская НДР',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+850-###-####-###',\r\n\t\tcpc: '850',\r\n\t\tcc: 'KP',\r\n\t\tname_en: 'DPR Korea (North)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Корейская НДР',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+850-###-###',\r\n\t\tcpc: '850',\r\n\t\tcc: 'KP',\r\n\t\tname_en: 'DPR Korea (North)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Корейская НДР',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+850-####-####',\r\n\t\tcpc: '850',\r\n\t\tcc: 'KP',\r\n\t\tname_en: 'DPR Korea (North)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Корейская НДР',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+850-####-#############',\r\n\t\tcpc: '850',\r\n\t\tcc: 'KP',\r\n\t\tname_en: 'DPR Korea (North)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Корейская НДР',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+82-##-########',\r\n\t\tcpc: '82',\r\n\t\tcc: 'KR',\r\n\t\tname_en: 'Korea (South)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Респ. Корея',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+965-####-####',\r\n\t\tcpc: '965',\r\n\t\tcc: 'KW',\r\n\t\tname_en: 'Kuwait',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Кувейт',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(345)###-####',\r\n\t\tcpc: '1345',\r\n\t\tcc: 'KY',\r\n\t\tname_en: 'Cayman Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Каймановы острова',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+7(6##)###-##-##',\r\n\t\tcpc: '76',\r\n\t\tcc: 'KZ',\r\n\t\tname_en: 'Kazakhstan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Казахстан',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+7(7##)###-##-##',\r\n\t\tcpc: '77',\r\n\t\tcc: 'KZ',\r\n\t\tname_en: 'Kazakhstan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Казахстан',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+856(20##)###-###',\r\n\t\tcpc: '85620',\r\n\t\tcc: 'LA',\r\n\t\tname_en: 'Laos ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Лаос ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+856-##-###-###',\r\n\t\tcpc: '856',\r\n\t\tcc: 'LA',\r\n\t\tname_en: 'Laos',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Лаос',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+961-##-###-###',\r\n\t\tcpc: '961',\r\n\t\tcc: 'LB',\r\n\t\tname_en: 'Lebanon ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Ливан ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+961-#-###-###',\r\n\t\tcpc: '961',\r\n\t\tcc: 'LB',\r\n\t\tname_en: 'Lebanon',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ливан',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(758)###-####',\r\n\t\tcpc: '1758',\r\n\t\tcc: 'LC',\r\n\t\tname_en: 'Saint Lucia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сент-Люсия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+423(###)###-####',\r\n\t\tcpc: '423',\r\n\t\tcc: 'LI',\r\n\t\tname_en: 'Liechtenstein',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Лихтенштейн',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+94-##-###-####',\r\n\t\tcpc: '94',\r\n\t\tcc: 'LK',\r\n\t\tname_en: 'Sri Lanka',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Шри-Ланка',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+231-##-###-###',\r\n\t\tcpc: '231',\r\n\t\tcc: 'LR',\r\n\t\tname_en: 'Liberia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Либерия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+266-#-###-####',\r\n\t\tcpc: '266',\r\n\t\tcc: 'LS',\r\n\t\tname_en: 'Lesotho',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Лесото',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+370(###)##-###',\r\n\t\tcpc: '370',\r\n\t\tcc: 'LT',\r\n\t\tname_en: 'Lithuania',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Литва',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+352(###)###-###',\r\n\t\tcpc: '352',\r\n\t\tcc: 'LU',\r\n\t\tname_en: 'Luxembourg',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Люксембург',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+371-##-###-###',\r\n\t\tcpc: '371',\r\n\t\tcc: 'LV',\r\n\t\tname_en: 'Latvia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Латвия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+218-##-###-####',\r\n\t\tcpc: '218',\r\n\t\tcc: 'LY',\r\n\t\tname_en: 'Libya',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ливия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+212-##-####-###',\r\n\t\tcpc: '212',\r\n\t\tcc: 'MA',\r\n\t\tname_en: 'Morocco',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Марокко',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+377(###)###-###',\r\n\t\tcpc: '377',\r\n\t\tcc: 'MC',\r\n\t\tname_en: 'Monaco',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Монако',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+377-##-###-###',\r\n\t\tcpc: '377',\r\n\t\tcc: 'MC',\r\n\t\tname_en: 'Monaco',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Монако',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+373-####-####',\r\n\t\tcpc: '373',\r\n\t\tcc: 'MD',\r\n\t\tname_en: 'Moldova',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Молдова',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+382-##-###-###',\r\n\t\tcpc: '382',\r\n\t\tcc: 'ME',\r\n\t\tname_en: 'Montenegro',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Черногория',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+261-##-##-#####',\r\n\t\tcpc: '261',\r\n\t\tcc: 'MG',\r\n\t\tname_en: 'Madagascar',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мадагаскар',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+692-###-####',\r\n\t\tcpc: '692',\r\n\t\tcc: 'MH',\r\n\t\tname_en: 'Marshall Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Маршалловы Острова',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+389-##-###-###',\r\n\t\tcpc: '389',\r\n\t\tcc: 'MK',\r\n\t\tname_en: 'Republic of Macedonia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Респ. Македония',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+223-##-##-####',\r\n\t\tcpc: '223',\r\n\t\tcc: 'ML',\r\n\t\tname_en: 'Mali',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мали',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+95-##-###-###',\r\n\t\tcpc: '95',\r\n\t\tcc: 'MM',\r\n\t\tname_en: 'Burma (Myanmar)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бирма (Мьянма)',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+95-#-###-###',\r\n\t\tcpc: '95',\r\n\t\tcc: 'MM',\r\n\t\tname_en: 'Burma (Myanmar)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бирма (Мьянма)',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+95-###-###',\r\n\t\tcpc: '95',\r\n\t\tcc: 'MM',\r\n\t\tname_en: 'Burma (Myanmar)',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Бирма (Мьянма)',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+976-##-##-####',\r\n\t\tcpc: '976',\r\n\t\tcc: 'MN',\r\n\t\tname_en: 'Mongolia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Монголия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+853-####-####',\r\n\t\tcpc: '853',\r\n\t\tcc: 'MO',\r\n\t\tname_en: 'Macau',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Макао',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(670)###-####',\r\n\t\tcpc: '1670',\r\n\t\tcc: 'MP',\r\n\t\tname_en: 'Northern Mariana Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Северные Марианские острова Сайпан',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+596(###)##-##-##',\r\n\t\tcpc: '596',\r\n\t\tcc: 'MQ',\r\n\t\tname_en: 'Martinique',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мартиника',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+222-##-##-####',\r\n\t\tcpc: '222',\r\n\t\tcc: 'MR',\r\n\t\tname_en: 'Mauritania',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мавритания',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+1(664)###-####',\r\n\t\tcpc: '1664',\r\n\t\tcc: 'MS',\r\n\t\tname_en: 'Montserrat',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Монтсеррат',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+356-####-####',\r\n\t\tcpc: '356',\r\n\t\tcc: 'MT',\r\n\t\tname_en: 'Malta',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мальта',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+230-###-####',\r\n\t\tcpc: '230',\r\n\t\tcc: 'MU',\r\n\t\tname_en: 'Mauritius',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Маврикий',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+960-###-####',\r\n\t\tcpc: '960',\r\n\t\tcc: 'MV',\r\n\t\tname_en: 'Maldives',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мальдивские острова',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+265-1-###-###',\r\n\t\tcpc: '2651',\r\n\t\tcc: 'MW',\r\n\t\tname_en: 'Malawi',\r\n\t\tdesc_en: 'Telecom Ltd',\r\n\t\tname_ru: 'Малави',\r\n\t\tdesc_ru: 'Telecom Ltd'\r\n\t}, {\r\n\t\tmask: '+265-#-####-####',\r\n\t\tcpc: '265',\r\n\t\tcc: 'MW',\r\n\t\tname_en: 'Malawi',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Малави',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+52-55-########',\r\n\t\tcpc: '5255',\r\n\t\tcc: 'MX',\r\n\t\tname_en: 'Mexico',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мексика',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+52-81-########',\r\n\t\tcpc: '5281',\r\n\t\tcc: 'MX',\r\n\t\tname_en: 'Mexico',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мексика',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+52-33-########',\r\n\t\tcpc: '5233',\r\n\t\tcc: 'MX',\r\n\t\tname_en: 'Mexico',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мексика',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+52-###-#######',\r\n\t\tcpc: '52',\r\n\t\tcc: 'MX',\r\n\t\tname_en: 'Mexico',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мексика',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+60-##-###-####',\r\n\t\tcpc: '60',\r\n\t\tcc: 'MY',\r\n\t\tname_en: 'Malaysia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Малайзия ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+60-##-####-####',\r\n\t\tcpc: '60',\r\n\t\tcc: 'MY',\r\n\t\tname_en: 'Malaysia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Малайзия ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+60-3-####-####',\r\n\t\tcpc: '60',\r\n\t\tcc: 'MY',\r\n\t\tname_en: 'Malaysia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Малайзия ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+60-3-####-#####',\r\n\t\tcpc: '60',\r\n\t\tcc: 'MY',\r\n\t\tname_en: 'Malaysia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Малайзия ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+258-##-###-###',\r\n\t\tcpc: '258',\r\n\t\tcc: 'MZ',\r\n\t\tname_en: 'Mozambique',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Мозамбик',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+264-##-###-####',\r\n\t\tcpc: '264',\r\n\t\tcc: 'NA',\r\n\t\tname_en: 'Namibia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Намибия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+687-##-####',\r\n\t\tcpc: '687',\r\n\t\tcc: 'NC',\r\n\t\tname_en: 'New Caledonia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Новая Каледония',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+227-##-##-####',\r\n\t\tcpc: '227',\r\n\t\tcc: 'NE',\r\n\t\tname_en: 'Niger',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Нигер',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+672-3##-###',\r\n\t\tcpc: '6723',\r\n\t\tcc: 'NF',\r\n\t\tname_en: 'Norfolk Island',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Норфолк (остров)',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+234(###)###-####',\r\n\t\tcpc: '234',\r\n\t\tcc: 'NG',\r\n\t\tname_en: 'Nigeria',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Нигерия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+234-##-###-###',\r\n\t\tcpc: '234',\r\n\t\tcc: 'NG',\r\n\t\tname_en: 'Nigeria',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Нигерия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+234-##-###-##',\r\n\t\tcpc: '234',\r\n\t\tcc: 'NG',\r\n\t\tname_en: 'Nigeria',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Нигерия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+234(###)###-####',\r\n\t\tcpc: '234',\r\n\t\tcc: 'NG',\r\n\t\tname_en: 'Nigeria ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Нигерия ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+505-####-####',\r\n\t\tcpc: '505',\r\n\t\tcc: 'NI',\r\n\t\tname_en: 'Nicaragua',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Никарагуа',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+31-##-###-####',\r\n\t\tcpc: '31',\r\n\t\tcc: 'NL',\r\n\t\tname_en: 'Netherlands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Нидерланды',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+47(###)##-###',\r\n\t\tcpc: '47',\r\n\t\tcc: 'NO',\r\n\t\tname_en: 'Norway',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Норвегия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+977-##-###-###',\r\n\t\tcpc: '977',\r\n\t\tcc: 'NP',\r\n\t\tname_en: 'Nepal',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Непал',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+674-###-####',\r\n\t\tcpc: '674',\r\n\t\tcc: 'NR',\r\n\t\tname_en: 'Nauru',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Науру',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+683-####',\r\n\t\tcpc: '683',\r\n\t\tcc: 'NU',\r\n\t\tname_en: 'Niue',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ниуэ',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+64(###)###-###',\r\n\t\tcpc: '64',\r\n\t\tcc: 'NZ',\r\n\t\tname_en: 'New Zealand',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Новая Зеландия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+64-##-###-###',\r\n\t\tcpc: '64',\r\n\t\tcc: 'NZ',\r\n\t\tname_en: 'New Zealand',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Новая Зеландия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+64(###)###-####',\r\n\t\tcpc: '64',\r\n\t\tcc: 'NZ',\r\n\t\tname_en: 'New Zealand',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Новая Зеландия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+968-##-###-###',\r\n\t\tcpc: '968',\r\n\t\tcc: 'OM',\r\n\t\tname_en: 'Oman',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Оман',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+507-###-####',\r\n\t\tcpc: '507',\r\n\t\tcc: 'PA',\r\n\t\tname_en: 'Panama',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Панама',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+51(###)###-###',\r\n\t\tcpc: '51',\r\n\t\tcc: 'PE',\r\n\t\tname_en: 'Peru',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Перу',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+689-##-##-##',\r\n\t\tcpc: '689',\r\n\t\tcc: 'PF',\r\n\t\tname_en: 'French Polynesia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Французская Полинезия (Таити)',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+675(###)##-###',\r\n\t\tcpc: '675',\r\n\t\tcc: 'PG',\r\n\t\tname_en: 'Papua New Guinea',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Папуа-Новая Гвинея',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+63(###)###-####',\r\n\t\tcpc: '63',\r\n\t\tcc: 'PH',\r\n\t\tname_en: 'Philippines',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Филиппины',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+92(###)###-####',\r\n\t\tcpc: '92',\r\n\t\tcc: 'PK',\r\n\t\tname_en: 'Pakistan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Пакистан',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+48(###)###-###',\r\n\t\tcpc: '48',\r\n\t\tcc: 'PL',\r\n\t\tname_en: 'Poland',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Польша',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+970-##-###-####',\r\n\t\tcpc: '970',\r\n\t\tcc: 'PS',\r\n\t\tname_en: 'Palestine',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Палестина',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+351-##-###-####',\r\n\t\tcpc: '351',\r\n\t\tcc: 'PT',\r\n\t\tname_en: 'Portugal',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Португалия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+680-###-####',\r\n\t\tcpc: '680',\r\n\t\tcc: 'PW',\r\n\t\tname_en: 'Palau',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Палау',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+595(###)###-###',\r\n\t\tcpc: '595',\r\n\t\tcc: 'PY',\r\n\t\tname_en: 'Paraguay',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Парагвай',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+974-####-####',\r\n\t\tcpc: '974',\r\n\t\tcc: 'QA',\r\n\t\tname_en: 'Qatar',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Катар',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+262-#####-####',\r\n\t\tcpc: '262',\r\n\t\tcc: 'RE',\r\n\t\tname_en: 'Reunion',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Реюньон',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+40-##-###-####',\r\n\t\tcpc: '40',\r\n\t\tcc: 'RO',\r\n\t\tname_en: 'Romania',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Румыния',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+381-##-###-####',\r\n\t\tcpc: '381',\r\n\t\tcc: 'RS',\r\n\t\tname_en: 'Serbia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сербия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+7(###)###-##-##',\r\n\t\tcpc: '7',\r\n\t\tcc: 'RU',\r\n\t\tname_en: 'Russia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Россия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+250(###)###-###',\r\n\t\tcpc: '250',\r\n\t\tcc: 'RW',\r\n\t\tname_en: 'Rwanda',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Руанда',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+966-5-####-####',\r\n\t\tcpc: '9665',\r\n\t\tcc: 'SA',\r\n\t\tname_en: 'Saudi Arabia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Саудовская Аравия ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+966-#-###-####',\r\n\t\tcpc: '966',\r\n\t\tcc: 'SA',\r\n\t\tname_en: 'Saudi Arabia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Саудовская Аравия',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+677-###-####',\r\n\t\tcpc: '677',\r\n\t\tcc: 'SB',\r\n\t\tname_en: 'Solomon Islands ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Соломоновы Острова ',\r\n\t\tdesc_ru: 'мобильные'\r\n\t}, {\r\n\t\tmask: '+677-#####',\r\n\t\tcpc: '677',\r\n\t\tcc: 'SB',\r\n\t\tname_en: 'Solomon Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Соломоновы Острова',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+248-#-###-###',\r\n\t\tcpc: '248',\r\n\t\tcc: 'SC',\r\n\t\tname_en: 'Seychelles',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сейшелы',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+249-##-###-####',\r\n\t\tcpc: '249',\r\n\t\tcc: 'SD',\r\n\t\tname_en: 'Sudan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Судан',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+46-##-###-####',\r\n\t\tcpc: '46',\r\n\t\tcc: 'SE',\r\n\t\tname_en: 'Sweden',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Швеция',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+65-####-####',\r\n\t\tcpc: '65',\r\n\t\tcc: 'SG',\r\n\t\tname_en: 'Singapore',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сингапур',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+290-####',\r\n\t\tcpc: '290',\r\n\t\tcc: 'SH',\r\n\t\tname_en: 'Saint Helena',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Остров Святой Елены',\r\n\t\tdesc_ru: ''\r\n\t}, {\r\n\t\tmask: '+290-####',\r\n\t\tcpc: '290',\r\n\t\tcc: 'SH',\r\n\t\tname_en: 'Tristan da Cunha',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тристан-да-Кунья',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+386-##-###-###',\r\n\t\tcpc: '386',\r\n\t\tcc: 'SI',\r\n\t\tname_en: 'Slovenia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Словения',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+421(###)###-###',\r\n\t\tcpc: '421',\r\n\t\tcc: 'SK',\r\n\t\tname_en: 'Slovakia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Словакия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+232-##-######',\r\n\t\tcpc: '232',\r\n\t\tcc: 'SL',\r\n\t\tname_en: 'Sierra Leone',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сьерра-Леоне',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+378-####-######',\r\n\t\tcpc: '378',\r\n\t\tcc: 'SM',\r\n\t\tname_en: 'San Marino',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сан-Марино',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+221-##-###-####',\r\n\t\tcpc: '221',\r\n\t\tcc: 'SN',\r\n\t\tname_en: 'Senegal',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сенегал',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+252-##-###-###',\r\n\t\tcpc: '252',\r\n\t\tcc: 'SO',\r\n\t\tname_en: 'Somalia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сомали',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+252-#-###-###',\r\n\t\tcpc: '252',\r\n\t\tcc: 'SO',\r\n\t\tname_en: 'Somalia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сомали',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+252-#-###-###',\r\n\t\tcpc: '252',\r\n\t\tcc: 'SO',\r\n\t\tname_en: 'Somalia ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Сомали ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+597-###-####',\r\n\t\tcpc: '597',\r\n\t\tcc: 'SR',\r\n\t\tname_en: 'Suriname ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Суринам ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+597-###-###',\r\n\t\tcpc: '597',\r\n\t\tcc: 'SR',\r\n\t\tname_en: 'Suriname',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Суринам',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+211-##-###-####',\r\n\t\tcpc: '211',\r\n\t\tcc: 'SS',\r\n\t\tname_en: 'South Sudan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Южный Судан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+239-##-#####',\r\n\t\tcpc: '239',\r\n\t\tcc: 'ST',\r\n\t\tname_en: 'Sao Tome and Principe',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сан-Томе и Принсипи',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+503-##-##-####',\r\n\t\tcpc: '503',\r\n\t\tcc: 'SV',\r\n\t\tname_en: 'El Salvador',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сальвадор',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(721)###-####',\r\n\t\tcpc: '1721',\r\n\t\tcc: 'SX',\r\n\t\tname_en: 'Sint Maarten',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Синт-Маартен',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+963-##-####-###',\r\n\t\tcpc: '963',\r\n\t\tcc: 'SY',\r\n\t\tname_en: 'Syrian Arab Republic',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сирийская арабская республика',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+268-##-##-####',\r\n\t\tcpc: '268',\r\n\t\tcc: 'SZ',\r\n\t\tname_en: 'Swaziland',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Свазиленд',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(649)###-####',\r\n\t\tcpc: '1649',\r\n\t\tcc: 'TC',\r\n\t\tname_en: 'Turks & Caicos',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тёркс и Кайкос',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+235-##-##-##-##',\r\n\t\tcpc: '235',\r\n\t\tcc: 'TD',\r\n\t\tname_en: 'Chad',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Чад',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+228-##-###-###',\r\n\t\tcpc: '228',\r\n\t\tcc: 'TG',\r\n\t\tname_en: 'Togo',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Того',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+66-##-###-####',\r\n\t\tcpc: '66',\r\n\t\tcc: 'TH',\r\n\t\tname_en: 'Thailand ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Таиланд ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+66-##-###-###',\r\n\t\tcpc: '66',\r\n\t\tcc: 'TH',\r\n\t\tname_en: 'Thailand',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Таиланд',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+992-##-###-####',\r\n\t\tcpc: '992',\r\n\t\tcc: 'TJ',\r\n\t\tname_en: 'Tajikistan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Таджикистан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+690-####',\r\n\t\tcpc: '690',\r\n\t\tcc: 'TK',\r\n\t\tname_en: 'Tokelau',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Токелау',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+670-###-####',\r\n\t\tcpc: '670',\r\n\t\tcc: 'TL',\r\n\t\tname_en: 'East Timor',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Восточный Тимор',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+670-77#-#####',\r\n\t\tcpc: '67077',\r\n\t\tcc: 'TL',\r\n\t\tname_en: 'East Timor',\r\n\t\tdesc_en: 'Timor Telecom',\r\n\t\tname_ru: 'Восточный Тимор',\r\n\t\tdesc_ru: 'Timor Telecom',\r\n\t}, {\r\n\t\tmask: '+670-78#-#####',\r\n\t\tcpc: '67078',\r\n\t\tcc: 'TL',\r\n\t\tname_en: 'East Timor',\r\n\t\tdesc_en: 'Timor Telecom',\r\n\t\tname_ru: 'Восточный Тимор',\r\n\t\tdesc_ru: 'Timor Telecom',\r\n\t}, {\r\n\t\tmask: '+993-#-###-####',\r\n\t\tcpc: '993',\r\n\t\tcc: 'TM',\r\n\t\tname_en: 'Turkmenistan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Туркменистан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+216-##-###-###',\r\n\t\tcpc: '216',\r\n\t\tcc: 'TN',\r\n\t\tname_en: 'Tunisia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тунис',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+676-#####',\r\n\t\tcpc: '676',\r\n\t\tcc: 'TO',\r\n\t\tname_en: 'Tonga',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тонга',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+90(###)###-####',\r\n\t\tcpc: '90',\r\n\t\tcc: 'TR',\r\n\t\tname_en: 'Turkey',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Турция',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(868)###-####',\r\n\t\tcpc: '1868',\r\n\t\tcc: 'TT',\r\n\t\tname_en: 'Trinidad & Tobago',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тринидад и Тобаго',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+688-90####',\r\n\t\tcpc: '68890',\r\n\t\tcc: 'TV',\r\n\t\tname_en: 'Tuvalu ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Тувалу ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+688-2####',\r\n\t\tcpc: '6882',\r\n\t\tcc: 'TV',\r\n\t\tname_en: 'Tuvalu',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тувалу',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+886-#-####-####',\r\n\t\tcpc: '886',\r\n\t\tcc: 'TW',\r\n\t\tname_en: 'Taiwan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тайвань',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+886-####-####',\r\n\t\tcpc: '886',\r\n\t\tcc: 'TW',\r\n\t\tname_en: 'Taiwan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Тайвань',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+255-##-###-####',\r\n\t\tcpc: '255',\r\n\t\tcc: 'TZ',\r\n\t\tname_en: 'Tanzania',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Танзания',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+380(##)###-##-##',\r\n\t\tcpc: '380',\r\n\t\tcc: 'UA',\r\n\t\tname_en: 'Ukraine',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Украина',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+256(###)###-###',\r\n\t\tcpc: '256',\r\n\t\tcc: 'UG',\r\n\t\tname_en: 'Uganda',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Уганда',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+44-##-####-####',\r\n\t\tcpc: '44',\r\n\t\tcc: 'UK',\r\n\t\tname_en: 'United Kingdom',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Великобритания',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+44-##-####-#####',\r\n\t\tcpc: '44',\r\n\t\tcc: 'UK',\r\n\t\tname_en: 'United Kingdom',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Великобритания',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+598-#-###-##-##',\r\n\t\tcpc: '598',\r\n\t\tcc: 'UY',\r\n\t\tname_en: 'Uruguay',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Уругвай',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+998-##-###-####',\r\n\t\tcpc: '998',\r\n\t\tcc: 'UZ',\r\n\t\tname_en: 'Uzbekistan',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Узбекистан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+39-6-698-#####',\r\n\t\tcpc: '396698',\r\n\t\tcc: 'VA',\r\n\t\tname_en: 'Vatican City',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Ватикан',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(784)###-####',\r\n\t\tcpc: '1784',\r\n\t\tcc: 'VC',\r\n\t\tname_en: 'Saint Vincent & the Grenadines',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Сент-Винсент и Гренадины',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+58(###)###-####',\r\n\t\tcpc: '58',\r\n\t\tcc: 'VE',\r\n\t\tname_en: 'Venezuela',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Венесуэла',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(284)###-####',\r\n\t\tcpc: '1284',\r\n\t\tcc: 'VG',\r\n\t\tname_en: 'British Virgin Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Британские Виргинские острова',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+1(340)###-####',\r\n\t\tcpc: '1340',\r\n\t\tcc: 'VI',\r\n\t\tname_en: 'US Virgin Islands',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Американские Виргинские острова',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+84-##-####-###',\r\n\t\tcpc: '84',\r\n\t\tcc: 'VN',\r\n\t\tname_en: 'Vietnam',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Вьетнам',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+84(###)####-###',\r\n\t\tcpc: '84',\r\n\t\tcc: 'VN',\r\n\t\tname_en: 'Vietnam',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Вьетнам',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+678-##-#####',\r\n\t\tcpc: '678',\r\n\t\tcc: 'VU',\r\n\t\tname_en: 'Vanuatu ',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Вануату ',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+678-#####',\r\n\t\tcpc: '678',\r\n\t\tcc: 'VU',\r\n\t\tname_en: 'Vanuatu',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Вануату',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+681-##-####',\r\n\t\tcpc: '681',\r\n\t\tcc: 'WF',\r\n\t\tname_en: 'Wallis and Futuna',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Уоллис и Футуна',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+685-##-####',\r\n\t\tcpc: '685',\r\n\t\tcc: 'WS',\r\n\t\tname_en: 'Samoa',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Самоа',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+967-###-###-###',\r\n\t\tcpc: '967',\r\n\t\tcc: 'YE',\r\n\t\tname_en: 'Yemen',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Йемен',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+967-#-###-###',\r\n\t\tcpc: '967',\r\n\t\tcc: 'YE',\r\n\t\tname_en: 'Yemen',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Йемен',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+967-##-###-###',\r\n\t\tcpc: '967',\r\n\t\tcc: 'YE',\r\n\t\tname_en: 'Yemen',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Йемен',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+27-##-###-####',\r\n\t\tcpc: '27',\r\n\t\tcc: 'ZA',\r\n\t\tname_en: 'South Africa',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Южно-Африканская Респ.',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+260-##-###-####',\r\n\t\tcpc: '260',\r\n\t\tcc: 'ZM',\r\n\t\tname_en: 'Zambia',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Замбия',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+263-##-######',\r\n\t\tcpc: '263',\r\n\t\tcc: 'ZW',\r\n\t\tname_en: 'Zimbabwe',\r\n\t\tdesc_en: '',\r\n\t\tname_ru: 'Зимбабве',\r\n\t\tdesc_ru: '',\r\n\t}, {\r\n\t\tmask: '+263-###-######',\r\n\t\tcpc: '263',\r\n\t\tcc: 'ZW',\r\n\t\tname_en: 'Zimbabwe',\r\n\t\tdesc_en: 'mobile',\r\n\t\tname_ru: 'Зимбабве',\r\n\t\tdesc_ru: 'мобильные',\r\n\t}, {\r\n\t\tmask: '+263-9-######',\r\n\t\tcpc: '263',\r\n\t\tcc: 'ZW',\r\n\t\tname_en: 'Zimbabwe',\r\n\t\tdesc_en: 'Bulawayo',\r\n\t\tname_ru: 'Зимбабве',\r\n\t\tdesc_ru: 'Булавайо',\r\n\t}, {\r\n\t\tmask: '+263-4-######',\r\n\t\tcpc: '263',\r\n\t\tcc: 'ZW',\r\n\t\tname_en: 'Zimbabwe',\r\n\t\tdesc_en: 'Harare',\r\n\t\tname_ru: 'Зимбабве',\r\n\t\tdesc_ru: 'Хараре',\r\n\t}, {\r\n\t\tmask: '+263-284-######',\r\n\t\tcpc: '263',\r\n\t\tcc: 'ZW',\r\n\t\tname_en: 'Zimbabwe',\r\n\t\tdesc_en: 'Gwanda',\r\n\t\tname_ru: 'Зимбабве',\r\n\t\tdesc_ru: 'Гванда',\r\n\t}, {\r\n\t\tmask: '+263-288-######',\r\n\t\tcpc: '263',\r\n\t\tcc: 'ZW',\r\n\t\tname_en: 'Zimbabwe',\r\n\t\tdesc_en: 'Esigodini',\r\n\t\tname_ru: 'Зимбабве',\r\n\t\tdesc_ru: 'Эсигодини',\r\n\t},\r\n\t{\r\n\t\tmask: '+1(204)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Manitoba',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Манитоба',\r\n\t}, {\r\n\t\tmask: '+1(226)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(249)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(250)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'British Columbia',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Британская Колумбия',\r\n\t}, {\r\n\t\tmask: '+1(289)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(306)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Saskatchewan',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Саскачеван',\r\n\t}, {\r\n\t\tmask: '+1(343)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(403)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Alberta',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Альберта',\r\n\t}, {\r\n\t\tmask: '+1(416)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(418)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Québec',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Квебек',\r\n\t}, {\r\n\t\tmask: '+1(438)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Québec',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Квебек',\r\n\t}, {\r\n\t\tmask: '+1(450)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Québec',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Квебек',\r\n\t}, {\r\n\t\tmask: '+1(506)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'New Brunswick',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Нью-Брансуик',\r\n\t}, {\r\n\t\tmask: '+1(514)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Québec',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Квебек',\r\n\t}, {\r\n\t\tmask: '+1(519)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(579)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Québec',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Квебек',\r\n\t}, {\r\n\t\tmask: '+1(581)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Québec',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Квебек',\r\n\t}, {\r\n\t\tmask: '+1(587)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Alberta',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Альберта',\r\n\t}, {\r\n\t\tmask: '+1(604)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'British Columbia',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Британская Колумбия',\r\n\t}, {\r\n\t\tmask: '+1(613)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио'\r\n\t}, {\r\n\t\tmask: '+1(647)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(705)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(709)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Newfoundland and Labrador',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Ньюфаундленд и Лабрадор',\r\n\t}, {\r\n\t\tmask: '+1(778)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'British Columbia',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Британская Колумбия',\r\n\t}, {\r\n\t\tmask: '+1(780)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Alberta',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Альберта',\r\n\t}, {\r\n\t\tmask: '+1(807)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(819)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Québec',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Квебек',\r\n\t}, {\r\n\t\tmask: '+1(867)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Nunavut',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Нунавут',\r\n\t}, {\r\n\t\tmask: '+1(867)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Northwest Territories',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Северо-Западные территории',\r\n\t}, {\r\n\t\tmask: '+1(867)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Yukon',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Юкон',\r\n\t}, {\r\n\t\tmask: '+1(902)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Nova Scotia',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Новая Шотландия',\r\n\t}, {\r\n\t\tmask: '+1(902)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Prince Edward Island',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Остров Принца Эдуарда',\r\n\t}, {\r\n\t\tmask: '+1(905)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'CA',\r\n\t\tname_en: 'Canada',\r\n\t\tdesc_en: 'Ontario',\r\n\t\tname_ru: 'Канада',\r\n\t\tdesc_ru: 'Онтарио',\r\n\t}, {\r\n\t\tmask: '+1(###)###-####',\r\n\t\tcpc: '1',\r\n\t\tcc: 'US',\r\n\t\tname_en: 'USA',\r\n\t\tdesc_en: 'USA',\r\n\t\tname_ru: 'США',\r\n\t\tdesc_ru: '',\r\n\t},\r\n];\r\nexport default phoneCodes;\r\n","import React from 'react';\r\nimport compose from 'recompose/compose';\r\nimport classNames from 'classnames';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport PropTypes from 'prop-types';\r\nimport { InputPhoneNumber } from '@components';\r\nimport flagsIcon from './flags.png';\r\nimport phoneCssStyles from './flagLargeStyles';\r\n\r\nconst styles = {\r\n\tphoneInputContainer: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tphoneInput: {\r\n\t\twidth: '48px',\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t\tmarginLeft: '24px',\r\n\t},\r\n\tphoneIcon: {\r\n\t\tbackgroundImage: `url(${flagsIcon})`,\r\n\t\tbackgroundRepeat: 'no-repeat',\r\n\t\tbackgroundPosition: '16px 11px',\r\n\t\twidth: '24px',\r\n\t\theight: '17px',\r\n\t\tbackgroundSize: '585px 537px',\r\n\t\t// width: '16px',\r\n\t\t// height: '11px',\r\n\t},\r\n\t...phoneCssStyles,\r\n};\r\n\r\nclass InputPhoneIconNumber extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\tcountryCode: 'none',\r\n\t\t};\r\n\r\n\t\tthis.onInputChange = this.onInputChange.bind(this);\r\n\t}\r\n\r\n\tonInputChange(match) {\r\n\t\tconst newCode = (match && match.determined) ? match.obj.cc : 'none';\r\n\t\tif (newCode !== this.state.countryCode) {\r\n\t\t\tthis.setState({\tcountryCode: newCode });\r\n\t\t}\r\n\t\tthis.props.onPhoneChange(match);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonPhoneChange,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\r\n\t\t);\r\n\t}\r\n}\r\n\r\nInputPhoneIconNumber.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonChange: PropTypes.func.isRequired,\r\n\tonPhoneChange: PropTypes.func.isRequired,\r\n\tqaAttributes: PropTypes.shape({\r\n\t\ttitle: PropTypes.object,\r\n\t\tvalue: PropTypes.object,\r\n\t}),\r\n};\r\n\r\nInputPhoneIconNumber.defaultProps = {\r\n\tqaAttributes: {},\r\n};\r\n\r\nexport default compose(withStyles(styles))(InputPhoneIconNumber);\r\n","module.exports = __webpack_public_path__ + \"content/assets/054551b92567eadd57110aeaabc503fd.png\";","\r\nexport const phoneCssStyles = {\r\n\r\n\tuiFlagAD: {\r\n\t\tbackgroundPosition: '-7px -7px',\r\n\t},\r\n\tuiFlagAE: {\r\n\t\tbackgroundPosition: '-46px -7px',\r\n\t},\r\n\tuiFlagAF: {\r\n\t\tbackgroundPosition: '-85px -7px',\r\n\t},\r\n\tuiFlagAG: {\r\n\t\tbackgroundPosition: '-124px -7px',\r\n\t},\r\n\tuiFlagAI: {\r\n\t\tbackgroundPosition: '-163px -7px',\r\n\t},\r\n\tuiFlagAL: {\r\n\t\tbackgroundPosition: '-202px -7px',\r\n\t},\r\n\r\n\tuiFlagAM: {\r\n\t\tbackgroundPosition: '-241px -7px',\r\n\t},\r\n\tuiFlagAN: {\r\n\t\tbackgroundPosition: '-280px -7px',\r\n\t},\r\n\tuiFlagAO: {\r\n\t\tbackgroundPosition: '-319px -7px',\r\n\t},\r\n\r\n\tuiFlagAR: {\r\n\t\tbackgroundPosition: '-358px -7px',\r\n\t},\r\n\tuiFlagAS: {\r\n\t\tbackgroundPosition: '-397px -7px',\r\n\t},\r\n\tuiFlagAT: {\r\n\t\tbackgroundPosition: '-436px -7px',\r\n\t},\r\n\r\n\tuiFlagAU: {\r\n\t\tbackgroundPosition: '-475px -7px',\r\n\t},\r\n\tuiFlagAW: {\r\n\t\tbackgroundPosition: '-514px -7px',\r\n\t},\r\n\tuiFlagAX: {\r\n\t\tbackgroundPosition: '-7px -39px',\r\n\t},\r\n\r\n\tuiFlagAZ: {\r\n\t\tbackgroundPosition: '-46px -39px',\r\n\t},\r\n\tuiFlagBA: {\r\n\t\tbackgroundPosition: '-85px -39px',\r\n\t},\r\n\tuiFlagBB: {\r\n\t\tbackgroundPosition: '-124px -39px',\r\n\t},\r\n\r\n\tuiFlagBD: {\r\n\t\tbackgroundPosition: '-163px -39px',\r\n\t},\r\n\tuiFlagBE: {\r\n\t\tbackgroundPosition: '-202px -39px',\r\n\t},\r\n\tuiFlagBF: {\r\n\t\tbackgroundPosition: '-241px -39px',\r\n\t},\r\n\r\n\tuiFlagBG: {\r\n\t\tbackgroundPosition: '-280px -39px',\r\n\t},\r\n\tuiFlagBH: {\r\n\t\tbackgroundPosition: '-319px -39px',\r\n\t},\r\n\tuiFlagBI: {\r\n\t\tbackgroundPosition: '-358px -39px',\r\n\t},\r\n\r\n\tuiFlagBJ: {\r\n\t\tbackgroundPosition: '-397px -39px',\r\n\t},\r\n\tuiFlagBM: {\r\n\t\tbackgroundPosition: '-436px -39px',\r\n\t},\r\n\tuiFlagBN: {\r\n\t\tbackgroundPosition: '-475px -39px',\r\n\t},\r\n\r\n\tuiFlagBO: {\r\n\t\tbackgroundPosition: '-514px -39px',\r\n\t},\r\n\tuiFlagBR: {\r\n\t\tbackgroundPosition: '-7px -70px',\r\n\t},\r\n\tuiFlagBS: {\r\n\t\tbackgroundPosition: '-46px -70px',\r\n\t},\r\n\r\n\tuiFlagBT: {\r\n\t\tbackgroundPosition: '-85px -70px',\r\n\t},\r\n\tuiFlagBV: {\r\n\t\tbackgroundPosition: '-124px -70px',\r\n\t},\r\n\tuiFlagBW: {\r\n\t\tbackgroundPosition: '-163px -70px',\r\n\t},\r\n\r\n\r\n\tuiFlagBY: {\r\n\t\tbackgroundPosition: '-202px -70px',\r\n\t},\r\n\tuiFlagBZ: {\r\n\t\tbackgroundPosition: '-241px -70px',\r\n\t},\r\n\tuiFlagCA: {\r\n\t\tbackgroundPosition: '-280px -70px',\r\n\t},\r\n\r\n\tuiFlagcatalonia: {\r\n\t\tbackgroundPosition: '-319px -70px',\r\n\t},\r\n\tuiFlagCC: {\r\n\t\tbackgroundPosition: '-358px -70px',\r\n\t},\r\n\tuiFlagCD: {\r\n\t\tbackgroundPosition: '-397px -70px',\r\n\t},\r\n\r\n\tuiFlagCF: {\r\n\t\tbackgroundPosition: '-436px -70px',\r\n\t},\r\n\tuiFlagCG: {\r\n\t\tbackgroundPosition: '-475px -70px',\r\n\t},\r\n\tuiFlagCH: {\r\n\t\tbackgroundPosition: '-514px -70px',\r\n\t},\r\n\r\n\tuiFlagCI: {\r\n\t\tbackgroundPosition: '-7px -102px',\r\n\t},\r\n\tuiFlagCK: {\r\n\t\tbackgroundPosition: '-46px -102px',\r\n\t},\r\n\tuiFlagCL: {\r\n\t\tbackgroundPosition: '-85px -102px',\r\n\t},\r\n\r\n\tuiFlagCM: {\r\n\t\tbackgroundPosition: '-124px -102px',\r\n\t},\r\n\tuiFlagCN: {\r\n\t\tbackgroundPosition: '-163px -102px',\r\n\t},\r\n\tuiFlagCO: {\r\n\t\tbackgroundPosition: '-202px -102px',\r\n\t},\r\n\r\n\tuiFlagCR: {\r\n\t\tbackgroundPosition: '-241px -102px',\r\n\t},\r\n\tuiFlagCS: {\r\n\t\tbackgroundPosition: '-280px -102px',\r\n\t},\r\n\tuiFlagCU: {\r\n\t\tbackgroundPosition: '-319px -102px',\r\n\t},\r\n\r\n\tuiFlagCV: {\r\n\t\tbackgroundPosition: '-358px -102px',\r\n\t},\r\n\tuiFlagCX: {\r\n\t\tbackgroundPosition: '-397px -102px',\r\n\t},\r\n\tuiFlagCY: {\r\n\t\tbackgroundPosition: '-436px -102px',\r\n\t},\r\n\r\n\tuiFlagCZ: {\r\n\t\tbackgroundPosition: '-475px -102px',\r\n\t},\r\n\tuiFlagDE: {\r\n\t\tbackgroundPosition: '-514px -102px',\r\n\t},\r\n\tuiFlagDJ: {\r\n\t\tbackgroundPosition: '-7px -133px',\r\n\t},\r\n\r\n\r\n\tuiFlagDK: {\r\n\t\tbackgroundPosition: '-46px -133px',\r\n\t},\r\n\tuiFlagDM: {\r\n\t\tbackgroundPosition: '-85px -133px',\r\n\t},\r\n\tuiFlagDO: {\r\n\t\tbackgroundPosition: '-124px -133px',\r\n\t},\r\n\r\n\tuiFlagDZ: {\r\n\t\tbackgroundPosition: '-163px -133px',\r\n\t},\r\n\tuiFlagEC: {\r\n\t\tbackgroundPosition: '-202px -133px',\r\n\t},\r\n\tuiFlagEE: {\r\n\t\tbackgroundPosition: '-241px -133px',\r\n\t},\r\n\r\n\tuiFlagEG: {\r\n\t\tbackgroundPosition: '-280px -133px',\r\n\t},\r\n\tuiFlagEH: {\r\n\t\tbackgroundPosition: '-319px -133px',\r\n\t},\r\n\tuiFlagEN: {\r\n\t\tbackgroundPosition: '-358px -133px',\r\n\t},\r\n\r\n\r\n\tuiFlagER: {\r\n\t\tbackgroundPosition: '-397px -133px',\r\n\t},\r\n\tuiFlagES: {\r\n\t\tbackgroundPosition: '-436px -133px',\r\n\t},\r\n\tuiFlagET: {\r\n\t\tbackgroundPosition: '-475px -133px',\r\n\t},\r\n\r\n\tuiFlagEU: {\r\n\t\tbackgroundPosition: '-514px -133px',\r\n\t},\r\n\tuiFlageuropeanunion: {\r\n\t\tbackgroundPosition: '-7px -165px',\r\n\t},\r\n\tuiFlagfam: {\r\n\t\tbackgroundPosition: '-46px -165px',\r\n\t},\r\n\r\n\tuiFlagFI: {\r\n\t\tbackgroundPosition: '-85px -165px',\r\n\t},\r\n\tuiFlagFJ: {\r\n\t\tbackgroundPosition: '-124px -165px',\r\n\t},\r\n\tuiFlagFK: {\r\n\t\tbackgroundPosition: '-163px -165px',\r\n\t},\r\n\r\n\tuiFlagFM: {\r\n\t\tbackgroundPosition: '-202px -165px',\r\n\t},\r\n\tuiFlagFO: {\r\n\t\tbackgroundPosition: '-241px -165px',\r\n\t},\r\n\tuiFlagFR: {\r\n\t\tbackgroundPosition: '-280px -165px',\r\n\t},\r\n\r\n\tuiFlagGA: {\r\n\t\tbackgroundPosition: '-319px -165px',\r\n\t},\r\n\tuiFlagGB: {\r\n\t\tbackgroundPosition: '-358px -165px',\r\n\t},\r\n\tuiFlagGD: {\r\n\t\tbackgroundPosition: '-397px -165px',\r\n\t},\r\n\r\n\tuiFlagGE: {\r\n\t\tbackgroundPosition: '-436px -165px',\r\n\t},\r\n\tuiFlagGF: {\r\n\t\tbackgroundPosition: '-475px -165px',\r\n\t},\r\n\tuiFlagGH: {\r\n\t\tbackgroundPosition: '-514px -165px',\r\n\t},\r\n\r\n\tuiFlagGI: {\r\n\t\tbackgroundPosition: '-7px -196px',\r\n\t},\r\n\tuiFlagGL: {\r\n\t\tbackgroundPosition: '-46px -196px',\r\n\t},\r\n\tuiFlagGM: {\r\n\t\tbackgroundPosition: '-85px -196px',\r\n\t},\r\n\r\n\tuiFlagGN: {\r\n\t\tbackgroundPosition: '-124px -196px',\r\n\t},\r\n\tuiFlagGP: {\r\n\t\tbackgroundPosition: '-163px -196px',\r\n\t},\r\n\tuiFlagGQ: {\r\n\t\tbackgroundPosition: '-202px -196px',\r\n\t},\r\n\r\n\tuiFlagGR: {\r\n\t\tbackgroundPosition: '-241px -196px',\r\n\t},\r\n\tuiFlagGS: {\r\n\t\tbackgroundPosition: '-280px -196px',\r\n\t},\r\n\tuiFlagGT: {\r\n\t\tbackgroundPosition: '-319px -196px',\r\n\t},\r\n\r\n\tuiFlagGU: {\r\n\t\tbackgroundPosition: '-358px -196px',\r\n\t},\r\n\tuiFlagGW: {\r\n\t\tbackgroundPosition: '-397px -196px',\r\n\t},\r\n\tuiFlagGY: {\r\n\t\tbackgroundPosition: '-436px -196px',\r\n\t},\r\n\r\n\tuiFlagHK: {\r\n\t\tbackgroundPosition: '-475px -196px',\r\n\t},\r\n\tuiFlagHM: {\r\n\t\tbackgroundPosition: '-514px -196px',\r\n\t},\r\n\tuiFlagHN: {\r\n\t\tbackgroundPosition: '-7px -228px',\r\n\t},\r\n\r\n\tuiFlagHR: {\r\n\t\tbackgroundPosition: '-46px -228px',\r\n\t},\r\n\tuiFlagHT: {\r\n\t\tbackgroundPosition: '-85px -228px',\r\n\t},\r\n\tuiFlagHU: {\r\n\t\tbackgroundPosition: '-124px -228px',\r\n\t},\r\n\r\n\tuiFlagID: {\r\n\t\tbackgroundPosition: '-163px -228px',\r\n\t},\r\n\tuiFlagIE: {\r\n\t\tbackgroundPosition: '-202px -228px',\r\n\t},\r\n\tuiFlagIL: {\r\n\t\tbackgroundPosition: '-241px -228px',\r\n\t},\r\n\r\n\tuiFlagIN: {\r\n\t\tbackgroundPosition: '-280px -228px',\r\n\t},\r\n\tuiFlagHI: {\r\n\t\tbackgroundPosition: '-280px -228px',\r\n\t},\r\n\tuiFlagIO: {\r\n\t\tbackgroundPosition: '-319px -228px',\r\n\t},\r\n\r\n\tuiFlagIQ: {\r\n\t\tbackgroundPosition: '-358px -228px',\r\n\t},\r\n\tuiFlagIR: {\r\n\t\tbackgroundPosition: '-397px -228px',\r\n\t},\r\n\tuiFlagFA: {\r\n\t\tbackgroundPosition: '-319px -228px',\r\n\t},\r\n\r\n\tuiFlagIS: {\r\n\t\tbackgroundPosition: '-436px -228px',\r\n\t},\r\n\tuiFlagIT: {\r\n\t\tbackgroundPosition: '-475px -228px',\r\n\t},\r\n\tuiFlagJM: {\r\n\t\tbackgroundPosition: '-514px -228px',\r\n\t},\r\n\r\n\tuiFlagJO: {\r\n\t\tbackgroundPosition: '-7px -259px',\r\n\t},\r\n\r\n\tuiFlagJP: {\r\n\t\tbackgroundPosition: '-46px -259px',\r\n\t},\r\n\tuiFlagKE: {\r\n\t\tbackgroundPosition: '-85px -259px',\r\n\t},\r\n\tuiFlagKG: {\r\n\t\tbackgroundPosition: '-124px -259px',\r\n\t},\r\n\r\n\tuiFlagKH: {\r\n\t\tbackgroundPosition: '-163px -259px',\r\n\t},\r\n\tuiFlagKI: {\r\n\t\tbackgroundPosition: '-202px -259px',\r\n\t},\r\n\tuiFlagKM: {\r\n\t\tbackgroundPosition: '-241px -259px',\r\n\t},\r\n\r\n\tuiFlagKN: {\r\n\t\tbackgroundPosition: '-280px -259px',\r\n\t},\r\n\tuiFlagKP: {\r\n\t\tbackgroundPosition: '-319px -259px',\r\n\t},\r\n\tuiFlagKR: {\r\n\t\tbackgroundPosition: '-358px -259px',\r\n\t},\r\n\r\n\tuiFlagKW: {\r\n\t\tbackgroundPosition: '-397px -259px',\r\n\t},\r\n\tuiFlagKY: {\r\n\t\tbackgroundPosition: '-436px -259px',\r\n\t},\r\n\tuiFlagKZ: {\r\n\t\tbackgroundPosition: '-475px -259px',\r\n\t},\r\n\r\n\tuiFlagLA: {\r\n\t\tbackgroundPosition: '-514px -259px',\r\n\t},\r\n\tuiFlagLB: {\r\n\t\tbackgroundPosition: '-7px -291px',\r\n\t},\r\n\tuiFlagLC: {\r\n\t\tbackgroundPosition: '-46px -291px',\r\n\t},\r\n\r\n\tuiFlagLI: {\r\n\t\tbackgroundPosition: '-85px -291px',\r\n\t},\r\n\tuiFlagLK: {\r\n\t\tbackgroundPosition: '-124px -291px',\r\n\t},\r\n\tuiFlagLR: {\r\n\t\tbackgroundPosition: '-163px -291px',\r\n\t},\r\n\r\n\tuiFlagLS: {\r\n\t\tbackgroundPosition: '-202px -291px',\r\n\t},\r\n\tuiFlagLT: {\r\n\t\tbackgroundPosition: '-241px -291px',\r\n\t},\r\n\tuiFlagLU: {\r\n\t\tbackgroundPosition: '-280px -291px',\r\n\t},\r\n\r\n\tuiFlagLV: {\r\n\t\tbackgroundPosition: '-319px -291px',\r\n\t},\r\n\tuiFlagLY: {\r\n\t\tbackgroundPosition: '-358px -291px',\r\n\t},\r\n\tuiFlagMA: {\r\n\t\tbackgroundPosition: '-397px -291px',\r\n\t},\r\n\r\n\tuiFlagMC: {\r\n\t\tbackgroundPosition: '-436px -291px',\r\n\t},\r\n\tuiFlagMD: {\r\n\t\tbackgroundPosition: '-475px -291px',\r\n\t},\r\n\tuiFlagME: {\r\n\t\tbackgroundPosition: '-514px -291px',\r\n\t},\r\n\r\n\tuiFlagMG: {\r\n\t\tbackgroundPosition: '-7px -324px',\r\n\t},\r\n\tuiFlagMH: {\r\n\t\tbackgroundPosition: '-46px -324px',\r\n\t},\r\n\tuiFlagMK: {\r\n\t\tbackgroundPosition: '-85px -324px',\r\n\t},\r\n\r\n\tuiFlagML: {\r\n\t\tbackgroundPosition: '-124px -324px',\r\n\t},\r\n\tuiFlagMM: {\r\n\t\tbackgroundPosition: '-163px -324px',\r\n\t},\r\n\tuiFlagMN: {\r\n\t\tbackgroundPosition: '-202px -324px',\r\n\t},\r\n\r\n\tuiFlagMO: {\r\n\t\tbackgroundPosition: '-241px -324px',\r\n\t},\r\n\tuiFlagMP: {\r\n\t\tbackgroundPosition: '-280px -324px',\r\n\t},\r\n\tuiFlagMQ: {\r\n\t\tbackgroundPosition: '-319px -324px',\r\n\t},\r\n\r\n\tuiFlagMR: {\r\n\t\tbackgroundPosition: '-358px -324px',\r\n\t},\r\n\tuiFlagMS: {\r\n\t\tbackgroundPosition: '-397px -324px',\r\n\t},\r\n\tuiFlagMT: {\r\n\t\tbackgroundPosition: '-436px -324px',\r\n\t},\r\n\r\n\tuiFlagMU: {\r\n\t\tbackgroundPosition: '-475px -324px',\r\n\t},\r\n\tuiFlagMV: {\r\n\t\tbackgroundPosition: '-514px -324px',\r\n\t},\r\n\tuiFlagMW: {\r\n\t\tbackgroundPosition: '-7px -355px',\r\n\t},\r\n\r\n\tuiFlagMX: {\r\n\t\tbackgroundPosition: '-46px -355px',\r\n\t},\r\n\tuiFlagMY: {\r\n\t\tbackgroundPosition: '-85px -355px',\r\n\t},\r\n\tuiFlagMZ: {\r\n\t\tbackgroundPosition: '-124px -355px',\r\n\t},\r\n\r\n\tuiFlagNA: {\r\n\t\tbackgroundPosition: '-163px -355px',\r\n\t},\r\n\tuiFlagNC: {\r\n\t\tbackgroundPosition: '-202px -355px',\r\n\t},\r\n\tuiFlagNE: {\r\n\t\tbackgroundPosition: '-241px -355px',\r\n\t},\r\n\r\n\tuiFlagNF: {\r\n\t\tbackgroundPosition: '-280px -355px',\r\n\t},\r\n\tuiFlagNG: {\r\n\t\tbackgroundPosition: '-319px -355px',\r\n\t},\r\n\tuiFlagNI: {\r\n\t\tbackgroundPosition: '-358px -355px',\r\n\t},\r\n\r\n\tuiFlagNL: {\r\n\t\tbackgroundPosition: '-397px -355px',\r\n\t},\r\n\tuiFlagNO: {\r\n\t\tbackgroundPosition: '-436px -355px',\r\n\t},\r\n\tuiFlagNP: {\r\n\t\tbackgroundPosition: '-475px -355px',\r\n\t},\r\n\r\n\tuiFlagNR: {\r\n\t\tbackgroundPosition: '-336px -355px',\r\n\t},\r\n\tuiFlagNU: {\r\n\t\tbackgroundPosition: '-7px -387px',\r\n\t},\r\n\tuiFlagNZ: {\r\n\t\tbackgroundPosition: '-46px -387px',\r\n\t},\r\n\r\n\tuiFlagOM: {\r\n\t\tbackgroundPosition: '-85px -387px',\r\n\t},\r\n\tuiFlagPA: {\r\n\t\tbackgroundPosition: '-124px -387px',\r\n\t},\r\n\tuiFlagPE: {\r\n\t\tbackgroundPosition: '-163px -387px',\r\n\t},\r\n\r\n\tuiFlagPF: {\r\n\t\tbackgroundPosition: '-202px -387px',\r\n\t},\r\n\tuiFlagPG: {\r\n\t\tbackgroundPosition: '-241px -387px',\r\n\t},\r\n\tuiFlagPH: {\r\n\t\tbackgroundPosition: '-280px -387px',\r\n\t},\r\n\r\n\tuiFlagPK: {\r\n\t\tbackgroundPosition: '-319px -387px',\r\n\t},\r\n\tuiFlagPL: {\r\n\t\tbackgroundPosition: '-358px -387px',\r\n\t},\r\n\tuiFlagPM: {\r\n\t\tbackgroundPosition: '-397px -387px',\r\n\t},\r\n\r\n\tuiFlagPN: {\r\n\t\tbackgroundPosition: '-436px -387px',\r\n\t},\r\n\tuiFlagPR: {\r\n\t\tbackgroundPosition: '-475px -387px',\r\n\t},\r\n\tuiFlagPS: {\r\n\t\tbackgroundPosition: '-514px -387px',\r\n\t},\r\n\r\n\tuiFlagPT: {\r\n\t\tbackgroundPosition: '-7px -418px',\r\n\t},\r\n\tuiFlagPW: {\r\n\t\tbackgroundPosition: '-46px -418px',\r\n\t},\r\n\tuiFlagPY: {\r\n\t\tbackgroundPosition: '-85px -418px',\r\n\t},\r\n\r\n\tuiFlagQA: {\r\n\t\tbackgroundPosition: '-124px -418px',\r\n\t},\r\n\tuiFlagRE: {\r\n\t\tbackgroundPosition: '-163px -418px',\r\n\t},\r\n\tuiFlagRO: {\r\n\t\tbackgroundPosition: '-202px -418px',\r\n\t},\r\n\r\n\tuiFlagRS: {\r\n\t\tbackgroundPosition: '-241px -418px',\r\n\t},\r\n\tuiFlagRU: {\r\n\t\tbackgroundPosition: '-280px -418px',\r\n\t},\r\n\tuiFlagRW: {\r\n\t\tbackgroundPosition: '-319px -418px',\r\n\t},\r\n\r\n\tuiFlagSA: {\r\n\t\tbackgroundPosition: '-358px -418px',\r\n\t},\r\n\tuiFlagSB: {\r\n\t\tbackgroundPosition: '-397px -418px',\r\n\t},\r\n\tuiFlagSC: {\r\n\t\tbackgroundPosition: '-436px -418px',\r\n\t},\r\n\r\n\tuiFlagscotland: {\r\n\t\tbackgroundPosition: '-475px -418px',\r\n\t},\r\n\tuiFlagSD: {\r\n\t\tbackgroundPosition: '-514px -418px',\r\n\t},\r\n\tuiFlagSE: {\r\n\t\tbackgroundPosition: '-7px -450px',\r\n\t},\r\n\r\n\tuiFlagSG: {\r\n\t\tbackgroundPosition: '-46px -450px',\r\n\t},\r\n\tuiFlagSH: {\r\n\t\tbackgroundPosition: '-85px -450px',\r\n\t},\r\n\tuiFlagSI: {\r\n\t\tbackgroundPosition: '-124px -450px',\r\n\t},\r\n\r\n\tuiFlagSJ: {\r\n\t\tbackgroundPosition: '-163px -450px',\r\n\t},\r\n\tuiFlagSK: {\r\n\t\tbackgroundPosition: '-202px -450px',\r\n\t},\r\n\tuiFlagSL: {\r\n\t\tbackgroundPosition: '-241px -450px',\r\n\t},\r\n\r\n\tuiFlagSM: {\r\n\t\tbackgroundPosition: '-280px -450px',\r\n\t},\r\n\tuiFlagSN: {\r\n\t\tbackgroundPosition: '-319px -450px',\r\n\t},\r\n\tuiFlagSO: {\r\n\t\tbackgroundPosition: '-358px -450px',\r\n\t},\r\n\r\n\tuiFlagSR: {\r\n\t\tbackgroundPosition: '-397px -450px',\r\n\t},\r\n\tuiFlagST: {\r\n\t\tbackgroundPosition: '-436px -450px',\r\n\t},\r\n\tuiFlagSV: {\r\n\t\tbackgroundPosition: '-475px -450px',\r\n\t},\r\n\r\n\tuiFlagSY: {\r\n\t\tbackgroundPosition: '-514px -450px',\r\n\t},\r\n\tuiFlagSZ: {\r\n\t\tbackgroundPosition: '-7px -481px',\r\n\t},\r\n\r\n\tuiFlagTC: {\r\n\t\tbackgroundPosition: '-46px -481px',\r\n\t},\r\n\tuiFlagTD: {\r\n\t\tbackgroundPosition: '-85px -481px',\r\n\t},\r\n\tuiFlagTF: {\r\n\t\tbackgroundPosition: '-124px -481px',\r\n\t},\r\n\r\n\tuiFlagTG: {\r\n\t\tbackgroundPosition: '-163px -481px',\r\n\t},\r\n\tuiFlagTH: {\r\n\t\tbackgroundPosition: '-202px -481px',\r\n\t},\r\n\tuiFlagTJ: {\r\n\t\tbackgroundPosition: '-241px -481px',\r\n\t},\r\n\r\n\tuiFlagTK: {\r\n\t\tbackgroundPosition: '-280px -481px',\r\n\t},\r\n\tuiFlagTL: {\r\n\t\tbackgroundPosition: '-319px -481px',\r\n\t},\r\n\tuiFlagTM: {\r\n\t\tbackgroundPosition: '-358px -481px',\r\n\t},\r\n\r\n\tuiFlagTN: {\r\n\t\tbackgroundPosition: '-397px -481px',\r\n\t},\r\n\tuiFlagTO: {\r\n\t\tbackgroundPosition: '-436px -481px',\r\n\t},\r\n\tuiFlagTR: {\r\n\t\tbackgroundPosition: '-475px -481px',\r\n\t},\r\n\r\n\tuiFlagTT: {\r\n\t\tbackgroundPosition: '-514px -481px',\r\n\t},\r\n\tuiFlagTV: {\r\n\t\tbackgroundPosition: '-7px -514px',\r\n\t},\r\n\tuiFlagTW: {\r\n\t\tbackgroundPosition: '-46px -514px',\r\n\t},\r\n\r\n\tuiFlagTZ: {\r\n\t\tbackgroundPosition: '-85px -514px',\r\n\t},\r\n\tuiFlagUA: {\r\n\t\tbackgroundPosition: '-124px -514px',\r\n\t},\r\n\tuiFlagUG: {\r\n\t\tbackgroundPosition: '-163px -514px',\r\n\t},\r\n\r\n\tuiFlagUM: {\r\n\t\tbackgroundPosition: '-202px -514px',\r\n\t},\r\n\tuiFlagUS: {\r\n\t\tbackgroundPosition: '-241px -514px',\r\n\t},\r\n\tuiFlagUY: {\r\n\t\tbackgroundPosition: '-280px -514px',\r\n\t},\r\n\r\n\tuiFlagUZ: {\r\n\t\tbackgroundPosition: '-319px -514px',\r\n\t},\r\n\tuiFlagVA: {\r\n\t\tbackgroundPosition: '-358px -514px',\r\n\t},\r\n\tuiFlagVC: {\r\n\t\tbackgroundPosition: '-397px -514px',\r\n\t},\r\n\r\n\tuiFlagVE: {\r\n\t\tbackgroundPosition: '-436px -514px',\r\n\t},\r\n\tuiFlagVG: {\r\n\t\tbackgroundPosition: '-475px -514px',\r\n\t},\r\n\tuiFlagVI: {\r\n\t\tbackgroundPosition: '-514px -514px',\r\n\t},\r\n\r\n\tuiFlagVN: {\r\n\t\tbackgroundPosition: '-553px -7px',\r\n\t},\r\n\tuiFlagVU: {\r\n\t\tbackgroundPosition: '-553px -39px',\r\n\t},\r\n\tuiFlagwales: {\r\n\t\tbackgroundPosition: '-546px -70px',\r\n\t},\r\n\r\n\tuiFlagWF: {\r\n\t\tbackgroundPosition: '-553px -102px',\r\n\t},\r\n\tuiFlagWS: {\r\n\t\tbackgroundPosition: '-553px -133px',\r\n\t},\r\n\tuiFlagYE: {\r\n\t\tbackgroundPosition: '-553px -165px',\r\n\t},\r\n\r\n\tuiFlagYT: {\r\n\t\tbackgroundPosition: '-553px -196px',\r\n\t},\r\n\tuiFlagZA: {\r\n\t\tbackgroundPosition: '-553px -228px',\r\n\t},\r\n\tuiFlagZM: {\r\n\t\tbackgroundPosition: '-553px -259px',\r\n\t},\r\n\r\n\tuiFlagZW: {\r\n\t\tbackgroundPosition: '-553px -291px',\r\n\t},\r\n\tuiFlagnone: {\r\n\t\tbackgroundPosition: '-553px -553px',\r\n\t},\r\n};\r\nexport default phoneCssStyles;\r\n","import { InputPhoneNumber } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\nexport default createComponent(\r\n\tInputPhoneNumber,\r\n\t({\r\n\t\tdefaultValue,\r\n\t\t...props\r\n\t}) => ({\r\n\t\t...mapError(props),\r\n\t}),\r\n);\r\n","import { InputPhoneIconNumber } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\nexport default createComponent(\r\n\tInputPhoneIconNumber,\r\n\t({\r\n\t\tdefaultValue,\r\n\t\t...props\r\n\t}) => ({\r\n\t\t...mapError(props),\r\n\t}),\r\n);\r\n","import React from 'react';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport fileDownload from 'js-file-download';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport compose from 'recompose/compose';\n\nimport { providerFileWithAuth } from '@api';\nimport { A } from '@components';\nimport { cabinetLog } from '@global';\n\n\nconst styles = theme => ({\n\t// класс для индикатора загрузки (для переопределения)\n\tprogress: {\n\t},\n\trootBlockFlex: {\n\t\tdisplay: 'flex',\n\t},\n\trootInlineFlex: {\n\t\tdisplay: 'inline-flex',\n\t},\n\trootLoading: {\n\t},\n});\n\nclass FileDownload extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tsubmitting: false,\n\t\t\thasError: false,\n\t\t};\n\t}\n\n\tdownloadFile = (event) => {\n\t\tconst {\n\t\t\tonClick,\n\t\t\tclickBubblingStopped,\n\t\t\turl,\n\t\t\tdata,\n\t\t\tshowInBrowser,\n\t\t\tonSuccess,\n\t\t\tonError,\n\t\t} = this.props;\n\n\t\tif (onClick) {\n\t\t\tonClick();\n\t\t}\n\t\tif (clickBubblingStopped) {\n\t\t\tevent.preventDefault();\n\t\t}\n\t\tthis.setState({ submitting: true, hasError: false });\n\t\tconst request = data\n\t\t\t? providerFileWithAuth().post(url, data)\n\t\t\t: providerFileWithAuth().get(url);\n\t\trequest.then(async (response) => {\n\t\t\tthis.setState({ submitting: false });\n\t\t\tcabinetLog('file download response', response);\n\t\t\tlet fileName = response.headers['content-disposition']\n\t\t\t\t? response.headers['content-disposition'].split('filename=')[1]\n\t\t\t\t: this.props.fileName;\n\n\t\t\tif (fileName) {\n\t\t\t\tfileName = fileName.replace(/['\"]+/g, '');\n\t\t\t}\n\n\t\t\t// Сценарий, когда при попытке скачать файл произошла беда\n\t\t\t// и сервер вернул фактически не blob, а 'application/json'\n\t\t\tif (response.data instanceof Blob &&\n\t\t\t\tresponse.data.type &&\n\t\t\t\tresponse.data.type.toLowerCase().indexOf('json') !== -1) {\n\t\t\t\tconst errorText = JSON.parse(await response.data.text());\n\t\t\t\tif (onError) {\n\t\t\t\t\tonError(errorText);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (showInBrowser) {\n\t\t\t\tconst file = new Blob([response.data], { type: 'application/pdf' });\n\t\t\t\tconst fileURL = URL.createObjectURL(file);\n\t\t\t\twindow.open(fileURL, '_blank');\n\t\t\t} else {\n\t\t\t\tfileDownload(response.data, fileName || 'report', response.headers['content-type']);\n\t\t\t}\n\n\t\t\tif (onSuccess) {\n\t\t\t\tonSuccess();\n\t\t\t}\n\t\t}).catch((error) => {\n\t\t\tif (!error.response) {\n\t\t\t// network error\n\t\t\t\tconsole.error(error);\n\t\t\t} else {\n\t\t\t\tconst reader = new FileReader();\n\t\t\t\tconst self = this;\n\t\t\t\t// This fires after the blob has been read/loaded.\n\t\t\t\treader.addEventListener('loadend', (e) => {\n\t\t\t\t\tconst text = self.tryParseJson(e.srcElement.result);\n\t\t\t\t\tif (self.props.onError) {\n\t\t\t\t\t\tself.props.onError(text);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error(text);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treader.readAsText(error.response.data);\n\t\t\t}\n\t\t\tthis.setState({ submitting: false, hasError: true });\n\t\t});\n\t}\n\n\ttryParseJson = (text) => {\n\t\ttry {\n\t\t\treturn JSON.parse(text);\n\t\t} catch (ex) {\n\t\t\treturn text;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\ttheme,\n\t\t\tcolor,\n\t\t\tclasses,\n\t\t\tshowButtonTitleWhenLoading,\n\t\t\tbuttonTitle,\n\t\t\tinline,\n\t\t} = this.props;\n\t\tconst {\n\t\t\thasError,\n\t\t\tsubmitting,\n\t\t} = this.state;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t this.downloadFile(event)}\n\t\t\t\t\tcolor={hasError ? 'red' : color}\n\t\t\t\t\tclasses={\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\troot: classNames({\n\t\t\t\t\t\t\t\t[classes.rootBlockFlex]: !inline,\n\t\t\t\t\t\t\t\t[classes.rootInlineFlex]: inline,\n\t\t\t\t\t\t\t\t[classes.rootLoading]: submitting,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t>\n\t\t\t\t\t{submitting &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{(!submitting || showButtonTitleWhenLoading) && buttonTitle}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nFileDownload.propTypes = {\n\tclasses: PropTypes.shape({\n\t\tprogress: PropTypes.string,\n\t}).isRequired,\n\tshowButtonTitleWhenLoading: PropTypes.bool,\n\ttheme: PropTypes.object.isRequired,\n\tfileName: PropTypes.string.isRequired,\n\turl: PropTypes.string.isRequired,\n\tcolor: PropTypes.string,\n\tdata: PropTypes.object, // used for post requests only\n\tbuttonTitle: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\n\tonClick: PropTypes.func,\n\tonError: PropTypes.func,\n\tonSuccess: PropTypes.func,\n\tclickBubblingStopped: PropTypes.bool,\n\tinline: PropTypes.bool,\n\tshowInBrowser: PropTypes.bool,\n};\n\nFileDownload.defaultProps = {\n\tcolor: 'default',\n\tdata: null,\n\tshowButtonTitleWhenLoading: false,\n\tonClick: null,\n\tonSuccess: null,\n\tonError: null,\n\tclickBubblingStopped: false,\n\tinline: false,\n\tshowInBrowser: false,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n)(FileDownload);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport { SvgIcon } from '@components';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t},\r\n\theadContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tjustifyContent: 'space-between',\r\n\t\tpadding: '4px 0',\r\n\t},\r\n\theadContent: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.palette.color.primary.black,\r\n\t\twidth: '100%',\r\n\t\tpadding: '10px 0',\r\n\t\tdisplay: 'flex',\r\n\t\tflexWrap: 'wrap',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\t'& > span': {\r\n\t\t\tmarginRight: '40px',\r\n\t\t\twhiteSpace: 'nowrap',\r\n\t\t},\r\n\t},\r\n\theadToggleIcon: {\r\n\t\tmarginRight: '-15px',\r\n\t},\r\n\tarrowIcon: {\r\n\t\tstroke: theme.typography.color.primary,\r\n\t},\r\n\tcontent: {\r\n\t\t...theme.typography.style.body,\r\n\t\ttransition: 'all 0.5s',\r\n\t\tmarginTop: '12px',\r\n\t},\r\n\tcollapsedBodyContent: {\r\n\t\ttransition: 'all 0.5s',\r\n\t\tmarginTop: '12px',\r\n\t},\r\n\topened: {\r\n\t\t// height: '100%',\r\n\t\tdisplay: 'block',\r\n\t},\r\n\tclosed: {\r\n\t\t// height: '0px',\r\n\t\tdisplay: 'none',\r\n\t},\r\n});\r\n\r\nclass ExpansionPanel extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\topen: props.defaultOpen,\r\n\t\t};\r\n\t}\r\n\r\n\ttoggleOpen = () => {\r\n\t\tconst {\r\n\t\t\tisOpen,\r\n\t\t\tonToggleOpen,\r\n\t\t} = this.props;\r\n\r\n\t\tconst status = (isOpen === null) ? !this.state.open : !isOpen;\r\n\t\tif (onToggleOpen) {\r\n\t\t\tonToggleOpen(status, this.props.id);\r\n\t\t}\r\n\t\tthis.setState({\r\n\t\t\topen: status,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonToggleOpen, // WHY!!!!????\r\n\t\t\tisOpen,\r\n\t\t\tchildren,\r\n\t\t\theader,\r\n\t\t\theadContentClass,\r\n\t\t\tdefaultOpen,\r\n\t\t\tcollapsedBodyContent,\r\n\t\t\tqaAttributes,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\tconst opened = (isOpen === null) ? this.state.open : isOpen;\r\n\t\tconst Icon = opened ?\r\n\t\t\t\r\n\t\t\t: ;\r\n\t\tconst contentCssClass = classNames({\r\n\t\t\t[classes.content]: true,\r\n\t\t\t[classes.opened]: opened,\r\n\t\t\t[classes.closed]: !opened,\r\n\t\t});\r\n\t\tconst headContentCssClass = classNames({\r\n\t\t\t[classes.headContent]: true,\r\n\t\t\t[classes.headContentUpdate]: classes.headContentUpdate !== undefined,\r\n\t\t});\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{header}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{Icon}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{!opened && !!collapsedBodyContent &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{collapsedBodyContent}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{opened &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{children}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nExpansionPanel.propTypes = {\r\n\tchildren: PropTypes.any,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tcollapsedBodyContent: PropTypes.any,\r\n\tdefaultOpen: PropTypes.bool,\r\n\theader: PropTypes.any.isRequired,\r\n\tid: PropTypes.string.isRequired,\r\n\tonToggleOpen: PropTypes.func,\r\n\tisOpen: PropTypes.bool,\r\n\tqaAttributes: PropTypes.shape({\r\n\t\ttitle: PropTypes.object,\r\n\t\ticon: PropTypes.object,\r\n\t}),\r\n};\r\n\r\nExpansionPanel.defaultProps = {\r\n\tonToggleOpen: null,\r\n\tdefaultOpen: true,\r\n\tisOpen: null,\r\n\tqaAttributes: {},\r\n};\r\n\r\nexport default compose(withStyles(styles))(ExpansionPanel);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport MUIList from '@material-ui/core/List';\r\n\r\nconst styles = theme => ({\r\n\r\n});\r\n\r\n\r\nclass List extends React.Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.props.children}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nList.propTypes = {\r\n\t/**\r\n\t * The content of the component.\r\n\t */\r\n\tchildren: PropTypes.node,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * @ignore\r\n\t */\r\n\tclassName: PropTypes.string,\r\n\t/**\r\n\t * The component used for the root node.\r\n\t * Either a string to use a DOM element or a component.\r\n\t */\r\n\tcomponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n\t/**\r\n\t * If `true`, compact vertical padding designed for keyboard and mouse input will be used for\r\n\t * the list and list items. The property is available to descendant components as the\r\n\t * `dense` context.\r\n\t */\r\n\tdense: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, vertical padding will be removed from the list.\r\n\t */\r\n\tdisablePadding: PropTypes.bool,\r\n\t/**\r\n\t * The content of the subheader, normally `ListSubheader`.\r\n\t */\r\n\tsubheader: PropTypes.node,\r\n};\r\n\r\nList.defaultProps = {\r\n\tcomponent: 'ul',\r\n\tdense: false,\r\n\tdisablePadding: false,\r\n};\r\n\r\nexport default compose(withStyles(styles))(List);\r\nexport * from './components';\r\n","export { default as ListItem } from './ListItem/ListItem';\r\nexport { default as ListItemIcon } from './ListItemIcon/ListItemIcon';\r\nexport { default as ListItemText } from './ListItemText/ListItemText';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport ReactGA from 'react-ga';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport MUIListItem from '@material-ui/core/ListItem';\r\nimport { cabinetLog } from '@global';\r\n\r\nconst styles = theme => ({\r\n\r\n});\r\n\r\nclass ListItem extends React.Component {\r\n\thandleClick = () => {\r\n\t\tif (process.env.NODE_ENV === 'production' && this.props.gaUrl) {\r\n\t\t\tcabinetLog(`send to ${this.props.gaUrl}`);\r\n\t\t\tReactGA.modalview(this.props.gaUrl);\r\n\t\t}\r\n\t\tif (this.props.onClick) {\r\n\t\t\tthis.props.onClick();\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClick,\r\n\t\t\tgaUrl,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.props.children}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nListItem.propTypes = {\r\n\t/**\r\n\t * mouse click handler\r\n\t */\r\n\tonClick: PropTypes.func,\r\n\t/**\r\n\t * If exists, send this url to Google Analytics\r\n\t */\r\n\tgaUrl: PropTypes.string,\r\n\t/**\r\n\t * If `true`, the list item will be a button (using `ButtonBase`).\r\n\t */\r\n\tbutton: PropTypes.bool,\r\n\t/**\r\n\t * The content of the component.\r\n\t */\r\n\tchildren: PropTypes.node.isRequired,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * If `true`, a 1px light border is added to the bottom of the list item.\r\n\t */\r\n\tdivider: PropTypes.bool,\r\n};\r\n\r\nListItem.defaultProps = {\r\n\tbutton: false,\r\n\tdivider: false,\r\n\tgaUrl: null,\r\n\tonClick: null,\r\n};\r\n\r\nexport default compose(withStyles(styles))(ListItem);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport MUIListItemIcon from '@material-ui/core/ListItemIcon';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tmarginRight: '0',\r\n\t},\r\n});\r\n\r\nclass ListItemIcon extends React.Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.props.children}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nListItemIcon.propTypes = {\r\n\t/**\r\n\t * The content of the component, normally `Icon`, `SvgIcon`,\r\n\t * or a `material-ui-icons` SVG icon element.\r\n\t */\r\n\tchildren: PropTypes.element.isRequired,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(ListItemIcon);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport MUIListItemText from '@material-ui/core/ListItemText';\r\n\r\nconst styles = theme => ({\r\n\tprimary: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tsecondary: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\r\n});\r\n\r\nclass ListItemText extends React.Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.props.children}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nListItemText.propTypes = {\r\n\t/**\r\n\t * Alias for the `primary` property.\r\n\t */\r\n\tchildren: PropTypes.element,\r\n\t/**\r\n\t * Useful to extend the style applied to components.\r\n\t */\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * If `true`, the children won't be wrapped by a typography component.\r\n\t * For instance, that can be useful to can render an h4 instead of a\r\n\t */\r\n\tdisableTypography: PropTypes.bool,\r\n\t/**\r\n\t * If `true`, the children will be indented.\r\n\t * This should be used if there is no left avatar or left icon.\r\n\t */\r\n\tinset: PropTypes.bool,\r\n\tprimary: PropTypes.node,\r\n\tsecondary: PropTypes.node,\r\n};\r\n\r\nListItemText.defaultProps = {\r\n\tdisableTypography: false,\r\n\tinset: false,\r\n};\r\n\r\nexport default compose(withStyles(styles))(ListItemText);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Scrollbars } from 'react-custom-scrollbars';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\n\n\nconst styles = () => ({\n\tcenter: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n});\n\nclass LoadableScrollbars extends React.Component {\n\tcomponentDidUpdate() {\n\t\tconst {\n\t\t\tcanLoadMore,\n\t\t\tloading,\n\t\t\tonLoadMore,\n\t\t} = this.props;\n\n\t\t// fill screen with messages when init\n\t\tif (!onLoadMore || loading || !canLoadMore) return;\n\n\t\tconst viewportHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n\t\tconst content = this.contentElm.getBoundingClientRect();\n\t\tif (viewportHeight >= content.height) {\n\t\t\tonLoadMore();\n\t\t}\n\t}\n\n\tgetContentElm = (node) => { this.contentElm = node; }\n\n\thandleScroll = (e) => {\n\t\tconst {\n\t\t\tcanLoadMore,\n\t\t\tloading,\n\t\t\tonLoadMore,\n\t\t} = this.props;\n\n\t\tif (!onLoadMore || loading || !canLoadMore) return;\n\n\t\tconst mobileScrollTop = e.target.scrollTop;\n\t\tconst viewportHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n\t\tconst content = this.contentElm.getBoundingClientRect();\n\n\t\tif (viewportHeight + mobileScrollTop >= content.height) {\n\t\t\tonLoadMore();\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tchildren,\n\t\t\tclasses,\n\t\t\tloading,\n\t\t\tcanLoadMore,\n\t\t\tonLoadMore,\n\t\t\t...props\n\t\t} = this.props;\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{children}\n\t\t\t\t\t{loading &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nLoadableScrollbars.propTypes = {\n\tchildren: PropTypes.any.isRequired,\n\tloading: PropTypes.bool,\n\tcanLoadMore: PropTypes.bool.isRequired,\n\tonLoadMore: PropTypes.func,\n};\n\nLoadableScrollbars.defaultProps = {\n\tonLoadMore: null,\n\tloading: false,\n};\n\nexport default withStyles(styles)(LoadableScrollbars);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\twidth: '100%',\r\n\t\theight: '1px',\r\n\t\tbackgroundColor: '#deeaef',\r\n\t},\r\n});\r\n\r\nconst Divider = ({ classes, color, ...props }) => (\r\n\t);\r\n\r\nDivider.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tcolor: PropTypes.string,\r\n};\r\n\r\nDivider.defaultProps = {\r\n\tcolor: undefined,\r\n};\r\n\r\nexport default compose(withStyles(styles))(Divider);\r\n","import React from 'react';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport Button from '@material-ui/core/Button';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport { SvgIcon } from '@components';\r\nimport PropTypes from 'prop-types';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t\tcursor: 'pointer',\r\n\t},\r\n\tbutton: {\r\n\t\tpadding: '13px',\r\n\t},\r\n\tshowLess: {\r\n\t\tfloat: 'left',\r\n\t},\r\n});\r\n\r\nclass ShowMore extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\ttheme,\r\n\t\t\tclasses,\r\n\t\t\tsubmitting,\r\n\t\t\tonClick,\r\n\t\t\tonShowLessClick,\r\n\t\t\tshowMoreButton,\r\n\t\t\tshowLessButton,\r\n\t\t} = this.props;\r\n\r\n\t\tif (!showLessButton && !showMoreButton) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{showLessButton && onShowLessClick &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{showMoreButton && submitting &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{showMoreButton && !submitting &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nShowMore.propTypes = {\r\n\ttheme: PropTypes.object.isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tsubmitting: PropTypes.bool,\r\n\tonClick: PropTypes.func.isRequired,\r\n\tshowMoreButton: PropTypes.bool,\r\n\tshowLessButton: PropTypes.bool,\r\n\tonShowLessClick: PropTypes.func,\r\n};\r\n\r\nShowMore.defaultProps = {\r\n\tsubmitting: false,\r\n\tshowMoreButton: true,\r\n\tshowLessButton: false,\r\n\tonShowLessClick: null,\r\n};\r\n\r\nexport default compose(\r\n\twithTheme,\r\n\twithStyles(styles),\r\n)(ShowMore);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport MoreVertIcon from '@material-ui/icons/MoreVert';\r\nimport onClickOutside from 'react-onclickoutside';\r\nimport classNames from 'classnames';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tposition: 'relative',\r\n\t},\r\n\tpopupContainer: {\r\n\t\tposition: 'absolute',\r\n\t\tbackgroundColor: '#ffffff',\r\n\t\tboxShadow: '0 6px 16px 0 rgba(61, 65, 71, 0.12)',\r\n\t\tborderRadius: '4px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.palette.color.primary.black,\r\n\t\tzIndex: 2,\r\n\t},\r\n\topenRight: {\r\n\t\t'& $popupContainer': {\r\n\t\t\ttop: '-10px',\r\n\t\t},\r\n\t},\r\n\topenLeft: {\r\n\t\t'& $popupContainer': {\r\n\t\t\ttop: 0,\r\n\t\t\tright: 0,\r\n\t\t},\r\n\t},\r\n\tcontent: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t},\r\n\ticon: {\r\n\t\tcursor: 'pointer',\r\n\t},\r\n});\r\n\r\nclass DropDownMenu extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\topen: false,\r\n\t\t};\r\n\t\tthis.openPopup = this.openPopup.bind(this);\r\n\t\tthis.closePopup = this.closePopup.bind(this);\r\n\t\tthis.handleClickOutside = this.handleClickOutside.bind(this);\r\n\t}\r\n\r\n\thandleClickOutside() {\r\n\t\tthis.closePopup();\r\n\t}\r\n\r\n\topenPopup() {\r\n\t\tthis.setState({\r\n\t\t\topen: true,\r\n\t\t});\r\n\t}\r\n\tclosePopup() {\r\n\t\tthis.setState({\r\n\t\t\topen: false,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tchildren,\r\n\t\t\topenPosition,\r\n\t\t\topenButton,\r\n\t\t} = this.props;\r\n\r\n\t\tconst cssClasses = classNames({\r\n\t\t\t[classes.root]: true,\r\n\t\t\t[classes.openRight]: openPosition === 'right',\r\n\t\t\t[classes.openLeft]: openPosition === 'left',\r\n\t\t});\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{openButton ?\r\n\t\t\t\t\t\topenButton(this.openPopup)\r\n\t\t\t\t\t\t:\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\r\n\t\t\t\t{this.state.open &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{children}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nDropDownMenu.propTypes = {\r\n\tchildren: PropTypes.any.isRequired,\r\n\topenPosition: PropTypes.oneOf(['left', 'right']),\r\n\topenButton: PropTypes.func,\r\n};\r\n\r\nDropDownMenu.defaultProps = {\r\n\topenPosition: 'left',\r\n\topenButton: null,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tonClickOutside,\r\n)(DropDownMenu);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport MURadio from '@material-ui/core/Radio';\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport FormHelperText from '@material-ui/core/FormHelperText';\r\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n\tprimary: {\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tcheckedPrimary: {\r\n\t\tcolor: theme.palette.color.primary.lightBlue,\r\n\t},\r\n\tlabel: {\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\tadditionalText: {\r\n\t\tpadding: '0px 24px',\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\t...theme.typography.style.body,\r\n\t},\r\n\tcheckedError: {\r\n\t\tcolor: `${theme.typography.color.red} !important`,\r\n\t},\r\n});\r\n\r\nconst useStyles = props => makeStyles({\r\n\tradioLabel: {\r\n\t\tfontSize: `${props.labelSize}px`,\r\n\t},\r\n\tradioButton: {\r\n\t\t'& .MuiSvgIcon-root': {\r\n\t\t\twidth: `${props.radioButtonSize}px`,\r\n\t\t\theight: `${props.radioButtonSize}px`,\r\n\t\t},\r\n\t},\r\n});\r\n\r\nconst Radio = ({\r\n\tclasses,\r\n\tdisabled,\r\n\terror,\r\n\thelpertext,\r\n\tradioButtonSize,\r\n\tlabelSize,\r\n\t...props\r\n}) => {\r\n\tconst { radioLabel, radioButton } = useStyles({ labelSize, radioButtonSize })();\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{...props}\r\n\t\t\t/>\r\n\t\t\t{props.checked && error &&\r\n\t\t\t\t\r\n\t\t\t\t\t{helpertext}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t);\r\n};\r\n\r\nRadio.propTypes = {\r\n\tchecked: PropTypes.bool,\r\n\tclasses: PropTypes.object,\r\n\tdisabled: PropTypes.bool,\r\n\terror: PropTypes.bool,\r\n\thelpertext: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\r\n\tradioButtonSize: PropTypes.number,\r\n\tlabelSize: PropTypes.number,\r\n};\r\n\r\nRadio.defaultProps = {\r\n\tchecked: false,\r\n\tclasses: {},\r\n\tdisabled: false,\r\n\terror: false,\r\n\thelpertext: null,\r\n\tradioButtonSize: undefined,\r\n\tlabelSize: undefined,\r\n};\r\n\r\nexport default withStyles(styles)(Radio);\r\n","/* eslint-disable arrow-body-style */\nimport React from 'react';\nimport MUIRadioGroup from '@material-ui/core/RadioGroup';\nimport FormControl from '@material-ui/core/FormControl';\nimport InputLabel from '@material-ui/core/InputLabel';\nimport FormHelperText from '@material-ui/core/FormHelperText';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\n\nconst styles = theme => ({\n\thorizontal: {\n\t\tflexDirection: 'row',\n\t},\n\tvertical: {\n\t\tflexDirection: 'column',\n\t},\n\twithLabelRoot: {\n\t\tmarginTop: '16px',\n\t\tpadding: '12px 24px 5px',\n\t\tbackgroundColor: 'rgba(255,255,255,0.05)',\n\t\tborderRadius: '8px',\n\t\tcolor: theme.typography.color.primary,\n\t\tfontSize: theme.typography.pxToRem(18),\n\t},\n\tlabel: {\n\t\ttop: '10px',\n\t\tleft: '24px',\n\t\t...theme.typography.style.title,\n\t\ttransform: 'translate(0, 1.5px) scale(0.75)',\n\t\ttransformOrigin: 'top left',\n\t},\n\terrorMessageRoot: {\n\t\t'&$error': {\n\t\t\tpadding: '0px 24px',\n\t\t\t...theme.typography.style.body,\n\t\t\tcolor: theme.typography.color.red,\n\t\t },\n\t},\n\terror: { }\n});\n\nconst RadioGroup = ({\n\terror,\n\thelpertext,\n\tfullWidth,\n\tchildren,\n\tclasses,\n\tshowLabel,\n\tplaceholder,\n\torientation,\n\tvalidationMessageMode,\n\t...props\n}) => {\n\tconst cssRootClasses = classNames({\n\t\t[classes.horizontal]: orientation === 'horizontal',\n\t\t[classes.vertical]: orientation === 'vertical',\n\t\t[classes.withLabelRoot]: showLabel,\n\t});\n\n\tconst items = React.Children.map(children, (child) => {\n\t\tif (!React.isValidElement(child)) {\n\t\t\treturn null;\n\t\t}\n\t\treturn React.cloneElement(child, {\n\t\t\terror,\n\t\t\thelpertext,\n\t\t\tchecked: child.props.value === props.value,\n\t\t});\n\t});\n\n\treturn (\n\t\t\n\t\t\t{showLabel &&\n\t\t\t\t\n\t\t\t\t\t{placeholder}\n\t\t\t\t\n\t\t\t}\n\t\t\t{error && validationMessageMode === 'withErrorMessage' &&\n\t\t\t\t\n\t\t\t\t\t{helpertext}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\t{items}\n\t\t\t\n\t\t\n\t);\n};\n\nRadioGroup.propTypes = {\n\torientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\tvalidationMessageMode: PropTypes.oneOf(['none', 'withErrorMessage']),\n\tshowLabel: PropTypes.bool,\n\tplaceholder: PropTypes.string,\n};\n\nRadioGroup.defaultProps = {\n\torientation: 'vertical',\n\tshowLabel: false,\n\tplaceholder: '',\n\tvalidationMessageMode: 'none',\n};\n\nexport default withStyles(styles)(RadioGroup);\n","/* eslint-disable no-shadow */\r\nimport { RadioGroup } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\nexport default createComponent(RadioGroup, ({\r\n\tinput: { onChange, value, ...inputProps },\r\n\tonChange: onChangeFromField,\r\n\t...props\r\n}) => ({\r\n\t...inputProps,\r\n\t...mapError(props),\r\n\tvalue,\r\n\tonChange: (event, value) => {\r\n\t\tonChange(value);\r\n\t\tif (onChangeFromField) {\r\n\t\t\tonChangeFromField(value);\r\n\t\t}\r\n\t},\r\n}));\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\r\nimport FormControl from '@material-ui/core/FormControl';\r\nimport FormHelperText from '@material-ui/core/FormHelperText';\r\nimport MUICheckbox from '@material-ui/core/Checkbox';\r\nimport { ValidationMessageMode } from '@enums';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nconst styles = theme => ({\r\n\tcheckedPrimary: {\r\n\t\tcolor: theme.palette.color.primary.lightBlue,\r\n\t},\r\n\tlabel: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tadditionalText: {\r\n\t\tpadding: '0px 24px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\trootError: {\r\n\t\tcolor: `${theme.typography.color.red} !important`,\r\n\t},\r\n\terrorText: {\r\n\t\tpadding: '0px 24px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tcompactMode: {\r\n\t\tpadding: '0px',\r\n\t\tmarginLeft: '0px',\r\n\t}\r\n});\r\n\r\nclass Checkbox extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tlabel,\r\n\t\t\tadditionalText,\r\n\t\t\thelpertext,\r\n\t\t\tvalidationMessageMode,\r\n\t\t\tisCompact,\r\n\t\t\terror,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlabel={label}\r\n\t\t\t\t/>\r\n\t\t\t\t{additionalText && !(error && helpertext && validationMessageMode === ValidationMessageMode.INSTEAD_OF_ADDITIONAL) &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{additionalText}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{error && validationMessageMode !== ValidationMessageMode.NONE &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{helpertext}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nCheckbox.propTypes = {\r\n\t/**\r\n\t * Разрешает выводить сообщение валидации.\r\n\t */\r\n\tvalidationMessageMode: PropTypes.oneOf([\r\n\t\tValidationMessageMode.NONE,\r\n\t\tValidationMessageMode.INSTEAD_OF_ADDITIONAL,\r\n\t\tValidationMessageMode.AFTER_ADDITIONAL,\r\n\t]),\r\n};\r\n\r\nCheckbox.defaultProps = {\r\n\tvalidationMessageMode: 'none',\r\n\tisCompact: false,\r\n};\r\n\r\nexport default compose(withStyles(styles))(Checkbox);\r\n","import { Checkbox } from '@components';\r\nimport { createComponent, mapError } from '../utils';\r\n\r\nexport default createComponent(Checkbox, ({\r\n\tinput: { onChange, value, ...inputProps },\r\n\tmeta,\r\n\tonChange: ignoredOnChange,\r\n\tdefaultChecked,\r\n\t...props\r\n}) => ({\r\n\t...mapError({ meta, ...props }),\r\n\t...inputProps,\r\n\t...props,\r\n\tchecked: !!value,\r\n\tvalue: value ? 'true' : '',\r\n\tonChange: (event, isInputChecked) => {\r\n\t\tonChange(isInputChecked);\r\n\t},\r\n}));\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { VictoryChart } from 'victory-chart';\r\nimport { VictoryLine } from 'victory-line';\r\nimport { VictoryAxis } from 'victory-axis';\r\nimport { VictoryTheme } from 'victory-core';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = theme => ({\r\n});\r\n\r\nconst prepareData = data => data.map((item, index) => {\r\n\tif (!item) {\r\n\t\treturn item;\r\n\t}\r\n\tconst newItem = item;\r\n\tnewItem.D = new Date(item.D);\r\n\tnewItem.Dot = index;\r\n\treturn newItem;\r\n});\r\n\r\nclass ChartThumbnail extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tdata,\r\n\t\t\taxisY,\r\n\t\t\tuseDots,\r\n\t\t\twidth,\r\n\t\t\theight,\r\n\t\t\tresolution,\r\n\t\t\tclasses,\r\n\t\t\tlineColor,\r\n\t\t} = this.props;\r\n\r\n\t\tif (!data || !data.length) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\r\n\t\tconst preparedData = prepareData(data);\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t{!axisY &&\r\n\t\t\t\t\t null}\r\n\t\t\t\t\t\tstyle={{\r\n\t\t\t\t\t\t\taxis: {\r\n\t\t\t\t\t\t\t\tstroke: '#bfcacf',\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{axisY &&\r\n\t\t\t\t\t null}\r\n\t\t\t\t\t\toffsetY={-100}\r\n\t\t\t\t\t\tstyle={{\r\n\t\t\t\t\t\t\taxis: {\r\n\t\t\t\t\t\t\t\tstroke: '#bfcacf',\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{axisY &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChartThumbnail.propTypes = {\r\n\tdata: PropTypes.array.isRequired,\r\n\twidth: PropTypes.string,\r\n\theight: PropTypes.string,\r\n\tresolution: PropTypes.object,\r\n\taxisY: PropTypes.object,\r\n\tlineColor: PropTypes.string,\r\n};\r\n\r\nChartThumbnail.defaultProps = {\r\n\twidth: '100%',\r\n\theight: '100%',\r\n\tresolution: { width: 450, height: 300 },\r\n\tlineColor: '#11d87c',\r\n\taxisY: null,\r\n};\r\n\r\nexport default compose(withStyles(styles))(ChartThumbnail);\r\n","/* eslint-disable no-confusing-arrow */\r\nimport React from 'react';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport Highcharts from 'highcharts';\r\nimport HighchartsReact from 'highcharts-react-official';\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n});\r\n\r\nconst prepareData = data => data.map((item) => {\r\n\tconst newItem = item;\r\n\tnewItem.D = new Date(item.D);\r\n\treturn [new Date(item.D).valueOf(), item.V];\r\n});\r\n\r\n\r\nfunction createOptions(mainChartdata, additionalChartsData, YlabelsFormat, title, color, TooltipFormat) {\r\n\tconst options = {\r\n\t\tchart: {},\r\n\t\tcredits: { enabled: false },\r\n\t\ttitle: { text: '' },\r\n\t\txAxis: {\r\n\t\t\ttype: 'datetime',\r\n\t\t\tdateTimeLabelFormats: {\r\n\t\t\t\tsecond: '%Y-%m-%d
%H:%M:%S',\r\n\t\t\t\tminute: '%Y-%m-%d
%H:%M',\r\n\t\t\t\thour: '%Y-%m-%d
%H:%M',\r\n\t\t\t\tday: '%Y
%m-%d',\r\n\t\t\t\tweek: '%Y
%m-%d',\r\n\t\t\t\tmonth: '%Y-%m',\r\n\t\t\t\tyear: '%Y',\r\n\t\t\t},\r\n\t\t\ttitle: { text: title },\r\n\t\t\tlegend: {\r\n\t\t\t\tenabled: false,\r\n\t\t\t},\r\n\t\t},\r\n\t\tyAxis: {\r\n\t\t\ttitle: {\r\n\t\t\t\ttext: '',\r\n\t\t\t},\r\n\t\t\ttickPixelInterval: 30,\r\n\t\t\tlabels: (typeof YlabelsFormat !== 'string') ? YlabelsFormat\t: {\r\n\t\t\t\tformat: YlabelsFormat,\r\n\t\t\t},\r\n\t\t\tlegend: {\r\n\t\t\t\tenabled: false,\r\n\t\t\t},\r\n\t\t},\r\n\t\ttooltip: {\r\n\t\t\tformatter: TooltipFormat && TooltipFormat.formatter,\r\n\t\t},\r\n\t};\r\n\r\n\toptions.series = [];\r\n\toptions.series.push({\r\n\t\tname: mainChartdata.legendTitle,\r\n\t\tdata: prepareData(mainChartdata.chartData),\r\n\t\tshowInLegend: true,\r\n\t\tcolor,\r\n\t});\r\n\r\n\tif (additionalChartsData && additionalChartsData.length > 0) {\r\n\t\tadditionalChartsData.forEach((item) => {\r\n\t\t\toptions.series.push({\r\n\t\t\t\tname: item.legendTitle,\r\n\t\t\t\tdata: prepareData(item.chartData),\r\n\t\t\t\tshowInLegend: true,\r\n\t\t\t\tcolor: '#78aaff',\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\treturn options;\r\n}\r\n\r\n\r\nclass Chart extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tmainChartdata,\r\n\t\t\tYlabelsFormat,\r\n\t\t\tTooltipFormat,\r\n\t\t\ttitle,\r\n\t\t\tadditionalChartsData,\r\n\t\t\tclasses,\r\n\t\t\tcolor,\r\n\t\t\ttheme,\r\n\t\t} = this.props;\r\n\t\tconst options = createOptions(mainChartdata, additionalChartsData, YlabelsFormat, title, color, TooltipFormat);\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChart.propTypes = {\r\n\tYlabelsFormat: PropTypes.oneOfType([\r\n\t\tPropTypes.string,\r\n\t\tPropTypes.shape({\r\n\t\t\tformatter: PropTypes.func.isRequired,\r\n\t\t}),\r\n\t]),\r\n\tTooltipFormat: PropTypes.shape({\r\n\t\tformatter: PropTypes.func,\r\n\t}),\r\n\ttitle: PropTypes.string,\r\n\tcolor: PropTypes.string,\r\n\tmainChartdata: PropTypes.shape({\r\n\t\tlegendTitle: PropTypes.string.isRequired,\r\n\t\tchartData: PropTypes.array.isRequired,\r\n\t}).isRequired,\r\n\tadditionalChartsData: PropTypes.arrayOf(PropTypes.shape({\r\n\t\tlegendTitle: PropTypes.string.isRequired,\r\n\t\tchartData: PropTypes.array.isRequired,\r\n\t})),\r\n};\r\n\r\nChart.defaultProps = {\r\n\tadditionalChartsData: [],\r\n\tYlabelsFormat: '{value} %',\r\n\tTooltipFormat: {},\r\n\ttitle: 'Date & Time (UTC)',\r\n\tcolor: '#11d87c',\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\twithTheme,\r\n)(Chart);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Typography from '@material-ui/core/Typography';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\t...theme.typography.style.body,\r\n\t\tpadding: '24px 0',\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n});\r\n\r\nconst TabContainer = ({\r\n\tclasses,\r\n\t...props\r\n}) => (\r\n\t\r\n\t\t{props.children}\r\n\t\r\n);\r\n\r\n\r\nTabContainer.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tchildren: PropTypes.any.isRequired,\r\n};\r\n\r\nexport default withStyles(styles)(TabContainer);\r\n","import React, { useEffect, useState } from 'react';\r\nimport {\r\n\twithStyles,\r\n\twithTheme,\r\n} from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { useDropzone } from 'react-dropzone';\r\nimport { SvgIcon, R } from '@components';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport { provider } from '@api';\r\nimport PropTypes from 'prop-types';\r\nimport acceptChecker from 'attr-accept';\r\nimport bytes from 'bytes';\r\nimport classNames from 'classnames';\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n\tuploader: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\tborder: `2px dashed ${theme.typography.color.secondary}`,\r\n\t\tdisplay: 'flex',\r\n\t\tminHeight: '112px',\r\n\t\talignItems: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t\tcursor: 'pointer',\r\n\t},\r\n\tactiveClassName: {\r\n\t\tbackgroundColor: theme.palette.color.secondary.select,\r\n\t},\r\n\tuploadedFilesContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t},\r\n\tuploadedFilesItem: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t\tjustifyContent: 'space-between',\r\n\t\talignItems: 'center',\r\n\t\tpadding: '0 5px',\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: '#fefefe',\r\n\t\t},\r\n\t},\r\n\tuploadedFileName: {},\r\n\tuploadedFileAction: {},\r\n\terrors: {},\r\n\terror: {\r\n\t\t...theme.typography.style.body,\r\n\t\tpadding: '5px',\r\n\t\tcolor: theme.typography.color.red,\r\n\t\tmargin: '5px 0',\r\n\t\tbackgroundColor: '#fff',\r\n\t\tboxShadow: '0 1px 2px 0 rgba(61, 65, 71, 0.12)',\r\n\t\tborderRadius: '4px',\r\n\t},\r\n\terrorDropZone: {\r\n\t\tbackgroundColor: theme.typography.color.lightRed,\r\n\t\tborder: `2px dashed ${theme.typography.color.red}`,\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n});\r\n\r\nconst convertToMB = value => bytes(value, {\r\n\tdecimalPlaces: null,\r\n});\r\n\r\nconst createHash = async (content) => {\r\n\tconst hashBuffer = await crypto.subtle.digest('SHA-256', content);\r\n\tconst hashArray = Array.from(new Uint8Array(hashBuffer));\r\n\treturn hashArray.map(b => b.toString(16).padStart(2, '0')).join('');\r\n};\r\n\r\nfunction FileInput(props) {\r\n\tconst [loading, setLoading] = useState(false);\r\n\tconst [uploadedFiles, setUploadedFiles] = useState([]);\r\n\tconst [errors, setErrors] = useState([]);\r\n\tconst [filesHash, setFilesHash] = useState({});\r\n\r\n\tuseEffect(() => {\r\n\t\tprops.onFilesUpdate(uploadedFiles);\r\n\t}, [uploadedFiles]);\r\n\r\n\tconst onDeleteButtonClick = (fileItem) => {\r\n\t\tsetUploadedFiles(uploadedFiles.filter(item => item !== fileItem));\r\n\t\tsetErrors([]);\r\n\r\n\t\tconst newItems = { ...filesHash };\r\n\t\tdelete newItems[fileItem.Name.toLowerCase()];\r\n\t\tsetFilesHash(newItems);\r\n\t};\r\n\r\n\tfunction isUploaded(file, hash = null) {\r\n\t\treturn uploadedFiles.some(uploadedFile =>\r\n\t\t\tuploadedFile.Name.toLowerCase() === file.name.toLowerCase() ||\r\n\t\t\t(uploadedFile.Size === file.size && uploadedFile.Hash === hash));\r\n\t}\r\n\r\n\tconst onDropAccepted = (acceptedFiles) => {\r\n\t\tsetLoading(true);\r\n\t\tconst data = new FormData();\r\n\t\tconst checkErrors = [];\r\n\t\tlet checked = 0;\r\n\r\n\t\tconst checkAllChecked = async () => {\r\n\t\t\tchecked += 1;\r\n\t\t\tif (checked === acceptedFiles.length) {\r\n\t\t\t\tconst request = await provider.post('/api_upload/', data);\r\n\t\t\t\tif (request.data) {\r\n\t\t\t\t\tif (request.data.Success) {\r\n\t\t\t\t\t\trequest.data.Data.forEach((f) => {\r\n\t\t\t\t\t\t\tconst fileItem = f;\r\n\t\t\t\t\t\t\tfileItem.Hash = filesHash[f.Name.toLowerCase()];\r\n\t\t\t\t\t\t\tfileItem.Size = acceptedFiles.find(af => af.name.toLowerCase() === f.Name.toLowerCase()).size;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tsetUploadedFiles(uf => [...uf, ...request.data.Data]);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tcheckErrors.push(...request.data.Errors.map(e => e.Message));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tsetErrors(checkErrors);\r\n\t\t\t\tif (checkErrors.length > 0 && props.onReject) {\r\n\t\t\t\t\tprops.onReject();\r\n\t\t\t\t}\r\n\t\t\t\tsetLoading(false);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tacceptedFiles.forEach((file) => {\r\n\t\t\tif (isUploaded(file)) {\r\n\t\t\t\tcheckErrors.push(`File with the same name or content was already uploaded (${file.name})`);\r\n\t\t\t\tcheckAllChecked();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (uploadedFiles.length >= props.maxFiles && props.maxFiles !== 0) {\r\n\t\t\t\tcheckErrors.push(`Maximum files count: ${props.maxFiles}`);\r\n\t\t\t\tcheckAllChecked();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tconst reader = new FileReader();\r\n\t\t\treader.onabort = () => {\r\n\t\t\t\tcheckErrors.push(`File reading was aborted (${file.name})}`);\r\n\t\t\t\tcheckAllChecked();\r\n\t\t\t};\r\n\t\t\treader.onerror = () => {\r\n\t\t\t\tcheckErrors.push(`File reading has failed (${file.name})}`);\r\n\t\t\t\tcheckAllChecked();\r\n\t\t\t};\r\n\t\t\treader.onload = async () => {\r\n\t\t\t\tconst binaryStr = reader.result;\r\n\t\t\t\tconst hash = await createHash(binaryStr);\r\n\r\n\t\t\t\tif (isUploaded(file, hash) || Object.values(filesHash).some(h => h === hash)) {\r\n\t\t\t\t\tcheckErrors.push(`File with the same name or content was already uploaded (${file.name})`);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetFilesHash({ ...filesHash, [file.name.toLowerCase()]: hash });\r\n\t\t\t\t\tdata.append('', file);\r\n\t\t\t\t}\r\n\t\t\t\tcheckAllChecked();\r\n\t\t\t};\r\n\t\t\t// Start reading file\r\n\t\t\treader.readAsArrayBuffer(file);\r\n\t\t});\r\n\t};\r\n\r\n\tconst onDropRejected = (files) => {\r\n\t\tconst fileErrors = [];\r\n\t\tif (files.length > 1 && !props.multiple) {\r\n\t\t\tfileErrors.push('Maximum files count: 1');\r\n\t\t}\r\n\t\tfiles.forEach((file) => {\r\n\t\t\tif (!acceptChecker(file, props.accept)) {\r\n\t\t\t\tfileErrors.push(`Error uploading file ${file.name}. Allowed file extensions: ${props.accept}`);\r\n\t\t\t}\r\n\t\t\tif (file.size > props.maxSize) {\r\n\t\t\t\tfileErrors.push(`Error uploading file ${file.name}. Maximum file size: ${convertToMB(props.maxSize)}`);\r\n\t\t\t}\r\n\t\t\tif (file.size < props.minSize) {\r\n\t\t\t\tfileErrors.push(`Error uploading file ${file.name}. Minimum file size: ${convertToMB(props.minSize)}`);\r\n\t\t\t}\r\n\t\t});\r\n\t\tsetErrors(fileErrors);\r\n\t};\r\n\r\n\tconst { getRootProps, getInputProps } = useDropzone({\r\n\t\taccept: props.accept,\r\n\t\tminSize: props.minSize,\r\n\t\tmaxSize: props.maxSize,\r\n\t\tmultiple: props.multiple,\r\n\t\tmaxFiles: props.maxFiles,\r\n\t\tonDropAccepted,\r\n\t\tonDropRejected,\r\n\t});\r\n\r\n\tconst {\r\n\t\tclasses,\r\n\t\ttheme,\r\n\t} = props;\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t{uploadedFiles.map((file, index) => (\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{file.Name}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t onDeleteButtonClick(file)}>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t))}\r\n\t\t\t
\r\n\t\t\t{errors.length > 0 &&\r\n\t\t\t\t
\r\n\t\t\t\t\t{errors.map((error, index) => (\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{error}\r\n\t\t\t\t\t\t
))}\r\n\t\t\t\t
\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t{loading ?\r\n\t\t\t\t\t\r\n\t\t\t\t\t:\r\n\t\t\t\t\tDrop files here to attach
or click to select files

\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t
\r\n\t);\r\n}\r\n\r\nFileInput.propTypes = {\r\n\tminSize: PropTypes.number,\r\n\tmaxSize: PropTypes.number,\r\n\taccept: PropTypes.string,\r\n\tonFilesUpdate: PropTypes.func.isRequired,\r\n\tonReject: PropTypes.func,\r\n\tmultiple: PropTypes.bool,\r\n\tmaxFiles: PropTypes.number,\r\n\tclasses: PropTypes.object,\r\n\ttheme: PropTypes.object,\r\n};\r\n\r\nFileInput.defaultProps = {\r\n\tmultiple: true, // allow multiple upload\r\n\tmaxSize: 2097152, // in bytes\r\n\taccept: '.jpg,.jpeg,.gif,.png,.tiff,.pdf',\r\n\tminSize: 0,\r\n\tmaxFiles: 0, // when 0 no limitation to how many files are accepted, works only when multiple is false\r\n\tonReject: undefined,\r\n\tclasses: {},\r\n\ttheme: {},\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\twithTheme,\r\n)(FileInput);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport BaseMessage from './BaseMessage/BaseMessage';\n\nconst InfoMessage = props => (\n\t\n);\n\nInfoMessage.defaultProps = {\n\tbuttonText: 'Close',\n};\n\nInfoMessage.propTypes = {\n\t/**\n\t * Button's handler, executed after click.\n\t */\n\tonClick: PropTypes.func.isRequired,\n\t/**\n\t * Text in the center of modal.\n\t */\n\ttext: PropTypes.node.isRequired,\n\t/**\n\t * Button's text at the bottom of modal.\n\t */\n\tbuttonText: PropTypes.string,\n};\n\nexport default InfoMessage;\n","module.exports = __webpack_public_path__ + \"content/assets/ae9dc2cbdb04b36824687f8e6e6bb7e8.svg\";","import React from 'react';\nimport { R } from '@components';\nimport PropTypes from 'prop-types';\nimport BaseMessage from './BaseMessage/BaseMessage';\n\n\nconst ErrorMessage = (props) => {\n\tconst btText = props.buttonText === undefined ? : props.buttonText;\n\treturn ;\n};\n\nErrorMessage.defaultProps = {\n\tbuttonText: undefined,\n\tsubtext: '',\n};\n\nErrorMessage.propTypes = {\n\t/**\n\t * Button's handler, executed after click.\n\t */\n\tonClick: PropTypes.func.isRequired,\n\t/**\n\t * Text in the center of modal.\n\t */\n\ttext: PropTypes.node.isRequired,\n\t/**\n\t * Text description under main text.\n\t */\n\tsubtext: PropTypes.node,\n\t/**\n\t * Button's text at the bottom of modal.\n\t */\n\tbuttonText: PropTypes.oneOfType([\n\t\tPropTypes.string,\n\t\tPropTypes.node,\n\t]),\n};\n\nexport default ErrorMessage;\n","import React from 'react';\nimport { R } from '@components';\nimport PropTypes from 'prop-types';\nimport BaseMessage from './BaseMessage/BaseMessage';\n\n\nconst SuccessMessage = (props) => {\n\tconst btText = props.buttonText === undefined ? : props.buttonText;\n\treturn ;\n};\n\nSuccessMessage.defaultProps = {\n\tbuttonText: undefined,\n\tsubtext: '',\n};\n\n\nSuccessMessage.propTypes = {\n\t/**\n\t * Button's handler, executed after click.\n\t */\n\tonClick: PropTypes.func.isRequired,\n\t/**\n\t * Text in the center of modal.\n\t */\n\ttext: PropTypes.node.isRequired,\n\t/**\n\t * Text description under main text.\n\t */\n\tsubtext: PropTypes.node,\n\t/**\n\t * Button's text at the bottom of modal.\n\t */\n\tbuttonText: PropTypes.oneOfType([\n\t\tPropTypes.string,\n\t\tPropTypes.object // fix warning when text is not specified\n\t]),\n};\n\nexport default SuccessMessage;\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport R from '../R/R';\r\n\r\nconst styles = theme => ({\r\n\tcenter: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\ttext: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\ttextAlign: 'center',\r\n\t},\r\n});\r\n\r\n\r\nfunction hasChildren(elm) {\r\n\tif (!elm) {\r\n\t\treturn false;\r\n\t}\r\n\tif (Array.isArray(elm)) {\r\n\t\treturn elm.find(item => hasChildren(item));\r\n\t}\r\n\treturn elm.props && elm.props.children;\r\n}\r\n\r\nconst ProgressContainer = ({\r\n\tclasses,\r\n\tdisplay,\r\n\tsubmitting,\r\n\tsize,\r\n\tdisableCheckChildren,\r\n\t...props\r\n}) => {\r\n\tif (submitting) {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{display !== 'none' &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n\r\n\tif (!disableCheckChildren && !hasChildren(props.children)) {\r\n\t\treturn
;\r\n\t}\r\n\treturn props.children;\r\n};\r\n\r\nProgressContainer.defaultProps = {\r\n\tdisplay: 'center',\r\n\tsize: 58,\r\n\tdisableCheckChildren: false,\r\n};\r\n\r\nProgressContainer.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * gorizontal component alignment: left or center.\r\n\t */\r\n\tdisplay: PropTypes.string,\r\n\t/**\r\n\t * main event: display progress if true.\r\n\t */\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\t/**\r\n\t * main content: display if submitting is false.\r\n\t */\r\n\tchildren: PropTypes.any,\r\n\r\n\tsize: PropTypes.number,\r\n\t/**\r\n\t * отключает проверку на наличие элементов внутри и вывод сообщения об их отсутствии\r\n\t */\r\n\tdisableCheckChildren: PropTypes.bool,\r\n};\r\n\r\nexport default withStyles(styles)(ProgressContainer);\r\n","import React, { useState, useEffect } from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport PropTypes from 'prop-types';\n\nconst useStyles = makeStyles(theme => ({\n\troot: {\n\t\tposition: 'absolute',\n\t\tleft: props => `calc(50% - ${props.size / 2}px)`,\n\t\ttop: props => `calc(50% - ${props.size / 2}px)`,\n\t},\n}));\n\n\nconst FullScreenProgressContainer = (props) => {\n\tconst {\n\t\tsubmitting,\n\t\tsize,\n\t\ttimeShift = 300, // Отображать крутилку не сразу, а через N милисекунд, чтобы не было заметно моргание\n\t} = props;\n\n\tconst [timeShiftFinished, setTimeShiftFinished] = useState(false);\n\tuseEffect(() => {\n\t\tlet tm = window.setTimeout(() => {\n\t\t\tsetTimeShiftFinished(true);\n\t\t\twindow.clearTimeout(tm);\n\t\t\ttm = null;\n\t\t}, timeShift);\n\t\treturn () => {\n\t\t\tif (tm !== null) {\n\t\t\t\twindow.clearTimeout(tm);\n\t\t\t\ttm = null;\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst classes = useStyles(props);\n\tif (submitting) {\n\t\tif (!timeShiftFinished) {\n\t\t\t// пустой тег, чтобы на странице html обработчик не посчитал что приложение не загрузилось\n\t\t\treturn (
);\n\t\t}\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n\n\treturn props.children;\n};\n\nFullScreenProgressContainer.defaultProps = {\n\tdisplay: 'center',\n\tsize: 58,\n};\n\nFullScreenProgressContainer.propTypes = {\n\t/**\n\t * main event: display progress if true.\n\t */\n\tsubmitting: PropTypes.bool.isRequired,\n\n\tsize: PropTypes.number,\n};\n\nexport default FullScreenProgressContainer;\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { SvgIcon } from '@components';\r\nimport { env } from '@config';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tposition: 'fixed',\r\n\t\twidth: '100%',\r\n\t\theight: '100%',\r\n\t\ttop: '0',\r\n\t\tleft: '0',\r\n\t\tzIndex: 1,\r\n\t\toverflowY: 'scroll',\r\n\t},\r\n\tcontainer: {\r\n\t\tpadding: '0 24px',\r\n\t\tmaxWidth: '496px',\r\n\t\tmargin: '0 auto',\r\n\t\tposition: 'relative',\r\n\t\tzIndex: 2001,\r\n\t},\r\n\tcontainerWrapper: {\r\n\t\tmarginTop: '50px',\r\n\t},\r\n\terr: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t},\r\n\ticon: {\r\n\t\twidth: '72px',\r\n\t\theight: '72px',\r\n\t\tmarginRight: '24px',\r\n\t},\r\n\tbody: {\r\n\t},\r\n});\r\n\r\nclass ErrorCatcher extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = { error: null };\r\n\t}\r\n\r\n\tcomponentDidCatch(error, errorInfo) {\r\n\t\tthis.setState({ error });\r\n\t\tRaven.captureException(error, { extra: errorInfo });\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tif (this.state.error) {\r\n\t\t\t// render fallback UI\r\n\t\t\treturn (\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t\tWe are sorry, something went wrong.\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t\tWe shared this error with our development team.\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t\tTry one more time or contact {env.supportMail} if you see this error again.\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t);\r\n\t\t}\r\n\t\t// when there's not an error, render children untouched\r\n\t\treturn this.props.children;\r\n\t}\r\n}\r\n\r\nErrorCatcher.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default withStyles(styles)(ErrorCatcher);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\nimport { MuiThemeProvider, createTheme, Box } from '@material-ui/core';\r\nimport MomentUtils from '@date-io/moment';\r\nimport { MuiPickersUtilsProvider, DatePicker } from '@material-ui/pickers';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { app } from '@redux';\r\nimport { R } from '@components';\r\n\r\nconst styles = () => ({\r\n\t'MuiInput-underline': {\r\n\t\tborder: 'none!important',\r\n\t\t'&:before': {\r\n\t\t\t'border-bottom': 'none!important',\r\n\t\t},\r\n\t},\r\n\tcalendarsSplit: {\r\n\t\tdisplay: 'inline-flex', \r\n\t\tcolor: '#1a96ff'\r\n\t},\r\n});\r\nconst materialTheme = createTheme({\r\n\toverrides: {\r\n\t\tMuiPickersToolbar: {\r\n\t\t\ttoolbar: {\r\n\t\t\t\tbackgroundColor: '#1a96ff',\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiPickersCalendarHeader: {\r\n\t\t\tswitchHeader: {\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t\t// backgroundColor: lightBlue.A200,\r\n\t\t\t\t// color: 'white',\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiTypography: {\r\n\t\t\tcaption: {\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiPickersDay: {\r\n\t\t\tday: {\r\n\t\t\t\tfontSize: '14px',\r\n\t\t\t},\r\n\t\t\tdaySelected: {\r\n\t\t\t\tbackgroundColor: '#1a96ff',\r\n\t\t\t\t'&:hover': {\r\n\t\t\t\t\tbackgroundColor: '#1a96ff',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tcurrent: {\r\n\t\t\t\tcolor: '#1a96ff',\r\n\t\t\t},\r\n\t\t},\r\n\t\t/*\r\n\t\t\tБолее правильный вариант переопределения стилей в кнопках диалога, но изза баги в mui-pickers\r\n\t\t\tв консоли Warning:\r\n\t\t\tMaterial-UI: You are trying to override a style that does not exist.\r\n\t\t\tFix the `dialogAction` key of `theme.overrides.MuiPickersModal`.\r\n\t\t\tabout this bug: https://github.com.cnpmjs.org/mui-org/material-ui-pickers/issues/1376\r\n\t\t\tВместо этого переопределения использовано MuiButton (не должно ни на что влиять,\r\n\t\t\t\tт.к. другх кнпок кроме кнопок самого диалога внутри тега не будет)\r\n\r\n\t\t\tMuiPickersModal: {\r\n\t\t\t\tdialogAction: {\r\n\t\t\t\t\tcolor: '#1a96ff',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t*/\r\n\t\tMuiButton: {\r\n\t\t\tlabel: {\r\n\t\t\t\tcolor: '#1a96ff',\r\n\t\t\t},\r\n\t\t},\r\n\t\tMuiInput: {\r\n\t\t\tinput: {\r\n\t\t\t\tcursor: 'pointer',\r\n\t\t\t\ttextAlign: 'inherit',\r\n\t\t\t\tpadding: '4px 0 5px',\r\n\t\t\t},\r\n\t\t\troot: {\r\n\t\t\t\tcolor: '#1a96ff',\r\n\t\t\t\t'&$focused': {\r\n\t\t\t\t\t'&:before': {\r\n\t\t\t\t\t\tborder: 'none!important',\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tunderline: {\r\n\t\t\t\t'&:before': {\r\n\t\t\t\t\tborder: 'none!important',\r\n\t\t\t\t},\r\n\t\t\t\t'&:after': {\r\n\t\t\t\t\tborder: 'none!important',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tlanguage: app.selectors.language(state),\r\n});\r\n\r\nclass DateRangePicker extends React.Component {\r\n\tstartDateChange = (date) => {\r\n\t\tif (this.props.onStartDateChange) {\r\n\t\t\tthis.props.onStartDateChange(date);\r\n\t\t}\r\n\t};\r\n\r\n\tendDateChange = (date) => {\r\n\t\tif (this.props.onEndDateChange) {\r\n\t\t\tthis.props.onEndDateChange(date);\r\n\t\t}\r\n\t};\r\n\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tstartDate,\r\n\t\t\tendDate,\r\n\t\t\tlanguage,\r\n\t\t\tcancelLabel = ,\r\n\t\t\tokLabel = ,\r\n\t\t\ttodayLabel = ,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
);\r\n\t}\r\n}\r\n\r\nDateRangePicker.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonStartDateChange: PropTypes.func,\r\n\tonEndDateChange: PropTypes.func,\r\n\tstartDate: PropTypes.any,\r\n\tendDate: PropTypes.any,\r\n};\r\n\r\nDateRangePicker.defaultProps = {\r\n\tonStartDateChange: null,\r\n\tonEndDateChange: null,\r\n\tstartDate: new Date(),\r\n\tendDate: new Date(),\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(DateRangePicker);\r\n","export DatePicker from './DatePicker';\nexport FormDatePicker from './FormDatePicker';\n","import DatePicker from './DatePicker';\nimport { createComponent, mapError } from '../utils';\n\nfunction mapDatePickerProps(props) {\n\tconst { dateFormat, variant, ...otherprops } = props;\n\treturn {\n\t\t...otherprops,\n\t\tformat: dateFormat,\n\t\tinputVariant: variant,\n\t\tonFocus: () => undefined,\n\t};\n}\n\nexport default createComponent(DatePicker, ({ ...props }) => ({\n\t...mapDatePickerProps(mapError(props)),\n}));\n","/* eslint-disable react/no-children-prop */\r\nimport React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport { Field } from 'redux-form';\r\nimport PropTypes from 'prop-types';\r\nimport Select from '@material-ui/core/Select';\r\nimport FormControl from '@material-ui/core/FormControl';\r\nimport { FormHelperText } from '@material-ui/core';\r\nimport { createQAAttribute } from '@global';\r\n\r\nconst styles = theme => ({\r\n\tinputContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\tinputContainerItem: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'left',\r\n\t},\r\n\tfullWidth: {\r\n\t\twidth: '100%',\r\n\t},\r\n\tlabel: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\tmarginTop: '-8px',\r\n\t\tpaddingLeft: '25px',\r\n\t\t'&.MuiInputLabel-shrink': {\r\n\t\t\tmarginTop: '-4px',\r\n\t\t},\r\n\t},\r\n\tselectContainer: {\r\n\t\tborderRadius: '8px',\r\n\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t},\r\n\tselectMenu: {\r\n\t\twidth: '100%',\r\n\t\theight: '28px',\r\n\t\tpaddingTop: '3px',\r\n\t\tpaddingBottom: '4px',\r\n\t\tpaddingLeft: '20px',\r\n\t},\r\n\ticon: {\r\n\t\ttop: 'calc(50% - 19px)',\r\n\t},\r\n\terrorMsg: {\r\n\t\ttextTransform: 'capitalize',\r\n\t\tpaddingLeft: '25px',\r\n\t\tfontSize: '14px',\r\n\t},\r\n});\r\n\r\n\r\nclass SelectField extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {};\r\n\t\tthis.state[this.props.name] = this.props.value;\r\n\t\tthis.state.touched = false;\r\n\t}\r\n\r\n\t// Removed second focus from select element\r\n\tonExitedRegionSelect = () => {\r\n\t\tdocument.activeElement.blur();\r\n\t};\r\n\r\n\thandleChange = (event) => {\r\n\t\tif (event.target) {\r\n\t\t\tthis.setState({ [event.target.name]: event.target.value });\r\n\t\t}\r\n\t};\r\n\r\n\trenderSelectField = ({\r\n\t\tinput,\r\n\t\tlabel,\r\n\t\tmeta: { error, touched },\r\n\t\tchildren,\r\n\t}) => {\r\n\t\tconst {\r\n\t\t\tname,\r\n\t\t\tclasses,\r\n\t\t\tdisabled,\r\n\t\t} = this.props;\r\n\t\tconst invalid = (this.state.touched || touched) && !!error;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{label}\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.setState({ touched: true })}\r\n\t\t\t\t\t\tonChange={(event) => {\r\n\t\t\t\t\t\t\tinput.onChange(event);\r\n\t\t\t\t\t\t\tthis.handleChange(event);\r\n\t\t\t\t\t\t\tif (this.props.onChange) {\r\n\t\t\t\t\t\t\t\tthis.props.onChange(event);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tinputProps={{\r\n\t\t\t\t\t\t\tname,\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tclasses={{\r\n\t\t\t\t\t\t\tselectMenu: classes.selectMenu,\r\n\t\t\t\t\t\t\ticon: classes.icon,\r\n\t\t\t\t\t\t}}\r\n\t\t\t\t\t\tMenuProps={{ TransitionProps: { onExited: this.onExitedRegionSelect } }}\r\n\t\t\t\t\t/>\r\n\t\t\t\t\r\n\t\t\t\t{invalid && {error}}\r\n\t\t\t\r\n\t\t);\r\n\t};\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tname,\r\n\t\t\tlabel,\r\n\t\t\titems,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\titems.map((item, i) => (\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
{item.text}
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t))\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSelectField.propTypes = {\r\n\tname: PropTypes.string.isRequired,\r\n\tlabel: PropTypes.string.isRequired,\r\n\tvalue: PropTypes.any.isRequired,\r\n\titems: PropTypes.array.isRequired,\r\n\tonChange: PropTypes.func,\r\n\tdisabled: PropTypes.bool,\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nSelectField.defaultProps = {\r\n\tdisabled: false,\r\n};\r\n\r\n\r\nexport default compose(withStyles(styles))(SelectField);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport MUISvgIcon from '@material-ui/core/SvgIcon';\nimport LimeLogoSvg from './lime_logo.svg';\n\n// eslint-disable-next-line no-unused-vars\nconst useStyles = makeStyles(theme => createStyles({\n\troot: {\n\t\tposition: 'relative',\n\t\tmaxWidth: '48px',\n\t\theight: '48px',\n\t},\n}));\nconst LimeLogo = ({ alt, classes, className }) => {\n\tconst mergedclasses = {\n\t\t...useStyles(),\n\t\t...classes,\n\t};\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t\"Lime\n\t\t\t\t{/* */}\n\t\t\t
\n\t\t
\n\t);\n};\n\nLimeLogo.propTypes = {\n\tclasses: PropTypes.object,\n\tclassName: PropTypes.string,\n\talt: PropTypes.string,\n};\nLimeLogo.defaultProps = {\n\talt: 'Lime logo',\n\tclasses: {},\n\tclassName: undefined,\n};\n\nexport default LimeLogo;\n","module.exports = __webpack_public_path__ + \"content/assets/403003db8e45d7e0d77e4dd670715abc.svg\";","import React from 'react';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport { Field } from 'redux-form';\r\nimport { toUsaMoneyFormat, translate } from '@global';\r\nimport {\r\n\tFormInputNumber,\r\n\tSvgIcon,\r\n\tR,\r\n} from '@components';\r\nimport { connect } from 'react-redux';\r\nimport { app } from '@redux';\r\n\r\nconst styles = theme => ({\r\n\tinputItem: {\r\n\t\tmarginTop: '30px',\r\n\t\tpaddingLeft: '50px',\r\n\t},\r\n\tcashToWithdrawInfo: {\r\n\t\talignItems: 'flex-start', display: 'flex', justifyContent: 'flex-start',\r\n\t},\r\n\tcashToWithdrawInfoText: {\r\n\t\tfontSize: '14px',\r\n\t\tmarginTop: 0,\r\n\t\tpaddingTop: 0,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\tpaddingLeft: '24px',\r\n\t},\r\n\tcashToWithdrawRefreshIcon: {\r\n\t\tmarginLeft: '5px', cursor: 'pointer',\r\n\t},\r\n\tcashToWithdrawLoadingIcon: {\r\n\t\talignItems: 'center', display: 'flex', justifyContent: 'flex-start', margin: 'auto',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tresolution: app.selectors.resolution(state),\r\n});\r\n\r\nclass WithdrawAmount extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tloading,\r\n\t\t\tavailableAmount,\r\n\t\t\tadditionalText,\r\n\t\t\twithdrawLabelText,\r\n\t\t\ttheme,\r\n\t\t\tdisabled,\r\n\t\t\tname,\r\n\t\t\tresolution,\r\n\t\t\tonClick,\r\n\t\t\tonChange,\r\n\t\t\tonBlur,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t\tlabel=\"Amount\"\r\n\t\t\t\t\tadditionalText={additionalText}\r\n\t\t\t\t\tdisabled={disabled}\r\n\t\t\t\t\t{...props}\r\n\t\t\t\t\tonChange={onChange}\r\n\t\t\t\t\tonBlur={onBlur}\r\n\t\t\t\t\tdecimalScale={2}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\r\n\t\t\t\t\t{!loading &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{withdrawLabelText === undefined ? translate('common_amount_available_to_withdraw', 'Amount available to withdraw') : withdrawLabelText}: {toUsaMoneyFormat(availableAmount)}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t\t\tif (onClick) {\r\n\t\t\t\t\t\t\t\t\t\tonClick();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{loading &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\r\n\t\t);\r\n\t}\r\n}\r\n\r\nWithdrawAmount.propTypes = {\r\n\tname: PropTypes.string,\r\n\tonClick: PropTypes.func,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n\tavailableAmount: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]).isRequired,\r\n\twithdrawLabelText: PropTypes.string,\r\n};\r\n\r\nWithdrawAmount.defaultProps = {\r\n\tname: 'Amount',\r\n\tonClick: null,\r\n\twithdrawLabelText: undefined,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\twithTheme,\r\n\tconnect(mapStateToProps, null),\r\n)(WithdrawAmount);\r\n","import React from 'react';\nimport { useSelector } from 'react-redux';\nimport { userAccounts } from '@redux';\nimport { ProgressContainer } from '@components';\nimport { createQAAttribute } from '@global';\n\nconst HeaderUserInfo = () => {\n\tconst { submitting, FirstName, LastName } = useSelector(userAccounts.selectors.userInfo);\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\t{`${FirstName || ''} ${LastName || ''}`}\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default HeaderUserInfo;\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { app } from '@redux';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n\tDropDownMenu,\n\tList,\n\tListItem,\n\tListItemIcon,\n\tListItemText,\n\tIconButton,\n} from '@components';\nimport { getAllowedLanguages, env } from '@config';\n\nconst useStyles = makeStyles({\n\tlanguageIcon: {\n\t\twidth: '30px',\n\t\theight: '30px',\n\t},\n});\n\nconst LanguageSelector = () => {\n\tconst classes = useStyles();\n\tconst language = useSelector(app.selectors.language);\n\tconst dispatch = useDispatch();\n \n\tconst allowedAndHiddenLanguages = getAllowedLanguages();\n\tconst allowedLanguages = env.hiddenLangs\n\t\t? allowedAndHiddenLanguages.filter(it => !env.hiddenLangs.includes(it.language)) \n\t\t: allowedAndHiddenLanguages;\n\n\tconst getCurrentLanguageIcon = lang => (allowedAndHiddenLanguages.find(it => it.language === lang) ||\n\t\t\t\tallowedLanguages.find(it => it.language === 'en')).icon;\n\n\tconst changeLanguage = lang => () => {\n\t\tdispatch(app.actions.changeLanguage(lang));\n\t};\n\n\treturn (\n\t\t\n\t\t\t{ allowedLanguages && allowedLanguages.length > 1 &&\n\t\t\t (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t\n\t\t\t\t\t{allowedLanguages && allowedLanguages.map((item, index) => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t))}\n\t\t\t\t\n\t\t\t\n\t\t\t}\n\t\t\n\t);\n};\n\nexport default LanguageSelector;\n","import React, { useLayoutEffect } from 'react';\nimport { useLocation, Redirect } from 'react-router-dom';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { app } from '@redux';\nimport { getAllowedLanguages } from '@config';\n\nconst LanguageRefSwitcher = () => {\n\tconst language = useSelector(app.selectors.language);\n\tconst location = useLocation();\n\tconst langPath = location.pathname.substring(1, 3);\n\tconst noLangPath = location.pathname.substring(3) || '/';\n\n\tconst dispatch = useDispatch();\n\tuseLayoutEffect(() => {\n\t\tif (langPath !== language && getAllowedLanguages().some(x => x.language === langPath)) {\n\t\t\tdispatch(app.actions.changeLanguage(langPath));\n\t\t}\n\t}, [langPath, language, dispatch]);\n\n\tconst noLangLocation = {\n\t\t...location,\n\t\tpathname: noLangPath,\n\t};\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default LanguageRefSwitcher;\n","import React, { useState } from 'react';\nimport IconButton from '@material-ui/core/IconButton';\nimport { useDispatch } from 'react-redux';\nimport { SvgIcon } from '@components';\nimport { auth } from '@redux';\nimport { createQAAttribute } from '@global';\n\nconst LogOutButton = () => {\n\tconst dispatch = useDispatch();\n\tconst [logoutProgress, setLogoutProgress] = useState(false);\n\n\tconst actions = {\n\t\tLogout: () => dispatch(auth.actions.logout()),\n\t};\n\n\tconst handleLogout = () => {\n\t\tsetLogoutProgress(true);\n\t\tactions.Logout();\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t);\n};\n\nexport default LogOutButton;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Select from '@material-ui/core/Select';\nimport FormControl from '@material-ui/core/FormControl';\nimport InputLabel from '@material-ui/core/InputLabel';\nimport FormHelperText from '@material-ui/core/FormHelperText';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\n\nconst styles = theme => ({\n\tfullWidth: {\n\t\twidth: '100%',\n\t},\n\tselectItem: {\n\t\tpadding: '12px 0px 5px 24px',\n\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\tborderRadius: '8px',\n\t},\n\tselectMenu: {\n\t\twidth: '100%',\n\t},\n\tbulletPoints: {\n\t\tmargin: '0px 0px 10px 0px',\n\t\tpaddingLeft: '24px',\n\t},\n});\n\nclass SelectPoints extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tname,\n\t\t\tclasses,\n\t\t\tlabel,\n\t\t\tmeta: {\n\t\t\t\terror,\n\t\t\t},\n\t\t\tinput: {\n\t\t\t\tonChange,\n\t\t\t\tvalue,\n\t\t\t},\n\t\t\trenderValue,\n\t\t\tchildren,\n\t\t\tbulletPoints,\n\t\t\tinput,\n\t\t\tdisplayError,\n\t\t} = this.props;\n\n\t\tconst invalid = !!(error);\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{label}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{children}\n\t\t\t\t\n\t\t\t\t{!invalid &&\n\t\t\t\t\t
\n\t\t\t\t\t\t{bulletPoints(value)}\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{displayError && invalid && {error}}\n\t\t\t
\n\t\t);\n\t}\n}\n\nSelectPoints.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tname: PropTypes.string,\n\tlabel: PropTypes.string,\n\tinput: PropTypes.shape({\n\t\tvalue: PropTypes.any.isRequired,\n\t\tonChange: PropTypes.func.isRequired,\n\t}).isRequired,\n\trenderValue: PropTypes.func.isRequired,\n\tchildren: PropTypes.node.isRequired,\n\tmeta: PropTypes.shape({\n\t\terror: PropTypes.string,\n\t}).isRequired,\n\tbulletPoints: PropTypes.func.isRequired,\n\tdisplayError: PropTypes.bool,\n};\n\nSelectPoints.defaultProps = {\n\tlabel: '',\n\tname: '',\n\tdisplayError: false,\n};\n\nexport default compose(withStyles(styles))(SelectPoints);\n","import { createStore, applyMiddleware, compose } from 'redux';\r\nimport createSagaMiddleware from 'redux-saga';\r\nimport { formActionSaga } from 'redux-form-saga';\r\nimport createHistory from 'history/createBrowserHistory';\r\nimport { routerMiddleware } from 'connected-react-router';\r\n\r\nimport createRootReducer from './reducers';\r\nimport rootSaga from './sagas';\r\n\r\nconst initState = {};\r\n\r\nexport default function configureStore(initialState = initState) {\r\n\tconst history = createHistory();\r\n\r\n\t// Create the saga middleware\r\n\tconst sagaMiddleware = createSagaMiddleware();\r\n\r\n\t// For Redux devtools browser extension\r\n\tconst composeEnhancers =\r\n\t// eslint-disable-next-line no-underscore-dangle\r\n\t\ttypeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?\r\n\t\t\t// eslint-disable-next-line no-underscore-dangle\r\n\t\t\twindow.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}) : compose;\r\n\r\n\tconst enhancers = composeEnhancers(\r\n\t\tapplyMiddleware(sagaMiddleware),\r\n\t\tapplyMiddleware(routerMiddleware(history)),\r\n\t);\r\n\t\t// applyMiddleware(...middlewares));\r\n\tconst store = createStore(\r\n\t\tcreateRootReducer(history), // root reducer with router state\r\n\t\tinitialState,\r\n\t\tenhancers,\r\n\t);\r\n\twindow.store = store;\r\n\r\n\tsagaMiddleware.run(rootSaga);\r\n\tsagaMiddleware.run(formActionSaga);\r\n\r\n\tif (module.hot) {\r\n\t\t// Enable Webpack hot module replacement for reducers\r\n\t\tmodule.hot.accept('./reducers', () => {\r\n\t\t\tconst nextRootReducer = createRootReducer(history);\r\n\t\t\tstore.replaceReducer(nextRootReducer);\r\n\t\t});\r\n\t}\r\n\r\n\treturn {\r\n\t\thistory,\r\n\t\tstore,\r\n\t};\r\n}\r\n","import { combineReducers } from 'redux';\r\nimport { reducer as formReducer } from 'redux-form';\r\nimport { connectRouter } from 'connected-react-router';\r\nimport {\r\n\tuserAccounts,\r\n\tdashboard,\r\n\tlinkedAccounts,\r\n\t// loginForm,\r\n\tagent,\r\n\tauth,\r\n\tdepositFunds,\r\n\tetnaAuth,\r\n\tipo,\r\n\tnontradingOrders,\r\n\tnotifications,\r\n\ttradePlatforms,\r\n\twithdrawFunds,\r\n\tacatDeposit,\r\n\tsignalR,\r\n\tsnackbar,\r\n\tprofile,\r\n\treset,\r\n\t// promotions,\r\n\tsignature,\r\n\tapp,\r\n\tanalytics,\r\n\twallet,\r\n} from './';\r\n\r\nimport reportReducer from './reports/reducer';\r\n\r\nconst reducers = {\r\n\tauth: auth.reducer,\r\n\tdashboard: dashboard.reducer,\r\n\tagent: agent.reducer,\r\n\tuserAccounts: userAccounts.reducer,\r\n\tanalytics: analytics.reducer,\r\n\tform: formReducer,\r\n\tipo: ipo.reducer,\r\n\tlinkedAccounts: linkedAccounts.reducer,\r\n\t// loginForm: loginForm.reducer,\r\n\tnontradingOrders: nontradingOrders.reducer,\r\n\tnotifications: notifications.reducer,\r\n\tdepositFunds: depositFunds.reducer,\r\n\tetnaAuth: etnaAuth.reducer,\r\n\twithdrawFunds: withdrawFunds.reducer,\r\n\ttradePlatforms: tradePlatforms.reducer,\r\n\tacatDeposit: acatDeposit.reducer,\r\n\tsignalR: signalR.reducer,\r\n\tsnackbar: snackbar.reducer,\r\n\tprofile: profile.reducer,\r\n\treset: reset.reducer,\r\n\treports: reportReducer,\r\n\t// functionality was closed by task WEBCAB-3983\r\n\t// promotions: promotions.reducer,\r\n\trouter: connectRouter,\r\n\tsignature: signature.reducer,\r\n\twallet: wallet.reducer,\r\n\t[app.CONFIG.STATE_FIELD_NAME]: app.reducer,\r\n};\r\n\r\nconst composeSortedReducers = history => Object.keys(reducers).sort().reduce((acc, cur) => {\r\n\tlet value = reducers[cur];\r\n\tif (cur === 'router') {\r\n\t\tvalue = value(history);\r\n\t}\r\n\r\n\treturn ({ ...acc, [cur]: value });\r\n}, {});\r\n\r\nconst createRootReducer = history => combineReducers(composeSortedReducers(history));\r\nexport default createRootReducer;\r\n","import actions from './actions';\nimport auth from '../auth';\n\nconst initialState = {\n\tgenerateSubmitting: false,\n\taccountReports: {\n\t\t// ...initTableData('CreateDate', 'Desc'),\n\t\tItems: [],\n\t\ttradeCode: '',\n\t\tsubmitting: true,\n\t\t// Pagination: {\n\t\t// \tPageSize: 10,\n\t\t// \tPage: 0,\n\t\t// },\n\t},\n};\n\nexport default (state = initialState, { type, payload }) => {\n\tswitch (type) {\n\t\tcase actions.getBrokerReports.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\taccountReports: {\n\t\t\t\t\t...state.accountReports,\n\t\t\t\t\tsubmitting: true,\n\t\t\t\t\terror: false,\n\t\t\t\t},\n\t\t\t};\n\t\tcase actions.getBrokerReports.SUCCESS:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\taccountReports: {\n\t\t\t\t// ...state.accountReports,\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\terror: false,\n\t\t\t\t\tItems: payload.response.Items,\n\t\t\t\t\ttradeCode: (payload.response.Items && payload.response.Items.length > 0) ? payload.response.Items[0].AccountCode : '',\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase actions.getBrokerReports.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\taccountReports: {\n\t\t\t\t// ...state.accountReports, // save prev sorting, pagination and filter\n\t\t\t\t\tsubmitting: false,\n\t\t\t\t\terror: true,\n\t\t\t\t\tItems: [],\n\t\t\t\t\ttradeCode: '',\n\t\t\t\t},\n\t\t\t};\n\n\t\tcase actions.generateBrokerReport.REQUEST:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tgenerateSubmitting: true,\n\t\t\t};\n\t\tcase actions.generateBrokerReport.SUCCESS:\n\t\tcase actions.generateBrokerReport.FAILURE:\n\t\t\treturn {\n\t\t\t\t...state,\n\t\t\t\tgenerateSubmitting: false,\n\t\t\t};\n\t\tcase auth.actions.LOGOUT_SUCCESS:\n\t\t\treturn { ...initialState };\n\t\tdefault:\n\t\t\treturn state;\n\t}\n};\n","import { all } from 'redux-saga/effects';\r\nimport {\r\n\tapp,\r\n\tagent,\r\n\tuserAccounts,\r\n\tdashboard,\r\n\tlinkedAccounts,\r\n\tloginForm,\r\n\tdepositFunds,\r\n\tetnaAuth,\r\n\tipo,\r\n\tnontradingOrders,\r\n\tnotifications,\r\n\twithdrawFunds,\r\n\tauth,\r\n\ttradePlatforms,\r\n\tacatDeposit,\r\n\tprofile,\r\n\t// promotions,\r\n\treset,\r\n\tsignalR,\r\n\tsignature,\r\n\tanalytics,\r\n\twallet,\r\n} from './';\r\n\r\nimport reportSaga from './reports/saga';\r\n\r\nexport default function* sagas() {\r\n\tyield all([\r\n\t\t...dashboard.saga.rootSaga,\r\n\t\t...app.saga.rootSaga,\r\n\t\t...auth.saga.rootSaga,\r\n\t\t...agent.saga.rootSaga,\r\n\t\t...userAccounts.saga.rootSaga,\r\n\t\t...linkedAccounts.saga.rootSaga,\r\n\t\t...loginForm.saga.rootSaga,\r\n\t\t...depositFunds.saga.rootSaga,\r\n\t\t...etnaAuth.saga.rootSaga,\r\n\t\t...ipo.saga.rootSaga,\r\n\t\t...nontradingOrders.saga.rootSaga,\r\n\t\t...notifications.saga.rootSaga,\r\n\t\t...withdrawFunds.saga.rootSaga,\r\n\t\t...tradePlatforms.saga.rootSaga,\r\n\t\t...acatDeposit.saga.rootSaga,\r\n\t\t...profile.saga.rootSaga,\r\n\t\t...reportSaga.rootSaga,\r\n\t\t...reset.saga.rootSaga,\r\n\t\t...signalR.saga.rootSaga,\r\n\t\t...signature.saga.rootSaga,\r\n\t\t// functionality was closed by task WEBCAB-3983\r\n\t\t// ...promotions.saga.rootSaga,\r\n\t\t...analytics.saga.rootSaga,\r\n\t\t...wallet.saga.rootSaga,\r\n\t]);\r\n}\r\n\r\n","import { generateBrokerReport, getBrokerReports } from '@api';\nimport { BaseGetSagaHandler, userAccounts } from '@redux';\nimport { fork, put, takeLatest, select } from 'redux-saga/effects';\nimport actions from './actions';\n\n// Watchers\nfunction* generateBrokerReportSaga(payload) {\n\tyield BaseGetSagaHandler({\n\t\tapiMethod: generateBrokerReport,\n\t\terrorText: 'Error',\n\t\thandler: actions.generateBrokerReport,\n\t}, payload);\n\n\tyield put(actions.getBrokerReports.request({ tradeCode: payload.payload.tradeCode }));\n}\n\nfunction* getAccountReportsSaga(payload) {\n\n\tif (payload.payload === undefined) {\n\t\t// set current account if not specified\n\t\tconst currentAccount = yield select(userAccounts.selectors.currentTradeAccount);\n\t\tpayload.payload = { tradeCode: currentAccount.tradeCode };\n\t}\n\n\tyield BaseGetSagaHandler({\n\t\tapiMethod: getBrokerReports,\n\t\terrorText: 'Error',\n\t\thandler: actions.getBrokerReports,\n\t}, payload);\n}\n\n\n// function* getReportFileSaga(payload) {\n// \ttry {\n// \t\tconst response = yield call(getReportFile, payload.payload);\n// \t\tconst fileName = response.headers['content-disposition'].split('filename=')[1];\n// \t\tconst url = window.URL.createObjectURL(new Blob([response.data]));\n// \t\tconst link = document.createElement('a');\n// \t\tlink.href = url;\n// \t\tlink.setAttribute('download', decodeURI(fileName));\n// \t\tdocument.body.appendChild(link);\n// \t\tlink.click();\n// \t} catch (error) {\n// \t\tcaptureException(error);\n// \t\tcabinetLog(error);\n// \t}\n// }\n\nexport function* watchGenerateBrokerReportRequest() {\n\tyield takeLatest(actions.generateBrokerReport.REQUEST, generateBrokerReportSaga);\n}\nexport function* watchgetUserReportsRequest() {\n\tyield takeLatest(actions.getBrokerReports.REQUEST, getAccountReportsSaga);\n}\n// export function* watchGetReportFileRequest() {\n// \tyield takeLatest(actions.getReportFile.REQUEST, getReportFileSaga);\n// }\n\n// Root saga\nconst rootSaga = [\n\tfork(watchGenerateBrokerReportRequest),\n\tfork(watchgetUserReportsRequest),\n\t// fork(watchGetReportFileRequest),\n];\n\nexport default {\n\trootSaga,\n};\n","/* eslint-disable no-confusing-arrow */\r\nimport React, { useEffect } from 'react';\r\nimport { Route, Switch, Redirect } from 'react-router-dom';\r\nimport { hot } from 'react-hot-loader';\r\nimport { globalState } from '@global';\r\nimport { getAllowedLanguages } from '@config';\r\nimport { LanguageRefSwitcher } from '@components';\r\nimport DashboardView from './DashboardView/DashboardView';\r\nimport LoginView from './LoginView/LoginView';\r\nimport { ResetView } from './ResetView/ResetView';\r\nimport { ResetPasswordView } from './ResetView/ResetPasswordView';\r\n\r\n\r\nconst PrivateRedirect = ({ location, to, ...rest }) => (\r\n\t\r\n);\r\n\r\nconst PrivateRoute = ({ component: Component, fullWidth, ...rest }) => (\r\n\t {\r\n\t\t\tif ([LoginView, ResetView, ResetPasswordView].includes(Component)) {\r\n\t\t\t\tif (globalState.localToken) {\r\n\t\t\t\t\treturn ();\r\n\t\t\t\t}\r\n\t\t\t\treturn ();\r\n\t\t\t}\r\n\r\n\t\t\tif (globalState.forceCheckAuth) {\r\n\t\t\t\treturn ();\r\n\t\t\t}\r\n\r\n\t\t\tif (globalState.localToken) {\r\n\t\t\t\treturn ();\r\n\t\t\t}\r\n\t\t\treturn ();\r\n\t\t}}\r\n\t/>\r\n);\r\n\r\n\r\nconst RootRoutes = (props) => {\r\n\t// force auth check on first page load/reload\r\n\tglobalState.forceCheckAuth = true;\r\n\r\n\tuseEffect(() => {\r\n\t\t// remove force auth check after first load\r\n\t\tglobalState.forceCheckAuth = false;\r\n\t});\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t{getAllowedLanguages().map(langItem => (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t))}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\n// redux cannot be use here because it conflicts with hot module\r\nexport default hot(module)(RootRoutes);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport PropTypes from 'prop-types';\r\nimport { withRouter } from 'react-router';\r\nimport { Route, Switch, Redirect } from 'react-router-dom';\r\nimport { connect } from 'react-redux';\r\nimport compose from 'recompose/compose';\r\nimport { env } from '@config';\r\nimport { dashboard, userAccounts, acatDeposit } from '@redux';\r\nimport { getDateTimeEst, dateDiffInDays } from '@global';\r\nimport { CloseAccountFlow, ModalPopups } from '@enums';\r\nimport {\r\n\tAlerts,\r\n\tBlockModals,\r\n\tFreshChat,\r\n\tHubSpotChat,\r\n\tIcons,\r\n\tMainHeader,\r\n\tMainContent,\r\n\tProfile,\r\n\tAccountFeatures,\r\n\tContacts,\r\n\tDocuments,\r\n\tTradingPlatforms,\r\n\tConfirmProfile,\r\n\tReports,\r\n\tTerminalMt5,\r\n\tNotifications,\r\n\tModals,\r\n\tSidebar,\r\n\tTradingAssistance,\r\n\tCashManagementContent,\r\n} from './components';\r\n\r\nconst styles = theme => ({\r\n\t'@global': {\r\n\t\tbody: {\r\n\t\t\tminHeight: '100vh', // for Payment Gate Widget\r\n\t\t\tbackgroundColor: theme.palette.color.primary.white,\r\n\t\t},\r\n\t},\r\n\trootContainer: {\r\n\t\tmaxWidth: '1440px',\r\n\t\tmargin: '0 auto',\r\n\t},\r\n\troot: {\r\n\t\tflexGrow: 1,\r\n\t\tzIndex: 1,\r\n\t\toverflow: 'hidden',\r\n\t\tposition: 'relative',\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t},\r\n\tcontent: {\r\n\t\twidth: '100%',\r\n\t\tminWidth: 0,\r\n\t\tminHeight: '50vh ',\r\n\t},\r\n\tsidebar: {\r\n\t},\r\n\tdemoAccountNotification: {\r\n\t\tmargin: '5px 0px 5px 48px',\r\n\t\tfontWeight: 'bold',\r\n\t},\r\n\tdemoAccountExpirationWarning: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.red,\r\n\t\tmargin: '5px 0px 5px 48px',\r\n\t\tfontWeight: 'bold',\r\n\t},\r\n});\r\n\r\nconst SettingsRoute = ({\r\n\tcomponent: Component,\r\n\tfullWidth,\r\n\tcloseAccountFlow,\r\n\t...rest\r\n}) => (\r\n\t {\r\n\t\t\tif (!closeAccountFlow && rest.location.hash === `#${ModalPopups.CLOSE_ACCOUNT}`) {\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\t\t\treturn ();\r\n\t\t}}\r\n\t/>\r\n);\r\n\r\nSettingsRoute.propTypes = {\r\n\tfullWidth: PropTypes.bool,\r\n\tcloseAccountFlow: PropTypes.oneOf([CloseAccountFlow.PROFILE, CloseAccountFlow.CASH_MANAGMENT]),\r\n\tcomponent: PropTypes.object.isRequired,\r\n};\r\n\r\nSettingsRoute.defaultProps = {\r\n\tfullWidth: false,\r\n\tcloseAccountFlow: undefined,\r\n};\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\tcurrentAccountIsDemo: userAccounts.selectors.currentAccountIsDemo(state),\r\n\tcurrentAccountIsPaper: userAccounts.selectors.currentAccountIsPaper(state),\r\n\tdemoAccount: userAccounts.selectors.getDemoAccount(state),\r\n\tanyActiveAccountExists: userAccounts.selectors.anyActiveAccountExists(state),\r\n\tcloseAccountFlow: (acatDeposit.selectors.modals(state) && acatDeposit.selectors.modals(state)[ModalPopups.CLOSE_ACCOUNT].flow),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tinit: tradeCode => dispatch(dashboard.actions.init(tradeCode)),\r\n\t},\r\n});\r\n\r\nfunction composeExpirationWarningText(days) {\r\n\tif (days === 0) {\r\n\t\treturn 'Your demo account will expire today';\r\n\t}\r\n\treturn `Your demo account will expire in ${days + 1} days`;\r\n}\r\n\r\nclass DashboardView extends React.Component {\r\n\tcomponentDidMount() {\r\n\t\tconst {\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tmatch,\r\n\t\t\tactions,\r\n\t\t} = this.props;\r\n\r\n\t\t// init application when start (no current account)\r\n\t\tif (!currentTradeAccount.tradeCode) {\r\n\t\t\tconst currentTradeCode = match.params.accid;\r\n\t\t\tactions.init(currentTradeCode);\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tmatch,\r\n\t\t\tfullWidth,\r\n\t\t\tuserInfo: { NeedChangePass },\r\n\t\t\tcurrentAccountIsDemo,\r\n\t\t\tcurrentAccountIsPaper,\r\n\t\t\tdemoAccount,\r\n\t\t\tanyActiveAccountExists,\r\n\t\t\tcloseAccountFlow,\r\n\t\t} = this.props;\r\n\r\n\t\tif (NeedChangePass) {\r\n\t\t\t// forcing the client to do the necessary action\r\n\t\t\treturn (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tlet days = 0;\r\n\t\tif (demoAccount) {\r\n\t\t\tconst dateNowWithUSOffset = getDateTimeEst();\r\n\t\t\tconst dateExpiration = new Date(demoAccount.ExpirationDate);\r\n\t\t\tdays = dateDiffInDays(dateExpiration, dateNowWithUSOffset);\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{(currentAccountIsDemo || currentAccountIsPaper) &&\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t\tDemo account, not real money\r\n\t\t\t\t\t\t\t\t\t\t

}\r\n\t\t\t\t\t\t\t\t\t{currentAccountIsDemo && !anyActiveAccountExists &&\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t\t{composeExpirationWarningText(days)}\r\n\t\t\t\t\t\t\t\t\t\t

}\r\n\t\t\t\t\t\t\t\t\t{!(currentAccountIsDemo || currentAccountIsPaper) &&\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{/* functionality was closed by task WEBCAB-5925\r\n\t\t\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\t\t\t{/* functionality was closed by task WEBCAB-3983\r\n\t\t\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{env.WEBCAB_3434_tradingAssistance &&\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t{env.WEBCAB_5222_hubspotChat ? : }\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nDashboardView.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tmatch: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tfullWidth: PropTypes.bool,\r\n\tdemoAccount: PropTypes.object,\r\n\tanyActiveAccountExists: PropTypes.bool.isRequired,\r\n\tcurrentAccountIsDemo: PropTypes.bool,\r\n\tcurrentAccountIsPaper: PropTypes.bool,\r\n\tuserInfo: PropTypes.shape({\r\n\t\tNeedChangePass: PropTypes.bool,\r\n\t}),\r\n\tcloseAccountFlow: PropTypes.oneOf([CloseAccountFlow.PROFILE, CloseAccountFlow.CASH_MANAGMENT]),\r\n};\r\n\r\nDashboardView.defaultProps = {\r\n\tfullWidth: false,\r\n\tdemoAccount: null,\r\n\tcurrentAccountIsDemo: false,\r\n\tcurrentAccountIsPaper: false,\r\n\tuserInfo: {\r\n\t\tNeedChangePass: false,\r\n\t},\r\n\tcloseAccountFlow: undefined,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(DashboardView);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { env } from '@config';\nimport { profile, signature, userAccounts } from '@redux';\nimport PropTypes from 'prop-types';\nimport {\n\tBrokenEmailAlert,\n\tMarginTypeAlert,\n\tMarketDataAlert,\n\tPaperDeliveryAlert,\n\tSignatureAlert,\n\tTwoFactorAlert,\n} from './components';\n\nconst styles = theme => ({\n\troot: {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tactions: {\n\t},\n\tbutton: {\n\t\tcolor: theme.typography.color.link,\n\t},\n});\n\n\nconst mapStateToProps = state => ({\n\tprofile: profile.selectors.profile(state),\n\tHasSignes: signature.selectors.HasSignes(state),\n\thasOpenAccount: userAccounts.selectors.hasOpenAccount(state),\n\tanyActiveAccountExists: userAccounts.selectors.anyActiveAccountExists(state),\n});\n\n\nclass Alerts extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tHasSignes,\n\t\t\tprofile: {\n\t\t\t\tHasBrokenEmail,\n\t\t\t\tHasPaperDelivery,\n\t\t\t\tPendingOrders,\n\t\t\t\tHasMarketDataDisabled,\n\t\t\t\tPersonalInformation,\n\t\t\t},\n\t\t\thasOpenAccount,\n\t\t\tanyActiveAccountExists,\n\t\t} = this.props;\n\n\t\tconst residential = PersonalInformation && PersonalInformation.ResidentialCountry;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t\t{env.WEBCAB_3534_checkBrokenEmail && HasBrokenEmail &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{hasOpenAccount && !HasSignes &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{env.WEBCAB_3520_emailDelivery && HasPaperDelivery && PendingOrders && !PendingOrders.DeliveryType &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t{(!HasMarketDataDisabled || residential !== 'RU') && anyActiveAccountExists &&\n\t\t\t\t\tenv.WEBCAB_5142_marketData_subscriptions_enable &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nAlerts.propTypes = {\n\tHasSignes: PropTypes.bool.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\thasOpenAccount: PropTypes.bool.isRequired,\n\tanyActiveAccountExists: PropTypes.bool.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps),\n)(Alerts);\n","export { default as BrokenEmailAlert } from './BrokenEmailAlert';\nexport { DocumentDebtsAlert } from './DocumentDebtsAlert';\nexport { default as MarginTypeAlert } from './MarginTypeAlert';\nexport { default as MarketDataAlert } from './MarketDataAlert';\nexport { default as MarketDataDisabledAlert } from './MarketDataDisabledAlert';\nexport { default as PaperDeliveryAlert } from './PaperDeliveryAlert';\nexport { default as SignatureAlert } from './SignatureAlert';\nexport { default as TwoFactorAlert } from './TwoFactorAlert';\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { Button } from '@components';\nimport { profile } from '@redux';\nimport PropTypes from 'prop-types';\n\nconst styles = theme => ({\n\troot: {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tbutton: {\n\t\tcolor: theme.typography.color.link,\n\t},\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowModal: () =>\n\t\t\tdispatch(profile.actions.showChangeEmailModal({ forceConfirmationEmail: true })),\n\t},\n});\n\n\nclass BrokenEmailAlert extends React.Component {\n\trender() {\n\t\tconst { classes } = this.props;\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tQuick security check.\n\t\t\t\t\t\t\tPlease confirm that email is correct or edit it if you want to receive your statements to another email.\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nBrokenEmailAlert.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(null, mapDispatchToProps),\n)(BrokenEmailAlert);\n","import React, { useEffect, useState } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport classNames from 'classnames';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { Button } from '@components';\nimport { ModalPopups } from '@enums';\nimport { cabinetLog } from '@global';\nimport { app, userAccounts } from '@redux'\n\n\nconst useStyles = makeStyles((theme) => ({\n\troot: {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t},\n\twarning: {\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\talert: {\n\t\tbackgroundColor: theme.typography.color.pink,\n\t\tcolor: theme.palette.color.secondary.downDark,\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t},\n\tactions: {\n\t},\n\tbutton: {\n\t\tcolor: theme.typography.color.link,\n\t},\n\tredButton: {\n\t\tpadding: '4px 20px',\n\t\tbackgroundColor: theme.typography.color.darkRed,\n\t\tcolor: theme.typography.color.white,\n\t\t'&:hover': {\n\t\t\tbackgroundColor: theme.typography.color.red,\n\t\t\tcolor: theme.typography.color.white,\n\t\t\t// Reset on mouse devices\n\t\t\t'@media (hover: none)': {\n\t\t\t\tbackgroundColor: theme.typography.color.red,\n\t\t\t},\n\t\t},\n\t},\n}));\n\n\n\nconst DocumentDebtTypes = [\n\t{type: \"TYPE:DOC:IDENT:PSRF\", title: 'Russian passport'},\n\t{type: \"TYPE:DOC:IDENT:UDL\", title: 'Identity card'},\n\t{type: \"TYPE:DOC:IDENT:PSEXT\", title: 'Passport of a foreign citizen'},\n\t{type: \"TYPE:DOC:IDENT:ZP\", title: 'Russian foreign passport'},\n\t{type: \"TYPE:DOC:IDENT:TEMPRF\", title: 'Temporary identity card of the Russian citizen'},\n\t{type: \"TYPE:DOC:IDENT:DRIVELIC\", title: 'Driver\\'s license'},\n\t{type: \"TYPE:DOC:IDENT:VB\", title: 'Military card'},\n\t{type: \"TYPE:DOC:IDENT:IDCARD\", title: 'Identity card'},\n\t{type: \"TYPE:DOC:CONTRACT:BANK\", title: 'Bank account agreement'},\n\t{type: \"TYPE:DOC:OTHER:COMMUNAL\", title: 'Utility bill'},\n\t{type: \"TYPE:DOC:CONTRACT:OTHER\", title: 'Agreement with other organizations'},\n\t{type: \"TYPE:DOC:OTHER:BNKINFO\", title: 'Bank reference'},\n\t{type: \"TYPE:DOC:IDENT:SVREG:INDIVIDUAL\", title: 'Certificate of residence registration (individual)'},\n\t{type: \"TYPE:DOC:OTHER:ADDRINFO\", title: 'Address reference'},\n\t{type: \"TYPE:DOC:IDENT:OTHER\", title: 'Other'},\n];\n\n\n\nexport const DocumentDebtsAlert = ({ isMoneyOutPage }) => {\n\n\tconst classes = useStyles();\n\tconst dispatch = useDispatch();\n\n\tconst userInfo = useSelector((state) => userAccounts.selectors.userInfo(state));\n\tlet hasBlockers = userInfo.Debts && userInfo.Debts.some(it => it.IsBlockingMoneyOut);\n\n\tconst cssClasses = classNames({\n\t\t[classes.root]: true,\n\t\t[classes.alert]: isMoneyOutPage && hasBlockers,\n\t\t[classes.warning]: !isMoneyOutPage || !hasBlockers,\n\t});\n\n\tconst getDebtsInfo = (debts) => {\n\n\t\tlet identityDebts = debts && debts.find(it => it.CategoryCode === 'IDENT');\n\t\tlet registrationDebts = debts && debts.find(it => it.CategoryCode === 'ADDRESS');\n\n\t\tlet debtsInfo = [];\n\t\tif (identityDebts) {\n\t\t\tdebtsInfo.push({\n\t\t\t\tcode: 'IDENT',\n\t\t\t\ttitle: 'personal identification',\n\t\t\t\tonClickModal: ModalPopups.CY_NON_TRADING_ORDER_IDENTITY,\n\t\t\t\tdebtDocs: identityDebts.DocumentTypes.map(docType => \n\t\t\t\t\tDocumentDebtTypes.find(it => it.type === docType || it.type === 'TYPE:DOC:IDENT:OTHER')\n\t\t\t\t)\n\t\t\t});\n\t\t}\n\t\tif (registrationDebts) {\n\t\t\tdebtsInfo.push({\n\t\t\t\tcode: 'ADDRESS',\n\t\t\t\ttitle: 'address confirmation',\n\t\t\t\tonClickModal: ModalPopups.CY_NON_TRADING_ORDER_REGISTRATION,\n\t\t\t\tdebtDocs: registrationDebts.DocumentTypes.map(docType => \n\t\t\t\t\tDocumentDebtTypes.find(it => it.type === docType || it.type === 'TYPE:DOC:IDENT:OTHER')\n\t\t\t\t)\n\t\t\t});\n\t\t}\n\t\treturn debtsInfo;\n\t}\n\n\tif (isMoneyOutPage && hasBlockers) {\n\n\t\tlet debtsInfo = getDebtsInfo(userInfo.Debts.filter(it => it.IsBlockingMoneyOut));\n\t\treturn ( \n\t\t\t
\n\t\t\t\t{debtsInfo && debtsInfo.map(item => (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tWithdrawal limits are applied to your account since one of the documents provided is absent/has expired.
\n\t\t\t\t\t\t\tYou can upload document to remove restrictions.\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t dispatch(app.actions.showBaseModal(item.onClickModal, item.debtDocs))}\n\t\t\t\t\t\t\t\tclassName={classes.redButton}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tUpload\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t))}\n\t\t\t
\n\t\t);\n\t}\n\n\tlet debtsInfo = getDebtsInfo(userInfo.Debts);\n\n\treturn ( \n\t\t
\n\t\t\t{debtsInfo && debtsInfo.map(item => (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tYou have arrears on the documents:
\n\t\t\t\t\t\tDocument: {item.title}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t dispatch(app.actions.showBaseModal(item.onClickModal, item.debtDocs))}\n\t\t\t\t\t\t\tclassName={classes.button}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tAdd Document\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t))}\n\t\t
\n\t);\n}","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { Button } from '@components';\nimport { env } from '@config';\nimport { signature, userAccounts } from '@redux';\nimport PropTypes from 'prop-types';\n\nconst styles = theme => ({\n\troot: {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tactions: {\n\t},\n\tbutton: {\n\t\tcolor: theme.typography.color.link,\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\n\taccountInfo: userAccounts.selectors.accountInfo(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tcollectMarginTypesProcessStart: () =>\n\t\t\tdispatch(signature.actions.collectMarginTypesProcessStart()),\n\t\tshowUpgradeAccountModal: (tradeAccount, marginParams) => {\n\t\t\tconst changeAction = userAccounts.actions.showUpgradeAccountModal({ tradeAccount, marginParams });\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t},\n});\n\n\nclass MarginTypeAlert extends React.Component {\n\tshowUpgradeModal = () => {\n\t\tconst { actions, currentTradeAccount, currentAccountData } = this.props;\n\t\tactions.showUpgradeAccountModal(currentTradeAccount, currentAccountData.baseParams.MarginOptionParameters);\n\t}\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\taccountStatus,\n\t\t\taccountInfo,\n\t\t\tcurrentAccountData: {\n\t\t\t\tbaseParams,\n\t\t\t},\n\t\t} = this.props;\n\t\tconst marginType = (baseParams && baseParams.MarginOptionParameters && baseParams.MarginOptionParameters.MarginType) || '';\n\t\tconst havePendingOrder = accountInfo && accountInfo.PendingOrders && accountInfo.PendingOrders.UpgradeMarginType;\n\t\treturn (\n\t\t\t\n\t\t\t\t{marginType === 'MarginX1' &&\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tMarginX1 type will discarded in the near future. Please submit a request for changing your margin level to MarginX2 or Cash.\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{accountStatus && accountStatus.CanMarginUpgrade &&\n\t\t\t\t\t\t\t\taccountInfo && accountInfo.IsPrimaryHolder &&\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tChange\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nMarginTypeAlert.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\taccountStatus: PropTypes.object.isRequired,\n\taccountInfo: PropTypes.object.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(MarginTypeAlert);\n","import React from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { profile } from '@redux';\nimport { MarketDataClientStatus } from '@enums';\nimport { A } from '@components';\nimport GenericTextAlert from './GenericTextAlert';\n\n\nconst useMarketDataStatuses = () => {\n\tconst userProfile = useSelector(profile.selectors.profile);\n\tconst hasPendingOrderStatus = !userProfile.submitting && userProfile.PendingOrders.MarketDataStatus;\n\tconst hasPendingOrderSubscription = !userProfile.loading && userProfile.PendingOrders.MarketDataSubscription;\n\n\tconst needStatus = !userProfile.submitting &&\n\t\tuserProfile.MarketDataStatus === MarketDataClientStatus.UNDEFINED &&\n\t\t!hasPendingOrderStatus;\n\tconst ctaSubscription = userProfile.MarketDataSubscriptions &&\n\t\tuserProfile.MarketDataSubscriptions.find(sub => sub.MarketDataName === 'CTA_UTP');\n\n\tconst needSubscription = !userProfile.submitting &&\n\t\t\t\t\t!hasPendingOrderSubscription &&\n\t\t\t\t\tuserProfile.MarketDataStatus !== MarketDataClientStatus.UNDEFINED &&\n\t\t\t\t\tctaSubscription && !ctaSubscription.IsOn;\n\n\treturn {\n\t\tneedStatus,\n\t\tneedSubscription,\n\t};\n};\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tshowChangeMarketDataSubscriberStatusModal: () => dispatch(profile.actions.showChangeMarketDataSubscriberStatusModal()),\n\t\tshowChangeMarketDataSubscriptionsModal: () => dispatch(profile.actions.showChangeMarketDataSubscriptionsModal()),\n\t});\n};\n\nconst MarketDataAlert = () => {\n\tconst {\tneedStatus, needSubscription } = useMarketDataStatuses();\n\tconst actions = useActions();\n\n\tconst calcAlertText = () => {\n\t\tif (needStatus) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\tOur records indicate that you have not updated your Market Data\n\t\t\t\t\t Subscriber Status or Subscriber Agreements \n\t\t\t\t\tfor all currently supplied data feeds. To ensure continuous access to market data, please complete these updates.\n\t\t\t\t\n\t\t\t);\n\t\t}\n\t\tif (needSubscription) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\tOur records indicate that you have not updated your\n\t\t\t\t\t Market Data Subscriber Agreements.\n\t\t\t\t\tTo ensure continuous access to market data, please complete these updates.\n\t\t\t\t\n\t\t\t);\n\t\t}\n\t\treturn null;\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(needStatus || needSubscription) &&\n\t\t\t\t\n\t\t\t}\n\t\t\n\t);\n};\n\nexport default MarketDataAlert;\n","import React from 'react';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { profile } from '@redux';\nimport GenericTextAlert from './GenericTextAlert';\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowModal: () => dispatch(profile.actions.showEnableThirdPartyMarketDataModal()),\n\t},\n});\n\nclass MarketDataDisabledAlert extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tactions,\n\t\t} = this.props;\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default compose(connect(null, mapDispatchToProps))(MarketDataDisabledAlert);\n","import React from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { Button } from '@components';\nimport { profile } from '@redux';\n\nconst useStyles = makeStyles(theme => ({\n\troot: {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tbutton: {\n\t\tcolor: theme.typography.color.link,\n\t},\n}));\n\nfunction PaperDeliveryAlert() {\n\tconst classes = useStyles();\n\tconst dispatch = useDispatch();\n\tconst tradeCode = useSelector(state => state.userAccounts.currentAccount);\n\n\tconst showModal = () => dispatch(profile.actions.showChangeDeliveryTypeModal({ tradeCode }));\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\tPlease select the document delivery type\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n}\n\nexport default PaperDeliveryAlert;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { Button } from '@components';\nimport { signature } from '@redux';\nimport PropTypes from 'prop-types';\n\nconst styles = theme => ({\n\troot: {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tactions: {\n\t},\n\tbutton: {\n\t\tcolor: theme.typography.color.link,\n\t},\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tcollectSignaturesProcessStart: () =>\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart()),\n\t},\n});\n\n\nclass SignatureAlert extends React.Component {\n\trender() {\n\t\tconst { classes } = this.props;\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
You’re unable to submit anything without signature.
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tAdd Signature\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nSignatureAlert.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(null, mapDispatchToProps),\n)(SignatureAlert);\n","import React from 'react';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { env } from '@config';\nimport { userAccounts, profile } from '@redux';\nimport { TwoFactorAutenticationType } from '@enums';\nimport PropTypes from 'prop-types';\nimport GenericTextAlert from './GenericTextAlert';\n\nconst mapStateToProps = (state) => {\n\tconst userInfo = userAccounts.selectors.userInfo(state);\n\tconst loading = userAccounts.selectors.loading(state);\n\tconst needAlert = !loading && userInfo && userInfo.Guid && userInfo.TwoFactorAutenticationType === TwoFactorAutenticationType.NONE;\n\treturn {\n\t\tneedAlert: !!needAlert,\n\t\tuserInfo,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowModal: () => dispatch(profile.actions.showChangeTwoFactorAuthorizationModal()),\n\t},\n});\n\n\nclass TwoFactorAlert extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tneedAlert,\n\t\t\tactions,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{needAlert && env.UNIAP_909_secondFactorRestrictionDate &&\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tPlease note that to promote a higher level of security,\n\t\t\t\t\t\t\t\t2FA will be mandatory after {env.UNIAP_909_secondFactorRestrictionDate}.\n\t\t\t\t\t\t\t\tFailure to enable 2FA by this date will result in restricted access to your account.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbuttonText=\"Enable 2FA\"\n\t\t\t\t\t\tonClick={actions.showModal}\n\t\t\t\t\t\tbuttonTextNowrap\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nTwoFactorAlert.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tneedAlert: PropTypes.bool.isRequired,\n};\n\nexport default compose(connect(mapStateToProps, mapDispatchToProps))(TwoFactorAlert);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { connect } from 'react-redux';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport moment from 'moment';\nimport {\n\tprofile,\n\tsignature,\n\tuserAccounts,\n} from '@redux';\nimport compose from 'recompose/compose';\nimport { reduxForm, getFormValues } from 'redux-form';\nimport {\n\tButton,\n\tModal,\n\tProgressContainer,\n\tSuccessMessage,\n} from '@components';\nimport ConfirmProfileNavigation from './ConfirmProfileNavigation';\n\n\nconst styles = theme => ({\n\n\tbutton: {\n\t\tpaddingTop: '12px',\n\t\tpaddingBottom: '50px',\n\t\tmargin: 'auto',\n\t\twidth: '30%',\n\t},\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n\tsubHeader: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\n\talertMessage: {\n\t\t...theme.typography.style.body,\n\t\tmargin: '24px 74px 50px;',\n\t\tpadding: '12px 16px',\n\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\tborderRadius: '4px',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0 50px',\n\t\t},\n\t\tcolor: theme.typography.color.primary,\n\t\ttextAlign: 'center',\n\t},\n});\n\nconst CONFIRM_PROFILE_FORM = 'ConfirmProfileForm';\n\nconst mapStateToProps = (state) => {\n\tconst profileData = profile.selectors.profile(state);\n\tconst holders = profile.selectors.holders(state);\n\tconst userInfo = userAccounts.selectors.userInfo(state);\n\tconst accounts = userAccounts.selectors.accounts(state);\n\tconst userAccountsLoading = userAccounts.selectors.loading(state);\n\tconst userGuid = userInfo.Guid && userInfo.Guid.toLowerCase();\n\n\treturn {\n\t\tprofile: profileData,\n\t\tholders,\n\t\tloading: profileData.submitting || holders.submitting || userAccountsLoading,\n\t\thasSignes: signature.selectors.HasSignes(state),\n\t\tallFormValues: getFormValues(CONFIRM_PROFILE_FORM)(state),\n\t\taccountsPrimary: accounts.filter(account =>\n\t\t\t!account.IsClosed &&\n\t\t\t!account.IsDemo &&\n\t\t\t!account.IsPaper &&\n\t\t\taccount.Holders.some(h => h.IsPrimary && h.Guid && h.Guid.toLowerCase() === userGuid)),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\thideConfirmationModal: () => dispatch(profile.actions.confirmProfileFormHideAndRedirect()),\n\t\tcheckSignature: () => dispatch(signature.actions.collectSignaturesProcessStart()),\n\t\tgetHolderProfiles: () => dispatch(profile.actions.getHolderProfiles.request()),\n\t},\n});\n\nclass ConfirmProfile extends React.Component {\n\n\tstatic touchVerifiableFields(props) {\n\t\tprops.touch('WorksForAnotherBroker');\n\t\tprops.touch('HasChangesInBenOwners');\n\n\t\tprops.accountsPrimary.forEach((accPrimary) => {\n\t\t\tconst tradeCode = accPrimary.TradeCode;\n\t\t\tprops.touch(`HasJointOwnersChanges${tradeCode}`);\n\n\t\t\t['ExpectedAnnualTotalOfDeposits', 'ExpectedAnnualTotalOfWithdrawals'].forEach((fieldName) => {\n\t\t\t\tprops.touch(`${fieldName}${tradeCode}`);\n\t\t\t});\n\t\t});\n\t}\n\n\tstatic validate(values, props) {\n\t\tconst errors = {};\n\n\t\tif (!values.WorksForAnotherBroker) {\n\t\t\terrors.WorksForAnotherBroker = 'Required';\n\t\t}\n\t\tif (values.WorksForAnotherBroker === 'Yes' && !values.IndAssociatedPerson) {\n\t\t\terrors.IndAssociatedPerson = 'Required';\n\t\t}\n\t\tif (props.profile && props.profile.Type === 'Institutional') {\n\t\t\tif (!values.HasChangesInBenOwners) {\n\t\t\t\terrors.HasChangesInBenOwners = 'Required';\n\t\t\t}\n\t\t\tif (values.HasChangesInBenOwners === 'Yes' && !values.ChangesInBenOwners) {\n\t\t\t\terrors.ChangesInBenOwners = 'Required';\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-plusplus\n\t\t\tfor (let i = 0; i < props.accountsPrimary.length; i++) {\n\t\t\t\tconst tradeCode = props.accountsPrimary[i].TradeCode;\n\t\t\t\tconst hasJointOwnersChanges = `HasJointOwnersChanges${tradeCode}`;\n\t\t\t\tconst jointOwnersChanges = `JointOwnersChanges${tradeCode}`;\n\t\t\t\tif (!values[hasJointOwnersChanges]) {\n\t\t\t\t\terrors[hasJointOwnersChanges] = 'Required';\n\t\t\t\t}\n\t\t\t\tif (values[hasJointOwnersChanges] === 'Yes' && !values[jointOwnersChanges]) {\n\t\t\t\t\terrors[jointOwnersChanges] = 'Required';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tprops.accountsPrimary.forEach((accPrimary) => {\n\t\t\tconst tradeCode = accPrimary.TradeCode;\n\t\t\t['ExpectedAnnualTotalOfDeposits', 'ExpectedAnnualTotalOfWithdrawals'].forEach((f) => {\n\t\t\t\tconst fieldName = `${f}${tradeCode}`;\n\t\t\t\tif (!values[fieldName]) {\n\t\t\t\t\terrors[fieldName] = 'Required';\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\n\t\treturn errors;\n\t}\n\tcomponentDidMount() {\n\t\tconst { actions, holders, profile: { NeedUpdatePersonalInfo } } = this.props;\n\t\tif (!NeedUpdatePersonalInfo) {\n\t\t\tthis.handleCloseConfirmation();\n\t\t}\n\n\t\tif (!holders.submitting && !holders.loaded) {\n\t\t\tactions.getHolderProfiles();\n\t\t}\n\n\t\t// Нужно \"потрогать\" валидируемые на форме, т.к. нетронутые не подлежат валидации.\n\t\tConfirmProfile.touchVerifiableFields(this.props);\n\t}\n\thandleCloseConfirmation = () => {\n\t\tthis.props.actions.hideConfirmationModal();\n\t};\n\n\thandleSubmitButtonClick = (e) => {\n\t\tif (!this.props.hasSignes) {\n\t\t\te.preventDefault();\n\t\t\tthis.props.actions.checkSignature();\n\t\t}\n\t}\n\t// eslint-disable-next-line no-unused-vars\n\tcreateSubmitHandleAction = (values, dispatch, props) => {\n\t\tconst newValue = {\n\t\t\tIndAssociatedPerson: values.WorksForAnotherBroker === 'Yes' ? values.IndAssociatedPerson : undefined,\n\t\t\tChangesInBenOwners: values.HasChangesInBenOwners === 'Yes' ? values.ChangesInBenOwners : undefined,\n\t\t\tJointOwnersChanges: props.accountsPrimary.map(account =>\n\t\t\t\t(values[`HasJointOwnersChanges${account.TradeCode}`] === 'Yes' ?\n\t\t\t\t\t`${account.TradeCode} - ${values[`JointOwnersChanges${account.TradeCode}`]}` : undefined))\n\t\t\t\t.filter(x => !!x),\n\t\t\tAccounts: props.accountsPrimary.map((account) => {\n\t\t\t\tconst aProductsExpectedToBeTraded = values[`ProductsExpectedToBeTraded${account.TradeCode}`];\n\t\t\t\treturn {\n\t\t\t\t\tClearingNumber: account.TradeCode,\n\t\t\t\t\tExpectedAnnualTotalOfDeposits: values[`ExpectedAnnualTotalOfDeposits${account.TradeCode}`],\n\t\t\t\t\tExpectedAnnualTotalOfWithdrawals: values[`ExpectedAnnualTotalOfWithdrawals${account.TradeCode}`],\n\t\t\t\t\tProductsExpectedToBeTraded: aProductsExpectedToBeTraded && aProductsExpectedToBeTraded.filter(x => !!x).join(', '),\n\t\t\t\t};\n\t\t\t}),\n\t\t};\n\t\tprofile.actions.confirmProfileFormSubmitHandler(newValue, dispatch, props);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\thandleSubmit,\n\t\t\tloading,\n\t\t\tsubmitting,\n\t\t\tsubmitSucceeded,\n\t\t\tinvalid,\n\t\t\tform,\n\t\t\tallFormValues,\n\t\t\tprofile: { UpdateDate },\n\t\t} = this.props;\n\n\t\t// валидирует также поля в скрытых(свернутых) разделах формы\n\t\tconst hiddenFieldInvalid = Object.keys(ConfirmProfile.validate(allFormValues || {}, this.props)).length > 0;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{submitSucceeded ?\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t: (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tConfirm Personal Info\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
Listed below, please find your account information as\n\t\t\t\t\t\t\t\t\t\tyou completed it through the online application\n\t\t\t\t\t\t\t\t\t\t{!loading && UpdateDate && moment(UpdateDate).year() > 1900 &&\n\t\t\t\t\t\t\t\t\t\t\t` on ${moment(UpdateDate).format('MM/DD/YYYY')}`\n\t\t\t\t\t\t\t\t\t\t}.\n\t\t\t\t\t\t\t\t\t\tPlease review and confirm the accuracy at the bottom of the page.\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t: 'Confirm'\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t
);\n\t}\n}\n\nConfirmProfile.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\tform: PropTypes.string.isRequired,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: CONFIRM_PROFILE_FORM,\n\t\tvalidate: ConfirmProfile.validate,\n\t\t// Фикс бага когда после дерегистрации компонента, форма забывала про него и его валидацию\n\t\t// https://lightrun.com/answers/redux-form-redux-form-validation-is-lost-when-unregistering-then-re-registering-fields-with-same-name\n\t\tshouldError: () => true\n\t}),\n)(ConfirmProfile);\n","/* eslint-disable no-plusplus */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport { connect } from 'react-redux';\nimport {\n\tprofile,\n\tuserAccounts,\n\tsignature,\n} from '@redux';\nimport compose from 'recompose/compose';\nimport {\n\tProgressContainer,\n\tButton,\n} from '@components';\nimport {\n\tPersonalInformation,\n\tInvestmentExpirience,\n\tInvestmentProfilePanel,\n\tEmploymentPanel,\n\tAccountInformation,\n\tPersonalInformationQuestion,\n\tInstitutionalQuestion,\n} from './components';\n\n\nconst styles = theme => ({\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\tpadding: '8px 0',\n\t},\n\tsubHeader: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\tmarginBottom: '30px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\tblockTitle: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t\tpadding: '10px 0',\n\t\t'& > span': {\n\t\t\tmarginLeft: '60px',\n\t\t\twhiteSpace: 'nowrap',\n\t\t},\n\t},\n\teditable: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'row',\n\t},\n\teditItem: {\n\t\tdisplay: 'flex',\n\t\tpadding: '24px 32px 12px 0',\n\t\ttextAlign: 'right',\n\t\tfontSize: '14px',\n\t},\n\teditValue: {\n\t\tflexGrow: 2,\n\t},\n\teditValuePhone: {\n\t\t'& div:first-child': {\n\t\t\tdisplay: 'block!important',\n\t\t},\n\t},\n\tnavigationDiv: {\n\t\tmarginTop: '20px',\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t\t'& > button': {\n\t\t\tmargin: '0px 10px',\n\t\t\tpadding: '5px',\n\t\t\twidth: '120px',\n\t\t},\n\t},\n\temploymentPanel: {\n\t\tmarginLeft: '24px',\n\t},\n\taccountInformation: {\n\t\t'& $noLeftMarginField': {\n\t\t\tmarginLeft: '24px',\n\t\t},\n\t\t'& $preFieldLabel': {\n\t\t\tmarginLeft: '24px',\n\t\t},\n\t},\n\tnoLeftMarginField: {},\n\tpreFieldLabel: {},\n});\n\nconst mapStateToProps = state => ({\n\tprofile: profile.selectors.profile(state),\n\taccounts: userAccounts.selectors.accounts(state),\n\tuserInfo: userAccounts.selectors.userInfo(state),\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowChangeInvestmentExperienceModal: () => {\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentExperienceModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t\tshowChangeInvestmentProfileModal: () => {\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentProfileModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t},\n});\n\nclass ConfirmProfileNavigation extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.components = new Map();\n\n\t\tthis.state = {\n\t\t\tindex: 0,\n\t\t};\n\n\t\tthis.composeComponents(props);\n\t}\n\n\tgetComponent = () => this.components.get(this.state.index)()\n\n\tcomposeComponents = (props) => {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\tprofile: {\n\t\t\t\tGuid,\n\t\t\t\tClientId,\n\t\t\t\tInvestmentProfile,\n\t\t\t\tEmploymentProfile,\n\t\t\t\tExperiences,\n\t\t\t\tPendingOrders,\n\t\t\t\tType: clientType,\n\t\t\t},\n\t\t\tform,\n\t\t\taccounts,\n\t\t\tuserInfo,\n\t\t} = props;\n\n\t\tconst userGuid = userInfo.Guid.toLowerCase();\n\t\tconst filteredAccounts = accounts.filter(account =>\n\t\t\t!account.IsClosed &&\n\t\t\t!account.IsDemo &&\n\t\t\t!account.IsPaper &&\n\t\t\taccount.Holders.some(h => h.IsPrimary && h.Guid && h.Guid.toLowerCase() === userGuid));\n\n\t\tthis.components.set(0, () =>\n\t\t\t());\n\n\t\tlet index = 1;\n\t\tfor (index; index <= filteredAccounts.length; index++) {\n\t\t\tconst account = filteredAccounts[index - 1];\n\t\t\tconst idkey = `${account.TradeCode}@${account.ClearingFirm}@${index}`;\n\n\t\t\tthis.components.set(index, () => (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{`Account Information - ${account.TradeCode}`}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
));\n\t\t}\n\n\t\tthis.components.set(index++, () => (\n\t\t\t));\n\t\tthis.components.set(index++, () => (\n\t\t\t));\n\t\tthis.components.set(index++, () => (\n\t\t\t));\n\t\tthis.components.set(index++, () => (\n\t\t\t));\n\n\t\tif (clientType === 'Institutional') {\n\t\t\tthis.components.set(index++, () => (\n\t\t\t\t));\n\t\t}\n\t}\n\n\tbackClick = () => {\n\t\tif (this.state.index > 0) {\n\t\t\tthis.setState(state => ({\n\t\t\t\tindex: state.index - 1,\n\t\t\t}));\n\t\t}\n\t}\n\n\tnextClick = () => {\n\t\tif (this.state.index < this.components.size - 1) {\n\t\t\tthis.setState(state => ({\n\t\t\t\tindex: state.index + 1,\n\t\t\t}));\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tprofile: {\n\t\t\t\tsubmitting,\n\t\t\t},\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{ this.getComponent() }\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.state.index > 0 &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tBack\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.state.index !== this.components.size - 1 &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tNext\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nConfirmProfileNavigation.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(ConfirmProfileNavigation);\n","export { default as AccountInformation } from './AccountInformation';\nexport { default as EmploymentPanel } from './EmploymentPanel';\nexport { default as InvestmentExpirience } from './InvestmentExpirience';\nexport { default as InvestmentProfilePanel } from './InvestmentProfilePanel';\nexport { default as PersonalInformation } from './PersonalInformation';\nexport { default as PersonalInformationQuestion } from './PersonalInformationQuestion';\nexport { default as InstitutionalQuestion } from './InstitutionalQuestion';","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { profile } from '@redux';\nimport {\n\tInput,\n} from '@components';\nimport { makeStyles } from '@material-ui/core/styles';\nimport JointHolders from './JointHolders';\nimport HoldersQuestion from './HoldersQuestion';\nimport AccountInformationQuestion from './AccountInformationQuestion';\n\nconst valueOrDash = val => val || '-';\n\nconst styles = {\n root: {\n marginLeft: '24px',\n marginTop: '20px'\n },\n}\n\nconst useStyles = makeStyles(styles);\n\nconst AccountInformation = ({\n\taccount,\n\tform,\n\tclasses: _classes\n}) => {\n\n\tconst classes = {\n\t\t...useStyles(),\n\t\t..._classes,\n\t};\n\n\tconst clientType = useSelector(profile.selectors.profile).Type;\n\tconst primaryHolder = account.Holders.find(x => x.IsPrimary);\n\tconst primaryHolderName = primaryHolder && primaryHolder.FullName;\n\tconst id = `joint-holders-${account.TradeCode}`;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n \n\t\t\t\n\n\t\t\t{account.Holders.some(h => !h.IsPrimary) &&\n
\n Joint Holders\n \n
\n\t\t\t}\n\t\t\t{clientType === 'Institutional' &&\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t
\n\t);\n};\n\nAccountInformation.defaultProps = {\n\t// confirmMode: false,\n};\n\nAccountInformation.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\t// actions: PropTypes.object.isRequired,\n\taccount: PropTypes.shape({\n\t\tAccountName: PropTypes.string.isRequired,\n\t\tTradeCode: PropTypes.string.isRequired,\n\t\tHolders: PropTypes.arrayOf(PropTypes.shape({\n\t\t\tFullName: PropTypes.string.isRequired,\n\t\t\tGuid: PropTypes.string,\n\t\t\tClientId: PropTypes.number.isRequired,\n\t\t\tIsPrimary: PropTypes.isRequired,\n\t\t})).isRequired,\n\t}).isRequired,\n\tform: PropTypes.string.isRequired,\n\n};\n\nexport default AccountInformation;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { userAccounts, profile } from '@redux';\nimport { makeStyles } from '@material-ui/core/styles';\nimport JointHolderInformation from './JointHolderInformation';\n\nconst styles = (theme) => ({\n root: {\n marginLeft: '24px',\n marginTop: '20px'\n },\n\tdivider: {\n\t\tborder: '1px solid #345464',\n width: '100%',\n\t}\n})\n\nconst useStyles = makeStyles(styles);\n\nconst JointHolders = ({\n\taccount,\n\tclasses: _classes,\n\tpanelIdPrefix,\n}) => {\n\n\tconst classes = {\n\t\t...useStyles(),\n\t\t..._classes,\n\t};\n\n\tconst holders = useSelector(profile.selectors.holders);\n\tconst loading = useSelector(userAccounts.selectors.loading);\n\n\tif (loading && !holders.loaded) {\n\t\treturn ;\n\t}\n\n const filteredHolders = account.Holders.filter(h => !h.IsPrimary);\n\n\treturn (\n\t\t\n\t\t\t{\n\t\t\t\tfilteredHolders.map((holder, index) => {\n\t\t\t\t\tconst idkey = `${panelIdPrefix}-${holder.ClientId}`;\n\t\t\t\t\treturn (\n
\n
{holder.FullName}
\n \n {index < filteredHolders.length - 1 &&
}\n
\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t}\n\t\t
\n\t);\n};\n\n\nJointHolders.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tpanelIdPrefix: PropTypes.string,\n\taccount: PropTypes.shape({\n\t\tAccountName: PropTypes.string.isRequired,\n\t\tTradeCode: PropTypes.string.isRequired,\n\t\tHolders: PropTypes.arrayOf(PropTypes.shape({\n\t\t\tFullName: PropTypes.string.isRequired,\n\t\t\tClientId: PropTypes.number.isRequired,\n\t\t\tGuid: PropTypes.string,\n\t\t\tIsPrimary: PropTypes.isRequired,\n\t\t})).isRequired,\n\t}).isRequired,\n};\nJointHolders.defaultProps = {\n\tpanelIdPrefix: 'joint-holders',\n};\n\nexport default JointHolders;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { profile } from '@redux';\nimport {\n\tChangeLink,\n\tInput,\n\tInputPhoneIconNumber,\n} from '@components';\nimport EmploymentPanel from './EmploymentPanel';\n\nconst valueOrDash = val => val || '-';\n\n\nconst JointHolderInformation = ({\n\tholder,\n\tclasses,\n}) => {\n\tconst allHolders = useSelector(profile.selectors.holders);\n\tconst dispatch = useDispatch();\n\n\tconst holderProfile = holder ? allHolders.Profiles.find(x => holder.ClientId === x.ClientId) : null;\n\tconst actions = {\n\t\tshowChangeAddressModal: () => dispatch(profile.actions.showChangeAddressModal(holderProfile)),\n\t\tshowChangeEmailModal: () => dispatch(profile.actions.showChangeEmailModal({ profile: holderProfile, forceConfirmationEmail: true })),\n\t\tshowChangePhoneModal: () => dispatch(profile.actions.showChangePhoneModal(holderProfile)),\n\t\tshowChangeEmploymentModal: () => dispatch(profile.actions.showChangeEmploymentModal(holderProfile)),\n\t};\n\n\tif (!allHolders.loaded || allHolders.error || !holderProfile) {\n\t\treturn ;\n\t}\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t {}}\n\t\t\t\t\t\tonChange={() => {}}\n\t\t\t\t\t\tvalue={valueOrDash(holderProfile.PersonalInformation.Phone)}\n\t\t\t\t\t\tdisabled\n\t\t\t\t\t\thideNumberMode\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t
\n\t);\n};\n\nJointHolderInformation.defaultProps = {\n\tholder: undefined,\n};\n\nJointHolderInformation.propTypes = {\n\tholder: PropTypes.shape({\n\t\tClientId: PropTypes.number,\n\t\tGuid: PropTypes.string,\n\t}),\n\tclasses: PropTypes.object.isRequired,\n};\n\nexport default JointHolderInformation;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Field } from 'redux-form';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport {\n\tFormCheckbox,\n\tFormRadioGroup,\n\tRadio,\n} from '@components';\n\nconst useStyles = makeStyles(theme => createStyles({\n\teditValue: {},\n\teditable: {},\n\tpreFieldLabel: {\n\t\tmargin: '10px 24px 0px 0px',\n\t\tlineHeight: '21px',\n\t\tfontSize: '14px',\n\t\tcolor: theme.palette.text.secondary,\n\t},\n\twithLeftMarginField: {\n\t\tmarginLeft: '-24px',\n\t},\n\tnoLeftMarginField: {\n\t\tmarginLeft: '0px',\n\t},\n}));\n\nconst extractPropsClasses = ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n}) => ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n});\n\nconst OptionQuestionType = PropTypes.shape({\n\tName: PropTypes.string.isRequired,\n\tQuestionText: PropTypes.string.isRequired,\n\tOptions: PropTypes.arrayOf(PropTypes.string).isRequired,\n});\n\nconst CurrentAccountType = PropTypes.shape({\n\tAccountName: PropTypes.string.isRequired,\n\tTradeCode: PropTypes.string.isRequired,\n});\n\nconst RadioQuestion = ({\n\tclasses: _classes,\n\tform,\n\tquestion,\n\taccount,\n}) => {\n\tconst classes = useStyles({ classes: extractPropsClasses(_classes) });\n\tconst name = `${question.Name}${account.TradeCode}`;\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\t{question.QuestionText}\n\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{question.Options.map((option, index) =>\n\t\t\t\t\t\t\t\t())\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nRadioQuestion.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tform: PropTypes.string.isRequired,\n\tquestion: OptionQuestionType.isRequired,\n\taccount: CurrentAccountType.isRequired,\n};\n\nconst CheckBoxQuestion = ({\n\tclasses: _classes,\n\tform,\n\tquestion,\n\taccount,\n}) => {\n\tconst classes = useStyles({ classes: extractPropsClasses(_classes) });\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\t{question.QuestionText}\n\t\t\t\t\t

\n\t\t\t\t\t{question.Options.map((option, index)=>{\n\t\t\t\t\t\tconst name = `${question.Name}${account.TradeCode}[${index}]`;\n\t\t\t\t\t\treturn ( \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t (!!value)}\n\t\t\t\t\t\t\t\t\tparse={(value) => (value ? option : '')}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\nCheckBoxQuestion.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tform: PropTypes.string.isRequired,\n\tquestion: OptionQuestionType.isRequired,\n\taccount: CurrentAccountType.isRequired,\n};\n\nconst AccountInformationQuestion = (props) => {\n\t\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nAccountInformationQuestion.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tform: PropTypes.string.isRequired,\n\taccount: CurrentAccountType.isRequired,\n\t\n};\n\nexport default AccountInformationQuestion;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n\tChangeLink,\n\tInput,\n} from '@components';\nimport { createQAAttribute } from '@global';\n\nconst InvestmentExpirience = ({\n\tprofile: {\n\t\tPendingOrders,\n\t\tExperiences,\n\t},\n\tclasses,\n\tactions,\n}) => {\n\tlet stocks = Experiences ? Experiences.find(val => val.Type === 'Stocks') : null;\n\tstocks = stocks ? stocks.Value : '';\n\tlet options = Experiences ? Experiences.find(val => val.Type === 'Option') : null;\n\toptions = options ? options.Value : '';\n\tlet margins = Experiences ? Experiences.find(val => val.Type === 'Margin') : null;\n\tmargins = margins ? margins.Value : '';\n\tlet mutualFunds = Experiences ? Experiences.find(val => val.Type === 'Mutual Funds') : null;\n\tmutualFunds = mutualFunds ? mutualFunds.Value : '';\n\tlet shortSales = Experiences ? Experiences.find(val => val.Type === 'Short Sale') : null;\n\tshortSales = shortSales ? shortSales.Value : '';\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\tInvestment Experience\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nInvestmentExpirience.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n};\n\nexport default InvestmentExpirience;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n\tChangeLink,\n\tInput,\n\tCheckbox,\n\tSvgIcon,\n} from '@components';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport IconButton from '@material-ui/core/IconButton';\nimport { ACCREDITED_INVESTOR_TOOLTIP_TEXT, QUALIFIED_CLIENT_TOOLTIP_TEXT } from '@utils';\nimport { createQAAttribute } from '@global';\n\nfunction valueOrEmpty(val) {\n\tif (val) return val;\n\treturn '';\n}\n\nconst InvestmentProfilePanel = ({\n\tprofile: {\n\t\tInvestmentProfile,\n\t\tPendingOrders,\n\t},\n\tclasses,\n\tactions,\n}) => (\n\t\n\t\t
\n Investment Profile\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\n\t\t
Investment
\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t
Assets
\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t
\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\n\t\n);\n\nInvestmentProfilePanel.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n};\n\nexport default InvestmentProfilePanel;\n","export function getPlatformFullName(platform) {\n\tswitch (platform) {\n\t\tcase 'LIME:MT:USD': return 'FOREX MT4 (USD)';\n\t\tcase 'LIME:MT:EUR': return 'FOREX MT4 (EUR)';\n\t\tcase 'LIME:MT:RUB': return 'FOREX MT4 (RUB)';\n\t\tcase 'LIME:MMA2:USD': return 'MT5 Global (USD)';\n\t\tcase 'LIME:MMA2:EUR': return 'MT5 Global (EUR)';\n\t\tcase 'LIME:MMA2:RUB': return 'MT5 Global (RUB)';\n\t\tdefault:\n\t\t\treturn platform;\n\t}\n}\n\nexport function getAccountProductName(account) {\n\tswitch (account.ProductType) {\n\t\tcase 'ForexStandart': return 'Forex Standard';\n\t\tcase 'ForexEcn': return 'Forex ECN';\n\t\tcase 'MMA2': return 'MT5 Global';\n\t\tdefault:\n\t\t\treturn getPlatformFullName(account.Platform);\n\t}\n}\n","export const INDUSTRIES = [\n\t'Agriculture, Forestry, Fishing and Hunting',\n\t'Mining, Quarrying, and Oil and Gas Extraction',\n\t'Utilities',\n\t'Construction',\n\t'Manufacturing',\n\t'Wholesale Trade',\n\t'Retail Trade',\n\t'Transportation and Warehousing',\n\t'Information',\n\t'Finance and Insurance',\n\t'Monetary Authorities-Central Bank',\n\t'Credit Intermediation and Related Activities',\n\t'Depository Credit Intermediation',\n\t'Nondepository Credit Intermediation',\n\t'Activities Related to Credit Intermediation',\n\t'Securities, Commodity Contracts, and Other Financial Investments and Related Activities',\n\t'Securities and Commodity Contracts Intermediation and Brokerage',\n\t'Securities and Commodity Exchanges',\n\t'Other Financial Investment Activities',\n\t'Investment Management with fees paid by customers',\n\t'Investment Management',\n\t'Insurance Carriers and Related Activities',\n\t'Insurance Carriers',\n\t'Agencies, Brokerages, and Other Insurance Related Activities',\n\t'Funds, Trusts, and Other Financial Vehicles',\n\t'Insurance and Employee Benefit Funds',\n\t'Trusts Estates and Agency Accounts',\n\t'Other Investment Pools and Funds',\n\t'Real Estate and Rental and Leasing',\n\t'Professional, Scientific, and Technical Services',\n\t'Management of Companies and Enterprises',\n\t'Holding Company',\n\t'Offices of Bank Holdings Company',\n\t'Offices of Other Holdings Company',\n\t'Administrative and Support and Waste Management and Remediation Services',\n\t'Educational Services',\n\t'Health Care and Social Assistance',\n\t'Arts, Entertainment, and Recreation',\n\t'Accommodation and Food Services',\n\t'Other Services (except Public Administration)',\n\t'Public Administration',\n\t'Other',\n];\n\nexport const SOURCE_OF_FUNDING = {\n\tEARNINGS: 'Earnings/Employment',\n\tSOCIAL_SECURITY: 'Social Security Benefits',\n\tPENSION: 'Pension/IRA/Savings',\n\tGIFT: 'Gift',\n\tSALE_OF_BUSINESS: 'Sale of Business or Property',\n\tINHERITANCE: 'Inheritance',\n\tINSURANCE: 'Insurance',\n\tOTHER: 'Other',\n};\n\nexport const EMPLOYMENT_STATUS = {\n\tEMPLOYED: 'Employed',\n\tSELF_EMPLOYED: 'Self-Employed',\n\tRETIRED: 'Retired',\n\tUNEMPLOYED: 'Unemployed',\n\tSTUDENT: 'Student',\n};\n\nexport const OCCUPATIONS = [\n\t'Accountant/Auditor/Bookkeeper',\n\t'Adjuster',\n\t'Advertiser/Marketer/PR Professional',\n\t'Air Traffic Controller',\n\t'Ambassador/Consulate Professional',\n\t'Analyst',\n\t'Appraiser',\n\t'Architect/Designer',\n\t'Artist/Performer/Actor/Dancer',\n\t'Assistant/Executive Assistant',\n\t'Athlete',\n\t'Attorney/Judge/Legal Professional',\n\t'Auctioneer',\n\t'Banker/Lending Professional',\n\t'Barber/Beautician/Hairstylist',\n\t'Broker/Registered Rep',\n\t'Business Executive',\n\t'Business Owner',\n\t'Caregiver',\n\t'Carpenter/Construction Worker/Contractor',\n\t'Cashier',\n\t'Chef/Cook',\n\t'Chiropractor',\n\t'Civil Servant',\n\t'Clergy',\n\t'Clerk',\n\t'Compliance/Regulatory Professional',\n\t'Consultant',\n\t'Counselor/Therapist',\n\t'Customer Service Representative',\n\t'Dealer',\n\t'Dentist',\n\t'Distributor',\n\t'Doctor/Surgeon/Physician',\n\t'Driver',\n\t'Engineer',\n\t'Exterminator',\n\t'Factory/Warehouse Worker',\n\t'Farmer/Rancher',\n\t'Financial Planner/Advisor',\n\t'Flight Attendant',\n\t'Human Resources Professional',\n\t'Importer/Exporter',\n\t'Inspector/Investigator',\n\t'Investor',\n\t'IT Professional/IT Associate',\n\t'Janitor',\n\t'Jeweler',\n\t'Laborer',\n\t'Landscaper',\n\t'Mechanic',\n\t'Military, Officer or Associated',\n\t'Mortician/Funeral Director',\n\t'Nurse',\n\t'Office Associate',\n\t'Pharmacist',\n\t'Physical Therapist',\n\t'Pilot',\n\t'Police Officer/Firefighter/Law Enforcement Professional',\n\t'Politician',\n\t'Project Manager',\n\t'Real Estate Professional',\n\t'Researcher',\n\t'Salesperson',\n\t'Scientist',\n\t'Seamstress/Tailor',\n\t'Security Guard',\n\t'Social Worker',\n\t'Teacher/Professor',\n\t'Technician',\n\t'Teller',\n\t'Tradesperson/Craftsperson',\n\t'Trainer/Instructor',\n\t'Underwriter',\n\t'Veterinarian',\n\t'Writer/Journalist/Editor',\n\t'Other',\n];\n\nexport const ACCREDITED_INVESTOR_TOOLTIP_TEXT = 'Accredited investor: An Accredited Investor is a person whose individual net worth, ' +\n'or joint net worth with a spouse, is over $1 million (excluding the value of your primary residence) ' +\n'or who had an individual income in excess of $200,000 in each of the two most recent years, or ' +\n'joint income with a spouse in excess of $300,000 in each of those years and reasonably expects to ' +\n'reach the same income level in the current year';\n\nexport const QUALIFIED_CLIENT_TOOLTIP_TEXT = 'Qualified client: A Qualified Client is a person who has at least $1,100,000 ' +\n'under management with an SEC registered investment advisor or individual net worth in excess of $2,200,000.';\n\nexport const INVESTMENT_TIMELINE_RANGES = {\n\tNONE: { value: 'None', text: 'None' },\n\tLESS_THAN_A_YEAR: { value: 'Less than 1 year', text: 'Less than 1 year' },\n\tONE_TO_FIVE_YEARS: { value: '1 to 5 years', \t text: '1 to 5 years' },\n\tFIVE_TO_TEN_YEARS: { value: '5 to 10 years', \t text: '5 to 10 years' },\n\tSIX_TO_TEN_YEARS: { value: '6 to 10 years', \t text: '6 to 10 years' },\n\tTEN_TO_FIFTEEN_YEARS: { value: '10 to 15 years', text: '10 to 15 years' },\n\tOVER_TEN_YEARS: { value: 'Over 10 years', \t text: 'Over 10 years' },\n\tOVER_FIFTEEN_YEARS: { value: 'Over 15 years', text: 'Over 15 years' },\n};\n\nexport const LIQUIDITY_IMPORTANCE_RANGES = {\n\tVERY_IMPORTANT: { value: 'Very Important (Less Than 1 year)', text: 'Very Important (Less Than 1 year)' },\n\tIMPORTANT: { value: 'Important (1 - 5 years)', text: 'Important (1 - 5 years)' },\n\tSOMEWHAT_IMPORTANT: { value: 'Somewhat Important (5 - 15 years)', text: 'Somewhat Important (5 - 15 years)' },\n\tDOES_NOT_MATTER: { value: 'Does Not Matter (Over 15 years)', text: 'Does Not Matter (Over 15 years)' },\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport {\n\tprofile,\n\tsignature,\n} from '@redux';\nimport compose from 'recompose/compose';\nimport {\n\tChangeLink,\n\tInput,\n\tInputPhoneIconNumber,\n} from '@components';\nimport {\n\tInputEditableItem,\n\tCustomEditableItem,\n} from '@shared';\nimport { createQAAttribute } from '@global';\n\nfunction valueOrEmpty(val) {\n\tif (val) return val;\n\treturn '';\n}\n\nconst mapStateToProps = state => ({\n\tprofile: profile.selectors.profile(state),\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowChangeAddressModal: () => {\n\t\t\tconst changeAddressAction = profile.actions.showChangeAddressModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAddressAction));\n\t\t},\n\t\tshowChangeEmailModal: () => {\n\t\t\tconst changeEmailAction = profile.actions.showChangeEmailModal({ forceConfirmationEmail: true });\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeEmailAction));\n\t\t},\n\t\tshowChangePhoneModal: () => {\n\t\t\tconst changePhoneAction = profile.actions.showChangePhoneModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changePhoneAction));\n\t\t},\n\t\tshowChangeDependentsModal: () => {\n\t\t\tconst changeAction = profile.actions.showChangeDependentsModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t\tshowChangeMaritalStatusModal: () => {\n\t\t\tconst changeAction = profile.actions.showChangeMaritalStatusModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\n\t},\n});\n\n\nclass PersonalInformation extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\tprofile: {\n\t\t\t\tPersonalInformation,\n\t\t\t\tPendingOrders,\n\t\t\t},\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
Personal Information
\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\teditControl={\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t {}}\n\t\t\t\t\t\t\tonChange={() => {}}\n\t\t\t\t\t\t\tvalue={valueOrEmpty(PersonalInformation.Phone)}\n\t\t\t\t\t\t\tdisabled\n\t\t\t\t\t\t\thideNumberMode\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\teditControl={\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t
\n\t\t);\n\t}\n}\n\nPersonalInformation.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n};\n\nexport default compose(connect(mapStateToProps, mapDispatchToProps))(PersonalInformation);\n\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { acatDeposit } from '@redux';\nimport {\n\treduxForm,\n\tField,\n} from 'redux-form';\nimport {\n\tFormSelect,\n\tFormInput,\n\tDivider,\n\tButton,\n\tLimeLogo,\n\tSuccessMessage,\n\tSvgIcon,\n} from '@components';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\n// import j2tlogo from './j2t.png';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tinputItem: {\n\t\tmarginTop: '10px',\n\t},\n\tinputSelectItem: {\n\t\tmarginTop: '10px',\n\t\tpaddingLeft: '25px',\n\t},\n\titem: {\n\t\tmarginTop: '30px',\n\t\tpadding: '0 24px',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\taccountContainer: {\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tselectItem: {\n\t\twhiteSpace: 'initial',\n\t},\n});\n\n\nconst mapStateToProps = (state, ownProps) => ({\n\tinitialValues: {\n\t\tTradeCode: ownProps.tradeAccount.tradeCode,\n\t\tClearerFirm: ownProps.tradeAccount.clearerFirm,\n\t\tTransferInstructions: ownProps.closeAccountMode ? 'All' : null,\n\t},\n});\n\n\nclass AcatOutgoingForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values.TradeCode) {\n\t\t\terrors.TradeCode = 'required';\n\t\t}\n\n\t\tif (!values.ClearerFirm) {\n\t\t\terrors.ClearerFirm = 'required';\n\t\t}\n\n\t\tif (!values.DestinationFirmName) {\n\t\t\terrors.DestinationFirmName = 'required';\n\t\t}\n\n\t\tif (!values.TransferInstructions) {\n\t\t\terrors.TransferInstructions = 'required';\n\t\t}\n\n\t\tif (!values.TransferReason) {\n\t\t\terrors.TransferReason = 'required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t\ttradeAccount,\n\t\t\tcloseAccountMode,\n\t\t\thandleSubmit,\n\t\t\tsubmitSucceeded,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{\n\t\t\t\t\tsubmitSucceeded ? Thank you for your time!
You will receive an email shortly with further instructions.

}\n\t\t\t\t\t\tbuttonText={closeAccountMode ? 'Next' : 'Back To Account'}\n\t\t\t\t\t/> :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
{tradeAccount && tradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\tTransfer all my assets (money markets may be liquidated)\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\tTransfer only part of my account\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t: 'Transfer'\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t
);\n\t}\n}\n\nAcatOutgoingForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\ttradeAccount: PropTypes.object.isRequired,\n\tcloseAccountMode: PropTypes.bool,\n\thandleSubmit: PropTypes.func.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n};\n\nAcatOutgoingForm.defaultProps = {\n\tcloseAccountMode: false,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n\treduxForm({\n\t\tform: 'acatOutgoingForm',\n\t\tvalidate: AcatOutgoingForm.validate,\n\t}),\n)(AcatOutgoingForm);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport {\r\n\tuserAccounts,\r\n\twithdrawFunds,\r\n\tacatDeposit,\r\n} from '@redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n} from 'redux-form';\r\nimport {\r\n\tFormSelect,\r\n\tBankLogo,\r\n\tButton,\r\n\tDivider,\r\n\tLimeLogo,\r\n\tSuccessMessage,\r\n\tErrorMessage,\r\n\tWithdrawAmount,\r\n} from '@components';\r\nimport { constants } from '@config';\r\nimport { toUsaMoneyFormat } from '@global';\r\nimport { CloseAccountFlow } from '@enums';\r\nimport { CloseAccountSuggestionPopup } from '@shared';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport { connect } from 'react-redux';\r\nimport LongArrow from './arrow.svg';\r\n\r\nconst styles = theme => ({\r\n\trow: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tamount: {\r\n\t\tmarginTop: '30px',\r\n\t\tpaddingLeft: '50px',\r\n\t},\r\n\tamountInput: {\r\n\t\tpaddingLeft: '70px',\r\n\t},\r\n\tbankAccountContainer: {\r\n\t\tmarginTop: '-15px',\r\n\t},\r\n\taccountContainer: {\r\n\t},\r\n\tlogo: {\r\n\t\tpadding: '16px 16px 4px 16px',\r\n\t\tposition: 'relative',\r\n\t\twidth: '80px',\r\n\t\theight: '44px',\r\n\t},\r\n\tarrow: {\r\n\t\tpaddingLeft: '24px',\r\n\t\theight: '36px',\r\n\t},\r\n\tinputContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\taccount: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'left',\r\n\t},\r\n\taccountBalance: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\tdivider: {\r\n\t\tmarginTop: '30px',\r\n\t},\r\n\twarning: {\r\n\t\tpadding: '12px 16px',\r\n\t\ttextAlign: 'justify',\r\n\t\tfontSize: '12px',\r\n\t\tlineHeight: '20px',\r\n\t},\r\n\tbutton: {\r\n\t\tmarginTop: '45px',\r\n\t},\r\n});\r\n\r\nconst WITHDRAW_FUNDS_ACH_FORM = 'withdrawFundsAchForm';\r\nconst formSelector = formValueSelector(WITHDRAW_FUNDS_ACH_FORM);\r\n\r\nconst mapStateToProps = (state, ownProps) => {\r\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\r\n\treturn {\r\n\t\tinitialValues: {\r\n\t\t\tbankAccount: ownProps.toBankAccount,\r\n\t\t\tbankAccountNumber: ownProps.toBankAccount.Number,\r\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tClearerFirm: currentTradeAccount.clearerFirm,\r\n\t\t\tAmount: ownProps.amount,\r\n\t\t\tCloseAccountFlow: ownProps.closeAccountFlow,\r\n\t\t},\r\n\t\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\t\tcurrentTradeAccount,\r\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\t\tformAmount: formSelector(state, 'Amount'),\r\n\t\tcloseAccountFlow: ownProps.closeAccountFlow,\r\n\t\tcloseAccountValidation: acatDeposit.selectors.closeAccountValidation(state),\r\n\t};\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\thideWithdrawFundsAchModal: () => dispatch(withdrawFunds.actions.hideWithdrawFundsAchModal()),\r\n\t\trefreshAccountPortfolio: tradeCode =>\r\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\r\n\t},\r\n});\r\n\r\nclass AchWithdrawalForm extends React.Component {\r\n\tstatic getCashToWithdraw(props) {\r\n\t\tconst { currentAccountData: { baseParams, submitting } } = props;\r\n\t\treturn !submitting && baseParams && baseParams.CashToWithdrawValue;\r\n\t}\r\n\r\n\tstatic validate(values, props) {\r\n\t\tconst errors = {};\r\n\t\tconst cashToWithdraw = AchWithdrawalForm.getCashToWithdraw(props);\r\n\r\n\t\tif (!values.bankAccount) {\r\n\t\t\terrors.bankAccount = 'required';\r\n\t\t}\r\n\t\tif (!values.Amount || values.Amount <= 0) {\r\n\t\t\terrors.Amount = 'required';\r\n\t\t} else if (typeof cashToWithdraw === 'number') {\r\n\t\t\tif (cashToWithdraw < values.Amount) {\r\n\t\t\t\terrors.Amount = 'Available amount for withdrawal is less than requested';\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tcomponentDidMount() {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t} = this.props;\r\n\r\n\t\tactions.refreshAccountPortfolio(currentTradeAccount.tradeCode);\r\n\t}\r\n\r\n\tgetSuccessPopup = () => {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t\tformAmount,\r\n\t\t\tcloseAccountFlow,\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tbaseParams: {\r\n\t\t\t\t\tCashCurrentValue: cash,\r\n\t\t\t\t\tFreeMarginValue: unsettledCash,\r\n\t\t\t\t\tPositionMarket: securitiesMarketValue,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\tcloseAccountValidation,\r\n\t\t} = this.props;\r\n\r\n\t\tif (closeAccountValidation.submitSucceeded &&\r\n\t\t\tparseFloat(formAmount) === cash &&\r\n\t\t\tunsettledCash === 0 &&\r\n\t\t\tsecuritiesMarketValue === 0 &&\r\n\t\t\tcloseAccountFlow !== CloseAccountFlow.PROFILE) {\r\n\t\t\treturn (\r\n\t\t\t\t\r\n\t\t\t);\r\n\t\t}\r\n\t\treturn ();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tactions,\r\n\t\t\tamount,\r\n\t\t\tlinkedAccounts,\r\n\t\t\thandleSubmit,\r\n\t\t\ttoBankAccount,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tsubmitFailed,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tsubmitting,\r\n\t\t\t},\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\tconst selectedBankAccount = toBankAccount;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded &&\r\n\t\t\t\t\tthis.getSuccessPopup()\r\n\t\t\t\t}\r\n\t\t\t\t{submitFailed &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !submitFailed &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t
{currentTradeAccount.tradeCode}
\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{selectedBankAccount &&\r\n\t\t\t\t\t\t\t\t\"Long\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{selectedBankAccount &&\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tlinkedAccounts &&\r\n\t\t\t\t\t\t\t\t\t\t(linkedAccounts.length > 0) &&\r\n\t\t\t\t\t\t\t\t\t\tlinkedAccounts.map((bankAccount, index) => (\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
*{bankAccount.displayNumber}
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t{bankAccount.Balance &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(bankAccount.Balance)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t))\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t { this.props.actions.refreshAccountPortfolio(currentTradeAccount.tradeCode); }}\r\n\t\t\t\t\t\t\tdisabled={amount != null}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t{constants.warningForNonTransferableSecuritiesHolders}\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{props.submitting ?\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t: 'Withdraw'\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAchWithdrawalForm.defaultProps = {\r\n\tformAmount: '',\r\n};\r\n\r\nAchWithdrawalForm.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tcurrentAccountData: PropTypes.object.isRequired,\r\n\tlinkedAccounts: PropTypes.array.isRequired,\r\n\tfromUserAccount: PropTypes.object.isRequired, // not used\r\n\ttoBankAccount: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tformAmount: PropTypes.string,\r\n\tcloseAccountValidation: PropTypes.object.isRequired,\r\n\tcloseAccountFlow: PropTypes.oneOf([CloseAccountFlow.PROFILE, CloseAccountFlow.CASH_MANAGMENT]).isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: WITHDRAW_FUNDS_ACH_FORM,\r\n\t\tonSubmitSuccess: (result, dispatch, props) => {\r\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\r\n\t\t\t\tprops.onSuccess('ACH');\r\n\t\t\t}\r\n\t\t},\r\n\t\tvalidate: AchWithdrawalForm.validate,\r\n\t}),\r\n)(AchWithdrawalForm);\r\n","module.exports = __webpack_public_path__ + \"content/assets/ba345831c9ac5414e31c378253cb8ba9.svg\";","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport {\n\tuserAccounts,\n\twithdrawFunds,\n} from '@redux';\nimport {\n\treduxForm, formValueSelector,\n\tField,\n} from 'redux-form';\nimport {\n\tFormSelect,\n\tButton,\n\tDivider,\n\tLimeLogo,\n\tSuccessMessage,\n\tSvgIcon,\n\tFormInputNumber,\n} from '@components';\nimport { constants } from '@config';\nimport { toUsaMoneyFormat } from '@global';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\nimport LongArrow from './arrow.svg';\nimport j2tlogo from './j2t.png';\nimport { WithdrawInfo, BrokerAccountInfo } from './components';\n\nconst styles = theme => ({\n\tinputItem: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tamount: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\tamountInput: {\n\t\tpaddingLeft: '70px',\n\t},\n\tbankAccountContainer: {\n\t\t// marginTop: '-15px',\n\t},\n\taccountContainer: {\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tsourceAccountInfo: {\n\t\tmarginTop: '0',\n\t\tmarginBottom: '-48px',\n\t\tpaddingLeft: '50px',\n\t},\n\tdestinationAccountInfo: {\n\t\tmarginTop: '0',\n\t\tpaddingLeft: '50px',\n\t},\n\tarrow: {\n\t\tpaddingLeft: '24px',\n\t\theight: '84px',\n\t},\n\tarrowImg: {\n\t\tposition: 'relative',\n\t\tmarginTop: '-18px',\n\t\ttop: '50%',\n\n\t},\n\tbankAccountLogo: {\n\t\tposition: 'relative',\n\t\twidth: '42px',\n\t\theight: '42px',\n\t\ttop: '50%',\n\t\tmarginTop: '-21px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\taccountBalance: {\n\t\twidth: '100%',\n\t\ttextAlign: 'right',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\twarning: {\n\t\tpadding: '12px 16px',\n\t\ttextAlign: 'justify',\n\t\tfontSize: '12px',\n\t\tlineHeight: '20px',\n\t},\n\tbutton: {\n\t\tmarginTop: '45px',\n\t},\n});\n\nconst WITHDRAW_FUNDS_BROKER_FORM = 'withdrawFundsBrokerForm';\nconst mapStateToProps = (state, ownProps) => {\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tbankAccount: ownProps.toBankAccount,\n\t\t\tbankAccountNumber: ownProps.toBankAccount.Number,\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\n\t\t\tAmount: ownProps.amount,\n\t\t\tDirection: 'IncToOnline',\n\t\t\tbankAccountInfo: {\n\t\t\t\tsubmitting: false,\n\t\t\t\tcashToWithdrawValue: null,\n\t\t\t\ttotalAccountValue: null,\n\t\t\t},\n\t\t},\n\t\tgetFormValue: fieldName => formValueSelector(WITHDRAW_FUNDS_BROKER_FORM)(state, fieldName),\n\t\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\n\t\tcurrentTradeAccount,\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\thideWithdrawFundsBrokerModal: () => dispatch(withdrawFunds.actions.hideWithdrawFundsBrokerModal()),\n\t\trefreshAccountPortfolio: tradeCode =>\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\n\t},\n});\n\nclass BrokerWithdrawalForm extends React.Component {\n\tstatic getCashToWithdraw(props) {\n\t\tconst { currentAccountData: { baseParams, submitting } } = props;\n\t\treturn !submitting && baseParams && baseParams.CashToWithdrawValue;\n\t}\n\n\tstatic validate(values, props) {\n\t\tconst errors = {};\n\t\tconst cashToWithdraw = BrokerWithdrawalForm.getCashToWithdraw(props);\n\n\t\tif (!values.bankAccount) {\n\t\t\terrors.bankAccount = 'required';\n\t\t}\n\t\tif (!values.Amount || values.Amount <= 0) {\n\t\t\terrors.Amount = 'required';\n\t\t} else if (typeof cashToWithdraw === 'number') {\n\t\t\tif (cashToWithdraw < values.Amount) {\n\t\t\t\terrors.Amount = 'Available amount for withdrawal is less than requested';\n\t\t\t}\n\t\t}\n\t\treturn errors;\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\tamount,\n\t\t\tgetFormValue,\n\t\t\tlinkedAccounts,\n\t\t\thandleSubmit,\n\t\t\ttoBankAccount,\n\t\t\tsubmitSucceeded,\n\t\t\tcurrentTradeAccount,\n\t\t\tcurrentAccountData: {\n\t\t\t\tsubmitting,\n\t\t\t\tbaseParams,\n\t\t\t},\n\t\t\tform,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\tconst selectedBankAccount = toBankAccount;\n\n\t\treturn submitSucceeded ? :\n\t\t\t(\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
{currentTradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{selectedBankAccount &&\n\t\t\t\t\t\t\t\"Long\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{selectedBankAccount &&\n\t\t\t\t\t\t\t\t\t\"Just2Trade\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t[{\n\t\t\t\t\t\t\t\t\t\tType: 'BROKER',\n\t\t\t\t\t\t\t\t\t\tNumber: toBankAccount.Number,\n\t\t\t\t\t\t\t\t\t\tdisplayNumber: toBankAccount.Number,\n\t\t\t\t\t\t\t\t\t\tBalance: undefined,\n\t\t\t\t\t\t\t\t\t }].map((bankAccount, index) => (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
*{bankAccount.displayNumber}
\n\t\t\t\t\t\t\t\t\t\t\t\t{bankAccount.Balance &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(bankAccount.Balance)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t))\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{getFormValue('bankAccountNumber') &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\t{constants.warningForNonTransferableSecuritiesHolders}\n\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{props.submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Withdraw'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t);\n\t}\n}\n\nBrokerWithdrawalForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\tlinkedAccounts: PropTypes.array.isRequired,\n\tfromUserAccount: PropTypes.object.isRequired, // not used\n\ttoBankAccount: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: WITHDRAW_FUNDS_BROKER_FORM,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess('BROKER');\n\t\t\t}\n\t\t},\n\t\tvalidate: BrokerWithdrawalForm.validate,\n\t}),\n)(BrokerWithdrawalForm);\n","module.exports = __webpack_public_path__ + \"content/assets/ba345831c9ac5414e31c378253cb8ba9.svg\";","module.exports = __webpack_public_path__ + \"content/assets/ff8b5f14870755227dd65d9ba8743bfb.png\";","import React from 'react';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { toUsaMoneyFormat } from '@global';\nimport { userAccounts } from '@redux';\nimport AccountPropsView from './AccountPropsView';\n\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst { baseParams, submitting } = userAccounts.selectors.currentAccountData(state);\n\treturn {\n\t\ttradeCode: ownProps.tradeCode || userAccounts.selectors.currentTradeAccount(state).tradeCode,\n\t\tloading: !!submitting,\n\t\tcashToWithdrawValue: !submitting && baseParams && baseParams.CashToWithdrawValue,\n\t\ttotalAccountValue: !submitting && baseParams && baseParams.EquityValue,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshAccountPortfolio: tradeCode =>\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\n\t},\n});\n\nclass WithdrawInfo extends React.Component {\n\thandleRefresh = () => {\n\t\tconst { actions, tradeCode } = this.props;\n\t\tactions.refreshAccountPortfolio(tradeCode);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tloading,\n\t\t\tcashToWithdrawValue,\n\t\t\ttotalAccountValue,\n\t\t\ttheme,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
{`Total account value: ${toUsaMoneyFormat(totalAccountValue)}`}
\n\t\t\t\t
{`Cash to withdraw: ${toUsaMoneyFormat(cashToWithdrawValue)}`}
\n\t\t\t
\n\t\t);\n\t}\n}\n\nWithdrawInfo.propTypes = {\n\tclasses: PropTypes.object,\n\tloading: PropTypes.bool.isRequired,\n\ttradeCode: PropTypes.string.isRequired,\n\tcashToWithdrawValue: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]).isRequired,\n\ttotalAccountValue: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]).isRequired,\n};\nWithdrawInfo.defaultProps = {\n\tclasses: undefined,\n};\n\nexport default compose(\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(WithdrawInfo);\n","import React from 'react';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { toUsaMoneyFormat, toUsaFormat } from '@global';\nimport { userAccounts, wallet } from '@redux';\nimport { formValueSelector } from 'redux-form';\nimport AccountPropsView from './AccountPropsView';\n\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst { cashToWithdrawValue, totalAccountValue, currencyCode, submitting } = formValueSelector(ownProps.form)(state, ownProps.name);\n\treturn {\n\t\ttradeCode: ownProps.tradeCode || userAccounts.selectors.currentTradeAccount(state).tradeCode,\n\t\tloading: !!submitting,\n\t\tcashToWithdrawValue: (!submitting && cashToWithdrawValue) || null,\n\t\ttotalAccountValue: (!submitting && totalAccountValue) || null,\n\t\tcurrencyCode: (!submitting && currencyCode) || null,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshAccountPortfolio: tradeCode =>\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\n\t\tgetWithdrawCash: (account, form, name) =>\n\t\t\tdispatch(wallet.actions.getWithdrawCash.request({ account, form, name })),\n\t},\n});\n\nconst toMoneyFormat = (num, currency) =>\n\t((!currency || currency === 'USD') ? toUsaMoneyFormat(num) : `${toUsaFormat(num)} ${currency}`);\n\nclass BrokerAccountInfo extends React.Component {\n\tcomponentDidMount() {\n\t\tthis.handleRefresh();\n\t}\n\n\thandleRefresh = () => {\n\t\tconst { actions, account, form, name } = this.props;\n\t\tactions.getWithdrawCash(account, form, name );\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tloading,\n\t\t\tcashToWithdrawValue,\n\t\t\ttotalAccountValue,\n\t\t\tcurrencyCode,\n\t\t\ttheme,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
{`Total account value: ${toMoneyFormat(totalAccountValue, currencyCode)}`}
\n\t\t\t\t
{`Cash to withdraw: ${toMoneyFormat(cashToWithdrawValue, currencyCode)}`}
\n\t\t\t
\n\t\t);\n\t}\n}\n\nBrokerAccountInfo.propTypes = {\n\tclasses: PropTypes.object,\n\tloading: PropTypes.bool.isRequired,\n\taccount: PropTypes.string.isRequired,\n\tform: PropTypes.string.isRequired,\n\tname: PropTypes.string.isRequired,\n\tcashToWithdrawValue: PropTypes.number,\n\ttotalAccountValue: PropTypes.number,\n\tcurrencyCode: PropTypes.string,\n};\nBrokerAccountInfo.defaultProps = {\n\tclasses: undefined,\n\tcashToWithdrawValue: null,\n\ttotalAccountValue: null,\n\tcurrencyCode: 'USD',\n};\n\nexport default compose(\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(BrokerAccountInfo);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { acatDeposit, userAccounts } from '@redux';\nimport {\n\treduxForm,\n\tField,\n} from 'redux-form';\nimport {\n\tFormSelect,\n\tFormInput,\n\tDivider,\n\tButton,\n\tLimeLogo,\n\tSuccessMessage,\n} from '@components';\nimport { ModalPopups, CloseAccountFlow } from '@enums';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tinputItem: {\n\t\tmarginTop: '10px',\n\t},\n\titem: {\n\t\tmarginTop: '30px',\n\t\tpadding: '0 24px',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\taccountContainer: {\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n});\n\n\nconst mapStateToProps = (state, ownProps) => ({\n\tinitialValues: {\n\t\tTradeCode: ownProps.tradeAccount.tradeCode,\n\t\tClearerFirm: ownProps.tradeAccount.clearerFirm,\n\t},\n\tcloseAccountFlow: (acatDeposit.selectors.modals(state) && acatDeposit.selectors.modals(state)[ModalPopups.CLOSE_ACCOUNT].flow)\n\t\t|| CloseAccountFlow.PROFILE,\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n});\n\n\nclass CloseAccountForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values.TradeCode) {\n\t\t\terrors.TradeCode = 'required';\n\t\t}\n\n\t\tif (!values.ClearerFirm) {\n\t\t\terrors.ClearerFirm = 'required';\n\t\t}\n\n\t\tif (!values.ClosePrompt) {\n\t\t\terrors.ClosePrompt = 'required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\ttradeAccount,\n\t\t\thandleSubmit,\n\t\t\tsubmitSucceeded,\n\t\t\tcloseAccountFlow,\n\t\t\tcurrentAccountData: {\n\t\t\t\tbaseParams,\n\t\t\t},\n\t\t\t...props\n\t\t} = this.props;\n\n\t\tlet buttonText;\n\t\tif (!submitSucceeded &&\n\t\t\t(((baseParams && baseParams.CashCurrentValue <= 0) && closeAccountFlow === CloseAccountFlow.PROFILE) ||\n\t\t\t\tcloseAccountFlow === CloseAccountFlow.CASH_MANAGMENT)) {\n\t\t\tbuttonText = 'Close account';\n\t\t} else {\n\t\t\tbuttonText = 'Next';\n\t\t}\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{\n\t\t\t\t\tsubmitSucceeded ? \n\t\t\t\t\t\t\t\tThank you for your time!
\n\t\t\t\t\t\t\t\tRequest Received. Please allow at least 24 hours for processing and email confirmation.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbuttonText=\"Back To Account\"\n\t\t\t\t\t/> :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
{tradeAccount && tradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tWe are sad to see you leave but to better guide you through the process,\n\t\t\t\t\t\t\t\t\tplease answer he following questions.\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{props.submitting ?\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t: buttonText\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t
);\n\t}\n}\n\nCloseAccountForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\ttradeAccount: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\tcloseAccountFlow: PropTypes.oneOf([CloseAccountFlow.PROFILE, CloseAccountFlow.CASH_MANAGMENT]).isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n\treduxForm({\n\t\tform: 'closeAccountForm',\n\t\tvalidate: CloseAccountForm.validate,\n\t}),\n)(CloseAccountForm);\n","import React from 'react';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { Field, reduxForm } from 'redux-form';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { Button, Divider, FormInputPassword, R } from '@components';\nimport { constants } from '@config';\nimport { cabinetLog, translate } from '@global';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\tinputItem: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\twarning: {\n\t\tpadding: '12px 16px',\n\t\ttextAlign: 'justify',\n\t\tfontSize: '12px',\n\t\tlineHeight: '20px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n});\n\n\nconst CY_CHANGE_PASSWORD_FORM_ID = 'CYChangePasswordForm';\nconst mapStateToProps = (state, ownProps) => ({\n\n\tinitialValues: {\n\t\tAuthKey: ownProps.resetKey,\n\t\tOldPassword: '',\n\t\tNewPassword: '',\n\t\tConfirmPassword: '',\n\t},\n\n});\n\n\n\nclass CYChangePasswordForm extends React.Component {\n\n\tstatic validate(formvalues, props) {\n\n\t\tconst values = formvalues;\n\t\tconst errors = {};\n\n\t\tif (!values) {\n\t\t\treturn errors;\n\t\t}\n\n\t\tif (!values.OldPassword) {\n\t\t\terrors.OldPassword = 'required';\n\t\t}\n\n\t\tif (!values.NewPassword) {\n\t\t\terrors.NewPassword = 'required';\n\t\t} else if (!constants.regExpPassword.test(values.NewPassword)) {\n\t\t\terrors.NewPassword = 'Does not meet requirements';\n\t\t}\n\n\n\t\tif (values.NewPassword !== values.ConfirmPassword) {\n\t\t\terrors.ConfirmPassword = 'The new password and confirmation password do not match';\n\t\t}\n\t\t\n\t\treturn errors;\n\t}\n\n\trender() {\n\n\t\tconst {\n\t\t\tclasses,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t\tpristine,\n\t\t\tresetKey,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{!resetKey &&\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
  • \n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t: \n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nCYChangePasswordForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tresetKey: PropTypes.string,\n};\n\n\nexport default compose(\n\twithStyles(styles),\n\twithTheme,\n\tconnect(mapStateToProps, null),\n\treduxForm({\n\t\tform: CY_CHANGE_PASSWORD_FORM_ID,\n\t\tvalidate: CYChangePasswordForm.validate,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess();\n\t\t\t}\n\t\t},\n\t}),\n)(CYChangePasswordForm);\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { ipo, userAccounts } from '@redux';\nimport { ValidationMessageMode } from '@enums';\nimport { Field, formValueSelector, reduxForm } from 'redux-form';\nimport {\n\tA,\n\tFormSelect,\n\tDivider,\n\tButton,\n\tFormCheckbox,\n\tLimeLogo,\n\tProgressContainer,\n\tSvgIcon,\n\tWithdrawAmount,\n} from '@components';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n});\n\n\nconst IPO_CREATE_ORDER_FORM_ID = 'IpoCreateOrderForm';\nconst formSelector = formValueSelector(IPO_CREATE_ORDER_FORM_ID);\n\nconst mapStateToProps = (state, ownProps) => ({\n\tinitialValues: {\n\t\t...ownProps.order,\n\t\tTradeCode: ownProps.currentTradeAccount.tradeCode,\n\t\tClearerFirm: ownProps.currentTradeAccount.clearerFirm,\n\t\tAmount: ownProps.amount,\n\t},\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\thasAttestationFinraAgree: formSelector(state, 'HasAttestationFinraAgree'),\n\tcurrentOffering: ipo.selectors.currentOffering(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshAccountPortfolio: tradeCode =>\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\n\t\trefreshCurrentOffering: offeringId =>\n\t\t\tdispatch(ipo.actions.getOffering.request(offeringId)),\n\t},\n});\n\n\nclass IpoCreateOrderForm extends React.Component {\n\tstatic getCashToWithdraw(props) {\n\t\tconst { currentAccountData: { baseParams, submitting } } = props;\n\t\treturn !submitting && baseParams && baseParams.CashToWithdrawValue;\n\t}\n\n\tstatic validate(values, props) {\n\t\tconst errors = {};\n\t\tconst cashToWithdraw = IpoCreateOrderForm.getCashToWithdraw(props);\n\t\tconst {\n\t\t\tcurrentOffering: {\n\t\t\t\tsubmitting: offeringSubmitting,\n\t\t\t\tvalue: offering,\n\t\t\t},\n\t\t} = props;\n\n\t\tif (!offeringSubmitting && offering && values.Amount) {\n\t\t\tif (offering.MinTicketSize && values.Amount < offering.MinTicketSize) {\n\t\t\t\terrors.Amount = `The minimum order volume for participation in this placement is $${\n\t\t\t\t\toffering.MinTicketSize.toLocaleString('en-US')\n\t\t\t\t}. See the prospectus for details.`;\n\t\t\t}\n\t\t\tif (offering.MaxTicketSize && values.Amount > offering.MaxTicketSize) {\n\t\t\t\terrors.Amount = `The maximum order volume for participation in this placement is $${\n\t\t\t\t\toffering.MaxTicketSize.toLocaleString('en-US')\n\t\t\t\t}. See the prospectus for details.`;\n\t\t\t}\n\t\t\tif (offering.UnitIncrement && values.Amount / offering.UnitIncrement !== Math.floor(values.Amount / offering.UnitIncrement)) {\n\t\t\t\terrors.Amount = `The volume of the order to participate in this placement must be a multiple of $${\n\t\t\t\t\toffering.UnitIncrement.toLocaleString('en-US')\n\t\t\t\t}.`;\n\t\t\t}\n\t\t}\n\n\t\tif (!values.Amount || values.Amount <= 0) {\n\t\t\terrors.Amount = 'Required';\n\t\t} else if (typeof cashToWithdraw === 'number') {\n\t\t\tif (cashToWithdraw < values.Amount) {\n\t\t\t\terrors.Amount = 'Available amount is less than requested';\n\t\t\t}\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\tcomponentDidMount() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tcurrentOffering,\n\t\t\torder,\n\t\t} = this.props;\n\t\tif (!currentOffering.submitting\n\t\t\t&& !(currentOffering.value && currentOffering.value.OfferingId === order.OfferingId)\n\t\t) {\n\t\t\tactions.refreshCurrentOffering(order.OfferingId);\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tcurrentTradeAccount,\n\t\t\thandleSubmit,\n\t\t\thasAttestationFinraAgree,\n\t\t\tamount,\n\t\t\ttheme,\n\t\t\tcurrentOffering,\n\t\t\tcurrentAccountData: {\n\t\t\t\tsubmitting,\n\t\t\t},\n\t\t\t...props\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
{currentTradeAccount.tradeCode}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t { this.props.actions.refreshAccountPortfolio(currentTradeAccount.tradeCode); }}\n\t\t\t\t\tvalidationMessageMode={ValidationMessageMode.AFTER_ADDITIONAL}\n\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\t\tI affirm that I have read and understand the prohibitions of Rules \n\t\t\t\t\t\t\t5130 \n\t\t\t\t\t\t\tand 5131,\n\t\t\t\t\t\t\tand I attest that I am not a “restricted person” pursuant to the Rules.\n\t\t\t\t\t\t

\n\t\t\t\t\t}\n\t\t\t\t\t// disabled={!this.state.isMarginDocShown}\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{props.submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Place Order'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nIpoCreateOrderForm.propTypes = {\n\ttheme: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\thasAttestationFinraAgree: PropTypes.bool,\n};\n\nIpoCreateOrderForm.defaultProps = {\n\thasAttestationFinraAgree: false,\n};\n\nexport default compose(\n\twithStyles(styles),\n\twithTheme,\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: IPO_CREATE_ORDER_FORM_ID,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess();\n\t\t\t}\n\t\t},\n\t\tvalidate: IpoCreateOrderForm.validate,\n\t}),\n)(IpoCreateOrderForm);\n","export { default as CustomEditableItem } from './CustomEditableItem';\nexport { default as ExpansionPanelHeaderEditable } from './ExpansionPanelHeaderEditable';\nexport { default as InputEditableItem } from './InputEditableItem';\n\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\n\n\n// eslint-disable-next-line no-unused-vars\nconst useStyles = makeStyles(theme => createStyles({\n\tmr60: {\n\t\tmarginRight: '60px',\n\t},\n}));\n\nconst ExpansionPanelHeaderEditable = (props) => {\n\tconst {\n\t\ttitle,\n\t\tchildren,\n\t} = props;\n\tconst classes = useStyles(props);\n\treturn (\n\t\t\n\t\t\t{title}\n\t\t\t\n\t\t\t\t{children}\n\t\t\t\n\t\t\n\t);\n};\n\nExpansionPanelHeaderEditable.propTypes = {\n\ttitle: PropTypes.string.isRequired,\n};\nexport default ExpansionPanelHeaderEditable;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Input } from '@components';\nimport CustomEditableItem from './CustomEditableItem';\n// eslint-disable-next-line no-unused-vars\n\nfunction valueOrDefault(val, defaultVal) {\n\tif (val) return val;\n\treturn defaultVal;\n}\nconst InputEditableItem = ({\n\ttitle,\n\tvalue,\n\tvalueIfEmpty,\n\tqaAttributes,\n\t...otherProps\n}) => {\n\tconst valueControl = ();\n\treturn (\n\t\t\n\t);\n};\n\nInputEditableItem.propTypes = {\n\ttitle: PropTypes.string.isRequired,\n\tvalue: PropTypes.string,\n\tvalueIfEmpty: PropTypes.string,\n\tqaAttributes: PropTypes.shape({\n\t\ttitle: PropTypes.object,\n\t\tvalue: PropTypes.object,\n\t}),\n};\nInputEditableItem.defaultProps = {\n\tvalue: undefined,\n\tvalueIfEmpty: '',\n\tqaAttributes: {},\n};\nexport default InputEditableItem;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport InputAdornment from '@material-ui/core/InputAdornment';\nimport Visibility from '@material-ui/icons/Visibility';\nimport VisibilityOff from '@material-ui/icons/VisibilityOff';\nimport IconButton from '@material-ui/core/IconButton';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { cabinetLog, scrollIntoView } from '@global';\nimport { auth } from '@redux';\nimport { connect } from 'react-redux';\nimport { Field } from 'redux-form';\nimport { Button, FormInput, R } from '@components';\n\nconst styles = {\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t},\n\tprogress: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n\tconfirmLink: {\n\t\tmarginTop: '16px',\n\t\tpaddingLeft: '24px',\n\t},\n\tlink: {\n\t\ttextTransform: 'uppercase',\n\t},\n\tbutton: {\n\t\tpaddingTop: '24px',\n\t},\n};\n\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsendConfirmationCode: (phone, reason) => dispatch(auth.actions.sendConfirmationCodeRequest(phone, reason || 'Confirmation')),\n\t},\n});\n\nclass RequireConfirmationCodeItem extends React.Component {\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\thasConfirmationCode: false,\n\t\t\tshowPassword: false,\n\t\t\tpassword: '',\n\t\t\tcurrentCount: 0,\n\t\t\tintervalId: null,\n\t\t};\n\t}\n\n\tcomponentWillUnmount() {\n\t\t// use intervalId from the state to clear the interval\n\t\tclearInterval(this.state.intervalId);\n\t}\n\n\n\tcomponentDidUpdate() {\n\t\tconst {\n\t\t\thasConfirmationCode,\n\t\t\tcurrentCount,\n\t\t} = this.state;\n\n\t\tif (hasConfirmationCode && currentCount == 120) {\n\t\t\tscrollIntoView('js-confirm-code-place');\n\t\t}\n\t}\n\n\tonRequestVerificationCode = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\treason,\n\t\t\tonSendCode,\n\t\t} = this.props;\n\n\t\tif (onSendCode && (typeof onSendCode === 'function')) {\n\t\t\tonSendCode(null, reason);\n\t\t} else {\n\t\t\tactions.sendConfirmationCode(null, reason);\n\t\t}\n\t\t\n\t\tconst intervalId = setInterval(this.timer, 1000);\n\t\tthis.setState({\n\t\t\thasConfirmationCode: true,\n\t\t\tcurrentCount: 120,\n\t\t\tintervalId,\n\t\t});\n\t}\n\n\thandleClickShowSmsCode = () => this.setState({ showPassword: !this.state.showPassword });\n\n\ttimer = () => {\n\t\tif (this.state.currentCount === 0) {\n\t\t\tclearInterval(this.state.intervalId);\n\t\t} else {\n\t\t\tthis.setState({ currentCount: this.state.currentCount - 1 });\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tcustomClasses,\n\t\t\tdisableConfirmation,\n\t\t\tname,\n\t\t\tchildren,\n\t\t\tbuttonTitle,\n\t\t\tdisabled,\n\t\t\tonSendCode, // for not includes in rest!!!\n\t\t\t...rest,\n\t\t} = this.props;\n\n\t\tconst {\n\t\t\thasConfirmationCode,\n\t\t\tcurrentCount,\n\t\t} = this.state;\n\n\t\tif(disableConfirmation) {\n\t\t\treturn (\n\t\t\t\t
\n\t\t\t\t\t{children}\n\t\t\t\t
)\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{hasConfirmationCode && currentCount > 0 &&\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\tlabel={< R id =\"shared_verification_code\" defaultValue=\"Verification Code\" />}\n\t\t\t\t\t\t\ttype={this.state.showPassword ? 'text' : 'password'}\n\t\t\t\t\t\t\tvalue={this.state.password}\n\t\t\t\t\t\t\t{...rest}\n\t\t\t\t\t\t\tendAdornment={\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{this.state.showPassword ? : }\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t\t{hasConfirmationCode &&\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{currentCount > 0 &&\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{hasConfirmationCode && currentCount > 0 &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{children}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{(currentCount === 0 || !hasConfirmationCode) &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{ buttonTitle } \n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nRequireConfirmationCodeItem.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\t/**\n\t * При указании true не будет запрашиваться подтверждение, т.е. просто будет выведен контент компонента\n\t */\n\tdisableConfirmation: PropTypes.object,\n};\n\nRequireConfirmationCodeItem.defaultProps = {\n\tdisableConfirmation: false,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(null, mapDispatchToProps),\n)(RequireConfirmationCodeItem);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport PropTypes from 'prop-types';\r\nimport { compose } from 'recompose';\r\nimport { connect } from 'react-redux';\r\nimport { signature } from '@redux';\r\nimport { Button } from '@components';\r\n\r\nconst styles = theme => ({\r\n\tcenter: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\thasSignes: signature.selectors.HasSignes(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tcollectSignaturesProcessStart: () =>\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart()),\r\n\t},\r\n});\r\n\r\nclass SignatureChecker extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\thasSignes,\r\n\t\t\tchildren,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (!hasSignes ?\r\n\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\tYou’re unable to submit anything without signature.\r\n\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tAdd Signature\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t:\r\n\t\t\t
\r\n\t\t\t\t{!children ? '' : children}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSignatureChecker.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\thasSignes: PropTypes.bool.isRequired,\r\n\t/**\r\n\t * main content: display if hasSignes is true.\r\n\t */\r\n\tchildren: PropTypes.any.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(SignatureChecker);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { userAccounts } from '@redux';\nimport { env } from '@config';\nimport { A, FileDownload } from '@components';\nimport { connect } from 'react-redux';\n\nconst styles = theme => ({\n\troot: {},\n\ttitle: {\n\t\t...theme.typography.style.title,\n\t\tmarginBottom: 0,\n\t},\n\ttable: {\n\t\t'& td': {\n\t\t\tpaddingBottom: '8px',\n\t\t\t'&:first-child': {\n\t\t\t\tcolor: theme.typography.color.secondary,\n\t\t\t\tverticalAlign: 'top',\n\t\t\t\t// whiteSpace: 'nowrap',\n\t\t\t\tpaddingRight: '10px',\n\t\t\t},\n\t\t},\n\t},\n\twarning: {\n\t\tbackgroundColor: '#f9d113',\n\t\tpadding: '12px 16px',\n\t\tborderRadius: '4px',\n\t},\n\talert: {\n\t\tbackgroundColor: theme.typography.color.pink,\n\t\tcolor: theme.palette.color.secondary.downDark,\n\t\tpadding: '12px 16px',\n\t\tborderRadius: '4px',\n\t},\n\tstep: {\n\t\tpadding: '12px 0',\n\t},\n\tbutton: {},\n});\n\nfunction addBreaks(data) {\n\tif (!data) return '';\n\tif (Array.isArray(data)) {\n\t\tconst newdata = [];\n\t\tdata.forEach((value, index) => {\n\t\t\tif (index > 0) newdata.push(
);\n\t\t\tnewdata.push(value);\n\t\t});\n\t\treturn newdata;\n\t}\n\treturn data;\n}\n\nconst mapStateToProps = (state) => {\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t},\n\t\tcurrentTradeAccount,\n\t\tcurrentAccountStatus: userAccounts.selectors.currentAccountStatus(state),\n\t\taccountInfo: userAccounts.selectors.accountInfo(state),\n\t\tuserInfo: userAccounts.selectors.userInfo(state),\n\t};\n};\n\nclass WireDepositPage extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tcurrentTradeAccount,\n\t\t\tbankAccount,\n\t\t\taccountInfo,\n\t\t\tcurrentAccountStatus,\n\t\t} = this.props;\n\n\t\tconst hasBankUrl = (bankAccount && bankAccount.BankCabinetUrl);\n\t\tconst wireRequisites = (accountInfo && accountInfo.WireRequisites) || {};\n\t\tconst hiddenSpcFuturesRequisites = env.WEBCAB_4791_hideDepositRequisites && currentTradeAccount.clearerFirm === 'spcfutures';\n\t\treturn (\n\t\t\t
\n\t\t\t\t{currentAccountStatus.CanFund && !hiddenSpcFuturesRequisites &&\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\tTo fund your Lime Trading account through a Wire Transfer, there is one single step below:\n\t\t\t\t\t

\n\t\t\t\t\t

Step 1.

\n\t\t\t\t\t

Complete the request for a Wire Transfer

\n\t\t\t\t\t
    \n\t\t\t\t\t\t{hasBankUrl &&\n\t\t\t\t\t\t\t
  1. \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tLogin into your Online banking\n\t\t\t\t\t\t\t\t (in case if your bank supports\tan online-banking facility).\n\t\t\t\t\t\t\t
  2. \n\t\t\t\t\t\t}\n\t\t\t\t\t\t{!hasBankUrl &&\n\t\t\t\t\t\t\t
  3. \n\t\t\t\t\t\t\t\tLogin into your Online banking (in case if your bank supports\n\t\t\t\t\t\t\t\tan online-banking facility).\n\t\t\t\t\t\t\t
  4. \n\t\t\t\t\t\t}\n\t\t\t\t\t\t
  5. Look for the {'\\'Wire Transfer\\''} option.
  6. \n\t\t\t\t\t\t
  7. Complete the Wire Transfer request, using the data below:
  8. \n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\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\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
Bank Name:{addBreaks(wireRequisites.BankName)}
ABA Number:{wireRequisites.AbaNumber}
International SWIFT Code:{wireRequisites.SwiftCode}
For Credit To:{addBreaks(wireRequisites.ForCreditTo)}
Bank Account Number:{wireRequisites.BankAccountNumber}
Bank Account Name:{addBreaks(wireRequisites.BankAccountName)}
For Further Credit To:\n\t\t\t\t\t\t\t\t\t\t\tAccount: {currentTradeAccount.tradeCode.substring(0, 4)}-{currentTradeAccount.tradeCode.substring(4)}
\n\t\t\t\t\t\t\t\t\t\t\tName: {accountInfo && accountInfo.AccountName}\n\t\t\t\t\t\t\t\t\t\t
For Further Credit To:{accountInfo && accountInfo.AccountName}
Futures Account Number: \n\t\t\t\t\t\t\t\t\t\t\t\t{currentTradeAccount.tradeCode.substring(0, 4)}-{currentTradeAccount.tradeCode.substring(4)}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\tNote: Please indicate your exact Lime Trading account name and your\n\t\t\t\t\t\t8 digit account number with the wire transfer. Failure to do so could\n\t\t\t\t\t\tresult in delayed posting or return of your wire.\n\t\t\t\t\t

\n\t\t\t\t\t

\n\t\t\t\t\t\tAlternative step: If you do not have access to online banking,\n\t\t\t\t\t\tplease visit any branch of your bank and ask a representative\n\t\t\t\t\t\tto initiate the Wire Transfer by providing the information above.\n\t\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{hiddenSpcFuturesRequisites &&\n\t\t\t\t\t

\n\t\t\t\t\t\tFunding for Futures accounts will be available soon.\n\t\t\t\t\t

\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nWireDepositPage.defaultProps = {\n\tbankAccount: null,\n};\n\nWireDepositPage.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tcurrentAccountStatus: PropTypes.object.isRequired,\n\tbankAccount: PropTypes.object,\n\taccountInfo: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(WireDepositPage);\n","import React from 'react';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport {\r\n\tuserAccounts,\r\n\twithdrawFunds,\r\n} from '@redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n} from 'redux-form';\r\nimport {\r\n\tFormSelect,\r\n\tFormInput,\r\n\tDivider,\r\n\tButton,\r\n\tFormRadioGroup,\r\n\tRadio,\r\n\tFormCheckbox,\r\n\tLimeLogo,\r\n\tSvgIcon,\r\n\tWithdrawAmount,\r\n} from '@components';\r\nimport { constants } from '@config';\r\nimport { cabinetLog } from '@global';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport { connect } from 'react-redux';\r\n// import j2tlogo from './j2t.png';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tposition: 'relative',\r\n\t},\r\n\trow: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tinputItem: {\r\n\t\tmarginTop: '30px',\r\n\t\tpaddingLeft: '50px',\r\n\t},\r\n\titem: {\r\n\t\tmarginTop: '30px',\r\n\t\tpaddingLeft: '74px',\r\n\t},\r\n\tdivider: {\r\n\t\tmarginTop: '30px',\r\n\t},\r\n\tbankAccountContainer: {\r\n\t\tmarginTop: '-15px',\r\n\t},\r\n\taccountContainer: {\r\n\t},\r\n\tlogo: {\r\n\t\tpadding: '16px 16px 4px 16px',\r\n\t\tposition: 'relative',\r\n\t\twidth: '80px',\r\n\t\theight: '44px',\r\n\t},\r\n\tarrow: {\r\n\t\tpaddingLeft: '24px',\r\n\t\theight: '36px',\r\n\t},\r\n\tinputContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\taccount: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'left',\r\n\t},\r\n\taccountBalance: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\twarning: {\r\n\t\tpadding: '12px 16px',\r\n\t\ttextAlign: 'justify',\r\n\t\tfontSize: '12px',\r\n\t\tlineHeight: '20px',\r\n\t},\r\n\tbutton: {\r\n\t\t...theme.typography.style.stickyButton,\r\n\t},\r\n});\r\n\r\nfunction MapForm(ownProps) {\r\n\tconst template = (ownProps && ownProps.toBankAccount && ownProps.toBankAccount.Template)\r\n\t\t? ownProps.toBankAccount.Template\r\n\t\t: null;\r\n\r\n\tif (!template) return {};\r\n\r\n\treturn {\r\n\t\t...template,\r\n\t\tName: template.FirstName,\r\n\t\tSurname: template.LastName,\r\n\t\tBankName: template.ReceivingBankName,\r\n\t\tBankRoutingNumber: template.ReceivingBankRoutingNumber,\r\n\t\tBankSwiftCode: template.ReceivingBankSwiftCode,\r\n\t\tBankAccountName: template.ReceivingBankAccountName,\r\n\t\tBankAddress: template.ReceivingBankAddress,\r\n\t\tBankAccountNumber: template.ReceivingBankAccountNumber,\r\n\t\tUseIntermediaryBank: !!template.IntermediaryBankName, // toBoolean\r\n\t\tAdditional: template.AdditionalInformation,\r\n\t};\r\n}\r\n\r\nconst WIRE_WITHDRAWAL_FORM_ID = 'wireWithdrawalForm';\r\nconst formSelector = formValueSelector(WIRE_WITHDRAWAL_FORM_ID);\r\n\r\nconst mapStateToProps = (state, ownProps) => {\r\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\r\n\treturn {\r\n\t\tinitialValues: {\r\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\r\n\t\t\tAmount: ownProps.amount,\r\n\t\t\tWireType: 'Domestic',\r\n\t\t\t...MapForm(ownProps),\r\n\t\t},\r\n\t\tWireTypeValue: formSelector(state, 'WireType'),\r\n\t\tUseIntermediaryBankValue: formSelector(state, 'UseIntermediaryBank'),\r\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\t\tcurrentTradeAccount,\r\n\t};\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\trefreshAccountPortfolio: tradeCode =>\r\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\r\n\t},\r\n});\r\n\r\n\r\nclass WireWithdrawalForm extends React.Component {\r\n\tstatic getCashToWithdraw(props) {\r\n\t\tconst { currentAccountData: { baseParams, submitting } } = props;\r\n\t\treturn !submitting && baseParams && baseParams.CashToWithdrawValue;\r\n\t}\r\n\r\n\tstatic validate(values, props) {\r\n\t\tconst errors = {};\r\n\t\tconst cashToWithdraw = WireWithdrawalForm.getCashToWithdraw(props);\r\n\t\tconst isVision = props.currentTradeAccount.clearerFirm === 'vision';\r\n\t\tconst isCor = props.currentTradeAccount.clearerFirm === 'cor';\r\n\r\n\r\n\t\tif (!values.Name) {\r\n\t\t\terrors.Name = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.Amount || values.Amount <= 0) {\r\n\t\t\terrors.Amount = 'required';\r\n\t\t} else if (typeof cashToWithdraw === 'number') {\r\n\t\t\tif (cashToWithdraw < values.Amount) {\r\n\t\t\t\terrors.Amount = 'Available amount for withdrawal is less than requested';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!values.Surname) {\r\n\t\t\terrors.Surname = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.Address) {\r\n\t\t\terrors.Address = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.ZipCode) {\r\n\t\t\terrors.ZipCode = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.Phone) {\r\n\t\t\terrors.Phone = 'required';\r\n\t\t} else if (!(/^[\\d+\\-() ]+$/i.test(values.Phone))) {\r\n\t\t\terrors.Phone = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.BankName) {\r\n\t\t\terrors.BankName = 'required';\r\n\t\t}\r\n\r\n\t\tif (values.WireType === 'International') {\r\n\t\t\tif (!values.BankSwiftCode) {\r\n\t\t\t\terrors.BankSwiftCode = 'required';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (values.WireType === 'Domestic') {\r\n\t\t\tif (!values.BankRoutingNumber) {\r\n\t\t\t\terrors.BankRoutingNumber = 'required';\r\n\t\t\t} else if (!(/^(\\d{9})$/.test(values.BankRoutingNumber))) {\r\n\t\t\t\terrors.BankRoutingNumber = 'Invalid Number';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!values.BankAccountName) {\r\n\t\t\terrors.BankAccountName = 'required';\r\n\t\t}\r\n\r\n\t\tif ((isVision || isCor) && !values.Comment) {\r\n\t\t\terrors.Comment = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.BankAccountNumber) {\r\n\t\t\terrors.BankAccountNumber = 'required';\r\n\t\t} else if (!(/^[0-9a-zA-Z]+$/.test(values.BankAccountNumber))) {\r\n\t\t\terrors.BankAccountNumber = 'Invalid Number';\r\n\t\t}\r\n\r\n\t\tif (values.UseIntermediaryBank) {\r\n\t\t\tif (!values.IntermediaryBankAccountNumber) {\r\n\t\t\t\terrors.IntermediaryBankAccountNumber = 'required';\r\n\t\t\t} else if (!(/^[0-9a-zA-Z]+$/.test(values.IntermediaryBankAccountNumber))) {\r\n\t\t\t\terrors.IntermediaryBankAccountNumber = 'Invalid Number';\r\n\t\t\t}\r\n\r\n\t\t\tif (values.WireType === 'International') {\r\n\t\t\t\tif (!values.IntermediaryBankSwiftCode) {\r\n\t\t\t\t\terrors.IntermediaryBankSwiftCode = 'required';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (values.WireType === 'Domestic') {\r\n\t\t\t\tif (!values.IntermediaryBankRoutingNumber) {\r\n\t\t\t\t\terrors.IntermediaryBankRoutingNumber = 'required';\r\n\t\t\t\t} else if (!(/^(\\d{9})$/.test(values.IntermediaryBankRoutingNumber))) {\r\n\t\t\t\t\terrors.IntermediaryBankRoutingNumber = 'Invalid Number';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tfromUserAccount,\r\n\t\t\thandleSubmit,\r\n\t\t\tselectedBankAccount,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tamount,\r\n\t\t\tWireTypeValue,\r\n\t\t\tUseIntermediaryBankValue,\r\n\t\t\ttheme,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tsubmitting,\r\n\t\t\t},\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\tcabinetLog('Wire Withdrawal', currentTradeAccount, props.toBankAccount);\r\n\r\n\t\tconst wireType = props.toBankAccount && props.toBankAccount.Template && props.toBankAccount.Template.WireType;\r\n\t\tlet commissionText = '';\r\n\t\tif (currentTradeAccount.clearerFirm === 'vision') {\r\n\t\t\tcommissionText = wireType === '1' ? 'Wire fee: $60' : 'Wire fee: $35';\r\n\t\t} else if (currentTradeAccount.clearerFirm === 'cor') {\r\n\t\t\tcommissionText = wireType === '1' ? 'Wire fee: $80' : 'Wire fee: $35';\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
{currentTradeAccount.tradeCode}
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t { this.props.actions.refreshAccountPortfolio(currentTradeAccount.tradeCode); }}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t{constants.warningForNonTransferableSecuritiesHolders}\r\n\t\t\t\t

\r\n\t\t\t\t{currentTradeAccount.clearerFirm === 'cor' &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t{WireTypeValue === 'Domestic' &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{WireTypeValue === 'International' &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t{UseIntermediaryBankValue &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{WireTypeValue === 'Domestic' &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{WireTypeValue === 'International' &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{props.submitting ?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t: 'Withdraw'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nWireWithdrawalForm.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tcurrentAccountData: PropTypes.object.isRequired,\r\n\ttoBankAccount: PropTypes.object,\r\n\tselectedBankAccount: PropTypes.object,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\twithTheme,\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: WIRE_WITHDRAWAL_FORM_ID,\r\n\t\tonSubmitSuccess: (result, dispatch, props) => {\r\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\r\n\t\t\t\tprops.onSuccess('WIRE');\r\n\t\t\t}\r\n\t\t},\r\n\t\tvalidate: WireWithdrawalForm.validate,\r\n\t}),\r\n)(WireWithdrawalForm);\r\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { userAccounts } from '@redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n\tgetFormValues,\n} from 'redux-form';\nimport {\n\tFormSelect,\n\tDivider,\n\tButton,\n\tLimeLogo,\n\tWithdrawAmount,\n} from '@components';\nimport { cabinetLog, toUsaMoneyFormat, precisionRound } from '@global';\nimport { constants } from '@config';\nimport { CloseAccountFlow } from '@enums';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\nimport classNames from 'classnames';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tinputItem: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\titem: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '74px',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\tbankAccountContainer: {\n\t\tmarginTop: '-15px',\n\t},\n\taccountContainer: {\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tarrow: {\n\t\tpaddingLeft: '24px',\n\t\theight: '36px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\taccountBalance: {\n\t\twidth: '100%',\n\t\ttextAlign: 'right',\n\t},\n\twarning: {\n\t\tpadding: '12px 16px',\n\t\ttextAlign: 'justify',\n\t\tfontSize: '12px',\n\t\tlineHeight: '20px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\treviewBlock: {\n\t\tmarginTop: '30px',\n\t\tpadding: '0px 74px',\n\t},\n\treviewTitle: {\n\t\ttextAlign: 'center',\n\t\t...theme.typography.style.title,\n\t},\n\treviewTable: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t},\n\treviewLeft: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t},\n\treviewRight: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'flex-end',\n\t},\n\treviewNormal: {\n\t\tcolor: theme.typography.color.primary,\n\t\tfontWeight: 500,\n\t},\n\treviewSuccess: {\n\t\tcolor: theme.typography.color.darkGreen,\n\t\tfontWeight: 500,\n\t},\n\treviewError: {\n\t\tcolor: theme.typography.color.red,\n\t\tfontWeight: 500,\n\t},\n\treviewProgress: {\n\t\tpaddingLeft: '120px',\n\t},\n\tcircularProgress: {\n\t\tcolor: theme.typography.color.blue,\n\t},\n});\n\nfunction MapForm(ownProps) {\n\tconst template = (ownProps && ownProps.toBankAccount && ownProps.toBankAccount.Template)\n\t\t? ownProps.toBankAccount.Template\n\t\t: null;\n\n\tif (!template) return {};\n\n\treturn {\n\t\t...template,\n\t\tName: template.FirstName,\n\t\tSurname: template.LastName,\n\t\tBankName: template.ReceivingBankName,\n\t\tBankRoutingNumber: template.ReceivingBankRoutingNumber,\n\t\tBankSwiftCode: template.ReceivingBankSwiftCode,\n\t\tBankAccountName: template.ReceivingBankAccountName,\n\t\tBankAddress: template.ReceivingBankAddress,\n\t\tBankAccountNumber: template.ReceivingBankAccountNumber,\n\t\tUseIntermediaryBank: !!template.IntermediaryBankName, // toBoolean\n\t\tAdditional: template.AdditionalInformation,\n\t\tWireType: template.WireType === '1' ? 'International' : 'Domestic',\n\t};\n}\n\nconst WIRE_WITHDRAWAL_SHORT_FORM_ID = 'wireWithdrawalShortForm';\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst formSelector = formValueSelector(ownProps.form);\n\tconst formValues = getFormValues(ownProps.form)(state);\n\tconst prevStepValues = ownProps.toBankAccount.Template ? {} : {\n\t\twireLink: formValues.wireLink,\n\t};\n\treturn {\n\t\tlinkWireType: formSelector(state, 'wireLink.WireType'),\n\t\tinitialValues: {\n\t\t\t...prevStepValues,\n\t\t\tCloseAccountFlow: ownProps.closeAccountFlow,\n\t\t\twireWithdrawal: {\n\t\t\t\t...MapForm(ownProps),\n\t\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\n\t\t\t\tAmount: ownProps.amount,\n\t\t\t},\n\t\t},\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\t\tcurrentTradeAccount,\n\t\tcloseAccountFlow: ownProps.closeAccountFlow,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshAccountPortfolio: tradeCode =>\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\n\t},\n});\n\nconst DASH_SIGN = '-';\n\nclass WireWithdrawalShortForm extends React.Component {\n\tstatic getCashToWithdraw(props) {\n\t\tconst { currentAccountData: { baseParams, submitting } } = props;\n\t\treturn !submitting && baseParams && baseParams.CashToWithdrawValue;\n\t}\n\n\tstatic validate(formvalues, props) {\n\t\tconst values = formvalues.wireWithdrawal;\n\t\tconst errors = {};\n\t\tconst cashToWithdraw = WireWithdrawalShortForm.getCashToWithdraw(props);\n\t\tconst isVision = props.currentTradeAccount.clearerFirm === 'vision';\n\t\tconst isCor = props.currentTradeAccount.clearerFirm === 'cor';\n\n\t\tif (!values) {\n\t\t\treturn errors;\n\t\t}\n\n\t\tif ((props.closeAccountFlow !== CloseAccountFlow.PROFILE) && (isVision || isCor)) {\n\t\t\tif (!values.Comment) {\n\t\t\t\terrors.Comment = 'required';\n\t\t\t} else if (values.Comment.length > constants.maxCharsNumber) {\n\t\t\t\terrors.Comment = constants.maxCharsNumberError;\n\t\t\t}\n\t\t}\n\n\t\tif (!values.Amount || values.Amount <= 0) {\n\t\t\terrors.Amount = 'required';\n\t\t} else if (typeof cashToWithdraw === 'number') {\n\t\t\tif (cashToWithdraw < values.Amount) {\n\t\t\t\terrors.Amount = 'Available amount for withdrawal is less than requested';\n\t\t\t}\n\t\t}\n\n\t\treturn { wireWithdrawal: errors };\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tamountToWithdraw: DASH_SIGN,\n\t\t\twithdrawalFee: DASH_SIGN,\n\t\t\tamountToReceive: DASH_SIGN,\n\t\t\terrorText: null,\n\t\t};\n\n\t\tthis.fee = this.calculateFee();\n\t}\n\n\tcomponentDidMount() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tcurrentTradeAccount,\n\t\t} = this.props;\n\n\t\tactions.refreshAccountPortfolio(currentTradeAccount.tradeCode);\n\t}\n\n\tcomponentDidUpdate(prevProps, prevState) {\n\t\tif ((!prevState.amountNumber && !this.state.amountNumber) ||\n\t\t\t(prevState.amountNumber === this.state.amountNumber &&\n\t\t\t\tWireWithdrawalShortForm.getCashToWithdraw(prevProps) === WireWithdrawalShortForm.getCashToWithdraw(this.props))) {\n\t\t\treturn;\n\t\t}\n\t\tthis.calculateReviewValues(this.state.amountNumber);\n\t}\n\n\tamountFieldName = 'wireWithdrawal.Amount';\n\n\tcalculateFee = () => {\n\t\tconst INTERNATIONAL_VISION_FEE = 60;\n\t\tconst INTERNATIONAL_COR_FEE = 80;\n\t\tconst DOMESTIC_FEE = 35;\n\n\t\tconst {\n\t\t\ttoBankAccount,\n\t\t\tlinkWireType,\n\t\t\tcurrentTradeAccount,\n\t\t} = this.props;\n\n\t\tlet wireType = toBankAccount && toBankAccount.Template && toBankAccount.Template.WireType;\n\t\tif (wireType === undefined && linkWireType !== undefined) {\n\t\t\twireType = linkWireType === 'International' ? '1' : '0';\n\t\t}\n\n\t\tif (currentTradeAccount.clearerFirm === 'vision') {\n\t\t\treturn wireType === '1' ? INTERNATIONAL_VISION_FEE : DOMESTIC_FEE;\n\t\t} else if (currentTradeAccount.clearerFirm === 'cor') {\n\t\t\treturn wireType === '1' ? INTERNATIONAL_COR_FEE : DOMESTIC_FEE;\n\t\t}\n\t\treturn DOMESTIC_FEE;\n\t}\n\n\tcalculateReviewValues = (amount) => {\n\t\tconst availableAmount = WireWithdrawalShortForm.getCashToWithdraw(this.props);\n\t\tconst amountNumber = +amount;\n\n\t\tlet amountToWithdraw;\n\t\tlet withdrawalFee;\n\t\tlet amountToReceive;\n\t\tlet errorText;\n\n\t\tif (amountNumber === 0) {\n\t\t\tamountToWithdraw = DASH_SIGN;\n\t\t\twithdrawalFee = DASH_SIGN;\n\t\t\tamountToReceive = DASH_SIGN;\n\t\t\terrorText = null;\n\t\t} else if (amountNumber > availableAmount) {\n\t\t\tamountToWithdraw = DASH_SIGN;\n\t\t\tamountToReceive = DASH_SIGN;\n\t\t\twithdrawalFee = DASH_SIGN;\n\t\t\terrorText = 'Insufficient funds. Please, adjust the amount to withdraw';\n\t\t} else if (amountNumber + this.fee <= availableAmount) {\n\t\t\tamountToWithdraw = amountNumber + this.fee;\n\t\t\twithdrawalFee = this.fee;\n\t\t\tamountToReceive = amountNumber;\n\t\t\terrorText = '';\n\t\t} else {\n\t\t\tamountToWithdraw = amountNumber;\n\t\t\twithdrawalFee = this.fee;\n\t\t\tamountToReceive = amountNumber - this.fee;\n\t\t\terrorText = '';\n\t\t}\n\n\t\tconst amountToReceiveAsNum = precisionRound(amountToReceive);\n\n\t\tamountToWithdraw = typeof amountToWithdraw === 'number' ? toUsaMoneyFormat(amountToWithdraw) : amountToWithdraw;\n\t\twithdrawalFee = typeof withdrawalFee === 'number' ? toUsaMoneyFormat(withdrawalFee) : withdrawalFee;\n\t\tamountToReceive = typeof amountToReceive === 'number' ? toUsaMoneyFormat(amountToReceive) : amountToReceive;\n\n\t\tthis.setState({\n\t\t\tamountNumber,\n\t\t\tamountToWithdraw,\n\t\t\twithdrawalFee,\n\t\t\tamountToReceive,\n\t\t\terrorText,\n\t\t\tamountToReceiveAsNum,\n\t\t});\n\t}\n\n\tamountChanged = (amount) => {\n\t\tthis.calculateReviewValues(amount);\n\t}\n\n\tamountAvailableRefresh = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tcurrentTradeAccount,\n\t\t} = this.props;\n\n\t\tactions.refreshAccountPortfolio(currentTradeAccount.tradeCode);\n\t}\n\n\tformSubmit = (values, dispatch, props) => {\n\t\tconst newValues = {\n\t\t\t...values,\n\t\t\twireWithdrawal: {\n\t\t\t\t...values.wireWithdrawal,\n\t\t\t},\n\t\t};\n\n\t\tnewValues.wireWithdrawal.Amount = this.state.amountToReceiveAsNum;\n\n\t\treturn this.props.onSubmit(newValues, dispatch, props);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\thandleSubmit,\n\t\t\tselectedBankAccount,\n\t\t\tsubmitSucceeded,\n\t\t\tamount,\n\t\t\tcurrentTradeAccount,\n\t\t\tcurrentAccountData: {\n\t\t\t\tsubmitting,\n\t\t\t},\n\t\t\tlinkWireType,\n\t\t\tcloseAccountFlow,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\tcabinetLog('Wire Withdrawal', currentTradeAccount, props.toBankAccount);\n\n\t\tconst cssClasses = classNames({\n\t\t\t[classes.reviewNormal]: this.state.errorText === null,\n\t\t\t[classes.reviewSuccess]: this.state.errorText === '',\n\t\t\t[classes.reviewError]: this.state.errorText,\n\t\t});\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
{currentTradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t{!submitting &&\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tReview\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
Amount to withdraw
\n\t\t\t\t\t\t\t\t
Withdrawal fee
\n\t\t\t\t\t\t\t\t
Amount to receive
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
{this.state.amountToWithdraw}
\n\t\t\t\t\t\t\t\t
{this.state.withdrawalFee}
\n\t\t\t\t\t\t\t\t
{this.state.amountToReceive}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{submitting &&\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t

\n\t\t\t\t\t{constants.warningForNonTransferableSecuritiesHolders}\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{props.submitting ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t: 'Withdraw'\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nWireWithdrawalShortForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\ttoBankAccount: PropTypes.object,\n\tselectedBankAccount: PropTypes.object,\n\tcloseAccountFlow: PropTypes.oneOf([CloseAccountFlow.PROFILE, CloseAccountFlow.CASH_MANAGMENT]).isRequired,\n\tchange: PropTypes.func.isRequired,\n\tonSubmit: PropTypes.func.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\twithTheme,\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: WIRE_WITHDRAWAL_SHORT_FORM_ID,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess('WIRE');\n\t\t\t}\n\t\t},\n\t\tvalidate: WireWithdrawalShortForm.validate,\n\t\tshouldError: () => true,\n\t}),\n)(WireWithdrawalShortForm);\n","import React, { Fragment } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { makeStyles, withTheme } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { acatDeposit } from '@redux';\nimport {\n\tButton,\n\tSvgIcon,\n} from '@components';\nimport { CloseAccountFlow } from '@enums';\n\n\nconst useStyles = makeStyles(theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\ticon: {\n\t\tmarginTop: '16px',\n\t},\n\tmessage: {\n\t\t...theme.typography.style.subheading,\n\t\tmarginTop: '16px',\n\t\tcolor: theme.typography.color.primary,\n\t\tfontWeight: 'bold',\n\t},\n\tquestion: {\n\t\t...theme.typography.style.title,\n\t\tmarginTop: '16px',\n\t\tcolor: theme.typography.color.primary,\n\t\ttextAlign: 'center',\n\t\tfontWeight: 'bold',\n\t},\n\tbutton: {\n\t\tpaddingTop: '20px',\n\t},\n}));\n\nconst CloseAccountSuggestionPopup = ({ from, onDontCloseAccount }) => {\n\tconst classes = useStyles();\n\tconst dispatch = useDispatch();\n\n\tconst handleCloseClick = () => {\n\t\tdispatch(acatDeposit.actions.showCloseAccountModal({ from, flow: CloseAccountFlow.CASH_MANAGMENT }));\n\t};\n\n\tconst handleDontCloseClick = () => {\n\t\tonDontCloseAccount();\n\t};\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tOrder Created\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tWe noticed you're withdrawing all your funds. Are you planning to close your brokerage account?\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\tNo, I'm not closing my account\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\tYes, I want to close my account\n\t\t\t\t\n\t\t\t
\n\n\t\t
\n\t);\n};\n\nCloseAccountSuggestionPopup.propTypes = {\n\tfrom: PropTypes.string.isRequired,\n\tonDontCloseAccount: PropTypes.func.isRequired,\n};\n\nexport default compose(withTheme)(CloseAccountSuggestionPopup);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { getFormValues, Field } from 'redux-form';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport {\n\tFormInput,\n\tFormRadioGroup,\n\tRadio,\n} from '@components';\n\nconst useStyles = makeStyles(theme => {\n\tconst headerQuestionColor = '#345464';\n\n\treturn createStyles({\n\t\teditValue: {},\n\t\teditable: {},\n\t\tpreFieldLabel: {\n\t\t\tmargin: '10px 24px 0px 0px',\n\t\t\tlineHeight: '21px',\n\t\t\tfontSize: '18px',\n\t\t\tcolor: headerQuestionColor,\n\t\t},\n\t\twithLeftMarginField: {\n\t\t\tmarginLeft: '-24px',\n\t\t\t'& input': {\n\t\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\t\tborderRadius: '8px'\n\t\t\t}\n\t\t},\n\t\tnoLeftMarginField: {\n\t\t\tmarginLeft: '0px',\n\t\t},\n\t\theader: {\n\t\t\tcolor: headerQuestionColor,\n\t\t\tlineHeight: '28px',\n\t\t\tfontSize: '18px',\n\t\t}\n\t})\n});\nconst extractPropsClasses = ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n}) => ({\n\teditValue, editable, preFieldLabel, withLeftMarginField, noLeftMarginField,\n});\n\nconst PersonalInformationQuestion = ({\n\tclasses: _classes,\n\tform,\n}) => {\n\tconst classes = useStyles({ classes: extractPropsClasses(_classes) });\n\tconst values = useSelector(state => getFormValues(form)(state)) || {};\n\n\treturn (\n\t\t\n\t\t\t

Affiliation

\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\tIndicate whether you or an immediate family member, or other person who supports you or who you support to a material extent, or an additional account holder, is an employee of a broker/dealer or other member of the Financial Industry Regulatory Authority (FINRA).\n\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{values.WorksForAnotherBroker === 'Yes' &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nPersonalInformationQuestion.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tform: PropTypes.string.isRequired,\n};\n\nexport default PersonalInformationQuestion;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { profile } from '@redux';\n\n\nconst mapStateToProps = state => ({\n\tprofile: profile.selectors.profile(state),\n});\n\n\nclass FreshChat extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = { chatInitialized: false };\n\t}\n\n\tcomponentDidMount() {\n\t\t// init application when start (no current account)\n\t\tthis.initChat();\n\t}\n\n\tcomponentDidUpdate() {\n\t\tthis.initChat();\n\t}\n\n\tinitChat = () => {\n\t\tconst { profile } = this.props;\n\t\tconst { chatInitialized } = this.state;\n\n\t\tif (!chatInitialized && !profile.submitting && !profile.error) {\n\t\t\tconst splittedName = (profile.PersonalInformation.Name || '').split(' ');\n\t\t\tconst firstName = splittedName[0];\n\t\t\tconst lastName = splittedName[1];\n\n\t\n\t\t\ttry {\n\t\t\t\twindow.fcWidget.init({\n\t\t\t\t\ttoken: '77139581-3add-49de-a043-79b11f714472',\n\t\t\t\t\thost: 'https://wchat.freshchat.com',\n\t\t\t\t\ttags: ['cabinet'],\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\tcontent: {\n\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\tchannel_response: {\n\t\t\t\t\t\t\t\t\toffline: 'We are currently away',\n\t\t\t\t\t\t\t\t\tonline: {\n\t\t\t\t\t\t\t\t\t\tminutes: {\n\t\t\t\t\t\t\t\t\t\t\tone: 'You will get a reply in a minute',\n\t\t\t\t\t\t\t\t\t\t\tmore: 'You will get a reply in 5 minutes',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\thours: {\n\t\t\t\t\t\t\t\t\t\t\tone: 'You will get a reply in 5 minutes',\n\t\t\t\t\t\t\t\t\t\t\tmore: 'We are currently away',\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t\tthis.setState({ chatInitialized: true });\n\t\t\t\twindow.fcWidget.setExternalId(profile.FreshChatId);\n\t\t\t\twindow.fcWidget.user.setFirstName(firstName);\n\t\t\t\twindow.fcWidget.user.setLastName(lastName);\n\t\t\t\twindow.fcWidget.user.setEmail(profile.PersonalInformation.Email);\n\t\t\t} catch (error) {\n\t\t\t\twindow.Raven.captureException(error);\n\t\t\t}\n\t\t}\n\t}\n\n\trender() {\n\t\treturn ();\n\t}\n}\n\nFreshChat.propTypes = {\n};\n\nexport default connect(mapStateToProps, null)(FreshChat);\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector } from 'react-redux';\nimport { profile } from '@redux';\n\nconst HubSpotChat = (props) => {\n\tconst userProfile = useSelector(profile.selectors.profile);\n\tconst email = (userProfile.PersonalInformation && userProfile.PersonalInformation.Email) || '';\n\tconst token = userProfile.HubSpotChatToken || '';\n\n\tuseEffect(() => {\n\t\tconst HubSpotConversationsReady = () => {\n\t\t\twindow.hsConversationsSettings = {\n\t\t\t\tloadImmediately: false,\n\t\t\t\tidentificationEmail: email,\n\t\t\t\tidentificationToken: token,\n\t\t\t};\n\t\t\tconst status = window.HubSpotConversations.widget.status();\n\t\t\tif (status.loaded) {\n\t\t\t\twindow.HubSpotConversations.widget.refresh();\n\t\t\t} else if (!userProfile.submitting) {\n\t\t\t\twindow.HubSpotConversations.widget.load();\n\t\t\t}\n\t\t};\n\t\tif (window.HubSpotConversations) {\n\t\t\tHubSpotConversationsReady();\n\t\t} else {\n\t\t\twindow.hsConversationsOnReady = [HubSpotConversationsReady];\n\t\t}\n\t}, [email, token, userProfile.submitting]);\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tconst HubSpotConversationsReady = () => {\n\t\t\t\twindow.HubSpotConversations.widget.remove();\n\t\t\t\twindow.HubSpotConversations.clear();\n\t\t\t};\n\t\t\tif (window.HubSpotConversations) {\n\t\t\t\tHubSpotConversationsReady();\n\t\t\t} else {\n\t\t\t\twindow.hsConversationsOnReady = [HubSpotConversationsReady];\n\t\t\t}\n\t\t};\n\t}, []);\n\treturn (\n\t\t\n\t);\n};\n\n\nexport default HubSpotChat;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport compose from 'recompose/compose';\nimport * as qs from 'query-string';\nimport { push } from 'connected-react-router';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { profile, userAccounts } from '@redux';\nimport { env } from '@config';\nimport {\n\tA,\n\tExpansionPanel,\n\tFileDownload,\n\tProgressContainer,\n\tSvgIcon,\n} from '@components';\nimport { isNumber, scrollTo, toUsaSizeFormat, toUsaDateFormat } from '@global';\nimport { AccountClearers, AccountStatuses } from '@enums';\nimport { DeliverySettings } from './components/DeliverySettings';\nimport TaxForms from './components/TaxForms';\n\nconst styles = theme => ({\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\tmarginBottom: '30px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\tsplitter: {\n\t\theight: '30px',\n\t},\n\tdocumentContainer: {\n\t\t'&:last-child div': {\n\t\t\tborderBottom: 'none',\n\t\t},\n\t},\n\tdocumentItem: {\n\t\t...theme.typography.style.body,\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\talignItems: 'center',\n\t\tpadding: '0 14px',\n\t\twidth: '100%',\n\t\tborderBottom: '1px solid #deeaef',\n\t\t'& div': {\n\t\t\tpadding: '10px',\n\t\t},\n\t\t'&>div:first-child': {\n\t\t\tminWidth: '105px',\n\t\t},\n\t},\n\tdocumentText: {\n\t\tcolor: 'inherit',\n\t\tflexGrow: 2,\n\t},\n\tdisclosures: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.typography.color.primary,\n\t\tmarginTop: '24px',\n\n\t},\n\texpansionPanelStaticContent: {\n\t\tmargin: '10px 24px 5px',\n\t\tcolor: theme.palette.text.secondary,\n\t},\n\tcontentItem: {\n\t\tmarginBottom: '30px',\n\t},\n\tendItem: {\n\t\theight: '30px',\n\t},\n\tdownloadProgress: {\n\t\tposition: 'relative',\n\t\ttop: '30px',\n\t\tmarginTop: '-16px',\n\t\tleft: '18px',\n\t},\n\tdownloadRootLoading: {\n\t\tmarginLeft: '-18px',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tprofile: profile.selectors.profile(state),\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\taccounts: userAccounts.selectors.accounts(state),\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsetCurrentPage: page => dispatch(push(page)),\n\t\tshowChangeDeliveryTypeModal: () => {\n\t\t\tdispatch(profile.actions.showChangeDeliveryTypeModal());\n\t\t},\n\t},\n});\n\nconst getDocDisplayName = (document) => {\n\tif (document.DocType !== 'Signed form (User)') {\n\t\treturn document.DocType;\n\t}\n\n\tswitch (document.DocTypeExt) {\n\t\tcase 'just2trade': return 'Lime Account Agreement';\n\t\tcase 'just2trade_margin': return 'Lime Account Agreement with Margin';\n\t\tcase 'nasdaq': return 'NASDAQ Data Agreement';\n\t\tcase 'nyse': return 'NYSE Data Agreement';\n\t\tcase 'otc': return 'OTC Market Data Agreement';\n\t\tcase 'opra': return 'OPRA Market Data Agreement';\n\t\tcase 'vision_tcp': return 'Trusted Contact Person Authorization';\n\t\tcase 'vision_margin': return 'Margin Supplement';\n\t\tcase 'vision_day_trading': return 'Day Trading Supplement';\n\t\tcase 'vision_options': return 'Options Agreement and Disclosures';\n\t\tcase 'vision': return 'Vision Individual or Joint Agreement';\n\t\tcase 'fw8ben': return 'W8BEN';\n\t\tcase 'fw8ben_joint': return 'W8BEN (Joint)';\n\t\tdefault:\n\t}\n\tconst words = document.DocTypeExt ? document.DocTypeExt.split('_') : [];\n\tconst newWords = words.filter(word => word && word.length > 0)\n\t\t.map(word => word.charAt(0).toUpperCase() + word.substring(1));\n\treturn newWords.join(' ');\n};\n\nclass DocumentsAndDisclosures extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\topenPanelId: 'profile-documents',\n\t\t};\n\t}\n\n\tcomponentDidUpdate() {\n\t\tif (this.props.location.hash) {\n\t\t\tscrollTo(this.props.location.hash.substr(1));\n\t\t} else if (this.props.location.search) {\n\t\t\tconst parsed = qs.parse(this.props.location.search);\n\t\t\tif (parsed && parsed.commission && parsed.commission.toLowerCase() === 'zero') {\n\t\t\t\tscrollTo('tax-forms');\n\t\t\t}\n\t\t}\n\t}\n\n\ttoggleOpen = (open, id) => {\n\t\tthis.setState({ openPanelId: open ? id : null });\n\t};\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tprofile: {\n\t\t\t\tsubmitting,\n\t\t\t\tDocuments: ProfileDocuments,\n\t\t\t\tTaxForms: DocTaxFoms,\n\t\t\t},\n\t\t\taccounts,\n\t\t} = this.props;\n\n\t\tconst Documents = ProfileDocuments.filter(doc => doc.Download);\n\t\tconst activeAccounts = accounts.filter(a =>\n\t\t\ta.Status === AccountStatuses.ACTIVE &&\n\t\t\ta.ClearerFirm === AccountClearers.VISION);\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tDocuments & Disclosures\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{DocTaxFoms && DocTaxFoms.length > 0 &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t{activeAccounts.length > 0 &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/* WEBCAB-3785 - hide Margin Type and Options,\n\t\t\t\t\t\t\t\tbecause access to them will be through the Main Upgrade Account button */}\n\t\t\t\t\t\t\t{/* \n\t\t\t\t\t\t\t */}\n\t\t\t\t\t\t\t{(!Documents || !Documents.length) &&\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tThere are no documents to show\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t{Documents && Documents.sort((a, b) => (a.Date < b.Date ? 1 : -1)).map((document, index) => {\n\t\t\t\t\t\t\t\tconst docDisplayName = getDocDisplayName(document);\n\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{toUsaDateFormat(document.Date)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{docDisplayName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t{isNumber(document.Size) &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{toUsaSizeFormat(document.Size * 1000)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tDisclosures\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nDocumentsAndDisclosures.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\tlocation: PropTypes.shape({\n\t\thash: PropTypes.string.isRequired,\n\t\tsearch: PropTypes.string.isRequired,\n\t}).isRequired,\n\taccounts: PropTypes.array.isRequired,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(DocumentsAndDisclosures);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport HelpIcon from '@material-ui/icons/Help';\nimport { DeliverySettingsItem } from './DeliverySettingsItem';\n\nconst useStyles = makeStyles(theme => ({\n\tsettingsHeader: {\n\t\tdisplay: 'grid',\n\t\tgridTemplateColumns: '150px auto 250px',\n\t\tpadding: '0 14px',\n\t\tborderBottom: '1px solid #deeaef',\n\t\tfontWeight: 800,\n\t\tcolor: theme.palette.color.primary.black,\n\t\t'& div': {\n\t\t\tpadding: '10px',\n\t\t},\n\t},\n\ttooltipContainer: {\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t},\n\ttooltipIcon: {\n\t\twidth: '18px',\n\t\theight: '18px',\n\t\tmarginLeft: '8px',\n\t},\n\tlightTooltip: {\n\t\tbackground: theme.palette.common.white,\n\t\tcolor: theme.palette.text.primary,\n\t\tboxShadow: theme.shadows[1],\n\t\tfontSize: 11,\n\t},\n}));\n\nconst DeliveryTypeTooltip = () => (\n\t
\n\t\t

\n\t\t\tIndicates the delivery method for the following documents:\n\t\t

\n\t\t

\n\t\t\tStatements: Statements provide account information including transactions,\n\t\t\tbalances, and securities positions. Monthly statements are available electronically\n\t\t\tor via mail. However if you select physical mail there will be a charge per item for\n\t\t\tinternational delivery.\n\t\t

\n\t\t

\n\t\t\tTrade Confirmations: Trade confirmations provide a record of successfully executed trades.\n\t\t\tThey are legal documents required by industry regulation. Trade confirmations are available\n\t\t\telectronically or via mail. However if you select physical mail there will be a $2 charge per item\n\t\t\tfor delivery regardless of location.\n\t\t

\n\t\t

\n\t\t\tTax documents: Tax documents can include IRS Consolidated Form 1099 for proceeds, dividends,\n\t\t\tand interest; Forms 1099R and 5498 for retirement accounts; and possibly form 1042S for foreign clients.\n\t\t

\n\t\t

\n\t\t\t\n\t\t\t\tProspectuses, proxy materials, annual reports, disclosure documents and other communications*\n\t\t\t\n\t\t

\n\t\t

\n\t\t\t\n\t\t\t\t*Reorganization notices will continue to be provided by mail even if you opt for online delivery of communications.\n\t\t\t\n\t\t

\n\t
\n);\n\nexport const DeliverySettings = ({ accounts }) => {\n\tconst classes = useStyles();\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
Account Number
\n\t\t\t\t
\n\t\t\t\t\tDelivery Type\n\t\t\t\t\t}\n\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
 
\n\t\t\t
\n\t\t\t{accounts.map(account => ())}\n\t\t
\n\t);\n};\n\nDeliverySettings.propTypes = {\n\taccounts: PropTypes.array.isRequired,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { profile } from '@redux';\nimport { ChangeLink } from '@components';\nimport { DeliveryTypes } from '@enums';\nimport { useDispatch } from 'react-redux';\nimport classNames from 'classnames';\n\nconst useStyles = makeStyles(theme => ({\n\tsettingsItem: {\n\t\tdisplay: 'grid',\n\t\tgridTemplateColumns: '150px auto 250px',\n\t\tpadding: '0 14px',\n\t\tborderBottom: '1px solid #deeaef',\n\t\tcolor: theme.palette.color.primary.black,\n\t\t'& div': {\n\t\t\tpadding: '10px',\n\t\t},\n\t\t'& div:last-child': {\n\t\t\ttextAlign: 'right',\n\t\t},\n\t},\n\thighlight: {\n\t\tcolor: theme.palette.color.secondary.down,\n\t},\n}));\n\nexport const DeliverySettingsItem = ({ account }) => {\n\tconst classes = useStyles();\n\tconst dispatch = useDispatch();\n\n\tconst showChangeDeliveryTypeModal = () => {\n\t\tdispatch(profile.actions.showChangeDeliveryTypeModal({ tradeCode: account.TradeCode }));\n\t};\n\n\tconst getDeliveryType = () => {\n\t\tswitch (account.DeliveryType) {\n\t\t\tcase DeliveryTypes.DELIVERY_TYPES_ACCOUNTS_PAPER:\n\t\t\t\treturn 'Paper';\n\t\t\tcase DeliveryTypes.DELIVERY_TYPES_ACCOUNTS_ELECTRONIC:\n\t\t\t\treturn 'Paperless';\n\t\t\tdefault:\n\t\t\t\treturn 'Undefined';\n\t\t}\n\t};\n\n\tconst highlightClass = classNames({\n\t\t[classes.highlight]: getDeliveryType() === 'Undefined',\n\t});\n\n\treturn (\n\t\t
\n\t\t\t
{account.TradeCode}
\n\t\t\t
{getDeliveryType()}
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n};\n\nDeliverySettingsItem.propTypes = {\n\taccount: PropTypes.object.isRequired,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { connect } from 'react-redux';\nimport {\n\tprofile,\n\tsignature,\n\tuserAccounts\n} from '@redux';\nimport compose from 'recompose/compose';\nimport { ChangeLink, ProgressContainer } from '@components';\nimport { toUsaDateFormat } from '@global';\n\nconst styles = theme => ({\n\ttaxFormHeader: {\n\t\tdisplay: 'flex',\n\t\tfontSize: '13.5px',\n\t\tcolor: theme.typography.color.secondary,\n\t\tflexWrap: 'wrap',\n\t\tpadding: '0 24px 8px',\n\t},\n\ttaxFormRow: {\n\t\tdisplay: 'flex',\n\t\tfontSize: '18px',\n\t\tcolor: theme.typography.color.disable,\n\t\tflexWrap: 'wrap',\n\t\tpadding: '0 24px 8px',\n\t},\n\ttaxFormColType: {\n\t\tflex: '0 1 150px',\n\t\tmargin: 'auto 0px',\n\t},\n\ttaxFormColDate: {\n\t\tflex: '0 1 150px',\n\t\tmargin: 'auto 0px',\n\t},\n\ttaxFormColLink: {\n\t\tflex: '1 0 150px',\n\t},\n\tdashboardLink: {\n\t\t...theme.typography.color.white,\n\t},\n\texpansionPanelStaticContent: {\n\t\tmargin: '10px 24px 5px',\n\t\tcolor: theme.palette.text.secondary,\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tprofile: profile.selectors.profile(state),\n\thasOpenAccount: userAccounts.selectors.hasOpenAccount(state)\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowChangeTaxFormModal: formType => dispatch(profile.actions.showChangeTaxFormModal(formType)),\n\t},\n});\n\nconst getFormType = docType => docType.replaceAll('-', '').toUpperCase();\n\nclass TaxForms extends React.Component {\n\tshowTaxFormUpdateModal = docType => () => {\n\t\tconst { actions } = this.props;\n\t\tactions.showChangeTaxFormModal(getFormType(docType));\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tprofile: {\n\t\t\t\tsubmitting,\n\t\t\t\tTaxForms: taxDocs,\n\t\t\t\tPendingOrders,\n\t\t\t},\n\t\t\thasOpenAccount,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{!taxDocs.length ? (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tNo documents to show\n\t\t\t\t\t\t
) :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
Document type
\n\t\t\t\t\t\t\t\t
Signature date
\n\t\t\t\t\t\t\t\t
Expiration date
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)\n\t\t\t\t\t}\n\t\t\t\t\t{taxDocs.map(doc => (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
{doc.DocType}
\n\t\t\t\t\t\t\t
{doc.SignatureDate && toUsaDateFormat(doc.SignatureDate)}
\n\t\t\t\t\t\t\t
{doc.ExpirationDate && (new Date(doc.ExpirationDate) < new Date() ? 'Expired' : toUsaDateFormat(doc.ExpirationDate))}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{ hasOpenAccount &&\n\t\t\t\t\t\t\t\t\t x === getFormType(doc.DocType))\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t))}\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nTaxForms.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n};\n\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(TaxForms);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport GridList from '@material-ui/core/GridList';\nimport GridListTile from '@material-ui/core/GridListTile';\nimport { AllSvgIcons, SvgIcon } from '@components';\n\nconst styles = theme => ({\n\troot: {\n\t\tpadding: '20px',\n\t},\n\timage: {\n\t\tmarginRight: '10px',\n\t},\n\tarrowIcon: {\n\t\tstroke: theme.typography.color.primary,\n\t\tmarginRight: '10px',\n\t},\n\tdoneIcon: {\n\t\theight: '18px',\n\t\tpaddingRight: '5px',\n\t\tstroke: theme.typography.color.white,\n\t},\n\tbankImage: {\n\t\twidth: '56px',\n\t\theight: '56px',\n\t},\n});\n\nclass Icons extends React.Component {\n\trender() {\n\t\tconst { classes } = this.props;\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{AllSvgIcons.map((iconName, index) => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{iconName === 'Done' &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t{iconName === 'Bank' &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t{iconName !== 'Done' && iconName !== 'Bank' &&\n\t\t\t\t\t\t\t\t= 0 ? classes.arrowIcon : classes.image} />\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t{iconName}\n\t\t\t\t\t\t\n\t\t\t\t\t))}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default withStyles(styles)(Icons);\n\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { withStyles } from '@material-ui/core/styles';\nimport Grid from '@material-ui/core/Grid';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { ProgressContainer, A } from '@components';\nimport { userAccounts } from '@redux';\nimport { IpoCalendar, IpoOrders } from './components';\nimport PoweredByClickIPO from './ClickIPO-Logo-Blue-Lettering---Powered-By.png';\n\nconst styles = theme => ({\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\tmarginBottom: '30px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n\tcontentItem: {\n\t\tmarginBottom: '30px',\n\t},\n\tclickIpoLogoContainer: {\n\t\t...theme.typography.style.body,\n\t\tdisplay: 'flex',\n\t\tflexWrap: 'wrap',\n\t\tjustifyContent: 'flex-end',\n\t\tmarginBottom: '30px',\n\t},\n\tclickIpoLogo: {\n\t\twidth: '120px',\n\t},\n\ttextContainer: {\n\t\tcolor: theme.typography.color.secondary,\n\t\tpaddingRight: '5px',\n\t\ttextAlign: 'center',\n\t\tfontSize: '12px',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tloading: userAccounts.selectors.loading(state),\n});\n\nclass IpoContent extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tloading,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tInitial Public Offering\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tRisk of Investing in Initial Public Offerings (\"IPOs\")\nThere are specific risks in investing in an Initial Public Offering (\"IPO\").\nAmong other things, the stock has not been subject to market valuation.\nThose risks are described at length in the prospectus, and we urge you to read the prospectus\ncarefully to understand those risks before investing. In addition to the prospectus,\n\t\t\t\t\t\t\t\t\t read more information \n\t\t\t\t\t\t\t\tregarding the significant risks associated with investing in IPOs.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\"Powered\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nIpoContent.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(IpoContent);\n","export { default as IpoCalendar } from './IpoCalendar/IpoCalendar';\nexport { default as IpoOrders } from './IpoOrders/IpoOrders';\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport SafeComponent from 'react-safe-component';\nimport compose from 'recompose/compose';\nimport {\n\tExpansionPanel,\n\tProgressContainer,\n\tShowMore,\n} from '@components';\nimport Grid from '@material-ui/core/Grid';\nimport { connect } from 'react-redux';\nimport { app, ipo, userAccounts } from '@redux';\nimport PropTypes from 'prop-types';\nimport { IpoCalendarItem, IpoCalendarItemMobile } from './components';\n\nconst styles = theme => ({\n\titem: {\n\t\tborderBottom: '1px solid #deeaef',\n\t\tpadding: '16px 0',\n\t},\n\twider: {\n\t\toverflowX: 'auto',\n\t},\n\tpanel: {\n\t\tminWidth: '700px',\n\t},\n\tmobyleGridItem: {\n\t\twidth: '100%',\n\t\tpadding: '5px 1px',\n\t},\n\t['@media (min-width: 460px)']: {\n\t\tmobyleGridItem: {\n\t\t\twidth: '50%',\n\t\t\t'&:nth-child(2n)': {\n\t\t\t\tpaddingRight: '1px',\n\t\t\t\tpaddingLeft: '5px',\n\t\t\t},\n\t\t\t'&:nth-child(2n+1)': {\n\t\t\t\tpaddingLeft: '1px',\n\t\t\t\tpaddingRight: '5px',\n\t\t\t},\n\t\t},\n\t},\n\theadContent: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t\twidth: '100%',\n\t\tpadding: '10px 0',\n\t\tdisplay: 'flex',\n\t\tflexWrap: 'wrap',\n\t\tjustifyContent: 'flex-start',\n\t\t'& > span': {\n\t\t\tmarginRight: '40px',\n\t\t\twhiteSpace: 'nowrap',\n\t\t},\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\tofferings: ipo.selectors.offerings(state),\n\tresolution: app.selectors.resolution(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tgetOfferings: payload => dispatch(ipo.actions.getOfferings.request(payload)),\n\t},\n});\n\nclass IpoCalendar extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tholdersCount: 10,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tcurrentTradeAccount,\n\t\t\tofferings,\n\t\t} = this.props;\n\n\t\tif (!offerings.succeed && currentTradeAccount.tradeCode) {\n\t\t\tactions.getOfferings({\n\t\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\t\tClearerFirm: currentTradeAccount.clearerFirm,\n\t\t\t\tpage: 1,\n\t\t\t});\n\t\t}\n\t}\n\n\tshowMore = () => {\n\t\tthis.setState({\n\t\t\tholdersCount: this.state.holdersCount + 10,\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tofferings: {\n\t\t\t\tsubmitting,\n\t\t\t\titems,\n\t\t\t},\n\t\t\tresolution,\n\t\t} = this.props;\n\n\t\tconst viewedItems = items && items.slice(0, this.state.holdersCount);\n\n\t\treturn (\n\t\t\tAll Offerings}\n\t\t\t\tid=\"ipo-calendar\"\n\t\t\t>\n\t\t\t\t
\n\n\t\t\t\t\t\n\n\t\t\t\t\t\t{resolution == app.CONFIG.RESOLUTIONS_ENUM.xs ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{viewedItems.map((item, index) => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{item &&\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t
)\n\t\t\t\t\t\t\t: (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{viewedItems.map((item, index) => (\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{item &&\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t this.state.holdersCount}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nIpoCalendar.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tresolution: PropTypes.number.isRequired,\n\tofferings: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\tSafeComponent,\n)(IpoCalendar);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport IconButton from '@material-ui/core/IconButton';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { connect } from 'react-redux';\nimport { SvgIcon } from '@components';\nimport {\n\tOfferingExtendedInfo,\n\tOfferingMainInfo,\n} from '.';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\talignItems: 'flex-start',\n\t},\n\theadContainer: {\n\t\twidth: '100%',\n\t\tmarginRight: '14px',\n\t},\n\theadContent: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t\twidth: '100%',\n\t},\n\tarrowIcon: {\n\t\tstroke: theme.typography.color.secondary,\n\t},\n\tcontent: {\n\t\tpaddingTop: '16px',\n\t},\n\trightPadding: {\n\t\tpaddingRight: '62px',\n\t},\n});\n\n\nclass IpoCalendarItem extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\topen: false,\n\t\t};\n\t}\n\n\ttoggleOpen = () => {\n\t\tthis.setState({\n\t\t\topen: !this.state.open,\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\titem,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tconst opened = this.state.open;\n\t\tconst Icon = opened ?\n\t\t\t\n\t\t\t: ;\n\n\t\tconst contentCssClass = classNames({\n\t\t\t[classes.content]: true,\n\t\t\t[classes.opened]: opened,\n\t\t\t[classes.closed]: !opened,\n\t\t});\n\n\t\tif (item.Description || item.ProsepectusUrl) {\n\t\t\treturn (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{opened &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{Icon}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\n\t\treturn
;\n\t}\n}\n\nIpoCalendarItem.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\titem: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(null, null),\n)(IpoCalendarItem);\n","import React from 'react';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { ipo } from '@redux';\nimport { OfferingMainInfoMobile } from '.';\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowIpoCreateOrderModal: payload => dispatch(ipo.actions.showIpoCreateOrderModal(payload)),\n\t\tshowIpoExtendedInfoMobileModal: payload => dispatch(ipo.actions.showIpoExtendedInfoMobileModal(payload)),\n\t},\n});\n\nclass IpoCalendarItemMobile extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\topen: false,\n\t\t};\n\t}\n\n\ttoggleOpen = () => {\n\t\tthis.setState({\n\t\t\topen: !this.state.open,\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\titem,\n\t\t\tactions,\n\t\t} = this.props;\n\n\n\t\treturn (\n\t\t\t\n\t\t\t\t actions.showIpoCreateOrderModal({\n\t\t\t\t\t\tOfferingId: item.OfferingId,\n\t\t\t\t\t})}\n\t\t\t\t\tshowExtendedInfo={() => actions.showIpoExtendedInfoMobileModal({ Offering: item })}\n\t\t\t\t/>\n\t\t\t\n\t\t);\n\t}\n}\n\nIpoCalendarItemMobile.propTypes = {\n\titem: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n};\n\nexport default compose(connect(null, mapDispatchToProps))(IpoCalendarItemMobile);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport SafeComponent from 'react-safe-component';\nimport { A } from '@components';\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'flex-end',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tjustifyContent: 'space-between',\n\t\t},\n\t\tmarginRight: '62px',\n\t},\n\tleftColumn: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t},\n\trightColumn: {\n\t\t[theme.breakpoints.up('sm')]: {\n\t\t\twidth: '25%',\n\t\t},\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\ttextAlign: 'right',\n\t},\n});\n\nclass OfferingExtendedInfo extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\titem,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tlet prospUrl = item.ProsepectusUrl;\n\t\tif (prospUrl && prospUrl.indexOf('http') < 0) {\n\t\t\tprospUrl = `https://${prospUrl}`;\n\t\t}\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{item.Description}\n\t\t\t\t
\n\t\t\t\t{prospUrl &&\n\t\t\t\t\t
\n\t\t\t\t\t\tProspectus\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nOfferingExtendedInfo.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\titem: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tSafeComponent,\n)(OfferingExtendedInfo);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport IconButton from '@material-ui/core/IconButton';\nimport moment from 'moment';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router';\nimport PropTypes from 'prop-types';\nimport { SvgIcon } from '@components';\nimport { toUsaMoneyFormat } from '@global';\nimport { ipo } from '@redux';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t},\n\tleftColumn: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'row',\n\t\tjustifyContent: 'flex-start',\n\t\talignItems: 'center',\n\t\twidth: '105px',\n\t},\n\tsecondColumn: {\n\t\tmarginLeft: '16px',\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t\twidth: '100px',\n\t},\n\tmiddleColumn: {\n\t\tmarginLeft: '16px',\n\t\t// flexGrow: '2',\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t\tmaxWidth: '200px',\n\t},\n\trightColumn: {\n\t\tflexGrow: '2',\n\t\tdisplay: 'flex',\n\t\talignContent: 'center',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'flex-start',\n\t\ttextAlign: 'right',\n\t},\n\trightPadding: {\n\t\twidth: '100%',\n\t\tmarginRight: '62px',\n\t},\n\tprevRight: {\n\t\twidth: '100%',\n\t\tmarginRight: '14px',\n\t},\n\ttitle: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tcompanyName: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\ttextOverflow: 'ellipsis',\n\t\toverflow: 'hidden',\n\t\twhiteSpace: 'nowrap',\n\t},\n\tdate: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n\tamount: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tfontSize: '18px',\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t\ttextAlign: 'right',\n\t},\n\tlogo: {\n\t\tmaxWidth: '85px',\n\t\tmaxHeight: '48px',\n\t},\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowIpoCreateOrderModal: payload => dispatch(ipo.actions.showIpoCreateOrderModal(payload)),\n\t},\n});\n\n\nclass OfferingMainInfo extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tclasses,\n\t\t\titem,\n\t\t} = this.props;\n\t\tconst sPrice = [toUsaMoneyFormat(item.MinPrice || 0), toUsaMoneyFormat(item.MaxPrice)].filter(x => !!x).join(' - ');\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{item.LogoSmall &&\n\t\t\t\t\t\t{`${item.Symbol}\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{item.Symbol}\n\t\t\t\t\t
\n\t\t\t\t\t{item.TradeDate &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{moment.utc(item.TradeDate).format('D MMM YYYY')}\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{item.Name}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{item.OfferingTypeName}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{sPrice}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t{item.AllowOrderEffective &&\n\t\t\t\t\t\t actions.showIpoCreateOrderModal({ OfferingId: item.OfferingId }) :\n\t\t\t\t\t\t\t\tx => x\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdisabled={item.HaveOrders}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nOfferingMainInfo.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\titem: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithRouter,\n\twithStyles(styles),\n\tconnect(null, mapDispatchToProps),\n)(OfferingMainInfo);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router';\nimport PropTypes from 'prop-types';\nimport { toUsaMoneyFormat } from '@global';\nimport CardContent from '@material-ui/core/CardContent';\nimport CardMedia from '@material-ui/core/CardMedia';\nimport Button from '@material-ui/core/Button';\nimport moment from 'moment';\nimport CardActions from '@material-ui/core/CardActions';\nimport Card from '@material-ui/core/Card';\n\nconst styles = theme => ({\n\tlogo: {\n\t\tmaxWidth: '100%',\n\t\tmaxHeight: '150px',\n\t\tminHeight: '150px',\n\t\tminWidth: '100%',\n\t\twidth: 'auto',\n\t\theight: 'auto',\n\t\tmargin: '5px auto',\n\t\tobjectFit: 'contain',\n\t},\n\theader: {\n\t\tfontSize: '1.25rem',\n\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\n\t\tfontWeight: '400',\n\t\tlineHeight: '1.334',\n\t\tletterSpacing: '0em',\n\t\twidth: '100%',\n\t\tminWidth: '135px',\n\t\twhiteSpace: 'nowrap',\n\t\toverflow: 'hidden',\n\t\ttextOverflow: 'ellipsis',\n\t},\n\tsymbol: {\n\t\tfontSize: '1.15rem',\n\t\tfontFamily: '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif',\n\t\tfontWeight: '600',\n\t\tlineHeight: '1.334',\n\t\tletterSpacing: '0em',\n\t\twidth: '100%',\n\t\tminWidth: '135px',\n\t\twhiteSpace: 'nowrap',\n\t},\n\tcardContent: {\n\t\tborderTop: '1px solid lightgrey',\n\t},\n\tcardActions: {\n\t\tjustifyContent: 'center',\n\t},\n\tcardButtons: {\n\t\tmargin: '0px',\n\t},\n\tcard: {\n\t\tmaxHeight: '380px',\n\t\tminHeight: '380px',\n\t},\n});\n\n\nclass OfferingMainInfoMobile extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\titem,\n\t\t\tcreateOrder,\n\t\t\tshowExtendedInfo,\n\t\t} = this.props;\n\t\tconst sPrice = [toUsaMoneyFormat(item.MinPrice || 0), toUsaMoneyFormat(item.MaxPrice)].filter(x => !!x).join(' - ');\n\n\t\tconst disabledBuyButton = item.HaveOrders;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
{item.Name}
\n\t\t\t\t\t\t
{item.Symbol}
\n\t\t\t\t\t\t
{item.OfferingTypeName}
\n\t\t\t\t\t\t
{item.TradeDate ? moment.utc(item.TradeDate).format('D MMM YYYY') : 'Expected'}
\n\t\t\t\t\t\t
{sPrice}
\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{item.AllowOrderEffective &&\n\t\t\t\t\t\t\t createOrder()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tPlace Order\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t { showExtendedInfo(); }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tRead More\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nOfferingMainInfoMobile.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\titem: PropTypes.object.isRequired,\n\tcreateOrder: PropTypes.func.isRequired,\n\tshowExtendedInfo: PropTypes.func.isRequired,\n};\n\nexport default compose(\n\twithRouter,\n\twithStyles(styles),\n\tconnect(null, null),\n)(OfferingMainInfoMobile);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport SafeComponent from 'react-safe-component';\nimport compose from 'recompose/compose';\nimport {\n\tExpansionPanel,\n\tProgressContainer,\n\tShowMore,\n} from '@components';\nimport { connect } from 'react-redux';\nimport { ipo, userAccounts } from '@redux';\nimport PropTypes from 'prop-types';\nimport { IpoOrderItem } from './components';\n\nconst styles = theme => ({\n\titemContainer: {\n\t\tpadding: '0 16px',\n\t\tmargin: '0px -16px',\n\t\t// '&:hover': {\n\t\t// \tbackgroundColor: '#e3edf5',\n\t\t// },\n\t},\n\titem: {\n\t\tborderBottom: '1px solid #deeaef',\n\t\tpadding: '16px 0',\n\t},\n\tpanel: {\n\t\t// minWidth: '300px',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\torders: ipo.selectors.orders(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tgetOrders: payload => dispatch(ipo.actions.getOrders.request(payload)),\n\t},\n});\n\n\nclass IpoOrders extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tholdersCount: 5,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tcurrentTradeAccount,\n\t\t\torders,\n\t\t} = this.props;\n\n\t\tif (!orders.succeed && currentTradeAccount.tradeCode) {\n\t\t\tactions.getOrders({\n\t\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\t\tClearerFirm: currentTradeAccount.clearerFirm,\n\t\t\t\tpage: 1,\n\t\t\t});\n\t\t}\n\t}\n\n\tshowMore = () => {\n\t\tthis.setState({\n\t\t\tholdersCount: this.state.holdersCount + 5,\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\torders: {\n\t\t\t\tsubmitting,\n\t\t\t\titems,\n\t\t\t},\n\t\t} = this.props;\n\n\t\tconst viewedItems = items && items.slice(0, this.state.holdersCount);\n\n\t\treturn (\n\t\t\tOrders}\n\t\t\t\tid=\"ipo-orders\"\n\t\t\t>\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{viewedItems.map((item, index) => (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{item &&\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t))}\n\t\t\t\t\t\t this.state.holdersCount}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nIpoOrders.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\torders: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\tSafeComponent,\n)(IpoOrders);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport IconButton from '@material-ui/core/IconButton';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { connect } from 'react-redux';\nimport { SvgIcon } from '@components';\nimport {\n\tOrderExtendedInfo,\n\tOrderMainInfo,\n} from '.';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\talignItems: 'flex-start',\n\t},\n\theadContainer: {\n\t\twidth: '100%',\n\t\tmarginRight: '14px',\n\t},\n\theadContent: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t\twidth: '100%',\n\t},\n\tarrowIcon: {\n\t\tstroke: theme.typography.color.secondary,\n\t},\n\tcontent: {\n\t\tpaddingTop: '16px',\n\t},\n});\n\n\nclass IpoOrderItem extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\topen: false,\n\t\t};\n\t}\n\n\ttoggleOpen = () => {\n\t\tthis.setState({\n\t\t\topen: !this.state.open,\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\titem,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tconst opened = this.state.open;\n\t\tconst Icon = opened ?\n\t\t\t\n\t\t\t: ;\n\n\t\tconst contentCssClass = classNames({\n\t\t\t[classes.content]: true,\n\t\t\t[classes.opened]: opened,\n\t\t\t[classes.closed]: !opened,\n\t\t});\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{opened &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{Icon}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nIpoOrderItem.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\titem: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(null, null),\n)(IpoOrderItem);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport moment from 'moment';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport SafeComponent from 'react-safe-component';\nimport { A } from '@components';\nimport { isNumber, toUsaMoneyFormat } from '@global';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'flex-end',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tjustifyContent: 'space-between',\n\t\t},\n\t\tmarginRight: '62px',\n\t},\n\tdescription: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\ttextAlign: 'justify',\n\t\tmarginTop: '30px',\n\t\tmarginRight: '62px',\n\t},\n\tleftColumn: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\tpaddingRight: '30px',\n\t},\n\trightColumn: {\n\t\t[theme.breakpoints.up('sm')]: {\n\t\t\twidth: '35%',\n\t\t},\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\ttextAlign: 'right',\n\t},\n\tcompanyName: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\ttextOverflow: 'ellipsis',\n\t\toverflow: 'hidden',\n\t\twhiteSpace: 'nowrap',\n\t},\n});\n\nclass OrderExtendedInfo extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\titem,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tlet prospUrl = item.Offering.ProsepectusUrl;\n\t\tif (prospUrl && prospUrl.indexOf('http') < 0) {\n\t\t\tprospUrl = `https://${prospUrl}`;\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tCompany Name\n\t\t\t\t\t\tPrice Range\n\t\t\t\t\t\tIPO Date\n\t\t\t\t\t\t{isNumber(item.Quantity) &&\n\t\t\t\t\t\t\tQuantity\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{isNumber(item.DistributedShares) &&\n\t\t\t\t\t\t\tDistributed Units\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{prospUrl &&\n\t\t\t\t\t\t\tProspectus\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{item.Offering.Name}\n\t\t\t\t\t\t{toUsaMoneyFormat(item.Offering.MinPrice)} - {toUsaMoneyFormat(item.Offering.MaxPrice)}\n\t\t\t\t\t\t{moment(item.Offering.TradeDate).format('D MMM YYYY')}\n\t\t\t\t\t\t{isNumber(item.Quantity) &&\n\t\t\t\t\t\t\t{item.Quantity}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{isNumber(item.DistributedShares) &&\n\t\t\t\t\t\t\t{item.DistributedShares}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{prospUrl &&\n\t\t\t\t\t\t\tProspectus\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t{item.Offering.Description &&\n\t\t\t\t\t
\n\t\t\t\t\t\t{item.Offering.Description}\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nOrderExtendedInfo.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\titem: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tSafeComponent,\n)(OrderExtendedInfo);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport IconButton from '@material-ui/core/IconButton';\nimport moment from 'moment';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router';\nimport PropTypes from 'prop-types';\nimport { SvgIcon } from '@components';\nimport { toUsaMoneyFormat } from '@global';\nimport { app, ipo } from '@redux';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t},\n\tleftColumn: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'row',\n\t\tjustifyContent: 'flex-start',\n\t\talignItems: 'center',\n\t\twidth: '105px',\n\t},\n\tsecondColumn: {\n\t\tmarginLeft: '16px',\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t\twidth: '100px',\n\t},\n\trightColumn: {\n\t\tflexGrow: '2',\n\t\tdisplay: 'flex',\n\t\talignContent: 'center',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'flex-start',\n\t\ttextAlign: 'right',\n\t},\n\trightPadding: {\n\t\twidth: '100%',\n\t\ttextAlign: 'center',\n\t\tmarginRight: '62px',\n\t},\n\tprevRight: {\n\t\twidth: '100%',\n\t\tmarginRight: '14px',\n\t},\n\ttitle: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tdate: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n\tamountData: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t\ttextAlign: 'right',\n\t},\n\tamount: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t\tfontSize: '18px',\n\t},\n\tstatus: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tlogo: {\n\t\tmaxWidth: '85px',\n\t\tmaxHeight: '48px',\n\t},\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tcancelIpoOrder: payload => dispatch(ipo.actions.cancelIpoOrder.request(payload)),\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\n\t},\n});\n\n\nclass OrderMainInfo extends React.Component {\n\tcancelOrder = () => {\n\t\tthis.props.actions.showConfirmModal({\n\t\t\ttext: 'Please click confirm you want to cancel the request',\n\t\t\taction: onEndRequest => this.props.actions.cancelIpoOrder({\n\t\t\t\tOrderId: this.props.item.OrderId,\n\t\t\t\tonEndRequest,\n\t\t\t}),\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\titem,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{item.Offering.LogoSmall &&\n\t\t\t\t\t\t\"company\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{item.Offering.Symbol}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{/* american time zone (no utc) */}\n\t\t\t\t\t\t{moment(item.Date).format('D MMM YYYY')}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t{item.AllowCancel ?\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(item.RequestedAmount)}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{item.StatusName &&\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.StatusName}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t:\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(item.RequestedAmount)}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{item.StatusName &&\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.StatusName}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nOrderMainInfo.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\titem: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithRouter,\n\twithStyles(styles),\n\tconnect(null, mapDispatchToProps),\n)(OrderMainInfo);\n","module.exports = __webpack_public_path__ + \"content/assets/ae63838a18109ffae8f66e913c764b2d.png\";","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ProgressContainer } from '@components';\r\nimport { env } from '@config';\r\nimport { userAccounts } from '@redux';\r\nimport {\r\n\tTransactionsHistory,\r\n\tIndividualCashAccount,\r\n\tCorporateActions,\r\n\tCurrentHoldings,\r\n} from './components';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tborder: '1px solid red',\r\n\t},\r\n\tcontent: {\r\n\t\tpadding: '0 72px',\r\n\t\t[theme.breakpoints.down('xs')]: {\r\n\t\t\tpadding: '0 27px',\r\n\t\t},\r\n\t},\r\n\tcontentItem: {\r\n\t\tmarginBottom: '30px',\r\n\t},\r\n\tendItem: {\r\n\t\theight: '30px',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tloading: userAccounts.selectors.loading(state),\r\n});\r\n\r\nclass MainContent extends React.Component {\r\n\trender() {\r\n\t\tconst { classes, loading } = this.props;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{env.WEBCAB_4449_allow_old_corp_actions &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nMainContent.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(MainContent);\r\n","export { default as CurrentHoldings } from './CurrentHoldings/CurrentHoldings';\r\nexport { default as TransactionsHistory } from './TransactionsHistory/TransactionsHistory';\r\nexport { default as IndividualCashAccount } from './IndividualCashAccount/IndividualCashAccount';\r\nexport { default as CorporateActions } from './CorporateActions/CorporateActions';\r\n// export { default as LeaderBoard } from './LeaderBoard/LeaderBoard';\r\n// export { default as GainersAndLosers } from './GainersAndLosers/GainersAndLosers';\r\n// export { default as AdditionalFeatures } from './AdditionalFeatures/AdditionalFeatures';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n\tExpansionPanel,\r\n\tProgressContainer,\r\n\tR,\r\n\tShowMore,\r\n} from '@components';\r\nimport { userAccounts } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport { CurrentHoldingsTable } from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\tsubhead: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\tmarginLeft: '15px',\r\n\t},\r\n\ttable: {\r\n\t\toverflowX: 'auto',\r\n\t},\r\n\tshowMoreContainer: {\r\n\t\tpadding: '20px',\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t\tcursor: 'pointer',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\taccountData: userAccounts.selectors.currentAccountData(state),\r\n});\r\n\r\nconst initialHoldersCount = 5;\r\n\r\nclass CurrentHoldings extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tholdersCount: initialHoldersCount,\r\n\t\t};\r\n\t\tthis.showMore = this.showMore.bind(this);\r\n\t\tthis.showLess = this.showLess.bind(this);\r\n\t}\r\n\r\n\tshowMore() {\r\n\t\tconst { length } = this.props.accountData.portfolio.Positions;\r\n\t\tthis.setState({\r\n\t\t\tholdersCount: this.state.holdersCount + length,\r\n\t\t});\r\n\t}\r\n\r\n\tshowLess() {\r\n\t\tif (this.state.holdersCount > initialHoldersCount) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tholdersCount: initialHoldersCount,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\taccountData: {\r\n\t\t\t\tportfolio,\r\n\t\t\t\tsubmitting,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{(portfolio && portfolio.Positions) ? portfolio.Positions.length : ''}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\tid=\"current-holdings\"\r\n\t\t\t>\r\n\t\t\t\t\r\n\t\t\t\t\t{portfolio && portfolio.Positions &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t this.state.holdersCount}\r\n\t\t\t\t\t\t\t\t\tonShowLessClick={this.showLess}\r\n\t\t\t\t\t\t\t\t\tshowLessButton={this.state.holdersCount > initialHoldersCount}\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\r\n\r\n\t\t);\r\n\t}\r\n}\r\n\r\nCurrentHoldings.propTypes = {\r\n\taccountData: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(CurrentHoldings);\r\n","export { default as CurrentHoldingsTable } from './CurrentHoldingsTable/CurrentHoldingsTable';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { constants, env } from '@config';\r\nimport {\r\n\tTicker,\r\n\tQuantity,\r\n\tCurrentPrice,\r\n\tMarketValue,\r\n\tYield,\r\n} from './components';\r\n\r\nconst styles = theme => ({\r\n\ttable: {\r\n\t\twidth: '100%',\r\n\t\tverticalAlign: 'top',\r\n\t\tborderCollapse: 'collapse',\r\n\t\t'& th': {\r\n\t\t\t...theme.typography.style.body,\r\n\t\t\tcolor: theme.typography.color.secondary,\r\n\t\t\tpadding: '10px',\r\n\t\t},\r\n\t\t'& td': {\r\n\t\t\tpadding: '10px',\r\n\t\t},\r\n\t\t'& tbody': {\r\n\t\t\tverticalAlign: 'top',\r\n\t\t},\r\n\t},\r\n\ttableRow: {\r\n\t\tborderBottom: '1px solid #deeaef',\r\n\t\t'& td': {\r\n\t\t},\r\n\t},\r\n});\r\n\r\n\r\nclass CurrentHoldingsTable extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tpositions,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t{positions.map((position, index) => (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t))}\r\n\t\t\t\t\r\n\t\t\t
TickerQ-tyCurrent priceValueP/L
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nCurrentHoldingsTable.propTypes = {\r\n\tpositions: PropTypes.array.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(CurrentHoldingsTable);\r\n","export { default as Ticker } from './Ticker/Ticker';\r\nexport { default as Quantity } from './Quantity/Quantity';\r\nexport { default as CurrentPrice } from './CurrentPrice/CurrentPrice';\r\nexport { default as MarketValue } from './MarketValue/MarketValue';\r\nexport { default as Yield } from './Yield/Yield';","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport classNames from 'classnames';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tmaxWidth: '200px',\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t},\r\n\tbaseColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tmiddleColumn: {\r\n\t\tmarginLeft: '16px',\r\n\t\tflexGrow: '2',\r\n\t\twidth: '145px'\r\n\t},\r\n\tsymbol: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t},\r\n\tcompanyName: {\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nclass Ticker extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tlogoIcon,\r\n\t\t\tcompanyName,\r\n\t\t\tsymbol,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{logoIcon &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t
{symbol}
\r\n\t\t\t\t\t
{companyName}
\r\n\t\t\t\t
\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nTicker.propTypes = {\r\n\tcompanyName: PropTypes.string.isRequired,\r\n\tsymbol: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(Ticker);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { toUsaFormat } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\r\n\t},\r\n\tquantity: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tmarketValuePercent: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nclass Quantity extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tquantity,\r\n\t\t\tmarketValuePercent,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
{toUsaFormat(quantity, 0)}
\r\n\t\t\t\t
{toUsaFormat(marketValuePercent)}%
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nQuantity.propTypes = {\r\n\tquantity: PropTypes.number.isRequired,\r\n\tmarketValuePercent: PropTypes.number.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(Quantity);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { toUsaFormat } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\ttextAlign: 'right',\r\n\t\tjustifyContent: 'flex-end',\r\n\t},\r\n\tcurrentPrice: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n});\r\n\r\nclass CurrentPrice extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tcurrentPrice,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{toUsaFormat(currentPrice)}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nCurrentPrice.propTypes = {\r\n\tcurrentPrice: PropTypes.number.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(CurrentPrice);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { toUsaFormat } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'flex-end',\r\n\t},\r\n\tcurrentPrice: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n});\r\n\r\nclass MarketValue extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tmarketValue,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
{toUsaFormat(marketValue)}
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nMarketValue.propTypes = {\r\n\tmarketValue: PropTypes.number.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(MarketValue);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { toUsaFormat } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\tgain: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t},\r\n\tgainPercent: {\r\n\t\t...theme.typography.style.body,\r\n\t},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tgreen: {\r\n\t\tcolor: theme.typography.color.green,\r\n\t},\r\n});\r\n\r\nclass Yield extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tgain,\r\n\t\t\tgainPercent,\r\n\t\t} = this.props;\r\n\t\tconst rootCssClass = classNames({\r\n\t\t\t[classes.root]: true,\r\n\t\t\t[classes.red]: gain < 0,\r\n\t\t\t[classes.green]: gain > 0,\r\n\t\t});\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
{toUsaFormat(gain)}
\r\n\t\t\t\t
{toUsaFormat(gainPercent)}%
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nYield.propTypes = {\r\n\tgain: PropTypes.number.isRequired,\r\n\tgainPercent: PropTypes.number.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(Yield);\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport SafeComponent from 'react-safe-component';\r\nimport compose from 'recompose/compose';\r\nimport moment from 'moment';\r\nimport {\r\n\tExpansionPanel,\r\n\tProgressContainer,\r\n\tShowMore,\r\n\tR,\r\n} from '@components';\r\nimport { constants, env } from '@config';\r\nimport { snackbar, userAccounts } from '@redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Item, TransactionsFilters } from './components';\r\n\r\n\r\nconst styles = (theme) => {\r\n\tconst filtersCss = {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.palette.color.primary.black,\r\n\t\twidth: '100%',\r\n\t\tdisplay: 'flex',\r\n\t\tflexWrap: 'wrap',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\t'& > span': {\r\n\t\t\tmarginRight: '40px',\r\n\t\t\twhiteSpace: 'nowrap',\r\n\t\t},\r\n\t};\r\n\r\n\treturn {\r\n\t\titemContainer: {\r\n\t\t\tpadding: '0 16px',\r\n\t\t\tmargin: '0px -16px',\r\n\t\t\t'&:hover': {\r\n\t\t\t\tbackgroundColor: '#e3edf5',\r\n\t\t\t},\r\n\t\t},\r\n\t\titem: {\r\n\t\t\tborderBottom: '1px solid #deeaef',\r\n\t\t\tpadding: '16px 0',\r\n\t\t},\r\n\t\ttranFilters: filtersCss,\r\n\t\ttranHeader: {\r\n\t\t\t...filtersCss,\r\n\t\t\tpadding: '10px 0',\r\n\t\t\t[theme.breakpoints.up('md')]: {\r\n\t\t\t\tflexWrap: 'nowrap',\r\n\t\t\t},\r\n\t\t},\r\n\t};\r\n};\r\n\r\nconst mapStateToProps = state => ({\r\n\tcashActivities: userAccounts.selectors.cashActivities(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tloadPage: payload => dispatch(userAccounts.actions.getTransactionsHistory.request(payload)),\r\n\t\tshowError: message => dispatch(snackbar.actions.showErrorMessage({ text: message })),\r\n\t},\r\n});\r\n\r\nclass TransactionsHistory extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.startDateInit = new Date(moment().year(), moment().month() - 2, moment().date());\r\n\t\tthis.endDateInit = new Date();\r\n\t\tthis.actionsTypeInit = 0;\r\n\t\tthis.tranSearchInit = '';\r\n\r\n\t\tthis.filter = {\r\n\t\t\tstartDate: this.startDateInit,\r\n\t\t\tendDate: this.endDateInit,\r\n\t\t\tactionsType: this.actionsTypeInit,\r\n\t\t\ttranSearch: this.tranSearchInit,\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentDidUpdate(prevProps) {\r\n\t\tif (prevProps.currentTradeAccount.tradeCode !== this.props.currentTradeAccount.tradeCode) {\r\n\t\t\tthis.filter = {\r\n\t\t\t\tstartDate: this.startDateInit,\r\n\t\t\t\tendDate: this.endDateInit,\r\n\t\t\t\tactionsType: this.actionsTypeInit,\r\n\t\t\t\ttranSearch: this.tranSearchInit,\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\tchangeFilter = (filter) => {\r\n\t\tthis.filter = filter;\r\n\t\tthis.props.actions.loadPage({\r\n\t\t\tTradeCode: this.props.currentTradeAccount.tradeCode,\r\n\t\t\tClearerFirm: this.props.currentTradeAccount.clearerFirm,\r\n\t\t\tStartDate: moment(this.filter.startDate).format('YYYYMMDD'),\r\n\t\t\tEndDate: moment(this.filter.endDate).format('YYYYMMDD'),\r\n\t\t\tPage: 1,\r\n\t\t\t// pageSize: 8,\r\n\t\t\tType: this.filter.actionsType,\r\n\t\t\tSearch: this.filter.tranSearch,\r\n\t\t});\r\n\t}\r\n\r\n\tloadMore = () => {\r\n\t\tconst {\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tcashActivities: {\r\n\t\t\t\tpagination: {\r\n\t\t\t\t\tPage,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\tthis.props.actions.loadPage({\r\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tClearerFirm: currentTradeAccount.clearerFirm,\r\n\t\t\tStartDate: moment(this.filter.startDate).format('YYYYMMDD'),\r\n\t\t\tEndDate: moment(this.filter.endDate).format('YYYYMMDD'),\r\n\t\t\tPage: Page + 1,\r\n\t\t\t// pageSize: 8,\r\n\t\t\tType: this.filter.actionsType,\r\n\t\t\tSearch: this.filter.tranSearch,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tcashActivities: {\r\n\t\t\t\tloading,\r\n\t\t\t\titems,\r\n\t\t\t\tpagination: {\r\n\t\t\t\t\tPage,\r\n\t\t\t\t\tPageSize,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\tid=\"transaction-history\"\r\n\t\t\t>\r\n\t\t\t\t\r\n\t\t\t\t\t{items.map((item, index) => (\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{/* filter technicals */}\r\n\t\t\t\t\t\t\t{item && !item.IsTechnical &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t))}\r\n\t\t\t\t\t 0}\r\n\t\t\t\t\t\tonClick={this.loadMore}\r\n\t\t\t\t\t\tshowMoreButton={(Page * PageSize) === items.length}\r\n\t\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nTransactionsHistory.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tcashActivities: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\tSafeComponent,\r\n)(TransactionsHistory);\r\n","export { default as Item } from './Item/Item';\r\nexport { default as TransactionsFilters } from './TransactionsFilters';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { connect } from 'react-redux';\r\nimport { app, userAccounts } from '@redux';\r\nimport { SvgIcon } from '@components';\r\nimport {\r\n\tFeeItem,\r\n\tFundItem,\r\n\tTradeItem,\r\n\tInstrumentItem\r\n} from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t\talignItems: 'flex-start',\r\n\t},\r\n\theadContainer: {\r\n\t\twidth: '100%',\r\n\t\tmarginRight: '14px',\r\n\t},\r\n\theadContent: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.palette.color.primary.black,\r\n\t\twidth: '100%',\r\n\t},\r\n\theadToggleIcon: {\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tarrowIcon: {\r\n\t\tstroke: theme.typography.color.secondary,\r\n\t},\r\n\tcontent: {\r\n\t\tpaddingTop: '16px',\r\n\t},\r\n\trightPadding: {\r\n\t\tpaddingRight: '62px',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\taccount: userAccounts.selectors.currentTradeAccount(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tcancelOrder: payload => dispatch(userAccounts.actions.cancelOrder.request(payload)),\r\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\r\n\t},\r\n});\r\n\r\nclass Item extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\topen: false,\r\n\t\t};\r\n\t}\r\n\r\n\ttoggleOpen = () => {\r\n\t\tthis.setState({\r\n\t\t\topen: !this.state.open,\r\n\t\t});\r\n\t}\r\n\r\n\tcancelOrder = () => {\r\n\t\tthis.props.actions.showConfirmModal({\r\n\t\t\ttext: 'Please click confirm you want to cancel the request',\r\n\t\t\taction: onEndRequest => this.props.actions.cancelOrder({\r\n\t\t\t\taccount: this.props.account,\r\n\t\t\t\torderCode: this.props.item.RequestCode,\r\n\t\t\t\tonEndRequest,\r\n\t\t\t}),\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tconst opened = this.state.open;\r\n\t\tconst Icon = opened ?\r\n\t\t\t\r\n\t\t\t: ;\r\n\r\n\t\tconst contentCssClass = classNames({\r\n\t\t\t[classes.content]: true,\r\n\t\t\t[classes.opened]: opened,\r\n\t\t\t[classes.closed]: !opened,\r\n\t\t});\r\n\r\n\t\tlet ItemComponent;\r\n\r\n\t\tswitch (item.Type) {\r\n\t\tcase 'fund':\r\n\t\t\tItemComponent = FundItem;\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'trade':\r\n\t\t\tItemComponent = TradeItem;\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'instrument':\r\n\t\t\tItemComponent = InstrumentItem;\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tItemComponent = FundItem;\r\n\t\t}\r\n\r\n\t\tif (item.Fees && item.Fees.length > 0) {\r\n\t\t\treturn (\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{opened &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{Icon}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tif (item.CanBeCanceled) {\r\n\t\t\treturn (\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\treturn
;\r\n\t}\r\n}\r\n\r\nItem.propTypes = {\r\n\taccount: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(Item);\r\n","export { default as FundItem } from './FundItem/FundItem';\r\nexport { default as TradeItem } from './TradeItem/TradeItem';\r\nexport { default as FeeItem } from './FeeItem/FeeItem';\r\nexport { default as InstrumentItem } from './InstrumentItem/InstrumentItem';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport SafeComponent from 'react-safe-component';\r\nimport { toUsaFormat } from '@global';\r\nimport { BankLogo } from '@components';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tleftEmptyColumn: {\r\n\t\twidth: '40px',\r\n\t},\r\n\tleftColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tlogoColumn: {\r\n\t\tdisplay: 'flex'\r\n\t},\r\n\tlogoIcon: {\r\n\t width: '40px',\r\n \theight: '40px',\r\n \talignSelf: 'center',\r\n\t},\r\n\tmiddleColumn: {\r\n\t\tmarginLeft: '5px',\r\n\t\tflexGrow: '2',\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\trightColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\ttitleSymbol: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tfontSize: '18px',\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tamount: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tfontSize: '18px',\r\n\t},\r\n\tstatus: {\r\n\t\t...theme.typography.style.body,\r\n\t},\r\n\tamountData: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\tyellow: {\r\n\t\tcolor: theme.typography.color.yellow,\r\n\t},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tgreen: {\r\n\t\tcolor: theme.typography.color.green,\r\n\t},\r\n\tblack: {\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tgrey: {\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nclass FundItem extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tconst colorCssClass = classNames({\r\n\t\t\t[classes.red]: item.Color === 'red',\r\n\t\t\t[classes.green]: item.Color === 'green',\r\n\t\t\t[classes.black]: item.Color === 'black',\r\n\t\t\t[classes.black]: item.Color === 'gray',\r\n\t\t});\r\n\r\n\t\tlet directionText;\r\n\r\n\t\tlet amount = '';\r\n\t\tif (item.Amount != null) {\r\n\t\t\tif (item.Amount !== 0) {\r\n\t\t\t\tamount = item.Amount > 0 ? '+' : '-';\r\n\t\t\t}\r\n\t\t\tamount += toUsaFormat(Math.abs(item.Amount));\r\n\t\t}\r\n\r\n\t\tlet fundTitle = null;\r\n\r\n\t\tif (item.IsUserTransaction) {\r\n\t\t\tswitch (item.Direction) {\r\n\t\t\tcase 'deposit':\r\n\t\t\t\tfundTitle = 'Deposit';\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 'withdrawal':\r\n\t\t\t\tfundTitle = 'Withdraw';\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tdefault:\r\n\t\t\t\tfundTitle = 'Unknown';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (item.Description) {\r\n\t\t\tif (!fundTitle) {\r\n\t\t\t\tfundTitle = item.Description;\r\n\t\t\t} else {\r\n\t\t\t\tfundTitle += ` ${item.Description}`;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst logoFileName = item.Bank ? `${item.Bank}.png` : null;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{!item.IsUserTransaction &&\r\n\t\t\t\t\t\t(\r\n\t\t\t\t\t\t\titem.LogoIconUrl ?\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t:\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t) \r\n\t\t\t\t\t}\r\n\t\t\t\t\t{item.IsUserTransaction &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.Symbol &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{item.Symbol}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{fundTitle}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{/* american time zone (no utc) */}\r\n\t\t\t\t\t\t{moment(item.Date).format('D MMM YYYY')}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{amount}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{item.Status &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{item.Status}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nFundItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tSafeComponent,\r\n)(FundItem);","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { SvgIcon } from '@components';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\nimport { toUsaFormat, capitalizeFirstLetter } from '@global';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t},\r\n\tleftEmptyColumn: {\r\n\t\twidth: '40px',\r\n\t},\r\n\tleftColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tmiddleColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'row',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\tflexGrow: 2\r\n\t},\r\n\tlogoColumn: {\r\n\t\tdisplay: 'flex'\r\n\t},\r\n\tlogoIcon: {\r\n\t width: '40px',\r\n \theight: '40px',\r\n \talignSelf: 'center',\r\n\t},\r\n\tinfoColumn: {\r\n\t\tmarginLeft: '5px',\r\n\t},\r\n\trightColumn: {\r\n\t\twidth: '30%',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tfontSize: '18px',\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tprice: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\tverticalAlign: 'text-top',\r\n\t},\r\n\tstatus: {\r\n\t\t...theme.typography.style.body,\r\n\t},\r\n\tamountData: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\tcancel: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tmarginLeft: '22px',\r\n\t},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tgreen: {\r\n\t\tcolor: theme.typography.color.green,\r\n\t},\r\n\tblack: {\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tgrey: {\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nclass TradeItem extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tconst colorCssClass = classNames({\r\n\t\t\t[classes.red]: item.Amount < 0,\r\n\t\t\t[classes.green]: item.Amount > 0,\r\n\t\t\t[classes.grey]: item.Amount === 0,\r\n\t\t});\r\n\r\n\t\tlet amount = '';\r\n\t\tif (item.Amount != null) {\r\n\t\t\tif (item.Amount !== 0) {\r\n\t\t\t\tamount = item.Amount > 0 ? '+' : '-';\r\n\t\t\t}\r\n\t\t\tamount += toUsaFormat(Math.abs(item.Amount));\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\titem.LogoIconUrl ? \r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t:\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{item.Symbol}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{/* american time zone (no utc) */}\r\n\t\t\t\t\t\t\t{moment(item.Date).format('D MMM YYYY')}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{!!item.Price &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{capitalizeFirstLetter(item.Direction)} {item.Quantity} \r\n\t\t\t\t\t\t@ \r\n\t\t\t\t\t\t{toUsaFormat(item.Price)}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{amount}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{item.Status &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{item.Status}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{item.CanBeCanceled &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nTradeItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(TradeItem);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport SafeComponent from 'react-safe-component';\r\nimport { toUsaFormat, toUsaMoneyFormat } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'flex-end',\r\n\t\t[theme.breakpoints.down('sm')]: {\r\n\t\t\tjustifyContent: 'space-between',\r\n\t\t},\r\n\t},\r\n\tleftColumn: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t},\r\n\trightColumn: {\r\n\t\t[theme.breakpoints.up('sm')]: {\r\n\t\t\twidth: '25%',\r\n\t\t},\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n});\r\n\r\nclass FeeItem extends React.Component {\r\n\tgetPrecision = (num) => {\r\n\t\tconst s = `${num}`;\r\n\t\tconst d = s.indexOf('.') + 1;\r\n\t\treturn !d ? 0 : s.length - d;\r\n\t};\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tconst maxPrecision = Math.max(this.getPrecision(item.GrossAmount), item.Fees.reduce((prevMax, current) => Math.max(prevMax, this.getPrecision(current.Amount)), 2));\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tPrincipal Amount\r\n\t\t\t\t\t{item.Fees.map((fee, i) => {fee.Name})}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{item.GrossAmount && toUsaFormat(item.GrossAmount, maxPrecision)}\r\n\t\t\t\t\t\r\n\t\t\t\t\t{item.Fees.map((fee, i) => (\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{toUsaFormat(fee.Amount, maxPrecision)}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t))}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nFeeItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tSafeComponent,\r\n)(FeeItem);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport SafeComponent from 'react-safe-component';\nimport { toUsaFormat, capitalizeFirstLetter} from '@global';\nimport { BankLogo } from '@components';\nimport moment from 'moment';\nimport classNames from 'classnames';\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\talignItems: 'center'\n\t},\n\tleftEmptyColumn: {\n\t\twidth: '40px',\n\t},\n\tleftColumn: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t},\n\tinfoColumn: {\n\t\tmarginLeft: '5px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\twidth: '80px',\n\t\t},\n\t\t[theme.breakpoints.up('md')]: {\n\t\t\twidth: '200px',\n\t\t},\n\t},\n\tlogoColumn: {\n\t\tdisplay: 'flex'\n\t},\n\tlogoIcon: {\n\t width: '40px',\n \theight: '40px',\n \talignSelf: 'center',\n\t},\n\tmiddleColumn: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'row',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'flex-start',\n\t\tflexGrow: 2,\n\t},\n\trightColumn: {\n\t\twidth: '30%',\n\t},\n\ttitle: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\ttextOverflow: 'ellipsis',\n\t\toverflow: 'hidden',\n\t\twhiteSpace: 'nowrap',\n\t},\n\ttitleSymbol: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tfontSize: '18px',\n\t},\n\tprice: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t\tverticalAlign: 'text-top',\n\t},\n\tdate: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n\tamount: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tfontSize: '18px',\n\t},\n\tstatus: {\n\t\t...theme.typography.style.body,\n\t},\n\tamountData: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t\ttextAlign: 'right',\n\t},\n\tyellow: {\n\t\tcolor: theme.typography.color.yellow,\n\t},\n\tred: {\n\t\tcolor: theme.typography.color.red,\n\t},\n\tgreen: {\n\t\tcolor: theme.typography.color.green,\n\t},\n\tblack: {\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tgrey: {\n\t\tcolor: theme.typography.color.secondary,\n\t},\n\t\n});\n\nclass InstrumentItem extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\titem,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tconst colorCssClass = classNames({\n\t\t\t[classes.red]: item.Color === 'red',\n\t\t\t[classes.green]: item.Color === 'green',\n\t\t\t[classes.black]: item.Color === 'black',\n\t\t\t[classes.black]: item.Color === 'gray',\n\t\t});\n\n\t\tlet directionText;\n\n\t\tlet amount = '';\n\t\tif (item.Amount != null) {\n\t\t\tif (item.Amount !== 0) {\n\t\t\t\tamount = item.Amount > 0 ? '+' : '-';\n\t\t\t}\n\t\t\tamount += toUsaFormat(Math.abs(item.Amount));\n\t\t}\n\n\t\tlet fundTitle = null;\n\n\t\tif (item.IsUserTransaction) {\n\t\t\tswitch (item.Direction) {\n\t\t\tcase 'deposit':\n\t\t\t\tfundTitle = 'Deposit';\n\t\t\t\tbreak;\n\n\t\t\tcase 'withdrawal':\n\t\t\t\tfundTitle = 'Withdraw';\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tfundTitle = 'Unknown';\n\t\t\t}\n\t\t}\n\n\t\tif (item.Description) {\n\t\t\tif (!fundTitle) {\n\t\t\t\tfundTitle = item.Description;\n\t\t\t} else {\n\t\t\t\tfundTitle += ` ${item.Description}`;\n\t\t\t}\n\t\t}\n\n\t\tconst logoFileName = item.Bank ? `${item.Bank}.png` : null;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{!item.IsUserTransaction && \n\t\t\t\t\t\t(\n\t\t\t\t\t\t\titem.LogoIconUrl ?\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) \n\t\t\t\t\t}\n\t\t\t\t\t{item.IsUserTransaction &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t\t{item.Symbol &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{item.Symbol}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{fundTitle}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{/* american time zone (no utc) */}\n\t\t\t\t\t\t\t{moment(item.Date).format('D MMM YYYY')}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t{!!item.Price &&\n\t\t\t\t\t
\n\t\t\t\t\t\t{capitalizeFirstLetter(item.Direction)} {item.Quantity} \n\t\t\t\t\t\t@ \n\t\t\t\t\t\t{toUsaFormat(item.Price)}\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{amount}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{item.Status &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{item.Status}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nInstrumentItem.propTypes = {\n\titem: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tSafeComponent,\n)(InstrumentItem);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport InputBase from '@material-ui/core/Input';\nimport SearchIcon from '@material-ui/icons/Search';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport SafeComponent from 'react-safe-component';\nimport { connect } from 'react-redux';\nimport PropTypes from 'prop-types';\nimport compose from 'recompose/compose';\nimport {\n\tDateRangePicker,\n\tFileDownload,\n\tSelect,\n\tSvgIcon,\n\tR,\n} from '@components';\nimport { env } from '@config';\nimport { snackbar, userAccounts } from '@redux';\n\n\nconst styles = theme => ({\n\tselectType: {\n\t\tmarginTop: '5px!important',\n\t\tcolor: '#1a96ff',\n\t\ttextTransform: 'uppercase',\n\t},\n\tinputType: {\n\t\tpaddingTop: 0,\n\t\tpaddingBottom: 0,\n\t},\n\tmenuInput: {\n\t\ttextTransform: 'uppercase',\n\t},\n\tsearchInputContainer: {\n\t\tcolor: theme.typography.color.link,\n\t},\n\tsearchUnderline: {\n\t\tborderBottom: 0,\n\t\t'&:hover': {\n\t\t\tborderBottom: 0,\n\t\t},\n\t},\n\tsearchInput: {\n\t\twidth: '100%',\n\t\t'&:before': {\n\t\t\tborderBottom: 0,\n\t\t},\n\t\t'&:hover': {\n\t\t\tborderBottom: 0,\n\t\t},\n\t},\n\tsearchInputRight: {\n\t\twidth: '100%',\n\t\ttextAlign: 'right',\n\t},\n\tsearchIcon: {\n\t\tcolor: theme.typography.color.link,\n\t\tmargin: '3px 0',\n\t\tverticalAlign: 'middle',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tcashActivities: userAccounts.selectors.cashActivities(state),\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tloadPage: payload => dispatch(userAccounts.actions.getTransactionsHistory.request(payload)),\n\t\tshowError: message => dispatch(snackbar.actions.showErrorMessage({ text: message })),\n\t},\n});\n\nclass TransactionsFilters extends React.Component {\n\tstartDateChange = (date) => {\n\t\tthis.props.changeFilter({\n\t\t\t...this.props.filter,\n\t\t\tstartDate: date,\n\t\t});\n\t};\n\n\tendDateChange = (date) => {\n\t\tthis.props.changeFilter({\n\t\t\t...this.props.filter,\n\t\t\tendDate: date,\n\t\t});\n\t};\n\n\tactionsTypeChange = (event) => {\n\t\tthis.props.changeFilter({\n\t\t\t...this.props.filter,\n\t\t\tactionsType: event.target.value,\n\t\t});\n\t}\n\n\tsearchKeyPress = (event) => {\n\t\tif (event.keyCode === 13 && this.props.filter.tranSearch !== event.target.value) {\n\t\t\tthis.props.changeFilter({\n\t\t\t\t...this.props.filter,\n\t\t\t\ttranSearch: event.target.value,\n\t\t\t});\n\t\t}\n\t};\n\n\tloseFocus = (event) => {\n\t\tif (this.props.filter.tranSearch !== event.target.value) {\n\t\t\tthis.props.changeFilter({\n\t\t\t\t...this.props.filter,\n\t\t\t\ttranSearch: event.target.value,\n\t\t\t});\n\t\t}\n\t};\n\n\trender() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tclasses,\n\t\t\tcurrentTradeAccount,\n\t\t\tfilter: {\n\t\t\t\tstartDate,\n\t\t\t\tendDate,\n\t\t\t\tactionsType,\n\t\t\t\ttranSearch,\n\t\t\t},\n\t\t} = this.props;\n\n\t\tconst searchAlign = 'left';\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t actions.showError((data && data.Errors && data.Errors[0].Message) || data)}\n\t\t\t\t\t\tfileName=\"Transaction Report.csv\"\n\t\t\t\t\t\tbuttonTitle={EXPORT}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t this.searchKeyPress(e)}\n\t\t\t\t\t\tonBlur={e => this.loseFocus(e)}\n\t\t\t\t\t\tdefaultValue={tranSearch}\n\t\t\t\t\t\tdisableUnderline\n\t\t\t\t\t\tstartAdornment={searchAlign !== 'right' && }\n\t\t\t\t\t\tendAdornment={searchAlign === 'right' && }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nTransactionsFilters.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tchangeFilter: PropTypes.func.isRequired,\n\tfilter: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\tSafeComponent,\n)(TransactionsFilters);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport PropTypes from 'prop-types';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\nimport { env } from '@config';\r\nimport { signature, userAccounts } from '@redux';\r\nimport { A, ExpansionPanel, SvgIcon } from '@components';\r\nimport {\r\n\tOpenedBody,\r\n\tBriefInfo,\r\n} from './components';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tborderRadius: '10px',\r\n\t\tbackgroundColor: '#ffffff',\r\n\t\tboxShadow: '0 6px 16px 0 rgba(61, 65, 71, 0.12)',\r\n\t\tpadding: '10px 24px 29px',\r\n\t\tmargin: '0 -25px',\r\n\t},\r\n\theader: {\r\n\t\tmarginRight: '30px',\r\n\t},\r\n\tupgrade: {\r\n\t\t...theme.typography.style.button,\r\n\t\twhiteSpace: 'nowrap',\r\n\t},\r\n\tupgradeIcon: {\r\n\t\tverticalAlign: 'middle',\r\n\t},\r\n\tpendingInfoText: {\r\n\t\tdisplay: 'inline-block',\r\n\t\tcolor: theme.typography.color.red,\r\n\t\tmargin: '0 0',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\r\n\taccountInfo: userAccounts.selectors.accountInfo(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\t// showUpgradeAccountModal: (tradeAccount, marginParams) => {\r\n\t\t// \tconst changeAction = userAccounts.actions.showUpgradeAccountModal({ tradeAccount, marginParams });\r\n\t\t// \tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\r\n\t\t// },\r\n\t},\r\n});\r\n\r\n\r\nclass IndividualCashAccount extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tisChartPanelOpen: false,\r\n\t\t};\r\n\t}\r\n\r\n\t// showUpgradeModal = () => {\r\n\t// \tconst { actions, currentTradeAccount, currentAccountData } = this.props;\r\n\t// \tactions.showUpgradeAccountModal(currentTradeAccount, currentAccountData.baseParams.MarginOptionParameters);\r\n\t// }\r\n\r\n\ttoggleChartPanelOpen = () => {\r\n\t\tthis.setState({ isChartPanelOpen: !this.state.isChartPanelOpen });\r\n\t};\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\taccountStatus,\r\n\t\t\taccountInfo,\r\n\t\t\tcurrentAccountData,\r\n\t\t} = this.props;\r\n\r\n\t\tconst { baseParams } = currentAccountData;\r\n\t\tconst headerTitle =\r\n\t\t\t(currentAccountData &&\r\n\t\t\tcurrentAccountData.baseParams &&\r\n\t\t\tcurrentAccountData.baseParams.AccountType &&\r\n\t\t\tcurrentAccountData.baseParams.MarginOptionParameters &&\r\n\t\t\tcurrentAccountData.baseParams.MarginOptionParameters.MarginType)\r\n\t\t\t\t? `${currentAccountData.baseParams.AccountType} ${currentAccountData.baseParams.MarginOptionParameters.MarginType} Account`\r\n\t\t\t\t: '';\r\n\r\n\t\tconst totalGainPercent = currentAccountData && currentAccountData.portfolio &&\r\n\t\t\tcurrentAccountData.portfolio.TotalGainPercent;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t{headerTitle}\r\n\t\t\t\t\t\t\t{/* {headerTitle && accountStatus && accountStatus.CanMarginUpgrade\r\n\t\t\t\t\t\t\t&& accountInfo && accountInfo.IsPrimaryHolder &&\r\n\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{(accountInfo && accountInfo.PendingOrders && accountInfo.PendingOrders.UpgradeMarginType) ?\r\n\t\t\t\t\t\t\t\t\t\tUPGRADE IN PROGRESS\r\n\t\t\t\t\t\t\t\t\t\t:\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tupgrade\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t} */}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tid=\"individual-cash-account\"\r\n\t\t\t\t\tcollapsedBodyContent={\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tonToggleOpen={this.toggleChartPanelOpen}\r\n\t\t\t\t\tisOpen={this.state.isChartPanelOpen}\r\n\t\t\t\t>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nIndividualCashAccount.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\taccountInfo: PropTypes.object.isRequired,\r\n\taccountStatus: PropTypes.object.isRequired,\r\n\tcurrentAccountData: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(IndividualCashAccount);\r\n","/* eslint-disable no-plusplus */\r\nimport React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\nimport { userAccounts } from '@redux';\r\nimport { Chart, Select } from '@components';\r\nimport Tabs from '@material-ui/core/Tabs';\r\nimport Tab from '@material-ui/core/Tab';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport PropTypes from 'prop-types';\r\nimport { toUsaMoneyFormat } from '@global';\r\nimport { BriefInfo, ChangeInfo } from '../';\r\nimport moment from 'moment-timezone';\r\n\r\nconst PERIOD = {\r\n\tM1: 43200,\r\n\tM3: 129600,\r\n\tM6: 259200,\r\n\tY1: 525600,\r\n\tALL: 2147483647,\r\n};\r\n\r\nconst getDataByPeriod = (dataArray, periodToReturn) => {\r\n\tconst dateTo = new Date(dataArray[0].D);\r\n\tdateTo.setDate(dateTo.getDate() - (periodToReturn / 60 / 24));\r\n\r\n\tconst resultData = [];\r\n\tfor (let i = dataArray.length - 1; i >= 0; i--) {\r\n\t\tif (dataArray[i] && new Date(dataArray[i].D) >= dateTo) {\r\n\t\t\tresultData.push(dataArray[i]);\r\n\t\t}\r\n\t}\r\n\tconst change = resultData[resultData.length - 1].V - resultData[0].V;\r\n\tconst changePercent = (change * 100) / resultData[0].V;\r\n\treturn {\r\n\t\tPoints: resultData,\r\n\t\tChangePercent: changePercent,\r\n\t};\r\n};\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n\tbriefInfo: {\r\n\t\tmarginTop: '24px',\r\n\t\t'&:first-child': {\r\n\t\t\tmarginTop: '0px',\r\n\t\t},\r\n\t},\r\n\tchart: {},\r\n\tfooter: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t\t[theme.breakpoints.down('sm')]: {\r\n\t\t\tflexDirection: 'column',\r\n\t\t\talignItems: 'center',\r\n\t\t},\r\n\t},\r\n\tindustries: {\r\n\t},\r\n\tperiods: {\r\n\t},\r\n\tperiodsTabs: {\r\n\t\tmaxWidth: '50px',\r\n\t\tminWidth: '0px',\r\n\t},\r\n});\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\tcharts: userAccounts.selectors.charts(state),\r\n});\r\n\r\n\r\nclass OpenedBody extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tperiod: 'M1',\r\n\t\t};\r\n\t\tthis.handlePeriodChange = this.handlePeriodChange.bind(this);\r\n\t}\r\n\r\n\thandlePeriodChange(event, period) {\r\n\t\tthis.setState({ period });\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tcharts,\r\n\t\t\tcurrentAccountData: { baseParams },\r\n\r\n\t\t} = this.props;\r\n\r\n\t\tconst mainDataForPeriod = charts !== undefined && charts && charts.Data && charts.Data.length > 0 &&\r\n\t\tgetDataByPeriod(charts.Data, PERIOD[this.state.period]);\r\n\r\n\t\tconst mainChartData =\r\n\t\t\tcharts && charts.Data &&\r\n\t\t\tmainDataForPeriod && mainDataForPeriod.Points &&\r\n\t\t\t(charts.Data.length > 0) ?\r\n\t\t\t\t{\r\n\t\t\t\t\tlegendTitle: 'equity',\r\n\t\t\t\t\tchartData: mainDataForPeriod.Points,\r\n\t\t\t\t}\r\n\t\t\t\t: null;\r\n\t\tconst d = charts && charts.Data && charts.Data && charts.Data.length && charts.Data[0].D;\r\n\t\tconst offset = moment.tz.zone('America/New_York').utcOffset(d || new Date());\r\n\t\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t{mainChartData &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t${this.series.name}: ${toUsaMoneyFormat(this.y)}`;\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\ttitle=\"Date\"\r\n\t\t\t\t\t\t\tcolor={mainDataForPeriod && mainDataForPeriod.ChangePercent >= 0 ? '#11d87c' : '#ff6567'}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{/* */}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nOpenedBody.propTypes = {};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(OpenedBody);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { SvgIcon } from '@components';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { toUsaFormat } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\t...theme.typography.style.title,\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t},\r\n\tvalue:{},\r\n\ticon: {},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tgreen: {\r\n\t\tcolor: theme.typography.color.green,\r\n\t},\r\n});\r\n\r\nconst ValueChange = ({ classes, value, valueSymbol }) => {\r\n\tconst cssClassName = classNames({\r\n\t\t[classes.root]: true,\r\n\t\t[classes.red]: value < 0,\r\n\t\t[classes.green]: value > 0,\r\n\t});\r\n\tconst Icon = value > 0 ?\r\n\t\t\r\n\t\t: ;\r\n\r\n\treturn (value ?\r\n\t\t
\r\n\t\t\t
{toUsaFormat(value)}{valueSymbol}
\r\n\t\t\t{Icon}\r\n\t\t
\r\n\t\t:\r\n\t\t''\r\n\t);\r\n};\r\n\r\nValueChange.propTypes = {\r\n\tvalue: PropTypes.number,\r\n\tvalueSymbol: PropTypes.string,\r\n};\r\n\r\nValueChange.defaultProps = {\r\n\tvalueSymbol: '%',\r\n};\r\n\r\nexport default compose(withStyles(styles))(ValueChange);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport { connect } from 'react-redux';\r\nimport { userAccounts } from '@redux';\r\nimport { ChartThumbnail } from '@components';\r\nimport { toUsaMoneyFormat } from '@global';\r\nimport PropTypes from 'prop-types';\r\nimport { ValueChange } from '../';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t\talignItems: 'center',\r\n\t\t[theme.breakpoints.down('sm')]: {\r\n\t\t\tflexFlow: 'wrap',\r\n\t\t\talignItems: 'flex-start',\r\n\t\t},\r\n\t},\r\n\tleftColumn: {\r\n\t\t[theme.breakpoints.down('sm')]: {\r\n\t\t\twidth: '100%',\r\n\t\t},\r\n\t},\r\n\tmiddleColumn: {\r\n\t\t[theme.breakpoints.down('sm')]: {\r\n\t\t\torder: 1,\r\n\t\t},\r\n\t},\r\n\tchartThumbnailPeriod: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\ttextAlign: 'center',\r\n\t\tmarginTop: '-6px',\r\n\t},\r\n\trightColumn: {\r\n\t\ttextAlign: 'right',\r\n\t\t[theme.breakpoints.down('sm')]: {\r\n\t\t\ttextAlign: 'left',\r\n\t\t\tmarginTop: '24px',\r\n\t\t},\r\n\t},\r\n\tvalue: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tleftValueContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t},\r\n\trightValueContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tjustifyContent: 'right',\r\n\t},\r\n\tpercentsChange: {\r\n\t\tmarginLeft: '24px',\r\n\t},\r\n\tdescription: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tcharts: userAccounts.selectors.charts(state),\r\n});\r\n\r\nclass BriefInfo extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tcharts,\r\n\t\t\tshowChart,\r\n\t\t\tpositionMarketValue,\r\n\t\t\ttotalGainPercent,\r\n\t\t\tcashCurrent,\r\n\t\t\tcashToWithdraw,\r\n\t\t\tunsettledCash,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{toUsaMoneyFormat(positionMarketValue)}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{!!totalGainPercent &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tSecurities Market Value\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{toUsaMoneyFormat(cashToWithdraw)}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tCash Available for Withdrawal\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{showChart &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{charts &&\r\n\t\t\t\t\t\tcharts.Data &&\r\n\t\t\t\t\t\t(charts.Data.length > 0) &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
1Y
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{toUsaMoneyFormat(cashCurrent)}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tCash\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{toUsaMoneyFormat(unsettledCash)}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tUnsettled Cash\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nBriefInfo.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tshowChart: PropTypes.bool,\r\n\tpositionMarketValue: PropTypes.any,\r\n\ttotalGainPercent: PropTypes.any,\r\n\tcashCurrent: PropTypes.any,\r\n\tcashToWithdraw: PropTypes.number,\r\n\tunsettledCash: PropTypes.number,\r\n};\r\n\r\nBriefInfo.defaultProps = {\r\n\tshowChart: true,\r\n\tpositionMarketValue: 0,\r\n\ttotalGainPercent: 0,\r\n\tcashCurrent: 0,\r\n\tcashToWithdraw: 0,\r\n\tunsettledCash: 0,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(BriefInfo);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport Grid from '@material-ui/core/Grid';\nimport { connect } from 'react-redux';\nimport { userAccounts } from '@redux';\nimport { toUsaMoneyFormat } from '@global';\nimport PropTypes from 'prop-types';\nimport { ValueChange } from '..';\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\talignItems: 'center',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tflexFlow: 'wrap',\n\t\t\talignItems: 'flex-start',\n\t\t},\n\t},\n\tleftColumn: {\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\twidth: '100%',\n\t\t},\n\t},\n\trightColumn: {\n\t\ttextAlign: 'right',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\ttextAlign: 'left',\n\t\t\tmarginTop: '24px',\n\t\t\t'& $valueContainer': {\n\t\t\t\tflexDirection: 'row-reverse',\n\t\t\t},\n\t\t},\n\t\t[theme.breakpoints.up('md')]: {\n\t\t\t'& $percentsChange': {\n\t\t\t\tmarginLeft: '0px',\n\t\t\t\tmarginRight: '24px',\n\t\t\t},\n\t\t},\n\t},\n\tvalue: {\n\t\t...theme.typography.style.subheading,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tvalueContainer: {\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t},\n\tpercentsChange: {\n\t\tmarginLeft: '24px',\n\t},\n\tdescription: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n});\n\n\nconst mapStateToProps = state => ({\n\tcharts: userAccounts.selectors.charts(state),\n});\n\nclass ChangeInfo extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tpoints,\n\t\t} = this.props;\n\t\tconst firstVal = (points && points.length > 1 && points[0].V) || 0;\n\t\tconst yesterdayVal = (points && points.length > 1 && points[points.length - 2].V) || 0;\n\t\tconst todayVal = (points && points.length > 0 && points[points.length - 1].V) || 0;\n\n\t\tconst dayChangeValue = todayVal - yesterdayVal;\n\t\tconst dayChangePercent = (100 * (todayVal - yesterdayVal)) / yesterdayVal;\n\n\t\tconst periodChangeValue = todayVal - firstVal;\n\t\tconst periodChangePercent = (100 * (todayVal - firstVal)) / firstVal;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{toUsaMoneyFormat(dayChangeValue)}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tDay Change\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{toUsaMoneyFormat(periodChangeValue)}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tPeriod Change\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nChangeInfo.propTypes = {\n\tpoints: PropTypes.arrayOf(PropTypes.shape({\n\t\tV: PropTypes.number.isRequired,\n\t})),\n};\n\nChangeInfo.defaultProps = {\n\tpoints: [],\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(ChangeInfo);\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport moment from 'moment';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport compose from 'recompose/compose';\r\nimport {\r\n\tExpansionPanel,\r\n\tFileDownload,\r\n\tProgressContainer,\r\n\tShowMore,\r\n\tDateRangePicker,\r\n\tSelect,\r\n\tSvgIcon,\r\n} from '@components';\r\nimport { snackbar, userAccounts } from '@redux';\r\nimport { env } from '@config';\r\nimport { connect } from 'react-redux';\r\nimport { Item } from './components';\r\n\r\n\r\nconst styles = (theme) => {\r\n\tconst filtersCss = {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.palette.color.primary.black,\r\n\t\twidth: '100%',\r\n\t\tdisplay: 'flex',\r\n\t\tflexWrap: 'wrap',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\t'& > span': {\r\n\t\t\tmarginRight: '40px',\r\n\t\t\twhiteSpace: 'nowrap',\r\n\t\t},\r\n\t};\r\n\treturn {\r\n\t\troot: {\r\n\t\t\tdisplay: 'flex',\r\n\t\t\talignItems: 'center',\r\n\t\t\tflexWrap: 'wrap',\r\n\t\t},\r\n\t\tcorpactionsFilters: filtersCss,\r\n\t\tcorpactionsHeader: {\r\n\t\t\t...filtersCss,\r\n\t\t\tpadding: '10px 0',\r\n\t\t\t[theme.breakpoints.up('md')]: {\r\n\t\t\t\tflexWrap: 'nowrap',\r\n\t\t\t},\r\n\t\t},\r\n\t\tline_break: {\r\n\t\t\twidth: '100%',\r\n\t\t},\r\n\t\titemContainer: {\r\n\t\t\tpadding: '0 16px',\r\n\t\t\tmargin: '0px -16px',\r\n\t\t},\r\n\t\titem: {\r\n\t\t\t'margin-bottom': '16px',\r\n\t\t},\r\n\t\tselectType: {\r\n\t\t\tmarginTop: '5px!important',\r\n\t\t\tcolor: '#1a96ff',\r\n\t\t},\r\n\t\tinputType: {\r\n\t\t\tpaddingTop: 0,\r\n\t\t\tpaddingBottom: 0,\r\n\t\t},\r\n\t};\r\n};\r\n\r\nconst mapStateToProps = state => ({\r\n\tcorporateActions: userAccounts.selectors.corporateActions(state),\r\n\toldCorporateActions: userAccounts.selectors.oldCorporateActions(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch, props) => ({\r\n\tactions: {\r\n\t\tloadPage: payload => dispatch(userAccounts.actions.getCorporateActions.request(payload)),\r\n\t\toldLoadPage: payload => dispatch(userAccounts.actions.getOldCorporateActions.request(payload)),\r\n\t\tshowError: message => dispatch(snackbar.actions.showErrorMessage({ text: message })),\r\n\t},\r\n});\r\n\r\nclass CorporateActions extends React.Component {\r\n\tstartDate = new Date(moment().year(), moment().month() - 2, moment().date());\r\n\tendDate = new Date(moment().year() + 1, moment().month(), moment().date());\r\n\tactionsType = 'any';\r\n\r\n\tstartDateInit = this.startDate;\r\n\tendDateInit = this.endDate;\r\n\tactionsTypeInit = this.actionsType;\r\n\tcurrentAccount = this.props.currentTradeAccount.tradeCode;\r\n\r\n\tstartDateChange = (date) => {\r\n\t\tthis.startDate = date;\r\n\t\tthis.reLoad();\r\n\t};\r\n\r\n\tendDateChange = (date) => {\r\n\t\tthis.endDate = date;\r\n\t\tthis.reLoad();\r\n\t\t};\r\n\r\n\tactionsTypeChange = (event) => {\r\n\t\tthis.actionsType = event.target.value;\r\n\t\tthis.reLoad();\r\n\t}\r\n\r\n\tloadMore = () => {\r\n\t\tconst {\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tcorporateActions,\r\n\t\t\toldCorporateActions,\r\n\t\t\tisOld,\r\n\t\t} = this.props;\r\n\r\n\t\tlet func = (isOld) ? this.props.actions.oldLoadPage : this.props.actions.loadPage;\r\n\t\tlet page = (isOld) ? oldCorporateActions.pagination.page : corporateActions.pagination.page;\r\n\t\tfunc({\r\n\t\t\ttradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tstartDate: moment(this.startDate).format('YYYYMMDD'),\r\n\t\t\tendDate: moment(this.endDate).format('YYYYMMDD'),\r\n\t\t\tpage: page + 1,\r\n\t\t\tpageSize: 8,\r\n\t\t\ttype: this.actionsType,\r\n\t\t});\r\n\t}\r\n\r\n\treLoad = () => {\r\n\t\tconst {\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tisOld,\r\n\t\t} = this.props;\r\n\r\n\t\tlet func = (isOld) ? this.props.actions.oldLoadPage : this.props.actions.loadPage;\r\n\t\tfunc({\r\n\t\t\ttradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tstartDate: moment(this.startDate).format('YYYYMMDD'),\r\n\t\t\tendDate: moment(this.endDate).format('YYYYMMDD'),\r\n\t\t\tpage: 1,\r\n\t\t\tpageSize: 8,\r\n\t\t\ttype: this.actionsType,\r\n\t\t\tisOld,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t\tclasses,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tcorporateActions,\r\n\t\t\toldCorporateActions,\r\n\t\t\tisOld,\r\n\t\t} = this.props;\r\n\r\n\t\tlet loading = isOld ? oldCorporateActions.loading : corporateActions.loading;\r\n\t\tlet items = isOld ? oldCorporateActions.items : corporateActions.items;\r\n\t\tlet page = isOld ? oldCorporateActions.pagination.page : corporateActions.pagination.page;\r\n\t\tlet pageSize = isOld ? oldCorporateActions.pagination.pageSize : corporateActions.pagination.pageSize;\r\n\r\n\t\tif (this.currentAccount !== currentTradeAccount.tradeCode) {\r\n\t\t\tthis.startDate = this.startDateInit;\r\n\t\t\tthis.endDate = this.endDateInit;\r\n\t\t\tthis.actionsType = this.actionsTypeInit;\r\n\t\t\tthis.currentAccount = currentTradeAccount.tradeCode;\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\t\t{isOld ? 'Old' : ''} Corporate Actions\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tANY KIND\r\n\t\t\t\t\t\t\t\t\tDIVIDENDS\r\n\t\t\t\t\t\t\t\t\tSPLITS\r\n\t\t\t\t\t\t\t\t\tOTHER\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t actions.showError((data && data.Errors && data.Errors[0].Message) || data)}\r\n\t\t\t\t\t\t\t\t\tfileName=\"Corporate actions.xlsx\"\r\n\t\t\t\t\t\t\t\t\tbuttonTitle={EXPORT}\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t>\r\n\r\n\t\t\t\t\r\n\t\t\t\t\t{items && items.length > 0 &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{items.map((item, index) => (\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t))}\r\n\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t 0}\r\n\t\t\t\t\t\t\t\t\tonClick={this.loadMore}\r\n\t\t\t\t\t\t\t\t\tshowMoreButton={(page * pageSize) === items.length}\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nCorporateActions.propTypes = {\r\n\tactions: PropTypes.object.isRequired,\r\n\tcorporateActions: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(CorporateActions);\r\n","export { default as Item } from './Item/Item';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport {\r\n\tDividendItem,\r\n\tOtherItem,\r\n\tSplitItem,\r\n} from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t},\r\n});\r\n\r\nclass Item extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tisOld,\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tlet ItemComponent;\r\n\r\n\t\tswitch (item.TypeStr) {\r\n\t\tcase 'other':\r\n\t\t\tItemComponent = OtherItem;\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'dividend':\r\n\t\t\tItemComponent = DividendItem;\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'split':\r\n\t\t\tItemComponent = SplitItem;\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tItemComponent = DividendItem;\r\n\t\t}\r\n\r\n\t\treturn ;\r\n\t}\r\n}\r\n\r\nItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(Item);\r\n","export { default as DividendItem } from './DividendItem';\r\nexport { default as OtherItem } from './OtherItem';\r\nexport { default as SplitItem } from './SplitItem';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport SafeComponent from 'react-safe-component';\r\nimport { toUsaFormat } from '@global';\r\nimport moment from 'moment';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\t'box-shadow': '0 1px 2px 0 rgba(61, 65, 71, 0.12)',\r\n\t\tpadding: '13px 10px',\r\n\t\twidth: '160px',\r\n\t\t'background-color': 'white',\r\n\t\theight: '215px',\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: '#e3edf5',\r\n\t\t},\r\n\t\t'margin-right': '20px',\r\n\t},\r\n\tsymbol: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t},\r\n\tcompanyName: {\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tmt10: {\r\n\t\t'margin-top': '10px',\r\n\t},\r\n\tmt15: {\r\n\t\t'margin-top': '15px',\r\n\t},\r\n\tmt5: {\r\n\t\tmarginTop: '5px',\r\n\t},\r\n\tsplitter: {\r\n\t\t'border-bottom': '1px solid #deeaef',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tamount: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\t'min-height': '40px',\r\n\t},\r\n\tcolored: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: '#11d87c',\r\n\t},\r\n});\r\n\r\nclass DividendItem extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tisOld,\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\tDIVIDEND\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.Symbol}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.CompanyName}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{isOld ?\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tEX: {moment(item.ExDate).utcOffset(-5).format('D MMM YY')}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t:\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tEX: {moment(item.ExDate).format('D MMM YY')}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.Value &&\r\n\t\t\t\t\t`${toUsaFormat(item.Value)}`}\r\n\t\t\t\t
\r\n\t\t\t\t{isOld ?\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{moment(item.PayDate).utcOffset(-5).format('D MMM YY')}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t:\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{moment(item.PayDate).format('D MMM YY')}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nDividendItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tSafeComponent,\r\n)(DividendItem);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport SafeComponent from 'react-safe-component';\r\nimport moment from 'moment';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\t'box-shadow': '0 1px 2px 0 rgba(61, 65, 71, 0.12)',\r\n\t\tpadding: '13px 10px',\r\n\t\twidth: '160px',\r\n\t\theight: '215px',\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: '#e3edf5',\r\n\t\t},\r\n\t\t'background-color': 'white',\r\n\t\t'margin-right': '20px',\r\n\t},\r\n\tsymbol: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t},\r\n\tcompanyName: {\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tmt10: {\r\n\t\t'margin-top': '10px',\r\n\t},\r\n\tmt5: {\r\n\t\t'margin-top': '5px',\r\n\t},\r\n\tmt15: {\r\n\t\t'margin-top': '15px',\r\n\t},\r\n\tsplitter: {\r\n\t\t'border-bottom': '1px solid #deeaef',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tinvisibleScrollbar: {\r\n\t\t'&::-webkit-scrollbar': {\r\n\t\t\tdisplay: 'none!important',\r\n\t\t},\r\n\t},\r\n\tdescription: {\r\n\t\toverflowY: 'scroll',\r\n\t\t'word-wrap': 'normal',\r\n\t\theight: '60px',\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflowX: 'hidden',\r\n\t\t...theme.typography.style.body,\r\n\t\t'font-size': '13px',\r\n\t},\r\n\tcolored: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: '#7D9EB7',\r\n\t},\r\n});\r\n\r\nclass OtherItem extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\tOTHER\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.Symbol}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.CompanyName}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.Description && item.Description}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{moment(item.Date).utcOffset(-5).format('D MMM YY')}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nOtherItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tSafeComponent,\r\n)(OtherItem);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport SafeComponent from 'react-safe-component';\r\nimport { toUsaFormat } from '@global';\r\nimport moment from 'moment';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\t'box-shadow': '0 1px 2px 0 rgba(61, 65, 71, 0.12)',\r\n\t\tpadding: '13px 10px',\r\n\t\twidth: '160px',\r\n\t\theight: '215px',\r\n\t\t'background-color': 'white',\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: '#e3edf5',\r\n\t\t},\r\n\t\t'margin-right': '20px',\r\n\t},\r\n\tsymbol: {\r\n\t\t...theme.typography.style.subheadingSm,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t},\r\n\tcompanyName: {\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tmt10: {\r\n\t\t'margin-top': '10px',\r\n\t},\r\n\tmt15: {\r\n\t\t'margin-top': '15px',\r\n\t},\r\n\tsplitter: {\r\n\t\t'border-bottom': '1px solid #deeaef',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tamount: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\t'min-height': '50px',\r\n\t},\r\n\tratio: {\r\n\t\tmarginLeft: '10px',\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\t...theme.typography.style.body,\r\n\t\tfontSize: '14px',\r\n\t\tminHeight: '50px',\r\n\t},\r\n\tinvisibleScrollbar: {\r\n\t\t'&::-webkit-scrollbar': {\r\n\t\t\tdisplay: 'none!important',\r\n\t\t},\r\n\t},\r\n\tdescription: {\r\n\t\t...theme.typography.style.body,\r\n\t\tlineHeight: '20px',\r\n\t\tfontSize: '13px',\r\n\t\tmarginTop: '5px',\r\n\t\toverflowY: 'auto',\r\n\t\twordWrap: 'normal',\r\n\t\theight: '60px',\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflowX: 'hidden',\r\n\t},\r\n\tcolored: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: '#F9D113',\r\n\t},\r\n});\r\n\r\nclass SplitItem extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\tSPLIT\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.Symbol}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.CompanyName}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{item.ExpectedQuantity &&\r\n\t\t\t\t\t\t
expected {toUsaFormat(item.ExpectedQuantity, 0)} of shares
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{item.Ratio &&\r\n\t\t\t\t\t\t
ratio\t{toUsaFormat(item.Ratio)}
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{moment(item.ExecutionDate).utcOffset(-5).format('D MMM YY')}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSplitItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tSafeComponent,\r\n)(SplitItem);\r\n","import React from 'react';\r\nimport { TxGlobalAuth } from '@finam/tx-auth-widget';\r\nimport { withStyles, withTheme, makeStyles } from '@material-ui/core/styles';\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport NotificationsIcon from '@material-ui/icons/Notifications';\r\nimport { connect } from 'react-redux';\r\nimport classNames from 'classnames';\r\nimport { withRouter } from 'react-router';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { env } from '@config';\r\nimport { AccountTariffs, AccountPlatforms, ModalPopups } from '@enums';\r\nimport {\r\n\tButton,\r\n\tButtonLime,\r\n\tDropDownMenu,\r\n\tLimeLogo,\r\n\tList,\r\n\tListItem,\r\n\tListItemIcon,\r\n\tListItemText,\r\n\tSvgIcon,\r\n\tR,\r\n\tLanguageSelector,\r\n\tHeaderUserInfo,\r\n\tLogOutButton,\r\n} from '@components';\r\nimport { addHashToUrl } from '@global';\r\n\r\nimport {\r\n\tdashboard,\r\n\tnotifications,\r\n\tprofile,\r\n\ttradePlatforms,\r\n\tuserAccounts,\r\n\tauth,\r\n} from '@redux';\r\nimport GoToTrading from './components/GoToTrading';\r\n\r\nimport j2tPlusImg from './img/j2t-plus.png';\r\nimport mtImg from './img/mt5.png';\r\n\r\nconst styles = (theme) => {\r\n\tconst commonlinkStyle = {\r\n\t\t...theme.typography.style.button,\r\n\t\tmarginRight: '24px',\r\n\t\ttextAlign: 'center',\r\n\t\t'& a': {\r\n\t\t\ttextDecoration: 'none',\r\n\t\t\tcolor: theme.typography.color.link,\r\n\t\t},\r\n\t};\r\n\r\n\treturn {\r\n\t\troot: {\r\n\t\t\tpadding: '5px 0px 0px 24px',\r\n\t\t\tdisplay: 'flex',\r\n\t\t\tjustifyContent: 'space-between',\r\n\t\t\talignItems: 'center',\r\n\t\t},\r\n\t\tleftColumn: {\r\n\t\t\tdisplay: 'flex',\r\n\t\t\tjustifyContent: 'space-between',\r\n\t\t\talignItems: 'center',\r\n\t\t},\r\n\t\tdropdown: {\r\n\t\t\t// marginLeft: '24px',\r\n\t\t},\r\n\t\trightColumn: {\r\n\t\t\tdisplay: 'flex',\r\n\t\t},\r\n\t\ttradeLink: {\r\n\t\t\t...commonlinkStyle,\r\n\t\t\tcursor: 'pointer',\r\n\t\t},\r\n\t\tlimeLink: {\r\n\t\t\t...commonlinkStyle,\r\n\t\t\tmarginLeft: '24px',\r\n\t\t},\r\n\t\ticonLink: {\r\n\t\t\tdisplay: 'flex',\r\n\t\t\t// alignItems: 'left',\r\n\t\t},\r\n\t\topenSideBarIcon: {\r\n\t\t\tmarginRight: '15px',\r\n\t\t\tmarginLeft: '-10px',\r\n\t\t},\r\n\t\tnotificationsIcon: {\r\n\r\n\t\t},\r\n\t\tlogo: {\r\n\t\t\twidth: '48px',\r\n\t\t},\r\n\t\theaderImg: {\r\n\t\t\twidth: '24px',\r\n\t\t\theight: '24px',\r\n\t\t\tmarginRight: '5px',\r\n\t\t},\r\n\t\tdoneIcon: {\r\n\t\t\tmarginLeft: '8px',\r\n\t\t\tstroke: theme.palette.primary.light,\r\n\t\t},\r\n\t\tnewNotificationsExists: {\r\n\t\t\tposition: 'absolute',\r\n\t\t\tleft: '28px',\r\n\t\t},\r\n\t\thidden: {\r\n\t\t\tdisplay: 'none',\r\n\t\t},\r\n\t\tredButton: {\r\n\t\t\tpadding: '4px 20px',\r\n\t\t\tbackgroundColor: theme.typography.color.darkRed,\r\n\t\t\tcolor: theme.typography.color.white,\r\n\t\t\t'&:hover': {\r\n\t\t\t\tbackgroundColor: theme.typography.color.red,\r\n\t\t\t\tcolor: theme.typography.color.white,\r\n\t\t\t\t// Reset on mouse devices\r\n\t\t\t\t'@media (hover: none)': {\r\n\t\t\t\t\tbackgroundColor: theme.typography.color.red,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tplatformsButton: {\r\n\t\t\tbackgroundColor: theme.typography.color.darkBlue,\r\n\t\t\tborder: `1px solid ${theme.typography.color.white}`,\r\n\t\t\t'&:hover': {\r\n\t\t\t\tbackgroundColor: theme.typography.color.blue,\r\n\t\t\t\tborder: `1px solid ${theme.typography.color.darkBlue}`,\r\n\t\t\t\t// Reset on mouse devices\r\n\t\t\t\t'@media (hover: none)': {\r\n\t\t\t\t\tbackgroundColor: theme.typography.color.blue,\r\n\t\t\t\t\tborder: `1px solid ${theme.typography.color.darkBlue}`,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tml: { marginLeft: '12px' },\r\n\t\tmainText: {\r\n\t\t\t...theme.typography.style.title,\r\n\t\t\ttextAlign: 'justify',\r\n\t\t},\r\n\t\twarning: {\r\n\t\t\tpadding: '12px 0',\r\n\t\t\ttextAlign: 'justify',\r\n\t\t\tfontSize: '12px',\r\n\t\t\tlineHeight: '20px',\r\n\t\t},\r\n\t\tlimelogo: {\r\n\t\t\tposition: 'relative',\r\n\t\t\twidth: '48px',\r\n\t\t\tmaxWidth: '48px',\r\n\t\t\theight: '48px',\r\n\t\t},\r\n\t\tpopupContainer: {\r\n\t\t\t[theme.breakpoints.down('sm')]: {\r\n\t\t\t\tleft: '-140px',\r\n\t\t\t},\r\n\t\t\t[theme.breakpoints.down('xs')]: {\r\n\t\t\t\tleft: '-180px',\r\n\t\t\t},\r\n\t\t},\r\n\t\tplatformDetails: {\r\n\t\t\tmarginLeft: '12px',\r\n\t\t},\r\n\t};\r\n};\r\n\r\nconst mapStateToProps = state => ({\r\n\tprofile: profile.selectors.profile(state),\r\n\tnotifications: notifications.selectors.notifications(state),\r\n\taccountInfo: userAccounts.selectors.accountInfo(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tcurrentAccountStatus: userAccounts.selectors.currentAccountStatus(state),\r\n\tcurrentAccountIsDemo: userAccounts.selectors.currentAccountIsDemo(state),\r\n\tcurrentAccountIsPaper: userAccounts.selectors.currentAccountIsPaper(state),\r\n\tanyActiveAccountExists: userAccounts.selectors.anyActiveAccountExists(state),\r\n\thasOpenAccount: userAccounts.selectors.hasOpenAccount(state),\r\n\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\twidget: auth.selectors.authWidget(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tshowJ2tLiteModal: () => dispatch(tradePlatforms.actions.showJ2tLiteModal()),\r\n\t\tshowJ2tPlusModal: () => dispatch(tradePlatforms.actions.showJ2tPlusModal()),\r\n\t\tshowJ2tProModal: () => dispatch(tradePlatforms.actions.showJ2tProModal()),\r\n\t\tshowStProModal: () => dispatch(tradePlatforms.actions.showStProModal()),\r\n\t\tsidebarOpen: () => dispatch(dashboard.actions.sidebarOpen()),\r\n\t\tnotificationsOpen: () => dispatch(dashboard.actions.notificationsOpen()),\r\n\t},\r\n});\r\n\r\nconst useStyles = makeStyles(styles);\r\nconst ListItemCheckedIcon = ({ value }) => {\r\n\tconst classes = useStyles();\r\n\tconst children = value ? :
;\r\n\treturn (\r\n\t\t\r\n\t\t\t{children}\r\n\t\t\r\n\t);\r\n};\r\n\r\n\r\nclass MainHeader extends React.Component {\r\n\tshowModal = (id) => {\r\n\t\tthis.props.history.push(addHashToUrl(this.props.location, id));\r\n\t}\r\n\r\n\thandleOpenAccount = () => {\r\n\t\tTxGlobalAuth.openApp({\r\n\t\t\turl: env.anketaSiteUrl,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\ttheme,\r\n\t\t\tclasses,\r\n\t\t\tcurrentTradeAccount: {\r\n\t\t\t\tclearerFirm,\r\n\t\t\t},\r\n\t\t\tcurrentAccountStatus,\r\n\t\t\taccountInfo: {\r\n\t\t\t\tloading,\r\n\t\t\t\tPlatforms: {\r\n\t\t\t\t\tActiveTradePlatform,\r\n\t\t\t\t\tTradeUrl,\r\n\t\t\t\t},\r\n\t\t\t\tTariffs,\r\n\t\t\t\tTradeLogin,\r\n\t\t\t},\r\n\t\t\tprofile: {\r\n\t\t\t\tHasMarketDataDisabled,\r\n\t\t\t},\r\n\t\t\tactions: {\r\n\t\t\t\tshowJ2tLiteModal,\r\n\t\t\t\tshowJ2tPlusModal,\r\n\t\t\t\tshowJ2tProModal,\r\n\t\t\t\tsidebarOpen,\r\n\t\t\t\tnotificationsOpen,\r\n\t\t\t},\r\n\t\t\tcurrentAccountIsDemo,\r\n\t\t\tcurrentAccountIsPaper,\r\n\t\t\tanyActiveAccountExists,\r\n\t\t\thasOpenAccount,\r\n\t\t\tuserInfo,\r\n\t\t\twidget,\r\n\t\t} = this.props;\r\n\r\n\t\tconst enableSwitch = (env.WEBCAB_5031_switch_trading_platforms && currentAccountStatus.CanPlatformChange\r\n\t\t\t&& (!HasMarketDataDisabled || ActiveTradePlatform === AccountPlatforms.PLATFORM_MT5SPC));\r\n\r\n\t\tconst platformsVisibility = {\r\n\t\t\t[AccountPlatforms.PLATFORM_TRANSAQ]: enableSwitch && ActiveTradePlatform !== AccountPlatforms.PLATFORM_TRANSAQ,\r\n\t\t\t[AccountPlatforms.PLATFORM_JUST2TRADE]: false,\r\n\t\t\t[AccountPlatforms.PLATFORM_MT5SPC]: AccountPlatforms.PLATFORM_MT5SPC === ActiveTradePlatform,\r\n\t\t};\r\n\t\tconst anyPlatformVisible = Object.values(platformsVisibility).some(x => x);\r\n\t\tconst anyPlatformVisibleAndSelected = Object.entries(platformsVisibility)\r\n\t\t\t.some(([key, value]) => value && key === ActiveTradePlatform);\r\n\r\n\t\tconst unreadNotificationsExist = this.props.notifications && this.props.notifications.unreadMessagesCount > 0;\r\n\t\tconst terminalMt5Link = `${env.baseUrl}/static/webterminal.html${(TradeLogin && `?login=${TradeLogin}`) || ''}`;\r\n\t\tconst tradeUrl = ActiveTradePlatform === AccountPlatforms.PLATFORM_MT5SPC ? terminalMt5Link : TradeUrl;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{!loading && hasOpenAccount && !userInfo.BlockTradingAccess &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{!loading &&\r\n\t\t\t\t\t\thasOpenAccount &&\r\n\t\t\t\t\t\t!(currentAccountIsDemo || currentAccountIsPaper) &&\r\n\t\t\t\t\t\tanyPlatformVisible &&\r\n\t\t\t\t\t\t!currentAccountStatus.IsDisabled &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t (\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tPlatforms\r\n\t\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{platformsVisibility[AccountPlatforms.PLATFORM_TRANSAQ] &&\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{anyPlatformVisibleAndSelected &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t{((false && currentAccountStatus.CanPlatformChange &&\r\n\t\t\t\t\t\t\t\t\t\tenv.WEBCAB_5031_switch_trading_platforms &&\r\n\t\t\t\t\t\t\t\t\t\tclearerFirm === 'vision' && ActiveTradePlatform !== 'Just2Trade')\r\n\t\t\t\t\t\t\t\t\t\t|| (false && clearerFirm !== 'vision' && ActiveTradePlatform === 'Just2Trade')) &&\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{anyPlatformVisibleAndSelected &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"Just2Trade\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t{((false && currentAccountStatus.CanPlatformChange &&\r\n\t\t\t\t\t\t\t\t\t\tenv.WEBCAB_5031_switch_trading_platforms &&\r\n\t\t\t\t\t\t\t\t\t\tclearerFirm === 'vision' && ActiveTradePlatform !== 'Transaq')\r\n\t\t\t\t\t\t\t\t\t\t|| (false && clearerFirm !== 'vision' && ActiveTradePlatform === 'Transaq')) &&\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{anyPlatformVisibleAndSelected &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t{/* \"Just2Trade */}\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{!loading &&\r\n\t\t\t\t\t\thasOpenAccount &&\r\n\t\t\t\t\t\tTariffs && Tariffs.EnableZero &&\r\n\t\t\t\t\t\t(Tariffs.ActiveTariff !== AccountTariffs.TARIFF_ZERO) &&\r\n\t\t\t\t\t\t(Tariffs.PendingTariff !== AccountTariffs.TARIFF_ZERO) &&\r\n\t\t\t\t\t\t this.showModal(ModalPopups.COMMISSION_FREE_MODAL)}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tGo Free\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{!loading &&\r\n\t\t\t\t\t\tcurrentAccountIsDemo &&\r\n\t\t\t\t\t\t!currentAccountIsPaper &&\r\n\t\t\t\t\t\t!anyActiveAccountExists &&\r\n\t\t\t\t\t\t this.handleOpenAccount()}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\tOpen Account\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nMainHeader.propTypes = {\r\n\tactions: PropTypes.shape({\r\n\t\tshowJ2tLiteModal: PropTypes.func.isRequired,\r\n\t\tshowJ2tPlusModal: PropTypes.func.isRequired,\r\n\t\tshowJ2tProModal: PropTypes.func.isRequired,\r\n\t\tshowStProModal: PropTypes.func.isRequired,\r\n\t\tsidebarOpen: PropTypes.func.isRequired,\r\n\t\tnotificationsOpen: PropTypes.func.isRequired,\r\n\t}).isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tcurrentAccountStatus: PropTypes.shape({\r\n\t\tCanPlatformChange: PropTypes.bool.isRequired,\r\n\t}).isRequired,\r\n\tcurrentAccountIsDemo: PropTypes.bool,\r\n\tcurrentAccountIsPaper: PropTypes.bool,\r\n\tanyActiveAccountExists: PropTypes.bool.isRequired,\r\n\thasOpenAccount: PropTypes.bool.isRequired,\r\n\tuserInfo: PropTypes.object.isRequired,\r\n\tprofile: PropTypes.shape({\r\n\t\tHasMarketDataDisabled: PropTypes.bool,\r\n\t}).isRequired,\r\n\ttheme: PropTypes.object.isRequired,\r\n\twidget: PropTypes.func,\r\n};\r\n\r\nMainHeader.defaultProps = {\r\n\tcurrentAccountIsDemo: false,\r\n\tcurrentAccountIsPaper: false,\r\n\tprofile: {\r\n\t\tHasMarketDataDisabled: false,\r\n\t}.isRequired,\r\n\twidget: null,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithTheme,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(MainHeader);\r\n","import React from 'react';\nimport Button from '@material-ui/core/Button';\nimport Menu from '@material-ui/core/Menu';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { TxGlobalAuth } from '@finam/tx-auth-widget';\nimport classNames from 'classnames';\nimport { env } from '@config';\nimport { createQAAttribute } from '@global';\nimport { SvgIcon, Divider } from '@components';\nimport PropTypes from 'prop-types';\n\nconst useStyles = makeStyles(theme => ({\n\tbutton: {\n\t\tcolor: theme.typography.color.white,\n\t\tbackgroundColor: theme.palette.lime.primary.default,\n\t\t'&:hover': {\n\t\t\tbackgroundColor: theme.palette.lime.primary.hover,\n\t\t\t// Reset on mouse devices\n\t\t\t'@media (hover: none)': {\n\t\t\t\tbackgroundColor: theme.palette.lime.primary.hover,\n\t\t\t},\n\t\t},\n\t\t'&:active': {\n\t\t\tbackgroundColor: theme.palette.lime.primary.pressed,\n\t\t},\n\t},\n\tmenuItem: {\n\t\tcolor: theme.typography.color.white,\n\t\tbackgroundColor: 'rgba(119, 191, 27, 1)',\n\t\t'&:hover': {\n\t\t\tbackgroundColor: theme.palette.lime.primary.default,\n\t\t},\n\t},\n\tlist: {\n\t\tpadding: '0',\n\t},\n\tchevron: {\n\t\tstroke: theme.typography.color.white,\n\t},\n}));\n\nexport default function GoToTrading(props) {\n\tconst [anchorEl, setAnchorEl] = React.useState(null);\n\n\tconst classes = useStyles();\n\n\tconst handleClick = (event) => {\n\t\tsetAnchorEl(event.currentTarget);\n\t};\n\n\tconst handleClose = () => {\n\t\tsetAnchorEl(null);\n\t};\n\n\tconst handleGoToLimeTrading = () => {\n\t\tconst {\n\t\t\ttradeUrl = '',\n\t\t} = props;\n\n\t\tTxGlobalAuth.openApp({\n\t\t\turl: tradeUrl,\n\t\t});\n\n\t\thandleClose();\n\t};\n\n\tconst handleGoToTakeProfit = () => {\n\t\twindow.open(env.takeProfitSiteUrl, '_blank');\n\t\thandleClose();\n\t};\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\tGo to trading    \n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tLime Trader\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tTakeProfit\n\t\t\t\t\n\t\t\t\n\t\t
\n\t);\n}\n\nGoToTrading.propTypes = {\n\ttradeUrl: PropTypes.string.isRequired,\n};\n\n","module.exports = __webpack_public_path__ + \"content/assets/3d0f8510465940715cd611ac9a7cf47a.png\";","module.exports = __webpack_public_path__ + \"content/assets/16e66e3852a9486049c608871911c842.png\";","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { withRouter } from 'react-router';\nimport compose from 'recompose/compose';\nimport { R } from '@components';\nimport { app } from '@redux';\nimport { useSelector } from 'react-redux';\nimport Box from '@material-ui/core/Box';\nimport ContactsCard from './ContactsCard';\n\nconst styles = theme => ({\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 56px',\n\t\tmarginBottom: '30px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\tcontentItem: {\n\t\tmarginBottom: '30px',\n\t},\n\tendItem: {\n\t\theight: '30px',\n\t},\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tmarginLeft: '16px',\n\t\tpadding: '8px 0',\n\t},\n});\n\n\nfunction Contacts(props) {\n\tconst {\n\t\tclasses,\n\t} = props;\n\n\tconst lang = useSelector(app.selectors.language);\n\n\tfunction selectContactsData(language) {\n\t\tconst titles = {\n\t\t\tchina: ,\n\t\t\tasia: ,\n\t\t\tcommon: ,\n\t\t\tindia: ,\n\t\t\trussia: ,\n\t\t};\n\n\t\tconst phones = {\n\t\t\tasia: '+603 27 123231',\n\t\t\tchina: '400 6799 882',\n\t\t\tcommon: '+357 25 030 442',\n\t\t\tindia: '+91 8041300555',\n\t\t\toutside_asia: '03-2712 3231',\n\t\t\trussia: '+7 495 009-01-95 (многоканальный)',\n\t\t};\n\n\t\tconst tds = {\n\t\t\tasia: '\t+357 95 13 54 75',\n\t\t\tcommon: '+357 96 370 242',\n\t\t\trussia: '+7 499 009-01-95',\n\t\t};\n\n\t\tconst mails = {\n\t\t\tcommon: '24_support@j2t.global',\n\t\t\tasia: 'support@just2trade.asia',\n\t\t\tchina: 'support_cn@just2trade.asia',\n\t\t\tchina2: 'support@just2trade.cn',\n\t\t};\n\n\t\tconst data = {\n\t\t\tms: [\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.asia,\n\t\t\t\t\temail: mails.asia,\n\t\t\t\t\tphone: phones.asia,\n\t\t\t\t\ttd: tds.asia,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.china,\n\t\t\t\t\temail: mails.china2,\n\t\t\t\t\tphone: phones.china,\n\t\t\t\t\ttd: tds.asia,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.common,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.common,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.india,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.india,\n\t\t\t\t\ttd: tds.asia,\n\t\t\t\t},\n\t\t\t],\n\t\t\tzh: [\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.china,\n\t\t\t\t\temail: mails.china2,\n\t\t\t\t\tphone: phones.china,\n\t\t\t\t\ttd: tds.asia,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.asia,\n\t\t\t\t\temail: mails.asia,\n\t\t\t\t\tphone: phones.asia,\n\t\t\t\t\ttd: tds.asia,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.common,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.common,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.india,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.india,\n\t\t\t\t\ttd: tds.asia,\n\t\t\t\t},\n\t\t\t],\n\t\t\ten: [\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.common,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.common,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.asia,\n\t\t\t\t\temail: mails.asia,\n\t\t\t\t\tphone: phones.outside_asia,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.china,\n\t\t\t\t\temail: mails.china,\n\t\t\t\t\tphone: phones.china,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.india,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.india,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t],\n\t\t\tru: [\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.common,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.common,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.russia,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.russia,\n\t\t\t\t\ttd: tds.russia,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.china,\n\t\t\t\t\temail: mails.china,\n\t\t\t\t\tphone: phones.china,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ttitle: titles.india,\n\t\t\t\t\temail: mails.common,\n\t\t\t\t\tphone: phones.india,\n\t\t\t\t\ttd: tds.common,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\n\t\tswitch (language) {\n\t\t\tcase 'ms': return data.ms;\n\t\t\tcase 'zh': return data.zh;\n\t\t\tcase 'ru': return data.ru;\n\t\t\tdefault: return data.en;\n\t\t}\n\t}\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{selectContactsData(lang).map((x, ind) =>\n\t\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n}\n\nexport default compose(\n\twithRouter,\n\twithTheme,\n\twithStyles(styles),\n)(Contacts);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport { R } from '@components';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport Typography from '@material-ui/core/Typography';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableRow from '@material-ui/core/TableRow';\nimport PropTypes from 'prop-types';\n\nconst ContactsTable = withStyles({\n\troot: {\n\t\tmaxWidth: '360px',\n\t\tminWidth: '260px',\n\t\tpadding: '16px 20px',\n\t\toverflow: 'hidden',\n\t},\n})(TableContainer);\n\nconst ContactsTableRow = withStyles({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t},\n})(TableRow);\n\nconst TypeCell = withStyles({\n\troot: {\n\t\tpadding: '16px 0',\n\t\tborderBottom: 'none',\n\t},\n})(TableCell);\n\nconst ValueCell = withStyles(theme => ({\n\troot: {\n\t\tpadding: '16px 0',\n\t\tminWidth: '17ch',\n\t\tborderBottom: 'none',\n\t\ttextAlign: 'right',\n\t\t'& a': {\n\t\t\ttextDecoration: 'none',\n\t\t\tcolor: theme.typography.color.link,\n\t\t},\n\t},\n}))(TableCell);\n\n\nconst ContactsHeader = withStyles({\n\troot: {\n\t\theight: '3.5rem',\n\t\tfontSize: '1.1rem',\n\t\tdisplay: 'inline-flex',\n\t\ttextAlign: 'center',\n\t\talignItems: 'center',\n\t\twidth: '100%',\n\t\tjustifyContent: 'center',\n\t},\n})(Typography);\n\n\nfunction ContactsCard({ title, email, phone, td }) {\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{title}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t:\n\t\t\t\t\t\t{email}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t:\n\t\t\t\t\t\t{phone}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t:\n\t\t\t\t\t\t{td}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n}\n\nContactsCard.propTypes = {\n\ttitle: PropTypes.object.isRequired,\n\temail: PropTypes.string.isRequired,\n\tphone: PropTypes.string.isRequired,\n\ttd: PropTypes.string.isRequired,\n};\n\nexport default ContactsCard;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { withRouter } from 'react-router';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { ModalPopups } from '@enums';\nimport { userAccounts } from '@redux';\nimport { CYChangePasswordModal } from './components/ProfileModals/components';\n\nconst styles = theme => ({\n\n});\n\nconst mapStateToProps = state => ({\n\tuserInfo: userAccounts.selectors.userInfo(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshUserInfo: () => dispatch(userAccounts.actions.getUserInfo.request()),\n\t},\n});\n\nclass BlockModals extends React.Component {\n\n\trender() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tlocation,\n\t\t\tuserInfo: { \n\t\t\t\tNeedChangePass,\n\t\t\t}\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{NeedChangePass && \n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nBlockModals.propTypes = {\n\tactions: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithRouter,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(BlockModals);\n","import React, { useState } from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { change, Field, formValueSelector, reduxForm } from 'redux-form';\nimport classNames from 'classnames';\nimport { env } from '@config';\nimport { formatDateAsTimeZone } from '@global';\nimport { A, Button, Checkbox, FileDownload, FormRadioGroup, Modal, Radio, ErrorMessage, SuccessMessage } from '@components';\nimport { DeliveryTypes, ModalPopups } from '@enums';\nimport { snackbar, profile } from '@redux';\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t},\n\tprogress: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n\ttext: {\n\t\tpaddingTop: '12px',\n\t\tpaddingBottom: '50px',\n\t\ttextAlign: 'justify',\n\t},\n\tcheckbox: {\n\t\tpaddingLeft: '24px',\n\t},\n\twarning: {\n\t\tbackgroundColor: '#f9d113',\n\t\tpadding: '12px 16px',\n\t\tborderRadius: '4px',\n\t},\n\tbutton: {\n\t\tpaddingTop: '12px',\n\t},\n\thighlight: {\n\t\tcolor: theme.palette.color.secondary.down,\n\t},\n});\n\nconst DELIVERY_TYPE_CHANGE_FORM_ID = 'DeliveryTypeChangeForm';\nconst formSelector = formValueSelector(DELIVERY_TYPE_CHANGE_FORM_ID);\n\nconst mapStateToProps = (state) => {\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_DELIVERY_TYPE];\n\n\treturn {\n\t\tinitialValues: {\n\t\t\tDeliveryType: '',\n\t\t\tClearerNumber: (modalParams && modalParams.tradeCode) || '',\n\t\t},\n\t\tdeliveryType: formSelector(state, 'DeliveryType'),\n\t\tclearerNumber: formSelector(state, 'ClearerNumber'),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsetFormField: (fieldName, value = null) => dispatch(change(DELIVERY_TYPE_CHANGE_FORM_ID, fieldName, value)),\n\t\tshowError: message => dispatch(snackbar.actions.showErrorMessage({ text: message })),\n\t},\n});\n\nconst validate = (values) => {\n\tconst errors = {};\n\n\tif (!values.DeliveryType) {\n\t\terrors.DeliveryType = 'required';\n\t}\n\n\treturn errors;\n};\n\nexport const ChangeDeliveryTypeModal = ({\n\tclasses,\n\tactions,\n\tonClose,\n\tinvalid,\n\tsubmitting,\n\tsubmitSucceeded,\n\tsubmitFailed,\n\thandleSubmit,\n\tdeliveryType,\n\tclearerNumber,\n}) => {\n\tconst [disclosure, setDisclosure] = useState(false);\n\tconst [consent, setConsent] = useState(false);\n\tconst [consentLoaded, setConsentLoaded] = useState(false);\n\n\tconst generateAgreementFileName = () => {\n\t\tconst date = formatDateAsTimeZone(new Date(), 'YYYYMMDDHHmmss');\n\t\treturn `Web_Site_Access_and_Online_Delivery_Consent_${date}`;\n\t};\n\n\tconst handleChangeDeliveryType = (type) => {\n\t\tactions.setFormField('DeliveryType', type);\n\t};\n\n\tconst handleConsentDownloadError = (data) => {\n\t\tsetConsentLoaded(false);\n\t\tactions.showError((data && data.Errors && data.Errors[0].Message) || data);\n\t};\n\n\tconst allChecked = () => {\n\t\tif (deliveryType === '') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn deliveryType === DeliveryTypes.DELIVERY_TYPES_ACCOUNTS_ELECTRONIC\n\t\t\t? !consent || !disclosure\n\t\t\t: !consent;\n\t};\n\n\tconst highlightClass = classNames({\n\t\t[classes.highlight]: deliveryType === DeliveryTypes.DELIVERY_TYPES_ACCOUNTS_PAPER,\n\t});\n\n\tconst fileUrl = `${env.backendUrl}useraccounts/api_econsentUpdateVisionForm?deliveryType=${deliveryType}&account=${clearerNumber}`;\n\n\treturn (\n\t\t\n\t\t\t{submitSucceeded &&\n\t\t\t\t\n\t\t\t\t\t\t\tYour request is being processed. Delivery type for the account will be changed soon.
\n\t\t\t\t\t\t\tYou can always check your current delivery method in the Documents & Disclosures section.\n\t\t\t\t\t\t

\n\t\t\t\t\t}\n\t\t\t\t\tbuttonText=\"Back To Account\"\n\t\t\t\t/>\n\t\t\t}\n\t\t\t{submitFailed &&\n\t\t\t\t\n\t\t\t}\n\t\t\t{!submitSucceeded && !submitFailed &&\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tSelect "Paperless" and automatically mark all types of documents listed below electronically.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tStatements: Statements provide account information including transactions, balances,\n\t\t\t\t\t\t\t\tand securities positions. Monthly statements are available electronically or via mail.\n\t\t\t\t\t\t\t\tHowever if you select physical mail there will be\n\t\t\t\t\t\t\t\ta charge per item for international delivery.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tTrade Confirmations: Trade confirmations provide a record of successfully executed\n\t\t\t\t\t\t\t\ttrades. They are legal documents required by industry regulation. Trade confirmations are\n\t\t\t\t\t\t\t\tavailable electronically or via mail. However if you select physical mail there will\n\t\t\t\t\t\t\t\tbe a $2 charge per item for delivery regardless of location.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tTax documents: Tax documents can include IRS Consolidated Form 1099 for proceeds, dividends,\n\t\t\t\t\t\t\t\tand interest; Forms 1099R and 5498 for retirement accounts; and possibly form 1042S for\n\t\t\t\t\t\t\t\tforeign clients.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tProspectuses, proxy materials, annual reports, disclosure documents and other communications*\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t*Reorganization notices will continue to be provided by mail even if you opt for online delivery\n\t\t\t\t\t\t\t\t\tof communications.\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t{deliveryType === DeliveryTypes.DELIVERY_TYPES_ACCOUNTS_ELECTRONIC &&\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tI have read, reviewed and agree to the
\n\t\t\t\t\t\t\t\t\t\t\t\t setConsent(!consent)}\n\t\t\t\t\t\t\t\t\t\t\t\t\tfileName={generateAgreementFileName()}\n\t\t\t\t\t\t\t\t\t\t\t\t\tonError={handleConsentDownloadError}\n\t\t\t\t\t\t\t\t\t\t\t\t\tonSuccess={() => setConsentLoaded(true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclickBubblingStopped\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tchecked={consent}\n\t\t\t\t\t\t\t\t\t\tonChange={() => setConsent(!consent)}\n\t\t\t\t\t\t\t\t\t\tdisabled={!consentLoaded}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tI have read, reviewed and agree to the
\n\t\t\t\t\t\t\t\t\t\t\t\t setDisclosure(true)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tPaperless Delivery E-Sign Disclosure\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tchecked={disclosure}\n\t\t\t\t\t\t\t\t\t\tonChange={() => setDisclosure(!disclosure)}\n\t\t\t\t\t\t\t\t\t\tdisabled={!disclosure}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t{deliveryType === DeliveryTypes.DELIVERY_TYPES_ACCOUNTS_PAPER &&\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tNote: If you proceed to use the physical mail there will be a charge per item for delivery\n\t\t\t\t\t\t\t\t\t\twithin the US and a charge for international delivery.\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tI have read, reviewed and agree to the
\n\t\t\t\t\t\t\t\t\t\t\t\t setConsent(!consent)}\n\t\t\t\t\t\t\t\t\t\t\t\t\tfileName={generateAgreementFileName()}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclickBubblingStopped\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tchecked={consent}\n\t\t\t\t\t\t\t\t\t\tonChange={() => setConsent(!consent)}\n\t\t\t\t\t\t\t\t\t\tdisabled={!consentLoaded}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{submitting ? : 'Apply'}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t}\n\t\t\n\t);\n};\n\nChangeDeliveryTypeModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\tsubmitFailed: PropTypes.bool.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tclearerNumber: PropTypes.string,\n\tdeliveryType: PropTypes.string,\n\tactions: PropTypes.object,\n\tclasses: PropTypes.object,\n};\n\nChangeDeliveryTypeModal.defaultProps = {\n\tclearerNumber: undefined,\n\tdeliveryType: undefined,\n\tactions: undefined,\n\tclasses: undefined,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: DELIVERY_TYPE_CHANGE_FORM_ID,\n\t\tvalidate,\n\t\tenableReinitialize: true,\n\t}),\n)(ChangeDeliveryTypeModal);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tchange as reduxFormChange,\r\n\tformValueSelector,\r\n\ttouch,\r\n} from 'redux-form';\r\nimport {\r\n\tButton,\r\n\tErrorMessage,\r\n\tFileInput,\r\n\tFormInput,\r\n\tProgressContainer,\r\n\tSuccessMessage,\r\n\tSelectField,\r\n} from '@components';\r\nimport { ModalPopups } from '@enums';\r\nimport { constants } from '@config';\r\nimport { markAsTouched } from '@global';\r\nimport { RequireSignatureModal } from '../../..';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t\tmarginBottom: '40px',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tinputSelectItem: {\r\n\t\tmarginTop: '10px',\r\n\t},\r\n\tfileUploader: {\r\n\t\tmarginTop: '16px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\tspanItem: {\r\n\t\tmarginTop: '20px',\r\n\t\tmarginBottom: '8px',\r\n\t\ttextAlign: 'center',\r\n\t},\r\n\theader: {\r\n\t\ttextAlign: 'center',\r\n\t\tmargin: '0px',\r\n\t},\r\n\tinputItem: {\r\n\t\t'& div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t},\r\n\t},\r\n});\r\n\r\nconst CHANGE_PROFILE_ADDRESS_FORM = 'ChangeProfileAddressForm';\r\nconst formSelector = formValueSelector(CHANGE_PROFILE_ADDRESS_FORM);\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_PROFILE_ADDRESS];\r\n\tconst userProfile = modalParams || profile.selectors.profile(state);\r\n\tconst userInfo = userAccounts.selectors.userInfo(state);\r\n\r\n\tconst userAddress = userProfile.PersonalInformation.Address;\r\n\tconst country = (userAddress && userAddress.Country) || '';\r\n\tconst stateAbbr = (userAddress && userAddress.StateAbbr) || '';\r\n\r\n\treturn {\r\n\t\tinitialValues: {\r\n\t\t\tclientId: userProfile.ClientId,\r\n\t\t\tguid: userProfile.Guid,\r\n\t\t\tAttachments: [],\r\n\t\t\tstreetAddress: (userAddress && userAddress.StreetAddress) || '',\r\n\t\t\thouse: (userAddress && userAddress.House) || '',\r\n\t\t\tbuilding: (userAddress && userAddress.Building) || '',\r\n\t\t\tapartment: (userAddress && userAddress.Apartment) || '',\r\n\t\t\tcity: (userAddress && userAddress.City) || '',\r\n\t\t\tzipCode: (userAddress && userAddress.ZipCode) || '',\r\n\t\t\tcountry,\r\n\t\t\tstateAbbr,\r\n\t\t},\r\n\t\tattachmentsValue: formSelector(state, 'Attachments'),\r\n\t\tcountries: profile.selectors.getCountries(state),\r\n\t\tusaStates: profile.selectors.getUsaStates(state),\r\n\t\tprofileSubmitting: userProfile.submitting || userAccounts.selectors.loading(state),\r\n\t\tpendingOrdersAddress: userProfile.PendingOrders.Address,\r\n\t\tisForeign: userInfo.IsForeign,\r\n\t\tisSelfEdit: (!userProfile.Guid && !userProfile.ClientId)\r\n\t\t\t|| (userProfile.Guid && userInfo.Guid.toLowerCase() === userProfile.Guid.toLowerCase()),\r\n\t\tcountry,\r\n\t\tstateAbbr,\r\n\t\tformState: state.form,\r\n\t};\r\n};\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\trefreshCountriesList: () => dispatch(profile.actions.getCountries.request()),\r\n\t\trefreshUsaStatesList: () => dispatch(profile.actions.getUsaStates.request()),\r\n\t\tsetFormField: (fieldName, value = null) => dispatch(reduxFormChange(CHANGE_PROFILE_ADDRESS_FORM, fieldName, value)),\r\n\t\tshowChangeTaxFormModal: () => dispatch(profile.actions.showChangeTaxFormModal()),\r\n\t\ttouchFields: fieldsName => dispatch(touch(CHANGE_PROFILE_ADDRESS_FORM, ...fieldsName)),\r\n\t},\r\n});\r\n\r\nclass ChangeProfileAddressModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\t\tif (!values.country) {\r\n\t\t\terrors.country = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.streetAddress) {\r\n\t\t\terrors.streetAddress = 'required';\r\n\t\t} else if (values.streetAddress.length > constants.maxCharsNumber) {\r\n\t\t\terrors.streetAddress = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\tif (!values.city) {\r\n\t\t\terrors.city = 'required';\r\n\t\t} else if (values.city.length > constants.maxCharsNumber) {\r\n\t\t\terrors.city = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\tif (!values.stateAbbr && values.country === 'US') {\r\n\t\t\terrors.stateAbbr = 'required';\r\n\t\t}\r\n\t\tif (!values.zipCode) {\r\n\t\t\terrors.zipCode = 'required';\r\n\t\t} else if (values.zipCode.length > constants.maxCharsNumber) {\r\n\t\t\terrors.zipCode = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (values.house && values.house.length > constants.maxCharsNumber) {\r\n\t\t\terrors.house = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (values.building && values.building.length > constants.maxCharsNumber) {\r\n\t\t\terrors.building = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (values.apartment && values.apartment.length > constants.maxCharsNumber) {\r\n\t\t\terrors.apartment = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (!values.Attachments || values.Attachments.length === 0) {\r\n\t\t\terrors.Attachments = 'required';\r\n\t\t}\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\tcountry: props.country,\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentDidMount() {\r\n\t\tconst { countries, usaStates, actions } = this.props;\r\n\t\tif (!countries) {\r\n\t\t\tactions.refreshCountriesList();\r\n\t\t}\r\n\t\tif (!usaStates) {\r\n\t\t\tactions.refreshUsaStatesList();\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentDidUpdate() {\r\n\t\tconst { anyTouched, formState, actions: { touchFields } } = this.props;\r\n\t\tconst form = formState[CHANGE_PROFILE_ADDRESS_FORM];\r\n\t\tmarkAsTouched(anyTouched, form, touchFields, ['clientId', 'guid']);\r\n\t}\r\n\r\n\tcountryChanged = (event) => {\r\n\t\tconst { actions } = this.props;\r\n\t\tconst selectedCountry = event.target.value;\r\n\t\tthis.setState({ country: selectedCountry });\r\n\t\tif (selectedCountry !== 'US') {\r\n\t\t\tactions.setFormField('stateAbbr', null);\r\n\t\t}\r\n\t}\r\n\r\n\tsortUsFirst = (a, b) => {\r\n\t\tif (a.CodeLat2 === 'US') {\r\n\t\t\treturn -1;\r\n\t\t}\r\n\t\tif (b.CodeLat2 === 'US') {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (a.Name === b.Name) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\treturn a.Name < b.Name ? -1 : 1;\r\n\t}\r\n\r\n\tcloseForeign = () => {\r\n\t\tconst { actions, onClose } = this.props;\r\n\t\tonClose();\r\n\t\tactions.showChangeTaxFormModal();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tchange,\r\n\t\t\tinvalid,\r\n\t\t\tprofileSubmitting,\r\n\t\t\tpendingOrdersAddress,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tattachmentsValue,\r\n\t\t\tcountries,\r\n\t\t\tusaStates,\r\n\t\t\tisForeign,\r\n\t\t\tisSelfEdit,\r\n\t\t\tcountry,\r\n\t\t\tstateAbbr,\r\n\t\t\tpristine,\r\n\t\t} = this.props;\r\n\r\n\t\tconst noAttachments = (!attachmentsValue || attachmentsValue.length === 0);\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded &&\r\n\t\t\t\t\t(\r\n\t\t\t\t\t\tisForeign && isSelfEdit ?\r\n\t\t\t\t\t\t\t :\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t)\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrdersAddress &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !pendingOrdersAddress && (\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t

Please enter your new address

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t ({ value: cntr.CodeLat2, text: cntr.Name }))) || []}\r\n\t\t\t\t\t\t\t\t\tvalue={country}\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{this.state.country === 'US' &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t ({ value: st.Abbr, text: st.Name }))) || []}\r\n\t\t\t\t\t\t\t\t\t\tvalue={stateAbbr}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\tTo proceed with a form, you have to attach a proof of your new address\r\n\t\t\t\t\t\t\t\t(a recent utility bill or a bank statement)\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t change('Attachments', data)}\r\n\t\t\t\t\t\t\t\t\tmaxFiles={1}\r\n\t\t\t\t\t\t\t\t\tmultiple={false}\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\tThe document should contain a proof of your new address.\r\n\t\t\t\t\t\t\t\tIt can be one the following documents:\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t\tUtility, phone or cable bill with the address stated on it and the name matching\r\n\t\t\t\t\t\t\t\t\tto the name of the account holder, full copy not older than 90 days\r\n\t\t\t\t\t\t\t\t
  • \r\n\t\t\t\t\t\t\t\t
  • Credit Card bill or bank statement, not older than 90 days
  • \r\n\t\t\t\t\t\t\t\t
  • Lease Agreement for this address
  • \r\n\t\t\t\t\t\t\t\t
  • Driver's License with the new address
  • \r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Address'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t)}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeProfileAddressModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tchange: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n\tcountries: PropTypes.array,\r\n\tusaStates: PropTypes.array,\r\n\tcountry: PropTypes.string.isRequired,\r\n\tstateAbbr: PropTypes.string.isRequired,\r\n\tactions: PropTypes.object,\r\n\tformState: PropTypes.object,\r\n\tanyTouched: PropTypes.bool,\r\n\tprofileSubmitting: PropTypes.bool,\r\n\tpendingOrdersAddress: PropTypes.bool,\r\n\tattachmentsValue: PropTypes.array,\r\n\tisForeign: PropTypes.bool,\r\n\tisSelfEdit: PropTypes.bool,\r\n\tpristine: PropTypes.bool.isRequired,\r\n};\r\nChangeProfileAddressModal.defaultProps = {\r\n\tcountries: undefined,\r\n\tusaStates: undefined,\r\n\tactions: undefined,\r\n\tformState: {},\r\n\tanyTouched: false,\r\n\tprofileSubmitting: undefined,\r\n\tpendingOrdersAddress: undefined,\r\n\tattachmentsValue: [],\r\n\tisForeign: undefined,\r\n\tisSelfEdit: undefined,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: CHANGE_PROFILE_ADDRESS_FORM,\r\n\t\tvalidate: ChangeProfileAddressModal.validate,\r\n\t\tenableReinitialize: true,\r\n\t}),\r\n)(ChangeProfileAddressModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { acatDeposit, userAccounts } from '@redux';\r\nimport { ErrorMessage, ProgressContainer } from '@components';\r\nimport { connect } from 'react-redux';\r\nimport { AcatFundForm, AcatFundIraForm } from './components';\r\nimport { RequireSignatureModal } from '../';\r\n\r\nconst styles = {\r\n\troot: {\r\n\t\tmarginBottom: '30px',\r\n\t},\r\n\ttabHeader: {\r\n\t\tfontSize: '16px',\r\n\t\tfontWeight: 'normal',\r\n\t\tminWidth: '100px',\r\n\t\tmaxWidth: '100%',\r\n\t\tflexGrow: 1,\r\n\t},\r\n\twrapper: {\r\n\t\tfontSize: '0.875rem',\r\n\t},\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\r\n\tconst acatTradeAccount = acatDeposit.selectors.tradeAccount(state);\r\n\tconst currentAccountData = userAccounts.selectors.currentAccountData(state);\r\n\treturn {\r\n\t\ttradeAccount: acatTradeAccount || userAccounts.selectors.currentTradeAccount(state),\r\n\t\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\r\n\t\tcurrentAccountData,\r\n\t\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\t\tready: acatTradeAccount || !(currentAccountData.submitting || accountInfo.loading),\r\n\t\tisIra: accountInfo.IsIra,\r\n\t};\r\n};\r\n\r\nclass AcatFundModal extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\ttradeAccount,\r\n\t\t\taccountStatus,\r\n\t\t\tready,\r\n\t\t\tisIra,\r\n\t\t} = this.props;\r\n\t\tconst acatAvailable = accountStatus.CanFund && accountStatus.CanAcat;\r\n\t\tconst FundForm = isIra ? AcatFundIraForm : AcatFundForm;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{acatAvailable ?\r\n\t\t\t\t\t\t\t :\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAcatFundModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(AcatFundModal);\r\n","export { default as AcatFundForm } from './AcatFundForm/AcatFundForm';\r\nexport { default as AcatFundIraForm } from './AcatFundForm/AcatFundIraForm';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport classNames from 'classnames';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport {\r\n\tuserAccounts,\r\n\twithdrawFunds,\r\n\tacatDeposit,\r\n} from '@redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n\tFieldArray,\r\n} from 'redux-form';\r\nimport {\r\n\tA,\r\n\tFormSelect,\r\n\tFormInput,\r\n\tDivider,\r\n\tFormInputPhoneNumber,\r\n\tButton,\r\n\tFileInput,\r\n\tLimeLogo,\r\n\tSuccessMessage,\r\n\tSelectField,\r\n} from '@components';\r\nimport { constants } from '@config';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport { connect } from 'react-redux';\r\n// import LongArrow from './arrow.svg';\r\n// import j2tlogo from './j2t.png';\r\n\r\n\r\nconst formSelector = formValueSelector('acatFundForm');\r\n\r\nconst mapStateToProps = (state, ownProps) => ({\r\n\tinitialValues: {\r\n\t\tTradeCode: ownProps.tradeAccount.tradeCode,\r\n\t\tClearerFirm: ownProps.tradeAccount.clearerFirm,\r\n\t\tTransferInstructionsType: 'Brokerage',\r\n\t},\r\n\tTransferInstructionsType: formSelector(state, 'TransferInstructionsType'),\r\n\tAssetsTransferType: formSelector(state, 'AssetsTransferType'),\r\n\tattachmentsValue: formSelector(state, 'Attachments'),\r\n});\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tposition: 'relative',\r\n\t},\r\n\trow: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tinputItem: {\r\n\t\tmarginTop: '10px',\r\n\t\t'& div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t},\r\n\t},\r\n\tphoneInput: {\r\n\t\tmarginTop: '10px',\r\n\t\t'& > div > div': {\r\n\t\t\twidth: '100%',\r\n\t\t},\r\n\t\t'& > div > div > div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t},\r\n\t},\r\n\tinputSelectItem: {\r\n\t\tmarginTop: '25px',\r\n\t},\r\n\titem: {\r\n\t\tmarginTop: '30px',\r\n\t\tpadding: '0 24px',\r\n\t},\r\n\tdivider: {\r\n\t\tmarginTop: '30px',\r\n\t},\r\n\taccountContainer: {\r\n\t},\r\n\tlogo: {\r\n\t\tpadding: '16px 16px 4px 16px',\r\n\t\tposition: 'relative',\r\n\t\twidth: '80px',\r\n\t\theight: '44px',\r\n\t},\r\n\tinputContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\tinputContainerMultiline: {\r\n\t\tflexWrap: 'wrap',\r\n\t},\r\n\taccount: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'left',\r\n\t},\r\n\taccountHelperText: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'left',\r\n\t\tfontSize: '14px',\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tbutton: {\r\n\t\t...theme.typography.style.stickyButton,\r\n\t},\r\n\ttextNote: {\r\n\t\t...theme.typography.style.body,\r\n\t\tpadding: '24px 24px 0',\r\n\t},\r\n\tbrokeragePartsRow: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'flex-end',\r\n\t\t[theme.breakpoints.only('xs')]: {\r\n\t\t\tflexDirection: 'column',\r\n\t\t\talignItems: 'flex-start',\r\n\t\t},\r\n\t},\r\n\tbrokeragePartsRowNumber: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tbrokeragePartsInputSymbol: {\r\n\t\tmarginBottom: '-5px',\r\n\t},\r\n\tbrokeragePartsInputNumberOfShares: {\r\n\t\tmarginBottom: '-5px',\r\n\t\t[theme.breakpoints.only('xs')]: {\r\n\t\t\tpaddingLeft: '11px',\r\n\t\t},\r\n\r\n\t},\r\n\tbrokeragePartsColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'flex-end',\r\n\t\tflex: '1 0 240px',\r\n\t},\r\n\tselectItem: {\r\n\t\twhiteSpace: 'initial',\r\n\t},\r\n\tattachFileText: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tmarginTop: '24px',\r\n\t},\r\n\tfileUploader: {\r\n\t\tmarginTop: '16px',\r\n\t},\r\n});\r\n\r\nconst renderMutualFundTransferBody = classes => ({\r\n\tfields, meta: { error, submitFailed },\r\n}) => {\r\n\tif (fields.length < 1) {\r\n\t\tfor (let i = 0; i < 3; i += 1) {\r\n\t\t\tfields.push({\r\n\t\t\t\tFundTransferName: '',\r\n\t\t\t\tFundTransferSymbol: '',\r\n\t\t\t\tFundTransferShares: '',\r\n\t\t\t\tFundTransferType: '',\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t{fields.map((member, index) => (\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t))}\r\n\t\t
);\r\n};\r\n\r\n\r\nconst renderBrokeragePartsTransferBody = classes => ({\r\n\tfields, meta: { error, submitFailed },\r\n}) => {\r\n\tif (fields.length < 1) {\r\n\t\tfor (let i = 0; i < 4; i += 1) {\r\n\t\t\tfields.push({\r\n\t\t\t\tAssetsTransferSymbol: '',\r\n\t\t\t\tAssetsTransferShares: '',\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\treturn (\r\n\t\t
\r\n\t\t\t{fields.map((member, index) => (\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{`${index + 1}.`}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t))}\r\n\t\t
);\r\n};\r\n\r\nclass AcatFundForm extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.TradeCode) {\r\n\t\t\terrors.TradeCode = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.SourceFirmName) {\r\n\t\t\terrors.SourceFirmName = 'required';\r\n\t\t} else if (values.SourceFirmName.length > constants.maxCharsNumber) {\r\n\t\t\terrors.SourceFirmName = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\tif (!values.SourceFirmTelephoneNumber) {\r\n\t\t\terrors.SourceFirmTelephoneNumber = 'required';\r\n\t\t} else if (values.SourceFirmTelephoneNumber.length > constants.maxCharsNumber) {\r\n\t\t\terrors.SourceFirmTelephoneNumber = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\tif (!values.SourceFirmAddress) {\r\n\t\t\terrors.SourceFirmAddress = 'required';\r\n\t\t} else if (values.SourceFirmAddress.length > constants.maxCharsNumber) {\r\n\t\t\terrors.SourceFirmAddress = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\tif (!values.SourceAccountTitle) {\r\n\t\t\terrors.SourceAccountTitle = 'required';\r\n\t\t} else if (values.SourceAccountTitle.length > constants.maxCharsNumber) {\r\n\t\t\terrors.SourceAccountTitle = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\tif (!values.SourceAccountNumber) {\r\n\t\t\terrors.SourceAccountNumber = 'required';\r\n\t\t} else if (values.SourceAccountNumber.length > constants.maxCharsNumber) {\r\n\t\t\terrors.SourceAccountNumber = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\tif (!values.SourceAccountType) {\r\n\t\t\terrors.SourceAccountType = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.TransferInstructionsType) {\r\n\t\t\terrors.TransferInstructionsType = 'required';\r\n\t\t}\r\n\r\n\t\tif (values.TransferInstructionsType) {\r\n\t\t\tif (values.TransferInstructionsType === 'Brokerage') {\r\n\t\t\t\tif (!values.AssetsTransferType) {\r\n\t\t\t\t\terrors.AssetsTransferType = 'required';\r\n\t\t\t\t}\r\n\t\t\t\tif (values.AssetsTransferType === 'Parts') {\r\n\t\t\t\t\tif (values.BrokerageParts) {\r\n\t\t\t\t\t\tconst brokeragePartsErrorsArray = [];\r\n\r\n\t\t\t\t\t\tvalues.BrokerageParts.forEach((item, index) => {\r\n\t\t\t\t\t\t\tconst itemErrors = {};\r\n\t\t\t\t\t\t\tif (index === 0) {\r\n\t\t\t\t\t\t\t\tif (!item.AssetsTransferSymbol) {\r\n\t\t\t\t\t\t\t\t\titemErrors.AssetsTransferSymbol = 'required';\r\n\t\t\t\t\t\t\t\t} else if (item.AssetsTransferSymbol.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\t\titemErrors.AssetsTransferSymbol = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (!item.AssetsTransferShares) {\r\n\t\t\t\t\t\t\t\t\titemErrors.AssetsTransferShares = 'required';\r\n\t\t\t\t\t\t\t\t} else if (item.AssetsTransferShares.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\t\titemErrors.AssetsTransferShares = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (item.AssetsTransferSymbol && item.AssetsTransferSymbol.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\titemErrors.AssetsTransferSymbol = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (item.AssetsTransferShares && item.AssetsTransferShares.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\titemErrors.AssetsTransferShares = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (itemErrors.AssetsTransferSymbol || itemErrors.AssetsTransferShares) {\r\n\t\t\t\t\t\t\t\tbrokeragePartsErrorsArray.push(itemErrors);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tif (brokeragePartsErrorsArray.length > 0) {\r\n\t\t\t\t\t\t\terrors.BrokerageParts = { _error: brokeragePartsErrorsArray };\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (values.TransferInstructionsType === 'MutualFund') {\r\n\t\t\t\tif (values.MutualFund) {\r\n\t\t\t\t\tconst mutualFundErrorsArray = [];\r\n\r\n\t\t\t\t\tvalues.MutualFund.forEach((item, index) => {\r\n\t\t\t\t\t\tconst itemErrors = {};\r\n\t\t\t\t\t\tif (index === 0) {\r\n\t\t\t\t\t\t\tif (!item.FundTransferName) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferName = 'required';\r\n\t\t\t\t\t\t\t} else if (item.FundTransferName.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferName = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (!item.FundTransferSymbol) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferSymbol = 'required';\r\n\t\t\t\t\t\t\t} else if (item.FundTransferSymbol.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferSymbol = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (!item.FundTransferShares) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferShares = 'required';\r\n\t\t\t\t\t\t\t} else if (item.FundTransferShares.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferShares = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (!item.FundTransferType) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferType = 'required';\r\n\t\t\t\t\t\t\t} else if (item.FundTransferType.length > constants.maxCharsNumber) {\r\n\t\t\t\t\t\t\t\titemErrors.FundTransferType = constants.maxCharsNumberError;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tmutualFundErrorsArray.push(itemErrors);\r\n\t\t\t\t\t});\r\n\t\t\t\t\terrors.MutualFund = mutualFundErrorsArray;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\t\tif (!values.AssetsTransferType) {\r\n\t\t\terrors.AssetsTransferType = 'required';\r\n\t\t}\r\n\t\tif (!values.Attachments || values.Attachments.length === 0) {\r\n\t\t\terrors.Attachments = 'required';\r\n\t\t}\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tphoneState: {\r\n\t\t\t\tdetermined: false,\r\n\t\t\t\tcompleted: false,\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.onFilesUpload = this.onFilesUpload.bind(this);\r\n\t\tthis.onPhoneChange = this.onPhoneChange.bind(this);\r\n\t}\r\n\r\n\tonPhoneChange(match) {\r\n\t\tif (match) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tphoneState: match,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tonFilesUpload(files) {\r\n\t\tthis.props.change('Attachments', files);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tattachmentsValue,\r\n\t\t\tclasses,\r\n\t\t\tactions,\r\n\t\t\tonClose,\r\n\t\t\ttradeAccount,\r\n\t\t\thandleSubmit,\r\n\t\t\tselectedBankAccount,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tTransferInstructionsType,\r\n\t\t\tAssetsTransferType,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\tconst noAttachments = (!attachmentsValue || attachmentsValue.length === 0);\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{\r\n\t\t\t\t\tsubmitSucceeded ? :\r\n\t\t\t\t\t\t(\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
{tradeAccount && tradeAccount.tradeCode}
\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\tLime Trading accepts transfers of both securities and cash via ACAT. \r\n\t\t\t\t\t\t\t\t\tTo find out if your current broker is an ACAT participant click \r\n\t\t\t\t\t\t\t\t\there. \r\n\t\t\t\t\t\t\t\t\tLime Trading does not accept any OTC securities\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\tPlease complete the below information for the brokerage account from where you will be transferring.\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{TransferInstructionsType === 'Brokerage' &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tTransfer all my assets\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmoney markets may be liquidated\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t),\r\n\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\t{ value: 'Parts', text: 'Transfer only part of my account, as detailed below' },\r\n\t\t\t\t\t\t\t\t\t\t]}\r\n\t\t\t\t\t\t\t\t\t\tonChange={this.handleChangeEmploymentStatus}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t{TransferInstructionsType === 'Brokerage' && AssetsTransferType === 'Parts' &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t{TransferInstructionsType === 'MutualFund' &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\tPlease attach a recent statement from the brokerage firm you are transferring out of.\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t this.onFilesUpload(files)}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{props.submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t: 'Transfer'\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t)\r\n\t\t\t\t}\r\n\t\t\t
);\r\n\t}\r\n}\r\n\r\nAcatFundForm.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\ttradeAccount: PropTypes.object,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n\treduxForm({\r\n\t\tform: 'acatFundForm',\r\n\t\tvalidate: AcatFundForm.validate,\r\n\t}),\r\n)(AcatFundForm);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { acatDeposit, userAccounts } from '@redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tA,\n\tFormSelect,\n\tDivider,\n\tButton,\n\tFileInput,\n\tLimeLogo,\n\tSuccessMessage,\n\tSvgIcon,\n} from '@components';\nimport { IraTypes } from '@enums';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\n\n\nconst ACAT_FUND_IRA_FORM = 'acatFundForm';\nconst formSelector = formValueSelector(ACAT_FUND_IRA_FORM);\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\n\t\t\tAttachments: [],\n\t\t},\n\t\tattachmentsValue: formSelector(state, 'Attachments'),\n\t\tiraType: accountInfo.IraType,\n\t};\n};\n\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\taccountContainer: {\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tattachFileText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tmarginTop: '24px',\n\t},\n\tfileUploader: {\n\t\tmarginTop: '16px',\n\t},\n});\n\nclass AcatFundForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values.Attachments || values.Attachments.length === 0) {\n\t\t\terrors.Attachments = 'required';\n\t\t}\n\t\treturn errors;\n\t}\n\n\tonFilesUpload = files => this.props.change('Attachments', files);\n\n\trender() {\n\t\tconst {\n\t\t\tattachmentsValue,\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\tonClose,\n\t\t\ttradeAccount,\n\t\t\thandleSubmit,\n\t\t\tsubmitSucceeded,\n\t\t\tiraType,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\tconst noAttachments = (!attachmentsValue || attachmentsValue.length === 0);\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{\n\t\t\t\t\tsubmitSucceeded ? :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
{tradeAccount && tradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{iraType === IraTypes.STRATA &&\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tFill and submit the ACAT form (STRATA_Trust_IRA_Transfer_Request.pdf) along with a copy of your recent IRA statement from contra firm. Please note ACAT transfer is available from another IRA account only.\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{iraType === IraTypes.EQUITY_TRUST &&\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tFill and submit the ACAT form (EQUITY IRA Transfer Form.pdf) along with a copy of your recent IRA statement from contra firm. Please note ACAT transfer is available from another IRA account only.\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t this.onFilesUpload(files)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{props.submitting ?\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t: 'Transfer'\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t
);\n\t}\n}\n\nAcatFundForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\ttradeAccount: PropTypes.shape({\n\t\ttradeCode: PropTypes.string.isRequired,\n\t\tclearerFirm: PropTypes.string.isRequired,\n\t}).isRequired,\n\tiraType: PropTypes.oneOf(Object.values(IraTypes)).isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n\treduxForm({\n\t\tform: ACAT_FUND_IRA_FORM,\n\t\tvalidate: AcatFundForm.validate,\n\t}),\n)(AcatFundForm);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Tabs from '@material-ui/core/Tabs';\r\nimport Tab from '@material-ui/core/Tab';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\t\t\t\r\nimport { userAccounts, depositFunds } from '@redux';\r\nimport { ErrorMessage, Modal, ProgressContainer } from '@components';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n\tAchAutoTabComponent,\r\n\tAchManuallyTabComponent,\r\n\tWireManuallyTabComponent,\r\n} from './components';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t},\r\n\ttabHeader: {\r\n\t\tfontSize: '16px',\r\n\t\tfontWeight: 'normal',\r\n\t\tminWidth: '100px',\r\n\t\tmaxWidth: '100%',\r\n\t\tflexGrow: 1,\r\n\t},\r\n\twrapper: {\r\n\t\tfontSize: '0.875rem',\r\n\t},\r\n});\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tcurrentAccountStatus: userAccounts.selectors.currentAccountStatus(state),\r\n\tlinkedBanksAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\tloading: (userAccounts.selectors.accountInfo(state).loading || userAccounts.selectors.loading(state)),\r\n});\r\n\r\n\r\nclass AddBankAccountModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tcurrentTab: null,\r\n\t\t};\r\n\t\tthis.setCurrentTab = this.setCurrentTab.bind(this);\r\n\t}\r\n\r\n\tsetCurrentTab(event, currentTab) {\r\n\t\tthis.setState({ currentTab });\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\tcurrentAccountStatus,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tloading,\r\n\t\t} = this.props;\r\n\r\n\t\tconst { currentTab } = this.state;\r\n\t\t// const haveWireBankAccount = linkedBanksAccounts && linkedBanksAccounts.some(it => it.Type === 'WIRE');\r\n\t\tconst tabs = [];\r\n\t\tif (currentAccountStatus.CanAchLinkAuto) tabs.push({ value: 'ACH_AUTO', title: 'ACH', component: AchAutoTabComponent });\r\n\t\tif (currentAccountStatus.CanAchLink) tabs.push({ value: 'ACH_MANUALLY', title: 'ACH MANUALLY', component: AchManuallyTabComponent });\r\n\t\t/* if (!haveWireBankAccount)\r\n\t\t\ttabs.push({ value: 'WIRE', title: 'WIRE', component: WireManuallyTabComponent }); */\r\n\r\n\t\tconst curTab = currentTab ? tabs.find(it => it.value === currentTab) : tabs[0];\r\n\t\tconst canShow = currentAccountStatus.CanAchLink || currentAccountStatus.CanAchLinkAuto;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{canShow ?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{tabs.map(item => (\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t\t :\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{canShow && }\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAddBankAccountModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentAccountStatus: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tlinkedBanksAccounts: PropTypes.array.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(AddBankAccountModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { withRouter } from 'react-router';\r\nimport { env } from '@config';\r\nimport { app, linkedAccounts, userAccounts } from '@redux';\r\nimport { Button, TabContainer } from '@components';\r\nimport { connect } from 'react-redux';\r\nimport { AchLinkRemoveComponent } from './components';\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n\tbutton: {\r\n\t\tmarginTop: '32px',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\tuserInfo: userAccounts.selectors.userInfo(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tgetPlaidAccounts: (tradeCode, token) =>\r\n\t\t\tdispatch(linkedAccounts.actions.getPlaidAccountsRequest(tradeCode, token)),\r\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\r\n\t\tunlinkBankAccount: payload => dispatch(linkedAccounts.actions.achUnlinkBankAccount.request(payload)),\r\n\t},\r\n});\r\n\r\n\r\nclass AchAutoTabComponent extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tsubmitting: false,\r\n\t\t};\r\n\t}\r\n\r\n\tplaidHandle = () => {\r\n\t\tconst self = this;\r\n\t\tconst linkHandler = window.Plaid.create({\r\n\t\t\tenv: env.plaidApiEnvironment,\r\n\t\t\tapiVersion: 'v2',\r\n\t\t\tclientName: self.props.userInfo.LongName,\r\n\t\t\tkey: env.plaidApiPublicKey,\r\n\t\t\tproduct: 'auth',\r\n\t\t\tonExit(err, metadata) {\r\n\t\t\t\t// The user exited the Link flow.\r\n\t\t\t\tif (err != null) {\r\n\t\t\t\t\t// The user encountered a Plaid API error prior to exiting.\r\n\t\t\t\t\twindow.Raven.captureMessage('Plaid link exit with error', {\r\n\t\t\t\t\t\textra: {\r\n\t\t\t\t\t\t\terror: err,\r\n\t\t\t\t\t\t\tmeta: metadata,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// metadata contains information about the institution\r\n\t\t\t\t\t// that the user selected and the most recent API request IDs.\r\n\t\t\t\t\t// Storing this information can be helpful for support.\r\n\t\t\t\t\twindow.Raven.captureMessage('Plaid link exit without error', {\r\n\t\t\t\t\t\textra: {\r\n\t\t\t\t\t\t\tmeta: metadata,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tself.setState({ submitting: false });\r\n\t\t\t},\r\n\t\t\tonLoad() {\r\n\t\t\t},\r\n\t\t\tonSuccess(publicToken, metadata) {\r\n\t\t\t\tself.props.actions.getPlaidAccounts(\r\n\t\t\t\t\tself.props.currentTradeAccount.tradeCode,\r\n\t\t\t\t\tpublicToken,\r\n\t\t\t\t);\r\n\t\t\t},\r\n\t\t});\r\n\t\tlinkHandler.open();\r\n\t\tthis.setState({ submitting: true });\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\tclasses, currentTradeAccount, linkedAccounts } = this.props;\r\n\t\tconst { submitting } = this.state;\r\n\r\n\t\tconst achBankAccount = linkedAccounts && linkedAccounts.find(it => it.Type === 'ACH');\r\n\t\tif (achBankAccount) {\r\n\t\t\treturn (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t

\r\n\t\t\t\t\tYou can connect your bank account automatically by signing into\r\n\t\t\t\t\tyour online bank account. The process is fast and secured.\r\n\t\t\t\t\tYou can also connect your bank account manually by entering your\r\n\t\t\t\t\tbank account credentials.\r\n\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t: 'Connect bank account automatically'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAchAutoTabComponent.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tlinkedAccounts: PropTypes.array.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(AchAutoTabComponent);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { connect } from 'react-redux';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { app, linkedAccounts, userAccounts } from '@redux';\nimport { Button } from '@components';\n\n\nconst styles = theme => ({\n\troot: {},\n\tbutton: {\n\t\tmarginTop: '32px',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\n\t\tunlinkBankAccount: payload => dispatch(linkedAccounts.actions.achUnlinkBankAccount.request(payload)),\n\t},\n});\n\n\nclass AchLinkRemoveComponent extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tsubmitting: false,\n\t\t};\n\t}\n\n\tunlinkAccount = (bankAccount) => {\n\t\tthis.props.actions.showConfirmModal({\n\t\t\taction: onEndRequest => this.props.actions.unlinkBankAccount({\n\t\t\t\ttradeCode: this.props.tradeAccount.tradeCode,\n\t\t\t\tbankCode: bankAccount.Code,\n\t\t\t\tonEndRequest,\n\t\t\t}),\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\tachBankAccount, classes } = this.props;\n\t\tconst { submitting } = this.state;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t

\n\t\t\t\t\tYou already have a linked bank account.
\n\t\t\t\t\t{achBankAccount.CanUnlink &&\n\t\t\t\t\t\tWould you like to remove it and link a new one?\n\t\t\t\t\t}\n\t\t\t\t

\n\t\t\t\t{achBankAccount.CanUnlink &&\n\t\t\t\t\t
\n\t\t\t\t\t\t this.unlinkAccount(achBankAccount)}\n\t\t\t\t\t\t\tdisabled={submitting}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\t\t\tUnlink\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nAchLinkRemoveComponent.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\ttradeAccount: PropTypes.object.isRequired,\n\tachBankAccount: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(AchLinkRemoveComponent);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\twidth: '100%',\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tleftColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\tflexGrow: '2',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\trightColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tsubtitle: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\n\r\nclass PlaidAccountRadioItem extends React.Component {\r\n\trender() {\r\n\t\tconst { classes, item } = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t*{item.Numbers.account.substr(-4)}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t${item.Info.balances.available}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{item.Info.subtype}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nPlaidAccountRadioItem.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(PlaidAccountRadioItem);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { constants } from '@config';\r\nimport { linkedAccounts, userAccounts } from '@redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n} from 'redux-form';\r\nimport {\r\n\tTabContainer,\r\n\tFormInput,\r\n\tFormRadioGroup,\r\n\tRadio,\r\n\tDivider,\r\n\tFileInput,\r\n\tButton,\r\n} from '@components';\r\nimport { SignatureChecker } from '@shared';\r\nimport { AchLinkRemoveComponent } from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tposition: 'relative',\r\n\t},\r\n\trow: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tinputItem: {\r\n\t\tmarginTop: '30px',\r\n\t\tpaddingLeft: '50px',\r\n\t},\r\n\titem: {\r\n\t\tmarginTop: '30px',\r\n\t\tpaddingLeft: '74px',\r\n\t},\r\n\tdivider: {\r\n\t\tmarginTop: '30px',\r\n\t},\r\n\tfileUploader: {\r\n\t\tmarginTop: '16px',\r\n\t},\r\n\tbutton: {\r\n\t\t...theme.typography.style.stickyButton,\r\n\t},\r\n});\r\n\r\nconst formSelector = formValueSelector('addAchManuallyForm');\r\n\r\nconst mapStateToProps = state => ({\r\n\tinitialValues: {\r\n\t\tTradeCode: userAccounts.selectors.currentTradeAccount(state).tradeCode,\r\n\t\tAttachmentsBankCheckScan: [],\r\n\t\tAttachmentsBankReference: [],\r\n\t\tAttachmentsBankStatement: [],\r\n\t\tAttachmentsExplanationLetter: [],\r\n\t},\r\n\tattachmentsBankCheckScanValue: formSelector(state, 'AttachmentsBankCheckScan') || [],\r\n\tattachmentsBankReferenceValue: formSelector(state, 'AttachmentsBankReference') || [],\r\n\tattachmentsBankStatementValue: formSelector(state, 'AttachmentsBankStatement') || [],\r\n\tattachmentsExplanationLetterValue: formSelector(state, 'AttachmentsExplanationLetter') || [],\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tlinkedBanksAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\tIsForeign: !!userAccounts.selectors.userInfo(state).IsForeign,\r\n});\r\n\r\nclass AchManuallyTabComponent extends React.Component {\r\n\tstatic validate(values, props) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.BankName) {\r\n\t\t\terrors.BankName = 'required';\r\n\t\t} else if (values.BankName.length > constants.maxCharsNumber) {\r\n\t\t\terrors.BankName = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (!values.BankRoutingNumber) {\r\n\t\t\terrors.BankRoutingNumber = 'required';\r\n\t\t} else if (!(constants.regExpRoutingNumber.test(values.BankRoutingNumber))) {\r\n\t\t\terrors.BankRoutingNumber = 'Invalid Format';\r\n\t\t}\r\n\t\tif (!values.BankAccountName) {\r\n\t\t\terrors.BankAccountName = 'required';\r\n\t\t} else if (values.BankAccountName.length > constants.maxCharsNumber) {\r\n\t\t\terrors.BankAccountName = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (!values.BankAccountNumber) {\r\n\t\t\terrors.BankAccountNumber = 'required';\r\n\t\t} else if (!(constants.regExpBankAccountNumber.test(values.BankAccountNumber))) {\r\n\t\t\terrors.BankAccountNumber = 'Invalid Format';\r\n\t\t} else if (values.BankAccountNumber.length > constants.maxCharsNumber) {\r\n\t\t\terrors.BankAccountNumber = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (values.BankAddress && values.BankAddress.length > constants.maxCharsNumber) {\r\n\t\t\terrors.BankAddress = constants.maxCharsNumberError;\r\n\t\t}\r\n\t\tif (!values.BankAccountType) {\r\n\t\t\terrors.BankAccountType = 'required';\r\n\t\t}\r\n\r\n\t\tif (!props.IsForeign && (!values.AttachmentsBankCheckScan || values.AttachmentsBankCheckScan.length === 0)) {\r\n\t\t\terrors.AttachmentsBankCheckScan = 'required';\r\n\t\t}\r\n\t\tif (props.IsForeign && (!values.AttachmentsBankReference || values.AttachmentsBankReference.length === 0)) {\r\n\t\t\terrors.AttachmentsBankReference = 'required';\r\n\t\t}\r\n\t\tif (props.IsForeign && (!values.AttachmentsBankStatement || values.AttachmentsBankStatement.length === 0)) {\r\n\t\t\terrors.AttachmentsBankStatement = 'required';\r\n\t\t}\r\n\t\tif (props.IsForeign && (!values.AttachmentsExplanationLetter || values.AttachmentsExplanationLetter.length === 0)) {\r\n\t\t\terrors.AttachmentsExplanationLetter = 'required';\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tIsForeign,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tsubmitting,\r\n\t\t\tattachmentsBankCheckScanValue,\r\n\t\t\tattachmentsBankReferenceValue,\r\n\t\t\tattachmentsBankStatementValue,\r\n\t\t\tattachmentsExplanationLetterValue,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tlinkedBanksAccounts,\r\n\t\t} = this.props;\r\n\r\n\t\tconst noAttachments = IsForeign ?\r\n\t\t\t(attachmentsBankStatementValue.length === 0 || attachmentsBankReferenceValue.length === 0 || attachmentsExplanationLetterValue.length === 0)\r\n\t\t\t: (!attachmentsBankCheckScanValue || attachmentsBankCheckScanValue.length === 0);\r\n\r\n\t\tconst achBankAccount = linkedBanksAccounts && linkedBanksAccounts.find(it => it.Type === 'ACH');\r\n\t\tif (achBankAccount) {\r\n\t\t\treturn (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tEnter your bank account credentials to link the account.\r\n\t\t\t\t\t\t\tYou can also connect the bank automatically by going to ACH tab.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{!IsForeign &&\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t

The document should contain your bank check scan

\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t this.props.change('AttachmentsBankCheckScan', data)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t{IsForeign &&\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t

Please upload your bank statement

\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t this.props.change('AttachmentsBankStatement', data)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t

Please upload your bank reference

\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t this.props.change('AttachmentsBankReference', data)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t

Please upload explanation letter

\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t this.props.change('AttachmentsExplanationLetter', data)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Connect bank account manually'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAchManuallyTabComponent.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tlinkedBanksAccounts: PropTypes.array.isRequired,\r\n\tIsForeign: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n\treduxForm({\r\n\t\tform: 'addAchManuallyForm',\r\n\t\tvalidate: AchManuallyTabComponent.validate,\r\n\t}),\r\n)(AchManuallyTabComponent);\r\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { getIntrnationalBanksRequisites, getDomesticBanksRequisites } from '@api';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tTabContainer,\n\tFileInput,\n\tFormAutocompleteInput,\n\tFormCheckbox,\n\tFormInput,\n\tFormRadioGroup,\n\tRadio,\n\tButton,\n} from '@components';\nimport { cabinetLog } from '@global';\nimport { linkedAccounts, userAccounts } from '@redux';\nimport { SignatureChecker } from '@shared';\nimport { constants } from '@config';\n\nconst getPromiseWithFunc = func => query => new Promise((resolve, reject) => {\n\tfunc(query).then((response) => {\n\t\tif (response.data.Errors && response.data.Errors[0] && response.data.Errors[0].Code === 'NeedReCall') {\n\t\t\tresolve([]);\n\t\t\treturn;\n\t\t}\n\t\tcabinetLog(func.name || 'respcall', response);\n\t\tif (response.data.Errors && response.data.Errors[0] && response.data.Errors[0].Code === 'Unauthorized') {\n\t\t\tresolve([]);\n\t\t\treturn;\n\t\t}\n\t\tif (Array.isArray(response.data)) {\n\t\t\tresolve(response.data);\n\t\t\treturn;\n\t\t}\n\t\tresolve([]);\n\t\twindow.Raven.captureMessage('response.data is not array', { extra: { text: response.data.toString().substr(0, 200) } });\n\t}, (error) => {\n\t\twindow.Raven.captureException(error);\n\t\tresolve([]);\n\t});\n});\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tinputItem: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t\t'& div > div': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t},\n\t},\n\tautocompleteInputItem: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\titem: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '74px',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\tbankAccountContainer: {\n\t\tmarginTop: '-15px',\n\t},\n\taccountContainer: {\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '72px',\n\t\theight: '60px',\n\t},\n\tarrow: {\n\t\tpaddingLeft: '24px',\n\t\theight: '36px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\taccountBalance: {\n\t\twidth: '100%',\n\t\ttextAlign: 'right',\n\t},\n\twarning: {\n\t\tpadding: '12px 16px',\n\t\ttextAlign: 'justify',\n\t\tfontSize: '12px',\n\t\tlineHeight: '20px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tattachFileText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tmarginTop: '24px',\n\t},\n\tfileUploader: {\n\t\tmarginTop: '16px',\n\t},\n});\n\nconst ADD_WIRE_MANUALLY_FORM_ID = 'addWireManuallyForm';\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst formSelector = formValueSelector(ownProps.form || ADD_WIRE_MANUALLY_FORM_ID);\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst userInfo = userAccounts.selectors.userInfo(state);\n\tconst IsOutsideCountryOfResidenceValue = formSelector(state, 'wireLink.IsOutsideCountryOfResidence');\n\treturn {\n\t\tattachmentsReferenceValue: formSelector(state, 'wireLink.AttachmentsReference'),\n\t\tattachmentsStatementValue: formSelector(state, 'wireLink.AttachmentsStatement'),\n\t\tattachmentsExplanationLetterValue: formSelector(state, 'wireLink.AttachmentsExplanationLetter'),\n\t\tinitialValues: {\n\t\t\twireLink: {\n\t\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\n\t\t\t\tWireType: 'Domestic',\n\t\t\t\tUseIntermediaryBank: false,\n\t\t\t},\n\t\t},\n\t\tcurrentTradeAccount,\n\t\tWireTypeValue: formSelector(state, 'wireLink.WireType'),\n\t\tUseIntermediaryBankValue: formSelector(state, 'wireLink.UseIntermediaryBank'),\n\t\tIsOutsideCountryOfResidenceValue,\n\t\tcurrentAccount: userAccounts.selectors.currentAccount(state),\n\t\tcurrentClearer: userAccounts.selectors.currentClearer(state),\n\t\tisForeign: userInfo.IsForeign,\n\t\tRequireBankReference: ['Enhanced', 'Blocked'].some(x => x === userInfo.DueDiligenceType) || IsOutsideCountryOfResidenceValue,\n\t};\n};\n\nclass WireManuallyTabComponent extends React.Component {\n\tstatic validate(formvalues, props) {\n\t\tconst values = formvalues.wireLink;\n\t\tconst errors = {};\n\t\tif (!values) {\n\t\t\treturn errors;\n\t\t}\n\t\tif (!values.BankName) {\n\t\t\terrors.BankName = 'required';\n\t\t} else if (values.BankName.length > constants.maxCharsNumber) {\n\t\t\terrors.BankName = constants.maxCharsNumberError;\n\t\t}\n\t\tif (values.WireType === 'International') {\n\t\t\tif (!values.BankSwiftCode) {\n\t\t\t\terrors.BankSwiftCode = 'required';\n\t\t\t} else if (values.BankSwiftCode.length > constants.maxCharsNumber) {\n\t\t\t\terrors.BankSwiftCode = constants.maxCharsNumberError;\n\t\t\t}\n\t\t}\n\n\t\tif (values.WireType === 'Domestic') {\n\t\t\tif (!values.BankRoutingNumber) {\n\t\t\t\terrors.BankRoutingNumber = 'required';\n\t\t\t} else if (!(/^(\\d{9})$/.test(values.BankRoutingNumber))) {\n\t\t\t\terrors.BankRoutingNumber = 'Invalid Number';\n\t\t\t}\n\t\t}\n\n\t\tif (!values.BankAccountName) {\n\t\t\terrors.BankAccountName = 'required';\n\t\t} else if (values.BankAccountName.length > constants.maxCharsNumber) {\n\t\t\terrors.BankAccountName = constants.maxCharsNumberError;\n\t\t}\n\n\t\tif (values.BankAddress && values.BankAddress.length > constants.maxCharsNumber) {\n\t\t\terrors.BankAddress = constants.maxCharsNumberError;\n\t\t}\n\n\t\tif (!values.BankAccountNumber) {\n\t\t\terrors.BankAccountNumber = 'required';\n\t\t} else if (!(/^[0-9a-zA-Z]+$/.test(values.BankAccountNumber))) {\n\t\t\terrors.BankAccountNumber = 'Invalid Number';\n\t\t} else if (values.BankAccountNumber.length > constants.maxCharsNumber) {\n\t\t\terrors.BankAccountNumber = constants.maxCharsNumberError;\n\t\t}\n\n\t\tif (values.UseIntermediaryBank) {\n\t\t\tif (!values.IntermediaryBankAccountNumber) {\n\t\t\t\terrors.IntermediaryBankAccountNumber = 'required';\n\t\t\t} else if (!(/^[0-9a-zA-Z]+$/.test(values.IntermediaryBankAccountNumber))) {\n\t\t\t\terrors.IntermediaryBankAccountNumber = 'Invalid Number';\n\t\t\t} else if (values.IntermediaryBankAccountNumber.length > constants.maxCharsNumber) {\n\t\t\t\terrors.IntermediaryBankAccountNumber = constants.maxCharsNumberError;\n\t\t\t}\n\n\t\t\tif (!values.IntermediaryBankName) {\n\t\t\t\terrors.IntermediaryBankName = 'required';\n\t\t\t} else if (values.IntermediaryBankName.length > constants.maxCharsNumber) {\n\t\t\t\terrors.IntermediaryBankName = constants.maxCharsNumberError;\n\t\t\t}\n\n\t\t\tif (values.WireType === 'International') {\n\t\t\t\tif (!values.IntermediaryBankSwiftCode) {\n\t\t\t\t\terrors.IntermediaryBankSwiftCode = 'required';\n\t\t\t\t} else if (values.IntermediaryBankSwiftCode.length > constants.maxCharsNumber) {\n\t\t\t\t\terrors.IntermediaryBankSwiftCode = constants.maxCharsNumberError;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (values.WireType === 'Domestic') {\n\t\t\t\tif (!values.IntermediaryBankRoutingNumber) {\n\t\t\t\t\terrors.IntermediaryBankRoutingNumber = 'required';\n\t\t\t\t} else if (!(/^(\\d{9})$/.test(values.IntermediaryBankRoutingNumber))) {\n\t\t\t\t\terrors.IntermediaryBankRoutingNumber = 'Invalid Number';\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!values.AttachmentsStatement || values.AttachmentsStatement.length === 0) {\n\t\t\terrors.AttachmentsStatement = 'required';\n\t\t}\n\t\tif (props.RequireBankReference &&\n\t\t\t(!values.AttachmentsReference || !values.AttachmentsReference.length === 0)\n\t\t) {\n\t\t\terrors.AttachmentsReference = 'required';\n\t\t}\n\t\tif (props.IsOutsideCountryOfResidenceValue &&\n\t\t\t(!values.AttachmentsExplanationLetter || !values.AttachmentsExplanationLetter.length === 0)\n\t\t) {\n\t\t\terrors.AttachmentsExplanationLetter = 'required';\n\t\t}\n\t\treturn { wireLink: errors };\n\t}\n\n\tonFilesUpload = (field, files) => this.props.change(`wireLink.${field}`, files);\n\n\trender() {\n\t\tconst {\n\t\t\tattachmentsReferenceValue,\n\t\t\tattachmentsStatementValue,\n\t\t\tattachmentsExplanationLetterValue,\n\t\t\tclasses,\n\t\t\ttheme,\n\t\t\thandleSubmit,\n\t\t\tchange,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t\tcurrentTradeAccount,\n\t\t\tRequireBankReference,\n\t\t\tWireTypeValue,\n\t\t\tUseIntermediaryBankValue,\n\t\t\tIsOutsideCountryOfResidenceValue,\n\t\t\tisForeign,\n\t\t} = this.props;\n\t\tconst noAttachments = (!attachmentsStatementValue || attachmentsStatementValue.length === 0) ||\n\t\t\t(RequireBankReference && (!attachmentsReferenceValue || attachmentsReferenceValue.length === 0)) ||\n\t\t\t(IsOutsideCountryOfResidenceValue && (!attachmentsExplanationLetterValue || attachmentsExplanationLetterValue.length === 0));\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tEnter your bank account credentials to link the account.\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{WireTypeValue === 'Domestic' &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t option.name === value.name,\n\t\t\t\t\t\t\t\t\t\t\t\trenderOption: (option, state) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{option.name}
{option.routingNumber}, {option.city}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
),\n\t\t\t\t\t\t\t\t\t\t\t\tfilterOptions: (options, state) => options.filter(x =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tx.name.toLowerCase().indexOf(state.inputValue.toLowerCase()) >= 0),\n\t\t\t\t\t\t\t\t\t\t\t\tgetOptionLabel: option => option.name,\n\t\t\t\t\t\t\t\t\t\t\t\tonChange: (newSelectedOption) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (newSelectedOption) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchange('wireLink.BankRoutingNumber', newSelectedOption.routingNumber);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t option.routingNumber === value.routingNumber,\n\t\t\t\t\t\t\t\t\t\t\t\trenderOption: (option, state) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{option.name}
{option.routingNumber}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
),\n\t\t\t\t\t\t\t\t\t\t\t\tfilterOptions: (options, state) => options.filter(x =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tx.routingNumber.toLowerCase().indexOf(state.inputValue.toLowerCase()) === 0),\n\t\t\t\t\t\t\t\t\t\t\t\tgetOptionLabel: option => option.routingNumber,\n\t\t\t\t\t\t\t\t\t\t\t\tonChange: (newSelectedOption) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (newSelectedOption) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchange('wireLink.BankName', newSelectedOption.name);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t{WireTypeValue === 'International' &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t option.name === value.name,\n\t\t\t\t\t\t\t\t\t\t\t\trenderOption: (option, state) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{option.name}
{option.swift}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
),\n\t\t\t\t\t\t\t\t\t\t\t\tfilterOptions: (options, state) => options.filter(x =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tx.name.toLowerCase().indexOf(state.inputValue.toLowerCase()) >= 0),\n\t\t\t\t\t\t\t\t\t\t\t\tgetOptionLabel: option => option.name,\n\t\t\t\t\t\t\t\t\t\t\t\tonChange: (newSelectedOption) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (newSelectedOption) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchange('wireLink.BankSwiftCode', newSelectedOption.swift);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t option.swift === value.swift,\n\t\t\t\t\t\t\t\t\t\t\t\trenderOption: (option, state) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{option.name}
{option.swift}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
),\n\t\t\t\t\t\t\t\t\t\t\t\tfilterOptions: (options, state) => options.filter(x =>\n\t\t\t\t\t\t\t\t\t\t\t\t\tx.swift.toLowerCase().indexOf(state.inputValue.toLowerCase()) === 0),\n\t\t\t\t\t\t\t\t\t\t\t\tgetOptionLabel: option => option.swift,\n\t\t\t\t\t\t\t\t\t\t\t\tonChange: (newSelectedOption) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (newSelectedOption) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchange('wireLink.BankName', newSelectedOption.name);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{UseIntermediaryBankValue &&\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{WireTypeValue === 'Domestic' &&\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t{WireTypeValue === 'International' &&\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{isForeign ?\n\t\t\t\t\t\t\t\t\t'Please upload your bank statement' :\n\t\t\t\t\t\t\t\t\t'Please upload your bank statement or voided check'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t this.onFilesUpload('AttachmentsStatement', files)}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{RequireBankReference && (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tPlease upload your bank reference\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t this.onFilesUpload('AttachmentsReference', files)}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{IsOutsideCountryOfResidenceValue && (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tPlease upload explanation letter\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t this.onFilesUpload('AttachmentsExplanationLetter', files)}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t: 'Continue'\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\n\t\t);\n\t}\n}\n\nWireManuallyTabComponent.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\ttheme: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tWireTypeValue: PropTypes.string,\n\tUseIntermediaryBankValue: PropTypes.bool,\n\tisForeign: PropTypes.bool.isRequired,\n};\n\nWireManuallyTabComponent.defaultProps = {\n\tWireTypeValue: 'Domestic',\n\tUseIntermediaryBankValue: false,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n\treduxForm({\n\t\tform: ADD_WIRE_MANUALLY_FORM_ID,\n\t\tvalidate: WireManuallyTabComponent.validate,\n\t\t// onSubmit: linkedAccounts.actions.wireManualLinkingForm,\n\t}),\n)(WireManuallyTabComponent);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { A, Button, Modal, SuccessMessage } from '@components';\nimport { env } from '@config';\nimport { ModalPopups } from '@enums';\nimport { tradePlatforms, userAccounts } from '@redux';\n\n\nconst styles = theme => ({\n\ttitle: {\n\t\t...theme.typography.style.subheading,\n\t\tcolor: theme.typography.color.primary,\n\t\twordWrap: 'break-word',\n\t},\n\tbody: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tmarginTop: '16px',\n\t\twordWrap: 'break-word',\n\t},\n\tbutton: {\n\t\tpaddingTop: '12px',\n\t},\n\tmainText: {\n\t\t...theme.typography.style.title,\n\t\ttextAlign: 'justify',\n\t},\n\twarning: {\n\t\tpadding: '12px 0',\n\t\ttextAlign: 'justify',\n\t\tfontSize: '12px',\n\t\tlineHeight: '20px',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\taccountInfo: userAccounts.selectors.accountInfo(state),\n\tplatforms: userAccounts.selectors.platforms(state),\n\tcommissionFreeData: tradePlatforms.selectors.commissionFreeData(state),\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tactivateCommissionFree: data =>\n\t\t\tdispatch(tradePlatforms.actions.activateCommissionFree.request(data)),\n\t},\n});\n\nclass CommissionFreeModal extends React.Component {\n\tcomponentDidUpdate() {\n\t\tif (this.props.commissionFreeData && this.props.commissionFreeData.error) {\n\t\t\t// close modal when error\n\t\t\tthis.props.onClose();\n\t\t}\n\t}\n\n\tsubmitButton = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\taccountInfo,\n\t\t\tplatforms,\n\t\t\tcurrentTradeAccount,\n\t\t} = this.props;\n\n\t\tactions.activateCommissionFree({ account: currentTradeAccount, accountInfo, platforms });\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\tcommissionFreeData: {\n\t\t\t\tsubmitting,\n\t\t\t\tsubmitSucceeded,\n\t\t\t},\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{submitSucceeded ? \t:\n\t\t\t\t\t(\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tLime Trading is proud to announce unlimited, commission-free trading on all\n\t\t\t\t\t\t\t\tUS exchange-listed stocks and ETFs for all new and existing clients, starting TODAY!\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tСommission free trading only available through the J2TLite platform.\n\t\t\t\t\t\t\t\tUpon switching to commission free plan, all existing GTC orders will be cancelled.\n\t\t\t\t\t\t\t\tFree commission trading does not include options, OTCBB or Pink Sheets,\n\t\t\t\t\t\t\t\tGTC orders, or extended hours trading. Other fees including regulatory,\n\t\t\t\t\t\t\t\tservice, or other fees may apply. Please visit\n\t\t\t\t\t\t\t\tour Fees Page for further information.\n\t\t\t\t\t\t\t\tAll investing incurs risk, including but not limited to loss of principal.\n\t\t\t\t\t\t\t\tFurther information may be found on\n\t\t\t\t\t\t\t\tour Disclosures Page.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t: 'ENABLE COMMISSION FREE'\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nCommissionFreeModal.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tcommissionFreeData: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tplatforms: PropTypes.object.isRequired,\n\taccountInfo: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(CommissionFreeModal);\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport {\n\tButton,\n\tModal,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { app } from '@redux';\n\nconst styles = theme => ({\n\ttitle: {\n\t\t...theme.typography.style.subheading,\n\t\tcolor: theme.typography.color.primary,\n\t\twordWrap: 'break-word',\n\t},\n\tcontent: {\n\t\ttextAlign: 'center',\n\t},\n\tbody: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tmarginTop: '16px',\n\t\twordWrap: 'break-word',\n\t},\n\tbutton: {\n\t\tpaddingTop: '12px',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tconfirmModalData: app.selectors.confirmModalData(state),\n\tresolution: app.selectors.resolution(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\thide: () => dispatch(app.actions.hideConfirmModal()),\n\t},\n});\n\nclass ConfirmModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = { submitting: false };\n\t}\n\n\tsubmit = () => {\n\t\tthis.setState({ submitting: true });\n\t\tif (this.props.confirmModalData && this.props.confirmModalData.action) {\n\t\t\tthis.props.confirmModalData.action(this.props.actions.hide);\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\tconfirmModalData: {\n\t\t\t\ttitle,\n\t\t\t\ttext,\n\t\t\t\tbuttonTitle,\n\t\t\t},\n\t\t\ttheme,\n\t\t\tresolution\n\t\t} = this.props;\n\n\t\tconst btnTitle = buttonTitle || 'Confirm';\n\n\t\tconst isXsResolution = resolution === app.CONFIG.RESOLUTIONS_ENUM.xs;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{text || `Click on \"${btnTitle}\" to confirm the request.`}\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{this.state.submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: btnTitle\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nConfirmModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tconfirmModalData: PropTypes.object.isRequired,\n\ttheme: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\twithTheme,\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(ConfirmModal);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { userAccounts, acatDeposit } from '@redux';\nimport { CloseAccountForm } from '@shared';\nimport { Modal } from '@components';\nimport { connect } from 'react-redux';\n\nconst styles = {\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tresetModalData: () => dispatch(acatDeposit.actions.resetCloseAccountModalData()),\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n});\n\nclass CloseAccountModal extends React.Component {\n\tcloseModal = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tonClose,\n\t\t} = this.props;\n\n\t\tactions.resetModalData();\n\t\tonClose();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tcurrentTradeAccount,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nCloseAccountModal.propTypes = {\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tactions: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(CloseAccountModal);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { acatDeposit, userAccounts } from '@redux';\nimport { Modal } from '@components';\nimport { connect } from 'react-redux';\nimport { CloseAccountContinue, CloseAccountWithdrawalCash } from './components';\n\nconst styles = {\n\troot: {\n\t\tmarginBottom: '30px',\n\t},\n\ttabHeader: {\n\t\tfontSize: '16px',\n\t\tfontWeight: 'normal',\n\t\tminWidth: '100px',\n\t\tmaxWidth: '100%',\n\t},\n};\n\nconst mapStateToProps = state => ({\n\tcloseAccountData: acatDeposit.selectors.closeAccountData(state),\n\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tcloseAccountContinueRequest: request => dispatch(acatDeposit.actions.closeAccountContinueRequest(request)),\n\t\tresetModalData: () => dispatch(acatDeposit.actions.resetCloseAccountModalData()),\n\t},\n});\n\nclass CloseAccountFormModal extends React.Component {\n\tcloseModal = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tonClose,\n\t\t} = this.props;\n\n\t\tactions.resetModalData();\n\t\tonClose();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tcloseAccountData,\n\t\t} = this.props;\n\n\t\tlet ModalComponent;\n\t\tlet ModalTitle;\n\n\t\tif (closeAccountData.submitting) {\n\t\t\tModalComponent = ;\n\t\t\tModalTitle = 'Close Account';\n\t\t} else {\n\t\t\tModalComponent = ();\n\t\t\tModalTitle = 'Cash Withdrawal';\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{ ModalComponent }\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nCloseAccountFormModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tcloseAccountData: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(CloseAccountFormModal);\n","export { default as CloseAccountContinue } from './CloseAccountContinue/CloseAccountContinue';\nexport { default as CloseAccountPennyForm } from './CloseAccountPennyForm/CloseAccountPennyForm';\nexport { default as CloseAccountWithdrawalCash } from './CloseAccountWithdrawalCash/CloseAccountWithdrawalCash';\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\n\n\nconst styles = {\n\troot: {\n\t\tmarginBottom: '30px',\n\t},\n\tprogress: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n};\n\nclass CloseAccountContinue extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nCloseAccountContinue.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n};\n\nexport default compose(withStyles(styles))(CloseAccountContinue);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport FormHelperText from '@material-ui/core/FormHelperText';\nimport { acatDeposit } from '@redux';\nimport {\n\tA,\n\tButton,\n\tCheckbox,\n\tDivider,\n\tFileDownload,\n\tLimeLogo,\n\tSelect,\n\tSuccessMessage,\n\tSvgIcon,\n} from '@components';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\nimport { env } from '@config';\n// import j2tlogo from './j2t.png';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\tpennyText: {\n\t\ttextAlign: 'justify',\n\t},\n\tadditionalText: {\n\t\tpadding: '0px 24px',\n\t\tcolor: theme.typography.color.secondary,\n\t\t...theme.typography.style.body,\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tprogress: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n\tpennyListEntry: {\n\t\tmarginLeft: '20px',\n\t},\n});\n\n\nconst mapStateToProps = (state, ownProps) => ({\n\tinitialValues: {\n\t\tTradeCode: ownProps.closeAccountData.request.TradeCode,\n\t\tClearerFirm: ownProps.closeAccountData.request.ClearerFirm,\n\t},\n});\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tCloseAccountContinueRequest: request => dispatch(acatDeposit.actions.closeAccountContinueRequest(request)),\n\t},\n});\n\nclass CloseAccountPennyForm extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tisDocShown: false,\n\t\t\thasAgree: false,\n\t\t};\n\t}\n\n\tonChangePennyAgree = (event, checked) => {\n\t\tthis.setState({ hasAgree: checked });\n\t}\n\n\tonClickPennyAgreeDocument = () => {\n\t\tthis.setState({\n\t\t\tisDocShown: true,\n\t\t\thasAgree: true,\n\t\t});\n\t}\n\n\tpennyAgree = () => {\n\t\tthis.props.actions.CloseAccountContinueRequest({\n\t\t\t...this.props.closeAccountData.request,\n\t\t\tIsPennyAgree: true,\n\t\t});\n\t}\n\n\tpennyDisagree = () => {\n\t\tthis.props.actions.CloseAccountContinueRequest({\n\t\t\t...this.props.closeAccountData.request,\n\t\t\tIsPennyAgree: false,\n\t\t});\n\t}\n\n\tpennyStockDocLink = file => `${env.backendUrl}Account/ClientDocument?id=${file.Id}&token=${file.Token}&name=${file.FileName}`\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\tcloseAccountData: {\n\t\t\t\trequest,\n\t\t\t\tsubmitting,\n\t\t\t\tsubmitSucceeded,\n\t\t\t\tpennyStockAttachments,\n\t\t\t},\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{\n\t\t\t\t\tsubmitSucceeded ? Thank you for your time!
You will receive an email shortly with further instructions.

}\n\t\t\t\t\t\tbuttonText=\"Back To Account\"\n\t\t\t\t\t/> :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tWe are unable to locate a ready market or an independent transfer agent for the securities\n\t\t\t\t\t\t\t\t\tin your portfolio to conduct a security transfer. As there is no market or transfer agent\n\t\t\t\t\t\t\t\t\tfor these securities, you may request Vision Financial Markets LLC to sell the securities\n\t\t\t\t\t\t\t\t\tfrom your account for one penny ($.01) for the lot.\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tYou hereby agree to sell to Vision, and request that Vision purchase, the securities,\n\t\t\t\t\t\t\t\t\tfor a purchase price of one penny ($0.01) for the lot. You represent that you are the owner,\n\t\t\t\t\t\t\t\t\tfree and clear, of the securities.\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t{pennyStockAttachments && (pennyStockAttachments.length > 0) &&\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{pennyStockAttachments.length === 1 ?\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tI hereby confirm and agree with  \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

I hereby confirm and agree with  

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{pennyStockAttachments.map((file, index) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1. \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  2. \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tchecked={this.state.hasAgree}\n\t\t\t\t\t\t\t\t\t\t\tonChange={this.onChangePennyAgree}\n\t\t\t\t\t\t\t\t\t\t\tdisabled={!this.state.isDocShown}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tIn order to check the box above, you need to open and read the document.\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tAgree\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t
);\n\t}\n}\n\nCloseAccountPennyForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tcloseAccountData: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(CloseAccountPennyForm);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport Tabs from '@material-ui/core/Tabs';\nimport Tab from '@material-ui/core/Tab';\nimport { userAccounts, withdrawFunds } from '@redux';\nimport { SuccessMessage } from '@components';\nimport { AchWithdrawalForm,\tWireWithdrawalShortForm } from '@shared';\nimport { CloseAccountFlow } from '@enums';\nimport { connect } from 'react-redux';\nimport WithdrawFundsWireTab from './WithdrawFundsWireTab';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t\tpaddingBottom: '24px',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\taccountContainer: {\n\t},\n\ttabHeader: {\n\t\tfontSize: '16px',\n\t\tfontWeight: 'normal',\n\t\tminWidth: '100px',\n\t\tmaxWidth: '100%',\n\t\tflexGrow: 1,\n\t},\n\twrapper: {\n\t\tfontSize: '0.875rem',\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '72px',\n\t\theight: '60px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tprogress: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n});\n\n\nconst mapStateToProps = state => ({\n\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\n});\n\nconst ACH_TYPE = 'ACH';\nconst WIRE_TYPE = 'WIRE';\nconst WITHDRAWAL = 'WITHDRAWAL';\nconst WIRE_WITHDRAWAL = `${WIRE_TYPE}_${WITHDRAWAL}`;\nconst ACH_WITHDRAWAL = `${ACH_TYPE}_${WITHDRAWAL}`;\n\nconst GetTabsComponent = (achBankAccount, wireBankAccount) => {\n\tconst tabs = [];\n\n\tconst wireTabLong = { value: WIRE_WITHDRAWAL, title: WIRE_TYPE, component: WithdrawFundsWireTab };\n\tconst wireTabShort = { value: WIRE_WITHDRAWAL, title: WIRE_TYPE, component: WireWithdrawalShortForm };\n\tconst achTab = { value: ACH_WITHDRAWAL, title: ACH_TYPE, component: AchWithdrawalForm };\n\n\tif (!achBankAccount && !wireBankAccount) {\n\t\ttabs.push(wireTabLong);\n\t} else if (achBankAccount && !wireBankAccount) {\n\t\ttabs.push(achTab);\n\t} else if (!achBankAccount && wireBankAccount) {\n\t\ttabs.push(wireTabShort);\n\t} else if (achBankAccount && wireBankAccount) {\n\t\ttabs.push(achTab);\n\t\ttabs.push(wireTabShort);\n\t}\n\n\treturn tabs;\n};\n\nclass CloseAccountWithdrawalCash extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tconst { linkedAccounts } = this.props;\n\n\t\tif (linkedAccounts) {\n\t\t\tthis.achBankAccount = linkedAccounts.find(it => it.Type === ACH_TYPE);\n\t\t\tthis.wireBankAccount = linkedAccounts.find(it => it.Type === WIRE_TYPE);\n\t\t} else {\n\t\t\tthis.achBankAccount = null;\n\t\t\tthis.wireBankAccount = null;\n\t\t}\n\n\t\tthis.state = {\n\t\t\tcurrentTab: null,\n\t\t\tsucceeded: false,\n\t\t};\n\t}\n\n\tonSuccess = (type) => {\n\t\tthis.setState({ succeeded: true });\n\t\tthis.SuccessType = type;\n\t}\n\n\tonClose = () => {\n\t\tthis.props.onClose(this.SuccessType);\n\t}\n\n\tsetCurrentTab = (event, currentTab) => {\n\t\tthis.setLinkedBankAccount(currentTab);\n\t\tthis.setState({ currentTab });\n\t}\n\n\tsetLinkedBankAccount = (currentTab) => {\n\t\tif (currentTab === WIRE_WITHDRAWAL) {\n\t\t\tthis.linkedBankAccount = this.wireBankAccount;\n\t\t} else if (currentTab === ACH_WITHDRAWAL) {\n\t\t\tthis.linkedBankAccount = this.achBankAccount;\n\t\t} else {\n\t\t\tthis.linkedBankAccount = null;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tcloseAccountData: {\n\t\t\t\trequest,\n\t\t\t\tcashAmount,\n\t\t\t},\n\t\t} = this.props;\n\n\t\tconst tabs = GetTabsComponent(this.achBankAccount, this.wireBankAccount);\n\n\t\tconst { currentTab, succeeded } = this.state;\n\t\tconst curTab = currentTab ? tabs.find(it => it.value === currentTab) : tabs[0];\n\n\t\tif (curTab) {\n\t\t\tthis.setLinkedBankAccount(curTab.value);\n\t\t}\n\n\t\tconst handleAmountSubmit = this.linkedBankAccount && this.linkedBankAccount.Template ?\n\t\t\twithdrawFunds.actions.withdrawFundsWireForm :\n\t\t\twithdrawFunds.actions.linkAndwithdrawFundsWireForm;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t{succeeded ? \n\t\t\t\t\t:\n\t\t\t\t\t(\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

You have to transfer cash from your account before you can close it.

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{tabs.map(item => (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t
);\n\t}\n}\n\nCloseAccountWithdrawalCash.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tcloseAccountData: PropTypes.object.isRequired,\n\tlinkedAccounts: PropTypes.array.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(CloseAccountWithdrawalCash);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { userAccounts, withdrawFunds } from '@redux';\nimport { WireWithdrawalShortForm } from '@shared';\nimport { WireManuallyTabComponent } from '../../../AddBankAccountModal/components';\n\nconst styles = {};\n\nconst mapStateToProps = (state) => {\n\tconst resProps = {\n\t\ttoBankAccount: withdrawFunds.selectors.toBankAccount(state),\n\t\tcanShow: true,\n\t\tloading: false,\n\t};\n\tif (resProps.toBankAccount) {\n\t\treturn resProps;\n\t}\n\t// default if not set\n\tconst loading = userAccounts.selectors.loading(state) || userAccounts.selectors.accountInfo(state).loading;\n\tconst linkedAccounts = userAccounts.selectors.linkedAccounts(state);\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\n\tconst toBankAccount = (loading ? null : linkedAccounts.find(x => x.Type === 'WIRE')) || { Type: 'WIRE' };\n\treturn {\n\t\ttoBankAccount,\n\t\tcanShow: !!(accountStatus && accountStatus.CanWithdrawal && (toBankAccount.Code || accountStatus.CanWireLink)),\n\t\tloading,\n\t};\n};\nconst WIRE_LINK_AND_WITHDRAWAL_FORM = 'wireLinkAndWithdrawalForm';\nclass WithdrawFundsWireTab extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tstep: 'default',\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.checkFirstPage();\n\t}\n\n\tcomponentDidUpdate() {\n\t\tthis.checkFirstPage();\n\t}\n\n\tcheckFirstPage = () => {\n\t\tconst { step } = this.state;\n\t\tconst { loading, canShow } = this.props;\n\t\tif (step === 'default' && !loading && canShow) {\n\t\t\tconst isLinked = !!this.props.toBankAccount.Template;\n\t\t\tthis.setState({ step: isLinked ? 'amountform' : 'linkform' });\n\t\t}\n\t}\n\n\thandleGotoAmount = () => {\n\t\tthis.setState({ step: 'amountform' });\n\t}\n\n\tcreateSubmitHandleAction = (values, dispatch, props) => {\n\t\tconst {\n\t\t\tcurrentAccountData: {\n\t\t\t\tbaseParams: {\n\t\t\t\t\tCashToWithdrawValue: cashToWithdraw,\n\t\t\t\t},\n\t\t\t},\n\t\t} = props;\n\n\t\tif (parseFloat(values.wireWithdrawal.Amount) === cashToWithdraw) {\n\t\t\tthis.isAccountClosing = true;\n\t\t}\n\n\t\tconst isLinked = !!this.props.toBankAccount.Template;\n\t\treturn isLinked ?\n\t\t\twithdrawFunds.actions.withdrawFundsWireForm(values, dispatch) :\n\t\t\twithdrawFunds.actions.linkAndWithdrawFundsWireForm(values, dispatch);\n\t};\n\n\trender() {\n\t\tconst {\n\t\t\ttoBankAccount,\n\t\t\tcloseAccountFlow,\n\t\t\tonSuccess,\n\t\t} = this.props;\n\n\t\tconst { step } = this.state;\n\t\treturn (\n\t\t\t
\n\t\t\t\t{step === 'amountform' &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{step === 'linkform' &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nWithdrawFundsWireTab.propTypes = {\n\ttoBankAccount: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tcanShow: PropTypes.bool.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(WithdrawFundsWireTab);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Mouse from '@material-ui/icons/Mouse';\r\nimport TouchApp from '@material-ui/icons/TouchApp';\r\nimport { ModalPopups } from '@enums';\r\nimport {\r\n\tsignature,\r\n\tapp,\r\n} from '@redux';\r\nimport {\r\n\tModal,\r\n\tButton,\r\n} from '@components';\r\nimport { cabinetLog } from '@global';\r\nimport { SignatureArea } from './components';\r\n\r\nconst styles = theme => ({\r\n\tbody: {\r\n\t\tmarginTop: '24px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tbutton: {\r\n\t\tmarginTop: '32px',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tinstructionsContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\tmargin: '25px 0 15px',\r\n\t},\r\n\tinstructionsText: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\ticon: {\r\n\t\tmarginRight: '10px',\r\n\t},\r\n\tformError: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.red,\r\n\t\ttextAlign: 'left',\r\n\t\tmarginTop: '15px',\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsaveSignatureRequest: (account, image, guid) =>\r\n\t\t\tdispatch(signature.actions.saveSignatureRequest(account, image, guid)),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tresolution: app.selectors.resolution(state),\r\n\topenModalData: signature.selectors.openModalData(state),\r\n\tsubmitting: signature.selectors.submitting(state),\r\n});\r\n\r\nclass CreateSignatureModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {\r\n\t\t\tisEmpty: false,\r\n\t\t};\r\n\t\tthis.timerId = null;\r\n\t\tthis.signatureAreaInstance = null;\r\n\t\tthis.submit = this.submit.bind(this);\r\n\t}\r\n\r\n\tcomponentWillUnmount() {\r\n\t\tif (!this.timerId) {\r\n\t\t\tclearTimeout(this.timerId);\r\n\t\t}\r\n\t}\r\n\r\n\tsubmit() {\r\n\t\tif (this.signatureAreaInstance.isEmpty()) {\r\n\t\t\tcabinetLog('isEmpty');\r\n\t\t\tconst self = this;\r\n\t\t\tif (!this.timerId) {\r\n\t\t\t\tthis.setState({ isEmpty: true });\r\n\t\t\t\tthis.timerId = setTimeout(() => {\r\n\t\t\t\t\tself.setState({ isEmpty: false });\r\n\t\t\t\t\tself.timerId = null;\r\n\t\t\t\t}, 3000);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tconst { openModalData: { account, guid } } = this.props;\r\n\t\t\tconst image = this.signatureAreaInstance.getImage();\r\n\t\t\tthis.props.actions.saveSignatureRequest(account, image, guid);\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tclasses,\r\n\t\t\tresolution,\r\n\t\t\tsubmitting,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tCreate signature for {this.props.openModalData.personFullName}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{(resolution <= app.CONFIG.RESOLUTIONS_ENUM.sm) &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\tDraw signature with any finger you have and you want\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{(resolution > app.CONFIG.RESOLUTIONS_ENUM.sm) &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\tDraw signature with mouse or trackpad in field below\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t { this.signatureAreaInstance = ref; }}\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{this.state.isEmpty ? 'No Signature' : ''}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t: 'Submit Signature'\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nCreateSignatureModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(CreateSignatureModal);\r\n","export { default as SignatureArea } from './SignatureArea/SignatureArea';\r\n","/* eslint-disable no-return-assign */\r\nimport React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { Button } from '@components';\r\n\r\nimport PropTypes from 'prop-types';\r\nimport SignaturePad from 'signature_pad';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tposition: 'relative',\r\n\t},\r\n\tcanvas: {\r\n\t\twidth: '100%',\r\n\t\tminHeight: '150px',\r\n\t\tbackgroundColor: '#fff',\r\n\t},\r\n\tbuttons: {\r\n\t\tposition: 'absolute',\r\n\t\tbottom: '10px',\r\n\t\tright: '0',\r\n\t},\r\n\tbutton: {\r\n\t\tcolor: theme.typography.color.link,\r\n\t},\r\n});\r\n\r\nclass SignatureArea extends React.Component {\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.signaturePad = null;\r\n\t\tthis.canvasElement = null;\r\n\r\n\t\tthis.resizeCanvas = this.resizeCanvas.bind(this);\r\n\t\tthis.clearCanvas = this.clearCanvas.bind(this);\r\n\t\tthis.isEmpty = this.isEmpty.bind(this);\r\n\t\tthis.getImage = this.getImage.bind(this);\r\n\t}\r\n\tcomponentDidMount() {\r\n\t\tthis.props.onRef(this);\r\n\t\tthis.signaturePad = new SignaturePad(this.canvasElement);\r\n\t\twindow.addEventListener('resize', this.resizeCanvas);\r\n\t\tthis.resizeCanvas();\r\n\t}\r\n\r\n\tcomponentWillUnmount() {\r\n\t\twindow.removeEventListener('resize', this.resizeCanvas);\r\n\t}\r\n\tgetImage() {\r\n\t\treturn this.signaturePad.toDataURL();\r\n\t}\r\n\tclearCanvas() {\r\n\t\tthis.signaturePad.clear();\r\n\t}\r\n\tisEmpty() {\r\n\t\treturn this.signaturePad.isEmpty();\r\n\t}\r\n\r\n\tresizeCanvas() {\r\n\t\tconst ratio = Math.max(window.devicePixelRatio || 1, 1);\r\n\t\tthis.canvasElement.width = this.canvasElement.offsetWidth * ratio;\r\n\t\tthis.canvasElement.height = this.canvasElement.offsetHeight * ratio;\r\n\t\tthis.canvasElement.getContext('2d').scale(ratio, ratio);\r\n\t\tif (this.signaturePad !== null) {\r\n\t\t\tthis.signaturePad.clear();\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst { classes } = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t this.canvasElement = element}\r\n\t\t\t\t/>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tClear\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSignatureArea.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\t/**\r\n\t * Pass callback to get te component instance\r\n\t */\r\n\tonRef: PropTypes.func,\r\n};\r\n\r\nSignatureArea.defaultProps = {\r\n\tonRef: null,\r\n};\r\n\r\nexport default compose(withStyles(styles))(SignatureArea);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport IconButton from '@material-ui/core/IconButton';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { CopyToClipboard } from 'react-copy-to-clipboard';\nimport {\n\tA,\n\tButton,\n\tModal,\n\tErrorMessage,\n\tProgressContainer,\n\tSuccessMessage,\n\tSvgIcon,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { etnaAuth, profile, userAccounts } from '@redux';\nimport { env } from '@config';\n\nconst styles = theme => ({\n\tdownloadJsonButton: {\n\t\tmarginTop: '20px',\n\t},\n\tsuccessContent: {\n\t\ttextAlign: 'left',\n\t\tmarginTop: '20px',\n\t},\n\ttextTitle: {\n\t\tcolor: '#7d9eb7',\n\t\tfontSize: '14px',\n\t\tfontWeight: 400,\n\t\tlineHeight: '14px',\n\t},\n\ttextContent: {\n\t\tfontSize: '22px',\n\t\tfontWeight: 400,\n\t},\n});\n\n\nconst mapStateToProps = (state, props) => {\n\tconst userProfile = profile.selectors.profile(state);\n\tconst clients = etnaAuth.selectors.clients(state);\n\tconst modalParams = etnaAuth.selectors.modals(state)[ModalPopups.CREATE_APIKEY] || {};\n\treturn {\n\t\tclients,\n\t\temail: userProfile.PersonalInformation.Email,\n\t\tready: !userProfile.submitting && !clients.submitting && !modalParams.submitting,\n\t\tmodalParams,\n\t\tuserInfo: userAccounts.selectors.userInfo(state),\n\t};\n};\n\nconst mapDispatchToProps = (dispatch, props) => ({\n\tactions: {\n\t\tshowChangeEmailModal: () => dispatch(profile.actions.showChangeEmailModal()),\n\t\tapiKeyModalInit: () => dispatch(etnaAuth.actions.apiKeyModalInit.request()),\n\t},\n});\n\nfunction createCredentialFile(content) {\n\t// create a file and put the content, name and type\n\tconst file = new File([`${content}`], 'credentials.json', { type: 'text/json;charset=utf-8' });\n\n\t// create a ObjectURL in order to download the created file\n\tconst url = window.URL.createObjectURL(file);\n\n\t// create a hidden link and set the href and click it\n\tconst a = document.createElement('a');\n\ta.style = 'display: none';\n\ta.href = url;\n\ta.download = file.name;\n\ta.click();\n\twindow.URL.revokeObjectURL(url);\n}\n\nclass CreateApiKeyModal extends React.Component {\n\tcomponentDidMount() {\n\t\tthis.props.actions.apiKeyModalInit();\n\t}\n\n\thandleDownloadJson() {\n\t\tconst {\n\t\t\tuserInfo,\n\t\t\tmodalParams,\n\t\t} = this.props;\n\n\t\tconst objToDownload =\n\t\t{\n\t\t\tusername: userInfo.Login || '',\n\t\t\tpassword: '',\n\t\t\tclient_id: modalParams.СlientId,\n\t\t\tclient_secret: modalParams.CreatedSecretKey,\n\t\t\tgrant_type: 'password',\n\t\t\tbase_url: env.UsaApiServiceUrl,\n\t\t\tauth_url: env.OAuthServiceUrl,\n\t\t};\n\n\t\tconst content = JSON.stringify(objToDownload, null, '\\t');\n\n\t\tcreateCredentialFile(content);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tready,\n\t\t\tonClose,\n\t\t\tactions,\n\t\t\temail,\n\t\t\tmodalParams,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{!email && \n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tEmail is required. If you would like to change the email please proceed \n\t\t\t\t\t\t\t\t\there.\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t/>}\n\t\t\t\t\t{email && ready && !modalParams.error\n\t\t\t\t\t\t? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tPlease copy and save the Client ID and secret. This is the only time you can see the secret,\n\t\t\t\t\t\t\t\t\t\tit will disappear after navigating away from this page\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\tClient Id:\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{modalParams.СlientId}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\tClient secret:\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{modalParams.CreatedSecretKey}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t this.handleDownloadJson()}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tDOWNLOAD CREDENTIALS IN JSON\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbuttonText=\"Back To Account\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)\n\t\t\t\t\t\t: }\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nCreateApiKeyModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tactions: PropTypes.object.isRequired,\n\temail: PropTypes.string,\n\tuserInfo: PropTypes.object.isRequired,\n\tmodalParams: PropTypes.object.isRequired,\n\tready: PropTypes.bool,\n};\n\nCreateApiKeyModal.defaultProps = {\n\temail: null,\n\tready: false,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(CreateApiKeyModal);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { userAccounts, depositFunds } from '@redux';\r\nimport { ErrorMessage, Modal, ProgressContainer } from '@components';\r\nimport { connect } from 'react-redux';\r\nimport { DepositFundsForm } from './components';\r\n\r\nconst styles = {};\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst depositAchModal = depositFunds.selectors.depositAchModal(state);\r\n\tif (depositAchModal.bankAccount && depositAchModal.tradeAccount) {\r\n\t\treturn {\r\n\t\t\tdepositAchModal,\r\n\t\t\tcanShow: true,\r\n\t\t\tloading: false,\r\n\t\t};\r\n\t}\r\n\t// default if not set\r\n\tconst loading = userAccounts.selectors.loading(state) || userAccounts.selectors.accountInfo(state).loading;\r\n\tconst tradeAccount = userAccounts.selectors.currentTradeAccount(state);\r\n\tconst linkedAccounts = userAccounts.selectors.linkedAccounts(state);\r\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\r\n\tconst bankAccount = loading ? null : linkedAccounts.find(x => x.Type === 'ACH');\r\n\treturn {\r\n\t\tdepositAchModal: {\r\n\t\t\tbankAccount,\r\n\t\t\ttradeAccount,\r\n\t\t},\r\n\t\tcanShow: !!(accountStatus && accountStatus.CanFund && accountStatus.CanAchLink),\r\n\t\tloading,\r\n\t};\r\n};\r\n\r\nclass DepositFundsAchModal extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tcanShow,\r\n\t\t\tloading,\r\n\t\t\tonClose,\r\n\t\t\tdepositAchModal,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{canShow && !depositAchModal.bankAccount &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{!canShow &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{depositAchModal.bankAccount && canShow &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nDepositFundsAchModal.propTypes = {\r\n\tcanShow: PropTypes.bool.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\tdepositAchModal: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(DepositFundsAchModal);\r\n","export { default as DepositFundsForm } from './DepositFundsForm/DepositFundsForm';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport {\r\n\tuserAccounts,\r\n\tdepositFunds,\r\n} from '@redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n} from 'redux-form';\r\nimport {\r\n\tFormSelect,\r\n\tBankLogo,\r\n\tFormInputNumber,\r\n\tButton,\r\n\tLimeLogo,\r\n\tSuccessMessage,\r\n\tSvgIcon,\r\n} from '@components';\r\nimport { toUsaMoneyFormat } from '@global';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport { connect } from 'react-redux';\r\nimport LongArrow from './arrow.svg';\r\n// import j2tlogo from './j2t.png';\r\n\r\nconst styles = theme => ({\r\n\trow: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tamount: {\r\n\t\tmarginTop: '30px',\r\n\t\tpaddingLeft: '50px',\r\n\t},\r\n\tamountInput: {\r\n\t\tpaddingLeft: '70px',\r\n\t},\r\n\tbankAccountContainer: {},\r\n\taccountContainer: {\r\n\t\tmarginTop: '-15px',\r\n\t},\r\n\tlogo: {\r\n\t\tpadding: '16px 16px 4px 16px',\r\n\t\tposition: 'relative',\r\n\t\twidth: '80px',\r\n\t\theight: '44px',\r\n\t},\r\n\tarrow: {\r\n\t\tpaddingLeft: '24px',\r\n\t\theight: '36px',\r\n\t},\r\n\tinputContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\taccount: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'left',\r\n\t},\r\n\taccountBalance: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\tbutton: {\r\n\t\tmarginTop: '45px',\r\n\t},\r\n});\r\n\r\nconst DEPOSIT_ACH_FUNDS_FORM = 'depositAchFundsForm';\r\nconst formSelector = formValueSelector(DEPOSIT_ACH_FUNDS_FORM);\r\n\r\nconst mapStateToProps = (state, props) => ({\r\n\tinitialValues: {\r\n\t\tbankAccountNumber: props.bankAccount.Number,\r\n\t\ttradeCode: props.tradeAccount.tradeCode,\r\n\t\tclearerFirm: props.tradeAccount.clearerFirm,\r\n\t},\r\n\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\tselectedBankAccountNumber: formSelector(state, 'bankAccountNumber'),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\thideDepositFundsModal: () => dispatch(depositFunds.actions.hideDepositFundsModal()),\r\n\t},\r\n});\r\n\r\nclass DepositFundsForm extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\t\tif (!values.bankAccountNumber) {\r\n\t\t\terrors.bankAccountNumber = 'required';\r\n\t\t}\r\n\t\tif (!values.amount) {\r\n\t\t\terrors.amount = 'required';\r\n\t\t}\r\n\t\treturn errors;\r\n\t}\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tactions,\r\n\t\t\ttradeAccount,\r\n\t\t\tlinkedAccounts,\r\n\t\t\thandleSubmit,\r\n\t\t\tselectedBankAccountNumber,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\t...props\r\n\t\t} = this.props;\r\n\r\n\t\tconst linkedAchAccounts = linkedAccounts.filter(it => it.Type === 'ACH');\r\n\t\tconst selectedBankAccount = linkedAchAccounts.find(it => it.Number === selectedBankAccountNumber);\r\n\r\n\t\treturn submitSucceeded ? :\r\n\t\t\t(\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{selectedBankAccount &&\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{linkedAchAccounts &&\r\n\t\t\t\t\t\t\t\t(linkedAchAccounts.length > 0) &&\r\n\t\t\t\t\t\t\t\tlinkedAchAccounts.map((linkedAccount, index) => (\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t
*{linkedAccount.displayNumber}
\r\n\t\t\t\t\t\t\t\t\t\t\t{linkedAccount.Balance &&\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(linkedAccount.Balance)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{selectedBankAccount &&\r\n\t\t\t\t\t\t\t\"Long\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t
{tradeAccount.tradeCode}
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{props.submitting ?\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t: 'Deposit'\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t);\r\n\t}\r\n}\r\n\r\nDepositFundsForm.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tlinkedAccounts: PropTypes.array.isRequired,\r\n\tbankAccount: PropTypes.object,\r\n\ttradeAccount: PropTypes.object,\r\n\tselectedBankAccountNumber: PropTypes.string,\r\n\tsubmitSucceeded: PropTypes.bool,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: DEPOSIT_ACH_FUNDS_FORM,\r\n\t\tvalidate: DepositFundsForm.validate,\r\n\t}),\r\n)(DepositFundsForm);\r\n","module.exports = __webpack_public_path__ + \"content/assets/a246f69b6421246da09b380d847c4701.svg\";","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { userAccounts, depositFunds } from '@redux';\nimport { ErrorMessage, Modal, ProgressContainer } from '@components';\nimport { env } from '@config';\nimport { connect } from 'react-redux';\nimport { DepositFundsBrokerForm } from './components';\n\nconst styles = {};\n\nconst checkEnableWallet = (userInfo) => {\n\tconst userGuid = userInfo.Guid && userInfo.Guid.toUpperCase();\n\treturn userGuid && env.WEBCAB_5004_walletEnableUsers.includes(userGuid);\n};\n\nconst mapStateToProps = (state) => {\n\t/* \n\t const depositBrokerModal = depositFunds.selectors.depositBrokerModal(state);\n\tif (depositBrokerModal.bankAccount && depositBrokerModal.tradeAccount) {\n\t\treturn {\n\t\t\tdepositBrokerModal,\n\t\t\tcanShow: true,\n\t\t\tloading: false,\n\t\t};\n\t} */\n\t// default if not set\n\tconst loading = userAccounts.selectors.loading(state) || userAccounts.selectors.accountInfo(state).loading;\n\tconst tradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst linkedAccounts = userAccounts.selectors.linkedAccounts(state);\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\n\tconst bankAccount = loading ? null : {\n\t\tType: 'BROKER',\n\t\tNumber: '458408',\n\t\tBankName: 'J2T Account',\n\t};\n\treturn {\n\t\tdepositBrokerModal: {\n\t\t\tbankAccount,\n\t\t\ttradeAccount,\n\t\t},\n\t\tcanShow: !!(accountStatus && accountStatus.CanFund && checkEnableWallet(userAccounts.selectors.userInfo(state))),\n\t\tloading,\n\t};\n};\n\nclass DepositFundsBrokerModal extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tcanShow,\n\t\t\tloading,\n\t\t\tonClose,\n\t\t\tdepositBrokerModal,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{canShow && !depositBrokerModal.bankAccount &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{!canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{depositBrokerModal.bankAccount && canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nDepositFundsBrokerModal.propTypes = {\n\tcanShow: PropTypes.bool.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tdepositBrokerModal: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(DepositFundsBrokerModal);\n","export { default as DepositFundsBrokerForm } from './DepositFundsBrokerForm/DepositFundsBrokerForm';\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport {\n\tuserAccounts,\n\tdepositFunds,\n} from '@redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tFormSelect,\n\tBankLogo,\n\tFormInputNumber,\n\tButton,\n\tLimeLogo,\n\tSuccessMessage,\n\tSvgIcon,\n} from '@components';\nimport { WithdrawInfo, BrokerAccountInfo } from '@shared';\nimport { toUsaMoneyFormat } from '@global';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\nimport LongArrow from './arrow.svg';\nimport j2tlogo from './j2t.png';\n\nconst styles = theme => ({\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tamount: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\tamountInput: {\n\t\tpaddingLeft: '70px',\n\t},\n\tbankAccountContainer: {},\n\taccountContainer: {\n\t\t// marginTop: '-15px',\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tsourceAccountInfo: {\n\t\tmarginTop: '0',\n\t\tmarginBottom: '-48px',\n\t\tpaddingLeft: '50px',\n\t},\n\tdestinationAccountInfo: {\n\t\tmarginTop: '0',\n\t\tpaddingLeft: '50px',\n\t},\n\tarrow: {\n\t\tpaddingLeft: '24px',\n\t\theight: '84px',\n\t},\n\tarrowImg: {\n\t\tposition: 'relative',\n\t\tmarginTop: '-18px',\n\t\ttop: '50%',\n\n\t},\n\tbankAccountLogo: {\n\t\tposition: 'relative',\n\t\twidth: '42px',\n\t\theight: '42px',\n\t\ttop: '50%',\n\t\tmarginTop: '-21px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\taccountBalance: {\n\t\twidth: '100%',\n\t\ttextAlign: 'right',\n\t},\n\tbutton: {\n\t\tmarginTop: '45px',\n\t},\n});\n\nconst DEPOSIT_BROKER_FUNDS_FORM = 'depositBrokerFundsForm';\nconst formSelector = formValueSelector(DEPOSIT_BROKER_FUNDS_FORM);\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tbankAccount: ownProps.banklAccount,\n\t\t\tbankAccountNumber: ownProps.bankAccount.Number,\n\t\t\tbankAccountInfo: {\n\t\t\t\tsubmitting: false,\n\t\t\t\tcashToWithdrawValue: null,\n\t\t\t\ttotalAccountValue: null,\n\t\t\t},\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\n\t\t\tAmount: ownProps.amount,\n\t\t\tDirection: 'OnlineToInc',\n\t\t},\n\t\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\n\t\tselectedBankAccountNumber: formSelector(state, 'bankAccountNumber'),\n\t\tgetFormValue: fieldName => formValueSelector(DEPOSIT_BROKER_FUNDS_FORM)(state, fieldName),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\thideDepositFundsModal: () => dispatch(depositFunds.actions.hideDepositFundsModal()),\n\t},\n});\n\nclass DepositFundsForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\t\tif (!values.bankAccountNumber) {\n\t\t\terrors.bankAccountNumber = 'required';\n\t\t}\n\t\tif (!values.amount) {\n\t\t\terrors.amount = 'required';\n\t\t}\n\t\treturn errors;\n\t}\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\ttradeAccount,\n\t\t\tlinkedAccounts,\n\t\t\thandleSubmit,\n\t\t\tselectedBankAccountNumber,\n\t\t\tsubmitSucceeded,\n\t\t\tbankAccount,\n\t\t\tgetFormValue,\n\t\t\tform,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\tconst linkedBrokerAccounts = [{\n\t\t\tType: 'BROKER',\n\t\t\tNumber: bankAccount.Number,\n\t\t\tdisplayNumber: bankAccount.Number,\n\t\t\tBalance: undefined,\n\t\t}]; // linkedAccounts.filter(it => it.Type === 'BROKER');\n\t\tconst selectedBankAccount = linkedBrokerAccounts.find(it => it.Number === selectedBankAccountNumber);\n\n\t\treturn submitSucceeded ? :\n\t\t\t(\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{selectedBankAccount &&\n\t\t\t\t\t\t\t\t\t\"Just2Trade\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{linkedBrokerAccounts &&\n\t\t\t\t\t\t\t\t(linkedBrokerAccounts.length > 0) &&\n\t\t\t\t\t\t\t\tlinkedBrokerAccounts.map((linkedAccount, index) => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
*{linkedAccount.displayNumber}
\n\t\t\t\t\t\t\t\t\t\t\t{linkedAccount.Balance &&\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(linkedAccount.Balance)}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{getFormValue('bankAccountNumber') &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{selectedBankAccount &&\n\t\t\t\t\t\t\t\"Long\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
{tradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{props.submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Deposit'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t);\n\t}\n}\n\nDepositFundsForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tlinkedAccounts: PropTypes.array.isRequired,\n\tbankAccount: PropTypes.object.isRequired,\n\ttradeAccount: PropTypes.object.isRequired,\n\tselectedBankAccountNumber: PropTypes.string,\n\tsubmitSucceeded: PropTypes.bool,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: DEPOSIT_BROKER_FUNDS_FORM,\n\t\tvalidate: DepositFundsForm.validate,\n\t}),\n)(DepositFundsForm);\n","module.exports = __webpack_public_path__ + \"content/assets/ba345831c9ac5414e31c378253cb8ba9.svg\";","module.exports = __webpack_public_path__ + \"content/assets/ff8b5f14870755227dd65d9ba8743bfb.png\";","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { userAccounts, depositFunds } from '@redux';\r\nimport { Modal, ProgressContainer } from '@components';\r\nimport { WireDepositPage } from '@shared';\r\n\r\nconst mapStateToProps = state => ({\r\n\tready: !userAccounts.selectors.accountInfo(state).loading,\r\n\tdepositWireModal: depositFunds.selectors.depositWireModal(state),\r\n});\r\n\r\nclass DepositFundsWireModal extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tready,\r\n\t\t\tdepositWireModal,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nDepositFundsWireModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tready: PropTypes.bool.isRequired,\r\n\tdepositWireModal: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default connect(mapStateToProps, null)(DepositFundsWireModal);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { userAccounts } from '@redux';\nimport { ErrorMessage, Modal, ProgressContainer } from '@components';\nimport { connect } from 'react-redux';\nimport { DepositFundsIraForm } from './components';\n\nconst styles = {};\n\nconst mapStateToProps = (state) => {\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\n\t// default if not set\n\tconst loading = userAccounts.selectors.loading(state) || accountInfo.loading;\n\tconst tradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\n\treturn {\n\t\tdepositIraModal: {\n\t\t\ttradeAccount,\n\t\t},\n\t\tcanShow: !!(accountStatus && accountStatus.CanFund && accountInfo.IsIra\n\t\t\t&& (tradeAccount.clearerFirm !== 'vision' || accountInfo.IraType)\n\t\t),\n\t\tloading,\n\t};\n};\n\nclass DepositFundsIraModal extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tcanShow,\n\t\t\tloading,\n\t\t\tonClose,\n\t\t\tdepositIraModal,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{!canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nDepositFundsIraModal.propTypes = {\n\tcanShow: PropTypes.bool.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tdepositIraModal: PropTypes.shape({\n\t\ttradeAccount: PropTypes.shape({\n\t\t\ttradeCode: PropTypes.string.isRequired,\n\t\t\tclearerFirm: PropTypes.string.isRequired,\n\t\t}).isRequired,\n\t}).isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(DepositFundsIraModal);\n","export { default as DepositFundsIraForm } from './DepositFundsIraForm/DepositFundsIraForm';\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport {\n\tuserAccounts,\n\tdepositFunds,\n} from '@redux';\nimport { IraTypes } from '@enums';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tA,\n\tLink,\n\tFormSelect,\n\tFormInputNumber,\n\tButton,\n\tDivider,\n\tFileInput,\n\tLimeLogo,\n\tSuccessMessage,\n\tSvgIcon,\n} from '@components';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect, useDispatch } from 'react-redux';\n\nconst styles = theme => ({\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tamount: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\taccountContainer: {\n\t\t// marginTop: '-15px',\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tdivider: { marginTop: '24px' },\n\tbutton: {\n\t\tmarginTop: '45px',\n\t},\n});\n\nconst DEPOSIT_FUNDS_IRA_FORM = 'depositFundsIraForm';\nconst formSelector = formValueSelector(DEPOSIT_FUNDS_IRA_FORM);\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\n\t\t\tAmount: ownProps.amount,\n\t\t\tAttachments: [],\n\t\t},\n\t\tcurrentTradeAccount,\n\t\tgetFormValue: fieldName => formSelector(state, fieldName),\n\t\tiraType: accountInfo.IraType,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\thideDepositFundsIraModal: () => dispatch(depositFunds.actions.hideDepositFundsIraModal()),\n\t},\n});\n\nconst CorDepositInstruction = (tradeAccount) => {\n\tconst dispatch = useDispatch();\n\tconst actions = {\n\t\tshowDepositFundsWireModal: () =>\n\t\t\tdispatch(depositFunds.actions.showDepositFundsWireModal(null)),\n\t};\n\treturn (\n\t\t\n\t\t\t

IRA Contributions may be made by Check, Wire or Journal. Additional documentation may be required depending on how the contribution is submitted.

\n\t\t\t
    \n\t\t\t\t
  1. Checks may be made payable to Axos Clearing and mailed to 1200 Landmark Center, Suite 800 Omaha, NE 68102. Submit a note on the memo line or a separate letter of instruction to indicate if the contribution is a current or prior year contribution.
  2. \t\n\t\t\t\t
  3. Wire – Please see wire instructions here and indicate the contribution year in the memo line. Please note that you don't need to submit a request using form below.
  4. \n\t\t\t\t
  5. Journal - Fill and submit LOA for Internal Transfer form (LOA_for_Internal_Transfer.pdf) if you have a retail account that you want to transfer from.
  6. \n\t\t\t\t
  7. ACAT – Fill and submit the ACAT form (ACAT_Account_Transfer_Form.pdf ) along with a copy of your recent IRA statement from contra firm. Please note ACAT transfer is available from another IRA account only.
  8. \n\t\t\t
\n\t\t\t

Link

\n\t\t\t

Please note Partial recurring transfer and ACH are not an available method of distribution.

\n\t\t
\n\t);\n};\nconst VisionDepositInstruction = ({ iraType }) => {\n\tswitch (iraType) {\n\tcase IraTypes.STRATA: return (\n\t\t\n\t\t\t

IRA Contributions may be made by Check or Wire. Additional documentation may be required depending on how the contribution is submitted.

\n\t\t\t
    \n\t\t\t\t
  1. Fill and submit the Deposit Certification form (STRATA_Trust_IRA_Deposit_Certification.pdf). Instructions for Check or Wire are on the deposit form. Please be sure to indicate your contribution year on the check or wire memo.
  2. \n\t\t\t\t
  3. ACAT – instructions available in a separate form
  4. \n\t\t\t
\n\t\t\t

Please note ACH is not available as a method of deposit.

\n\t\t
\n\t);\n\tcase IraTypes.EQUITY_TRUST: return (\n\t\t\n\t\t\t

IRA Contributions may be made by Check or Wire. Additional documentation may be required depending on how the contribution is submitted.

\n\t\t\t
    \n\t\t\t\t
  1. Fill and submit the Deposit slip for contribution (Equity_Institutional_IRA_Deposits.pdf). Instructions for Check or Wire are on the Deposit coupon. Please be sure to indicate your contribution year on the check or wire memo. In addition, Fill and submit the DOI form (Trading Account Buy DOI-Rev092419.pdf)
  2. \n\t\t\t\t
  3. ACAT – instructions available in a separate form
  4. \n\t\t\t
\n\t\t
\n\t);\n\tdefault: return ;\n\t}\n};\n\nconst DepositInstruction = ({ tradeAccount, iraType }) => {\n\tswitch (tradeAccount.clearerFirm) {\n\tcase 'cor': return ;\n\tcase 'vision': return ;\n\tdefault: return ;\n\t}\n};\n\nclass DepositFundsIraForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values.Amount) {\n\t\t\terrors.Amount = 'required';\n\t\t}\n\n\t\tif (!values.Attachments || values.Attachments.length === 0) {\n\t\t\terrors.Attachments = 'required';\n\t\t}\n\t\treturn errors;\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\tiraType,\n\t\t\ttradeAccount,\n\t\t\thandleSubmit,\n\t\t\tsubmitSucceeded,\n\t\t\tgetFormValue,\n\t\t\tcurrentTradeAccount,\n\t\t\tinvalid,\n\t\t\tpristine,\n\t\t\tchange,\n\t\t\tsubmitting,\n\t\t} = this.props;\n\t\tconst noAttachments = (getFormValue('Attachments') || []).length === 0;\n\t\treturn submitSucceeded ? :\n\t\t\t(\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
{currentTradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t change('Attachments', data)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Deposit'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t);\n\t}\n}\n\nDepositFundsIraForm.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\ttradeAccount: PropTypes.shape({\n\t\ttradeCode: PropTypes.string.isRequired,\n\t\tclearerFirm: PropTypes.string.isRequired,\n\t}).isRequired,\n\tgetFormValue: PropTypes.func.isRequired,\n\tsubmitSucceeded: PropTypes.bool,\n\tiraType: PropTypes.oneOf(Object.values(IraTypes)),\n};\nDepositFundsIraForm.defaultProps = {\n\tsubmitSucceeded: null,\n\tiraType: null,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: DEPOSIT_FUNDS_IRA_FORM,\n\t\tvalidate: DepositFundsIraForm.validate,\n\t}),\n)(DepositFundsIraForm);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { ModalPopups } from '@enums';\nimport { ipo, userAccounts } from '@redux';\nimport { Modal, SuccessMessage } from '@components';\nimport { IpoCreateOrderForm } from '@shared';\n\nconst styles = {};\n\nconst mapStateToProps = state => ({\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\tipoCreatingOrder: ipo.selectors.ipoCreatingOrder(state),\n});\n\nclass IpoCreateOrderModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tsucceeded: false,\n\t\t};\n\t}\n\n\tonSuccess = () => {\n\t\tthis.setState({ succeeded: true });\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tcurrentTradeAccount,\n\t\t\tipoCreatingOrder,\n\t\t\tonClose,\n\t\t} = this.props;\n\n\t\tconst { succeeded } = this.state;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{succeeded ?\n\t\t\t\t\t\n\t\t\t\t\t:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nIpoCreateOrderModal.propTypes = {\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tipoCreatingOrder: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(IpoCreateOrderModal);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\r\nimport { ModalPopups } from '@enums';\r\nimport {\r\n\ttradePlatforms,\r\n\tuserAccounts,\r\n} from '@redux';\r\nimport {\r\n\tModal,\r\n\tButton,\r\n\tA,\r\n\tInfoMessage,\r\n} from '@components';\r\nimport { connect } from 'react-redux';\r\nimport limeLogo from './imgs/lime_trading_logo.png';\r\n\r\nconst styles = theme => ({\r\n\ttitle: {\r\n\t\t...theme.typography.style.display,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tbody: {\r\n\t\tmarginTop: '24px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdescription: {\r\n\t\tmarginBottom: '5px',\r\n\t},\r\n\tlist: {\r\n\t\tmargin: '0',\r\n\t\tlistStyleType: 'none',\r\n\t\tlineHeight: '35px',\r\n\t\tpadding: '0',\r\n\t\t'& li:': {\r\n\t\t\t'&:before': {\r\n\t\t\t\tcontent: '\"—\"',\r\n\t\t\t\tmarginRight: '20px',\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tbutton: {\r\n\t\tmarginTop: '32px',\r\n\t\tbackgroundColor: '#e3edf5',\r\n\t},\r\n\tbuttonDownload: {\r\n\t\tmarginTop: '32px',\r\n\t},\r\n\tnoteText: {\r\n\t\tmarginTop: '32px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tspclogo: {\r\n\t\tposition: 'relative',\r\n\t\theight: '48px',\r\n\t\tmarginRight: 'auto',\r\n\t\tmarginLeft: 'auto',\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tactivatePlatform: (account, tradePlatform) =>\r\n\t\t\tdispatch(tradePlatforms.actions.activatePlatformRequest(account, tradePlatform)),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tplatforms: userAccounts.selectors.platforms(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\tsubmitting: tradePlatforms.selectors.submitting(state),\r\n});\r\n\r\nconst PLATFORM = 'Transaq';\r\n\r\nclass J2tLiteModal extends React.Component {\r\n\tactivatePlatform = () => {\r\n\t\tthis.props.actions.activatePlatform(\r\n\t\t\tthis.props.currentTradeAccount,\r\n\t\t\tPLATFORM,\r\n\t\t);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tclasses,\r\n\t\t\tsubmitting,\r\n\t\t\tplatforms: {\r\n\t\t\t\tActiveTradePlatform,\r\n\t\t\t\tPendingTradePlatform,\r\n\t\t\t},\r\n\t\t\tcurrentAccountData: { baseParams },\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{baseParams && baseParams.HasOptions ?\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tThis trading platform doesn"t support options trading.
\r\n\t\t\t\t\t\t\t\t\tIn order to switch between platforms you have to close all the option positions in your portfolio.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t:\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\tonClose={onClose}\r\n\t\t\t\t\t\tbgColor=\"#f9fcfd\"\r\n\t\t\t\t\t\ttextColor=\"#345464\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\tLime Trader\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\tAccess to US Stock and equity options markets using a host of advanced, customizable, easy-to-use trading tools. The Lime Trader offers traders:\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t
  • Clean, uncluttered, web-based interface
  • \r\n\t\t\t\t\t\t\t\t
  • Access to US stocks, Equity Options, ETFs & ADRs
  • \r\n\t\t\t\t\t\t\t\t
  • Multi-Leg Option Orders & Position Grouping
  • \r\n\t\t\t\t\t\t\t\t
  • Real time, streaming quotes
  • \r\n\t\t\t\t\t\t\t\t
  • Watchlists synced with mobile app
  • \r\n\t\t\t\t\t\t\t\t
  • Borrow Hard to Borrow stocks
  • \r\n\t\t\t\t\t\t\t\t
  • Trading from fully customizable charts
  • \r\n\t\t\t\t\t\t\t\t
  • Hot Keys for Order Entry
  • \r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{PendingTradePlatform && PendingTradePlatform === PLATFORM &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tACTIVATION REQUESTED\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{!PendingTradePlatform && ActiveTradePlatform !== PLATFORM &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t: 'Activate'\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{ActiveTradePlatform === PLATFORM &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\tTrading platform becomes available on the next day after activation.
\r\n\t\t\t\t\t\tPlease note that only one trading platform may be used at a time.\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t
);\r\n\t}\r\n}\r\n\r\nJ2tLiteModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(J2tLiteModal);\r\n","module.exports = __webpack_public_path__ + \"content/assets/e130dfc990eff28b7b8c9941341db6e2.png\";","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport {\r\n\ttradePlatforms,\r\n\tuserAccounts,\r\n} from '@redux';\r\nimport {\r\n\tModal,\r\n\tButton,\r\n\tA,\r\n} from '@components';\r\nimport { connect } from 'react-redux';\r\nimport logo from './imgs/j2t-plus.png';\r\n\r\nconst styles = theme => ({\r\n\ttitle: {\r\n\t\t...theme.typography.style.display,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tbody: {\r\n\t\tmarginTop: '24px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdescription: {\r\n\t\tmarginBottom: '5px',\r\n\t},\r\n\tlist: {\r\n\t\tmargin: '0',\r\n\t\tlistStyleType: 'none',\r\n\t\tlineHeight: '35px',\r\n\t\tpadding: '0',\r\n\t\t'& li:': {\r\n\t\t\t'&:before': {\r\n\t\t\t\tcontent: '\"—\"',\r\n\t\t\t\tmarginRight: '20px',\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tbutton: {\r\n\t\tmarginTop: '32px',\r\n\t\tbackgroundColor: '#e3edf5',\r\n\t},\r\n\tbuttonDownload: {\r\n\t\tmarginTop: '32px',\r\n\t},\r\n\tnoteText: {\r\n\t\tmarginTop: '32px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tactivatePlatform: (account, tradePlatform) =>\r\n\t\t\tdispatch(tradePlatforms.actions.activatePlatformRequest(account, tradePlatform)),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tplatforms: userAccounts.selectors.platforms(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tsubmitting: tradePlatforms.selectors.submitting(state),\r\n});\r\n\r\nconst PLATFORM = 'Just2Trade';\r\n\r\nclass J2tPlusModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.activatePlatform = this.activatePlatform.bind(this);\r\n\t}\r\n\r\n\tactivatePlatform() {\r\n\t\tthis.props.actions.activatePlatform(\r\n\t\t\tthis.props.currentTradeAccount,\r\n\t\t\tPLATFORM,\r\n\t\t);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tclasses,\r\n\t\t\tsubmitting,\r\n\t\t\tplatforms: {\r\n\t\t\t\tActiveTradePlatform,\r\n\t\t\t\tPendingTradePlatform,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t}\r\n\t\t\t\tonClose={onClose}\r\n\t\t\t\tbgColor=\"#f9fcfd\"\r\n\t\t\t\ttextColor=\"#345464\"\r\n\t\t\t\tclassName={`QA-${ModalPopups.J2T_PLUS}`}\r\n\t\t\t>\r\n\t\t\t\t
\r\n\t\t\t\t\tJust2Trade +\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t

\r\n\t\t\t\t\t\tTrade stocks & options with classic trading platform.\r\n\t\t\t\t\t

\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
  • Customizable interface
  • \r\n\t\t\t\t\t\t
  • Access to U.S. exchanges
  • \r\n\t\t\t\t\t\t
  • Web-based
  • \r\n\t\t\t\t\t\t
  • Real-time streaming market data
  • \r\n\t\t\t\t\t\t
  • Real-time analysis
  • \r\n\t\t\t\t\t\t
  • Easy accessibility
  • \r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{PendingTradePlatform && PendingTradePlatform === PLATFORM &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tACTIVATION REQUESTED\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{!PendingTradePlatform && ActiveTradePlatform !== PLATFORM &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t: 'Activate'\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{ActiveTradePlatform === PLATFORM &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\tTrading platform becomes available on the next day after activation.
\r\n\t\t\t\t\tPlease note that only one trading platform may be used at a time.\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nJ2tPlusModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(J2tPlusModal);\r\n","module.exports = __webpack_public_path__ + \"content/assets/3d0f8510465940715cd611ac9a7cf47a.png\";","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport {\r\n\ttradePlatforms,\r\n\tuserAccounts,\r\n} from '@redux';\r\nimport {\r\n\tModal,\r\n\tButton,\r\n\tA,\r\n\tInfoMessage,\r\n} from '@components';\r\nimport { env } from '@config';\r\nimport { connect } from 'react-redux';\r\nimport logo from './j2t-pro.png';\r\n\r\nconst styles = theme => ({\r\n\ttitle: {\r\n\t\t...theme.typography.style.display,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tlogo: {\r\n\t\twidth: '350px',\r\n\t},\r\n\tbody: {\r\n\t\tmarginTop: '24px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdescription: {\r\n\t\tmarginBottom: '5px',\r\n\t},\r\n\tlist: {\r\n\t\tmargin: '0',\r\n\t\tlistStyleType: 'none',\r\n\t\tlineHeight: '35px',\r\n\t\tpadding: '0',\r\n\t\t'& li:': {\r\n\t\t\t'&:before': {\r\n\t\t\t\tcontent: '\"—\"',\r\n\t\t\t\tmarginRight: '20px',\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tbutton: {\r\n\t\tmarginTop: '32px',\r\n\t\tbackgroundColor: '#e3edf5',\r\n\t},\r\n\tbuttonDownload: {\r\n\t\tmarginTop: '32px',\r\n\t},\r\n\tnoteText: {\r\n\t\tmarginTop: '32px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tactivatePlatform: (account, tradePlatform) =>\r\n\t\t\tdispatch(tradePlatforms.actions.activatePlatformRequest(account, tradePlatform)),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tplatforms: userAccounts.selectors.platforms(state),\r\n\tsubmitting: tradePlatforms.selectors.submitting(state),\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n});\r\n\r\nconst PLATFORM = 'Transaq';\r\n\r\nclass J2tProModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.activatePlatform = this.activatePlatform.bind(this);\r\n\t}\r\n\r\n\tactivatePlatform() {\r\n\t\tthis.props.actions.activatePlatform(\r\n\t\t\tthis.props.currentTradeAccount,\r\n\t\t\tPLATFORM,\r\n\t\t);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tclasses,\r\n\t\t\tsubmitting,\r\n\t\t\tplatforms: {\r\n\t\t\t\tActiveTradePlatform,\r\n\t\t\t\tPendingTradePlatform,\r\n\t\t\t},\r\n\t\t\tcurrentAccountData: { baseParams },\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t{baseParams && baseParams.HasOptions ?\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tThis trading platform doesn"t support options trading.
\r\n\t\t\t\t\t\t\t\t\tIn order to switch between platforms you have to close all the option positions in your portfolio.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbuttonText=\"Close\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t :\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\"J2T\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\tA fully-fledged trading system, which offers simple, convenient,\r\n\t\t\t\t\t\t\t\tfriendly and intuitive interface, high speed and reliable operations.\r\n\t\t\t\t\t\t\t\tThis trading platform offers exhaustive list of tools and functions.\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t
  • Fast MDI desktop application
  • \r\n\t\t\t\t\t\t\t\t
  • Real-time quotes
  • \r\n\t\t\t\t\t\t\t\t
  • Market depth
  • \r\n\t\t\t\t\t\t\t\t
  • Different types of orders
  • \r\n\t\t\t\t\t\t\t\t
  • Automated triggered orders
  • \r\n\t\t\t\t\t\t\t\t
  • Historical data
  • \r\n\t\t\t\t\t\t\t\t
  • Technical indicators are built into the terminal
  • \r\n\t\t\t\t\t\t\t\t
  • Structured news feed
  • \r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{PendingTradePlatform && PendingTradePlatform === PLATFORM &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tACTIVATION REQUESTED\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{!PendingTradePlatform && ActiveTradePlatform !== PLATFORM &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Activate'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{ActiveTradePlatform === PLATFORM &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\tTrading platform becomes available on the next day after activation.
\r\n\t\t\t\t\t\t\tPlease note that only one trading platform may be used at a time.\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t
);\r\n\t}\r\n}\r\n\r\nJ2tProModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(J2tProModal);\r\n","module.exports = __webpack_public_path__ + \"content/assets/0c098aff35c896b060c96a06c0e2e86f.png\";","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { signature } from '@redux';\nimport { connect } from 'react-redux';\nimport { Modal, ProgressContainer } from '@components';\n\nconst mapStateToProps = state => ({\n\tloading: signature.selectors.submitting(state),\n\trequreSignature: !(signature.selectors.HasSignes(state) || signature.selectors.signatureSubmitted(state)),\n});\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tstartCheckSignature: () => {\n\t\t\tdispatch(signature.actions.requireSignatureAndReturn());\n\t\t},\n\t},\n});\n\nclass RequireSignatureModal extends React.Component {\n\tcomponentDidMount() {\n\t\tthis.checkSignature();\n\t}\n\n\tcomponentDidUpdate() {\n\t\tthis.checkSignature();\n\t}\n\n\tcheckSignature = () => {\n\t\tconst { actions, loading, requreSignature } = this.props;\n\t\tif (!loading && requreSignature) {\n\t\t\tactions.startCheckSignature();\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tloading,\n\t\t\tchildren,\n\t\t\t...otherprops\n\t\t} = this.props;\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{children}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nRequireSignatureModal.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\trequreSignature: PropTypes.bool.isRequired,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RequireSignatureModal);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport {\r\n\ttradePlatforms,\r\n\tuserAccounts,\r\n} from '@redux';\r\nimport {\r\n\tModal,\r\n\tButton,\r\n\tA,\r\n} from '@components';\r\nimport { connect } from 'react-redux';\r\nimport { env } from '@config';\r\nimport logo from './imgs/stpro.png';\r\n\r\nconst styles = theme => ({\r\n\ttitle: {\r\n\t\t...theme.typography.style.display,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tbody: {\r\n\t\tmarginTop: '24px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdescription: {\r\n\t\tmarginBottom: '5px',\r\n\t},\r\n\tlist: {\r\n\t\tmargin: '0',\r\n\t\tlistStyleType: 'none',\r\n\t\tlineHeight: '35px',\r\n\t\tpadding: '0',\r\n\t\t'& li:': {\r\n\t\t\t'&:before': {\r\n\t\t\t\tcontent: '\"—\"',\r\n\t\t\t\tmarginRight: '20px',\r\n\t\t\t},\r\n\t\t},\r\n\t},\r\n\tbutton: {\r\n\t\tmarginTop: '32px',\r\n\t\tbackgroundColor: '#e3edf5',\r\n\t},\r\n\tbuttonDownload: {\r\n\t\tmarginTop: '32px',\r\n\t},\r\n\tnoteText: {\r\n\t\tmarginTop: '32px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tactivatePlatform: (account, tradePlatform) =>\r\n\t\t\tdispatch(tradePlatforms.actions.activatePlatformRequest(account, tradePlatform)),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tplatforms: userAccounts.selectors.platforms(state),\r\n\tsubmitting: tradePlatforms.selectors.submitting(state),\r\n});\r\n\r\nconst PLATFORM = 'Sterling';\r\n\r\nclass StProModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.activatePlatform = this.activatePlatform.bind(this);\r\n\t}\r\n\r\n\tactivatePlatform() {\r\n\t\tthis.props.actions.activatePlatform(\r\n\t\t\tthis.props.currentTradeAccount,\r\n\t\t\tPLATFORM,\r\n\t\t);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tclasses,\r\n\t\t\tsubmitting,\r\n\t\t\tplatforms: {\r\n\t\t\t\tActiveTradePlatform,\r\n\t\t\t\tPendingTradePlatform,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t}\r\n\t\t\t\tonClose={onClose}\r\n\t\t\t\tbgColor=\"#f9fcfd\"\r\n\t\t\t\ttextColor=\"#345464\"\r\n\t\t\t\tclassName={`QA-${ModalPopups.ST_PRO}`}\r\n\t\t\t>\r\n\t\t\t\t
\r\n\t\t\t\t\tSterling Trader® Pro\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t

\r\n\t\t\t\t\t\tTrade stocks & options. Sterling Trader® Pro provides\r\n\t\t\t\t\t\ttraders with the performance and functionality they need to compete in today's\r\n\t\t\t\t\t\tmarkets with powerful options trading tools. The combination of powerful performance\r\n\t\t\t\t\t\tand configurability gives traders complete control over their\r\n\t\t\t\t\t\ttrading for equity markets.\r\n\t\t\t\t\t

\r\n\t\t\t\t
\r\n\t\t\t\t{PendingTradePlatform && PendingTradePlatform === PLATFORM &&\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tACTIVATION REQUESTED\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{!PendingTradePlatform && ActiveTradePlatform !== PLATFORM &&\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t: 'Activate'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{ActiveTradePlatform === PLATFORM &&\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\tTrading platform becomes available on the next day after activation.
\r\n\t\t\t\t\tPlease note that only one trading platform may be used at a time.\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nStProModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(StProModal);\r\n","module.exports = __webpack_public_path__ + \"content/assets/8fd9d9e4be73f8dcc601e7db78cbe0d5.png\";","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport moment from 'moment';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { ModalPopups } from '@enums';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n} from 'redux-form';\r\nimport {\r\n\tButton,\r\n\tFileInput,\r\n\tFormInput,\r\n\tModal,\r\n\tSuccessMessage,\r\n} from '@components';\r\nimport { dashboard, notifications } from '@redux';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\twordWrap: 'break-word',\r\n\t},\r\n\tbody: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tmarginTop: '16px',\r\n\t\twordWrap: 'break-word',\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tmessage: notifications.selectors.message(state),\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch, props) => ({\r\n\tactions: {\r\n\t\tnotificationsOpen: () => dispatch(dashboard.actions.notificationsOpen()),\r\n\t},\r\n});\r\n\r\nclass MessageModal extends React.Component {\r\n\tcloseModal = (event) => {\r\n\t\tif (this.props.onClose) {\r\n\t\t\tthis.props.onClose(event);\r\n\t\t}\r\n\t\tthis.props.actions.notificationsOpen();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tmessage,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{message &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
{message.Title}
\r\n\t\t\t\t\t\t
{moment.utc(message.MessageDate).local().format('D MMM YYYY HH:mm')}
\r\n\t\t\t\t\t\t{/* eslint-disable-next-line react/no-danger */}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nMessageModal.defaultProps = {\r\n\tmessage: null,\r\n};\r\n\r\nMessageModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\tmessage: PropTypes.object,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(MessageModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { linkedAccounts, userAccounts } from '@redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n} from 'redux-form';\r\nimport {\r\n\tModal,\r\n\tFormRadioGroup,\r\n\tRadio,\r\n\tButton,\r\n\tErrorMessage,\r\n} from '@components';\r\nimport { PlaidAccountRadioItem } from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\tformroot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\taccItem: {\r\n\t\twidth: '100%',\r\n\t\tmargin: '12px',\r\n\t},\r\n\titem: {\r\n\t\tborderBottom: '1px solid #deeaef',\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: '#e3edf5',\r\n\t\t},\r\n\t},\r\n\tbutton: {\r\n\t\t...theme.typography.style.stickyButton,\r\n\t},\r\n});\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tinitialValues: {\r\n\t\tTradeCode: userAccounts.selectors.currentAccount(state),\r\n\t},\r\n\tbankAccounts: linkedAccounts.selectors.bankAccounts(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {},\r\n});\r\n\r\n\r\nclass PlaidSelectAccountModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.LinkAccountNo) {\r\n\t\t\terrors.LinkAccountNo = 'required';\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tsubmitting,\r\n\t\t\tinvalid,\r\n\t\t\tbankAccounts,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{bankAccounts && bankAccounts.loading &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{bankAccounts && !bankAccounts.loading && bankAccounts.error &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{bankAccounts && !bankAccounts.loading && !bankAccounts.error &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{bankAccounts.accounts.map(item => (\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Link Bank Account'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nPlaidSelectAccountModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tbankAccounts: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: 'PlaidSelectAccountForm',\r\n\t\tvalidate: PlaidSelectAccountModal.validate,\r\n\t}),\r\n)(PlaidSelectAccountModal);\r\n","import React from 'react';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { withRouter } from 'react-router';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile } from '@redux';\r\nimport {\r\n\tCYChangePasswordModal,\r\n\tChangeDeliveryTypeModal,\r\n\tChangeProfileAddressModal,\r\n\tChangeProfilePostAddressModal,\r\n\tChangeProfileEmailModal,\r\n\tChangeProfilePhoneModal,\r\n\tChangeTariffPerShareModal,\r\n\tChangeTariffPerTradeModal,\r\n\tChangeTariffZeroModal,\r\n\tChangeTaxFormModal,\r\n\tChangeInvestmentProfileModal,\r\n\tChangeInvestmentExperienceModal,\r\n\tChangeEmploymentModal,\r\n\tChangeMaritalStatusModal,\r\n\tChangeMarketDataSubscriberStatusModal,\r\n\tChangeMarketDataSubscriptionsModal,\r\n\tEnableThirdPartyMarketDataModal,\r\n\tChangeDependentsModal,\r\n\tConfirmProfileModal,\r\n\tChangeTwoFactorAuthorizationModal,\r\n} from './components';\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\thideConfirmProfileEmailModal: () => dispatch(profile.actions.hideConfirmEmailModal()),\r\n\t\thideProfileModal: modalId => dispatch(profile.actions.hideProfileModal(modalId)),\r\n\t},\r\n});\r\n\r\nclass ProfileModals extends React.Component {\r\n\tgetProfileModal = (item) => {\r\n\t\t// !!! Modals must be in current order !!!\r\n\r\n\t\tswitch (item) {\r\n\t\t\tcase ModalPopups.CY_CHANGE_PASSWORD:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CY_CHANGE_PASSWORD)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_DELIVERY_TYPE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_DELIVERY_TYPE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_PROFILE_ADDRESS:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_PROFILE_ADDRESS)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_PROFILE_POST_ADDRESS:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_PROFILE_POST_ADDRESS)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_PROFILE_EMAIL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_PROFILE_EMAIL)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_PROFILE_PHONE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_PROFILE_PHONE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_DEPENDENTS:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_DEPENDENTS)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_MARITAL_STATUS:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_MARITAL_STATUS)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_EMPLOYMENT:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_EMPLOYMENT)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_INVESTMENT_PROFILE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_INVESTMENT_PROFILE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_INVESTMENT_EXPERIENCE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_INVESTMENT_EXPERIENCE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.ENABLE_THIRD_PARTY_MARKETDATA_MODAL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.ENABLE_THIRD_PARTY_MARKETDATA_MODAL)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_TARIFF_PER_SHARE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_TARIFF_PER_SHARE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_TARIFF_PER_TRADE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_TARIFF_PER_TRADE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_TARIFF_ZERO:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_TARIFF_ZERO)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CHANGE_TWO_FACTOR_AUTHORIZATION:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_TWO_FACTOR_AUTHORIZATION)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CONFIRM_PROFILE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.CHANGE_TAX_FORM_MODAL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CHANGE_TAX_FORM_MODAL)}\r\n\t\t\t\t\t/>);\r\n\t\t\tdefault:\r\n\t\t\t\treturn null;\r\n\t\t}\r\n\t}\r\n\tcloseModal = id => this.props.actions.hideProfileModal(id);\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tlocation,\r\n\t\t} = this.props;\r\n\r\n\t\tconst modals = location.hash && location.hash.substr(1).split('/');\r\n\t\tconst topModal = modals && modals.length > 0 && this.getProfileModal(modals && modals.pop());\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{topModal}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nProfileModals.propTypes = {\r\n\tactions: PropTypes.object.isRequired,\r\n\tlocation: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\tconnect(null, mapDispatchToProps),\r\n)(ProfileModals);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport { ModalPopups } from '@enums';\nimport { userAccounts } from '@redux';\nimport { connect } from 'react-redux';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport {\n\tErrorMessage,\n\tSuccessMessage,\n\tProgressContainer,\n} from '@components';\nimport { UpgradeAccountForm } from './components';\nimport { RequireSignatureModal } from '../';\n\nconst styles = theme => ({\n});\n\nconst mapStateToProps = (state) => {\n\tconst currentAccountData = userAccounts.selectors.currentAccountData(state);\n\tconst upgradeMarginTypeData = userAccounts.selectors.upgradeMarginTypeData(state);\n\treturn {\n\t\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\n\t\taccountInfo: userAccounts.selectors.accountInfo(state),\n\t\tready: !!(upgradeMarginTypeData.tradeAccount || (\n\t\t\t!currentAccountData.submitting && currentAccountData.baseParams && currentAccountData.baseParams.MarginOptionParameters\n\t\t)),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t},\n});\n\nclass UpgradeAccountModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tsucceeded: false,\n\t\t};\n\t}\n\n\tonSuccess = () => {\n\t\tthis.setState({ succeeded: true });\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\taccountStatus,\n\t\t\taccountInfo,\n\t\t\tonClose,\n\t\t\tready,\n\t\t} = this.props;\n\t\tconst canMarginTypeChange = accountStatus && accountStatus.CanMarginUpgrade &&\n\t\t\taccountInfo && accountInfo.IsPrimaryHolder;\n\t\tconst pendingOrder = accountInfo && accountInfo.PendingOrders && accountInfo.PendingOrders.UpgradeMarginType;\n\t\tconst error = (pendingOrder || !canMarginTypeChange);\n\t\treturn (\n\t\t\t\n\t\t\t\t{this.state.succeeded &&\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tYour request was received.
\n\t\t\t\t\t\t\t\tOur manager will get back to you when the account is upgraded.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbuttonText=\"Back To Account\"\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t\t{!this.state.succeeded && (\n\t\t\t\t\terror && ready ?\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)\n\t\t\t\t)}\n\t\t\t\n\t\t);\n\t}\n}\n\nUpgradeAccountModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n\tready: PropTypes.bool.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(UpgradeAccountModal);\n","export { default as UpgradeAccountForm } from './UpgradeAccountForm';\n","import React from 'react';\nimport { change, formValueSelector, reduxForm, Field, touch } from 'redux-form';\nimport { push } from 'connected-react-router';\nimport { withStyles } from '@material-ui/core/styles';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport FormHelperText from '@material-ui/core/FormHelperText';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { profile, signature, userAccounts } from '@redux';\nimport { \n\tButton, \n\tChangeLink,\n\tDivider, \n\tFormRadioGroup,\n\tLimeLogo,\n\tSelect, \n\tSvgIcon, \n\tRadio,\n} from '@components';\nimport { connect } from 'react-redux';\nimport UpgradeAccountFormContent from './UpgradeAccountFormContent';\n// import j2tlogo from './j2t.png';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\tinputSelectItem: {\n\t\tmarginTop: '10px',\n\t\tpaddingLeft: '32px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tjustify: {\n\t\ttextAlign: 'justify',\n\t},\n\tadditionalText: {\n\t\tcolor: theme.typography.color.secondary,\n\t\t...theme.typography.style.body,\n\t},\n\terror: {\n\t\tmarginLeft: '40px',\n\t\tdisplay: 'block',\n\t},\n});\n\n\nfunction valueOrEmpty(val) {\n\tif (val) return val;\n\treturn '';\n}\n\nconst UPGRADE_ACCOUNT_FORM_ID = 'UpgradeAccountForm';\nconst formSelector = formValueSelector(UPGRADE_ACCOUNT_FORM_ID);\n\n\nconst mapStateToProps = (state) => {\n\tconst currentAccountData = userAccounts.selectors.currentAccountData(state);\n\tlet upgradeMarginTypeData = userAccounts.selectors.upgradeMarginTypeData(state);\n\tif (!upgradeMarginTypeData.tradeAccount) {\n\t\tupgradeMarginTypeData = {\n\t\t\ttradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\t\t\tmarginParams: currentAccountData.baseParams.MarginOptionParameters,\n\t\t};\n\t}\n\treturn {\n\t\tinitialValues: {\n\t\t\tTradeCode: upgradeMarginTypeData.tradeAccount.tradeCode,\n\t\t\tClearer: upgradeMarginTypeData.tradeAccount.clearerFirm,\n\t\t\tNewMarginType: valueOrEmpty(upgradeMarginTypeData.marginParams.MarginType),\n\t\t},\n\t\tselectedMarginType: formSelector(state, 'NewMarginType'),\n\t\tupgradeMarginTypeData,\n\t\tcurrentAccountData,\n\t\tprofile: profile.selectors.profile(state),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsetCurrentPage: page => dispatch(push(page)),\n\t\tsetHasMarginAgree: () => dispatch(change(UPGRADE_ACCOUNT_FORM_ID, 'HasMarginAgree', true)),\n\t\tsetHasDayTraderAgree: () => dispatch(change(UPGRADE_ACCOUNT_FORM_ID, 'HasDayTraderAgree', true)),\n\t\tsetUpdateInvestmentProfile: value => dispatch(change(UPGRADE_ACCOUNT_FORM_ID, 'UpdatedInvestmentProfile', value)),\n\t\tshowChangeInvestmentProfileModal: () => {\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentProfileModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t\tsetFormField: (fieldName, value = null) => dispatch(change(UPGRADE_ACCOUNT_FORM_ID, fieldName, value)),\n\t\treduxFormTouch: fieldname => dispatch(touch(UPGRADE_ACCOUNT_FORM_ID, fieldname)),\n\t},\n});\n\nconst allAccTypes = [\n\t{\n\t\tvalue: 'Cash',\n\t\ttext: 'Cash',\n\t\tlevel: 0,\n\t\tadditionalText: ['T+1 Settlement', 'Trade on Settled Cash'],\n\t},\n\t{\n\t\tvalue: 'MarginX1',\n\t\ttext: 'MarginX1',\n\t\tlevel: 1,\n\t\tdisabled: true,\n\t\tadditionalText: ['T+0 settlement', '1:1 buying power', 'No more than 3 day trades within 5 business days'],\n\t},\n\t{\n\t\tvalue: 'MarginX2',\n\t\ttext: 'Margin',\n\t\tlevel: 2,\n\t\tadditionalText: ['Trade with 2:1 Buying Power', 'No more than 3 day trades in the previous 5 trading days'],\n\t},\n\t{\n\t\tvalue: 'DayTrader',\n\t\ttext: 'DayTrader',\n\t\tlevel: 3,\n\t\tadditionalText: ['Trade with 4:1 Buying Power intraday', '2:1 Buying Power overnight', 'No limit on day trades'],\n\t},\n];\nclass UpgradeAccountForm extends React.Component {\n\tstatic validate(values, props) {\n\t\tconst errors = {};\n\n\t\tif (!values.NewMarginType) {\n\t\t\terrors.NewMarginType = 'required';\n\t\t}\n\t\tif (!values.MustUpdateProfile) {\n\t\t\terrors.MustUpdateProfile = 'required';\n\t\t}\n\t\tif (!values.HasMarginAgree) {\n\t\t\terrors.HasMarginAgree = 'required';\n\t\t}\n\t\tif (!values.HasDayTraderAgree) {\n\t\t\terrors.HasDayTraderAgree = 'required';\n\t\t}\n\n\t\tconst errs = UpgradeAccountForm.marginTypeValidate(values.NewMarginType, props);\n\n\t\tif (errs && errs.length > 0) {\n\t\t\terrors.NewMarginType =\n\t\t\t(\n\t\t\t\tMinimum requirements are not met. They need to upgrade:

\n\t\t\t\t\t{errs.length > 1\n\t\t\t\t\t\t?
    {errs.map((err, index) =>
  • {err}
  • )}
\n\t\t\t\t\t\t: errs[0]\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\t\treturn errors;\n\t}\n\tstatic marginTypeValidate(newMarginType, props) {\n\t\tconst result = [];\n\t\tconst {\n\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t// showUpgradeAccountModal,\n\t\t\tsetCurrentPage,\n\t\t} = props.actions;\n\n\t\tconst {\n\t\t\t// currentTradeAccount,\n\t\t\t// currentAccountData,\n\t\t\tprofile: {\n\t\t\t\tInvestmentProfile,\n\t\t\t\tPendingOrders,\n\t\t\t},\n\t\t\tupgradeMarginTypeData: {\n\t\t\t\tmarginParams,\n\t\t\t},\n\t\t\tcurrentAccountData: {\n\t\t\t\tportfolio,\n\t\t\t},\n\t\t\tcurrentAccountData: { baseParams },\n\t\t} = props;\n\n\t\t// const showUpgradeAccountForm = () => showUpgradeAccountModal(currentTradeAccount, currentAccountData.baseParams.MarginOptionParameters);\n\t\tconst goToDashboard = () => setCurrentPage('/dashboard');\n\n\t\t// const marginType = baseParams && baseParams.MarginOptionParameters && baseParams.MarginOptionParameters.MarginType;\n\n\t\tconst isChangeInvestmentProfileInactive = PendingOrders && PendingOrders.InvestmentProfile;\n\t\tconst selectedLevel = allAccTypes.find(item => item.value === newMarginType);\n\t\tconst curLevel = allAccTypes.find(item => item.value === marginParams.MarginType);\n\t\tconst noChanges = !newMarginType || marginParams.MarginType === newMarginType;\n\t\tconst isUpgrade = selectedLevel && curLevel.level < selectedLevel.level;\n\t\tconst isDowngrade = !isUpgrade;\n\t\tconst noCashMoney = (selectedLevel && selectedLevel.level < 2 && !noChanges && isDowngrade\n\t\t\t&& baseParams && baseParams.CashCurrentValue < 0);\n\t\tconst hasShortPositions = !noChanges && isDowngrade && portfolio && portfolio.Positions &&\n\t\t\tportfolio.Positions.filter(it => it.Quantity < 0).length > 0;\n\n\t\tif (newMarginType === 'Cash') {\n\t\t\tif (noCashMoney) {\n\t\t\t\tresult.push('In order to downgrade the margin type of the account please ensure you\\'re not in use of any borrowing means');\n\t\t\t}\n\t\t\tif (hasShortPositions) {\n\t\t\t\tresult.push('In order to downgrade the margin type of the account please ensure your current portfolio contains no short positions.');\n\t\t\t}\n\t\t}\n\t\tif (!noChanges && selectedLevel.level > 0) {\n\t\t\tif (!InvestmentProfile || !InvestmentProfile.RiskTolerance || InvestmentProfile.RiskTolerance !== 'Speculative') {\n\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t'Risk Tolerance: Speculative',\n\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t));\n\t\t\t}\n\t\t\tif (!InvestmentProfile || !InvestmentProfile.Goal || InvestmentProfile.Goal !== 'Speculation') {\n\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t'Investment Objectives: Speculation',\n\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t));\n\t\t\t}\n\t\t\tif (!InvestmentProfile || !InvestmentProfile.Liquid || InvestmentProfile.Liquid === 'Under $50,000') {\n\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t'Liquid net worth: $50,000 or more',\n\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t));\n\t\t\t}\n\t\t\tif (newMarginType === 'DayTrader' && baseParams && baseParams.EquityValue < 25000) {\n\t\t\t\tresult.push(this.createLink('Minimum Account Equity: $25,000', goToDashboard));\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\tstatic createLink(title, onClickFunc, isInactive) {\n\t\treturn { title }
;\n\t}\n\n\tonChangeMarginType = () => {\n\t\tconst { actions } = this.props;\n\t\tactions.reduxFormTouch('NewMarginType');\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t\thandleSubmit,\n\t\t\tselectedMarginType,\n\t\t\tupgradeMarginTypeData: {\n\t\t\t\ttradeAccount,\n\t\t\t\tmarginParams,\n\t\t\t},\n\t\t\tcurrentAccountData: {\n\t\t\t\tbaseParams,\n\t\t\t\tportfolio,\n\t\t\t},\n\t\t} = this.props;\n\n\t\tconst selectedLevel = allAccTypes.find(item => item.value === selectedMarginType);\n\t\tconst curLevel = allAccTypes.find(item => item.value === marginParams.MarginType);\n\t\tconst noChanges = marginParams.MarginType === selectedMarginType;\n\t\tconst isUpgrade = selectedLevel && curLevel.level < selectedLevel.level;\n\t\tconst isDowngrade = !isUpgrade;\n\n\t\tconst noEnoughMoney = (selectedMarginType === 'DayTrader' && !noChanges && baseParams && baseParams.EquityValue < 25000);\n\t\tconst noCashMoney = (selectedLevel && selectedLevel.level < 2 && !noChanges && isDowngrade\n\t\t\t&& baseParams && baseParams.CashCurrentValue < 0);\n\n\t\tconst hasShortPositions = !noChanges && isDowngrade && portfolio && portfolio.Positions &&\n\t\t\tportfolio.Positions.filter(it => it.Quantity < 0).length > 0;\n\t\tconst isMarginAgree = !noChanges && isUpgrade && marginParams.MarginType === 'Cash';\n\t\tconst isDayTraderAgree = !noChanges && isUpgrade && selectedLevel.level > 2;\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\t\tYou are about to update account's margin type:\n\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{allAccTypes.filter(item => !item.disabled).map(item => (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{item.text}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{item.additionalText.map((txt, index) =>
  • {txt}
  • )}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tdisabled={item.disabled}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tPlease note that it might take up to 24 hours.\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t\n\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Apply'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nUpgradeAccountForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tselectedMarginType: PropTypes.string,\n\n\tupgradeMarginTypeData: PropTypes.object.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n};\n\nUpgradeAccountForm.defaultProps = {\n\tselectedMarginType: null,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: UPGRADE_ACCOUNT_FORM_ID,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess();\n\t\t\t}\n\t\t},\n\t\tvalidate: UpgradeAccountForm.validate,\n\t}),\n)(UpgradeAccountForm);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { Field } from 'redux-form';\nimport { A, FormCheckbox } from '@components';\n\n\nconst styles = theme => ({\n\talertText: {\n\t\tcolor: theme.typography.color.secondary,\n\t\t...theme.typography.style.title,\n\t},\n});\n\n\nclass UpgradeAccountFormContent extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tisMarginDocShown: false,\n\t\t\tisDayTraderDocShown: false,\n\t\t};\n\t}\n\n\tonClickMarginAgreement = () => {\n\t\tthis.setState({\tisMarginDocShown: true });\n\t\tthis.props.actions.setHasMarginAgree();\n\t}\n\n\tonClickDayTraderAgreement = () => {\n\t\tthis.setState({\tisDayTraderDocShown: true });\n\t\tthis.props.actions.setHasDayTraderAgree();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tisMarginAgree,\n\t\t\tisDayTraderAgree,\n\t\t\tclearerFirm,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t\t{isMarginAgree &&\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the  \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tMargin Agreement\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={!this.state.isMarginDocShown}\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t\t{isDayTraderAgree &&\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the  \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tDay Trading Supplement Agreement\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={!this.state.isDayTraderDocShown}\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nUpgradeAccountFormContent.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tisMarginAgree: PropTypes.bool.isRequired,\n\tisDayTraderAgree: PropTypes.bool.isRequired,\n\tclearerFirm: PropTypes.string.isRequired,\n};\n\nexport default compose(withStyles(styles))(UpgradeAccountFormContent);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { userAccounts } from '@redux';\nimport { connect } from 'react-redux';\nimport {\n\tErrorMessage,\n\tSuccessMessage,\n\tProgressContainer,\n} from '@components';\nimport { UpgradeOptionLevelForm } from './components';\nimport { RequireSignatureModal } from '../';\n\nconst mapStateToProps = (state) => {\n\tconst currentAccountData = userAccounts.selectors.currentAccountData(state);\n\tconst upgradeOptionLevelData = userAccounts.selectors.upgradeOptionLevelData(state);\n\treturn {\n\t\taccountInfo: userAccounts.selectors.accountInfo(state),\n\t\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\n\t\tready: !!(upgradeOptionLevelData.tradeAccount || (\n\t\t\t!currentAccountData.submitting && currentAccountData.baseParams && currentAccountData.baseParams.MarginOptionParameters\n\t\t)),\n\t};\n};\n\nclass UpgradeOptionLevelModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tsucceeded: false,\n\t\t};\n\t}\n\n\tonSuccess = () => {\n\t\tthis.setState({ succeeded: true });\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\taccountInfo,\n\t\t\taccountStatus,\n\t\t\tonClose,\n\t\t\tready,\n\t\t} = this.props;\n\t\tconst canUpgradeOptionLevel = accountStatus && accountStatus.CanOptionsUpgrade && accountInfo && accountInfo.IsPrimaryHolder;\n\t\tconst pendingOrder = accountInfo && accountInfo.PendingOrders && accountInfo.PendingOrders.UpgradeOptionLevel;\n\t\tconst error = (pendingOrder || !canUpgradeOptionLevel);\n\t\treturn (\n\t\t\t\n\t\t\t\t{this.state.succeeded &&\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tYour request was received.
\n\t\t\t\t\t\t\t\tOur manager will get back to you when the option level is upgraded.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbuttonText=\"Back To Account\"\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t\t{!this.state.succeeded && (\n\t\t\t\t\terror && ready ?\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)\n\t\t\t\t)}\n\t\t\t\n\t\t);\n\t}\n}\n\nUpgradeOptionLevelModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n\tready: PropTypes.bool.isRequired,\n};\n\nexport default connect(mapStateToProps, null)(UpgradeOptionLevelModal);\n","export { default as UpgradeOptionLevelForm } from './UpgradeOptionLevelForm';\n","import React, { useState } from 'react';\nimport { change, Field, formValueSelector, reduxForm, touch } from 'redux-form';\nimport { push } from 'connected-react-router';\nimport { withStyles } from '@material-ui/core/styles';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { env } from '@config';\nimport { profile, signature, userAccounts } from '@redux';\nimport {\n\tA,\n\tButton,\n\tDivider,\n\tFormCheckbox,\n\tFormRadioGroup,\n\tLimeLogo,\n\tRadio,\n\tSelect,\n\tChangeLink,\n} from '@components';\nimport { connect, useDispatch } from 'react-redux';\nimport { INVESTMENT_TIMELINE_RANGES } from '@utils';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '72px',\n\t\theight: '60px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\tinputSelectItem: {\n\t\tmarginTop: '10px',\n\t\tpaddingLeft: '32px',\n\t},\n\tlabelText: {\n\t\tmargin: '18px 0',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tjustify: {\n\t\ttextAlign: 'justify',\n\t},\n\tadditionalText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n});\n\n\nfunction valueOrEmpty(val) {\n\tif (val) return val;\n\treturn '';\n}\n\nconst UPGRADE_OPTION_LEVEL_FORM = 'UpgradeOptionLevelForm';\nconst formSelector = formValueSelector(UPGRADE_OPTION_LEVEL_FORM);\n\nconst AgreementField = ({\n\tname,\n\thref,\n\tdocName,\n}) => {\n\tconst [docShown, setDocShown] = useState(false);\n\tconst dispatch = useDispatch();\n\tconst handleDocClick = () => {\n\t\tsetDocShown(true);\n\t\tdispatch(change(UPGRADE_OPTION_LEVEL_FORM, name, true));\n\t};\n\n\treturn (\n\t\t\n\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the  \n\t\t\t\t\t\n\t\t\t\t\t\t{docName}\n\t\t\t\t\t\n\n\n\t\t\t\t

\n\t\t\t}\n\t\t\tdisabled={!docShown}\n\t\t/>\n\t);\n};\n\nAgreementField.propTypes = {\n\tname: PropTypes.string.isRequired,\n\thref: PropTypes.string,\n\tdocName: PropTypes.string.isRequired,\n};\n\nAgreementField.defaultProps = {\n\thref: undefined,\n};\n\nconst mapStateToProps = (state) => {\n\tconst currentAccountData = userAccounts.selectors.currentAccountData(state);\n\tlet upgradeOptionLevelData = userAccounts.selectors.upgradeOptionLevelData(state);\n\tif (!upgradeOptionLevelData.tradeAccount) {\n\t\tupgradeOptionLevelData = {\n\t\t\ttradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\t\t\tmarginParams: currentAccountData.baseParams.MarginOptionParameters,\n\t\t};\n\t}\n\n\tconst isVision = upgradeOptionLevelData.tradeAccount.clearerFirm === 'vision';\n\tconst isCor = upgradeOptionLevelData.tradeAccount.clearerFirm === 'cor';\n\n\treturn {\n\t\tinitialValues: {\n\t\t\tTradeCode: upgradeOptionLevelData.tradeAccount.tradeCode,\n\t\t\tClearer: upgradeOptionLevelData.tradeAccount.clearerFirm,\n\t\t\tNewOptionLevel: valueOrEmpty(upgradeOptionLevelData.marginParams.OptionLevel),\n\t\t},\n\t\tisVision,\n\t\tisCor,\n\t\tselectedOptionLevel: formSelector(state, 'NewOptionLevel'),\n\t\tupgradeOptionLevelData,\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\t\tprofile: profile.selectors.profile(state),\n\t\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\t\taccountInfo: userAccounts.selectors.accountInfo(state),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowChangeInvestmentProfileModal: () => {\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentProfileModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t\tshowChangeInvestmentExperienceModal: () => {\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentExperienceModal();\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t\tshowUpgradeAccountModal: (tradeAccount, marginParams) => {\n\t\t\tconst changeAction = userAccounts.actions.showUpgradeAccountModal({ tradeAccount, marginParams });\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t\tsetCurrentPage: page => dispatch(push(page)),\n\t\treduxFormTouch: fieldname => dispatch(touch(UPGRADE_OPTION_LEVEL_FORM, fieldname)),\n\t\tgoToCashManagement: () => dispatch(push('/dashboard/cashmanagement')),\n\t},\n});\n\nconst NONE_VALUE = INVESTMENT_TIMELINE_RANGES.NONE.value.toLowerCase();\nconst LESS_THAN_A_YEAR_VALUE = INVESTMENT_TIMELINE_RANGES.LESS_THAN_A_YEAR.value.toLowerCase();\nconst SIX_TO_TEN_YEARS_VALUE = INVESTMENT_TIMELINE_RANGES.SIX_TO_TEN_YEARS.value.toLowerCase();\nconst OVER_TEN_YEARS_VALUE = INVESTMENT_TIMELINE_RANGES.OVER_TEN_YEARS.value.toLowerCase();\n\nclass UpgradeOptionLevelForm extends React.Component {\n\tstatic validate(values, props) {\n\t\tconst errors = {};\n\t\tconst {\n\t\t\tselectedOptionLevel,\n\t\t\tupgradeOptionLevelData: {\n\t\t\t\tmarginParams,\n\t\t\t},\n\t\t\tprofile: {\n\t\t\t\tDocuments,\n\t\t\t},\n\t\t} = props;\n\t\tconst curLevel = Number.parseInt(marginParams.OptionLevel, 10);\n\t\tconst noChanges = marginParams.OptionLevel === selectedOptionLevel;\n\t\tconst upgradeLevel = !noChanges && (Number.isNaN(curLevel) || curLevel < Number.parseInt(selectedOptionLevel, 10));\n\t\tconst needOpraDataAgreement = !(Documents && Documents.some(d => d.DocTypeExt === 'opra'));\n\n\t\tconst { isVision } = props;\n\t\tif (!values.NewOptionLevel) {\n\t\t\terrors.NewOptionLevel = 'required';\n\t\t}\n\t\tif (!values.HasOptionsAgree) {\n\t\t\terrors.HasOptionsAgree = 'required';\n\t\t}\n\t\tif (needOpraDataAgreement && !values.HasOpraDataAgree) {\n\t\t\terrors.HasOpraDataAgree = 'required';\n\t\t}\n\n\t\tif (!values.HasRisksofStandardizedOptionsAgree && upgradeLevel) {\n\t\t\terrors.HasRisksofStandardizedOptionsAgree = 'required';\n\t\t}\n\n\t\tif (isVision && !values.HasOptionsRiskAgree && upgradeLevel) {\n\t\t\terrors.HasOptionsRiskAgree = 'required';\n\t\t}\n\n\t\tlet errs = [];\n\n\t\terrs = UpgradeOptionLevelForm.visionValidate(values.NewOptionLevel, props);\n\n\t\tif (errs && errs.length > 0) {\n\t\t\terrors.NewOptionLevel =\n\t\t\t(
    {'Minimum requirements are not met. They need to upgrade:'}

    {errs.length > 1\n\t\t\t\t? errs.map((err, index) =>
  • {err}
  • )\n\t\t\t\t: errs[0]\n\t\t\t}
);\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\tstatic createLink(title, onClickFunc, isInactive) {\n\t\treturn
{ title }
;\n\t}\n\n\tstatic visionValidate(newOptionLevel, props) {\n\t\tconst result = [];\n\t\tconst {\n\t\t\tgoToCashManagement,\n\t\t\tshowChangeInvestmentProfileModal,\n\t\t\tshowChangeInvestmentExperienceModal,\n\t\t\tshowUpgradeAccountModal,\n\t\t} = props.actions;\n\n\t\tconst {\n\t\t\tcurrentTradeAccount,\n\t\t\tcurrentAccountData: { baseParams },\n\t\t\tprofile: {\n\t\t\t\tPendingOrders: pendingOrders,\n\t\t\t\tExperiences,\n\t\t\t\tInvestmentProfile,\n\t\t\t},\n\t\t} = props;\n\n\n\t\tconst investmentProfile = InvestmentProfile;\n\t\tconst ExperienceOption = Experiences.find(x => x.Type === 'Option');\n\t\tconst experienceOptionValue = ExperienceOption && ExperienceOption.Value && ExperienceOption.Value.toLowerCase();\n\t\tconst showUpgradeAccountForm = () =>\n\t\t\tshowUpgradeAccountModal(currentTradeAccount, baseParams.MarginOptionParameters);\n\n\t\tconst marginType = baseParams && baseParams.MarginOptionParameters && baseParams.MarginOptionParameters.MarginType;\n\n\t\tconst isChangeInvestmentProfileInactive = pendingOrders && pendingOrders.InvestmentProfile;\n\t\tconst isChangeInvestmentExperienceInactive = pendingOrders && pendingOrders.InvestmentExperience;\n\t\tconst isUpgradeAccountFormInactive = pendingOrders && pendingOrders.UpgradeMarginType;\n\n\t\tswitch (newOptionLevel) {\n\t\t\tcase '0':\n\t\t\t\tbreak;\n\t\t\tcase '1':\n\t\t\t\tif (baseParams && baseParams.EquityValue < 1000) {\n\t\t\t\t\tresult.push(this.createLink('Minimum Account Equity: $1,000', goToCashManagement));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase '2':\n\t\t\t\tif (!investmentProfile || !investmentProfile.Liquid || investmentProfile.Liquid === 'Under $50,000') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Minimum Liquid Net Worth: $50,000',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (baseParams && baseParams.EquityValue < 2000) {\n\t\t\t\t\tresult.push(this.createLink('Minimum Account Equity: $2,000', goToCashManagement));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.RiskTolerance || investmentProfile.RiskTolerance === 'Low') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Risk Tolerance: Moderate/Aggressive/Speculative',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.Goal || investmentProfile.Goal === 'Preservation') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Investment Objectives: Income/Capital Appreciation/Speculation',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase '3':\n\t\t\t\tif (!investmentProfile || !investmentProfile.Liquid || investmentProfile.Liquid === 'Under $50,000') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Minimum Liquid Net Worth: $50,000',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (baseParams && baseParams.EquityValue < 5000) {\n\t\t\t\t\tresult.push(this.createLink('Minimum Account Equity: $5,000', goToCashManagement));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.RiskTolerance || investmentProfile.RiskTolerance !== 'Speculative') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Risk Tolerance: Speculative',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.Goal || investmentProfile.Goal !== 'Speculation') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Investment Objectives: Speculation',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!experienceOptionValue || experienceOptionValue === NONE_VALUE || experienceOptionValue === LESS_THAN_A_YEAR_VALUE) {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Minimum Option Trading Experience: 1 to 5 Years',\n\t\t\t\t\t\tshowChangeInvestmentExperienceModal,\n\t\t\t\t\t\tisChangeInvestmentExperienceInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!marginType || marginType === 'Cash') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Margin Type: Margin/DayTrader',\n\t\t\t\t\t\tshowUpgradeAccountForm,\n\t\t\t\t\t\tisUpgradeAccountFormInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase '4':\n\t\t\t\tif (!investmentProfile || !investmentProfile.Liquid || investmentProfile.Liquid === 'Under $50,000' ||\n\t\t\t\t\tinvestmentProfile.Liquid === '$50,000 - $149,999') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Minimum Liquid Net Worth: $150,000',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (baseParams && baseParams.EquityValue < 25000) {\n\t\t\t\t\tresult.push(this.createLink('Minimum Account Equity: $25,000', goToCashManagement));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.RiskTolerance || investmentProfile.RiskTolerance !== 'Speculative') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Risk Tolerance: Speculative',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.Goal || investmentProfile.Goal !== 'Speculation') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Investment Objectives: Speculation',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!experienceOptionValue || experienceOptionValue === NONE_VALUE || experienceOptionValue === LESS_THAN_A_YEAR_VALUE) {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Minimum Option Trading Experience: 1 to 5 Years',\n\t\t\t\t\t\tshowChangeInvestmentExperienceModal,\n\t\t\t\t\t\tisChangeInvestmentExperienceInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!marginType || marginType === 'Cash') {\n\t\t\t\t\tresult.push(this.createLink('Margin Type: Margin/DayTrader', showUpgradeAccountForm, isUpgradeAccountFormInactive));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase '5':\n\t\t\t\tif (!investmentProfile || !investmentProfile.Liquid || investmentProfile.Liquid === 'Under $50,000' ||\n\t\t\t\t\tinvestmentProfile.Liquid === '$50,000 - $149,999') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Minimum Liquid Net Worth: $150,000',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (baseParams && baseParams.EquityValue < 100000) {\n\t\t\t\t\tresult.push(this.createLink('Minimum Account Equity: $100,000', goToCashManagement));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.RiskTolerance || investmentProfile.RiskTolerance !== 'Speculative') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Risk Tolerance: Speculative',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!investmentProfile || !investmentProfile.Goal || investmentProfile.Goal !== 'Speculation') {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Investment Objectives: Speculation',\n\t\t\t\t\t\tshowChangeInvestmentProfileModal,\n\t\t\t\t\t\tisChangeInvestmentProfileInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (experienceOptionValue !== SIX_TO_TEN_YEARS_VALUE && experienceOptionValue !== OVER_TEN_YEARS_VALUE) {\n\t\t\t\t\tresult.push(this.createLink(\n\t\t\t\t\t\t'Minimum Option Trading Experience: 6 to 10 Years',\n\t\t\t\t\t\tshowChangeInvestmentExperienceModal,\n\t\t\t\t\t\tisChangeInvestmentExperienceInactive,\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tif (!marginType || marginType === 'Cash') {\n\t\t\t\t\tresult.push(this.createLink('Margin Type: Margin/DayTrader', showUpgradeAccountForm, isUpgradeAccountFormInactive));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tresult.push(`Receive unsupported option level = ${newOptionLevel}`);\n\t\t\t\tbreak;\n\t\t}\n\t\treturn result;\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tconst {\n\t\t\taccountInfo: {\n\t\t\t\tIsIra,\n\t\t\t},\n\t\t} = props;\n\n\t\tthis.allOptionLevels = {\n\t\t\tcor: [\n\t\t\t\t{ value: '0', text: ['No option trading allowed'], level: 0 },\n\t\t\t\t{ value: '1', text: ['Writing Covered Calls'], level: 1 },\n\t\t\t\t{ value: '2', text: ['Buying Puts & Calls'], level: 2 },\n\t\t\t\t...(!IsIra ? [{ value: '3', text: ['Combinations (Spreads)'], level: 3 }] : []),\n\t\t\t\t...(!IsIra ? [{ value: '4', text: ['Writing Covered & Uncovered Equity Puts'], level: 4 }] : []),\n\t\t\t\t...(!IsIra ? [{\n\t\t\t\t\tvalue: '5', text: ['Writing Covered & Uncovered Equity Calls'], level: 5, disabled: false,\n\t\t\t\t}] : []),\n\t\t\t],\n\t\t\tvision: [\n\t\t\t\t{ value: '0', text: ['No option trading allowed'], level: 0 },\n\t\t\t\t{ value: '1', text: ['Covered writing of equity calls'], level: 1 },\n\t\t\t\t{ value: '2', text: ['Purchase of equity calls and puts', 'Purchase of equity straddles or combinations'], level: 2 },\n\t\t\t\t...(!IsIra ? [{ value: '3', text: ['Equity spreads', 'Covered writing of equity puts'], level: 3 }] : []),\n\t\t\t\t...(!IsIra ? [{ value: '4', text: ['Uncovered writing of equity puts'], level: 4 }] : []),\n\t\t\t\t...(!IsIra ? [{\n\t\t\t\t\tvalue: '5', text: ['Uncovered writing of straddles or combinations'], level: 5, disabled: false,\n\t\t\t\t}] : []),\n\t\t\t],\n\t\t};\n\t}\n\n\tonChangeOptionLevel = () => {\n\t\tconst { actions } = this.props;\n\t\tactions.reduxFormTouch('NewOptionLevel');\n\t}\n\n\tgetOptionLevels = () => {\n\t\tconst {\n\t\t\tisCor,\n\t\t\tisVision,\n\t\t\tupgradeOptionLevelData: {\n\t\t\t\ttradeAccount,\n\t\t\t},\n\t\t} = this.props;\n\n\t\tif (!isVision && !isCor) {\n\t\t\t// for other clearing firms do logic as in vision\n\t\t\treturn this.allOptionLevels.vision;\n\t\t}\n\n\t\treturn this.allOptionLevels[tradeAccount && tradeAccount.clearerFirm];\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tisCor,\n\t\t\tisVision,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t\thandleSubmit,\n\t\t\tselectedOptionLevel,\n\t\t\tupgradeOptionLevelData: {\n\t\t\t\ttradeAccount,\n\t\t\t\tmarginParams,\n\t\t\t},\n\t\t\tprofile: {\n\t\t\t\tDocuments,\n\t\t\t},\n\t\t} = this.props;\n\n\t\tconst curLevel = this.getOptionLevels().find(item => item.value === marginParams.OptionLevel);\n\t\tconst noChanges = marginParams.OptionLevel === selectedOptionLevel;\n\t\tconst upgradeLevel = !noChanges && (!curLevel || curLevel.level < Number.parseInt(selectedOptionLevel, 10));\n\t\tconst needOpraDataAgreement = !(Documents && Documents.some(d => d.DocTypeExt === 'opra'));\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\t\tYou are about to request an update to your account's option level.
\n\t\t\t\t\t\tOnce approved, this change will take effect the next trading day.\n\t\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t\t{this.getOptionLevels().map(item => (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tLevel {item.value}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{item.level > 1 &&\n\t\t\t\t\t\t\t\t\t\t\t\t
  • Level {item.level - 1} plus
  • \n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t{item.text.map((txt, index) =>
  • {txt}
  • )}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tdisabled={item.disabled || !curLevel}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t))}\n\t\t\t\t\t\n\n\t\t\t\t\t
\n\n\t\t\t\t\t{ isVision && !noChanges &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\n\t\t\t\t\t{ isCor && !noChanges &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\n\t\t\t\t\t{(isVision || isCor) && upgradeLevel &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{upgradeLevel &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{!noChanges && needOpraDataAgreement &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Apply'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nUpgradeOptionLevelForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\tisCor: PropTypes.bool.isRequired,\n\tisVision: PropTypes.bool.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tselectedOptionLevel: PropTypes.string,\n\tupgradeOptionLevelData: PropTypes.object.isRequired,\n\taccountInfo: PropTypes.shape({\n\t\tIsIra: PropTypes.bool.isRequired,\n\t}).isRequired,\n};\n\nUpgradeOptionLevelForm.defaultProps = {\n\tselectedOptionLevel: null,\n};\n\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: UPGRADE_OPTION_LEVEL_FORM,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess();\n\t\t\t}\n\t\t},\n\t\tvalidate: UpgradeOptionLevelForm.validate,\n\t}),\n)(UpgradeOptionLevelForm);\n","import React from 'react';\r\nimport { TxGlobalAuth } from '@finam/tx-auth-widget';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { withRouter } from 'react-router';\r\nimport { env } from '@config';\r\nimport {\r\n\tA,\r\n\tButton,\r\n\tModal,\r\n\tSvgIcon,\r\n} from '@components';\r\nimport { ModalPopups } from '@enums';\r\nimport { changeHashInUrl } from '@global';\r\nimport {\r\n\tacatDeposit,\r\n\tdepositFunds,\r\n\tprofile,\r\n\tsignature,\r\n\ttradePlatforms,\r\n\tuserAccounts,\r\n} from '@redux';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.subheading,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tbody: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\tlistTitle: {\r\n\t\tmarginBottom: 0,\r\n\t},\r\n\tlist: {\r\n\t\tmarginTop: 0,\r\n\t},\r\n\ticon: {\r\n\t\tverticalAlign: 'bottom',\r\n\t\tmarginRight: '6px',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tcurrentAccount: userAccounts.selectors.currentAccount(state),\r\n\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\tplatforms: userAccounts.selectors.platforms(state),\r\n\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\tuserProfile: profile.selectors.profile(state),\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch, props) => ({\r\n\tactions: {\r\n\t\t// showJ2tLiteModal: () => dispatch(tradePlatforms.actions.showJ2tLiteModal()),\r\n\t\tshowJ2tPlusModal: () => dispatch(tradePlatforms.actions.showJ2tPlusModal()),\r\n\t\tshowJ2tProModal: () => dispatch(tradePlatforms.actions.showJ2tProModal()),\r\n\t\tshowStProModal: () => dispatch(tradePlatforms.actions.showStProModal()),\r\n\t\tshowAcatDepositModal: (toUserAccount) => {\r\n\t\t\tconst acatDepositAction = acatDeposit.actions.showAcatDepositModal(toUserAccount);\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(acatDepositAction));\r\n\t\t},\r\n\t\tshowDepositFundsWireModal: bankAccount =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsWireModal(bankAccount)),\r\n\t\tshowDepositFundsModal: (bankAccount, tradeAccount) =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsModal(bankAccount, tradeAccount)),\r\n\t},\r\n});\r\n\r\nclass WelcomePageModal extends React.Component {\r\n\tshowAcatDepositModal = () => {\r\n\t\tthis.props.actions.showAcatDepositModal(this.props.currentAccount);\r\n\t}\r\n\r\n\tshowDepositWireModal = () => {\r\n\t\tthis.props.actions.showDepositFundsWireModal();\r\n\t}\r\n\r\n\tredirectModal = (from, to) => {\r\n\t\tthis.props.history.push(changeHashInUrl(this.props.location, from, to));\r\n\t}\r\n\r\n\tshowDepositAchModal = () => {\r\n\t\tconst {\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tlinkedAccounts,\r\n\t\t} = this.props;\r\n\r\n\t\tconst achBankAccount = linkedAccounts && linkedAccounts.find(it => it.Type === 'ACH');\r\n\t\tif (achBankAccount) {\r\n\t\t\tthis.props.actions.showDepositFundsModal(achBankAccount, currentTradeAccount);\r\n\t\t} else {\r\n\t\t\tthis.redirectModal(ModalPopups.PLAID_SELECT_ACCOUNT, ModalPopups.ADD_BANK_ACCOUNT);\r\n\t\t}\r\n\t}\r\n\r\n\thandleOpenAccount = () => {\r\n\t\tTxGlobalAuth.openApp({\r\n\t\t\turl: env.anketaSiteUrl,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\tcurrentAccount,\r\n\t\t\tuserInfo,\r\n\t\t\tuserProfile,\r\n\t\t\tplatforms: {\r\n\t\t\t\tActiveTradePlatform,\r\n\t\t\t\tTradeUrl,\r\n\t\t\t},\r\n\t\t\tactions: {\r\n\t\t\t\tshowJ2tPlusModal,\r\n\t\t\t\tshowJ2tProModal,\r\n\t\t\t\tshowStProModal,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\tlet tradingAction = '';\r\n\t\tif (ActiveTradePlatform === 'Transaq') tradingAction = showJ2tProModal;\r\n\t\tif (ActiveTradePlatform === 'Just2Trade') tradingAction = showJ2tPlusModal;\r\n\t\tif (ActiveTradePlatform === 'Sterling') tradingAction = showStProModal;\r\n\r\n\t\tconst hasInstantTrading = userProfile && userProfile.IsInstantTrading;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{hasInstantTrading &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t

Welcome to Lime Trading!

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tWith our "instant trading" feature,\r\n\t\t\t\t\t\t\tyou can go to trading platform and start trading right now.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tIn the meantime, this is your account management platform, where you can:\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t
  1. Go to and switch between trading platforms;
  2. \r\n\t\t\t\t\t\t\t
  3. Deposit funds to your brokerage account;
  4. \r\n\t\t\t\t\t\t\t
  5. Check out your portfolio, balances and documents;
  6. \r\n\t\t\t\t\t\t\t
  7. Look through your transactions and other important events and notifications.
  8. \r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tContact us in case you have any questions:{env.supportMail}.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{!hasInstantTrading &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t

Dear {userInfo.LongName},

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tWelcome to the Lime Trading community! You have successfully set up a demo account\r\n\t\t\t\t\t\t\tin our paper trading environment. Test your strategies in a live market simulation and get\r\n\t\t\t\t\t\t\tto know our platform with access to free real-time market data for the next 30 days. Open a\r\n\t\t\t\t\t\t\tbrokerage account at any time, which includes unlimited access to the paper trading environment.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

Paper Account ID: {currentAccount}

\r\n\t\t\t\t\t\t

The Lime Trading web platform offers:

\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t
  • Access to US stocks, equity options, ETFs & ADRs
  • \r\n\t\t\t\t\t\t\t
  • Clean, intuitive trading interface
  • \r\n\t\t\t\t\t\t\t
  • Real-time streaming quotes
  • \r\n\t\t\t\t\t\t\t
  • Fully customizable charts
  • \r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t Want to try our API? Check out our\r\n\t\t\t\t\t\t\t API Documentation\r\n\t\t\t\t\t\t\t for step-by-step details on how to code to our REST API or use Python SDK. To get started,\r\n\t\t\t\t\t\t\tgo to My Profile, then select Generate API Key.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t Download the mobile app. Keep track of\r\n\t\t\t\t\t\t\tyour portfolio on-the-go with charts and synced watchlists. Download Lime Trader on the\r\n\t\t\t\t\t\t\t App Store or on\r\n\t\t\t\t\t\t\t Google play today!\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t Ready to trade? Open a Lime Trading Account\r\n\t\t\t\t\t\t\tat any time by completing the online application.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tWe are thrilled that you are here to experience the Lime Trader advantage — fast executions, fewer\r\n\t\t\t\t\t\t\ttrade breaks, and live, experienced customer support.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tPlease note, any trades placed within the Lime Trading test environment is "paper trading",\r\n\t\t\t\t\t\t\twhich means you are experiencing trading in a live market simulation without capital risk (and no\r\n\t\t\t\t\t\t\tpotential to profit from any trading).\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tHappy Trading!\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\t{hasInstantTrading && tradingAction &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{(ActiveTradePlatform === 'Transaq') &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tStart Trading\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{(ActiveTradePlatform !== 'Transaq') &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tStart Trading\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nWelcomePageModal.propTypes = {\r\n\tactions: PropTypes.object.isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tcurrentAccount: PropTypes.string.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tuserInfo: PropTypes.object.isRequired,\r\n\tuserProfile: PropTypes.object.isRequired,\r\n\tplatforms: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thistory: PropTypes.object.isRequired,\r\n\tlocation: PropTypes.object.isRequired,\r\n\tlinkedAccounts: PropTypes.array.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(WelcomePageModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups, CloseAccountFlow } from '@enums';\r\nimport { withdrawFunds, userAccounts } from '@redux';\r\nimport { ErrorMessage, Modal, ProgressContainer } from '@components';\r\nimport { connect } from 'react-redux';\r\nimport { AchWithdrawalForm } from '@shared';\r\n\r\nconst styles = {};\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst resProps = {\r\n\t\tfromUserAccount: withdrawFunds.selectors.fromUserAccount(state),\r\n\t\ttoBankAccount: withdrawFunds.selectors.toBankAccount(state),\r\n\t\tcanShow: true,\r\n\t\tloading: false,\r\n\t};\r\n\r\n\tif (resProps.fromUserAccount && resProps.toBankAccount) {\r\n\t\treturn resProps;\r\n\t}\r\n\t// default if not set\r\n\tconst loading = userAccounts.selectors.loading(state) || userAccounts.selectors.accountInfo(state).loading;\r\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\r\n\tconst linkedAccounts = userAccounts.selectors.linkedAccounts(state);\r\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\r\n\r\n\treturn {\r\n\t\tfromUserAccount: {\r\n\t\t\ttradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tclearer: currentTradeAccount.clearerFirm,\r\n\t\t},\r\n\t\ttoBankAccount: loading ? null : linkedAccounts.find(x => x.Type === 'ACH'),\r\n\t\tcanShow: accountStatus && accountStatus.CanWithdrawal && accountStatus.CanAchLink,\r\n\t\tloading,\r\n\t};\r\n};\r\n\r\nclass WithdrawFundsAchModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tonCloseHandler: props.onClose,\r\n\t\t};\r\n\t}\r\n\r\n\tonSuccess = () => {\r\n\t\tthis.setState({\r\n\t\t\tonCloseHandler: null,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tfromUserAccount,\r\n\t\t\ttoBankAccount,\r\n\t\t\tcanShow,\r\n\t\t\tloading,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{canShow && !toBankAccount && }\r\n\t\t\t\t\t\t{!canShow &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{toBankAccount && canShow &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nWithdrawFundsAchModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n\tcanShow: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(WithdrawFundsAchModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { ModalPopups, CloseAccountFlow } from '@enums';\r\nimport { userAccounts, withdrawFunds, acatDeposit } from '@redux';\r\nimport { SuccessMessage, ErrorMessage, ProgressContainer } from '@components';\r\nimport { WireWithdrawalShortForm, CloseAccountSuggestionPopup } from '@shared';\r\nimport { WireManuallyTabComponent } from '../AddBankAccountModal/components';\r\nimport { RequireSignatureModal } from '../';\r\n\r\nconst styles = {};\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst resProps = {\r\n\t\tfromUserAccount: withdrawFunds.selectors.fromUserAccount(state),\r\n\t\ttoBankAccount: withdrawFunds.selectors.toBankAccount(state),\r\n\t\tcanShow: true,\r\n\t\tloading: false,\r\n\t\tcloseAccountValidation: acatDeposit.selectors.closeAccountValidation(state),\r\n\t};\r\n\tif (resProps.fromUserAccount && resProps.toBankAccount) {\r\n\t\treturn resProps;\r\n\t}\r\n\t// default if not set\r\n\tconst loading = userAccounts.selectors.loading(state) || userAccounts.selectors.accountInfo(state).loading;\r\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\r\n\tconst linkedAccounts = userAccounts.selectors.linkedAccounts(state);\r\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\r\n\tconst toBankAccount = (loading ? null : linkedAccounts.find(x => x.Type === 'WIRE')) || { Type: 'WIRE' };\r\n\treturn {\r\n\t\tfromUserAccount: {\r\n\t\t\ttradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tclearer: currentTradeAccount.clearerFirm,\r\n\t\t},\r\n\t\ttoBankAccount,\r\n\t\tcanShow: !!(accountStatus && accountStatus.CanWithdrawal && (toBankAccount.Code || accountStatus.CanWireLink)),\r\n\t\tloading,\r\n\t\tcloseAccountValidation: acatDeposit.selectors.closeAccountValidation(state),\r\n\t};\r\n};\r\n\r\nconst WIRE_LINK_AND_WITHDRAWAL_FORM = 'wireLinkAndWithdrawalForm';\r\nclass WithdrawFundsWireModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tstep: 'unavailable',\r\n\t\t\tonCloseHandler: props.onClose,\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentDidMount() {\r\n\t\tthis.checkFirstPage();\r\n\t}\r\n\r\n\tcomponentDidUpdate() {\r\n\t\tthis.checkFirstPage();\r\n\t}\r\n\r\n\tonSuccess = () => {\r\n\t\tthis.setState({\r\n\t\t\tstep: 'succeeded',\r\n\t\t\tonCloseHandler: null,\r\n\t\t});\r\n\t}\r\n\r\n\tonFail = () => this.setState({ step: 'failed' });\r\n\r\n\tgetSuccessPopup = () => {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tcloseAccountValidation,\r\n\t\t} = this.props;\r\n\r\n\t\tif (this.isAccountClosing && closeAccountValidation.submitSucceeded) {\r\n\t\t\treturn (\r\n\t\t\t\t\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\treturn ();\r\n\t}\r\n\r\n\tisAccountClosing = false;\r\n\r\n\thandleGotoAmount = (result, dispatch, props) => {\r\n\t\tthis.setState({ step: 'amountform' });\r\n\t}\r\n\r\n\tcheckFirstPage = () => {\r\n\t\tconst { step } = this.state;\r\n\t\tconst { loading, canShow } = this.props;\r\n\t\tif (step === 'unavailable' && !loading && canShow) {\r\n\t\t\tconst isLinked = !!this.props.toBankAccount.Template;\r\n\t\t\tthis.setState({ step: isLinked ? 'amountform' : 'linkform' });\r\n\t\t}\r\n\t}\r\n\r\n\tcreateSubmitHandleAction = (values, dispatch, props) => {\r\n\t\tconst {\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tbaseParams: {\r\n\t\t\t\t\tCashCurrentValue: cash,\r\n\t\t\t\t\tFreeMarginValue: unsettledCash,\r\n\t\t\t\t\tPositionMarket: securitiesMarketValue,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t} = props;\r\n\r\n\t\tif (parseFloat(values.wireWithdrawal.Amount) === cash &&\r\n\t\t\tunsettledCash === 0 &&\r\n\t\t\tsecuritiesMarketValue === 0) {\r\n\t\t\tthis.isAccountClosing = true;\r\n\t\t}\r\n\r\n\t\tconst isLinked = !!this.props.toBankAccount.Template;\r\n\t\treturn isLinked ?\r\n\t\t\twithdrawFunds.actions.withdrawFundsWireForm(values, dispatch) :\r\n\t\t\twithdrawFunds.actions.linkAndWithdrawFundsWireForm(values, dispatch);\r\n\t};\r\n\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tonClose,\r\n\t\t\tfromUserAccount,\r\n\t\t\ttoBankAccount,\r\n\t\t\tloading,\r\n\t\t} = this.props;\r\n\r\n\t\tconst { step } = this.state;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{step === 'unavailable' &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{step === 'succeeded' &&\r\n\t\t\t\t\t\t\tthis.getSuccessPopup()\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{step === 'failed' &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{step === 'amountform' &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{step === 'linkform' &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nWithdrawFundsWireModal.propTypes = {\r\n\tonClose: PropTypes.func.isRequired,\r\n\tfromUserAccount: PropTypes.object.isRequired,\r\n\ttoBankAccount: PropTypes.object.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n\tcanShow: PropTypes.bool.isRequired,\r\n\tcloseAccountValidation: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n)(WithdrawFundsWireModal);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { withdrawFunds, userAccounts } from '@redux';\nimport { ErrorMessage, Modal, ProgressContainer } from '@components';\nimport { env } from '@config';\nimport { connect } from 'react-redux';\nimport { BrokerWithdrawalForm } from '@shared';\n\nconst styles = {};\n\nconst checkEnableWallet = (userInfo) => {\n\tconst userGuid = userInfo.Guid && userInfo.Guid.toUpperCase();\n\treturn userGuid && env.WEBCAB_5004_walletEnableUsers.includes(userGuid);\n};\n\nconst mapStateToProps = (state) => {\n\tconst resProps = {\n\t\tfromUserAccount: withdrawFunds.selectors.fromUserAccount(state),\n\t\ttoBankAccount: withdrawFunds.selectors.toBankAccount(state),\n\t\tcanShow: true,\n\t\tloading: false,\n\t};\n\tif (resProps.fromUserAccount && resProps.toBankAccount) {\n\t\treturn resProps;\n\t}\n\t// default if not set\n\tconst loading = userAccounts.selectors.loading(state) || userAccounts.selectors.accountInfo(state).loading;\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\n\n\treturn {\n\t\tfromUserAccount: {\n\t\t\ttradeCode: currentTradeAccount.tradeCode,\n\t\t\tclearer: currentTradeAccount.clearerFirm,\n\t\t},\n\t\ttoBankAccount: {\n\t\t\tType: 'BROKER',\n\t\t\tNumber: '458408',\n\t\t\tBankName: 'J2T Account',\n\t\t},\n\t\tcanShow: loading || (accountStatus && accountStatus.CanWithdrawal && checkEnableWallet(userAccounts.selectors.userInfo(state))),\n\t\tloading,\n\t};\n};\n\nclass WithdrawFundsBrokerModal extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tonClose,\n\t\t\tfromUserAccount,\n\t\t\ttoBankAccount,\n\t\t\tcanShow,\n\t\t\tloading,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{canShow && !toBankAccount && }\n\t\t\t\t\t\t{!canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{toBankAccount && canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nWithdrawFundsBrokerModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tcanShow: PropTypes.bool.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(WithdrawFundsBrokerModal);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { userAccounts } from '@redux';\nimport { ErrorMessage, Modal, ProgressContainer } from '@components';\nimport { connect } from 'react-redux';\nimport { IraWithdrawalForm } from './components';\n\nconst styles = {};\n\nconst mapStateToProps = (state) => {\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\n\t// default if not set\n\tconst loading = userAccounts.selectors.loading(state) || accountInfo.loading;\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst accountStatus = userAccounts.selectors.currentAccountStatus(state);\n\n\treturn {\n\t\tfromUserAccount: {\n\t\t\ttradeCode: currentTradeAccount.tradeCode,\n\t\t\tclearer: currentTradeAccount.clearerFirm,\n\t\t},\n\t\tcanShow: loading || (accountStatus && accountStatus.CanWithdrawal && accountInfo.IsIra\n\t\t\t&& (currentTradeAccount.clearerFirm !== 'vision' || accountInfo.IraType)\n\t\t),\n\t\tloading,\n\t};\n};\n\nclass WithdrawFundsIraModal extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tonClose,\n\t\t\tfromUserAccount,\n\t\t\tcanShow,\n\t\t\tloading,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{!canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{canShow &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nWithdrawFundsIraModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tcanShow: PropTypes.bool.isRequired,\n\tfromUserAccount: PropTypes.shape({\n\t\ttradeCode: PropTypes.string.isRequired,\n\t\tclearer: PropTypes.string.isRequired,\n\t}).isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(WithdrawFundsIraModal);\n","export { default as IraWithdrawalForm } from './IraWithdrawalForm';","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport {\n\tuserAccounts,\n\twithdrawFunds,\n} from '@redux';\nimport {\n\treduxForm, formValueSelector,\n\tField,\n} from 'redux-form';\nimport {\n\tA,\n\tFormSelect,\n\tButton,\n\tDivider,\n\tLimeLogo,\n\tSuccessMessage,\n\tWithdrawAmount,\n\tFileInput,\n} from '@components';\nimport { IraTypes } from '@enums';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport { connect } from 'react-redux';\n\nconst styles = theme => ({\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tamount: {\n\t\tmarginTop: '30px',\n\t\tpaddingLeft: '50px',\n\t},\n\taccountContainer: {\n\t},\n\tlogo: {\n\t\tpadding: '16px 16px 4px 16px',\n\t\tposition: 'relative',\n\t\twidth: '80px',\n\t\theight: '44px',\n\t},\n\tinputContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\t...theme.typography.style.title,\n\t},\n\taccount: {\n\t\twidth: '100%',\n\t\ttextAlign: 'left',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\tbutton: {\n\t\tmarginTop: '45px',\n\t},\n});\n\n\nconst CorWithdrawInstruction = () => (\n\t\n\t\t

Please download the PDF form then fill and sign. Scan and upload the form for processing

\n\t\t

\n\t\t\t\n\t\t\t\tIRADIST_IRA_Distribution_v3.pdf\n\t\t\t\n\t\t

\n\t\t

Please note that periodic distributions are not available.

\n\t
\n);\n\nconst VisionWithdrawInstruction = ({ iraType }) => {\n\tswitch (iraType) {\n\t\tcase IraTypes.STRATA: return (\n\t\t\t\n\t\t\t\t

Please download the PDF form then fill and sign. Scan and upload the form for processing

\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t\tSTRATA_Trust_IRA_Distribution_Request.pdf\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t\t

Please note Partial recurring transfer and ACH are not an available method of distribution.

\n\t\t\t
\n\t\t);\n\t\tcase IraTypes.EQUITY_TRUST: return (\n\t\t\t\n\t\t\t\t

Please download the PDF form then fill and sign. Scan and upload the form for processing

\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t\tDistributionAccount-Retirement-DistributionRequestForm(IRASEP&Roth).pdf\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t\t

Please note frequency of distribution option and journal are not available as a method of distribution.

\n\t\t\t
\n\t\t);\n\t\tdefault: return ;\n\t}\n};\n\nconst WithdrawInstruction = ({ clearer, iraType }) => {\n\tswitch (clearer) {\n\t\tcase 'cor': return ;\n\t\tcase 'vision': return ;\n\t\tdefault: return ;\n\t}\n};\n\nconst WITHDRAW_FUNDS_IRA_FORM = 'withdrawFundsIraForm';\nconst formSelector = formValueSelector(WITHDRAW_FUNDS_IRA_FORM);\nconst mapStateToProps = (state, ownProps) => {\n\tconst currentTradeAccount = userAccounts.selectors.currentTradeAccount(state);\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tTradeCode: currentTradeAccount.tradeCode,\n\t\t\tClearingFirm: currentTradeAccount.clearerFirm,\n\t\t\tAmount: ownProps.amount,\n\t\t\tAttachments: [],\n\t\t},\n\t\tgetFormValue: fieldName => formSelector(state, fieldName),\n\t\tcurrentTradeAccount,\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\t\tiraType: accountInfo.IraType,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\thideWithdrawFundsIraModal: () => dispatch(withdrawFunds.actions.hideWithdrawFundsIraModal()),\n\t\trefreshAccountPortfolio: tradeCode =>\n\t\t\tdispatch(userAccounts.actions.getAccountPortfolio.request({ tradeCode })),\n\t},\n});\n\nclass IraWithdrawalForm extends React.Component {\n\tstatic getCashToWithdraw(props) {\n\t\tconst { currentAccountData: { baseParams, submitting } } = props;\n\t\treturn !submitting && baseParams && baseParams.CashToWithdrawValue;\n\t}\n\n\tstatic validate(values, props) {\n\t\tconst errors = {};\n\t\tconst cashToWithdraw = IraWithdrawalForm.getCashToWithdraw(props);\n\n\t\tif (!values.Amount || values.Amount <= 0) {\n\t\t\terrors.Amount = 'required';\n\t\t} else if (typeof cashToWithdraw === 'number') {\n\t\t\tif (cashToWithdraw < values.Amount) {\n\t\t\t\terrors.Amount = 'Available amount for withdrawal is less than requested';\n\t\t\t}\n\t\t}\n\t\tif (!values.Attachments || values.Attachments.length === 0) {\n\t\t\terrors.Attachments = 'required';\n\t\t}\n\t\treturn errors;\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tactions,\n\t\t\tamount,\n\t\t\tiraType,\n\t\t\tfromUserAccount,\n\t\t\tgetFormValue,\n\t\t\thandleSubmit,\n\t\t\tsubmitSucceeded,\n\t\t\tchange,\n\t\t\tcurrentTradeAccount,\n\t\t\tcurrentAccountData: {\n\t\t\t\tsubmitting,\n\t\t\t},\n\t\t\tform,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\tconst noAttachments = (getFormValue('Attachments') || []).length === 0;\n\n\t\treturn submitSucceeded ? :\n\t\t\t(\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
{currentTradeAccount.tradeCode}
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t { actions.refreshAccountPortfolio(currentTradeAccount.tradeCode); }}\n\t\t\t\t\t/>\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t change('Attachments', data)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{props.submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Withdraw'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t);\n\t}\n}\n\nIraWithdrawalForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\tfromUserAccount: PropTypes.shape({\n\t\ttradeCode: PropTypes.string.isRequired,\n\t\tclearer: PropTypes.string.isRequired,\n\t}).isRequired,\n\tiraType: PropTypes.oneOf(Object.values(IraTypes)),\n};\n\nIraWithdrawalForm.defaultProps = {\n\tiraType: null,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: WITHDRAW_FUNDS_IRA_FORM,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess('BROKER');\n\t\t\t}\n\t\t},\n\t\tvalidate: IraWithdrawalForm.validate,\n\t}),\n)(IraWithdrawalForm);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { ModalPopups } from '@enums';\nimport { ipo } from '@redux';\nimport { Modal, A } from '@components';\n\nconst styles = theme => ({\n\tlinkContainer: {\n\t\ttextAlign: 'right',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tipoOrderExtendedInfo: ipo.selectors.ipoOrderExtendedInfo(state),\n});\n\nclass IpoExtendedInfoMobileModal extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tipoOrderExtendedInfo,\n\t\t\tonClose,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tconst offering = ipoOrderExtendedInfo.Offering;\n\n\t\tlet prospUrl = offering.ProsepectusUrl;\n\t\tif (prospUrl && prospUrl.indexOf('http') < 0) {\n\t\t\tprospUrl = `https://${prospUrl}`;\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{offering.Description}\n\t\t\t\t
\n\t\t\t\t

\n\t\t\t\t\tProspectus\n\t\t\t\t

\n\t\t\t\n\t\t);\n\t}\n}\n\nIpoExtendedInfoMobileModal.propTypes = {\n\tipoOrderExtendedInfo: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tclasses: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(IpoExtendedInfoMobileModal);\n","import React from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { push } from 'connected-react-router';\nimport { profile } from '@redux';\nimport {\n\tModal,\n\tA,\n\tLogOutButton,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { env } from '@config';\n\nconst useStyles = makeStyles({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n});\n\nconst DemoAccountModal = () => {\n\tconst classes = useStyles();\n\n\tconst handleClick = () => {\n\t\t// тут ресет демо аккаунта\n\t};\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t

Your demo account has expired. Open an account to maintain access.

\n\t\t\t\t handleClick()} href={env.anketaSiteUrl}>\n Open an account to maintain access\n\t\t\t\t\n\t\t\t\t
Log out
\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default DemoAccountModal;\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport {\n\tButton,\n\tModal,\n\tFormInputNumber,\n\tSelectPoints,\n} from '@components';\nimport { Field, reduxForm, formValueSelector } from 'redux-form';\nimport { ModalPopups, ValidationMessageMode, MarginType, OptionLevel } from '@enums';\nimport { userAccounts } from '@redux';\nimport { connect } from 'react-redux';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport classNames from 'classnames';\n\nconst styles = theme => ({\n\ttitle: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.typography.color.secondary,\n\t\ttextAlign: 'center',\n\t\tmarginBottom: '0px',\n\t},\n\tfieldTitle: {\n\t\tmargin: '10px 0px 0px 0px',\n\t},\n\tamountInput: {\n\t\t'& div > div': {\n\t\t\tdisplay: 'block',\n\t\t},\n\t\t'& div > div > div > div': {\n\t\t\tpadding: '12px 24px 5px',\n\t\t},\n\t},\n\terrorItem: {\n\t\tcolor: theme.typography.color.muiError,\n\t},\n\tbutton: {\n\t\tpaddingTop: '12px',\n\t},\n});\n\nconst RESET_DEMO_BALANCE_FORM_ID = 'ResetDemoBalanceForm';\nconst formSelector = formValueSelector(RESET_DEMO_BALANCE_FORM_ID);\n\nconst AMOUNT_FIELD = 'Amount';\nconst MARGIN_TYPE_FIELD = 'MarginType';\nconst OPTION_LEVEL_FIELD = 'OptionLevel';\n\nconst AMOUNT_1000 = 1000;\nconst AMOUNT_2000 = 2000;\nconst AMOUNT_5000 = 5000;\nconst AMOUNT_25000 = 25000;\nconst AMOUNT_100000 = 100000;\n\nconst mapStateToProps = state => ({\n\tinitialValues: {\n\t\t[AMOUNT_FIELD]: `${AMOUNT_100000}`,\n\t\t[MARGIN_TYPE_FIELD]: MarginType.MARGIN_X2,\n\t\t[OPTION_LEVEL_FIELD]: OptionLevel.Level5,\n\t},\n\tamountValue: formSelector(state, AMOUNT_FIELD),\n\tmarginTypeValue: formSelector(state, MARGIN_TYPE_FIELD),\n\toptionLevelValue: formSelector(state, OPTION_LEVEL_FIELD),\n});\n\nconst MarginTypes = [\n\t{\n\t\tdisplayText: MarginType.CASH,\n\t\tvalue: MarginType.CASH,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $1,000', highlightable: true },\n\t\t\t{ text: 'T+1 Settlement' },\n\t\t\t{ text: 'Trade on Settled Cash' },\n\t\t],\n\t},\n\t{\n\t\tdisplayText: 'Margin X2',\n\t\tvalue: MarginType.MARGIN_X2,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $2,000', highlightable: true },\n\t\t\t{ text: 'Trade with 2:1 Buying Power' },\n\t\t\t{ text: 'No more than 3 day trades in the previous 5 trading days' },\n\t\t],\n\t},\n\t{\n\t\tdisplayText: 'Day Trader',\n\t\tvalue: MarginType.DAY_TRADER,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $25,000', highlightable: true },\n\t\t\t{ text: 'Trade with 4:1 Buying Power intraday' },\n\t\t\t{ text: '2:1 Buying Power overnight' },\n\t\t\t{ text: 'No limit on day trades' },\n\t\t],\n\t},\n];\n\nconst OptionLevels = [\n\t{\n\t\tvalue: OptionLevel.Level0,\n\t\tprompt: [\n\t\t\t{ text: 'No option trading allowed' },\n\t\t],\n\t\trequiresMargin: false,\n\t},\n\t{\n\t\tvalue: OptionLevel.Level1,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $1,000', highlightable: true },\n\t\t\t{ text: 'Covered writing of equity calls' },\n\t\t],\n\t\trequiresMargin: false,\n\t},\n\t{\n\t\tvalue: OptionLevel.Level2,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $2,000', highlightable: true },\n\t\t\t{ text: 'Level 1 plus' },\n\t\t\t{ text: 'Purchase of equity and index calls and puts' },\n\t\t\t{ text: 'Purchase of equity and index straddles or combinations' },\n\t\t],\n\t\trequiresMargin: false,\n\t},\n\t{\n\t\tvalue: OptionLevel.Level3,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $5,000', highlightable: true },\n\t\t\t{ text: 'Level 2 plus' },\n\t\t\t{ text: 'Equity spreads' },\n\t\t\t{ text: 'Covered writing of equity puts' },\n\t\t],\n\t\trequiresMargin: true,\n\t},\n\t{\n\t\tvalue: OptionLevel.Level4,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $25,000', highlightable: true },\n\t\t\t{ text: 'Level 3 plus' },\n\t\t\t{ text: 'Uncovered writing of equity puts' },\n\t\t],\n\t\trequiresMargin: true,\n\t},\n\t{\n\t\tvalue: OptionLevel.Level5,\n\t\tprompt: [\n\t\t\t{ text: 'Minimum equity required is $100,000', highlightable: true },\n\t\t\t{ text: 'Level 4 plus' },\n\t\t\t{ text: 'Uncovered writing of straddles or combinations' },\n\t\t],\n\t\trequiresMargin: true,\n\t},\n];\n\nclass ResetDemoBalanceModal extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values.Amount || values.Amount < AMOUNT_1000) {\n\t\t\terrors.Amount = 'Minimum amount for the demo account is $1,000';\n\t\t}\n\n\t\tif (values.Amount && values.Amount > AMOUNT_100000) {\n\t\t\terrors.Amount = 'Maximum amount for the demo account is $100,000';\n\t\t}\n\n\t\tif (!values.MarginType) {\n\t\t\terrors.MarginType = 'Required';\n\t\t}\n\n\t\tif (!values.OptionLevel) {\n\t\t\terrors.OptionLevel = 'Required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tsubmitting: false,\n\t\t\tmargingTypedDisabled: new Set(),\n\t\t\toptionLevelDisabled: new Set(),\n\t\t\toptionLevelHighlighted: new Set(),\n\t\t};\n\t}\n\n\thandleAmountChanged = (_, newValue) => {\n\t\tconst amountAsNumber = +newValue;\n\t\tthis.calcMarginTypeDisabled(amountAsNumber);\n\t\tthis.calcOptionLevelDisabled(amountAsNumber, this.props.marginTypeValue);\n\t\tthis.calcOptionLevelHighlighted(amountAsNumber);\n\t}\n\n\thandleMarginChange = (event) => {\n\t\tthis.setState({ selectedMarginLevel: event.target.value });\n\t\tthis.calcOptionLevelDisabled(+this.props.amountValue, event.target.value);\n\t}\n\n\thandleOptionsChange = (event) => {\n\t\tthis.setState({ selectedOptionLevel: event.target.value });\n\t}\n\n\tclearMarginType = () => {\n\t\tconst { change } = this.props;\n\t\tchange(MARGIN_TYPE_FIELD, '');\n\t}\n\n\tclearOptionLevel = () => {\n\t\tconst { change } = this.props;\n\t\tchange(OPTION_LEVEL_FIELD, '');\n\t}\n\n\tcalcMarginTypeDisabled = (value) => {\n\t\tconst {\n\t\t\tmarginTypeValue,\n\t\t} = this.props;\n\n\t\tif (value >= AMOUNT_25000 && value <= AMOUNT_100000) {\n\t\t\tthis.setState({\n\t\t\t\tmargingTypedDisabled: new Set(),\n\t\t\t});\n\t\t}\n\n\t\tif (value >= AMOUNT_2000 && value < AMOUNT_25000) {\n\t\t\tthis.setState({\n\t\t\t\tmargingTypedDisabled: new Set([MarginType.DAY_TRADER]),\n\t\t\t});\n\n\t\t\tif (marginTypeValue === MarginType.DAY_TRADER) {\n\t\t\t\tthis.clearMarginType();\n\t\t\t}\n\t\t}\n\n\t\tif (value >= AMOUNT_1000 && value < AMOUNT_2000) {\n\t\t\tthis.setState({\n\t\t\t\tmargingTypedDisabled: new Set([MarginType.MARGIN_X2, MarginType.DAY_TRADER]),\n\t\t\t});\n\n\t\t\tif (marginTypeValue === MarginType.DAY_TRADER || marginTypeValue === MarginType.MARGIN_X2) {\n\t\t\t\tthis.clearMarginType();\n\t\t\t}\n\t\t}\n\n\t\tif (value < AMOUNT_1000) {\n\t\t\tthis.setState({\n\t\t\t\tmargingTypedDisabled: new Set([MarginType.CASH, MarginType.MARGIN_X2, MarginType.DAY_TRADER]),\n\t\t\t});\n\t\t\tthis.clearMarginType();\n\t\t}\n\t}\n\n\tcalcOptionLevelDisabled = (amountValue, marginTypeValue) => {\n\t\tconst {\n\t\t\toptionLevelValue,\n\t\t} = this.props;\n\n\t\tif (marginTypeValue === MarginType.CASH) {\n\t\t\tif (amountValue >= AMOUNT_2000) {\n\t\t\t\tthis.setState({\n\t\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t\t]),\n\t\t\t\t});\n\n\t\t\t\tif (optionLevelValue === OptionLevel.Level3 ||\n\t\t\t\t\toptionLevelValue === OptionLevel.Level4 ||\n\t\t\t\t\toptionLevelValue === OptionLevel.Level5) {\n\t\t\t\t\tthis.clearOptionLevel();\n\t\t\t\t}\n\t\t\t} else if (amountValue >= AMOUNT_1000 && amountValue < AMOUNT_2000) {\n\t\t\t\tthis.setState({\n\t\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\t\tOptionLevel.Level2,\n\t\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t\t]),\n\t\t\t\t});\n\n\t\t\t\tif (optionLevelValue === OptionLevel.Level2) {\n\t\t\t\t\tthis.clearOptionLevel();\n\t\t\t\t}\n\t\t\t} else if (amountValue < AMOUNT_1000) {\n\t\t\t\tthis.setState({\n\t\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\t\tOptionLevel.Level0,\n\t\t\t\t\t\tOptionLevel.Level1,\n\t\t\t\t\t\tOptionLevel.Level2,\n\t\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t\t]),\n\t\t\t\t});\n\n\t\t\t\tif (optionLevelValue === OptionLevel.Level2) {\n\t\t\t\t\tthis.clearOptionLevel();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\t// marginTypeValue !== MarginType.CASH\n\t\tif (amountValue === AMOUNT_100000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelDisabled: new Set(),\n\t\t\t});\n\t\t} else if (amountValue >= AMOUNT_25000 && amountValue < AMOUNT_100000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\n\t\t\tif (optionLevelValue === OptionLevel.Level5) {\n\t\t\t\tthis.clearOptionLevel();\n\t\t\t}\n\t\t} else if (amountValue >= AMOUNT_5000 && amountValue < AMOUNT_25000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\n\t\t\tif (optionLevelValue === OptionLevel.Level4 ||\n\t\t\t\toptionLevelValue === OptionLevel.Level5) {\n\t\t\t\tthis.clearOptionLevel();\n\t\t\t}\n\t\t} else if (amountValue >= AMOUNT_2000 && amountValue < AMOUNT_5000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\n\t\t\tif (optionLevelValue === OptionLevel.Level3 ||\n\t\t\t\toptionLevelValue === OptionLevel.Level4 ||\n\t\t\t\toptionLevelValue === OptionLevel.Level5) {\n\t\t\t\tthis.clearOptionLevel();\n\t\t\t}\n\t\t} else if (amountValue >= AMOUNT_1000 && amountValue < AMOUNT_2000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\tOptionLevel.Level2,\n\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\n\t\t\tif (optionLevelValue === OptionLevel.Level2 ||\n\t\t\t\toptionLevelValue === OptionLevel.Level3 ||\n\t\t\t\toptionLevelValue === OptionLevel.Level4 ||\n\t\t\t\toptionLevelValue === OptionLevel.Level5) {\n\t\t\t\tthis.clearOptionLevel();\n\t\t\t}\n\t\t} else if (amountValue < AMOUNT_1000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelDisabled: new Set([\n\t\t\t\t\tOptionLevel.Level0,\n\t\t\t\t\tOptionLevel.Level1,\n\t\t\t\t\tOptionLevel.Level2,\n\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\t\t\tthis.clearOptionLevel();\n\t\t} else {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelDisabled: new Set(),\n\t\t\t});\n\t\t}\n\t}\n\n\tcalcOptionLevelHighlighted = (amountValue) => {\n\t\tif (amountValue < AMOUNT_1000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelHighlighted: new Set([\n\t\t\t\t\tOptionLevel.Level1,\n\t\t\t\t\tOptionLevel.Level2,\n\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\t\t}\n\t\telse if (amountValue >= AMOUNT_1000 && amountValue < AMOUNT_2000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelHighlighted: new Set([\n\t\t\t\t\tOptionLevel.Level2,\n\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\t\t} else if (amountValue >= AMOUNT_2000 && amountValue < AMOUNT_5000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelHighlighted: new Set([\n\t\t\t\t\tOptionLevel.Level3,\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\t\t} else if (amountValue >= AMOUNT_5000 && amountValue < AMOUNT_25000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelHighlighted: new Set([\n\t\t\t\t\tOptionLevel.Level4,\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\t\t} else if (amountValue >= AMOUNT_25000 && amountValue < AMOUNT_100000) {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelHighlighted: new Set([\n\t\t\t\t\tOptionLevel.Level5,\n\t\t\t\t]),\n\t\t\t});\n\t\t} else {\n\t\t\tthis.setState({\n\t\t\t\toptionLevelHighlighted: new Set(),\n\t\t\t});\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\ttheme,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\t\tSet up your demo account\n\t\t\t\t\t

\n\t\t\t\t\t

Amount

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{/* MARGIN */}\n\t\t\t\t\t

Account Type

\n\t\t\t\t\t
\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tif (!selectedValue) {\n\t\t\t\t\t\t\t\t\treturn 'Choose your account type';\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn selectedValue && MarginTypes.find(it => it.value === selectedValue).value;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonChange={this.handleMarginChange}\n\t\t\t\t\t\t\tbulletPoints={(selectedValue) => {\n\t\t\t\t\t\t\t\tconst displayedItem = selectedValue && MarginTypes.find(it => it.value === selectedValue);\n\t\t\t\t\t\t\t\treturn displayedItem ? displayedItem.prompt.map((pr, i) => (
- {pr.text}
)) : null;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tfullWidth\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{MarginTypes.map(it => (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{{ it.displayText }}\n\t\t\t\t\t\t\t\t\t\t{it.prompt.map((pr, i) => {\n\t\t\t\t\t\t\t\t\t\t\tconst style = classNames({\n\t\t\t\t\t\t\t\t\t\t\t\t[classes.errorItem]: this.state.margingTypedDisabled.has(it.value) && pr.highlightable,\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\treturn (
- {pr.text}
);\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{/* OPTION */}\n\t\t\t\t\t

Option Level

\n\t\t\t\t\t
\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tif (!selectedValue) {\n\t\t\t\t\t\t\t\t\treturn 'Choose your option level';\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tconst displayedOption = selectedValue && OptionLevels.find(it => it.value === selectedValue);\n\t\t\t\t\t\t\t\treturn `Level ${displayedOption.value}`;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonChange={this.handleOptionsChange}\n\t\t\t\t\t\t\tbulletPoints={(selectedValue) => {\n\t\t\t\t\t\t\t\tconst displayedItem = selectedValue && OptionLevels.find(it => it.value === selectedValue);\n\t\t\t\t\t\t\t\treturn displayedItem ? displayedItem.prompt.map((pr, i) => (
- {pr.text}
)) : null;\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tfullWidth\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{OptionLevels.map(it => (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\tLevel {it.value} {\n\t\t\t\t\t\t\t\t\t\t\tit.requiresMargin\n\t\t\t\t\t\t\t\t\t\t\t\t? (Requires Margin)\n\t\t\t\t\t\t\t\t\t\t\t\t: ''}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{it.prompt.map((pr, i) => {\n\t\t\t\t\t\t\t\t\t\t\tconst style = classNames({\n\t\t\t\t\t\t\t\t\t\t\t\t[classes.errorItem]: this.state.optionLevelHighlighted.has(it.value) && pr.highlightable,\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\treturn (
- {pr.text}
);\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{this.state.submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Reset account'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nResetDemoBalanceModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\ttheme: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tamountValue: PropTypes.string,\n\tmarginTypeValue: PropTypes.string,\n\toptionLevelValue: PropTypes.string,\n\tchange: PropTypes.func.isRequired,\n};\n\nResetDemoBalanceModal.defaultProps = {\n\tamountValue: `${AMOUNT_100000}`,\n\tmarginTypeValue: MarginType.CASH,\n\toptionLevelValue: OptionLevel.Level5,\n};\n\nexport default compose(\n\twithStyles(styles),\n\twithTheme,\n\tconnect(mapStateToProps, null),\n\treduxForm({\n\t\tform: RESET_DEMO_BALANCE_FORM_ID,\n\t\tvalidate: ResetDemoBalanceModal.validate,\n\t}),\n)(ResetDemoBalanceModal);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport {\n\tButton,\n\tModal,\n\tProgressContainer,\n\tSuccessMessage,\n\tErrorMessage,\n\tCheckbox,\n\tFileDownload,\n\tFormInput,\n} from '@components';\nimport { ModalPopups, ValidationMessageMode, AccountClearers } from '@enums';\nimport { userAccounts, snackbar } from '@redux';\nimport { env } from '@config';\nimport { formatDateAsTimeZone } from '@global';\nimport Radio from '@material-ui/core/Radio';\nimport RadioGroup from '@material-ui/core/RadioGroup';\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\n\nconst styles = theme => ({\n\tradioGroup: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t\talignItems: 'center',\n\t},\n\tprogressContainer: {\n\t\tmarginTop: '15px',\n\t},\n\taccountChoose: {\n\t\t...theme.typography.style.title,\n\t\ttextAlign: 'center',\n\t\tmarginBottom: '10px',\n\t},\n\tinputItem: {\n\t\t'& div > div': {\n\t\t\t...theme.typography.style.body,\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tpaddingTop: '20px',\n\t\t},\n\t},\n\tbuttonContinue: {\n\t\tmarginTop: '10px',\n\t},\n\totherAccountText: {\n\t\ttextAlign: 'center',\n\t},\n\tcircularProgress: {\n\t\tcolor: theme.typography.color.blue,\n\t},\n});\n\nconst AccountType = {\n\tINDIVIDUAL: 'Individual',\n\tOTHER: 'Other',\n};\n\nconst OPEN_SECOND_ACCOUNT_FORM = 'OpenSecondAccountForm';\nconst formSelector = formValueSelector(OPEN_SECOND_ACCOUNT_FORM);\n\nconst mapStateToProps = (state, props) => ({\n\treason: formSelector(state, 'reason'),\n\tsecondAccountAgreement: userAccounts.selectors.secondAccountAgreement(state),\n\taccountsLoading: userAccounts.selectors.loading(state),\n\tshowAllAccountTypes: userAccounts.selectors.accounts(state).some(acc => !acc.IsClosed\n\t\t&& acc.ClearerFirm === AccountClearers.VISION\n\t\t&& acc.AccountType === AccountType.INDIVIDUAL),\n});\n\nconst mapDispatchToProps = (dispatch, props) => ({\n\tactions: {\n\t\tsecondAccountAgreement: (payload) => {\n\t\t\tdispatch(userAccounts.actions.secondAccountVisionAgreement.request(payload));\n\t\t},\n\t\tclearSecondAccountAgreementData: () => {\n\t\t\tdispatch(userAccounts.actions.secondAccountVisionAgreement.failure());\n\t\t},\n\t\tshowError: message => dispatch(snackbar.actions.showErrorMessage({ text: message })),\n\t\topenAdditionalAccount: payload => dispatch(userAccounts.actions.openAdditionalAccount.request(payload)),\n\t},\n});\n\nclass OpenSecondAccountModal extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values.reason) {\n\t\t\terrors.reason = 'Cannot';\n\t\t}\n\t}\n\n\tstatic validateReason = (value) => {\n\t\tconst maxCharsNumber = 150;\n\t\tconst regExpReason = /^[A-Za-z0-9\\s:;/)(\\-.,\"']+$/;\n\n\t\tif (!value) {\n\t\t\treturn 'Cannot be empty';\n\t\t}\n\t\tif (value && (value.length > maxCharsNumber || !regExpReason.test(value))) {\n\t\t\treturn `Up to ${maxCharsNumber} characters allowed; latin characters and digits only,\n\t\t\t\tno special characters except for: . , - / \" ' : ; () space`;\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\tselectedAccountType: !props.showAllAccountTypes ? AccountType.OTHER : AccountType.INDIVIDUAL,\n\t\t\tagreementLoaded: false,\n\t\t\tagreed: false,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.props.actions.clearSecondAccountAgreementData();\n\t}\n\n\t// Пересчет selected account type-а при открытии окна по прямой ссылыке\n\tcomponentDidUpdate(prevProps) {\n\t\tif (prevProps.accountsLoading !== this.props.accountsLoading) {\n\t\t\t// eslint-disable-next-line react/no-did-update-set-state\n\t\t\tthis.setState({ selectedAccountType: !this.props.showAllAccountTypes ? AccountType.OTHER : AccountType.INDIVIDUAL });\n\t\t}\n\t}\n\n\thandleDownloadAgreementClicked = () => {\n\t\t// Сброс чекбокса потому что он \"взводится\", когда клиент нажимает на ссылку, которая является частью чекбокса\n\t\tthis.setState({ agreed: false });\n\t};\n\n\thandleAgreementDownloadSuccess = () => {\n\t\tthis.setState({ agreementLoaded: true });\n\t}\n\n\thandleAgreementDownloadError = (data) => {\n\t\tconst { actions } = this.props;\n\t\tthis.setState({ agreementLoaded: false });\n\t\tactions.showError((data && data.Errors && data.Errors[0].Message) || data);\n\t}\n\n\thandleSecondAccountAgreementChanged = (event, value) => {\n\t\tthis.setState({ agreed: value });\n\t}\n\n\thandleAccountTypeChange = (e) => {\n\t\tthis.setState({\n\t\t\tselectedAccountType: e.target.value,\n\t\t});\n\t}\n\n\thandleContinueClick = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\treason,\n\t\t} = this.props;\n\n\t\tactions.secondAccountAgreement({ reason });\n\t}\n\n\tgenerateAgreementFileName = () => `Second_Account_Request_Vision_unsigned_${formatDateAsTimeZone(new Date(), 'YYYYMMDDHHmmss')}`;\n\n\tchoseAccountTypeBlock = () => {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tshowAllAccountTypes,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
Choose account type
\n\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={!showAllAccountTypes}\n\t\t\t\t\t\tlabel={AccountType.INDIVIDUAL}\n\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={!showAllAccountTypes}\n\t\t\t\t\t\tlabel={AccountType.OTHER}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n\n\totherBlock = () => {\n\t\tconst {\n\t\t\tonClose,\n\t\t\tclasses,\n\t\t} = this.props;\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tTo open this type of an account, please, contact our customer support at  \n\t\t\t\t\tsupport@lime.co\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tOK\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n\n\tindividualBlock = () => {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t\tpristine,\n\t\t\thandleSubmit,\n\t\t\tsecondAccountAgreement,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{!secondAccountAgreement.created &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tContinue\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t{secondAccountAgreement.created &&\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tI have read, reviewed and agreed to  \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tchecked={this.state.agreed}\n\t\t\t\t\t\t\tonChange={this.handleSecondAccountAgreementChanged}\n\t\t\t\t\t\t\tdisabled={!this.state.agreementLoaded}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'Submit'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tonClose,\n\t\t\tsubmitting,\n\t\t\taccountsLoading,\n\t\t\tsubmitFailed,\n\t\t\tsubmitSucceeded,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{submitSucceeded &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{submitFailed &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{!submitSucceeded && !submitFailed &&\n\t\t\t\t\t\tthis.choseAccountTypeBlock()\n\t\t\t\t\t}\n\t\t\t\t\t{/** IF OTHER */\n\t\t\t\t\t\t!submitSucceeded && !submitFailed &&\n\t\t\t\t\t\tthis.state.selectedAccountType === AccountType.OTHER &&\n\t\t\t\t\t\tthis.otherBlock()\n\t\t\t\t\t}\n\t\t\t\t\t{/** IF INDIVIDUAL */\n\t\t\t\t\t\t!submitSucceeded && !submitFailed &&\n\t\t\t\t\t\tthis.state.selectedAccountType === AccountType.INDIVIDUAL &&\n\t\t\t\t\t\tthis.individualBlock()\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nOpenSecondAccountModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tshowAllAccountTypes: PropTypes.bool.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tsubmitFailed: PropTypes.bool.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\tpristine: PropTypes.bool.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tsecondAccountAgreement: PropTypes.object.isRequired,\n\taccountsLoading: PropTypes.bool.isRequired,\n\treason: PropTypes.string,\n};\n\nOpenSecondAccountModal.defaultProps = {\n\treason: '',\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: OPEN_SECOND_ACCOUNT_FORM,\n\t\tvalidate: OpenSecondAccountModal.validate,\n\t\tenableReinitialize: true,\n\t}),\n)(OpenSecondAccountModal);\n","import React from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { profile } from '@redux';\nimport {\n\tModal,\n\tButton,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { useDispatch } from 'react-redux';\n\nconst useStyles = makeStyles({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\ttext: {\n\t\ttextAlign: 'center',\n\t},\n});\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tshowModal: () => dispatch(profile.actions.showChangeTwoFactorAuthorizationModal({ closeButtonDisabled: true })),\n\t});\n};\n\nconst SecondAccountRestrictionModal = () => {\n\tconst classes = useStyles();\n\tconst actions = useActions();\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tAccess to your account was restricted due to 2FA
\n\t\t\t\t\t(Two-Factor Authentication) not being enabled.
\n\t\t\t\t\tPlease, enable 2FA.\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tEnable\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default SecondAccountRestrictionModal;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalPopups, InsufficientClientDataKeys } from '@enums';\nimport { profile } from '@redux';\nimport { A, Modal } from '@components';\nimport { connect } from 'react-redux';\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tredirectToChangeAddressModal: () => dispatch(profile.actions.redirectToChangeAddressModal()),\n\t\tredirectToChangeEmploymentModal: () => dispatch(profile.actions.redirectToChangeEmploymentModal()),\n\t\tredirectToChangePhoneModal: () => dispatch(profile.actions.redirectToChangePhoneModal()),\n\t\tredirectToChangeEmailModal: () => dispatch(profile.actions.redirectToChangeEmailModal()),\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tmodalParams: profile.selectors.modals(state)[ModalPopups.CLIENT_DATA_INSUFFICIENT],\n});\n\nclass ClientDataInsufficientModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tconst {\n\t\t\tactions,\n\t\t} = props;\n\n\t\tthis.links = new Map([\n\t\t\t[InsufficientClientDataKeys.ADDRESS_RESIDENCE, actions.redirectToChangeAddressModal],\n\t\t\t[InsufficientClientDataKeys.EMPLOYMENT_STATUS, actions.redirectToChangeEmploymentModal],\n\t\t\t[InsufficientClientDataKeys.PLACE_EMPLOYMENT, actions.redirectToChangeEmploymentModal],\n\t\t\t[InsufficientClientDataKeys.EMPLOYMENT_POSITION, actions.redirectToChangeEmploymentModal],\n\t\t\t[InsufficientClientDataKeys.EMPLOYMENT_FUNCTIONS, actions.redirectToChangeEmploymentModal],\n\t\t\t[InsufficientClientDataKeys.EMPLOYMENT_ADDRESS, actions.redirectToChangeEmploymentModal],\n\t\t\t[InsufficientClientDataKeys.PHONE_NUMBER, actions.redirectToChangePhoneModal],\n\t\t\t[InsufficientClientDataKeys.EMAIL_ADDRESS, actions.redirectToChangeEmailModal],\n\t\t]);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tonClose,\n\t\t\tmodalParams,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{modalParams && modalParams.missingList && modalParams.missingList.length > 0 &&\n\t\t\t\t\t
\n\t\t\t\t\t\t

The following information is missing from your account:

\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t{modalParams.missingList.map((item, index) => {\n\t\t\t\t\t\t\t\tconst link = this.links.get(item);\n\t\t\t\t\t\t\t\treturn (
  • {item}
  • );\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t

Please update this information prior to submitting your Market Data Subscriptions.

\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{modalParams && modalParams.processingList && modalParams.processingList.length > 0 &&\n\t\t\t\t\t
\n\t\t\t\t\t\t

The following updates are currently being processed in your account:

\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t{modalParams.processingList.map((item, index) =>
  • {item}
  • )}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t

As soon as they are processed, you will be able to update your Market Data settings.

\n\t\t\t\t\t
\n\t\t\t\t}\n\n\t\t\t\n\t\t);\n\t}\n}\n\nClientDataInsufficientModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tmodalParams: PropTypes.object.isRequired,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ClientDataInsufficientModal);\n","import React from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n\tModal,\n\tButton,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { profile } from '@redux';\nimport { useDispatch } from 'react-redux';\n\nconst useStyles = makeStyles({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\ttext: {\n\t\ttextAlign: 'center',\n\t\tmarginBottom: '50px',\n\t},\n});\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tgoToMarketDataSubscriptions: () => dispatch(profile.actions.showChangeMarketDataSubscriptionsModal({ fromDashboardModal: true })),\n\t});\n};\n\nconst UpdateSubscriberAgreementsModal = () => {\n\tconst classes = useStyles();\n\tconst actions = useActions();\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tOur records indicate that you have not updated
\n\t\t\t\t\tyour Market Data Subscriber Agreements.
\n\t\t\t\t\tTo ensure continuous access to market data,
\n\t\t\t\t\tplease complete these updates.\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tUpdate Subscriber Agreements\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default UpdateSubscriberAgreementsModal;\n","import React from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\nimport {\n\tModal,\n\tButton,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { profile } from '@redux';\nimport { useDispatch } from 'react-redux';\n\nconst useStyles = makeStyles({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\ttext: {\n\t\ttextAlign: 'center',\n\t\tmarginBottom: '50px',\n\t},\n});\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tgoToMarketDataSubscriberStatus:\n\t\t\t() => dispatch(profile.actions.showChangeMarketDataSubscriberStatusModal({ fromDashboardModal: true })),\n\t});\n};\n\nconst UpdateSubscriberStatusModal = () => {\n\tconst classes = useStyles();\n\tconst actions = useActions();\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tOur records indicate that you have not updated
\n\t\t\t\t\tyour Market Data Subscriber Status or Subscriber
\n\t\t\t\t\tAgreements for all currently supplied data feeds.
\n\t\t\t\t\tTo ensure continuous access to market data,
\n\t\t\t\t\tplease complete these updates.\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\tUpdate Subscriber Status\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default UpdateSubscriberStatusModal;\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { profile } from '@redux';\nimport { Modal, ErrorMessage, ProgressContainer } from '@components';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(theme => ({\n\tpendingInfoText: {\n\t\ttextAlign: 'center',\n\t\tcolor: theme.typography.color.red,\n\t},\n}));\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tredirectToChangeAddressModal:\n\t\t\t() => dispatch(profile.actions.redirectToChangeAddressModal({ to: ModalPopups.WITHDRAW_FUNDS_WIRE })),\n\t\tgetProfileInfo: () => dispatch(profile.actions.getProfileRequest()),\n\t});\n};\n\nconst ActualAddressMissedModal = (props) => {\n\tconst actions = useActions();\n\tconst classes = useStyles();\n\n\tuseEffect(() => {\n\t\tactions.getProfileInfo();\n\t}, []);\n\n\tconst {\n\t\tonClose,\n\t} = props;\n\n\tconst {\n\t\tPendingOrders,\n\t\tsubmitting,\n\t} = useSelector(profile.selectors.profile);\n\n\tconst handleChangeAddressClick = () => {\n\t\tactions.redirectToChangeAddressModal();\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{PendingOrders.Address ?\n\t\t\t\t\t
\n\t\t\t\t\t\tCHANGE REQUEST IN PROGRESS\n\t\t\t\t\t
:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t
\n\t\t\n\t);\n};\n\nActualAddressMissedModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n};\n\nexport default ActualAddressMissedModal;\n","import React, { useState, useEffect } from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { profile, userAccounts } from '@redux';\nimport { connect } from 'react-redux';\nimport {\n\treduxForm,\n\tField,\n\tchange as reduxFormChange,\n\tformValueSelector,\n\ttouch,\n} from 'redux-form';\nimport {\n\tButton,\n\tErrorMessage,\n\tFormInput,\n\tProgressContainer,\n\tSuccessMessage,\n\tSelectField,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { constants } from '@config';\nimport { markAsTouched } from '@global';\nimport { RequireSignatureModal } from '../../..';\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t\tmarginBottom: '40px',\n\t},\n\tprogress: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n\tinputSelectItem: {\n\t\tmarginTop: '10px',\n\t\tborderRadius: '8px',\n\t},\n\tbutton: {\n\t\tpaddingTop: '12px',\n\t},\n\tspanItem: {\n\t\tmarginTop: '20px',\n\t\tmarginBottom: '8px',\n\t\ttextAlign: 'center',\n\t},\n\theader: {\n\t\ttextAlign: 'center',\n\t\tmargin: '0px',\n\t},\n\tinputItem: {\n\t\t'& div > div': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t},\n\t},\n});\n\nconst CHANGE_PROFILE_POST_ADDRESS_FORM = 'ChangeProfilePostAddressForm';\nconst formSelector = formValueSelector(CHANGE_PROFILE_POST_ADDRESS_FORM);\n\nconst mapStateToProps = (state) => {\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_PROFILE_POST_ADDRESS];\n\tconst userProfile = modalParams || profile.selectors.profile(state);\n\tconst userInfo = userAccounts.selectors.userInfo(state);\n\n\tconst userPostAddress = userProfile.PersonalInformation.PostAddress;\n\tconst country = (userPostAddress && userPostAddress.Country) || '';\n\tconst stateAbbr = (userPostAddress && userPostAddress.StateAbbr) || '';\n\n\treturn {\n\t\tinitialValues: {\n\t\t\tclientId: userProfile.ClientId,\n\t\t\tguid: userProfile.Guid,\n\t\t\tstreetAddress: (userPostAddress && userPostAddress.StreetAddress) || '',\n\t\t\thouse: (userPostAddress && userPostAddress.House) || '',\n\t\t\tbuilding: (userPostAddress && userPostAddress.Building) || '',\n\t\t\tapartment: (userPostAddress && userPostAddress.Apartment) || '',\n\t\t\tcity: (userPostAddress && userPostAddress.City) || '',\n\t\t\tzipCode: (userPostAddress && userPostAddress.ZipCode) || '',\n\t\t\tcountry,\n\t\t\tstateAbbr,\n\t\t},\n\t\tinitialAddressValue: profile.selectors.profile(state).PersonalInformation.FullPostAddress,\n\t\taddressValue: formSelector(state, 'Value'),\n\t\tcountries: profile.selectors.getCountries(state),\n\t\tusaStates: profile.selectors.getUsaStates(state),\n\t\tprofileSubmitting: userProfile.submitting || userAccounts.selectors.loading(state),\n\t\tpendingOrdersAddress: userProfile.PendingOrders.PostAddress,\n\t\tisForeign: userInfo.IsForeign,\n\t\tisSelfEdit: (!userProfile.Guid && !userProfile.ClientId)\n\t\t\t|| (userProfile.Guid && userInfo.Guid.toLowerCase() === userProfile.Guid.toLowerCase()),\n\t\tcountry,\n\t\tstateAbbr,\n\t\tformState: state.form,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshCountriesList: () => dispatch(profile.actions.getCountries.request()),\n\t\trefreshUsaStatesList: () => dispatch(profile.actions.getUsaStates.request()),\n\t\tsetFormField: (fieldName, value = null) => dispatch(reduxFormChange(CHANGE_PROFILE_POST_ADDRESS_FORM, fieldName, value)),\n\t\ttouchFields: fieldsName => dispatch(touch(CHANGE_PROFILE_POST_ADDRESS_FORM, ...fieldsName)),\n\t},\n});\n\nconst validate = (values) => {\n\tconst errors = {};\n\tif (!values.country) {\n\t\terrors.country = 'required';\n\t}\n\tif (!values.streetAddress) {\n\t\terrors.streetAddress = 'required';\n\t} else if (values.streetAddress.length > constants.maxCharsNumber) {\n\t\terrors.streetAddress = constants.maxCharsNumberError;\n\t}\n\tif (!values.city) {\n\t\terrors.city = 'required';\n\t} else if (values.city.length > constants.maxCharsNumber) {\n\t\terrors.city = constants.maxCharsNumberError;\n\t}\n\tif (!values.stateAbbr && values.country === 'US') {\n\t\terrors.stateAbbr = 'required';\n\t}\n\tif (!values.zipCode) {\n\t\terrors.zipCode = 'required';\n\t} else if (values.zipCode.length > constants.maxCharsNumber) {\n\t\terrors.zipCode = constants.maxCharsNumberError;\n\t}\n\tif (values.house && values.house.length > constants.maxCharsNumber) {\n\t\terrors.house = constants.maxCharsNumberError;\n\t}\n\tif (values.building && values.building.length > constants.maxCharsNumber) {\n\t\terrors.building = constants.maxCharsNumberError;\n\t}\n\tif (values.apartment && values.apartment.length > constants.maxCharsNumber) {\n\t\terrors.apartment = constants.maxCharsNumberError;\n\t}\n\treturn errors;\n};\n\nconst ChangeProfilePostAddressModal = ({\n\tcountry,\n\tclasses,\n\tonClose,\n\thandleSubmit,\n\tinvalid,\n\tprofileSubmitting,\n\tpendingOrdersAddress,\n\tsubmitting,\n\tsubmitSucceeded,\n\taddressValue,\n\tinitialAddressValue,\n\tactions,\n\tcountries,\n\tusaStates,\n\tstateAbbr,\n\tformState,\n\tanyTouched,\n}) => {\n\tconst [countryValue, setCountryValue] = useState(country);\n\n\tconst isPristine = addressValue === initialAddressValue;\n\n\tuseEffect(() => {\n\t\tif (!countries) {\n\t\t\tactions.refreshCountriesList();\n\t\t}\n\t\tif (!usaStates) {\n\t\t\tactions.refreshUsaStatesList();\n\t\t}\n\t}, [countries, usaStates, actions]);\n\n\tuseEffect(() => {\n\t\tconst form = formState[CHANGE_PROFILE_POST_ADDRESS_FORM];\n\t\tmarkAsTouched(anyTouched, form, actions.touchFields, ['clientId', 'guid']);\n\t}, [anyTouched, formState]);\n\n\tconst countryChanged = (event) => {\n\t\tconst selectedCountry = event.target.value;\n\t\tsetCountryValue(selectedCountry);\n\t\tif (selectedCountry !== 'US') {\n\t\t\tactions.setFormField('stateAbbr', null);\n\t\t}\n\t};\n\n\tconst sortUsFirst = (a, b) => {\n\t\tif (a.CodeLat2 === 'US') {\n\t\t\treturn -1;\n\t\t}\n\t\tif (b.CodeLat2 === 'US') {\n\t\t\treturn 1;\n\t\t}\n\t\tif (a.Name === b.Name) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn a.Name < b.Name ? -1 : 1;\n\t};\n\n\treturn (\n\t\t\n\t\t\t{submitSucceeded && }\n\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrdersAddress &&\n\t\t\t\t\n\t\t\t}\n\t\t\t{!submitSucceeded && !pendingOrdersAddress && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t

Please enter your new mailing address

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t ({ value: cntr.CodeLat2, text: cntr.Name }))) || []}\n\t\t\t\t\t\t\t\tvalue={countryValue}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{countryValue === 'US' &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t ({ value: st.Abbr, text: st.Name }))) || []}\n\t\t\t\t\t\t\t\t\tvalue={stateAbbr}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t: 'Change Mailing Address'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nChangeProfilePostAddressModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\tcountries: PropTypes.array,\n\tusaStates: PropTypes.array,\n\tcountry: PropTypes.string.isRequired,\n\tstateAbbr: PropTypes.string.isRequired,\n\tactions: PropTypes.object,\n\tprofileSubmitting: PropTypes.bool,\n\tpendingOrdersAddress: PropTypes.bool,\n\taddressValue: PropTypes.string,\n\tinitialAddressValue: PropTypes.string,\n\tformState: PropTypes.object,\n\tanyTouched: PropTypes.bool,\n};\n\nChangeProfilePostAddressModal.defaultProps = {\n\tcountries: undefined,\n\tusaStates: undefined,\n\tactions: undefined,\n\tprofileSubmitting: false,\n\tpendingOrdersAddress: false,\n\taddressValue: undefined,\n\tinitialAddressValue: undefined,\n\tformState: {},\n\tanyTouched: false,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: CHANGE_PROFILE_POST_ADDRESS_FORM,\n\t\tvalidate,\n\t\tenableReinitialize: true,\n\t}),\n)(ChangeProfilePostAddressModal);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { constants } from '@config';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n} from 'redux-form';\r\nimport {\r\n\tA,\r\n\tButton,\r\n\tFormInput,\r\n\tProgressContainer,\r\n\tSuccessMessage,\r\n} from '@components';\r\nimport { RequireSignatureModal } from '../../..';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tconfirmLink: {\r\n\t\tmarginTop: '16px',\r\n\t\tpaddingLeft: '24px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\tinputItem: {\r\n\t\t'& div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t},\r\n\t},\r\n});\r\n\r\nconst formSelector = formValueSelector('ChangeProfileEmailForm');\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_PROFILE_EMAIL];\r\n\tconst userProfile = (modalParams && modalParams.profile) || profile.selectors.profile(state);\r\n\tconst loading = userAccounts.selectors.loading(state);\r\n\tconst forceConfirmationEmail = !!(modalParams && modalParams.forceConfirmationEmail);\r\n\tconst prevEmail = userProfile.PersonalInformation.Email;\r\n\treturn {\r\n\t\tinitialValues: {\r\n\t\t\tclientId: userProfile.ClientId,\r\n\t\t\tguid: userProfile.Guid,\r\n\t\t\tAttachments: [],\r\n\t\t\tValue: forceConfirmationEmail ? prevEmail : '',\r\n\t\t},\r\n\t\tinitialEmailValue: prevEmail,\r\n\t\temailValue: formSelector(state, 'Value'),\r\n\t\tforceConfirmationEmail,\r\n\t\tloading,\r\n\t};\r\n};\r\n\r\nclass ChangeProfileEmailModal extends React.Component {\r\n\tstatic validate(values, props) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.Value) {\r\n\t\t\terrors.Value = 'required';\r\n\t\t} else if (!(constants.regExpEmail.test(values.Value))) {\r\n\t\t\terrors.Value = 'Invalid Format';\r\n\t\t} else if (values.Value.length > constants.maxCharsNumber) {\r\n\t\t\terrors.Value = constants.maxCharsNumberError;\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tloading,\r\n\t\t\temailValue,\r\n\t\t\tinitialEmailValue,\r\n\t\t\tforceConfirmationEmail, // true - if we want confirm prev email\r\n\t\t} = this.props;\r\n\t\t\r\n\t\tconst isPristine = forceConfirmationEmail ? false : emailValue === initialEmailValue;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded && \r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\tWe have sent a email with a confirmation link to your new email.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\tPlease check your email and click on link to complete an update.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t/>\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\tYou will receive a confirmation email after you submit this form.\r\n\t\t\t\t\t\t\t\tFollow the link in this email to confirm the changes.\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Email'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeProfileEmailModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\tforceConfirmationEmail: PropTypes.bool.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps),\r\n\treduxForm({\r\n\t\tform: 'ChangeProfileEmailForm',\r\n\t\tvalidate: ChangeProfileEmailModal.validate,\r\n\t}),\r\n)(ChangeProfileEmailModal);","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport InputAdornment from '@material-ui/core/InputAdornment';\r\nimport Visibility from '@material-ui/icons/Visibility';\r\nimport VisibilityOff from '@material-ui/icons/VisibilityOff';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { auth, profile } from '@redux';\r\nimport { constants } from '@config';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tformValueSelector,\r\n} from 'redux-form';\r\nimport {\r\n\tA,\r\n\tButton,\r\n\tErrorMessage,\r\n\tFormInput,\r\n\tFormInputPhoneIconNumber,\r\n\tProgressContainer,\r\n\tSuccessMessage,\r\n} from '@components';\r\nimport { RequireSignatureModal } from '../../..';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tconfirmLink: {\r\n\t\tmarginTop: '16px',\r\n\t\tpaddingLeft: '24px',\r\n\t},\r\n\tlink: {\r\n\t\ttextTransform: 'uppercase',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '24px',\r\n\t},\r\n\tinputPhoneItem: {\r\n\t\t'& > div > div:last-child': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t\tborderRadius: '8px',\r\n\t\t},\r\n\t},\r\n\tinputVerificationItem: {\r\n\t\t'& > div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t\tborderRadius: '8px',\r\n\t\t},\r\n\t},\r\n});\r\n\r\nconst formSelector = formValueSelector('ChangeProfilePhoneForm');\r\nconst emptyIfHidden = phone => ((phone && phone.indexOf('*') >= 0) ? '' : phone);\r\nconst mapStateToProps = (state) => {\r\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_PROFILE_PHONE];\r\n\tconst userProfile = modalParams || profile.selectors.profile(state);\r\n\treturn {\r\n\t\tinitialValues: {\r\n\t\t\tValue: emptyIfHidden(userProfile.PersonalInformation.Phone),\r\n\t\t\tclientId: userProfile.ClientId,\r\n\t\t\tguid: userProfile.Guid,\r\n\t\t},\r\n\t\tphoneValue: formSelector(state, 'Value'),\r\n\t\tprofileSubmitting: !!userProfile.submitting,\r\n\t\tpendingOrder: userProfile.PendingOrders.Phone,\r\n\t};\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsendConfirmationCode: (phone, reason) => dispatch(auth.actions.sendConfirmationCodeRequest(phone, reason)),\r\n\t},\r\n});\r\n\r\nclass ChangeProfilePhoneModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.Value) {\r\n\t\t\terrors.Value = 'required';\r\n\t\t}\r\n\r\n\t\tif (!values.ConfirmationCode) {\r\n\t\t\terrors.ConfirmationCode = 'required';\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\thasConfirmationCode: false,\r\n\t\t\tshowPassword: false,\r\n\t\t\tpassword: '',\r\n\t\t\tcurrentCount: 0,\r\n\t\t\tintervalId: null,\r\n\t\t\tphoneState: {\r\n\t\t\t\tdetermined: false,\r\n\t\t\t\tcompleted: false,\r\n\t\t\t},\r\n\t\t};\r\n\t\tthis.onRequestVerificationCode = this.onRequestVerificationCode.bind(this);\r\n\t\tthis.handleClickShowSmsCode = this.handleClickShowSmsCode.bind(this);\r\n\t\tthis.onPhoneChange = this.onPhoneChange.bind(this);\r\n\t\tthis.timer = this.timer.bind(this);\r\n\t}\r\n\r\n\tcomponentWillUnmount() {\r\n\t\t// use intervalId from the state to clear the interval\r\n\t\tclearInterval(this.state.intervalId);\r\n\t}\r\n\r\n\tonRequestVerificationCode() {\r\n\t\t// this.props.change('Attachments', files);\r\n\r\n\t\tthis.props.actions.sendConfirmationCode(this.props.phoneValue, constants.EtnaGateConfirmCode);\r\n\t\tconst intervalId = setInterval(this.timer, 1000);\r\n\t\tthis.setState({\r\n\t\t\thasConfirmationCode: true,\r\n\t\t\tcurrentCount: 30,\r\n\t\t\tintervalId,\r\n\t\t});\r\n\t}\r\n\r\n\tonPhoneChange(match) {\r\n\t\tif (match) {\r\n\t\t\tthis.setState({\r\n\t\t\t\tphoneState: match,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\thandleClickShowSmsCode() {\r\n\t\tthis.setState({ showPassword: !this.state.showPassword });\r\n\t}\r\n\r\n\ttimer() {\r\n\t\tconst timeRemains = this.state.currentCount - 1;\r\n\t\tif (timeRemains === 0) {\r\n\t\t\tclearInterval(this.state.intervalId);\r\n\t\t}\r\n\t\tthis.setState({ currentCount: timeRemains });\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tprofileSubmitting,\r\n\t\t\tpendingOrder,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tphoneValue,\r\n\t\t\tinitialValues,\r\n\t\t} = this.props;\r\n\r\n\t\tconst {\r\n\t\t\thasConfirmationCode,\r\n\t\t\tcurrentCount,\r\n\t\t\tphoneState,\r\n\t\t} = this.state;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded && }\r\n\t\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{hasConfirmationCode &&\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t{this.state.showPassword ? : }\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{currentCount === 0 && initialValues.Value !== phoneValue && phoneState.completed &&\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{hasConfirmationCode ? 'Request Code Again' : 'Request Verification Code'}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t{currentCount > 0 &&\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t\t\tYou can request new code in {currentCount} seconds\r\n\t\t\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Phone'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeProfilePhoneModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n\tprofileSubmitting: PropTypes.bool.isRequired,\r\n\tpendingOrder: PropTypes.bool.isRequired,\r\n\tinitialValues: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: 'ChangeProfilePhoneForm',\r\n\t\tvalidate: ChangeProfilePhoneModal.validate,\r\n\t}),\r\n)(ChangeProfilePhoneModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport { env } from '@config';\r\nimport {\r\n\tA,\r\n\tButton,\r\n\tFileDownload,\r\n\tSvgIcon,\r\n\tModal,\r\n\tSuccessMessage,\r\n} from '@components';\r\n\r\nconst styles = {\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tdocLink: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tdocText: {\r\n\t\tpaddingLeft: '5px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '36px',\r\n\t},\r\n};\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\tchangeTariff: profile.selectors.changeTariff(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tactivateTariff: (tradeCode, tariff) =>\r\n\t\t\tdispatch(profile.actions.changeAccountTariffRequest(tradeCode, tariff)),\r\n\t\tchangeAccountTariffReset: () => dispatch(profile.actions.changeAccountTariffReset()),\r\n\t\tgetAccountInfo: account =>\r\n\t\t\tdispatch(userAccounts.actions.getAccountInfoRequest(account)),\r\n\t},\r\n});\r\n\r\nconst TARIFF = 'PerShare';\r\n\r\nclass ChangeTariffPerShareModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tinvalid: true,\r\n\t\t};\r\n\t}\r\n\r\n\tdocPdfHandler = () => {\r\n\t\tthis.setState({\tinvalid: false });\r\n\t}\r\n\r\n\tactivateTariffHandler = () => {\r\n\t\tthis.props.actions.activateTariff(\r\n\t\t\tthis.props.currentTradeAccount.tradeCode,\r\n\t\t\tTARIFF,\r\n\t\t);\r\n\t}\r\n\r\n\tsucceededCloseHandler = () => {\r\n\t\tthis.props.actions.changeAccountTariffReset();\r\n\t\tthis.props.actions.getAccountInfo(this.props.currentTradeAccount);\r\n\t\tthis.props.onClose();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tbaseParams,\r\n\t\t\t},\r\n\t\t\tchangeTariff: {\r\n\t\t\t\tsubmitting,\r\n\t\t\t\tsubmitSucceeded,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\tconst noMoney = (baseParams && baseParams.EquityValue && baseParams.EquityValue < 25000);\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded ? : (\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{noMoney ?\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\tTo switch to Per-Share Commission Plan the minimum account\r\n\t\t\t\t\t\t\t\tbalance of $25,000 is required\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t:\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\tThe Just2trade per share plan has terms and conditions noted below that differs\r\n\t\t\t\t\t\t\t\t\tfrom the standard offered plans.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\tA minimum commission charge of $333.00 (three hundred thirty three dollars)\r\n\t\t\t\t\t\t\t\t\tbased on pro-rata-basis a month must be met by using this plan, If the total\r\n\t\t\t\t\t\t\t\t\tamount of commissions charged on your account during the month is less than\r\n\t\t\t\t\t\t\t\t\tthe minimum amount, Just2Trade will debit the difference.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\tAfter you activated Per-share plan, if you decide to switch to the other\r\n\t\t\t\t\t\t\t\t\tcommission plan and apply for this change, the new commission plan goes\r\n\t\t\t\t\t\t\t\t\tlive the first day of the following month.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\tYou have to click on the link below to read all terms and conditions applied\r\n\t\t\t\t\t\t\t\t\tbefore you can press ‘I Agree’ button.\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tPerShareDisclosure\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t/>\r\n\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t: 'I Agree'\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t)}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeTariffPerShareModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tchangeTariff: PropTypes.object.isRequired,\r\n\tcurrentAccountData: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(ChangeTariffPerShareModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport { env } from '@config';\r\nimport {\r\n\tA,\r\n\tButton,\r\n\tSvgIcon,\r\n\tModal,\r\n\tSuccessMessage,\r\n} from '@components';\r\n\r\nconst styles = {\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tdocLink: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tdocText: {\r\n\t\tpaddingLeft: '5px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '36px',\r\n\t},\r\n};\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tchangeTariff: profile.selectors.changeTariff(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tactivateTariff: (tradeCode, tariff) =>\r\n\t\t\tdispatch(profile.actions.changeAccountTariffRequest(tradeCode, tariff)),\r\n\t\tchangeAccountTariffReset: () => dispatch(profile.actions.changeAccountTariffReset()),\r\n\t\tgetAccountInfo: account =>\r\n\t\t\tdispatch(userAccounts.actions.getAccountInfoRequest(account)),\r\n\t},\r\n});\r\n\r\nconst TARIFF = 'PerTrade';\r\n\r\nclass ChangeTariffPerTradeModal extends React.Component {\r\n\tactivateTariffHandler = () => {\r\n\t\tthis.props.actions.activateTariff(\r\n\t\t\tthis.props.currentTradeAccount.tradeCode,\r\n\t\t\tTARIFF,\r\n\t\t);\r\n\t}\r\n\r\n\tsucceededCloseHandler = () => {\r\n\t\tthis.props.actions.changeAccountTariffReset();\r\n\t\tthis.props.actions.getAccountInfo(this.props.currentTradeAccount);\r\n\t\tthis.props.onClose();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\tchangeTariff: {\r\n\t\t\t\tsubmitting,\r\n\t\t\t\tsubmitSucceeded,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded ? : (\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tDo you want to switch to the standard $2.50 per trade commission plan?\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t: 'I Agree'\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t)}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeTariffPerTradeModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tchangeTariff: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(ChangeTariffPerTradeModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport { env } from '@config';\r\nimport {\r\n\tA,\r\n\tButton,\r\n\tFileDownload,\r\n\tSvgIcon,\r\n\tModal,\r\n\tSuccessMessage,\r\n} from '@components';\r\n\r\nconst styles = {\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tdocLink: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tdocText: {\r\n\t\tpaddingLeft: '5px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '36px',\r\n\t},\r\n};\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tchangeTariff: profile.selectors.changeTariff(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tactivateTariff: (tradeCode, tariff) =>\r\n\t\t\tdispatch(profile.actions.changeAccountTariffRequest(tradeCode, tariff)),\r\n\t\tchangeAccountTariffReset: () => dispatch(profile.actions.changeAccountTariffReset()),\r\n\t\tgetAccountInfo: account =>\r\n\t\t\tdispatch(userAccounts.actions.getAccountInfoRequest(account)),\r\n\t},\r\n});\r\n\r\nconst TARIFF = 'Zero';\r\n\r\nclass ChangeTariffZeroModal extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tinvalid: true,\r\n\t\t};\r\n\t}\r\n\r\n\tdocPdfHandler = () => {\r\n\t\tthis.setState({\tinvalid: false });\r\n\t}\r\n\r\n\tactivateTariffHandler = () => {\r\n\t\tthis.props.actions.activateTariff(\r\n\t\t\tthis.props.currentTradeAccount.tradeCode,\r\n\t\t\tTARIFF,\r\n\t\t);\r\n\t}\r\n\r\n\tsucceededCloseHandler = () => {\r\n\t\tthis.props.actions.changeAccountTariffReset();\r\n\t\tthis.props.actions.getAccountInfo(this.props.currentTradeAccount);\r\n\t\tthis.props.onClose();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\tchangeTariff: {\r\n\t\t\t\tsubmitting,\r\n\t\t\t\tsubmitSucceeded,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded ? : (\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tCommission free trading is finally here.
\r\n\t\t\t\t\t\t\tFree trading refers to zero commission for Just2Trade account holders that trade\r\n\t\t\t\t\t\t\tvia mobile devices.
\r\n\t\t\t\t\t\t\tAs an ultimate advantage you''ll get zero commission and easy to navigate mobile app.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\tYou have to click on the link below to read all terms and conditions applied before\r\n\t\t\t\t\t\t\tyou can press ‘I Agree’ button.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tMobileZeroDisclosure\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t: 'I Agree'\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t)}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeTariffZeroModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tchangeTariff: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(ChangeTariffZeroModal);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport Tabs from '@material-ui/core/Tabs';\nimport Tab from '@material-ui/core/Tab';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { userAccounts, profile } from '@redux';\nimport { ModalPopups, TaxFormType } from '@enums';\nimport { ErrorMessage, ProgressContainer, SuccessMessage } from '@components';\nimport { connect } from 'react-redux';\nimport { TaxFormFillInTabComponent, TaxFormUploadTabComponent } from './components';\nimport { RequireSignatureModal } from '../../..';\n\nconst styles = theme => ({\n\troot: {\n\t},\n\ttabHeader: {\n\t\tfontSize: '16px',\n\t\tfontWeight: 'normal',\n\t\tminWidth: '100px',\n\t\tmaxWidth: '100%',\n\t\tflexGrow: 1,\n\t},\n\twrapper: {\n\t\tfontSize: '0.875rem',\n\t},\n});\n\nconst getFormType = docType => docType.replaceAll('-', '').toUpperCase();\nconst isPending = (taxPendingOrders, taxForm) => !!(taxPendingOrders && taxPendingOrders.some(x => x === taxForm));\nconst getDefaultFormType = (taxForms, taxPendingOrders) => {\n\tif (!taxForms || taxForms.length === 0) {\n\t\treturn null;\n\t}\n\n\tconst tf = taxForms.map(a => ({\n\t\tExpired: a.ExpirationDate && new Date(a.ExpirationDate) <= new Date(),\n\t\tFormType: getFormType(a.DocType),\n\t})).sort((a, b) => {\n\t\tif (a.FormType === TaxFormType.W8_BEN) {\n\t\t\treturn -1;\n\t\t}\n\t\t// expired first\n\t\tif (a.Expired) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (!taxPendingOrders) { \n\t\t\t// no info about pending orders\n\t\t\treturn -1;\n\t\t}\n\t\t// not pending first\n\t\treturn isPending(taxPendingOrders, a.FormType) ? 1 : -1;\n\t});\n\treturn tf[0];\n};\n\nconst mapStateToProps = (state) => {\n\tconst userProfile = profile.selectors.profile(state);\n\tconst loading = userProfile.submitting || userAccounts.selectors.loading(state);\n\tlet FormType = userProfile.submitting ? null : profile.selectors.changeTaxForm(state).FormType;\n\tif (!userProfile.submitting && !FormType && userProfile.PendingOrders && userProfile.PendingOrders.TaxFormUpdate) {\n\t\tconst taxForm = getDefaultFormType(userProfile.TaxForms, userProfile.PendingOrders.TaxFormUpdate);\n\t\tFormType = taxForm && taxForm.FormType;\n\t}\n\tconst canChange = !loading && !!FormType;\n\tconst accounts = userAccounts.selectors.accounts(state);\n\tconst allowFillIn = !loading && (accounts && !accounts.some(x => !x.IsClosed && x.ClearerFirm === 'cor'));\n\n\treturn {\n\t\tloading,\n\t\tcanChange,\n\t\taccounts: userAccounts.selectors.accounts(state),\n\t\tallowFillIn,\n\t\tFormType,\n\t\tpendingOrder: !loading && FormType && isPending(userProfile.PendingOrders.TaxFormUpdate, FormType),\n\t};\n};\n\nclass ChangeTaxFormModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tcurrentTab: null,\n\t\t\tsubmitSucceeded: false,\n\t\t};\n\t}\n\n\tsetCurrentTab = (event, currentTab) => {\n\t\tthis.setState({ currentTab });\n\t}\n\tsetSubmitSuccess = () => this.setState({ submitSucceeded: true });\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tloading,\n\t\t\tallowFillIn,\n\t\t\tonClose,\n\t\t\tFormType,\n\t\t\tpendingOrder,\n\t\t} = this.props;\n\t\tconst { submitSucceeded } = this.state;\n\t\tconst { currentTab } = this.state;\n\t\t\n\t\tconst tabs = [];\n\t\tif (FormType === TaxFormType.W8_BEN && allowFillIn) {\n\t\t\ttabs.push({ value: 'FILL_IN', title: 'FILL IN', component: TaxFormFillInTabComponent });\n\t\t}\n\t\ttabs.push({ value: 'UPLOAD', title: 'UPLOAD', component: TaxFormUploadTabComponent });\n\n\t\tconst curTab = currentTab ? tabs.find(it => it.value === currentTab) : tabs[0];\n\n\t\tlet message;\n\t\tif (submitSucceeded) {\n\t\t\tmessage = ();\n\t\t} else if (!loading) {\n\t\t\tif (pendingOrder) {\n\t\t\t\tmessage = ();\n\t\t\t} else if (!FormType) {\n\t\t\t\tmessage = ;\n\t\t\t}\n\t\t}\n\t\treturn (\n\t\t\t\n\t\t\t\t{message}\n\t\t\t\t{!message &&\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\tFill in or upload scanned document if you already have it filled.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{tabs.map(item => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nChangeTaxFormModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tpendingOrder: PropTypes.bool.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tallowFillIn: PropTypes.bool.isRequired,\n\tFormType: PropTypes.oneOf(Object.values(TaxFormType)),\n};\nChangeTaxFormModal.defaultProps = {\n\tFormType: undefined,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(ChangeTaxFormModal);\n","export { default as TaxFormFillInTabComponent } from './TaxFormFillInTabComponent/TaxFormFillInTabComponent';\nexport { default as TaxFormUploadTabComponent } from './TaxFormUploadTabComponent/TaxFormUploadTabComponent';\n\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tA,\n\tTabContainer,\n\tFormCheckbox,\n\tFormSelect,\n\tFormDatePicker,\n\tFormInput,\n\tFormInputNumber,\n\tButton,\n\tSelectField,\n\tProgressContainer,\n} from '@components';\nimport { profile } from '@redux';\nimport { constants } from '@config';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\trow: {\n\t\tdisplay: 'flex',\n\t},\n\tinputItem: {\n\t\tmarginTop: '14px',\n\t\t'& > div > div': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tborderRadius: '8px',\n\t\t},\n\t},\n\tdateItem: {\n\t\tmarginTop: '14px',\n\t\t'& > div': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tborderRadius: '8px',\n\t\t},\n\t\t'& > div > div': {\n\t\t\tpaddingTop: 0,\n\t\t\tpaddingBottom: 0,\n\t\t},\n\t},\n\titem: {\n\t\tmarginTop: '30px',\n\t},\n\tinfoText: {\n\t\tmarginTop: '30px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n});\n\nconst addressStr = addr => addr && [\n\taddr.House,\n\taddr.StreetAddress,\n\taddr.Building,\n\taddr.Apartment ? `#${addr.Apartment}` : null,\n].filter(x => !!x).join(', ');\nconst cityStr = addr => addr && [\n\taddr.City,\n\taddr.ZipCode,\n].filter(x => !!x).join(', ');\n\nconst TAX_FORM_FILLIN_FORM = 'taxFormFillInForm';\nconst mapStateToProps = (state, ownProps) => {\n\tconst formSelector = formValueSelector(ownProps.form || TAX_FORM_FILLIN_FORM);\n\tconst personalInformation = profile.selectors.profile(state).PersonalInformation;\n\tconst countries = profile.selectors.getCountries(state);\n\treturn {\n\t\tgetFormValue: fieldName => formSelector(state, fieldName),\n\t\tinitialValues: {\n\t\t\tName: personalInformation.Name,\n\t\t\tDateOfBirth: personalInformation.DateOfBirth,\n\t\t\tCitizenship: personalInformation.CitizenshipCountry,\n\t\t\tResidenceStreet: addressStr(personalInformation.Address),\n\t\t\tResidenceCity: cityStr(personalInformation.Address),\n\t\t\tResidentialCountry: personalInformation.Address && personalInformation.Address.Country,\n\t\t\tMailingAddress: addressStr(personalInformation.PostAddress),\n\t\t\tMailingCity: cityStr(personalInformation.PostAddress),\n\t\t\tMailingCountry: personalInformation.PostAddress && personalInformation.PostAddress.Country,\n\t\t\tTaxID: personalInformation.Ftin,\n\t\t\tTaxCountry: personalInformation.Address && personalInformation.Address.Country,\n\t\t\tUseMailingAddressValue: false,\n\t\t\tUseSSN: false,\n\t\t\tUseTaxCountry: true,\n\t\t},\n\t\tcountries,\n\t\tloading: !(countries && !profile.submitting),\n\t};\n};\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshCountriesList: () => dispatch(profile.actions.getCountries.request()),\n\t},\n});\n\nconst parseMomentDate = (d) => {\n\tif ((typeof d) === 'object') {\n\t\treturn d.toISOString();\n\t}\n\treturn undefined;\n};\n\nconst numValue = (v) => {\n\tconst res = Number(v);\n\tif (!Number.isNaN(res)) {\n\t\treturn res;\n\t}\n\treturn v;\n};\n\nclass TaxFormFillInTabComponent extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values) {\n\t\t\treturn errors;\n\t\t}\n\t\tif (!values.Citizenship) {\n\t\t\terrors.Citizenship = 'Required';\n\t\t}\n\t\tif (!values.ResidentialCountry) {\n\t\t\terrors.ResidentialCountry = 'Required';\n\t\t}\n\t\tif (!values.TaxID) {\n\t\t\tif (values.ResidentialCountry === 'RU' || !values.NoTINReason) {\n\t\t\t\terrors.TaxID = 'Required';\n\t\t\t}\n\t\t} else if (values.ResidentialCountry === 'RU' && !(/^(\\d{12})$/.test(values.TaxID))) {\n\t\t\terrors.TaxID = 'Invalid number';\n\t\t} else if (values.TaxID.length > constants.maxCharsNumber) {\n\t\t\terrors.TaxID = constants.maxCharsNumberError;\n\t\t}\n\t\tif (!values.ResidenceCity) {\n\t\t\terrors.ResidenceCity = 'Required';\n\t\t} else if (values.ResidenceCity.length > constants.maxCharsNumber) {\n\t\t\terrors.ResidenceCity = constants.maxCharsNumberError;\n\t\t}\n\t\tif (!values.ResidenceStreet) {\n\t\t\terrors.ResidenceStreet = 'Required';\n\t\t} else if (values.ResidenceStreet.length > constants.maxCharsNumber) {\n\t\t\terrors.ResidenceStreet = constants.maxCharsNumberError;\n\t\t}\n\n\t\tif (values.UseMailingAddress && !values.MailingCountry) {\n\t\t\terrors.MailingCountry = 'Required';\n\t\t}\n\t\tif (values.UseMailingAddress) {\n\t\t\tif (!values.MailingCity) {\n\t\t\t\terrors.MailingCity = 'Required';\n\t\t\t} else if (values.MailingCity.length > constants.maxCharsNumber) {\n\t\t\t\terrors.MailingCity = constants.maxCharsNumberError;\n\t\t\t}\n\t\t}\n\t\tif (values.UseMailingAddress) {\n\t\t\tif (!values.MailingAddress) {\n\t\t\t\terrors.MailingAddress = 'Required';\n\t\t\t} else if (values.MailingAddress.length > constants.maxCharsNumber) {\n\t\t\t\terrors.MailingAddress = constants.maxCharsNumberError;\n\t\t\t}\n\t\t}\n\t\tif (values.UseSSN) {\n\t\t\tif (!values.SSN) {\n\t\t\t\terrors.SSN = 'Required';\n\t\t\t} else if (values.SSN.length > constants.maxCharsNumber) {\n\t\t\t\terrors.SSN = constants.maxCharsNumberError;\n\t\t\t}\n\t\t}\n\t\tif (values.UseReferenceNumber) {\n\t\t\tif (!values.ReferenceNumber) {\n\t\t\t\terrors.ReferenceNumber = 'Required';\n\t\t\t} else if (values.ReferenceNumber.length > constants.maxCharsNumber) {\n\t\t\t\terrors.ReferenceNumber = constants.maxCharsNumberError;\n\t\t\t}\n\t\t}\n\t\tif (values.UseTaxCountry) {\n\t\t\tif (!values.TaxCountry) {\n\t\t\t\terrors.TaxCountry = 'Required';\n\t\t\t}\n\t\t\tif (values.UseSpecialRates) {\n\t\t\t\tif (!values.Article) {\n\t\t\t\t\terrors.Article = 'Required';\n\t\t\t\t} else if (values.Article.length > constants.maxCharsNumber) {\n\t\t\t\t\terrors.Article = constants.maxCharsNumberError;\n\t\t\t\t}\n\t\t\t\tif (!values.Percent) {\n\t\t\t\t\terrors.Percent = 'Required';\n\t\t\t\t} else if (values.Percent.length > constants.maxCharsNumber) {\n\t\t\t\t\terrors.Percent = constants.maxCharsNumberError;\n\t\t\t\t}\n\t\t\t\tif (values.Percent && !(values.Percent > 0 && values.Percent < 100)) {\n\t\t\t\t\terrors.Percent = 'Invalid';\n\t\t\t\t}\n\t\t\t\tif (!values.Income) {\n\t\t\t\t\terrors.Income = 'Required';\n\t\t\t\t} else if (values.Income.length > constants.maxCharsNumber) {\n\t\t\t\t\terrors.Income = constants.maxCharsNumberError;\n\t\t\t\t}\n\t\t\t\tif (values.AdditionalConditions && values.AdditionalConditions.length > constants.maxCharsNumber) {\n\t\t\t\t\terrors.AdditionalConditions = constants.maxCharsNumberError;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn errors;\n\t}\n\tcomponentDidMount() {\n\t\tconst { countries, actions } = this.props;\n\t\tif (!countries) {\n\t\t\tactions.refreshCountriesList();\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tgetFormValue,\n\t\t\tclasses,\n\t\t\ttheme,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tloading,\n\t\t\tsubmitting,\n\t\t\tcountries,\n\t\t\tinitialValues,\n\t\t} = this.props;\n\t\tconst countryItems = (countries && countries\n\t\t\t.sort((a, b) => (a.Name < b.Name ? -1 : 1))\n\t\t\t.map(cntr => ({ value: cntr.CodeLat2, text: cntr.Name }))) || [];\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\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\t\tdisabled\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{getFormValue('UseTaxCountry') &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tI certify that the beneficial owner is a resident of the following country within the\n\t\t\t\t\t\t\t\t\tmeaning of the income tax treaty between the United States and that country.\n\t\t\t\t\t\t\t\t\tPlease visit the  \n\t\t\t\t\t\t\t\t\tIRS website  \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tto see if your country of Residence applies\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{getFormValue('UseTaxCountry') && getFormValue('UseSpecialRates') &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tThe beneficial owner is claiming the provisions of Article\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tof the treaty identified on line 9 above to claim a\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\trate of withholding on (specify type of income):\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tExplain the additional conditions in the Article and paragraph the beneficial\n\t\t\t\t\t\t\t\t\towner meets to be eligible for the rate of withholding:\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t: 'Update'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nTaxFormFillInTabComponent.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\ttheme: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tcountries: PropTypes.array,\n\tloading: PropTypes.bool.isRequired,\n\tinitialValues: PropTypes.object.isRequired,\n\tgetFormValue: PropTypes.func.isRequired,\n};\n\nTaxFormFillInTabComponent.defaultProps = {\n\tcountries: null,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: TAX_FORM_FILLIN_FORM,\n\t\tvalidate: TaxFormFillInTabComponent.validate,\n\t}),\n)(TaxFormFillInTabComponent);\n","import React from 'react';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tA,\n\tTabContainer,\n\tFileInput,\n\tFormSelect,\n\tFormDatePicker,\n\tFormInput,\n\tFormRadioGroup,\n\tRadio,\n\tButton,\n\tSelectField,\n\tProgressContainer,\n\tFormCheckbox,\n} from '@components';\nimport { profile } from '@redux';\nimport { TaxFormType } from '@enums';\nimport { constants } from '@config';\nimport moment from 'moment';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\tinputItem: {\n\t\tmarginTop: '14px',\n\t\t'& > div > div': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tborderRadius: '8px',\n\t\t},\n\t},\n\tdateItem: {\n\t\tmarginTop: '14px',\n\t\t'& > div': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tborderRadius: '8px',\n\t\t},\n\t\t'& > div > div': {\n\t\t\tpaddingTop: 0,\n\t\t\tpaddingBottom: 0,\n\t\t},\n\t},\n\titem: {\n\t\tmarginTop: '30px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\tattachFileText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\tmarginTop: '24px',\n\t},\n\tfileUploader: {\n\t\tmarginTop: '16px',\n\t},\n});\n\nconst TAX_FORM_UPLOAD_FORM = 'taxFormUploadForm';\n\nconst mapStateToProps = (state, ownProps) => {\n\tconst formSelector = formValueSelector(ownProps.form || TAX_FORM_UPLOAD_FORM);\n\tconst personalInformation = profile.selectors.profile(state).PersonalInformation;\n\tconst countries = profile.selectors.getCountries(state);\n\treturn {\n\t\tattachmentsValue: formSelector(state, 'Attachments'),\n\t\tgetFormValue: fieldName => formSelector(state, fieldName),\n\t\tinitialValues: {\n\t\t\tType: ownProps.FormType,\n\t\t\tResidentialCountry: personalInformation.Address && personalInformation.Address.Country,\n\t\t\tTaxID: personalInformation.Ftin,\n\t\t\tTaxCountry: personalInformation.Address && personalInformation.Address.Country,\n\t\t\tSignatureDate: moment().toISOString(),\n\t\t},\n\t\tcountries,\n\t\tloading: !(countries && !profile.submitting),\n\t};\n};\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\trefreshCountriesList: () => dispatch(profile.actions.getCountries.request()),\n\t},\n});\n\nconst parseMomentDate = (d) => {\n\tif ((typeof d) === 'object') {\n\t\treturn d.toISOString();\n\t}\n\treturn undefined;\n};\n\nclass TaxFormUploadTabComponent extends React.Component {\n\tstatic validate(values, props) {\n\t\tconst errors = {};\n\n\t\tif (!values) {\n\t\t\treturn errors;\n\t\t}\n\t\tif (!values.ResidentialCountry) {\n\t\t\terrors.ResidentialCountry = 'Required';\n\t\t}\n\n\t\tif (!values.TaxID) {\n\t\t\tif (values.ResidentialCountry === 'RU' || !values.NoTINReason) {\n\t\t\t\terrors.TaxID = 'Required';\n\t\t\t}\n\t\t} else if (values.ResidentialCountry === 'RU' && !(/^(\\d{12})$/.test(values.TaxID))) {\n\t\t\terrors.TaxID = 'Invalid number';\n\t\t} else if (values.TaxID.length > constants.maxCharsNumber) {\n\t\t\terrors.TaxID = constants.maxCharsNumberError;\n\t\t}\n\n\t\treturn errors;\n\t}\n\tcomponentDidMount() {\n\t\tconst { countries, actions } = this.props;\n\t\tif (!countries) {\n\t\t\tactions.refreshCountriesList();\n\t\t}\n\t}\n\n\tonFilesUpload = (field, files) => this.props.change(field, files);\n\n\trender() {\n\t\tconst {\n\t\t\tattachmentsValue,\n\t\t\tgetFormValue,\n\t\t\tclasses,\n\t\t\ttheme,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tloading,\n\t\t\tsubmitting,\n\t\t\tcountries,\n\t\t\tinitialValues,\n\t\t\tFormType,\n\t\t} = this.props;\n\t\tconst noAttachments = !attachmentsValue || attachmentsValue.length === 0;\n\t\tconst countryItems = (countries && countries\n\t\t\t.sort((a, b) => (a.Name < b.Name ? -1 : 1))\n\t\t\t.map(cntr => ({ value: cntr.CodeLat2, text: cntr.Name }))) || [];\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{!getFormValue('TaxID') && getFormValue('ResidentialCountry') !== 'RU' &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t undefined}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{FormType === TaxFormType.W8_BEN &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tEmpty form can be downloaded from the IRS website\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tPlease fill in and upload scanned document\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t this.onFilesUpload('Attachments', files)}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t: 'Update'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nTaxFormUploadTabComponent.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\ttheme: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tcountries: PropTypes.array,\n\tloading: PropTypes.bool.isRequired,\n\tFormType: PropTypes.string.isRequired,\n};\n\nTaxFormUploadTabComponent.defaultProps = {\n\tcountries: null,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: TAX_FORM_UPLOAD_FORM,\n\t\tvalidate: TaxFormUploadTabComponent.validate,\n\t}),\n)(TaxFormUploadTabComponent);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { withRouter } from 'react-router';\r\nimport { constants } from '@config';\r\nimport { cabinetLog } from '@global';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n} from 'redux-form';\r\nimport {\r\n\tModal,\r\n\tErrorMessage,\r\n\tSuccessMessage,\r\n} from '@components';\r\n\r\nconst styles = {\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tfileUploader: {\r\n\t\tmarginTop: '16px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n};\r\n\r\nconst mapStateToProps = state => ({\r\n\tinitialValues: {\r\n\t\tAttachments: [],\r\n\t},\r\n\tconfirmEmail: profile.selectors.confirmEmail(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tconfirmEmailRequest: token => dispatch(profile.actions.confirmEmailGetUrl.request({ token })),\r\n\t},\r\n});\r\n\r\nclass ConfirmProfileEmailModal extends React.Component {\r\n\tcomponentDidMount() {\r\n\t\tcabinetLog('ConfirmProfileEmailModal token', this.props.match.params.token);\r\n\t\tthis.props.actions.confirmEmailRequest(this.props.match.params.token);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\tconfirmEmail,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{confirmEmail.submitting ?\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
:\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{confirmEmail.success ?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t:\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nConfirmProfileEmailModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tmatch: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(ConfirmProfileEmailModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { FormHelperText } from '@material-ui/core';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n} from 'redux-form';\r\nimport {\r\n\tButton,\r\n\tErrorMessage,\r\n\tFormInput,\r\n\tProgressContainer,\r\n\tSuccessMessage,\r\n} from '@components';\r\nimport { constants } from '@config';\r\nimport { RequireSignatureModal } from '../../..';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\tinputItem: {\r\n\t\t'& div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t},\r\n\t},\r\n\terrorMessage: {\r\n\t\tmarginLeft: '25px',\r\n\t},\r\n});\r\n\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst userProfile = profile.selectors.profile(state);\r\n\treturn {\r\n\t\tinitialValues: {\r\n\t\t\tValue: userProfile.PersonalInformation.Dependents,\r\n\t\t},\r\n\t\tprofileSubmitting: userProfile.submitting,\r\n\t\tpendingOrder: userProfile.PendingOrders.Dependents,\r\n\t};\r\n};\r\n\r\nclass ChangeDependentsModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.Value) {\r\n\t\t\terrors.Value = 'required';\r\n\t\t} else if (parseInt(values.Value, 10) > constants.maxDependents) {\r\n\t\t\terrors.Value = `Must be less than or equal to ${constants.maxDependents}`;\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tcheckDependents = (value) => {\r\n\t\tif (value < 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\treturn value;\r\n\t}\r\n\r\n\trenderInputField = (props) => {\r\n\t\tconst errorMessageClass = this.props.classes.errorMessage;\r\n\t\tconst invalid = props.meta.touched && !!props.meta.error;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t{invalid && {props.meta.error}}\r\n\t\t\t\r\n\t\t);\r\n\t};\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tpristine,\r\n\t\t\tprofileSubmitting,\r\n\t\t\tpendingOrder,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded && }\r\n\t\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Dependents'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeDependentsModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n\treduxForm({\r\n\t\tform: 'ChangeProfileDependentsForm',\r\n\t\tvalidate: ChangeDependentsModal.validate,\r\n\t\tenableReinitialize: true,\r\n\t}),\r\n)(ChangeDependentsModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport { reduxForm } from 'redux-form';\r\nimport {\r\n\tButton,\r\n\tErrorMessage,\r\n\tProgressContainer,\r\n\tSelectField,\r\n\tSuccessMessage,\r\n} from '@components';\r\nimport { RequireSignatureModal } from '../../..';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\tinputContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\twidth: '100%',\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\tinputSelectItem: {\r\n\t\tmarginTop: '10px',\r\n\t},\r\n\tinputContainerItem: {\r\n\t\twidth: '100%',\r\n\t\ttextAlign: 'left',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst userProfile = profile.selectors.profile(state);\r\n\treturn {\r\n\t\tinitialValues: {\r\n\t\t\tValue: userProfile.PersonalInformation.MaritalStatus,\r\n\t\t},\r\n\t\tprofileSubmitting: userProfile.submitting,\r\n\t\tpendingOrder: userProfile.PendingOrders.MaritalStatus,\r\n\t};\r\n};\r\n\r\nclass ChangeMaritalStatusModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.Value) {\r\n\t\t\terrors.Value = 'required';\r\n\t\t}\r\n\t\treturn errors;\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tpristine,\r\n\t\t\tpendingOrder,\r\n\t\t\tprofileSubmitting,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tinitialValues,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded && }\r\n\t\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrder &&\r\n\t\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Marital Status'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeMaritalStatusModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, null),\r\n\treduxForm({\r\n\t\tform: 'ChangeProfileMaritalStatusForm',\r\n\t\tvalidate: ChangeMaritalStatusModal.validate,\r\n\t\tenableReinitialize: true,\r\n\t}),\r\n)(ChangeMaritalStatusModal);\r\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { profile } from '@redux';\nimport { useSelector } from 'react-redux';\nimport {\n\tErrorMessage,\n\tProgressContainer,\n\tSuccessMessage,\n} from '@components';\nimport { RequireSignatureModal } from '../../..';\nimport ChangeMarketDataSubscriberStatusForm from './components/ChangeMarketDataSubscriberStatusForm';\n\nconst mapStateToProps = (state) => {\n\tconst userProfile = profile.selectors.profile(state);\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_MARKETDATA_SUBSCRIBER_STATUS_MODAL] || {};\n\treturn {\n\t\tloading: userProfile.submitting,\n\t\tpendingOrder: !userProfile.submitting && userProfile.PendingOrders.MarketDataStatus,\n\t\tfromDashboardModal: modalParams.fromDashboardModal,\n\t};\n};\n\nconst ChangeMarketDataSubscriberStatusModal = (props) => {\n\tconst [submitSucceeded, setSubmitSucceeded] = useState(false);\n\tconst { onClose } = props;\n\n\tconst {\n\t\tpendingOrder,\n\t\tloading,\n\t\tfromDashboardModal,\n\t} = useSelector(mapStateToProps);\n\n\tconst OnSuccess = () => setSubmitSucceeded(true);\n\n\treturn (\n\t\t\n\t\t\t{submitSucceeded &&\n\t\t\t\t}\n\t\t\t{!submitSucceeded && !loading && pendingOrder &&\n\t\t\t\t\n\t\t\t}\n\t\t\t{!submitSucceeded && !pendingOrder &&\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\n\t);\n};\n\nChangeMarketDataSubscriberStatusModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n};\n\nexport default ChangeMarketDataSubscriberStatusModal;\n","import React, { Fragment } from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { profile } from '@redux';\nimport { connect } from 'react-redux';\nimport {\n\treduxForm,\n\tField,\n\tgetFormValues,\n} from 'redux-form';\nimport {\n\tButton,\n\tFormRadioGroup,\n\tRadio,\n} from '@components';\nimport { MarketDataClientStatus } from '@enums';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t},\n\tquestionTitle: {\n\t\tmarginTop: '10px',\n\t\ttextAlign: 'justify',\n\t\ttextJustify: 'inter-word',\n\t},\n\tquestion: {\n\t\tmargin: 'auto',\n\t},\n\tdisclaimerBlock: {\n\t\tmarginTop: '30px',\n\t\tfontWeight: 'bold',\n\t},\n\tproDisclaimer: {\n\t\ttextAlign: 'justify',\n\t\t'& > div': {\n\t\t\tcolor: 'red',\n\t\t},\n\t},\n\tbutton: {\n\t\tpaddingTop: '24px',\n\t},\n\tlightTooltip: {\n\t\tbackgroundColor: theme.palette.common.white,\n\t\tcolor: 'rgba(0, 0, 0, 0.87)',\n\t\tboxShadow: theme.shadows[1],\n\t\tfontSize: 12,\n\t\tmaxWidth: 400,\n\t},\n\ttooltipPlacement: {\n\t\tmargin: '-10px',\n\t},\n});\n\nconst CHANGE_MARKETDATA_SUBSCRIBER_STATUS_FORM = 'ChangeMarketDataSubscriberStatusForm';\nconst mapStateToProps = (state) => {\n\tconst userProfile = profile.selectors.profile(state);\n\treturn {\n\t\tloading: userProfile.submitting,\n\t\tcurrentMarketDataStatus: userProfile.MarketDataStatus,\n\t\tformValues: getFormValues(CHANGE_MARKETDATA_SUBSCRIBER_STATUS_FORM)(state),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tshowChangeMarketDataSubscriptionsModal: payload => dispatch(profile.actions.showChangeMarketDataSubscriptionsModal(payload)),\n\t},\n});\n\nconst isTrue = val => val === 'true';\n\nclass ChangeMarketDataSubscriberStatusForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\n\t\tif (!values.PersonalUse) {\n\t\t\terrors.PersonalUse = 'required';\n\t\t}\n\t\tif (!values.BusinessPurposes) {\n\t\t\terrors.BusinessPurposes = 'required';\n\t\t}\n\t\tif (!values.SESCFTCRegistered) {\n\t\t\terrors.SESCFTCRegistered = 'required';\n\t\t}\n\t\tif (!values.SecuritiesEntityRegistered) {\n\t\t\terrors.SecuritiesEntityRegistered = 'required';\n\t\t}\n\t\tif (!values.SecuritiesEntityRegistrationRequired) {\n\t\t\terrors.SecuritiesEntityRegistrationRequired = 'required';\n\t\t}\n\t\tif (!values.InvestmentAdviceEngaged) {\n\t\t\terrors.InvestmentAdviceEngaged = 'required';\n\t\t}\n\t\tif (!values.AssetManager) {\n\t\t\terrors.AssetManager = 'required';\n\t\t}\n\t\tif (!values.UsesOthersCapital) {\n\t\t\terrors.UsesOthersCapital = 'required';\n\t\t}\n\t\tif (!values.TradesForOthersBenefit) {\n\t\t\terrors.TradesForOthersBenefit = 'required';\n\t\t}\n\t\tif (!values.SharesProfit) {\n\t\t\terrors.SharesProfit = 'required';\n\t\t}\n\t\tif (!values.ReceivesBenefits) {\n\t\t\terrors.ReceivesBenefits = 'required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.IsPro = null;\n\t}\n\n\tisClientPro = () => {\n\t\tconst {\n\t\t\tformValues,\n\t\t} = this.props;\n\n\t\tif (!formValues) return false;\n\n\t\tthis.IsPro = !isTrue(formValues.PersonalUse) ||\n\t\t\tisTrue(formValues.BusinessPurposes) ||\n\t\t\tisTrue(formValues.SESCFTCRegistered) ||\n\t\t\tisTrue(formValues.SecuritiesEntityRegistered) ||\n\t\t\tisTrue(formValues.SecuritiesEntityRegistrationRequired) ||\n\t\t\tisTrue(formValues.InvestmentAdviceEngaged) ||\n\t\t\tisTrue(formValues.AssetManager) ||\n\t\t\tisTrue(formValues.UsesOthersCapital) ||\n\t\t\tisTrue(formValues.TradesForOthersBenefit) ||\n\t\t\tisTrue(formValues.SharesProfit) ||\n\t\t\tisTrue(formValues.ReceivesBenefits);\n\n\t\treturn this.IsPro;\n\t}\n\n\tformSubmit = (values) => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tfromDashboardModal,\n\t\t} = this.props;\n\n\t\tconst payload = {\n\t\t\tquestionnaireResponses: Object.entries(values).reduce((acc, item1) => ({ ...acc, [item1[0]]: isTrue(item1[1]) }), {}),\n\t\t\tsupposedStatus: this.IsPro ? MarketDataClientStatus.PRO : MarketDataClientStatus.NON_PRO,\n\t\t\tfromDashboardModal,\n\t\t};\n\n\t\tactions.showChangeMarketDataSubscriptionsModal(payload);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tpristine,\n\t\t\tsubmitting,\n\t\t\tcurrentMarketDataStatus,\n\t\t} = this.props;\n\n\t\tconst isClientPro = this.isClientPro();\n\t\tconst supposedStatus = isClientPro ? MarketDataClientStatus.PRO : MarketDataClientStatus.NON_PRO;\n\t\tconst tooltipDisabled = invalid || pristine || submitting || supposedStatus !== currentMarketDataStatus;\n\t\tconst buttonDisabled = invalid || submitting || pristine || supposedStatus === currentMarketDataStatus;\n\n\t\tconst tooltipPro = 'Your current market data subscriber status is Professional';\n\t\tconst tooltipNonPro = 'Your current market data subscriber status is Non-professional';\n\t\tconst toolTipMessage = isClientPro ? tooltipPro : tooltipNonPro;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\tDo you use Market Data solely for your personal, non-business use?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tDo you receive Market Data for your business or any other entity?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tAre you currently registered or qualified with the SEC or the CFTC?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tAre you currently registered or qualified with any securities agency, any securities exchange,\n\t\t\t\t\tassociation or regulatory body, or any commodities or futures contract market, association or regulatory body,\n\t\t\t\t\tin the United States or elsewhere?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tWhether you are located within or outside of the United States, do you perform any functions that are similar to those\n\t\t\t\t\tthat require an individual to register or qualify with the SEC, the CFTC, any other securities agency,\n\t\t\t\t\tany securities exchange, or association or regulatory body, or any commodities or futures contract market,\n\t\t\t\t\tor association or regulatory body?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tAre you engaged to provide investment advice to any individual or entity?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tAre you engaged as an asset manager?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tDo you use the capital of any other individual or entity in the conduct of your trading?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tDo you conduct trading for the benefit of a corporation, partnership, or other entity?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tHave you entered into any agreement to share the profit of your trading activities or receive compensation for your\n\t\t\t\t\ttrading activities?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tAre you receiving office space, and equipment or other benefits in exchange for your trading or work as a financial\n\t\t\t\t\tconsultant to any person, firm or business entity?\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t{!invalid && !pristine && isClientPro &&\n\t\t\t\t\t\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tThe responses provided indicate that you're a Professional market data subscriber\n\t\t\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
Additional charges will apply!
\n\t\t\t\t\t\t\t
Please double-check that you are a Professional Subscriber using the information above.
\n\n\t\t\t\t\t\t\tThe user is considered Professional if any of the following criteria is met:\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • You use market data for business purposes.
  • \n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\tYou are registered or qualified with FINRA, the CFTC, SEC, state securities agency, securities exchange\n\t\t\t\t\t\t\t\t\tor association, commodities or futures contract market or association.\n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t
  • You are located within or outside of the United States and you perform any job functions similar to\n\t\t\t\t\t\t\t\t\tthose that would require you to be registered with FINRA, the CFTC and/or the SEC.\n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\tYou trade on behalf of others for your personal benefit, provide investment advice and/or are engaged as\n\t\t\t\t\t\t\t\t\tan asset manager.\n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t
  • You are trading for an entity that is not solely representing a single person or family.
  • \n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\tYou trade using some other capital or receive some kind of compensation for your trading from another\n\t\t\t\t\t\t\t\t\tindividual or entity.\n\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{!invalid && !pristine && !isClientPro &&\n\t\t\t\t\t

\n\t\t\t\t\t\tThe responses provided indicate that you're a Non-professional market data subscriber\n\t\t\t\t\t

\n\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t: 'Change Status'\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nChangeMarketDataSubscriberStatusForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tpristine: PropTypes.bool.isRequired,\n\tcurrentMarketDataStatus: PropTypes.string.isRequired,\n\tformValues: PropTypes.object,\n\tfromDashboardModal: PropTypes.bool,\n};\n\nChangeMarketDataSubscriberStatusForm.defaultProps = {\n\tformValues: undefined,\n\tfromDashboardModal: false,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: CHANGE_MARKETDATA_SUBSCRIBER_STATUS_FORM,\n\t\tvalidate: ChangeMarketDataSubscriberStatusForm.validate,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.OnSuccess) {\n\t\t\t\tprops.OnSuccess();\n\t\t\t}\n\t\t},\n\t}),\n)(ChangeMarketDataSubscriberStatusForm);\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalPopups } from '@enums';\nimport { userAccounts, profile } from '@redux';\nimport { useSelector } from 'react-redux';\nimport {\n\tErrorMessage,\n\tProgressContainer,\n\tSuccessMessage,\n} from '@components';\nimport { RequireSignatureModal } from '../../..';\nimport ChangeMarketDataSubscriptionsForm from './components/ChangeMarketDataSubscriptionsForm';\n\nconst mapStateToProps = (state) => {\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\n\tconst currentAccountData = userAccounts.selectors.currentAccountData(state) || {};\n\tconst isClosed = !!(currentAccountData.baseParams && currentAccountData.baseParams.IsClosed);\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL] || {};\n\treturn {\n\t\tisClosed,\n\t\tloading: accountInfo.loading || currentAccountData.submitting,\n\t\tpendingOrder: !accountInfo.loading && accountInfo.PendingOrders.MarketDataSubscription,\n\t\tfromDashboardModal: modalParams.fromDashboardModal,\n\t};\n};\n\nconst ChangeMarketDataSubscriptionsModal = (props) => {\n\tconst [submitSucceeded, setSubmitSucceeded] = useState(false);\n\tconst { onClose } = props;\n\tconst {\n\t\tisClosed,\n\t\tpendingOrder,\n\t\tloading,\n\t\tfromDashboardModal,\n\t} = useSelector(mapStateToProps);\n\n\tconst OnSuccess = () => setSubmitSucceeded(true);\n\n\treturn (\n\t\t\n\t\t\t{submitSucceeded &&\n\t\t\t\t}\n\t\t\t{!submitSucceeded && !loading && pendingOrder &&\n\t\t\t\t\n\t\t\t}\n\t\t\t{!submitSucceeded && !loading && isClosed &&\n\t\t\t\t\n\t\t\t}\n\t\t\t{!submitSucceeded && !pendingOrder && !isClosed &&\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\n\t);\n}\n\nChangeMarketDataSubscriptionsModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n};\n\nexport default ChangeMarketDataSubscriptionsModal;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { profile, userAccounts, signature } from '@redux';\nimport { connect } from 'react-redux';\nimport {\n\tformValueSelector,\n\treduxForm,\n\tField,\n\tchange,\n} from 'redux-form';\nimport {\n\tA,\n\tButton,\n\tFormCheckbox,\n} from '@components';\nimport { ModalPopups, MarketDataClientStatus, AccountClearers, OptionLevel } from '@enums';\nimport CtaAgreements from './CtaAgrements';\nimport OpraAgreements from './OpraAgreements';\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t},\n\tbutton: {\n\t\tpaddingTop: '24px',\n\t},\n\tlabelText: {\n\t\tmargin: '18px 0',\n\t},\n\tadditionalText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tinputSelectItem: {\n\t\tmarginTop: '10px',\n\t\tpaddingLeft: '24px',\n\t},\n\terrorText: {\n\t\tcolor: theme.typography.color.red,\n\t},\n\tdisclaimer: {\n\t\ttextAlign: 'justify',\n\t},\n\tformingAgreements: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'row',\n\t\talignItems: 'center',\n\t},\n});\n\n\nconst CTA_UTP = 'CTA_UTP';\nconst OPRA = 'OPRA';\n\nconst calcInitialValues = (state, modalParams) => {\n\tconst userProfile = profile.selectors.profile(state);\n\tif (modalParams && modalParams.supposedStatus) {\n\t\treturn {\n\t\t\t[CTA_UTP]: false,\n\t\t\t[OPRA]: false,\n\t\t};\n\t}\n\n\treturn userProfile.MarketDataSubscriptions.reduce((prev, cur) => ({ ...prev, [cur.MarketDataName]: cur.IsOn }), {});\n};\n\nconst CHANGE_MARKETDATA_SUBSCRIPTIONS_FORM = 'ChangeMarketDataSubscriptionsForm';\nconst formSelector = formValueSelector(CHANGE_MARKETDATA_SUBSCRIPTIONS_FORM);\n\nconst mapStateToProps = (state) => {\n\tconst userProfile = profile.selectors.profile(state) || {};\n\tconst currentAccountData = userAccounts.selectors.currentAccountData(state) || {};\n\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_MARKETDATA_SUBSCRIPTIONS_MODAL] || {};\n\n\tlet isClientPro;\n\tif (modalParams.supposedStatus) {\n\t\tisClientPro = modalParams.supposedStatus === MarketDataClientStatus.PRO;\n\t} else {\n\t\tisClientPro = userProfile.MarketDataStatus === MarketDataClientStatus.PRO;\n\t}\n\n\tconst marketDataAgreements = profile.selectors.marketDataAgreements(state) || {};\n\n\tconst accounts = userAccounts.selectors.accounts(state).filter(a => !a.IsClosed && a.ClearerFirm !== AccountClearers.DEMO);\n\tconst showOptionLevelHint = accounts.every(a => a.OptionLevel === OptionLevel.Level0);\n\n\treturn {\n\t\tinitialValues: calcInitialValues(state, modalParams),\n\t\tloading: userProfile.submitting || currentAccountData.submitting,\n\t\tEquityValue: currentAccountData.baseParams && currentAccountData.baseParams.EquityValue,\n\t\tpendingOrder: !userProfile.loading && userProfile.PendingOrders.MarketDataSubscription,\n\t\tgetFormValue: fieldName => formSelector(state, fieldName),\n\t\tctaGenerating: marketDataAgreements.ctaGenerating,\n\t\tctaGeneratingSuccess: marketDataAgreements.ctaGeneratingSuccess,\n\t\topraGenerating: marketDataAgreements.opraGenerating,\n\t\topraGeneratingSuccess: marketDataAgreements.opraGeneratingSuccess,\n\t\tmarketDataAgreements,\n\t\tisClientPro,\n\t\tmodalParams,\n\t\tshowOptionLevelHint,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tclearMarketDataAgreements: () => {\n\t\t\tdispatch(profile.actions.clearMarketDataAgreements());\n\t\t},\n\t\tgenerateCtaAgreements: (payload) => {\n\t\t\tdispatch(profile.actions.generateCtaAgreements.request(payload));\n\t\t},\n\t\tgenerateOpraAgreements: (payload) => {\n\t\t\tdispatch(profile.actions.generateOpraAgreements.request(payload));\n\t\t},\n\t\tsetFormField: (fieldName, value = null) => dispatch(change(CHANGE_MARKETDATA_SUBSCRIPTIONS_FORM, fieldName, value)),\n\t\tshowUpgradeOptionLevelModal: () => {\n\t\t\tconst changeAction = userAccounts.actions.showUpgradeOptionLevelModal({});\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t},\n});\n\nclass ChangeMarketDataSubscriberStatusForm extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\tctaAgreementsChecked: false,\n\t\t\topraAgreementsChecked: false,\n\t\t\tctaUtpChecked: props.initialValues[CTA_UTP],\n\t\t\tshowPrompt: false,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tthis.props.actions.clearMarketDataAgreements();\n\t}\n\n\tgetCtaContent = () => {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tisClientPro,\n\t\t\tgetFormValue,\n\t\t\tinitialValues,\n\t\t\tctaGenerating,\n\t\t\tctaGeneratingSuccess,\n\t\t} = this.props;\n\n\t\tconst ctaCurrentValue = getFormValue(CTA_UTP);\n\n\t\tif (initialValues[CTA_UTP] || (!initialValues[CTA_UTP] && !ctaCurrentValue)) {\n\t\t\treturn null;\n\t\t}\n\t\tif (ctaCurrentValue && ctaGenerating) {\n\t\t\treturn (\n\t\t\t\t
\n\t\t\t\t\t Generating Equities Market Data Agreements...\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\t\tif (ctaCurrentValue && ctaGeneratingSuccess) {\n\t\t\treturn ;\n\t\t}\n\t\treturn (\n\t\t\t\n\t\t\t\tCannot get necessary agreements for Equities Realtime Datafeed.
\n\t\t\t\tPlease contact support at support@lime.co\n\t\t\t
\n\t\t);\n\t}\n\n\tgetOpraContent = () => {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tisClientPro,\n\t\t\tgetFormValue,\n\t\t\tinitialValues,\n\t\t\topraGenerating,\n\t\t\topraGeneratingSuccess,\n\t\t} = this.props;\n\n\t\tconst opraCurrentValue = getFormValue(OPRA);\n\n\t\tif (!this.state.ctaUtpChecked) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (initialValues[OPRA] || (!initialValues[OPRA] && !opraCurrentValue)) {\n\t\t\treturn null;\n\t\t}\n\t\tif (opraCurrentValue && opraGenerating) {\n\t\t\treturn (\n\t\t\t\t
\n\t\t\t\t\t Generating Options Market Data Agreements...\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\t\tif (opraCurrentValue && opraGeneratingSuccess) {\n\t\t\treturn ;\n\t\t}\n\t\treturn (\n\t\t\t\n\t\t\t\tCannot get necessary agreements for Options Realtime Datafeed.
\n\t\t\t\tPlease contact support at support@lime.co\n\t\t\t
\n\t\t);\n\t}\n\n\tcalcPromptVisibility = (subscription, checked) => {\n\t\tconst {\n\t\t\tinitialValues,\n\t\t} = this.props;\n\n\t\tif (!initialValues[subscription] && checked) {\n\t\t\tthis.setState({\n\t\t\t\tshowPrompt: true,\n\t\t\t});\n\t\t} else if (!checked) {\n\t\t\tthis.setState({\n\t\t\t\tshowPrompt: false,\n\t\t\t});\n\t\t}\n\t}\n\n\thandleCtaChecked = (checked) => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tmodalParams,\n\t\t\tisClientPro,\n\t\t\tinitialValues,\n\t\t\tmarketDataAgreements,\n\t\t} = this.props;\n\n\t\tthis.setState({\n\t\t\tctaAgreementsChecked: false,\n\t\t\tctaUtpChecked: checked,\n\t\t});\n\n\t\tthis.calcPromptVisibility(CTA_UTP, checked);\n\n\t\tif (!initialValues[OPRA]) {\n\t\t\tactions.setFormField(OPRA, false);\n\t\t}\n\n\t\tlet questionnaireResponses;\n\t\tif (modalParams.questionnaireResponses) {\n\t\t\tquestionnaireResponses = {\n\t\t\t\t...modalParams.questionnaireResponses,\n\t\t\t\tSection2Certification: false,\n\t\t\t\tSection2Agreed: false,\n\t\t\t\tSection1Agreed: false,\n\t\t\t};\n\t\t} else {\n\t\t\tquestionnaireResponses = {\n\t\t\t\tPersonalUse: true,\n\t\t\t\tBusinessPurposes: false,\n\t\t\t\tSESCFTCRegistered: false,\n\t\t\t\tSecuritiesEntityRegistered: false,\n\t\t\t\tSecuritiesEntityRegistrationRequired: false,\n\t\t\t\tInvestmentAdviceEngaged: false,\n\t\t\t\tUsesOthersCapital: false,\n\t\t\t\tAssetManager: false,\n\t\t\t\tTradesForOthersBenefit: false,\n\t\t\t\tSharesProfit: false,\n\t\t\t\tReceivesBenefits: false,\n\t\t\t\tSection2Certification: false,\n\t\t\t\tSection2Agreed: false,\n\t\t\t\tSection1Agreed: false,\n\t\t\t};\n\t\t}\n\n\t\tif (checked && !initialValues[CTA_UTP] && marketDataAgreements.ctaGenerating === undefined) {\n\t\t\tactions.generateCtaAgreements({\n\t\t\t\tisClientPro,\n\t\t\t\tquestionnaireResponses,\n\t\t\t});\n\t\t}\n\t}\n\n\thandleOpraChecked = (checked) => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tisClientPro,\n\t\t\tinitialValues,\n\t\t\tmarketDataAgreements,\n\t\t} = this.props;\n\n\t\tthis.setState({ opraAgreementsChecked: false });\n\n\t\tthis.calcPromptVisibility(OPRA, checked);\n\n\t\tif (checked && !initialValues[OPRA] && marketDataAgreements.opraGenerating === undefined) {\n\t\t\tactions.generateOpraAgreements({\n\t\t\t\tisClientPro,\n\t\t\t});\n\t\t}\n\t}\n\n\tctaAgreementsChecked = (value) => {\n\t\tif ((this.state.ctaAgreementsChecked && !value) || (!this.state.ctaAgreementsChecked && value)) {\n\t\t\tthis.setState({ ctaAgreementsChecked: value });\n\t\t}\n\t}\n\n\topraAgreementsChecked = (value) => {\n\t\tif ((this.state.opraAgreementsChecked && !value) || (!this.state.opraAgreementsChecked && value)) {\n\t\t\tthis.setState({ opraAgreementsChecked: value });\n\t\t}\n\t}\n\n\tisFormValid = () => {\n\t\tconst {\n\t\t\tinitialValues,\n\t\t\tgetFormValue,\n\t\t} = this.props;\n\n\t\tconst ctaValue = getFormValue(CTA_UTP);\n\t\tconst opraValue = getFormValue(OPRA);\n\n\t\tconst ctaPristine = ctaValue === initialValues[CTA_UTP];\n\t\tconst opraPristine = opraValue === initialValues[OPRA];\n\n\t\tconst pristine = ctaPristine && opraPristine;\n\t\tif (pristine) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ((ctaValue && this.state.ctaAgreementsChecked && opraPristine) ||\n\t\t\t(opraValue && this.state.opraAgreementsChecked && ctaPristine) ||\n\t\t\t(ctaValue && this.state.ctaAgreementsChecked && opraValue && this.state.opraAgreementsChecked) ||\n\t\t\t(ctaValue && this.state.ctaAgreementsChecked && !opraValue) ||\n\t\t\t(opraValue && this.state.opraAgreementsChecked && !ctaValue) ||\n\t\t\t(!ctaValue && opraPristine) ||\n\t\t\t(!opraValue && ctaPristine) ||\n\t\t\t(!ctaValue && !opraValue)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\n\tformSubmit = (values, dispatch, props) => {\n\t\tconst {\n\t\t\tisClientPro,\n\t\t\tmodalParams,\n\t\t\tinitialValues,\n\t\t} = this.props;\n\n\t\tconst payload = {\n\t\t\tsubscriptions: {\n\t\t\t\t...values,\n\t\t\t\tOTC: false,\n\t\t\t},\n\t\t\tisPro: isClientPro,\n\t\t};\n\n\t\t// Если маркет дата статус менялся\n\t\tif (modalParams.supposedStatus) {\n\t\t\tpayload.IsMdssChanged = true;\n\t\t\tpayload.StatusChangeResponses = modalParams.questionnaireResponses;\n\t\t}\n\n\t\tif (!isClientPro && values[CTA_UTP] && !initialValues[CTA_UTP]) {\n\t\t\t// UNIAP-795. Если кнопка доступна, то все 3 чекбокса были выбраны, потому все свойства = true\n\t\t\tpayload.SubscriptionsChangeResponses = {\n\t\t\t\tSection2Certification: true,\n\t\t\t\tSection1Agreed: true,\n\t\t\t\tSection2Agreed: true,\n\t\t\t};\n\t\t}\n\n\t\treturn profile.actions.changeMarketDataSubscriptionsForm(payload, dispatch, props);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tclasses,\n\t\t\thandleSubmit,\n\t\t\tsubmitting,\n\t\t\tshowOptionLevelHint,\n\t\t\tinitialValues,\n\t\t} = this.props;\n\n\t\tconst {\n\t\t\tctaUtpChecked,\n\t\t} = this.state;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{this.state.showPrompt &&\n\t\t\t\t\t

\n\t\t\t\t\t\tPlease open and review each market data agreement in order to enable the check boxes.\n\t\t\t\t\t

\n\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{ this.getCtaContent() }\n\t\t\t\t\t{ this.getOpraContent() }\n\t\t\t\t
\n\t\t\t\t{ctaUtpChecked && showOptionLevelHint &&\n\t\t\t\t\t

\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tOptions Realtime Datafeed is available only for clients with option level 1 and higher.\n\t\t\t\t\t\t\tTo change your option level go here.\n\t\t\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t}\n\t\t\t\t

\n\t\t\t\t\tPlease note: Market Data is for private use only.\n\t\t\t\t\tRequest for activating/deactivating your MD subscription can be done once a calendar day\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t: 'Change Subscriptions'\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nChangeMarketDataSubscriberStatusForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tgetFormValue: PropTypes.func.isRequired,\n\tinitialValues: PropTypes.object.isRequired,\n\tmodalParams: PropTypes.object.isRequired,\n\tisClientPro: PropTypes.bool.isRequired,\n\tctaGenerating: PropTypes.bool,\n\tctaGeneratingSuccess: PropTypes.bool,\n\topraGenerating: PropTypes.bool,\n\topraGeneratingSuccess: PropTypes.bool,\n\tmarketDataAgreements: PropTypes.object.isRequired,\n\tshowOptionLevelHint: PropTypes.bool.isRequired,\n};\n\nChangeMarketDataSubscriberStatusForm.defaultProps = {\n\tctaGenerating: false,\n\tctaGeneratingSuccess: false,\n\topraGenerating: false,\n\topraGeneratingSuccess: false,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: CHANGE_MARKETDATA_SUBSCRIPTIONS_FORM,\n\t\ttouchOnChange: true,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.OnSuccess) {\n\t\t\t\tprops.OnSuccess();\n\t\t\t}\n\t\t},\n\t}),\n)(ChangeMarketDataSubscriberStatusForm);\n","import React, { Fragment, useState, useRef } from 'react';\nimport { useDispatch } from 'react-redux';\nimport {\n\tCheckbox,\n\tFileDownload,\n} from '@components';\nimport { env } from '@config';\nimport { snackbar } from '@redux';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles({\n\tagreement: {\n\t\ttextAlign: 'justify',\n\t},\n});\n\nconst CtaAgreements = (props) => {\n\tconst dispatch = useDispatch();\n\tconst classes = useStyles();\n\n\tconst [nyseEnabled, setNyseEnabled] = useState(false);\n\tconst [ctaEnabled, setCtaEnabled] = useState(false);\n\tconst [nasdaqEnabled, setNasdaqEnabled] = useState(false);\n\tconst [cboeEnabled, setCboeEnabled] = useState(false);\n\n\tconst [nyse1Agreed, setNyse1Agreed] = useState(false);\n\tconst [nyse2Agreed, setNyse2Agreed] = useState(false);\n\tconst [nyse3Agreed, setNyse3Agreed] = useState(false);\n\tconst [ctaAgreed, setCtaAgreed] = useState(false);\n\tconst [nasdaqAgreed, setNasdaqAgreed] = useState(false);\n\tconst [cboeAgreed, setCboeAgreed] = useState(false);\n\n\tconst handleNyse1AgreementDowloadSuccess = () => setNyseEnabled(true);\n\tconst handleNyse2AgreementDowloadSuccess = () => setNyseEnabled(true);\n\tconst handleNyse3AgreementDowloadSuccess = () => setNyseEnabled(true);\n\tconst handleCtaAgreementDowloadSuccess = () => setCtaEnabled(true);\n\tconst handleNasdaqAgreementDowloadSuccess = () => setNasdaqEnabled(true);\n\tconst handleCboeAgreementDowloadSuccess = () => setCboeEnabled(true);\n\n\tconst NyseAgreementName = 'NYSE Market Data Agreement';\n\tconst CtaAgreementName = 'CTA Professional Subscriber Agreement';\n\tconst NasdaqAgreementName = 'NASDAQ UTP Plan Subscriber Agreement';\n\tconst CboeAgreementName = 'CBOE Market Data Agreement';\n\n\tconst getDownloadErrorMessage = agreementName => `${agreementName} could not be downloaded. Please, contact support at support@lime.co`;\n\n\tconst handleNyseAgreementDownloadError = () => {\n\t\tdispatch(snackbar.actions.showErrorMessage({\n\t\t\ttext: getDownloadErrorMessage(NyseAgreementName),\n\t\t}));\n\t};\n\n\tconst handleCtaAgreementDownloadError = () => {\n\t\tdispatch(snackbar.actions.showErrorMessage({\n\t\t\ttext: getDownloadErrorMessage(CtaAgreementName),\n\t\t}));\n\t};\n\n\tconst handleNasdaqAgreementDownloadError = () => {\n\t\tdispatch(snackbar.actions.showErrorMessage({\n\t\t\ttext: getDownloadErrorMessage(NasdaqAgreementName),\n\t\t}));\n\t};\n\n\tconst handleCboeAgreementDownloadError = () => {\n\t\tdispatch(snackbar.actions.showErrorMessage({\n\t\t\ttext: getDownloadErrorMessage(CboeAgreementName),\n\t\t}));\n\t};\n\n\tconst checkedCounter = useRef(0);\n\tconst handleAgreementChanged = (checked) => {\n\t\tconst {\n\t\t\tisClientPro,\n\t\t\tctaAgreementsChecked,\n\t\t} = props;\n\n\t\tif (checked) {\n\t\t\tcheckedCounter.current += 1;\n\t\t} else {\n\t\t\tcheckedCounter.current -= 1;\n\t\t}\n\t\t// 3 agreements must be checked for \"pro\" and 5 for \"non-pro\"\n\t\tif ((isClientPro && checkedCounter.current === 3) || (!isClientPro && checkedCounter.current === 5)) {\n\t\t\tctaAgreementsChecked(true);\n\t\t\treturn;\n\t\t}\n\t\tctaAgreementsChecked(false);\n\t};\n\n\tconst handleNyse1AgreementChanged = (_, checked) => {\n\t\tsetNyse1Agreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst handleNyse2AgreementChanged = (_, checked) => {\n\t\tsetNyse2Agreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst handleNyse3AgreementChanged = (_, checked) => {\n\t\tsetNyse3Agreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst handleCtaAgreementChanged = (_, checked) => {\n\t\tsetCtaAgreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst handleNasdaqAgreementChanged = (_, checked) => {\n\t\tsetNasdaqAgreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst handleCboeAgreementChanged = (_, checked) => {\n\t\tsetCboeAgreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst {\n\t\tisClientPro,\n\t} = props;\n\n\treturn (\n\t\t\n\t\t\t{!isClientPro &&\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tI, the "Subscriber" to which the preceding terms and conditions refer, acknowledge that\n\t\t\t\t\t\t\t\tI have read the preceding terms and conditions of this Section 1 of {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthat I understand them and that I hereby manifest my assent to, and my agreement to comply with,\n\t\t\t\t\t\t\t\tthose terms and conditions by "clicking" on the following box.\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchecked={nyse1Agreed}\n\t\t\t\t\t\tonChange={handleNyse1AgreementChanged}\n\t\t\t\t\t\tdisabled={!nyseEnabled}\n\t\t\t\t\t/>\n\t\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tSubscriber hereby certifies that he or she falls within Paragraph 9's definition of\n\t\t\t\t\t\t\t\t'Nonprofessional Subscriber' and that the personal and employment information that he or\n\t\t\t\t\t\t\t\tshe has included in Paragraph 11 of {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t} is truthful and accurate.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchecked={nyse2Agreed}\n\t\t\t\t\t\tonChange={handleNyse2AgreementChanged}\n\t\t\t\t\t\tdisabled={!nyseEnabled}\n\t\t\t\t\t/>\n\t\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tI, the "Subscriber" to which the preceding terms and conditions refer, acknowledge that\n\t\t\t\t\t\t\t\tI have read the preceding terms and conditions of this Section 2 of {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthat I understand them and that I hereby manifest my assent to, and my agreement to comply with terms\n\t\t\t\t\t\t\t\tand conditions by "clicking" on the following box.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchecked={nyse3Agreed}\n\t\t\t\t\t\tonChange={handleNyse3AgreementChanged}\n\t\t\t\t\t\tdisabled={!nyseEnabled}\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t}\n\t\t\t{isClientPro &&\n\t\t\t\t\n\t\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tchecked={ctaAgreed}\n\t\t\t\t\tonChange={handleCtaAgreementChanged}\n\t\t\t\t\tdisabled={!ctaEnabled}\n\t\t\t\t/>\n\t\t\t}\n\t\t\t{ /* PRO and NON_PRO */}\n\t\t\t

\n\t\t\t\n\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tchecked={nasdaqAgreed}\n\t\t\t\tonChange={handleNasdaqAgreementChanged}\n\t\t\t\tdisabled={!nasdaqEnabled}\n\t\t\t/>\n\t\t\t

\n\t\t\t\n\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tchecked={cboeAgreed}\n\t\t\t\tonChange={handleCboeAgreementChanged}\n\t\t\t\tdisabled={!cboeEnabled}\n\t\t\t/>\n\t\t\t

\n\t\t\n\t);\n};\n\nexport default CtaAgreements;\n\nCtaAgreements.propTypes = {\n\tisClientPro: PropTypes.bool.isRequired,\n\tctaAgreementsChecked: PropTypes.func.isRequired,\n};\n","import React, { Fragment, useState, useRef } from 'react';\nimport { useDispatch } from 'react-redux';\nimport {\n\tCheckbox,\n\tFileDownload,\n} from '@components';\nimport { snackbar } from '@redux';\nimport { env } from '@config';\nimport PropTypes from 'prop-types';\n\nconst OpraAgreements = (props) => {\n\tconst [opraEnabled, setOpraEnabled] = useState(false);\n\tconst [opraProEnabled, setOpraProEnabled] = useState(false);\n\n\tconst [opraAgreed, setOpraAgreed] = useState(false);\n\tconst [opraProAgreed, setOpraProAgreed] = useState(false);\n\n\tconst handleOpraAgreementDownloadSuccess = () => { setOpraEnabled(true); };\n\tconst handleOpraProAgreementDownloadSuccess = () => { setOpraProEnabled(true); };\n\n\tconst opraAgreementName = 'OPRA Subscriber Agreement';\n\tconst opraProAgreementName = 'OPRA Professional Subscriber Agreement';\n\n\tconst getDownloadErrorMessage = agreementName => `${agreementName} could not be downloaded. Please, contact support at support@lime.co`;\n\n\tconst dispatch = useDispatch();\n\n\tconst handleOpraAgreementDownloadError = () => {\n\t\tdispatch(snackbar.actions.showErrorMessage({\n\t\t\ttext: getDownloadErrorMessage(opraAgreementName),\n\t\t}));\n\t};\n\n\tconst handleOpraProAgreementDownloadError = () => {\n\t\tdispatch(snackbar.actions.showErrorMessage({\n\t\t\ttext: getDownloadErrorMessage(opraProAgreementName),\n\t\t}));\n\t};\n\n\tconst checkedCounter = useRef(0);\n\tconst handleAgreementChanged = (checked) => {\n\t\tconst {\n\t\t\topraAgreementsChecked,\n\t\t} = props;\n\n\t\tif (checked) {\n\t\t\tcheckedCounter.current += 1;\n\t\t} else {\n\t\t\tcheckedCounter.current -= 1;\n\t\t}\n\t\t// 1 agreements must be checked for \"pro\" and 1 for \"non-pro\"\n\t\tif (checkedCounter.current === 1) {\n\t\t\topraAgreementsChecked(true);\n\t\t\treturn;\n\t\t}\n\t\topraAgreementsChecked(false);\n\t};\n\n\tconst handleOpraAgreementChanged = (_, checked) => {\n\t\tsetOpraAgreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst handleOpraProAgreementChanged = (_, checked) => {\n\t\tsetOpraProAgreed(checked);\n\t\thandleAgreementChanged(checked);\n\t};\n\n\tconst {\n\t\tisClientPro,\n\t} = props;\n\n\treturn (\n\t\t\n\t\t\t{!isClientPro &&\n\t\t\t\t\n\t\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tchecked={opraAgreed}\n\t\t\t\t\tonChange={handleOpraAgreementChanged}\n\t\t\t\t\tdisabled={!opraEnabled}\n\t\t\t\t/>\n\t\t\t}\n\t\t\t

\n\t\t\t{isClientPro &&\n\t\t\t\t\n\t\t\t\t\t\t\tI confirm that I read and agree with terms and conditions of the\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tchecked={opraProAgreed}\n\t\t\t\t\tonChange={handleOpraProAgreementChanged}\n\t\t\t\t\tdisabled={!opraProEnabled}\n\t\t\t\t/>\n\t\t\t}\n\t\t\n\t);\n};\n\nexport default OpraAgreements;\n\nOpraAgreements.propTypes = {\n\tisClientPro: PropTypes.bool.isRequired,\n\topraAgreementsChecked: PropTypes.func.isRequired,\n};\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups, ValidationMessageMode } from '@enums';\r\nimport { profile, signature } from '@redux';\r\nimport { INDUSTRIES, SOURCE_OF_FUNDING, EMPLOYMENT_STATUS, OCCUPATIONS } from '@utils';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n\treduxForm,\r\n\tField,\r\n\tchange,\r\n\tformValueSelector,\r\n\ttouch,\r\n} from 'redux-form';\r\nimport {\r\n\tButton, ErrorMessage, FormInput,\r\n\tProgressContainer, SelectField,\r\n\tSuccessMessage,\r\n} from '@components';\r\nimport { markAsTouched } from '@global';\r\nimport { constants } from '@config';\r\nimport { RequireSignatureModal } from '../../..';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t\tmarginBottom: '40px',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tinputSelectItem: {\r\n\t\tmarginTop: '10px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\theader: {\r\n\t\ttextAlign: 'center',\r\n\t\tmargin: '0px',\r\n\t},\r\n\tinputItem: {\r\n\t\t'& div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t},\r\n\t},\r\n});\r\n\r\nfunction valueOrEmpty(val) {\r\n\tif (val) return val;\r\n\treturn '';\r\n}\r\n\r\nconst CHANGE_PROFILE_EMPLOYMENT_FORM = 'ChangeProfileEmploymentForm';\r\nconst mapStateToProps = (state) => {\r\n\tconst modalParams = profile.selectors.modals(state)[ModalPopups.CHANGE_EMPLOYMENT];\r\n\tconst userProfile = modalParams || profile.selectors.profile(state);\r\n\r\n\tconst employmentProfile = userProfile.EmploymentProfile;\r\n\tconst initialValues = (!userProfile.submitting && !userProfile.error) ? {\r\n\t\tclientId: userProfile.ClientId,\r\n\t\tguid: userProfile.Guid,\r\n\t\tstateAbbr: employmentProfile.Address.StateAbbr,\r\n\t\tzipCode: employmentProfile.Address.ZipCode,\r\n\t\tcity: employmentProfile.Address.City,\r\n\t\tstreetAddress: employmentProfile.Address.StreetAddress,\r\n\t\thouse: employmentProfile.Address.House,\r\n\t\tbuilding: employmentProfile.Address.Building,\r\n\t\tapartment: employmentProfile.Address.Apartment,\r\n\t\tcountry: employmentProfile.Address.Country,\r\n\t\tposition: employmentProfile.Position,\r\n\t\tyears: employmentProfile.Years,\r\n\t\tcompany: employmentProfile.Company,\r\n\t\texplanationSourceOfFunding: employmentProfile.ExplanationSourceOfFunding,\r\n\t\tstatus: employmentProfile.Status,\r\n\t\tindustry: employmentProfile.Industry,\r\n\t\tsourceOfFunding: employmentProfile.SourceOfFunding,\r\n\t\temploymentFunctions: employmentProfile.EmploymentFunctions,\r\n\t} : {};\r\n\treturn {\r\n\t\tinitialValues,\r\n\t\tgetFormValue: fieldName => formValueSelector(CHANGE_PROFILE_EMPLOYMENT_FORM)(state, fieldName),\r\n\t\temploymentProfile,\r\n\t\tcountries: profile.selectors.getCountries(state),\r\n\t\tusaStates: profile.selectors.getUsaStates(state),\r\n\t\tprofileSubmitting: !!userProfile.submitting,\r\n\t\tpendingOrder: userProfile.PendingOrders.Employment,\r\n\t\tformState: state.form,\r\n\t};\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\trefreshCountriesList: () => dispatch(profile.actions.getCountries.request()),\r\n\t\trefreshUsaStatesList: () => dispatch(profile.actions.getUsaStates.request()),\r\n\t\tshowChangeInvestmentProfileModal: () => {\r\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentProfileModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\r\n\t\t},\r\n\t\tsetFormField: (fieldName, value = null) => dispatch(change(CHANGE_PROFILE_EMPLOYMENT_FORM, fieldName, value)),\r\n\t\ttouchFields: fieldsName => dispatch(touch(CHANGE_PROFILE_EMPLOYMENT_FORM, ...fieldsName)),\r\n\t},\r\n});\r\n\r\nconst requiredError = 'Required';\r\nconst maxCharsError = `Up to ${constants.maxCharsNumber} characters allowed`;\r\nconst maxCharsHouseNumber = 10;\r\nconst maxCharsHouseError = `Up to ${maxCharsHouseNumber} characters allowed`;\r\nconst formatError = 'Latin characters and digits only, no special characters except for:';\r\nconst allowedSymbolsCompany = ' . , - + \" space';\r\nconst allowedSymbolsAddress = ' . , - + \" / space';\r\nconst allowedSymbolsHouse = ' . , - / space';\r\nconst allowedSymbolsCity = ' . , - space';\r\n\r\nclass ChangeEmploymentModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.status) {\r\n\t\t\terrors.status = requiredError;\r\n\t\t}\r\n\r\n\t\tif (!values.company) {\r\n\t\t\terrors.company = requiredError;\r\n\t\t} else if (values.company && values.company.length > constants.maxCharsNumber) {\r\n\t\t\terrors.company = maxCharsError;\r\n\t\t} else if (values.company && !constants.regExpEmploymentCompanyName.test(values.company)) {\r\n\t\t\terrors.company = formatError + allowedSymbolsCompany;\r\n\t\t} else if (values.company && constants.regExpEmploymentForbidden.test(values.company)) {\r\n\t\t\terrors.company = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\tif (!values.industry) {\r\n\t\t\terrors.industry = requiredError;\r\n\t\t}\r\n\t\tif (!values.position) {\r\n\t\t\terrors.position = requiredError;\r\n\t\t}\r\n\r\n\t\tif (!values.employmentFunctions) {\r\n\t\t\terrors.employmentFunctions = requiredError;\r\n\t\t} else if (values.employmentFunctions && values.employmentFunctions.length > constants.maxCharsNumber) {\r\n\t\t\terrors.employmentFunctions = maxCharsError;\r\n\t\t} else if (values.employmentFunctions && !constants.regExpEmploymentCompanyName.test(values.employmentFunctions)) {\r\n\t\t\terrors.employmentFunctions = formatError + allowedSymbolsCompany;\r\n\t\t} else if (values.employmentFunctions && constants.regExpEmploymentForbidden.test(values.employmentFunctions)) {\r\n\t\t\terrors.employmentFunctions = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\tif (!values.years) {\r\n\t\t\terrors.years = requiredError;\r\n\t\t}\r\n\r\n\t\tif (!values.country) {\r\n\t\t\terrors.country = requiredError;\r\n\t\t}\r\n\r\n\t\tif (!values.streetAddress) {\r\n\t\t\terrors.streetAddress = requiredError;\r\n\t\t} else if (values.streetAddress && values.streetAddress.length > constants.maxCharsNumber) {\r\n\t\t\terrors.streetAddress = maxCharsError;\r\n\t\t} else if (!constants.regExpEmploymentStreetAddress.test(values.streetAddress)) {\r\n\t\t\terrors.streetAddress = formatError + allowedSymbolsAddress;\r\n\t\t} else if (values.streetAddress && constants.regExpEmploymentForbidden.test(values.streetAddress)) {\r\n\t\t\terrors.streetAddress = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\tif (values.house && values.house.length > maxCharsHouseNumber) {\r\n\t\t\terrors.house = maxCharsHouseError;\r\n\t\t} else if (values.house && !constants.regExpEmploymentHouse.test(values.house)) {\r\n\t\t\terrors.house = formatError + allowedSymbolsHouse;\r\n\t\t} else if (values.house && constants.regExpEmploymentForbidden.test(values.house)) {\r\n\t\t\terrors.house = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\tif (values.building && values.building.length > maxCharsHouseNumber) {\r\n\t\t\terrors.building = maxCharsHouseError;\r\n\t\t} else if (values.building && !constants.regExpEmploymentHouse.test(values.building)) {\r\n\t\t\terrors.building = formatError + allowedSymbolsHouse;\r\n\t\t} else if (values.building && constants.regExpEmploymentForbidden.test(values.building)) {\r\n\t\t\terrors.building = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\tif (values.apartment && values.apartment.length > maxCharsHouseNumber) {\r\n\t\t\terrors.apartment = maxCharsHouseError;\r\n\t\t} else if (values.apartment && !constants.regExpEmploymentHouse.test(values.apartment)) {\r\n\t\t\terrors.apartment = formatError + allowedSymbolsHouse;\r\n\t\t} else if (values.apartment && constants.regExpEmploymentForbidden.test(values.apartment)) {\r\n\t\t\terrors.apartment = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\tif (!values.city) {\r\n\t\t\terrors.city = requiredError;\r\n\t\t} else if (values.city && values.city.length > constants.maxCharsNumber) {\r\n\t\t\terrors.city = maxCharsError;\r\n\t\t} else if (!constants.regExpEmploymentCity.test(values.city)) {\r\n\t\t\terrors.city = formatError + allowedSymbolsCity;\r\n\t\t} else if (values.city && constants.regExpEmploymentForbidden.test(values.city)) {\r\n\t\t\terrors.city = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\tif (!values.zipCode) {\r\n\t\t\terrors.zipCode = requiredError;\r\n\t\t} else if (values.zipCode && values.zipCode.length > 20) {\r\n\t\t\terrors.zipCode = 'Up to 20 characters allowed';\r\n\t\t} else if (!constants.regExpEmploymentZip.test(values.zipCode)) {\r\n\t\t\terrors.zipCode = 'Latin characters and digits only, no special characters';\r\n\t\t}\r\n\r\n\t\tif (!values.stateAbbr && values.country === 'US') {\r\n\t\t\terrors.stateAbbr = requiredError;\r\n\t\t}\r\n\r\n\t\tif (!values.sourceOfFunding) {\r\n\t\t\terrors.sourceOfFunding = requiredError;\r\n\t\t}\r\n\r\n\t\tif (!values.explanationSourceOfFunding) {\r\n\t\t\terrors.explanationSourceOfFunding = requiredError;\r\n\t\t} else if (values.explanationSourceOfFunding && values.explanationSourceOfFunding.length > constants.maxCharsNumber) {\r\n\t\t\terrors.explanationSourceOfFunding = maxCharsError;\r\n\t\t} else if (values.explanationSourceOfFunding && !constants.regExpEmploymentCompanyName.test(values.explanationSourceOfFunding)) {\r\n\t\t\terrors.explanationSourceOfFunding = formatError + allowedSymbolsCompany;\r\n\t\t} else if (values.explanationSourceOfFunding && constants.regExpEmploymentForbidden.test(values.explanationSourceOfFunding)) {\r\n\t\t\terrors.explanationSourceOfFunding = formatError + allowedSymbolsCompany;\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tthis.state = {};\r\n\t\tthis.state.sourceOfFundingId = 1;\r\n\t\tthis.state.sourceOfFunding = props.employmentProfile.SourceOfFunding;\r\n\t}\r\n\r\n\tcomponentDidMount() {\r\n\t\tconst { countries, usaStates, actions } = this.props;\r\n\t\tif (!countries) {\r\n\t\t\tactions.refreshCountriesList();\r\n\t\t}\r\n\t\tif (!usaStates) {\r\n\t\t\tactions.refreshUsaStatesList();\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentDidUpdate() {\r\n\t\tconst { anyTouched, formState, actions: { touchFields } } = this.props;\r\n\t\tconst form = formState[CHANGE_PROFILE_EMPLOYMENT_FORM];\r\n\t\tmarkAsTouched(anyTouched, form, touchFields, ['clientId', 'guid']);\r\n\t}\r\n\r\n\tcheckYears = (value) => {\r\n\t\tif (value < 1) {\r\n\t\t\treturn '1';\r\n\t\t}\r\n\t\tif (value > 90) {\r\n\t\t\treturn '90';\r\n\t\t}\r\n\t\treturn value;\r\n\t}\r\n\r\n\tsortUsFirst = (a, b) => {\r\n\t\tif (a.CodeLat2 === 'US') {\r\n\t\t\treturn -1;\r\n\t\t}\r\n\t\tif (b.CodeLat2 === 'US') {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (a.Name === b.Name) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\treturn a.Name < b.Name ? -1 : 1;\r\n\t}\r\n\r\n\tchangeSourceOfIncome = (value) => {\r\n\t\tconst { actions } = this.props;\r\n\t\tactions.setFormField('sourceOfFunding', value);\r\n\t\tactions.setFormField('explanationSourceOfFunding', null);\r\n\r\n\t\tthis.setState({\r\n\t\t\tsourceOfFundingId: this.state.sourceOfFundingId + 1,\r\n\t\t\tsourceOfFunding: value,\r\n\t\t});\r\n\t}\r\n\r\n\thandleChangeEmploymentStatus = (event) => {\r\n\t\tif (\r\n\t\t\tevent.target.value === EMPLOYMENT_STATUS.STUDENT ||\r\n\t\t\tevent.target.value === EMPLOYMENT_STATUS.RETIRED ||\r\n\t\t\tevent.target.value === EMPLOYMENT_STATUS.UNEMPLOYED\r\n\t\t) {\r\n\t\t\tthis.changeSourceOfIncome(null);\r\n\t\t}\r\n\t}\r\n\r\n\thandleChangeSourceOfFunding = (event) => {\r\n\t\tthis.changeSourceOfIncome(event.target.value);\r\n\t}\r\n\r\n\thandleSuccessMessageClick = () => {\r\n\t\tconst { onClose, actions } = this.props;\r\n\t\tonClose();\r\n\t\tactions.showChangeInvestmentProfileModal();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tpristine,\r\n\t\t\tprofileSubmitting,\r\n\t\t\tpendingOrder,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\temploymentProfile: EmploymentProfile,\r\n\t\t\tinitialValues,\r\n\t\t\tgetFormValue,\r\n\t\t\tcountries,\r\n\t\t\tusaStates,\r\n\t\t} = this.props;\r\n\r\n\t\tconst employmentStatus = getFormValue('status');\r\n\t\tconst companyPlaceHolder = employmentStatus === EMPLOYMENT_STATUS.STUDENT ? 'School Name' : 'Please enter your new company name';\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded && }\r\n\t\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\t ({ value: s, text: s }))}\r\n\t\t\t\t\t\t\t\t\tvalue={valueOrEmpty(EmploymentProfile.Status)}\r\n\t\t\t\t\t\t\t\t\tonChange={this.handleChangeEmploymentStatus}\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{(employmentStatus === EMPLOYMENT_STATUS.EMPLOYED\r\n\t\t\t\t\t\t\t\t|| employmentStatus === EMPLOYMENT_STATUS.SELF_EMPLOYED\r\n\t\t\t\t\t\t\t\t|| employmentStatus === EMPLOYMENT_STATUS.STUDENT) &&\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t{employmentStatus !== EMPLOYMENT_STATUS.STUDENT &&\r\n\t\t\t\t\t\t\t\temploymentStatus !== EMPLOYMENT_STATUS.RETIRED &&\r\n\t\t\t\t\t\t\t\temploymentStatus !== EMPLOYMENT_STATUS.UNEMPLOYED &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t ({ value: ind, text: ind }))) || []}\r\n\t\t\t\t\t\t\t\t\t\t\tvalue={valueOrEmpty(EmploymentProfile.Industry)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t ({ value: pos, text: pos }))) || []}\r\n\t\t\t\t\t\t\t\t\t\t\tvalue={valueOrEmpty(EmploymentProfile.Position)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t

Please enter your new company address

\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t ({ value: cntr.CodeLat2, text: cntr.Name }))) || []}\r\n\t\t\t\t\t\t\t\t\t\t\tvalue={valueOrEmpty(initialValues.country)}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{getFormValue('country') === 'US' &&\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t ({ value: st.Abbr, text: st.Name }))) || []}\r\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={valueOrEmpty(initialValues.stateAbbr)}\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t{(employmentStatus === EMPLOYMENT_STATUS.STUDENT ||\r\n\t\t\t\t\t\t\t\temploymentStatus === EMPLOYMENT_STATUS.RETIRED ||\r\n\t\t\t\t\t\t\t\temploymentStatus === EMPLOYMENT_STATUS.UNEMPLOYED) &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t ({ value: fund, text: fund }))) || []}\r\n\t\t\t\t\t\t\t\t\t\t\tvalue={valueOrEmpty(this.state.sourceOfFunding)}\r\n\t\t\t\t\t\t\t\t\t\t\tonChange={this.handleChangeSourceOfFunding}\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{this.state.sourceOfFunding === SOURCE_OF_FUNDING.OTHER &&\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Employment'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeEmploymentModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n\tcountries: PropTypes.array,\r\n\tusaStates: PropTypes.array,\r\n\tgetFormValue: PropTypes.func.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tpristine: PropTypes.bool.isRequired,\r\n\tprofileSubmitting: PropTypes.bool.isRequired,\r\n\tinitialValues: PropTypes.object.isRequired,\r\n\tpendingOrder: PropTypes.bool,\r\n\temploymentProfile: PropTypes.object.isRequired,\r\n\tformState: PropTypes.object,\r\n\tanyTouched: PropTypes.bool,\r\n};\r\n\r\nChangeEmploymentModal.defaultProps = {\r\n\tcountries: undefined,\r\n\tusaStates: undefined,\r\n\tpendingOrder: undefined,\r\n\tformState: {},\r\n\tanyTouched: false,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: CHANGE_PROFILE_EMPLOYMENT_FORM,\r\n\t\tvalidate: ChangeEmploymentModal.validate,\r\n\t\tenableReinitialize: true,\r\n\t}),\r\n)(ChangeEmploymentModal);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups } from '@enums';\r\nimport { profile } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport { reduxForm, touch } from 'redux-form';\r\nimport {\r\n\tButton,\r\n\tErrorMessage,\r\n\tProgressContainer,\r\n\tSuccessMessage,\r\n} from '@components';\r\nimport { markAsTouched } from '@global';\r\nimport { InvestmentExperienceItem } from './components';\r\nimport { RequireSignatureModal } from '../../..';\r\n\r\nconst styles = () => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\tdivider: {\r\n\t\tmarginTop: '30px',\r\n\t},\r\n\tinputSelectItem: {\r\n\t\tmarginTop: '10px',\r\n\t},\r\n});\r\n\r\nconst GetExperienceValues = (experiences) => {\r\n\tlet stocks = experiences.find(val => val.Type === 'Stocks');\r\n\tstocks = stocks ? stocks.Value : '';\r\n\tlet option = experiences.find(val => val.Type === 'Option');\r\n\toption = option ? option.Value : '';\r\n\tlet margin = experiences.find(val => val.Type === 'Margin');\r\n\tmargin = margin ? margin.Value : '';\r\n\tlet mutualFunds = experiences.find(val => val.Type === 'Mutual Funds');\r\n\tmutualFunds = mutualFunds ? mutualFunds.Value : '';\r\n\tlet shortSale = experiences.find(val => val.Type === 'Short Sale');\r\n\tshortSale = shortSale ? shortSale.Value : '';\r\n\r\n\treturn {\r\n\t\tstocks,\r\n\t\toption,\r\n\t\tmargin,\r\n\t\tmutualFunds,\r\n\t\tshortSale,\r\n\t};\r\n};\r\n\r\nconst CHANGE_PROFILE_INVESTMENT_EXPERIENCE_FORM = 'ChangeProfileInvestmentExperienceForm';\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst userProfile = profile.selectors.profile(state);\r\n\tconst experiences = GetExperienceValues(userProfile.Experiences);\r\n\tconst initialValues = (!userProfile.submitting && !userProfile.error) ? {\r\n\t\t...experiences,\r\n\t} : {};\r\n\treturn {\r\n\t\texperiences: userProfile.Experiences,\r\n\t\tinitialValues,\r\n\t\tprofileSubmitting: userProfile.submitting,\r\n\t\tpendingOrder: userProfile.PendingOrders.InvestmentExperience,\r\n\t\tformState: state.form,\r\n\t};\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\ttouchFields: fieldsName => dispatch(touch(CHANGE_PROFILE_INVESTMENT_EXPERIENCE_FORM, ...fieldsName)),\r\n\t},\r\n});\r\n\r\nclass ChangeInvestmentExperienceModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\r\n\t\tif (!values.stocks) {\r\n\t\t\terrors.stocks = 'required';\r\n\t\t}\r\n\t\tif (!values.margin) {\r\n\t\t\terrors.margin = 'required';\r\n\t\t}\r\n\t\tif (!values.option) {\r\n\t\t\terrors.option = 'required';\r\n\t\t}\r\n\t\tif (!values.mutualFunds) {\r\n\t\t\terrors.mutualFunds = 'required';\r\n\t\t}\r\n\t\tif (!values.shortSale) {\r\n\t\t\terrors.shortSale = 'required';\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tcomponentDidUpdate() {\r\n\t\tconst { anyTouched, formState, actions: { touchFields } } = this.props;\r\n\t\tconst form = formState[CHANGE_PROFILE_INVESTMENT_EXPERIENCE_FORM];\r\n\t\tmarkAsTouched(anyTouched, form, touchFields);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tpristine,\r\n\t\t\tprofileSubmitting,\r\n\t\t\tpendingOrder,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\texperiences: Experiences,\r\n\t\t} = this.props;\r\n\r\n\t\tconst experiences = GetExperienceValues(Experiences);\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded &&\r\n\t\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Investment Experience'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeInvestmentExperienceModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n\tpristine: PropTypes.bool.isRequired,\r\n\tprofileSubmitting: PropTypes.bool.isRequired,\r\n\tpendingOrder: PropTypes.bool,\r\n\tactions: PropTypes.object,\r\n\tformState: PropTypes.object,\r\n\tanyTouched: PropTypes.bool,\r\n\texperiences: PropTypes.array,\r\n};\r\n\r\nChangeInvestmentExperienceModal.defaultProps = {\r\n\tpendingOrder: undefined,\r\n\tactions: undefined,\r\n\tformState: {},\r\n\tanyTouched: false,\r\n\texperiences: [],\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: CHANGE_PROFILE_INVESTMENT_EXPERIENCE_FORM,\r\n\t\tvalidate: ChangeInvestmentExperienceModal.validate,\r\n\t\tenableReinitialize: true,\r\n\t}),\r\n)(ChangeInvestmentExperienceModal);\r\n","export { default as InvestmentExperienceItem } from './InvestmentExperienceItem/InvestmentExperienceItem';\r\n","/* eslint-disable react/no-children-prop */\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { SelectField } from '@components';\r\nimport { INVESTMENT_TIMELINE_RANGES } from '@utils';\r\n\r\nclass InvestmentExperienceItem extends React.Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nInvestmentExperienceItem.propTypes = {\r\n\tname: PropTypes.string.isRequired,\r\n\tlabel: PropTypes.string.isRequired,\r\n\tvalue: PropTypes.any.isRequired,\r\n};\r\n\r\n\r\nexport default InvestmentExperienceItem;\r\n","import { reduxForm, Field, formValueSelector, change, touch } from 'redux-form';\r\nimport {\r\n\tButton,\r\n\tErrorMessage,\r\n\tProgressContainer,\r\n\tSuccessMessage,\r\n\tSelectField,\r\n\tFormCheckbox,\r\n\tSvgIcon,\r\n\tFormInput,\r\n} from '@components';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { ModalPopups, ClientTypes, ValidationMessageMode, AccountClearers, MarginType } from '@enums';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { constants } from '@config';\r\nimport { markAsTouched } from '@global';\r\nimport {\r\n\tACCREDITED_INVESTOR_TOOLTIP_TEXT,\r\n\tQUALIFIED_CLIENT_TOOLTIP_TEXT,\r\n\tINVESTMENT_TIMELINE_RANGES,\r\n\tLIQUIDITY_IMPORTANCE_RANGES,\r\n} from '@utils';\r\nimport { connect } from 'react-redux';\r\nimport { RequireSignatureModal } from '../../..';\r\nimport {\r\n\tNetWorthValues,\r\n\tNetWorthList,\r\n\tAnnualIncomeInstitutionalList,\r\n\tAnnualIncomeList,\r\n\tTaxBracketList,\r\n} from './AssetItems';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'block',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tsubHeader: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tprogress: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\tinputSelectItem: {\r\n\t\tborderRadius: '8px',\r\n\t\tmarginTop: '16px',\r\n\t\t'& > div > div:first-child': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t\tborderRadius: '8px',\r\n\t\t},\r\n\t\t'& > div > div:first-child > label': {\r\n\t\t\tpaddingLeft: '25px',\r\n\t\t},\r\n\t\t'& > div > div:first-child > div': {\r\n\t\t\tpaddingLeft: '25px',\r\n\t\t},\r\n\t},\r\n\tdivider: {\r\n\t\tmarginTop: '20px',\r\n\t},\r\n\tbutton: {\r\n\t\tpaddingTop: '12px',\r\n\t},\r\n\tinputItem: {\r\n\t\t'& div > div': {\r\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\r\n\t\t},\r\n\t},\r\n});\r\n\r\nconst riskTolerances = {\r\n\tLOW: 'Low',\r\n\tMODERATE: 'Moderate',\r\n\tAGGRESSIVE: 'Aggressive',\r\n\tSPECULATIVE: 'Speculative',\r\n};\r\n\r\nconst investmentGoals = {\r\n\tINCOME:\t{ value: 'Income', text: 'Income' },\r\n\tSPECULATION: { value: 'Speculation', text: 'Speculation' },\r\n\tAPPRECATION: { value: 'Appreciation', text: 'Capital Appreciation' },\r\n\tPRESERVATION: { value: 'Preservation', text: 'Capital Preservation' },\r\n};\r\n\r\nconst CHANGE_INVESTMENT_PROFILE_FORM_ID = 'ChangeInvestmentProfileForm';\r\n\r\nconst isRiskObjectiveCombinationValid = (marginType, investmentProfile) => {\r\n\tif (marginType === MarginType.DAY_TRADER) {\r\n\t\tif (investmentProfile.RiskTolerance !== riskTolerances.SPECULATIVE ||\r\n\t\t\tinvestmentProfile.Goal !== investmentGoals.SPECULATION.value) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t} else if (marginType === MarginType.MARGIN_X2) {\r\n\t\tif (investmentProfile.RiskTolerance !== riskTolerances.SPECULATIVE &&\r\n\t\t\tinvestmentProfile.RiskTolerance !== riskTolerances.AGGRESSIVE) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (investmentProfile.RiskTolerance === riskTolerances.SPECULATIVE &&\r\n\t\t\tinvestmentProfile.Goal !== investmentGoals.SPECULATION.value) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (investmentProfile.RiskTolerance === riskTolerances.AGGRESSIVE &&\r\n\t\t\t![\r\n\t\t\t\tinvestmentGoals.INCOME.value,\r\n\t\t\t\tinvestmentGoals.SPECULATION.value,\r\n\t\t\t\tinvestmentGoals.APPRECATION.value,\r\n\t\t\t].includes(investmentProfile.Goal)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t} else if (marginType === MarginType.CASH) {\r\n\t\tif (investmentProfile.RiskTolerance === riskTolerances.SPECULATIVE &&\r\n\t\t\tinvestmentProfile.Goal !== investmentGoals.SPECULATION.value) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (investmentProfile.RiskTolerance === riskTolerances.AGGRESSIVE &&\r\n\t\t\t![\r\n\t\t\t\tinvestmentGoals.INCOME.value,\r\n\t\t\t\tinvestmentGoals.SPECULATION.value,\r\n\t\t\t\tinvestmentGoals.APPRECATION.value,\r\n\t\t\t].includes(investmentProfile.Goal)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (investmentProfile.RiskTolerance === riskTolerances.MODERATE &&\r\n\t\t\t![\r\n\t\t\t\tinvestmentGoals.INCOME.value,\r\n\t\t\t\tinvestmentGoals.APPRECATION.value,\r\n\t\t\t].includes(investmentProfile.Goal)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tif (investmentProfile.RiskTolerance === riskTolerances.LOW &&\r\n\t\t\tinvestmentProfile.Goal !== investmentGoals.PRESERVATION.value) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n\r\n\treturn true;\r\n};\r\n\r\nconst memoizeRiskObjectiveCombinationCheck = () => {\r\n\tlet oldDependencies = null;\r\n\tlet memoizedValue = null;\r\n\r\n\treturn (marginType, investmentProfile) => {\r\n\t\tconst newDependencies = [marginType, investmentProfile];\r\n\t\tif (!oldDependencies || oldDependencies.some((dep, i) => dep !== newDependencies[i])) {\r\n\t\t\toldDependencies = newDependencies;\r\n\t\t\tmemoizedValue = isRiskObjectiveCombinationValid(marginType, investmentProfile);\r\n\t\t}\r\n\r\n\t\treturn memoizedValue;\r\n\t};\r\n};\r\n\r\nconst isRiskObjectiveCombinationValidMemo = memoizeRiskObjectiveCombinationCheck();\r\n\r\nconst calcMarginType = (accounts) => {\r\n\tlet marginType = MarginType.CASH;\r\n\tfor (let i = 0; i < accounts.length; i += 1) {\r\n\t\tif (accounts[i].IsDayTrader) {\r\n\t\t\tmarginType = MarginType.DAY_TRADER;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tif (accounts[i].IsMargin) {\r\n\t\t\tmarginType = MarginType.MARGIN_X2;\r\n\t\t}\r\n\t}\r\n\r\n\treturn marginType;\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst userProfile = profile.selectors.profile(state);\r\n\tconst investmentProfile = userProfile.InvestmentProfile;\r\n\tconst accounts = userAccounts.selectors.accounts(state).filter(a => !a.IsClosed && a.ClearerFirm !== AccountClearers.DEMO);\r\n\tconst marginType = calcMarginType(accounts);\r\n\r\n\tlet initialValues;\r\n\tif (!userProfile.submitting && !userProfile.error) {\r\n\t\tconst isValid = isRiskObjectiveCombinationValidMemo(marginType, investmentProfile);\r\n\r\n\t\tlet riskTolerance = investmentProfile.RiskTolerance;\r\n\t\tlet goal = investmentProfile.Goal;\r\n\r\n\t\tif (!isValid) {\r\n\t\t\tif (marginType === MarginType.DAY_TRADER) {\r\n\t\t\t\triskTolerance = riskTolerances.SPECULATIVE;\r\n\t\t\t\tgoal = investmentGoals.SPECULATION.value;\r\n\t\t\t} else {\r\n\t\t\t\triskTolerance = '';\r\n\t\t\t\tgoal = '';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tinitialValues = {\r\n\t\t\triskTolerance,\r\n\t\t\tgoal,\r\n\t\t\ttimeline: investmentProfile.Timeline,\r\n\t\t\ttaxBracket: investmentProfile.TaxBracket,\r\n\t\t\tliquid: investmentProfile.Liquid,\r\n\t\t\texperience: investmentProfile.Experience,\r\n\t\t\tannualIncome: investmentProfile.AnnualIncome,\r\n\t\t\tnetWorth: investmentProfile.NetWorth,\r\n\t\t\tliquidity: investmentProfile.Liquidity,\r\n\t\t\taccreditedInvestor: investmentProfile.AccreditedInvestor || false,\r\n\t\t\tqualifiedClient: investmentProfile.QualifiedClient || false,\r\n\t\t};\r\n\t} else {\r\n\t\tinitialValues = {};\r\n\t}\r\n\r\n\tconst getFormValue = fieldName => formValueSelector(CHANGE_INVESTMENT_PROFILE_FORM_ID)(state, fieldName);\r\n\r\n\treturn {\r\n\t\tinitialValues,\r\n\t\tinvestmentProfile,\r\n\t\tprofileSubmitting: userProfile.submitting,\r\n\t\tpendingOrder: userProfile.PendingOrders.InvestmentProfile,\r\n\t\tpendingOrderEmployment: userProfile.PendingOrders.Employment,\r\n\t\tclientType: userProfile.Type,\r\n\t\tliquidValue: getFormValue('liquid'),\r\n\t\ttotalValue: getFormValue('netWorth'),\r\n\t\tannualIncomeValue: getFormValue('annualIncome'),\r\n\t\ttaxBracketValue: getFormValue('taxBracket'),\r\n\t\triskTolerance: getFormValue('riskTolerance'),\r\n\t\tmarginType,\r\n\t};\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsetFormField: (fieldName, value = null) => dispatch(change(CHANGE_INVESTMENT_PROFILE_FORM_ID, fieldName, value)),\r\n\t\ttouchFields: fieldsName => dispatch(touch(CHANGE_INVESTMENT_PROFILE_FORM_ID, ...fieldsName)),\r\n\t},\r\n});\r\n\r\nfunction valueOrEmpty(val) {\r\n\tif (val) return val;\r\n\treturn '';\r\n}\r\n\r\nclass ChangeInvestmentProfileModal extends React.Component {\r\n\tstatic validate(values) {\r\n\t\tconst errors = {};\r\n\t\tconst requiredError = 'Required';\r\n\t\tconst maxCharsError = `Up to ${constants.maxCharsNumber} characters allowed`;\r\n\t\tconst changeReasonRegexp = /^[A-Za-z0-9.,\\-\"'/:;()\\s]+$/;\r\n\r\n\t\tif (!values.riskTolerance) {\r\n\t\t\terrors.riskTolerance = requiredError;\r\n\t\t}\r\n\t\tif (!values.goal) {\r\n\t\t\terrors.goal = requiredError;\r\n\t\t}\r\n\t\tif (!values.timeline) {\r\n\t\t\terrors.timeline = requiredError;\r\n\t\t}\r\n\t\tif (!values.experience) {\r\n\t\t\terrors.experience = requiredError;\r\n\t\t}\r\n\t\tif (!values.liquidity) {\r\n\t\t\terrors.liquidity = requiredError;\r\n\t\t}\r\n\t\tif (!values.liquid) {\r\n\t\t\terrors.liquid = requiredError;\r\n\t\t}\r\n\t\tif (!values.netWorth) {\r\n\t\t\terrors.netWorth = requiredError;\r\n\t\t}\r\n\t\tif (!values.annualIncome) {\r\n\t\t\terrors.annualIncome = requiredError;\r\n\t\t}\r\n\t\tif (!values.taxBracket) {\r\n\t\t\terrors.taxBracket = requiredError;\r\n\t\t}\r\n\t\tif (!values.changeReason) {\r\n\t\t\terrors.changeReason = requiredError;\r\n\t\t} else if (values.changeReason.length > constants.maxCharsNumber) {\r\n\t\t\terrors.changeReason = maxCharsError;\r\n\t\t} else if (!(changeReasonRegexp.test(values.changeReason))) {\r\n\t\t\terrors.changeReason = 'Latin characters and digits only, no special characters except for: . , - / \" \\' : ; () space';\r\n\t\t}\r\n\r\n\t\tconst defaultLevel = { level: 0 };\r\n\t\tconst totalNetWorth = NetWorthList.find(v => v.value === values.netWorth) || defaultLevel;\r\n\t\tconst liquidNetWorth = NetWorthList.find(v => v.value === values.liquid) || defaultLevel;\r\n\t\tif (totalNetWorth.level < liquidNetWorth.level) {\r\n\t\t\terrors.liquid = 'Liquid net worth cannot be more than Total net worth';\r\n\t\t\terrors.netWorth = 'Total net worth cannot be less than Liquid net worth';\r\n\t\t}\r\n\r\n\t\treturn errors;\r\n\t}\r\n\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.changeReason = '';\r\n\r\n\t\tconst {\r\n\t\t\tinitialValues,\r\n\t\t} = this.props;\r\n\r\n\t\tthis.state = {\r\n\t\t\t// необходимы для переотрисовки списков risk + goal\r\n\t\t\tinvestmentGoalKey: 1,\r\n\t\t\tinvestmentGoal: (initialValues && initialValues.goal) || null,\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentDidUpdate(_, prevState) {\r\n\t\tconst {\r\n\t\t\tinvestmentProfile,\r\n\t\t\tinitialValues,\r\n\t\t} = this.props;\r\n\r\n\t\tconst { anyTouched, formState, actions: { touchFields } } = this.props;\r\n\t\tconst form = formState[CHANGE_INVESTMENT_PROFILE_FORM_ID];\r\n\t\tmarkAsTouched(anyTouched, form, touchFields);\r\n\r\n\t\tif (!investmentProfile || !investmentProfile.Goal) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (prevState.investmentGoal === null) {\r\n\t\t\t// На момент создания окна investmentProfile данные еще могут не загрузиться, потому в componentDidUpdate\r\n\t\t\t// eslint-disable-next-line react/no-did-update-set-state\r\n\t\t\tthis.setState({\r\n\t\t\t\tinvestmentGoal: initialValues.goal,\r\n\t\t\t\tinvestmentGoalKey: prevState.investmentGoalKey + 1,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tshowChangeReasonField = () => {\r\n\t\tconst isMarginCorellated = () => {\r\n\t\t\tconst {\r\n\t\t\t\tinitialValues: {\r\n\t\t\t\t\tliquid: initialLiquidValue,\r\n\t\t\t\t},\r\n\t\t\t\tliquidValue,\r\n\t\t\t} = this.props;\r\n\r\n\t\t\tconst cor = (liquidValue === NetWorthValues.UNDER_150_000 || liquidValue === NetWorthValues.UNDER_500_000) &&\r\n\t\t\t\t(liquidValue !== initialLiquidValue);\r\n\t\t\treturn cor;\r\n\t\t};\r\n\r\n\t\tconst isAssetsChangesSignificant = () => {\r\n\t\t\tconst calcShift = (items, initialValue, currentValue) => {\r\n\t\t\t\tconst defaultLevel = { level: 0 };\r\n\t\t\t\tconst initialItem = items.find(v => v.value === initialValue) || defaultLevel;\r\n\t\t\t\tconst currentItem = items.find(v => v.value === currentValue) || defaultLevel;\r\n\t\t\t\treturn Math.abs(initialItem.level - currentItem.level);\r\n\t\t\t};\r\n\r\n\t\t\tconst {\r\n\t\t\t\tinitialValues: {\r\n\t\t\t\t\tliquid: initialLiquidValue,\r\n\t\t\t\t\tnetWorth: initialTotalValue,\r\n\t\t\t\t\tannualIncome: initialAnnualIncomeValue,\r\n\t\t\t\t\ttaxBracket: initialTaxBracketValue,\r\n\t\t\t\t},\r\n\t\t\t\tliquidValue,\r\n\t\t\t\ttotalValue,\r\n\t\t\t\tannualIncomeValue,\r\n\t\t\t\ttaxBracketValue,\r\n\t\t\t} = this.props;\r\n\r\n\t\t\tconst liquidShift = calcShift(NetWorthList, initialLiquidValue, liquidValue);\r\n\t\t\tconst totalShift = calcShift(NetWorthList, initialTotalValue, totalValue);\r\n\t\t\tconst annualShift = calcShift(AnnualIncomeList, initialAnnualIncomeValue, annualIncomeValue);\r\n\t\t\tconst taxBracketShit = calcShift(TaxBracketList, initialTaxBracketValue, taxBracketValue);\r\n\r\n\t\t\tconst maxShift = 1;\r\n\t\t\tconst sign = liquidShift > maxShift ||\r\n\t\t\t\ttotalShift > maxShift ||\r\n\t\t\t\tannualShift > maxShift ||\r\n\t\t\t\ttaxBracketShit > maxShift;\r\n\t\t\treturn sign;\r\n\t\t};\r\n\r\n\t\tconst isAssetsOversThresholds = () => {\r\n\t\t\tconst getItemLevel = (items, currentValue) => {\r\n\t\t\t\tconst defaultLevel = { level: 0 };\r\n\t\t\t\treturn (items.find(v => v.value === currentValue) || defaultLevel).level;\r\n\t\t\t};\r\n\r\n\t\t\tconst {\r\n\t\t\t\tinitialValues: {\r\n\t\t\t\t\tliquid: initialLiquidValue,\r\n\t\t\t\t\tnetWorth: initialTotalValue,\r\n\t\t\t\t\tannualIncome: initialAnnualIncomeValue,\r\n\t\t\t\t\ttaxBracket: initialTaxBracketValue,\r\n\t\t\t\t},\r\n\t\t\t\tliquidValue,\r\n\t\t\t\ttotalValue,\r\n\t\t\t\tannualIncomeValue,\r\n\t\t\t\ttaxBracketValue,\r\n\t\t\t\tclientType,\r\n\t\t\t} = this.props;\r\n\r\n\t\t\tconst annualIncomeItems = clientType === ClientTypes.INSTITUTIONAL ? AnnualIncomeInstitutionalList : AnnualIncomeList;\r\n\r\n\t\t\tconst liquidLevel = getItemLevel(NetWorthList, liquidValue);\r\n\t\t\tconst totalLevel = getItemLevel(NetWorthList, totalValue);\r\n\t\t\tconst annualIncomeLevel = getItemLevel(annualIncomeItems, annualIncomeValue);\r\n\t\t\tconst taxBracketLevel = getItemLevel(TaxBracketList, taxBracketValue);\r\n\r\n\t\t\tconst annualThresholdLevel = clientType === ClientTypes.INSTITUTIONAL ? 1 : 8; // >= $500,000\r\n\r\n\t\t\treturn (\r\n\t\t\t\t(liquidLevel >= 5 && liquidValue !== initialLiquidValue) || // >= $1,000,000\r\n\t\t\t\t(totalLevel >= 5 && totalValue !== initialTotalValue) || // >= $1,000,000\r\n\t\t\t\t(annualIncomeLevel >= annualThresholdLevel && annualIncomeValue !== initialAnnualIncomeValue) ||\r\n\t\t\t\t(taxBracketLevel >= 4 && taxBracketValue !== initialTaxBracketValue) // >= 31%\r\n\t\t\t);\r\n\t\t};\r\n\r\n\t\tconst {\r\n\t\t\tpendingOrderEmployment,\r\n\t\t} = this.props;\r\n\r\n\t\tif (pendingOrderEmployment) {\r\n\t\t\tthis.changeReason = 'Employment change (system comment)';\r\n\t\t\treturn false;\r\n\t\t} else if (isMarginCorellated()) {\r\n\t\t\treturn true;\r\n\t\t} else if (isAssetsChangesSignificant()) {\r\n\t\t\treturn true;\r\n\t\t} else if (isAssetsOversThresholds()) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\tthis.changeReason =\r\n\t\t\t'Insignificant change, below the thresholds, no correlation with margin / option level requirements (system comment)';\r\n\t\treturn false;\r\n\t}\r\n\r\n\tformSubmit = (values, dispatch, props) => {\r\n\t\tconst newValues = { ...values };\r\n\t\tif (this.changeReason) {\r\n\t\t\tnewValues.changeReason = this.changeReason;\r\n\t\t}\r\n\t\treturn profile.actions.changeProfileInvestmentProfileFormSubmitHandler(newValues, dispatch, props);\r\n\t}\r\n\r\n\tcalcRiskToleranceList = () => {\r\n\t\tconst {\r\n\t\t\tmarginType,\r\n\t\t} = this.props;\r\n\r\n\t\tconst riskTolerancePool = [\r\n\t\t\t{\r\n\t\t\t\tvalue: riskTolerances.LOW,\r\n\t\t\t\ttext: riskTolerances.LOW,\r\n\t\t\t\tmarginType: [MarginType.CASH],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tvalue: riskTolerances.MODERATE,\r\n\t\t\t\ttext: riskTolerances.MODERATE,\r\n\t\t\t\tmarginType: [MarginType.CASH],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tvalue: riskTolerances.AGGRESSIVE,\r\n\t\t\t\ttext: riskTolerances.AGGRESSIVE,\r\n\t\t\t\tmarginType: [MarginType.MARGIN_X2, MarginType.CASH],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tvalue: riskTolerances.SPECULATIVE,\r\n\t\t\t\ttext: riskTolerances.SPECULATIVE,\r\n\t\t\t\tmarginType: [MarginType.MARGIN_X2, MarginType.CASH, MarginType.DAY_TRADER],\r\n\t\t\t},\r\n\t\t];\r\n\r\n\t\treturn riskTolerancePool.filter(item => item.marginType.includes(marginType));\r\n\t}\r\n\r\n\tcalcGoalList = () => {\r\n\t\tconst {\r\n\t\t\triskTolerance,\r\n\t\t} = this.props;\r\n\r\n\t\tconst goalPool = [\r\n\t\t\t{\r\n\t\t\t\tvalue: investmentGoals.SPECULATION.value,\r\n\t\t\t\ttext: investmentGoals.SPECULATION.text,\r\n\t\t\t\triskTolerance: [riskTolerances.AGGRESSIVE, riskTolerances.SPECULATIVE],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tvalue: investmentGoals.INCOME.value,\r\n\t\t\t\ttext: investmentGoals.INCOME.text,\r\n\t\t\t\triskTolerance: [riskTolerances.AGGRESSIVE, riskTolerances.MODERATE],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tvalue: investmentGoals.APPRECATION.value,\r\n\t\t\t\ttext: investmentGoals.APPRECATION.text,\r\n\t\t\t\triskTolerance: [riskTolerances.AGGRESSIVE, riskTolerances.MODERATE],\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tvalue: investmentGoals.PRESERVATION.value,\r\n\t\t\t\ttext: investmentGoals.PRESERVATION.text,\r\n\t\t\t\triskTolerance: [riskTolerances.LOW],\r\n\t\t\t},\r\n\t\t];\r\n\r\n\t\treturn goalPool.filter(item => item.riskTolerance.includes(riskTolerance));\r\n\t}\r\n\r\n\thandleChangeRiskTolerance = (event) => {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t} = this.props;\r\n\r\n\t\tif (event.target.value === riskTolerances.LOW) {\r\n\t\t\tactions.setFormField('goal', investmentGoals.PRESERVATION.value);\r\n\t\t\tthis.setState({\r\n\t\t\t\tinvestmentGoal: investmentGoals.PRESERVATION.value,\r\n\t\t\t\tinvestmentGoalKey: this.state.investmentGoalKey + 1,\r\n\t\t\t});\r\n\t\t} else if (event.target.value === riskTolerances.SPECULATIVE) {\r\n\t\t\tactions.setFormField('goal', investmentGoals.SPECULATION.value);\r\n\t\t\tthis.setState({\r\n\t\t\t\tinvestmentGoal: investmentGoals.SPECULATION.value,\r\n\t\t\t\tinvestmentGoalKey: this.state.investmentGoalKey + 1,\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tactions.setFormField('goal', '');\r\n\t\t\tthis.setState({\r\n\t\t\t\tinvestmentGoal: '',\r\n\t\t\t\tinvestmentGoalKey: this.state.investmentGoalKey + 1,\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t\thandleSubmit,\r\n\t\t\tinvalid,\r\n\t\t\tpristine,\r\n\t\t\tprofileSubmitting,\r\n\t\t\tpendingOrder,\r\n\t\t\tsubmitting,\r\n\t\t\tsubmitSucceeded,\r\n\t\t\tinvestmentProfile: InvestmentProfile,\r\n\t\t\tclientType,\r\n\t\t\tinitialValues,\r\n\t\t} = this.props;\r\n\r\n\t\tconst annualIncomeItems = clientType === ClientTypes.INSTITUTIONAL ? AnnualIncomeInstitutionalList : AnnualIncomeList;\r\n\t\tconst goalList = this.calcGoalList();\r\n\t\tconst riskToleranceList = this.calcRiskToleranceList();\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{submitSucceeded &&\r\n\t\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !profileSubmitting && pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{!submitSucceeded && !pendingOrder &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
Investment
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
Assets
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{!pristine && this.showChangeReasonField() &&\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{submitting ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: 'Change Investment Profile'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nChangeInvestmentProfileModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tonClose: PropTypes.func.isRequired,\r\n\thandleSubmit: PropTypes.func.isRequired,\r\n\tinvalid: PropTypes.bool.isRequired,\r\n\tsubmitting: PropTypes.bool.isRequired,\r\n\tsubmitSucceeded: PropTypes.bool.isRequired,\r\n\tclientType: PropTypes.oneOf(Object.values(ClientTypes)),\r\n\tpristine: PropTypes.bool.isRequired,\r\n\tprofileSubmitting: PropTypes.bool.isRequired,\r\n\tpendingOrder: PropTypes.bool,\r\n\tinvestmentProfile: PropTypes.object.isRequired,\r\n\tinitialValues: PropTypes.object.isRequired,\r\n\tliquidValue: PropTypes.string,\r\n\ttotalValue: PropTypes.string,\r\n\tannualIncomeValue: PropTypes.string,\r\n\ttaxBracketValue: PropTypes.string,\r\n\triskTolerance: PropTypes.string,\r\n\tpendingOrderEmployment: PropTypes.bool,\r\n\tactions: PropTypes.shape({\r\n\t\tsetFormField: PropTypes.func.isRequired,\r\n\t}).isRequired,\r\n\tmarginType: PropTypes.oneOf(Object.values(MarginType)).isRequired,\r\n\tformState: PropTypes.object,\r\n\tanyTouched: PropTypes.bool,\r\n};\r\n\r\nChangeInvestmentProfileModal.defaultProps = {\r\n\tpendingOrder: undefined,\r\n\tclientType: undefined,\r\n\tliquidValue: undefined,\r\n\ttotalValue: undefined,\r\n\tannualIncomeValue: undefined,\r\n\ttaxBracketValue: undefined,\r\n\triskTolerance: undefined,\r\n\tpendingOrderEmployment: undefined,\r\n\tformState: {},\r\n\tanyTouched: false,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\treduxForm({\r\n\t\tform: CHANGE_INVESTMENT_PROFILE_FORM_ID,\r\n\t\tvalidate: ChangeInvestmentProfileModal.validate,\r\n\t\tenableReinitialize: true,\r\n\t\tdestroyOnUnmount: false,\r\n\t}),\r\n)(ChangeInvestmentProfileModal);\r\n","const NetWorthValues = {\n\tUNDER_50_000: 'Under $50,000',\n\tUNDER_150_000: '$50,000 - $149,999',\n\tUNDER_500_000: '$150,000 - $499,999',\n\tUNDER_1_000_000: '$500,000 - $999,999',\n\tUNDER_5_000_000: '$1,000,000 - $4,999,999',\n\tOVER_5_000_000: 'Over $5,000,000',\n};\n\nconst NetWorthList = [\n\t{\n\t\tvalue: NetWorthValues.UNDER_50_000,\n\t\ttext: NetWorthValues.UNDER_50_000,\n\t\tlevel: 1,\n\t},\n\t{\n\t\tvalue: NetWorthValues.UNDER_150_000,\n\t\ttext: NetWorthValues.UNDER_150_000,\n\t\tlevel: 2,\n\t},\n\t{\n\t\tvalue: NetWorthValues.UNDER_500_000,\n\t\ttext: NetWorthValues.UNDER_500_000,\n\t\tlevel: 3,\n\t},\n\t{\n\t\tvalue: NetWorthValues.UNDER_1_000_000,\n\t\ttext: NetWorthValues.UNDER_1_000_000,\n\t\tlevel: 4,\n\t},\n\t{\n\t\tvalue: NetWorthValues.UNDER_5_000_000,\n\t\ttext: NetWorthValues.UNDER_5_000_000,\n\t\tlevel: 5,\n\t},\n\t{\n\t\tvalue: NetWorthValues.OVER_5_000_000,\n\t\ttext: NetWorthValues.OVER_5_000_000,\n\t\tlevel: 6,\n\t},\n];\n\nconst AnnualIncomeInstitutionalList = [\n\t{ value: 'Under $1,000,000', text: 'Under $1,000,000', level: 1 },\n\t{ value: '$1,000,000 - $2,999,999', text: '$1,000,000 - $2,999,999', level: 2 },\n\t{ value: '$3,000,000 - $4,999,999', text: '$3,000,000 - $4,999,999', level: 3 },\n\t{ value: '$5,000,000 - $9,999,999', text: '$5,000,000 - $9,999,999', level: 4 },\n\t{ value: '$10,000,000 - $24,999,999', text: '$10,000,000 - $24,999,999', level: 5 },\n\t{ value: '$25,000,000 - $49,999,999', text: '$25,000,000 - $49,999,999', level: 6 },\n\t{ value: '$50,000,000 - $99,999,999', text: '$50,000,000 - $99,999,999', level: 7 },\n\t{ value: '$100,000,000+', text: '$100,000,000+', level: 8 },\n];\n\nconst AnnualIncomeList = [\n\t{ value: 'Under $25,000', text: 'Under $25,000', level: 1 },\n\t{ value: '$25,000 - $49,999', text: '$25,000 - $49,999', level: 2 },\n\t{ value: '$50,000 - $74,999', text: '$50,000 - $74,999', level: 3 },\n\t{ value: '$75,000 - $124,999', text: '$75,000 - $124,999', level: 4 },\n\t{ value: '$125,000 - $199,999', text: '$125,000 - $199,999', level: 5 },\n\t{ value: '$200,000 - $349,999', text: '$200,000 - $349,999', level: 6 },\n\t{ value: '$350,000 - $499,999', text: '$350,000 - $499,999', level: 7 },\n\t{ value: '$500,000 - $749,999', text: '$500,000 - $749,999', level: 8 },\n\t{ value: '$750,000 - $999,999', text: '$750,000 - $999,999', level: 9 },\n\t{ value: '$1,000,000+', text: '$1,000,000+', level: 10 },\n];\n\nconst TaxBracketList = [\n\t{ value: '0 - 15%', text: '0 - 15%', level: 1 },\n\t{ value: '16 - 25%', text: '16 - 25%', level: 2 },\n\t{ value: '26 - 30%', text: '26 - 30%', level: 3 },\n\t{ value: '31 - 35%', text: '31 - 35%', level: 4 },\n\t{ value: 'Over 35%', text: 'Over 35%', level: 5 },\n];\n\nexport { NetWorthValues, NetWorthList, AnnualIncomeInstitutionalList, AnnualIncomeList, TaxBracketList };\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { push } from 'connected-react-router';\r\nimport { profile } from '@redux';\r\nimport {\r\n\tModal,\r\n\tA,\r\n\tInfoMessage,\r\n} from '@components';\r\nimport { ModalPopups } from '@enums';\r\n\r\nconst styles = {\r\n};\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsetCurrentPage: page => dispatch(push(page)),\r\n\t\thideProfileModal: modalId => dispatch(profile.actions.hideProfileModal(modalId)),\r\n\t},\r\n});\r\n\r\nclass ConfirmProfileModal extends React.Component {\r\n\thandleConfirm = () => {\r\n\t\tconst { actions } = this.props;\r\n\t\tactions.setCurrentPage('/dashboard/ConfirmPersonalInfo');\r\n\t\tactions.hideProfileModal(ModalPopups.CONFIRM_PROFILE);\r\n\t}\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tonClose,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\t\tPlease review and confirm the accuracy of personal info.\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbuttonText=\"Confirm\"\r\n\t\t\t\t/>\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nConfirmProfileModal.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(null, mapDispatchToProps),\r\n)(ConfirmProfileModal);\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { profile, userAccounts } from '@redux';\nimport { Modal, SuccessMessage, ErrorMessage, ProgressContainer, R } from '@components';\nimport { CYChangePasswordForm } from '@shared';\n\n\nconst styles = {};\n\nconst mapStateToProps = (state) => ({\n\tsubmitting: userAccounts.selectors.userInfo(state).submitting,\n});\n\n\nclass CYChangePasswordModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tstep: 'openform',\n\t\t};\n\n\t\tthis.resetForm = this.resetForm.bind(this);\n\t}\n\n\tonFormSuccess = () => {\n\t\tthis.setState({ step: 'succeeded' });\n\t}\n\n\tonFormFail = () => this.setState({ step: 'failed' });\n\n\tresetForm = () => this.setState({ step: 'openform' });\n\n\tonSuccessedClick = () => {\n\t\tconst {\n\t\t\tonClose,\n\t\t\tonSuccess,\n\t\t} = this.props;\n\n\t\tif (onSuccess) {\n\t\t\tonSuccess();\n\t\t\tthis.resetForm();\n\t\t}\n\t\telse {\n\t\t\tonClose();\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tonClose,\n\t\t\tsubmitting,\n\t\t} = this.props;\n\n\t\tconst { step } = this.state;\n\t\treturn (\n\t\t\t}\n\t\t\t\tonClose={onClose}\n\t\t\t\tbgColor=\"#f9fcfd\"\n\t\t\t\ttextColor=\"#345464\"\n\t\t\t>\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{step === 'succeeded' &&\n\t\t\t\t\t\t\t} />\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{step === 'failed' &&\n\t\t\t\t\t\t\t} />\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{step === 'openform' &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nCYChangePasswordModal.propTypes = {\n\tsubmitting: PropTypes.bool.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(CYChangePasswordModal);\n","/* eslint-disable react/no-did-update-set-state,no-param-reassign,consistent-return */\nimport { userAccounts, profile } from '@redux';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { ModalPopups, TwoFactorAutenticationType } from '@enums';\nimport Radio from '@material-ui/core/Radio';\nimport RadioGroup from '@material-ui/core/RadioGroup';\nimport FormControlLabel from '@material-ui/core/FormControlLabel';\nimport {\n\tButton,\n\tModal,\n\tProgressContainer,\n} from '@components';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { TotpAuthenticationForm, SmsAuthenticationForm, EmailAuthenticationForm } from './components';\n\nconst styles = {\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\tnavButton: {\n\t\tmargin: '10px 10px',\n\t\tpadding: '5px',\n\t\twidth: '120px',\n\t},\n};\n\nconst mapStateToProps = state => ({\n\tuserInfo: userAccounts.selectors.userInfo(state),\n\tloading: userAccounts.selectors.loading(state),\n\tcloseButtonDisabled: profile.selectors.modals(state)[ModalPopups.CHANGE_TWO_FACTOR_AUTHORIZATION] &&\n\t\tprofile.selectors.modals(state)[ModalPopups.CHANGE_TWO_FACTOR_AUTHORIZATION].closeButtonDisabled,\n\tprofile: profile.selectors.profile(state),\n});\n\nconst AuthTypeRadioItem = ({ currentValue, value, label }) => {\n\tconst disabled = value === currentValue;\n\treturn (\n\t\t} label={label} />\n\t);\n};\n\nAuthTypeRadioItem.propTypes = {\n\tcurrentValue: PropTypes.string.isRequired,\n\tvalue: PropTypes.string.isRequired,\n\tlabel: PropTypes.string.isRequired,\n};\n\nclass ChangeTwoFactorAuthorizationModal extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tconst {\n\t\t\tuserInfo,\n\t\t} = props;\n\n\t\t// || TwoFactorAutenticationType.NONE - для фикса ворнинга: \"RadioGroup uncontrolled component become controlled\"\n\t\tthis.state = {\n\t\t\tselectedAuthType: userInfo.TwoFactorAutenticationType || TwoFactorAutenticationType.NONE,\n\t\t\tpage: 0,\n\t\t};\n\t}\n\n\t// чтобы игнорировать get_user_info_success с новым типом auth\n\tshouldComponentUpdate(nextProps) {\n\t\tif (this.state.page === 1 && this.props.userInfo.TwoFactorAutenticationType !== nextProps.userInfo.TwoFactorAutenticationType) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\n\t// чтобы в режиме перехода по прямой ссылке проставить текущий auth type как только придут данные.\n\tcomponentDidUpdate(prevProps) {\n\t\tif (this.props.userInfo.TwoFactorAutenticationType !== prevProps.userInfo.TwoFactorAutenticationType) {\n\t\t\tthis.setState({\n\t\t\t\tselectedAuthType: this.props.userInfo.TwoFactorAutenticationType,\n\t\t\t});\n\t\t}\n\t}\n\n\tonCloseHandler = () => this.props.onClose();\n\n\tgetAuthComponent = () => {\n\t\tconst {\n\t\t\tonClose,\n\t\t} = this.props;\n\n\t\tconst {\n\t\t\tselectedAuthType,\n\t\t} = this.state;\n\n\t\tif (selectedAuthType === TwoFactorAutenticationType.SMS) {\n\t\t\treturn ;\n\t\t}\n\n\t\tif (selectedAuthType === TwoFactorAutenticationType.TOTP) {\n\t\t\treturn ;\n\t\t}\n\n\t\tif (selectedAuthType === TwoFactorAutenticationType.EMAIL) {\n\t\t\treturn ;\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tnextClick = () => {\n\t\tthis.setState({\n\t\t\tpage: 1,\n\t\t});\n\t}\n\n\thandleAuthTypeChange = (e) => {\n\t\tthis.setState({\n\t\t\tselectedAuthType: e.target.value,\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\tuserInfo: {\n\t\t\t\tTwoFactorAutenticationType: currentAuthType = TwoFactorAutenticationType.NONE,\n\t\t\t},\n\t\t\tloading,\n\t\t\tcloseButtonDisabled,\n\t\t\tprofile: {\n\t\t\t\tPersonalInformation: {\n\t\t\t\t\tHasNonRestrictedMobilePhone: showSmsItem,\n\t\t\t\t},\n\t\t\t},\n\t\t} = this.props;\n\n\t\tconst {\n\t\t\tpage,\n\t\t\tselectedAuthType,\n\t\t} = this.state;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{ page === 0 &&\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t this.handleAuthTypeChange(e)} row={false}>\n\t\t\t\t\t\t\t\t{showSmsItem &&\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{currentAuthType !== selectedAuthType &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tEnable\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{ page === 1 && this.getAuthComponent() }\n\t\t\t\n\t\t);\n\t}\n}\n\nChangeTwoFactorAuthorizationModal.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tuserInfo: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tcloseButtonDisabled: PropTypes.bool,\n\tprofile: PropTypes.shape({\n\t\tPersonalInformation: PropTypes.shape({\n\t\t\tHasNonRestrictedMobilePhone: PropTypes.bool,\n\t\t}),\n\t}).isRequired,\n};\n\nChangeTwoFactorAuthorizationModal.defaultProps = {\n\tcloseButtonDisabled: undefined,\n};\n\nexport default compose(\n\tconnect(mapStateToProps),\n\twithStyles(styles),\n)(ChangeTwoFactorAuthorizationModal);\n","export { default as TotpAuthenticationForm } from './TotpAuthenticationForm/TotpAuthenticationForm';\nexport { default as SmsAuthenticationForm } from './SmsAuthenticationForm';\nexport { default as EmailAuthenticationForm } from './EmailAuthenticationForm';\n","import { userAccounts, profile } from '@redux';\nimport { TwoFactorAutenticationType } from '@enums';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport { connect } from 'react-redux';\nimport compose from 'recompose/compose';\nimport {\n\tButton,\n\tSuccessMessage,\n} from '@components';\n\nimport {\n\tformValueSelector,\n\treduxForm,\n} from 'redux-form';\n\nimport { QrCodeStep, AuthCodeForm, GoogleInfoStep } from './components';\n\nconst TOTP_STEPS = {\n\tGOOGLE_INFO: 1,\n\tQR_CODE: 2,\n\tAUTH_CODE: 3,\n};\n\nconst TOTP_TWO_FACTOR_AUTHORIZATION_FORM = 'TotpTwoFactorAuthorization';\nconst formSelector = formValueSelector(TOTP_TWO_FACTOR_AUTHORIZATION_FORM);\n\nconst styles = {\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\tnavButton: {\n\t\tmargin: '10px 10px',\n\t\tpadding: '5px',\n\t\twidth: '120px',\n\t},\n};\n\nconst mapStateToProps = state => ({\n\tinitialValues: {\n\t\tSecurityCode: '',\n\t},\n\tguid: profile.selectors.profile(state).Guid,\n\tsecurityCode: (formSelector(state, 'SecurityCode') || ''),\n\tclientSecretCode: profile.selectors.profile(state).ClientSecretCode,\n});\n\nclass TotpAuthenticationForm extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\tstep: TOTP_STEPS.GOOGLE_INFO,\n\t\t};\n\t}\n\n\tnextClick = () => {\n\t\tthis.setState(state => ({\n\t\t\tstep: state.step + 1,\n\t\t}));\n\t}\n\n\tshowNextButton = () => {\n\t\tconst {\n\t\t\tclientSecretCode,\n\t\t} = this.props;\n\n\t\treturn (this.state.step === TOTP_STEPS.GOOGLE_INFO || (this.state.step === TOTP_STEPS.QR_CODE && clientSecretCode));\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclientSecretCode,\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\tsubmitSucceeded,\n\t\t\thandleSubmit,\n\t\t\tsubmitting,\n\t\t\t...props\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{ submitSucceeded &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{ !submitSucceeded &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{ this.state.step === TOTP_STEPS.GOOGLE_INFO && }\n\t\t\t\t\t\t\t{ this.state.step === TOTP_STEPS.QR_CODE && }\n\t\t\t\t\t\t\t{ this.state.step === TOTP_STEPS.AUTH_CODE &&\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t{ this.showNextButton() &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tNext\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nTotpAuthenticationForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tclientSecretCode: PropTypes.string,\n};\n\nTotpAuthenticationForm.defaultProps = {\n\tclientSecretCode: null,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps),\n\treduxForm({\n\t\tform: TOTP_TWO_FACTOR_AUTHORIZATION_FORM,\n\t\tvalidate: AuthCodeForm.validate,\n\t}),\n)(TotpAuthenticationForm);\n","export { default as GoogleInfoStep } from './GoogleInfoStep';\nexport { default as QrCodeStep } from './QrCodeStep';\nexport { default as AuthCodeForm } from './AuthCodeForm';\n","import React, { Fragment } from 'react';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\tgoogleLink: {\n\t\tcolor: theme.typography.color.link,\n\t\ttextDecoration: 'none',\n\t},\n\ttitle: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t},\n\tmainText: {\n\t\t...theme.typography.style.body,\n\t\ttextAlign: 'center',\n\t\tpadding: '24px 0px 0',\n\t},\n}));\n\nconst GoogleInfoStep = () => {\n\tconst classes = useStyles();\n\treturn (\n\t\t\n\t\t\t
Install code-generating app
\n\t\t\t
\n Use any code-generating app. For example,\n \n  Google Authenticator \n \n
\n for Android.\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default GoogleInfoStep;\n","import React, { useState, useEffect, Fragment } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { profile, snackbar } from '@redux';\nimport { CopyToClipboard } from 'react-copy-to-clipboard';\nimport { makeStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport appConfig from 'app_config';\n\nconst useStyles = makeStyles(theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignItems: 'center',\n\t},\n\ttitle: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t},\n\tsecretKeyText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.palette.color.primary.black,\n\t\tfontWeight: 'bold',\n\t},\n\tcopyButton: {\n\t\t...theme.typography.style.body,\n\t\tborderRadius: '4px',\n\t\tbackgroundColor: '#ffffff',\n\t\ttextAlign: 'center',\n\t\tmargin: '10px 0',\n\t\tpadding: '6px 25px 6px 25px',\n\t\tcursor: 'pointer',\n\t\tcolor: '#78aaff',\n\t\tborder: 'solid 1px #78aaff',\n\t\t'&:hover': {\n\t\t\tbackground: 'lightgray',\n\t\t},\n\t\t'&:active': {\n\t\t\topacity: '0.7',\n\t\t},\n\t},\n\tqrCodeImage: {\n\t\tmargin: '10px 0',\n\t\t[theme.breakpoints.down('xs')]: {\n\t\t\tdisplay: 'none',\n\t\t},\n\t},\n\tqrCodeImageError: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.red,\n\t},\n\tmainText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.palette.color.primary.black,\n\t},\n}));\n\nconst splitStringToChunks = (str) => {\n\tif (str === null || str === undefined) {\n\t\treturn '';\n\t}\n\tconst parts = str.match(/(.{1,4})/g);\n\treturn parts.join(' ');\n};\n\nconst QrCodeStep = () => {\n\tconst [copied, setCopied] = useState(false);\n\tconst [qrCodeLoaded, setQrCodeLoaded] = useState(false);\n\tconst [qrCodeError, setQrCodeError] = useState(false);\n\n\tconst classes = useStyles();\n\tconst clientProfile = useSelector(profile.selectors.profile);\n\tconst clientSecretCode = clientProfile.ClientSecretCode;\n\tconst qrCode = clientProfile.QRCode;\n\n\tconst splittedSecretCode = splitStringToChunks(clientSecretCode);\n\n\tconst onQrCodeImageLoaded = () => setQrCodeLoaded(true);\n\tconst onQrCodeImageError = () => setQrCodeError(true);\n\n\tconst dispatch = useDispatch();\n\tuseEffect(() => {\n\t\tif (clientSecretCode === null) {\n\t\t\tdispatch(snackbar.actions.showErrorMessage({\n\t\t\t\ttext: 'The Secret key for 2FA is missing, corrupted or could not be decrypted. Please, contact support',\n\t\t\t}));\n\t\t}\n\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, []);\n\n\treturn (\n\t\t\n\t\t\t
Your secret key
\n\t\t\t
{ splittedSecretCode }
\n\t\t\t
\n\t\t\t\t setCopied(true)}>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t{copied ? Copied : null}\n\t\t\t
\n\t\t\t
\n\t\t\t\t{qrCodeError &&\n\t\t\t\t
Cannot load QR-code image
\n\t\t\t\t}\n\t\t\t\t{!qrCodeError &&\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{!qrCodeError && !qrCodeLoaded &&\n\t\t\t\t\n\t\t\t\t}\n\t\t\t
\n\t\t\t
\n\t\t\t\t

1. Copy the secret key

\n\t\t\t\t

2. Open code generation app and paste the secret key

\n\t\t\t\t

3. Get a one-time code and go back to the Lime app

\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default QrCodeStep;\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport compose from 'recompose/compose';\nimport { Field } from 'redux-form';\nimport { Button } from '@components';\nimport DigitsOnlyField from './DigitsOnlyField';\n\n\nconst styles = theme => ({\n\ttitle: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t},\n\tinput: {\n\t\tmargin: '5px 0px',\n\t\t'& > div > input': {\n\t\t\tbackground: theme.palette.color.primary.attestationBackground,\n\t\t\tborder: '1px solid #adaaaa',\n\t\t\tborderRadius: '5px',\n\t\t\tpadding: '5px',\n\t\t\ttextAlign: 'center',\n\t\t},\n\t\t'& > div > input:focus-visible': {\n\t\t\toutline: 'none',\n\t\t},\n\t},\n\tmainText: {\n\t\t...theme.typography.style.body,\n\t\ttextAlign: 'center',\n\t\tpadding: '24px 0px 0',\n\t},\n\tnavButton: {\n\t\tmargin: '10px 10px',\n\t\tpadding: '5px',\n\t\twidth: '120px',\n\t},\n});\n\n\nclass AuthCodeForm extends React.Component {\n\tstatic validate(values, props) {\n\t\tconst {\n\t\t\tsecurityCode,\n\t\t} = props;\n\n\t\tconst errors = {};\n\t\tif (!securityCode) {\n\t\t\terrors.SecurityCode = 'enter security code';\n\t\t}\n\t\tif (securityCode && securityCode.length < 6) {\n\t\t\terrors.SecurityCode = 'code must be 6 symbols';\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\t// constructor(props) {\n\t// \tsuper(props);\n\t// \tthis.inputCodeRef = React.createRef();\n\t// }\n\n\t// componentDidMount() {\n\t// \tthis.inputCodeRef.current.focus();\n\t// }\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tinvalid,\n\t\t\tpristine,\n\t\t\tsubmitting,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
Enter the code from the code-generating app
\n\t\t\t\t
6-digit code
\n\t\t\t\t
\n\t\t\t\t\t value.replaceAll(' ', '')}\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\n\t\t\t\t\t\t: 'Confirm'\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nAuthCodeForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tpristine: PropTypes.bool.isRequired,\n};\n\nexport default compose(withStyles(styles))(AuthCodeForm);\n","import React from 'react';\nimport NumberFormat from 'react-number-format';\n\nfunction DigitsOnlyField(props) {\n\tconst {\n\t\tinputRef,\n\t\tinput: {\n\t\t\tonChange,\n\t\t\tonFocus,\n\t\t\tonBlur,\n\t\t},\n\t\tmeta: {\n\t\t\ttouched,\n\t\t\terror,\n\t\t\twarning,\n\t\t},\n\t\t...restProps\n\t} = props;\n\n\tconst styles = {\n\t\tcolor: 'red',\n\t\tmarginTop: '5px',\n\t\ttextAlign: 'center',\n\t};\n\n\treturn (\n\t\t
\n\t\t\t {\n\t\t\t\t\tonChange(values.value || '');\n\t\t\t\t}}\n\t\t\t\tonFocus={onFocus}\n\t\t\t\tonBlur={onBlur}\n\t\t\t\tformat=\"### ###\"\n\t\t\t/>\n\t\t\t{ touched && (error || warning) &&\n\t\t\t
{ error || warning }
\n\t\t\t}\n\t\t
\n\t);\n}\n\nexport default DigitsOnlyField;\n","import React, { Fragment } from 'react';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { auth, profile, userAccounts } from '@redux';\nimport { constants } from '@config';\nimport { connect } from 'react-redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tButton,\n\tErrorMessage,\n\tFormInput,\n\tFormInputPhoneIconNumber,\n\tProgressContainer,\n\tSuccessMessage,\n} from '@components';\n\n\nconst styles = {\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t},\n\tconfirmLink: {\n\t\tmarginTop: '16px',\n\t\tpaddingLeft: '24px',\n\t},\n\tbutton: {\n\t\tpaddingTop: '24px',\n\t},\n};\n\nconst CHANGE_TWO_FACTOR_AUTHORIZATION_FORM = 'ChangeTwoFactorAuthorizationModal';\nconst formSelector = formValueSelector(CHANGE_TWO_FACTOR_AUTHORIZATION_FORM);\nconst emptyIfHidden = phone => ((phone && phone.indexOf('*') >= 0) ? '' : phone);\n\nconst mapStateToProps = (state) => {\n\tconst userProfile = profile.selectors.profile(state);\n\tconst loading = userAccounts.selectors.loading(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tPhone: emptyIfHidden(userProfile.PersonalInformation.Phone),\n\t\t},\n\t\tphoneValue: formSelector(state, 'Phone'),\n\t\tloading: userProfile.submitting && loading,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsendConfirmationCode: phone => dispatch(auth.actions.sendConfirmationCodeRequest(phone, constants.EtnaGateConfirmCode)),\n\t},\n});\n\nclass SmsAuthenticationForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\t\tif (!values.Phone) {\n\t\t\terrors.Value = 'required';\n\t\t}\n\n\t\tif (!values.ConfirmationCode || values.ConfirmationCode.length < 6) {\n\t\t\terrors.ConfirmationCode = 'required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\thasConfirmationCode: false,\n\t\t\tpassword: '',\n\t\t\tcurrentCount: 0,\n\t\t\tintervalId: null,\n\t\t};\n\t}\n\n\tcomponentWillUnmount() {\n\t\t// use intervalId from the state to clear the interval\n\t\tclearInterval(this.state.intervalId);\n\t}\n\n\tonRequestVerificationCode = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tphoneValue,\n\t\t\treset,\n\t\t} = this.props;\n\n\t\tactions.sendConfirmationCode(phoneValue);\n\t\tconst intervalId = setInterval(this.timer, 1000);\n\t\tthis.setState({\n\t\t\thasConfirmationCode: true,\n\t\t\tcurrentCount: 120,\n\t\t\tintervalId,\n\t\t});\n\t\treset();\n\t}\n\n\ttimer = () => {\n\t\tif (this.state.currentCount === 0) {\n\t\t\tclearInterval(this.state.intervalId);\n\t\t} else {\n\t\t\tthis.setState({ currentCount: this.state.currentCount - 1 });\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tpristine,\n\t\t\tsubmitting,\n\t\t\tsubmitSucceeded,\n\t\t\tphoneValue,\n\t\t\tloading,\n\t\t} = this.props;\n\n\t\tconst {\n\t\t\thasConfirmationCode,\n\t\t\tcurrentCount,\n\t\t} = this.state;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{submitSucceeded &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{!submitSucceeded && !loading && !phoneValue &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{!submitSucceeded && (loading || phoneValue) &&\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t p}\n\t\t\t\t\t\t\t\t\tdisabled\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{hasConfirmationCode && currentCount > 0 &&\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{hasConfirmationCode &&\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\tIn case you have not received the code, please check the phone number above and retry.\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t{currentCount > 0 &&\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\tYou can request new code in {currentCount} seconds\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{hasConfirmationCode && currentCount > 0 &&\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t: 'Confirm'\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{(currentCount === 0 || !hasConfirmationCode) &&\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tEnable second factor\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nSmsAuthenticationForm.defaultProps = {\n\tphoneValue: '',\n};\n\nSmsAuthenticationForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tpristine: PropTypes.bool.isRequired,\n\tinitialValues: PropTypes.object.isRequired,\n\tphoneValue: PropTypes.string,\n\treset: PropTypes.func.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: CHANGE_TWO_FACTOR_AUTHORIZATION_FORM,\n\t\tvalidate: SmsAuthenticationForm.validate,\n\t}),\n)(SmsAuthenticationForm);\n","import React, { Fragment } from 'react';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { auth, profile, userAccounts } from '@redux';\nimport { connect } from 'react-redux';\nimport {\n\treduxForm,\n\tField,\n\tformValueSelector,\n} from 'redux-form';\nimport {\n\tButton,\n\tErrorMessage,\n\tFormInput,\n\tProgressContainer,\n\tSuccessMessage,\n} from '@components';\n\nconst styles = {\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t},\n\tconfirmLink: {\n\t\tmarginTop: '16px',\n\t\tpaddingLeft: '24px',\n\t},\n\tbutton: {\n\t\tpaddingTop: '24px',\n\t},\n};\n\nconst CHANGE_TWO_FACTOR_AUTHORIZATION_FORM = 'ChangeTwoFactorAuthorizationModal';\nconst formSelector = formValueSelector(CHANGE_TWO_FACTOR_AUTHORIZATION_FORM);\n\nconst mapStateToProps = (state) => {\n\tconst userProfile = profile.selectors.profile(state);\n\tconst loading = userAccounts.selectors.loading(state);\n\treturn {\n\t\tinitialValues: {\n\t\t\tEmail: userProfile.PersonalInformation.Email,\n\t\t},\n\t\temailValue: formSelector(state, 'Email'),\n\t\tloading: userProfile.submitting && loading,\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsendConfirmationCode: email => dispatch(auth.actions.sendConfirmationCodeEmailRequest(email)),\n\t},\n});\n\nclass EmailAuthenticationForm extends React.Component {\n\tstatic validate(values) {\n\t\tconst errors = {};\n\t\tif (!values.Email) {\n\t\t\terrors.Value = 'required';\n\t\t}\n\n\t\tif (!values.ConfirmationCode || values.ConfirmationCode.length < 6) {\n\t\t\terrors.ConfirmationCode = 'required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.state = {\n\t\t\thasConfirmationCode: false,\n\t\t\tshowPassword: false,\n\t\t\tpassword: '',\n\t\t\tcurrentCount: 0,\n\t\t\tintervalId: null,\n\t\t};\n\t}\n\n\tcomponentWillUnmount() {\n\t\t// use intervalId from the state to clear the interval\n\t\tclearInterval(this.state.intervalId);\n\t}\n\n\tonRequestVerificationCode = () => {\n\t\tconst {\n\t\t\tactions,\n\t\t\temailValue,\n\t\t\treset,\n\t\t} = this.props;\n\n\t\tactions.sendConfirmationCode(emailValue);\n\t\tconst intervalId = setInterval(this.timer, 1000);\n\t\tthis.setState({\n\t\t\thasConfirmationCode: true,\n\t\t\tcurrentCount: 120,\n\t\t\tintervalId,\n\t\t});\n\t\treset();\n\t}\n\n\ttimer = () => {\n\t\tif (this.state.currentCount === 0) {\n\t\t\tclearInterval(this.state.intervalId);\n\t\t} else {\n\t\t\tthis.setState({ currentCount: this.state.currentCount - 1 });\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tonClose,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tpristine,\n\t\t\tsubmitting,\n\t\t\tsubmitSucceeded,\n\t\t\temailValue,\n\t\t\tloading,\n\t\t} = this.props;\n\n\t\tconst {\n\t\t\thasConfirmationCode,\n\t\t\tcurrentCount,\n\t\t} = this.state;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{submitSucceeded &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{!submitSucceeded && !loading && !emailValue &&\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t{!submitSucceeded && (loading || emailValue) &&\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{hasConfirmationCode && currentCount > 0 &&\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{hasConfirmationCode &&\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\tIn case you have not received the code, please check the email above and retry.\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t{currentCount > 0 &&\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\tYou can request new code in {currentCount} seconds\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{hasConfirmationCode && currentCount > 0 &&\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t: 'Confirm'\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{(currentCount === 0 || !hasConfirmationCode) &&\n\t\t\t\t\t\t\t\t\t\n Enable second factor\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t);\n\t}\n}\n\nEmailAuthenticationForm.defaultProps = {\n\temailValue: '',\n};\n\nEmailAuthenticationForm.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tinvalid: PropTypes.bool.isRequired,\n\thandleSubmit: PropTypes.func.isRequired,\n\tsubmitting: PropTypes.bool.isRequired,\n\tsubmitSucceeded: PropTypes.bool.isRequired,\n\tonClose: PropTypes.func.isRequired,\n\tpristine: PropTypes.bool.isRequired,\n\temailValue: PropTypes.string,\n\treset: PropTypes.func.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: CHANGE_TWO_FACTOR_AUTHORIZATION_FORM,\n\t\tvalidate: EmailAuthenticationForm.validate,\n\t}),\n)(EmailAuthenticationForm);\n","import React, { useState } from 'react';\nimport { connect } from 'react-redux';\nimport { reduxForm } from 'redux-form';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport {\n\tButton,\n\tProgressContainer,\n} from '@components';\nimport { profile } from '@redux';\nimport { RequireSignatureModal } from '../../..';\n\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'block',\n\t\tposition: 'relative',\n\t},\n\tprogress: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'center',\n\t},\n\tconfirmLink: {\n\t\tmarginTop: '16px',\n\t\tpaddingLeft: '24px',\n\t},\n\tlink: {\n\t\ttextTransform: 'uppercase',\n\t},\n\tbutton: {\n\t\tpaddingTop: '24px',\n\t},\n});\n\nconst ENABLE_THIRD_PARTY_MARKETDATA_FORM = 'EnableThirdPartyMarketDataModal'\nconst mapStateToProps = (state) => {\n\tconst userProfile = profile.selectors.profile(state);\n\treturn {\n\t\tloading: userProfile.submitting,\n\t};\n};\n\nconst EnableThirdPartyMarketDataModal = (props) => {\n\n\tconst {\n\t\tclasses,\n\t\thandleSubmit,\n\t\tloading,\n\t\tonClose,\n\t\tsubmitting,\n\t} = props;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\t\tThe U.S. Securities and Exchange Commission (Rule 603 of Regulation NMS) generally requires broker-dealers to provide a consolidated display of market data for most stocks for which they provide quotation information. Please confirm if you already receive such data through another source for purposes of trading in your account.\n\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t: 'I confirm'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nEnableThirdPartyMarketDataModal.propTypes = {\n\tonClose: PropTypes.func.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n\treduxForm({\n\t\tform: ENABLE_THIRD_PARTY_MARKETDATA_FORM,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tprops.onClose();\n\t\t},\n\t}),\n)(EnableThirdPartyMarketDataModal);\n","import React from 'react';\r\nimport compose from 'recompose/compose';\r\nimport { withRouter } from 'react-router';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { Route } from 'react-router-dom';\r\nimport { ModalPopups } from '@enums';\r\nimport { changeHashInUrl, removeHashFromUrl, removeHashesFromUrl } from '@global';\r\nimport {\r\n\tacatDeposit,\r\n\tapp,\r\n\tdepositFunds,\r\n\tetnaAuth,\r\n\tsignature,\r\n\tnotifications,\r\n\twithdrawFunds,\r\n\tprofile,\r\n} from '@redux';\r\nimport {\r\n\tCloseAccountModal,\r\n\tCloseAccountFormModal,\r\n\tCreateApiKeyModal,\r\n\tCommissionFreeModal,\r\n\tConfirmModal,\r\n\tAcatFundModal,\r\n\tAddBankAccountModal,\r\n\tPlaidSelectAccountModal,\r\n\tDepositFundsAchModal,\r\n\tDepositFundsBrokerModal,\r\n\tDepositFundsIraModal,\r\n\tDepositFundsWireModal,\r\n\tIpoCreateOrderModal,\r\n\tJ2tLiteModal,\r\n\tJ2tPlusModal,\r\n\tJ2tProModal,\r\n\tStProModal,\r\n\tMessageModal,\r\n\tWithdrawFundsWireModal,\r\n\tProfileModals,\r\n\tCreateSignatureModal,\r\n\tWelcomePageModal,\r\n\tWithdrawFundsAchModal,\r\n\tWithdrawFundsBrokerModal,\r\n\tWithdrawFundsIraModal,\r\n\tUpgradeAccountModal,\r\n\tUpgradeOptionLevelModal,\r\n\tIpoExtendedInfoMobileModal,\r\n\tDemoAccountModal,\r\n\tResetDemoBalanceModal,\r\n\tConfirmProfileEmailModal,\r\n\tOpenSecondAccountModal,\r\n\tSecondFactorRestrictionModal,\r\n\tClientDataInsufficientModal,\r\n\tUpdateSubscriberStatusModal,\r\n\tUpdateSubscriberAgreementsModal,\r\n\tActualAddressMissedModal,\r\n} from './components';\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tdepositFundsAchClose: () => dispatch(depositFunds.actions.hideDepositFundsModal()),\r\n\t\tdepositFundsBrokerClose: () => dispatch(depositFunds.actions.hideDepositFundsBrokerModal()),\r\n\t\tdepositFundsWireClose: () => dispatch(depositFunds.actions.hideDepositFundsWireModal()),\r\n\t\thideDepositFundsIraModal: () => dispatch(depositFunds.actions.hideDepositFundsIraModal()),\r\n\t\thideWithdrawFundsAchModal: () => dispatch(withdrawFunds.actions.hideWithdrawFundsAchModal()),\r\n\t\thideWithdrawFundsWireModal: () => dispatch(withdrawFunds.actions.hideWithdrawFundsWireModal()),\r\n\t\thideWithdrawFundsBrokerModal: () => dispatch(withdrawFunds.actions.hideWithdrawFundsBrokerModal()),\r\n\t\thideWithdrawFundsIraModal: () => dispatch(withdrawFunds.actions.hideWithdrawFundsIraModal()),\r\n\t\thideConfirmModal: () => dispatch(app.actions.hideConfirmModal()),\r\n\t\thideCloseAccountModal: () => dispatch(acatDeposit.actions.hideCloseAccountModal()),\r\n\t\thideCloseAccountFormModal: () => dispatch(acatDeposit.actions.hideCloseAccountFormModal()),\r\n\t\thideAcatDepositModal: () => dispatch(acatDeposit.actions.hideAcatDepositModal()),\r\n\t\thideMessageModal: () => dispatch(notifications.actions.hideMessageModal()),\r\n\t\thideCreateSignatureModal: () => dispatch(signature.actions.hideCreateSignatureModal()),\r\n\t\thideEtnaAuthModal: modalId => dispatch(etnaAuth.actions.hideModal(modalId)),\r\n\t\thideConfirmProfileEmailModal: () => dispatch(profile.actions.hideConfirmEmailModal()),\r\n\t},\r\n});\r\n\r\nclass Modals extends React.Component {\r\n\tgetModal = (item) => {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t} = this.props;\r\n\r\n\t\t// !!! Modals must be in current order !!!\r\n\r\n\t\tswitch (item) {\r\n\t\t\tcase ModalPopups.WELCOME_PAGE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.WELCOME_PAGE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.ADD_BANK_ACCOUNT:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModals([ModalPopups.ADD_BANK_ACCOUNT, ModalPopups.PLAID_SELECT_ACCOUNT])}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CREATE_APIKEY:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t actions.hideEtnaAuthModal(ModalPopups.CREATE_APIKEY)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.DEPOSIT_FUNDS_ACH:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.DEPOSIT_FUNDS_BROKER:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.DEPOSIT_FUNDS_IRA:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.DEPOSIT_FUNDS_WIRE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.PLAID_SELECT_ACCOUNT:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.redirectModal(ModalPopups.PLAID_SELECT_ACCOUNT, ModalPopups.ADD_BANK_ACCOUNT)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.WITHDRAW_FUNDS_ACH:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.WITHDRAW_FUNDS_WIRE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.WITHDRAW_FUNDS_WIRE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.WITHDRAW_FUNDS_BROKER:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.WITHDRAW_FUNDS_IRA:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.ACAT_FUND:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.COMMISSION_FREE_MODAL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.COMMISSION_FREE_MODAL)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.CLOSE_ACCOUNT:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.CLOSE_ACCOUNT_FORM:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.CONFIRM_MODAL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.IPO_CREATE_ORDER:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.IPO_CREATE_ORDER)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.IPO_EXTENDED_INFO_MOBILE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.IPO_EXTENDED_INFO_MOBILE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.J2T_LITE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.J2T_LITE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.J2T_PLUS:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.J2T_PLUS)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.J2T_PRO:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.J2T_PRO)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.ST_PRO:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.ST_PRO)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.MESSAGE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.CREATE_SIGNATURE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.UPGRADE_MARGIN_TYPE:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.UPGRADE_MARGIN_TYPE)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.UPGRADE_OPTION_LEVEL:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.UPGRADE_OPTION_LEVEL)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.DEMO_ACCOUNT_EXPIRATION:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.RESET_DEMO_ACCOUNT:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.RESET_DEMO_ACCOUNT)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.OPEN_SECOND_ACCOUNT:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.OPEN_SECOND_ACCOUNT)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.SECOND_FACTOR_DISABLED_RESTRICTION:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.CLIENT_DATA_INSUFFICIENT:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.CLIENT_DATA_INSUFFICIENT)}\r\n\t\t\t\t\t/>);\r\n\t\t\tcase ModalPopups.UPDATE_SUBSCRIBER_STATUS:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.UPDATE_SUBSCRIBER_AGREEMENTS:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t);\r\n\t\t\tcase ModalPopups.ACTUAL_ADDRESS_MISSED:\r\n\t\t\t\treturn (\r\n\t\t\t\t\t this.closeModal(ModalPopups.ACTUAL_ADDRESS_MISSED)}\r\n\t\t\t\t\t/>);\r\n\t\t\tdefault:\r\n\t\t\t\treturn null;\r\n\t\t}\r\n\t}\r\n\r\n\tcloseModal = (id) => {\r\n\t\tthis.props.history.push(removeHashFromUrl(this.props.location, id));\r\n\t}\r\n\tcloseModals = (ids) => {\r\n\t\tthis.props.history.push(removeHashesFromUrl(this.props.location, ids));\r\n\t}\r\n\tredirectModal = (from, to) => {\r\n\t\tthis.props.history.push(changeHashInUrl(this.props.location, from, to));\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tlocation,\r\n\t\t\tactions,\r\n\t\t} = this.props;\r\n\r\n\t\tconst modals = location.hash && location.hash.substr(1).split('/');\r\n\t\tconst topModal = modals && modals.length > 0 && this.getModal(modals && modals.pop());\r\n\r\n\t\tconst choseModalToDisplay = ({ match }) => (\r\n\t\t\tmatch\r\n\t\t\t\t? \r\n\t\t\t\t: (\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t{topModal}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t)\r\n\t\t);\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t{choseModalToDisplay}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nModals.propTypes = {\r\n\tactions: PropTypes.object.isRequired,\r\n\thistory: PropTypes.object.isRequired,\r\n\tlocation: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\tconnect(null, mapDispatchToProps),\r\n)(Modals);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport PropTypes from 'prop-types';\r\nimport SafeComponent from 'react-safe-component';\r\nimport { dashboard } from '@redux';\r\nimport Drawer from '@material-ui/core/Drawer';\r\nimport { connect } from 'react-redux';\r\nimport compose from 'recompose/compose';\r\nimport { NotificationsContent } from './components';\r\n\r\n\r\nconst maxWidth = 1440;\r\nconst styles = theme => ({\r\n\tdrawerPaper: {\r\n\t\twidth: '284px',\r\n\t\tmaxWidth: '284px',\r\n\t\theight: '100%',\r\n\t\tpaddingLeft: '12px',\r\n\t\t[theme.breakpoints.up('md')]: {\r\n\t\t\tposition: 'fixed',\r\n\t\t},\r\n\t\t[theme.breakpoints.down('lg')]: {\r\n\t\t\twidth: 'calc(284px + ((100vw - 1440px) / 4))',\r\n\t\t},\r\n\t\t'@media (min-width:1440px)': {\r\n\t\t\tright: `calc((100vw - ${maxWidth}px) / 2)`,\r\n\t\t},\r\n\t\tborderLeft: '1px solid #deeaef',\r\n\t\tbackgroundColor: '#f9fcfd',\r\n\t},\r\n\tdrawerPaperMobile: {\r\n\t\theight: '100%',\r\n\t\tborder: 'none',\r\n\t\tminWidth: '280px',\r\n\t\tmaxWidth: '450px',\r\n\t\twidth: '100%',\r\n\t},\r\n\tdrawerContainer: {\r\n\t\theight: '100%',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tdrawer: {\r\n\t\theight: '100%',\r\n\t},\r\n\ticon: {\r\n\t\twidth: '72px',\r\n\t\ttextAlign: 'center',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tisNotificationsOpen: dashboard.selectors.isNotificationsOpen(state),\r\n});\r\n\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tinit: () => dispatch(dashboard.actions.init()),\r\n\t\tnotificationsOpen: () => dispatch(dashboard.actions.notificationsOpen()),\r\n\t\tnotificationsClose: () => dispatch(dashboard.actions.notificationsClose()),\r\n\t},\r\n});\r\n\r\nclass Notifications extends React.Component {\r\n\tcloseNotifications = () => {\r\n\t\tthis.props.actions.notificationsClose();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tactions,\r\n\t\t\tisNotificationsOpen,\r\n\t\t\thidden,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t{!hidden &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nNotifications.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n\tSafeComponent,\r\n)(Notifications);\r\n","export { default as NotificationsContent } from './NotificationsContent/NotificationsContent';\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport compose from 'recompose/compose';\r\nimport { R, LoadableScrollbars, SvgIcon } from '@components';\r\nimport { cabinetLog, createQAAttribute } from '@global';\r\nimport { connect } from 'react-redux';\r\nimport { app, notifications, userAccounts } from '@redux';\r\nimport { Item } from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tbackgroundColor: '#f9fcfd',\r\n\t\toverflow: 'hidden',\r\n\t},\r\n\trootMobile: {\r\n\t\tbackgroundColor: '#f9fcfd',\r\n\t\toverflow: 'auto',\r\n\t},\r\n\tbody: {\r\n\t},\r\n\tcaption: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.palette.color.primary.black,\r\n\t\theight: '56px',\r\n\t\tpadding: '14px 0 14px 12px',\r\n\t\tbackgroundColor: '#f9fcfd',\r\n\t\tmarginRight: 'auto',\r\n\t},\r\n\titemContainer: {\r\n\t\tpadding: '0 16px',\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: '#e3edf5',\r\n\t\t},\r\n\t},\r\n\titem: {\r\n\t\tpadding: '12px 0',\r\n\t},\r\n\theader: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t\talignItems: 'center',\r\n\t},\r\n\ttext: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\ttextAlign: 'center',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\titems: notifications.selectors.notifications(state).items,\r\n\tpagination: notifications.selectors.notifications(state).pagination,\r\n\tunreadMessagesCount: notifications.selectors.notifications(state).unreadMessagesCount,\r\n\tcurrentAccount: userAccounts.selectors.currentAccount(state),\r\n\tloading: notifications.selectors.loading(state),\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch, props) => ({\r\n\tactions: {\r\n\t\tloadMore: (tradeCode, page) =>\r\n\t\t\tdispatch(notifications.actions.getMoreNotificationsRequest(tradeCode, page + 1)),\r\n\t\tmarkNewsAllAsRead: payload => dispatch(notifications.actions.markNewsAllAsRead.request(payload)),\r\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\r\n\t},\r\n});\r\n\r\nclass NotificationsContent extends React.Component {\r\n\tcomponentDidMount() {\r\n\t\t// window.addEventListener('scroll', this.handleScroll);\r\n\t}\r\n\r\n\tcomponentWillUnmount() {\r\n\t\t// window.removeEventListener('scroll', this.handleScroll);\r\n\t}\r\n\r\n\tscrollY = -1;\r\n\r\n\thandleScroll = () => {\r\n\t\tconst {\r\n\t\t\tmobileView,\r\n\t\t} = this.props;\r\n\r\n\t\tif (mobileView) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// stop loading for horizontal scroll\r\n\t\tif (this.scrollY >= 0 && this.scrollY === window.scrollY) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.scrollY = window.scrollY;\r\n\r\n\t\tthis.loadNotificationsByScrollEvent();\r\n\t};\r\n\r\n\tloadNotificationsByScrollEvent = () => {\r\n\t\tconst {\r\n\t\t\tcurrentAccount,\r\n\t\t\titems,\r\n\t\t\tloading,\r\n\t\t\tpagination: {\r\n\t\t\t\tpage,\r\n\t\t\t\tpageSize,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\r\n\t\tconst shouldLoadMore = (page * pageSize) === items.length;\r\n\r\n\t\t// stop loading new if loading now\r\n\t\tif (loading || !shouldLoadMore) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst viewportHeight = Math.min(document.documentElement.clientHeight, window.innerHeight || 0);\r\n\r\n\t\t// get notifications block rectangle\r\n\t\tconst rect = document.getElementById('notifications').getBoundingClientRect();\r\n\r\n\t\t// offset notifications block from top when should load new messages\r\n\t\tconst notificationBlockTopOffsetForLoadingNew = viewportHeight * 0.6;\r\n\r\n\t\t// difference notifications block height with body height\r\n\t\tconst notificationBlockWithBodyHeightDifference = Math.abs(rect.height - document.body.clientHeight);\r\n\r\n\t\t// minimal difference for enabling scrolling down. Expand body when notifications block grows to body height.\r\n\t\tconst notificationBlockWithBodyHeightDifferenceForLoadingNew = viewportHeight;\r\n\r\n\r\n\t\t// enlarge window height for preventing stop scrolling down\r\n\t\tif (notificationBlockWithBodyHeightDifference < notificationBlockWithBodyHeightDifferenceForLoadingNew) {\r\n\t\t\tdocument.body.style.height = `${document.body.clientHeight + notificationBlockWithBodyHeightDifferenceForLoadingNew}px`;\r\n\t\t\tcabinetLog('loadMore');\r\n\t\t\tthis.props.actions.loadMore(currentAccount, page);\r\n\t\t}\r\n\r\n\t\t// when scrolling down end of notifications block - load new notifications\r\n\t\tif (shouldLoadMore && rect.bottom - notificationBlockTopOffsetForLoadingNew < 0) {\r\n\t\t\tcabinetLog('loadMore2');\r\n\t\t\tthis.props.actions.loadMore(currentAccount, page);\r\n\t\t}\r\n\t};\r\n\r\n\r\n\tloadMore = () => {\r\n\t\tconst {\r\n\t\t\tcurrentAccount,\r\n\t\t\tpagination: {\r\n\t\t\t\tpage,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\t\tthis.props.actions.loadMore(currentAccount, page);\r\n\t};\r\n\tmarkAllAsRead = () => {\r\n\t\tconst { actions, onClose, unreadMessagesCount } = this.props;\r\n\t\tif (onClose) {\r\n\t\t\tonClose();\r\n\t\t}\r\n\t\tactions.showConfirmModal({\r\n\t\t\ttext: `Please confirm if you want to mark all notifications (${unreadMessagesCount}) as read`,\r\n\t\t\taction: onEndRequest => actions.markNewsAllAsRead({\r\n\t\t\t\tonEndRequest,\r\n\t\t\t}),\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tmobileViewOpened,\r\n\t\t\tonClose,\r\n\t\t\titems,\r\n\t\t\tloading,\r\n\t\t\tpagination: {\r\n\t\t\t\tpage,\r\n\t\t\t\tpageSize,\r\n\t\t\t},\r\n\t\t\tunreadMessagesCount,\r\n\t\t} = this.props;\r\n\r\n\t\tconst shouldLoadMore = (page * pageSize) === items.length;\r\n\t\tconst rootNotificationsClass = mobileViewOpened ? classes.rootMobile : classes.root;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t{unreadMessagesCount > 0 &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{onClose &&\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{items &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{items.map((item, index) => (\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{(!items || items.length === 0) && !loading &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nNotificationsContent.propTypes = {\r\n\tmobileView: PropTypes.bool,\r\n\tmobileViewOpened: PropTypes.bool,\r\n\tunreadMessagesCount: PropTypes.number.isRequired,\r\n};\r\n\r\nNotificationsContent.defaultProps = {\r\n\tmobileView: false,\r\n\tmobileViewOpened: false,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(NotificationsContent);\r\n","export { default as Item } from './Item/Item';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\n\r\nimport {\r\n\tFundItem,\r\n\tMessageItem,\r\n\tTradeItem,\r\n} from './components';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t},\r\n});\r\n\r\nclass Item extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tlet ItemComponent;\r\n\r\n\t\tswitch (item.Type) {\r\n\t\tcase 'fund':\r\n\t\t\tItemComponent = FundItem;\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'trade':\r\n\t\t\tItemComponent = TradeItem;\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tItemComponent = MessageItem;\r\n\t\t}\r\n\r\n\t\treturn ;\r\n\t}\r\n}\r\n\r\nexport default compose(withStyles(styles))(Item);\r\n","export { default as FundItem } from './FundItem/FundItem';\r\nexport { default as MessageItem } from './MessageItem/MessageItem';\r\nexport { default as TradeItem } from './TradeItem/TradeItem';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { BankLogo } from '@components';\r\nimport { toUsaMoneyFormat } from '@global';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t},\r\n\tleftColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'left',\r\n\t\tjustifyContent: 'left',\r\n\t},\r\n\trightColumn: {\r\n\t\tpaddingRight: '2px',\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'center',\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tamount: {\r\n\t\tmarginLeft: '5px',\r\n\t},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tgreen: {\r\n\t\tcolor: theme.typography.color.green,\r\n\t},\r\n\tblack: {\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tgrey: {\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nclass FundItem extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tconst colorCssClass = classNames({\r\n\t\t\t[classes.red]: item.Color === 'red',\r\n\t\t\t[classes.green]: item.Color === 'green',\r\n\t\t\t[classes.black]: item.Color === 'black',\r\n\t\t\t[classes.grey]: item.Color === 'gray',\r\n\t\t\t[classes.amount]: true,\r\n\t\t});\r\n\r\n\t\tlet directionText;\r\n\r\n\t\tswitch (item.Direction) {\r\n\t\tcase 'deposit':\r\n\t\t\tdirectionText = 'Deposit';\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'withdrawal':\r\n\t\t\tdirectionText = 'Withdraw';\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tdirectionText = 'Unknown';\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{directionText}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{toUsaMoneyFormat(Math.abs(item.Amount))}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{moment.utc(item.OrderDate).format('D MMM YYYY')}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nFundItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(FundItem);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\nimport { constants } from '@config';\r\nimport { dashboard, notifications } from '@redux';\r\nimport { A, SvgIcon } from '@components';\r\nimport { createQAAttribute } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tcursor: 'pointer',\r\n\t},\r\n\theader: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t},\r\n\tleftColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'left',\r\n\t\tjustifyContent: 'left',\r\n\t\tmaxWidth: '50%',\r\n\t},\r\n\trightColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'right',\r\n\t\tjustifyContent: 'right',\r\n\t},\r\n\ttitle: {\r\n\t\t// textOverflow: 'ellipsis',\r\n\t\t// overflow: 'hidden',\r\n\t\t// whiteSpace: 'nowrap',\r\n\t\t// width: '120px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\twordWrap: 'break-word',\r\n\t\t// fontWeight: 'bold',\r\n\t},\r\n\tbody: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t\twordWrap: 'break-word',\r\n\t},\r\n\tcol: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tddate: {\r\n\t\tdisplay: 'block',\r\n\t\tfloat: 'right',\r\n\t\tpaddingLeft: '10px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tamount: {\r\n\t\t...theme.typography.style.subheading,\r\n\t},\r\n\tstatus: {\r\n\t\t...theme.typography.style.body,\r\n\t},\r\n\tamountData: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\tunread: {\r\n\t\t// fontWeight: 'bold',\r\n\t\tfontWeight: 500,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tgreen: {\r\n\t\tcolor: theme.typography.color.green,\r\n\t},\r\n\tblack: {\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tgrey: {\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tunreadIcon: {\r\n\t\tposition: 'absolute',\r\n\t\tleft: '-12px',\r\n\t\ttop: '7px',\r\n\t},\r\n\thidden: {\r\n\t\tdisplay: 'none',\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = (dispatch, props) => ({\r\n\tactions: {\r\n\t\tshowMessageModal: message =>\r\n\t\t\tdispatch(notifications.actions.showMessageModal(message)),\r\n\t\tnotificationsClose: () => dispatch(dashboard.actions.notificationsClose()),\r\n\t},\r\n});\r\n\r\nclass MessageItem extends React.Component {\r\n\tshowMessage = () => {\r\n\t\tthis.props.actions.notificationsClose();\r\n\t\tthis.props.actions.showMessageModal(this.props.item);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tconst titleCssClass = classNames({\r\n\t\t\t[classes.title]: true,\r\n\t\t\t[classes.unread]: item.Read === false,\r\n\t\t});\r\n\r\n\t\tconst bodyCssClass = classNames({\r\n\t\t\t[classes.body]: true,\r\n\t\t\t[classes.unread]: item.Read === false,\r\n\t\t});\r\n\r\n\t\tconst date = item.MessageDate ? moment.utc(item.MessageDate) : null;\r\n\t\tlet title = item.Title;\r\n\t\tlet clearedText = null;\r\n\t\tif (item.Title.length > 90) {\r\n\t\t\ttitle = `${item.Title.substr(0, 90)} ...`;\r\n\t\t} else {\r\n\t\t\tconst textLength = 90 - item.Title.length;\r\n\t\t\tif (textLength > 15) {\r\n\t\t\t\tconst text = item.Short || item.Full;\r\n\t\t\t\tclearedText = text.replace(constants.regExpAllTags, '');\r\n\t\t\t\tif (clearedText.length > textLength) {\r\n\t\t\t\t\tclearedText = `${clearedText.substr(0, textLength)} ...`;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\r\n\t\t\t\t\r\n\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{date.fromNow()}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{title}\r\n\t\t\t\t\t{clearedText &&\t - {clearedText}}\r\n\t\t\t\t
\r\n\t\t\t\t{/*
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{item.Title}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{date &&\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{date.fromNow()}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t{text &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{clearedText.substr(0, 70)}{(clearedText.length > 70) && ' ...'}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t} */}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nMessageItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(null, mapDispatchToProps),\r\n)(MessageItem);\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\nimport { toUsaFormat } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t},\r\n\tleftColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'left',\r\n\t\tjustifyContent: 'left',\r\n\t},\r\n\trightColumn: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'right',\r\n\t\tjustifyContent: 'right',\r\n\t},\r\n\ttitle: {\r\n\t\ttextOverflow: 'ellipsis',\r\n\t\toverflow: 'hidden',\r\n\t\twhiteSpace: 'nowrap',\r\n\t\twidth: '120px',\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tdate: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tamount: {\r\n\t\t...theme.typography.style.subheading,\r\n\t},\r\n\tstatus: {\r\n\t\t...theme.typography.style.body,\r\n\t},\r\n\tamountData: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\talignContent: 'center',\r\n\t\tjustifyContent: 'flex-start',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\tred: {\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\tgreen: {\r\n\t\tcolor: theme.typography.color.green,\r\n\t},\r\n\tblack: {\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n\tgrey: {\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n});\r\n\r\nclass TradeItem extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\titem,\r\n\t\t\tclasses,\r\n\t\t} = this.props;\r\n\r\n\t\tconst colorCssClass = classNames({\r\n\t\t\t[classes.red]: item.Color === 'red',\r\n\t\t\t[classes.green]: item.Color === 'green',\r\n\t\t\t[classes.black]: item.Color === 'black',\r\n\t\t\t[classes.grey]: item.Color === 'grey',\r\n\t\t});\r\n\r\n\t\tlet directionText;\r\n\r\n\t\tswitch (item.Direction) {\r\n\t\tcase 'buy':\r\n\t\t\tdirectionText = 'Buy';\r\n\t\t\tbreak;\r\n\r\n\t\tcase 'sell':\r\n\t\t\tdirectionText = 'Sell';\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tdirectionText = 'Unknown';\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{item.Quantity} × {item.Symbol}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{moment(item.OrderDate).format('D MMM YYYY')}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{toUsaFormat(item.Amount)}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{item.Status}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nTradeItem.propTypes = {\r\n\titem: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(withStyles(styles))(TradeItem);\r\n","import React, { Fragment } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport * as qs from 'query-string';\r\nimport { connect } from 'react-redux';\r\nimport { push } from 'connected-react-router';\r\nimport {\r\n\tprofile,\r\n\tsignature,\r\n\tuserAccounts,\r\n\tacatDeposit,\r\n} from '@redux';\r\nimport compose from 'recompose/compose';\r\nimport { env } from '@config';\r\nimport { CloseAccountFlow } from '@enums';\r\nimport {\r\n\tChangeLink,\r\n\tExpansionPanel,\r\n\tInput,\r\n\tInputPhoneIconNumber,\r\n\tProgressContainer,\r\n} from '@components';\r\n\r\nimport {\r\n\tInputEditableItem,\r\n\tCustomEditableItem,\r\n} from '@shared';\r\nimport { createQAAttribute, createInputQAAttributes, scrollTo } from '@global';\r\nimport {\r\n\tAccountCredentialsPanel,\r\n\tApiKeysPanel,\r\n\tEmploymentPanel,\r\n\tMarketDataPanel,\r\n} from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tborder: '1px solid red',\r\n\t},\r\n\theader: {\r\n\t\t...theme.typography.style.headline1,\r\n\t\tpadding: '8px 0',\r\n\t},\r\n\tsubHeader: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\tcontent: {\r\n\t\t...theme.typography.style.body,\r\n\t\tpadding: '16px 72px',\r\n\t\tmarginBottom: '30px',\r\n\t\t[theme.breakpoints.down('md')]: {\r\n\t\t\tpadding: '8px 24px',\r\n\t\t},\r\n\t},\r\n\tsplitter: {\r\n\t\theight: '30px',\r\n\t},\r\n\teditable: {\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'row',\r\n\t},\r\n\teditItem: {\r\n\t\tdisplay: 'flex',\r\n\t\tpadding: '24px 32px 12px 0',\r\n\t\ttextAlign: 'right',\r\n\t},\r\n\teditValue: {\r\n\t\tflexGrow: 2,\r\n\t},\r\n\teditValuePhone: {\r\n\t\t'& div:first-child': {\r\n\t\t\tdisplay: 'block!important',\r\n\t\t},\r\n\t},\r\n\tmr60: {\r\n\t\tmarginRight: '60px',\r\n\t},\r\n\tdocumentContainer: {\r\n\t\t'&:last-child div': {\r\n\t\t\tborderBottom: 'none',\r\n\t\t},\r\n\t},\r\n\tdocumentItem: {\r\n\t\t...theme.typography.style.body,\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'space-between',\r\n\t\talignItems: 'center',\r\n\t\tpadding: '0 14px',\r\n\t\tborderBottom: '1px solid #deeaef',\r\n\t\t'& div': {\r\n\t\t\tpadding: '10px',\r\n\t\t},\r\n\t},\r\n\tdocumentText: {\r\n\t\tcolor: 'inherit',\r\n\t\tflexGrow: 2,\r\n\t},\r\n\tcloseAccountButton: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t\tmargin: '14px 0',\r\n\t},\r\n\texpansionPanelStaticContent: {\r\n\t\tmargin: '10px 24px 5px 0px',\r\n\t\tcolor: theme.palette.text.secondary,\r\n\t},\r\n\texpansionPanelContent: {\r\n\t\t'& $expansionPanelRoot': {\r\n\t\t\tmarginLeft: '24px',\r\n\t\t},\r\n\t\t'& $preFieldLabel': {\r\n\t\t\tmarginLeft: '24px',\r\n\t\t},\r\n\t\t'& $noLeftMarginField': {\r\n\t\t\tmarginLeft: '24px',\r\n\t\t},\r\n\t},\r\n\tpreFieldLabel: {},\r\n\tnoLeftMarginField: {\r\n\t\tmarginLeft: '0px',\r\n\t},\r\n\twithLeftMarginField: {\r\n\t\tmarginLeft: '-24px',\r\n\t\t'$expansionPanelContent &': {\r\n\t\t\tmarginLeft: '0px',\r\n\t\t},\r\n\t},\r\n\texpansionPanelRoot: {\r\n\t\tmarginLeft: '0px',\r\n\t},\r\n});\r\n\r\nfunction valueOrEmpty(val) {\r\n\tif (val) return val;\r\n\treturn '';\r\n}\r\n\r\n\r\nconst mapStateToProps = state => ({\r\n\tprofile: profile.selectors.profile(state),\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\taccountInfo: userAccounts.selectors.accountInfo(state),\r\n\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\r\n\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\taccounts: userAccounts.selectors.accounts(state),\r\n\tanyActiveAccountExists: userAccounts.selectors.anyActiveAccountExists(state),\r\n\thasOpenAccount: userAccounts.selectors.hasOpenAccount(state),\r\n\tcurrentAccountIsDemo: userAccounts.selectors.currentAccountIsDemo(state),\r\n\tcurrentAccountIsPaper: userAccounts.selectors.currentAccountIsPaper(state),\r\n\tcloseAccountValidation: acatDeposit.selectors.closeAccountValidation(state),\r\n});\r\n\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsetCurrentPage: page => dispatch(push(page)),\r\n\t\tshowProfile: () => dispatch(profile.actions.getProfileRequest()),\r\n\t\tshowChangeAddressModal: () => {\r\n\t\t\tconst changeAddressAction = profile.actions.showChangeAddressModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAddressAction));\r\n\t\t},\r\n\t\tshowChangePostAddressModal: () => {\r\n\t\t\tconst changePostAddressAction = profile.actions.showChangePostAddressModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changePostAddressAction));\r\n\t\t},\r\n\t\tshowChangeEmailModal: () => {\r\n\t\t\tconst changeEmailAction = profile.actions.showChangeEmailModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeEmailAction));\r\n\t\t},\r\n\t\tshowChangePhoneModal: () => {\r\n\t\t\tconst changePhoneAction = profile.actions.showChangePhoneModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changePhoneAction));\r\n\t\t},\r\n\t\tshowChangeDependentsModal: () => {\r\n\t\t\tconst changeAction = profile.actions.showChangeDependentsModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\r\n\t\t},\r\n\t\tshowChangeMaritalStatusModal: () => {\r\n\t\t\tconst changeAction = profile.actions.showChangeMaritalStatusModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\r\n\t\t},\r\n\t\tshowChangeEmploymentModal: () => {\r\n\t\t\tconst changeAction = profile.actions.showChangeEmploymentModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\r\n\t\t},\r\n\t\tshowChangeInvestmentExperienceModal: () => {\r\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentExperienceModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\r\n\t\t},\r\n\t\tshowChangeInvestmentProfileModal: () => {\r\n\t\t\tconst changeAction = profile.actions.showChangeInvestmentProfileModal();\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\r\n\t\t},\r\n\t\tshowChangeTwoFactorAuthorizationModal: () => dispatch(profile.actions.showChangeTwoFactorAuthorizationModal()),\r\n\t\tshowCloseAccountModal: () => dispatch(acatDeposit.actions.showCloseAccountModal({ flow: CloseAccountFlow.PROFILE })),\r\n\t},\r\n});\r\n\r\nclass Profile extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\r\n\t\tif (props.location.hash.substr(1) === 'profileApiKeys') {\r\n\t\t\tthis.state = {\r\n\t\t\t\topenPanelId: 'profile-apikeys',\r\n\t\t\t};\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.state = {\r\n\t\t\topenPanelId: 'profile-account-credentials',\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentDidUpdate() {\r\n\t\tconst {\r\n\t\t\tlocation,\r\n\t\t} = this.props;\r\n\r\n\t\tif (location.hash) {\r\n\t\t\tscrollTo(location.hash.substr(1));\r\n\t\t} else if (location.search) {\r\n\t\t\tconst parsed = qs.parse(location.search);\r\n\t\t\tif (parsed && parsed.commission && parsed.commission.toLowerCase() === 'zero') {\r\n\t\t\t\tscrollTo('profile-commission-plan');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tshowUpgradeOptionLevelModal = () => {\r\n\t\tconst { actions, currentTradeAccount, currentAccountData } = this.props;\r\n\t\tactions.showUpgradeOptionLevelModal(currentTradeAccount, currentAccountData.baseParams.MarginOptionParameters);\r\n\t}\r\n\r\n\ttoggleOpen = (open, id) => {\r\n\t\tthis.setState({ openPanelId: open ? id : null });\r\n\t};\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tactions,\r\n\t\t\taccountInfo,\r\n\t\t\taccountStatus,\r\n\t\t\tprofile: {\r\n\t\t\t\tGuid,\r\n\t\t\t\tClientId,\r\n\t\t\t\tPersonalInformation,\r\n\t\t\t\tInvestmentProfile,\r\n\t\t\t\tEmploymentProfile,\r\n\t\t\t\tExperiences,\r\n\t\t\t\tsubmitting,\r\n\t\t\t\tPendingOrders,\r\n\t\t\t},\r\n\t\t\tuserInfo,\r\n\t\t\tform,\r\n\t\t\tanyActiveAccountExists,\r\n\t\t\thasOpenAccount,\r\n\t\t\tcurrentAccountIsDemo,\r\n\t\t\tcurrentAccountIsPaper,\r\n\t\t\tcloseAccountValidation,\r\n\t\t} = this.props;\r\n\r\n\t\tlet stocks = Experiences ? Experiences.find(val => val.Type === 'Stocks') : null;\r\n\t\tstocks = stocks ? stocks.Value : '';\r\n\t\tlet options = Experiences ? Experiences.find(val => val.Type === 'Option') : null;\r\n\t\toptions = options ? options.Value : '';\r\n\t\tlet margins = Experiences ? Experiences.find(val => val.Type === 'Margin') : null;\r\n\t\tmargins = margins ? margins.Value : '';\r\n\t\tlet mutualFunds = Experiences ? Experiences.find(val => val.Type === 'Mutual Funds') : null;\r\n\t\tmutualFunds = mutualFunds ? mutualFunds.Value : '';\r\n\t\tlet shortSales = Experiences ? Experiences.find(val => val.Type === 'Short Sale') : null;\r\n\t\tshortSales = shortSales ? shortSales.Value : '';\r\n\r\n\t\tconst parsed = qs.parse(this.props.location.search);\r\n\t\tconst withZero = (parsed && parsed.commission && parsed.commission.toLowerCase() === 'zero');\r\n\r\n\t\tconst tariffsList = [\r\n\t\t\t{\r\n\t\t\t\ttariff: 'PerTrade',\r\n\t\t\t\ticon: 'TariffPerTrade',\r\n\t\t\t\ttext: 'High quality execution of low price',\r\n\t\t\t\tcolor: 'light',\r\n\t\t\t\tsum: '$2.5',\r\n\t\t\t\tmeasureUnit: '/ trade',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttariff: 'PerShare',\r\n\t\t\t\ticon: 'TariffPerShare',\r\n\t\t\t\ttext: 'Special plan for active traders',\r\n\t\t\t\tcolor: 'dark',\r\n\t\t\t\tsum: '$0.001',\r\n\t\t\t\tmeasureUnit: '/ share',\r\n\t\t\t},\r\n\t\t];\r\n\t\t// hide comission plan section WEBCAB-3948\r\n\t\tif (false && accountInfo.Tariffs && accountInfo.Tariffs.EnableZero &&\r\n\t\t\t\t(withZero || (accountInfo.Tariffs.ActiveTariff === 'Zero') || (accountInfo.Tariffs.PendingTariff === 'Zero'))) {\r\n\t\t\ttariffsList.push({\r\n\t\t\t\ttariff: 'Zero',\r\n\t\t\t\ticon: 'TariffZero',\r\n\t\t\t\ttext: 'Potential to lose up to 5% of market price',\r\n\t\t\t\tcolor: 'light',\r\n\t\t\t\tsum: '$0',\r\n\t\t\t\tmeasureUnit: '/ trade',\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\tMy Profile\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t{/* hide comission plan section WEBCAB-3948 */}\r\n\t\t\t\t\t{/* \r\n\t\t\t\t\t\t{accountInfo.Tariffs &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t{tariffsList && tariffsList.map((item, i) => (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t))}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t */}\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{ (!env.WEBCAB_5839_allow_demo_account || anyActiveAccountExists) &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tqaAttributes={createInputQAAttributes('personal_email')}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\teditControl={hasOpenAccount &&\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\teditControl={hasOpenAccount &&\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t {}}\r\n\t\t\t\t\t\t\t\t\t\tonChange={() => {}}\r\n\t\t\t\t\t\t\t\t\t\tvalue={valueOrEmpty(PersonalInformation.Phone)}\r\n\t\t\t\t\t\t\t\t\t\tqaAttributes={createInputQAAttributes('personal_phone')}\r\n\t\t\t\t\t\t\t\t\t\tdisabled\r\n\t\t\t\t\t\t\t\t\t\thideNumberMode\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\teditControl={hasOpenAccount &&\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tqaAttributes={createInputQAAttributes('personal_marital_status')}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tqaAttributes={createInputQAAttributes('personal_dependents')}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t{ env.WEBCAB_5142_marketData_subscriptions_enable &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tInvestment Profile\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{ hasOpenAccount &&\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tid=\"profile-investment-profile\"\r\n\t\t\t\t\t\t\tonToggleOpen={this.toggleOpen}\r\n\t\t\t\t\t\t\tisOpen={this.state.openPanelId === 'profile-investment-profile'}\r\n\t\t\t\t\t\t\tclasses={{ root: classes.expansionPanelRoot, content: classes.expansionPanelContent }}\r\n\t\t\t\t\t\t\tqaAttributes={{ icon: createQAAttribute('profile_accord') }}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t
Investment
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
Assets
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tInvestment Experience\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{hasOpenAccount &&\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tid=\"profile-investment-experience\"\r\n\t\t\t\t\t\t\tonToggleOpen={this.toggleOpen}\r\n\t\t\t\t\t\t\tisOpen={this.state.openPanelId === 'profile-investment-experience'}\r\n\t\t\t\t\t\t\tclasses={{ root: classes.expansionPanelRoot, content: classes.expansionPanelContent }}\r\n\t\t\t\t\t\t\tqaAttributes={{ icon: createQAAttribute('investment_experience_accord') }}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t{accountStatus &&\r\n\t\t\t\t\t\t!(accountStatus.IsDisabled || accountStatus.IsClosed) &&\r\n\t\t\t\t\t\t!(currentAccountIsDemo || currentAccountIsPaper) &&\r\n\t\t\t\t\t\t(\r\n\t\t\t\t\t\t\tcloseAccountValidation.submitting ?\r\n\t\t\t\t\t\t\t\t :\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t)}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nProfile.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\tprofile: PropTypes.object.isRequired,\r\n\taccountInfo: PropTypes.object.isRequired,\r\n\tcurrentAccountData: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tuserInfo: PropTypes.object.isRequired,\r\n\tcurrentAccountIsDemo: PropTypes.bool,\r\n\tcurrentAccountIsPaper: PropTypes.bool,\r\n\tanyActiveAccountExists: PropTypes.bool.isRequired,\r\n\thasOpenAccount: PropTypes.bool.isRequired,\r\n\tcloseAccountValidation: PropTypes.object.isRequired,\r\n\tlocation: PropTypes.object.isRequired,\r\n};\r\n\r\nProfile.defaultProps = {\r\n\tcurrentAccountIsDemo: false,\r\n\tcurrentAccountIsPaper: false,\r\n};\r\n\r\nexport default compose(\r\n\twithTheme,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(Profile);\r\n","export { default as AccountCredentialsPanel } from './AccountCredentialsPanel';\nexport { default as CYAccountCredentialsPanel } from './CYAccountCredentialsPanel';\nexport { CYPersonalDocumentsPanel } from './CYPersonalDocumentsPanel';\nexport { default as ApiKeysPanel } from './ApiKeysPanel/ApiKeysPanel';\nexport { default as EmploymentPanel } from './EmploymentPanel/EmploymentPanel';\nexport { default as InstitutionalQuestion } from '../../ConfirmProfile/components/InstitutionalQuestion';\nexport { default as HoldersQuestion } from '../../ConfirmProfile/components/HoldersQuestion';\nexport { default as MarketDataPanel } from './MarketDataPanel/MarketDataPanel';\nexport { default as TariffCard } from './TariffCard';\n\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { profile, userAccounts } from '@redux';\nimport {\n\tA,\n\tChangeLink,\n\tExpansionPanel,\n} from '@components';\nimport { InputEditableItem } from '@shared';\nimport { env } from '@config';\nimport { TwoFactorAutenticationType } from '@enums';\nimport { createInputQAAttributes, createQAAttribute } from '@global';\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tshowChangeTwoFactorAuthorizationModal: () => dispatch(profile.actions.showChangeTwoFactorAuthorizationModal()),\n\t});\n};\n\nconst AccountCredentialsPanel = (props) => {\n\tconst {\n\t\tonToggle,\n\t\tpanelId,\n\t\tisOpen,\n\t\tclasses,\n\t} = props;\n\tconst {\n\t\tPersonalInformation,\n\t} = useSelector(profile.selectors.profile) || {};\n\tconst userInfo = useSelector(userAccounts.selectors.userInfo);\n\tconst hasOpenAccount = useSelector(userAccounts.selectors.hasOpenAccount);\n\tconst anyRealAccountExists = useSelector(userAccounts.selectors.anyRealAccountExists);\n\tconst actions = useActions();\n\n\tconst getAuthenticationState = () => {\n\t\tswitch (userInfo.TwoFactorAutenticationType) {\n\t\t\tcase TwoFactorAutenticationType.SMS:\n\t\t\t\treturn 'Enabled (SMS)';\n\t\t\tcase TwoFactorAutenticationType.TOTP:\n\t\t\t\treturn 'Enabled (TOTP)';\n\t\t\tcase TwoFactorAutenticationType.EMAIL:\n\t\t\t\treturn 'Enabled (EMAIL)';\n\t\t\tdefault:\n\t\t\t\treturn 'Disabled';\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\tCHANGE\n\t\t\t\t}\n\t\t\t\tqaAttributes={createInputQAAttributes('password')}\n\t\t\t/>\n\t\t\t\n\t\t\t\t}\n\t\t\t\tqaAttributes={createInputQAAttributes('2fa')}\n\t\t\t/>\n\t\t\n\t);\n};\n\nAccountCredentialsPanel.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonToggle: PropTypes.func.isRequired,\n\tpanelId: PropTypes.string.isRequired,\n\tisOpen: PropTypes.bool,\n};\n\nAccountCredentialsPanel.defaultProps = {\n\tisOpen: false,\n};\n\nexport default AccountCredentialsPanel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { app } from '@redux';\nimport {\n\tChangeLink,\n\tExpansionPanel,\n\tR,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { InputEditableItem } from '@shared';\n\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tshowChangePasswordModal: () => dispatch(app.actions.showBaseModal(ModalPopups.CY_CHANGE_PASSWORD)),\n\t});\n};\n\nconst CYAccountCredentialsPanel = (props) => {\n\tconst {\n\t\tonToggle,\n\t\tpanelId,\n\t\tisOpen,\n\t\tclasses,\n\t} = props;\n\n\tconst actions = useActions();\n\n\treturn (\n\t\t}\n\t\t\tid={panelId}\n\t\t\tonToggleOpen={onToggle}\n\t\t\tisOpen={isOpen}\n\t\t\tclasses={{ root: classes.expansionPanelRoot, content: classes.expansionPanelContent }}\n\t\t>\n\t\t\t}\n\t\t\t\tvalue=\"*************\"\n\t\t\t\teditControl={\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t/>\n\t\t\n\t);\n};\n\nCYAccountCredentialsPanel.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonToggle: PropTypes.func.isRequired,\n\tpanelId: PropTypes.string.isRequired,\n\tisOpen: PropTypes.bool,\n};\n\nCYAccountCredentialsPanel.defaultProps = {\n\tisOpen: false,\n};\n\nexport default CYAccountCredentialsPanel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { app } from '@redux';\nimport {\n\tChangeLink,\n\tExpansionPanel,\n\tR,\n} from '@components';\nimport { ModalPopups } from '@enums';\nimport { InputEditableItem } from '@shared';\n\n\nexport const CYPersonalDocumentsPanel = (props) => {\n\tconst {\n\t\tonToggle,\n\t\tpanelId,\n\t\tisOpen,\n\t\tclasses,\n\t} = props;\n\n\tconst dispatch = useDispatch();\n\n\treturn (\n\t\t}\n\t\t\tid={panelId}\n\t\t\tonToggleOpen={onToggle}\n\t\t\tisOpen={isOpen}\n\t\t\tclasses={{ root: classes.expansionPanelRoot, content: classes.expansionPanelContent }}\n\t\t>\n\t\t\t}\n\t\t\t\t// value=\"*************\"\n\t\t\t\teditControl={\n\t\t\t\t\t dispatch(app.actions.showBaseModal(ModalPopups.CY_NON_TRADING_ORDER_IDENTITY))} />\n\t\t\t\t}\n\t\t\t/>\n\t\t\t}\n\t\t\t\t// value=\"*************\"\n\t\t\t\teditControl={\n\t\t\t\t\t dispatch(app.actions.showBaseModal(ModalPopups.CY_NON_TRADING_ORDER_REGISTRATION))} />\n\t\t\t\t}\n\t\t\t/>\n\t\t\n\t);\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport IconButton from '@material-ui/core/IconButton';\nimport { ExpansionPanel, SvgIcon } from '@components';\nimport { createQAAttribute } from '@global';\nimport ApiKeysPanelContent from './ApiKeysPanelContent';\n\nconst useStyles = makeStyles(theme => ({\n\texpansionPanelHeadContent: {\n\t\tpadding: '0px',\n\t},\n\tlightTooltip: {\n\t\tbackground: theme.palette.common.white,\n\t\tcolor: theme.palette.text.primary,\n\t\tboxShadow: theme.shadows[1],\n\t\tfontSize: 11,\n\t},\n}));\n\nconst ApiKeysPanel = (props) => {\n\tconst {\n\t\tonToggle,\n\t\tpanelId,\n\t\tisOpen,\n\t} = props;\n\n\tconst classes = {\n\t\t...useStyles(),\n\t\t...props.classes,\n\t};\n\n\treturn (\n\t\t\n\t\t\t\t\tAPI Keys\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\tid={panelId}\n\t\t\tonToggleOpen={onToggle}\n\t\t\tisOpen={isOpen}\n\t\t\tclasses={{\n\t\t\t\troot: classes.expansionPanelRoot,\n\t\t\t\tcontent: classes.expansionPanelContent,\n\t\t\t\theadContent: classes.expansionPanelHeadContent,\n\t\t\t}}\n\t\t\tqaAttributes={{ icon: createQAAttribute('api_keys_accord') }}\n\t\t>\n\t\t\t\n\t\t\n\t);\n};\n\nApiKeysPanel.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tonToggle: PropTypes.func.isRequired,\n\tpanelId: PropTypes.string.isRequired,\n\tisOpen: PropTypes.bool,\n};\n\nApiKeysPanel.defaultProps = {\n\tisOpen: false,\n};\n\nexport default ApiKeysPanel;\n","import React, { useEffect, useState } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { app, etnaAuth, userAccounts, profile } from '@redux';\nimport { makeStyles } from '@material-ui/core/styles';\nimport IconButton from '@material-ui/core/IconButton';\nimport Switch from '@material-ui/core/Switch';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport Button from '@material-ui/core/Button';\nimport {\n\tProgressContainer,\n\tSvgIcon,\n} from '@components';\nimport { createQAAttribute, toUsaDateFormat } from '@global';\nimport { env } from '@config';\n\nconst styles = theme => ({\n\tprofileTableHeader: {\n\t\tdisplay: 'flex',\n\t\tfontSize: '13.5px',\n\t\tcolor: theme.typography.color.secondary,\n\t\tpadding: '0 24px 16px',\n\t},\n\tprofileTableRow: {\n\t\tdisplay: 'flex',\n\t\tfontSize: '18px',\n\t\tcolor: theme.typography.color.disable,\n\t\tflexWrap: 'wrap',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'flex-end',\n\t\tpadding: '4px 24px',\n\t\tborderBottom: '1px solid #deeaef',\n\t},\n\tprofileTableColName: {\n\t\tmarginRight: '10px',\n\t\tflexGrow: 2,\n\t\t'$profileTableHeader &': {\n\t\t\tflex: '1 0 50px',\n\t\t},\n\t},\n\tprofileTableColDate: {\n\t\tminWidth: '100px',\n\t},\n\tprofileTableColLink: {\n\t\tmarginLeft: '10px',\n\t},\n\tdashboardLink: {\n\t\t...theme.typography.color.white,\n\t},\n\texpansionPanelStaticContent: {\n\t\tmargin: '10px 24px 5px',\n\t\tcolor: theme.palette.text.secondary,\n\t},\n\tgenerateNew: {\n\t\t...theme.typography.style.button,\n\t\tcolor: theme.typography.color.link,\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'center',\n\t\tcursor: 'pointer',\n\t\tmargin: '28px',\n\t},\n\tnoIcon: {\n\t\tdisplay: 'inline-block',\n\t\twidth: '48px',\n\t},\n\topraSwitcher: {\n\t\tmargin: '0px 70px',\n\t},\n\tlightTooltip: {\n\t\tbackground: theme.palette.common.white,\n\t\tcolor: theme.palette.text.primary,\n\t\tboxShadow: theme.shadows[1],\n\t\tfontSize: 11,\n\t},\n\tbuttonContainer: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-evenly',\n\t},\n\tdocumentationButton: {\n\t\tmargin: '28px',\n\t\tcolor: theme.typography.color.white,\n\t\tbackgroundColor: theme.palette.lime.primary.default,\n\t\t'&:hover': {\n\t\t\tbackgroundColor: theme.palette.lime.primary.hover,\n\t\t\t// Reset on mouse devices\n\t\t\t'@media (hover: none)': {\n\t\t\t\tbackgroundColor: theme.palette.lime.primary.hover,\n\t\t\t},\n\t\t},\n\t\t'&:active': {\n\t\t\tbackgroundColor: theme.palette.lime.primary.pressed,\n\t\t},\n\t},\n});\nconst useStyles = makeStyles(styles);\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tgetApiKeys: () => dispatch(etnaAuth.actions.getApiKeys.request()),\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\n\t\trevokeApiKey: payload => dispatch(etnaAuth.actions.revokeApiKey.request(payload)),\n\t\tshowCreateApiKeyModal: () => dispatch(etnaAuth.actions.showCreateApiKeyModal()),\n\t\tapiMarketDataAgreement: payload => dispatch(etnaAuth.actions.apiMarketDataAgreement.request(payload)),\n\t\tupdateMarketDataSubscription: subscription => dispatch(profile.actions.updateMarketDataSubscription(subscription)),\n\t});\n};\n\nconst ApiKeysPanel = (props) => {\n\tconst classes = useStyles();\n\tconst apiClients = useSelector(etnaAuth.selectors.clients);\n\tconst hasOpenAccount = useSelector(userAccounts.selectors.hasOpenAccount);\n\tconst actions = useActions();\n\tconst userInfo = useSelector(userAccounts.selectors.userInfo);\n\tconst {\n\t\tMarketDataSubscriptions,\n\t} = useSelector(profile.selectors.profile);\n\n\tconst opraSubscription = MarketDataSubscriptions.find(sub => sub.MarketDataName === 'OPRA');\n\n\tconst opraMarketDataName = 'opraMarketData';\n\tconst [state, setState] = useState({\n\t\t[opraMarketDataName]: opraSubscription && opraSubscription.Api,\n\t});\n\n\tuseEffect(() => {\n\t\tactions.getApiKeys();\n\t}, []);\n\n\tconst showRevokeModal = client => () => {\n\t\tactions.showConfirmModal({\n\t\t\ttext: `Please click confirm you want to revoke api key \"${client.DisplayName}\"`,\n\t\t\taction: onEndRequest => actions.revokeApiKey({\n\t\t\t\tid: client.ClientId,\n\t\t\t\tonEndRequest,\n\t\t\t}),\n\t\t});\n\t};\n\n\tconst handleOpraMarketDataChanged = (event) => {\n\t\tconst apiIsOn = event.target.checked;\n\t\tsetState({ [opraMarketDataName]: apiIsOn });\n\t\tactions.apiMarketDataAgreement({ isOn: apiIsOn });\n\t\tactions.updateMarketDataSubscription({ ...opraSubscription, Api: apiIsOn });\n\t};\n\n\tconst handleOpenAccount = () => {\n\t\twindow.open(`${env.anketaDocumentationUrl}/trader/`, '_blank');\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{!apiClients.items.length ? (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tNo API Keys to show\n\t\t\t\t\t\t
) :\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
Name
\n\t\t\t\t\t\t\t\t
Generated On
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)\n\t\t\t\t\t}\n\t\t\t\t\t{apiClients.items.map(item => (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{item.DisplayName}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{toUsaDateFormat(item.CreatedAt)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t))}\n\t\t\t\t
\n\t\t\t\t{apiClients.items.length > 0 && opraSubscription && opraSubscription.IsOn &&\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tOPRA Market data\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t{hasOpenAccount && !userInfo.BlockTradingAccess &&\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGenerate new\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tView Documentation\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\n\t\t\n\n\t);\n};\n\nexport default ApiKeysPanel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { profile, userAccounts } from '@redux';\nimport {\n\tChangeLink,\n\tExpansionPanel,\n} from '@components';\nimport { EMPLOYMENT_STATUS } from '@utils';\nimport { createQAAttribute } from '@global';\nimport { EmployedPanel, StudentPanel, RetiredPanel } from './components';\n\nconst useActions = (userProfile) => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tshowChangeEmploymentModal: () => dispatch(profile.actions.showChangeEmploymentModal(userProfile)),\n\t});\n};\n\nconst EmploymentPanel = ({\n\tonToggle,\n\tpanelId,\n\tisOpen,\n\tclasses,\n\tprofile: {\n\t\tEmploymentProfile,\n\t\tPendingOrders,\n\t\tGuid,\n\t\tClientId,\n\t},\n}) => {\n\tconst actions = useActions({\n\t\tEmploymentProfile,\n\t\tPendingOrders,\n\t\tGuid,\n\t\tClientId,\n\t});\n\n\tconst hasOpenAccount = useSelector(userAccounts.selectors.hasOpenAccount);\n\n\tlet content = null;\n\tif (EmploymentProfile.Status === EMPLOYMENT_STATUS.EMPLOYED ||\n\t\tEmploymentProfile.Status === EMPLOYMENT_STATUS.SELF_EMPLOYED) {\n\t\tcontent = ;\n\t}\n\tif (EmploymentProfile.Status === EMPLOYMENT_STATUS.RETIRED ||\n\t\tEmploymentProfile.Status === EMPLOYMENT_STATUS.UNEMPLOYED) {\n\t\tcontent = ;\n\t}\n\tif (EmploymentProfile.Status === EMPLOYMENT_STATUS.STUDENT) {\n\t\tcontent = ;\n\t}\n\n\treturn (\n\t\t\n\t\t\t\t\tEmployment\n\t\t\t\t\t\n\t\t\t\t\t\t{ hasOpenAccount &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\tid={panelId}\n\t\t\tonToggleOpen={onToggle}\n\t\t\tisOpen={isOpen}\n\t\t\tclasses={{ root: classes.expansionPanelRoot, content: classes.expansionPanelContent }}\n\t\t\tqaAttributes={{ icon: createQAAttribute('employment_accord') }}\n\t\t>\n\t\t\t{content}\n\t\t\n\t);\n};\n\nEmploymentPanel.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\tonToggle: PropTypes.func.isRequired,\n\tpanelId: PropTypes.string.isRequired,\n\tisOpen: PropTypes.bool,\n};\n\nEmploymentPanel.defaultProps = {\n\tisOpen: false,\n};\n\nexport default EmploymentPanel;\n","export { default as EmployedPanel } from './EmployedPanel';\nexport { default as RetiredPanel } from './RetiredPanel';\nexport { default as StudentPanel } from './StudentPanel';\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { Input } from '@components';\nimport { createInputQAAttributes, valueOrEmpty } from '@global';\n\nconst qaAttr = {\n\tstatus: createInputQAAttributes('employment_status'),\n\tcompany: createInputQAAttributes('employment_company'),\n\tindustry: createInputQAAttributes('employment_industry'),\n\tposition: createInputQAAttributes('employment_position'),\n\taddress: createInputQAAttributes('employment_address'),\n};\n\nconst EmploymentPanel = ({ profile }) => (\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n);\n\nEmploymentPanel.propTypes = {\n\tprofile: PropTypes.object.isRequired,\n};\n\nexport default EmploymentPanel;\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { Input } from '@components';\nimport { SOURCE_OF_FUNDING } from '@utils';\nimport { valueOrEmpty } from '@global';\n\nconst RetiredPanel = ({ profile }) => (\n\t\n\t\t\n\t\t\n\t\t{profile.SourceOfFunding === SOURCE_OF_FUNDING.OTHER &&\n\t\t\n\t\t}\n\t\n);\n\nRetiredPanel.propTypes = {\n\tprofile: PropTypes.object.isRequired,\n};\n\nexport default RetiredPanel;\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { Input } from '@components';\nimport { SOURCE_OF_FUNDING } from '@utils';\nimport { createInputQAAttributes, valueOrEmpty } from '@global';\n\nconst StudentPanel = ({ profile }) => (\n\t\n\t\t\n\t\t\n\t\t\n\t\t{profile.SourceOfFunding === SOURCE_OF_FUNDING.OTHER &&\n\t\t\t\n\t\t}\n\t\n);\n\nStudentPanel.propTypes = {\n\tprofile: PropTypes.object.isRequired,\n};\n\nexport default StudentPanel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { profile } from '@redux';\nimport {\n\tChangeLink,\n\tExpansionPanel,\n\tProgressContainer,\n} from '@components';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { InputEditableItem } from '@shared';\nimport { MarketDataClientStatus, ClientTypes, InsufficientClientDataKeys } from '@enums';\nimport { createInputQAAttributes, createQAAttribute } from '@global';\nimport { EMPLOYMENT_STATUS } from '@utils';\n\nconst useStyles = makeStyles(theme => ({\n\tsubHeader: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\talignItems: 'end',\n\t\t'& > div:first-child': {\n\t\t\t...theme.typography.style.title,\n\t\t\tcolor: theme.typography.color.secondary,\n\t\t},\n\t},\n\tmarketDataDisabled: {\n\t\tcolor: theme.typography.color.red,\n\t},\n}));\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\treturn ({\n\t\tshowChangeMarketDataSubscriberStatusModal: () => dispatch(profile.actions.showChangeMarketDataSubscriberStatusModal()),\n\t\tshowChangeMarketDataSubscriptionsModal: () => dispatch(profile.actions.showChangeMarketDataSubscriptionsModal()),\n\t\tshowClientDataInsufficientModal: payload => dispatch(profile.actions.showClientDataInsufficientModal(payload)),\n\t});\n};\n\nconst MarketDataPanel = (props) => {\n\tconst {\n\t\tonToggle,\n\t\tpanelId,\n\t\tisOpen,\n\t} = props;\n\tconst userProfile = useSelector(profile.selectors.profile) || {};\n\tconst actions = useActions();\n\tconst classes = useStyles();\n\n\tconst {\n\t\tMarketDataSubscriptions,\n\t\tPendingOrders,\n\t\tHasMarketDataDisabled,\n\t\tPersonalInformation,\n\t\tEmploymentProfile,\n\t\tsubmitting,\n\t} = useSelector(profile.selectors.profile);\n\n\tconst canOpenMarketDataSection = () => {\n\t\tconst validateClientData = () => {\n\t\t\tconst missingDataList = [];\n\t\t\tif (!PersonalInformation.HasValidActualAddress && !PendingOrders.Address) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.ADDRESS_RESIDENCE);\n\t\t\t}\n\t\t\tif (!EmploymentProfile.Status && !PendingOrders.Employment) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.EMPLOYMENT_STATUS);\n\t\t\t}\n\t\t\tif ((EmploymentProfile.Status === EMPLOYMENT_STATUS.SELF_EMPLOYED || EmploymentProfile.Status === EMPLOYMENT_STATUS.EMPLOYED) &&\n\t\t\t\t!EmploymentProfile.Company &&\n\t\t\t\t!PendingOrders.Employment) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.PLACE_EMPLOYMENT);\n\t\t\t}\n\t\t\tif ((EmploymentProfile.Status === EMPLOYMENT_STATUS.SELF_EMPLOYED || EmploymentProfile.Status === EMPLOYMENT_STATUS.EMPLOYED) &&\n\t\t\t\t!EmploymentProfile.Position &&\n\t\t\t\t!PendingOrders.Employment) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.EMPLOYMENT_POSITION);\n\t\t\t}\n\t\t\tif ((EmploymentProfile.Status === EMPLOYMENT_STATUS.SELF_EMPLOYED || EmploymentProfile.Status === EMPLOYMENT_STATUS.EMPLOYED) &&\n\t\t\t\t!EmploymentProfile.EmploymentFunctions &&\n\t\t\t\t!PendingOrders.Employment) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.EMPLOYMENT_FUNCTIONS);\n\t\t\t}\n\t\t\tif ((EmploymentProfile.Status === EMPLOYMENT_STATUS.SELF_EMPLOYED || EmploymentProfile.Status === EMPLOYMENT_STATUS.EMPLOYED) &&\n\t\t\t\t(!EmploymentProfile.Address || !EmploymentProfile.Address.FullAddress) &&\n\t\t\t\t!PendingOrders.Employment) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.EMPLOYMENT_ADDRESS);\n\t\t\t}\n\t\t\tif (!PersonalInformation.HasValidPhone && !PendingOrders.Phone) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.PHONE_NUMBER);\n\t\t\t}\n\t\t\tif (!PersonalInformation.HasValidEmail && !PendingOrders.Email) {\n\t\t\t\tmissingDataList.push(InsufficientClientDataKeys.EMAIL_ADDRESS);\n\t\t\t}\n\t\t\treturn missingDataList;\n\t\t};\n\n\t\tconst validatePendingOrders = () => {\n\t\t\tconst pendingOrdersList = [];\n\t\t\tif (PendingOrders.Address) {\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.ADDRESS_RESIDENCE);\n\t\t\t}\n\t\t\tif (PendingOrders.Employment) {\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.EMPLOYMENT_STATUS);\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.PLACE_EMPLOYMENT);\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.EMPLOYMENT_POSITION);\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.EMPLOYMENT_FUNCTIONS);\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.EMPLOYMENT_ADDRESS);\n\t\t\t}\n\t\t\tif (PendingOrders.Phone) {\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.PHONE_NUMBER);\n\t\t\t}\n\t\t\tif (PendingOrders.Email) {\n\t\t\t\tpendingOrdersList.push(InsufficientClientDataKeys.EMAIL_ADDRESS);\n\t\t\t}\n\t\t\treturn pendingOrdersList;\n\t\t};\n\n\t\tconst missingDataList = validateClientData();\n\t\tconst pendingOrdersList = validatePendingOrders();\n\t\tif (missingDataList.length > 0 || pendingOrdersList.length > 0) {\n\t\t\tactions.showClientDataInsufficientModal({ missingList: missingDataList, processingList: pendingOrdersList });\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t};\n\n\tconst marketDataSubscriberHandler = () => {\n\t\tif (!canOpenMarketDataSection()) {\n\t\t\treturn;\n\t\t}\n\t\tactions.showChangeMarketDataSubscriberStatusModal();\n\t};\n\n\tconst marketDataSubscriptionsHandler = () => {\n\t\tif (!canOpenMarketDataSection()) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (userProfile.MarketDataStatus === MarketDataClientStatus.UNDEFINED) {\n\t\t\tactions.showChangeMarketDataSubscriberStatusModal();\n\t\t\treturn;\n\t\t}\n\t\tactions.showChangeMarketDataSubscriptionsModal();\n\t};\n\n\tconst subscriptions = MarketDataSubscriptions.reduce((prev, cur) => ({ ...prev, [cur.MarketDataName]: cur.IsOn }), {});\n\tconst residential = PersonalInformation && PersonalInformation.ResidentialCountry;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{HasMarketDataDisabled && residential === 'RU' ?\n\t\t\t\t\t

Market data is unavailable to you. Please, contact support.

:\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
Market Data Subscriber
\n\t\t\t\t\t\t\t{userProfile.Type !== ClientTypes.INSTITUTIONAL && !PendingOrders.MDSubscription &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
Market Data Subscriptions
\n\t\t\t\t\t\t\t{userProfile.Type !== ClientTypes.INSTITUTIONAL &&\n\t\t\t\t\t\t\t(!PendingOrders.MarketDataStatus || PendingOrders.MDSubscription) &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\n\t\t
\n\t);\n};\n\nMarketDataPanel.propTypes = {\n\tonToggle: PropTypes.func.isRequired,\n\tpanelId: PropTypes.string.isRequired,\n\tisOpen: PropTypes.bool,\n};\n\nMarketDataPanel.defaultProps = {\n\tisOpen: false,\n};\n\nexport default MarketDataPanel;\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport { connect } from 'react-redux';\r\nimport compose from 'recompose/compose';\r\nimport classNames from 'classnames';\r\nimport { profile, userAccounts } from '@redux';\r\nimport { Button, SvgIcon } from '@components';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\theight: '291px',\r\n\t\tdisplay: 'flex',\r\n\t\tflexDirection: 'column',\r\n\t\tjustifyContent: 'space-between',\r\n\t\tborderRadius: '10px',\r\n\t\tpadding: '24px',\r\n\t\tmarginBottom: '24px',\r\n\t\tcolor: theme.typography.color.white,\r\n\t},\r\n\tdescription: {\r\n\t\t...theme.typography.style.title,\r\n\t},\r\n\tsum: {\r\n\t\t...theme.typography.style.headline2,\r\n\t\tpaddingRight: '5px',\r\n\t\tfontWeight: 'normal',\r\n\t},\r\n\tmeasureUnit: {\r\n\t\t...theme.typography.style.body,\r\n\t},\r\n\tbuttonContainer: {\r\n\t\tmarginTop: '12px',\r\n\t},\r\n\tbutton: {\r\n\t\tpadding: '6px 24px',\r\n\t},\r\n\ttariffIcon: {\r\n\t\twidth: '48px',\r\n\t\theight: '48px',\r\n\t},\r\n\tdoneIcon: {\r\n\t\theight: '18px',\r\n\t\tpaddingRight: '5px',\r\n\t\tstroke: theme.typography.color.white,\r\n\t},\r\n\tdisabledButton: {\r\n\t\tdisplay: 'flex',\r\n\t\tcolor: theme.typography.color.white,\r\n\t},\r\n\thiddenButton: {\r\n\t\tvisibility: 'hidden',\r\n\t},\r\n\tlight: {\r\n\t\tbackgroundColor: theme.typography.color.blue,\r\n\t},\r\n\tdark: {\r\n\t\tbackgroundColor: theme.typography.color.primary,\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tshowChangeTariffPerShareModal: () => dispatch(profile.actions.showChangeTariffPerShareModal()),\r\n\t\tshowChangeTariffPerTradeModal: () => dispatch(profile.actions.showChangeTariffPerTradeModal()),\r\n\t\tshowChangeTariffZeroModal: () => dispatch(profile.actions.showChangeTariffZeroModal()),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\ttariffs: userAccounts.selectors.tariffs(state),\r\n});\r\n\r\n\r\nclass TariffCard extends React.Component {\r\n\tchooseTariffHandler = () => {\r\n\t\tif (this.props.info.tariff === 'PerShare') {\r\n\t\t\tthis.props.actions.showChangeTariffPerShareModal();\r\n\t\t}\r\n\t\tif (this.props.info.tariff === 'PerTrade') {\r\n\t\t\tthis.props.actions.showChangeTariffPerTradeModal();\r\n\t\t}\r\n\t\tif (this.props.info.tariff === 'Zero') {\r\n\t\t\tthis.props.actions.showChangeTariffZeroModal();\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\ttheme,\r\n\t\t\tclasses,\r\n\t\t\ttariffs: {\r\n\t\t\t\tActiveTariff,\r\n\t\t\t\tPendingTariff,\r\n\t\t\t},\r\n\t\t\tinfo,\r\n\t\t} = this.props;\r\n\r\n\t\tconst rootCssClass = classNames({\r\n\t\t\t[classes.root]: true,\r\n\t\t\t[classes.light]: info.color === 'light',\r\n\t\t\t[classes.dark]: info.color === 'dark',\r\n\t\t});\r\n\r\n\t\tconst isActive = ActiveTariff === info.tariff;\r\n\t\tconst isPending = PendingTariff === info.tariff;\r\n\t\tconst canChange = !PendingTariff;\r\n\r\n\t\tconst buttonCssClass = classNames({\r\n\t\t\t[classes.buttonContainer]: true,\r\n\t\t\t[classes.hiddenButton]: !(canChange || isActive || isPending),\r\n\t\t});\r\n\r\n\t\tlet buttonText = Choose;\r\n\t\tif (isActive) {\r\n\t\t\tbuttonText = Active;\r\n\t\t}\r\n\t\tif (isPending) {\r\n\t\t\tbuttonText = Pending;\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{info.text}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{info.sum}\r\n\t\t\t\t\t\t{info.measureUnit}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{buttonText}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nTariffCard.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tactions: PropTypes.object.isRequired,\r\n\ttariffs: PropTypes.object.isRequired,\r\n\tinfo: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithTheme,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(TariffCard);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { connect } from 'react-redux';\nimport { push } from 'connected-react-router';\nimport {\n\tprofile,\n\tsignature,\n\tuserAccounts,\n} from '@redux';\nimport compose from 'recompose/compose';\nimport {\n\tChangeLink,\n\tProgressContainer,\n} from '@components';\nimport { InputEditableItem } from '@shared';\n\n\nconst styles = theme => ({\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\tmarginBottom: '30px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\tsplitter: {\n\t\theight: '30px',\n\t},\n\teditable: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'row',\n\t},\n\teditItem: {\n\t\tdisplay: 'flex',\n\t\tpadding: '24px 32px 12px 0',\n\t\ttextAlign: 'right',\n\t},\n\teditValue: {\n\t\tflexGrow: 2,\n\t},\n});\n\nfunction valueOrEmpty(val) {\n\tif (val) return val;\n\treturn '';\n}\n\n\nconst mapStateToProps = state => ({\n\tprofile: profile.selectors.profile(state),\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\taccountInfo: userAccounts.selectors.accountInfo(state),\n\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\n\tuserInfo: userAccounts.selectors.userInfo(state),\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsetCurrentPage: page => dispatch(push(page)),\n\t\tshowProfile: () => dispatch(profile.actions.getProfileRequest()),\n\t\tshowUpgradeAccountModal: (tradeAccount, marginParams) => {\n\t\t\tconst changeAction = userAccounts.actions.showUpgradeAccountModal({ tradeAccount, marginParams });\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t\tshowUpgradeOptionLevelModal: (tradeAccount, marginParams) => {\n\t\t\tconst changeAction = userAccounts.actions.showUpgradeOptionLevelModal({ tradeAccount, marginParams });\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(changeAction));\n\t\t},\n\t},\n});\n\nclass AccountFeatures extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t}\n\n\tshowUpgradeModal = () => {\n\t\tconst { actions, currentTradeAccount, currentAccountData } = this.props;\n\t\tactions.showUpgradeAccountModal(currentTradeAccount, currentAccountData.baseParams.MarginOptionParameters);\n\t}\n\n\tshowUpgradeOptionLevelModal = () => {\n\t\tconst { actions, currentTradeAccount, currentAccountData } = this.props;\n\t\tactions.showUpgradeOptionLevelModal(currentTradeAccount, currentAccountData.baseParams.MarginOptionParameters);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\taccountInfo,\n\t\t\taccountStatus,\n\t\t\tprofile: {\n\t\t\t\tsubmitting,\n\t\t\t},\n\t\t\tcurrentAccountData: {\n\t\t\t\tbaseParams,\n\t\t\t\tsubmitting: paramsSubmitting,\n\t\t\t},\n\t\t} = this.props;\n\n\t\tconst marginType = (baseParams && baseParams.MarginOptionParameters)\n\t\t\t? valueOrEmpty(baseParams.MarginOptionParameters.MarginType) : '';\n\t\tconst optionLevel = (baseParams && baseParams.MarginOptionParameters)\n\t\t\t? valueOrEmpty(baseParams.MarginOptionParameters.OptionLevel) : '';\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tAccount Features\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nAccountFeatures.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n\taccountInfo: PropTypes.object.isRequired,\n\tcurrentAccountData: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n};\n\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(AccountFeatures);\n","import React, { useRef, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport Tabs from '@material-ui/core/Tabs';\nimport Tab from '@material-ui/core/Tab';\nimport { connect } from 'react-redux';\nimport { push } from 'connected-react-router';\nimport { userAccounts } from '@redux';\nimport compose from 'recompose/compose';\nimport { constants, env } from '@config';\nimport { scrollTo } from '@global';\nimport {\n\tA,\n\tProgressContainer,\n\tR,\n} from '@components';\nimport ReportItem from './ReportItem';\nimport TransmissionItems from './TransmissionItems';\nimport { CYReport } from './CYReport';\n\n\nconst styles = theme => ({\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n\ttabsRoot: {\n\t\tborderBottom: '1px solid #deeaef',\n\t},\n\troot: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\tsplitter: {\n\t\theight: '30px',\n\t},\n\treportItem: {\n\t\tmarginBottom: '30px',\n\t}\n});\n\n\nconst mapStateToProps = state => ({\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\treportsAndConfirmations: userAccounts.selectors.reportsAndConfirmations(state),\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsetCurrentPage: page => dispatch(push(page)),\n\t\trefreshReportsAndConfirmations: (account) => {\n\t\t\tdispatch(userAccounts.actions.refreshReportsAndConfirmationsRequest(account));\n\t\t},\n\t},\n});\nconst getStatementLabel = docType =>\n\t[\n\t\t{ DocType: 'Statement', Label: 'Statements' },\n\t\t{ DocType: 'Statement Daily', Label: 'Statements Daily' },\n\t\t{ DocType: 'Statement Monthly', Label: 'Statements Monthly' },\n\t].find(x => x.DocType === docType).Label;\n\nconst ReportsIframe = ({ Url, thirdPartyCookies }) => {\n\tif (!thirdPartyCookies) {\n\t\treturn (\n\t\t\t\n\t\t);\n\t}\n\tconst formReports = useRef(null);\n\tuseEffect(() => {\n\t\tformReports.current.submit();\n\t}, []);\n\treturn (\n\t\t\n\t\t\t
\n\t\t\tIf reports didn't open in new tab try this link\n\t\t\n\t);\n};\n\nclass Reports extends React.Component {\n\tstatic GetDocTypes(clearer) {\n\t\treturn clearer === 'spcfutures' ? ['Statement Daily', 'Statement Monthly'] : ['Statement'];\n\t}\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tcurrentTab: null,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tcurrentTradeAccount,\n\t\t} = this.props;\n\n\t\tactions.refreshReportsAndConfirmations(currentTradeAccount);\n\t}\n\n\tcomponentDidUpdate() {\n\t\tif (this.props.location.hash) {\n\t\t\tscrollTo(this.props.location.hash.substr(1));\n\t\t}\n\t}\n\n\tsetCurrentTab = (event, currentTab) => {\n\t\tthis.setState({ currentTab });\n\t}\n\n\ttoggleOpen = (open) => {\n\t\tconst {\n\t\t\tactions,\n\t\t\tcurrentTradeAccount,\n\t\t} = this.props;\n\n\t\tif (open) {\n\t\t\tactions.refreshReportsAndConfirmations(currentTradeAccount);\n\t\t}\n\t};\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tcurrentTradeAccount,\n\t\t\treportsAndConfirmations: {\n\t\t\t\tloading,\n\t\t\t\tUrl,\n\t\t\t\tDocuments,\n\t\t\t\tTransmissions,\n\t\t\t},\n\t\t} = this.props;\n\t\tconst docTypesToShow = Reports.GetDocTypes(currentTradeAccount.clearerFirm);\n\t\tconst currentTab = this.state.currentTab || docTypesToShow[0];\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{Url && }\n\t\t\t\t\t\t{!Url && Documents &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{docTypesToShow.map((dt, index) => )}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{Transmissions &&\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{Documents.filter(it => it.DocType === currentTab).map((document, index) => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t{currentTab === 'Transmission' && Transmissions && Transmissions.length > 0 &&\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{!Url && Transmissions && Transmissions.length > 0 &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{!Url && !Documents && (!Transmissions || Transmissions.length === 0) &&\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nReports.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tcurrentTradeAccount: PropTypes.object.isRequired,\n\treportsAndConfirmations: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(Reports);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { env } from '@config';\nimport { isNumber, toUsaSizeFormat, toUsaDateFormat } from '@global';\nimport { A, FileDownload } from '@components';\n\n\nconst styles = theme => ({\n\tdocumentContainer: {\n\t\t'&:last-child div': {\n\t\t\tborderBottom: 'none',\n\t\t},\n\t},\n\tdocumentItem: {\n\t\t...theme.typography.style.body,\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\talignItems: 'flex-start',\n\t\tpadding: '0 14px',\n\t\tborderBottom: '1px solid #deeaef',\n\t\t'& div': {\n\t\t\tpadding: '10px',\n\t\t},\n\t\t'&>div:first-child': {\n\t\t\tminWidth: '105px',\n\t\t},\n\t},\n\tdocumentText: {\n\t\tcolor: 'inherit',\n\t\tflexGrow: 2,\n\t},\n\tdownloadProgress: {\n\t\tposition: 'relative',\n\t\ttop: '30px',\n\t\tmarginTop: '-16px',\n\t\tleft: '18px',\n\t},\n\tdownloadRootLoading: {\n\t\tmarginLeft: '-18px',\n\t},\n});\n\n\nclass ReportItem extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\taccount: {\n\t\t\t\ttradeCode,\n\t\t\t\tclearerFirm,\n\t\t\t},\n\t\t\tdocument,\n\t\t\tnodeKey,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{toUsaDateFormat(document.Date)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{document.Name}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{isNumber(document.Size) &&\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{toUsaSizeFormat(document.Size * 1000)}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t
\n\t\t);\n\t}\n}\n\nReportItem.propTypes = {\n\taccount: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tdocument: PropTypes.object.isRequired,\n\tnodeKey: PropTypes.string.isRequired,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n)(ReportItem);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { A } from '@components';\n\n\nconst styles = theme => ({\n\tdocumentContainer: {\n\t\tmarginTop: '20px',\n\t\toverflowX: 'auto',\n\t\t'&:last-child div': {\n\t\t\tborderBottom: 'none',\n\t\t},\n\t},\n\tdocumentItem: {\n\t\t...theme.typography.style.body,\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\talignItems: 'flex-start',\n\t\tpadding: '0 14px',\n\t\tborderBottom: '1px solid #deeaef',\n\t\t'& div': {\n\t\t\tpadding: '10px',\n\t\t},\n\t},\n\tdocumentText: {\n\t\tcolor: 'inherit',\n\t\tflexGrow: 2,\n\t},\n\ttable: {\n\t\t...theme.table.default,\n\t\t'& th': {\n\t\t\t...theme.table.default['& th'],\n\t\t\tpaddingRight: '20px',\n\t\t},\n\t},\n});\n\n\nclass TransmissionItems extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\taccount: {\n\t\t\t\ttradeCode,\n\t\t\t\tclearerFirm,\n\t\t\t},\n\t\t\titems,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{items && items.map((item, index) => (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t))}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\t\t\tDate\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tIssuer\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCUSIP\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tTicker\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tShares\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tDocuments\n\t\t\t\t\t\t\t
{item.FulfillmentDate}{item.SecurityName}{item.CUSIP}{item.Ticker}{item.Shares}\n\t\t\t\t\t\t\t\t\t{item.Documents && item.Documents.map((doc, indx) => (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{doc.Label}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nTransmissionItems.propTypes = {\n\taccount: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\titems: PropTypes.array.isRequired,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n)(TransmissionItems);\n","import React, { useEffect, useState } from 'react';\nimport { useDispatch, useSelector } from \"react-redux\";\nimport moment from 'moment';\n\nimport Grid from '@material-ui/core/Grid';\nimport { makeStyles, useTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\n\n\nimport {\n\tA,\n\tButton,\n\tCheckbox,\n\tDateRangePicker,\n\tExpansionPanel,\n\tFileDownload,\n\tProgressContainer,\n\tShowMore,\n\tSvgIcon,\n\tR,\n} from '@components';\nimport { env } from '@config';\nimport { snackbar, reports, userAccounts } from '@redux';\nimport { CYReportsTable } from './CYReportsTable';\n\nconst useStyles = makeStyles((theme) => {\n\n\tlet filterDefaultSpaces = {\n\t\tmarginRight: '40px',\n\t\twhiteSpace: 'nowrap',\n\t};\n\tlet filterMobileSpaces = {\n\t\tmarginRight: '10px',\n\t\twhiteSpace: 'nowrap',\n\t};\n\n\tlet filtersCss = {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.palette.color.primary.black,\n\t\twidth: '100%',\n\t\tdisplay: 'flex',\n\t\tflexWrap: 'wrap',\n\t\tjustifyContent: 'flex-start',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\t'& > span': filterMobileSpaces,\n\t\t\t'& > div': filterMobileSpaces,\n\t\t},\n\t\t[theme.breakpoints.up('sm')]: {\n\t\t\t'& > span': filterDefaultSpaces,\n\t\t\t'& > div': filterDefaultSpaces,\n\t\t},\n\t};\n\n\treturn {\n\t\tprogress: {\n\t\t\tmarginTop: '3px',\n\t\t},\n\t\titemContainer: {\n\t\t\tpadding: '0 16px',\n\t\t\tmargin: '0px -16px',\n\t\t\t'&:hover': {\n\t\t\t\tbackgroundColor: '#e3edf5',\n\t\t\t},\n\t\t},\n\t\titem: {\n\t\t\tborderBottom: '1px solid #deeaef',\n\t\t\tpadding: '16px 0',\n\t\t},\n\t\treportFilters: filtersCss,\n\t\treportHeader: {\n\t\t\t...filtersCss,\n\t\t\tpadding: '10px 0',\n\t\t\t[theme.breakpoints.up('md')]: {\n\t\t\t\tflexWrap: 'nowrap',\n\t\t\t},\n\t\t},\n\t\trootLoading: {\n\t\t\tdisplay: 'flex',\n\t\t\talignItems: 'center',\n\t\t},\n\t}\n});\n\n\nexport const CYReport = ({}) => {\n\n\tconst theme = useTheme();\n\tconst classes = useStyles();\n\n\tconst [reportsCount, setReportsCount] = useState(5);\n\n\tconst [isLite, setIsLite] = useState(false);\n\tconst [endDate, setEndDate] = useState(new Date());\n\tconst [startDate, setStartDate] = useState(new Date(moment().year(), moment().month() - 2, moment().date()));\n\n\tconst currentTradeAccount = useSelector((state) => userAccounts.selectors.currentTradeAccount(state))\n\tconst accountReports = useSelector((state) => reports.selectors.reports(state))\n\tlet generateSubmitting = useSelector((state) => reports.selectors.generateSubmitting(state))\n\tconst dispatch = useDispatch();\n\n\tuseEffect(() => {\n\t\tdispatch(reports.actions.getBrokerReports.request({ tradeCode: currentTradeAccount.tradeCode }));\n\t}, [currentTradeAccount.tradeCode]);\n\n\tlet showError = message => dispatch(snackbar.actions.showErrorMessage({ text: message }));\n\n\tlet Page = 1;\n\tlet pageSize = 5;\n\n\tlet { Items, submitting } = accountReports;\n\n\n\treturn (\n\t\t\n\t\t\t\t\t{/* Broker Reports */}\n\t\t\t\t\t
\n\t\t\t\t\t\t setEndDate(date)}\n\t\t\t\t\t\t\tonStartDateChange={(date) => setStartDate(date)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\tisCompact\n\t\t\t\t\t\t\tonChange={() => setIsLite(!isLite)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t dispatch(reports.actions.generateBrokerReport.request({ \n\t\t\t\t\t\t\t\tstartDate: moment(startDate).utc().format(), \n\t\t\t\t\t\t\t\tendDate: moment(endDate).utc().format(),\n\t\t\t\t\t\t\t\tisLiteVersion: isLite,\n\t\t\t\t\t\t\t\ttradeCode: currentTradeAccount.tradeCode\n\t\t\t\t\t\t\t}))}\n\t\t\t\t\t\t\tclasses={{ root: classes.rootLoading }}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{generateSubmitting ?\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\n\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t}\n\t\t\tid=\"report-history\"\n\t\t>\n\t\t\t\n\t\t\t\t{Items && \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t 0}\n\t\t\t\t\t\t\t\tonClick={() => setReportsCount(reportsCount + pageSize)}\n\t\t\t\t\t\t\t\tshowMoreButton={Items.length > reportsCount}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t
\n\t\t\n\n\t);\n}","import React from 'react';\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { makeStyles, useTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { env, theme as UsTheme } from '@config';\nimport { toUsaDateFormat } from '@global';\nimport { \n\tA, \n\tFileDownload,\n\tProgressContainer,\n\tR,\n\tShowMore,\n\tSvgIcon \n} from '@components';\n\n\nconst useStyles = makeStyles(theme => ({\n\n\treportLink: {\n\t\tdisplay: 'flex',\n\t\tcursor: 'pointer',\n\t},\n\tcontainer: {\n\t\toverflowX: 'auto',\n\t},\n\tprogress: {\n\n\t},\n\ttable: {\n\t\twidth: '100%',\n\t\tverticalAlign: 'top',\n\t\tborderCollapse: 'collapse',\n\t\t'& th': {\n\t\t\t...theme.typography.style.body,\n\t\t\tcolor: theme.typography.color.secondary,\n\t\t\tpadding: '10px',\n\t\t},\n\t\t'& td': {\n\t\t\tpadding: '10px',\n\t\t},\n\t\t'& tbody': {\n\t\t\tverticalAlign: 'top',\n\t\t},\n\t},\n\ttableRow: {\n\t\tborderBottom: '1px solid #deeaef',\n\t\t'& td': {\n\t\t},\n\t},\n\tprimaryItem: {\n\t\t// ...theme.typography.style.subheadingSm,\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tsecondaryItem: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n}));\n\n\nexport const CYReportsTable = ({ items, submitting, showError }) => {\n\n\tconst theme = useTheme();\n\tconst classes = useStyles();\n\n\tconst getStatus = (reportStatus) => {\n\t\tswitch (reportStatus) {\n\t\tcase 0: return (\t\t\t\t\t\n\t\t\t\n\t\t);\n\t\tcase 1: return ();\n\t\tcase 2: return ();\n\t\tdefault: return 'TEST';\n\t\t}\n\t};\n\t\n\treturn (\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{items && items.map((item, index) => (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t))}\n\t\t\t\n\t\t
\n\t\t\t\t\t\t\t{toUsaDateFormat(item.DateCteate)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
{toUsaDateFormat(item.DateBegin)}
\n\t\t\t\t\t\t\t\t
{toUsaDateFormat(item.DateEnd)}
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{getStatus(item.Status)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{item.Status === 1 && (\n\t\t\t\t\t\t\t\t\t showError((data && data.Errors && data.Errors[0].Message) || data)}\n\t\t\t\t\t\t\t\t\t\tfileName=\"Broker Report.csv\"\n\t\t\t\t\t\t\t\t\t\tbuttonTitle={}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t);\n}\n","import React, { useRef, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { connect } from 'react-redux';\nimport { push } from 'connected-react-router';\nimport { app, userAccounts } from '@redux';\nimport compose from 'recompose/compose';\nimport { ProgressContainer } from '@components';\n\n\nconst styles = theme => ({\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n\troot: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n});\n\n\nconst mapStateToProps = (state) => {\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\n\treturn {\n\t\tplatforms: userAccounts.selectors.platforms(state),\n\t\tloading: userAccounts.selectors.loading(state) || accountInfo.loading,\n\t\tresolution: app.selectors.resolution(state),\n\t\ttradeLogin: (accountInfo && !accountInfo.loading && accountInfo.TradeLogin) || null,\n\t};\n};\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsetCurrentPage: page => dispatch(push(page)),\n\t\trefreshReportsAndConfirmations: (account) => {\n\t\t\tdispatch(userAccounts.actions.refreshReportsAndConfirmationsRequest(account));\n\t\t},\n\t},\n});\nconst useScript = (url, onload) => {\n\tuseEffect(() => {\n\t\tconst script = document.createElement('script');\n\t\tscript.src = url;\n\t\tscript.async = true;\n\t\tscript.onload = onload;\n\t\tdocument.body.appendChild(script);\n\n\t\treturn () => {\n\t\t\tdocument.body.removeChild(script);\n\t\t};\n\t}, [url]);\n};\nconst Terminal = ({ tradeLogin, mobile }) => {\n\tconst divContainer = useRef(null);\n\t// eslint-disable-next-line no-undef\n\tconst initTerminal = containerId => new MetaTraderWebTerminal(containerId, {\n\t\tversion: 5,\n\t\tservers: ['ScorePriority-MT5'],\n\t\tserver: 'ScorePriority-MT5',\n\t\tdemoAllServers: false,\n\t\tutmSource: 'www.scorepriority.com',\n\t\tstartMode: 'login',\n\t\tlanguage: 'en',\n\t\tcolorScheme: 'black_on_white',\n\t\tmobile: mobile || undefined,\n\t\tlogin: tradeLogin || undefined,\n\t});\n\n\tuseScript('https://trade.mql5.com/trade/widget.js', () => {\n\t\tconst { id } = divContainer.current;\n\t\tinitTerminal(id);\n\t});\n\treturn (\n\t\t\n\t\t\t
\n\t\t\n\t);\n};\nTerminal.propTypes = {\n\tmobile: PropTypes.bool.isRequired,\n\ttradeLogin: PropTypes.string,\n};\nTerminal.defaultProps = {\n\ttradeLogin: undefined,\n};\n\nclass TerminalMt5 extends React.Component {\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tloading,\n\t\t\tplatforms: { ActiveTradePlatform },\n\t\t\tresolution,\n\t\t\ttradeLogin,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMT5 Web\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ActiveTradePlatform === 'Mt5Spc' &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nTerminalMt5.propTypes = {\n\tactions: PropTypes.object.isRequired,\n\tclasses: PropTypes.object.isRequired,\n\tloading: PropTypes.bool.isRequired,\n\tplatforms: PropTypes.shape({\n\t\tActiveTradePlatform: PropTypes.string,\n\t}).isRequired,\n\tresolution: PropTypes.number.isRequired,\n\ttradeLogin: PropTypes.string,\n};\n\nTerminalMt5.defaultProps = {\n\ttradeLogin: null,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(TerminalMt5);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Hidden from '@material-ui/core/Hidden';\r\nimport PropTypes from 'prop-types';\r\nimport { withRouter } from 'react-router';\r\nimport { dashboard } from '@redux';\r\nimport Drawer from '@material-ui/core/Drawer';\r\nimport { connect } from 'react-redux';\r\nimport compose from 'recompose/compose';\r\nimport { SidebarContent } from './components';\r\n\r\nconst drawerWidth = 272;\r\nconst maxWidth = 1440;\r\nconst styles = theme => ({\r\n\tdrawerPaper: {\r\n\t\twidth: '272px',\r\n\t\theight: '100%',\r\n\t\t[theme.breakpoints.up('sm')]: {\r\n\t\t\tposition: 'fixed',\r\n\t\t},\r\n\t\t'@media (min-width:1440px)': {\r\n\t\t\tleft: `calc((100vw - ${maxWidth}px) / 2)`,\r\n\t\t},\r\n\t},\r\n\tdrawerContainer: {\r\n\t\twidth: `${drawerWidth}px`,\r\n\t\theight: '100%',\r\n\t\tposition: 'relative',\r\n\t},\r\n\tdrawer: {\r\n\t\twidth: `${drawerWidth}px`,\r\n\t\theight: '100%',\r\n\t\tposition: 'absolute',\r\n\t\ttransform: 'translate3d(0)',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tisSidebarOpen: dashboard.selectors.isSidebarOpen(state),\r\n});\r\n\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tinit: () => dispatch(dashboard.actions.init()),\r\n\t\tsidebarOpen: () => dispatch(dashboard.actions.sidebarOpen()),\r\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose()),\r\n\t},\r\n});\r\n\r\nclass Sidebar extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tisSidebarOpen,\r\n\t\t\tactions,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSidebar.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(Sidebar);\r\n","export { default as SidebarContent } from './SidebarContent/SidebarContent';\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withRouter } from 'react-router';\r\nimport { Route, Switch } from 'react-router-dom';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { Scrollbars } from 'react-custom-scrollbars';\r\nimport { Divider, R, SvgIcon, Button } from '@components';\r\nimport { constants, env } from '@config';\r\nimport { agent, userAccounts } from '@redux';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\n\r\nimport {\r\n\tAccountSelection,\r\n\tAccountActions,\r\n\tLinkedAccountsList,\r\n\tEmptyLinks,\r\n\tQuickLinks,\r\n\tReportsQuickLinks,\r\n\tDocumentsQuickLinks,\r\n} from './components';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tbackgroundColor: '#fff',\r\n\t},\r\n\taccountSelection: {\r\n\t},\r\n\taccountActions: {\r\n\t},\r\n\tlinkedAccountsList: {\r\n\t},\r\n\tactions: {\r\n\t},\r\n\tactionsDivider: {\r\n\t\tpadding: '0 24px',\r\n\t},\r\n\tbuttonsWrapper: {\r\n\t\tmargin: '16px 24px',\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tpartnerCabinetRedirect: () => dispatch(agent.actions.partnerCabinetRedirect.request()),\r\n\t\tagentRegistration: () => dispatch(agent.actions.agentRegistration.request({\r\n\t\t\tAgentRewardType: 'IB',\r\n\t\t\tApplyAgreement: true,\r\n\t\t})),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\taccounts: userAccounts.selectors.accounts(state),\r\n\taccountInfo: userAccounts.selectors.accountInfo(state),\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tagentPartnerCabinetRedirect: agent.selectors.partnerCabinetRedirect(state),\r\n\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\tuserInfoLoading: userAccounts.selectors.loading(state) || userAccounts.selectors.userInfo(state).submitting,\r\n});\r\n\r\n\r\nclass SidebarContent extends React.Component {\r\n\tcomponentWillUnmount() {\r\n\t\tif (!this.props.location.hash) {\r\n\t\t\t// if no Modals when show main scroll for mobiles\r\n\t\t\tdocument.querySelector('body').style.overflow = 'auto';\r\n\t\t} else {\r\n\t\t\t// otherwise - hide main scroll for mobiles\r\n\t\t\tdocument.querySelector('body').style.overflow = 'hidden';\r\n\t\t}\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t\tclasses,\r\n\t\t\tmatch,\r\n\t\t\tagentPartnerCabinetRedirect,\r\n\t\t\tuserInfo,\r\n\t\t\tuserInfoLoading,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t{/* functionality was closed by task WEBCAB-3983\r\n\t\t\t\t\t\t\t\t */}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSidebarContent.propTypes = {\r\n\tactions: PropTypes.object.isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tlocation: PropTypes.object.isRequired,\r\n\tmatch: PropTypes.object.isRequired,\r\n\tagentPartnerCabinetRedirect: PropTypes.object.isRequired,\r\n\tuserInfo: PropTypes.object.isRequired,\r\n\tuserInfoLoading: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(SidebarContent);\r\n","export { default as AccountSelection } from './AccountSelection/AccountSelection';\r\nexport { default as AccountActions } from './AccountActions/AccountActions';\r\nexport { default as LinkedAccountsList } from './LinkedAccountsList/LinkedAccountsList';\r\nexport { default as EmptyLinks } from './QuickLinks/EmptyLinks';\r\nexport { default as QuickLinks } from './QuickLinks/QuickLinks';\r\nexport { default as ProfileQuickLinks } from './QuickLinks/ProfileQuickLinks';\r\nexport { default as ReportsQuickLinks } from './QuickLinks/ReportsQuickLinks';\r\nexport { default as DocumentsQuickLinks } from './QuickLinks/DocumentsQuickLinks';\r\n\r\n","import React from 'react';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport { connect } from 'react-redux';\r\nimport { push } from 'connected-react-router';\r\nimport { dashboard, userAccounts, app } from '@redux';\r\nimport { Select, SvgIcon, R } from '@components';\r\nimport { createQAAttribute, scrollToTop, toUsaMoneyFormat } from '@global';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport { env } from '@config';\r\nimport { AccountStatuses, AccountClearers } from '@enums';\r\nimport bgLogo from './lime_bg_logo.png';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tbackgroundColor: theme.typography.color.primary,\r\n\t\tbackgroundPosition: 'center',\r\n\t\tbackgroundRepeat: 'no-repeat',\r\n\t\tcursor: 'pointer',\r\n\t\tminHeight: '176px',\r\n\t\tpadding: '50px 10px 10px 24px',\r\n\t\t'& > div:first-child, & > div:nth-child(2)': {\r\n\t\t\tdisplay: 'flex',\r\n\t\t\tflexDirection: 'row',\r\n\t\t\tjustifyContent: 'space-between',\r\n\t\t\talignItems: 'center',\r\n\t\t},\r\n\t},\r\n\trootDefaultImg: {\r\n\t\tbackgroundImage: `url(${bgLogo}), linear-gradient(-170deg, #009A63\t0%, #287233 93%)`,\r\n\t},\r\n\tselect: {\r\n\t},\r\n\ttitle: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.white,\r\n\t},\r\n\tequity: {\r\n\t\t...theme.typography.style.headlineSm,\r\n\t\tcolor: theme.typography.color.white,\r\n\t},\r\n\tcurrentAccountContainer: {\r\n\t\tdisplay: 'flex',\r\n\t\talignItems: 'center',\r\n\t\tjustifyContent: 'space-between',\r\n\t\tflexWrap: 'wrap',\r\n\t\tcursor: 'pointer',\r\n\t\t[theme.breakpoints.up('sm')]: {\r\n\t\t\tmarginRight: '-12px',\r\n\t\t},\r\n\t},\r\n\tcurrentAccount: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.white,\r\n\t\tdisplay: 'inline-block',\r\n\t},\r\n\tselectButton: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.white,\r\n\t\tstroke: theme.typography.color.white,\r\n\t},\r\n\tspecialMenuItem: {\r\n\t\tfontSize: '14px',\r\n\t\tcolor: theme.typography.color.secondary,\r\n\t},\r\n\taccountCloseDemoText: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: '#ff6567',\r\n\t\tmarginLeft: '50px',\r\n\t\tfontSize: '1rem',\r\n\t},\r\n\tclosedAccountLabelText: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: '#ff6567',\r\n\t\tfontWeight: '500',\r\n\t\tfontSize: '22px',\r\n\t},\r\n\tsplitterTop: {\r\n\t\tborderTop: '1px solid #deeaef',\r\n\t},\r\n\tsplitterBottom: {\r\n\t\tborderBottom: '1px solid #deeaef',\r\n\t},\r\n\trefreshButton: {\r\n\t\tcolor: theme.typography.color.white,\r\n\t\t[theme.breakpoints.up('sm')]: {\r\n\t\t\tmarginRight: '-12px',\r\n\t\t},\r\n\t},\r\n\tlightToolTip: {\r\n\t\tbackgroundColor: theme.palette.common.white,\r\n\t\tcolor: 'rgba(0, 0, 0, 0.87)',\r\n\t\tboxShadow: theme.shadows[1],\r\n\t\tfontSize: 11,\r\n\t},\r\n});\r\n\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsetCurrentPage: page => dispatch(push(page)),\r\n\t\tsetCurrentAccount: account => dispatch(userAccounts.actions.setCurrentAccount(account)),\r\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose()),\r\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\r\n\t\taddDemoAccount: () => dispatch(userAccounts.actions.addDemoAccount.request()),\r\n\t\tshowResetDemoAccountModal: () => dispatch(userAccounts.actions.showResetDemoAccountModal()),\r\n\t\tshowOpenSecondAccountModal: () => dispatch(userAccounts.actions.showOpenSecondAccountModal()),\r\n\t},\r\n});\r\n\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst paperAccount = userAccounts.selectors.getPaperAccount(state);\r\n\tconst currentAccountObject = userAccounts.selectors.currentAccountObject(state);\r\n\tconst accounts = userAccounts.selectors.accounts(state);\r\n\tconst currentAccount = userAccounts.selectors.currentAccount(state);\r\n\r\n\treturn {\r\n\t\taccounts,\r\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\t\tcurrentAccount,\r\n\t\tcurrentAccountDisplayFullName: userAccounts.selectors.currentAccountDisplayFullName(state),\r\n\t\tcurrentAccountIsDemoOrPaper: userAccounts.selectors.currentAccountIsDemo(state)\r\n\t\t\t|| userAccounts.selectors.currentAccountIsPaper(state),\r\n\t\tloading: userAccounts.selectors.loading(state),\r\n\t\tshowPaperAccountItem: !paperAccount &&\r\n\t\t\taccounts.some(acc => (acc.Status === AccountStatuses.ACTIVE || acc.Status === AccountStatuses.RESTRICTED) &&\r\n\t\t\t!acc.IsDemo && acc.ClearerFirm !== AccountClearers.SPC_FUTURES),\r\n\t\tshowResetButton: (currentAccountObject && currentAccountObject.IsDemo && !currentAccountObject.IsClosed &&\r\n\t\t\t\t(accounts.length !== 1 || !currentAccount.startsWith('dmo-c')))\r\n\t\t\t|| (currentAccountObject && currentAccountObject.IsPaper && !currentAccountObject.IsClosed),\r\n\t\tshowOpenAnotherAccount: accounts.some(acc => !acc.IsClosed && acc.ClearerFirm === AccountClearers.VISION),\r\n\t};\r\n};\r\n\r\nclass AccountSelection extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tshowClosedAccounts: false,\r\n\t\t\tisSelectOpened: false,\r\n\t\t};\r\n\t\tthis.handleChange = this.handleChange.bind(this);\r\n\t\tthis.handleSelectOpen = this.handleSelectOpen.bind(this);\r\n\t}\r\n\r\n\tdontCloseSelect = false;\r\n\r\n\thandleChange(event) {\r\n\t\tif (event.target.value === 'toggleClosedAccounts') {\r\n\t\t\tthis.setState({ showClosedAccounts: !this.state.showClosedAccounts });\r\n\t\t\tthis.dontCloseSelect = true;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (event.target.value === 'addDemoAccount') {\r\n\t\t\tthis.props.actions.addDemoAccount();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (event.target.value === 'openAnotherAccount') {\r\n\t\t\tthis.props.actions.showOpenSecondAccountModal();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst account = this.props.accounts.find(acc => acc.TradeCode === event.target.value);\r\n\t\tthis.props.actions.setCurrentPage('/dashboard');\r\n\t\tthis.props.actions.setCurrentAccount(account);\r\n\t\tscrollToTop();\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\thandleSelectOpen() {\r\n\t\tif (this.dontCloseSelect) {\r\n\t\t\tthis.dontCloseSelect = false;\r\n\t\t\tthis.setState({ isSelectOpened: true });\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.setState({ isSelectOpened: !this.state.isSelectOpened });\r\n\t}\r\n\r\n\thandleResetDemoAccount = () => {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t} = this.props;\r\n\r\n\t\tactions.showResetDemoAccountModal();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tcurrentAccountDisplayFullName,\r\n\t\t\tcurrentAccountData: { baseParams },\r\n\t\t\tcurrentAccountIsDemoOrPaper,\r\n\t\t\tclasses,\r\n\t\t\tloading,\r\n\t\t\taccounts,\r\n\t\t\ttheme,\r\n\t\t\tshowPaperAccountItem,\r\n\t\t\tshowResetButton,\r\n\t\t\tshowOpenAnotherAccount,\r\n\t\t} = this.props;\r\n\t\tlet closedAccountsExist = false;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t{ currentAccountIsDemoOrPaper ?\r\n\t\t\t\t\t\t'Paper money' :\r\n\t\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{ loading || !baseParams ?\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t: baseParams && toUsaMoneyFormat(baseParams.EquityValue)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t{!loading && showResetButton &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t{baseParams && baseParams.IsClosed &&\r\n\t\t\t\t
CLOSED
\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{currentAccountDisplayFullName}\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t {}}\r\n\t\t\t\t\t\tisHidden\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{ env.WEBCAB_5839_allow_demo_account &&\r\n\t\t\t\t\t\t\tshowPaperAccountItem &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tAdd Paper trading account\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t{accounts && accounts.map((account, index) => {\r\n\t\t\t\t\t\t\tif (account.IsClosed) {\r\n\t\t\t\t\t\t\t\tclosedAccountsExist = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (!account.IsClosed || this.props.currentAccount === account.TradeCode || this.state.showClosedAccounts) {\r\n\t\t\t\t\t\t\t\tif (account.IsClosed) {\r\n\t\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t

{account.DisplayFullName || account.TradeCode}

\r\n\t\t\t\t\t\t\t\t\t\t\t

CLOSED

\r\n\t\t\t\t\t\t\t\t\t\t
);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (account.IsDemo || account.IsPaper) {\r\n\t\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t{account.DisplayFullName || account.TradeCode}\r\n\t\t\t\t\t\t\t\t\t\t\tDEMO\r\n\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t{account.DisplayFullName || account.TradeCode}\r\n\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn '';\r\n\t\t\t\t\t\t})}\r\n\t\t\t\t\t\t{showOpenAnotherAccount &&\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tOpen another account\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t{closedAccountsExist &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t{this.state.showClosedAccounts ?\r\n\t\t\t\t\t\t\t\t :\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAccountSelection.propTypes = {\r\n\tcurrentAccount: PropTypes.string.isRequired,\r\n\tcurrentAccountDisplayFullName: PropTypes.string.isRequired,\r\n\tcurrentAccountData: PropTypes.object.isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tloading: PropTypes.bool.isRequired,\r\n\taccounts: PropTypes.array.isRequired,\r\n\tactions: PropTypes.shape({\r\n\t\tsetCurrentAccount: PropTypes.func.isRequired,\r\n\t\taddDemoAccount: PropTypes.func.isRequired,\r\n\t\tsetCurrentPage: PropTypes.func.isRequired,\r\n\t\tsidebarClose: PropTypes.func.isRequired,\r\n\t\tshowOpenSecondAccountModal: PropTypes.func.isRequired,\r\n\t}).isRequired,\r\n\tcurrentAccountIsDemoOrPaper: PropTypes.bool,\r\n\tshowPaperAccountItem: PropTypes.bool.isRequired,\r\n\tshowResetButton: PropTypes.bool,\r\n\ttheme: PropTypes.object.isRequired,\r\n\tshowOpenAnotherAccount: PropTypes.bool.isRequired,\r\n};\r\n\r\nAccountSelection.defaultProps = {\r\n\tcurrentAccountIsDemoOrPaper: false,\r\n\tshowResetButton: false,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\twithTheme,\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(AccountSelection);\r\n","module.exports = __webpack_public_path__ + \"content/assets/3116361057775690c98b0eacd2578034.png\";","/* eslint-disable max-len */\r\nimport React from 'react';\r\nimport {\r\n\twithStyles,\r\n\twithTheme,\r\n} from '@material-ui/core/styles';\r\nimport { withRouter } from 'react-router';\r\nimport { connect } from 'react-redux';\r\nimport { push } from 'connected-react-router';\r\nimport {\r\n\tapp,\r\n\tacatDeposit,\r\n\tdashboard,\r\n\tdepositFunds,\r\n\tprofile,\r\n\tsignature,\r\n\tuserAccounts,\r\n} from '@redux';\r\nimport List from '@material-ui/core/List';\r\nimport ListItemIcon from '@material-ui/core/ListItemIcon';\r\nimport ListItemText from '@material-ui/core/ListItemText';\r\nimport Collapse from '@material-ui/core/Collapse';\r\nimport ExpandLess from '@material-ui/icons/ExpandLess';\r\nimport ExpandMore from '@material-ui/icons/ExpandMore';\r\nimport compose from 'recompose/compose';\r\nimport { constants, env } from '@config';\r\nimport { SvgIcon, ListItem, R } from '@components';\r\nimport { ModalPopups } from '@enums';\r\nimport { addHashToUrl, createQAAttribute, changeHashInUrl, scrollToTop } from '@global';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n\tlistItemText: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tshowDepositFundsModal: (bankAccount, tradeAccount) =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsModal(bankAccount, tradeAccount)),\r\n\t\tsetCurrentPage: page => dispatch(push(page)),\r\n\t\topenReportsPage: (page, account) => {\r\n\t\t\tdispatch(userAccounts.actions.openReportsPage({ page, account }));\r\n\t\t},\r\n\t\tshowAcatDepositModal: (toUserAccount) => {\r\n\t\t\tconst acatDepositAction = acatDeposit.actions.showAcatDepositModal(toUserAccount);\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(acatDepositAction));\r\n\t\t},\r\n\t\tshowNonTradingOrderCommon: () => dispatch(app.actions.showBaseModal(ModalPopups.CY_NON_TRADING_ORDER_COMMON)),\r\n\t\tshowNonTradingOpenAccount: () => dispatch(app.actions.showBaseModal(ModalPopups.CY_NON_TRADING_OPEN_ACCOUNT)),\r\n\t\tshowNonTradingOpenDemoAccount: () => dispatch(app.actions.showBaseModal(ModalPopups.CY_NON_TRADING_OPEN_DEMO_ACCOUNT)),\r\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose()),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\taccounts: userAccounts.selectors.accounts(state),\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\tselectedAccount: userAccounts.selectors.selectedAccount(state),\r\n\tcurrentAccountStatus: userAccounts.selectors.currentAccountStatus(state),\r\n\tuserProfile: profile.selectors.profile(state),\r\n\tlanguage: app.selectors.language(state),\r\n});\r\n\r\nclass AccountActions extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\topenSubMenu: null,\r\n\t\t};\r\n\t}\r\n\tredirectModal = (from, to) => {\r\n\t\tthis.props.history.push(changeHashInUrl(this.props.location, from, to));\r\n\t}\r\n\r\n\tshowDepositFundsModal = () => {\r\n\t\tconst achBankAccount = this.props.linkedAccounts && this.props.linkedAccounts.find(it => it.Type === 'ACH');\r\n\t\tif (achBankAccount) {\r\n\t\t\tthis.props.actions.showDepositFundsModal(\r\n\t\t\t\tachBankAccount,\r\n\t\t\t\tthis.props.currentTradeAccount,\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tthis.redirectModal(ModalPopups.PLAID_SELECT_ACCOUNT, ModalPopups.ADD_BANK_ACCOUNT);\r\n\t\t}\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\tshowAcatDepositModal = () => {\r\n\t\tthis.props.actions.showAcatDepositModal(this.props.currentTradeAccount);\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\tshowNonTradingOrderCommonModal = () => {\r\n\t\tthis.props.actions.showNonTradingOrderCommon();\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\tshowNonTradingOpenDemoAccountModal = () => {\r\n\t\tthis.props.actions.showNonTradingOpenDemoAccount();\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\tshowNonTradingOpenAccountModal = () => {\r\n\t\tthis.props.actions.showNonTradingOpenAccount();\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\tshowReportsPage = path => () => {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t} = this.props;\r\n\t\tif (currentTradeAccount.clearerFirm === 'cor') {\r\n\t\t\tactions.openReportsPage(path, currentTradeAccount);\r\n\t\t} else {\r\n\t\t\tactions.setCurrentPage(path);\r\n\t\t}\r\n\t\tscrollToTop();\r\n\t\tactions.sidebarClose();\r\n\t}\r\n\tshowPage = path => () => {\r\n\t\tthis.props.actions.setCurrentPage(path);\r\n\t\tscrollToTop();\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\tshowDemoAccounts = () => {\r\n\t\tthis.showPage('/dashboard');\r\n\t}\r\n\tshowModal = (id) => {\r\n\t\tthis.props.history.push(addHashToUrl(this.props.location, id));\r\n\t}\r\n\r\n\thandleOpenSubMenu = (key) => {\r\n\t\tconst { openSubMenu } = this.state;\r\n\t\tif (openSubMenu === key) {\r\n\t\t\tthis.setState({ openSubMenu: null });\r\n\t\t} else {\r\n\t\t\tthis.setState({ openSubMenu: key });\r\n\t\t}\r\n\t};\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tlanguage,\r\n\t\t\ttheme,\r\n\t\t\tclasses,\r\n\t\t\tcurrentAccountStatus,\r\n\t\t\tuserInfo,\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tbaseParams,\r\n\t\t\t},\r\n\t\t\tselectedAccount,\r\n\t\t} = this.props;\r\n\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t{userInfo.IsPreopened &&\r\n\t\t\t\t\t\t this.showModal(ModalPopups.WELCOME_PAGE)} className=\"QA-WelcomePage\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{/* {!(baseParams && baseParams.IsCashAccount) &&\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t} */}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t{!((baseParams && baseParams.IsCashAccount) || (selectedAccount && (selectedAccount.IsDemo || selectedAccount.IsPaper))) &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t{!(baseParams && baseParams.IsCashAccount) &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{/* functionality was closed by task WEBCAB-5925\r\n\t\t\t\t\t{clearerFirm !== 'spcfutures' &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} */}\r\n\t\t\t\t\t{currentAccountStatus.CanFund && currentAccountStatus.CanAcat &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t{/* functionality was closed by task WEBCAB-3983 */}\r\n\t\t\t\t\t{/* \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t */}\r\n\t\t\t\t\t{env.WEBCAB_3434_tradingAssistance &&\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAccountActions.propTypes = {\r\n\tlanguage: PropTypes.string.isRequired,\r\n\ttheme: PropTypes.object.isRequired,\r\n\tclasses: PropTypes.object.isRequired,\r\n\tcurrentAccountStatus: PropTypes.object.isRequired,\r\n\tuserInfo: PropTypes.object.isRequired,\r\n\tselectedAccount: PropTypes.object,\r\n\thistory: PropTypes.object.isRequired,\r\n\tlinkedAccounts: PropTypes.array.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tlocation: PropTypes.object.isRequired,\r\n\tactions: PropTypes.shape({\r\n\t\tshowDepositFundsModal: PropTypes.func.isRequired,\r\n\t\tsidebarClose: PropTypes.func.isRequired,\r\n\t\tshowAcatDepositModal: PropTypes.func.isRequired,\r\n\t\tshowNonTradingOrderCommon: PropTypes.func.isRequired,\r\n\t\tshowNonTradingOpenDemoAccount: PropTypes.func.isRequired,\r\n\t\tshowNonTradingOpenAccount: PropTypes.func.isRequired,\r\n\t\tsetCurrentPage: PropTypes.func.isRequired,\r\n\t}).isRequired,\r\n\tcurrentAccountData: PropTypes.shape({\r\n\t\tbaseParams: PropTypes.object,\r\n\t}),\r\n};\r\n\r\nAccountActions.defaultProps = {\r\n\tselectedAccount: null,\r\n\tcurrentAccountData: PropTypes.shape({\r\n\t\tbaseParams: null,\r\n\t}),\r\n};\r\n\r\n\r\nexport default compose(\r\n\twithRouter,\r\n\twithStyles(styles),\r\n\twithTheme,\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(AccountActions);\r\n","import React from 'react';\r\nimport { withStyles, withTheme } from '@material-ui/core/styles';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport { withRouter } from 'react-router';\r\nimport { connect } from 'react-redux';\r\nimport { dashboard, depositFunds, userAccounts } from '@redux';\r\nimport { changeHashInUrl, createQAAttribute, toUsaMoneyFormat } from '@global';\r\nimport {\r\n\tBankLogo,\r\n\tList,\r\n\tListItemText,\r\n\tListItem,\r\n\tListItemIcon,\r\n} from '@components';\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tmaxHeight: '128px',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\tlinkedAccounts: userAccounts.selectors.linkedAccounts(state),\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tshowDepositFundsModal: (bankAccount, tradeAccount) =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsModal(bankAccount, tradeAccount)),\r\n\t\tshowDepositFundsWireModal: bankAccount =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsWireModal(bankAccount)),\r\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose()),\r\n\t},\r\n});\r\n\r\nclass LinkedAccountsList extends React.Component {\r\n\tredirectModal = (from, to) => {\r\n\t\tthis.props.history.push(changeHashInUrl(this.props.location, from, to));\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\tshowDepositModal = (bankAccount) => {\r\n\t\tif (bankAccount.Type === 'ACH') {\r\n\t\t\tthis.props.actions.showDepositFundsModal(\r\n\t\t\t\tbankAccount,\r\n\t\t\t\tthis.props.currentTradeAccount,\r\n\t\t\t);\r\n\t\t} else if (bankAccount.Type === 'WIRE') {\r\n\t\t\tthis.props.actions.showDepositFundsWireModal(bankAccount);\r\n\t\t}\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\tgaDepositUrl = (bankAccount) => {\r\n\t\tif (bankAccount.Type === 'ACH') {\r\n\t\t\treturn '/deposit/ach/';\r\n\t\t} else if (bankAccount.Type === 'WIRE') {\r\n\t\t\treturn '/deposit/wire/';\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst { linkedAccounts } = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t{linkedAccounts.map((account, index) => (\r\n\t\t\t\t\t\t this.showDepositModal(account)}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t))}\r\n\t\t\t\t\t{/* connect new account link\r\n\t\t\t\t\t\t{(!linkedAccounts || linkedAccounts.length === 0) &&\r\n\t\t\t\t\t\t this.redirectModal(ModalPopups.PLAID_SELECT_ACCOUNT, ModalPopups.ADD_BANK_ACCOUNT)}\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tConnect a New
Bank Account}\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} */}\r\n\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nLinkedAccountsList.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\thistory: PropTypes.object.isRequired,\r\n\tlinkedAccounts: PropTypes.array.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\twithTheme,\r\n\twithRouter,\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(LinkedAccountsList);\r\n","import React from 'react';\n\nclass EmptyLinks extends React.Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default EmptyLinks;\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { connect } from 'react-redux';\r\nimport List from '@material-ui/core/List';\r\nimport ListItem from '@material-ui/core/ListItem';\r\nimport ListItemText from '@material-ui/core/ListItemText';\r\nimport compose from 'recompose/compose';\r\nimport { env } from '@config';\r\nimport { dashboard, userAccounts } from '@redux';\r\nimport { scrollTo } from '@global';\r\nimport { R } from '@components';\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n\tlistItemText: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose()),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n});\r\n\r\nclass QuickLinks extends React.Component {\r\n\tscrollTo = (elementId) => {\r\n\t\tscrollTo(elementId);\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tbaseParams,\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('dashboard-top')} className=\"QA-OverviewButton\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('current-holdings')} className=\"QA-PortfolioButton\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('transaction-history')} className=\"QA-TransactionsHistoryButton\">\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tdisableTypography\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('corporate-actions')} className=\"QA-CorporateActionsButton\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nQuickLinks.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(QuickLinks);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport List from '@material-ui/core/List';\r\nimport ListItem from '@material-ui/core/ListItem';\r\nimport ListItemText from '@material-ui/core/ListItemText';\r\nimport compose from 'recompose/compose';\r\nimport { connect } from 'react-redux';\r\nimport { dashboard, userAccounts } from '@redux';\r\nimport { scrollTo } from '@global';\r\n\r\nconst styles = theme => ({\r\n\troot: {},\r\n\tlistItemText: {\r\n\t\t...theme.typography.style.body,\r\n\t\tcolor: theme.typography.color.primary,\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\ttariffs: userAccounts.selectors.tariffs(state),\r\n});\r\n\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose())\r\n\t},\r\n});\r\n\r\nclass ProfileQuickLinks extends React.Component {\r\n\tscrollTo = (elementId) => {\r\n\t\tscrollTo(elementId);\r\n\t\tthis.props.actions.sidebarClose();\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\ttariffs,\r\n\t\t} = this.props;\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('dashboard-top')}>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('profile-personal-information')}>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('profile-employment')}>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('profile-documents')}>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('profile-investment-profile')}>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t this.scrollTo('profile-investment-experience')}>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{tariffs &&\r\n\t\t\t\t\t\t this.scrollTo('profile-commission-plan')}>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nProfileQuickLinks.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(ProfileQuickLinks);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport List from '@material-ui/core/List';\nimport ListItem from '@material-ui/core/ListItem';\nimport ListItemText from '@material-ui/core/ListItemText';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { dashboard } from '@redux';\nimport { scrollTo } from '@global';\n\nconst styles = theme => ({\n\troot: {},\n\tlistItemText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose())\n\t},\n});\n\nclass ReportsQuickLinks extends React.Component {\n\tscrollTo = (elementId) => {\n\t\tscrollTo(elementId);\n\t\tthis.props.actions.sidebarClose();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t} = this.props;\n\t\treturn (\n\t\t\t
\n\t\t);\n\t}\n}\n\nReportsQuickLinks.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(null, mapDispatchToProps),\n)(ReportsQuickLinks);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport List from '@material-ui/core/List';\nimport ListItem from '@material-ui/core/ListItem';\nimport ListItemText from '@material-ui/core/ListItemText';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { dashboard, profile, userAccounts } from '@redux';\nimport { scrollTo } from '@global';\n\nconst styles = theme => ({\n\troot: {},\n\tlistItemText: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n});\n\nconst mapStateToProps = state => ({\n\ttariffs: userAccounts.selectors.tariffs(state),\n\tprofile: profile.selectors.profile(state),\n});\n \nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsidebarClose: () => dispatch(dashboard.actions.sidebarClose())\n\t},\n});\n\nclass DocumentsQuickLinks extends React.Component {\n\tscrollTo = (elementId) => {\n\t\tscrollTo(elementId);\n\t\tthis.props.actions.sidebarClose();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tprofile: {\n\t\t\t\tsubmitting,\n\t\t\t\tTaxForms: DocTaxFoms,\n\t\t\t},\n\t\t} = this.props;\n\t\treturn (\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{!submitting && DocTaxFoms && DocTaxFoms.length > 0 &&\n\t\t\t\t\t\t this.scrollTo('tax-forms')}>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t this.scrollTo('profile-documents')}>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t this.scrollTo('disclosures')}>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nDocumentsQuickLinks.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tprofile: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(DocumentsQuickLinks);\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport PropTypes from 'prop-types';\r\nimport MUISnackbar from '@material-ui/core/Snackbar';\r\nimport { connect } from 'react-redux';\r\nimport compose from 'recompose/compose';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport blue from '@material-ui/core/colors/blue';\r\nimport { Button, SvgIcon } from '@components';\r\nimport { snackbar } from '@redux';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tbackgroundColor: theme.typography.color.pink,\r\n\t\tcolor: theme.palette.color.secondary.downDark,\r\n\t\tflexWrap: 'nowrap',\r\n\t},\r\n\tsuccess: {\r\n\t\tbackgroundColor: blue[50],\r\n\t\tcolor: theme.typography.color.darkBlue,\r\n\t\tflexWrap: 'nowrap',\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = state => ({\r\n\tsnackbarInfo: snackbar.selectors.snackbarInfo(state),\r\n});\r\n\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\thide: () => dispatch(snackbar.actions.hideErrorMessage()),\r\n\t},\r\n});\r\n\r\nclass Snackbar extends React.Component {\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\ttextColor,\r\n\t\t\tbgColor,\r\n\t\t\thasHtml,\r\n\t\t\tsnackbarInfo: {\r\n\t\t\t\tisVisible,\r\n\t\t\t\tmessage,\r\n\t\t\t},\r\n\t\t\tactions,\r\n\t\t} = this.props;\r\n\t\t\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t{message.title &&\r\n\t\t\t\t\t\t\t\t

{message.title}

\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t{/* eslint-disable-next-line react/no-danger */}\r\n\t\t\t\t\t\t\t{message.hasHtml &&\t
}\r\n\t\t\t\t\t\t\t{!message.hasHtml &&

{message.text}

}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t}\r\n\t\t\t\t\taction={\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t/>\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nSnackbar.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\ttextColor: PropTypes.string,\r\n\thasHtml: PropTypes.bool,\r\n};\r\n\r\nSnackbar.defaultProps = {\r\n\ttextColor: '#fff',\r\n\thasHtml: false,\r\n};\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(Snackbar);\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { connect } from 'react-redux';\nimport compose from 'recompose/compose';\nimport {\n\tExpansionPanel,\n\tProgressContainer,\n\tShowMore,\n} from '@components';\nimport { analytics } from '@redux';\nimport { EarningsTable, MostActiveTable } from './components';\n\n\nconst styles = theme => ({\n\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\ttable: {\n\t\toverflowX: 'auto',\n\t\tcolor: theme.typography.color.primary,\n\t},\n});\n\nconst mapStateToProps = state => ({\n\tearningsToday: analytics.selectors.earningsToday(state),\n\tmostActive: analytics.selectors.mostActive(state),\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tgetEarnings: (page, pageSize) => dispatch(analytics.actions.getEarningsTodayRequest(page, pageSize)),\n\t\tgetMostActive: (page, pageSize) => dispatch(analytics.actions.getMostActiveRequest(page, pageSize)),\n\t},\n});\n\nclass TradingAssistance extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\n\t\tthis.earningsPageSige = 5;\n\t\tthis.mostActivePageSige = 5;\n\n\t\tthis.state = {\n\t\t\tearningsCount: this.earningsPageSige,\n\t\t\tmostActiveCount: this.mostActivePageSige,\n\t\t};\n\t}\n\n\tcomponentDidMount() {\n\t\tconst {\n\t\t\tearningsToday,\n\t\t\tmostActive,\n\t\t} = this.props;\n\t\tif (!earningsToday.earnings || earningsToday.earnings.length === 0) {\n\t\t\tthis.props.actions.getEarnings();\n\t\t}\n\t\tif (!mostActive.items || mostActive.items.length === 0) {\n\t\t\tthis.props.actions.getMostActive();\n\t\t}\n\t}\n\n\tearningsShowMore = () => {\n\t\tthis.setState({\n\t\t\tearningsCount: this.state.earningsCount + this.earningsPageSige,\n\t\t});\n\t}\n\n\tearningsShowLess = () => {\n\t\tif (this.state.earningsCount > this.earningsPageSige) {\n\t\t\tthis.setState({\n\t\t\t\tearningsCount: this.state.earningsCount - this.earningsPageSige,\n\t\t\t});\n\t\t}\n\t}\n\n\tmostActiveShowMore = () => {\n\t\tthis.setState({\n\t\t\tmostActiveCount: this.state.mostActiveCount + this.mostActivePageSige,\n\t\t});\n\t}\n\n\tmostActiveShowLess = () => {\n\t\tif (this.state.mostActiveCount > this.mostActivePageSige) {\n\t\t\tthis.setState({\n\t\t\t\tmostActiveCount: this.state.mostActiveCount - this.mostActivePageSige,\n\t\t\t});\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tearningsToday,\n\t\t\tmostActive,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tTrading Assistance\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{earningsToday && earningsToday.earnings &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t this.earningsPageSige}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{mostActive && mostActive.items &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t this.mostActivePageSige}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t);\n\t}\n}\n\nTradingAssistance.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n\tearningsToday: PropTypes.object.isRequired,\n\tmostActive: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(TradingAssistance);\n","export { default as EarningsTable } from './EarningsTable';\nexport { default as MostActiveTable } from './MostActiveTable';\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { A } from '@components';\nimport { toUsaDateFormat } from '@global';\n\nconst styles = theme => ({\n\ttitle: {\n\t\t...theme.typography.style.subheading,\n\t},\n\ttable: {\n\t\twidth: '100%',\n\t\tverticalAlign: 'top',\n\t\tborderCollapse: 'collapse',\n\t\t'& th': {\n\t\t\t...theme.typography.style.body,\n\t\t\tcolor: theme.typography.color.secondary,\n\t\t\tpadding: '10px',\n\t\t\tverticalAlign: 'top',\n\t\t\ttextAlign: 'center',\n\t\t},\n\t\t'& td': {\n\t\t\tpadding: '10px',\n\t\t\ttextAlign: 'center',\n\t\t},\n\t\t'& tbody': {\n\t\t\tverticalAlign: 'top',\n\t\t},\n\t},\n\ttableRow: {\n\t\tborderBottom: '1px solid #deeaef',\n\t\t'& td': {\n\t\t},\n\t},\n\tdateCol: {\n\t\twhiteSpace: 'nowrap',\n\t},\n});\n\n\nclass EarningsTable extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tdata,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tif (!data || !Array.isArray(data) || data.length === 0) {\n\t\t\treturn (

No Earnings Today

);\n\t\t}\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t

* = BTO - Before open, MDT - During trading, AMC - After close

\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{data && data.map((item, index) => (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t))}\n\t\t\t\t\t\n\t\t\t\t
TickerSectorIndustryReport DateActual EPSConsensus EPSEstimated EPSAnnounce Time*EPS SurpriseFiscal PeriodFiscal End Date
\n\t\t\t\t\t\t\t\t\t{item.Symbol}\n\t\t\t\t\t\t\t\t{item.Sector}\n\t\t\t\t\t\t\t\t{toUsaDateFormat(item.EpsReportDate)}{item.ActualEps}{item.ConsensusEps}{item.EstimatedEps}{item.AnnounceTime}{item.EpsSurpriseDollar}{item.FiscalPeriod}{toUsaDateFormat(item.FiscalEndDate)}
\n\t\t\t
\n\t\t);\n\t}\n}\n\nEarningsTable.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tdata: PropTypes.array.isRequired,\n};\n\nexport default compose(withStyles(styles))(EarningsTable);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport { A } from '@components';\nimport { toUsaFormat, toUsaBigNumFormat, toUsaDateFormat } from '@global';\n\nconst styles = theme => ({\n\ttitle: {\n\t\t...theme.typography.style.subheading,\n\t},\n\ttable: {\n\t\twidth: '100%',\n\t\tverticalAlign: 'top',\n\t\tborderCollapse: 'collapse',\n\t\t'& th': {\n\t\t\t...theme.typography.style.body,\n\t\t\tcolor: theme.typography.color.secondary,\n\t\t\tpadding: '10px',\n\t\t\tverticalAlign: 'top',\n\t\t\ttextAlign: 'right',\n\t\t},\n\t\t'& td': {\n\t\t\tpadding: '10px',\n\t\t\ttextAlign: 'right',\n\t\t},\n\t\t'& tbody': {\n\t\t\tverticalAlign: 'top',\n\t\t},\n\t},\n\ttableRow: {\n\t\tborderBottom: '1px solid #deeaef',\n\t\t'& td': {\n\t\t},\n\t},\n\tdateCol: {\n\t\twhiteSpace: 'nowrap',\n\t},\n\tnumCol: {\n\t\tminWidth: '85px',\n\t\twidth: '85px',\n\t},\n});\n\n\nclass MostActiveTable extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tdata,\n\t\t\tclasses,\n\t\t} = this.props;\n\n\t\tif (!data || !Array.isArray(data) || data.length === 0) {\n\t\t\treturn (

No Most Active Today

);\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t{data && data.map((item, index) => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t))}\n\t\t\t\t\n\t\t\t
TickerLastMarket CapP/E Ratio HighP/E Ratio LowLatest EPSLatest EPS DateEPS SurpriseConsensus EPSttm EPSDividend RateDividend YieldReturn on EquityReturn on AssetsEBITDARevenueGross ProfitCashDebtProfit Margin
\n\t\t\t\t\t\t\t\t{item.Symbol}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{toUsaBigNumFormat(item.MarketCapital)}{toUsaFormat(item.PeRatioHigh)}{toUsaFormat(item.PeRatioLow)}{toUsaFormat(item.LatestEps)}{toUsaDateFormat(item.LatestEpsDate)}{toUsaFormat(item.EpsSurprisePercent)}{toUsaFormat(item.ConsensusEps)}{toUsaFormat(item.TtmEps)}{toUsaFormat(item.DividendRate)}{toUsaFormat(item.DividendYield)}{toUsaFormat(item.ReturnOnEquity)}{toUsaFormat(item.ReturnOnAssets)}{toUsaBigNumFormat(item.Ebitda)}{toUsaBigNumFormat(item.Revenue)}{toUsaBigNumFormat(item.GrossProfit)}{toUsaBigNumFormat(item.Cash)}{toUsaBigNumFormat(item.Debt)}{toUsaFormat(item.ProfitMargin)}
\n\t\t);\n\t}\n}\n\nMostActiveTable.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tdata: PropTypes.array.isRequired,\n};\n\nexport default compose(withStyles(styles))(MostActiveTable);\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { Route, Switch } from 'react-router-dom';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { ProgressContainer, R } from '@components';\nimport { constants, env } from '@config';\nimport { userAccounts } from '@redux';\nimport { CashManagement } from './components';\nimport { PaymentGateCallback } from './components/CashManagement/PaymentGateCallback';\n\nconst styles = theme => ({\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\tmarginBottom: '30px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\tcontentItem: {\n\t\tmarginBottom: '30px',\n\t},\n\tendItem: {\n\t\theight: '30px',\n\t},\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\t...theme.typography.color.primary,\n\t\tpadding: '8px 0',\n\t},\n});\n\nconst mapStateToProps = state => ({\n\taccountInfo: userAccounts.selectors.accountInfo(state),\n});\n\n\nclass CashManagementContent extends React.Component {\n\trender() {\n\t\tconst { \n\t\t\tclasses,\n\t\t\taccountInfo,\n\t\t\tmatch,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t } />\n\t\t\t\t\t\t } />\n\t\t\t\t\t\t } />\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nCashManagementContent.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithStyles(styles),\n\tconnect(mapStateToProps, null),\n)(CashManagementContent);\n","export { default as CashManagement } from './CashManagement/CashManagement';\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport compose from 'recompose/compose';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n\tapp,\r\n\tdepositFunds,\r\n\tlinkedAccounts,\r\n\tsignature,\r\n\tuserAccounts,\r\n\twithdrawFunds,\r\n\tprofile,\r\n} from '@redux';\r\nimport { env } from '@config';\r\nimport { AccountType } from '@enums';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { BankAccountItem } from './components';\r\n\r\n\r\nconst styles = theme => ({\r\n\troot: {\r\n\t\tdisplay: 'flex',\r\n\t},\r\n\tdanger: {\r\n\t\t...theme.typography.style.title,\r\n\t\tcolor: theme.typography.color.red,\r\n\t},\r\n\titemContainer: {\r\n\t\tpadding: '0 16px',\r\n\t\tmargin: '0px -16px',\r\n\t\t'&:hover': {\r\n\t\t\tbackgroundColor: '#e3edf5',\r\n\t\t},\r\n\t},\r\n\tlistItemContainer: {\r\n\t\tpadding: '0 16px',\r\n\t\tmargin: '0px -16px',\r\n\t},\r\n\tlistConnectItemContainer: {\r\n\t\tpadding: '0 16px',\r\n\t\tmargin: '3px -16px',\r\n\t},\r\n\titem: {\r\n\t\tborderBottom: '1px solid #deeaef',\r\n\t\tpadding: '10px 0',\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tshowDepositFundsModal: (bankAccount, tradeAccount) =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsModal(bankAccount, tradeAccount)),\r\n\t\tshowDepositFundsBrokerModal: (bankAccount, tradeAccount) =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsBrokerModal(bankAccount, tradeAccount)),\r\n\t\tshowDepositFundsIraModal: () => dispatch(depositFunds.actions.showDepositFundsIraModal()),\r\n\t\tshowDepositFundsWireModal: bankAccount =>\r\n\t\t\tdispatch(depositFunds.actions.showDepositFundsWireModal(bankAccount)),\r\n\t\tshowWithdrawFundsAchModal: (fromUserAccount, toBankAccount) =>\r\n\t\t\tdispatch(withdrawFunds.actions.showWithdrawFundsAchModal(fromUserAccount, toBankAccount)),\r\n\t\tshowWithdrawFundsWireModal: (fromUserAccount, toBankAccount) => {\r\n\t\t\tconst wireWithdrawalAction =\r\n\t\t\t\twithdrawFunds.actions.showWithdrawFundsWireModal(fromUserAccount, toBankAccount);\r\n\t\t\tdispatch(signature.actions.collectSignaturesProcessStart(wireWithdrawalAction));\r\n\t\t},\r\n\t\tshowWithdrawFundsBrokerModal: (fromUserAccount, toBankAccount) =>\r\n\t\t\tdispatch(withdrawFunds.actions.showWithdrawFundsBrokerModal(fromUserAccount, toBankAccount)),\r\n\t\tshowWithdrawFundsIraModal: () => dispatch(withdrawFunds.actions.showWithdrawFundsIraModal()),\r\n\t\tshowConfirmModal: payload => dispatch(app.actions.showConfirmModal(payload)),\r\n\t\tachUnlinkBankAccount: payload => dispatch(linkedAccounts.actions.achUnlinkBankAccount.request(payload)),\r\n\t\twireUnlinkBankAccount: payload => dispatch(linkedAccounts.actions.wireUnlinkBankAccount.request(payload)),\r\n\t\tshowActualAddressMissedModal: () => dispatch(profile.actions.showActualAddressMissedModal()),\r\n\t},\r\n});\r\n\r\nconst mapStateToProps = (state) => {\r\n\tconst accountInfo = userAccounts.selectors.accountInfo(state);\r\n\treturn {\r\n\t\tuserLinkedAccounts: userAccounts.selectors.linkedAccounts(state),\r\n\t\taccountStatus: userAccounts.selectors.currentAccountStatus(state),\r\n\t\tcurrentAccountData: userAccounts.selectors.currentAccountData(state),\r\n\t\tcurrentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\r\n\t\tuserInfo: userAccounts.selectors.userInfo(state),\r\n\t\tprofile: profile.selectors.profile(state),\r\n\t\taccountInfo,\r\n\t};\r\n};\r\n\r\nclass CashManagement extends React.Component {\r\n\tshowDepositFundsModal = (bankAccount) => {\r\n\t\tconst { actions, currentTradeAccount } = this.props;\r\n\t\tswitch (bankAccount.Type) {\r\n\t\t\tcase AccountType.ACH:\r\n\t\t\t\tactions.showDepositFundsModal(\r\n\t\t\t\t\tbankAccount,\r\n\t\t\t\t\tcurrentTradeAccount,\r\n\t\t\t\t);\r\n\t\t\t\tbreak;\r\n\t\t\tcase AccountType.WIRE:\r\n\t\t\t\tactions.showDepositFundsWireModal(bankAccount);\r\n\t\t\t\tbreak;\r\n\t\t\tcase AccountType.BROKER:\r\n\t\t\t\tactions.showDepositFundsBrokerModal(\r\n\t\t\t\t\tbankAccount,\r\n\t\t\t\t\tcurrentTradeAccount,\r\n\t\t\t\t);\r\n\t\t\t\tbreak;\r\n\t\t\tcase AccountType.IRA:\r\n\t\t\t\tactions.showDepositFundsIraModal();\r\n\t\t\t\tbreak;\r\n\t\t\tdefault: break;\r\n\t\t}\r\n\t}\r\n\r\n\tshowWithdrawFundsModal = (bankAccount) => {\r\n\t\tconst {\r\n\t\t\tactions,\r\n\t\t\tcurrentTradeAccount,\r\n\t\t\tprofile: {\r\n\t\t\t\tPersonalInformation: {\r\n\t\t\t\t\tHasValidActualAddress,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t} = this.props;\r\n\t\tconst userAccount = {\r\n\t\t\ttradeCode: currentTradeAccount.tradeCode,\r\n\t\t\tclearer: currentTradeAccount.clearerFirm,\r\n\t\t};\r\n\t\tswitch (bankAccount.Type) {\r\n\t\t\tcase AccountType.ACH:\r\n\t\t\t\tactions.showWithdrawFundsAchModal(userAccount, bankAccount);\r\n\t\t\t\tbreak;\r\n\t\t\tcase AccountType.WIRE:\r\n\t\t\t\tif (!HasValidActualAddress) {\r\n\t\t\t\t\tactions.showActualAddressMissedModal();\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tactions.showWithdrawFundsWireModal(userAccount, bankAccount);\r\n\t\t\t\tbreak;\r\n\t\t\tcase AccountType.BROKER:\r\n\t\t\t\tactions.showWithdrawFundsBrokerModal(userAccount, bankAccount);\r\n\t\t\t\tbreak;\r\n\t\t\tcase AccountType.IRA:\r\n\t\t\t\tactions.showWithdrawFundsIraModal();\r\n\t\t\t\tbreak;\r\n\t\t\tdefault: break;\r\n\t\t}\r\n\t}\r\n\r\n\tunlinkAccount = (bankAccount) => {\r\n\t\tconst { actions, currentTradeAccount } = this.props;\r\n\t\tconst text = `Please confirm if you want to remove link with ${bankAccount.BankName}`;\r\n\t\tif (bankAccount.Type === AccountType.ACH) {\r\n\t\t\tactions.showConfirmModal({\r\n\t\t\t\ttext,\r\n\t\t\t\taction: onEndRequest => actions.achUnlinkBankAccount({\r\n\t\t\t\t\ttradeCode: currentTradeAccount.tradeCode,\r\n\t\t\t\t\tbankCode: bankAccount.Code,\r\n\t\t\t\t\tonEndRequest,\r\n\t\t\t\t}),\r\n\t\t\t});\r\n\t\t} else if (bankAccount.Type === AccountType.WIRE) {\r\n\t\t\tactions.showConfirmModal({\r\n\t\t\t\ttext,\r\n\t\t\t\taction: onEndRequest => actions.wireUnlinkBankAccount({\r\n\t\t\t\t\t...currentTradeAccount,\r\n\t\t\t\t\tbankCode: bankAccount.Code,\r\n\t\t\t\t\tonEndRequest,\r\n\t\t\t\t}),\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\thasDepositButton = (bankAccount) => {\r\n\t\tconst { accountStatus } = this.props;\r\n\t\treturn accountStatus.CanFund && (\r\n\t\t\t(bankAccount.Type === AccountType.ACH && bankAccount.Code) ||\r\n\t\t\t(bankAccount.Type === AccountType.WIRE) ||\r\n\t\t\t(bankAccount.Type === AccountType.BROKER) ||\r\n\t\t\t(bankAccount.Type === AccountType.IRA)\r\n\t\t);\r\n\t}\r\n\r\n\thasWithdrawalButton = (bankAccount) => {\r\n\t\tconst { accountStatus } = this.props;\r\n\t\treturn (accountStatus.CanWithdrawal && (\r\n\t\t\t(bankAccount.Type === AccountType.ACH && bankAccount.Code) ||\r\n\t\t\t(bankAccount.Type === AccountType.WIRE && (accountStatus.CanWireLink || bankAccount.Code)) ||\r\n\t\t\t(bankAccount.Type === AccountType.BROKER)\r\n\t\t)) || (bankAccount.Type === AccountType.IRA);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\taccountStatus,\r\n\t\t\taccountInfo,\r\n\t\t\tuserLinkedAccounts,\r\n\t\t\tcurrentAccountData: {\r\n\t\t\t\tbaseParams,\r\n\t\t\t},\r\n\t\t\tuserInfo,\r\n\t\t} = this.props;\r\n\t\tconst userGuid = userInfo.Guid && userInfo.Guid.toUpperCase();\r\n\t\tconst isEnableWallet = userGuid && env.WEBCAB_5004_walletEnableUsers.includes(userGuid);\r\n\r\n\t\tif (baseParams && baseParams.IsCashAccount) {\r\n\t\t\treturn '';\r\n\t\t}\r\n\t\tconst allLinkAccounts = [\r\n\t\t\t...userLinkedAccounts,\r\n\t\t\t...[AccountType.WIRE, AccountType.ACH]\r\n\t\t\t\t.filter(t =>\r\n\t\t\t\t\t!userLinkedAccounts.some(a => a.Type === t) // нет имеющихся линков этого типа\r\n\t\t\t\t\t&& (\r\n\t\t\t\t\t\t(t === AccountType.ACH && accountStatus.CanAchLink) || // и ACH только если можно делать соответствующего типа\r\n\t\t\t\t\t\t(t === AccountType.WIRE && accountStatus.CanWireLink)\r\n\t\t\t\t\t))\r\n\t\t\t\t.map(t => ({ Type: t })),\r\n\t\t];\r\n\t\tif (isEnableWallet) {\r\n\t\t\tconst walletAccount = {\r\n\t\t\t\tType: AccountType.BROKER, Code: 'broker', Number: '458408', BankName: 'J2T',\r\n\t\t\t};\r\n\t\t\twalletAccount.displayNumber = walletAccount.Number.slice(-4);\r\n\t\t\tallLinkAccounts.push(walletAccount);\r\n\t\t}\r\n\t\tif (accountInfo.IsIra) {\r\n\t\t\tallLinkAccounts.push({ Type: AccountType.IRA });\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{accountStatus && accountStatus.IsClosed &&\r\n\t\t\t\t\t

\r\n\t\t\t\t\t\tThe account is closed. No money transfer orders can be submitted.\r\n\t\t\t\t\t

\r\n\t\t\t\t}\r\n\t\t\t\t{accountStatus && accountStatus.IsDisabled &&\r\n\t\t\t\t\t

\r\n\t\t\t\t\t\tThe account is currently Disabled. No withdrawal transfer orders can be submitted.\r\n\t\t\t\t\t

\r\n\t\t\t\t}\r\n\t\t\t\t{accountStatus && !accountStatus.IsDisabled && !accountStatus.IsClosed &&\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{allLinkAccounts.map((bankAccount, index) => (\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t))}\r\n\t\t\t\t\t
\r\n\t\t\t\t}\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nCashManagement.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n\tuserLinkedAccounts: PropTypes.array.isRequired,\r\n\taccountStatus: PropTypes.object.isRequired,\r\n\tcurrentAccountData: PropTypes.object.isRequired,\r\n\tcurrentTradeAccount: PropTypes.object.isRequired,\r\n\tuserInfo: PropTypes.shape({\r\n\t\tGuid: PropTypes.string.isRequired,\r\n\t}).isRequired,\r\n\taccountInfo: PropTypes.shape({\r\n\t\tIsIra: PropTypes.bool.isRequired,\r\n\t}).isRequired,\r\n\tactions: PropTypes.shape({\r\n\t\tshowDepositFundsModal: PropTypes.func.isRequired,\r\n\t\tshowDepositFundsBrokerModal: PropTypes.func.isRequired,\r\n\t\tshowDepositFundsIraModal: PropTypes.func.isRequired,\r\n\t\tshowDepositFundsWireModal: PropTypes.func.isRequired,\r\n\t\tshowWithdrawFundsAchModal: PropTypes.func.isRequired,\r\n\t\tshowWithdrawFundsWireModal: PropTypes.func.isRequired,\r\n\t\tshowWithdrawFundsBrokerModal: PropTypes.func.isRequired,\r\n\t\tshowWithdrawFundsIraModal: PropTypes.func.isRequired,\r\n\t\tshowConfirmModal: PropTypes.func.isRequired,\r\n\t\tachUnlinkBankAccount: PropTypes.func.isRequired,\r\n\t\twireUnlinkBankAccount: PropTypes.func.isRequired,\r\n\t}).isRequired,\r\n\tprofile: PropTypes.shape({\r\n\t\tPersonalInformation: PropTypes.shape({\r\n\t\t\tHasValidActualAddress: PropTypes.bool,\r\n\t\t}),\r\n\t}),\r\n};\r\n\r\nCashManagement.defaultProps = {\r\n\tprofile: {\r\n\t\tPersonalInformation: {\r\n\t\t\tHasValidActualAddress: undefined,\r\n\t\t},\r\n\t},\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(mapStateToProps, mapDispatchToProps),\r\n)(CashManagement);\r\n","export { default as BankAccountItem } from './BankAccountItem/BankAccountItem';\r\nexport { default as ConnectBankAccountItem } from './ConnectBankAccountItem/ConnectBankAccountItem';\r\n","import React from 'react';\nimport {\n\twithStyles,\n\twithTheme,\n} from '@material-ui/core/styles';\nimport Hidden from '@material-ui/core/Hidden';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { userAccounts } from '@redux';\nimport { Button, BankLogo, IconButton, R, SvgIcon } from '@components';\nimport { env } from '@config';\nimport { toUsaMoneyFormat, isNumber } from '@global';\nimport { AccountType } from '@enums';\nimport classNames from 'classnames';\nimport LinkBankAccountButton from '../ConnectBankAccountItem/LinkBankAccountButon';\nimport BankAccountItemContent from './components/BankAccountItemContent';\n\nconst styles = theme => ({\n\troot: {\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'space-between',\n\t\tflexWrap: 'wrap',\n\t\talignItems: 'center',\n\t},\n\tlinkType: {\n\t\tmarginRight: '16px',\n\t},\n\tlinkTypeWide: { width: '56px' },\n\tbankLogo: {\n\t\tmarginRight: '16px',\n\t},\n\tleftColumn: {\n\t\tdisplay: 'flex',\n\t\tflexDirection: 'column',\n\t\talignContent: 'center',\n\t\tjustifyContent: 'center',\n\t},\n\tmiddleColumn: {\n\t\tmarginRight: '16px',\n\t\tflexGrow: '2',\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'flex-end',\n\t},\n\trightColumn: {\n\t\tminWidth: '144px',\n\t\tflex: '1 0 330px',\n\t\tdisplay: 'flex',\n\t\tjustifyContent: 'flex-end',\n\t},\n\tnoIcon: {\n\t\tdisplay: 'inline-block',\n\t\twidth: '48px',\n\t},\n\tbalance: {\n\t\t...theme.typography.style.title,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\ttitle: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t},\n\tdisplayNumber: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.secondary,\n\t},\n\tlinkAccountButton: {\n\t\tbackgroundColor: 'lime',\n\t\twidth: '120px',\n\t},\n\ttextButtonContainer: {\n\t\tdisplay: 'flex',\n\t\twidth: '250px',\n\t\tminWidth: '250px',\n\t\tjustifyContent: 'center',\n\t\t'& .MuiButton-root': {\n\t\t\tflex: '1 0 125px',\n\t\t},\n\t},\n\tarrowIcon: {\n\t\tstroke: theme.typography.color.primary,\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\ttransition: 'all 0.5s',\n\t\tmarginTop: '12px',\n\t\tmarginLeft: '24px',\n\t\tmarginRight: '-24px',\n\t\t[theme.breakpoints.up('sm')]: {\n\t\t\tmarginLeft: '-24px',\n\t\t},\n\t\t'@media (min-width: 760px)': {\n\t\t\tmarginLeft: '24px',\n\t\t},\n\t\t[theme.breakpoints.up('md')]: {\n\t\t\tmarginLeft: '-24px',\n\t\t},\n\t\t'@media (min-width: 1400px)': {\n\t\t\tmarginLeft: '80px',\n\t\t},\n\t},\n\topened: {\n\t\tdisplay: 'block',\n\t},\n\tclosed: {\n\t\tdisplay: 'none',\n\t},\n});\n\nconst checkEnableWallet = (userInfo) => {\n\tconst userGuid = userInfo.Guid && userInfo.Guid.toUpperCase();\n\treturn userGuid && env.WEBCAB_5004_walletEnableUsers.includes(userGuid);\n};\n\nconst mapStateToProps = state => ({\n\tcurrentAccountStatus: userAccounts.selectors.currentAccountStatus(state),\n\tisEnableWallet: checkEnableWallet(userAccounts.selectors.userInfo(state)),\n});\n\n\nclass BankAccountItem extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\topen: false,\n\t\t};\n\t}\n\n\tgaDepositUrl = () => {\n\t\tif (this.props.bankAccount.Type) {\n\t\t\treturn `/deposit/${this.props.bankAccount.Type.toLowerCase()}/`;\n\t\t}\n\t\treturn null;\n\t}\n\n\tgaWithdrawalUrl = () => {\n\t\tif (this.props.bankAccount.Type) {\n\t\t\treturn `/withdrawal/${this.props.bankAccount.Type.toLowerCase()}/`;\n\t\t}\n\t\treturn null;\n\t}\n\ttoggleOpen = () => {\n\t\tconst status = !this.state.open;\n\t\tthis.setState({\n\t\t\topen: status,\n\t\t});\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tbankAccount,\n\t\t\tcurrentAccountStatus,\n\t\t\thasDepositButton,\n\t\t\thasWithdrawalButton,\n\t\t\tisEnableWallet,\n\t\t\tisLimeInternationalStyle,\n\t\t\tonDepositFundsModal,\n\t\t\tonWithdrawFundsModal,\n\t\t\tonUnlinkAccount,\n\t\t} = this.props;\n\t\tconst opened = !!this.state.open;\n\t\tconst contentCssClass = classNames({\n\t\t\t[classes.content]: true,\n\t\t\t[classes.opened]: opened,\n\t\t\t[classes.closed]: !opened,\n\t\t});\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{!isLimeInternationalStyle &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{bankAccount.Type}\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t\t{isLimeInternationalStyle ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{bankAccount.BankName &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{bankAccount.BankName}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{isNumber(bankAccount.Balance) &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(bankAccount.Balance)}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{bankAccount.Code ?\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t●●●● {bankAccount.displayNumber}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t(bankAccount.Type !== AccountType.IRA &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{isLimeInternationalStyle ?\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{bankAccount.displayNumber}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\tBankAccount is not linked\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{bankAccount.Code && bankAccount.HavePendingWithdrawOrder &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tRequest pending approval\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{isNumber(bankAccount.Balance) &&\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{toUsaMoneyFormat(bankAccount.Balance)}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!bankAccount.Code &&\n\t\t\t\t\t\t\t\t(currentAccountStatus.CanFund || currentAccountStatus.CanWithdrawal) &&\n\t\t\t\t\t\t\t\tbankAccount.Type === AccountType.ACH &&\n\t\t\t\t\t\t\t\tcurrentAccountStatus.CanAchLink &&\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t{hasDepositButton(bankAccount) &&\n\t\t\t\t\t\t\t\t onDepositFundsModal(bankAccount)}\n\t\t\t\t\t\t\t\t\tvariant=\"text\"\n\t\t\t\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tDeposit\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t{hasWithdrawalButton(bankAccount) &&\n\t\t\t\t\t\t\t\t onWithdrawFundsModal(bankAccount)}\n\t\t\t\t\t\t\t\t\tvariant=\"text\"\n\t\t\t\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{bankAccount.CanUnlink &&\n\t\t\t\t\t\t\t onUnlinkAccount(bankAccount)}>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{!bankAccount.CanUnlink &&\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{bankAccount.Code ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{opened ?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t: \n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t:
\n\t\t\t\t\t\t}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t{bankAccount.Code && opened &&\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nBankAccountItem.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tbankAccount: PropTypes.object.isRequired,\n\tcurrentAccountStatus: PropTypes.object.isRequired,\n\tisEnableWallet: PropTypes.bool.isRequired,\n\thasDepositButton: PropTypes.func.isRequired,\n\thasWithdrawalButton: PropTypes.func.isRequired,\n\tisLimeInternationalStyle: PropTypes.bool,\n\tonDepositFundsModal: PropTypes.func.isRequired,\n\tonWithdrawFundsModal: PropTypes.func.isRequired,\n\tonUnlinkAccount: PropTypes.func.isRequired,\n};\n\nBankAccountItem.defaultProps = {\n\tisLimeInternationalStyle: undefined,\n};\n\nexport default compose(\n\twithStyles(styles),\n\twithTheme,\n\tconnect(mapStateToProps, null),\n)(BankAccountItem);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router';\nimport { Button } from '@components';\nimport { ModalPopups } from '@enums';\nimport { changeHashInUrl } from '@global';\n\n\nfunction LinkBankAccountButon(props) {\n\tconst redirectModal = (from, to) => {\n\t\tprops.history.push(changeHashInUrl(props.location, from, to));\n\t};\n\tconst handleLinkAccount = () => redirectModal(ModalPopups.PLAID_SELECT_ACCOUNT, ModalPopups.ADD_BANK_ACCOUNT);\n\n\treturn (\n\t\t\n\t\t\tLink bank account\n\t\t\n\t);\n}\n\nLinkBankAccountButon.propTypes = {\n\thistory: PropTypes.object.isRequired,\n\tlocation: PropTypes.object.isRequired,\n\tclassName: PropTypes.string,\n};\nLinkBankAccountButon.defaultProps = {\n\tclassName: undefined,\n};\n\nexport default withRouter(LinkBankAccountButon);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Input, Divider } from '@components';\nimport { withStyles } from '@material-ui/core/styles'\nimport Grid from '@material-ui/core/Grid';\n\nconst styles = theme => ({\n\troot: {\n\t\tmarginLeft: '24px',\n\t\tmarginRight: '24px',\n\t},\n});\nconst StaticField = ({ label, value }) => (\n\t\n\t\t\n\t\n);\nconst StyledDivider = withStyles(styles)(Divider);\nclass BankAccountItemContent extends React.Component {\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\tlinkedaccount,\n\t\t} = this.props;\n\n\t\t// It,s for Lime International Only\n\t\tif (linkedaccount.Type === 'BankTransfer') {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{linkedaccount.Template.RecipientBankSwift ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t{linkedaccount.Template.UseIntermediaryBank &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{linkedaccount.Type === 'WIRE' &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t{linkedaccount.Type === 'WIRE' && linkedaccount.Template.IntermediaryBankName &&\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t);\n\t}\n}\n\nBankAccountItemContent.propTypes = {\n\tlinkedaccount: PropTypes.object.isRequired,\n};\n\nexport default withStyles(styles)(BankAccountItemContent);\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport compose from 'recompose/compose';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router';\nimport { SvgIcon } from '@components';\nimport { ModalPopups } from '@enums';\nimport { changeHashInUrl } from '@global';\n\n\nconst styles = theme => ({\n\troot: {\n\t\t...theme.typography.style.button,\n\t\tcolor: theme.typography.color.link,\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'center',\n\t\tcursor: 'pointer',\n\t},\n\timage: {\n\t\twidth: '56px',\n\t\theight: '56px',\n\t},\n\ttext: {\n\t\tpaddingRight: '14px',\n\t},\n});\n\n\nclass ConnectBankAccountItem extends React.Component {\n\tredirectModal = (from, to) => {\n\t\tthis.props.history.push(changeHashInUrl(this.props.location, from, to));\n\t}\n\n\trender() {\n\t\tconst { classes } = this.props;\n\t\treturn (\n\t\t\t this.redirectModal(ModalPopups.PLAID_SELECT_ACCOUNT, ModalPopups.ADD_BANK_ACCOUNT)}\n\t\t\t>\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tConnect a New Bank Account\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nConnectBankAccountItem.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\thistory: PropTypes.object.isRequired,\n\tlocation: PropTypes.object.isRequired,\n};\n\nexport default compose(\n\twithRouter,\n\twithStyles(styles),\n)(ConnectBankAccountItem);\n","import React from 'react';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\n\n\nconst useStyles = makeStyles(theme => {\n\n\tlet rootStyle = {\n\t\tmargin: '24px 74px',\n\t\tpadding: '10px 16px',\n\t\tborderRadius: '4px',\n\t\tdisplay: 'flex',\n\t\talignItems: 'center',\n\t\tjustifyContent: 'space-between',\n\t\t[theme.breakpoints.down('sm')]: {\n\t\t\tmargin: '24px 0',\n\t\t\tpadding: '10px 16px',\n\t\t},\n\t};\n\n\treturn createStyles({\n\t\tsuccess: {\n\t\t\t...rootStyle,\n\t\t\tbackgroundColor: theme.typography.color.lightGreen,\n\t\t},\n\t\twarning: {\n\t\t\t...rootStyle,\n\t\t\tbackgroundColor: theme.palette.color.secondary.limitOrder,\n\t\t},\n\t\tcontent: {\n\t\t\t...theme.typography.style.body,\n\t\t\tcolor: theme.typography.color.primary,\n\t\t\tmargin: '1em auto',\n\t\t},\n\t\ttext: {\n\t\t\tmarginRight: '5px',\n\t\t\t[theme.breakpoints.down('sm')]: {\n\t\t\t\tdisplay: 'block',\n\t\t\t},\n\t\t},\n\t});\n});\n\n\nexport const PaymentGateCallback = ({title}) => {\n\n\tconst classes = useStyles();\n\n\treturn ( \n\t\t
\n\t\t\t{title === 'success' &&\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tThe transaction was successful.\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tThe funds will be credited to your account in a few minutes.\n\t\t\t\t\t\t \tOtherwise contact your manager or send your request to the e-mail support@int.lime.co\n\t\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t}\n\t\t\t{title === 'fail' &&\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tError occured when funding an account.\n\t\t\t\t\t\tUse one of the alternative ways to retry.\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t}\n\t\t\t{title === 'complete' &&\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tAccount funding is completed.\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t}\n\t\t
\n\t);\n}","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport { withRouter } from 'react-router';\nimport * as qs from 'query-string';\nimport { connect } from 'react-redux';\nimport { push } from 'connected-react-router';\nimport {\n\tprofile,\n\tsignature,\n\tuserAccounts,\n} from '@redux';\nimport compose from 'recompose/compose';\nimport {\n\tA, Button, ProgressContainer, SvgIcon, R\n} from '@components';\nimport { addHashToUrl, scrollTo } from '@global';\nimport { env } from '@config';\nimport Mt4Img from './mt4-original.png';\nimport SoftIcons from './soft-icons.png';\n\n/* import { \n\tCYAccountCredentialsPanel,\n\tCYPersonalDocumentsPanel,\n} from './components';\n */\nconst styles = theme => ({\n\troot: {\n\t\tborder: '1px solid red',\n\t},\n\theader: {\n\t\t...theme.typography.style.headline1,\n\t\tpadding: '8px 0',\n\t},\n\tcontent: {\n\t\t...theme.typography.style.body,\n\t\tpadding: '16px 72px',\n\t\tmarginBottom: '30px',\n\t\t[theme.breakpoints.down('md')]: {\n\t\t\tpadding: '8px 24px',\n\t\t},\n\t},\n\tmr60: {\n\t\tmarginRight: '60px',\n\t},\n\texpansionPanelStaticContent: {\n\t\tmargin: '10px 24px 5px 0px',\n\t\tcolor: theme.palette.text.secondary,\n\t},\n\texpansionPanelContent: {\n\t\t'& $expansionPanelRoot': {\n\t\t\tmarginLeft: '24px',\n\t\t},\n\t\t'& $preFieldLabel': {\n\t\t\tmarginLeft: '24px',\n\t\t},\n\t\t'& $noLeftMarginField': {\n\t\t\tmarginLeft: '24px',\n\t\t},\n\t},\n\tpreFieldLabel: {},\n\tnoLeftMarginField: {\n\t\tmarginLeft: '0px',\n\t},\n\texpansionPanelRoot: {\n\t\tmarginLeft: '0px',\n\t},\n\tprogContainer: {\n\t\tdisplay: 'flex',\n\t\tmarginTop: '16px',\n\t\t'&:not(:last-child)': {\n\t\t\tborderBottom: '1px solid #deeaef',\n\t\t},\n\t},\n\tprogLeft: {\n\t\tflex: '1 0 100px',\n\n\t},\n\tprogRight: {\n\t\tflex: '0 0 120px',\n\t\tpaddingLeft: '20px',\n\t\tpaddingRight: '10px',\n\t\tmargin: 'auto',\n\t\t'& img': {\n\t\t\twidth: '90px',\n\t\t\theight: '90px',\n\t\t},\n\n\t},\n\tprogIconTitle: {\n\t\tfontWeight: '500',\n\t\ttextAlign: 'center',\n\t\tmarginBottom: '12px',\n\t},\n\tprogHeader: {\n\t\tfontSize: '18px',\n\t\tlineHeight: '24px',\n\t\tfontWeight: '500',\n\t\tmarginBottom: '16px',\n\t},\n\tprogDescription: {\n\t\t'& b': { fontWeight: '500' },\n\t},\n\tprogButtonsContainer: {\n\t\tmargin: '16px 0px 8px',\n\t},\n\tprogButton: {\n\t\tmargin: '0px 16px 16px 0px',\n\t},\n\tsoftIconMultiterminal: { backgroundPosition: '-438px 0' },\n\tsoftIcon: {\n\t\twidth: '73px',\n\t\theight: '73px',\n\t\toverflow: 'hidden',\n\t\tbackgroundImage: `url(${SoftIcons})`,\n\t\tbackgroundRepeat: 'no-repeat',\n\t\tmarginRight: '10px',\n\t\tdisplay: 'inline-block',\n\t\tmaxWidth: '100%',\n\t\tpadding: '4px',\n\t\tlineHeight: '1.428571429',\n\t\tbackgroundColor: '#fff',\n\t\tWebkitTransition: 'all .2s ease-in-out',\n\t\ttransition: 'all .2s ease-in-out',\n\t},\n});\n\n\n\nconst mapStateToProps = state => ({\n\taccounts: userAccounts.selectors.accounts(state),\n\t// profile: profile.selectors.profile(state),\n\t// currentAccountData: userAccounts.selectors.currentAccountData(state),\n\t// currentTradeAccount: userAccounts.selectors.currentTradeAccount(state),\n\t// accountInfo: userAccounts.selectors.accountInfo(state),\n\t// accountStatus: userAccounts.selectors.currentAccountStatus(state),\n\t// userInfo: userAccounts.selectors.userInfo(state),\n});\n\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\t// showChangeEmailModal: () => {\n\t\t// \tconst changeEmailAction = profile.actions.showChangeEmailModal();\n\t\t// \tdispatch(signature.actions.collectSignaturesProcessStart(changeEmailAction));\n\t\t// },\n\t},\n});\n\nclass TradingPlatforms extends React.Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\topenPanelId: 'profile-account-credentials',\n\t\t};\n\t}\n\n\n\n\ttoggleOpen = (open, id) => {\n\t\tthis.setState({ openPanelId: open ? id : null });\n\t};\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\taccounts,\n\t\t\tactions,\n\t\t} = this.props;\n\t\t\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t{/* */}\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
MetaTrader 4
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\tPC — Download MetaTrader (4.27 Mb).\"\n\t\t\t\t\t\t\t\t\tenableHtml\n\t\t\t\t\t\t\t\t\tcomponents={{\n\t\t\t\t\t\t\t\t\t\tdownloadmt: ,\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\"MT4\"\n\t\t\t\t\t\t\t
Desktop
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{accounts && accounts.filter(acc => !acc.IsClosed && acc.IsEnabledForTrade && acc.IsForex).map((account, index) => (\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{account.DisplayFullName}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\"MT4\"\n\t\t\t\t\t\t\t
Web
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\"MT4\"\n\t\t\t\t\t\t\t
Mobile
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{/* \n\t\t\t\t\t */}\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n}\n\nTradingPlatforms.defaultProps = {\n};\n\nTradingPlatforms.propTypes = {\n\tclasses: PropTypes.object.isRequired,\n\tactions: PropTypes.object.isRequired,\n};\n\n\nexport default compose(\n\twithRouter,\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n)(TradingPlatforms);\n","module.exports = __webpack_public_path__ + \"content/assets/1474a8e70c097aee576cfbbfd3d139cf.png\";","module.exports = __webpack_public_path__ + \"content/assets/a3f18948ce022f6c35405bd19b3d6fd1.png\";","/* eslint-disable import/extensions */\r\nimport React from 'react';\r\nimport { auth } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport * as qs from 'query-string';\r\nimport PropTypes from 'prop-types';\r\nimport { compose } from 'recompose';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport Grid from '@material-ui/core/Grid';\r\nimport { LanguageSelector, R } from '@components';\r\nimport { env } from '@config';\r\nimport { AutoLogin, CheckAuth, LoginForm, LoginFormLocal } from './components';\r\nimport Header from '../shared/Header/Header';\r\n\r\nconst styles = theme => ({\r\n\t'@global': {\r\n\t\tbody: {\r\n\t\t\tbackgroundColor: theme.typography.color.white,\r\n\t\t},\r\n\t},\r\n\tcontainer: {\r\n\t\tmarginTop: '42px',\r\n\t\t'@media (max-width:768px)': {\r\n\t\t\tmarginTop: '24px',\r\n\t\t\tpadding: '0 40px',\r\n\t\t},\r\n\t},\r\n\ttext: {\r\n\t\t...theme.newTypography.style.headline2,\r\n\t\tcolor: theme.newTypography.color.black,\r\n\t\tletterSpacing: 0,\r\n\t\ttextAlign: 'center',\r\n\t\t'@media (max-width:768px)': {\r\n\t\t\tfontSize: '24px',\r\n\t\t\tlineHeight: '24px',\r\n\t\t},\r\n\t},\r\n\tlanguageGrid: {\r\n\t\tdisplay: 'flex',\r\n\t\tjustifyContent: 'end',\r\n\t},\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tsetAfterAuthUrl: payload => dispatch(auth.actions.setAfterAuthUrl(payload)),\r\n\t},\r\n});\r\n\r\nclass LoginView extends React.Component {\r\n\tcomponentDidMount() {\r\n\t\tconst { actions, location } = this.props;\r\n\t\tactions.setAfterAuthUrl(location.pathname + location.hash);\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst {\r\n\t\t\tclasses,\r\n\t\t\tlocation,\r\n\t\t\tcheckAuth,\r\n\t\t} = this.props;\r\n\r\n\t\tconst parsed = qs.parse(location.search);\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t{ env.allowedLangs && }\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t{(parsed && parsed.autologin)\r\n\t\t\t\t\t\t\t? \r\n\t\t\t\t\t\t\t:\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{checkAuth && }\r\n\t\t\t\t\t\t\t\t{!checkAuth && (env.useLocalAuth ? : )}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nLoginView.propTypes = {\r\n\tclasses: PropTypes.object,\r\n\tlocation: PropTypes.object.isRequired,\r\n\tcheckAuth: PropTypes.bool,\r\n\tactions: PropTypes.object,\r\n};\r\n\r\nLoginView.defaultProps = {\r\n\tclasses: {},\r\n\tcheckAuth: false,\r\n\tactions: {},\r\n};\r\n\r\nexport default compose(withStyles(styles), connect(null, mapDispatchToProps))(LoginView);\r\n","export { default as AutoLogin } from './AutoLogin/AutoLogin';\r\nexport { default as CheckAuth } from './CheckAuth/CheckAuth';\r\nexport { default as LoginForm } from './LoginForm/LoginForm';\r\nexport { default as LoginFormLocal } from './LoginForm/LoginFormLocal';\r\n\r\n","/* eslint-disable import/extensions */\r\nimport React from 'react';\r\nimport { auth } from '@redux';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { compose } from 'recompose';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\n\r\nconst styles = theme => ({\r\n});\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n\tactions: {\r\n\t\tautologinRequest: autologin => dispatch(auth.actions.autologinRequest(autologin)),\r\n\t},\r\n});\r\n\r\nclass AutoLogin extends React.Component {\r\n\tcomponentDidMount() {\r\n\t\tthis.props.actions.autologinRequest(this.props.autologin);\r\n\t}\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\nAutoLogin.propTypes = {\r\n\tactions: PropTypes.object.isRequired,\r\n\tautologin: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default compose(\r\n\twithStyles(styles),\r\n\tconnect(null, mapDispatchToProps),\r\n)(AutoLogin);\r\n","/* eslint-disable import/extensions */\r\nimport React, { useEffect } from 'react';\r\nimport { useDispatch } from 'react-redux';\r\nimport { useTheme } from '@material-ui/core/styles';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport { env } from '@config';\r\nimport { auth } from '@redux';\r\n\r\n\r\nconst CheckAuth = () => {\r\n\tconst theme = useTheme();\r\n\tconst dispatch = useDispatch();\r\n\r\n\tuseEffect(() => {\r\n\t\tif (env.useLocalAuth) {\r\n\t\t\tdispatch(auth.actions.checkAuthRequest());\r\n\t\t}\r\n\t}, []);\r\n\r\n\treturn (\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default CheckAuth;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { useSelector } from 'react-redux';\r\nimport { auth } from '@redux';\r\n\r\nconst LoginForm = () => {\r\n\tconst [isWidgetMounted, setIsWidgetMounted] = useState(false);\r\n\tconst authWidget = useSelector(auth.selectors.authWidget);\r\n\r\n\tuseEffect(() => {\r\n\t\tif (authWidget && !isWidgetMounted) {\r\n\t\t\tconst mountInline = {\r\n\t\t\t\tprepareContainer: () => document.getElementById('auth-widget'),\r\n\t\t\t};\r\n\t\t\tauthWidget.authenticate({ mountInline });\r\n\t\t\tsetIsWidgetMounted(true);\r\n\t\t}\r\n\t\treturn () => {\r\n\t\t\tif (authWidget && isWidgetMounted) {\r\n\t\t\t\tauthWidget.unmount();\r\n\t\t\t\tsetIsWidgetMounted(false);\r\n\t\t\t}\r\n\t\t};\r\n\t}, [authWidget, isWidgetMounted]);\r\n\r\n\treturn (\r\n\t\t
\r\n\t);\r\n};\r\n\r\nexport default LoginForm;\r\n","/* eslint-disable no-underscore-dangle,no-plusplus,prefer-destructuring */\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { reduxForm, Field } from 'redux-form';\nimport { push } from 'connected-react-router';\nimport classNames from 'classnames';\nimport { makeStyles } from '@material-ui/core';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { constants, env } from '@config';\nimport { FormInput, Button, A, R, useTranslate } from '@components';\nimport { app, loginForm } from '@redux';\nimport { PasswordInput } from './components';\n\nconst useStyles = makeStyles(theme => ({\n\tinput: {\n\t\tmarginTop: '24px',\n\t},\n\tinputStyle: {\n\t\tborder: '1px solid lightgray',\n\t\theight: '68px',\n\t\t'& input': {\n\t\t\t'&:-webkit-autofill': {\n\t\t\t\ttransition: 'background-color 0.1s ease-in-out 0s',\n\t\t\t\t'-webkit-box-shadow': '0 0 0 1000px #ffffff inset',\n\t\t\t},\n\t\t},\n\t},\n\tforgotPassword: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\ttextAlign: 'right',\n\t\tmarginTop: '8px',\n\t},\n\tformError: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.white,\n\t\tbackgroundColor: theme.typography.color.red,\n\t\tborderRadius: '4px',\n\t\tpadding: '6px 18px',\n\t\ttextAlign: 'left',\n\t\tmarginTop: '15px',\n\n\t},\n\tformErrorShake: {\n\t\t'-webkit-animation': 'shake .5s linear',\n\t},\n\t'@keyframes shake': {\n\t\t'8%, 41%': {\n\t\t\t'-webkit-transform': 'translateX(-10px)',\n\t\t},\n\t\t'25%, 58%': {\n\t\t\t'-webkit-transform': 'translateX(10px)',\n\t\t},\n\t\t'75%': {\n\t\t\t'-webkit-transform': 'translateX(-5px)',\n\t\t},\n\t\t'92%': {\n\t\t\t'-webkit-transform': 'translateX(5px)',\n\t\t},\n\t\t'0%, 100%': {\n\t\t\t'-webkit-transform': 'translateX(0)',\n\t\t},\n\t},\n\tsubmitButton: {\n\t\tmarginTop: '24px',\n\t},\n\tnewAccount: {\n\t\t...theme.typography.style.body,\n\t\tcolor: theme.typography.color.primary,\n\t\ttextAlign: 'center',\n\t\tmarginTop: '40px',\n\t},\n}));\n\nconst useActions = () => {\n\tconst dispatch = useDispatch();\n\tconst actions = {\n\t\tsetCurrentPage: page => dispatch(push(page)),\n\t};\n\treturn actions;\n};\n\nconst LoginFormLocal = (props) => {\n\t// const [autoFillsCount, setAutoFillsCount] = useState(0);\n\tconst classes = useStyles(props);\n\tconst actions = useActions();\n\tconst language = useSelector(app.selectors.language);\n\tconst translate = useTranslate();\n\t// const autoFillCompleted = () => setAutoFillsCount(autoFillsCount + 1);\n\n\tconst {\n\t\thandleSubmit,\n\t\tpristine,\n\t\tinvalid,\n\t\terror,\n\t\tsubmitting,\n\t} = props;\n\n\tconst buttonDisabled = pristine || invalid;\n\tlet anketaUrl = env.anketaSiteUrl.endsWith('/') ? env.anketaSiteUrl : `${env.anketaSiteUrl}/`;\n\tif (env.allowedLangs) {\n\t\tanketaUrl += `${language}/`;\n\t}\n\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t{error &&\n\t\t\t\t
\n\t\t\t\t\t{error.map((errorItem, index) =>
{errorItem}
)}\n\t\t\t\t
\n\t\t\t}\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\n\t\t\t\t\t\t: \n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nLoginFormLocal.propTypes = {\n\thandleSubmit: PropTypes.func.isRequired,\n};\n\nexport default reduxForm({\n\tform: 'loginForm',\n\tvalidate: (values) => {\n\t\tconst errors = {};\n\t\tif (!values.username) {\n\t\t\terrors.username = 'required';\n\t\t}\n\t\tif (!values.password) {\n\t\t\terrors.password = 'required';\n\t\t}\n\t\treturn errors;\n\t},\n})(LoginFormLocal);\n","export { default as PasswordInput } from './PasswordInput/PasswordInput';\r\n","import React from 'react';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { FormInput } from '@components';\r\nimport { VisibilityButton } from './components';\r\nimport PropTypes from 'prop-types';\r\n\r\nconst styles = {\r\n\tinputType: {\r\n\t\theight: 'auto',\r\n\t},\r\n};\r\n\r\nclass PasswordInput extends React.Component {\r\n\tconstructor(props) {\r\n\t\tsuper(props);\r\n\t\tthis.state = {\r\n\t\t\tisPasswordVisible: false,\r\n\t\t};\r\n\t\tthis.togglePasswordVisibility = this.togglePasswordVisibility.bind(this);\r\n\t}\r\n\r\n\ttogglePasswordVisibility() {\r\n\t\tthis.setState({\r\n\t\t\tisPasswordVisible: !this.state.isPasswordVisible,\r\n\t\t});\r\n\t}\r\n\r\n\trender() {\r\n\t\tconst { isPasswordVisible } = this.state;\r\n\t\tconst { classes, ...props } = this.props;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t{...props}\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n}\r\n\r\nPasswordInput.propTypes = {\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default withStyles(styles)(PasswordInput);\r\n","export {default as VisibilityButton} from './VisibilityButton/VisibilityButton';\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { SvgIcon } from '@components';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport { withStyles } from '@material-ui/core/styles';\r\n\r\nconst styles = {\r\n\ticonButtonRoot: {\r\n\t\theight: 'auto',\r\n\t},\r\n};\r\n\r\nconst VisibilityButton = ({ isVisible, onClick, classes }) => {\r\n\tconst Icon = isVisible ?\r\n\t\t\r\n\t\t: ;\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t{Icon}\r\n\t\t\r\n\t);\r\n};\r\n\r\nVisibilityButton.propTypes = {\r\n\tisVisible: PropTypes.bool.isRequired,\r\n\tonClick: PropTypes.func,\r\n\tclasses: PropTypes.object.isRequired,\r\n};\r\n\r\nVisibilityButton.defaultProps = {\r\n\tonClick: null,\r\n};\r\n\r\nexport default withStyles(styles)(VisibilityButton);\r\n","import React from 'react';\nimport { makeStyles, createStyles } from '@material-ui/core/styles';\nimport loginLogo from './lime_logo.png';\n\nconst useStyles = makeStyles(theme => createStyles({\n\troot: {\n\t\theight: '56px',\n\t\tdisplay: 'flex',\n\t\twidth: '100%',\n\t\tjustifyContent: 'center',\n\t\tbackgroundColor: theme.newTypography.color.white,\n\t\tborderBottom: 'solid 1px #9DAEC566',\n\t\t'@media (max-width:768px)': {\n\t\t\tpadding: '0 16px',\n\t\t\theight: '46px',\n\t\t},\n\t},\n\tcontainer: {\n\t\twidth: '100%',\n\t\tmaxWidth: '1440px',\n\t\tdisplay: 'grid',\n\t\tgridTemplateColumns: '1fr',\n\t\talignContent: 'center',\n\t},\n\timage: {\n\t\theight: '38px',\n\t\t'@media (max-width:768px)': {\n\t\t\theight: '24px',\n\t\t},\n\t},\n}));\n\nconst Header = () => {\n\tconst classes = useStyles();\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\"Lime\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default Header;\n","module.exports = __webpack_public_path__ + \"content/assets/d9b66e8fc88ac381f2d0c504f1f0a9af.png\";","import React, { useEffect, useState } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { push } from 'connected-react-router';\nimport { Modal, SuccessMessage, ErrorMessage, ProgressContainer, R } from '@components';\nimport { reset } from '@redux';\nimport { translate } from '@global';\nimport ResetByEmailForm from './components/ResetByEmailForm';\nimport ResetByOperatorForm from './components/ResetByOperatorForm';\n\nexport const ResetView = ({}) => {\n\tconst [step, setStep] = useState('resetByEmail');\n\tconst [error, setError] = useState('');\n\tconst requestEmail = useSelector(reset.selectors.requestEmail);\n\tconst dispatch = useDispatch();\n\n\tconst submitting = false;\n\n\tconst goToLogin = () => dispatch(push('/login'));\n\tconst resetForm = () => setStep('resetByEmail');\n\tconst titleModal = ` ${['resetByOperator', 'succeededOperator', 'failedOperator'].includes(step) ? '#2' : '#1'}`;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{step === 'succeeded' &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\t{(step === 'failed' || step === 'failedOperator') &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{step === 'resetByEmail' &&\n\t\t\t\t\t\t setStep('succeeded')}\n\t\t\t\t\t\t\tonSubmitFail={(errorInfo) => { setError(errorInfo._error); setStep('failed'); }}\n\t\t\t\t\t\t\tonOperatorSended={() => setStep('resetByOperator')}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\t{step === 'succeededOperator' &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\t{step === 'resetByOperator' &&\n\t\t\t\t\t\t setStep('succeededOperator')}\n\t\t\t\t\t\t\tonSubmitFail={(errorInfo) => { setError(errorInfo._error); setStep('failedOperator'); }}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t\n\t);\n};\n","import React, { useEffect, useState } from 'react';\nimport compose from 'recompose/compose';\nimport { connect } from 'react-redux';\nimport { \n\tField,\n\tformValueSelector,\n\treduxForm,\n} from 'redux-form';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { Button, FormInput, R } from '@components';\nimport { constants } from '@config';\nimport { reset } from '@redux';\nimport { RequireConfirmationCodeItem } from '@shared';\nimport { translate } from '@global';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\twarning: {\n\t\tpadding: '12px 16px',\n\t\ttextAlign: 'justify',\n\t\tfontSize: '12px',\n\t\tlineHeight: '20px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t},\n\n});\n\nconst mapStateToProps = (state) => {\n\tconst formSelector = formValueSelector(RESET_BY_EMAIL_FORM_ID);\n\treturn {\n\t\temailValue: formSelector(state, 'Email'),\n\t};\n};\n\nconst mapDispatchToProps = dispatch => ({\n\tactions: {\n\t\tsendConfirmationCode: email => dispatch(reset.actions.sendConfirmationForResetByEmail.request(email)),\n\t},\n});\n\n\nconst RESET_BY_EMAIL_FORM_ID = 'ResetByEmailForm';\nclass ResetByEmailForm extends React.Component {\n\tstatic validate(values) {\n\n\t\tconst errors = {};\n\t\n\t\tif (!values) {\n\t\t\treturn errors;\n\t\t}\n\t\n\t\tif (!values.Email) {\n\t\t\terrors.Email = 'required';\n\t\t} else if (!(constants.regExpEmail.test(values.Email))) {\n\t\t\terrors.Email = 'Invalid Format';\n\t\t}\n\t\n\t\tif (!values.ConfirmationCode) {\n\t\t\terrors.ConfirmationCode = 'required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\t\n\n\trender() {\n\t\tconst {\n\t\t\tactions,\n\t\t\tclasses,\n\t\t\temailValue,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tonOperatorSended,\n\t\t\tsubmitting,\n\t\t\ttheme,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t}\n\t\t\t\t\treason=\"MoneyTransferApply\"\n\t\t\t\t\tonSendCode={(email, reason) => actions.sendConfirmationCode(emailValue)}\n\t\t\t\t\tdisabled={invalid || submitting}\n\t\t\t\t>\n\t\t\t\t\t\n\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t: // \"Submit\"\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\tconnect(mapStateToProps, mapDispatchToProps),\n\treduxForm({\n\t\tform: RESET_BY_EMAIL_FORM_ID,\n\t\tvalidate: ResetByEmailForm.validate,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess();\n\t\t\t}\n\t\t},\n\t}),\n)(ResetByEmailForm);\n","import React, { useEffect, useState } from 'react';\nimport compose from 'recompose/compose';\nimport { Field, reduxForm } from 'redux-form';\nimport { withStyles, withTheme } from '@material-ui/core/styles';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { Button, FormInput, FormInputPhoneIconNumber, R } from '@components';\nimport { reset } from '@redux';\nimport { translate } from '@global';\n\nconst styles = theme => ({\n\troot: {\n\t\tposition: 'relative',\n\t},\n\tdivider: {\n\t\tmarginTop: '30px',\n\t},\n\twarning: {\n\t\tpadding: '12px 16px',\n\t\ttextAlign: 'justify',\n\t\tfontSize: '12px',\n\t\tlineHeight: '20px',\n\t},\n\tinputItem: {\n\t\tmarginLeft: '72px',\n\t},\n\tbutton: {\n\t\t...theme.typography.style.stickyButton,\n\t\tpaddingTop: '24px',\n\t},\n\n});\n\n\nconst RESET_BY_OPERATOR_FORM_ID = 'ResetByOperatorForm';\nclass ResetByOperatorForm extends React.Component {\n\tstatic validate(values) {\n\n\t\tconst errors = {};\n\t\n\t\tif (!values) {\n\t\t\treturn errors;\n\t\t}\n\t\n\t\tif (!values.Name) {\n\t\t\terrors.Name = 'required';\n\t\t}\n\n\t\tif (!values.Phone) {\n\t\t\terrors.Phone = 'required';\n\t\t}\n\n\t\treturn errors;\n\t}\n\t\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tphoneState: {\n\t\t\t\tdetermined: false,\n\t\t\t\tcompleted: false,\n\t\t\t},\n\t\t};\n\t\tthis.onPhoneChange = this.onPhoneChange.bind(this);\n\t}\n\n\tonPhoneChange(match) {\n\t\tif (match) {\n\t\t\tthis.setState({\n\t\t\t\tphoneState: match,\n\t\t\t});\n\t\t}\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tclasses,\n\t\t\thandleSubmit,\n\t\t\tinvalid,\n\t\t\tsubmitting,\n\t\t\ttheme,\n\t\t} = this.props;\n\n\t\tconst fillInComment = `Please fill in the form below and click on \"Send\".\n\t\tOperator will contact you soon to help to recover password from your account`;\n\n\t\treturn (\n\t\t\t\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t{submitting ?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t: translate('reset_form_send', 'Send')\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default compose(\n\twithTheme,\n\twithStyles(styles),\n\treduxForm({\n\t\tform: RESET_BY_OPERATOR_FORM_ID,\n\t\tvalidate: ResetByOperatorForm.validate,\n\t\tonSubmitSuccess: (result, dispatch, props) => {\n\t\t\tif (props.onSuccess && (typeof props.onSuccess === 'function')) {\n\t\t\t\tprops.onSuccess();\n\t\t\t}\n\t\t},\n\t}),\n)(ResetByOperatorForm);\n","import React, { useEffect, useState } from 'react';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { push } from 'connected-react-router';\nimport { Modal, SuccessMessage, ErrorMessage, ProgressContainer } from '@components';\nimport { reset } from '@redux';\nimport { CYChangePasswordForm } from '@shared';\nimport { translate } from '@global';\n\n\nexport const ResetPasswordView = ({ match }) => {\n\tconst [step, setStep] = useState('resetByEmail');\n\tconst dispatch = useDispatch();\n\n\tconst submitting = false;\n\n\tconst goToLogin = () => dispatch(push('/login'));\n\tconst resetForm = () => dispatch(push('/reset'));\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{step === 'failed' &&\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t{step === 'resetByEmail' &&\n\t\t\t\t\t\t setStep('succeeded')}\n\t\t\t\t\t\t\tonSubmitFail={() => setStep('failed')}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t\t{step === 'succeeded' &&\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t{translate('reset_form_success_message_first', 'Change password completed.')}\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t{translate('reset_form_success_message_second', 'Go to login page.')}\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t\n\t);\n};\n","var api = require(\"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../node_modules/css-loader/index.js!./global.css\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","var escape = require(\"../node_modules/css-loader/lib/url/escape.js\");\nexports = module.exports = require(\"../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@font-face {\\n\\tfont-family: 'Enigma';\\n\\tfont-style: bold;\\n\\tfont-weight: 700;\\n\\tsrc: local('Enigma'), local('Enigma-Bold'), url(\" + escape(require(\"../static/fonts/Enigma-Bold.otf\")) + \") format('opentype');\\n}\", \"\"]);\n\n// exports\n","module.exports = __webpack_public_path__ + \"ac6f82f2cbd7cf3e5fc1febc6cfa8873.otf\";"],"sourceRoot":""}