{"version":3,"sources":["web/components/loan/webTransactionView/WebTransactionView.module.scss","web/components/profile/DirectDebitAccountsWeb/DirectDebitWeb.module.scss","web/components/loan/TransactionOverview/TransactionOverview.module.scss","web/components/profile/bankStatement/BankStatement.module.scss","web/components/dashboard/webTransactionView/WebTransactionView.module.scss","web/components/dashboard/overviewComp/OverviewComp.module.scss","web/components/dashboard/TransactionOverview/TransactionOverview.module.scss","web/components/profile/transactionPin/securityQuestion/SecurityQuestion.module.scss","web/pages/login/Login.module.scss","web/components/loan/overViewComp/Overview.module.scss","web/components/features/loanRequest/LoanRequest.module.scss","web/components/features/dateRangeSelector/DateRangeSelector.module.scss","web/components/profile/transactionPin/resetPin/ResetPin.module.scss","web/components/features/setTransactionPin/securityQuestion/SecurityQuestion.module.scss","web/components/loan/repaymentSchedule/RepaymentSchedule.module.scss","web/components/features/setTransactionPin/begin/Begin.module.scss","web/pages/signUp/otpVerification/OtpVerification.module.scss","web/pages/directdebitConfirmationPage/DirectdebitConfirmationPage.module.scss","components/Widget/WidgetRevampv2/Dashboard/components/WidgetInitialError/WidgetInitialError.module.scss","components/ErrorHandler/ErrorHandler.module.scss","web/components/layout/Layout.module.scss","web/components/features/completeVirtualAcctModal/CompleteVirtualAcctModal.module.scss","web/components/features/transactionDetails/TransactionDetail.module.scss","web/pages/InvalidPartner/InvalidPartner.module.scss","components/Widget/WidgetNavCard/WidgetNavCard.module.scss","web/components/dashboard/quickActions/QuickActions.module.scss","components/Widget/WidgetCustomTitle/WidgetCustomTitle.module.scss","web-widget-reuseable-components/newOfferPopUp/NewOfferPopUp.module.scss","components/Widget/DirectDebit/DirectDebit.module.scss","components/Widget/WidgetRevampv2/Profile/Profile.module.scss","components/Widget/WidgetRevampv2/QuickLoanRepayment/QuickLoanRepayment.module.scss","web/components/profile/transactionPin/pin/Pin.module.scss","web/components/features/setTransactionPin/pin/Pin.module.scss","web/pages/signUp/signUpLayout/SignUpLayout.module.scss","web/components/features/quickRepayment/QuickLoanRepayment.module.scss","web/components/features/withdraw/Withdraw.module.scss","web/components/menuComp/hamburgerMenu/HamburgerMenu.module.scss","web/components/dashboard/actionButtons/ActionButtons.module.scss","web/components/profile/card/Card.module.scss","web/components/profile/transactionPin/TransactionPin.module.scss","web/components/profile/transactionPin/failed/Failed.module.scss","web/components/features/setTransactionPin/SetTransactionPin.module.scss","web/pages/signUp/welcomeScreen/WelcomeScreen.module.scss","components/Widget/WidgetRevampv2/Withdrawal/Withdrawal.module.scss","web/components/profile/transactionPin/success/Success.module.scss","web/components/features/setTransactionPin/success/Success.module.scss","web/pages/signUp/registrationSuccess/RegistrationSuccess.module.scss","web/components/otpComp/OtpInput.module.scss","web/components/features/repayLoan/RepayLoan.module.scss","components/Widget/WidgetLoader/WidgetLoader.module.scss","components/Widget/WidgetInnerPageLoader/WidgetInnerPageLoader.module.scss","components/Widget/WidgetRevampv2/Loans/Loans.module.scss","components/Widget/UpdateCardDetails/UpdateCardDetails.module.scss","components/Widget/WidgetInitializationError/WidgetInitializationError.module.scss","web/components/dashboard/dashboardOverview/DashboardOverview.module.scss","web/components/loan/loanOverview/LoanOverview.module.scss","web/components/profile/card/addCard/AddCardForm.module.scss","web/components/profile/transactionPin/spinner/Spinner.module.scss","web/components/features/setTransactionPin/spinner/Spinner.module.scss","web/components/features/loanOptions/LoanOptions.module.scss","components/Widget/WidgetFlow.module.scss","web/components/features/topUp/TopUp.module.scss","web/pages/resetPassword/ResetPassword.module.scss","web/components/dashboard/mobileTransactionView/MobileTransactionView.module.scss","web/pages/signUp/gettingStarted/GettingStarted.module.scss","web/components/menuComp/mobileMenu/MobileMenu.module.scss","web/components/profile/Profile.module.scss","assets/loadinggif.gif","assets/embed.svg","components/ButtonLoader/ButtonLoader.component.tsx","components/Widget/WidgetLoader/WidgetLoader.component.jsx","assets/ProgressLogo.png","helpers/ROUTES.js","components/Widget/utils/index.ts","helpers/config.js","components/AppInsight/AppInsight.ts","helpers/appHelpers.js","helpers/errorHandler.js","components/Widget/WidgetRevampv2/Dashboard/components/WidgetInitialError/WidgetInitialError.tsx","redux/actions/types.ts","redux/actions/index.ts","apis/apiEndpoints.js","helpers/encryptor.ts","apis/apiMethods.js","custom-hooks/useFetchBanks.tsx","custom-hooks/useFetchCountries.tsx","custom-hooks/useWidgetAggregatorSettings.tsx","custom-hooks/useFetchUserExists.tsx","custom-hooks/useFetchBankStatementProviderLinked.tsx","custom-hooks/useGenerateAggregatorPrivateKey.ts","helpers/index.ts","components/Widget/WidgetCustomTitle/WidgetCustomTitle.component.tsx","components/Widget/WidgetNavCard/WidgetNavCard.component.tsx","components/CustomWidgetElements/CustomWidgetButton.component.tsx","components/Widget/WidgetInnerPageLoader/WidgetInnerPageLoader.component.jsx","helpers/yupValidators.js","components/CustomHTMLElements/CustomPinInputField.component.tsx","assets/profile/user.svg","components/Widget/Step1/CorporateSignUp.component.jsx","components/Widget/Step1/IndividualSignUp.component.jsx","assets/success.svg","helpers/mixpanel.ts","components/Widget/Step1/StepOne.component.tsx","assets/show-transaction-eye.svg","assets/hide-transaction-eye.svg","helpers/formatCurrency.ts","assets/dashboard/coin-fill.svg","assets/dashboard/send-plane-fill.svg","assets/dashboard/loans.svg","assets/dashboard/user.svg","assets/web/dashboard/receipt-2.svg","components/Loader/Loader.tsx","svg/close-icon.svg","components/Widget/WidgetRevampv2/components/AppCard.tsx","components/Widget/WidgetRevampv2/Dashboard/components/CompleteVirtualAccountModal.tsx","custom-hooks/useFetchWallet.tsx","assets/fail.svg","components/Widget/WidgetRevampv2/SuccessComponent.tsx","assets/info-circle-orange.svg","web-widget-reuseable-components/newOfferPopUp/NewOfferPopUp.tsx","custom-hooks/useFetchPendingLoanOffer.ts","assets/red-dot.svg","components/Widget/WidgetRevampv2/Dashboard/Dashboard.component.tsx","assets/dashboard/headphone.png","assets/profile/card.svg","assets/profile/pin.svg","assets/profile/directDebit.svg","assets/bank_statement.svg","components/Widget/WidgetRevampv2/Profile/Profile.component.tsx","components/Widget/WidgetRevampv2/Profile/components/ProfileDetails.tsx","components/Widget/WidgetRevampv2/Topup/components/TopUpStepTwo.tsx","assets/advancly-logo-full.png","helpers/enforceMaxLength.js","components/ErrorHandler/ErrorHandler.component.tsx","components/CustomHTMLElements/CustomInputField.tsx","components/Widget/WidgetRevampv2/Topup/components/TopUpStepOne.tsx","components/Widget/WidgetRevampv2/Topup/TopUpComponent.tsx","assets/mastercard.svg","assets/visa.svg","assets/verve.svg","helpers/thirdPartyConfig.js","components/Widget/WidgetRevampv2/components/AddCard.js","components/Widget/WidgetRevampv2/Profile/components/CardInformation.tsx","components/Widget/WidgetRevampv2/Profile/components/TransactionPin.tsx","components/Widget/WidgetRevampv2/Profile/components/TransactionPinOnboarding.tsx","assets/withdrawal.svg","assets/deposit.svg","components/Widget/WidgetRevampv2/Transactions/Transactions.component.tsx","components/Widget/WidgetRevampv2/SetPinComponent.tsx","helpers/nigerianStatesAndLga.ts","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/ResidentialInformation.tsx","custom-hooks/useFetchCustomerResidentialInfoStatus.ts","components/Widget/WidgetRevampv2/Withdrawal/Withdrawal.component.tsx","assets/success-icon.svg","custom-hooks/useSavedPaystackDetails.jsx","components/Widget/WidgetBackButton/WidgetBackButton.component.jsx","components/Widget/UpdateCardDetails/UpdateCardDetails.component.jsx","assets/advancly-logo-white.png","assets/loans/user.svg","assets/loans/bag.svg","assets/web/info-circle-loan.svg","custom-hooks/useBankStatementProvider.ts","components/Widget/WidgetRevampv2/Loans/Loans.component.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/LoanRequestStepTwo.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/LoanRequestStepThree.tsx","custom-hooks/useFetchTermsAndConditions.ts","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/LoanRequestStepFour.tsx","assets/plus.svg","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/LoanRequestDirectDebit.tsx","custom-hooks/useDirectDebitExistingAccounts.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/WidgetBankStatementLinkageErrorScreen.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/WidgetAlternativeLoanCompleteScreen.tsx","components/Widget/DirectDebit/DirectDebit.tsx","custom-hooks/useFetchProducts.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRequests/LoanRequest.tsx","assets/loans/loanHistory.svg","components/Widget/WidgetRevampv2/Loans/components/LoanHistory/LoanRepaymentSchedule.tsx","assets/loans/repayment.svg","components/Widget/WidgetRevampv2/Loans/components/LoanHistory/LoanRepayments.tsx","helpers/accurateQuantifier.js","custom-hooks/useFetchLoanTransactionDetails.tsx","helpers/shared.ts","assets/web/success.svg","components/Widget/WidgetRevampv2/Loans/components/NewLoanOfferWidget/NewOfferAcceptedScreen.tsx","components/Widget/WidgetRevampv2/Loans/components/NewLoanOfferWidget/NewOfferRejectedScreen.tsx","components/Widget/WidgetRevampv2/Loans/components/NewLoanOfferWidget/NewLoanOffer.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanHistory/LoanHistoryDetails.tsx","custom-hooks/useFetchLoanHistory.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanHistory/LoanHistory.tsx","components/Widget/DirectDebit/DirectDebitExistingAccounts.tsx","components/Widget/WidgetRevampv2/Profile/components/DirectDebitProfile.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentAmount.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentMpesa.tsx","assets/web/add-circle.svg","custom-hooks/useFetchCard.tsx","custom-hooks/useDirectDebitsApprovedAcct.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentMethods.tsx","components/Widget/WidgetRevampv2/components/NewLoader.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentViaWallet.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/WidgetAddNewCard.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentViaNewCard.tsx","assets/document-upload.svg","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentProof.tsx","components/Widget/WidgetRevampv2/Dashboard/components/ContactUs.tsx","custom-hooks/useGetLinkedBankAccount.ts","components/Widget/WidgetRevampv2/Profile/components/BankStatement.tsx","components/Widget/WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentViaDirectDebit.tsx","assets/web/close-square.svg","assets/web/a.svg","assets/web/arrow-left.svg","assets/web/wallet-3.svg","assets/web/arrow-right.svg","assets/web/card.svg","web/components/features/addCard/AddCard.jsx","web/components/features/repayLoan/AddNewCard.tsx","custom-hooks/useFetchActiveLoans.ts","custom-hooks/useFetchCustomerWalletDetails.tsx","web/components/features/quickRepayment/QuickLoanRepayment.tsx","components/Widget/WidgetRevampv2/QuickLoanRepayment/QuickLoanRepayment.tsx","components/Widget/WidgetRevampv2/QuickLoanRepayment/components/QuickLoanRepaymentAmount.tsx","components/Widget/WidgetRoutes.tsx","components/Widget/WidgetFlow.tsx","components/Privacy.js","components/Terms.js","components/Widget/EmbedApiSecurity/WidgetFlowEmbedApi.jsx","assets/web/Embed.svg","web/components/sidebarMenu/SidebarMenu.tsx","web/components/menuComp/hamburgerMenu/HamburgerMenu.tsx","assets/web/nouser.svg","web/components/menuComp/mobileMenu/MobileMenu.tsx","web/components/layout/Layout.tsx","assets/web/arrow-circle-right.svg","web/components/dashboard/webTransactionView/WebTransactionView.tsx","helpers/paginate.ts","assets/web/dashboard/copy.svg","web/components/features/topUp/TopUp.tsx","assets/web/arrow-right-coloured.svg","assets/web/dashboard/SCENE 5 5.png","web/components/card/Card.tsx","web/components/dashboard/actionButtons/ActionButtons.tsx","assets/web/dashboard/wallet-money.svg","assets/web/dashboard/add-circle.svg","assets/web/dashboard/send-2.svg","assets/web/dashboard/headphone white.svg","web/components/dashboard/quickActions/QuickActions.tsx","assets/web/dashboard/noItem.png","web/components/dashboard/TransactionOverview/TransactionOverview.tsx","assets/web/depositIcon.svg","assets/web/withdrawIcon.svg","web/components/features/dateRangeSelector/DateRangeSelector.tsx","web/components/dashboard/mobileTransactionView/MobileTransactionView.tsx","web/components/dashboard/overviewComp/OverviewComp.tsx","components/CustomHTMLElements/EmbedCustomInputField.tsx","components/CustomHTMLElements/CustomTextArea.tsx","helpers/cleanSavedPhoneNumber.ts","web/components/features/support/Support.tsx","assets/web/user.svg","web/components/features/withdraw/WithdrawalStepOne.tsx","web/components/features/withdraw/WithdrawalStepTwo.tsx","web/components/features/withdraw/Spinner.tsx","web/components/features/withdraw/Success.tsx","web/components/features/withdraw/Failed.tsx","assets/web/set-transaction-pin.svg","web/components/features/withdraw/setTransactionPinWithdrawal/Begin.tsx","custom-hooks/useFetchSecurityQuestion.tsx","web/components/features/withdraw/setTransactionPinWithdrawal/SecurityQuestion.tsx","web/components/features/withdraw/setTransactionPinWithdrawal/Pin.tsx","assets/web/arrow-down.svg","assets/web/arrow-up-1.svg","web/pages/signUp/residentialInformation/ResidentialInformation.tsx","web/components/features/withdraw/Withdraw.tsx","assets/web/money-recieved.svg","assets/web/money-add.svg","web/components/features/loanOptions/LoanOptions.tsx","web/components/features/completeVirtualAcctModal/CompleteVirtualAcctModal.tsx","web/components/features/transactionDetails/TransactionDetails.tsx","custom-hooks/useFetchUserTransaction.tsx","web/components/features/newLoanOffer/NewLoanOffer.tsx","web/components/dashboard/dashboardOverview/DashboardOverview.tsx","web/components/loan/webTransactionView/WebTransactionView.tsx","assets/web/Frame.svg","assets/web/SCENE 6.png","web/components/loan/mobileTransactionView/MobileTransactionView.tsx","web/components/loan/TransactionOverview/TransactionOverview.tsx","assets/web/carousel-arrow-right.svg","assets/web/carousel-arrow-left.svg","web/components/loan/loanHistoryCarousel/LoanHistoryCarousel.tsx","custom-hooks/useFetchOutstandingLoanBalance.tsx","custom-hooks/useFetchNextRepayment.tsx","custom-hooks/useFetchRecentLoans.tsx","web/components/loan/overViewComp/OverviewComp.tsx","web/components/loan/loanOverview/LoanOverview.tsx","web/components/profile/personalInformation/PersonalInformation.tsx","web/components/profile/card/addCard/AddCardForm.tsx","web/components/profile/card/Card.tsx","web/components/profile/transactionPin/securityQuestion/SecurityQuestion.tsx","web/components/profile/transactionPin/pin/Pin.tsx","web/components/profile/transactionPin/spinner/Spinner.tsx","web/components/profile/transactionPin/success/Success.tsx","web/components/profile/transactionPin/resetPin/ResetPin.tsx","web/components/profile/transactionPin/failed/Failed.tsx","web/components/profile/transactionPin/TransactionPin.tsx","web/components/profile/password/EmailVerification.tsx","web/components/profile/password/OtpVerification.tsx","web/components/profile/password/ChangePassword.tsx","web/components/profile/password/SuccessMessage.tsx","web/components/profile/password/Password.tsx","assets/web/edit-2.svg","custom-hooks/useDirectDebitExistingAccountsWeb.tsx","web/components/profile/DirectDebitAccountsWeb/ExistingDirectDebitAccountsWeb.tsx","web/components/profile/DirectDebitAccountsWeb/DirectDebitAccountWeb.tsx","web/components/profile/bankStatement/BankStatement.tsx","web/components/profile/Profile.tsx","web/components/contactUs/ContactUs.tsx","web/components/features/loanRequest/LoanRequestStepOne.tsx","web/components/features/loanRequest/LoanRequestStepTwo.tsx","web/components/features/loanRequest/LoanRequestStepThree.tsx","web/components/features/loanRequest/LoanRequestStepFour.tsx","web/components/features/loanRequest/LoanRequestSuccess.tsx","web/components/features/loanRequest/LoanRequestFailed.tsx","components/CustomHTMLElements/CustomSelectDropdown.tsx","web/components/features/loanRequest/LoanRequestDirectDebitWeb.tsx","web/components/features/loanRequest/LoanRequestAddNewDirectDebit.tsx","web/components/features/loanRequest/BankStatementErrorScreen.tsx","web/components/features/loanRequest/AlternativeLoanCompleteScreen.tsx","web/components/features/loanRequest/BNPLSummaryPage.tsx","custom-hooks/useFetchGlobalSettings.ts","web/components/features/loanRequest/LoanRequest.tsx","web/components/features/repayLoan/RepayLoan.tsx","web/components/loan/loanHistoryDetails/LoanHistoryDetails.tsx","assets/web/tick-circle.svg","assets/web/close-circle.svg","web/components/loan/repaymentSchedule/RepaymentSchedule.tsx","custom-hooks/useFetchLoanRepayments.tsx","web/components/loan/loanRepayments/LoanRepayments.tsx","web/components/features/setTransactionPin/begin/Begin.tsx","web/components/features/setTransactionPin/securityQuestion/SecurityQuestion.tsx","web/components/features/setTransactionPin/pin/Pin.tsx","web/components/features/setTransactionPin/spinner/Spinner.tsx","web/components/features/setTransactionPin/success/Success.tsx","web/components/features/setTransactionPin/SetTransactionPin.tsx","custom-hooks/useFetchRepaymentSchedule.tsx","web/pages/userData/UserData.tsx","assets/web/SCENE1v4.svg","web/pages/login/Login.tsx","web/pages/signUp/signUpLayout/SignUpLayout.tsx","custom-hooks/useOtpTypes.tsx","web/pages/signUp/gettingStarted/GettingStarted.tsx","web/pages/signUp/otpVerification/OtpVerification.tsx","web/components/individual/Individual.tsx","web/pages/signUp/registrationSuccess/RegistrationSuccess.tsx","web/pages/signUp/welcomeScreen/WelcomeScreen.tsx","web/pages/signUp/SignUp.tsx","web/pages/resetPassword/StepOne.tsx","web/pages/resetPassword/StepThree.tsx","web/components/otpComp/OtpInput.tsx","web/pages/resetPassword/StepTwo.tsx","web/pages/resetPassword/ResetPassword.tsx","assets/web/mandate_confirmed.svg","assets/web/failed.svg","custom-hooks/useFetchMandateConfirmation.ts","web/pages/directdebitConfirmationPage/DirectdebitConfirmationPage.tsx","web/pages/InvalidPartner/InvalidPartner.tsx","App.tsx","redux/reducers/widgetSettingsReducer.ts","interfaces/borrower.ts","redux/reducers/borrowerDetailsReducer.ts","redux/reducers/loanDetailsReducer.ts","redux/reducers/websettingsReducer.ts","redux/reducers/monoWidgetReducer.ts","redux/reducers/webAggregatorSettingsReducer.ts","redux/reducers/index.ts","redux/store.ts","index.tsx","web/components/profile/password/Password.module.scss","web/components/features/support/Support.module.scss","web/components/profile/personalInformation/PersonalInformation.module.scss","web/pages/signUp/residentialInformation/ResidentialInformation.module.scss","web/components/features/newLoanOffer/NewLoanOffer.module.scss","web/components/individual/Individual.module.scss","components/Widget/WidgetRevampv2/Dashboard/Dashboard.module.scss","web/components/card/Card.module.scss","web/components/sidebarMenu/SidebarMenu.module.scss","web/components/loan/mobileTransactionView/MobileTransactionView.module.scss","web/components/contactUs/ContactUs.module.scss","web/components/loan/loanHistoryCarousel/LoanHistoryCarousel.module.scss","web/components/loan/loanHistoryDetails/LoanHistoryDetails.module.scss","web/components/loan/loanRepayments/LoanRepayments.module.scss"],"names":["module","exports","ButtonLoader","_ref","type","noMarginLeft","_jsxs","className","children","_jsx","src","embed","alt","style","alignSelf","height","width","loader","objectFit","WidgetLoader","showWidgetAnimation","styles","widgetLoader","display","marginLeft","marginRight","fontSize","ROUTES","login","changePassword","widget","widgetEmbedApiSecurity","widgetUpdateCard","widgetPayments","widgetMakePayment","widgetViewRepayments","widgetLoan","widgetLoanRequest","widgetLoanHistory","widgetAllLoans","widgetALoanDetails","widgetLoanOffer","widgetLoanRepaymentAmount","widgetLoanRepaymentMethods","widgetLoanRepaymentViaWallet","widgetLoanRepaymentViaNewCard","widgetLoanRepaymentViaDirectDebit","widgetLoanRepaymentProof","widgetDashboard","widgetTopUp","widgetProfile","widgetQuickLoanRepayment","widgetQuickLoanRepaymentAmount","widgetProfileInfo","widgetDirectDebitProfile","widgetBankStatement","widgetCard","widgetPin","widgetPinOnboarding","widgetTransactions","widgetWithdrawal","widgetSetPin","widgetContactUs","widgetLoanRepaymentOptionView","widgetLoanRepaymentMpesa","widgetNewLoanOffer","WEB_LOGIN","WEB_LOGIN_PRODUCTDIVE","WEB_SIGN_UP","WEB_SIGN_UP_PRODUCTDIVE","RESET_PASSWORD","RESET_PASSWORD_PRODUCTDIVE","WEB_DASHBOARD","WEB_DASHBOARD_PRODUCTDIVE","WEB_LOAN","WEB_LOAN_PRODUCTDIVE","WEB_PROFILE","WEB_PROFILE_PRODUCTDIVE","WEB_CONTACTUS","WEB_CONTACTUS_PRODUCTDIVE","WEB_DIRECT_DEBIT_CONFIRMATION","WEB_INVALIDPARTNER","WIDGET_RESPONSE_STATUSES","WIDGET_RESPONSE_LOAN_STATUSES","CONFIG","BASE_URL","window","env","baseUrl2","BASE_URL2","PAYSTACK_PUBLIC_KEY","paystackPublicKey","OKRA_PUBLIC_KEY","okraPublicKey","OKRA_CLIENT_TOKEN","okraToken","OKRA_ENV","okraEnv","OKRA_SHORT_URL","okraShortUrl","BVN_CHECKER","bvnChecker","APPINSIGHTS_KEY","baseUrl","getAppInsightKey","USE_MOCK","MONO_BASE_URL","monoBaseUrl","MONO_PUBLIC_KEY","monoPublicKey","MONO_SECRET_KEY","monoSecretKey","ENCRYPTION_KEY","MIXPANEL_PROJECT_TOKEN","mixpanelProjectToken","browserHistory","createBrowserHistory","basename","reactPlugin","ReactPlugin","appInsights","ApplicationInsights","config","instrumentationKey","extensions","extensionConfig","_defineProperty","identifier","history","loadAppInsights","getToken","localStorage","getItem","handleGetEncryptedKey","public_key","private_key","message","CryptoJS","Utf8","parse","secretkey","aesOptions","mode","CBC","iv","encrypt","toString","getHTTPKey","key","sessionStorage","storeHTTPKey","setItem","scrollToTop","widgetPageTop","document","getElementById","scrollIntoView","behavior","errorHandler","error","_error$message","_error$response","_error$response$data","toLowerCase","response","data","request","errorToast","content","deviceType","WidgetInitialError","checkFirstTimeBorrowerError","checkBankStatementAuthStatusError","ValidateAggregatorKeyError","unexpectedError","invalidAggregatorIdError","widgetErrorContainer","subContainer","concat","onClick","location","reload","WIDGET_SETTINGS","BORROWER_DETAILS","LOAN_DETAILS","WEB_SETTINGS","MONO_WIDGET_DATA","WEB_AGGREGATOR_SETTINGS","updateWidgetSettingsAction","widgetSettings","payload","updateBorrowerDetailsAction","borrowerDetails","updateLoanDetailsAction","loanDetails","updateWebSettingsAction","webSettings","updateMonoWidgetDataAction","monoWidgetData","updateWebAggregatorSettingsAction","webAggregatorSettings","apiEndpoints","resetPasswordUrl","loginUrl","changePasswordUrl","makePaymentFromWidget","getBorrowerLoansInWidget","getWidgetLoanDetails","getProductByCode","validateBankAccount","updateBorrowerLoanStatusWithKey","getBorrowerProfile","checkOkraPaystackOnAccount","getAggregatorKey","getBorrowerLoanRepayments","paystackInfo","getWallet","getWalletConsent","getTransactions","getSecurityQuestions","saveSecurityQuestionAndAnswer","saveCustomerPin","resetCustomerPin","withdrawFunds","getLoanProducts","processLoan","getLoanRepaymentSchedule","makeRepayment","addCard","fetchCards","setDefaultCard","getRepayments","generateLoanDetails","getWidgetSettings","getCollectionAccounts","offlineRepayment","checkCustomerExist","saveBankStatementProvider","contactUs","checkBankProviderLinked","postLoanRepaymentViaMpesa","directDebitEmandatesAccts","getLinkedBankAccountDetailsWidget","fetchPendingLoanOfferWidget","updateNewLoanOfferStatusWidget","createResidentialInformationWidget","confirmResidentialAddressWidget","getCustomerResidentialAddressWidget","getCountries","getAggregators","resolve_BVN","otp_types","validate_sign_up_email","validate_sign_up_otp","generate_otp","wallet_balance","customerBanks","customerLoanProducts","customerSecurityQuestions","customerWalletTransactions","customerOnboard","customerWalletDetails","customerProcessCustomerLoan","customerSetPin","customerSecurityQuestionAnswer","customerWithdrawFunds","customerValidateBankAccount","customerResetPin","customerLoanHistory","getWebLoanRepaymentSchedule","getCustomerRepayments","updateUser","updatePassword","repayloan","getWalletConsentWeb","checkCustomerExistsWeb","checkBankStatementProviderIsLinked","saveBankstatementProviderWeb","customerOutstandingLoanBalance","nextRepayment","recentLoans","getBusinessName","getTermsAndCondition","getMandateConfirmation","validateAggregator","getLinkedBankAccountDetailsWeb","fetchActiveLoans","fetchActiveLoansWidget","createResidentialInformation","fetchPendingLoanOffer","updateNewLoanOfferStatus","confirmResidentialAddress","getCustomerResidentialAddress","getWebAggregatorSettings","globalSettings","encryptor","require","JSON","stringify","decrypt","token","baseURL","baseURL2","savedHeaders","axiosInstance","axios","create","interceptors","use","headers","_objectSpread","Authorization","Promise","reject","ssoArraffinity","ssoArraffinitySamesite","ssoarraffinity","ssoarraffinitysamesite","trackException","exception","status","Error","axiosInstance2","undefined","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","abrupt","stop","_x","apply","arguments","getData","_ref2","_callee2","url","_context2","method","sent","_x2","getDataWithKey","_ref3","_callee3","_context3","HTTP_KEY","_x3","getDotNetDataWithKey","_ref4","_callee4","_context4","_x4","postData","_ref5","_callee5","reqBody","_context5","_x5","_x6","_x7","postDataWithKey","_ref6","_callee6","_context6","_x8","_x9","postDotNetDataWithKey","_ref7","_callee7","_context7","_x10","_x11","putDotNetDataWithKey","_ref8","_callee8","_context8","_x12","_x13","putData","_ref10","_callee10","_context10","_x16","_x17","fetchBanks","country_code","res","t0","console","useFetchBanks","useQuery","refetchOnWindowFocus","enabled","getCountryList","_yield$getData","useFetchCountries","getWidgetAggregatorSettings","countryCode","aggregatorId","getWidgetAggregatorSettingsWithHttpKey","httpKey","fetchExistingUser","identity_number","phone_number","aggregator_id","email","business_registration_number","useFetchUserExists","fetchBankStatementProviderStatus","customer_id","bank_statement_provider_id","useFetchBankStatementProviderStatus","getGeneratedAggregatorPrivateKey","sendResponseToClient","_window","_window$top","_window2","_window2$ReactNativeW","log","sentResponseToClient","top","postMessage","ReactNativeWebView","WidgetCustomTitle","title","step","totalSteps","extraText","showDismissButton","useHistory","widgetCustomTitle","goBack","Fragment","progressBar","CircularProgressbar","value","text","minValue","maxValue","buildStyles","textSize","pathColor","textColor","trailColor","backgroundColor","WidgetNavCard","icon","subtitle","disabled","widgetNavCard","iconArea","actionIcon","CustomWidgetButton","customStyles","loading","_ref$type","name","buttonType","buttonBackgroundColor","borderColor","color","buttonTextColor","WidgetInnerPageLoader","widgetInnerPageLoader","numberRegExp","yupValidators","firstName","yup","required","fullName","country","partner","loanProduct","tenor","firstRepaymentDate","numberOfRepayments","repaymentDate","lastName","businessName","state","lga","address","businessRcNumber","matches","age","positive","integer","min","bvn","dob","gender","directDebitAccount","nationalId","bankName","accountNumber","max","trim","password","confirmPassword","oneOf","amount","otp","pin","confirmPin","oldPassword","newPassword","confirmNewPassword","note","description","cardNumber","expiryDate","cvv","securityQuestion","securityAnswer","CustomPinInputField","focus","length","setValue","hide","initialValue","label","PinInput","secret","onChange","inputMode","regexCriteria","autoSelect","inputStyle","border","borderRadius","CorporateSignUp","_worldCountries$find","edit_widget","businessRegNumberValidated","bvnLoading","handleBvnValidation","otpLoading","onOtpInput","handleChange","handleCacValidation","handleOtpValidation","borrower_phone","worldCountries","showBackBtn","company_name","customerPhoneNumber","allowSmsNotification","bank_account_number","bank_account_name","bank_name","allowBankDetails","bankList","bankDetailsInputEnabledBoolean","otpError","setOtpError","_useState","useState","_useState2","_slicedToArray","counter","setCounter","useEffect","timer","setTimeout","c","clearTimeout","trackPageView","isLoggedIn","paddingTop","paddingBottom","Alert","showIcon","closable","onClose","time","minutes","Math","floor","seconds","String","padTime","format","cursor","Form","layout","Item","rules","Input","e","target","pattern","_Fragment","Select","placeholder","allowClear","showSearch","filterOption","input","option","_option$label","includes","options","map","item","code","Option","user","defaultValue","find","href","rel","IndividualSignUp","bvnValidated","de","primaryColor","padding","mixpanel","init","debug","track_pageview","persistence","MixPanel","identify","unique_id","people","set","props","track","event_name","properties","StepOneComponent","widgetState","useSelector","store","widgetSettingsReducer","borrowerDetailsReducer","bank_details_input_enabled","customer_type","_useState3","_useState4","loaders","setLoaders","ipRef","useRef","_useState5","_useState6","setError","_useState7","_useState8","setData","_useState9","_useState10","borrowerType","setBorrowerType","allow_sms_notification","allow_bank_details","_useState11","bvnValid","bvnIconClass","otpIconClass","bvn_phone","timerExpired","emailValidated","bvnIconStatus","otpIconStatus","loan_application_referenceno","state_token","showRegistrationSuccess","notify","_useState12","setState","validateAccount","bank_code","bank_account_num","finish","onClickNavCard","preventDefault","persist","validateFields","handleIndividualBvnValidation","handleCooperateBvnValidation","dataParams","_data$country_code","borrower_type","bvn_number","board_step","customer_phone","city","first_name","last_name","residence_address","photo_url","is_widget","customer_category","create_wallet","phone","_data","requestBody","fetch","then","json","current","ip","page","handleRegistration","_borrower_phone","_customer_type","nextStepData","urlToCall","startsWith","Date","toLocaleString","distinct_id","product","$name","$email","success","formatCurrency","number","Number","toFixed","replace","formatMoney","currency","Loader","_ref$light","light","flexDirection","alignItems","justifyContent","marginTop","_path","_path2","_path3","AppCard","handleCopy","primaryLightColor","primaryDeepColor","background","body","setProperty","_excluded","_extends","Object","assign","bind","i","source","prototype","hasOwnProperty","call","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgCloseIcon","svgRef","titleId","viewBox","fill","xmlns","ref","id","d","ForwardRef","CompleteVirtualAccountModal","WalletConsentDetails","iframeKey","setIframeKey","queryCache","useQueryCache","closeVirtualModal","invalidateQueries","tabIndex","role","maxWidth","CloseIcon","_document","_document$getElementB","textContent","copy","getFetchWalletDetails","borrowerId","useFetchWalletDetails","SuccessComponent","handler","btnText","setSuccess","fail","headerText","bodyText","NewOfferPopUp","viewNewLoanOfferHandler","newLoanOfferRouteHandler","new_loan_popup_container","new_loan_popup","infoCircle","popup_text","popup_btn","_fetchPendingLoanOffer","fetchPendingWidgetLoanOffer","_fetchPendingWidgetLoanOffer","useFetchPendingLoanOffer","useFetchPendingWidgetLoanOffer","DashboardComponent","handleWithdrawal","handlePin","useLocation","scrollTo","pathname","isLoading","loan_status","modified_date","loan_amount","lastLoan","WalletConsentIsLoading","setWalletConsentIsLoading","setWalletConsentDetails","loanCurrency","cardAddition","setCardAddition","_useState13","_useState14","showWalletBalance","setShowWalletBalance","_useState15","_useState16","_useState17","_useState18","copiedSuccessMessage","setCopiedSuccessMessage","_useFetchWalletDetail","fetchWalletDetailsdata","isLoadingFetchWalletDetails","refetchFetchWalletdetails","refetch","_useWidgetAggregatorS","useWidgetAggregatorSettings","WidgetAggregatorSettingsData","isLoadingWidgetSetting","pendingLoanOffer","handleShowWalletBalance","_fetchWalletConsent","fileName","allow_view_balance","isTransactionPinSet","push","fetchWalletConsent","removeItem","dashboard","accountStatus","warningCompleteVirtualAccount","proceedNumber","isApi","marginBottom","use_wallet","walletCard","hideWalletBalanceIcon","showWalletBalanceIcon","availableBalance","RiFileCopyFill","accountName","moment","Button","size","alert","dashboardgrid","cardMobile","card","AiOutlineLock","topup","allow_withdrawal","withdraw","position","loans","redDot","red_dot","repay","profile","ProfileComponent","_objectDestructuringEmpty","allow_pin_change","returningUserDetails","IoMdArrowRoundBack","FaUserAlt","iconMobile","MdArrowForwardIos","DirectDebit","bankStatementSVG","ProfileDetails","_Form$useForm","useForm","form","setLoading","bankAccountName","setBankAccountName","bankCode","readOnly","TopUpStepTwo","handleGoBack","walletDetails","topUpAmount","handleValidateTransfer","enforceMaxLength","maxLength","ErrorHandler","errors","errorText","CustomInputField","reference","minLength","hasActionButton","PrependComponent","hasPrepend","otherProps","showPassword","setShowPassword","onKeyPress","BsEyeSlash","BsEye","schema","shape","TopUpStepOne","setTopUpAmount","handleNext","_useForm","resolver","yupResolver","register","handleSubmit","formState","onSubmit","loanAmount","TopUpComponent","currentStep","setCurrentStep","setIsLoading","showSuccess","setShowSuccess","showFailure","setShowFailure","setWalletDetails","_fetchWallet","fetchWallet","prevState","steps","logo","failure","paystackConfig","publicKey","channels","getTime","AddCard","updatePayStackStatus","fetchAddedCards","paystackRef","onPaystackSuccess","borrower_id","paystack_reference","paystack_transaction","trans","encryptedKey","onPaystackClose","paystackComponentProps","onSuccess","_paystackRef$current","click","openPaystackWidget","PaystackConsumer","initializePayment","CardInformation","cards","setCards","cardImage","cardType","MastercardIcon","VisaIcon","VerveIcon","_makeCardDefault","card_id","card_type","last_four_digits","is_default","BsCheck2All","expiry_month","expiry_year","makeCardDefault","TransactionPin","handleDashboard","_Form$useForm3","form2","showReset","setShowReset","showNextScreen","setShowNextScreen","showDone","setShowDone","securityQuestions","setSecurityQuestions","question_id","answer","securityData","setSecurityData","_submitSecurityAnswer","_borrowerDetails$retu","_saveCustomerPin","_borrowerDetails$retu2","_borrowerDetails$retu3","onFinish","Password","dependencies","getFieldValue","validator","_","resolve","submitSecurityAnswer","_index","question","TransactionPinOnboarding","showPinPage","setShowPinPage","_fetchSecurityQuestions","fetchSecurityQuestions","advLogo","TransactionsComponent","transactions","setTransactions","_fetchTransactions","_response$data","_response$data2","fetchTransactions","maxHeight","_item$transactionType","_item$transactionType2","_item$transactionStat","transactionType","deposit","transactionDate","transactionStatus","transactionRemarks","transactionId","SetPinComponent","withdrawalError","setWithdrawalError","pinCount","setPinCount","nigerianStateData","localGovernments","ResidentialInformation","_filteredStateValues$","existingDirectDebitAccountData","isLoanRequest","setShowResidentialInfo","setShowPin","filteredStateValues","setFilteredStateValues","selectedLoanDetails","loanDetailsReducer","values","_error$response$data$","street_address","loan_tenure","product_name","val","handleSetSelectedLoan","_existingDirectDebitA","isDirectDebit","hasBankAccount","bank_accounts","htmlType","checkResidentialInfoStatus","_checkResidentialInfoStatus","checkResidentialInfoStatusWidget","_checkResidentialInfoStatusWidget","useFetchCustomerResidentialInfoStatus","useFetchCustomerResidentialInfoStatusWidget","_circle","WithdrawalComponent","setAmount","recipient_bank_code","recipient_account_number","comment","withdrawalData","setWithdrawalData","setAccountName","loadingAccount","setLoadingAccount","showPin","showBank","setShowBank","showResidentialInfo","_useState19","_useState20","_useState21","_useState22","_useState23","_useState24","_useState25","_useState26","_useFetchCustomerResi","residentialInfoStatus","isLoadingResidentialInfoStatus","fetchAccountName","ok","_handleWithdraw","sender_account_number","sender_wallet_id","walletId","wallet_provider","walletProviderId","_withdrawalData$recip","handleWithdraw","handleFinish","_widgetSettings$bankL","bank","InputNumber","controls","formatter","parser","transferCharge","SvgSuccessIcon","cx","cy","r","getSavedPaystackDetails","WidgetBackButton","UpdateCardDetails","_useSavedPaystackDeta","useSavedPaystackDetails","reason","SuccessIcon","alignTextAndLogo","useBankStatementProvider","bankStatementLinkedStatus","dispatch","useDispatch","accountLinkSuccessRef","opened","opened_dateTimeStamp","customer_email","is_institution_selected","selected_institution_name","institution_selected_dateTimeStamp","isSavingProvider","setIsSavingProvider","handleSaveCustomerCode","provider","bank_statement_provider_customer_code","authentication_code","bank_statement_connected","handleLaunchOkraWidget","bankStatementWidgetOpened","Okra","buildWithOptions","app_id","products","monoConnect","customer","monoInstance","MonoConnect","trackEvent","AccountLinkStatus","OutsideLoanProcess","onLoad","_onSuccess","onEvent","eventName","timestamp","institution","setup","open","LoansComponent","_borrowerDetails$bank","_useFetchUserExists","userExistsData","isLoadingUserExist","_useFetchBankStatemen","isLoadingCheckBankStatementAuthStatus","isLoadingWalletDetails","_useBankStatementProv","linkBankstatement","_borrowerDetails$bank2","bank_statement_provider","BiRightArrowAlt","bag","LoanRequestStepTwo","loanProducts","isLoadingLoanProducts","handleGoBackAndClear","selectedLoanProductId","setSelectedLoanProductId","tenorList","setTenorList","customTenor","setCustomTenor","tenors","chosenProduct","maximum_tenor","maximum_amount","repayment_type","loan_product_detail_id","principalAmount","_response$data$repaym","_response$data3","_response$data4","_response$data5","_response$data6","_response$data7","_response$data8","productId","loanTenor","loan_name","loanEffectiveDate","loanTenorInputType","product_id","totalPrincipalDisbursed","totalInterestCharged","loanTermInDays","totalRepaymentExpected","periods","loan_effective_date","loan_tenor_input_type","setFieldsValue","repaymentFrequency","placeSelf","ghost","tenorValue","LoanRequestStepThree","_selectedLoanDetails$","_periods","viewMore","setViewMore","specificProduct","repayment_channel_id","loan_schedule","schedule","index","loan_schedule_data","serial_number","schedule_amount_date","totalDueForPeriod","dueDate","slice","view_more_schedule_btn_container","view_more_schedule_btn","_existingDirectDebitA2","fetchTermsAndConditions","_fetchTermsAndConditions","useFetchTermsAndConditions","LoanRequestStepFour","handlecancelLoanRequest","handleLoanRequestSuccess","acceptTerms","setAcceptTerms","successMsg","setSuccessMsg","loanStateData","monoWidgetDataReducer","useMemo","_onEvent","handleCreateLoan","_handleCreateLoan","formattedMonoWidgetData","loanRequestResponse","effectiveDate","aggregator_loan_ref","repayment_start_date","annual_interest_rate","customer_bank_account","is_bankstatement_linkage_failed","bank_statement_provider_response","html","_useFetchTermsAndCond","termsAndConditions","isLoadingTermsAndConditions","dangerouslySetInnerHTML","__html","DOMPurify","sanitize","Checkbox","checked","finally","LoanRequestDirectDebit","_existingDirectDebitA3","_existingDirectDebitA4","_existingDirectDebitA5","directDebitLoading","directdebitError","accountDetails","setAccountDetails","account_name","account_number","bankDetails","setBankDetails","plus","getDirectDebitExistingAccounts","customerId","directDebitBanksUrl","useDirectDebitExistingAccounts","WidgetBankStatementLinkageErrorScreen","stepFour_container","verification_failed","box","WidgetAlternativeLoanCompleteScreen","_handleCreateLoanWithoutBankStatement","directDebitBankDetails","setDirectDebitBankDetails","directDebitUrl","findBankName","_handleSubmitDirectAccountDetails","_directDebitBankDetai","fetchProducts","fetchLoanProductsWidget","_fetchLoanProductsWidget","LoanRequest","isGlobalLoader","directDebitBackNavigation","cancelLoanRequestHandler","_useDirectDebitExisti","_useFetchProductsWidg","useFetchProductsWidget","LoanRepaymentSchedule","onCancel","loan_ref","repaymentSchedule","setRepaymentSchedule","_fetchRepaymentSchedule","fetchRepaymentSchedule","scope","totalOutstandingForPeriod","LoanRepayments","repaymentDetails","setRepaymentDetails","_fetchRepayments","fetchRepayments","repayment_date","amount_paid","repayment","repayment_status","accurateQuantifier","quantifier","parseInt","fetchLoanDetails","loanRef","loan_details","fetchWidgetLoanDetails","_res$data","LoanOfferStatus","NewOfferAcceptedScreen","_loanData$new_loan_of","mostRecentLoanOffer","loanData","refetchPendingLoanOffer","offer_verification_success","successSVG","offer_amount","new_loan_offer","buttons","new_loan_offer_widget","offer_tenor","showNewLoanOffer","showLoanDetails","NewOfferRejectedScreen","offer_verification_failed","NewLoanOfferWidget","setMostRecentLoanOffer","showOfferAcceptedScreen","setShowOfferAcceptedScreen","showOfferRejectedScreen","setShowOfferRejectedScreen","_useFetchPendingWidge","isLoadingPendingLoanOffer","_newOfferAcceptanceHandler","offer_tenure","loan_offer_id","Accepted","Comment","CreatedAt","created_at","CreatedBy","created_by","OfferAmount","OfferTenure","RepaymentType","RequestedAmount","requested_amount","RequestedTenure","requested_tenure","_newOfferRejectionHandler","_error$response$data$2","_error$response2","_error$response2$data","Rejected","recentLoanOffer","loanOffer_container","loanOffer_overview","loan_amount_outer_container","loan_amount_container","more_loan_details","loan_detail","currency_code","textTransform","Status","LoanHistoryDetails","_widgetLoanDetails$st","_widgetLoanDetails$st2","_widgetLoanDetails$st3","_widgetLoanDetails$st4","_widgetLoanDetails$st5","_widgetLoanDetails$st6","_widgetLoanDetails$st7","_widgetLoanDetails$st8","_widgetLoanDetails$st9","_widgetLoanDetails$st10","_widgetLoanDetails$st11","_widgetLoanDetails$st12","_widgetLoanDetails$st13","_widgetLoanDetails$st14","_widgetLoanDetails$st15","_widgetLoanDetails$st16","_widgetLoanDetails$st17","_widgetLoanDetails$st18","_widgetLoanDetails$st19","widgetData","showSchedule","setShowSchedule","showRepayment","setShowRepayment","_useFetchWidgetLoanTr","useFetchWidgetLoanTransactionDetails","widgetLoanDetails","isLoadingWidgetLoanDetails","widgetLoanDetailError","AwaitingApproval","requested_loan_id","loan_id","SubmittedAndAwaitingApproval","Closed","WithdrawnByClient","has_repaid","Active","Repaid","Approved","active","Overdue","rejected","awaiting","getStatusStyle","pub_date","loan_due_date","loan_interest_amount","loan_outstanding","total_loan_repaid","fetchWebLoanTransactions","fetchWidgetLoanTransactions","LoanHistory","_widgetLoanHistory$da","_widgetLoanHistory$da2","pageNumber","setPageNumber","selectedLoan","setSelectedLoan","_useFetchWidgetLoanHi","useFetchWidgetLoanHistory","isLoadingLoanHistory","widgetLoanHistoryError","totalPages","nextPage","prefetchQuery","_item$status","_item$status2","_item$status3","_item$status4","viewLoanDetailsHandler","loanMaturityDate","pagination_controls","DirectDebitExistingAccounts","showBankAccounts","setShowBankAccounts","IoIosArrowUp","IoIosArrowDown","container_accounts","DirectDebitProfile","LoanRepaymentAmount","_location$state","_location$state2","LoanRepaymentViaMpesa","handleRepayViaMpesa","repayment_amount","status_code","getCards","isWidget","useFetchCards","getWidgetCards","_yield$getDataWithKey","directDebitsApprovedAccts","clientRequest","widgetDirectDebitsApprovedAccts","useWidgetDirectDebitsApprovedAcct","LoanRepaymentMethods","done","setDone","debitCard","setDebitCard","userInfo","_useFetchWidgetCards","useFetchWidgetCards","_useWidgetDirectDebit","ApprovedDirectDebitData","ApprovedDirectDebitLoading","handleRepaymentWithCard","_handleRepaymentWithCard","_location$state11","_location$state12","_location$state13","_location$state14","_location$state15","_location$state16","borrower_repayment_mode","fetchCollectionAccounts","_location$state9","_location$state10","_location$state3","IoWalletOutline","_location$state4","_location$state5","_location$state6","MdOutlinePayments","BsCreditCardFill","_location$state7","_location$state8","addCircle","NewLoader","LoanRepaymentViaWallet","_handleConfirmRepayment","WidgetAddNewCard","_wallet","wallet","gap","LoanRepaymentViaNewCard","LoanRepaymentProof","base64_file_string","setBase64_file_string","filename_with_extension","setFilename_with_extension","toBase64","file","reader","FileReader","readAsDataURL","onload","result","onerror","action","info","_info$file$originFile","originFileObj","split","handleSubmitRepayment","toISOString","Upload","accept","maxCount","onRemove","beforeUpload","upload","ContactUs","_handleSubmit","TextArea","showCount","rows","resize","fetchLinkedBankAccountOnWeb","fetchLinkedBankAccountOnWidget","BankStatement","_useGetLinkedBankAcco","useGetLinkedBankAccountWidget","linkedAccount","isLoadingLinkedAccount","validating_text","bankStatement_body","account","accountNo","LoanRepaymentViaDirectDebit","approvedDirectDebitAccounts","setApprovedDirectDebitAccounts","ApprovedDirectDebitError","handleRepaymentWithDirectDebit","loan_direct_debit_mandate_id","debitDetails","customer_bank_account_number","customer_bank_account_name","customer_bank_name","directAmount","direct_debit_mandate_status","borderRightColor","borderRightWidth","fontWeight","errorMsg","AddNewCard","btns","_fetchActiveLoans","loanStatus","fetchActiveWidgetLoans","_fetchActiveWidgetLoans","useFetchCustomerWalletDetails","refetchInterval","XLendaLoanStatus","QuickLoanRepayment","loanScheduleError","setLoanScheduleError","repaymentValue","setRepaymentValue","approvedDirectDebitData","setApprovedDirectDebitData","isLoadingDirectDebitData","setIsLoadingDirectDebitData","formattedValue","setFormattedValue","dueAmount","dueLoan","setDueLoan","setLoanData","_useFetchActiveLoans","activeLoans","isLoadingActiveLoans","_useFetchCustomerWall","handleSelectedLoan","loanInfo","_response$data$period","today","dueLoanPeriod","_response$data2$perio","pastDueLoans","formattedDueDate","setHours","loan","loanDueDate","complete","filter","sort","a","b","dateA","filename","amountWithoutComma","convertedToNumber","parseFloat","handleRepaymentWithWallet","_error$response$data$3","_error$response$data$4","_error$response3","_error$response3$data","_error$response$data$5","_error$response4","_error$response4$data","_error$response$data$6","_error$response5","_error$response5$data","_error$response$data$7","_error$response6","_error$response6$data","formattedAmount","parts","_formattedValue$split","_formattedValue$split2","integerPart","decimalPart","Intl","NumberFormat","overlay","modal_container","modal_steps_wrapper","_dueLoan$dueAmount","_errors$amount","_walletDetails$availa","_walletDetails$availa2","_walletDetails$availa3","_walletDetails$availa4","_walletDetails$availa5","stepOne_container","stepOne_header","isLoading_container","history_container","_loan$loanAmount","loan_card","logoAndAmount","icon_container","adv","amountAndDate","date","repayBtn","stepTwo_container","arrowLeft","backArrow","stepTwo_header","dueAmountContainer","credit_balance","stepTwo_form","input_container","input_label_container","input_field","submit_button","stepThree_container","group1","walletContainer","arrowRight","group2","cardContainer","onlyChild","arrow","stepThree_header","loanAmount_container","stepFive_container","stepSix_container","stepSeven_container","verification_success","stepEight_container","stepNine_container","renderContent","closeIcon","cancel_button","overflow","showQuickRepayment","_useFetchActiveWidget","fontStyle","QuickLoanRepaymentAmount","WidgetRoutes","Route","path","exact","component","withRouter","_borrowerDetails$coun","_userExistsData$data2","showError","setShowError","setInvalidAggregatorIdError","_useFetchBanks","BankData","isLoadingBankData","bankDataError","_useFetchCountries","countryLists","isLoadingCountryLists","countryListsError","_useGenerateAggregato","useGenerateAggregatorPrivateKey","aggregatorKeyData","isLoadingAggregatorKeyData","useWidgetAggregatorSettingsWithHttpKey","widgetAggregatorSettingsData","isLoadingWidgetAggregatorSettingsData","widgetAggregatorSettingsDataError","allLoadingFalse","every","flag","anyError","some","addEventListener","setInitialData","origin","removeEventListener","bodyElement","querySelector","_userExistsData$data","getEncryptedKey","allow_widget_edit","checkFirstTimeBorrower","finishedFirstInitializations","messageFromAggregator","canCloseWidget","isSafeInteger","aggregator_domain","isoCode","first_time_borrower","settings","resolveSetting","reduce","acc","setting","setting_name","setting_value","allow_contact_us","getWidgetSettingsError","_userExistsData$messa","_userExistsData$data14","_userExistsData$data15","_userExistsData$data16","_userExistsData$data17","_userExistsData$data18","_userExistsData$data19","_userExistsData$data3","_userExistsData$data4","_userExistsData$data5","_userExistsData$data6","_userExistsData$data7","_userExistsData$data8","_userExistsData$data9","_userExistsData$data10","_userExistsData$data11","_userExistsData$data12","_userExistsData$data13","widgetMainWrapper","widgetWrapper","cancelIcon","RiCloseCircleFill","PrivacyPolicy","Link","to","Terms","class","WidgetFlowEmbedApi","initializationError","setInitializationError","setFinishedFirstInitializations","userDetails","setUserDetails","msgFromAggregator","setMsgFromAggregator","setEncryptedKey","activeScreen","setActiveScreen","setBanks","listenForMessage","getGeneratedAggregatorKey","URL","searchParams","get","event","_Object$keys","getBankList","_userDetails","_banks","banks","_a$name","_b$name","_a$name2","_b$name2","cancelIconMobile","widgetMobile","returnActiveScreen","SidebarMenu","webStateData","webSettingsReducer","webAggregatorState","webAggregatorSettingsReducer","courseDescription","courseAmount","requireEquityContribution","_webAggregatorState$d","_settings$setting_nam","handleDashboardNavigateAction","showTransactions","sidebar_container","sidebar","list_container","list_child","NavLink","aggregator_name","activeClassName","selected","list_child_wrap","RiHome5Fill","FaCoins","FaUser","FaHeadphones","reset","IoMdLogOut","HamburgerMenu","setOpen","menuBtn","menuBtnBurger","MobileMenu","handleNavigation","mobile_menu_container","overview_header","hamburger","nouser","avatar","greeting","routeToNavigate","Layout","isPrompted","setIsPrompted","urlExtension","Boolean","idleTimer","useIdleTimer","timeout","onIdle","confirm","forceLogout","onAction","isAfter","parseISO","session_timeout","debounce","clear","timeoutFunction","search","redirectUrl","layout_container","header","logo_wrapper","embedLogo","layout_content_wrapper","children_container","Redirect","WebTransactionView","isTransactionLoading","setTransactionDetail","startIndex","setStartIndex","_paginate","pageSize","prevPage","paginate","visibleLoans","handleViewTransactionDetail","transaction","showTransactionDetail","transaction_container","transaction_header","transaction_Content","table_header","margin","textAlign","_transaction$debitAmo","_transaction$amount","viewInfo","transaction_type","transaction_amount__debit","debitAmount","transaction_amount__credit","transaction_date","view","TopUp","setformattedValue","handleButtonClick","timeoutId","handleRetry","handlePrevious","numericAmount","copyToClipboard","acctNo","acctName","textToCopy","navigator","clipboard","writeText","handleCopyButtonClick","handleClose","showTopUp","transferConfirmationHandler","stepOne_form","stepTwo_instruction","transfer_amount","instruction","accountDetails_container","bank_personal_info","copyIcon","stroke","strokeWidth","Card","walletBalance","loanBalance","bgIcon","accountnumber","icon2","bgColor","isLoadingOutstandingLoanBalance","refetchOutstandingLoanBalance","isLoadingNextRepaymentAmount","NextRepaymentAmount","setShowLoanRequestModal","setShowLoanRepaymentModal","isLoadingOutstandingLoanAmount","setIsLoadingOutstandingLoanAmount","loanDataStore","flex","card_container","title_container","paddingLeft","loan_balance","content_wrap","showLoanRequestModal","showLoanRepaymentModal","action_word","accountBankName","ActionButton","buttonBg","setShowTopUp","setShowSupport","setShowWithdraw","showLoanOptionsFlag","button","showSupport","showWithdraw","showLoanOptions","QuickActions","scrollToTransactions","transactionHistoryRef","quick_actions","header_title","button_container","ActionButtons","send","contact","TransactionOverview","_transactions$slice","colSpan","noTransaction_container","emptyBox","DateRangeSelector","setShowDateRangeSelector","handleConfirmSelection","searchQuery","setSearchQuery","_e$currentTarget","currentTarget","modal_wrapper","startDate","endDate","clearBtn","btn","MobileTransactionView","overviewRef","showDateRangeSelector","selectRangeItems","setSelectRangeItems","container","IoMdArrowRoundUp","range","viewTransactionDetail","icon_title_wrap","withdrawalIcon_wrap","depositIcon_wrap","withdrawalIcon","depositIcon","deposit_date","_transaction$debitAmo2","_transaction$amount2","checkDate","OverviewComp","_userinfo$photo_url","walletConsentDetails","userinfo","walletConsentIsLoading","prompt","showVirtualAcctCompletionModal","noAvatar","dashboard_content","showTransactionEye","hideTransactionEye","TransactionHistoryOverview","dashboardAction","arrowDown","CustomTextArea","React","forwardRef","showRequiredIcon","extraLabel","bottomLabel","otherLabel","otherLabelClassName","_ref$customAreaStyle","customAreaStyle","cleanPhoneSavedPhoneNo","phoneNo","phoneNumber","Support","searchText","setSearchText","searchedResults","setSearchedResults","displayCountry","setDisplayCountry","searchTimeout","setSearchTimeout","dial_code","selectedCountry","setSelectedCountry","full_name","userQuery","setUserQuery","_userInfo$country","phoneNumberCountryDialCode","handleCountryDisplay","handleCountrySelection","_country$country_code","handleSearchChange","searchResult","regex","RegExp","test","filterPrompts","_selectedCountry$coun","_errors$phoneNumber","verify_phone","htmlFor","phone_label","selected_option","Icon","iconify","search_box","_country$country_code2","_country$country_code3","phoneNumberValidation_error","submit__btn","WithdrawalStepOne","_errors$bankName","setDetails","details","setBankCode","setIsLoadingCustomerName","isLoadingCustomerName","customerName","setCustomerName","filteredBankList","setFilteredBankList","showDropdown","setShowDropdown","divRef","isLoadingBanks","fetchCustomerName","userDataResponse","_details$accountNumbe","handleSelectBank","contains","amount_container","amountInput_label_container","amount_input_label","amount_field","amount_error_container","errorStyles","selectBankContainer","onFocus","selectedBankField","bankNameDropdown","charges","WithdrawalStepTwo","handlePreviousStep","setPin","handlePinSubmit","secretDelay","Spinner","Success","handleCompletedTransaction","Failed","Begin","featureIcon","TransactionPINSVG","content_body","isSecurityQuestionSet","useFetchSecurityQuestions","SecurityQuestion","_errors$securityQuest","filteredQuestionsList","setFilteredQuestionsList","questionLists","setQuestionsList","selectedQuestionDetails","setselectedQuestionDetails","_useFetchSecurityQues","questions","isLoadingQuestions","getQuestionId","successTimeout","errorTimeout","handleSelectQuestion","stepSix_header","stepSix_form","selectQuestionContainer","_questions$question","selectedQuestionField","questionDropdown","Pin","stepSeven_header","stepSeven_form","_errors$state","_errors$lga","_localGovtList$localG","_errors$address","isOnboarding","isWithdrawal","showStateDropdown","setShowStateDropdown","showLgaDropdown","setShowLgaDropdown","selectedStateValue","setSelectedStateValue","localGovtList","setLocalGovtList","selectedLocalGovtValue","setSelectedLgaValue","filteredLgaValues","setFilteredLgaValues","borrowerData","stateDivRef","lgaDivRef","selectStateHandler","handleCloseStateList","handleCloseLgaList","selectLgaHandler","_onSubmit","userExistResponse","loginResponse","_userExistResponse$da","ssoAuthToken","encryptedToken","_response","username","sso_auth_token","residential_information_container","residential_information_header","residential_information_form","state_input_outer_container","state_input_label_container","filterValue","arrowUp","input_pointer","stateNameDropdown","local_govt_input_outer_container","local_govt_input_label_container","filterLgaValue","localGovtNameDropdown","Withdraw","refetchTransactions","setBankList","LoanOptions","isRefetchingLoanDetails","handleBankStatement","isLoadingBankStatementLinkedStatus","setCurrentLoanOptionStep","currentLoanOptionStep","_useQuery","loanHistory","isLoanHistoryLoading","_useFetchPendingLoanO","flagActive","flagPending","flagRejected","flagStale","handleLoanRequest","handleViewLoanHistory","handlePreviousPage","_loanHistory$data2","_loanHistory$data3","stepOne_options","new_request","newLoan_container","offers","view_history_text","arrow_left","_loanHistory$data","selectLoan","flagNrefNo","IoIosArrowForward","isCopied","setIsCopied","modal_sub_container","closeIgreeConsent","TransactionDetails","transactionDetail","_details$amount","recipientAccountNumber","fetchUserTransactions","NewLoanOffer","handleCloseModal","generateContactUsUrl","aggregatorName","newOfferAcceptanceHandler","newOfferRejectionHandler","_loanData$new_loan_of2","_loanData$new_loan_of3","Overview","_useFetchUserTransact","useFetchUserTransaction","toast","overview_container","elementRef","offsetTop","Toaster","reverseOrder","_loanHistory$data4","debit","_loanHistory$data5","LoanHistoryCarousel","RecentLoans","checkStatus","loanHistory_container","loan_history_carousel","prevIndex","carouselLeft","letf_img","carousel_container","_checkStatus","loanDetailsAndFlag","carouselRight","fetchUserOutstandingLoanBalance","fetchNextRepayment","fetchRecentLoans","_outstandingLoanBalan","outstandingLoanBalance","_useFetchNextRepaymen","useFetchNextRepayment","_useFetchRecentLoans","useFetchRecentLoans","isLoadingRecentLoans","loan_content","frame","totalAmount","outstandingAmount","noLoanHistory_container","bgIconWeb","LoanOverview","showLoanHistory","ModalProfile","personalSchema","BusinessSchema","PersonalInformation","setCurrentSection","_phoneNumber","phone_no_country_dial_code","personalInfo_container","alignment","left","ModalProfileNavigator","alignLeft","AddCardForm","_errors$bankCode","question_error","submit__section","spinner_container","ResetPin","resetPin_container","resetPin_header","resetPin_form","failed_container","transactionPin_container","EmailVerification","setUserEmail","PasswordSection","OtpVerification","align","userEmail","setOtpLoading","ChangePassword","resendOtp","old_password","password1","password2","SuccessMessage","password_container","renderPasswordSection","getDirectDebitExistingAccountsWeb","useDirectDebitExistingAccountsWeb","ExistingDirectDebitAccountsWeb","isLoadingDirectDebit","DirectDebitAccountWeb","setRecipientAccountNumber","handleSubmitDirectAccountDetails","directDebit_container","bank_error","useGetLinkedBankAccountWeb","bankStatement_container","validate_aggregator","ProfileSection","Profile","_userInfo$photo_url","currentSection","profile_container","profile_header","profile_menu_header","photo_wrapper","photo","pen_holder","edit","pen","name_email","profile_content_wrapper","menu_content_wrapper","menu_wrapper","menu_item","select","profile_content","renderProfileSection","handleDone","support_container","support_header","LoanRequestStepOne","_errors$loanProduct","_selectedLoanData$max","_errors$tenor","_errors$tenor2","isLoadingProducts","loanInputData","setLoanInputData","inputFieldError","setInputFieldError","productList","setProductList","filteredProductList","setFilteredProductList","selectedProductName","setSelectedProductName","setTenor","selectedTenorValue","setSelectedTenorValue","selectedProduct","setSelectedProduct","selectedLoanProductDetailId","setSelectedLoanProductDetailId","selectedLoanData","showProductDropdown","setShowProductDropdown","showTenorDropdown","setShowTenorDropdown","_useState27","_useState28","productDivRef","tenorDivRef","loanDetailsState","monthly_interest_rate","getSelectedProductDetailId","getTenorValue","equity_contribution_loanAmount","handleTenorChange","rawValue","enteredValue","parsedTenor","handleSelectedProduct","_res$data$product_nam","_res$data$repayment_t","_res$data2","_res$data3","_res$data4","_res$data5","_res$data6","_res$data7","_res$data8","handleCloseProductList","handleCloseTenorList","selectProductContainer","product_input_field_container","productNameDropdown","selectTenorContainer","customTenorContainer","customRepaymentValue","alt_interest_rate","switcher","tenor_input_field_container","tenorValueDropdown","handleSelectedTenor","onNextStep","onPrevStep","_loanData$currency","_loanData$currency2","_loanData$currency3","_loanData$periods","handleCancel","IsDirectDebit","loan_title","late_payment_notif_container","late_payment_notif","late_repayment_fee","bvn_checker","isBvnVerified","now","total_cost_amount","equity_contribution_amount","stepFour_header","loanAggreement_container","unorderedList","_userExistsData$bank_","LoanRequestSuccess","closeModal","LoanRequestFailed","CustomSelectDropdown","customSelectStyle","loanRequestDirectDebitschema","directdebitAccount","LoanRequestDirectDebitWeb","_existingDirectDebitA6","stepEight_header","LoanRequestAddNewDirectDebit","stepEleven_container","stepEleven_form","stepEleven_header","BankStatementErrorScreen","user_options","AlternativeLoanCompleteScreen","_handleCreateLoanWithOutBankStatement","stepTen_container","stepTen_header","bankStatement_instructions","BNPLSummaryPage","_courseDescription","_courseAmount","_courseAmount$toLocal","_courseAmount2","_courseAmount3","selectedPartPayment","setSelectedPartPayment","requireEquityContributionPercentage","percentage","percent","_percent$setting_name","minimum_equity_contribution_percentage","_value$setting_name","maximum_equity_contribution_percentage","_value$setting_name2","discountAmount","percentageValues","generatePercentageValues","partPaymentAmount","roundedPartPaymentAmount","ceil","formattedLoanAmount","minimumFractionDigits","maximumFractionDigits","setFieldValue","productdive_container","productdive_header","productdive_loan_amount_container","discount","productdive_percentage_info","info_circle","percentage_text","part_payment_amount","fetchGlobalSettings","_useFetchGlobalSettin","isLoadingGlobalSettings","_useFetchProducts","useFetchProducts","handleNextButton","RepayLoan","_useDirectDebitsAppro","useDirectDebitsApprovedAcct","_error$response$data2","loanId","_error$response$data3","_error$response$data4","isLoanDetailsLoading","isRefetchingRepaymentSchedule","arrowBack","back_button","modal_header","amountAndFlag_outer_container","new_offer","amountAndFlag","repayment_btn","showRepaymentSchedule","next_repayment_amount","total_loan_amount","showLoanRepayments","WrittenOff","Overpaid","RepaymentSchedule","repaymentScheduleData","isLoadingRepaymentSchedule","_data$totalDueForPeri","getMonth","tickCircle","closeCircle","_loanDataStore$status","_loanDataStore$status2","_loanDataStore$status3","_loanDataStore$status4","_loanDataStore$status5","_loanDataStore$status6","_useFetchLoanRepaymen","useFetchLoanRepayments","repayments","isLoadingRepayments","container_header","icon_amount_wrap","credit","amount_date","withdrawal_amount","success_status","other_status","repayment_id","isUserFirstTime","firstTimeLogin","skip_button","setStepOnComplete","stepOnComplete","SetTransactionPin","showPinModal","UserData","useFetchOutstandingLoanBalance","_useFetchLoanTransact","useFetchLoanTransactionDetails","refetchBankStatementLinkedStatus","_useFetchRepaymentSch","useFetchRepaymentSchedule","_response$message","DashboardLayout","DashboardOverview","Login","aggregatorInfo","setAggregatorInfo","isBankStatementConnectedRef","_useParams","useParams","partnerName","_validateAggregator","shortName","handlePostLoginRouting","aggregatorShortName","_webAggregatorSetting","_aggregatorInfo$short3","userResponse","_userResponse$data","customerType","isDefault","companyRegistrationNumber","encryptedBVN","encryptedWalletId","_userExistResponse$da2","_userExistResponse$da3","_userExistResponse$da4","_userExistResponse$da5","_aggregatorInfo$short","_userExistResponse$da6","_userExistResponse$da7","_userExistResponse$da8","_userExistResponse$da9","_userExistResponse$da10","_userExistResponse$da11","_userExistResponse$da12","_aggregatorInfo$short2","requireEquityContributionSetting","add","expiresIn","checkBankStatementAuthStatus","isBvnValidated","isEmailVerified","phoneNoCountryDialCode","wallet_id","aggregator","_checkBankStatementAuthStatus","login__container","form__section","logo__header","forgot__password","sign__up","svg__section","scene1v4","SignUpLayout","getOtpTypes","useOtpTypes","nigerianSchema","otherCountriesSchema","ProductDomainEnum","GettingStarted","_errors$email","isValidatingAggregator","verifyingID","setVerifyingID","watch","selectedCountryCode","isLoadingCountries","foundCountry","otpTypes","nationalID","idType","_otpTypes$find","_response2","_response3","_response4","resolveID","identificationNumber","emailAddress","productDomain","EmbedLite","bizName","otpType","o","_yield$postData","_yield$postData$data","formatted_dob","responseDataBvn","email_label","email_error","id_status","aside","setOtp","more_choices","action_button","individualSchema","Individual","_errors$dob","genderList","currentDate","dateOfBirth","isIdentityNumberVerified","partnerDateRegistered","onboardingType","identityNumber","createWallet","personalInfo__container","personalInfo_header","personalInfo_form","alternate_dob_container","alternate_dob_label","alternate_dob","dobValidation_error","RegistrationSuccess","registration_success_container","registration_success_header","WelcomeScreen","welcome_screen_outer_container","welcome_screen_container","SignUp","setIsValidatingAggregator","handleNextStep","StepOne","setResetPasswordData","reset_step","stateToken","reset_password__container","logo__header_diff_step_three","div_diff_step_three","logo_diff_step_three","button_diff_step_three","section_diff_step_three","section_div_diff_step_three","section_header_diff_step_three","submit__btn_diff_step_three","StepThree","resetPasswordData","reset_password__Step_three","OtpInput","_ref$length","onComplete","Array","inputRef","otp_container","from","_inputRef$current","_inputRef$current2","newPin","_toConsumableArray","digit","join","handleTextChange","StepTwo","change_email","resend","ResetPassword","fetchMandateConfirmation","_fetchMandateConfirmation","mandate_reference_code","DirectdebitConfirmationPage","_useFetchMandateConfi","useFetchMandateConfirmation","substring","mandateConfirmationResponse","isLoadingMandateConfirmationResponse","mandateConfirmationError","isMandateError","isError","direct_debit__container","requestFailedSVG","mandateConfirmedSVG","ErrorPage","fullURL","failedSvg","App","_widgetSettings$custo","_widgetSettings$custo2","_widgetSettings$custo3","Router","Switch","WidgetFlow","Privacy","WebLogin","WebSignUp","InvalidPartner","render","WebDashboard","initialState","batch_loan_number","repayment_cycle","setting_id","persistConfig","storage","whitelist","rootReducer","combineReducers","persistedReducer","persistReducer","composeEnhancers","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","createStore","reducers","applyMiddleware","thunk","persistor","persistStore","createRoot","Provider","PersistGate"],"mappings":"uGACAA,EAAOC,QAAU,CAAC,sBAAwB,kDAAkD,mBAAqB,+CAA+C,MAAQ,kCAAkC,oBAAsB,gDAAgD,oBAAsB,gDAAgD,aAAe,yCAAyC,WAAa,uCAAuC,YAAc,wCAAwC,aAAe,yCAAyC,UAAY,sCAAsC,SAAW,qCAAqC,oBAAsB,gD,sBCAxqBD,EAAOC,QAAU,CAAC,sBAAw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OAAAE,SAAA,CACGohC,GACCnhC,cAACqjB,KAAK,CACJtb,QAASo5B,EACTxhC,KAAK,QACL2jB,UAAQ,EACRC,UAAQ,EACRC,QAAS,kBAAM4d,EAAmB,GAAG,IAGzCphC,cAAA,MAAAD,SAAI,oBACJC,cAAA,KAAGF,UAAU,eAAcC,SAAC,0CAC5BC,cAAA,SACAA,cAAA,SACAA,cAAC6f,GAAmB,CAClBG,SAAU,SAAClF,GACLA,GACFwmB,EAAYxmB,GAEdkF,EAASlF,EACX,EACAiF,OAAQ,EACRI,MAAOA,IAETngB,cAAA,OAAKF,UAAU,6BAA6BM,MAAO,CAAEitB,UAAW,OAAQttB,SACtEF,eAAA,OAAKC,UAAU,4BAA2BC,SAAA,CACxCC,cAAA,KACEF,UAAU,gDACV4K,QAAS,WACP0tB,EAAeA,IAAiB7wB,EAAQmT,SACxC0mB,EAAmB,GACrB,EAAErhC,SACH,YAGDC,cAAA,UACEF,UAAU,6BACV4K,QA9CW,WACf22B,GAAgC,IAApBA,EAASthB,SACvB8Z,IACA/W,YAAW,WACTwe,EAAY,GACd,GAAG,KAEP,EAwCU3lB,SAAU0lB,EAASthB,OAAS,EAAEhgB,SAC/B,gBAOX,E,qBC1FawhC,GAAoB,CAC/B,CACEplB,KAAM,OACNqlB,iBAAkB,CAChB,YACA,YACA,YACA,QACA,UACA,oBACA,oBACA,YACA,UACA,SACA,WACA,OACA,YACA,YACA,YACA,gBACA,gBACA,eAGJ,CACErlB,KAAM,UACNqlB,iBAAkB,CAChB,QACA,SACA,SACA,SACA,QACA,QACA,OACA,OACA,UACA,WACA,QACA,aACA,UACA,aACA,aACA,QACA,WACA,OACA,SACA,aACA,eAGJ,CACErlB,KAAM,UACNqlB,iBAAkB,CAChB,SACA,eACA,eACA,UACA,aACA,aACA,WACA,YACA,WACA,gBACA,gBACA,SACA,UACA,cACA,cACA,SACA,gBACA,gBACA,eACA,eACA,QAGJ,CACErlB,KAAM,YACNqlB,iBAAkB,CAChB,OACA,gBACA,OACA,YACA,cACA,YACA,SACA,QACA,kBACA,cACA,MACA,QACA,aACA,cACA,MACA,MACA,MACA,aACA,YACA,YACA,aACA,aACA,QACA,OACA,OACA,YACA,YACA,WACA,QACA,qBACA,QAGJ,CACErlB,KAAM,SACNqlB,iBAAkB,CAChB,WACA,SACA,SACA,SACA,SACA,OACA,UACA,QACA,aACA,WACA,UACA,QACA,QACA,QACA,QACA,gBACA,OACA,QACA,SAGJ,CACErlB,KAAM,UACNqlB,iBAAkB,CAChB,QACA,WACA,mBACA,QACA,QACA,UACA,eACA,YAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,MACA,QACA,MACA,SACA,QACA,OACA,YACA,YACA,cACA,YACA,SACA,OACA,UACA,MACA,WACA,MACA,UACA,UACA,UACA,QACA,OACA,UACA,cAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,SACA,aACA,OACA,OACA,MACA,SACA,SACA,QACA,QACA,WACA,QACA,QACA,OACA,OACA,aACA,UACA,SACA,cACA,OACA,WACA,YACA,QACA,SACA,UACA,QACA,UACA,UAGJ,CACErlB,KAAM,cACNqlB,iBAAkB,CAChB,WACA,WACA,UACA,QACA,MACA,OACA,SACA,SACA,OACA,QACA,OACA,WACA,QACA,gBACA,QACA,UACA,UACA,yBAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,WACA,UACA,gBACA,YACA,iBACA,cACA,cACA,cACA,cACA,SACA,SACA,gBACA,gBACA,eACA,eACA,SACA,OACA,cACA,cACA,QACA,MACA,gBACA,SACA,iBACA,WAGJ,CACErlB,KAAM,SACNqlB,iBAAkB,CAChB,OACA,SACA,SACA,WACA,YACA,UACA,OACA,OACA,aACA,UACA,SACA,QAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,eACA,iBACA,cACA,QACA,WACA,YACA,SACA,gBACA,UACA,SACA,aACA,YACA,YACA,SACA,aACA,WAGJ,CACErlB,KAAM,MACNqlB,iBAAkB,CAChB,kBACA,eACA,YACA,OACA,SACA,UACA,iBACA,UACA,QACA,iBACA,kBACA,YACA,aACA,cACA,oBAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,MACA,aACA,aACA,iBACA,mBACA,QACA,WACA,SACA,UACA,MACA,QACA,OACA,UACA,OACA,WACA,eAGJ,CACErlB,KAAM,MACNqlB,iBAAkB,CAChB,QACA,kBACA,QACA,aACA,OACA,UAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,OACA,UACA,UACA,QACA,WACA,QACA,UACA,WACA,QACA,gBACA,mBAGJ,CACErlB,KAAM,MACNqlB,iBAAkB,CAChB,cACA,gBACA,cACA,aACA,eACA,eACA,eACA,UACA,eACA,MACA,WACA,WACA,cACA,QACA,WACA,UACA,QACA,QACA,eACA,SACA,OACA,OACA,WACA,WACA,mBACA,eACA,gBAGJ,CACErlB,KAAM,SACNqlB,iBAAkB,CAChB,OACA,SACA,aACA,WACA,OACA,QACA,WACA,QACA,QACA,OACA,SACA,QACA,UACA,QACA,cACA,kBACA,eACA,SACA,YACA,eACA,OACA,SACA,OACA,iBACA,QACA,cAGJ,CACErlB,KAAM,SACNqlB,iBAAkB,CAChB,cACA,SACA,OACA,QACA,QACA,OACA,SACA,SACA,eACA,eACA,UACA,SACA,QACA,QACA,QACA,QACA,OACA,UACA,aACA,QACA,OACA,cACA,UAGJ,CACErlB,KAAM,OACNqlB,iBAAkB,CAChB,SACA,SACA,SACA,SACA,QACA,UACA,OACA,WACA,eACA,eACA,SACA,QACA,WACA,QACA,QACA,SACA,OACA,SACA,QACA,SACA,OACA,iBACA,SACA,SACA,OACA,WACA,QACA,OACA,SACA,SACA,WACA,WACA,OACA,aACA,OACA,UACA,UACA,SACA,UACA,OACA,WACA,aACA,SACA,SACA,UAGJ,CACErlB,KAAM,UACNqlB,iBAAkB,CAChB,SACA,aACA,UACA,QACA,UACA,YACA,UACA,QACA,WACA,QACA,QACA,YACA,UACA,SACA,SACA,QACA,QACA,QACA,UACA,SACA,UACA,QACA,SACA,WACA,aACA,OACA,QACA,UACA,SACA,OACA,SACA,SACA,UACA,UAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,SACA,cACA,UACA,QACA,SACA,eACA,QACA,QACA,QACA,SACA,OACA,QACA,aACA,UACA,SACA,SACA,SACA,OACA,eACA,QACA,SAGJ,CACErlB,KAAM,OACNqlB,iBAAkB,CAChB,QACA,WACA,QACA,QACA,SACA,QACA,OACA,kBACA,QACA,aACA,OACA,SACA,YACA,MACA,iBACA,QACA,QACA,YACA,QACA,aACA,eAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,MACA,UACA,MACA,QACA,WACA,cACA,cACA,WACA,OACA,SACA,OACA,OACA,UACA,OACA,WAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,QACA,mBACA,WACA,eACA,QACA,UACA,MACA,UACA,cACA,cACA,QACA,UACA,SACA,eACA,iBACA,SACA,MACA,eACA,UACA,aAGJ,CACErlB,KAAM,WACNqlB,iBAAkB,CAChB,UACA,MACA,OACA,OACA,QACA,QACA,SACA,QACA,WACA,iBACA,MACA,OACA,UAGJ,CACErlB,KAAM,QACNqlB,iBAAkB,CAChB,QACA,SACA,OACA,QACA,QACA,YACA,QACA,QACA,SACA,SACA,YACA,QACA,QACA,SACA,SACA,UACA,QACA,OACA,UACA,OACA,QACA,UACA,SACA,OACA,aAGJ,CACErlB,KAAM,OACNqlB,iBAAkB,CAChB,iBACA,iBACA,cACA,aACA,aACA,UACA,MACA,aACA,cACA,mBACA,YACA,SACA,aACA,SACA,gBACA,iBACA,QACA,WACA,aACA,YAGJ,CACErlB,KAAM,OACNqlB,iBAAkB,CAChB,mBACA,mBACA,yBACA,mBACA,cACA,cACA,UACA,SACA,UACA,QACA,YACA,UACA,QACA,SACA,YACA,YACA,YACA,MACA,QAGJ,CACErlB,KAAM,OACNqlB,iBAAkB,CAChB,WACA,WACA,iBACA,iBACA,aACA,SACA,YACA,YACA,WACA,SACA,cACA,WACA,YACA,YACA,UACA,WACA,MACA,cACA,cACA,WACA,UACA,SACA,MACA,SACA,WACA,YACA,WACA,SACA,QACA,WAGJ,CACErlB,KAAM,MACNqlB,iBAAkB,CAChB,SACA,WACA,QACA,SACA,SACA,iBACA,eACA,oBACA,oBACA,oBACA,kBACA,eACA,gBACA,MACA,QACA,SACA,YACA,UACA,SACA,yBACA,kBACA,YACA,aACA,UACA,UACA,UACA,UACA,WACA,WACA,YACA,YACA,aAGJ,CACErlB,KAAM,UACNqlB,iBAAkB,CAChB,eACA,QACA,SACA,WACA,YACA,YACA,QACA,QACA,iBACA,iBACA,QACA,SACA,WACA,aACA,QACA,UACA,SAGJ,CACErlB,KAAM,SACNqlB,iBAAkB,CAChB,aACA,cACA,cACA,aACA,SACA,aACA,QACA,SACA,SACA,QACA,QACA,SACA,UACA,QACA,aACA,oBACA,WACA,SACA,SACA,cACA,SACA,gBACA,QAGJ,CACErlB,KAAM,SACNqlB,iBAAkB,CAChB,QACA,UACA,cACA,OACA,UACA,OACA,WACA,SACA,MACA,QACA,QACA,QACA,cACA,UACA,SACA,eACA,eACA,WACA,UACA,SACA,SACA,QACA,SAGJ,CACErlB,KAAM,SACNqlB,iBAAkB,CAChB,YACA,OACA,QACA,UACA,SACA,MACA,UACA,eACA,QACA,MACA,WACA,QACA,OACA,SACA,QACA,SAGJ,CACErlB,KAAM,OACNqlB,iBAAkB,CAChB,OACA,UACA,WACA,OACA,OACA,SACA,QACA,SACA,UACA,WACA,SACA,UACA,UACA,iBACA,SACA,WACA,aAGJ,CACErlB,KAAM,UACNqlB,iBAAkB,CAChB,OACA,SACA,gBACA,WACA,UACA,QACA,QACA,QACA,SACA,UACA,OACA,WACA,gBACA,QACA,WCxqBSC,OAtPf,SAA+B/hC,GAYE,IAADgiC,EAX9Bp4B,EAAK5J,EAAL4J,MACA2e,EAAQvoB,EAARuoB,SACAlP,EAAarZ,EAAbqZ,cACAK,EAAW1Z,EAAX0Z,YACAohB,EAAc96B,EAAd86B,eACAX,EAAUn6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AO,kCAAkC,eAAiB,4CAA4C,WAAa,wCAAwC,YAAc,yCAAyC,aAAe,0CAA0C,UAAY,uCAAuC,SAAW,sC,qBCAj8BD,EAAOC,QAAU,CAAC,gBAAkB,4CAA4C,YAAc,wCAAwC,cAAgB,0CAA0C,aAAe,yCAAyC,YAAc,wCAAwC,8BAAgC,0DAA0D,UAAY,sCAAsC,cAAgB,0CAA0C,KAAO,iCAAiC,cAAgB,0CAA0C,MAAQ,kCAAkC,cAAgB,0CAA0C,oBAAsB,gDAAgD,WAAa,uCAAuC,YAAc,wCAAwC,aAAe,yCAAyC,UAAY,sCAAsC,QAAU,oC,qBCA99BD,EAAOC,QAAU,CAAC,gBAAkB,wCAAwC,YAAc,oCAAoC,cAAgB,sCAAsC,UAAY,kCAAkC,iBAAmB,yCAAyC,YAAc,oCAAoC,iBAAmB,yCAAyC,oBAAsB,4CAA4C,YAAc,oCAAoC,iBAAmB,yCAAyC,eAAiB,uCAAuC,aAAe,qCAAqC,cAAgB,sCAAsC,QAAU,gC","file":"static/js/main.f5c8082c.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"transaction_container\":\"WebTransactionView_transaction_container__2Cf9l\",\"transaction_header\":\"WebTransactionView_transaction_header__2PHVW\",\"title\":\"WebTransactionView_title__11yob\",\"transaction_Content\":\"WebTransactionView_transaction_Content__2mFlI\",\"pagination_controls\":\"WebTransactionView_pagination_controls__nh2Y6\",\"table_header\":\"WebTransactionView_table_header__2gHOR\",\"flagActive\":\"WebTransactionView_flagActive__3Lwyc\",\"flagPending\":\"WebTransactionView_flagPending__3Um3b\",\"flagRejected\":\"WebTransactionView_flagRejected__16eg_\",\"flagStale\":\"WebTransactionView_flagStale__2CC-R\",\"viewInfo\":\"WebTransactionView_viewInfo__1tAff\",\"isLoading_container\":\"WebTransactionView_isLoading_container__2eynD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"directDebit_container\":\"DirectDebitWeb_directDebit_container__34IiO\",\"marginTop\":\"DirectDebitWeb_marginTop__Zoyeh\",\"alignLeft\":\"DirectDebitWeb_alignLeft__1cPT-\",\"selectBankContainer\":\"DirectDebitWeb_selectBankContainer__xhidy\",\"bankNameDropdown\":\"DirectDebitWeb_bankNameDropdown__3s3T7\",\"selectedBankField\":\"DirectDebitWeb_selectedBankField__VBimW\",\"bank_error\":\"DirectDebitWeb_bank_error__2x6xm\",\"container_accounts\":\"DirectDebitWeb_container_accounts__2K0YA\",\"account_number\":\"DirectDebitWeb_account_number__2BD0P\",\"account_name\":\"DirectDebitWeb_account_name__2XavP\",\"bank_name\":\"DirectDebitWeb_bank_name__2YAzt\",\"submit__btn\":\"DirectDebitWeb_submit__btn__3jJeM\",\"left\":\"DirectDebitWeb_left__2cE7T\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"transaction_container\":\"TransactionOverview_transaction_container__2EsBK\",\"transaction_header\":\"TransactionOverview_transaction_header__Z8lL2\",\"title\":\"TransactionOverview_title__W4Hsm\",\"button\":\"TransactionOverview_button__LboAa\",\"table_header\":\"TransactionOverview_table_header__250kG\",\"noTransaction_container\":\"TransactionOverview_noTransaction_container__30NOq\",\"flagActive\":\"TransactionOverview_flagActive__1H_A1\",\"flagPending\":\"TransactionOverview_flagPending__2LsMF\",\"flagRejected\":\"TransactionOverview_flagRejected__OpmRI\",\"flagStale\":\"TransactionOverview_flagStale__7JOsR\",\"viewInfo\":\"TransactionOverview_viewInfo__GDxln\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bankStatement_container\":\"BankStatement_bankStatement_container__SpKF_\",\"header\":\"BankStatement_header__1PqW9\",\"body\":\"BankStatement_body__N1ga0\",\"alignLeft\":\"BankStatement_alignLeft__1olcc\",\"left\":\"BankStatement_left__32PCt\",\"alert\":\"BankStatement_alert__3p2DR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"transaction_container\":\"WebTransactionView_transaction_container__3eBSX\",\"transaction_header\":\"WebTransactionView_transaction_header__13lPH\",\"title\":\"WebTransactionView_title__Hp4Es\",\"transaction_Content\":\"WebTransactionView_transaction_Content__2sEZu\",\"pagination_controls\":\"WebTransactionView_pagination_controls__2L6BC\",\"table_header\":\"WebTransactionView_table_header__2gKkg\",\"content\":\"WebTransactionView_content__dhiPG\",\"viewInfo\":\"WebTransactionView_viewInfo__R52w2\",\"transaction_amount__credit\":\"WebTransactionView_transaction_amount__credit__1MwR5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warningCompleteVirtualAccount\":\"OverviewComp_warningCompleteVirtualAccount__3Kosw\",\"prompt\":\"OverviewComp_prompt__3LaLI\",\"proceedNumber\":\"OverviewComp_proceedNumber__2NqF0\",\"overview_header\":\"OverviewComp_overview_header__2VPOg\",\"avatar\":\"OverviewComp_avatar__3O14I\",\"noAvatar\":\"OverviewComp_noAvatar__3jdDB\",\"greeting\":\"OverviewComp_greeting__HBYBW\",\"dashboard_content\":\"OverviewComp_dashboard_content__2mVzq\",\"transactions\":\"OverviewComp_transactions__2NaPo\",\"dashboardAction\":\"OverviewComp_dashboardAction__-U-SS\",\"arrowDown\":\"OverviewComp_arrowDown__1zfr_\",\"card_container\":\"OverviewComp_card_container__1av34\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"transaction_container\":\"TransactionOverview_transaction_container__Kufbv\",\"transaction_header\":\"TransactionOverview_transaction_header__19qYm\",\"title\":\"TransactionOverview_title__w58y5\",\"button\":\"TransactionOverview_button__x635m\",\"table_header\":\"TransactionOverview_table_header__1Hnn9\",\"content\":\"TransactionOverview_content__2ju_7\",\"viewInfo\":\"TransactionOverview_viewInfo__3tdud\",\"noTransaction_container\":\"TransactionOverview_noTransaction_container__2wsDe\",\"transaction_amount__credit\":\"TransactionOverview_transaction_amount__credit__20fOz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepOne_container\":\"SecurityQuestion_stepOne_container__hprsF\",\"stepOne_header\":\"SecurityQuestion_stepOne_header__X-UBK\",\"title\":\"SecurityQuestion_title__3lsYL\",\"stepOne_form\":\"SecurityQuestion_stepOne_form__1Tgyb\",\"selectQuestionContainer\":\"SecurityQuestion_selectQuestionContainer__23QsF\",\"questionDropdown\":\"SecurityQuestion_questionDropdown__1Xnj7\",\"selectedQuestionField\":\"SecurityQuestion_selectedQuestionField__ke-iY\",\"question_error\":\"SecurityQuestion_question_error__Isa-W\",\"submit__section\":\"SecurityQuestion_submit__section__39pKu\",\"submit_button\":\"SecurityQuestion_submit_button__270ye\",\"left\":\"SecurityQuestion_left__2oyyy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"login__container\":\"Login_login__container__3PAvx\",\"logo__header\":\"Login_logo__header__1i1ID\",\"logo\":\"Login_logo__1xxwC\",\"greeting\":\"Login_greeting__3tN6l\",\"form\":\"Login_form__3JRIb\",\"forgot__password\":\"Login_forgot__password__sVbwX\",\"submit__section\":\"Login_submit__section__1yU1G\",\"svg__section\":\"Login_svg__section__251_q\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"isLoading_container\":\"Overview_isLoading_container__3oBh1\",\"noLoanHistory_container\":\"Overview_noLoanHistory_container__61ekd\",\"content_wrap\":\"Overview_content_wrap__3gPrT\",\"overview_header\":\"Overview_overview_header__1G0fg\",\"loan_content\":\"Overview_loan_content__3v3Qb\",\"transactions\":\"Overview_transactions__ULNR0\",\"dashboardAction\":\"Overview_dashboardAction__ZvK7A\",\"arrowDown\":\"Overview_arrowDown__2uRik\",\"card_container\":\"Overview_card_container__2YdDl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"LoanRequest_modal_container___mNSe\",\"cancel_button\":\"LoanRequest_cancel_button__Bh1cZ\",\"stepOne_container\":\"LoanRequest_stepOne_container__2ibpD\",\"arrow\":\"LoanRequest_arrow__2o2WP\",\"stepOne_header\":\"LoanRequest_stepOne_header__3H5gB\",\"stepOne_form\":\"LoanRequest_stepOne_form__2q-pl\",\"loader\":\"LoanRequest_loader__3JR_n\",\"selectProductContainer\":\"LoanRequest_selectProductContainer___t9-R\",\"product_input_field_container\":\"LoanRequest_product_input_field_container__3KL8o\",\"input_pointer\":\"LoanRequest_input_pointer__f7AXR\",\"productNameDropdown\":\"LoanRequest_productNameDropdown__1Pqeh\",\"selectTenorContainer\":\"LoanRequest_selectTenorContainer__24CrJ\",\"tenor_input_field_container\":\"LoanRequest_tenor_input_field_container__2mQI7\",\"tenorValueDropdown\":\"LoanRequest_tenorValueDropdown__2X_53\",\"customTenorContainer\":\"LoanRequest_customTenorContainer__38x0V\",\"customRepaymentValue\":\"LoanRequest_customRepaymentValue__3okzF\",\"switcher\":\"LoanRequest_switcher__39Ujw\",\"submit_button\":\"LoanRequest_submit_button__23WSF\",\"input_container\":\"LoanRequest_input_container__1JNEh\",\"alert\":\"LoanRequest_alert__3MWvJ\",\"interest_rate\":\"LoanRequest_interest_rate__2W_rv\",\"alt_interest_rate\":\"LoanRequest_alt_interest_rate__1Qelt\",\"input_label_container\":\"LoanRequest_input_label_container__1e8v2\",\"error\":\"LoanRequest_error__1yTam\",\"input_field\":\"LoanRequest_input_field__2MffG\",\"submit_button_loading_state\":\"LoanRequest_submit_button_loading_state__1ZPQP\",\"stepTwo_container\":\"LoanRequest_stepTwo_container__BCuvC\",\"stepTwo_header\":\"LoanRequest_stepTwo_header__3lcUL\",\"loanAmount_container\":\"LoanRequest_loanAmount_container__2Q2N3\",\"title\":\"LoanRequest_title__s_RaX\",\"credit_balance\":\"LoanRequest_credit_balance__252iU\",\"stepThree_container\":\"LoanRequest_stepThree_container__mnYFn\",\"stepThree_header\":\"LoanRequest_stepThree_header__3EaDT\",\"loanOffer_container\":\"LoanRequest_loanOffer_container__2iybP\",\"loanOffer_overview\":\"LoanRequest_loanOffer_overview__11b_U\",\"loan_title\":\"LoanRequest_loan_title__2LDI8\",\"loan_schedule\":\"LoanRequest_loan_schedule__2Rcpt\",\"loan_schedule_data\":\"LoanRequest_loan_schedule_data__1GYX-\",\"serial_number\":\"LoanRequest_serial_number__25zIc\",\"schedule_amount_date\":\"LoanRequest_schedule_amount_date__3b7n5\",\"view_more_schedule_btn_container\":\"LoanRequest_view_more_schedule_btn_container__O6Fe2\",\"view_more_schedule_btn\":\"LoanRequest_view_more_schedule_btn__XbJIN\",\"late_payment_notif_container\":\"LoanRequest_late_payment_notif_container__36p9d\",\"late_payment_notif\":\"LoanRequest_late_payment_notif__2eNEM\",\"stepFour_container\":\"LoanRequest_stepFour_container__2P9Dn\",\"stepFour_header\":\"LoanRequest_stepFour_header__31wxJ\",\"loanAggreement_container\":\"LoanRequest_loanAggreement_container__2LZfz\",\"stepFive_container\":\"LoanRequest_stepFive_container__2lLg8\",\"stepFive_header\":\"LoanRequest_stepFive_header__3DTKv\",\"stepSix_container\":\"LoanRequest_stepSix_container__2XVw6\",\"verification_failed\":\"LoanRequest_verification_failed__d2OpA\",\"box\":\"LoanRequest_box__3Hp88\",\"stepSeven_container\":\"LoanRequest_stepSeven_container__2qTrt\",\"verification_success\":\"LoanRequest_verification_success__2HzFB\",\"stepEight_container\":\"LoanRequest_stepEight_container__2BAWO\",\"stepEight_header\":\"LoanRequest_stepEight_header__13wGe\",\"stepNine_container\":\"LoanRequest_stepNine_container__36wns\",\"user_options\":\"LoanRequest_user_options__3r5Pb\",\"submit__btn\":\"LoanRequest_submit__btn__lur7u\",\"stepTen_container\":\"LoanRequest_stepTen_container__3I9ng\",\"stepTen_header\":\"LoanRequest_stepTen_header__D_uEa\",\"bankStatement_instructions\":\"LoanRequest_bankStatement_instructions__UTnGd\",\"stepEleven_container\":\"LoanRequest_stepEleven_container__GsAtu\",\"stepEleven_form\":\"LoanRequest_stepEleven_form__26fvM\",\"stepEleven_header\":\"LoanRequest_stepEleven_header__1K-Xu\",\"selectBankContainer\":\"LoanRequest_selectBankContainer__ObV4B\",\"bankNameDropdown\":\"LoanRequest_bankNameDropdown__33FCV\",\"selectedBankField\":\"LoanRequest_selectedBankField__2d2Wo\",\"bank_error\":\"LoanRequest_bank_error__3elGi\",\"buttons\":\"LoanRequest_buttons__8w8lA\",\"overlay\":\"LoanRequest_overlay__3s28V\",\"productdive_container\":\"LoanRequest_productdive_container__3o52b\",\"productdive_header\":\"LoanRequest_productdive_header__3q569\",\"productdive_loan_amount_container\":\"LoanRequest_productdive_loan_amount_container__3ys_w\",\"discount\":\"LoanRequest_discount__UrctK\",\"productdive_percentage_info\":\"LoanRequest_productdive_percentage_info__2Zl8U\",\"percentage_text\":\"LoanRequest_percentage_text__3Ys9m\",\"part_payment_amount\":\"LoanRequest_part_payment_amount__2Li4u\",\"productdive_submit_button\":\"LoanRequest_productdive_submit_button__3rtZP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"DateRangeSelector_modal_container__3O5qU\",\"modal_wrapper\":\"DateRangeSelector_modal_wrapper__2MDlD\",\"header\":\"DateRangeSelector_header__3eUzb\",\"cancel_button\":\"DateRangeSelector_cancel_button__1zLAO\",\"form\":\"DateRangeSelector_form__QT828\",\"startDate\":\"DateRangeSelector_startDate__33EXU\",\"endDate\":\"DateRangeSelector_endDate__3cwIm\",\"clearBtn\":\"DateRangeSelector_clearBtn__Y8KF8\",\"btn\":\"DateRangeSelector_btn__LaJ7G\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"resetPin_container\":\"ResetPin_resetPin_container__3bAH0\",\"resetPin_header\":\"ResetPin_resetPin_header__2GG6y\",\"resetPin_form\":\"ResetPin_resetPin_form__37p4X\",\"selectQuestionContainer\":\"ResetPin_selectQuestionContainer__2bxsy\",\"questionDropdown\":\"ResetPin_questionDropdown__VqFLI\",\"selectedQuestionField\":\"ResetPin_selectedQuestionField__12KkF\",\"question_error\":\"ResetPin_question_error__gRd0t\",\"submit_button\":\"ResetPin_submit_button__1U8KP\",\"left\":\"ResetPin_left__1_bUv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepOne_container\":\"SecurityQuestion_stepOne_container__1KObW\",\"stepOne_header\":\"SecurityQuestion_stepOne_header__wZgwZ\",\"title\":\"SecurityQuestion_title__2QdV8\",\"stepOne_form\":\"SecurityQuestion_stepOne_form___0-jU\",\"selectQuestionContainer\":\"SecurityQuestion_selectQuestionContainer__3l4bC\",\"questionDropdown\":\"SecurityQuestion_questionDropdown__3R9wx\",\"selectedQuestionField\":\"SecurityQuestion_selectedQuestionField__2eF3M\",\"question_error\":\"SecurityQuestion_question_error__1iE7c\",\"submit_button\":\"SecurityQuestion_submit_button__3A4O1\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"RepaymentSchedule_modal_container__3KDCC\",\"back_button\":\"RepaymentSchedule_back_button__3902x\",\"cancel_button\":\"RepaymentSchedule_cancel_button__25HhT\",\"modal_header\":\"RepaymentSchedule_modal_header__10MYN\",\"isLoading_container\":\"RepaymentSchedule_isLoading_container__Svsha\",\"date\":\"RepaymentSchedule_date__1M4zW\",\"dueDate\":\"RepaymentSchedule_dueDate__3Yz4j\",\"overlay\":\"RepaymentSchedule_overlay__BEKk_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepOne_container\":\"Begin_stepOne_container__5tk2c\",\"content_wrap\":\"Begin_content_wrap__1lhft\",\"content\":\"Begin_content__1jZbx\",\"title\":\"Begin_title__fNx0Z\",\"submit_button\":\"Begin_submit_button__2htmA\",\"cancel_button\":\"Begin_cancel_button__3Avyt\",\"skip_button\":\"Begin_skip_button__q6QNS\",\"featureIcon\":\"Begin_featureIcon__360Bd\",\"content_body\":\"Begin_content_body__1qGvi\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepTwo_container\":\"OtpVerification_stepTwo_container__3OUi8\",\"stepTwo_header\":\"OtpVerification_stepTwo_header__291oo\",\"stepTwo_form\":\"OtpVerification_stepTwo_form__UxnwA\",\"otp\":\"OtpVerification_otp__3-A7k\",\"cursor_disabled\":\"OtpVerification_cursor_disabled__LMTiu\",\"cursor_pointer\":\"OtpVerification_cursor_pointer__UpYIO\",\"more_choices\":\"OtpVerification_more_choices__1t16E\",\"action_button\":\"OtpVerification_action_button__2AzHP\",\"submit_button\":\"OtpVerification_submit_button__22G7u\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"direct_debit__container\":\"DirectdebitConfirmationPage_direct_debit__container__1rDbA\",\"logo__header\":\"DirectdebitConfirmationPage_logo__header__JoAy6\",\"logo\":\"DirectdebitConfirmationPage_logo__3XR1j\",\"body\":\"DirectdebitConfirmationPage_body__5X1ch\",\"mandateConfirmedSVG\":\"DirectdebitConfirmationPage_mandateConfirmedSVG__1iugL\",\"message\":\"DirectdebitConfirmationPage_message__14B75\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"widgetErrorContainer\":\"WidgetInitialError_widgetErrorContainer__1Qwwp\",\"subContainer\":\"WidgetInitialError_subContainer__1j3TN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"errorText\":\"ErrorHandler_errorText__2MEC8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"layout_container\":\"Layout_layout_container__u8hiS\",\"header\":\"Layout_header__pYrgZ\",\"logo_wrapper\":\"Layout_logo_wrapper__2_6jn\",\"logo\":\"Layout_logo__goiD1\",\"hamburger\":\"Layout_hamburger__136LZ\",\"layout_content_wrapper\":\"Layout_layout_content_wrapper__2LwWy\",\"children_container\":\"Layout_children_container__1FOkH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"overlay\":\"CompleteVirtualAcctModal_overlay__KKyj-\",\"modal_container\":\"CompleteVirtualAcctModal_modal_container__3Dni-\",\"cancel_button\":\"CompleteVirtualAcctModal_cancel_button__IeAXd\",\"card\":\"CompleteVirtualAcctModal_card__sgrYW\",\"closeIgreeConsent\":\"CompleteVirtualAcctModal_closeIgreeConsent__23KuI\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"TransactionDetail_modal_container__2DV9x\",\"modal_wrapper\":\"TransactionDetail_modal_wrapper__3Sccr\",\"header\":\"TransactionDetail_header__3r256\",\"cancel_button\":\"TransactionDetail_cancel_button__2grpk\",\"form\":\"TransactionDetail_form__m3Er8\",\"startDate\":\"TransactionDetail_startDate__1dmbo\",\"endDate\":\"TransactionDetail_endDate__XgPX6\",\"btn\":\"TransactionDetail_btn__2eqF-\",\"overlay\":\"TransactionDetail_overlay__363tA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"direct_debit__container\":\"InvalidPartner_direct_debit__container__1kIkh\",\"logo__header\":\"InvalidPartner_logo__header__2Pb_2\",\"logo\":\"InvalidPartner_logo__1_QVm\",\"body\":\"InvalidPartner_body__11XNr\",\"failedSvg\":\"InvalidPartner_failedSvg__1SwPF\",\"message\":\"InvalidPartner_message__NKknZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"widgetNavCard\":\"WidgetNavCard_widgetNavCard__39PZl\",\"iconArea\":\"WidgetNavCard_iconArea__3-S2a\",\"title\":\"WidgetNavCard_title__16ukv\",\"subtitle\":\"WidgetNavCard_subtitle__1GHCY\",\"actionIcon\":\"WidgetNavCard_actionIcon__2aBD9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"quick_actions\":\"QuickActions_quick_actions__2OSYh\",\"header\":\"QuickActions_header__3HbVq\",\"header_title\":\"QuickActions_header_title__WM0rK\",\"button\":\"QuickActions_button__2gOJn\",\"button_container\":\"QuickActions_button_container__1wGuY\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"widgetCustomTitle\":\"WidgetCustomTitle_widgetCustomTitle__2sVYp\",\"top\":\"WidgetCustomTitle_top__15eg8\",\"title\":\"WidgetCustomTitle_title__iOIpg\",\"progressBar\":\"WidgetCustomTitle_progressBar__2BH66\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"new_loan_popup_container\":\"NewOfferPopUp_new_loan_popup_container__1CC3u\",\"new_loan_popup\":\"NewOfferPopUp_new_loan_popup__WTvxT\",\"popup_text\":\"NewOfferPopUp_popup_text__1sLc5\",\"popup_btn\":\"NewOfferPopUp_popup_btn__18TIg\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container_accounts\":\"DirectDebit_container_accounts__2oam-\",\"account_number\":\"DirectDebit_account_number__1Xlc3\",\"account_name\":\"DirectDebit_account_name__2FsJ5\",\"bank_name\":\"DirectDebit_bank_name__2pXkf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bankStatement_body\":\"Profile_bankStatement_body__2EbYq\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dueAmountContainer\":\"QuickLoanRepayment_dueAmountContainer__3rIVT\",\"title\":\"QuickLoanRepayment_title__P5H_j\",\"credit_balance\":\"QuickLoanRepayment_credit_balance__3eBVe\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepTwo_container\":\"Pin_stepTwo_container__1eo-T\",\"stepTwo_header\":\"Pin_stepTwo_header__olIh4\",\"stepTwo_form\":\"Pin_stepTwo_form__GpC_A\",\"submit_button\":\"Pin_submit_button__32LWT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepTwo_container\":\"Pin_stepTwo_container__rRcth\",\"stepTwo_header\":\"Pin_stepTwo_header__i_ils\",\"stepTwo_form\":\"Pin_stepTwo_form__clP6z\",\"submit_button\":\"Pin_submit_button__2RFhz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"layout_container\":\"SignUpLayout_layout_container__11zSC\",\"logo__header\":\"SignUpLayout_logo__header__3j97C\",\"logo\":\"SignUpLayout_logo__o2rNO\",\"svg__section\":\"SignUpLayout_svg__section__1QRTB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"QuickLoanRepayment_modal_container__FhtuI\",\"modal_steps_wrapper\":\"QuickLoanRepayment_modal_steps_wrapper__11kHK\",\"cancel_button\":\"QuickLoanRepayment_cancel_button__3btR9\",\"stepOne_container\":\"QuickLoanRepayment_stepOne_container__3dJ1v\",\"stepOne_header\":\"QuickLoanRepayment_stepOne_header__2pK4z\",\"isLoading_container\":\"QuickLoanRepayment_isLoading_container__38dH3\",\"history_container\":\"QuickLoanRepayment_history_container__3dOJV\",\"loan_card\":\"QuickLoanRepayment_loan_card__2XOMD\",\"logoAndAmount\":\"QuickLoanRepayment_logoAndAmount__3HfF5\",\"amountAndDate\":\"QuickLoanRepayment_amountAndDate__1QiQA\",\"amount\":\"QuickLoanRepayment_amount__3NDno\",\"date\":\"QuickLoanRepayment_date__1agfZ\",\"icon_container\":\"QuickLoanRepayment_icon_container__1jPut\",\"flagNrefNo\":\"QuickLoanRepayment_flagNrefNo__2Vm6b\",\"loanRef\":\"QuickLoanRepayment_loanRef__1gcJG\",\"repayBtn\":\"QuickLoanRepayment_repayBtn__2LsY7\",\"pagination_controls\":\"QuickLoanRepayment_pagination_controls__ERQl-\",\"stepTwo_container\":\"QuickLoanRepayment_stepTwo_container__2Why5\",\"stepTwo_header\":\"QuickLoanRepayment_stepTwo_header__jbnTt\",\"dueAmountContainer\":\"QuickLoanRepayment_dueAmountContainer__mbrlC\",\"title\":\"QuickLoanRepayment_title__1seRy\",\"credit_balance\":\"QuickLoanRepayment_credit_balance__kmL3G\",\"stepTwo_form\":\"QuickLoanRepayment_stepTwo_form__3ZnxL\",\"input_container\":\"QuickLoanRepayment_input_container__2j_0n\",\"input_label_container\":\"QuickLoanRepayment_input_label_container__2OGN1\",\"input_field\":\"QuickLoanRepayment_input_field__3cUJ3\",\"user\":\"QuickLoanRepayment_user__Mv5vu\",\"submit_button\":\"QuickLoanRepayment_submit_button__5AgIb\",\"stepThree_container\":\"QuickLoanRepayment_stepThree_container__1rc-D\",\"role\":\"QuickLoanRepayment_role__3uCsE\",\"wallet\":\"QuickLoanRepayment_wallet__3qAMx\",\"group1\":\"QuickLoanRepayment_group1__gDllN\",\"walletContainer\":\"QuickLoanRepayment_walletContainer__24XyR\",\"card\":\"QuickLoanRepayment_card__1kr_t\",\"group2\":\"QuickLoanRepayment_group2__TkcF8\",\"cardContainer\":\"QuickLoanRepayment_cardContainer__2JosN\",\"text\":\"QuickLoanRepayment_text__2bzFi\",\"onlyChild\":\"QuickLoanRepayment_onlyChild__3-8G4\",\"backArrow\":\"QuickLoanRepayment_backArrow__8Geya\",\"addCard\":\"QuickLoanRepayment_addCard__3q2np\",\"stepFour_container\":\"QuickLoanRepayment_stepFour_container__2E6DW\",\"arrow\":\"QuickLoanRepayment_arrow__1kfEI\",\"stepThree_header\":\"QuickLoanRepayment_stepThree_header__69QzA\",\"loanAmount_container\":\"QuickLoanRepayment_loanAmount_container__1WN3N\",\"stepFive_container\":\"QuickLoanRepayment_stepFive_container__2pRfd\",\"stepSix_container\":\"QuickLoanRepayment_stepSix_container__2aOSj\",\"stepSeven_container\":\"QuickLoanRepayment_stepSeven_container__3PcPq\",\"verification_success\":\"QuickLoanRepayment_verification_success__aBlZb\",\"stepEight_container\":\"QuickLoanRepayment_stepEight_container__1pJPs\",\"verification_failed\":\"QuickLoanRepayment_verification_failed__12pzq\",\"box\":\"QuickLoanRepayment_box__3WHvH\",\"stepNine_container\":\"QuickLoanRepayment_stepNine_container__1MKwF\",\"overlay\":\"QuickLoanRepayment_overlay__2fc1k\",\"alert\":\"QuickLoanRepayment_alert__1SCF_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"Withdraw_modal_container__50_3u\",\"modal_steps_wrapper\":\"Withdraw_modal_steps_wrapper__WeXug\",\"cancel_button\":\"Withdraw_cancel_button__3QzPv\",\"stepOne_container\":\"Withdraw_stepOne_container__10uR0\",\"stepOne_header\":\"Withdraw_stepOne_header__1RCII\",\"stepOne_form\":\"Withdraw_stepOne_form__3CVZF\",\"amount_container\":\"Withdraw_amount_container__2zPh5\",\"amountInput_label_container\":\"Withdraw_amountInput_label_container__3a1l5\",\"amount_input_label\":\"Withdraw_amount_input_label__EQ0jV\",\"amount_field\":\"Withdraw_amount_field__1GcYQ\",\"amount_error_container\":\"Withdraw_amount_error_container__dum56\",\"charges\":\"Withdraw_charges__1q9oJ\",\"selectBankContainer\":\"Withdraw_selectBankContainer__1xqDn\",\"bankNameDropdown\":\"Withdraw_bankNameDropdown__2wEGr\",\"selectedBankField\":\"Withdraw_selectedBankField__2CKF0\",\"user\":\"Withdraw_user__2utyR\",\"stepTwo_container\":\"Withdraw_stepTwo_container__2tOIK\",\"prompt\":\"Withdraw_prompt__3jU3j\",\"stepTwo_header\":\"Withdraw_stepTwo_header__3Qgk7\",\"stepTwo_instruction\":\"Withdraw_stepTwo_instruction__39FuT\",\"transfer_amount\":\"Withdraw_transfer_amount__2rww1\",\"instruction\":\"Withdraw_instruction__3_1Vp\",\"submit_button\":\"Withdraw_submit_button__33wXC\",\"backArrow\":\"Withdraw_backArrow__39brY\",\"marginTop\":\"Withdraw_marginTop__2-c7g\",\"stepThree_container\":\"Withdraw_stepThree_container__2rurO\",\"verification_success\":\"Withdraw_verification_success__326PE\",\"stepFour_container\":\"Withdraw_stepFour_container__3MXwy\",\"verification_failed\":\"Withdraw_verification_failed__2LMOx\",\"box\":\"Withdraw_box__1T6oD\",\"stepFive_container\":\"Withdraw_stepFive_container__1ykGN\",\"content_wrap\":\"Withdraw_content_wrap__dFCFO\",\"content\":\"Withdraw_content__28ZyW\",\"title\":\"Withdraw_title__1i0ot\",\"skip_button\":\"Withdraw_skip_button__270NJ\",\"featureIcon\":\"Withdraw_featureIcon__37v9e\",\"content_body\":\"Withdraw_content_body__2bgLJ\",\"stepSix_container\":\"Withdraw_stepSix_container__1uEJs\",\"stepSix_header\":\"Withdraw_stepSix_header__1kiBB\",\"stepSix_form\":\"Withdraw_stepSix_form__1urhH\",\"selectQuestionContainer\":\"Withdraw_selectQuestionContainer__39ryc\",\"questionDropdown\":\"Withdraw_questionDropdown__2_4oW\",\"selectedQuestionField\":\"Withdraw_selectedQuestionField__2kcDN\",\"stepSeven_container\":\"Withdraw_stepSeven_container__1hLUp\",\"stepSeven_header\":\"Withdraw_stepSeven_header__2OHm3\",\"stepSeven_form\":\"Withdraw_stepSeven_form__1EpeG\",\"overlay\":\"Withdraw_overlay__2K_SV\",\"errorStyles\":\"Withdraw_errorStyles__17ePr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menuBtn\":\"HamburgerMenu_menuBtn__11NUl\",\"menuBtnBurger\":\"HamburgerMenu_menuBtnBurger__3S1C2\",\"open\":\"HamburgerMenu_open__iCowu\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"ActionButtons_button___Pusn\",\"icon_container\":\"ActionButtons_icon_container__2IQGW\",\"red_dot\":\"ActionButtons_red_dot__YSI7e\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card_container\":\"Card_card_container__b6KPh\",\"stepOne_header\":\"Card_stepOne_header__1AwXn\",\"stepOne_form\":\"Card_stepOne_form__1OExe\",\"fullName\":\"Card_fullName__2Mt07\",\"submit_button\":\"Card_submit_button__Fj3GY\",\"stepTwo_container\":\"Card_stepTwo_container__y5p3X\",\"arrowLeft\":\"Card_arrowLeft__1TrCi\",\"verification_success\":\"Card_verification_success__k26fP\",\"left\":\"Card_left__zNsbP\",\"alignment\":\"Card_alignment__1H7bN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"transactionPin_container\":\"TransactionPin_transactionPin_container__XGhru\",\"stepOne_container\":\"TransactionPin_stepOne_container__2VNvV\",\"stepOne_header\":\"TransactionPin_stepOne_header__Uo8Wd\",\"left\":\"TransactionPin_left__3IY7e\",\"alignment\":\"TransactionPin_alignment__Qtxql\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"failed_container\":\"Failed_failed_container__3pBRO\",\"verification_failed\":\"Failed_verification_failed__cXXAk\",\"box\":\"Failed_box__1J1hT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"SetTransactionPin_modal_container__2nP6s\",\"modal_steps_wrapper\":\"SetTransactionPin_modal_steps_wrapper__zYpQj\",\"cancel_button\":\"SetTransactionPin_cancel_button__vwJCQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"welcome_screen_outer_container\":\"WelcomeScreen_welcome_screen_outer_container__1tHy2\",\"welcome_screen_container\":\"WelcomeScreen_welcome_screen_container__3P-0O\",\"buttons\":\"WelcomeScreen_buttons__1cFmR\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warningCompleteVirtualAccount\":\"Withdrawal_warningCompleteVirtualAccount__3ciBu\",\"proceedNumber\":\"Withdrawal_proceedNumber__3QwF_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepThree_container\":\"Success_stepThree_container__fIFQV\",\"arrowLeft\":\"Success_arrowLeft__WkBCj\",\"verification_success\":\"Success_verification_success__qMxUf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepThree_container\":\"Success_stepThree_container__1qS_2\",\"arrowLeft\":\"Success_arrowLeft__1WO26\",\"verification_success\":\"Success_verification_success__2sy5k\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"registration_success_container\":\"RegistrationSuccess_registration_success_container__2ibpD\",\"registration_success_header\":\"RegistrationSuccess_registration_success_header__1WRQ4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"otp_container\":\"OtpInput_otp_container__ivKC7\",\"code\":\"OtpInput_code__3MXuQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"RepayLoan_modal_container__3jXgW\",\"modal_steps_wrapper\":\"RepayLoan_modal_steps_wrapper__2Z29i\",\"cancel_button\":\"RepayLoan_cancel_button__6HcYV\",\"stepOne_container\":\"RepayLoan_stepOne_container__2PcSg\",\"stepOne_header\":\"RepayLoan_stepOne_header__eJ5Pp\",\"stepOne_form\":\"RepayLoan_stepOne_form__2Wzsp\",\"input_container\":\"RepayLoan_input_container__2QQBL\",\"input_label_container\":\"RepayLoan_input_label_container__1c28S\",\"input_field\":\"RepayLoan_input_field__DoTjW\",\"user\":\"RepayLoan_user__1D3P9\",\"submit_button\":\"RepayLoan_submit_button__UEYzf\",\"stepTwo_container\":\"RepayLoan_stepTwo_container__21oGn\",\"stepTwo_header\":\"RepayLoan_stepTwo_header__sZua9\",\"role\":\"RepayLoan_role__17oBA\",\"wallet\":\"RepayLoan_wallet__1kd3z\",\"group1\":\"RepayLoan_group1__2dN1y\",\"walletContainer\":\"RepayLoan_walletContainer__3Cful\",\"card\":\"RepayLoan_card__2-s96\",\"group2\":\"RepayLoan_group2__3Qlnb\",\"cardContainer\":\"RepayLoan_cardContainer__20SBL\",\"text\":\"RepayLoan_text__1nJKS\",\"onlyChild\":\"RepayLoan_onlyChild__3v27O\",\"addCard\":\"RepayLoan_addCard__2Q6j7\",\"submit__btn\":\"RepayLoan_submit__btn__3y5tZ\",\"stepThree_container\":\"RepayLoan_stepThree_container__32VSL\",\"arrow\":\"RepayLoan_arrow__-IQOq\",\"stepThree_header\":\"RepayLoan_stepThree_header__2w23o\",\"loanAmount_container\":\"RepayLoan_loanAmount_container__3fGAn\",\"title\":\"RepayLoan_title__1mxpx\",\"credit_balance\":\"RepayLoan_credit_balance__uY_dO\",\"stepFour_container\":\"RepayLoan_stepFour_container__2CQOa\",\"stepFive_container\":\"RepayLoan_stepFive_container__3TphI\",\"stepSix_container\":\"RepayLoan_stepSix_container__20yNq\",\"verification_success\":\"RepayLoan_verification_success__1CR1l\",\"stepSeven_container\":\"RepayLoan_stepSeven_container__1kyfs\",\"verification_failed\":\"RepayLoan_verification_failed__2cezS\",\"box\":\"RepayLoan_box__1Oa3g\",\"btns\":\"RepayLoan_btns__3NvAV\",\"backArrow\":\"RepayLoan_backArrow__1tD4f\",\"overlay\":\"RepayLoan_overlay__3X8WW\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"widgetLoader\":\"WidgetLoader_widgetLoader__3DEc7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"widgetInnerPageLoader\":\"WidgetInnerPageLoader_widgetInnerPageLoader__2oLW0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loan_schedule\":\"Loans_loan_schedule__2NFMX\",\"title\":\"Loans_title__2INsf\",\"loan_schedule_data\":\"Loans_loan_schedule_data__1cQRc\",\"serial_number\":\"Loans_serial_number__1J4bN\",\"schedule_amount_date\":\"Loans_schedule_amount_date__3EkrN\",\"view_more_schedule_btn_container\":\"Loans_view_more_schedule_btn_container__3oT9l\",\"view_more_schedule_btn\":\"Loans_view_more_schedule_btn__tvYMF\",\"loanAmountInputField\":\"Loans_loanAmountInputField__2BE3i\",\"stepFour_container\":\"Loans_stepFour_container__5PPsO\",\"verification_failed\":\"Loans_verification_failed__2V1BC\",\"box\":\"Loans_box__14aEi\",\"user_options\":\"Loans_user_options__Vv9QY\",\"approved\":\"Loans_approved__1_GMh\",\"rejected\":\"Loans_rejected__1xwxu\",\"awaiting\":\"Loans_awaiting__cv39Z\",\"statues\":\"Loans_statues__1x0R3\",\"active\":\"Loans_active__2_VNS\",\"pagination_controls\":\"Loans_pagination_controls__Mq8jI\",\"red_dot\":\"Loans_red_dot__cjnbP\",\"loanOffer_container\":\"Loans_loanOffer_container__2RUjU\",\"loanOffer_overview\":\"Loans_loanOffer_overview__2d2gj\",\"loan_amount_outer_container\":\"Loans_loan_amount_outer_container__2XoVU\",\"loan_amount_container\":\"Loans_loan_amount_container__3nEpi\",\"more_loan_details\":\"Loans_more_loan_details__3N94E\",\"loan_detail\":\"Loans_loan_detail__3-q7B\",\"buttons\":\"Loans_buttons__22ZJm\",\"offer_verification_failed\":\"Loans_offer_verification_failed__3dVqS\",\"offer_verification_success\":\"Loans_offer_verification_success__1o5Ij\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"alignTextAndLogo\":\"UpdateCardDetails_alignTextAndLogo__2Gqqk\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"widgetErrorContainer\":\"WidgetInitializationError_widgetErrorContainer__v_8Vx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"overview_container\":\"DashboardOverview_overview_container__39Z3q\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"overview_container\":\"LoanOverview_overview_container__1Lnw7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"btns\":\"AddCardForm_btns__10YX1\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spinner_container\":\"Spinner_spinner_container__97qxz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spinner_container\":\"Spinner_spinner_container__1ZyaQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"LoanOptions_modal_container__1wDmJ\",\"modal_steps_wrapper\":\"LoanOptions_modal_steps_wrapper__2gCL-\",\"cancel_button\":\"LoanOptions_cancel_button__3xaJg\",\"stepOne_container\":\"LoanOptions_stepOne_container__2lMha\",\"stepOne_header\":\"LoanOptions_stepOne_header__2inzp\",\"stepOne_options\":\"LoanOptions_stepOne_options__1xSWY\",\"linkBankstatement\":\"LoanOptions_linkBankstatement__2FIDW\",\"new_request\":\"LoanOptions_new_request__1mw2P\",\"newLoan_container\":\"LoanOptions_newLoan_container__3X7Pn\",\"icon_container\":\"LoanOptions_icon_container__3W9D2\",\"text\":\"LoanOptions_text__1ox_o\",\"offers\":\"LoanOptions_offers__3M-Lc\",\"red_dot\":\"LoanOptions_red_dot__w8vJz\",\"view_history_text\":\"LoanOptions_view_history_text__1k4IP\",\"group1\":\"LoanOptions_group1__3tYXZ\",\"userContainer\":\"LoanOptions_userContainer__cv477\",\"stepTwo_container\":\"LoanOptions_stepTwo_container__jf3p0\",\"arrow_left\":\"LoanOptions_arrow_left__2-2gS\",\"stepTwo_header\":\"LoanOptions_stepTwo_header__21GIp\",\"isLoading_container\":\"LoanOptions_isLoading_container__3vYNH\",\"history_container\":\"LoanOptions_history_container__3dROi\",\"loan_card\":\"LoanOptions_loan_card__oNstr\",\"logoAndAmount\":\"LoanOptions_logoAndAmount__A_hwU\",\"amountAndDate\":\"LoanOptions_amountAndDate__26T8T\",\"amount\":\"LoanOptions_amount__1a5_B\",\"date\":\"LoanOptions_date__1SnQX\",\"flagNrefNo\":\"LoanOptions_flagNrefNo__2vLQC\",\"loanRef\":\"LoanOptions_loanRef__3ue4H\",\"arrow\":\"LoanOptions_arrow__YXOpT\",\"flagActive\":\"LoanOptions_flagActive__11gbf\",\"flagPending\":\"LoanOptions_flagPending__8TiRg\",\"flagRejected\":\"LoanOptions_flagRejected__Ud_dw\",\"flagStale\":\"LoanOptions_flagStale__2tUPV\",\"pagination_controls\":\"LoanOptions_pagination_controls__3TDwY\",\"overlay\":\"LoanOptions_overlay__kENnx\",\"alert\":\"LoanOptions_alert__1WbOr\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"widgetMainWrapper\":\"WidgetFlow_widgetMainWrapper__3-OoZ\",\"widgetWrapper\":\"WidgetFlow_widgetWrapper__3FyYH\",\"cancelIcon\":\"WidgetFlow_cancelIcon__2aRQl\",\"widget\":\"WidgetFlow_widget__vaIc0\",\"pin\":\"WidgetFlow_pin__pFavQ\",\"icon\":\"WidgetFlow_icon__3_qhi\",\"iconMobile\":\"WidgetFlow_iconMobile__3nvvq\",\"advancly-button\":\"WidgetFlow_advancly-button__2DJfJ\",\"linkBankstatement\":\"WidgetFlow_linkBankstatement__w_A0K\",\"addCard\":\"WidgetFlow_addCard__rkI_2\",\"red_dot\":\"WidgetFlow_red_dot__2jzQl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"TopUp_modal_container__1DSeF\",\"modal_steps_wrapper\":\"TopUp_modal_steps_wrapper__2KnpL\",\"cancel_button\":\"TopUp_cancel_button__21Vtk\",\"stepOne_container\":\"TopUp_stepOne_container__1LgDk\",\"stepOne_header\":\"TopUp_stepOne_header__35zEh\",\"stepOne_form\":\"TopUp_stepOne_form___kYMy\",\"input_container\":\"TopUp_input_container__Ac6kt\",\"input_label_container\":\"TopUp_input_label_container__q4vp-\",\"input_field\":\"TopUp_input_field__29ml9\",\"stepTwo_container\":\"TopUp_stepTwo_container__241Fl\",\"stepTwo_header\":\"TopUp_stepTwo_header__c2A7K\",\"stepTwo_instruction\":\"TopUp_stepTwo_instruction__1dJvB\",\"transfer_amount\":\"TopUp_transfer_amount__3j0qV\",\"instruction\":\"TopUp_instruction__2vJlG\",\"accountDetails_container\":\"TopUp_accountDetails_container__I20kR\",\"bank_personal_info\":\"TopUp_bank_personal_info__1XtiO\",\"info\":\"TopUp_info__12KZf\",\"account_number\":\"TopUp_account_number__2MJxU\",\"copyIcon\":\"TopUp_copyIcon__1xu1V\",\"backArrow\":\"TopUp_backArrow__yM_E4\",\"submit_button\":\"TopUp_submit_button__7xax7\",\"stepThree_container\":\"TopUp_stepThree_container__1_8y-\",\"stepFour_container\":\"TopUp_stepFour_container__17bsZ\",\"verification_success\":\"TopUp_verification_success__3yJxD\",\"stepFive_container\":\"TopUp_stepFive_container__YYSf3\",\"verification_failed\":\"TopUp_verification_failed__eVEfw\",\"box\":\"TopUp_box__1MhFB\",\"overlay\":\"TopUp_overlay__2Gmm5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"reset_password__container\":\"ResetPassword_reset_password__container__2xpvx\",\"logo__header_diff_step_three\":\"ResetPassword_logo__header_diff_step_three__3bid0\",\"logo_diff_step_three\":\"ResetPassword_logo_diff_step_three__7i1JQ\",\"div_diff_step_three\":\"ResetPassword_div_diff_step_three__2G0Ey\",\"button_diff_step_three\":\"ResetPassword_button_diff_step_three__1yw3x\",\"section_diff_step_three\":\"ResetPassword_section_diff_step_three__2IyEZ\",\"section_div_diff_step_three\":\"ResetPassword_section_div_diff_step_three__1EQMQ\",\"section_header_diff_step_three\":\"ResetPassword_section_header_diff_step_three__1LQ7x\",\"form\":\"ResetPassword_form__UA_Qr\",\"submit__btn_diff_step_three\":\"ResetPassword_submit__btn_diff_step_three__ZMZ2B\",\"change_email\":\"ResetPassword_change_email__2-Wd6\",\"code_container\":\"ResetPassword_code_container__2LmER\",\"code\":\"ResetPassword_code__3PmKQ\",\"resend\":\"ResetPassword_resend__2cz5G\",\"reset_password__Step_three\":\"ResetPassword_reset_password__Step_three__2oF68\",\"logo__header\":\"ResetPassword_logo__header__PlVOj\",\"logo\":\"ResetPassword_logo__1LuGx\",\"submit__btn\":\"ResetPassword_submit__btn__1Q4St\",\"section_step_four\":\"ResetPassword_section_step_four__1OjLw\",\"reset_success\":\"ResetPassword_reset_success__1otGx\",\"stepFour_submit__btn\":\"ResetPassword_stepFour_submit__btn__2Qlbq\",\"validate_aggregator\":\"ResetPassword_validate_aggregator__1SQwu\",\"validating_text\":\"ResetPassword_validating_text__JoBth\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"MobileTransactionView_container__3N6gk\",\"transaction_header\":\"MobileTransactionView_transaction_header__1DdtI\",\"button\":\"MobileTransactionView_button__1Z_TF\",\"arrow\":\"MobileTransactionView_arrow__2axi3\",\"title\":\"MobileTransactionView_title__367R5\",\"range\":\"MobileTransactionView_range__143Tt\",\"transactions\":\"MobileTransactionView_transactions__1Oc5Y\",\"transaction\":\"MobileTransactionView_transaction__344AV\",\"icon_title_wrap\":\"MobileTransactionView_icon_title_wrap__8_AUg\",\"depositIcon_wrap\":\"MobileTransactionView_depositIcon_wrap__1abVg\",\"withdrawalIcon_wrap\":\"MobileTransactionView_withdrawalIcon_wrap__2vd7K\",\"deposit_date\":\"MobileTransactionView_deposit_date__p6ZMg\",\"transaction_type\":\"MobileTransactionView_transaction_type__ZcGIi\",\"transaction_date\":\"MobileTransactionView_transaction_date__2SBYl\",\"amount\":\"MobileTransactionView_amount__1XSWv\",\"noTransaction_container\":\"MobileTransactionView_noTransaction_container__2Dg9t\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stepOne_container\":\"GettingStarted_stepOne_container__W5ykH\",\"stepOne_header\":\"GettingStarted_stepOne_header__3XvG_\",\"stepOne_form\":\"GettingStarted_stepOne_form__V-CBc\",\"select_field\":\"GettingStarted_select_field__30WaT\",\"id_status\":\"GettingStarted_id_status__1ItFt\",\"input_container\":\"GettingStarted_input_container__2PbEy\",\"input_label_container\":\"GettingStarted_input_label_container__18Zxg\",\"email_label\":\"GettingStarted_email_label__9adTk\",\"email_error\":\"GettingStarted_email_error__Z8c5U\",\"verify_phone\":\"GettingStarted_verify_phone__1hGoO\",\"phone_label\":\"GettingStarted_phone_label__34f-9\",\"selected_option\":\"GettingStarted_selected_option__FoanA\",\"flag\":\"GettingStarted_flag__6Zitl\",\"iconify\":\"GettingStarted_iconify__3A1YI\",\"arrow\":\"GettingStarted_arrow__3UmTj\",\"phoneNumberValidation_error\":\"GettingStarted_phoneNumberValidation_error__YQUiu\",\"search_box\":\"GettingStarted_search_box__1AXef\",\"options\":\"GettingStarted_options__vergx\",\"submit__section\":\"GettingStarted_submit__section__1OOxJ\",\"submit__btn\":\"GettingStarted_submit__btn__2y_lF\",\"validate_aggregator\":\"GettingStarted_validate_aggregator__27N5n\",\"validating_text\":\"GettingStarted_validating_text__29w7k\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mobile_menu_container\":\"MobileMenu_mobile_menu_container__2x4qz\",\"overview_header\":\"MobileMenu_overview_header__23Orn\",\"hamburger\":\"MobileMenu_hamburger__3uDaD\",\"avatar\":\"MobileMenu_avatar__--eVG\",\"greeting\":\"MobileMenu_greeting__1E_DQ\",\"sidebar\":\"MobileMenu_sidebar__1n6nM\",\"list_container\":\"MobileMenu_list_container__3t0Hc\",\"list_child\":\"MobileMenu_list_child___qvDd\",\"list_child_wrap\":\"MobileMenu_list_child_wrap__1W4p4\",\"selected\":\"MobileMenu_selected__38407\",\"icon\":\"MobileMenu_icon__3lFB0\",\"open\":\"MobileMenu_open__1NEU1\",\"overlay\":\"MobileMenu_overlay__pERRa\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"profile_container\":\"Profile_profile_container__2lsVU\",\"profile_header\":\"Profile_profile_header__2ZQ15\",\"profile_menu_header\":\"Profile_profile_menu_header__24gys\",\"photo_wrapper\":\"Profile_photo_wrapper__i75PR\",\"photo\":\"Profile_photo__2ET0c\",\"pen_holder\":\"Profile_pen_holder__1sPES\",\"pen\":\"Profile_pen__SecWq\",\"name_email\":\"Profile_name_email__2k2oL\",\"profile_content_wrapper\":\"Profile_profile_content_wrapper__3GGQZ\",\"menu_content_wrapper\":\"Profile_menu_content_wrapper__13QqM\",\"menu_wrapper\":\"Profile_menu_wrapper__2txy1\",\"menu_item\":\"Profile_menu_item__1HWu7\",\"active\":\"Profile_active__3Aozv\",\"profile_content\":\"Profile_profile_content__keV7S\",\"select\":\"Profile_select__3HAzJ\"};","export default __webpack_public_path__ + \"static/media/loadinggif.e5393adb.gif\";","export default __webpack_public_path__ + \"static/media/embed.9587f192.svg\";","import React, { ReactElement } from \"react\";\nimport loader from \"../../assets/loadinggif.gif\";\nimport embed from \"../../assets/embed.svg\";\n\ninterface ButtonLoaderProps {\n type?: string;\n noMarginLeft?: boolean;\n}\n\nexport default function ButtonLoader({\n type,\n noMarginLeft,\n}: ButtonLoaderProps): ReactElement {\n return (\n
\n \n \n
\n );\n}\n","import React from \"react\";\nimport styles from \"./WidgetLoader.module.scss\";\nimport ButtonLoader from \"../../ButtonLoader/ButtonLoader.component\";\nimport loader from \"../../../assets/loadinggif.gif\";\nimport progresslogo from \"../../../assets/ProgressLogo.png\";\nexport default function WidgetLoader({ showWidgetAnimation }) {\n return (\n
\n {showWidgetAnimation ? (\n // \"Powered\n
\n \n \n \n Loading Resource\n

\n
\n ) : (\n \n )}\n
\n );\n}\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABJCAYAAACqyKH+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAf5SURBVHgB5VxdWuM2FL3y0OcyKxjPCiZsoGNWMHQFhBUQpu1z4bnTSVgBYQXACjDdQDMrwF3BpO8Q9R5ZTk1wpCtHTvg53weBRLLloyude6+kKHrlGGR6+weiVBNt4/87omKUq0JaX9ErBEhLZnSoFe3xv72GIlMmJmd2rr7mauy61qsi8NdMZzOifa2pH1CtUIpOlhH5KggEcfeafuc/M2oJpWn09S919Oh9esGIQdwCJjzsd3mOnFZvbNELg5nfiPo8TA+ZvJTiopdoGvLrQfXGi7HAmjAMyCpqV+A58YjnxJH5m5451klcDVO+33sM5Wc7hJm4Hg/VQx6qe/ww6yKuAqYJdNjxs7PAyMIASzrl17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Tamm+5RthvxLiljr4gxx6dGNMasc4hHGXXlgMFCSKH2FgrgRaSuTAYqjwKG/263vvSBmDP+F5QPARndWJhExZozvi2cDWWodoBthFsxAIrBKpyE4rox8YCsVECAZvjw+amNKSePel5sEnyymY8ETCRfW7MoXfPS6QjsrHwZAisYKMQfDdgj5c/37G6/qtLFwU/+SaU1oX/AC1K4VCD+pp6AAAAAElFTkSuQmCC\"","export const ROUTES = {\n // resetPassword: \"/reset_password\",\n login: \"/login\",\n changePassword: \"/change-password\",\n\n // Widget Routes\n widget: \"/create-loan-account\",\n widgetEmbedApiSecurity: \"/widget\",\n widgetUpdateCard: \"/create-loan-account/update-card-details\",\n widgetPayments: \"/create-loan-account/payments\",\n widgetMakePayment: \"/create-loan-account/make-payment\",\n widgetViewRepayments: \"/create-loan-account/repayments\",\n widgetLoan: \"/create-loan-account/loan\",\n widgetLoanRequest: \"/create-loan-account/loan/request\",\n widgetLoanHistory: \"/create-loan-account/loan/history\",\n widgetAllLoans: \"/create-loan-account/loan/all-loans\",\n widgetALoanDetails: \"/create-loan-account/loan/all-loans/details\",\n widgetLoanOffer: \"/create-loan-account/offer\",\n widgetLoanRepaymentAmount: \"/create-loan-account/loan/repayment/amount\",\n widgetLoanRepaymentMethods: \"/create-loan-account/loan/repayment/methods\",\n widgetLoanRepaymentViaWallet: \"/create-loan-account/loan/repayment/wallet\",\n widgetLoanRepaymentViaNewCard: \"/create-loan-account/loan/repayment/new-card\",\n widgetLoanRepaymentViaDirectDebit:\n \"/create-loan-account/loan/repayment/direct-debit\",\n widgetLoanRepaymentProof: \"/create-loan-account/loan/repayment/proof\",\n widgetDashboard: \"/create-loan-account/dashboard\",\n widgetTopUp: \"/create-loan-account/topup\",\n widgetProfile: \"/create-loan-account/profile\",\n widgetQuickLoanRepayment: \"/create-loan-account/quick-loan-repayment\",\n widgetQuickLoanRepaymentAmount:\n \"/create-loan-account/quick-loan-repayment-amount\",\n widgetProfileInfo: \"/create-loan-account/profile/info\",\n widgetDirectDebitProfile: \"/create-loan-account/profile/directdebit\",\n widgetBankStatement: \"/create-loan-account/profile/bankstatement\",\n widgetCard: \"/create-loan-account/profile/card\",\n widgetPin: \"/create-loan-account/profile/pin\",\n widgetPinOnboarding: \"/create-loan-account/onboarding/pin\",\n widgetTransactions: \"/create-loan-account/profile/transactions\",\n widgetWithdrawal: \"/create-loan-account/profile/withdrawal\",\n widgetSetPin: \"/create-loan-account/profile/setPin\",\n widgetContactUs: \"/create-loan-account/contact-us\",\n widgetLoanRepaymentOptionView: \"/create-loan-account/loan/repayment/options\",\n widgetLoanRepaymentMpesa: \"/create-loan-account/loan/repayment/options/mpesa\",\n widgetNewLoanOffer: \"/create-loan-account/loan/new-offer\",\n\n // Web Routes\n WEB_LOGIN: \"/:partnerName/login\",\n\n // New Routing system\n WEB_LOGIN_PRODUCTDIVE: \"/:partnerName/:courseDescription/:courseAmount/login\",\n\n WEB_SIGN_UP: \"/:partnerName/sign-up\",\n\n WEB_SIGN_UP_PRODUCTDIVE:\n \"/:partnerName/:courseDescription/:courseAmount/sign-up\",\n\n RESET_PASSWORD: \"/:partnerName/reset-password\",\n\n RESET_PASSWORD_PRODUCTDIVE:\n \"/:partnerName/:courseDescription/:courseAmount/reset-password\",\n\n WEB_DASHBOARD: \"/:partnerName\",\n\n WEB_DASHBOARD_PRODUCTDIVE: \"/:partnerName/:courseDescription/:courseAmount\",\n\n WEB_LOAN: \"/:partnerName/loan\",\n\n WEB_LOAN_PRODUCTDIVE: \"/:partnerName/:courseDescription/:courseAmount/loan\",\n\n WEB_PROFILE: \"/:partnerName/profile\",\n\n WEB_PROFILE_PRODUCTDIVE:\n \"/:partnerName/:courseDescription/:courseAmount/profile\",\n\n WEB_CONTACTUS: \"/:partnerName/contact-us\",\n\n WEB_CONTACTUS_PRODUCTDIVE:\n \"/:partnerName/:courseDescription/:courseAmount/contact-us\",\n\n WEB_DIRECT_DEBIT_CONFIRMATION: \"/directdebit/:id\",\n\n WEB_INVALIDPARTNER: \"/:partnerName/page-not-found\",\n};\n","import { CurrencyProp } from \"../WidgetRevampv2/types\";\n\nexport const WIDGET_RESPONSE_STATUSES = {\n success: \"onboarding_successful\",\n error: \"error\",\n cancel: \"cancel\",\n};\nexport const WIDGET_RESPONSE_LOAN_STATUSES = {\n loan_request: \"loan_request_successful\",\n};\n\nexport const localCurrency = (isoCode: string): CurrencyProp | \"\" => {\n if (isoCode) {\n if (isoCode === \"NG\") {\n return \"NGN\";\n } else {\n return \"KSH\";\n }\n } else {\n return \"\";\n }\n};\n","// const masterBaseUrl = \"https://advancly-api-master.test.vggdev.com/api/v1\";\n// const master2BaseUrl = \"https://advancly-api-master2.test.vggdev.com/api/v1\";\nconst stagingBaseUrl =\n \"https://advancly-api-master-staging.advancly.com/api/v1\";\nconst staging3BaseUrl =\n \"https://advancly-api-master3.staging.vggdev.com/api/v1\";\n// const sprint2BaseUrl = \"https://advancly-api-sprint2.test.vggdev.com/api/v1\";\n// const sprint4BaseUrl = \"https://advancly-api-sprint4.test.vggdev.com/api/v1\";\n\nconst baseUrl = stagingBaseUrl;\nexport const getAppInsightKey = () => {\n // Add baseUrl for Widget (Todo)\n // switch (window.location.origin) {\n // //Prod\n // case \"https://credit.advancly.com\":\n // return \"d3f7f939-0c41-495a-ad1c-1ca8adf85a6d\";\n // // Staging\n // case \"https://advancly-borrower.staging.vggdev.com\":\n // return \"1ea2d609-3c11-47a7-abaf-aa6428caf8d2\";\n // // Master\n // case \"https://advancly-borrower.test.vggdev.com/\":\n // return \"8caccf7d-b860-4ac2-bd04-2be81e9a63ed\";\n // default:\n // return \"4ef6272a-3923-4888-9316-8c910b01919e\";\n // }\n\n switch (window.env.baseUrl) {\n //Sprint 3\n case \"https://advancly-api-sprint3.test.vggdev.com/api/v1\":\n return \"4ef6272a-3923-4888-9316-8c910b01919e\";\n // Master\n case \"https://advancly-api-master.test.vggdev.com/api/v1\":\n return \"8caccf7d-b860-4ac2-bd04-2be81e9a63ed\";\n // Staging\n case \"https://advancly-api-master.staging.vggdev.com/api/v1\":\n return \"1ea2d609-3c11-47a7-abaf-aa6428caf8d2\";\n //Prod\n case \"https://api2.advancly.com/api/v1\":\n case \"https://api.advancly.com/api/v1\":\n return \"d3f7f939-0c41-495a-ad1c-1ca8adf85a6d\";\n // Using App Insight Master 2 for local development bcos 'window.env.baseUrl' returns undefined on local\n default:\n return \"4ef6272a-3923-4888-9316-8c910b01919e\";\n }\n};\n\nconst CONFIG = {\n BASE_URL:\n process.env.NODE_ENV === \"development\" ? baseUrl : window.env.baseUrl2,\n BASE_URL2:\n process.env.NODE_ENV === \"development\" ? baseUrl : window.env.baseUrl2,\n PAYSTACK_PUBLIC_KEY:\n process.env.NODE_ENV === \"development\"\n ? \"pk_test_6e6904d11efb3b40c7cad5611bcba13fb362f4ec\"\n : window.env.paystackPublicKey,\n OKRA_PUBLIC_KEY:\n process.env.NODE_ENV === \"development\"\n ? \"a07643b9-8b61-5f42-9da8-1d14d17d73e9\"\n : window.env.okraPublicKey,\n OKRA_CLIENT_TOKEN:\n process.env.NODE_ENV === \"development\"\n ? \"5f11699c4eb4ca3ee1cb1256\"\n : window.env.okraToken,\n OKRA_ENV:\n process.env.NODE_ENV === \"development\"\n ? \"production-sandbox\"\n : window.env.okraEnv,\n OKRA_SHORT_URL:\n process.env.NODE_ENV === \"development\"\n ? \"veGGSjGB8\"\n : window.env.okraShortUrl,\n BVN_CHECKER:\n process.env.NODE_ENV === \"development\" ? false : window.env.bvnChecker,\n APPINSIGHTS_KEY: getAppInsightKey(),\n USE_MOCK: false,\n MONO_BASE_URL:\n process.env.NODE_ENV === \"development\"\n ? // baseUrl === sprint4BaseUrl || sprint2BaseUrl\n // \"https://api.withmono.com\"\n \"https://api.withmono.com/v2\"\n : window.env.monoBaseUrl,\n MONO_PUBLIC_KEY:\n process.env.NODE_ENV === \"development\"\n ? // baseUrl === sprint4BaseUrl || sprint2BaseUrl\n \"test_pk_l5g3qeaizth26fi2uah7\"\n : window.env.monoPublicKey,\n MONO_SECRET_KEY:\n process.env.NODE_ENV === \"development\"\n ? // baseUrl === sprint4BaseUrl || sprint2BaseUrl\n \"test_sk_jcieb6ro16rmu79863kn\"\n : window.env.monoSecretKey,\n\n ENCRYPTION_KEY: \"this_is_meant_to_be_a_very_secretive_P@55w0rd01\",\n MIXPANEL_PROJECT_TOKEN:\n process.env.NODE_ENV === \"development\"\n ? // \"f246a45a1513b30927ba4567640dbde7\" // Dummy key to prevent logging of user on Mixpanel on test env\n \"dfvdffe\"\n : window.env.mixpanelProjectToken,\n\n /* ENCRYPTION_KEY:\n process.env.NODE_ENV === \"development\"\n ? \"this_is_meant_to_be_a_very_secretive_P@55w0rd01\"\n : window.env.encryptionKey,*/\n};\n\nexport default CONFIG;\n","import { ApplicationInsights } from \"@microsoft/applicationinsights-web\";\nimport { ReactPlugin } from \"@microsoft/applicationinsights-react-js\";\nimport { createBrowserHistory } from \"history\";\nimport CONFIG from \"../../helpers/config\";\n\nconst browserHistory = createBrowserHistory({ basename: \"\" });\nconst reactPlugin = new ReactPlugin();\nconst appInsights = new ApplicationInsights({\n config: {\n instrumentationKey: CONFIG.APPINSIGHTS_KEY,\n extensions: [reactPlugin],\n extensionConfig: {\n [reactPlugin.identifier]: { history: browserHistory },\n },\n },\n});\nappInsights.loadAppInsights();\nexport { reactPlugin, appInsights };\n","import * as CryptoJS from \"crypto-js\";\n\nexport const appHelpers = {\n validateEmail: (email) => {\n // eslint-disable-next-line\n\n var re =\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(String(email).toLowerCase());\n },\n};\n\nexport const storeToken = (token) => {\n localStorage.setItem(\"token\", token);\n};\n\nexport const getToken = () => {\n return localStorage.getItem(\"token\");\n};\n\nexport const handleGetEncryptedKey = (public_key, private_key) => {\n const message = CryptoJS.enc.Utf8.parse(public_key);\n const secretkey = CryptoJS.enc.Utf8.parse(private_key);\n\n const aesOptions = { mode: CryptoJS.mode.CBC, iv: secretkey };\n const encryptedMessage = CryptoJS.AES.encrypt(message, secretkey, aesOptions);\n return encryptedMessage.toString();\n};\n\nexport const getHTTPKey = () => {\n const key = sessionStorage.getItem(\"encryptedKey\");\n if (key) {\n return key;\n }\n return \"\";\n};\n\nexport const storeHTTPKey = (key) => {\n sessionStorage.setItem(\"encryptedKey\", key);\n};\n\nexport const scrollToTop = () => {\n const widgetPageTop = document.getElementById(\"widget-page-top\");\n widgetPageTop?.scrollIntoView({\n behavior: \"smooth\",\n });\n};\n","import { message } from \"antd\";\nimport { deviceType } from \"react-device-detect\";\n\nexport const errorHandler = (error) => {\n if (error && error?.message?.toLowerCase() === \"network error\") {\n return \"Unable to connect to Advancly services.\";\n }\n if (error?.response) {\n return error?.response?.data?.message;\n } else if (error?.request) {\n return error?.request;\n } else {\n return \"Unable to connect to Advancly services.\";\n }\n};\n\nexport const errorToast = (error) => {\n message.error({\n content: error,\n className: deviceType === \"mobile\" ? \"toastErrorMobile\" : \"toastError\",\n });\n};\n","import React from \"react\";\nimport styles from \"./WidgetInitialError.module.scss\";\ninterface IWidgetInitialError {\n checkFirstTimeBorrowerError?: string;\n checkBankStatementAuthStatusError?: string;\n ValidateAggregatorKeyError?: string;\n invalidAggregatorIdError?: string;\n unexpectedError?: boolean;\n}\nconst WidgetInitialError = ({\n checkFirstTimeBorrowerError,\n checkBankStatementAuthStatusError,\n ValidateAggregatorKeyError,\n unexpectedError,\n invalidAggregatorIdError,\n}: IWidgetInitialError) => {\n return (\n
\n {checkFirstTimeBorrowerError && (\n {`Error : ${checkFirstTimeBorrowerError}!!!`}
\n )}\n {checkBankStatementAuthStatusError && (\n
\n {` Error :${checkBankStatementAuthStatusError} !!!`}\n
\n )}\n {ValidateAggregatorKeyError && (\n {`Error : ${ValidateAggregatorKeyError} !!!`}\n )}\n {unexpectedError && (\n {`Error : Unexpected error occurred !!!`}\n )}{\" \"}\n {invalidAggregatorIdError && (\n {`Error : ${invalidAggregatorIdError} !!!`}\n )}\n window.location.reload()}\n >\n Refresh\n \n \n );\n};\n\nexport default WidgetInitialError;\n","export const WIDGET_SETTINGS = \"WIDGET_SETTINGS\";\nexport const BORROWER_DETAILS = \"BORROWER_DETAILS\";\nexport const LOAN_DETAILS = \"LOAN_DETAILS\";\nexport const WEB_SETTINGS = \"WEB_SETTINGS\";\nexport const MONO_WIDGET_DATA = \"MONO_WIDGET_DATA\";\nexport const WEB_AGGREGATOR_SETTINGS = \"WEB_AGGREGATOR_SETTINGS\";\n","import {\n IBorrowerData,\n IWidgetState,\n WebAggregatorSettingsState,\n} from \"../../interfaces/borrower\";\nimport { ILoanData, IWebState } from \"../../interfaces/loanData\";\nimport { IMonoWidgetData } from \"../../interfaces/monoWidgetData\";\nimport {\n BORROWER_DETAILS,\n LOAN_DETAILS,\n MONO_WIDGET_DATA,\n WEB_AGGREGATOR_SETTINGS,\n WEB_SETTINGS,\n WIDGET_SETTINGS,\n} from \"./types\";\n\nexport const updateWidgetSettingsAction = (\n widgetSettings: Partial,\n) => ({\n type: WIDGET_SETTINGS,\n payload: widgetSettings,\n});\n\nexport const updateBorrowerDetailsAction = (\n borrowerDetails: Partial,\n) => ({\n type: BORROWER_DETAILS,\n payload: borrowerDetails,\n});\n\nexport const updateLoanDetailsAction = (loanDetails: Partial) => ({\n type: LOAN_DETAILS,\n payload: loanDetails,\n});\n\nexport const updateWebSettingsAction = (webSettings: Partial) => ({\n type: WEB_SETTINGS,\n payload: webSettings,\n});\n\nexport const updateMonoWidgetDataAction = (\n monoWidgetData: Partial,\n) => ({\n type: MONO_WIDGET_DATA,\n payload: monoWidgetData,\n});\n\nexport const updateWebAggregatorSettingsAction = (\n webAggregatorSettings: Partial,\n) => ({\n type: WEB_AGGREGATOR_SETTINGS,\n payload: webAggregatorSettings,\n});\n","export const apiEndpoints = {\n resetPasswordUrl: `/account/reset_password`,\n loginUrl: `/account/custom_login/`,\n changePasswordUrl: `/account/change_password/`,\n makePaymentFromWidget: `/eco/aggr_repay_loan_key`,\n getBorrowerLoansInWidget: `/eco/my_boro_loan_key`,\n getWidgetLoanDetails: \"/eco/widget_loan_details\",\n getProductByCode: `/misc/query_product_by_code`,\n validateBankAccount: `/account/validate_bank_account/`,\n updateBorrowerLoanStatusWithKey: `/eco/update_borrower_loan_status_key/`,\n getBorrowerProfile: `/account/my_boro_profile/`,\n checkOkraPaystackOnAccount: `/account/okra_paystack_details`,\n getAggregatorKey: `/widget/validate_aggregator_key`,\n getBorrowerLoanRepayments: `/eco/boro_man_repayment`,\n paystackInfo: `eco/widget_card`,\n getWallet: \"/eco/widget_default_wallet\",\n getWalletConsent: \"/eco/widget_validate_wallet_consent\",\n getTransactions: \"/eco/widget_default_wallet_transactions\",\n getSecurityQuestions: \"/account/widget_security_question/all\",\n saveSecurityQuestionAndAnswer: \"/account/widget_security_question/answers\",\n saveCustomerPin: \"/account/widget_customer_pin\",\n resetCustomerPin: \"/account/widget_reset_customer_pin\",\n withdrawFunds: \"/account/widget_withdraw_funds\",\n getLoanProducts: \"/misc/query_product_key\",\n processLoan: \"/eco/process_borrower_loan_key\",\n getLoanRepaymentSchedule: \"/eco/widget_loan_repayments_schedule\",\n makeRepayment: \"/eco/widget_initiate_repayment\",\n addCard: \"/eco/widget_add_card\",\n fetchCards: \"/eco/widget_get_cards\",\n setDefaultCard: \"/eco/widget_set_default_card\",\n getRepayments: \"/eco/widget_loan_repayments\",\n generateLoanDetails: \"/eco/widget_generate_loan_schedule\",\n getWidgetSettings: \"/account/widget_aggregator_settings\",\n getCollectionAccounts: \"/collectionaccount/widget_search\",\n offlineRepayment: \"/eco/widget_manual_loan_repayment\",\n checkCustomerExist: \"/account/widget_check_customer_exist\",\n saveBankStatementProvider: \"/eco/widget_bank_statement_provider\",\n contactUs: \"/misc/widget_contact_us_form\",\n checkBankProviderLinked: \"/eco/widget_validate_bank_provider_linked\",\n postLoanRepaymentViaMpesa: \"/eco/widget_mpesa_loan_repayment\",\n directDebitEmandatesAccts: \"/eco/direct_debit_emandates\",\n getLinkedBankAccountDetailsWidget: \"/eco/widget_bank_account_details\",\n fetchPendingLoanOfferWidget: \"/eco/widget/get_pending_loan_offers\",\n updateNewLoanOfferStatusWidget: \"/eco/widget/update_loan_offer_status\",\n createResidentialInformationWidget:\n \"/eco/widget/create_customer_residential_information\",\n confirmResidentialAddressWidget:\n \"/eco/widget/customer_has_residential_information\",\n getCustomerResidentialAddressWidget:\n \"/eco/widget/get_customer_residential_information\",\n // Embed Web Endpoints\n getCountries: \"/account/all_country\",\n getAggregators: \"/account/aggregator/query\",\n resolve_BVN: \"/misc/verify_kyc\",\n otp_types: \"/enum/otp_use_types\",\n validate_sign_up_email: \"/account/verify\",\n validate_sign_up_otp: \"/account/otp/verify\",\n generate_otp: \"/account/otp/generate\",\n login: \"/account/custom_login\",\n wallet_balance: \"/account/get_funder_wallet_balance\",\n customerBanks: \"/account/signed_banks_country\",\n customerLoanProducts: \"/misc/query_embed_product_by_aggregator\",\n customerSecurityQuestions: \"/customers/security_questions\",\n customerWalletTransactions: \"/customers/wallet_transactions\",\n customerOnboard: \"/customers/onboard\",\n customerWalletDetails: \"/customers/wallet_details\",\n customerProcessCustomerLoan: \"account/loan_applications/embed\",\n customerSetPin: \"/customers/set_pin\",\n customerSecurityQuestionAnswer: \"/customers/security_questions/answer\",\n customerWithdrawFunds: \"/wallet/withdraw\",\n customerValidateBankAccount: \"/account/validate_bank_account\",\n customerResetPin: \"/customers/reset_pin\",\n customerLoanHistory: \"/eco/loans/customer\",\n getWebLoanRepaymentSchedule: \"/eco/loan_repayments_schedule\",\n getCustomerRepayments: \"/eco/loan_repayments\",\n updateUser: \"/account/update_funder\",\n updatePassword: \"/account/change_password\",\n repayloan: \"/eco/loan/repayment\",\n getWalletConsentWeb: \"/eco/customer_validate_wallet_consent\",\n checkCustomerExistsWeb: \"/account/check_customer_exist\",\n checkBankStatementProviderIsLinked: \"/eco/validate_bank_provider_linked\",\n saveBankstatementProviderWeb: \"/eco/bank_statement_provider\",\n customerOutstandingLoanBalance:\n \"/statistics/customer/total_outstanding_loan_balance\",\n loanDetails: \"/eco/embed_loan_details\",\n nextRepayment: \"/eco/customer_next_loan_repayment\",\n recentLoans: \"/eco/customer_recent_loans\",\n getBusinessName: \"/customers/verify_business_registration_number\",\n getTermsAndCondition: \"/eco/loan_terms_and_conditions\",\n getMandateConfirmation: \"/clientwebhook/mandate_auth_confirmation\",\n validateAggregator: \"/account/validate_aggregator_shortname\",\n getLinkedBankAccountDetailsWeb: \"/eco/bank_account_details\",\n fetchActiveLoans: \"/eco/loans\",\n fetchActiveLoansWidget: \"/eco/widget_loans\",\n createResidentialInformation: \"/eco/create_customer_residential_information\",\n fetchPendingLoanOffer: \"/eco/get_pending_loan_offers\",\n updateNewLoanOfferStatus: \"/eco/update_loan_offer_status\",\n confirmResidentialAddress: \"/eco/customer_has_residential_information\",\n getCustomerResidentialAddress: \"/eco/get_customer_residential_information\",\n getWebAggregatorSettings: \"/account/aggregator_settings\",\n globalSettings: \"/eco/global_setting_detail\",\n};\n","import CONFIG from \"./config\";\n\nconst key = CONFIG.ENCRYPTION_KEY;\n//@ts-ignore\nconst encryptor = require(\"simple-encryptor\")(key);\n\nexport const encrypt = (data: any) => {\n const encrypted =\n process.env.NODE_ENV === \"development\"\n ? data\n : encryptor.encrypt(JSON.stringify(data));\n return encrypted;\n};\n\nexport const decrypt = (data: string) => {\n const decrypted =\n process.env.NODE_ENV === \"development\"\n ? data\n : JSON.parse(encryptor.decrypt(data));\n return decrypted;\n};\n","import axios from \"axios\";\nimport CONFIG from \"../helpers/config\";\nimport { appInsights } from \"../components/AppInsight/AppInsight\";\nimport { getHTTPKey, getToken } from \"../helpers/appHelpers\";\nimport { decrypt } from \"../helpers/encryptor\";\n\nexport const token = () => {\n // const token = localStorage.getItem(\"token\");\n const token = getToken();\n if (!token) {\n return null;\n }\n return decrypt(token);\n};\n\nconst baseURL = CONFIG.BASE_URL2;\nconst baseURL2 = CONFIG.BASE_URL2;\n// const baseURL = \"http://c27b6edca1d7.ngrok.io/api/v1\";\nlet savedHeaders = {};\n\nconst axiosInstance = axios.create({\n baseURL,\n});\n\n// Request Interceptor\naxiosInstance.interceptors.request.use(\n function (config) {\n config.headers = {\n ...config.headers,\n \"Content-Type\": \"application/json\",\n \"Content-Security-Policy\":\n \"default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'\",\n \"Cache-Control\": \"no-cache, must-revalidate, max-age=0\",\n Authorization: `Bearer ${token()}`,\n };\n // you can also do other modification in config\n return config;\n },\n function (error) {\n return Promise.reject(error);\n },\n);\n\n// Response Interceptor\naxiosInstance.interceptors.response.use(\n function (response) {\n const ssoArraffinity = response.headers[\"ssoarraffinity\"];\n const ssoArraffinitySamesite = response.headers[\"ssoarraffinity\"];\n\n if (ssoArraffinity && ssoArraffinitySamesite) {\n savedHeaders = {\n ssoarraffinity: ssoArraffinity,\n ssoarraffinitysamesite: ssoArraffinitySamesite,\n };\n\n localStorage.setItem(\"savedHeaders\", JSON.stringify(savedHeaders));\n }\n\n return response;\n },\n function (error) {\n appInsights.trackException({ exception: error });\n if (error.response && error.response.status === 500) {\n return Promise.reject(new Error(\"Internal Server Error\"));\n }\n return Promise.reject(error);\n },\n);\n\nconst axiosInstance2 = axios.create({\n baseURL: baseURL2,\n});\n\naxiosInstance2.interceptors.request.use(\n function (config) {\n config.headers = {\n ...config.headers,\n \"Content-Type\": \"application/json\",\n \"Content-Security-Policy\":\n \"default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'\",\n \"Cache-Control\": \"no-cache, must-revalidate, max-age=0\",\n Authorization: `Bearer ${token()}`,\n };\n // you can also do other modification in config\n return config;\n },\n function (error) {\n return Promise.reject(error);\n },\n);\n\naxiosInstance2.interceptors.response.use(undefined, async function (error) {\n appInsights.trackException({ exception: error });\n if (error.response && error.response.status === 500) {\n return Promise.reject(new Error(\"Internal Server Error\"));\n }\n return Promise.reject(error);\n});\n\nexport const getData = async (url) => {\n const data = await axiosInstance({\n method: \"GET\",\n url,\n });\n return data.data;\n};\n\nexport const getDataWithKey = async (url) => {\n const data = await axiosInstance({\n method: \"GET\",\n url,\n headers: {\n HTTP_KEY: getHTTPKey(),\n },\n });\n return data.data;\n};\n\nexport const getDotNetDataWithKey = async (url) => {\n const data = await axiosInstance2({\n method: \"GET\",\n url,\n headers: {\n HTTP_KEY: getHTTPKey(),\n },\n });\n return data.data;\n};\n\nexport const postData = async (url, reqBody, headers) => {\n const data = await axiosInstance({\n method: \"POST\",\n url,\n data: reqBody,\n headers: headers,\n });\n return data.data;\n};\n\nexport const postDataWithKey = async (url, reqBody) => {\n const data = await axiosInstance({\n method: \"POST\",\n url,\n data: reqBody,\n headers: {\n HTTP_KEY: getHTTPKey(),\n },\n });\n return data.data;\n};\n\nexport const postDotNetDataWithKey = async (url, reqBody) => {\n const data = await axiosInstance2({\n method: \"POST\",\n url,\n data: reqBody,\n headers: {\n HTTP_KEY: getHTTPKey(),\n },\n });\n return data.data;\n};\n\nexport const putDotNetDataWithKey = async (url, reqBody) => {\n const data = await axiosInstance2({\n method: \"PUT\",\n url,\n data: reqBody,\n headers: {\n HTTP_KEY: getHTTPKey(),\n },\n });\n return data.data;\n};\n\nexport const patchData = async (url, reqBody) => {\n const data = await axiosInstance({\n method: \"PATCH\",\n url,\n data: reqBody,\n });\n return data.data;\n};\n\nexport const putData = async (url, reqBody) => {\n const data = await axiosInstance({\n method: \"PUT\",\n url,\n data: reqBody,\n });\n return data.data;\n};\n\nexport const deleteData = async (url, reqBody) => {\n const data = await axiosInstance({\n method: \"DELETE\",\n url,\n data: reqBody,\n });\n return data.data;\n};\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\nimport { message } from \"antd\";\nimport { errorHandler } from \"../helpers/errorHandler\";\n\nconst fetchBanks = async ({ country_code }: { country_code: string }) => {\n try {\n const res = await getData(\n `${apiEndpoints.customerBanks}?country_code=${country_code}`,\n );\n return res.data;\n } catch (error: any) {\n console.error(error.response?.data);\n message.error(errorHandler(error));\n }\n};\n\nexport default function useFetchBanks({\n country_code,\n}: {\n country_code: string;\n}) {\n return useQuery([{ country_code }, \"fetchBanks\"], fetchBanks, {\n refetchOnWindowFocus: true,\n enabled: country_code ? true : false,\n });\n}\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst getCountryList = async () => {\n const { data } = await getData(`${apiEndpoints.getCountries}`);\n\n return data;\n};\n\nexport default function useFetchCountries() {\n return useQuery([\"getCountryList\"], getCountryList, {\n refetchOnWindowFocus: false,\n });\n}\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getDataWithKey } from \"../apis/apiMethods\";\n\ntype IWidgetAggregatorSettings = {\n countryCode: any;\n aggregatorId: any;\n httpKey?: any;\n};\n\ntype IWidgetAggregatorSettingsKey = {\n countryCode: any;\n aggregatorId: any;\n httpKey: any;\n};\n\nconst getWidgetAggregatorSettings = async ({\n countryCode,\n aggregatorId,\n}: IWidgetAggregatorSettings) => {\n const data = await getDataWithKey(\n `${apiEndpoints.getWidgetSettings}?AggregatorId=${aggregatorId}&CountryCode=${countryCode}`,\n );\n \n return data?.data;\n};\n\nconst getWidgetAggregatorSettingsWithHttpKey = async ({\n countryCode,\n aggregatorId,\n httpKey,\n}: IWidgetAggregatorSettingsKey) => {\n const data = await getDataWithKey(\n `${apiEndpoints.getWidgetSettings}?AggregatorId=${aggregatorId}&CountryCode=${countryCode}`,\n );\n return data.data;\n};\n\nexport default function useWidgetAggregatorSettings({\n countryCode,\n aggregatorId,\n}: IWidgetAggregatorSettings) {\n return useQuery(\n [{ countryCode, aggregatorId }, \"getWidgetAggregatorSettings\"],\n getWidgetAggregatorSettings,\n {\n enabled: countryCode && aggregatorId ? true : false,\n },\n );\n}\n\nexport function useWidgetAggregatorSettingsWithHttpKey({\n countryCode,\n aggregatorId,\n httpKey,\n}: IWidgetAggregatorSettings) {\n return useQuery(\n [\n { countryCode, aggregatorId, httpKey },\n \"getWidgetAggregatorSettingsWithHttpKey\",\n ],\n getWidgetAggregatorSettingsWithHttpKey,\n {\n enabled: httpKey && countryCode && aggregatorId ? true : false,\n },\n );\n}\n","import { getData } from \"../apis/apiMethods\";\nimport { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\n\ninterface ExistingUserProps {\n identity_number: string;\n phone_number: string;\n aggregator_id: number;\n email: string;\n business_registration_number: string;\n}\n\nconst fetchExistingUser = async ({\n identity_number,\n phone_number,\n aggregator_id,\n email,\n business_registration_number,\n}: ExistingUserProps) => {\n const res = await getData(\n `${apiEndpoints.checkCustomerExistsWeb}?identity_number=${identity_number}&phone_number=${phone_number}&aggregator_id=${aggregator_id}&email=${email}&business_registration_number=${business_registration_number}`\n );\n\n return res;\n};\n\nexport default function useFetchUserExists({\n identity_number,\n phone_number,\n aggregator_id,\n email,\n business_registration_number,\n}: ExistingUserProps) {\n return useQuery(\n [\n {\n identity_number,\n phone_number,\n aggregator_id,\n email,\n business_registration_number,\n },\n \"fetchExistingUser\",\n ],\n fetchExistingUser,\n {\n enabled: aggregator_id,\n }\n );\n}\n","import { getData } from \"../apis/apiMethods\";\nimport { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\n\ninterface BankStatementLinkedProps {\n aggregator_id: number;\n customer_id: number;\n bank_statement_provider_id: number;\n}\n\nconst fetchBankStatementProviderStatus = async ({\n aggregator_id,\n customer_id,\n bank_statement_provider_id,\n}: BankStatementLinkedProps) => {\n const res = await getData(\n `${apiEndpoints.checkBankStatementProviderIsLinked}?aggregator_id=${aggregator_id}&customer_id=${customer_id}&bank_statement_provider_id=${bank_statement_provider_id}`\n );\n\n return res;\n};\n\nexport default function useFetchBankStatementProviderStatus({\n aggregator_id,\n customer_id,\n bank_statement_provider_id,\n}: BankStatementLinkedProps) {\n return useQuery(\n [\n { aggregator_id, customer_id, bank_statement_provider_id },\n \"fetchBankStatementProviderStatus\",\n ],\n fetchBankStatementProviderStatus,\n {\n enabled: aggregator_id && customer_id ? true : false,\n }\n );\n}","import { getDataWithKey } from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { useQuery } from \"react-query\";\nimport { message } from \"antd\";\nimport { errorHandler } from \"../helpers/errorHandler\";\n\ninterface IProps {\n aggregator_id: number;\n public_key: string;\n}\n\nconst getGeneratedAggregatorPrivateKey = async ({\n aggregator_id,\n public_key,\n}: IProps) => {\n try {\n const data = await getDataWithKey(\n `${apiEndpoints.getAggregatorKey}?aggregator_id=${aggregator_id}&public_key=${public_key}`,\n );\n return data.data;\n } catch (error) {\n message.error(errorHandler(error));\n }\n};\nexport default function useGenerateAggregatorPrivateKey({\n aggregator_id,\n public_key,\n}: IProps) {\n return useQuery(\n [{ aggregator_id, public_key }, \"getGeneratedAggregatorPrivateKey\"],\n getGeneratedAggregatorPrivateKey,\n {\n enabled: aggregator_id && public_key ? true : false,\n },\n );\n}\n","export const sendResponseToClient = ({\n status,\n data,\n}: {\n status: string;\n data: any;\n}): void => {\n const response = {\n status,\n data,\n };\n console.log({\n sentResponseToClient: response,\n });\n // Send to web\n window?.top?.postMessage(response, \"*\");\n // Send to React Native App\n // @ts-ignore\n window?.ReactNativeWebView?.postMessage(JSON.stringify(response), \"*\");\n};\n","import React, { Fragment } from \"react\";\nimport styles from \"./WidgetCustomTitle.module.scss\";\nimport { CircularProgressbar, buildStyles } from \"react-circular-progressbar\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport { useHistory } from \"react-router-dom\";\n\ntype WidgetCustomTitleProps = {\n title: string;\n step: number;\n totalSteps?: number;\n extraText?: string;\n showDismissButton?: boolean;\n};\nexport default function WidgetCustomTitle({\n title,\n step,\n totalSteps,\n extraText,\n showDismissButton,\n}: WidgetCustomTitleProps) {\n const history = useHistory();\n return (\n
\n
\n
{title}
\n {showDismissButton ? (\n
history.goBack()}>\n \n
\n ) : (\n \n {step && totalSteps && (\n
\n \n
\n )}\n
\n )}\n
\n {extraText &&
{extraText}
}\n
\n );\n}\n","import React, { ReactNode } from \"react\";\nimport styles from \"./WidgetNavCard.module.scss\";\n\ntype WidgetNavCardProps = {\n icon: ReactNode;\n title: string;\n subtitle: string;\n onClick: () => void;\n disabled?: boolean;\n};\nexport default function WidgetNavCard({\n icon,\n title,\n subtitle,\n onClick,\n disabled,\n}: WidgetNavCardProps) {\n return (\n \n {icon &&
{icon}
}\n
\n
{title}
\n
{subtitle}
\n
\n
\n \n
\n \n );\n}\n","import React, { Fragment, ReactElement } from \"react\";\nimport ButtonLoader from \"../ButtonLoader/ButtonLoader.component\";\n\ninterface CustomWidgetButtonProps {\n disabled?: boolean;\n customStyles?: {\n buttonBackgroundColor?: string;\n buttonTextColor?: string;\n };\n loading?: boolean;\n value: string | ReactElement;\n onClick: () => void;\n type?: \"button\" | \"submit\" | \"reset\";\n name?: string;\n buttonType?: string;\n width?: string;\n}\n\nexport default function CustomWidgetButton({\n disabled,\n customStyles,\n loading,\n value,\n onClick,\n type = \"button\",\n name,\n buttonType,\n width,\n}: CustomWidgetButtonProps): ReactElement {\n return (\n \n \n {loading ? : value}\n \n \n );\n}\n","import React from \"react\";\nimport ButtonLoader from \"../../ButtonLoader/ButtonLoader.component\";\nimport styles from \"./WidgetInnerPageLoader.module.scss\";\n\nexport default function WidgetInnerPageLoader() {\n return (\n
\n \n
\n );\n}\n","import * as yup from \"yup\";\n\n// Regular expression for phone number\nconst phoneRegExp =\n /^((\\\\+[1-9]{1,4}[ \\\\-]*)|(\\\\([0-9]{2,3}\\\\)[ \\\\-]*)|([0-9]{2,4})[ \\\\-]*)*?[0-9]{3,4}?[ \\\\-]*[0-9]{3,4}?$/;\nexport const numberRegExp = /[0-9]/;\nexport const yupValidators = {\n firstName: yup.string().required(\"Please enter your first name\"),\n fullName: yup.string().required(\"Please enter your full name\"),\n country: yup.string().required(\"Please select your country name\"),\n partner: yup.string().required(\"Please select your partner name\"),\n loanProduct: yup.string().required(\"Please select a product\"),\n tenor: yup.string().required(\"Please select a tenor\"),\n firstRepaymentDate: yup.string().required(\"Please select a first repayment date\"),\n numberOfRepayments: yup.string().required(\"Please enter number of repayments\"),\n repaymentDate: yup.string().required(\"Add a repayment date\"),\n lastName: yup.string().required(\"Please enter your last name\"),\n businessName: yup.string().required(\"Please enter your business name\"),\n state: yup.string().required(\"Please select your state\"),\n lga: yup.string().required(\"Please select your lga\"),\n address: yup.string().required(\"Please enter your address\"),\n businessRcNumber: yup\n .string()\n .required(\"Please enter your business RC number\")\n .matches(/^[0-9]+$/, \"Must contain only numbers\"),\n age: yup\n .number()\n .required(\"Please enter your age\")\n .positive()\n .integer()\n .min(18),\n bvn: yup\n .string()\n .required(\"Please enter your bvn\")\n .matches(numberRegExp, \"Invalid bvn\"),\n dob: yup.string().required(\"Please enter your date of birth\"),\n gender: yup.string().required(\"Please enter your gender\"),\n\n directDebitAccount: yup.string().required(\"Please select direct debit\"),\n nationalId: yup\n .string()\n .required(\"Please enter your national ID\")\n .matches(numberRegExp, \"Invalid national ID\"),\n bankName: yup.string().required(\"Please select your bank name\"),\n accountNumber: yup\n .string()\n .required(\"Please enter your account number\")\n .matches(numberRegExp, \"Invalid account number\")\n .max(10, \"Account number cannot have more than 10 digits\"),\n email: yup\n .string()\n .trim()\n .email(\"This is an invalid email\")\n .required(\"Please enter your email\")\n .min(5, \"Email must have at least 5 characters\")\n .max(256, \"Email cannot be longer than 256 characters\"),\n password: yup\n .string()\n .required(\"Please enter your password\")\n .min(8, \"Password must have at least 8 characters\")\n .max(50, \"Password cannot be longer than 50 characters\")\n .matches(/[^A-Za-z0-9]/, \"Password must contain a special character\")\n .matches(/[A-Z]/, \"Password must contain an uppercase alphabet\")\n .matches(/[a-z]/, \"Password must contain a lowercase alphabet\")\n .matches(/[0-9]/, \"Password must contain a number\"),\n confirmPassword: yup\n .string()\n .oneOf([yup.ref(\"password\"), null], \"Passwords do not match\")\n .required(\"Please confirm your password\"),\n phone_number: yup\n .string()\n .required(\"Please enter your phone number\")\n .matches(phoneRegExp, \"Invalid phone number\")\n .min(7, \"Phone number must have at least 7 digits\")\n .max(20, \"Phone number cannot have more than 20 digits\"),\n amount: yup\n .string()\n .required(\"Please enter an amount\")\n .matches(numberRegExp, \"Invalid amount\")\n .min(1, \"Amount must have at least 1 digit\")\n .max(10, \"Amount cannot have more than 10 digits\"),\n otp: yup\n .string()\n .required(\"Please enter OTP\")\n .matches(numberRegExp, \"Invalid OTP\"),\n pin: yup\n .string()\n .required(\"Please enter your pin\")\n .max(4, \"Pin must be four digits\")\n .matches(/[0-9]/, \"Pin must contain only numbers\"),\n confirmPin: yup\n .string()\n .oneOf([yup.ref(\"pin\"), null], \"Pins do not match\")\n .required(\"Please confirm your pin\"),\n oldPassword: yup\n .string()\n .required(\"Please enter your old password\")\n .min(8, \"Password must have at least 8 characters\")\n .max(128, \"Password cannot be longer than 128 characters\")\n .matches(/[^A-Za-z0-9]/, \"Password must contain a special character\")\n .matches(/[A-Z]/, \"Password must contain an uppercase alphabet\")\n .matches(/[a-z]/, \"Password must contain a lowercase alphabet\")\n .matches(/[0-9]/, \"Password must contain a number\"),\n newPassword: yup\n .string()\n .required(\"Please enter your new password\")\n .min(8, \"Password must have at least 8 characters\")\n .max(128, \"Password cannot be longer than 128 characters\")\n .matches(/[^A-Za-z0-9]/, \"Password must contain a special character\")\n .matches(/[A-Z]/, \"Password must contain an uppercase alphabet\")\n .matches(/[a-z]/, \"Password must contain a lowercase alphabet\")\n .matches(/[0-9]/, \"Password must contain a number\"),\n confirmNewPassword: yup\n .string()\n .oneOf([yup.ref(\"newPassword\"), null], \"Passwords do not match\")\n .required(\"Please confirm your password\"),\n note: yup.string().required(\"Please enter your message\"),\n description: yup.string().required(\"Please enter your message\"),\n cardNumber: yup\n .string()\n .required(\"Please enter your card number\")\n .matches(numberRegExp, \"Card number must contain only numbers\")\n .min(16, \"Invalid card number\")\n .max(16, \"Card number cannot be more than 16 digits\"),\n expiryDate: yup.string().required(\"Please enter card expiry date\"),\n cvv: yup\n .string()\n .required(\"Please enter your CVV number\")\n .matches(numberRegExp, \"CVV must contain only numbers\")\n .max(3, \"CVV number cannot have more than 3 digits\"),\n securityQuestion: yup.string().required(\"Please select a security question\"),\n securityAnswer: yup\n .string()\n .required(\"Please provide an answer to the security question above\"),\n};\n","import React, { Fragment } from \"react\";\nimport PinInput from \"react-pin-input\";\nimport { numberRegExp } from \"../../helpers/yupValidators\";\n\ntype CustomPinInputFieldProps = {\n focus?: boolean;\n length: number;\n hide?: boolean;\n setValue: (value: string) => void;\n initialValue?: string;\n label: string;\n};\n\nexport const CustomPinInputField = ({\n focus,\n length,\n hide,\n setValue,\n initialValue,\n label,\n}: CustomPinInputFieldProps) => {\n return (\n \n
\n

{label}

\n {\n setValue(value);\n }}\n type=\"custom\"\n inputMode=\"string\"\n regexCriteria={numberRegExp}\n autoSelect={true}\n focus={focus}\n inputStyle={{\n border: \"1px solid #D7DCE0\",\n borderRadius: \"10px\",\n }}\n />\n
\n
\n );\n};\n","export default __webpack_public_path__ + \"static/media/user.804a1a34.svg\";","import React, { Fragment, useEffect, useState } from \"react\";\nimport CustomWidgetButton from \"../../CustomWidgetElements/CustomWidgetButton.component\";\nimport WidgetInnerPageLoader from \"../WidgetInnerPageLoader/WidgetInnerPageLoader.component\";\nimport { CustomPinInputField } from \"../../CustomHTMLElements/CustomPinInputField.component\";\nimport { Alert, Form, Input, Select } from \"antd\";\nimport user from \"../../../assets/profile/user.svg\";\nimport { appInsights } from \"../../AppInsight/AppInsight\";\n\nexport default function CorporateSignUp({\n edit_widget,\n business_registration_number,\n businessRegNumberValidated,\n customStyles,\n otp,\n email,\n identity_number,\n bvnLoading,\n handleBvnValidation,\n otpLoading,\n onOtpInput,\n handleChange,\n loading,\n handleCacValidation,\n handleOtpValidation,\n borrower_phone,\n country_code,\n worldCountries,\n goBack,\n showBackBtn,\n company_name,\n customerPhoneNumber,\n allowSmsNotification,\n bank_account_number,\n bank_account_name,\n bank_name,\n allowBankDetails,\n bankList,\n bankDetailsInputEnabledBoolean,\n otpError,\n setOtpError,\n // handleCountryCodeIsEditTrue,\n}) {\n const [counter, setCounter] = useState(120);\n\n const padTime = (time) => {\n return String(time).length === 1 ? `0${time}` : `${time}`;\n };\n const format = (time) => {\n const minutes = Math.floor(time / 60);\n const seconds = time % 60;\n return `${minutes}:${padTime(seconds)}`;\n };\n\n useEffect(() => {\n if (businessRegNumberValidated) {\n let timer;\n if (counter > 0) {\n timer = setTimeout(() => setCounter((c) => c - 1), 1000);\n }\n\n return () => {\n if (timer) {\n clearTimeout(timer);\n }\n };\n }\n }, [counter, businessRegNumberValidated]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"CorporateSignUp.component.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n // Show Loader when OTP or BVN is loading\n if (bvnLoading || otpLoading) {\n return ;\n }\n\n return (\n
\n {otpError && (\n \n setOtpError(\"\")}\n />\n
\n )}\n {!businessRegNumberValidated ? (\n \n

KYC Information

\n

\n Enter the following information to proceed\n

\n
\n \n handleChange(\"borrower_phone\", e.target.value)}\n disabled={!edit_widget}\n />\n \n
\n \n handleChange(\"email\", e.target.value)}\n disabled={!edit_widget}\n />\n \n
\n \n \n handleChange(\"business_registration_number\", e.target.value)\n }\n disabled={!edit_widget}\n />\n \n
\n \n handleChange(\"company_name\", e.target.value)}\n disabled={!edit_widget}\n />\n \n
\n \n \n handleChange(\"identity_number\", e.target.value)\n }\n disabled={!edit_widget}\n />\n \n
\n {allowBankDetails && (\n <>\n \n {edit_widget && bankDetailsInputEnabledBoolean ? (\n handleChange(\"bank_code\", value)}\n showSearch\n filterOption={(input, option) =>\n (option?.label ?? \"\")\n .toLowerCase()\n .includes(input.toLowerCase())\n }\n options={\n bankList &&\n bankList.map((item) => ({\n label: item.name,\n value: item.code,\n }))\n }\n >\n {bankList &&\n bankList?.length > 0 &&\n bankList.map((item) => (\n \n {item.name}\n \n ))}\n \n ) : bankDetailsInputEnabledBoolean === false ? (\n \n handleChange(\"bank_name\", e.target.value)\n }\n />\n ) : (\n \n handleChange(\"bank_name\", e.target.value)\n }\n />\n )}\n \n
\n\n \n \n handleChange(\"bank_account_number\", e.target.value)\n }\n />\n \n
\n \n \n {bank_account_name}\n \n
\n \n )}\n
\n \n {/* {edit_widget ? (\n handleCountryCodeIsEditTrue(value)}\n >\n {worldCountries &&\n worldCountries?.length > 0 &&\n worldCountries.map((item) => (\n \n {item.name}\n \n ))}\n \n ) : (\n c.iso2 === country_code)?.name\n }\n >\n {worldCountries &&\n worldCountries?.length > 0 &&\n worldCountries.map((item) => (\n {item?.name}\n ))}\n \n )} */}\n\n c.country_code === country_code)\n ?.name\n }\n disabled\n >\n {worldCountries &&\n worldCountries?.length > 0 &&\n worldCountries.map((item) => (\n {item?.name}\n ))}\n \n \n
\n
\n \n By proceeding to the next step, I acknowledge that I have
{\" \"}\n read and agree to the terms and conditions outlined in
\n Advancly's\n \n Terms of Use\n \n and\n \n Privacy Policy.\n \n
\n
{\" \"}\n
\n {!businessRegNumberValidated && (\n
\n
\n {showBackBtn ? (\n goBack()}\n >\n Go Back\n

\n ) : null}\n \n {bvnLoading ? (\n \n ) : (\n \"Next\"\n )}\n \n
\n
\n )}\n \n
\n ) : (\n \n

OTP Verification

\n {email && allowSmsNotification ? (\n

\n {`A one time password was sent to your email address ${email[0]}${email[1]}${email[2]}${email[3]}************* and phone number`}\n {customerPhoneNumber}, please enter below\n

\n ) : allowSmsNotification ? (\n

\n A one time password was sent to your phone number,\n {customerPhoneNumber} please enter below\n

\n ) : (\n

\n {`A one time password was sent to your email address ${email[0]}${email[1]}${email[2]}${email[3]}*************, please enter below`}\n

\n )}\n
\n onOtpInput(value)}\n length={5}\n label=\"Enter OTP\"\n focus={true}\n />\n\n {counter !== 0 && !otpLoading && (\n
\n \n {format(counter)}\n
\n )}\n\n {/*

A one time password was sent to {email}

*/}\n\n
\n {counter === 0 ? (\n {\n handleBvnValidation();\n setCounter(120);\n }}\n style={{ cursor: \"pointer\" }}\n >\n Send OTP again\n

\n ) : null}\n \n
\n
\n
\n )}\n \n );\n}\n","import React, { Fragment, useEffect, useState } from \"react\";\nimport CustomWidgetButton from \"../../CustomWidgetElements/CustomWidgetButton.component\";\nimport WidgetInnerPageLoader from \"../WidgetInnerPageLoader/WidgetInnerPageLoader.component\";\nimport { CustomPinInputField } from \"../../CustomHTMLElements/CustomPinInputField.component\";\nimport \"react-phone-input-2/lib/style.css\";\nimport user from \"../../../assets/profile/user.svg\";\nimport { Alert, Form, Input, Select } from \"antd\";\nimport { appInsights } from \"../../AppInsight/AppInsight\";\n\nexport default function IndividualSignUp({\n email,\n edit_widget,\n identity_number,\n bvnValidated,\n customStyles,\n otp,\n bvnLoading,\n handleBvnValidation,\n otpLoading,\n onOtpInput,\n handleOtpValidation,\n borrower_phone,\n country_code,\n worldCountries,\n goBack,\n showBackBtn,\n handleChange,\n customerPhoneNumber,\n allowSmsNotification,\n bank_account_number,\n bank_account_name,\n bank_name,\n allowBankDetails,\n bankList,\n bankDetailsInputEnabledBoolean,\n // handleCountryCodeIsEditTrue,\n otpError,\n setOtpError,\n}) {\n const [counter, setCounter] = useState(120);\n\n const padTime = (time) => {\n return String(time).length === 1 ? `0${time}` : `${time}`;\n };\n const format = (time) => {\n const minutes = Math.floor(time / 60);\n const seconds = time % 60;\n return `${minutes}:${padTime(seconds)}`;\n };\n\n useEffect(() => {\n if (bvnValidated) {\n let timer;\n if (counter > 0) {\n timer = setTimeout(() => setCounter((c) => c - 1), 1000);\n }\n\n return () => {\n if (timer) {\n clearTimeout(timer);\n }\n };\n }\n }, [counter, bvnValidated]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"IndividualSignUp.component.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n // Show Loader when OTP or BVN is loading\n if (bvnLoading || otpLoading) {\n return ;\n }\n\n return (\n
\n {otpError && (\n \n setOtpError(\"\")}\n />\n
\n )}\n {!bvnValidated ? (\n \n

KYC Information

\n

\n Enter the following information to proceed\n

\n
\n \n handleChange(\"borrower_phone\", e.target.value)}\n disabled={!edit_widget}\n />\n \n
\n \n handleChange(\"email\", e.target.value)}\n disabled={!edit_widget}\n />\n \n
\n \n \n handleChange(\"identity_number\", e.target.value)\n }\n disabled={!edit_widget}\n />\n \n
\n {allowBankDetails && (\n <>\n \n {edit_widget && bankDetailsInputEnabledBoolean ? (\n handleChange(\"bank_code\", value)}\n showSearch\n filterOption={(input, option) =>\n (option?.label ?? \"\")\n .toLowerCase()\n .includes(input.toLowerCase())\n }\n options={\n bankList &&\n bankList.map((item) => ({\n label: item.name,\n value: item.code,\n }))\n }\n >\n {bankList &&\n bankList?.length > 0 &&\n bankList.map((item) => (\n \n {item.name}\n \n ))}\n \n ) : bankDetailsInputEnabledBoolean === false ? (\n \n handleChange(\"bank_name\", e.target.value)\n }\n />\n ) : (\n \n handleChange(\"bank_name\", e.target.value)\n }\n />\n )}\n \n
\n\n \n \n handleChange(\"bank_account_number\", e.target.value)\n }\n />\n \n\n
\n \n \n {bank_account_name}\n \n
\n \n )}\n
\n \n {/* {edit_widget ? (\n handleCountryCodeIsEditTrue(value)}\n >\n {worldCountries &&\n worldCountries?.length > 0 &&\n worldCountries?.map((item) => (\n \n {item.name}\n \n ))}\n \n ) : (\n c.iso2 === country_code)?.name\n }\n disabled\n >\n {worldCountries &&\n worldCountries?.length > 0 &&\n worldCountries.map((item) => (\n {item?.name}\n ))}\n \n )} */}\n c.country_code === country_code)\n ?.name\n }\n disabled\n >\n {worldCountries &&\n worldCountries?.length > 0 &&\n worldCountries.map((item) => (\n {item?.name}\n ))}\n \n \n
\n
\n \n By proceeding to the next step, I acknowledge that I have
{\" \"}\n read and agree to the terms and conditions outlined in
\n Advancly's\n \n Terms of Use\n \n and\n \n Privacy Policy.\n \n
\n
{\" \"}\n
\n
\n
\n {showBackBtn ? (\n goBack()}\n >\n Go Back\n

\n ) : null}\n {\n \n {bvnLoading ? (\n \n ) : (\n \"Next\"\n )}\n \n }\n
\n
\n \n
\n ) : (\n \n

OTP Verification

\n {email && allowSmsNotification ? (\n

\n {`A one time password was sent to your email address ${email[0]}${email[1]}${email[2]}${email[3]}************* and phone number`}\n {customerPhoneNumber} , please enter below\n

\n ) : allowSmsNotification ? (\n

\n A one time password was sent to your phone number,\n {customerPhoneNumber} please enter below\n

\n ) : (\n

\n {`A one time password was sent to your email address ${email[0]}${email[1]}${email[2]}${email[3]}*************, please enter below`}\n

\n )}\n
\n onOtpInput(value)}\n length={5}\n label=\"Enter OTP\"\n focus={true}\n />\n\n {counter !== 0 && !otpLoading && (\n
\n \n {format(counter)}\n
\n )}\n\n {/*

A one time password was sent to {email}

*/}\n\n
\n {counter === 0 ? (\n {\n handleBvnValidation();\n setCounter(120);\n }}\n style={{ cursor: \"pointer\" }}\n >\n Send OTP again\n

\n ) : null}\n \n
\n
\n
\n )}\n \n );\n}\n","export default __webpack_public_path__ + \"static/media/success.9d837fff.svg\";","import mixpanel from \"mixpanel-browser\";\nimport CONFIG from \"./config\";\n\ninterface PeopleProps {\n $name: string;\n $email: string;\n user_id?: number;\n phone: string;\n \"customer id\"?: string;\n aggregator?: string;\n \"aggregator id\"?: string;\n product: string;\n \"customer type\": string;\n \"date created\"?: string;\n}\n\n// Initialize Mixpanel\nmixpanel.init(CONFIG.MIXPANEL_PROJECT_TOKEN, {\n debug: true,\n track_pageview: true,\n persistence: \"localStorage\",\n});\n\nconst env_check = process.env.NODE_ENV === \"production\";\n\nlet actions = {\n identify: (unique_id: string | undefined) => {\n if (env_check) mixpanel.identify(unique_id);\n },\n people: {\n set: (props: PeopleProps) => {\n if (env_check) mixpanel.people.set(props);\n },\n },\n track: (event_name: string, properties: {}) => {\n if (env_check) mixpanel.track(event_name, properties);\n },\n // track_pageview: (props: any) => {\n // if (env_check) mixpanel.track_pageview(props);\n // },\n};\n\nexport let MixPanel = actions;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport { postData } from \"../../../apis/apiMethods\";\nimport { errorHandler } from \"../../../helpers/errorHandler\";\nimport WidgetCustomTitle from \"../WidgetCustomTitle/WidgetCustomTitle.component\";\nimport WidgetNavCard from \"../WidgetNavCard/WidgetNavCard.component\";\nimport CorporateSignUp from \"./CorporateSignUp.component\";\nimport IndividualSignUp from \"./IndividualSignUp.component\";\nimport success from \"../../../assets/success.svg\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { message } from \"antd\";\nimport { IndividualBvnValidationParams } from \"./types\";\nimport { sendResponseToClient } from \"../../../helpers\";\nimport { WIDGET_RESPONSE_STATUSES } from \"../utils\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { scrollToTop } from \"../../../helpers/appHelpers\";\nimport { MixPanel } from \"../../../helpers/mixpanel\";\n\nconst StepOneComponent = () => {\n const [otpError, setOtpError] = useState(\"\");\n const widgetState = useSelector(\n (store: ReduxStoreModel) => store.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const { worldCountries, bankList, edit_widget, bank_details_input_enabled } =\n widgetState;\n const { customer_type } = borrowerDetails;\n const [loaders, setLoaders] = useState({\n loading: false,\n bvnLoading: false,\n otpLoading: false,\n });\n\n const ipRef = useRef(null);\n\n const [error, setError] = useState(\"\");\n const [data, setData] = useState();\n const [borrowerType, setBorrowerType] = useState(\n borrowerDetails?.customer_type,\n );\n const { allow_sms_notification, allow_bank_details } = widgetState;\n const [state, setState] = useState({\n bvnValid: false,\n bvnIconClass: \"fas fa-plus\",\n otpIconClass: \"fas fa-plus\",\n bvn_phone: \"\",\n otp: \"\",\n timerExpired: false,\n businessRegNumberValidated: false,\n bvnValidated: false,\n emailValidated: false,\n bvnIconStatus: \"editing\",\n otpIconStatus: \"editing\",\n loan_application_referenceno: \"\",\n state_token: \"\",\n showRegistrationSuccess: false,\n bank_account_name: \"\",\n notify: \"\",\n });\n\n useEffect(() => {\n console.log({\n borrowerType,\n });\n }, [borrowerType]);\n\n useEffect(() => {\n setData(borrowerDetails);\n }, [borrowerDetails]);\n\n // const [countryCodeIsEditTrue, setCountryCodeIsEditTrue] = useState<\n // string | null\n // >(null);\n\n // Validate and generate account name base on bank code and account number\n const validateAccount = async () => {\n if (data) {\n setLoaders({ ...loaders, loading: true });\n setState({ ...state, bank_account_name: \"\" });\n\n try {\n const { bank_account_number, bank_code, country_code } = data;\n if (bank_account_number.length >= 10) {\n const response = await postData(apiEndpoints.validateBankAccount, {\n bank_code: bank_code,\n bank_account_num: bank_account_number,\n country_code: country_code,\n });\n setState({ ...state, bank_account_name: response.bank_account_name });\n }\n } catch (error) {\n message.error(errorHandler(error));\n setError(errorHandler(error));\n } finally {\n setLoaders({ ...loaders, loading: false });\n }\n }\n };\n\n useEffect(() => {\n if (data) {\n const { bank_account_number, bank_code, country_code } = data;\n if (bank_account_number.length >= 10 && bank_code && country_code) {\n validateAccount();\n }\n }\n //eslint-disable-next-line\n }, [data?.bank_account_number, data?.bank_code]);\n\n const onClickNavCard = (borrowerType: \"1\" | \"2\" | \"\") => {\n setState({\n ...state,\n bvnValidated: false,\n businessRegNumberValidated: false,\n emailValidated: false,\n });\n setBorrowerType(borrowerType);\n };\n\n const handleChange = (name: string, value: string) => {\n if (data) {\n setData({ ...data, [name]: value });\n switch (name) {\n case \"company_name\":\n case \"cac_number\":\n setState({ ...state, businessRegNumberValidated: false });\n break;\n case \"email\":\n setState({ ...state, emailValidated: false });\n break;\n case \"bvn\":\n setState({ ...state, bvnValidated: false });\n break;\n }\n }\n };\n // const handleCountryCodeIsEditTrue = (countryCode: string) => {\n // if (countryCode) {\n // setCountryCodeIsEditTrue(countryCode);\n // }\n // };\n\n const handleCacValidation = async (e: React.FormEvent) => {\n e.preventDefault();\n e.persist();\n handleBvnValidation();\n };\n\n const validateFields = (\n email: string,\n identity_number: string,\n country_code: string,\n ) => {\n let isValid = false;\n // validate fields\n if (borrowerType === \"\" || borrowerType === null) {\n setLoaders({ ...loaders, bvnLoading: true });\n setError(`Please choose Borrower Type`);\n return;\n }\n if (email === \"\") {\n setLoaders({ ...loaders, bvnLoading: true });\n setError(`Please enter your email address`);\n return;\n }\n\n if (identity_number === \"\") {\n setLoaders({ ...loaders, bvnLoading: true });\n setError(`Please enter Identity number`);\n return;\n }\n\n if (country_code === \"\") {\n setLoaders({ ...loaders, bvnLoading: true });\n setError(`\"Please enter a Country Code\"`);\n return;\n }\n isValid = true;\n return isValid;\n };\n\n const handleIndividualBvnValidation = async (\n data: IndividualBvnValidationParams,\n ) => {\n try {\n setError(\"\");\n setLoaders({ ...loaders, bvnLoading: true, otpLoading: true });\n const res = await postData(\"/account/direct_borrower_signup/\", data);\n setState({\n ...state,\n bvnValidated: true,\n state_token: res?.state_token,\n });\n // setBorrower({\n // ...res,\n // bvn_number: data?.bvn_number,\n // borrower_type: borrowerType,\n // email: data?.email,\n // borrower_phone: data?.borrower_phone,\n // country_code: data?.country_code,\n // });\n } catch (error) {\n scrollToTop();\n setError(errorHandler(error));\n } finally {\n setLoaders({ ...loaders, bvnLoading: false });\n }\n };\n\n const handleCooperateBvnValidation = async (dataParams: {\n aggregator_id: number;\n bank_code: string;\n gender: string;\n create_wallet: boolean;\n city: string;\n customer_phone: string;\n last_name: string;\n state_token: string;\n is_widget: boolean;\n residence_address: string;\n customer_category: string;\n bank_account_num: string;\n business_registration_number: string;\n bank_account_name: string;\n country_code: string;\n board_step: string;\n borrowerType: \"2\";\n company_name: string;\n state: string;\n photo_url: string;\n first_name: string;\n email: string;\n }) => {\n if (data) {\n try {\n setError(\"\");\n setLoaders({ ...loaders, bvnLoading: true, otpLoading: true });\n const res = await postData(\n \"/account/direct_onboard_corporate_borrower/\",\n dataParams,\n );\n\n const reqBody = {\n borrower_type: borrowerType,\n bvn_number: data?.identity_number,\n aggregator_id: dataParams.aggregator_id,\n email: dataParams.email,\n board_step: \"second_step\",\n state_token: res.state_token,\n business_registration_number: dataParams.business_registration_number,\n company_name: dataParams.company_name,\n bank_account_name: state.bank_account_name,\n bank_account_num: data?.bank_account_number,\n bank_code: dataParams.bank_code,\n borrower_phone: dataParams.customer_phone,\n city: dataParams.city,\n first_name: dataParams.first_name,\n gender: dataParams.gender,\n last_name: dataParams.last_name,\n residence_address: dataParams.residence_address,\n state: dataParams.state,\n photo_url: \"\",\n is_widget: dataParams.is_widget,\n customer_category: dataParams.customer_category,\n create_wallet: data?.country_code?.toLowerCase() === \"ng\",\n // country_code\n };\n\n const response = await postData(\n \"/account/direct_onboard_corporate_borrower/\",\n reqBody,\n );\n\n setState({\n ...state,\n state_token: `${response.state_token}`,\n bvnValidated: true,\n bvnValid: true,\n businessRegNumberValidated: true,\n notify: `${res.message}`,\n bvn_phone: `${res.phone}`,\n });\n // setBorrower({\n // ...response,\n // bvn_number: data?.identity_number,\n // email: dataParams.email,\n // borrower_type: borrowerType,\n // });\n } catch (error) {\n scrollToTop();\n setError(errorHandler(error));\n } finally {\n setLoaders({ ...loaders, bvnLoading: false });\n }\n }\n };\n\n const handleBvnValidation = async () => {\n if (data) {\n const {\n email,\n company_name,\n business_registration_number,\n identity_number,\n borrower_phone,\n city,\n bank_code,\n aggregator_id,\n last_name,\n bank_account_number,\n first_name,\n gender,\n residence_address,\n customer_category,\n country_code,\n } = data;\n // validate fields\n if (company_name === \"\") {\n setLoaders({ ...loaders, loading: false });\n setError(\"Please enter your Business Name\");\n return;\n }\n if (business_registration_number === \"\") {\n setLoaders({ ...loaders, loading: false });\n setError(\"Please enter your Business Registration number\");\n return;\n }\n setState({\n ...state,\n otp: \"\",\n });\n if (\n !validateFields(\n email,\n identity_number ? identity_number : \"\",\n data?.country_code,\n )\n )\n return;\n // Individual borrowers who can't edit\n if (borrowerType === \"1\") {\n let data = {\n borrower_type: borrowerType,\n bvn_number: identity_number,\n aggregator_id,\n email,\n borrower_phone,\n board_step: \"first_step\",\n country_code,\n };\n await handleIndividualBvnValidation(data);\n } // Step 1 Corporate borrowers who can't edit\n else if (borrowerType === \"2\") {\n const requestBody = {\n company_name,\n business_registration_number,\n board_step: \"first_step\",\n aggregator_id: aggregator_id,\n bank_account_name: state.bank_account_name,\n bank_account_num: bank_account_number,\n bank_code,\n borrowerType,\n email,\n customer_phone: borrower_phone,\n city,\n first_name,\n gender,\n last_name,\n residence_address,\n state: data?.state,\n photo_url: \"\",\n state_token: state.state_token,\n is_widget: true,\n customer_category,\n create_wallet: country_code?.toLowerCase() === \"ng\",\n country_code,\n };\n //@ts-ignore\n await handleCooperateBvnValidation(requestBody);\n }\n }\n };\n\n useEffect(() => {\n fetch(\"https://api.ipify.org?format=json\")\n .then((response) => response.json())\n .then((data) => (ipRef.current = data.ip));\n\n MixPanel.track(`Page View: SignUp.tsx`, {\n page: \"SignUp.tsx - (Widget Onboarding)\",\n });\n }, []);\n\n const handleRegistration = async () => {\n if (data) {\n let {\n borrower_phone,\n city,\n bank_code,\n aggregator_id,\n last_name,\n bank_account_number,\n first_name,\n gender,\n residence_address,\n customer_type,\n country_code,\n email,\n } = data;\n\n if (!borrower_phone?.startsWith(\"0\")) {\n borrower_phone = \"0\" + borrower_phone;\n }\n\n const nextStepData = {\n aggregator_id,\n bank_account_name: state.bank_account_name,\n bank_account_num: bank_account_number,\n bank_code,\n board_step: borrowerType === \"1\" ? \"second_step\" : \"third_step\",\n borrower_type: borrowerType,\n email,\n borrower_phone: borrower_phone,\n city,\n first_name,\n gender,\n last_name,\n residence_address,\n state: data?.state,\n photo_url: \"\",\n state_token: state.state_token,\n is_widget: true,\n customer_category: customer_type,\n create_wallet: country_code?.toLowerCase() === \"ng\",\n country_code,\n // :\n // edit_widget && countryCodeIsEditTrue\n // ? countryCodeIsEditTrue\n // : country_code,\n company_name: data?.company_name,\n };\n\n try {\n const urlToCall =\n borrowerType === \"1\"\n ? \"/account/direct_borrower_signup/\"\n : borrowerType === \"2\"\n ? \"/account/direct_onboard_corporate_borrower/\"\n : \"\";\n\n const response = await postData(urlToCall, nextStepData);\n setState({ ...state, showRegistrationSuccess: true });\n sendResponseToClient({\n status: WIDGET_RESPONSE_STATUSES.success,\n data: { message: response },\n });\n\n MixPanel.track(\"Sign Up\", {\n \"date created\": new Date().toLocaleString(),\n ip: `${ipRef?.current}`,\n distinct_id: `${email}`,\n aggregator_id: `${aggregator_id}`,\n product: \"embed widget\",\n });\n\n MixPanel.identify(`${email}`);\n\n MixPanel.people.set({\n $name: `${first_name} ${last_name}`,\n $email: `${email}`,\n phone: `${borrower_phone}`,\n \"aggregator id\": `${aggregator_id}`,\n product: \"embed widget\",\n \"customer type\": `${borrowerType}`,\n \"date created\": new Date().toLocaleString(),\n });\n // setCountryCodeIsEditTrue(null);\n } catch (error) {\n setError(errorHandler(error));\n // setCountryCodeIsEditTrue(null);\n\n message.error(errorHandler(error));\n } finally {\n setLoaders({ ...loaders, bvnLoading: false, otpLoading: false });\n }\n }\n };\n const RegistrationCompleted = () => {\n window.location.reload();\n };\n\n const onOtpInput = (value: any) => {\n setError(\"\");\n setState({ ...state, otp: value?.toString() });\n };\n\n const handleOtpValidation = async () => {\n const { otp, state_token } = state;\n setError(\"\");\n setLoaders({ ...loaders, otpLoading: true });\n setState({ ...state, timerExpired: true });\n\n // data to be sent to endpoint\n const data = {\n otp: otp,\n state_token: state_token,\n };\n try {\n await postData(\"/account/validate_otp/\", data);\n await handleRegistration();\n } catch (error) {\n setOtpError(errorHandler(error));\n } finally {\n setLoaders({ ...loaders, bvnLoading: false, otpLoading: false });\n }\n };\n\n const { bvnValidated, otp, showRegistrationSuccess } = state;\n\n const { bvnLoading, otpLoading, loading } = loaders;\n\n if (showRegistrationSuccess) {\n return (\n <>\n
\n \n
\n\n

Verification Successful!

\n

\n Your verification was successful. Your registration is complete.\n

\n
\n
\n
\n \n Done\n \n
\n \n );\n }\n\n return (\n
\n {error ?

{error}

: null}\n\n {!borrowerType ? (\n <>\n \n }\n title=\"Individual\"\n subtitle=\"Get a loan offer as an individual\"\n onClick={() => onClickNavCard(\"1\")}\n // disabled={!edit_widget}\n />\n }\n title=\"Corporate\"\n subtitle=\"Get a loan offer as a company\"\n onClick={() => onClickNavCard(\"2\")}\n // disabled={!edit_widget}\n />\n \n ) : (\n <>\n
\n {/* 2 is corporate, 1 is for individual */}\n {borrowerType === \"2\" ? (\n onClickNavCard(\"\")}\n showBackBtn={!customer_type}\n otpError={otpError}\n setOtpError={setOtpError}\n\n // handleCountryCodeIsEditTrue={handleCountryCodeIsEditTrue}\n />\n ) : borrowerType === \"1\" ? (\n onClickNavCard(\"\")}\n handleChange={handleChange}\n showBackBtn={!customer_type}\n otpError={otpError}\n setOtpError={setOtpError}\n\n // handleCountryCodeIsEditTrue={handleCountryCodeIsEditTrue}\n />\n ) : null}\n \n \n )}\n
\n );\n};\n\nexport default StepOneComponent;\n","export default __webpack_public_path__ + \"static/media/show-transaction-eye.543e2abd.svg\";","export default __webpack_public_path__ + \"static/media/hide-transaction-eye.bca9311e.svg\";","export const formatCurrency = (number: number) => {\n return Number(number)\n .toFixed(2)\n .replace(/\\d(?=(\\d{3})+\\.)/g, \"$&,\");\n};\n\nexport const formatMoney = (amount: number, currency: string) => {\n if (!amount) return `${currency} 0.00`;\n return currency + \" \" + amount.toLocaleString();\n};\n","export default __webpack_public_path__ + \"static/media/coin-fill.2b0a81d5.svg\";","export default __webpack_public_path__ + \"static/media/send-plane-fill.2b7e971f.svg\";","export default __webpack_public_path__ + \"static/media/loans.f8a50e12.svg\";","export default __webpack_public_path__ + \"static/media/user.5a73c575.svg\";","export default __webpack_public_path__ + \"static/media/receipt-2.5cbb9278.svg\";","import React, { ReactElement } from \"react\";\n\ninterface LoaderProps {\n light?: boolean;\n message?: string | boolean | undefined\n}\n\nexport default function Loader({ light = false, message }: LoaderProps): ReactElement {\n return (\n
\n \n {message &&

{message}

}\n
\n );\n}\n","var _path, _path2, _path3;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgCloseIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.16937 15.5794C8.97937 15.5794 8.78938 15.5094 8.63938 15.3594C8.34938 15.0694 8.34938 14.5894 8.63938 14.2994L14.2994 8.63938C14.5894 8.34938 15.0694 8.34938 15.3594 8.63938C15.6494 8.92937 15.6494 9.40937 15.3594 9.69937L9.69937 15.3594C9.55937 15.5094 9.35937 15.5794 9.16937 15.5794Z\",\n fill: \"#8B8699\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.8294 15.5794C14.6394 15.5794 14.4494 15.5094 14.2994 15.3594L8.63938 9.69937C8.34938 9.40937 8.34938 8.92937 8.63938 8.63938C8.92937 8.34938 9.40937 8.34938 9.69937 8.63938L15.3594 14.2994C15.6494 14.5894 15.6494 15.0694 15.3594 15.3594C15.2094 15.5094 15.0194 15.5794 14.8294 15.5794Z\",\n fill: \"#8B8699\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15 22.75H9C3.57 22.75 1.25 20.43 1.25 15V9C1.25 3.57 3.57 1.25 9 1.25H15C20.43 1.25 22.75 3.57 22.75 9V15C22.75 20.43 20.43 22.75 15 22.75ZM9 2.75C4.39 2.75 2.75 4.39 2.75 9V15C2.75 19.61 4.39 21.25 9 21.25H15C19.61 21.25 21.25 19.61 21.25 15V9C21.25 4.39 19.61 2.75 15 2.75H9Z\",\n fill: \"#8B8699\"\n })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCloseIcon);\nexport default __webpack_public_path__ + \"static/media/close-icon.6a969c4b.svg\";\nexport { ForwardRef as ReactComponent };","import React, { useEffect, useState } from \"react\";\n\ntype Props = {\n children?: React.ReactNode;\n handleCopy?: () => void;\n className?: string;\n};\n\nconst AppCard = ({ children, handleCopy, className }: Props) => {\n const [background] = useState<{\n primaryColor: string;\n primaryDeepColor: string;\n primaryLightColor: string;\n }>({\n primaryColor: \"\",\n primaryLightColor: \"\",\n primaryDeepColor: \"\",\n });\n\n useEffect(() => {\n document.body.style.setProperty(\n \"--primary-deep-color\",\n background.primaryDeepColor || \"#29067d\",\n );\n document.body.style.setProperty(\n \"--primary-color\",\n background.primaryColor || \"#713fff\",\n );\n document.body.style.setProperty(\n \"--primary-light-color\",\n background.primaryLightColor || \"#E3D9FF\",\n );\n }, [background]);\n\n return (\n \n {children}\n \n );\n};\n\nexport default AppCard;\n","import React, { useState } from \"react\";\nimport { ReactComponent as CloseIcon } from \"../../../../../svg/close-icon.svg\";\nimport AppCard from \"../../components/AppCard\";\n// import { RiFileCopyFill } from \"react-icons/all\";\nimport copy from \"copy-text-to-clipboard\";\nimport { useQueryCache } from \"react-query\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\n\ninterface IcompleteVirtualAccountModal {\n WalletConsentDetails?: {\n status: boolean;\n url: string;\n };\n}\n\nconst CompleteVirtualAccountModal = ({\n WalletConsentDetails,\n}: IcompleteVirtualAccountModal) => {\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer\n );\n const { customer_id, aggregator_id, bvn_number } = borrowerDetails;\n // const [successCopyMessage, setSuccessCopyMessage] = useState(\"\");\n const [iframeKey, setIframeKey] = useState(0);\n const queryCache = useQueryCache();\n const closeVirtualModal = () => {\n setIframeKey(iframeKey + 1);\n if (customer_id && aggregator_id) {\n queryCache.invalidateQueries([\n { customer_id, aggregator_id },\n \"getFetchWalletDetails\",\n ]);\n }\n };\n\n const handleCopy = () => {\n const content = document?.getElementById(\n \"BvnNumberforConsent\"\n )?.textContent;\n if (content) {\n copy(content);\n // setSuccessCopyMessage(\"BVN copied\");\n // setTimeout(() => {\n // setSuccessCopyMessage(\"\");\n // }, 3000);\n }\n };\n\n return (\n \n \n \n
\n
\n Customer Verification\n
\n \n \n \n
\n {/*
*/}\n <>\n {/* {successCopyMessage && (\n
\n

{successCopyMessage}

\n
\n )} */}\n \n

BVN

\n
\n \n {bvn_number}\n

\n {/*
\n \n
*/}\n
\n \n \n\n \n\n \n \n Close\n \n
\n {/* */}\n {/*
\n \n Close\n \n
*/}\n \n \n \n );\n};\n\nexport default CompleteVirtualAccountModal;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getDataWithKey } from \"../apis/apiMethods\";\ntype IfetchWalletDetails = {\n borrowerId: any;\n aggregatorId: any;\n};\nconst getFetchWalletDetails = async ({\n borrowerId,\n aggregatorId,\n}: IfetchWalletDetails) => {\n const data = await getDataWithKey(\n `${apiEndpoints.getWallet}?borrower_id=${borrowerId}&aggregator_id=${aggregatorId}`,\n );\n return data.data;\n};\nexport default function useFetchWalletDetails({\n borrowerId,\n aggregatorId,\n}: IfetchWalletDetails) {\n return useQuery(\n [{ borrowerId, aggregatorId }, \"getFetchWalletDetails\"],\n getFetchWalletDetails,\n {\n enabled: borrowerId && aggregatorId ? true : false,\n },\n );\n}\n","export default __webpack_public_path__ + \"static/media/fail.7bed3bab.svg\";","import success from \"../../../assets/success.svg\";\nimport fail from \"../../../assets/fail.svg\";\nimport React, { SetStateAction, Dispatch } from \"react\";\nimport { ISuccess } from \"../../../interfaces/success\";\n\nexport type SuccessFailureProp = {\n title: string;\n body: string;\n handler: () => void;\n btnText: \"Done\" | \"Try Again\" | \"Ok\" | \"Proceed\";\n type: \"success\" | \"failure\";\n setSuccess?: Dispatch>\n};\n\nexport const SuccessComponent = ({\n handler,\n body,\n title,\n btnText,\n type,\n setSuccess\n}: SuccessFailureProp) => {\n const handleAction = () => {\n if(setSuccess) {\n setSuccess((prev) => ({...prev, headerText: \"\", bodyText: \"\"}))\n }\n handler()\n }\n return (\n <>\n
\n \n
\n\n

{title}

\n

{body}

\n
\n
\n
\n \n
\n \n );\n};\n","export default __webpack_public_path__ + \"static/media/info-circle-orange.2b303758.svg\";","import styles from \"./NewOfferPopUp.module.scss\";\nimport infoCircle from \"../../assets/info-circle-orange.svg\";\nimport React from \"react\";\n\ninterface NewOfferPopUpProps {\n viewNewLoanOfferHandler?: () => void;\n newLoanOfferRouteHandler?: () => void;\n}\n\nfunction NewOfferPopUp({\n viewNewLoanOfferHandler,\n newLoanOfferRouteHandler,\n}: NewOfferPopUpProps) {\n function handleNewLoanOfferView() {\n if (newLoanOfferRouteHandler) {\n newLoanOfferRouteHandler();\n } else if (viewNewLoanOfferHandler) {\n viewNewLoanOfferHandler();\n }\n }\n\n return (\n
\n
\n \"\"\n New loan offer\n \n
\n
\n );\n}\n\nexport default NewOfferPopUp;\n","import { getData, getDataWithKey } from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { useQuery } from \"react-query\";\n\nasync function fetchPendingLoanOffer({ customer_id }: { customer_id: number }) {\n const response = await getData(\n `${apiEndpoints.fetchPendingLoanOffer}?customer_id=${customer_id}`,\n );\n return response.data;\n}\n\nasync function fetchPendingWidgetLoanOffer({\n customer_id,\n aggregator_id,\n}: {\n customer_id: number;\n aggregator_id: number;\n}) {\n const response = await getDataWithKey(\n `${apiEndpoints.fetchPendingLoanOfferWidget}?customer_id=${customer_id}&aggregator_id=${aggregator_id}`,\n );\n\n return response.data;\n}\n\nexport function useFetchPendingLoanOffer({\n customer_id,\n}: {\n customer_id: number;\n}) {\n return useQuery(\n [{ customer_id }, \"fetchPendingLoanOffer\"],\n fetchPendingLoanOffer,\n {\n enabled: customer_id ? true : false,\n },\n );\n}\n\nexport function useFetchPendingWidgetLoanOffer({\n customer_id,\n aggregator_id,\n}: {\n customer_id: number;\n aggregator_id: number;\n}) {\n return useQuery(\n [{ customer_id, aggregator_id }, \"fetchPendingWidgetLoanOffer\"],\n fetchPendingWidgetLoanOffer,\n {\n enabled: customer_id && aggregator_id ? true : false,\n },\n );\n}\n","export default __webpack_public_path__ + \"static/media/red-dot.88ccad5c.svg\";","import React, { useEffect, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport styles from \"./Dashboard.module.scss\";\nimport showWalletBalanceIcon from \"../../../../assets/show-transaction-eye.svg\";\nimport hideWalletBalanceIcon from \"../../../../assets/hide-transaction-eye.svg\";\nimport {\n formatCurrency,\n formatMoney,\n} from \"../../../../helpers/formatCurrency\";\nimport { AiOutlineLock } from \"react-icons/ai\";\nimport { RiFileCopyFill } from \"react-icons/ri\";\nimport topup from \"../../../../assets/dashboard/coin-fill.svg\";\nimport withdraw from \"../../../../assets/dashboard/send-plane-fill.svg\";\nimport loans from \"../../../../assets/dashboard/loans.svg\";\nimport profile from \"../../../../assets/dashboard/user.svg\";\nimport repay from \"../../../../assets/web/dashboard/receipt-2.svg\";\nimport contact from \"../../../../assets/dashboard/headphone.png\";\nimport Loader from \"../../../Loader/Loader\";\nimport { ROUTES } from \"../../../../helpers/ROUTES\";\nimport { getDataWithKey } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../../helpers/errorHandler\";\nimport copy from \"copy-text-to-clipboard\";\nimport AppCard from \"../components/AppCard\";\nimport { appInsights } from \"../../../AppInsight/AppInsight\";\nimport moment from \"moment\";\nimport { Alert, Button } from \"antd\";\nimport CompleteVirtualAccountModal from \"./components/CompleteVirtualAccountModal\";\nimport useFetchWalletDetails from \"../../../../custom-hooks/useFetchWallet\";\nimport useWidgetAggregatorSettings from \"../../../../custom-hooks/useWidgetAggregatorSettings\";\nimport { SuccessComponent } from \"../SuccessComponent\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport NewOfferPopUp from \"../../../../web-widget-reuseable-components/newOfferPopUp/NewOfferPopUp\";\nimport { useFetchPendingWidgetLoanOffer } from \"../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport redDot from \"../../../../assets/red-dot.svg\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nexport type UserProp = {\n deviceType: \"mobile\" | \"browser\" | string;\n handleWithdrawal?: () => void;\n handlePin?: () => void;\n};\nconst DashboardComponent = ({\n deviceType,\n handleWithdrawal,\n handlePin,\n}: UserProp) => {\n let location = useLocation();\n const history = useHistory();\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n\n const [isLoading, setIsLoading] = useState(false);\n const [lastLoan, setLastLoan] = useState({\n loan_status: \"\",\n modified_date: \"\",\n loan_amount: 0,\n });\n\n const [WalletConsentIsLoading, setWalletConsentIsLoading] = useState(false);\n const [WalletConsentDetails, setWalletConsentDetails] = useState();\n const [loanCurrency, setLoanCurrency] = useState(\"\");\n const [cardAddition, setCardAddition] = useState(\"\");\n const [showWalletBalance, setShowWalletBalance] = useState(false);\n const [error, setError] = useState(\"\");\n const [copiedSuccessMessage, setCopiedSuccessMessage] = useState(\"\");\n const {\n data: fetchWalletDetailsdata,\n isLoading: isLoadingFetchWalletDetails,\n refetch: refetchFetchWalletdetails,\n } = useFetchWalletDetails({\n borrowerId: borrowerDetails?.customer_id,\n aggregatorId: borrowerDetails?.aggregator_id,\n });\n\n // async function fetchLoanHistory() {\n // setError(\"\");\n // setIsLoading(true);\n // try {\n // const response = await getDataWithKey(\n // `${apiEndpoints.getBorrowerLoansInWidget}/${borrowerDetails?.customer_id}?aggregator_id=${borrowerDetails?.aggregator_id}&page=1&pageSize=5`\n // );\n // console.log(\"checking borro key\", response);\n // if (response.data.length > 0) {\n // setLoanCurrency(response.data[0]?.currency);\n // setLastLoan(response.data[0]);\n // }\n // } catch (error: any) {\n // setError(errorHandler(error));\n // appInsights.trackException({\n // exception: error,\n // properties: { fileName: \"Dashboard.component.tsx\" },\n // });\n // }\n // setIsLoading(false);\n // }\n\n function newLoanOfferRouteHandler() {\n history.push(ROUTES.widgetNewLoanOffer);\n }\n\n const {\n data: WidgetAggregatorSettingsData,\n isLoading: isLoadingWidgetSetting,\n } = useWidgetAggregatorSettings({\n countryCode: borrowerDetails?.country_code,\n aggregatorId: borrowerDetails?.aggregator_id,\n });\n\n const { data: pendingLoanOffer } = useFetchPendingWidgetLoanOffer({\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n });\n\n // useEffect(() => {\n // fetchLoanHistory();\n // //eslint-disable-next-line\n // }, []);\n function handleShowWalletBalance() {\n setShowWalletBalance((prev) => !prev);\n }\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Dashboard.component.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Dashboard.tsx`, {\n page: \"Dashboard.tsx - (Widget)\",\n });\n\n MixPanel.identify(`${borrowerDetails?.email}`);\n MixPanel.people.set({\n $name: `${borrowerDetails?.first_name} ${borrowerDetails?.last_name}`,\n $email: `${borrowerDetails?.email}`,\n phone: `${borrowerDetails?.borrower_phone}`,\n \"aggregator id\": `${borrowerDetails?.aggregator_id}`,\n product: \"embed widget\",\n \"customer type\": `${borrowerDetails?.customer_type}`,\n \"date created\": new Date().toLocaleString(),\n });\n }, []);\n\n async function fetchWalletConsent() {\n setError(\"\");\n setWalletConsentIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getWalletConsent}?borrower_id=${borrowerDetails?.customer_id}&aggregator_id=${borrowerDetails?.aggregator_id}`,\n );\n if (response.data) {\n setWalletConsentDetails(response.data);\n }\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: DashboardComponent },\n });\n }\n setWalletConsentIsLoading(false);\n }\n\n useEffect(() => {\n if (\n WidgetAggregatorSettingsData &&\n WidgetAggregatorSettingsData?.length > 0\n ) {\n if (\n widgetSettings?.allow_view_balance &&\n fetchWalletDetailsdata?.isTransactionPinSet === false\n ) {\n history.push(ROUTES.widgetPinOnboarding);\n }\n }\n //eslint-disable-next-line\n }, [\n isLoadingWidgetSetting,\n WidgetAggregatorSettingsData,\n isLoadingFetchWalletDetails,\n ]);\n\n useEffect(() => {\n if (borrowerDetails?.customer_id && borrowerDetails?.aggregator_id) {\n refetchFetchWalletdetails();\n fetchWalletConsent();\n }\n if (localStorage.getItem(\"card\")) {\n setCardAddition(localStorage.getItem(\"card\") || \"\");\n localStorage.removeItem(\"card\");\n }\n\n //eslint-disable-next-line\n }, [borrowerDetails?.customer_id, borrowerDetails?.aggregator_id]);\n\n const handleCopy = () => {\n const content = document?.getElementById(\"accountNumber\")?.textContent;\n if (content) {\n copy(content);\n }\n };\n\n if (cardAddition === \"added\") {\n return (\n history.push(ROUTES.widgetCard)}\n type=\"success\"\n />\n );\n }\n\n if (cardAddition === \"failed\") {\n return (\n history.push(ROUTES.widgetCard)}\n type=\"failure\"\n />\n );\n }\n\n return (\n
\n {error && (\n
\n setError!(\"\")}\n />\n
\n )}\n\n {fetchWalletDetailsdata?.accountStatus === \"InActive\" && (\n
\n {WalletConsentIsLoading ? (\n

Loading...

\n ) : (\n
\n

\n {\" \"}\n \n Complete your virtual account setup\n

\n
\n \n Proceed \n \n
\n
\n )}\n
\n )}\n\n
\n
\n Hello{\" \"}\n \n {borrowerDetails?.customer_type === \"2\"\n ? borrowerDetails?.company_name\n : borrowerDetails?.first_name}\n 👋🏼\n \n
\n
\n
\n {/*NGN*/}\n \n \n \n
\n {!borrowerDetails?.isApi && (\n
\n \n \n \n
\n )}\n
\n
\n {!borrowerDetails?.isApi && (\n 0 ? \"8px\" : 0}`,\n }}\n >\n

Customer category

\n\n

{borrowerDetails?.customer_category}

\n
\n )}\n {copiedSuccessMessage && (\n \n setCopiedSuccessMessage(\"\")}\n />\n \n )}\n {pendingLoanOffer?.length > 0 && (\n \n )}\n {borrowerDetails?.currency === \"NGN\" &&\n widgetSettings?.use_wallet &&\n widgetSettings?.allow_view_balance ? (\n <>\n
\n
\n
\n {isLoading || isLoadingFetchWalletDetails ? (\n \n ) : (\n
\n
\n

Wallet Balance

\n {showWalletBalance ? (\n \n ) : (\n \n )}\n
\n\n {showWalletBalance ? (\n
\n

\n ****\n

\n
\n ) : (\n
\n

\n \n {formatCurrency(\n fetchWalletDetailsdata?.availableBalance || 0,\n )}\n

\n
\n )}\n
\n )}\n
\n
\n \n ) : null}\n
\n {borrowerDetails?.currency === \"NGN\" &&\n widgetSettings?.use_wallet &&\n fetchWalletDetailsdata?.accountNumber ? (\n <>\n

Your account number

\n {\n handleCopy();\n setCopiedSuccessMessage(\"copied\");\n setTimeout(() => {\n setCopiedSuccessMessage(\"\");\n }, 3000);\n }}\n >\n
\n \n {fetchWalletDetailsdata?.accountNumber}\n

\n
\n \n
\n
\n

\n {fetchWalletDetailsdata?.accountName}\n

\n

\n {fetchWalletDetailsdata?.bankName}\n

\n \n \n ) : null}\n {borrowerDetails?.currency === \"KSH\" ? (\n null}\n >\n {isLoading ? (\n \n ) : (\n
\n
\n

Last Requested Loan

\n \n {formatMoney(lastLoan.loan_amount, loanCurrency)}\n

\n {lastLoan.modified_date && (\n

{moment(lastLoan.modified_date).format(\"LLL\")}

\n )}\n\n

\n {lastLoan.loan_status}\n

\n
\n\n
\n history.push(ROUTES.widgetLoanHistory)}\n disabled={\n !lastLoan.loan_status || lastLoan.loan_status !== \"active\"\n }\n >\n Repay Loan\n \n
\n
\n )}\n \n ) : null}\n
\n
\n

window.alert(deviceType)}>\n Quick Actions\n

\n {borrowerDetails?.currency === \"NGN\" &&\n widgetSettings?.use_wallet &&\n !borrowerDetails?.isApi && (\n history.push(ROUTES.widgetTransactions)}\n >\n View Transactions\n \n )}\n
\n
\n {borrowerDetails?.isApi && (\n \n
\n
\n \n \n
\n Transaction Pin\n
\n
\n \n )}\n {borrowerDetails?.currency === \"NGN\" &&\n widgetSettings?.use_wallet &&\n !borrowerDetails?.isApi && (\n history.push(ROUTES.widgetTopUp)}\n >\n
\n
\n
\n \"\"\n
\n Top-up\n
\n
\n \n )}\n\n {borrowerDetails?.currency === \"NGN\" &&\n widgetSettings?.use_wallet &&\n widgetSettings?.allow_withdrawal ? (\n \n borrowerDetails?.isApi && handleWithdrawal\n ? handleWithdrawal()\n : history.push(ROUTES.widgetWithdrawal)\n }\n >\n
\n
\n
\n \"\"\n
\n Withdraw\n
\n
\n \n ) : (\n \"\"\n )}\n\n {!borrowerDetails?.isApi && (\n <>\n history.push(ROUTES.widgetLoan)}\n // onClick={() => {\n // if (!bank_statement_connected) {\n // if (bank_statement_provider?.toLowerCase() === \"okra\") {\n // handleLaunchOkraWidget();\n // } else {\n // monoConnect.open();\n // }\n // } else {\n // history.push(ROUTES.widgetLoan);\n // }\n // }}\n >\n \n
\n
\n \"\"\n
\n Loans\n
\n {pendingLoanOffer?.length > 0 && (\n \"\"\n )}\n \n \n\n history.push(ROUTES.widgetQuickLoanRepayment)}\n >\n
\n
\n
\n \"\"\n
\n Repay Loan\n
\n
\n \n\n history.push(ROUTES.widgetProfile)}\n >\n
\n
\n
\n \"\"\n
\n Profile\n
\n
\n \n \n )}\n\n history.push(ROUTES.widgetContactUs)}\n >\n
\n
\n
\n \"\"\n
\n Contact Us\n
\n
\n \n \n \n \n );\n};\n\nexport default DashboardComponent;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAQDSURBVHgB7ZuNdZswEMf/zusA3iBsUG9QNog7Qdmg6QQmEySdwO4EaSZwOkHaCSATxBtcpUp+IecTkrBMoOb33j0/GYF0h+70CTAxcdbM0BNENFc/mZKFkrmVJjsltZbZbPYbPXEyA1iFtbJXSpYwysfwqOSX/lUGecRYUIrnSm6VvFA6KiUrJRmGilV8S6dnndIQR7uArcxaSR6QvVai/fsZxuebXOJtjPBRKvmu3GOH90Ip/5Xam7q+dkemdYQotX9upqRQcu9pDZV+NvpGK+Op3DZVxWxZhVXWxQp9Yd9OdWrFHWW3GWKNU9OivG7q1+gB2yJKhxGeKMLVYgt2Ka8LzdAzZOJK1YsRWpTf4B1pqVdadyC5fy8xAKxLPAn1SxMYyYzAOHcYENYIlVDPHMdgmxjnCQPE4Q463T0eCE1LPzDDQCETGDm36AKZPpdTYOCQ3EUuEAsdNqfTDzQSQHI82MY+ZClYMcNIcLhCeCugw3H+KN5+EzrsusN6LpIjf7wPvTNCK9DDdX+PQIfBb5DdXgh0OFXPeZ4L4b4rlv6B8cLrvvTeIVhtdM1/j+AGle+GBfcbjBgyXSLnTRzgLpCxdG/r86fArhdyHfJmwmeAPxg/XIesmfAZoMb4qVm61QWk7aqxU7P0ZTNxgTNnMgDOnA9IgO1b96Osf12P6oJqJMI+v1DyESZQ6zIeYHaOa6RCFbRhg4bCk18PnLYks6YEU2jyb7+tPPfzuc26LXOwAdS1L+TfAtfXc3SE5AVZiTU6GqBTDCDzZjfw7+Lq6/fUoSVY45eB2bWSnXamugZByeKPMEap2f9zR34fvGlrv79R8lnJN6Gc4/cBQlyA5AWTa5ZHWpiM2R5fCPdnQj288/1TuACfHutI/Ga5SaVLmBbRJEc4mVBGzcrQ6QfPfV66GCBjadeE6ZmlYzYoeN7akY//nyGSLgb4r+YL01AYZ85kAJw5kwFw5nQxwJC7vei6XXgeIA1eNngdgOxsWuKSpWuE07qU7aiL/v0p5PnE0s9wIYybt458ehyeu8b3JM8XYuYC85BxfmBdKvacpa9gCinYo8CKPSN6g5UOF1riDjnAecplHltwRfEHnTkFIiH5kEPwnJ/k2aJ/Wu4oOOj0JTlOaqEjJC+3eef95D5FmiEEMkfcOZXrTZJxnRXJS2QFOkLyW9y/kByy4muSKaUyZo6C9dvWPidtjdcwc/19NNXRXgcWqYXc2LWBzpDZnt86nr//0EqTwT3ljq8HuY+ghlIiEWRWiCrqRoljIPfRdBe6yRZIDBl32ETUo6JU3y4EFv5ijZX2qLq7LpWjDltq6+sZUR9N0eu3gM0Pm2qYnaDeD1M06qNjwS7pLtHExHnwFzztdJcuQLpcAAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/card.628e7e54.svg\";","export default __webpack_public_path__ + \"static/media/pin.dd103024.svg\";","export default __webpack_public_path__ + \"static/media/directDebit.483ffa3c.svg\";","export default __webpack_public_path__ + \"static/media/bank_statement.282d3ee9.svg\";","import React, { useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport user from \"../../../../assets/profile/user.svg\";\nimport card from \"../../../../assets/profile/card.svg\";\nimport pin from \"../../../../assets/profile/pin.svg\";\nimport { FaUserAlt } from \"react-icons/fa\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { MdArrowForwardIos } from \"react-icons/md\";\nimport DirectDebit from \"../../../../assets/profile/directDebit.svg\";\nimport bankStatementSVG from \"../../../../assets/bank_statement.svg\";\nimport { ROUTES } from \"../../../../helpers/ROUTES\";\nimport { deviceType } from \"react-device-detect\";\nimport styles from \"../../WidgetFlow.module.scss\";\nimport { appInsights } from \"../../../AppInsight/AppInsight\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nconst ProfileComponent = ({}) => {\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n\n const { allow_pin_change } = widgetSettings;\n const { currency, returningUserDetails } = borrowerDetails;\n\n const history = useHistory();\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Profile.component.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Profile.tsx`, {\n page: \"Profile.tsx - (Widget)\",\n });\n }, []);\n\n return (\n
\n history.push(ROUTES.widgetDashboard)}\n className=\"cursor\"\n >\n \n
\n

Profile

\n
\n \n \n
\n \n
\n

\n {`${returningUserDetails.first_name} ${returningUserDetails.last_name}`}\n

\n
\n history.push(ROUTES.widgetProfileInfo)}\n >\n
\n
\n \n \n
\n
\n

\n Profile Information\n

\n \n Edit your profile information\n \n
\n
\n\n \n \n \n {currency === \"NGN\" ? (\n <>\n
\n history.push(ROUTES.widgetCard)}\n >\n
\n
\n \n \n
\n
\n

\n Card information\n

\n \n Update your card information\n \n
\n
\n\n \n \n \n \n ) : null}\n
\n\n {allow_pin_change && (\n history.push(ROUTES.widgetPin)}\n >\n
\n
\n \n \n
\n
\n

\n Transaction PIN\n

\n \n Set your transaction PIN\n \n
\n
\n\n \n \n \n )}\n
\n\n history.push(ROUTES.widgetDirectDebitProfile)}\n >\n
\n
\n \n \n
\n
\n

\n Direct Debit Accounts{\" \"}\n

\n \n Update your direct debit account details{\" \"}\n \n
\n
\n\n \n \n \n
\n\n history.push(ROUTES.widgetBankStatement)}\n >\n
\n
\n \n \n
\n
\n

\n Bank Statement{\" \"}\n

\n \n Link your bank statement{\" \"}\n \n
\n
\n\n \n \n \n
\n \n );\n};\n\nexport default ProfileComponent;\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { Form, Input } from \"antd\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../../../helpers/errorHandler\";\nimport useFetchWalletDetails from \"../../../../../custom-hooks/useFetchWallet\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\n\nconst ProfileDetails = () => {\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer\n );\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer\n );\n\n const {\n first_name,\n last_name,\n borrower_phone,\n email,\n customer_type,\n company_name,\n business_registration_number,\n bvn_number,\n returningUserDetails,\n customer_id,\n aggregator_id,\n country_code,\n bank_code,\n bank_account_number,\n bank_name,\n } = borrowerDetails;\n const { allow_bank_details } = widgetSettings;\n\n const history = useHistory();\n const [form] = Form.useForm();\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(\"\");\n const [bankAccountName, setBankAccountName] = useState();\n\n const {\n data: fetchWalletDetailsdata,\n //@ts-ignore\n refetch: refetchFetchWalletdetails,\n } = useFetchWalletDetails({\n borrowerId: customer_id || returningUserDetails?.customer_id,\n aggregatorId: aggregator_id || returningUserDetails?.aggregator_id,\n });\n useEffect(() => {\n if (\n (customer_id || returningUserDetails?.customer_id) &&\n (aggregator_id || returningUserDetails?.aggregator_id)\n ) {\n refetchFetchWalletdetails();\n }\n\n //eslint-disable-next-line\n }, [customer_id, aggregator_id]);\n\n const validateAccount = async () => {\n setLoading(true);\n try {\n const response = await postData(apiEndpoints.validateBankAccount, {\n bank_code: bank_code || fetchWalletDetailsdata?.bankCode,\n bank_account_num:\n bank_account_number || fetchWalletDetailsdata?.accountNumber,\n country_code: country_code,\n });\n setBankAccountName(response.bank_account_name);\n } catch (error) {\n setError(errorHandler(error));\n } finally {\n setTimeout(() => {\n setLoading(false);\n }, 1000);\n }\n };\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Widget-ProfileDetails.tsx\",\n isLoggedIn: true,\n });\n }, []);\n useEffect(() => {\n if (\n bank_account_number &&\n bank_code &&\n country_code &&\n allow_bank_details\n ) {\n validateAccount();\n }\n //eslint-disable-next-line\n }, [bank_account_number, bank_code, country_code, allow_bank_details]);\n\n return (\n
\n {error ?

{error}

: null}\n\n history.push(ROUTES.widgetProfile)}\n className=\"cursor\"\n >\n \n
\n
\n

Profile Information

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {customer_type !== \"1\" && (\n <>\n \n \n \n \n \n \n \n )}\n\n {allow_bank_details && (\n <>\n {loading ? (\n
\n

Loading...

\n
\n ) : (\n <>\n \n \n \n
\n \n \n \n
\n \n \n \n \n )}\n \n )}\n \n \n );\n};\n\nexport default ProfileDetails;\n","import React, { useEffect } from \"react\";\nimport { RiFileCopyFill } from \"react-icons/ri\";\nimport { TopUpComponentProps } from \"./TopUpStepOne\";\nimport copy from \"copy-text-to-clipboard\";\nimport AppCard from \"../../components/AppCard\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\n\nconst TopUpStepTwo = ({\n handleGoBack,\n walletDetails,\n topUpAmount,\n handleValidateTransfer,\n}: TopUpComponentProps) => {\n const handleCopy = () => {\n const content = document?.getElementById(\"accountNumber\")?.textContent;\n if (content) {\n copy(content);\n }\n };\n\n useEffect(() => {\n appInsights.trackPageView({ name: \"TopUpStepTwo.tsx\", isLoggedIn: true });\n }, []);\n\n return (\n
\n
Bank Transfer
\n

\n Top Up Amount: {Number(topUpAmount).toLocaleString()}\n

\n

\n Kindly transfer the amount above to this unique account number using\n your mobile banking or ussd.\n

\n {walletDetails?.accountNumber ? (\n \n \n
\n

\n {walletDetails?.accountName}\n

\n

\n {walletDetails?.accountNumber}\n

\n

\n {walletDetails?.bankName}\n

\n
\n\n
\n \n \n Copy\n

\n
\n
\n \n ) : (\n

No default wallet accounts found.

\n )}\n\n
\n
\n \n Go Back\n

\n \n I have transferred\n \n
\n
\n \n );\n};\n\nexport default TopUpStepTwo;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAAAoCAYAAABad6BNAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5ggFASco5dWZZAAAHLtJREFUeNrtnX2YZVV15n/vufdWVTcgAQFBhBSKICCCCYqIoUEURTSSMdHoaAKhSXBEgzpjYpxEH6OOThJFHccPMBo/EhRBSXQQFaXVFhymNXyKIFCAIIooAtJdde857/yx1j7nVHU1DREfjen9PPXcqtvn7LP22uvzXWufFj+HccrhRg0aj/BwAsAAoKloZCxzjMyfIQ4yzAhuBj5ieDPwE8X1NaC3rZF/HjRuGb9aQw/kZEWAHbOaFGCgyb8PAV4nc5QV30hgY4QE38Yci7jKUCnu2yLMW8ZmR/VATfTywyyMLKxQkCEhiDVwgMw/y3wNOIq4ppaYEJ8IJoa9gc9gdkohrrxFhLeM+zCGP8vNpxxuMEp7aUFlGDiEcALsJXgt5nkWA0GjsMzg1lrHX2IoGCMeTtzzEqCSqH/RTAKYnVmdPgQRnqZ4s5r0HHMbTt+idsuM2elFvBui9vcHjHf/5tDilFVuBdiikqksmiRsd+A1MsdZTKXwNnE1FSCL9cDHgG2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WEGA4dHZEtrlIuKLSHJZhenddQTlb3z4oBNMzTUDoOovLXj7YXCeXs1GryCELE1u1rNUycxEj80FpkVXobSopnEdqgp0OMGqwmW7HSu7Xyn/FHe4paPZ3aiNZWgBZ5yk3wabS6pO6l4LSE7+l5W8MgWku7mfmjVFEpPC0T8PtAJ6buf5/owLud8Ai+34IMi6wyhAitlXkionFAdzXiS4YdZA5sM81ooL/s1At4zCufAPUMe0Ppa+VymZvIg68yjUOc/LY194msLeNXaKSwl+LQ9sAVWDun8r8feTVRkKlZ5h0l9/UlhqHqat8C9H6LJypelVM5LPFTMvJxS1BY8XNfvgqaaaaI83pX9+YcZBWvKfZmixD/Bx0FOwtBPhrYGTHJw7Fn9F68wzIvorlvQHov8aoTVfgwcHFksYwVlrTuVfJqzNABNb070YiCbJSf/vuUZS2f4G0Zv/pjdvqE/K1t93x+hkpDxJVIa7II0mwKb7k/70e2ulh0DLzI4ovZIFSC/QKTDVLgX0wkcQNGNBrTbMLi3l/Afsv4VRoqB0xdkLEnh2eXMGdDMwaG8eqG5fOn+1zaPHVNea0apVHk20R/xqecsbKzUug4xHlkYLwMZGotwJawYctYdkTOXoomz8kTNCXkzJJ0CPDcwvJI0f19Y32xynW+rf4mNfxOM2A/oi95mmj5u8hioYIBTZSw/fPrBtgy/r2PaEmrs4B3bH5bESdoymmb8j+DLTv+PyKuEmePb/mwAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA4LTA1VDAxOjM4OjU2KzAwOjAwLaerzwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOC0wNVQwMTozODo1NiswMDowMFz6E3MAAAAASUVORK5CYII=\"","export const enforceMaxLength = (e) => {\n if (e.target.value.length === e.target.maxLength) {\n e.preventDefault();\n }\n};\n","import React from \"react\";\nimport styles from \"./ErrorHandler.module.scss\";\nimport { Message } from \"react-hook-form/dist/types/form\";\nimport { LiteralUnion } from \"react-hook-form/dist/types/utils\";\nimport { RegisterOptions } from \"react-hook-form/dist/types/validator\";\n\ntype ErrorHandlerProps = {\n errors: {\n message?: Message;\n type?: LiteralUnion;\n shouldFocus?: boolean;\n };\n};\n\nconst ErrorHandler = ({ errors }: ErrorHandlerProps) => {\n return (\n
\n {errors && (\n <>\n {(() => {\n switch (errors) {\n case errors.type === \"required\":\n return (\n \n {errors.message ? errors.message : \"This field is required\"}\n \n );\n case errors.type === \"maxLength\" || errors.type === \"max\":\n return (\n \n {errors.message\n ? errors.message\n : \"Your input exceeded the maximum length\"}\n \n );\n case errors.type === \"minLength\" || errors.type === \"min\":\n return (\n \n {errors.message\n ? errors.message\n : \"Your input is not up to the minimum length\"}\n \n );\n case errors.type === \"matches\":\n return (\n \n {errors.message}\n \n );\n case errors.type === \"typeError\":\n return (\n \n Invalid value entered\n \n );\n default:\n return (\n \n {errors.message\n ? errors.message\n : \"The value entered into this field is invalid\"}\n \n );\n }\n })()}\n \n )}\n
\n );\n};\n\nexport default ErrorHandler;\n","import React, { useState } from \"react\";\nimport { enforceMaxLength } from \"../../helpers/enforceMaxLength\";\nimport ErrorHandler from \"../ErrorHandler/ErrorHandler.component\";\nimport { BsEye, BsEyeSlash } from \"react-icons/bs\";\n\n\ntype CustomInputFieldProps = {\n type: string;\n name?: string;\n placeholder?: string;\n label?: string;\n errors?: any;\n maxLength?: undefined | number;\n max?: number | string;\n defaultValue?: string | number;\n minLength?: undefined | number;\n onChange?: any;\n hasActionButton?: boolean;\n step?: number | string | undefined;\n reference?: any;\n hasPrepend?: boolean;\n PrependComponent?: React.ComponentProps<\"div\">;\n};\n\nconst CustomInputField = ({\n type,\n name,\n placeholder,\n reference,\n label,\n errors,\n maxLength,\n max,\n defaultValue,\n minLength,\n onChange,\n hasActionButton,\n step,\n PrependComponent,\n hasPrepend,\n ...otherProps\n}: CustomInputFieldProps) => {\n const [showPassword, setShowPassword] = useState(false);\n return (\n
\n \n
\n {hasPrepend && PrependComponent}\n \n {hasActionButton && (\n setShowPassword(!showPassword)}\n >\n \n {showPassword ? : }\n \n
\n )}\n
\n
\n \n
\n \n );\n};\n\nexport default CustomInputField;\n","import React, { Dispatch, SetStateAction, useEffect } from \"react\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport CustomInputField from \"../../../../CustomHTMLElements/CustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport * as yup from \"yup\";\n// import { WalletProp } from \"../../Dashboard/Dashboard.component\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\n\nexport type TopUpComponentProps = {\n handleNext?: () => void;\n handleGoBack: () => void;\n handleValidateTransfer?: () => void;\n setTopUpAmount?: Dispatch>;\n topUpAmount?: string | null;\n walletDetails: {\n customerId: number;\n walletProvider: string;\n walletProviderId: string;\n bankName: string;\n currency: string;\n accountNumber: string;\n walletId: string;\n accountName: string;\n isDefault: boolean;\n availableBalance: number;\n ledgerBalance: number;\n };\n};\n\nconst schema = yup.object().shape({\n topUpAmount: yup.string().required(\"Please enter the amount\"),\n});\nconst TopUpStepOne = ({\n setTopUpAmount,\n handleNext,\n handleGoBack,\n}: TopUpComponentProps) => {\n let location = useLocation();\n const history = useHistory();\n\n useEffect(() => {\n appInsights.trackPageView({ name: \"TopUpStepOne.tsx\", isLoggedIn: true });\n }, []);\n\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const onSubmit = (data: any) => {\n if (setTopUpAmount && handleNext) {\n setTopUpAmount(data.topUpAmount);\n\n handleNext();\n }\n };\n\n return (\n
\n
Top-up Amount
\n

Enter your top-up amount

\n
\n \n \n
\n \n Go Back\n

\n \n
\n
\n \n \n );\n};\n\nexport default TopUpStepOne;\n","import React, { useEffect, useState } from \"react\";\nimport styles from \"./Topup.module.scss\";\nimport TopUpStepTwo from \"./components/TopUpStepTwo\";\nimport logo from \"../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../assets/loadinggif.gif\";\nimport success from \"../../../../assets/success.svg\";\nimport failure from \"../../../../assets/fail.svg\";\nimport { ROUTES } from \"../../../../helpers/ROUTES\";\nimport { useHistory } from \"react-router-dom\";\nimport { getDataWithKey } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { errorHandler, errorToast } from \"../../../../helpers/errorHandler\";\nimport { appInsights } from \"../../../AppInsight/AppInsight\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport TopUpStepOne from \"./components/TopUpStepOne\";\n\nexport interface IFetchWallet {\n encryptedKey?: string;\n first_name?: string;\n last_name?: string;\n email?: string;\n bvn_number?: number;\n}\n\nconst TopUpComponent = () => {\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const { customer_id, aggregator_id, email } = borrowerDetails;\n const history = useHistory();\n const [currentStep, setCurrentStep] = useState(0);\n const [isLoading, setIsLoading] = useState(false);\n const [showSuccess, setShowSuccess] = useState(false);\n const [showFailure, setShowFailure] = useState(false);\n const [topUpAmount, setTopUpAmount] = useState(null);\n\n const [walletDetails, setWalletDetails] = useState();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"TopUp.component.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: TopUp.tsx`, {\n page: \"TopUp.tsx - (Widget)\",\n });\n }, []);\n\n async function fetchWallet() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getWallet}?borrower_id=${customer_id}&aggregator_id=${aggregator_id}`,\n );\n setWalletDetails(response.data);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: TopUpComponent },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n if (customer_id && aggregator_id) {\n fetchWallet();\n }\n //eslint-disable-next-line\n }, [customer_id, aggregator_id]);\n\n const handleGoBack = () => {\n if (currentStep > 0) {\n setCurrentStep(currentStep - 1);\n } else {\n history.push(ROUTES.widgetDashboard);\n }\n };\n\n const handleNext = () => {\n setCurrentStep((prevState) => prevState + 1);\n };\n\n const handleValidateTransfer = () => {\n setShowFailure(false);\n setShowSuccess(false);\n setIsLoading(true);\n setTimeout(() => {\n MixPanel.track(\"Wallet Top Up\", {\n distinct_id: `${email}`,\n amount: topUpAmount,\n status: \"TopUp SuccessFul, Awaiting Confirmation\",\n product: \"Embed Widget\",\n });\n setIsLoading(false);\n setShowSuccess(true);\n }, 500);\n };\n\n const steps = [\n ,\n ,\n ];\n\n const successModal = () => {\n return (\n <>\n
\n \n
\n\n

Transaction Complete

\n

\n Your balance will reflect your recent top-up once your payment has\n been completed and processed by your bank\n

\n
\n
\n
\n history.push(ROUTES.widgetDashboard)}\n >\n Done\n \n
\n \n );\n };\n\n const failureModal = () => {\n return (\n <>\n
\n \n
\n\n

Transaction Failed

\n

Something went wrong

\n
\n
\n
\n \n Try again\n \n
\n \n );\n };\n\n return (\n
\n {isLoading ? (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n {/*

Checking transaction status...

*/}\n \n ) : showSuccess ? (\n successModal()\n ) : showFailure ? (\n failureModal()\n ) : (\n steps[currentStep]\n )}\n
\n );\n};\n\nexport default TopUpComponent;\n","export default __webpack_public_path__ + \"static/media/mastercard.b720e3b5.svg\";","export default __webpack_public_path__ + \"static/media/visa.63c28dbd.svg\";","export default __webpack_public_path__ + \"static/media/verve.4c9ebc50.svg\";","import CONFIG from \"./config\";\n\nexport const okraConfig = {\n short_url: CONFIG.OKRA_SHORT_URL,\n};\n\nexport const paystackConfig = ({ email, amount }) => {\n return {\n publicKey: CONFIG.PAYSTACK_PUBLIC_KEY,\n email,\n amount,\n currency: \"NGN\",\n channels: [\"card\"],\n reference: new Date().getTime(),\n };\n};\n","import React, { useRef, useState } from \"react\";\nimport { PaystackConsumer } from \"react-paystack\";\nimport { postDotNetDataWithKey } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { paystackConfig } from \"../../../../helpers/thirdPartyConfig\";\nimport { errorHandler, errorToast } from \"../../../../helpers/errorHandler\";\nimport { appInsights } from \"../../../AppInsight/AppInsight\";\nimport { useSelector } from \"react-redux\";\n\nconst AddCard = ({\n email,\n updatePayStackStatus,\n fetchWallet,\n fetchAddedCards,\n}) => {\n const borrowerDetails = useSelector((store) => store.borrowerDetailsReducer);\n const { customer_id, aggregator_id, returningUserDetails } = borrowerDetails;\n const [isLoading, setIsLoading] = useState(false);\n const paystackRef = useRef();\n const openPaystackWidget = () => {\n paystackRef?.current?.click();\n };\n\n const onPaystackSuccess = async (data) => {\n setIsLoading(true);\n try {\n await postDotNetDataWithKey(\n apiEndpoints.addCard,\n {\n aggregator_id: aggregator_id,\n borrower_id: customer_id,\n paystack_reference: data?.reference,\n paystack_transaction: data?.trans,\n },\n returningUserDetails?.encryptedKey\n );\n fetchWallet();\n fetchAddedCards();\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: AddCard },\n });\n }\n setIsLoading(false);\n };\n\n const onPaystackClose = () => {\n setIsLoading(false);\n // window.location.reload();\n };\n\n const paystackComponentProps = {\n ...paystackConfig({\n email: email,\n amount: 5000, // 50 naira is 5000 kobo\n }),\n onSuccess: (reference) => {\n onPaystackSuccess(reference);\n },\n onClose: onPaystackClose,\n };\n return (\n
\n {\n updatePayStackStatus();\n openPaystackWidget();\n }}\n >\n {isLoading ? (\n \n ) : (\n \"Add Card\"\n )}\n \n\n \n {({ initializePayment }) => (\n {\n setIsLoading(true);\n initializePayment(onPaystackSuccess, onPaystackClose);\n }}\n className=\"d-none\"\n />\n )}\n \n
\n );\n};\n\nexport default AddCard;\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { message } from \"antd\";\nimport {\n getDataWithKey,\n postDataWithKey,\n} from \"../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { errorHandler, errorToast } from \"../../../../../helpers/errorHandler\";\nimport MastercardIcon from \"../../../../../assets/mastercard.svg\";\nimport VisaIcon from \"../../../../../assets/visa.svg\";\nimport VerveIcon from \"../../../../../assets/verve.svg\";\nimport Loader from \"../../../../Loader/Loader\";\nimport { BsCheck2All } from \"react-icons/bs\";\nimport AddCard from \"../../components/AddCard\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\nimport { IFetchWallet } from \"../../Topup/TopUpComponent\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\n\ntype CardProp = {\n card_id: number;\n customer_id: number;\n last_four_digits: number;\n card_type: string;\n expiry_month: number;\n expiry_year: number;\n is_default: boolean;\n};\n\nconst CardInformation = () => {\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const { email, aggregator_id, customer_id, returningUserDetails } =\n borrowerDetails;\n const { encryptedKey } = widgetSettings;\n const history = useHistory();\n const [isLoading, setIsLoading] = useState(false);\n\n const [cards, setCards] = useState([]);\n const [walletDetails, setWalletDetails] = useState();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"CardInformation.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n async function fetchWallet() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getWallet}?borrower_id=${\n customer_id || returningUserDetails?.customer_id\n }&aggregator_id=${aggregator_id || returningUserDetails?.aggregator_id}`,\n );\n\n setWalletDetails(response.data);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error as Error,\n properties: { fileName: CardInformation },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n if ((customer_id || returningUserDetails?.customer_id) && aggregator_id) {\n fetchWallet();\n }\n //eslint-disable-next-line\n }, [customer_id, aggregator_id]);\n\n const cardImage = (type: string) => {\n const cardType = type.toLowerCase().trim();\n return cardType?.includes(\"mastercard\") ? (\n \n ) : cardType?.includes(\"visa\") ? (\n \n ) : cardType?.includes(\"verve\") ? (\n \n ) : null;\n };\n\n const fetchAddedCards = async () => {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.fetchCards}?borrower_id=${\n customer_id || returningUserDetails?.customer_id\n }&aggregator_id=${aggregator_id || returningUserDetails?.aggregator_id}`,\n );\n setCards(response.data);\n } catch (error) {\n message.error(errorHandler(error));\n appInsights.trackException({\n exception: error as Error,\n properties: { fileName: CardInformation },\n });\n }\n setIsLoading(false);\n };\n\n async function makeCardDefault(item: CardProp) {\n setIsLoading(true);\n try {\n await postDataWithKey(\n apiEndpoints.setDefaultCard,\n {\n aggregator_id: aggregator_id || returningUserDetails?.aggregator_id,\n borrower_id: customer_id || returningUserDetails?.customer_id,\n card_id: item.card_id,\n },\n //@ts-ignore\n encryptedKey,\n );\n await fetchAddedCards();\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error as Error,\n properties: { fileName: CardInformation },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n fetchAddedCards();\n }, []);\n\n if (isLoading) {\n return (\n
\n \n
\n );\n }\n\n return (\n
\n

Cards

\n\n {cards.length === 0 ? (\n <>\n

No Data Available

\n \n ) : (\n cards?.map((item) => (\n
\n
\n
\n
\n
{cardImage(item.card_type)}
\n
\n

\n {`**** **** **** ${item.last_four_digits}`}\n \n {item.is_default && (\n \n \n \n )}\n \n

\n \n {`${item.expiry_month}/${item.expiry_year}`}\n \n
\n
\n\n {!item.is_default && (\n makeCardDefault(item)}\n >\n Set Default\n

\n )}\n
\n
\n
\n
\n ))\n )}\n\n
\n
\n history.push(ROUTES.widgetProfile)}\n >\n Go Back\n

\n null}\n fetchWallet={fetchWallet}\n fetchAddedCards={fetchAddedCards}\n />\n
\n
\n
\n );\n};\n\nexport default CardInformation;\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { Form, Input, Select } from \"antd\";\nimport { SuccessComponent } from \"../../SuccessComponent\";\nimport {\n getDataWithKey,\n postDataWithKey,\n} from \"../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { errorHandler, errorToast } from \"../../../../../helpers/errorHandler\";\nimport Loader from \"../../../../Loader/Loader\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\n\ntype SecurityQuestion = {\n id: number;\n question: string;\n code: string;\n};\n\ninterface IProps {\n handleDashboard: () => void;\n}\nconst TransactionPin = ({ handleDashboard }: IProps) => {\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer\n );\n const { isApi } = borrowerDetails;\n const history = useHistory();\n const [form] = Form.useForm();\n const [form2] = Form.useForm();\n const [showReset, setShowReset] = useState(false);\n const [showNextScreen, setShowNextScreen] = useState(false);\n const [showDone, setShowDone] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [securityQuestions, setSecurityQuestions] = useState<\n SecurityQuestion[]\n >([]);\n const { aggregator_id, customer_id, returningUserDetails } = borrowerDetails;\n\n const [securityData, setSecurityData] = useState({\n borrowerId: customer_id || returningUserDetails?.customer_id,\n question_id: \"\",\n answer: \"\",\n });\n\n useEffect(() => {\n appInsights.trackPageView({ name: \"TransactionPin.tsx\", isLoggedIn: true });\n }, []);\n\n useEffect(() => {\n setShowDone(false);\n setShowNextScreen(false);\n }, []);\n\n async function fetchWallet() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(apiEndpoints.getSecurityQuestions);\n setSecurityQuestions(response.data);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: TransactionPin },\n });\n } finally {\n setIsLoading(false);\n }\n }\n\n async function submitSecurityAnswer() {\n setIsLoading(true);\n try {\n await postDataWithKey(\n apiEndpoints.saveSecurityQuestionAndAnswer,\n securityData,\n //@ts-ignore\n borrowerDetails?.returningUserDetails?.encryptedKey\n );\n setShowNextScreen(true);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n\n exception: error,\n properties: { fileName: TransactionPin },\n });\n }\n setIsLoading(false);\n }\n\n async function saveCustomerPin(data: { pin: string; confirmPin: string }) {\n setIsLoading(true);\n try {\n if (showReset) {\n await postDataWithKey(\n apiEndpoints.resetCustomerPin,\n {\n question_id: securityData.question_id,\n answer: securityData.answer,\n borrower_id: customer_id || returningUserDetails?.customer_id,\n aggregator_id: aggregator_id || returningUserDetails?.aggregator_id,\n pin: data.pin,\n type: 5,\n },\n //@ts-ignore\n borrowerDetails?.returningUserDetails?.encryptedKey\n );\n } else {\n await postDataWithKey(\n apiEndpoints.saveCustomerPin,\n {\n borrowerId: customer_id || returningUserDetails?.customer_id,\n pin: data.pin,\n type: 5,\n },\n //@ts-ignore\n borrowerDetails?.returningUserDetails?.encryptedKey\n );\n }\n\n setShowDone(true);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n\n exception: error,\n properties: { fileName: TransactionPin },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n if (\n (customer_id || returningUserDetails?.customer_id) &&\n (aggregator_id || returningUserDetails?.aggregator_id)\n ) {\n fetchWallet();\n }\n }, [customer_id, aggregator_id]);\n\n if (isLoading) {\n return (\n
\n \n
\n );\n }\n\n if (showNextScreen && !showDone) {\n return (\n <>\n

Security

\n

\n {!showReset\n ? \" Kindly set a security question before creating your transaction pin.\"\n : \" Kindly enter your new pin\"}\n

\n saveCustomerPin(data)}\n >\n \n \n \n ({\n validator(_, value) {\n if (!value || getFieldValue(\"pin\") === value) {\n return Promise.resolve();\n }\n return Promise.reject(\n new Error(\"The two pins that you entered do not match!\")\n );\n },\n }),\n ]}\n >\n \n \n \n
\n setShowNextScreen(false)}\n >\n Go Back\n

\n \n
\n \n \n \n );\n }\n\n if (showDone) {\n return (\n \n isApi ? history.push(ROUTES.widgetDashboard) : history.goBack()\n }\n btnText=\"Done\"\n type=\"success\"\n />\n );\n }\n return (\n <>\n

Security

\n

\n {!showReset\n ? \"Kindly set a security question before creating your transaction pin.\"\n : \" Kindly answer your security question before resetting your transaction pin.\"}\n

\n {\n if (showReset) {\n setShowNextScreen(true);\n } else {\n submitSecurityAnswer();\n }\n }}\n >\n \n \n setSecurityData({ ...securityData, question_id: value })\n }\n placeholder=\"Select\"\n allowClear\n >\n {securityQuestions?.map((item, _index) => (\n \n {item.question}\n \n ))}\n \n \n \n \n setSecurityData({ ...securityData, answer: e.target.value })\n }\n />\n \n \n {!showReset && (\n
\n setShowReset(true)}\n >\n Reset Pin\n \n
\n )}\n
\n \n isApi && handleDashboard\n ? handleDashboard()\n : history.push(ROUTES.widgetProfile)\n }\n >\n Go Back\n

\n \n
\n \n \n \n );\n};\n\nexport default TransactionPin;\n","import React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport { Alert, Form, Input, Select, message } from \"antd\";\nimport { SuccessComponent } from \"../../SuccessComponent\";\nimport {\n getDataWithKey,\n postDataWithKey,\n} from \"../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../../../helpers/errorHandler\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\nimport { useHistory } from \"react-router-dom\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport advLogo from \"../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../assets/loadinggif.gif\";\n\ntype SecurityQuestion = {\n id: number;\n question: string;\n code: string;\n};\n\nconst TransactionPinOnboarding = () => {\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const { customer_id } = borrowerDetails;\n const [form] = Form.useForm();\n const [form2] = Form.useForm();\n const [showDone, setShowDone] = useState(false);\n const [error, setError] = useState(\"\");\n const [showPinPage, setShowPinPage] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [securityQuestions, setSecurityQuestions] = useState<\n SecurityQuestion[]\n >([]);\n const [securityData, setSecurityData] = useState({\n borrowerId: customer_id,\n question_id: \"\",\n answer: \"\",\n });\n\n const history = useHistory();\n useEffect(() => {\n appInsights.trackPageView({\n name: \"TransactionPinOnboarding.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n async function fetchSecurityQuestions() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(apiEndpoints.getSecurityQuestions);\n setSecurityQuestions(response.data);\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: TransactionPinOnboarding },\n });\n } finally {\n setIsLoading(false);\n }\n }\n\n async function submitSecurityAnswer() {\n setIsLoading(true);\n try {\n await postDataWithKey(\n apiEndpoints.saveSecurityQuestionAndAnswer,\n securityData,\n //@ts-ignore\n borrowerDetails?.returningUserDetails?.encryptedKey,\n );\n setIsLoading(false);\n\n setShowPinPage(true);\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n\n exception: error,\n properties: { fileName: TransactionPinOnboarding },\n });\n }\n setIsLoading(false);\n }\n\n async function saveCustomerPin(data: { pin: string; confirmPin: string }) {\n setIsLoading(true);\n try {\n await postDataWithKey(\n apiEndpoints.saveCustomerPin,\n {\n borrowerId: customer_id,\n pin: data.pin,\n type: 5,\n },\n //@ts-ignore\n borrowerDetails?.returningUserDetails?.encryptedKey,\n );\n message.success(\"Pin set successfully\");\n\n setIsLoading(false);\n window.location.reload();\n\n // history.push(ROUTES.widgetDashboard);\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n\n exception: error,\n properties: { fileName: TransactionPinOnboarding },\n });\n\n setIsLoading(false);\n }\n }\n\n useEffect(() => {\n if (customer_id) {\n fetchSecurityQuestions();\n }\n //eslint-disable-next-line\n }, []);\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n if (showPinPage) {\n return (\n <>\n {error && (\n setError(\"\")}\n />\n )}\n

Security

\n

\n {\n \" Kindly set a security question before creating your transaction pin.\"\n }\n

\n saveCustomerPin(data)}\n >\n \n \n \n ({\n validator(_, value) {\n if (!value || getFieldValue(\"pin\") === value) {\n return Promise.resolve();\n }\n return Promise.reject(\n new Error(\"The two pins that you entered do not match!\"),\n );\n },\n }),\n ]}\n >\n \n \n \n
\n setShowPinPage(false)}\n >\n Go Back\n

\n \n
\n \n \n \n );\n }\n\n if (showDone) {\n return (\n history.push(ROUTES.widgetDashboard)}\n btnText=\"Done\"\n type=\"success\"\n />\n );\n }\n return (\n <>\n {error && (\n setError(\"\")}\n />\n )}\n

Security

\n

\n Kindly set a security question before creating your transaction pin.\n

\n {\n submitSecurityAnswer();\n }}\n >\n \n \n setSecurityData({ ...securityData, question_id: value })\n }\n placeholder=\"Select\"\n allowClear\n >\n {securityQuestions?.map((item) => (\n {item.question}\n ))}\n \n \n \n \n setSecurityData({ ...securityData, answer: e.target.value })\n }\n />\n \n \n
\n \n
\n \n \n \n );\n};\n\nexport default TransactionPinOnboarding;\n","export default __webpack_public_path__ + \"static/media/withdrawal.784851ad.svg\";","export default __webpack_public_path__ + \"static/media/deposit.1161806d.svg\";","import React, { useEffect, useState } from \"react\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { formatCurrency } from \"../../../../helpers/formatCurrency\";\nimport withdraw from \"../../../../assets/withdrawal.svg\";\nimport deposit from \"../../../../assets/deposit.svg\";\nimport moment from \"moment\";\nimport { getDataWithKey } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { errorHandler, errorToast } from \"../../../../helpers/errorHandler\";\nimport Loader from \"../../../Loader/Loader\";\nimport { ROUTES } from \"../../../../helpers/ROUTES\";\nimport { appInsights } from \"../../../AppInsight/AppInsight\";\nimport { IFetchWallet } from \"../Topup/TopUpComponent\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\n\ntype Transaction = {\n transactionId: string;\n transactionType: string;\n amount: string;\n transactionDate: string;\n transactionStatus: string;\n transactionRemarks: string;\n transactionCharge: number;\n};\n\nconst TransactionsComponent = () => {\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer\n );\n const { customer_id, aggregator_id } = borrowerDetails;\n const history = useHistory();\n const [isLoading, setIsLoading] = useState(false);\n const [transactions, setTransactions] = useState([]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Transactions.component.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n async function fetchTransactions() {\n setIsLoading(true);\n try {\n let response = await getDataWithKey(\n `${apiEndpoints.getWallet}?borrower_id=${customer_id}&aggregator_id=${aggregator_id}`\n );\n response = await getDataWithKey(\n `${apiEndpoints.getTransactions}?account_number=${response.data?.accountNumber}&aggregator_id=${aggregator_id}`\n );\n setTransactions(response.data?.transactions);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: TransactionsComponent },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n if (customer_id && aggregator_id) {\n fetchTransactions();\n }\n }, [customer_id, aggregator_id]);\n if (isLoading) {\n return (\n
\n \n
\n );\n }\n return (\n \n history.push(ROUTES.widgetDashboard)}\n className=\"cursor\"\n >\n \n \n

Transactions

\n
\n {transactions?.length === 0 ? (\n

No transaction available

\n ) : (\n transactions?.map((item) => (\n
\n
\n
\n \n
\n
\n

{item?.transactionType}

\n\n

\n {moment(item?.transactionDate).format(\n \"D/MM/YYYY, h:mm a\"\n )}\n

\n
\n
\n
\n\n
\n \n {formatCurrency(Number(item?.amount || 0))}\n
\n
\n \n {item?.transactionStatus}\n \n
\n
\n
\n

\n Narration : -{\" \"}\n {item?.transactionRemarks}{\" \"}\n

\n\n
\n
\n \n ))\n )}\n \n );\n};\n\nexport default TransactionsComponent;\n","import React, { useEffect, Dispatch, SetStateAction } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { CustomPinInputField } from \"../../CustomHTMLElements/CustomPinInputField.component\";\nimport { appInsights } from \"../../AppInsight/AppInsight\";\nimport { Alert } from \"antd\";\n\ntype SetPinComponentProps = {\n handleNext: () => void;\n handleGoBack: () => void;\n setValue: (value: string) => void;\n label: string;\n withdrawalError: string;\n setWithdrawalError: Dispatch>;\n pinCount: string;\n setPinCount: Dispatch>;\n};\n\nconst SetPinComponent = ({\n handleNext,\n label,\n setValue,\n handleGoBack,\n withdrawalError,\n setWithdrawalError,\n pinCount,\n setPinCount,\n}: SetPinComponentProps) => {\n const history = useHistory();\n useEffect(() => {\n appInsights.trackPageView({\n name: \"SetPinComponent.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleAction = () => {\n if (pinCount && pinCount.length === 4) {\n handleNext();\n setTimeout(() => {\n setPinCount(\"\");\n }, 4000);\n }\n };\n return (\n
\n {withdrawalError && (\n setWithdrawalError(\"\")}\n />\n )}\n

Transaction PIN

\n

Enter your transaction PIN to proceed

\n
\n
\n {\n if (value) {\n setPinCount(value);\n }\n setValue(value);\n }}\n length={4}\n label={label}\n />\n
\n
\n {\n handleGoBack ? handleGoBack() : history.goBack();\n setWithdrawalError(\"\");\n }}\n >\n Go Back\n

\n \n Next\n \n
\n
\n
\n );\n};\n\nexport default SetPinComponent;\n","export const nigerianStateData = [\n {\n name: \"Abia\",\n localGovernments: [\n \"Aba North\",\n \"Aba South\",\n \"Arochukwu\",\n \"Bende\",\n \"Ikwuano\",\n \"Isiala-Ngwa North\",\n \"Isiala-Ngwa South\",\n \"Isuikwato\",\n \"Obi Nwa\",\n \"Ohafia\",\n \"Osisioma\",\n \"Ngwa\",\n \"Ugwunagbo\",\n \"Ukwa East\",\n \"Ukwa West\",\n \"Umuahia North\",\n \"Umuahia South\",\n \"Umu-Neochi\",\n ],\n },\n {\n name: \"Adamawa\",\n localGovernments: [\n \"Demsa\",\n \"Fufore\",\n \"Ganaye\",\n \"Gireri\",\n \"Gombi\",\n \"Guyuk\",\n \"Hong\",\n \"Jada\",\n \"Lamurde\",\n \"Madagali\",\n \"Maiha\",\n \"Mayo-Belwa\",\n \"Michika\",\n \"Mubi North\",\n \"Mubi South\",\n \"Numan\",\n \"Shelleng\",\n \"Song\",\n \"Toungo\",\n \"Yola North\",\n \"Yola South\",\n ],\n },\n {\n name: \"Anambra\",\n localGovernments: [\n \"Aguata\",\n \"Anambra East\",\n \"Anambra West\",\n \"Anaocha\",\n \"Awka North\",\n \"Awka South\",\n \"Ayamelum\",\n \"Dunukofia\",\n \"Ekwusigo\",\n \"Idemili North\",\n \"Idemili south\",\n \"Ihiala\",\n \"Njikoka\",\n \"Nnewi North\",\n \"Nnewi South\",\n \"Ogbaru\",\n \"Onitsha North\",\n \"Onitsha South\",\n \"Orumba North\",\n \"Orumba South\",\n \"Oyi\",\n ],\n },\n {\n name: \"Akwa Ibom\",\n localGovernments: [\n \"Abak\",\n \"Eastern Obolo\",\n \"Eket\",\n \"Esit Eket\",\n \"Essien Udim\",\n \"Etim Ekpo\",\n \"Etinan\",\n \"Ibeno\",\n \"Ibesikpo Asutan\",\n \"Ibiono Ibom\",\n \"Ika\",\n \"Ikono\",\n \"Ikot Abasi\",\n \"Ikot Ekpene\",\n \"Ini\",\n \"Itu\",\n \"Mbo\",\n \"Mkpat Enin\",\n \"Nsit Atai\",\n \"Nsit Ibom\",\n \"Nsit Ubium\",\n \"Obot Akara\",\n \"Okobo\",\n \"Onna\",\n \"Oron\",\n \"Oruk Anam\",\n \"Udung Uko\",\n \"Ukanafun\",\n \"Uruan\",\n \"Urue-Offong/Oruko \",\n \"Uyo\",\n ],\n },\n {\n name: \"Bauchi\",\n localGovernments: [\n \"Alkaleri\",\n \"Bauchi\",\n \"Bogoro\",\n \"Damban\",\n \"Darazo\",\n \"Dass\",\n \"Ganjuwa\",\n \"Giade\",\n \"Itas/Gadau\",\n \"Jama'are\",\n \"Katagum\",\n \"Kirfi\",\n \"Misau\",\n \"Ningi\",\n \"Shira\",\n \"Tafawa-Balewa\",\n \"Toro\",\n \"Warji\",\n \"Zaki\",\n ],\n },\n {\n name: \"Bayelsa\",\n localGovernments: [\n \"Brass\",\n \"Ekeremor\",\n \"Kolokuma/Opokuma\",\n \"Nembe\",\n \"Ogbia\",\n \"Sagbama\",\n \"Southern Jaw\",\n \"Yenegoa\",\n ],\n },\n {\n name: \"Benue\",\n localGovernments: [\n \"Ado\",\n \"Agatu\",\n \"Apa\",\n \"Buruku\",\n \"Gboko\",\n \"Guma\",\n \"Gwer East\",\n \"Gwer West\",\n \"Katsina-Ala\",\n \"Konshisha\",\n \"Kwande\",\n \"Logo\",\n \"Makurdi\",\n \"Obi\",\n \"Ogbadibo\",\n \"Oju\",\n \"Okpokwu\",\n \"Ohimini\",\n \"Oturkpo\",\n \"Tarka\",\n \"Ukum\",\n \"Ushongo\",\n \"Vandeikya\",\n ],\n },\n {\n name: \"Borno\",\n localGovernments: [\n \"Abadam\",\n \"Askira/Uba\",\n \"Bama\",\n \"Bayo\",\n \"Biu\",\n \"Chibok\",\n \"Damboa\",\n \"Dikwa\",\n \"Gubio\",\n \"Guzamala\",\n \"Gwoza\",\n \"Hawul\",\n \"Jere\",\n \"Kaga\",\n \"Kala/Balge\",\n \"Konduga\",\n \"Kukawa\",\n \"Kwaya Kusar\",\n \"Mafa\",\n \"Magumeri\",\n \"Maiduguri\",\n \"Marte\",\n \"Mobbar\",\n \"Monguno\",\n \"Ngala\",\n \"Nganzai\",\n \"Shani\",\n ],\n },\n {\n name: \"Cross River\",\n localGovernments: [\n \"Akpabuyo\",\n \"Odukpani\",\n \"Akamkpa\",\n \"Biase\",\n \"Abi\",\n \"Ikom\",\n \"Yarkur\",\n \"Odubra\",\n \"Boki\",\n \"Ogoja\",\n \"Yala\",\n \"Obanliku\",\n \"Obudu\",\n \"Calabar South\",\n \"Etung\",\n \"Bekwara\",\n \"Bakassi\",\n \"Calabar Municipality\",\n ],\n },\n {\n name: \"Delta\",\n localGovernments: [\n \"Oshimili\",\n \"Aniocha\",\n \"Aniocha South\",\n \"Ika South\",\n \"Ika North-East\",\n \"Ndokwa West\",\n \"Ndokwa East\",\n \"Isoko south\",\n \"Isoko North\",\n \"Bomadi\",\n \"Burutu\",\n \"Ughelli South\",\n \"Ughelli North\",\n \"Ethiope West\",\n \"Ethiope East\",\n \"Sapele\",\n \"Okpe\",\n \"Warri North\",\n \"Warri South\",\n \"Uvwie\",\n \"Udu\",\n \"Warri Central\",\n \"Ukwani\",\n \"Oshimili North\",\n \"Patani\",\n ],\n },\n {\n name: \"Ebonyi\",\n localGovernments: [\n \"Edda\",\n \"Afikpo\",\n \"Onicha\",\n \"Ohaozara\",\n \"Abakaliki\",\n \"Ishielu\",\n \"lkwo\",\n \"Ezza\",\n \"Ezza South\",\n \"Ohaukwu\",\n \"Ebonyi\",\n \"Ivo\",\n ],\n },\n {\n name: \"Enugu\",\n localGovernments: [\n \"Enugu South,\",\n \"Igbo-Eze South\",\n \"Enugu North\",\n \"Nkanu\",\n \"Udi Agwu\",\n \"Oji-River\",\n \"Ezeagu\",\n \"IgboEze North\",\n \"Isi-Uzo\",\n \"Nsukka\",\n \"Igbo-Ekiti\",\n \"Uzo-Uwani\",\n \"Enugu Eas\",\n \"Aninri\",\n \"Nkanu East\",\n \"Udenu.\",\n ],\n },\n {\n name: \"Edo\",\n localGovernments: [\n \"Esan North-East\",\n \"Esan Central\",\n \"Esan West\",\n \"Egor\",\n \"Ukpoba\",\n \"Central\",\n \"Etsako Central\",\n \"Igueben\",\n \"Oredo\",\n \"Ovia SouthWest\",\n \"Ovia South-East\",\n \"Orhionwon\",\n \"Uhunmwonde\",\n \"Etsako East\",\n \"Esan South-East\",\n ],\n },\n {\n name: \"Ekiti\",\n localGovernments: [\n \"Ado\",\n \"Ekiti-East\",\n \"Ekiti-West\",\n \"Emure/Ise/Orun\",\n \"Ekiti South-West\",\n \"Ikere\",\n \"Irepodun\",\n \"Ijero,\",\n \"Ido/Osi\",\n \"Oye\",\n \"Ikole\",\n \"Moba\",\n \"Gbonyin\",\n \"Efon\",\n \"Ise/Orun\",\n \"Ilejemeje.\",\n ],\n },\n {\n name: \"FCT\",\n localGovernments: [\n \"Abaji\",\n \"Abuja Municipal\",\n \"Bwari\",\n \"Gwagwalada\",\n \"Kuje\",\n \"Kwali\",\n ],\n },\n {\n name: \"Gombe\",\n localGovernments: [\n \"Akko\",\n \"Balanga\",\n \"Billiri\",\n \"Dukku\",\n \"Kaltungo\",\n \"Kwami\",\n \"Shomgom\",\n \"Funakaye\",\n \"Gombe\",\n \"Nafada/Bajoga\",\n \"Yamaltu/Delta.\",\n ],\n },\n {\n name: \"Imo\",\n localGovernments: [\n \"Aboh-Mbaise\",\n \"Ahiazu-Mbaise\",\n \"Ehime-Mbano\",\n \"Ezinihitte\",\n \"Ideato North\",\n \"Ideato South\",\n \"Ihitte/Uboma\",\n \"Ikeduru\",\n \"Isiala Mbano\",\n \"Isu\",\n \"Mbaitoli\",\n \"Mbaitoli\",\n \"Ngor-Okpala\",\n \"Njaba\",\n \"Nwangele\",\n \"Nkwerre\",\n \"Obowo\",\n \"Oguta\",\n \"Ohaji/Egbema\",\n \"Okigwe\",\n \"Orlu\",\n \"Orsu\",\n \"Oru East\",\n \"Oru West\",\n \"Owerri-Municipal\",\n \"Owerri North\",\n \"Owerri West\",\n ],\n },\n {\n name: \"Jigawa\",\n localGovernments: [\n \"Auyo\",\n \"Babura\",\n \"Birni Kudu\",\n \"Biriniwa\",\n \"Buji\",\n \"Dutse\",\n \"Gagarawa\",\n \"Garki\",\n \"Gumel\",\n \"Guri\",\n \"Gwaram\",\n \"Gwiwa\",\n \"Hadejia\",\n \"Jahun\",\n \"Kafin Hausa\",\n \"Kaugama Kazaure\",\n \"Kiri Kasamma\",\n \"Kiyawa\",\n \"Maigatari\",\n \"Malam Madori\",\n \"Miga\",\n \"Ringim\",\n \"Roni\",\n \"Sule-Tankarkar\",\n \"Taura\",\n \"Yankwashi\",\n ],\n },\n {\n name: \"Kaduna\",\n localGovernments: [\n \"Birni-Gwari\",\n \"Chikun\",\n \"Giwa\",\n \"Igabi\",\n \"Ikara\",\n \"jaba\",\n \"Jema'a\",\n \"Kachia\",\n \"Kaduna North\",\n \"Kaduna South\",\n \"Kagarko\",\n \"Kajuru\",\n \"Kaura\",\n \"Kauru\",\n \"Kubau\",\n \"Kudan\",\n \"Lere\",\n \"Makarfi\",\n \"Sabon-Gari\",\n \"Sanga\",\n \"Soba\",\n \"Zango-Kataf\",\n \"Zaria\",\n ],\n },\n {\n name: \"Kano\",\n localGovernments: [\n \"Ajingi\",\n \"Albasu\",\n \"Bagwai\",\n \"Bebeji\",\n \"Bichi\",\n \"Bunkure\",\n \"Dala\",\n \"Dambatta\",\n \"Dawakin Kudu\",\n \"Dawakin Tofa\",\n \"Doguwa\",\n \"Fagge\",\n \"Gabasawa\",\n \"Garko\",\n \"Garum\",\n \"Mallam\",\n \"Gaya\",\n \"Gezawa\",\n \"Gwale\",\n \"Gwarzo\",\n \"Kabo\",\n \"Kano Municipal\",\n \"Karaye\",\n \"Kibiya\",\n \"Kiru\",\n \"kumbotso\",\n \"Ghari\",\n \"Kura\",\n \"Madobi\",\n \"Makoda\",\n \"Minjibir\",\n \"Nasarawa\",\n \"Rano\",\n \"Rimin Gado\",\n \"Rogo\",\n \"Shanono\",\n \"Sumaila\",\n \"Takali\",\n \"Tarauni\",\n \"Tofa\",\n \"Tsanyawa\",\n \"Tudun Wada\",\n \"Ungogo\",\n \"Warawa\",\n \"Wudil\",\n ],\n },\n {\n name: \"Katsina\",\n localGovernments: [\n \"Bakori\",\n \"Batagarawa\",\n \"Batsari\",\n \"Baure\",\n \"Bindawa\",\n \"Charanchi\",\n \"Dandume\",\n \"Danja\",\n \"Dan Musa\",\n \"Daura\",\n \"Dutsi\",\n \"Dutsin-Ma\",\n \"Faskari\",\n \"Funtua\",\n \"Ingawa\",\n \"Jibia\",\n \"Kafur\",\n \"Kaita\",\n \"Kankara\",\n \"Kankia\",\n \"Katsina\",\n \"Kurfi\",\n \"Kusada\",\n \"Mai'Adua\",\n \"Malumfashi\",\n \"Mani\",\n \"Mashi\",\n \"Matazuu\",\n \"Musawa\",\n \"Rimi\",\n \"Sabuwa\",\n \"Safana\",\n \"Sandamu\",\n \"Zango\",\n ],\n },\n {\n name: \"Kebbi\",\n localGovernments: [\n \"Aleiro\",\n \"Arewa-Dandi\",\n \"Argungu\",\n \"Augie\",\n \"Bagudo\",\n \"Birnin Kebbi\",\n \"Bunza\",\n \"Dandi\",\n \"Fakai\",\n \"Gwandu\",\n \"Jega\",\n \"Kalgo\",\n \"Koko/Besse\",\n \"Maiyama\",\n \"Ngaski\",\n \"Sakaba\",\n \"Shanga\",\n \"Suru\",\n \"Wasagu/Danko\",\n \"Yauri\",\n \"Zuru\",\n ],\n },\n {\n name: \"Kogi\",\n localGovernments: [\n \"Adavi\",\n \"Ajaokuta\",\n \"Ankpa\",\n \"Bassa\",\n \"Dekina\",\n \"Ibaji\",\n \"Idah\",\n \"Igalamela-Odolu\",\n \"Ijumu\",\n \"Kabba/Bunu\",\n \"Kogi\",\n \"Lokoja\",\n \"Mopa-Muro\",\n \"Ofu\",\n \"Ogori/Mangongo\",\n \"Okehi\",\n \"Okene\",\n \"Olamabolo\",\n \"Omala\",\n \"Yagba East\",\n \"Yagba West\",\n ],\n },\n {\n name: \"Kwara\",\n localGovernments: [\n \"Asa\",\n \"Baruten\",\n \"Edu\",\n \"Ekiti\",\n \"Ifelodun\",\n \"Ilorin East\",\n \"Ilorin West\",\n \"Irepodun\",\n \"Isin\",\n \"Kaiama\",\n \"Moro\",\n \"Offa\",\n \"Oke-Ero\",\n \"Oyun\",\n \"Pategi\",\n ],\n },\n {\n name: \"Lagos\",\n localGovernments: [\n \"Agege\",\n \"Ajeromi-Ifelodun\",\n \"Alimosho\",\n \"Amuwo-Odofin\",\n \"Apapa\",\n \"Badagry\",\n \"Epe\",\n \"Eti-Osa\",\n \"Ibeju/Lekki\",\n \"Ifako-Ijaye\",\n \"Ikeja\",\n \"Ikorodu\",\n \"Kosofe\",\n \"Lagos Island\",\n \"Lagos Mainland\",\n \"Mushin\",\n \"Ojo\",\n \"Oshodi-Isolo\",\n \"Shomolu\",\n \"Surulere\",\n ],\n },\n {\n name: \"Nasarawa\",\n localGovernments: [\n \"Akwanga\",\n \"Awe\",\n \"Doma\",\n \"Karu\",\n \"Keana\",\n \"Keffi\",\n \"Kokona\",\n \"Lafia\",\n \"Nasarawa\",\n \"Nasarawa-Eggon\",\n \"Obi\",\n \"Toto\",\n \"Wamba\",\n ],\n },\n {\n name: \"Niger\",\n localGovernments: [\n \"Agaie\",\n \"Agwara\",\n \"Bida\",\n \"Borgu\",\n \"Bosso\",\n \"Chanchaga\",\n \"Edati\",\n \"Gbako\",\n \"Gurara\",\n \"Katcha\",\n \"Kontagora\",\n \"Lapai\",\n \"Lavun\",\n \"Magama\",\n \"Mariga\",\n \"Mashegu\",\n \"Mokwa\",\n \"Muya\",\n \"Pailoro\",\n \"Rafi\",\n \"Rijau\",\n \"Shiroro\",\n \"Suleja\",\n \"Tafa\",\n \"Wushishi\",\n ],\n },\n {\n name: \"Ogun\",\n localGovernments: [\n \"Abeokuta North\",\n \"Abeokuta South\",\n \"Ado-Odo/Ota\",\n \"Yewa North\",\n \"Yewa South\",\n \"Ewekoro\",\n \"Ifo\",\n \"Ijebu East\",\n \"Ijebu North\",\n \"Ijebu North East\",\n \"Ijebu Ode\",\n \"Ikenne\",\n \"Imeko-Afon\",\n \"Ipokia\",\n \"Obafemi-Owode\",\n \"Ogun Waterside\",\n \"Odeda\",\n \"Odogbolu\",\n \"Remo North\",\n \"Shagamu\",\n ],\n },\n {\n name: \"Ondo\",\n localGovernments: [\n \"Akoko North East\",\n \"Akoko North West\",\n \"Akoko South Akure East\",\n \"Akoko South West\",\n \"Akure North\",\n \"Akure South\",\n \"Ese-Odo\",\n \"Idanre\",\n \"Ifedore\",\n \"Ilaje\",\n \"Ile-Oluji\",\n \"Okeigbo\",\n \"Irele\",\n \"Odigbo\",\n \"Okitipupa\",\n \"Ondo East\",\n \"Ondo West\",\n \"Ose\",\n \"Owo\",\n ],\n },\n {\n name: \"Osun\",\n localGovernments: [\n \"Aiyedade\",\n \"Aiyedire\",\n \"Atakumosa East\",\n \"Atakumosa West\",\n \"Boluwaduro\",\n \"Boripe\",\n \"Ede North\",\n \"Ede South\",\n \"Egbedore\",\n \"Ejigbo\",\n \"Ife Central\",\n \"Ife East\",\n \"Ife North\",\n \"Ife South\",\n \"Ifedayo\",\n \"Ifelodun\",\n \"Ila\",\n \"Ilesha East\",\n \"Ilesha West\",\n \"Irepodun\",\n \"Irewole\",\n \"Isokan\",\n \"Iwo\",\n \"Obokun\",\n \"Odo-Otin\",\n \"Ola-Oluwa\",\n \"Olorunda\",\n \"Oriade\",\n \"Orolu\",\n \"Osogbo\",\n ],\n },\n {\n name: \"Oyo\",\n localGovernments: [\n \"Afijio\",\n \"Akinyele\",\n \"Atiba\",\n \"Atisbo\",\n \"Egbeda\",\n \"Ibadan Central\",\n \"Ibadan North\",\n \"Ibadan North West\",\n \"Ibadan South East\",\n \"Ibadan South West\",\n \"Ibarapa Central\",\n \"Ibarapa East\",\n \"Ibarapa North\",\n \"Ido\",\n \"Irepo\",\n \"Iseyin\",\n \"Itesiwaju\",\n \"Iwajowa\",\n \"Kajola\",\n \"Lagelu Ogbomosho North\",\n \"Ogbomosho South\",\n \"Ogo Oluwa\",\n \"Olorunsogo\",\n \"Oluyole\",\n \"Ona-Ara\",\n \"Orelope\",\n \"Ori Ire\",\n \"Oyo East\",\n \"Oyo West\",\n \"Saki East\",\n \"Saki West\",\n \"Surulere\",\n ],\n },\n {\n name: \"Plateau\",\n localGovernments: [\n \"Barikin Ladi\",\n \"Bassa\",\n \"Bokkos\",\n \"Jos East\",\n \"Jos North\",\n \"Jos South\",\n \"Kanam\",\n \"Kanke\",\n \"Langtang North\",\n \"Langtang South\",\n \"Mangu\",\n \"Mikang\",\n \"Pankshin\",\n \"Qua'an Pan\",\n \"Riyom\",\n \"Shendam\",\n \"Wase\",\n ],\n },\n {\n name: \"Rivers\",\n localGovernments: [\n \"Abua/Odual\",\n \"Ahoada East\",\n \"Ahoada West\",\n \"Akuku Toru\",\n \"Andoni\",\n \"Asari-Toru\",\n \"Bonny\",\n \"Degema\",\n \"Emohua\",\n \"Eleme\",\n \"Etche\",\n \"Gokana\",\n \"Ikwerre\",\n \"Khana\",\n \"Obio/Akpor\",\n \"Ogba/Egbema/Ndoni\",\n \"Ogu/Bolo\",\n \"Okrika\",\n \"Omumma\",\n \"Opobo/Nkoro\",\n \"Oyigbo\",\n \"Port-Harcourt\",\n \"Tai\",\n ],\n },\n {\n name: \"Sokoto\",\n localGovernments: [\n \"Binji\",\n \"Bodinga\",\n \"Dange-shnsi\",\n \"Gada\",\n \"Goronyo\",\n \"Gudu\",\n \"Gawabawa\",\n \"Illela\",\n \"Isa\",\n \"Kware\",\n \"kebbe\",\n \"Rabah\",\n \"Sabon birni\",\n \"Shagari\",\n \"Silame\",\n \"Sokoto North\",\n \"Sokoto South\",\n \"Tambuwal\",\n \"Tqngaza\",\n \"Tureta\",\n \"Wamako\",\n \"Wurno\",\n \"Yabo\",\n ],\n },\n {\n name: \"Taraba\",\n localGovernments: [\n \"Ardo-kola\",\n \"Bali\",\n \"Donga\",\n \"Gashaka\",\n \"Cassol\",\n \"Ibi\",\n \"Jalingo\",\n \"Karin-Lamido\",\n \"Kurmi\",\n \"Lau\",\n \"Sardauna\",\n \"Takum\",\n \"Ussa\",\n \"Wukari\",\n \"Yorro\",\n \"Zing\",\n ],\n },\n {\n name: \"Yobe\",\n localGovernments: [\n \"Bade\",\n \"Bursari\",\n \"Damaturu\",\n \"Fika\",\n \"Fune\",\n \"Geidam\",\n \"Gujba\",\n \"Gulani\",\n \"Jakusko\",\n \"Karasuwa\",\n \"Karawa\",\n \"Machina\",\n \"Nangere\",\n \"Nguru Potiskum\",\n \"Tarmua\",\n \"Yunusari\",\n \"Yusufari\",\n ],\n },\n {\n name: \"Zamfara\",\n localGovernments: [\n \"Anka\",\n \"Bakura\",\n \"Birnin Magaji\",\n \"Bukkuyum\",\n \"Bungudu\",\n \"Gummi\",\n \"Gusau\",\n \"Kaura\",\n \"Namoda\",\n \"Maradun\",\n \"Maru\",\n \"Shinkafi\",\n \"Talata Mafara\",\n \"Tsafe\",\n \"Zurmi\",\n ],\n },\n];\n","import React, { useState, Dispatch, SetStateAction, useEffect } from \"react\";\nimport { Alert, Button, Form, Input, Select } from \"antd\";\nimport { nigerianStateData } from \"../../../../../../helpers/nigerianStatesAndLga\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\ninterface ResidentialInformationProps {\n setError: Dispatch>;\n error: string;\n aggregator_id: number;\n customer_id: number;\n setCurrentStep?: Dispatch>;\n handleNext?: () => void;\n existingDirectDebitAccountData?: any;\n encryptedKey: string;\n isLoanRequest?: boolean;\n setShowResidentialInfo?: Dispatch>;\n setShowPin?: Dispatch>;\n}\n\nfunction ResidentialInformation({\n error,\n setError,\n aggregator_id,\n customer_id,\n setCurrentStep,\n handleNext,\n existingDirectDebitAccountData,\n encryptedKey,\n isLoanRequest,\n setShowResidentialInfo,\n setShowPin,\n}: ResidentialInformationProps) {\n const [form] = Form.useForm();\n const [isLoading, setIsLoading] = useState(false);\n const [filteredStateValues, setFilteredStateValues] = useState([]);\n\n const widgetState = useSelector(\n (store: ReduxStoreModel) => store.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const selectedLoanDetails = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n\n useEffect(() => {\n if (isLoanRequest) {\n MixPanel.track(`Page View: LoanRequestResidentialInformation.tsx`, {\n page: \"LoanRequestResidentialInformation.tsx - (Widget)\",\n });\n } else {\n MixPanel.track(`Page View: ResidentialInformation.tsx`, {\n page: \"ResidentialInformation.tsx - (Widget)\",\n });\n }\n }, []);\n\n const handleSetSelectedLoan = (name: string) => {\n const response = nigerianStateData?.find((state) => state.name === name);\n setFilteredStateValues(response);\n };\n\n function handleBackNavigation() {\n const isDirectDebit = widgetState?.isDirectDebit;\n const hasBankAccount =\n existingDirectDebitAccountData?.bank_accounts?.length > 0;\n\n if (isLoanRequest && setCurrentStep) {\n if (isDirectDebit && hasBankAccount) {\n setCurrentStep(2);\n } else if (isDirectDebit && !hasBankAccount) {\n setCurrentStep(7);\n } else {\n setCurrentStep(4);\n }\n } else if (setShowResidentialInfo) {\n setShowResidentialInfo(false);\n }\n }\n\n const onSubmit = async (values: {\n state: string;\n lga: string;\n address: string;\n }) => {\n setError(\"\");\n setIsLoading(true);\n\n const payload = {\n state: values.state,\n lga: values.lga,\n street_address: values.address,\n customer_id: customer_id,\n };\n try {\n const response = await postDataWithKey(\n `${apiEndpoints.createResidentialInformationWidget}?aggregator_id=${aggregator_id}`,\n payload,\n //@ts-ignore\n encryptedKey,\n );\n\n if (response.status) {\n if (handleNext) {\n handleNext();\n } else if (setShowPin && setShowResidentialInfo) {\n setShowResidentialInfo(false);\n\n setShowPin(true);\n }\n }\n } catch (error) {\n setError(error?.response?.data?.message ?? error?.message);\n if (isLoanRequest) {\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${selectedLoanDetails.loan_amount}`,\n \"loan tenor\": `${selectedLoanDetails.loan_tenure}`,\n \"product name\": `${selectedLoanDetails.product_name}`,\n \"loan status\": `Failed: Error adding residential information`,\n step: \"LoanRequestResidentialInformation\",\n });\n }\n } finally {\n setIsLoading(false);\n }\n };\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n <>\n {error && (\n
\n {\n if (setError) {\n setError(\"\");\n }\n }}\n />\n
\n )}\n\n

Residential Information

\n

Kindly provide us with your residential information

\n\n onSubmit(values)}\n >\n \n {\n handleSetSelectedLoan(val);\n }}\n >\n {nigerianStateData &&\n nigerianStateData?.map((state) => (\n \n {state.name}\n \n ))}\n \n \n\n \n \n \n\n \n \n \n\n \n
\n \n Go Back\n

\n \n Submit\n \n
\n \n \n \n );\n}\n\nexport default ResidentialInformation;\n","import { useQuery } from \"react-query\";\nimport { getData, getDataWithKey } from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\n\nasync function checkResidentialInfoStatus({\n customer_id,\n}: {\n customer_id: number;\n}) {\n const response = await getData(\n `${apiEndpoints.confirmResidentialAddress}?customer_id=${customer_id}`,\n );\n\n return response.data;\n}\n\nasync function checkResidentialInfoStatusWidget({\n customer_id,\n aggregator_id,\n}: {\n customer_id: number;\n aggregator_id: number;\n}) {\n const response = await getDataWithKey(\n `${apiEndpoints.confirmResidentialAddressWidget}?customer_id=${customer_id}&aggregator_id=${aggregator_id}`,\n );\n\n return response.data;\n}\n\nexport function useFetchCustomerResidentialInfoStatus({\n customer_id,\n}: {\n customer_id: number;\n}) {\n return useQuery(\n [{ customer_id }, \"checkResidentialInfoStatus\"],\n checkResidentialInfoStatus,\n {\n enabled: customer_id ? true : false,\n },\n );\n}\n\nexport function useFetchCustomerResidentialInfoStatusWidget({\n customer_id,\n aggregator_id,\n}: {\n customer_id: number;\n aggregator_id: number;\n}) {\n return useQuery(\n [{ customer_id, aggregator_id }, \"checkResidentialInfoStatusWidget\"],\n checkResidentialInfoStatusWidget,\n {\n enabled: customer_id && aggregator_id ? true : false,\n },\n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { Alert, Form, Input, InputNumber, message, Select } from \"antd\";\nimport { ROUTES } from \"../../../../helpers/ROUTES\";\nimport user from \"../../../../assets/profile/user.svg\";\nimport SetPinComponent from \"../SetPinComponent\";\nimport { SuccessComponent } from \"../SuccessComponent\";\nimport { getDataWithKey, postDataWithKey } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport CONFIG from \"../../../../helpers/config\";\nimport { errorHandler, errorToast } from \"../../../../helpers/errorHandler\";\nimport { appInsights } from \"../../../AppInsight/AppInsight\";\nimport styles from \"./Withdrawal.module.scss\";\nimport CompleteVirtualAccountModal from \"../Dashboard/components/CompleteVirtualAccountModal\";\nimport useFetchWalletDetails from \"../../../../custom-hooks/useFetchWallet\";\nimport { formatMoney } from \"../../../../helpers/formatCurrency\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport ResidentialInformation from \"../Loans/components/LoanRequests/ResidentialInformation\";\nimport { useFetchCustomerResidentialInfoStatusWidget } from \"../../../../custom-hooks/useFetchCustomerResidentialInfoStatus\";\nimport advLogo from \"../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../assets/loadinggif.gif\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nconst WithdrawalComponent = () => {\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const history = useHistory();\n const [form] = Form.useForm();\n const [amount, setAmount] = useState(\"\");\n const [withdrawalData, setWithdrawalData] = useState({\n recipient_bank_code: \"\",\n recipient_account_number: \"\",\n pin: \"\",\n comment: \"\",\n });\n const [accountName, setAccountName] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n const [loadingAccount, setLoadingAccount] = useState(false);\n const [showPin, setShowPin] = useState(false);\n const [showBank, setShowBank] = useState(false);\n const [showResidentialInfo, setShowResidentialInfo] = useState(false);\n const [showSuccess, setShowSuccess] = useState(false);\n const [WalletConsentIsLoading, setWalletConsentIsLoading] = useState(false);\n const [WalletConsentDetails, setWalletConsentDetails] = useState();\n const [withdrawalError, setWithdrawalError] = useState(\"\");\n const [pinCount, setPinCount] = useState(\"\");\n\n const {\n data: fetchWalletDetailsdata,\n isLoading: isLoadingFetchWalletDetails,\n refetch: refetchFetchWalletdetails,\n } = useFetchWalletDetails({\n borrowerId: borrowerDetails?.customer_id,\n aggregatorId: borrowerDetails?.aggregator_id,\n });\n\n const {\n data: residentialInfoStatus,\n isLoading: isLoadingResidentialInfoStatus,\n } = useFetchCustomerResidentialInfoStatusWidget({\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Withdrawal.component.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Withdrawal.tsx`, {\n page: \"Withdrawal.tsx - (Widget)\",\n });\n }, []);\n\n async function fetchWalletConsent() {\n setWalletConsentIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getWalletConsent}?borrower_id=${borrowerDetails.customer_id}&aggregator_id=${borrowerDetails.aggregator_id}`,\n );\n if (response.data) {\n setWalletConsentDetails(response.data);\n }\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: WithdrawalComponent },\n });\n }\n setWalletConsentIsLoading(false);\n }\n\n useEffect(() => {\n if (borrowerDetails.customer_id && borrowerDetails.aggregator_id) {\n refetchFetchWalletdetails();\n fetchWalletConsent();\n }\n // eslint-disable-next-line\n }, [borrowerDetails.customer_id, borrowerDetails.aggregator_id]);\n\n const fetchAccountName = async () => {\n setLoadingAccount(true);\n try {\n const response = await fetch(\n CONFIG.BASE_URL + \"/account/validate_bank_account/\",\n {\n method: \"POST\",\n headers: {\n \"Content-type\": \"application/json\",\n \"Content-Security-Policy\":\n \"default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'\",\n },\n body: JSON.stringify({\n bank_code: withdrawalData.recipient_bank_code,\n bank_account_num: withdrawalData.recipient_account_number,\n }),\n },\n );\n if (!response.ok) {\n setWithdrawalError(\n \"Bank account number verification failed. Please check and try again.\",\n );\n }\n const data = await response.json();\n setAccountName(data.bank_account_name);\n } catch (error) {\n setWithdrawalError(errorHandler(error?.message));\n } finally {\n setLoadingAccount(false);\n }\n };\n\n useEffect(() => {\n if (\n withdrawalData.recipient_bank_code !== \"\" &&\n withdrawalData.recipient_account_number?.length === 10\n ) {\n fetchAccountName();\n }\n // eslint-disable-next-line\n }, [\n withdrawalData.recipient_account_number,\n withdrawalData.recipient_bank_code,\n ]);\n\n async function handleWithdraw() {\n setIsLoading(true);\n\n try {\n await postDataWithKey(\n apiEndpoints.withdrawFunds,\n {\n sender_account_number: fetchWalletDetailsdata?.accountNumber,\n sender_wallet_id: fetchWalletDetailsdata?.walletId,\n aggregator_id: borrowerDetails?.aggregator_id,\n borrower_id: borrowerDetails?.customer_id,\n recipient_account_number: withdrawalData?.recipient_account_number,\n recipient_bank_code: withdrawalData?.recipient_bank_code,\n amount: Number(amount),\n pin: withdrawalData?.pin,\n wallet_provider: fetchWalletDetailsdata?.walletProviderId,\n comment: withdrawalData.comment,\n },\n // @ts-ignore\n borrowerDetails?.returningUserDetails?.encryptedKey,\n );\n MixPanel.track(\"Wallet Withdrawal\", {\n distinct_id: `${borrowerDetails?.email}`,\n amount: Number(amount),\n status: \"Withdrawal SuccessFul\",\n product: \"Embed Widget\",\n });\n setShowPin(false);\n\n setShowSuccess(true);\n } catch (error) {\n // message.error(errorHandler(error));\n setWithdrawalError(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: WithdrawalComponent },\n });\n\n MixPanel.track(\"Wallet Withdrawal\", {\n distinct_id: `${borrowerDetails?.email}`,\n amount: Number(amount),\n status: `Failed: ${errorHandler(error)}`,\n product: \"Embed Widget\",\n });\n }\n setIsLoading(false);\n }\n\n if (\n isLoading ||\n isLoadingFetchWalletDetails ||\n isLoadingResidentialInfoStatus\n ) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n if (showResidentialInfo) {\n return (\n \n );\n }\n\n if (showPin) {\n return (\n {\n handleWithdraw();\n }}\n handleGoBack={() => setShowPin(false)}\n setValue={(value) =>\n setWithdrawalData({ ...withdrawalData, pin: value?.toString() })\n }\n label=\"\"\n />\n );\n }\n\n const handleFinish = () => {\n if (!withdrawalError) {\n if (!residentialInfoStatus) {\n setShowResidentialInfo(true);\n } else {\n setShowPin(true);\n }\n }\n };\n\n if (showSuccess) {\n return (\n history.push(ROUTES.widgetDashboard)}\n btnText=\"Done\"\n type=\"success\"\n />\n );\n }\n\n const withdrawAmount = () => {\n return (\n
\n {fetchWalletDetailsdata?.accountStatus === \"InActive\" && (\n
\n {WalletConsentIsLoading ? (\n

Loading...

\n ) : (\n
\n

\n {\" \"}\n \n \n Complete your virtual account setup
before you can\n make withdrawal\n
\n

\n
\n {WalletConsentDetails?.status === false && (\n \n Proceed \n \n )}\n
\n
\n )}\n
\n )}\n\n
setShowBank(true)}>\n {withdrawalError && (\n setWithdrawalError(\"\")}\n />\n )}\n \n {/* setAmount(e.target.value)} />*/}\n
\n \n ` ${value}`.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\")\n }\n parser={(value) => value!.replace(/\\$\\s?|(,*)/g, \"\")}\n onChange={(amount: any) => setAmount(amount)}\n style={{ width: \"100%\" }}\n value={amount}\n />\n {amount > fetchWalletDetailsdata?.availableBalance && (\n \n Total amount is bigger than available balance\n \n )}\n

\n Available Balance:{\" \"}\n {fetchWalletDetailsdata?.availableBalance === 0 ||\n fetchWalletDetailsdata?.availableBalance > 0 ? (\n \n {formatMoney(\n fetchWalletDetailsdata?.availableBalance,\n fetchWalletDetailsdata?.currency,\n )}\n \n ) : (\n \"Unavailable\"\n )}\n

\n \n Transaction Charge:{\" \"}\n {fetchWalletDetailsdata?.transferCharge\n ? formatMoney(\n fetchWalletDetailsdata?.transferCharge,\n fetchWalletDetailsdata?.currency,\n )\n : \"Unavailable\"}\n \n
\n \n\n \n
\n history.push(ROUTES.widgetDashboard)}\n >\n Go Back\n

\n fetchWalletDetailsdata?.availableBalance ||\n !amount\n }\n >\n Next\n \n
\n
\n \n \n \n );\n };\n\n const bank = () => {\n return (\n
\n {withdrawalError && (\n setWithdrawalError(\"\")}\n />\n )}\n

Where would you like to withdraw into?

\n
\n \n {\n setWithdrawalData({\n ...withdrawalData,\n recipient_bank_code: value,\n });\n setWithdrawalError(\"\");\n }}\n showSearch\n filterOption={(input, option) =>\n (option?.label ?? \"\")\n .toLowerCase()\n .includes(input.toLowerCase())\n }\n options={\n widgetSettings?.bankList &&\n widgetSettings?.bankList.map((item) => ({\n label: item.name,\n value: item.code,\n }))\n }\n >\n {widgetSettings?.bankList &&\n widgetSettings?.bankList?.length > 0 &&\n widgetSettings?.bankList.map((item) => (\n {item.name}\n ))}\n \n \n \n {\n setWithdrawalData({\n ...withdrawalData,\n recipient_account_number: e.target.value,\n });\n setWithdrawalError(\"\");\n }}\n />\n \n\n
\n \n \n {loadingAccount ? \"Loading....\" : accountName}\n \n
\n\n \n \n setWithdrawalData({\n ...withdrawalData,\n comment: e.target.value,\n })\n }\n />\n \n\n \n
\n {\n setWithdrawalError(\"\");\n setShowBank(false);\n }}\n >\n Go Back\n

\n \n Next\n \n
\n
\n \n \n );\n };\n\n return (\n
\n

Withdraw

\n {!showBank ? withdrawAmount() : bank()}\n
\n );\n};\n\nexport default WithdrawalComponent;\n","var _circle, _path;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nfunction SvgSuccessIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 80,\n height: 80,\n viewBox: \"0 0 80 80\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 40,\n cy: 40,\n r: 40,\n fill: \"#27BE63\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M34.9998 47.9303L57.9798 24.9478L61.5173 28.4828L34.9998 55.0002L19.0898 39.0903L22.6248 35.5553L34.9998 47.9303Z\",\n fill: \"white\"\n })));\n}\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSuccessIcon);\nexport default __webpack_public_path__ + \"static/media/success-icon.ede485d9.svg\";\nexport { ForwardRef as ReactComponent };","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getDotNetDataWithKey } from \"../apis/apiMethods\";\n\nconst getSavedPaystackDetails = async ({\n aggregator_id,\n bvn_number,\n encryptedKey,\n}) => {\n const data = await getDotNetDataWithKey(\n `${apiEndpoints.paystackInfo}?aggregator_id=${aggregator_id}&bvn_number=${bvn_number}`,\n );\n return data.data;\n};\n\nexport default function useSavedPaystackDetails({\n aggregator_id,\n bvn_number,\n encryptedKey,\n}) {\n return useQuery(\n [{ aggregator_id, bvn_number, encryptedKey }, \"getSavedPaystackDetails\"],\n getSavedPaystackDetails,\n );\n}\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\n\nexport default function WidgetBackButton({ onClick, text }) {\n const history = useHistory();\n return (\n {\n onClick ? onClick() : history.goBack();\n }}\n >\n
{text ? text : \"Go Back\"}
\n \n );\n}\n","import React, { Fragment, useRef, useState } from \"react\";\nimport { useHistory } from \"react-router\";\nimport CustomWidgetButton from \"../../CustomWidgetElements/CustomWidgetButton.component\";\nimport { PaystackConsumer } from \"react-paystack\";\nimport { paystackConfig } from \"../../../helpers/thirdPartyConfig\";\nimport { putDotNetDataWithKey } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { errorHandler } from \"./../../../helpers/errorHandler\";\nimport { ReactComponent as SuccessIcon } from \"../../../assets/success-icon.svg\";\nimport AdvanclyLogo from \"../../../assets/advancly-logo-white.png\";\n\nimport VisaIcon from \"../../../assets/visa.svg\";\nimport MastercardIcon from \"../../../assets/mastercard.svg\";\nimport VerveIcon from \"../../../assets/verve.svg\";\nimport useSavedPaystackDetails from \"../../../custom-hooks/useSavedPaystackDetails\";\nimport styles from \"./UpdateCardDetails.module.scss\";\nimport { useQueryCache } from \"react-query\";\nimport WidgetInnerPageLoader from \"../WidgetInnerPageLoader/WidgetInnerPageLoader.component\";\nimport WidgetCustomTitle from \"../WidgetCustomTitle/WidgetCustomTitle.component\";\nimport WidgetBackButton from \"../WidgetBackButton/WidgetBackButton.component\";\nimport { useSelector } from \"react-redux\";\n\nexport default function UpdateCardDetails() {\n const widgetSettings = useSelector((state) => state.widgetSettingsReducer);\n const borrowerDetails = useSelector((state) => state.borrowerDetailsReducer);\n\n const { aggregator_id, email, bvn_number } = borrowerDetails;\n const { encryptedKey, customStyles } = widgetSettings;\n const history = useHistory();\n const paystackRef = useRef();\n const [success, setSuccess] = useState(\"\");\n const [error, setError] = useState(\"\");\n const [loading, setLoading] = useState(false);\n\n const queryCache = useQueryCache();\n\n const { data, isLoading } = useSavedPaystackDetails({\n aggregator_id: aggregator_id,\n bvn_number: bvn_number,\n encryptedKey,\n });\n\n const openPaystackWidget = () => {\n paystackRef.current.click();\n };\n\n const onPaystackSuccess = async ({ reference, trans }) => {\n // Make backend call here\n try {\n setError(\"\");\n setSuccess(\"\");\n setLoading(true);\n\n const reqBody = {\n aggregator_id: aggregator_id,\n bvn_number: bvn_number,\n paystack_reference: reference,\n paystack_transaction: trans,\n reason: \"\",\n };\n\n await putDotNetDataWithKey(\n apiEndpoints.paystackInfo,\n reqBody,\n encryptedKey\n );\n setLoading(false);\n setSuccess(\"Card Updated\");\n queryCache.invalidateQueries([\n {\n aggregator_id: aggregator_id,\n bvn_number: bvn_number,\n encryptedKey,\n },\n \"getSavedPaystackDetails\",\n ]);\n } catch (error) {\n setError(errorHandler(error));\n setLoading(false);\n }\n };\n const onPaystackClose = () => {};\n\n const paystackComponentProps = {\n ...paystackConfig({\n email: email,\n amount: 5000, // 50 naira is 5000 kobo\n }),\n onSuccess: (reference) => {\n onPaystackSuccess(reference);\n },\n onClose: onPaystackClose,\n };\n\n const cardImage = () => {\n const cardType = data?.card_type.toLowerCase().trim();\n return cardType?.includes(\"mastercard\") ? (\n \"logo\"\n ) : cardType?.includes(\"visa\") ? (\n \"logo\"\n ) : cardType?.includes(\"verve\") ? (\n \"logo\"\n ) : null;\n };\n\n if (loading || isLoading) {\n return ;\n }\n\n return (\n
\n {success ? (\n
\n \n
\n \n
\n {success}\n
\n
\n
\n history.goBack()}\n loading={loading}\n disabled={loading}\n />\n
\n
\n ) : (\n \n {error && (\n

\n {errorHandler(error)}\n

\n )}\n \n\n
\n
\n {data?.last_four_digits ? (\n \n {cardImage()}\n ****{data?.last_four_digits}\n \n ) : (\n
\n No Saved Card\n
\n )}\n
\n
\n\n
\n \n \n
\n\n \n {({ initializePayment }) => (\n \n initializePayment(onPaystackSuccess, onPaystackClose)\n }\n className=\"d-none\"\n />\n )}\n \n
\n )}\n
\n );\n}\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH8AAAAYCAYAAADTTCLxAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5ggFASsqp263RAAADQ9JREFUaN7tmnuw1VUVxz/rd+69vIQEH4yGhCIaSGmB+CDFGsExxQeaIgKaitpzYMYa0syK1NAccdRRSVGRZPJBEk7akMYVyBcCIomEJWpTQoov3txzVn+stc5vnx/3wr0UzTjTnjlzfo+99mM9v2vtn9CGNmGIgiIqIAoqiECm0CQKCogwVOEbAkc52fMo16vwIlACyigy5RnRtszd2qaqiAiqCiDxXEQ03n2Sm+8r9rjd/uJda1pdazqNH6K4vPGLTAUBmoCKQEeEMwXGKRwnSlZdrD0/SZSRCHNQSiqUdyN/BNdDTNkAKsmz3aJ0/8MWktVkfwqU27q/HQp/whBFQao2KpREqfhEAD2AsQoXCfRGfXZb3qvAfqJ0VaGjwHSgj8J7AhkmkN3RNPlvauHdJ7mle/iP9red8McPMfuuunGTZ+YTxWRHC1yMMkKFbq6KTSqsB+YBd1Yy5mYVequwUJS9VNgTGArMVNPY3SX80P5uwDVAe2Cmr8vCzie7pZY/ETgQeB6YR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ZC2EQORxVbx+fd3RQ+lfAs4Dks7T8YPxbDs6klf4zZy634Uq+o94/0iQyhhZeRGLLdfm+yvAoiIl2niDL9wXlYvSpMKXwBe9Mrfx77Zd4CvYSCwomIHCgKdYww368miTFRTAhXg5sbqUWNUnXb2YUfN++QTrV2lq7lOWzOff0Usb/U3AM2NvbO527Cnap/iOIUxosr3Coa9foGFjjo8XRYRS2GmNMbxTa4Ibx/A1p5vURLlJRXmYC65iyizVHgEGCf5QpcC5ymMQDgQs+YnRHkhEbwWFlo82UuPOdMj0Qp5qpUei+4qHQXaaIEN0rPwolcMzxHHouVkznSMrJlnxbnTY+rm9hS0FO5TvlVLt36EG8JvwkBedyxE3JWOH+lmsznq+CGKf6RZEkVV6E8g9poTYsoqlDCQdRdUP+7ww3JKcQ4AyJTG7T/a/C98zNFmuuY+3Ej7FD6uoDXjF8Zo7qOQdO6aMVu5p5rj55b24K0eCz19sNh/DskJXwi/WTAypVEQRcSEG1W2USp8UF0G9g0AcCsZU8lBTxX8qFCJk19aQL0igoho8r/DX0Kzy3TB8Jb6FNbWqvELY+xsbnZhT+m77fZA7gkUA8N9/PqWRJGqgocdV67MRbh1izJThUUKoxAOxVz7YyhP+cFvGVC1I2CmzBMdf4Jy87w2fQX1/7brLQ1R4zD5LcQAZbyraf8GdUKEWPnTkisAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMDVUMDE6NDI6MzQrMDA6MDBCTjYrAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTA1VDAxOjQyOjM0KzAwOjAwMxOOlwAAAABJRU5ErkJggg==\"","export default __webpack_public_path__ + \"static/media/user.ff10bb2e.svg\";","export default __webpack_public_path__ + \"static/media/bag.c58d2d5d.svg\";","export default __webpack_public_path__ + \"static/media/info-circle-loan.2b303758.svg\";","// src/custom-hooks/useBankStatementProvider.ts\nimport { useState, useRef } from \"react\";\nimport { message } from \"antd\";\nimport { useDispatch } from \"react-redux\";\nimport Okra from \"okra-js\";\nimport MonoConnect from \"@mono.co/connect.js\";\nimport { appInsights } from \"../components/AppInsight/AppInsight\";\nimport {\n updateBorrowerDetailsAction,\n updateWidgetSettingsAction,\n} from \"../redux/actions\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { putDotNetDataWithKey } from \"../apis/apiMethods\";\nimport CONFIG from \"../helpers/config\";\nimport { IBorrowerData } from \"../interfaces/borrower\";\n\ninterface UseBankStatementProviderProps {\n borrowerDetails: IBorrowerData;\n bankStatementLinkedStatus: any;\n}\n\nconst useBankStatementProvider = ({\n borrowerDetails,\n bankStatementLinkedStatus,\n}: UseBankStatementProviderProps) => {\n const dispatch = useDispatch();\n const accountLinkSuccessRef = useRef(null);\n const monoWidgetData = useRef({\n opened: false,\n opened_dateTimeStamp: null as number | null,\n customer_email: \"\",\n is_institution_selected: false,\n selected_institution_name: null as string | null,\n institution_selected_dateTimeStamp: null as number | null,\n });\n const [isSavingProvider, setIsSavingProvider] = useState(false);\n\n const handleSaveCustomerCode = async (\n code: string,\n provider: \"okra\" | \"mono\"\n ) => {\n const reqBody = {\n bank_statement_provider_id: provider === \"okra\" ? 1 : 2,\n bank_statement_provider_customer_code: provider === \"okra\" ? code : \"\",\n authentication_code: provider === \"mono\" ? code : \"\",\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n };\n\n try {\n setIsSavingProvider(true);\n await putDotNetDataWithKey(\n apiEndpoints.saveBankStatementProvider,\n reqBody\n );\n message.success(\"Bank provider details saved successfully\");\n dispatch(\n updateBorrowerDetailsAction({\n bank_statement_connected: bankStatementLinkedStatus?.status,\n })\n );\n } catch (error) {\n console.log(error);\n appInsights.trackException({\n exception: new Error(JSON.stringify(error)),\n properties: { fileName: \"LoanRequestStepFour.tsx\" },\n });\n message.error(\"Something went wrong please try again\");\n } finally {\n setIsSavingProvider(false);\n }\n };\n\n const handleLaunchOkraWidget = () => {\n if (!CONFIG.OKRA_PUBLIC_KEY || !CONFIG.OKRA_CLIENT_TOKEN) {\n return message.error(\"Update Config for Okra\");\n }\n dispatch(\n updateWidgetSettingsAction({\n bankStatementWidgetOpened: true,\n })\n );\n Okra.buildWithOptions({\n name: \"ADVANCLY\",\n env: CONFIG.OKRA_ENV,\n app_id: \"\", // app_id from your app builder\n key: CONFIG.OKRA_PUBLIC_KEY,\n token: CONFIG.OKRA_CLIENT_TOKEN,\n products: [\"auth\", \"transactions\"], //others are ['auth','identity','balance','transactions', 'income'](in lowercase)\n onSuccess: (data: any) => {\n console.log(\"options success\", data);\n handleSaveCustomerCode(data?.customer_id, \"okra\");\n },\n onClose: () => {\n console.log(\"options close\");\n },\n });\n };\n\n const monoConnect = () => {\n const customer = {\n name: `${borrowerDetails?.first_name} ${borrowerDetails?.last_name}`,\n email: borrowerDetails?.email,\n };\n if (!CONFIG.MONO_PUBLIC_KEY) {\n return message.error(\"Update Config for Mono\");\n }\n dispatch(\n updateWidgetSettingsAction({\n bankStatementWidgetOpened: true,\n })\n );\n const monoInstance = new MonoConnect({\n onClose: () => {\n console.log(\"Widget closed\");\n appInsights.trackEvent({\n name: \"MonoWidgetData\",\n properties: {\n ...monoWidgetData.current,\n AccountLinkStatus: accountLinkSuccessRef.current,\n OutsideLoanProcess: true,\n },\n });\n },\n onLoad: () => console.log(\"Widget loaded successfully\"),\n key: CONFIG.MONO_PUBLIC_KEY,\n data: { customer },\n onSuccess: async (data: { code: string }) => {\n accountLinkSuccessRef.current = true;\n handleSaveCustomerCode(data?.code, \"mono\");\n },\n onEvent: (eventName: string, data: any) => {\n if (eventName === \"OPENED\") {\n monoWidgetData.current = {\n ...monoWidgetData.current,\n opened: true,\n opened_dateTimeStamp: data?.timestamp,\n customer_email: borrowerDetails?.email,\n };\n } else if (eventName === \"INSTITUTION_SELECTED\") {\n monoWidgetData.current = {\n ...monoWidgetData.current,\n is_institution_selected: true,\n selected_institution_name: data.institution.name,\n institution_selected_dateTimeStamp: data?.timestamp,\n };\n }\n },\n });\n\n monoInstance.setup();\n\n return monoInstance.open();\n };\n\n return {\n handleLaunchOkraWidget,\n monoConnect,\n accountLinkSuccessRef,\n monoWidgetData,\n isSavingProvider,\n };\n};\n\nexport default useBankStatementProvider;\n","import React, { useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { BiRightArrowAlt } from \"react-icons/bi\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { ROUTES } from \"../../../../helpers/ROUTES\";\nimport user from \"../../../../assets/loans/user.svg\";\nimport bag from \"../../../../assets/loans/bag.svg\";\nimport infoCircle from \"../../../../assets/web/info-circle-loan.svg\";\nimport styles from \"../../WidgetFlow.module.scss\";\nimport { deviceType } from \"react-device-detect\";\nimport { appInsights } from \"../../../AppInsight/AppInsight\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport useBankStatementProvider from \"../../../../custom-hooks/useBankStatementProvider\";\nimport useFetchBankStatementProviderStatus from \"../../../../custom-hooks/useFetchBankStatementProviderLinked\";\nimport useFetchUserExists from \"../../../../custom-hooks/useFetchUserExists\";\nimport mixpanel from \"mixpanel-browser\";\nimport loader from \"../../../../assets/loadinggif.gif\";\nimport advLogo from \"../../../../assets/advancly-logo-full.png\";\nimport redDot from \"../../../../assets/red-dot.svg\";\nimport useFetchWalletDetails from \"../../../../custom-hooks/useFetchWallet\";\nimport { useFetchPendingWidgetLoanOffer } from \"../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport { updateBorrowerDetailsAction } from \"../../../../redux/actions\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nconst LoansComponent = () => {\n const history = useHistory();\n const dispatch = useDispatch();\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const { data: userExistsData, isLoading: isLoadingUserExist } =\n useFetchUserExists({\n identity_number: borrowerDetails?.bvn_number,\n phone_number: borrowerDetails?.borrower_phone,\n aggregator_id: borrowerDetails?.aggregator_id,\n email: borrowerDetails?.email,\n business_registration_number:\n borrowerDetails?.business_registration_number,\n });\n\n const {\n data: bankStatementLinkedStatus,\n isLoading: isLoadingCheckBankStatementAuthStatus,\n } = useFetchBankStatementProviderStatus({\n aggregator_id: borrowerDetails?.aggregator_id,\n customer_id: borrowerDetails?.customer_id,\n bank_statement_provider_id:\n borrowerDetails?.bank_statement_provider_id ??\n userExistsData?.bank_statement_provider_id,\n });\n\n const { data: pendingLoanOffer } = useFetchPendingWidgetLoanOffer({\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n });\n\n const { data: walletDetails, isLoading: isLoadingWalletDetails } =\n useFetchWalletDetails({\n borrowerId: borrowerDetails?.customer_id,\n aggregatorId: borrowerDetails?.aggregator_id,\n });\n\n const {\n handleLaunchOkraWidget,\n monoConnect,\n accountLinkSuccessRef,\n monoWidgetData,\n isSavingProvider,\n } = useBankStatementProvider({ borrowerDetails, bankStatementLinkedStatus });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Loans.component.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Loan.tsx`, {\n page: \"Loan.tsx - (Widget)\",\n });\n }, []);\n\n const handleBankStatement = () => {\n if (!borrowerDetails?.bank_statement_connected) {\n if (borrowerDetails?.bank_statement_provider?.toLowerCase() === \"okra\") {\n handleLaunchOkraWidget();\n } else {\n monoConnect();\n }\n }\n };\n\n useEffect(() => {\n dispatch(\n updateBorrowerDetailsAction({\n bank_account_number: walletDetails?.accountNumber,\n }),\n );\n }, [isLoadingWalletDetails]);\n\n if (\n isLoadingUserExist ||\n isLoadingCheckBankStatementAuthStatus ||\n isLoadingWalletDetails\n ) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n
\n history.push(ROUTES.widgetDashboard)}\n className=\"cursor\"\n >\n \n
\n

Loans

\n
\n\n {isSavingProvider ? (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n ) : !borrowerDetails?.bank_statement_connected ? (\n
\n \"\"\n \n Link your bank statement to improve your credit eligibility\n \n \n
\n ) : null}\n\n history.push(ROUTES.widgetLoanRequest)}\n >\n
\n
\n \n \n
\n
\n

\n Request for new loan\n

\n \n Get a new loan offer\n \n
\n
\n\n \n \n \n
\n\n history.push(ROUTES.widgetLoanHistory)}\n >\n
\n \n \n \n
\n
\n

\n Loan History\n

\n See your loan offers\n
\n {pendingLoanOffer?.length > 0 && (\n \"\"\n )}\n \n\n \n \n \n
\n
\n \n );\n};\n\nexport default LoansComponent;\n","import React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { Button, Form, Input, InputNumber, Select } from \"antd\";\nimport { formatCurrency } from \"../../../../../../helpers/formatCurrency\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { Alert } from \"antd\";\nimport { errorHandler } from \"../../../../../../helpers/errorHandler\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { LoanProduct, TenorProps } from \"../../../../../../interfaces/loan\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { updateLoanDetailsAction } from \"../../../../../../redux/actions\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\ninterface LoanRequestStepTwoProps {\n loanProducts: LoanProduct[];\n isLoadingLoanProducts: boolean;\n handleGoBackAndClear: () => void;\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n encryptedKey: string;\n}\n\nconst LoanRequestStepTwo = ({\n loanProducts,\n isLoadingLoanProducts,\n handleGoBackAndClear,\n setCurrentStep,\n error,\n setError,\n encryptedKey,\n}: LoanRequestStepTwoProps) => {\n let location = useLocation();\n const dispatch = useDispatch();\n const [form] = Form.useForm();\n const [selectedLoanProductId, setSelectedLoanProductId] = useState<\n number | null\n >(null);\n const [tenorList, setTenorList] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const [customTenor, setCustomTenor] = useState(false);\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const selectedLoanDetails = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRequestStepTwo.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestStepOne.tsx`, {\n page: \"LoanRequestStepOne.tsx - (Widget)\",\n });\n }, []);\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n\n const handleSetSelectedLoan = (id: number) => {\n setSelectedLoanProductId(id);\n };\n\n const selectedProductTenor = () => {\n const result = loanProducts?.find((product: LoanProduct) => {\n const productId = product.id === selectedLoanProductId;\n return productId ? setTenorList(product.tenors) : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n selectedProductTenor();\n }, [selectedLoanProductId]);\n\n useEffect(() => {\n if (selectedLoanProductId) {\n const chosenProduct = loanProducts?.find(\n (product: LoanProduct) => product.id === selectedLoanProductId,\n );\n\n dispatch(\n updateLoanDetailsAction({\n id: chosenProduct?.id,\n maximum_tenor: chosenProduct?.maximum_tenor,\n maximum_amount: chosenProduct?.maximum_amount,\n aggregator_id: chosenProduct?.aggregator_id,\n product_name: chosenProduct?.product_name,\n repayment_type: chosenProduct?.repayment_type,\n loan_product_detail_id: chosenProduct?.loan_product_detail_id,\n }),\n );\n }\n }, [loanProducts, selectedLoanProductId]);\n\n const onSubmit = async (values: {\n productId: number;\n loanTenor: string;\n principalAmount: string;\n repaymentFrequency: string;\n }) => {\n setIsLoading(true);\n\n let principalAmount = Number(\n values.principalAmount.replace(/\\$\\s?|(,*)/g, \"\").trim(),\n );\n setError(\"\");\n\n const payload = {\n productId: Number(selectedLoanDetails?.id),\n loanTenor: Number(values.loanTenor),\n principalAmount: principalAmount,\n loan_name: selectedLoanDetails?.product_name,\n loanEffectiveDate: new Date(),\n aggregatorId: borrowerDetails.aggregator_id,\n loanTenorInputType: customTenor ? \"Custom\" : \"Default\",\n };\n try {\n const response = await postDataWithKey(\n apiEndpoints.generateLoanDetails,\n payload,\n //@ts-ignore\n encryptedKey,\n );\n\n response.data.product_name = selectedLoanDetails.product_name;\n response.data.loan_amount = principalAmount;\n response.data.repayment_type =\n response.data.repayment_type ?? selectedLoanDetails?.repayment_type;\n\n if (response.status) {\n dispatch(\n updateLoanDetailsAction({\n loan_amount: principalAmount,\n loan_name: selectedLoanDetails?.product_name,\n product_id: Number(values.productId),\n loan_tenure: Number(values.loanTenor),\n currency: { code: response.data?.currency.code },\n totalPrincipalDisbursed: response.data?.totalPrincipalDisbursed,\n totalInterestCharged: response.data?.totalInterestCharged,\n loanTermInDays: response.data?.loanTermInDays,\n totalRepaymentExpected: response.data?.totalRepaymentExpected,\n product_name: response.data?.product_name,\n repayment_type: response.data?.repayment_type,\n periods: response.data?.periods,\n loan_effective_date: new Date().toLocaleString(),\n loan_tenor_input_type: customTenor ? \"Custom\" : \"Default\",\n }),\n );\n setCurrentStep(1);\n }\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: LoanRequestStepTwo },\n });\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${principalAmount}`,\n \"loan tenor\": `${values.loanTenor}`,\n \"aggregator ID\": `${borrowerDetails.aggregator_id}`,\n \"product name\": `${selectedLoanDetails?.product_name}`,\n \"loan status\": `Application failed: ${error.response?.data?.message ?? error.message}`,\n step: \"LoanRequestStepOne\",\n });\n } finally {\n form.setFieldsValue({\n principalAmount: \"\",\n loanTenor: \"\",\n repaymentFrequency: \"\",\n });\n setIsLoading(false);\n }\n };\n\n if (isLoading || isLoadingLoanProducts) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n // const loanAmountInputStyle = {\n // width: \"100%\",\n // height: \"55px\",\n // borderRadius: \"10px\",\n // border: \"1px solid #d9d6e0\"\n\n // hover:\n // }\n\n return (\n <>\n {error && (\n
\n {\n if (setError) {\n setError(\"\");\n }\n }}\n />\n
\n )}\n

Enter your loan information

\n onSubmit(values)}\n >\n \n {\n handleSetSelectedLoan(productId);\n }}\n showSearch\n filterOption={(\n input,\n option: { label: string; value: number } | undefined,\n ) =>\n (option?.label ?? \"\").toLowerCase().includes(input.toLowerCase())\n }\n options={\n loanProducts &&\n loanProducts.map((item: LoanProduct) => ({\n label: item.product_name,\n value: item.id,\n }))\n }\n >\n {loanProducts &&\n loanProducts?.length > 0 &&\n loanProducts.map((item: LoanProduct) => (\n \n {item.product_name}\n \n ))}\n \n \n\n ({\n validator(_, value) {\n if (\n !value ||\n (selectedLoanDetails?.maximum_amount &&\n selectedLoanDetails?.maximum_amount >=\n Number(value.replace(/\\$\\s?|(,*)/g, \"\")))\n ) {\n return Promise.resolve();\n }\n return Promise.reject(\n new Error(\n `Maximum loan amount for the specific loan product is ${formatCurrency(\n selectedLoanDetails?.maximum_amount || 0,\n )}`,\n ),\n );\n },\n }),\n ]}\n >\n
\n \n ` ${`${value}`.replace(/\\D/g, \"\")}`.replace(\n /\\B(?=(\\d{3})+(?!\\d))/g,\n \",\",\n )\n }\n parser={(value) => value!.replace(/\\$\\s?|(,*)/g, \"\")}\n style={{ width: \"100%\" }}\n />\n
\n {/* */}\n \n\n {customTenor ? (\n \n ({\n validator(_, value) {\n if (\n !value ||\n (selectedLoanDetails?.maximum_tenor &&\n selectedLoanDetails?.maximum_tenor >= Number(value))\n ) {\n return Promise.resolve();\n }\n return Promise.reject(\n new Error(\n `Maximum number of days for this product is ${\n selectedLoanDetails?.maximum_tenor &&\n selectedLoanDetails?.maximum_tenor\n }`,\n ),\n );\n },\n }),\n ]}\n >\n \n \n setCustomTenor(false)}\n >\n Pick Tenor\n \n \n ) : (\n \n \n \n )}\n {selectedLoanDetails?.repayment_type && (\n \n \n \n )}\n \n
\n \n Go Back\n

\n \n
\n \n \n \n );\n};\n\nexport default LoanRequestStepTwo;\n","import React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { formatCurrency } from \"../../../../../../helpers/formatCurrency\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport styles from \"../../Loans.module.scss\";\nimport { LoanProduct } from \"../../../../../../interfaces/loan\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { updateWidgetSettingsAction } from \"../../../../../../redux/actions\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\ninterface LoanRequestStepThreeProps {\n handleNext: () => void;\n loanProducts: LoanProduct[];\n handleGoBackAndClear: () => void;\n setCurrentStep: Dispatch>;\n existingDirectDebitAccountData: any;\n currentStep: number;\n residentialInfoStatus: any;\n isLoadingResidentialInfoStatus: boolean;\n}\n\nconst LoanRequestStepThree = ({\n handleNext,\n loanProducts,\n handleGoBackAndClear,\n setCurrentStep,\n existingDirectDebitAccountData,\n residentialInfoStatus,\n isLoadingResidentialInfoStatus,\n}: LoanRequestStepThreeProps) => {\n const [viewMore, setViewMore] = useState(false);\n const dispatch = useDispatch();\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const selectedLoanDetails = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n const widgetState = useSelector(\n (store: ReduxStoreModel) => store.widgetSettingsReducer,\n );\n\n const specificProduct = loanProducts?.find(\n (product: LoanProduct) => product.id === selectedLoanDetails?.product_id,\n );\n\n // repayment channel id === 6 means direct debit\n useEffect(() => {\n if (\n specificProduct?.repayment_channel_id === 6 ||\n specificProduct?.repayment_channel_id === 7\n ) {\n dispatch(updateWidgetSettingsAction({ isDirectDebit: true }));\n } else {\n dispatch(updateWidgetSettingsAction({ isDirectDebit: false }));\n }\n }, [specificProduct]);\n\n let location = useLocation();\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRequestStepTwo.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestStepTwo.tsx`, {\n page: \"LoanRequestStepTwo.tsx - (Widget)\",\n });\n }, []);\n const handleScheduleView = () => {\n setViewMore((prev) => !prev);\n };\n\n const handleNextPage = () => {\n if (\n widgetState?.isDirectDebit &&\n existingDirectDebitAccountData?.bank_accounts?.length > 0\n ) {\n handleNext();\n } else if (\n widgetState?.isDirectDebit &&\n existingDirectDebitAccountData?.bank_accounts?.length === 0\n ) {\n setCurrentStep(7);\n } else if (!widgetState?.isDirectDebit && !residentialInfoStatus) {\n setCurrentStep(3);\n } else {\n setCurrentStep(4);\n }\n };\n\n return (\n <>\n

Loan Offer

\n

\n Based on the selected loan product, you are eligible for this offer.\n

\n\n \n \n

{selectedLoanDetails?.product_name}

\n \n
\n
\n
\n

Loan Amount

\n

\n {`${selectedLoanDetails?.currency.code}${formatCurrency(\n selectedLoanDetails?.totalPrincipalDisbursed || 0,\n )}`}\n

\n
\n
\n

Loan Tenor

\n

\n {`${selectedLoanDetails?.loanTermInDays} days`}\n

\n
\n
\n
\n
\n
\n

Loan Payback

\n

\n {`${selectedLoanDetails?.currency.code}${formatCurrency(\n selectedLoanDetails?.totalRepaymentExpected || 0,\n )}`}\n

\n
\n
\n

Loan Interest

\n

\n {`${selectedLoanDetails?.currency.code}${formatCurrency(\n selectedLoanDetails?.totalInterestCharged || 0,\n )}`}\n

\n
\n
\n
\n
\n
\n

Repayment Frequency

\n

\n {selectedLoanDetails?.repayment_type}\n

\n
\n
\n

\n

\n
\n
\n\n
\n\n
\n

Loan Schedule

\n\n {viewMore\n ? selectedLoanDetails?.periods?.map(\n (schedule: any, index: number) => (\n
\n {index + 1}\n \n \n ₦{schedule?.totalDueForPeriod.toLocaleString()}\n \n {`${schedule?.dueDate[2]}-${schedule?.dueDate[1]}-${schedule?.dueDate[0]}`}\n \n
\n ),\n )\n : selectedLoanDetails?.periods\n .slice(0, 6)\n .map((schedule: any, index: number) => (\n
\n {index + 1}\n \n \n ₦{schedule?.totalDueForPeriod.toLocaleString()}\n \n {`${schedule?.dueDate[2]}-${schedule?.dueDate[1]}-${schedule?.dueDate[0]}`}\n \n
\n ))}\n\n {selectedLoanDetails!.periods?.length > 6 && (\n
\n \n {viewMore ? \"View Less\" : \"View All Schedule\"}\n \n
\n )}\n
\n
\n \n\n
\n
\n \n Go Back\n

\n \n {isLoadingResidentialInfoStatus ? \"Please wait...\" : \"Next\"}\n \n
\n
\n \n );\n};\n\nexport default LoanRequestStepThree;\n","import { getData } from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { useQuery } from \"react-query\";\n\nasync function fetchTermsAndConditions({\n aggregatorId,\n}: {\n aggregatorId: string;\n}) {\n const res = await getData(\n `${apiEndpoints.getTermsAndCondition}?aggregatorId=${aggregatorId}`,\n );\n\n return res.data;\n}\n\nexport default function useFetchTermsAndConditions({\n aggregatorId,\n}: {\n aggregatorId: string;\n}) {\n return useQuery(\n [{ aggregatorId }, \"fetchTermsAndConditions\"],\n fetchTermsAndConditions,\n {\n refetchOnWindowFocus: false,\n },\n );\n}\n","import React, {\n Dispatch,\n SetStateAction,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { Alert, Checkbox, message } from \"antd\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport {\n postDataWithKey,\n putDotNetDataWithKey,\n} from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../../../../helpers/errorHandler\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport Loader from \"../../../../../Loader/Loader\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport CONFIG from \"../../../../../../helpers/config\";\nimport MonoConnect from \"@mono.co/connect.js\";\nimport Okra from \"okra-js\";\nimport useFetchTermsAndConditions from \"../../../../../../custom-hooks/useFetchTermsAndConditions\";\nimport DOMPurify from \"dompurify\";\nimport {\n updateBorrowerDetailsAction,\n updateMonoWidgetDataAction,\n updateWidgetSettingsAction,\n} from \"../../../../../../redux/actions\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\ninterface LoanRequestStepFourProps {\n handleNext: () => void;\n handlecancelLoanRequest: () => void;\n handleLoanRequestSuccess: any;\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n encryptedKey: string;\n}\n\nconst LoanRequestStepFour = ({\n handlecancelLoanRequest,\n handleLoanRequestSuccess,\n setCurrentStep,\n error,\n setError,\n encryptedKey,\n}: LoanRequestStepFourProps) => {\n let location = useLocation();\n const history = useHistory();\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n const [acceptTerms, setAcceptTerms] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [showSuccess, setShowSuccess] = useState(false);\n const [successMsg, setSuccessMsg] = useState(\"\");\n const [isSavingProvider, setIsSavingProvider] = useState(false);\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const loanStateData = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n const monoWidgetData = useSelector(\n (state: ReduxStoreModel) => state.monoWidgetDataReducer,\n );\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRequestStepFour.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestFinalStep.tsx`, {\n page: \"LoanRequestFinalStep.tsx - (Widget)\",\n });\n }, []);\n\n const accountLinkSuccessRef = useRef(null);\n\n function createMarkup(html: any) {\n return {\n __html: DOMPurify.sanitize(html),\n };\n }\n\n function handleLaunchOkraWidget() {\n if (!CONFIG.OKRA_PUBLIC_KEY || !CONFIG.OKRA_CLIENT_TOKEN) {\n return setError(\"Update Config for Okra\");\n }\n dispatch(\n updateWidgetSettingsAction({\n bankStatementWidgetOpened: true,\n }),\n );\n\n Okra.buildWithOptions({\n name: \"ADVANCLY\",\n env: CONFIG.OKRA_ENV,\n app_id: \"\", // app_id from your app builder\n key: CONFIG.OKRA_PUBLIC_KEY,\n token: CONFIG.OKRA_CLIENT_TOKEN,\n products: [\"auth\", \"transactions\"], //others are ['auth','identity','balance','transactions', 'income'](in lowercase)\n onSuccess: function (data: any) {\n console.log(\"options success\", data);\n handleSaveCustomerCode(data?.customer_id, \"okra\");\n },\n onClose: function () {\n console.log(\"options close\");\n },\n });\n }\n\n const monoConnect = useMemo(() => {\n if (!CONFIG.MONO_PUBLIC_KEY) {\n return setError(\"Update Config for Mono\");\n }\n\n const customer = {\n name: `${borrowerDetails?.first_name} ${borrowerDetails?.last_name}`,\n email: borrowerDetails?.email,\n };\n const monoInstance = new MonoConnect({\n onClose: () => {\n if (!accountLinkSuccessRef.current) {\n setCurrentStep(5);\n } else {\n console.log(\"Widget closed successfully\");\n }\n //Below appInsights is tracking the widget data\n appInsights.trackEvent({\n name: \"MonoWidgetData\",\n properties: {\n opened: monoWidgetData?.opened,\n opened_dateTimeStamp: monoWidgetData?.opened_dateTimeStamp,\n customer_email: monoWidgetData?.customer_email,\n is_institution_selected: monoWidgetData?.is_institution_selected,\n selected_institution_name:\n monoWidgetData?.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData?.institution_selected_dateTimeStamp,\n AccountLinkStatus: accountLinkSuccessRef.current,\n },\n });\n },\n onLoad: () => console.log(\"Widget loaded successfully\"),\n key: CONFIG.MONO_PUBLIC_KEY,\n data: { customer },\n onSuccess: async (data: { code: string }) => {\n accountLinkSuccessRef.current = true;\n handleSaveCustomerCode(data?.code, \"mono\");\n },\n onEvent: async (eventName: string, data: any) => {\n if (eventName === \"OPENED\") {\n dispatch(\n updateMonoWidgetDataAction({\n opened: true,\n opened_dateTimeStamp: data?.timestamp,\n customer_email: borrowerDetails?.email,\n }),\n );\n } else if (eventName === \"INSTITUTION_SELECTED\") {\n dispatch(\n updateMonoWidgetDataAction({\n is_institution_selected: true,\n selected_institution_name: data.institution.name,\n institution_selected_dateTimeStamp: data?.timestamp,\n }),\n );\n }\n },\n });\n\n monoInstance.setup();\n\n return monoInstance;\n }, []);\n\n const handleSaveCustomerCode = async (\n code: string,\n provider: \"okra\" | \"mono\",\n ) => {\n setError(\"\");\n const reqBody = {\n bank_statement_provider_id: provider === \"okra\" ? 1 : 2,\n bank_statement_provider_customer_code: provider === \"okra\" ? code : \"\",\n authentication_code: provider === \"mono\" ? code : \"\",\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n };\n\n try {\n setIsSavingProvider(true);\n await putDotNetDataWithKey(\n apiEndpoints.saveBankStatementProvider,\n reqBody,\n //@ts-ignore\n encryptedKey,\n );\n message.success(\"Bank provider details saved successfully\");\n\n dispatch(\n updateBorrowerDetailsAction({\n bank_statement_connected: true,\n }),\n );\n\n await handleCreateLoan();\n } catch (error) {\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: \"LoanRequestStepFour.tsx\" },\n });\n setError(\n error?.response?.data?.message ??\n \"Something went wrong please try again\",\n );\n } finally {\n setIsSavingProvider(false);\n }\n };\n\n const handleBankStatementOrCreateLoan = () => {\n if (!borrowerDetails?.bank_statement_connected) {\n if (borrowerDetails?.bank_statement_provider?.toLowerCase() === \"okra\") {\n handleLaunchOkraWidget();\n } else {\n monoConnect.open();\n }\n } else {\n handleCreateLoan().finally();\n }\n };\n\n async function handleCreateLoan() {\n setError(\"\");\n setSuccessMsg(\"\");\n setIsLoading(true);\n setShowSuccess(false);\n\n const formattedMonoWidgetData = JSON.stringify({\n opened: monoWidgetData?.opened,\n customer_email: monoWidgetData?.customer_email,\n opened_dateTimeStamp: monoWidgetData?.opened_dateTimeStamp,\n is_institution_selected: monoWidgetData?.is_institution_selected,\n selected_institution_name: monoWidgetData?.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData?.institution_selected_dateTimeStamp,\n })\n .replace(/\"([^\"]+)\":/g, \"$1:\")\n .replace(/\"/g, \"\");\n\n const payload = {\n effectiveDate: loanStateData?.loan_effective_date,\n bvn_number: borrowerDetails?.bvn_number,\n business_registration_number:\n borrowerDetails?.business_registration_number,\n phone_number: borrowerDetails?.borrower_phone,\n product_id: loanStateData?.product_id,\n aggregator_loan_ref: loanStateData?.aggregator_loan_ref,\n loan_amount: loanStateData?.loan_amount,\n loan_tenure: loanStateData?.loan_tenure,\n repayment_start_date: loanStateData?.repayment_start_date,\n aggregator_id: borrowerDetails?.aggregator_id,\n annual_interest_rate: loanStateData?.annual_interest_rate,\n country_code: borrowerDetails?.country_code,\n customer_id: borrowerDetails?.customer_id,\n customer_bank_account: loanStateData?.customer_bank_account,\n loan_tenor_input_type: loanStateData?.loan_tenor_input_type,\n is_bankstatement_linkage_failed: false,\n bank_statement_provider_response: monoWidgetData?.opened\n ? formattedMonoWidgetData\n : \"linked\",\n };\n\n //Below appInsights is tracking the loan data\n appInsights.trackEvent({\n name: \"WidgetCreateLoanData\",\n properties: payload,\n });\n try {\n const loanRequestResponse = await postDataWithKey(\n apiEndpoints.processLoan,\n payload,\n //@ts-ignore\n encryptedKey,\n );\n\n if (loanRequestResponse?.status) {\n setSuccessMsg(loanRequestResponse?.message);\n setShowSuccess(true);\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n product_id: `${loanStateData?.product_id}`,\n \"loan status\": `Application success`,\n \"bank statement linked status\": `linked`,\n });\n }\n\n if (handleLoanRequestSuccess) {\n handleLoanRequestSuccess(loanRequestResponse);\n }\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: LoanRequestStepFour },\n });\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n product_id: `${loanStateData?.product_id}`,\n \"loan status\": `Application failed: ${errorHandler(error)}`,\n });\n }\n setIsLoading(false);\n }\n\n const { data: termsAndConditions, isLoading: isLoadingTermsAndConditions } =\n useFetchTermsAndConditions({\n aggregatorId: String(borrowerDetails?.aggregator_id),\n });\n\n if (showSuccess) {\n return (\n history.push(ROUTES.widgetDashboard)}\n btnText=\"Done\"\n type=\"success\"\n />\n );\n }\n if (isLoading || isSavingProvider) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n <>\n {error && (\n
\n setError!(\"\")}\n />\n
\n )}\n
\n

Terms and agreement

\n
\n {isLoadingTermsAndConditions ? (\n \n ) : (\n \n
\n
\n {\n setAcceptTerms(e.target.checked);\n }}\n >\n I agree to these terms and condition.\n \n
\n \n )}\n\n \n
\n \n Cancel my request\n

\n \n I understand\n \n
\n \n \n \n );\n};\n\nexport default LoanRequestStepFour;\n","export default __webpack_public_path__ + \"static/media/plus.4f8082ee.svg\";","import { Alert, Form, Select } from \"antd\";\nimport React, {\n Dispatch,\n Fragment,\n SetStateAction,\n useEffect,\n useState,\n} from \"react\";\nimport plus from \"../../../../../../assets/plus.svg\";\nimport Loader from \"../../../../../Loader/Loader\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateLoanDetailsAction } from \"../../../../../../redux/actions\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\n\ninterface ILoanRequestdirectDebit {\n handleNext: () => void;\n handleGoBack: () => void;\n existingDirectDebitAccountData: any;\n directDebitLoading: boolean;\n directdebitError: any;\n error: string;\n setError: Dispatch>;\n setCurrentStep: Dispatch>;\n residentialInfoStatus: any;\n isLoadingResidentialInfoStatus: boolean;\n}\nconst LoanRequestDirectDebit = ({\n handleNext,\n handleGoBack,\n existingDirectDebitAccountData,\n directDebitLoading,\n directdebitError,\n error,\n setError,\n setCurrentStep,\n residentialInfoStatus,\n isLoadingResidentialInfoStatus,\n}: ILoanRequestdirectDebit) => {\n const [form] = Form.useForm();\n const [accountDetails, setAccountDetails] = useState(\"\");\n const dispatch = useDispatch();\n const [bankDetails, setBankDetails] = useState({\n account_name: \"\",\n account_number: \"\",\n bank_name: \"\",\n });\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const selectedLoanDetails = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRequestDirectDebitWidget.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestDirectDebitWidget.tsx`, {\n page: \"LoanRequestDirectDebitWidget.tsx - (Widget)\",\n });\n }, []);\n\n useEffect(() => {\n if (existingDirectDebitAccountData?.bank_accounts.length === 1) {\n const { account_name, account_number, bank_name } =\n existingDirectDebitAccountData?.bank_accounts[0];\n setBankDetails({\n ...bankDetails,\n account_name: account_name,\n account_number: account_number,\n bank_name: bank_name,\n });\n\n setAccountDetails(account_number);\n }\n }, [directDebitLoading, existingDirectDebitAccountData]);\n\n const handleselectedDebitAccount = (val: string) => {\n setAccountDetails(val);\n };\n\n const handleNextFn = () => {\n dispatch(\n updateLoanDetailsAction({\n customer_bank_account: accountDetails,\n }),\n );\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${selectedLoanDetails.loan_amount}`,\n \"loan tenor\": `${selectedLoanDetails.loan_tenure}`,\n \"product name\": `${selectedLoanDetails.product_name}`,\n \"loan status\": `Direct Debit Account Selected`,\n step: \"LoanRequestDirectDebit\",\n });\n\n setError(\"\");\n if (residentialInfoStatus) {\n setCurrentStep!(4);\n } else {\n handleNext();\n }\n };\n\n return (\n <>\n {error && (\n
\n setError!(\"\")}\n />\n
\n )}\n

Direct Debit Account

\n \n

\n Select an account you want us to debit for
your repayment\n

\n {directDebitLoading ? (\n
\n \n
\n ) : existingDirectDebitAccountData?.bank_accounts?.length > 1 ? (\n
\n \n {\n handleselectedDebitAccount(value);\n }}\n >\n {existingDirectDebitAccountData?.bank_accounts?.map(\n ({\n account_name,\n account_number,\n bank_name,\n }: {\n account_name: string;\n account_number: string;\n bank_name: any;\n }) => (\n \n {account_name}\n {` - ${bank_name} ${account_number}`}\n \n ),\n )}\n \n \n \n ) : existingDirectDebitAccountData?.bank_accounts?.length === 1 ? (\n
\n \n \n
\n ) : null}\n {directdebitError && setError(`${directdebitError}`)}\n {\n setCurrentStep(7);\n }}\n >\n {\" \"}\n \"\" {\"\"}\n Add a new account\n

\n
\n
\n
\n \n Go Back\n

\n \n {isLoadingResidentialInfoStatus ? \"Please wait...\" : \"Next\"}\n \n
\n
\n \n );\n};\n\nexport default LoanRequestDirectDebit;\n","import { useQuery } from \"react-query\";\nimport { getDotNetDataWithKey } from \"../apis/apiMethods\";\n\nconst getDirectDebitExistingAccounts = async ({\n customerId,\n}: {\n customerId: number;\n}) => {\n const directDebitBanksUrl = `/customer/${customerId}/direct_debit_accounts`;\n\n const data = await getDotNetDataWithKey(`${directDebitBanksUrl}`);\n return data.data;\n};\n\nexport default function useDirectDebitExistingAccounts({\n customerId,\n}: {\n customerId: number;\n}) {\n return useQuery(\n [{ customerId }, \"getDirectDebitExistingAccounts\"],\n getDirectDebitExistingAccounts,\n {\n refetchOnWindowFocus: true,\n },\n );\n}\n","import React, {\n Dispatch,\n SetStateAction,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport styles from \"../../Loans.module.scss\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport CONFIG from \"../../../../../../helpers/config\";\nimport MonoConnect from \"@mono.co/connect.js\";\nimport Okra from \"okra-js\";\nimport { Alert } from \"antd\";\nimport {\n postDataWithKey,\n putDotNetDataWithKey,\n} from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../../../../helpers/errorHandler\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport { useHistory } from \"react-router-dom\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateBorrowerDetailsAction,\n updateMonoWidgetDataAction,\n updateWidgetSettingsAction,\n} from \"../../../../../../redux/actions\";\nimport mixpanel from \"mixpanel-browser\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { ISuccess } from \"../../../../../../interfaces/success\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\ninterface WidgetBankStatementLinkageErrorScreenProps {\n handleNext: () => void;\n encryptedKey: string;\n handleLoanRequestSuccess: any;\n error: string;\n setError: Dispatch>;\n setSuccess: Dispatch>;\n success: ISuccess;\n}\n\nfunction WidgetBankStatementLinkageErrorScreen({\n handleNext,\n encryptedKey,\n handleLoanRequestSuccess,\n error,\n setError,\n setSuccess,\n success,\n}: WidgetBankStatementLinkageErrorScreenProps) {\n const [isSavingProvider, setIsSavingProvider] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [successMsg, setSuccessMsg] = useState(\"\");\n const [showSuccess, setShowSuccess] = useState(false);\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const loanStateData = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n const monoWidgetData = useSelector(\n (state: ReduxStoreModel) => state.monoWidgetDataReducer,\n );\n const history = useHistory();\n\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"WidgetBankStatementLinkErrorScreen.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: WidgetBankStatementLinkErrorScreen.tsx`, {\n page: \"WidgetBankStatementLinkErrorScreen.tsx - (Widget)\",\n });\n }, []);\n\n const handleAction = () => {\n setError(\"\");\n setSuccess({ ...success, headerText: \"\", bodyText: \"\" });\n\n handleNext();\n };\n\n function handleLaunchOkraWidget() {\n if (!CONFIG.OKRA_PUBLIC_KEY || !CONFIG.OKRA_CLIENT_TOKEN) {\n return setError(\"Update Config for Okra\");\n }\n dispatch(\n updateWidgetSettingsAction({\n bankStatementWidgetOpened: true,\n }),\n );\n Okra.buildWithOptions({\n name: \"ADVANCLY\",\n env: CONFIG.OKRA_ENV,\n app_id: \"\", // app_id from your app builder\n key: CONFIG.OKRA_PUBLIC_KEY,\n token: CONFIG.OKRA_CLIENT_TOKEN,\n products: [\"auth\", \"transactions\"], //others are ['auth','identity','balance','transactions', 'income'](in lowercase)\n onSuccess: function (data: any) {\n console.log(\"options success\", data);\n handleSaveCustomerCode(data?.customer_id, \"okra\");\n },\n onClose: function () {\n console.log(\"options close\");\n },\n });\n }\n\n const monoConnect = useMemo(() => {\n if (!CONFIG.MONO_PUBLIC_KEY) {\n return setError(\"Update Config for Mono\");\n }\n dispatch(\n updateWidgetSettingsAction({\n bankStatementWidgetOpened: true,\n }),\n );\n\n const customer = {\n name: `${borrowerDetails?.first_name} ${borrowerDetails?.last_name}`,\n email: borrowerDetails?.email,\n };\n\n const monoInstance = new MonoConnect({\n onClose: () => {\n console.log(\"Widget closed\");\n },\n onLoad: () => console.log(\"Widget loaded successfully\"),\n key: CONFIG.MONO_PUBLIC_KEY,\n data: { customer },\n onSuccess: async (data: { code: string }) => {\n handleSaveCustomerCode(data?.code, \"mono\");\n },\n onEvent: async (eventName: string, data: any) => {\n if (eventName === \"OPENED\") {\n console.log(\"Widget is open!\");\n dispatch(\n updateMonoWidgetDataAction({\n opened: true,\n opened_dateTimeStamp: data?.timestamp,\n customer_email: borrowerDetails?.email,\n }),\n );\n } else if (eventName === \"INSTITUTION_SELECTED\") {\n dispatch(\n updateMonoWidgetDataAction({\n is_institution_selected: true,\n selected_institution_name: data.institution.name,\n institution_selected_dateTimeStamp: data?.timestamp,\n }),\n );\n }\n },\n });\n\n monoInstance.setup();\n\n return monoInstance;\n }, []);\n\n const handleSaveCustomerCode = async (\n code: string,\n provider: \"okra\" | \"mono\",\n ) => {\n const reqBody = {\n bank_statement_provider_id: provider === \"okra\" ? 1 : 2,\n bank_statement_provider_customer_code: provider === \"okra\" ? code : \"\",\n authentication_code: provider === \"mono\" ? code : \"\",\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n };\n\n try {\n setIsSavingProvider(true);\n await putDotNetDataWithKey(\n apiEndpoints.saveBankStatementProvider,\n reqBody,\n //@ts-ignore\n encryptedKey,\n );\n setSuccess({\n ...success,\n bodyText: \"Bank provider details saved successfully\",\n });\n\n dispatch(\n updateBorrowerDetailsAction({\n bank_statement_connected: true,\n }),\n );\n handleCreateLoan();\n } catch (error) {\n setError(error?.response?.data?.message ?? error.message);\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: \"LoanRequestStepFour.tsx\" },\n });\n } finally {\n setIsSavingProvider(false);\n }\n };\n\n const handleBankStatementOrCreateLoan = () => {\n if (!borrowerDetails?.bank_statement_connected) {\n if (borrowerDetails?.bank_statement_provider?.toLowerCase() === \"okra\") {\n handleLaunchOkraWidget();\n } else {\n monoConnect.open();\n }\n }\n };\n\n async function handleCreateLoan() {\n setIsLoading(true);\n\n const formattedMonoWidgetData = JSON.stringify({\n opened: monoWidgetData?.opened,\n customer_email: monoWidgetData?.customer_email,\n opened_dateTimeStamp: monoWidgetData?.opened_dateTimeStamp,\n is_institution_selected: monoWidgetData?.is_institution_selected,\n selected_institution_name: monoWidgetData?.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData?.institution_selected_dateTimeStamp,\n })\n .replace(/\"([^\"]+)\":/g, \"$1:\")\n .replace(/\"/g, \"\");\n\n const payload = {\n effectiveDate: loanStateData?.loan_effective_date,\n bvn_number: borrowerDetails?.bvn_number,\n business_registration_number:\n borrowerDetails?.business_registration_number,\n phone_number: borrowerDetails?.borrower_phone,\n product_id: loanStateData?.product_id,\n aggregator_loan_ref: loanStateData?.aggregator_loan_ref,\n loan_amount: loanStateData?.loan_amount,\n loan_tenure: loanStateData?.loan_tenure,\n repayment_start_date: loanStateData?.repayment_start_date,\n aggregator_id: borrowerDetails?.aggregator_id,\n annual_interest_rate: loanStateData?.annual_interest_rate,\n country_code: borrowerDetails?.country_code,\n customer_id: borrowerDetails?.customer_id,\n customer_bank_account: loanStateData?.customer_bank_account,\n loan_tenor_input_type: loanStateData?.loan_tenor_input_type,\n is_bankstatement_linkage_failed: false,\n bank_statement_provider_response: monoWidgetData?.opened\n ? formattedMonoWidgetData\n : \"linked\",\n };\n\n //Below appinsights is tracking the loan data\n appInsights.trackEvent({\n name: \"WidgetCreateLoanData\",\n properties: payload,\n });\n try {\n const loanRequestResponse = await postDataWithKey(\n apiEndpoints.processLoan,\n payload,\n //@ts-ignore\n encryptedKey,\n );\n\n if (loanRequestResponse?.status) {\n setSuccessMsg(loanRequestResponse?.message);\n setShowSuccess(true);\n\n mixpanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n product_id: `${loanStateData?.product_id}`,\n \"loan status\": `Application success`,\n \"bank statement linked status\": `linked`,\n });\n }\n\n if (handleLoanRequestSuccess) {\n handleLoanRequestSuccess(loanRequestResponse);\n }\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: WidgetBankStatementLinkageErrorScreen },\n });\n }\n setIsLoading(false);\n }\n\n if (showSuccess) {\n return (\n history.push(ROUTES.widgetDashboard)}\n btnText=\"Done\"\n type=\"success\"\n setSuccess={setSuccess}\n />\n );\n }\n\n if (isLoading || isSavingProvider) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n
\n {error && (\n
\n setError!(\"\")}\n />\n
\n )}\n {success.bodyText && (\n
\n setSuccess!({ ...success, bodyText: \"\" })}\n />\n
\n )}\n
\n
\n

Something went wrong

\n

\n We couldn't get your bank statement at the moment. You can try adding\n a different account\n

\n
\n
\n \n Try again\n \n \n Continue\n \n
\n
\n );\n}\n\nexport default WidgetBankStatementLinkageErrorScreen;\n","import React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { useHistory } from \"react-router-dom\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { errorHandler } from \"../../../../../../helpers/errorHandler\";\nimport { Alert } from \"antd\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport mixpanel from \"mixpanel-browser\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\ninterface WidgetAlternativeLoanCompleteScreenProps {\n handleLoanRequestSuccess: any;\n encryptedKey: string;\n handleGoBack: () => void;\n setError: Dispatch>;\n error: string;\n}\n\nfunction WidgetAlternativeLoanCompleteScreen({\n handleLoanRequestSuccess,\n encryptedKey,\n handleGoBack,\n setError,\n error,\n}: WidgetAlternativeLoanCompleteScreenProps) {\n const [isLoading, setIsLoading] = useState(false);\n const [showSuccess, setShowSuccess] = useState(false);\n const [successMsg, setSuccessMsg] = useState(\"\");\n const history = useHistory();\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const loanStateData = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n const monoWidgetData = useSelector(\n (state: ReduxStoreModel) => state.monoWidgetDataReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"WidgetAlternativeLoanCompleteScreen.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: SubmitLoanWithoutBankStatementLink.tsx`, {\n page: \"SubmitLoanWithoutBankStatementLink.tsx - (Widget)\",\n });\n }, []);\n\n const handleAction = () => {\n setError(\"\");\n handleGoBack();\n };\n\n async function handleCreateLoanWithoutBankStatement() {\n setIsLoading(true);\n\n const formattedMonoWidgetData = JSON.stringify({\n opened: monoWidgetData?.opened,\n customer_email: monoWidgetData?.customer_email,\n opened_dateTimeStamp: monoWidgetData?.opened_dateTimeStamp,\n is_institution_selected: monoWidgetData?.is_institution_selected,\n selected_institution_name: monoWidgetData?.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData?.institution_selected_dateTimeStamp,\n })\n .replace(/\"([^\"]+)\":/g, \"$1:\")\n .replace(/\"/g, \"\");\n\n const payload = {\n effectiveDate: loanStateData?.loan_effective_date,\n bvn_number: borrowerDetails?.bvn_number,\n business_registration_number:\n borrowerDetails?.business_registration_number,\n phone_number: borrowerDetails?.borrower_phone,\n product_id: loanStateData?.product_id,\n aggregator_loan_ref: loanStateData?.aggregator_loan_ref,\n loan_amount: loanStateData?.loan_amount,\n loan_tenure: loanStateData?.loan_tenure,\n repayment_start_date: loanStateData?.repayment_start_date,\n aggregator_id: borrowerDetails?.aggregator_id,\n annual_interest_rate: loanStateData?.annual_interest_rate,\n country_code: borrowerDetails?.country_code,\n customer_id: borrowerDetails?.customer_id,\n customer_bank_account: loanStateData?.customer_bank_account,\n loan_tenor_input_type: loanStateData?.loan_tenor_input_type,\n is_bankstatement_linkage_failed: true,\n bank_statement_provider_response: monoWidgetData?.opened\n ? formattedMonoWidgetData\n : \"Not Linked\",\n };\n\n //Below appInsights is tracking the loan data\n appInsights.trackEvent({\n name: \"WidgetCreateLoanData\",\n properties: payload,\n });\n try {\n const loanRequestResponse = await postDataWithKey(\n apiEndpoints.processLoan,\n payload,\n //@ts-ignore\n encryptedKey,\n );\n\n if (loanRequestResponse?.status) {\n setSuccessMsg(loanRequestResponse?.message);\n setShowSuccess(true);\n\n mixpanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n product_id: `${loanStateData?.product_id}`,\n \"loan status\": `Application success`,\n \"bank statement linked status\": `not linked`,\n });\n }\n\n if (handleLoanRequestSuccess) {\n handleLoanRequestSuccess(loanRequestResponse);\n }\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: WidgetAlternativeLoanCompleteScreen },\n });\n\n mixpanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n product_id: `${loanStateData?.product_id}`,\n \"loan status\": `Application failed: ${errorHandler(error)}`,\n \"bank statement linked status\": `not linked`,\n });\n }\n setIsLoading(false);\n }\n\n if (showSuccess) {\n return (\n history.push(ROUTES.widgetDashboard)}\n btnText=\"Done\"\n type=\"success\"\n />\n );\n }\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n <>\n {error && (\n
\n setError!(\"\")}\n />\n
\n )}\n
\n

Complete your loan application

\n
\n \n
\n

\n We noticed you couldn't link your bank statement. Providing us\n with more financial information improves your credit eligibility.\n To link your bank statement, you can:\n

\n
    \n
  • \n Retry linking your bank statement by accessing the “Link Bank\n Statement” option via the “Loans” menu on your dashboard or the\n profile page.\n
  • \n
  • \n Alternatively, you can request that your bank statement be sent\n to bankstatement@advancly.com through your mobile banking app or\n by contacting your bank directly.\n
  • \n
\n
\n
\n\n \n
\n \n Cancel my request\n

\n \n Proceed\n \n
\n \n \n \n );\n}\n\nexport default WidgetAlternativeLoanCompleteScreen;\n","import { Alert, Form, Input, Select } from \"antd\";\nimport user from \"../../../assets/profile/user.svg\";\nimport React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../helpers/errorHandler\";\nimport { appInsights } from \"../../AppInsight/AppInsight\";\nimport { postDataWithKey } from \"../../../apis/apiMethods\";\nimport { useQueryCache } from \"react-query\";\nimport { ISuccess } from \"../../../interfaces/success\";\nimport { SuccessComponent } from \"../WidgetRevampv2/SuccessComponent\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport advLogo from \"../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../assets/loadinggif.gif\";\nimport { MixPanel } from \"../../../helpers/mixpanel\";\n\ntype Bank = {\n code: string;\n country_code: string;\n id: number;\n longcode: string;\n name: string;\n slug: string;\n};\ninterface IdirectDebit {\n bankList: Bank[];\n error: string;\n setError: Dispatch>;\n success: ISuccess;\n setSuccess: Dispatch>;\n setCurrentStep: Dispatch>;\n}\nconst DirectDebit = ({\n bankList,\n error,\n setError,\n setSuccess,\n success,\n setCurrentStep,\n}: IdirectDebit) => {\n const [isLoading, setIsLoading] = useState(false);\n const [loadingAccount, setLoadingAccount] = useState(false);\n const [accountName, setAccountName] = useState(\"\");\n const [showSuccess, setShowSuccess] = useState(false);\n const [directDebitBankDetails, setDirectDebitBankDetails] = useState({\n recipient_bank_code: \"\",\n recipient_account_number: \"\",\n });\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n\n const loanStateData = useSelector(\n (store: ReduxStoreModel) => store.loanDetailsReducer,\n );\n const directDebitUrl = `/customer/${borrowerDetails?.customer_id}/direct_debit_accounts`;\n const queryCache = useQueryCache();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRequestAddNewDirectDebit.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestAddNewDirectDebit.tsx`, {\n page: \"LoanRequestAddNewDirectDebit.tsx - (Widget)\",\n });\n }, []);\n\n const fetchAccountName = async () => {\n setAccountName(\"\");\n setError(\"\");\n setLoadingAccount(true);\n\n try {\n const reqBody = {\n bank_code: directDebitBankDetails.recipient_bank_code,\n bank_account_num: directDebitBankDetails.recipient_account_number,\n };\n const response = await postDataWithKey(\n apiEndpoints.validateBankAccount,\n reqBody,\n );\n\n setAccountName(response.bank_account_name);\n } catch (error) {\n // setError(errorHandler(error.message));\n setError(error.response?.data?.message ?? error.message);\n } finally {\n setLoadingAccount(false);\n }\n };\n\n const findBankName = bankList?.find(({ code }) => {\n return code === directDebitBankDetails?.recipient_bank_code;\n });\n\n const handleCloseSuccessComp = () => {\n if (setCurrentStep) {\n queryCache.invalidateQueries([\n {\n customerId: borrowerDetails?.customer_id,\n },\n \"getDirectDebitExistingAccounts\",\n ]);\n setCurrentStep(2);\n } else {\n setShowSuccess(false);\n }\n };\n\n async function handleSubmitDirectAccountDetails() {\n setError(\"\");\n setSuccess((prevState) => ({ ...prevState, bodyText: \"\", headerText: \"\" }));\n const reqBody = {\n account_name: accountName,\n account_number: directDebitBankDetails?.recipient_account_number,\n bank_code: directDebitBankDetails?.recipient_bank_code,\n bank_name: findBankName?.name || \"\",\n currency: \"NGN\",\n };\n try {\n setIsLoading(true);\n await postDataWithKey(directDebitUrl, reqBody);\n window.scrollTo(0, 0);\n\n setSuccess({\n ...success,\n headerText: \"Direct Debit Account Added Successfully\",\n bodyText: `Proceed to select your direct debit account from the dropdown`,\n });\n setIsLoading(false);\n queryCache.invalidateQueries([\n { customerId: borrowerDetails?.customer_id },\n \"getDirectDebitExistingAccounts\",\n ]);\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n product_id: `${loanStateData?.product_id}`,\n \"loan status\": `Added new Direct Debit account`,\n step: \"LoanRequestAddNewDirectDebit\",\n });\n setShowSuccess(true);\n } catch (error) {\n setIsLoading(false);\n setAccountName(\"\");\n\n setError(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: DirectDebit },\n });\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${borrowerDetails?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n product_id: `${loanStateData?.product_id}`,\n \"loan status\": `Failed: Error adding new direct debit account`,\n step: \"LoanRequestAddNewDirectDebit\",\n });\n }\n }\n\n useEffect(() => {\n if (\n directDebitBankDetails.recipient_bank_code !== \"\" &&\n directDebitBankDetails.recipient_account_number?.length === 10\n ) {\n fetchAccountName().finally();\n }\n }, [directDebitBankDetails]);\n\n if (showSuccess) {\n return (\n \n );\n }\n\n if (isLoading) {\n {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n }\n\n return (\n
\n {error && (\n
\n {\n setError(\"\");\n }}\n />\n
\n )}\n
\n

Direct Debit Account

\n

Please add a Direct debit account

\n
\n\n
\n \n \n setDirectDebitBankDetails({\n ...directDebitBankDetails,\n recipient_bank_code: value,\n })\n }\n showSearch\n filterOption={(input, option) =>\n (option?.label ?? \"\").toLowerCase().includes(input.toLowerCase())\n }\n options={\n bankList &&\n bankList.map((item) => ({\n label: item.name,\n value: item.code,\n }))\n }\n >\n {bankList &&\n bankList?.length > 0 &&\n bankList.map((item) => (\n \n {item.name}\n \n ))}\n \n \n \n {\n setDirectDebitBankDetails({\n ...directDebitBankDetails,\n recipient_account_number: e.target.value,\n });\n }}\n />\n \n\n
\n \n \n {loadingAccount ? \"Loading....\" : accountName}\n \n
\n\n
\n
\n \n Submit New Account\n {isLoading && (\n \n )}\n \n
\n
\n \n
\n );\n};\n\nexport default DirectDebit;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData, getDataWithKey } from \"../apis/apiMethods\";\n\nconst fetchProducts = async ({\n aggregatorId,\n countryCode,\n}: {\n aggregatorId: string;\n countryCode: string;\n}) => {\n const response = await getData(\n `${apiEndpoints.customerLoanProducts}?aggregator_id=${aggregatorId}&country_code=${countryCode}`,\n );\n return response.data;\n};\n\nasync function fetchLoanProductsWidget({\n aggregator_id,\n country_code,\n}: {\n aggregator_id: number;\n country_code: string;\n}) {\n const response = await getDataWithKey(\n `${apiEndpoints.getLoanProducts}?aggregator_id=${aggregator_id}&country_code=${country_code}`,\n );\n\n return response.data;\n}\n\nexport function useFetchProducts({\n aggregatorId,\n countryCode,\n}: {\n aggregatorId: string;\n countryCode: string;\n}) {\n return useQuery(\n [{ aggregatorId, countryCode }, \"fetchProducts\"],\n fetchProducts,\n {\n refetchOnWindowFocus: false,\n enabled: countryCode && aggregatorId ? true : false,\n },\n );\n}\n\nexport function useFetchProductsWidget({\n aggregator_id,\n country_code,\n}: {\n aggregator_id: number;\n country_code: string;\n}) {\n return useQuery(\n [{ aggregator_id, country_code }, \"fetchLoanProductsWidget\"],\n fetchLoanProductsWidget,\n {\n refetchOnWindowFocus: false,\n enabled: aggregator_id && country_code ? true : false,\n },\n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport LoanRequestStepOne from \"./LoanRequestStepOne\";\nimport LoanRequestStepTwo from \"./LoanRequestStepTwo\";\nimport LoanRequestStepThree from \"./LoanRequestStepThree\";\nimport LoanRequestStepFour from \"./LoanRequestStepFour\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport LoanRequestDirectDebit from \"./LoanRequestDirectDebit\";\nimport { sendResponseToClient } from \"../../../../../../helpers\";\nimport { WIDGET_RESPONSE_LOAN_STATUSES } from \"../../../../utils\";\nimport useDirectDebitExistingAccounts from \"../../../../../../custom-hooks/useDirectDebitExistingAccounts\";\nimport WidgetBankStatementLinkageErrorScreen from \"./WidgetBankStatementLinkageErrorScreen\";\nimport WidgetAlternativeLoanCompleteScreen from \"./WidgetAlternativeLoanCompleteScreen\";\nimport DirectDebit from \"../../../../DirectDebit/DirectDebit\";\nimport { ISuccess } from \"../../../../../../interfaces/success\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport ResidentialInformation from \"./ResidentialInformation\";\nimport { useFetchCustomerResidentialInfoStatusWidget } from \"../../../../../../custom-hooks/useFetchCustomerResidentialInfoStatus\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { useFetchProductsWidget } from \"../../../../../../custom-hooks/useFetchProducts\";\nimport {\n updateLoanDetailsAction,\n updateWidgetSettingsAction,\n} from \"../../../../../../redux/actions\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\nconst LoanRequest = () => {\n const dispatch = useDispatch();\n const widgetState = useSelector(\n (store: ReduxStoreModel) => store.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const { customer_id, currency, aggregator_id } = borrowerDetails;\n const { use_wallet, bankList, encryptedKey, isDirectDebit } = widgetState;\n const history = useHistory();\n const [currentStep, setCurrentStep] = useState(0);\n const [showSuccess, setShowSuccess] = useState(false);\n const [error, setError] = useState(\"\");\n const [success, setSuccess] = useState({\n headerText: \"\",\n bodyText: \"\",\n });\n\n const {\n data: residentialInfoStatus,\n isLoading: isLoadingResidentialInfoStatus,\n } = useFetchCustomerResidentialInfoStatusWidget({\n customer_id: customer_id,\n aggregator_id: aggregator_id,\n });\n\n const handleLoanRequestSuccess = (loanRequestResponse: any) => {\n sendResponseToClient({\n status: WIDGET_RESPONSE_LOAN_STATUSES.loan_request,\n data: { message: loanRequestResponse },\n });\n };\n\n useEffect(() => {\n appInsights.trackPageView({ name: \"LoanRequest.tsx\", isLoggedIn: true });\n }, []);\n\n useEffect(() => {\n MixPanel.track(`Page View: Loan.tsx`, {\n page: \"Loan.tsx - (Widget)\",\n });\n }, []);\n\n const handleNext = () => {\n if (currentStep < 7) {\n setCurrentStep((prevState) => prevState + 1);\n } else {\n dispatch(updateWidgetSettingsAction({ isGlobalLoader: true }));\n setTimeout(() => {\n dispatch(updateWidgetSettingsAction({ isGlobalLoader: false }));\n setShowSuccess(true);\n }, 2000);\n }\n };\n\n const handleGoBack = () => {\n if (currentStep > 0) {\n setCurrentStep((prevState) => prevState - 1);\n } else {\n history.push(ROUTES.widgetLoan);\n }\n };\n\n function directDebitBackNavigation() {\n setError(\"\");\n setSuccess({ ...success, headerText: \"\", bodyText: \"\" });\n\n if (existingDirectDebitAccountData?.bank_accounts?.length > 0) {\n setCurrentStep(2);\n } else {\n setCurrentStep(1);\n }\n }\n\n const handleGoBackAndClear = () => {\n dispatch(\n updateLoanDetailsAction({\n id: 0,\n product_name: \"\",\n maximum_tenor: null,\n maximum_amount: null,\n aggregator_id: 0,\n amount: 0,\n repayment_type: \"\",\n }),\n );\n if (currentStep > 0) {\n setCurrentStep((prevState) => prevState - 1);\n } else {\n history.push(ROUTES.widgetLoan);\n }\n };\n\n const cancelLoanRequestHandler = () => {\n dispatch(\n updateLoanDetailsAction({\n id: 0,\n product_name: \"\",\n maximum_tenor: null,\n maximum_amount: null,\n aggregator_id: 0,\n amount: 0,\n repayment_type: \"\",\n }),\n );\n history.push(ROUTES.widgetLoan);\n };\n\n function handleInputClearAndRoute() {\n dispatch(updateLoanDetailsAction({ repayment_type: \"\" }));\n history.push(ROUTES.widgetLoan);\n }\n\n const {\n data: existingDirectDebitAccountData,\n isLoading: directDebitLoading,\n error: directdebitError,\n } = useDirectDebitExistingAccounts({\n customerId: customer_id,\n });\n\n const { data: loanProducts, isLoading: isLoadingLoanProducts } =\n useFetchProductsWidget({\n aggregator_id: borrowerDetails.aggregator_id,\n country_code: borrowerDetails.country_code,\n });\n\n const steps =\n currency === \"NGN\"\n ? // && use_wallet && borrowerDetails?.bank_account_number\n [\n // ,\n ,\n ,\n ,\n\n ,\n\n ,\n\n ,\n setCurrentStep(0)}\n error={error}\n setError={setError}\n />,\n ,\n ]\n : [\n ,\n ,\n\n ,\n ];\n\n if (showSuccess) {\n return (\n history.push(ROUTES.widgetDashboard)}\n btnText=\"Done\"\n type=\"success\"\n />\n );\n }\n\n return (\n
\n \n currentStep < 1\n ? handleInputClearAndRoute()\n : currentStep === 2\n ? setCurrentStep(currentStep - 1)\n : currentStep === 1\n ? handleGoBackAndClear()\n : currentStep === 3 &&\n isDirectDebit &&\n existingDirectDebitAccountData?.bank_accounts?.length > 0\n ? setCurrentStep(2)\n : currentStep === 3 &&\n isDirectDebit &&\n existingDirectDebitAccountData?.bank_accounts?.length ===\n 0\n ? setCurrentStep(1)\n : currentStep === 5\n ? setCurrentStep(currentStep - 1)\n : currentStep === 4\n ? setCurrentStep(1)\n : currentStep === 7 &&\n existingDirectDebitAccountData?.bank_accounts\n ?.length > 0\n ? directDebitBackNavigation()\n : currentStep === 7 &&\n existingDirectDebitAccountData?.bank_accounts\n ?.length === 0\n ? directDebitBackNavigation()\n : history.push(ROUTES.widgetLoan)\n }\n className=\"cursor\"\n >\n \n
\n

{currentStep < 1 ? \"Loan request\" : null}

\n {steps[currentStep]}\n \n );\n};\n\nexport default LoanRequest;\n","export default __webpack_public_path__ + \"static/media/loanHistory.7bd5bce1.svg\";","import React, { useEffect, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { formatMoney } from \"../../../../../../helpers/formatCurrency\";\nimport { getDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport {\n errorHandler,\n errorToast,\n} from \"../../../../../../helpers/errorHandler\";\nimport NewLoader from \"../../../components/NewLoader\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { CurrencyProp } from \"../../../../../../interfaces/borrower\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\n\nexport type RepaymentScheduleProp = {\n onCancel: () => void;\n borrower_id?: number;\n encryptedKey?: string;\n loan_ref?: string;\n aggregator_id?: number;\n currency: CurrencyProp;\n};\n\ntype RepaymentSchedule = {\n dueDate: number[];\n totalOutstandingForPeriod: number;\n totalDueForPeriod: number;\n currency: CurrencyProp;\n};\n\nconst LoanRepaymentSchedule = ({\n onCancel,\n loan_ref,\n currency,\n}: RepaymentScheduleProp) => {\n let location = useLocation();\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n const [isLoading, setIsLoading] = useState(false);\n const [repaymentSchedule, setRepaymentSchedule] = useState<\n RepaymentSchedule[]\n >([]);\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const { aggregator_id } = borrowerDetails;\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRepaymentSchedule.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n async function fetchRepaymentSchedule() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getLoanRepaymentSchedule}?loan_ref=${loan_ref}&aggregator_id=${aggregator_id}`,\n );\n setRepaymentSchedule(response.data?.periods);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: LoanRepaymentSchedule },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n fetchRepaymentSchedule();\n }, []);\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n return (\n
\n
\n
\n \n
\n

Repayment Schedule

\n
\n
\n {repaymentSchedule.length === 0 && (\n

No Data Available

\n )}\n\n {repaymentSchedule.length !== 0 && (\n \n \n \n \n \n \n \n \n \n {repaymentSchedule?.map((item, index) => (\n \n \n \n \n \n ))}\n \n
DateDueOutstanding
\n {`${item.dueDate[2]}/${item.dueDate[1]}/${item.dueDate[0]}`}\n {formatMoney(item.totalDueForPeriod || 0, currency)}\n {formatMoney(item.totalOutstandingForPeriod || 0, currency)}\n
\n )}\n
\n );\n};\n\nexport default LoanRepaymentSchedule;\n","export default __webpack_public_path__ + \"static/media/repayment.37013c1b.svg\";","import React, { Fragment, useEffect, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { RepaymentScheduleProp } from \"./LoanRepaymentSchedule\";\nimport repayment from \"../../../../../../assets/loans/repayment.svg\";\nimport moment from \"moment\";\nimport { formatMoney } from \"../../../../../../helpers/formatCurrency\";\nimport { getDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport {\n errorHandler,\n errorToast,\n} from \"../../../../../../helpers/errorHandler\";\nimport Loader from \"../../../../../Loader/Loader\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\n\nconst LoanRepayments = ({\n onCancel,\n loan_ref,\n currency,\n}: RepaymentScheduleProp) => {\n let location = useLocation();\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n const [isLoading, setIsLoading] = useState(false);\n const [repaymentDetails, setRepaymentDetails] = useState([]);\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const { aggregator_id } = borrowerDetails;\n\n useEffect(() => {\n appInsights.trackPageView({ name: \"LoanRepayments.tsx\", isLoggedIn: true });\n }, []);\n\n async function fetchRepayments() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getRepayments}?loan_ref=${loan_ref}&aggregator_id=${aggregator_id}`,\n );\n setRepaymentDetails(response.data);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n //@ts-ignore\n exception: error,\n properties: { fileName: LoanRepayments },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n fetchRepayments();\n }, []);\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n
\n
\n \n
\n

Repayments

\n
\n {repaymentDetails?.length ? (\n \n {repaymentDetails?.map((data: any, index) => {\n const { repayment_date, amount_paid } = data;\n return (\n <>\n
\n
\n \n
\n

\n {formatMoney(amount_paid || 0, currency)}\n

{\" \"}\n \n {data?.repayment_status}\n

\n

\n {moment(repayment_date).format(\"D/MM/YYYY\")}\n

\n
\n
\n
\n
\n \n );\n })}\n
\n ) : (\n
No Data Available
\n )}\n
\n );\n};\n\nexport default LoanRepayments;\n","export const accurateQuantifier = (value, quantifier) => {\n const accurateQuantifier = `${value} ${quantifier}`;\n if (parseInt(value) === 1) {\n return accurateQuantifier;\n } else {\n return accurateQuantifier + \"s\";\n }\n};\n","import { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData, getDataWithKey } from \"../apis/apiMethods\";\nimport { useQuery } from \"react-query\";\n\nconst fetchLoanDetails = async ({ loanRef }: { loanRef: string }) => {\n const res = await getData(`${apiEndpoints.loanDetails}?loanRef=${loanRef}`);\n\n return res.data.loan_details;\n};\n\nexport function useFetchLoanTransactionDetails({\n loanRef,\n}: {\n loanRef: string;\n}) {\n return useQuery([{ loanRef }, \"fetchLoanDetails\"], fetchLoanDetails, {\n enabled: false,\n });\n}\n\nconst fetchWidgetLoanDetails = async ({\n loanRef,\n aggregator_id,\n}: {\n loanRef: string;\n aggregator_id: number;\n}) => {\n const res = await getDataWithKey(\n `${apiEndpoints.getWidgetLoanDetails}?loanRef=${loanRef}&aggregator_id=${aggregator_id}`\n );\n\n return res.data?.loan_details;\n};\n\nexport function useFetchWidgetLoanTransactionDetails({\n loanRef,\n aggregator_id,\n}: {\n loanRef: string;\n aggregator_id: number;\n}) {\n return useQuery(\n [{ loanRef, aggregator_id }, \"fetchWidgetLoanDetails\"],\n fetchWidgetLoanDetails,\n {\n enabled: true,\n }\n );\n}\n","export enum LoanOfferStatus {\n Pending,\n Accepted,\n Rejected,\n}\n","export default __webpack_public_path__ + \"static/media/success.4e6f7863.svg\";","import styles from \"../../Loans.module.scss\";\nimport { formatCurrency } from \"../../../../../../helpers/formatCurrency\";\nimport { Button } from \"antd\";\nimport React from \"react\";\nimport successSVG from \"../../../../../../assets/web/success.svg\";\nimport { LoanOfferProps } from \"../../../../../../web/components/features/newLoanOffer/NewLoanOffer\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n updateLoanDetailsAction,\n updateWidgetSettingsAction,\n} from \"../../../../../../redux/actions\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\ninterface NewOfferAcceptedScreenProps {\n mostRecentLoanOffer: LoanOfferProps | null;\n loanData: any;\n refetchPendingLoanOffer: () => void;\n}\n\nfunction NewOfferAcceptedScreen({\n mostRecentLoanOffer,\n loanData,\n refetchPendingLoanOffer,\n}: NewOfferAcceptedScreenProps) {\n const history = useHistory();\n const dispatch = useDispatch();\n\n function handleCloseModal() {\n refetchPendingLoanOffer();\n\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer_widget: {\n offer_amount: null,\n offer_tenor: null,\n },\n }),\n );\n\n if (history.location.pathname === \"/create-loan-account/loan/history\") {\n dispatch(\n updateWidgetSettingsAction({\n showNewLoanOffer: false,\n showLoanDetails: false,\n }),\n );\n } else {\n history.push(ROUTES.widgetDashboard);\n }\n }\n\n return (\n
\n
\n \"\"\n

Loan Accepted!

\n

\n Congratulations! Your loan of{\" \"}\n {`₦${formatCurrency(Number(mostRecentLoanOffer?.offer_amount || loanData?.new_loan_offer?.offer_amount))}`}{\" \"}\n will be processed. The funds will be deposited into your account\n shortly.\n

\n
\n \n
\n
\n
\n );\n}\n\nexport default NewOfferAcceptedScreen;\n","import styles from \"../../Loans.module.scss\";\nimport { formatCurrency } from \"../../../../../../helpers/formatCurrency\";\nimport { Button } from \"antd\";\nimport React from \"react\";\nimport { LoanOfferProps } from \"../../../../../../web/components/features/newLoanOffer/NewLoanOffer\";\nimport { useHistory } from \"react-router-dom\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport {\n updateLoanDetailsAction,\n updateWidgetSettingsAction,\n} from \"../../../../../../redux/actions\";\nimport { useDispatch } from \"react-redux\";\n\ninterface NewOfferRejectedScreenProps {\n mostRecentLoanOffer: LoanOfferProps | null;\n loanData: any;\n refetchPendingLoanOffer: () => void;\n}\n\nfunction NewOfferRejectedScreen({\n mostRecentLoanOffer,\n loanData,\n refetchPendingLoanOffer,\n}: NewOfferRejectedScreenProps) {\n const history = useHistory();\n const dispatch = useDispatch();\n\n function handleCloseModal() {\n refetchPendingLoanOffer();\n\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer_widget: {\n offer_amount: null,\n offer_tenor: null,\n },\n }),\n );\n\n if (history.location.pathname === \"/create-loan-account/loan/history\") {\n dispatch(updateWidgetSettingsAction({ showNewLoanOffer: false }));\n history.push(ROUTES.widgetLoan);\n } else {\n history.push(ROUTES.widgetDashboard);\n }\n }\n\n function generateContactUsUrl() {\n refetchPendingLoanOffer();\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer_widget: {\n offer_amount: null,\n offer_tenor: null,\n },\n }),\n );\n\n history.push(ROUTES.widgetContactUs);\n }\n\n return (\n
\n
\n
\n

Loan Declined

\n

\n You have chosen to decline the loan offer of{\" \"}\n {`₦${formatCurrency(Number(mostRecentLoanOffer?.offer_amount || loanData?.new_loan_offer?.offer_amount))}`}\n . If you need assistance or have any questions, please contact our\n support team.\n

\n
\n\n
\n \n\n \n Contact Support\n \n
\n
\n );\n}\n\nexport default NewOfferRejectedScreen;\n","import { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport {\n formatCurrency,\n formatMoney,\n} from \"../../../../../../helpers/formatCurrency\";\nimport styles from \"../../Loans.module.scss\";\nimport React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { useFetchPendingWidgetLoanOffer } from \"../../../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { LoanOfferProps } from \"../../../../../../web/components/features/newLoanOffer/NewLoanOffer\";\nimport { Alert, Button } from \"antd\";\nimport {\n updateLoanDetailsAction,\n updateWidgetSettingsAction,\n} from \"../../../../../../redux/actions\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { LoanOfferStatus } from \"../../../../../../helpers/shared\";\nimport NewOfferAcceptedScreen from \"./NewOfferAcceptedScreen\";\nimport NewOfferRejectedScreen from \"./NewOfferRejectedScreen\";\nimport mixpanel from \"mixpanel-browser\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\nfunction NewLoanOfferWidget() {\n const [mostRecentLoanOffer, setMostRecentLoanOffer] =\n useState(null);\n const [isLoading, setIsLoading] = useState(false);\n const [showOfferAcceptedScreen, setShowOfferAcceptedScreen] = useState(false);\n const [showOfferRejectedScreen, setShowOfferRejectedScreen] = useState(false);\n const [error, setError] = useState(\"\");\n const history = useHistory();\n const dispatch = useDispatch();\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const loanData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Widget - (NewLoanOffer.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: NewLoanOffer.tsx`, {\n page: \"NewLoanOffer.tsx - (Widget)\",\n });\n }, []);\n\n const {\n data: pendingLoanOffer,\n isLoading: isLoadingPendingLoanOffer,\n refetch: refetchPendingLoanOffer,\n } = useFetchPendingWidgetLoanOffer({\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n });\n\n useEffect(() => {\n if (!isLoadingPendingLoanOffer && pendingLoanOffer) {\n const recentLoanOffer = pendingLoanOffer[pendingLoanOffer?.length - 1];\n setMostRecentLoanOffer(recentLoanOffer);\n }\n }, [pendingLoanOffer, isLoadingPendingLoanOffer]);\n\n function navigationHandler() {\n if (history.location.pathname === \"/create-loan-account/loan/history\") {\n dispatch(updateWidgetSettingsAction({ showNewLoanOffer: false }));\n } else {\n history.push(ROUTES.widgetDashboard);\n }\n }\n\n async function newOfferAcceptanceHandler() {\n setIsLoading(true);\n\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer: {\n offer_amount: mostRecentLoanOffer?.offer_amount,\n offer_tenor: mostRecentLoanOffer?.offer_tenure,\n },\n }),\n );\n\n const payload = {\n loan_offer_id: mostRecentLoanOffer?.id,\n status: LoanOfferStatus.Accepted,\n };\n\n try {\n const response = await postDataWithKey(\n `${\n apiEndpoints.updateNewLoanOfferStatusWidget\n }?aggregator_id=${borrowerDetails?.aggregator_id}`,\n payload,\n );\n\n if (response?.status) {\n setShowOfferAcceptedScreen(true);\n mixpanel.track(\"New Offer Accepted\", {\n distinct_id: `${borrowerDetails?.email}`,\n Comment: `${mostRecentLoanOffer?.comment}`,\n CreatedAt: `${mostRecentLoanOffer?.created_at}`,\n CreatedBy: `${mostRecentLoanOffer?.created_by}`,\n OfferAmount: `${mostRecentLoanOffer?.offer_amount}`,\n OfferTenure: `${mostRecentLoanOffer?.offer_tenure}`,\n RepaymentType: `${mostRecentLoanOffer?.repayment_type}`,\n RequestedAmount: `${mostRecentLoanOffer?.requested_amount}`,\n RequestedTenure: `${mostRecentLoanOffer?.requested_tenure}`,\n });\n }\n } catch (error) {\n setError(error?.response?.data?.message ?? error?.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Widget - (NewLoanOfferWidget.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n }\n\n async function newOfferRejectionHandler() {\n setIsLoading(true);\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer_widget: {\n offer_amount: mostRecentLoanOffer?.offer_amount,\n offer_tenor: mostRecentLoanOffer?.offer_tenure,\n },\n }),\n );\n\n const payload = {\n loan_offer_id: mostRecentLoanOffer?.id,\n status: LoanOfferStatus.Rejected,\n };\n\n try {\n const response = await postDataWithKey(\n `${apiEndpoints.updateNewLoanOfferStatusWidget}?aggregator_id=${borrowerDetails?.aggregator_id}`,\n payload,\n );\n\n if (response.status) {\n mixpanel.track(\"New Offer Rejected\", {\n distinct_id: `${borrowerDetails?.email}`,\n Comment: `${mostRecentLoanOffer?.comment}`,\n CreatedAt: `${mostRecentLoanOffer?.created_at}`,\n CreatedBy: `${mostRecentLoanOffer?.created_by}`,\n OfferAmount: `${mostRecentLoanOffer?.offer_amount}`,\n OfferTenure: `${mostRecentLoanOffer?.offer_tenure}`,\n RepaymentType: `${mostRecentLoanOffer?.repayment_type}`,\n RequestedAmount: `${mostRecentLoanOffer?.requested_amount}`,\n RequestedTenure: `${mostRecentLoanOffer?.requested_tenure}`,\n });\n setShowOfferRejectedScreen(true);\n }\n } catch (error) {\n setError(error?.response?.data?.message ?? error?.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Widget - (NewLoanOfferWidget.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n }\n\n if (showOfferAcceptedScreen) {\n return (\n \n );\n }\n\n if (showOfferRejectedScreen) {\n return (\n \n );\n }\n\n if (isLoadingPendingLoanOffer || isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n return (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n
\n \n
\n

Loan Offer

\n {mostRecentLoanOffer?.offer_amount !==\n mostRecentLoanOffer?.requested_amount ||\n (mostRecentLoanOffer?.offer_amount !==\n mostRecentLoanOffer?.requested_amount &&\n mostRecentLoanOffer?.offer_tenure !==\n mostRecentLoanOffer?.requested_tenure) ? (\n

\n After careful review, your loan has been approved for an amount\n different from your original request. This adjustment is due to\n eligibility criteria. Here are the details of your revised loan:\n

\n ) : (\n

\n After careful review, your loan has been approved for a tenor\n different from your original request. This adjustment is due to\n eligibility criteria. Here are the details of your revised loan:\n

\n )}\n\n
\n
\n
\n
\n \n ₦\n {formatCurrency(\n Number(\n mostRecentLoanOffer?.offer_amount ||\n loanData?.new_loan_offer_widget?.offer_amount,\n ),\n )}\n \n
\n
\n\n
\n
\n Currency\n \n {mostRecentLoanOffer?.currency_code === \"NGN\" ? \"Naira\" : null}\n \n
\n
\n Repayment Frequency\n \n {mostRecentLoanOffer?.repayment_type}\n \n
\n
\n Tenor\n {mostRecentLoanOffer?.offer_tenure} days\n
\n
\n
\n
\n\n
\n \n \n
\n
\n );\n}\n\nexport default NewLoanOfferWidget;\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport logo from \"../../../../../../assets/loans/loanHistory.svg\";\nimport { formatMoney } from \"../../../../../../helpers/formatCurrency\";\nimport moment from \"moment\";\nimport LoanRepaymentSchedule from \"./LoanRepaymentSchedule\";\nimport LoanRepayments from \"./LoanRepayments\";\nimport { LoanProp } from \"./LoanHistory\";\nimport { accurateQuantifier } from \"../../../../../../helpers/accurateQuantifier\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport styles from \"../../Loans.module.scss\";\nimport { useFetchWidgetLoanTransactionDetails } from \"../../../../../../custom-hooks/useFetchLoanTransactionDetails\";\nimport { Alert, Button } from \"antd\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport NewLoanOfferWidget from \"../NewLoanOfferWidget/NewLoanOffer\";\nimport { updateWidgetSettingsAction } from \"../../../../../../redux/actions\";\nimport { useFetchPendingWidgetLoanOffer } from \"../../../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport { LoanOfferProps } from \"../../../../../../web/components/features/newLoanOffer/NewLoanOffer\";\n\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n WithdrawnByClient = \"withdrawnByClient\",\n Closed = \"closed\",\n WrittenOff = \"writtenOff\",\n Overpaid = \"overpaid\",\n}\n\nconst LoanHistoryDetails = ({ loanRef, onCancel }: LoanProp) => {\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const widgetData = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const { aggregator_id } = borrowerDetails;\n const { encryptedKey } = widgetSettings;\n let location = useLocation();\n const history = useHistory();\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n const [showSchedule, setShowSchedule] = useState(false);\n const [showRepayment, setShowRepayment] = useState(false);\n const [mostRecentLoanOffer, setMostRecentLoanOffer] =\n useState(null);\n const [error, setError] = useState();\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanHistoryDetails.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n const { data: pendingLoanOffer, isLoading: isLoadingPendingLoanOffer } =\n useFetchPendingWidgetLoanOffer({\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n });\n\n const {\n data: widgetLoanDetails,\n isLoading: isLoadingWidgetLoanDetails,\n error: widgetLoanDetailError,\n } = useFetchWidgetLoanTransactionDetails({\n loanRef: loanRef ? loanRef : \"\",\n aggregator_id: aggregator_id ? aggregator_id : 0,\n });\n\n useEffect(() => {\n if (!isLoadingPendingLoanOffer && pendingLoanOffer) {\n const recentLoanOffer = pendingLoanOffer[pendingLoanOffer?.length - 1];\n setMostRecentLoanOffer(recentLoanOffer);\n }\n }, [pendingLoanOffer, isLoadingPendingLoanOffer]);\n\n useEffect(() => {\n if (widgetLoanDetailError) {\n setError(widgetLoanDetailError);\n }\n }, [widgetLoanDetailError, isLoadingWidgetLoanDetails]);\n\n if (showSchedule) {\n return (\n {\n setShowSchedule(false);\n }}\n currency={widgetLoanDetails?.currency || \"\"}\n />\n );\n }\n\n if (showRepayment) {\n return (\n setShowRepayment(false)}\n currency={widgetLoanDetails?.currency || \"\"}\n />\n );\n }\n\n if (widgetData.showNewLoanOffer) {\n return ;\n }\n\n const getStatusStyle = (status: string | undefined) => {\n switch (status?.toLowerCase()) {\n case Status.Active:\n case Status.Repaid:\n case Status.Approved:\n return styles.active;\n case Status.Rejected:\n case Status.Overdue:\n return styles.rejected;\n case Status.AwaitingApproval:\n case Status.SubmittedAndAwaitingApproval:\n return styles.awaiting;\n default:\n return \"\";\n }\n };\n\n if (isLoadingWidgetLoanDetails) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n
\n {error && (\n
\n {\n if (setError) {\n setError(\"\");\n }\n }}\n />\n
\n )}\n
\n
(onCancel ? onCancel() : null)} className=\"cursor\">\n \n
\n\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n
\n {pendingLoanOffer?.length > 0 &&\n mostRecentLoanOffer?.requested_loan_id ===\n widgetLoanDetails?.loan_id ? (\n {\n setShowSchedule(false);\n setShowRepayment(false);\n dispatch(\n updateWidgetSettingsAction({ showNewLoanOffer: true }),\n );\n }}\n style={{ color: \"orange\" }}\n >\n View new offer\n \n ) : null}\n {\n history.push({\n pathname: ROUTES.widgetLoanRepaymentAmount,\n state: {\n loan_id: widgetLoanDetails?.loan_id,\n loan_ref: widgetLoanDetails?.loan_ref,\n },\n });\n }}\n disabled={\n widgetLoanDetails?.status?.toLowerCase() ===\n Status.AwaitingApproval ||\n widgetLoanDetails?.status?.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval ||\n widgetLoanDetails?.status?.toLowerCase() === Status.Closed ||\n widgetLoanDetails?.status?.toLowerCase() ===\n Status.WithdrawnByClient ||\n widgetLoanDetails?.has_repaid\n }\n >\n Repay loan\n \n
\n )}\n
\n
\n\n
\n
\n
\n
\n \n
\n
\n

\n {formatMoney(\n widgetLoanDetails?.loan_amount || 0,\n widgetLoanDetails?.currency || \"\",\n )}\n \n {widgetLoanDetails?.status?.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval\n ? \"Awaiting approval\"\n : widgetLoanDetails?.status}\n \n

\n \n {moment(widgetLoanDetails?.pub_date).format(\n \"D/MM/YYYY, h:mm a\",\n )}\n \n
\n
\n
\n
\n

\n {widgetLoanDetails?.loan_id}\n

\n

\n {accurateQuantifier(widgetLoanDetails?.loan_tenure, \"day\")}\n

\n
\n\n
\n

ID

\n

Tenor

\n
\n
\n
\n
\n

\n {moment(widgetLoanDetails?.pub_date).format(\"DD MMM, YYYY\")}\n

\n

\n {loanRef}\n

\n
\n\n
\n

Request date

\n

Reference Number

\n
\n
\n
\n
\n {/*

\n {status ? status : \"N/A\"}\n

*/}\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

\n {moment(widgetLoanDetails?.modified_date).format(\n \"DD MMM, YYYY\",\n )}\n

\n )}\n
\n\n
\n {/*

Disbursement Status

*/}\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

Approval date

\n )}\n
\n
\n
\n\n
\n
\n

\n {formatMoney(\n widgetLoanDetails?.loan_amount || 0,\n widgetLoanDetails?.currency || \"\",\n )}\n

\n\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

\n {moment(widgetLoanDetails?.loan_due_date).format(\n \"DD MMM, YYYY\",\n )}\n

\n )}\n
\n\n
\n

Amount

\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

Maturity date

\n )}\n
\n
\n
\n
\n

\n {formatMoney(\n widgetLoanDetails?.loan_interest_amount || 0,\n widgetLoanDetails?.currency || \"\",\n )}\n

\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

\n {formatMoney(\n widgetLoanDetails?.loan_outstanding || 0,\n widgetLoanDetails?.currency || \"\",\n )}\n

\n )}\n
\n\n
\n

Interest

\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

Outstanding

\n )}\n
\n
\n
\n
\n

\n {formatMoney(\n Number(widgetLoanDetails?.loan_amount || 0) +\n Number(widgetLoanDetails?.loan_interest_amount || 0) || 0,\n widgetLoanDetails?.currency || \"\",\n )}\n

\n\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

\n {formatMoney(\n widgetLoanDetails?.total_loan_repaid || 0,\n widgetLoanDetails?.currency || \"\",\n )}\n

\n )}\n
\n\n
\n

Total Repayment Amount

\n {widgetLoanDetails?.status?.toLowerCase() !==\n Status.AwaitingApproval && (\n

Amount repaid

\n )}\n
\n
\n
\n
\n
\n {widgetLoanDetails?.status?.toLowerCase() !== Status.AwaitingApproval && (\n
\n {\n setShowRepayment(true);\n setShowSchedule(false);\n dispatch(updateWidgetSettingsAction({ showNewLoanOffer: false }));\n }}\n disabled={\n widgetLoanDetails?.status?.toLowerCase() ===\n Status.AwaitingApproval ||\n widgetLoanDetails?.status?.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval ||\n widgetLoanDetails?.status?.toLowerCase() === Status.Rejected ||\n widgetLoanDetails?.status?.toLowerCase() ===\n Status.WithdrawnByClient\n }\n >\n View repayments\n \n\n {\n setShowSchedule(true);\n setShowRepayment(false);\n dispatch(updateWidgetSettingsAction({ showNewLoanOffer: false }));\n }}\n className=\"text-primary padding-none cursor-pointer\"\n >\n View repayments schedule\n \n
\n )}\n
\n );\n};\n\nexport default LoanHistoryDetails;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData, getDataWithKey } from \"../apis/apiMethods\";\n\nexport const fetchLoanTransactions = async ({\n customerId,\n page,\n}: {\n customerId: string;\n page: number;\n}) => {\n const res = await getData(\n `${apiEndpoints.customerLoanHistory}/${customerId}?page=${page}`,\n );\n};\nexport const fetchWebLoanTransactions = async ({\n customerId,\n page,\n}: {\n customerId: string;\n page: number;\n}) => {\n const res = await getData(\n `${apiEndpoints.customerLoanHistory}/${customerId}?page=${page}`,\n );\n\n return res.data;\n};\n\nexport default function useFetchLoanHistory({\n customerId,\n page,\n}: {\n customerId: string;\n page: number;\n}) {\n return useQuery(\n [{ customerId }, \"fetchLoanTransaction\"],\n fetchLoanTransactions,\n {\n refetchOnWindowFocus: true,\n enabled: false,\n },\n );\n}\n\nexport const fetchWidgetLoanTransactions = async ({\n customerId,\n aggregator_id,\n page,\n}: {\n customerId: number;\n aggregator_id: number;\n page: number;\n}) => {\n const res = await getDataWithKey(\n `${apiEndpoints.getBorrowerLoansInWidget}/${customerId}?aggregator_id=${aggregator_id}&page=${page}`,\n );\n\n return res.data;\n};\n\nexport function useFetchWidgetLoanHistory({\n customerId,\n aggregator_id,\n page,\n}: {\n customerId: number;\n aggregator_id: number;\n page: number;\n}) {\n return useQuery(\n [{ customerId, aggregator_id, page }, \"fetchWidgetLoanTransactions\"],\n fetchWidgetLoanTransactions,\n {\n refetchOnWindowFocus: true,\n enabled: true,\n },\n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { MdArrowForwardIos } from \"react-icons/md\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport logo from \"../../../../../../assets/loans/loanHistory.svg\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport { formatMoney } from \"../../../../../../helpers/formatCurrency\";\nimport LoanHistoryDetails from \"./LoanHistoryDetails\";\nimport moment from \"moment\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport styles from \"../../Loans.module.scss\";\nimport {\n fetchWidgetLoanTransactions,\n useFetchWidgetLoanHistory,\n} from \"../../../../../../custom-hooks/useFetchLoanHistory\";\nimport { useQueryCache } from \"react-query\";\nimport { Alert, Button } from \"antd\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport redDot from \"../../../../../../assets/red-dot.svg\";\nimport { useFetchPendingWidgetLoanOffer } from \"../../../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport { LoanOfferProps } from \"../../../../../../web/components/features/newLoanOffer/NewLoanOffer\";\nimport { updateWidgetSettingsAction } from \"../../../../../../redux/actions\";\n\nexport type LoanProp = {\n loanRef?: string;\n status?: string;\n borrower_id?: number;\n encryptedKey?: string;\n aggregator_id?: number;\n onCancel?: () => void;\n currency?: string;\n loanAmount?: number;\n loanMaturityDate?: string;\n id?: number;\n};\n\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n Closed = \"closed\",\n Withdrawn = \"withdrawn\",\n}\n\nconst LoanHistory = () => {\n const history = useHistory();\n const [pageNumber, setPageNumber] = useState(1);\n const [selectedLoan, setSelectedLoan] = useState(null);\n const [error, setError] = useState();\n const [mostRecentLoanOffer, setMostRecentLoanOffer] =\n useState(null);\n const queryCache = useQueryCache();\n const dispatch = useDispatch();\n const widgetState = useSelector(\n (store: ReduxStoreModel) => store.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const { customer_id, aggregator_id } = borrowerDetails;\n const { encryptedKey, showLoanDetails } = widgetState;\n\n useEffect(() => {\n appInsights.trackPageView({ name: \"LoanHistory.tsx\", isLoggedIn: true });\n }, []);\n\n const getStatusStyle = (status: string | undefined) => {\n switch (status?.toLowerCase()) {\n case Status.Active:\n case Status.Repaid:\n case Status.Approved:\n return styles.active;\n case Status.Rejected:\n case Status.Overdue:\n return styles.rejected;\n case Status.AwaitingApproval:\n case Status.SubmittedAndAwaitingApproval:\n return styles.awaiting;\n default:\n return \"\";\n }\n };\n\n const { data: pendingLoanOffer, isLoading: isLoadingPendingLoanOffer } =\n useFetchPendingWidgetLoanOffer({\n customer_id: borrowerDetails?.customer_id,\n aggregator_id: borrowerDetails?.aggregator_id,\n });\n\n const {\n data: widgetLoanHistory,\n isLoading: isLoadingLoanHistory,\n error: widgetLoanHistoryError,\n } = useFetchWidgetLoanHistory({\n customerId: customer_id ? customer_id : 0,\n aggregator_id: aggregator_id ? aggregator_id : 0,\n page: pageNumber,\n });\n\n useEffect(() => {\n if (pageNumber < widgetLoanHistory?.totalPages) {\n const nextPage = pageNumber + 1;\n queryCache.prefetchQuery(\n [\n {\n customerId: customer_id && customer_id,\n aggregator_id: aggregator_id && aggregator_id,\n page: nextPage,\n },\n \"fetchWidgetLoanTransactions\",\n ],\n fetchWidgetLoanTransactions,\n );\n }\n }, [\n pageNumber,\n queryCache,\n customer_id,\n aggregator_id,\n widgetLoanHistory?.totalPages,\n ]);\n\n useEffect(() => {\n if (widgetLoanHistoryError) {\n setError(widgetLoanHistoryError);\n }\n }, [widgetLoanHistoryError, isLoadingLoanHistory]);\n\n useEffect(() => {\n if (!isLoadingPendingLoanOffer && pendingLoanOffer) {\n const recentLoanOffer = pendingLoanOffer[pendingLoanOffer?.length - 1];\n setMostRecentLoanOffer(recentLoanOffer);\n }\n }, [pendingLoanOffer, isLoadingPendingLoanOffer]);\n\n function loanOptionsNavigationHandler() {\n dispatch(\n updateWidgetSettingsAction({\n showLoanDetails: false,\n showNewLoanOffer: false,\n }),\n );\n history.push(ROUTES.widgetLoan);\n }\n\n function viewLoanDetailsHandler(item: any) {\n setSelectedLoan(item);\n dispatch(updateWidgetSettingsAction({ showLoanDetails: true }));\n }\n\n function loanDetailsbBckNavigationHandler() {\n dispatch(updateWidgetSettingsAction({ showLoanDetails: false }));\n }\n\n if (showLoanDetails) {\n return (\n \n );\n }\n\n if (isLoadingLoanHistory) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n
\n {error && (\n
\n {\n if (setError) {\n setError(\"\");\n }\n }}\n />\n
\n )}\n
\n \n
\n

Loan History

\n
\n {widgetLoanHistory?.data?.length === 0 ? (\n

No Data Available

\n ) : (\n widgetLoanHistory?.data?.map((item: LoanProp) => (\n
\n viewLoanDetailsHandler(item)}\n >\n
\n
\n
\n \n
\n
\n

\n {formatMoney(item?.loanAmount || 0, \"NGN\")}\n \n {item?.status?.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval\n ? \"Awaiting approval\"\n : item?.status}\n \n

\n {item?.status?.toLowerCase() === Status.Active ||\n item?.status?.toLowerCase() === Status.Approved ||\n item?.status?.toLowerCase() === Status.Overdue ? (\n \n {moment(item?.loanMaturityDate).format(\"D/MM/YYYY\")}\n \n ) : null}\n
\n {pendingLoanOffer?.length > 0 &&\n mostRecentLoanOffer?.requested_loan_id === item?.id ? (\n \"\"\n ) : null}\n
\n\n \n
\n
\n
\n
\n ))\n )}\n {/* Temporarily commented out */}\n {/* {currency === \"NGN\" ? (\n \n
\n history.push(ROUTES.widgetProfile)}\n >\n Update card details\n

\n
\n \n ) : null} */}\n\n
\n setPageNumber((prev) => prev - 1)}\n disabled={pageNumber === 1}\n >\n Prev\n \n \n = widgetLoanHistory?.totalPages}\n onClick={() => setPageNumber((prev) => prev + 1)}\n >\n Next\n \n
\n \n );\n};\n\nexport default LoanHistory;\n","import React, { useState } from \"react\";\nimport { IoIosArrowDown, IoIosArrowUp } from \"react-icons/io\";\nimport { RiFileCopyFill } from \"react-icons/all\";\nimport styles from \"./DirectDebit.module.scss\";\nimport copy from \"copy-text-to-clipboard\";\nimport { Alert } from \"antd\";\n\ninterface DirectDebitExistingAccountsProps {\n existingDirectDebitAccountData: any;\n directdebitError: any;\n}\n\nconst DirectDebitExistingAccounts = ({\n existingDirectDebitAccountData,\n directdebitError,\n}: DirectDebitExistingAccountsProps) => {\n const [copiedSuccessMessage, setCopiedSuccessMessage] = useState(\"\");\n\n const [showBankAccounts, setShowBankAccounts] = useState(false);\n const handleCopy = () => {\n const content = document?.getElementById(\"accountNumber\")?.textContent;\n if (content) {\n copy(content);\n }\n };\n\n return (\n
\n {copiedSuccessMessage && (\n \n setCopiedSuccessMessage(\"\")}\n />\n
\n )}\n

Direct Debit Accounts

\n setShowBankAccounts((prev) => !prev)}\n >\n {\" \"}\n View accounts{\" \"}\n {showBankAccounts ? (\n \n ) : (\n \n )}\n

\n\n {showBankAccounts && (\n
\n {directdebitError && (\n {directdebitError}\n )}\n {existingDirectDebitAccountData?.bank_accounts?.length > 0 ? (\n existingDirectDebitAccountData?.bank_accounts?.map(\n ({\n account_name,\n account_number,\n bank_name,\n }: {\n account_name: string;\n account_number: string;\n bank_name: any;\n }) => (\n \n
\n
\n \n {account_number}\n

\n \n {\" \"}\n {account_name}\n \n
\n {\n handleCopy();\n setCopiedSuccessMessage(\"copied\");\n setTimeout(() => {\n setCopiedSuccessMessage(\"\");\n }, 3000);\n }}\n >\n \n
\n
\n

\n {bank_name ? bank_name : \" bank name unavailable\"}\n

\n \n )\n )\n ) : (\n
\n

No Data Available

\n
\n )}\n \n )}\n \n );\n};\n\nexport default DirectDebitExistingAccounts;\n","import React, { useState } from \"react\";\nimport { IoMdArrowRoundBack } from \"react-icons/all\";\nimport { useHistory } from \"react-router-dom\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport DirectDebit from \"../../../DirectDebit/DirectDebit\";\nimport DirectDebitExistingAccounts from \"../../../DirectDebit/DirectDebitExistingAccounts\";\nimport useDirectDebitExistingAccounts from \"../../../../../custom-hooks/useDirectDebitExistingAccounts\";\nimport { ISuccess } from \"../../../../../interfaces/success\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\n\nconst DirectDebitProfile = () => {\n const history = useHistory();\n const [error, setError] = useState(\"\");\n const [success, setSuccess] = useState({\n headerText: \"\",\n bodyText: \"\",\n });\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer\n );\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer\n );\n const { bankList } = widgetSettings;\n const { returningUserDetails, customer_id } = borrowerDetails;\n const { data: existingDirectDebitAccountData, error: directdebitError } =\n useDirectDebitExistingAccounts({\n customerId:\n customer_id || returningUserDetails?.customer_id\n ? customer_id || returningUserDetails?.customer_id\n : 0,\n });\n\n return (\n
\n history.push(ROUTES.widgetProfile)}\n className=\"cursor\"\n >\n \n
\n {existingDirectDebitAccountData?.bank_accounts?.length > 0 && (\n \n )}\n \n \n );\n};\n\nexport default DirectDebitProfile;\n","import React, { useEffect } from \"react\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { Form, Input } from \"antd\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport mixpanel from \"mixpanel-browser\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\nconst LoanRepaymentAmount = () => {\n let location = useLocation();\n const history = useHistory();\n const [form] = Form.useForm();\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Loan Repayment\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Repayment.tsx`, {\n page: \"Repayment.tsx - (Widget)\",\n });\n }, []);\n\n return (\n
\n history.goBack()\n // history.push({\n // pathname: ROUTES.widgetLoanHistory,\n // })\n }\n className=\"cursor\"\n >\n \n
\n

Loan repayment

\n
\n \n history.push({\n pathname: ROUTES.widgetLoanRepaymentMethods,\n state: {\n loan_id: location?.state?.loan_id,\n amount: values.amount,\n loan_ref: location?.state?.loan_ref,\n },\n })\n }\n >\n \n \n \n\n \n
\n \n history.push({\n pathname: ROUTES.widgetLoanHistory,\n })\n }\n >\n Go Back\n

\n \n
\n \n \n \n );\n};\n\nexport default LoanRepaymentAmount;\n","import React, { useEffect, useState } from \"react\";\n\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { Form, Input, message } from \"antd\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\n\ninterface ILoanRepaymentViaMpesa {\n encryptedKeyObject: {\n encryptedKey: string;\n };\n}\n\ntype TRepaymentPayload = {\n loan_id: number;\n repayment_amount: number;\n phone_number: string;\n};\n\ntype TLocation = {\n loan_id: number;\n};\n\nconst LoanRepaymentViaMpesa = () => {\n const [isLoading, setIsLoading] = useState(false);\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer\n );\n const { encryptedKey } = widgetSettings;\n const history = useHistory();\n const location = useLocation();\n\n const {\n state: { loan_id },\n } = location;\n\n const [form] = Form.useForm();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRepaymentMpesa.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleRepayViaMpesa = async (data: TRepaymentPayload) => {\n setIsLoading(true);\n\n try {\n const payload = {\n loan_id: loan_id,\n repayment_amount: Number(data?.repayment_amount),\n phone_number: data?.phone_number,\n };\n const response = await postDataWithKey(\n apiEndpoints.postLoanRepaymentViaMpesa,\n payload,\n //@ts-ignore\n encryptedKey\n );\n\n if (response?.status_code === 200) {\n message.success(response?.message);\n setTimeout(() => {\n history.push(ROUTES.widgetLoanHistory);\n }, 3000);\n } else {\n message.error(response?.message);\n }\n } catch (error: any) {\n appInsights.trackException({\n exception: error,\n properties: { fileName: \"LoanRepaymentMpesa.tsx\" },\n });\n message.error(error?.message);\n }\n setIsLoading(false);\n };\n\n return (\n
\n
history.goBack()} className=\"cursor\">\n \n
\n
\n

Pay Via MPesa

\n
\n \n \n \n \n \n \n\n \n {isLoading ? : \"Pay\"}\n \n \n
\n );\n};\n\nexport default LoanRepaymentViaMpesa;\n","export default __webpack_public_path__ + \"static/media/add-circle.ba446368.svg\";","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData, getDataWithKey } from \"../apis/apiMethods\";\n\ninterface GetCardProps {\n borrower_id: number;\n aggregator_id: number;\n isWidget: boolean;\n}\n\nconst getCards = async ({\n borrower_id,\n aggregator_id,\n isWidget,\n}: GetCardProps) => {\n const { data } = await getData(\n `${apiEndpoints.fetchCards}?borrower_id=${borrower_id}&aggregator_id=${aggregator_id}&isWidget=${isWidget}`\n );\n\n return data;\n};\n\nexport default function useFetchCards({\n borrower_id,\n aggregator_id,\n isWidget,\n}: GetCardProps) {\n return useQuery(\n [{ borrower_id, aggregator_id, isWidget }, \"getCards\"],\n getCards,\n {\n refetchOnWindowFocus: true,\n // enabled: borrower_id && aggregator_id && isWidget ? true : false,\n }\n );\n}\n\nconst getWidgetCards = async ({\n borrower_id,\n aggregator_id,\n}: {\n borrower_id: number;\n aggregator_id: number;\n}) => {\n const { data } = await getDataWithKey(\n `${apiEndpoints.fetchCards}?borrower_id=${borrower_id}&aggregator_id=${aggregator_id}`\n );\n\n return data;\n};\n\nexport function useFetchWidgetCards({\n borrower_id,\n aggregator_id,\n}: {\n borrower_id: number;\n aggregator_id: number;\n}) {\n return useQuery(\n [{ borrower_id, aggregator_id }, \"getWidgetCards\"],\n getWidgetCards,\n {\n refetchOnWindowFocus: true,\n // enabled: borrower_id && aggregator_id && isWidget ? true : false,\n }\n );\n}","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData, getDataWithKey } from \"../apis/apiMethods\";\n\nconst directDebitsApprovedAccts = async ({\n loanRef,\n clientRequest,\n}: {\n loanRef: string;\n clientRequest: boolean;\n}) => {\n try {\n const response = await getData(\n `${apiEndpoints.directDebitEmandatesAccts}?loan_ref=${loanRef}&isClientRequest=${clientRequest}`,\n );\n return response.data;\n } catch (error: any) {\n console.error(error.response.data.message);\n }\n};\n\nconst widgetDirectDebitsApprovedAccts = async ({\n loanRef,\n clientRequest, isWidget, aggregator_id\n}: {\n loanRef: string;\n clientRequest: boolean; isWidget: boolean; aggregator_id: number\n}) => {\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.directDebitEmandatesAccts}?loan_ref=${loanRef}&isClientRequest=${clientRequest}&isWidget=${isWidget}&aggregator_id=${aggregator_id}`\n );\n return response.data;\n } catch (error: any) {\n console.error(error.response.data.message);\n }\n};\n\nexport function useDirectDebitsApprovedAcct({\n loanRef,\n clientRequest,\n}: {\n loanRef: string;\n clientRequest: boolean;\n}) {\n return useQuery(\n [{ loanRef, clientRequest }, \"directDebitsApprovedAccts\"],\n directDebitsApprovedAccts,\n {\n refetchOnWindowFocus: false,\n enabled: loanRef && clientRequest ? true : false,\n },\n );\n}\n\nexport function useWidgetDirectDebitsApprovedAcct({\n loanRef,\n clientRequest, isWidget, aggregator_id\n}: {\n loanRef: string;\n clientRequest: boolean; isWidget: boolean; aggregator_id: number\n}\n) {\n return useQuery(\n [{ loanRef, clientRequest, isWidget, aggregator_id }, \"widgetDirectDebitsApprovedAccts\"],\n widgetDirectDebitsApprovedAccts,\n {\n refetchOnWindowFocus: false,\n // enabled: loanRef && clientRequest ? true : false,\n }\n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { BiRightArrowAlt } from \"react-icons/bi\";\nimport { BsCreditCardFill } from \"react-icons/bs\";\nimport { IoWalletOutline } from \"react-icons/io5\";\nimport { MdOutlinePayments } from \"react-icons/md\";\nimport { RiFileCopyFill } from \"react-icons/ri\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { formatCurrency } from \"../../../../../../helpers/formatCurrency\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport {\n getDataWithKey,\n postDataWithKey,\n} from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport {\n errorHandler,\n errorToast,\n} from \"../../../../../../helpers/errorHandler\";\nimport NewLoader from \"../../../components/NewLoader\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport styles from \"../../../../WidgetFlow.module.scss\";\nimport { deviceType } from \"react-device-detect\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport addCircle from \"../../../../../../assets/web/add-circle.svg\";\nimport AppCard from \"../../../components/AppCard\";\nimport { useFetchWidgetCards } from \"../../../../../../custom-hooks/useFetchCard\";\nimport { useWidgetDirectDebitsApprovedAcct } from \"../../../../../../custom-hooks/useDirectDebitsApprovedAcct\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { CardProp } from \"../../../../../../web/components/profile/card/addCard/AddCardForm\";\nimport { WalletDetails } from \"../../../../../../interfaces/wallet\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n// import { IBorrowerData } from \"../../../../../../interfaces/borrower\";\ntype TLocation = {\n state: {\n loan_id: number;\n };\n};\n\nconst LoanRepaymentMethods = () => {\n const [isLoading, setIsLoading] = useState(false);\n const [done, setDone] = useState(false);\n const [success, setSuccess] = useState(\"\");\n const [walletDetails, setWalletDetails] = useState();\n const [debitCard, setDebitCard] = useState([]);\n // const [kenyaBank, setKenyaBank] = useState({});\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const { encryptedKey } = widgetSettings;\n const { aggregator_id, customer_id, currency, country_code } =\n borrowerDetails;\n let location = useLocation();\n const history = useHistory();\n const data = localStorage.getItem(\"userData\");\n const userInfo = data && JSON.parse(data);\n\n // const paystackRef = useRef();\n const {\n state: { loan_id },\n } = location as TLocation;\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n\n const { data: value } = useFetchWidgetCards({\n borrower_id: customer_id ? customer_id : 0,\n aggregator_id: aggregator_id ? aggregator_id : 0,\n });\n\n const {\n data: ApprovedDirectDebitData,\n isLoading: ApprovedDirectDebitLoading,\n } = useWidgetDirectDebitsApprovedAcct({\n loanRef: location?.state?.loan_ref,\n clientRequest: true,\n isWidget: true,\n aggregator_id: aggregator_id ? aggregator_id : 0,\n });\n\n useEffect(() => {\n // @ts-ignore\n setDebitCard(value);\n }, [value]);\n\n async function handleRepaymentWithCard() {\n if (debitCard?.length === 0) {\n history.push({\n pathname: ROUTES.widgetLoanRepaymentViaNewCard,\n state: {\n loan_id: location?.state?.loan_id,\n amount: location?.state?.amount,\n },\n });\n } else {\n setIsLoading(true);\n try {\n const response = await postDataWithKey(\n apiEndpoints.makeRepayment,\n {\n aggregator_id: aggregator_id,\n borrower_id: customer_id,\n borrower_repayment_mode: \"Card\",\n loan_id: location?.state?.loan_id,\n amount: Number(location?.state?.amount),\n },\n // @ts-ignore\n encryptedKey,\n );\n\n if (response.status) {\n setDone(true);\n setSuccess(response.message);\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${Number(location?.state?.amount)}`,\n \"repayment mode\": `Card`,\n \"repayment status\": `Repaid`,\n });\n }\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: LoanRepaymentMethods },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${Number(location?.state?.amount)}`,\n \"repayment mode\": `Card`,\n \"repayment status\": `Failed: ${errorHandler(error)}`,\n });\n } finally {\n setIsLoading(false);\n }\n }\n }\n\n async function fetchWallet() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getWallet}?borrower_id=${customer_id}&aggregator_id=${aggregator_id}`,\n );\n setWalletDetails(response.data);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: LoanRepaymentMethods },\n });\n } finally {\n setIsLoading(false);\n }\n }\n\n const fetchCollectionAccounts = async () => {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getCollectionAccounts}?AggregatorId=${\n aggregator_id\n }&Currency=${\"KES\"}&Type=1`,\n );\n setWalletDetails(response.data[0]);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: LoanRepaymentMethods },\n });\n } finally {\n setIsLoading(false);\n }\n };\n useEffect(() => {\n if (customer_id && aggregator_id) {\n if (currency !== \"NGN\") {\n fetchCollectionAccounts().finally();\n } else {\n fetchWallet().finally();\n }\n }\n }, [customer_id, aggregator_id]);\n\n if (isLoading || ApprovedDirectDebitLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n const nigeriaPayment = () => {\n return (\n <>\n history.goBack()}\n className=\"cursor\"\n style={{ marginBottom: \"10px\" }}\n >\n \n \n \n history.push({\n pathname: ROUTES.widgetLoanRepaymentViaWallet,\n state: {\n loan_id: location?.state?.loan_id,\n amount: location?.state?.amount,\n },\n })\n }\n >\n
\n
\n \n
\n \n
\n
\n
\n

\n Pay with wallet\n

\n \n {\" \"}\n {formatCurrency(walletDetails?.availableBalance || 0)}\n \n
\n
\n\n \n \n \n\n
\n\n {ApprovedDirectDebitData?.length > 0 && (\n \n history.push({\n pathname: ROUTES.widgetLoanRepaymentViaDirectDebit,\n state: {\n loan_id: location?.state?.loan_id,\n amount: location?.state?.amount,\n loan_ref: location?.state?.loan_ref,\n },\n })\n }\n >\n
\n
\n \n
\n \n
\n
\n
\n

\n Pay with Direct Debit\n

\n {/*******6789*/}\n
\n
\n\n \n \n \n )}\n\n
\n\n \n
\n
\n \n
\n \n
\n
\n
\n

\n Pay with existing card\n

\n {/*******6789*/}\n
\n
\n\n \n \n \n\n
\n\n \n history.push({\n pathname: ROUTES.widgetLoanRepaymentViaNewCard,\n state: {\n loan_id: location?.state?.loan_id,\n amount: location?.state?.amount,\n },\n })\n }\n >\n \"\"\n Pay with a new card\n \n \n );\n };\n\n const kenyaPayment = () => {\n return (\n <>\n
Bank Transfer
\n

\n Kindly transfer the amount above to this unique account number using\n your mobile banking or ussd.\n

\n null}\n >\n null}\n >\n
\n

\n {walletDetails?.accountName}\n

\n

\n {walletDetails?.accountNumber}\n

\n

\n {walletDetails?.bankName}\n

\n
\n\n
\n \n \n Copy\n

\n
\n \n \n \n
\n history.goBack()}\n >\n Go Back\n

\n \n history.push({\n pathname: ROUTES.widgetLoanRepaymentProof,\n state: {\n loan_id: location?.state?.loan_id,\n amount: location?.state?.amount,\n },\n })\n }\n // disabled={!walletDetails?.accountNumber}\n >\n I have transferred\n \n
\n \n \n );\n };\n\n if (done) {\n return (\n history.push(ROUTES.widgetDashboard)}\n type=\"success\"\n />\n );\n }\n\n if (currency !== \"NGN\") {\n return kenyaPayment();\n } else {\n return nigeriaPayment();\n }\n};\n\nexport default LoanRepaymentMethods;\n","import React from \"react\";\nimport loader from \"../../../../assets/loadinggif.gif\";\nimport logo from \"../../../../assets/advancly-logo-full.png\";\nexport default function NewLoader() {\n return (\n <>\n
\n \n
\n
\n \n
\n \n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { formatCurrency } from \"../../../../../../helpers/formatCurrency\";\nimport NewLoader from \"../../../components/NewLoader\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport {\n getDataWithKey,\n postDataWithKey,\n} from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport {\n errorHandler,\n errorToast,\n} from \"../../../../../../helpers/errorHandler\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n// import { CurrencyProp } from \"../../../types\";\n// import { IBorrowerData } from \"../../../../../../interfaces/borrower\";\n\nconst LoanRepaymentViaWallet = () => {\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const { encryptedKey } = widgetSettings;\n const { aggregator_id, customer_id } = borrowerDetails;\n let location = useLocation();\n const history = useHistory();\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n const [isLoading, setIsLoading] = useState(false);\n const [done, setDone] = useState(false);\n const [walletDetails, setWalletDetails] = useState();\n const data = localStorage.getItem(\"userData\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRepaymentViaWallet.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n async function handleConfirmRepayment() {\n setIsLoading(true);\n try {\n await postDataWithKey(\n apiEndpoints.makeRepayment,\n {\n aggregator_id: aggregator_id,\n borrower_id: customer_id,\n borrower_repayment_mode: \"Wallet\",\n loan_id: location?.state?.loan_id,\n amount: Number(location?.state?.amount),\n },\n //@ts-ignore\n encryptedKey,\n );\n setDone(true);\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${Number(location?.state?.amount)}`,\n \"repayment mode\": `Wallet`,\n \"repayment status\": `Repaid`,\n });\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error as Error,\n properties: { fileName: LoanRepaymentViaWallet },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${Number(location?.state?.amount)}`,\n \"repayment mode\": `Wallet`,\n \"repayment status\": `Failed: ${errorHandler(error)}`,\n });\n }\n setIsLoading(false);\n }\n\n async function fetchWallet() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getWallet}?borrower_id=${customer_id}&aggregator_id=${aggregator_id}`,\n );\n setWalletDetails(response.data);\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error as Error,\n properties: { fileName: LoanRepaymentViaWallet },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n if (customer_id && aggregator_id) {\n fetchWallet();\n }\n }, [customer_id, aggregator_id]);\n\n if (isLoading) {\n return ;\n }\n if (done) {\n return (\n history.push(ROUTES.widgetDashboard)}\n type=\"success\"\n />\n );\n }\n return (\n
\n
history.goBack()} className=\"cursor\">\n \n
\n

Pay with wallet

\n

\n You are about to make your loan repayment of{\" \"}\n \n {formatCurrency(location?.state?.amount || 0)}{\" \"}\n \n using your Advancly Wallet\n

\n
\n
\n
\n

\n Wallet Balance\n

\n
\n

\n {formatCurrency(walletDetails?.availableBalance || 0)}\n

\n\n \n Fee:\n {/* */}\n {formatCurrency(0)}\n \n
\n
\n
\n\n
\n
\n history.goBack()}\n >\n Go Back\n

\n \n Confirm\n \n
\n
\n
\n );\n};\n\nexport default LoanRepaymentViaWallet;\n","import React, { useEffect, useState } from \"react\";\nimport {\n getDataWithKey,\n postDataWithKey,\n} from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport MastercardIcon from \"../../../../../../assets/mastercard.svg\";\nimport VisaIcon from \"../../../../../../assets/visa.svg\";\nimport VerveIcon from \"../../../../../../assets/verve.svg\";\nimport { BsCheck2All } from \"react-icons/bs\";\nimport { Button, message } from \"antd\";\nimport AddCard from \"../../../components/AddCard\";\nimport { CardProp } from \"../../../../../../web/components/profile/card/addCard/AddCardForm\";\nimport Loader from \"../../../../../Loader/Loader\";\nimport {\n errorHandler,\n errorToast,\n} from \"../../../../../../helpers/errorHandler\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\n\ninterface IProps {\n updatePayStackStatus: () => void;\n handleRepaymentWithCard: () => void;\n}\n\nconst WidgetAddNewCard = ({\n updatePayStackStatus,\n handleRepaymentWithCard,\n}: IProps) => {\n const [isLoading, setIsLoading] = useState(false);\n const [walletDetails, setWalletDetails] = useState();\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer\n );\n const [cards, setCards] = useState([]);\n const { customer_id, aggregator_id, email } = borrowerDetails;\n useEffect(() => {\n appInsights.trackPageView({\n name: \"WidgetAddNewCard.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n const cardImage = (type: string) => {\n const cardType = type.toLowerCase().trim();\n return cardType?.includes(\"mastercard\") ? (\n \n ) : cardType?.includes(\"visa\") ? (\n \n ) : cardType?.includes(\"verve\") ? (\n \n ) : null;\n };\n\n async function fetchWallet() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getWallet}?borrower_id=${customer_id}&aggregator_id=${aggregator_id}`\n );\n\n setWalletDetails(response.data);\n } catch (error: any) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: WidgetAddNewCard },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n if (customer_id && aggregator_id) {\n fetchWallet();\n }\n\n //eslint-disable-next-line\n }, [customer_id, aggregator_id]);\n\n const fetchAddedCards = async () => {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.fetchCards}?borrower_id=${customer_id}&aggregator_id=${aggregator_id}`\n );\n setCards(response.data);\n } catch (error: any) {\n message.error(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: WidgetAddNewCard },\n });\n }\n setIsLoading(false);\n };\n\n async function makeCardDefault(item: CardProp) {\n setIsLoading(true);\n try {\n await postDataWithKey(\n apiEndpoints.setDefaultCard,\n {\n aggregator_id: aggregator_id,\n borrower_id: customer_id,\n card_id: item.card_id,\n },\n // @ts-ignore\n wallet?.encryptedKey\n );\n await fetchAddedCards();\n } catch (error: any) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: WidgetAddNewCard },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n fetchAddedCards();\n }, []);\n\n if (isLoading) {\n return (\n
\n \n
\n );\n }\n\n return (\n
\n

Cards

\n\n {cards?.length === 0 ? (\n <>\n

No available card

\n \n ) : (\n cards?.map((item) => (\n
\n
\n
\n
\n
{cardImage(item.card_type)}
\n
\n

\n {`**** **** **** ${item.last_four_digits}`}\n \n {item.is_default && (\n \n \n \n )}\n \n

\n \n {`${item.expiry_month}/${item.expiry_year}`}\n \n
\n
\n\n {!item.is_default && (\n makeCardDefault(item)}\n >\n Set Default\n

\n )}\n
\n
\n
\n
\n ))\n )}\n\n
\n
\n {cards.length >= 1 && (\n \n )}\n \n
\n
\n
\n );\n};\n\nexport default WidgetAddNewCard;\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../../../../helpers/errorHandler\";\nimport WidgetAddNewCard from \"./WidgetAddNewCard\";\nimport NewLoader from \"../../../components/NewLoader\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { Alert } from \"antd\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\n\nconst LoanRepaymentViaNewCard = () => {\n const [isLoading, setIsLoading] = useState(false);\n const [done, setDone] = useState(false);\n const [success, setSuccess] = useState(\"\");\n const [error, setError] = useState(\"\");\n let location = useLocation();\n const history = useHistory();\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer\n );\n const { customer_id, aggregator_id, returningUserDetails } = borrowerDetails;\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRepaymentViaNewCard.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n async function handleRepaymentWithCard() {\n setIsLoading(true);\n try {\n const response = await postDataWithKey(\n apiEndpoints.makeRepayment,\n {\n aggregator_id: aggregator_id,\n borrower_id: customer_id,\n borrower_repayment_mode: \"Card\",\n loan_id: location?.state?.loan_id,\n amount: Number(location?.state?.amount),\n },\n // @ts-ignore\n returningUserDetails?.encryptedKey\n );\n\n if (response.status) {\n setSuccess(response.message);\n setDone(true);\n setError(\"\");\n }\n } catch (error: any) {\n setError(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: LoanRepaymentViaNewCard },\n });\n } finally {\n setIsLoading(false);\n }\n }\n\n if (isLoading) {\n return ;\n }\n if (done) {\n return (\n history.push(ROUTES.widgetLoan)}\n type=\"success\"\n />\n );\n }\n\n return (\n
\n {error && (\n
\n {\n if (setError) {\n setError(\"\");\n }\n }}\n />\n
\n )}\n
history.goBack()} className=\"cursor\">\n \n
\n null}\n handleRepaymentWithCard={handleRepaymentWithCard}\n />\n
\n );\n};\n\nexport default LoanRepaymentViaNewCard;\n","export default __webpack_public_path__ + \"static/media/document-upload.e95019c0.svg\";","import React, { useState } from \"react\";\nimport { useHistory } from \"react-router\";\nimport AppCard from \"../../../components/AppCard\";\nimport upload from \"../../../../../../assets/document-upload.svg\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { message, Upload, UploadProps } from \"antd\";\nimport { UploadChangeParam } from \"antd/es/upload\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { useLocation } from \"react-router-dom\";\n// import { UserProp } from \"../../../Dashboard/Dashboard.component\";\nimport { UploadFile } from \"antd/lib/upload/interface\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\n\nconst LoanRepaymentProof = () => {\n let location = useLocation();\n const history = useHistory();\n const [done, setDone] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [base64_file_string, setBase64_file_string] = useState(\"\");\n const [filename_with_extension, setFilename_with_extension] = useState(\"\");\n\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer\n );\n const { encryptedKey } = widgetSettings;\n const toBase64 = (file: any) =>\n new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => resolve(reader.result);\n reader.onerror = (error) => reject(error);\n });\n\n const props: UploadProps = {\n name: \"file\",\n action: undefined,\n async onChange(info) {\n if (info.file.status !== \"removed\" && info.file.status !== \"uploading\") {\n // console.log({ file: info.file.originFileObj?.name });\n try {\n setFilename_with_extension(info.file.originFileObj?.name || \"\");\n const result = await toBase64(info.file.originFileObj);\n if (typeof result === \"string\") {\n setBase64_file_string(result.split(\",\")[1]);\n }\n } catch (error) {\n // console.error(error);\n return;\n }\n }\n },\n };\n\n const handleChange = async (info: UploadChangeParam>) => {\n // console.log({ file: info.file.originFileObj?.name });\n try {\n setFilename_with_extension(info.file.name || \"\");\n const result = await toBase64(info.file);\n if (typeof result === \"string\") {\n setBase64_file_string(result.split(\",\")[1]);\n }\n } catch (error) {\n // console.error(error);\n return;\n }\n };\n\n const handleSubmitRepayment = async () => {\n setIsLoading(true);\n const reqBody = {\n loan_id: location?.state?.loan_id,\n repayment_amount: Number(location?.state?.amount),\n repayment_date: new Date().toISOString(),\n base64_file_string,\n filename_with_extension,\n };\n try {\n const response = await postDataWithKey(\n apiEndpoints.offlineRepayment,\n reqBody,\n //@ts-ignore\n encryptedKey\n );\n console.log({ response });\n setDone(true);\n } catch (error: any) {\n console.log(error);\n message.error(error.message || \"Something went wrong please try again!\");\n } finally {\n setIsLoading(false);\n }\n };\n\n if (done) {\n return (\n history.push(ROUTES.widgetLoan)}\n type=\"success\"\n />\n );\n }\n return (\n
\n
Upload Proof of payment
\n

Kindly upload the proof of payment for your loan repayment

\n\n null}>\n
\n
\n {\n console.log(\"removing\");\n setFilename_with_extension(\"\");\n setBase64_file_string(\"\");\n }}\n beforeUpload={() => {\n return false;\n }}\n onChange={handleChange}\n >\n \n \n
\n

\n Upload Proof of payment\n

\n

Drag & drop your file here or browse

\n
\n
\n\n
\n
\n history.goBack()}\n >\n Go Back\n

\n \n {isLoading ? (\n \n ) : (\n \"Submit\"\n )}\n \n
\n
\n
\n );\n};\n\nexport default LoanRepaymentProof;\n","import React, { useEffect, useState } from \"react\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { useHistory } from \"react-router-dom\";\nimport { Button, Form, Input, message } from \"antd\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\nimport { postDataWithKey } from \"../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\nimport mixpanel from \"mixpanel-browser\";\nimport { MixPanel } from \"../../../../../helpers/mixpanel\";\n\nconst ContactUs = () => {\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n const widgetState = useSelector(\n (store: ReduxStoreModel) => store.widgetSettingsReducer,\n );\n const { encryptedKey } = widgetState;\n const { first_name, email, customer_id, borrower_phone } = borrowerDetails;\n const history = useHistory();\n const [form] = Form.useForm();\n useEffect(() => {\n appInsights.trackPageView({ name: \"ContactUs.tsx\", isLoggedIn: true });\n }, []);\n const [isLoading, setIsLoading] = useState(false);\n\n useEffect(() => {\n MixPanel.track(`Page View: ContactUs.tsx`, {\n page: \"ContactUs.tsx - (Widget)\",\n });\n }, []);\n\n async function handleSubmit(values: {\n email: string;\n firstName: string;\n message: string;\n phone: string;\n }) {\n setIsLoading(true);\n try {\n await postDataWithKey(\n apiEndpoints.contactUs,\n { ...values, customer_id },\n //@ts-ignore\n encryptedKey,\n );\n console.log({ values });\n message.success(\"Message sent successfully!\");\n history.push(ROUTES.widgetDashboard);\n } catch (error) {\n console.log(error);\n appInsights.trackException({\n exception: error as Error,\n properties: { fileName: \"ContactUs.tsx\" },\n });\n message.error(\"Something went wrong please try again\");\n } finally {\n setIsLoading(false);\n }\n }\n\n return (\n
\n history.push(ROUTES.widgetDashboard)}\n className=\"cursor\"\n >\n \n
\n

Contact Support

\n
\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n
\n history.push(ROUTES.widgetDashboard)}\n >\n Go Back\n

\n \n
\n \n \n \n );\n};\n\nexport default ContactUs;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData, getDotNetDataWithKey } from \"../apis/apiMethods\";\n\ntype LinkBankAccountProps = {\n aggregator_id: number,\n customer_id: number\n}\n\nconst fetchLinkedBankAccountOnWeb = async ({customerId}: {customerId: number}) => {\n const response = await getData(`${apiEndpoints.getLinkedBankAccountDetailsWeb}?customerId=${customerId}`)\n\n return response.data\n}\n\nexport function useGetLinkedBankAccountWeb({customerId}: {customerId: number}) {\n return useQuery([{customerId}, \"fetchLinkedBankAccountOnWeb\"], fetchLinkedBankAccountOnWeb, {\n enabled: customerId ? true : false\n })\n}\n\nconst fetchLinkedBankAccountOnWidget = async ({aggregator_id, customer_id}: LinkBankAccountProps) => {\n const response = await getDotNetDataWithKey(`${apiEndpoints.getLinkedBankAccountDetailsWidget}?aggregator_id=${aggregator_id}&customer_id=${customer_id}`)\n\n return response.data\n}\n\n\nexport function useGetLinkedBankAccountWidget({aggregator_id, customer_id}: LinkBankAccountProps) {\n return useQuery([{aggregator_id, customer_id}, \"fetchLinkedBankAccountOnWidget\"], fetchLinkedBankAccountOnWidget, {\n enabled: aggregator_id && customer_id ? true : false\n })\n}","import React from \"react\";\nimport styles from \"../Profile.module.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { useGetLinkedBankAccountWidget } from \"../../../../../custom-hooks/useGetLinkedBankAccount\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport useBankStatementProvider from \"../../../../../custom-hooks/useBankStatementProvider\";\n\nfunction BankStatement() {\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer\n );\n const { customer_id, aggregator_id, bank_statement_connected } =\n borrowerDetails;\n const { handleLaunchOkraWidget, monoConnect, isSavingProvider } =\n useBankStatementProvider({\n borrowerDetails,\n bankStatementLinkedStatus: bank_statement_connected,\n });\n\n const handleBankStatement = () => {\n if (!borrowerDetails?.bank_statement_connected) {\n if (borrowerDetails?.bank_statement_provider?.toLowerCase() === \"okra\") {\n handleLaunchOkraWidget();\n } else {\n monoConnect();\n }\n }\n };\n\n const history = useHistory();\n const { data: linkedAccount, isLoading: isLoadingLinkedAccount } =\n useGetLinkedBankAccountWidget({\n aggregator_id: aggregator_id ? Number(aggregator_id) : 0,\n customer_id: customer_id ? customer_id : 0,\n });\n return (\n <>\n history.push(ROUTES.widgetProfile)}\n className=\"cursor\"\n >\n \n \n
\n

Bank Statement

\n\n {isSavingProvider || isLoadingLinkedAccount ? (\n
\n \n \n Please wait, checking if account exists...\n \n
\n ) : linkedAccount?.length > 0 && bank_statement_connected ? (\n
\n

\n Providing us with more financial information improves your credit\n eligibility.\n

\n\n \n \n \n \n \n \n \n \n \n {linkedAccount?.map((account: any) => (\n \n \n \n \n \n ))}\n \n
Account NameAccount NoBank Name
{account.accountName}{account.accountNo}{account.bankName}
\n
\n ) : (!linkedAccount || linkedAccount.length === 0) && bank_statement_connected ? (\n
\n

An error occurred while fetching your linked bank statement! Please contact support.

\n
\n ) : (\n
\n

\n Providing us with more financial information improves your credit\n eligibility. To link your bank statement click the button below \n

\n\n \n
\n )}\n \n );\n}\n\nexport default BankStatement;\n","import { Alert, Button } from \"antd\";\nimport React, { useEffect, useState } from \"react\";\nimport { useWidgetDirectDebitsApprovedAcct } from \"../../../../../../custom-hooks/useDirectDebitsApprovedAcct\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport Loader from \"../../../../../Loader/Loader\";\nimport { postDataWithKey } from \"../../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../../apis/apiEndpoints\";\nimport { errorHandler } from \"../../../../../../helpers/errorHandler\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { appInsights } from \"../../../../../AppInsight/AppInsight\";\nimport NewLoader from \"../../../components/NewLoader\";\nimport { SuccessComponent } from \"../../../SuccessComponent\";\nimport { ROUTES } from \"../../../../../../helpers/ROUTES\";\nimport { ReduxStoreModel } from \"../../../../../../interfaces/redux-interface\";\nimport { useSelector } from \"react-redux\";\nimport advLogo from \"../../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../../assets/loadinggif.gif\";\nimport { MixPanel } from \"../../../../../../helpers/mixpanel\";\n\nconst LoanRepaymentViaDirectDebit = () => {\n let location = useLocation();\n const history = useHistory();\n const [isLoading, setIsLoading] = useState(false);\n const [done, setDone] = useState(false);\n const [success, setSuccess] = useState(\"\");\n const [error, setError] = useState(\"\");\n const [approvedDirectDebitAccounts, setApprovedDirectDebitAccounts] =\n useState(\"\");\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const data = localStorage.getItem(\"userData\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"LoanRepaymentViaDirectDebit.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n const {\n data: ApprovedDirectDebitData,\n isLoading: ApprovedDirectDebitLoading,\n error: ApprovedDirectDebitError,\n } = useWidgetDirectDebitsApprovedAcct({\n loanRef: location?.state?.loan_ref,\n clientRequest: true,\n isWidget: true,\n aggregator_id: borrowerDetails.aggregator_id\n ? borrowerDetails.aggregator_id\n : 0,\n });\n\n useEffect(() => {\n if (ApprovedDirectDebitData?.length === 1) {\n ApprovedDirectDebitData?.map((data: any) =>\n setApprovedDirectDebitAccounts(data?.id),\n );\n }\n }, [ApprovedDirectDebitLoading]);\n\n const handleRepaymentWithDirectDebit = async () => {\n setIsLoading(true);\n try {\n const response = await postDataWithKey(\n apiEndpoints.makeRepayment,\n {\n aggregator_id: borrowerDetails.aggregator_id,\n borrower_id: borrowerDetails.customer_id,\n loan_direct_debit_mandate_id: approvedDirectDebitAccounts,\n borrower_repayment_mode: \"DirectDebit\",\n loan_id: location?.state?.loan_id,\n amount: Number(location?.state?.amount),\n },\n // @ts-ignore\n borrowerDetails?.returningUserDetails?.encryptedKey,\n );\n\n if (response.status) {\n setSuccess(response.message);\n setDone(true);\n setError(\"\");\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${Number(location?.state?.amount)}`,\n \"repayment mode\": `Direct Debit`,\n \"repayment status\": `Repaid`,\n });\n }\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: LoanRepaymentViaDirectDebit },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${Number(location?.state?.amount)}`,\n \"repayment mode\": `Direct Debit`,\n \"repayment status\": `Failed: ${errorHandler(error)}`,\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n if (done) {\n return (\n history.push(ROUTES.widgetDashboard)}\n type=\"success\"\n />\n );\n }\n\n return (\n <>\n {error && (\n
\n {\n if (setError) {\n setError(\"\");\n }\n }}\n />\n
\n )}\n\n history.goBack()}\n className=\"cursor\"\n style={{ marginBottom: \"10px\" }}\n >\n \n \n \n
Choose a Direct Debit account
\n {ApprovedDirectDebitError && (\n

Error fetching direct debit account

\n )}\n {ApprovedDirectDebitLoading ? (\n \n ) : (\n ApprovedDirectDebitData?.map((debitDetails: any) => {\n const {\n customer_bank_account_number,\n customer_bank_account_name,\n customer_bank_name,\n amount: directAmount,\n direct_debit_mandate_status,\n id,\n } = debitDetails;\n return (\n <>\n {\n setApprovedDirectDebitAccounts(id);\n }}\n style={{\n backgroundColor:\n approvedDirectDebitAccounts === id\n ? \"#713efe\"\n : \"#f7f5ff\",\n border:\n approvedDirectDebitAccounts === id\n ? \"1px solid #713efe\"\n : \"1px solid #f7f5ff\",\n borderRightColor:\n approvedDirectDebitAccounts === id\n ? \"#cfbefe\"\n : \"#f7f5ff\",\n borderRightWidth:\n approvedDirectDebitAccounts === id ? \"5px\" : \"1px\",\n\n borderRadius: \"10px\",\n padding: \"10px\",\n cursor: \"pointer\",\n color: approvedDirectDebitAccounts === id ? \"#fff\" : \"\",\n }}\n >\n \n {\" \"}\n Account Number: {\"\"} \n {\"\"}\n \n {customer_bank_account_number}\n \n \n
\n Account Name: {\"\"} \n \n {customer_bank_account_name}\n \n
\n
\n Bank Name: {\"\"}\n \n {customer_bank_name}\n \n
\n
\n Amount: {\"\"}\n {directAmount}\n
\n
\n Mandate Status: {\"\"}\n \n {direct_debit_mandate_status}\n \n
\n \n \n );\n })\n )}\n\n \n Confirm\n \n \n \n );\n};\n\nexport default LoanRepaymentViaDirectDebit;\n","export default __webpack_public_path__ + \"static/media/close-square.6ebd0247.svg\";","export default __webpack_public_path__ + \"static/media/a.bdf425f1.svg\";","export default __webpack_public_path__ + \"static/media/arrow-left.65572b26.svg\";","export default __webpack_public_path__ + \"static/media/wallet-3.375a488d.svg\";","export default __webpack_public_path__ + \"static/media/arrow-right.b28e1b34.svg\";","export default __webpack_public_path__ + \"static/media/card.b37c002b.svg\";","import React, { useEffect, useRef, useState } from \"react\";\nimport { PaystackConsumer } from \"react-paystack\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { paystackConfig } from \"../../../../helpers/thirdPartyConfig\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { Button } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\nconst AddCard = ({ updatePayStackStatus, fetchAddedCards }) => {\n const [isLoading, setIsLoading] = useState(false);\n const paystackRef = useRef();\n const openPaystackWidget = () => {\n paystackRef?.current?.click();\n };\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"AddCard.tsx\",\n isLoggedIn: true,\n });\n }, []);\n\n const onPaystackSuccess = async (data) => {\n setIsLoading(true);\n try {\n await postData(`${apiEndpoints.addCard}?isWidget=${false}`, {\n aggregator_id: userInfo.aggregatorId,\n borrower_id: userInfo?.customerId,\n paystack_reference: data?.reference,\n paystack_transaction: data?.trans,\n });\n fetchAddedCards();\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }));\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n } finally {\n setIsLoading(false);\n\n setTimeout(() => {\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }));\n }, 3000);\n }\n };\n\n const onPaystackClose = () => {\n setIsLoading(false);\n // window.location.reload();\n };\n\n const paystackComponentProps = {\n ...paystackConfig({\n email: userInfo?.email,\n amount: 5000, // 50 naira is 5000 kobo\n }),\n onSuccess: (reference) => {\n onPaystackSuccess(reference);\n },\n onClose: onPaystackClose,\n };\n return (\n
\n {\n updatePayStackStatus();\n openPaystackWidget();\n }}\n >\n {isLoading ? (\n \n ) : (\n \"Add Card\"\n )}\n \n\n \n {({ initializePayment }) => (\n {\n setIsLoading(true);\n initializePayment(onPaystackSuccess, onPaystackClose);\n }}\n className=\"d-none\"\n />\n )}\n \n
\n );\n};\n\nexport default AddCard;\n","import React, { useEffect, useState } from \"react\";\nimport { getData, postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport MastercardIcon from \"../../../../assets/mastercard.svg\";\nimport styles from \"./RepayLoan.module.scss\";\nimport VisaIcon from \"../../../../assets/visa.svg\";\nimport VerveIcon from \"../../../../assets/verve.svg\";\nimport { BsCheck2All } from \"react-icons/bs\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport AddCard from \"../addCard/AddCard\";\nimport { CardProp } from \"../../profile/card/addCard/AddCardForm\";\nimport { Button } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface IProps {\n updatePayStackStatus: () => void;\n handleRepaymentWithCard: () => void;\n}\n\nconst AddNewCard = ({\n updatePayStackStatus,\n handleRepaymentWithCard,\n}: IProps) => {\n const [isLoading, setIsLoading] = useState(false);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n const [cards, setCards] = useState([]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (AddNewCard.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: AddNewCard.tsx`, {\n page: \"AddNewCard.tsx - (Web)\",\n });\n }, []);\n\n const cardImage = (type: string) => {\n const cardType = type.toLowerCase().trim();\n return cardType?.includes(\"mastercard\") ? (\n \n ) : cardType?.includes(\"visa\") ? (\n \n ) : cardType?.includes(\"verve\") ? (\n \n ) : null;\n };\n\n const fetchAddedCards = async () => {\n setIsLoading(true);\n try {\n const response = await getData(\n `${apiEndpoints.fetchCards}?borrower_id=${\n userInfo?.customerId\n }&aggregator_id=${userInfo?.aggregatorId}&isWidget=${false}`,\n );\n setCards(response.data);\n } catch (error) {\n console.error(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (AddNewCard.tsx)\",\n },\n });\n }\n setIsLoading(false);\n };\n\n async function makeCardDefault(item: CardProp) {\n setIsLoading(true);\n try {\n await postData(`${apiEndpoints.setDefaultCard}?isWidget=${false}`, {\n aggregator_id: userInfo.aggregatorId,\n borrower_id: userInfo.customerId,\n card_id: item.card_id,\n });\n await fetchAddedCards();\n } catch (error) {\n console.error(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (AddNewCard.tsx)\",\n },\n });\n }\n setIsLoading(false);\n }\n\n useEffect(() => {\n fetchAddedCards();\n }, []);\n\n if (isLoading) {\n return (\n
\n \n
\n );\n }\n\n return (\n
\n

Cards

\n\n {cards?.length === 0 ? (\n <>\n

No available card

\n \n ) : (\n cards?.map((item) => (\n
\n
\n
\n
\n
{cardImage(item.card_type)}
\n
\n

\n {`**** **** **** ${item.last_four_digits}`}\n \n {item.is_default && (\n \n \n \n )}\n \n

\n \n {`${item.expiry_month}/${item.expiry_year}`}\n \n
\n
\n\n {!item.is_default && (\n makeCardDefault(item)}\n >\n Set Default\n

\n )}\n
\n
\n
\n
\n ))\n )}\n\n
\n
\n {cards.length >= 1 && (\n \n )}\n \n
\n
\n
\n );\n};\n\nexport default AddNewCard;\n","import {getData, getDataWithKey} from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { useQuery } from \"react-query\";\n\nasync function fetchActiveLoans(loanStatus: string, customerId: number) {\n const response = await getData(\n `${apiEndpoints.fetchActiveLoans}/${loanStatus}?customerId=${customerId}`\n );\n\n return response?.data;\n}\n\nasync function fetchActiveWidgetLoans(loanStatus: string, customerId: number, aggregatorId: number) {\n const response = await getDataWithKey(\n `${apiEndpoints.fetchActiveLoansWidget}/${loanStatus}?customerId=${customerId}&aggregatorId=${aggregatorId}`)\n\n return response?.data;\n}\n\nexport function useFetchActiveLoans(\n loanStatus: number,\n customerId: number\n) {\n return useQuery(\n [loanStatus, customerId, \"fetchActiveLoans\"],\n fetchActiveLoans\n );\n}\n\nexport function useFetchActiveWidgetLoans(\n loanStatus: number,\n customerId: number,\n aggregatorId: number\n) {\n return useQuery(\n [loanStatus, customerId, aggregatorId, \"fetchActiveWidgetLoans\"],\n fetchActiveWidgetLoans\n );\n}\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst fetchWallet = async () => {\n try {\n const res = await getData(apiEndpoints.customerWalletDetails);\n\n return res.data;\n } catch (error) {\n console.error(error);\n }\n};\n\nexport default function useFetchCustomerWalletDetails() {\n return useQuery([\"fetchWallet\"], fetchWallet, {\n refetchInterval: 5 * 1000 * 60,\n refetchOnWindowFocus: true,\n });\n}\n","import React, { ChangeEvent, useEffect, useState } from \"react\";\nimport styles from \"./QuickLoanRepayment.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport { Button } from \"antd\";\nimport { Alert } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport adv from \"../../../../assets/web/a.svg\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { getData, postData } from \"../../../../apis/apiMethods\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { CardProp } from \"../../profile/card/addCard/AddCardForm\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport wallet from \"../../../../assets/web/wallet-3.svg\";\nimport arrowRight from \"../../../../assets/web/arrow-right.svg\";\nimport card from \"../../../../assets/web/card.svg\";\nimport AddNewCard from \"../repayLoan/AddNewCard\";\nimport successSVG from \"../../../../assets/web/success.svg\";\nimport addCircle from \"../../../../assets/web/add-circle.svg\";\nimport { useFetchActiveLoans } from \"../../../../custom-hooks/useFetchActiveLoans\";\nimport useFetchCustomerWalletDetails from \"../../../../custom-hooks/useFetchCustomerWalletDetails\";\nimport moment from \"moment\";\nimport useFetchCards from \"../../../../custom-hooks/useFetchCard\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nconst schema = yup.object().shape({\n amount: yupValidators.amount,\n});\n\nexport enum XLendaLoanStatus {\n Submitted_and_awaiting_approval = 100,\n Approved = 200, // when the loan has been approved by all approving levels/officers\n Active = 300, // this is when the loan has been booked in Corebanking\n WithdrawnByClient = 400,\n Rejected = 500,\n Closed = 600,\n WrittenOff = 601,\n Rescheduled = 602,\n Overpaid = 700,\n}\n\nexport interface ILoanData {\n loanAmount: number | null;\n status: string | null;\n loanRef: string | null;\n id: number | null;\n}\n\nfunction QuickLoanRepayment() {\n const [currentStep, setCurrentStep] = useState(0);\n const [error, setError] = useState(\"\");\n const [loanScheduleError, setLoanScheduleError] = useState(\"\");\n const [success, setSuccess] = useState(\"\");\n const [repaymentValue, setRepaymentValue] = useState();\n const [approvedDirectDebitData, setApprovedDirectDebitData] = useState([]);\n const [approvedDirectDebitAccounts, setApprovedDirectDebitAccounts] =\n useState(null);\n const [isLoadingDirectDebitData, setIsLoadingDirectDebitData] =\n useState(false);\n const [formattedValue, setFormattedValue] = useState(\"\");\n const [dueLoan, setDueLoan] = useState({\n dueAmount: \"\",\n dueDate: \"\",\n });\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const [debitCard, setDebitCard] = useState([]);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const [loanData, setLoanData] = useState(null);\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (QuickLoanRepayment.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: QuickLoanRepayment.tsx`, {\n page: \"QuickLoanRepayment.tsx - (Web)\",\n });\n }, []);\n\n const { data: activeLoans, isLoading: isLoadingActiveLoans } =\n useFetchActiveLoans(XLendaLoanStatus.Active, userInfo?.customerId);\n\n const {\n data: walletDetails,\n isLoading: isLoadingWalletDetails,\n refetch: refetchFetchWalletdetails,\n } = useFetchCustomerWalletDetails();\n\n const { data: value } = useFetchCards({\n borrower_id: userInfo?.customerId,\n aggregator_id: userInfo?.aggregatorId,\n isWidget: false,\n });\n\n const handleSelectedLoan = async (loanInfo: any) => {\n setLoanScheduleError(\"\");\n setCurrentStep(5);\n setLoanData((prev) => ({\n ...prev,\n loanRef: loanInfo?.loanRef,\n loanAmount: loanInfo?.loanAmount,\n id: loanInfo?.id,\n status: loanInfo?.status,\n }));\n\n try {\n const response = await getData(\n `${apiEndpoints.getWebLoanRepaymentSchedule}?loan_ref=${loanInfo?.loanRef}`,\n );\n\n const today = new Date();\n today.setHours(0, 0, 0, 0); // Set the time to 00:00:00 for today\n\n let dueLoanPeriod = response?.data?.periods?.find((loan: any) => {\n const loanDueDate = new Date(loan?.dueDate);\n loanDueDate.setHours(0, 0, 0, 0); // Set the time to 00:00:00 for the loan due date\n\n return (\n loan?.totalDueForPeriod > 0 &&\n loanDueDate.getTime() >= today.getTime() &&\n loan?.complete === false\n );\n });\n\n if (!dueLoanPeriod) {\n const pastDueLoans = response?.data?.periods?.filter((loan: any) => {\n const loanDueDate = new Date(loan?.dueDate);\n loanDueDate.setHours(0, 0, 0, 0); // Set the time to 00:00:00 for the loan due date\n\n return (\n loan?.totalDueForPeriod > 0 &&\n loanDueDate.getTime() < today.getTime() &&\n loan?.complete === false\n );\n });\n\n pastDueLoans?.sort((a: any, b: any) => {\n const dateA = new Date(a.dueDate).getTime();\n const dateB = new Date(b.dueDate).getTime();\n return dateB - dateA;\n });\n\n dueLoanPeriod = pastDueLoans?.[0]; // The first element is the most recent unpaid loan\n }\n\n if (dueLoanPeriod) {\n const dueDate = new Date(dueLoanPeriod.dueDate);\n const formattedDueDate = moment(dueDate).format(\"D/MM/YYYY\");\n\n setDueLoan((prevState) => ({\n ...prevState,\n dueAmount:\n dueLoanPeriod.totalOutstandingForPeriod > 0\n ? dueLoanPeriod.totalOutstandingForPeriod\n : dueLoanPeriod.totalDueForPeriod,\n dueDate: formattedDueDate,\n }));\n }\n\n setCurrentStep(1);\n } catch (error) {\n setLoanScheduleError(\n error.response.data.message ??\n \"Failed to fetch loan repayment schedule\",\n );\n setCurrentStep(0);\n }\n };\n\n const directDebitsApprovedAccts = async (loan_ref: string) => {\n setIsLoadingDirectDebitData(true);\n try {\n const response = await getData(\n `${\n apiEndpoints.directDebitEmandatesAccts\n }?loan_ref=${loan_ref}&isClientRequest=${true}`,\n );\n setApprovedDirectDebitData(response.data);\n } catch (error) {\n console.error(error.response.data.message);\n appInsights.trackException({\n exception: error,\n properties: {\n filename: \"Web - (QuickLoanRepayment.tsx)\",\n },\n });\n } finally {\n setIsLoadingDirectDebitData(false);\n }\n };\n\n useEffect(() => {\n if (loanData?.loanRef) {\n directDebitsApprovedAccts(loanData.loanRef);\n }\n }, [loanData?.loanRef]);\n\n useEffect(() => {\n setDebitCard(value);\n }, [value, currentStep]);\n\n useEffect(() => {\n if (approvedDirectDebitData?.length > 0) {\n approvedDirectDebitData?.map((data: any) =>\n setApprovedDirectDebitAccounts(data?.id),\n );\n }\n }, [isLoadingDirectDebitData]);\n\n const onSubmit = ({ amount }: { amount: string }) => {\n const amountWithoutComma = amount.replace(/,/g, \"\");\n const convertedToNumber = parseFloat(amountWithoutComma);\n setRepaymentValue(convertedToNumber);\n\n setCurrentStep((prev) => prev + 1);\n };\n\n const handleRepaymentWithWallet = async () => {\n setCurrentStep(5);\n try {\n const response = await postData(apiEndpoints.repayloan, {\n aggregator_id: userInfo?.aggregatorId,\n borrower_id: userInfo.customerId,\n borrower_repayment_mode: \"Wallet\",\n loan_id: loanData?.id,\n amount: repaymentValue,\n });\n\n if (response.status) {\n setSuccess(response?.message);\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Wallet`,\n \"repayment status\": `Repaid`,\n });\n setCurrentStep(6);\n } else {\n setError(response?.message);\n appInsights.trackException({\n exception: response.message,\n properties: {\n fileName: \"Web - (QuickLoanRepayment.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Wallet`,\n \"repayment status\": `Failed: ${response?.message}`,\n });\n setCurrentStep(7);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (QuickLoanRepayment.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Wallet`,\n \"repayment status\": `Failed: ${error.response?.data?.message ?? error.message}`,\n });\n setCurrentStep(7);\n }\n };\n\n const handleRepaymentWithDirectDebit = async () => {\n setCurrentStep(5);\n try {\n const response = await postData(apiEndpoints.repayloan, {\n aggregator_id: userInfo?.aggregatorId,\n borrower_id: userInfo.customerId,\n loan_direct_debit_mandate_id: approvedDirectDebitAccounts,\n borrower_repayment_mode: \"DirectDebit\",\n loan_id: loanData?.id,\n amount: repaymentValue,\n });\n\n if (response.status) {\n setSuccess(response?.message);\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Direct Debit`,\n \"repayment status\": `Repaid`,\n });\n setCurrentStep(6);\n } else {\n setError(response?.message);\n appInsights.trackException({\n exception: response.message,\n properties: {\n fileName: \"Web - (QuickLoanRepayment.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Direct Debit`,\n \"repayment status\": `Failed: ${response?.message}`,\n });\n setCurrentStep(7);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (QuickLoanRepayment.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Direct Debit`,\n \"repayment status\": `Failed: ${error.response?.data?.message ?? error.message}`,\n });\n setCurrentStep(7);\n }\n };\n\n async function handleRepaymentWithCard() {\n if (debitCard?.length === 0) {\n setCurrentStep(4);\n } else {\n setCurrentStep(5);\n try {\n const response = await postData(apiEndpoints.repayloan, {\n aggregator_id: userInfo?.aggregatorId,\n borrower_id: userInfo.customerId,\n borrower_repayment_mode: \"Card\",\n loan_id: loanData?.id,\n amount: repaymentValue,\n });\n\n if (response.status) {\n setSuccess(response?.message);\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Card`,\n \"repayment status\": `Repaid`,\n });\n setCurrentStep(6);\n } else {\n setError(response?.message);\n appInsights.trackException({\n exception: response.message,\n properties: {\n fileName: \"Web - (QuickLoanRepayment.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Card`,\n \"repayment status\": `Failed: ${response?.message}`,\n });\n setCurrentStep(7);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (QuickLoanRepayment.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `Card`,\n \"repayment status\": `Failed: ${error.response?.data?.message ?? error.message}`,\n });\n setCurrentStep(7);\n }\n }\n }\n\n const handleChange = (e: ChangeEvent) => {\n // Allow digits and at most one decimal point\n const value = e.target.value.replace(/[^0-9.]/g, \"\");\n\n // Ensure there's only one decimal point\n const parts = value.split(\".\");\n let formattedValue;\n if (parts.length > 2) {\n // More than one decimal point, ignore this input\n formattedValue = parts[0] + \".\" + parts[1];\n } else {\n formattedValue = value;\n }\n\n let formattedAmount: string;\n if (formattedValue === \"\") {\n formattedAmount = \"\";\n } else {\n const [integerPart, decimalPart] = formattedValue.split(\".\");\n if (decimalPart !== undefined) {\n formattedAmount =\n new Intl.NumberFormat(\"en-US\").format(Number(integerPart)) +\n \".\" +\n decimalPart;\n } else {\n formattedAmount = new Intl.NumberFormat(\"en-US\").format(\n Number(integerPart),\n );\n }\n }\n\n // Validation: Ensure the value is not below 1\n const numericValue = Number(formattedAmount.replace(/,/g, \"\"));\n if (numericValue < 1 && formattedAmount !== \"\") {\n formattedAmount = \"1\"; // Set the minimum value to 1\n }\n\n setFormattedValue(formattedAmount);\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n refetchFetchWalletdetails().finally();\n\n dispatch(\n updateWebSettingsAction({\n showQuickRepayment: false,\n }),\n );\n };\n\n const goBack = () => {\n setCurrentStep((prev) => prev - 1);\n };\n\n const renderContent = () => {\n switch (currentStep) {\n case 0:\n return (\n
\n
\n {activeLoans?.length > 1 ? (\n

Your Active Loans

\n ) : (\n

Your Active Loan

\n )}\n
\n\n {isLoadingActiveLoans ? (\n
\n \n
\n ) : (\n
\n {activeLoans?.length === 0 ? (\n

\n You currently have no loan records\n

\n ) : (\n <>\n {activeLoans?.map((loan: ILoanData) => (\n handleSelectedLoan(loan)}\n >\n
\n \n \"\"\n \n
\n \n ₦{loan?.loanAmount?.toLocaleString()}\n \n\n {loan?.loanRef}\n
\n
\n\n Repay\n
\n ))}\n \n )}\n
\n )}\n \n );\n case 1:\n return (\n
\n \n
\n

Loan Repayment

\n

Enter the amount you would like to pay

\n
\n\n
\n Amount Due\n {dueLoan?.dueAmount?.toLocaleString().split(\"\").includes(\".\") ? (\n \n ₦{dueLoan?.dueAmount.toLocaleString()}\n \n ) : (\n \n ₦{dueLoan?.dueAmount.toLocaleString()}.00\n \n )}\n Due Date: {dueLoan.dueDate}\n
\n \n
\n
\n \n \n
\n {errors.amount?.message}\n
\n\n \n Proceed\n \n \n
\n );\n case 2:\n return (\n
\n \n
\n

Payment Method

\n

Select a payment method to proceed

\n
\n\n
\n setCurrentStep((prev) => prev + 1)}\n >\n
\n
\n \"\"\n
\n
\n

Pay with wallet

\n

₦{walletDetails?.availableBalance?.toLocaleString()}

\n
\n
\n \"\"\n
\n {approvedDirectDebitData?.length > 0 && (\n setCurrentStep(8)}\n >\n
\n
\n \"\"\n
\n
\n

Pay with Direct Debit

\n

{\"\"}

\n
\n
\n \"\"\n
\n )}\n\n
\n
\n
\n \"\"\n
\n
\n

Pay with existing card

\n
\n
\n \"\"\n
\n \n\n setCurrentStep((prev) => prev + 2)}\n >\n \"\"\n Pay with a new card\n \n \n );\n case 3:\n return (\n
\n \n\n
\n

Pay with wallet

\n

\n You are about to make your loan repayment of ₦\n {repaymentValue?.toLocaleString()} using your Advancly Wallet\n

\n
\n\n {isLoadingWalletDetails ? (\n \n ) : (\n
\n Wallet Balance\n {walletDetails?.availableBalance\n .toLocaleString()\n .split(\"\")\n .includes(\".\") ? (\n \n ₦\n \n {walletDetails?.availableBalance?.toLocaleString() ?? 0}\n \n \n ) : (\n \n ₦\n \n {walletDetails?.availableBalance?.toLocaleString() ?? 0}.\n \n 00\n \n )}\n\n Fee: 0.00\n
\n )}\n\n \n Proceed\n \n
\n );\n case 4:\n return (\n
\n setCurrentStep(2)}\n />\n null}\n handleRepaymentWithCard={handleRepaymentWithCard}\n />\n
\n );\n\n case 5:\n return (\n
\n \n
\n );\n case 6:\n return (\n
\n
\n \"\"\n

Repayment Successful

\n

{success}

\n
\n
\n );\n case 7:\n return (\n
\n
\n
\n

Repayment Failed

\n

{error}

\n
\n
\n );\n\n case 8:\n return (\n
\n setCurrentStep(2)}\n />\n
Choose a Direct Debit account
\n\n {isLoadingDirectDebitData ? (\n \n ) : (\n approvedDirectDebitData?.map((debitDetails: any) => {\n const {\n customer_bank_account_number,\n customer_bank_account_name,\n customer_bank_name,\n amount: directAmount,\n direct_debit_mandate_status,\n id,\n } = debitDetails;\n return (\n <>\n {\n setApprovedDirectDebitAccounts(id);\n }}\n style={{\n backgroundColor:\n approvedDirectDebitAccounts === id\n ? \"#713efe\"\n : \"#f7f5ff\",\n border:\n approvedDirectDebitAccounts === id\n ? \"1px solid #713efe\"\n : \"1px solid #f7f5ff\",\n borderRightColor:\n approvedDirectDebitAccounts === id\n ? \"#cfbefe\"\n : \"#f7f5ff\",\n borderRightWidth:\n approvedDirectDebitAccounts === id ? \"5px\" : \"1px\",\n\n borderRadius: \"10px\",\n padding: \"10px\",\n cursor: \"pointer\",\n color: approvedDirectDebitAccounts === id ? \"#fff\" : \"\",\n }}\n >\n \n {\" \"}\n Account Number: {\"\"} \n {\"\"}\n \n {customer_bank_account_number}\n \n
\n
\n Account Name: {\"\"} \n \n {customer_bank_account_name}\n \n
\n
\n Bank Name: {\"\"}\n \n {customer_bank_name}\n \n
\n
\n Amount: {\"\"}\n \n {directAmount}\n \n
\n
\n Mandate Status: {\"\"}\n \n {direct_debit_mandate_status}\n \n
\n \n \n );\n })\n )}\n\n \n Confirm\n \n \n );\n default:\n return null;\n }\n };\n\n return (\n <>\n
\n
\n {loanScheduleError && (\n
\n setLoanScheduleError(\"\")}\n />\n
\n )}\n
\n {renderContent()}\n\n \n
\n
\n \n );\n}\n\nexport default QuickLoanRepayment;\n","import React, { useEffect } from \"react\";\nimport { ROUTES } from \"../../../../helpers/ROUTES\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\n\nimport { useHistory } from \"react-router-dom\";\nimport logo from \"../../../../assets/loans/loanHistory.svg\";\nimport { formatMoney } from \"../../../../helpers/formatCurrency\";\nimport { XLendaLoanStatus } from \"../../../../web/components/features/quickRepayment/QuickLoanRepayment\";\nimport { useFetchActiveWidgetLoans } from \"../../../../custom-hooks/useFetchActiveLoans\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport loader from \"../../../../assets/loadinggif.gif\";\nimport advLogo from \"../../../../assets/advancly-logo-full.png\";\nimport { ILoanData } from \"../../../../web/components/features/quickRepayment/QuickLoanRepayment\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nfunction QuickLoanRepayment() {\n const history = useHistory();\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const { data: activeLoans, isLoading: isLoadingActiveLoans } =\n useFetchActiveWidgetLoans(\n XLendaLoanStatus.Active,\n borrowerDetails?.customer_id,\n borrowerDetails?.aggregator_id,\n );\n\n if (isLoadingActiveLoans) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n return (\n
\n history.push(ROUTES.widgetDashboard)}\n className=\"cursor\"\n >\n \n
\n {activeLoans?.length > 1 ? (\n

Your Active Loans

\n ) : (\n

Your Active Loan

\n )}\n\n
\n {activeLoans?.length === 0 ? (\n

\n You currently have no loan records\n

\n ) : (\n activeLoans?.map((loan: ILoanData) => (\n
\n {\n history.push({\n pathname: ROUTES.widgetQuickLoanRepaymentAmount,\n state: {\n loanRef: loan?.loanRef,\n loanAmount: loan?.loanAmount,\n id: loan?.id,\n status: loan?.status,\n aggregatorId: borrowerDetails?.aggregator_id,\n },\n });\n }}\n >\n
\n
\n
\n \n
\n
\n

\n {formatMoney(loan?.loanAmount || 0, \"NGN\")}\n

\n\n \n {loan?.loanRef}\n \n
\n
\n\n \n Repay\n \n
\n
\n
\n ))\n )}\n \n \n );\n}\n\nexport default QuickLoanRepayment;\n","import React, { useEffect, useState } from \"react\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport { IoMdArrowRoundBack } from \"react-icons/io\";\nimport { Form, Input } from \"antd\";\nimport { ROUTES } from \"../../../../../helpers/ROUTES\";\nimport { appInsights } from \"../../../../AppInsight/AppInsight\";\nimport styles from \"../QuickLoanRepayment.module.scss\";\nimport advLogo from \"../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../assets/loadinggif.gif\";\nimport { getDataWithKey } from \"../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { errorHandler, errorToast } from \"../../../../../helpers/errorHandler\";\nimport moment from \"moment/moment\";\nimport { MixPanel } from \"../../../../../helpers/mixpanel\";\n\nconst QuickLoanRepaymentAmount = () => {\n const [dueLoan, setDueLoan] = useState({\n dueAmount: \"\",\n dueDate: \"\",\n });\n const [isLoading, setIsLoading] = useState(false);\n let location = useLocation();\n const history = useHistory();\n const [form] = Form.useForm();\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location.pathname]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Quick Loan Repayment - QuickLoanRepayment.tsx\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: QuickLoanRepayment.tsx`, {\n page: \"QuickLoanRepayment.tsx - (Widget)\",\n });\n }, []);\n\n async function fetchRepaymentSchedule() {\n setIsLoading(true);\n try {\n const response = await getDataWithKey(\n `${apiEndpoints.getLoanRepaymentSchedule}?loan_ref=${location?.state?.loanRef}&aggregator_id=${location?.state?.aggregatorId}`,\n );\n\n const today = new Date();\n today.setHours(0, 0, 0, 0); // Set the time to 00:00:00 for today\n\n let dueLoanPeriod = response?.data?.periods?.find((loan: any) => {\n const loanDueDate = new Date(loan?.dueDate);\n loanDueDate.setHours(0, 0, 0, 0); // Set the time to 00:00:00 for the loan due date\n\n return (\n loan?.totalDueForPeriod > 0 &&\n loanDueDate.getTime() >= today.getTime() &&\n loan?.complete === false\n );\n });\n\n if (!dueLoanPeriod) {\n const pastDueLoans = response?.data?.periods?.filter((loan: any) => {\n const loanDueDate = new Date(loan?.dueDate);\n loanDueDate.setHours(0, 0, 0, 0); // Set the time to 00:00:00 for the loan due date\n\n return (\n loan?.totalDueForPeriod > 0 &&\n loanDueDate.getTime() < today.getTime() &&\n loan?.complete === false\n );\n });\n\n pastDueLoans?.sort((a: any, b: any) => {\n const dateA = new Date(a.dueDate).getTime();\n const dateB = new Date(b.dueDate).getTime();\n return dateB - dateA;\n });\n\n dueLoanPeriod = pastDueLoans?.[0]; // The first element is the most recent unpaid loan\n }\n\n if (dueLoanPeriod) {\n const dueDate = new Date(dueLoanPeriod.dueDate);\n const formattedDueDate = moment(dueDate).format(\"D/MM/YYYY\");\n\n setDueLoan((prevState) => ({\n ...prevState,\n dueAmount:\n dueLoanPeriod.totalOutstandingForPeriod > 0\n ? dueLoanPeriod.totalOutstandingForPeriod\n : dueLoanPeriod.totalDueForPeriod,\n dueDate: formattedDueDate,\n }));\n }\n } catch (error) {\n errorToast(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: QuickLoanRepaymentAmount },\n });\n }\n }\n\n useEffect(() => {\n fetchRepaymentSchedule().finally(() => setIsLoading(false));\n }, []);\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n
\n history.goBack()\n // history.push({\n // pathname: ROUTES.widgetLoanHistory,\n // })\n }\n className=\"cursor\"\n >\n \n \n

Loan repayment

\n

Enter the amount you would like to pay

\n
\n
\n Amount Due\n {dueLoan?.dueAmount?.toLocaleString().split(\"\").includes(\".\") ? (\n \n ₦{dueLoan?.dueAmount.toLocaleString()}\n \n ) : (\n \n ₦{dueLoan?.dueAmount.toLocaleString()}.00\n \n )}\n Due Date: {dueLoan.dueDate}\n
\n
\n \n history.push({\n pathname: ROUTES.widgetLoanRepaymentMethods,\n state: {\n loan_id: location?.state?.id,\n amount: values.amount,\n loan_ref: location?.state?.loanRef,\n },\n })\n }\n >\n \n \n \n\n \n
\n \n history.push({\n pathname: ROUTES.widgetQuickLoanRepayment,\n })\n }\n >\n Go Back\n

\n \n
\n
\n \n \n );\n};\n\nexport default QuickLoanRepaymentAmount;\n","import React from \"react\";\nimport { Route } from \"react-router-dom\";\nimport { ROUTES } from \"../../helpers/ROUTES\";\nimport StepOneComponent from \"./Step1/StepOne.component\";\nimport DashboardComponent from \"./WidgetRevampv2/Dashboard/Dashboard.component\";\nimport ProfileComponent from \"./WidgetRevampv2/Profile/Profile.component\";\nimport ProfileDetails from \"./WidgetRevampv2/Profile/components/ProfileDetails\";\nimport TopUpComponent from \"./WidgetRevampv2/Topup/TopUpComponent\";\nimport CardInformation from \"./WidgetRevampv2/Profile/components/CardInformation\";\nimport TransactionPin from \"./WidgetRevampv2/Profile/components/TransactionPin\";\nimport TransactionPinOnboarding from \"./WidgetRevampv2/Profile/components/TransactionPinOnboarding\";\nimport TransactionsComponent from \"./WidgetRevampv2/Transactions/Transactions.component\";\nimport WithdrawalComponent from \"./WidgetRevampv2/Withdrawal/Withdrawal.component\";\nimport SetPinComponent from \"./WidgetRevampv2/SetPinComponent\";\nimport UpdateCardDetails from \"./UpdateCardDetails/UpdateCardDetails.component\";\nimport LoansComponent from \"./WidgetRevampv2/Loans/Loans.component\";\nimport LoanRequest from \"./WidgetRevampv2/Loans/components/LoanRequests/LoanRequest\";\nimport LoanHistory from \"./WidgetRevampv2/Loans/components/LoanHistory/LoanHistory\";\nimport DirectDebitProfile from \"./WidgetRevampv2/Profile/components/DirectDebitProfile\";\nimport LoanRepaymentAmount from \"./WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentAmount\";\nimport LoanRepaymentViaMpesa from \"./WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentMpesa\";\nimport LoanRepaymentMethods from \"./WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentMethods\";\nimport LoanRepaymentViaWallet from \"./WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentViaWallet\";\nimport LoanRepaymentViaNewCard from \"./WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentViaNewCard\";\nimport LoanRepaymentProof from \"./WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentProof\";\nimport ContactUs from \"./WidgetRevampv2/Dashboard/components/ContactUs\";\nimport LoanRepayments from \"./WidgetRevampv2/Loans/components/LoanHistory/LoanRepayments\";\nimport BankStatement from \"./WidgetRevampv2/Profile/components/BankStatement\";\nimport LoanRepaymentViaDirectDebit from \"./WidgetRevampv2/Loans/components/LoanRepayments/LoanRepaymentViaDirectDebit\";\nimport QuickLoanRepayment from \"./WidgetRevampv2/QuickLoanRepayment/QuickLoanRepayment\";\nimport QuickLoanRepaymentAmount from \"./WidgetRevampv2/QuickLoanRepayment/components/QuickLoanRepaymentAmount\";\nimport NewLoanOfferWidget from \"./WidgetRevampv2/Loans/components/NewLoanOfferWidget/NewLoanOffer\";\n\nconst WidgetRoutes = () => {\n return (\n
\n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
\n );\n};\n\nexport default WidgetRoutes;\n","import React, { Fragment, useEffect, useState } from \"react\";\nimport styles from \"./WidgetFlow.module.scss\";\nimport { useHistory, withRouter } from \"react-router-dom\";\nimport WidgetLoader from \"./WidgetLoader/WidgetLoader.component\";\nimport { ROUTES } from \"../../helpers/ROUTES\";\nimport { localCurrency, WIDGET_RESPONSE_STATUSES } from \"./utils\";\nimport { deviceType } from \"react-device-detect\";\nimport { RiCloseCircleFill } from \"react-icons/ri\";\nimport { appInsights } from \"../AppInsight/AppInsight\";\nimport CONFIG from \"../../helpers/config\";\nimport {\n getHTTPKey,\n handleGetEncryptedKey,\n storeHTTPKey,\n} from \"../../helpers/appHelpers\";\nimport { errorHandler } from \"../../helpers/errorHandler\";\nimport WidgetInitialError from \"./WidgetRevampv2/Dashboard/components/WidgetInitialError/WidgetInitialError\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateBorrowerDetailsAction,\n updateWidgetSettingsAction,\n} from \"../../redux/actions\";\nimport { ReduxStoreModel } from \"../../interfaces/redux-interface\";\nimport useFetchBanks from \"../../custom-hooks/useFetchBanks\";\nimport useFetchCountries from \"../../custom-hooks/useFetchCountries\";\nimport { useWidgetAggregatorSettingsWithHttpKey } from \"../../custom-hooks/useWidgetAggregatorSettings\";\nimport useFetchUserExists from \"../../custom-hooks/useFetchUserExists\";\nimport useFetchBankStatementProviderStatus from \"../../custom-hooks/useFetchBankStatementProviderLinked\";\nimport useGenerateAggregatorPrivateKey from \"../../custom-hooks/useGenerateAggregatorPrivateKey\";\nimport { sendResponseToClient } from \"../../helpers\";\nimport WidgetRoutes from \"./WidgetRoutes\";\n\n// const theme = {\n// primaryColor: \"#713fff\",\n// primaryDeepColor: \"#29067d\",\n// primaryLightColor: \"#E3D9FF\",\n// };\n\nconst WidgetFlow = () => {\n const [showError, setShowError] = useState(false);\n const [isLoading, setIsLoading] = useState(true);\n const [invalidAggregatorIdError, setInvalidAggregatorIdError] = useState(\"\");\n const history = useHistory();\n const dispatch = useDispatch();\n const widgetState = useSelector(\n (store: ReduxStoreModel) => store.widgetSettingsReducer,\n );\n const borrowerDetails = useSelector(\n (store: ReduxStoreModel) => store.borrowerDetailsReducer,\n );\n\n // useState(null);\n\n const {\n data: BankData,\n isLoading: isLoadingBankData,\n error: bankDataError,\n } = useFetchBanks({\n country_code: borrowerDetails?.country_code ?? \"NG\",\n });\n\n const {\n data: countryLists,\n isLoading: isLoadingCountryLists,\n error: countryListsError,\n } = useFetchCountries();\n\n const {\n data: aggregatorKeyData,\n error: ValidateAggregatorKeyError,\n isLoading: isLoadingAggregatorKeyData,\n } = useGenerateAggregatorPrivateKey({\n aggregator_id: borrowerDetails?.aggregator_id,\n public_key: widgetState?.public_key,\n });\n\n const {\n data: widgetAggregatorSettingsData,\n isLoading: isLoadingWidgetAggregatorSettingsData,\n error: widgetAggregatorSettingsDataError,\n } = useWidgetAggregatorSettingsWithHttpKey({\n countryCode: borrowerDetails?.country_code,\n aggregatorId: borrowerDetails?.aggregator_id,\n httpKey: widgetState?.encryptedKey,\n });\n\n const {\n data: userExistsData,\n isLoading: isLoadingUserExist,\n error: checkFirstTimeBorrowerError,\n } = useFetchUserExists({\n identity_number: borrowerDetails?.bvn_number,\n phone_number: borrowerDetails?.borrower_phone,\n aggregator_id: borrowerDetails?.aggregator_id,\n email: borrowerDetails?.email,\n business_registration_number: borrowerDetails?.business_registration_number,\n });\n\n const {\n data: bankStatementLinkedStatus,\n isLoading: isLoadingCheckBankStatementAuthStatus,\n error: checkBankStatementAuthStatusError,\n } = useFetchBankStatementProviderStatus({\n aggregator_id: borrowerDetails?.aggregator_id,\n customer_id: borrowerDetails?.customer_id,\n bank_statement_provider_id:\n borrowerDetails?.bank_statement_provider_id ??\n userExistsData?.bank_statement_provider_id,\n });\n\n useEffect(() => {\n console.log({\n isLoadingCheckBankStatementAuthStatus,\n checkBankStatementAuthStatusError,\n isLoadingUserExist,\n checkFirstTimeBorrowerError,\n isLoadingWidgetAggregatorSettingsData,\n widgetAggregatorSettingsDataError,\n isLoadingAggregatorKeyData,\n ValidateAggregatorKeyError,\n isLoadingCountryLists,\n countryListsError,\n isLoadingBankData,\n bankDataError,\n });\n\n // Check if all isLoading flags are false\n const isLoadingFlags = [\n isLoadingCheckBankStatementAuthStatus,\n isLoadingUserExist,\n isLoadingWidgetAggregatorSettingsData,\n isLoadingAggregatorKeyData,\n isLoadingCountryLists,\n isLoadingBankData,\n ];\n const allLoadingFalse = isLoadingFlags.every((flag) => !flag);\n\n // Check if any error flag is truthy\n const errorFlags = [\n checkBankStatementAuthStatusError,\n checkFirstTimeBorrowerError,\n widgetAggregatorSettingsDataError,\n ValidateAggregatorKeyError,\n countryListsError,\n bankDataError,\n ];\n const anyError = errorFlags.some((flag) => flag);\n // Set isLoading state based on conditions\n if (allLoadingFalse || anyError) {\n setIsLoading(false);\n }\n }, [\n isLoadingCheckBankStatementAuthStatus,\n checkBankStatementAuthStatusError,\n isLoadingUserExist,\n checkFirstTimeBorrowerError,\n isLoadingWidgetAggregatorSettingsData,\n widgetAggregatorSettingsDataError,\n isLoadingAggregatorKeyData,\n ValidateAggregatorKeyError,\n isLoadingCountryLists,\n countryListsError,\n isLoadingBankData,\n bankDataError,\n ]);\n\n useEffect(() => {\n // Listen to messages from the parent window\n window.addEventListener(\"message\", async (e: any) => {\n const { data } = e;\n // Check if the received data is an object and has the expected properties\n if (data && data.hasOwnProperty(\"aggregator_id\")) {\n await setInitialData(data, document.location.origin);\n if (\n CONFIG.BASE_URL !==\n \"https://advancly-api-master.test.vggdev.com/api/v1\" &&\n CONFIG.BASE_URL !==\n \"https://advancly-api-master.staging.vggdev.com/api/v1\"\n ) {\n data.public_key = \"PUBLIC_KEY_HIDDEN_IN_PROD_ENV\";\n }\n //Below appInsights is tracking the data coming in from the widget HTML\n appInsights.trackEvent({ name: \"WidgetHTMLData\", properties: data });\n }\n });\n\n // Clean up the event listener when the component unmounts\n return () => {\n window.removeEventListener(\"message\", () =>\n console.log(\"Listener removed\"),\n );\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n // Disable Scroll on this page\n if (window && window.document) {\n const bodyElement = window.document.querySelector(\"body\");\n if (bodyElement) {\n bodyElement.style.overflow = \"hidden\";\n }\n }\n if (aggregatorKeyData?.private_key) {\n getEncryptedKey().finally();\n dispatch(\n updateWidgetSettingsAction({\n edit_widget: aggregatorKeyData?.allow_widget_edit,\n }),\n );\n }\n if (widgetAggregatorSettingsData) {\n getWidgetSettings().finally();\n }\n if (BankData) {\n dispatch(\n updateWidgetSettingsAction({\n bankList: BankData,\n }),\n );\n }\n if (countryLists) {\n dispatch(updateWidgetSettingsAction({ worldCountries: countryLists }));\n }\n if (userExistsData) {\n checkFirstTimeBorrower().finally();\n }\n\n if (bankStatementLinkedStatus) {\n dispatch(\n updateWidgetSettingsAction({\n finishedFirstInitializations: true,\n }),\n );\n dispatch(\n updateBorrowerDetailsAction({\n bank_statement_connected: bankStatementLinkedStatus?.status,\n }),\n );\n if (userExistsData?.data?.customer_id) {\n history.push(ROUTES.widgetDashboard);\n }\n }\n //eslint-disable-next-line\n }, [\n widgetAggregatorSettingsData,\n aggregatorKeyData?.allow_widget_edit,\n aggregatorKeyData?.private_key,\n userExistsData?.data?.customer_id,\n bankStatementLinkedStatus?.status,\n ]);\n\n useEffect(() => {\n setShowError(false);\n }, []);\n\n function handleShowError(error: any) {\n setIsLoading(false);\n // setShowError(true);\n return appInsights.trackException({\n exception: new Error(error),\n properties: { fileName: \"WidgetFlow.jsx\" },\n });\n // return message.error(errorHandler(error || \"Something went wrong\"));\n }\n\n const setInitialData = async (messageFromAggregator: any, origin: string) => {\n if (messageFromAggregator && typeof messageFromAggregator === \"object\") {\n // Convert aggregator_id to a number for the check\n const aggregatorId = Number(messageFromAggregator?.aggregator_id);\n // const aggregatorId = messageFromAggregator?.aggregator_id;\n if (\n messageFromAggregator &&\n messageFromAggregator?.aggregator_id &&\n !Number.isSafeInteger(aggregatorId)\n ) {\n setIsLoading(false);\n setInvalidAggregatorIdError(\n `Invalid Aggregator Id : ${messageFromAggregator?.aggregator_id}`,\n );\n appInsights.trackException({\n exception: new Error(\n `Invalid Aggregator Id : ${messageFromAggregator?.aggregator_id}`,\n ),\n properties: { fileName: \"WidgetFlow.jsx\" },\n });\n return;\n } else {\n const {\n customStyles,\n public_key,\n aggregator_id,\n identity_number,\n bank_code,\n bank_account_number,\n customer_phone,\n email,\n first_name,\n last_name,\n customer_type,\n company_name,\n business_registration_number,\n country_code,\n canCloseWidget,\n } = messageFromAggregator;\n\n // if (!company_name || !first_name || !last_name || !customer_phone) {\n if (!company_name || !first_name || !last_name) {\n console.log(`sending error`);\n console.log(\"line 279\");\n handleShowError(\n new Error(\n \"Missing one of the following required fields : Company name, First Name, Last Name, Customer Phone\",\n ),\n );\n appInsights.trackException({\n exception: new Error(\n \"Missing one of the following required fields : Company name, First Name, Last Name, Customer Phone\",\n ),\n properties: { fileName: \"WidgetFlow.jsx\" },\n });\n }\n messageFromAggregator.borrower_phone = customer_phone;\n\n dispatch(\n updateWidgetSettingsAction({\n canCloseWidget,\n public_key,\n customStyles,\n }),\n );\n\n dispatch(updateBorrowerDetailsAction(messageFromAggregator));\n\n const user = {\n borrower_phone: customer_phone,\n aggregator_domain: origin,\n bvn_number: identity_number,\n aggregator_id,\n bank_code,\n bank_account_number,\n first_name,\n last_name,\n email,\n customer_type,\n company_name,\n business_registration_number,\n country_code,\n bank_statement_connected: false,\n bank_statement_provider: \"\",\n bank_statement_provider_id: \"\",\n currency: localCurrency(country_code),\n first_time_borrower: false,\n returningUserDetails: messageFromAggregator,\n customer_id: 0,\n };\n dispatch(updateBorrowerDetailsAction(user));\n }\n }\n };\n\n const getEncryptedKey = async () => {\n const encryptedKey = handleGetEncryptedKey(\n widgetState?.public_key,\n aggregatorKeyData?.private_key,\n );\n storeHTTPKey(encryptedKey);\n dispatch(\n updateWidgetSettingsAction({\n encryptedKey,\n }),\n );\n };\n\n const getWidgetSettings = async (): Promise => {\n try {\n const settingKeys: string[] = [\n \"use_wallet\",\n \"allow_contact_us\",\n \"allow_sms_notification\",\n \"allow_withdrawal\",\n \"allow_pin_change\",\n \"allow_bank_details\",\n \"view_wallet_balance\",\n \"bank_details_input_enabled\",\n ];\n\n interface Setting {\n setting_name: string;\n setting_value?: string;\n }\n\n const settings: { [key: string]: Setting | undefined } =\n settingKeys.reduce(\n (acc: { [key: string]: Setting | undefined }, key: string) => {\n acc[key] = widgetAggregatorSettingsData.find(\n (setting: Setting) => setting.setting_name === key,\n );\n return acc;\n },\n {},\n );\n\n // Helper function to determine the boolean value based on setting_value\n const resolveSetting = (setting: Setting | undefined): boolean => {\n return (\n setting?.setting_value === \"1\" || setting?.setting_value === undefined\n );\n };\n\n // Dispatch the action with cleaned-up parameters\n dispatch(\n updateWidgetSettingsAction({\n use_wallet: resolveSetting(settings[\"use_wallet\"]),\n allow_contact_us: resolveSetting(settings[\"allow_contact_us\"]),\n allow_sms_notification: resolveSetting(\n settings[\"allow_sms_notification\"],\n ),\n allow_withdrawal: resolveSetting(settings[\"allow_withdrawal\"]),\n allow_pin_change: resolveSetting(settings[\"allow_pin_change\"]),\n allow_bank_details: resolveSetting(settings[\"allow_bank_details\"]),\n allow_view_balance: resolveSetting(settings[\"view_wallet_balance\"]),\n bank_details_input_enabled: resolveSetting(\n settings[\"bank_details_input_enabled\"],\n ),\n }),\n );\n } catch (error) {\n console.error({ getWidgetSettingsError: error });\n appInsights.trackException({\n exception: new Error(JSON.stringify(error)),\n properties: { fileName: \"WidgetFlow.tsx\" },\n });\n // handleShowError(error);\n }\n };\n\n // check for first time borrowers\n const checkFirstTimeBorrower = async () => {\n if (\n userExistsData?.message?.includes(\"No match found\") ||\n userExistsData?.status === false\n ) {\n dispatch(\n updateBorrowerDetailsAction({\n ...borrowerDetails,\n first_time_borrower: true,\n }),\n );\n } else {\n userExistsData.data.aggregator_id = borrowerDetails?.aggregator_id;\n userExistsData.data.encryptedKey = getHTTPKey();\n dispatch(\n updateBorrowerDetailsAction({\n first_time_borrower: false,\n returningUserDetails: userExistsData?.data,\n customer_type: userExistsData?.data?.customer_type,\n customer_id: userExistsData?.data?.customer_id,\n first_name: userExistsData?.data?.first_name,\n last_name: userExistsData?.data?.last_name,\n bvn_number: userExistsData?.data?.bvn_number,\n business_registration_number:\n userExistsData?.data?.business_registration_number,\n borrower_phone: userExistsData?.data?.borrower_phone,\n company_name: userExistsData?.data?.company_name,\n email: userExistsData?.data?.email,\n bank_statement_provider:\n userExistsData?.data?.bank_statement_provider,\n bank_statement_provider_id:\n userExistsData?.data?.bank_statement_provider_id,\n }),\n );\n\n dispatch(\n updateWidgetSettingsAction({\n showWidgetAnimation: false,\n }),\n );\n }\n\n localStorage.setItem(\n \"userData\",\n JSON.stringify({\n customer_phone: userExistsData?.data?.borrower_phone,\n email: userExistsData?.data?.email,\n customer_type:\n userExistsData?.data?.customer_type === \"1\"\n ? \"Individual\"\n : \"Corporate\",\n first_name: userExistsData?.data?.first_name,\n last_name: userExistsData?.data?.last_name,\n customer_id: userExistsData?.data?.customer_id,\n }),\n );\n };\n\n return (\n \n
\n
\n {!isLoading &&\n showError &&\n !widgetState?.bankStatementWidgetOpened && (\n \n )}\n {isLoading ? (\n \n ) : !isLoading &&\n !widgetState?.bankStatementWidgetOpened &&\n (checkFirstTimeBorrowerError ||\n ValidateAggregatorKeyError ||\n checkBankStatementAuthStatusError ||\n invalidAggregatorIdError) ? (\n \n ) : null}\n {widgetState?.encryptedKey &&\n borrowerDetails?.first_name &&\n !isLoading &&\n !showError &&\n !checkFirstTimeBorrowerError &&\n !ValidateAggregatorKeyError &&\n !checkBankStatementAuthStatusError &&\n !invalidAggregatorIdError && (\n
\n
\n
\n\n
\n {\n sendResponseToClient({\n status: WIDGET_RESPONSE_STATUSES.cancel,\n data: { message: \"User cancelled\" },\n });\n }}\n >\n \n
\n \n
\n
\n
\n )}\n
\n \n
\n );\n};\nexport default withRouter(WidgetFlow);\n","import React from 'react';\nimport { Link } from \"react-router-dom\";\n\nexport const PrivacyPolicy = () => {\n\n return (\n
\n
\n
\n
\n \n \n Return to Dashboard\n \n
\n
\n
\n
\n

Privacy Policy

\n \n
\n

Introduction

\n

This Privacy Policy (“Policy”) governs your use of the Advancly Digital Platform which includes its website “https://www.advancly.com”, the associated domains thereof, applications and other technological solutions(“the Platform”) developed by Venture Garden Nigeria Limited (“VGN/We/Our”),. The Platform enables efficient data collection of programme data and issue reporting from the field.\n If you choose to use the Platform, then you agree to the collection and use of your personal information in accordance with this Policy. The personal information collected will be used to improve your experience during and after using the Platform. We will not use or share your personal information with anyone except as provided under this Policy.\n

\n
\n \n
\n

Information Collection and Use

\n

By using the Platform, you are consenting to our processing of your information as set forth in this Policy as may be amended by us from time to time. For a better experience, while using the Platform, we require users of the Platform to provide us with certain personally identifiable information, including but not limited to name, email address, Global Positioning System (“GPS”) location, phone number, password, PIN. The information that we request will be retained by us and used as described in this Policy.\n We collect information about how you use the Platform, such as the types of content that you view or engage with, the features you use, the actions you take, the time, frequency and duration of your activities. For example, we log when you're using and have last used the Platform.\n The Platform utilizes third party services that may collect information used to identify you. You agree that we may use the information provided to contact you with any important information, required notices and marketing promotions.\n

\n
\n\n
\n

Device information

\n

\n As described below, we collect information from and about the mobile devices, phones, connected TVs and other web-connected devices you use that integrate with our Products, and we combine this information across different devices that you use.\n Information that we obtain from these devices include\n

\n
    \n
  • Device attributes:information such as the operating system, hardware and software versions, battery level, signal strength, available storage space, etc.
  • \n
  • Device signals: Bluetooth signals, information about nearby Wi-Fi access points, beacons and mobile phone masts.
  • \n
  • Data from device settings: information that you allow us to receive through device settings that you turn on, such as access to your GPS location, camera or photos.
  • \n
  • Network and connections: information such as the name of your mobile operator or Internet Service Provider (“ISP”), language, time zone, mobile phone number, IP address, connection speed.
  • \n
\n
\n \n
\n

Log Data

\n

Please note that whenever you use the Platform, and you experience any error during the course of use, we collect data and information relating to such errors (“Log Data”), through third party products and services. This Log Data may include GPS, phone model type, e.t.c.

\n
\n \n
\n

Cookies

\n

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers for each user, and the information obtained are stored on your device's internal memory.\n This Platform does not use these “cookies” explicitly. However, the Platform may use third party code and libraries that use “cookies” to collect information and improve its services. You have the option to either accept or refuse these cookies and you shall be expressly informed before a cookie is sent to your device. If you choose to refuse our cookies, you may not be able to use some functionalities provided by the Platform.\n

\n
\n\n
\n

Automatically Collected Information / User Provided Information

\n

You agree that {VGN} may disclose information provided by you, or automatically collected by the Platform, in the manner listed below:

\n
    \n
  • as required by law, such as to comply with a subpoena, or similar legal process;
  • \n
  • when {VGN} believes in good faith that disclosure is necessary to protect its rights, protect your safety or the safety of others, investigate fraud, or respond to a government request;
  • \n
  • with Our trusted services providers who work on Our behalf, do not have an independent use of the information We disclose to them, and have agreed to adhere to the rules set forth in this privacy statement.
  • \n
  • You agree that {VGN} may retain User Provided data for as long as you use the Platform and for a reasonable time thereafter. We will retain automatically collected information for up to twenty-four (24) months and thereafter may store it in aggregate. If you’d like us to delete data that you have provided via the Platform, please contact us at {support@advancly.com}, and we will respond in a reasonable time. Please note that some or all of your data may be required in order for the Platform to function properly.
  • \n
\n
\n\n
\n

Security

\n

We value your trust in providing us with your Personal Information in connection with your use of the Platform and shall endeavor to use commercially acceptable means of protecting it. However, we do not guarantee its absolute security.

\n
\n\n
\n

Links to Other Websites

\n

Please note that this Platform may contain links to other websites. If you click on a third-party link, you will be directed to that website. Note that these third party websites are not operated by us. Therefore, we strongly advise you to review the privacy policy of these websites. We have no control and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

\n
\n \n
\n

Children’s Privacy

\n

We do not use the Platform to knowingly solicit data from children or individuals under the age of thirteen (13). Where a parent or guardian discovers that a child or individual under the age of thirteen (13) has provided us with his/her personal information without their consent, he or she should contact us at {support@advancly.com} and we shall immediately delete the user’s account from our servers.

\n
\n\n
\n

New owner

\n

If the ownership or control of all or part of this Platform changes, we may transfer your information to the new owner.

\n
\n \n
\n

Changes to This Policy

\n

We may update this Policy from time to time without any prior notice to you or consent. Thus, you are advised to consult this Platform periodically for any changes. We will notify you of any changes by posting the revised Policy on this Platform. Please note that changes shall be effective immediately after they are updated on this Platform.

\n
\n \n
\n

Contact Us

\n

If you have any questions or suggestions about our Policy, do not hesitate to contact us via {support@advancly.com}

\n
\n \n \n

Date of last revision: 08/April/2020

\n
\n
\n \n )\n }\n\nexport default PrivacyPolicy;","import React from 'react';\nimport { Link } from \"react-router-dom\";\n\nconst Terms = () => {\n\n return (\n
\n
\n
\n
\n \n \n Return to Dashboard\n \n
\n
\n
\n
\n

Advancly Terms of Use

\n\n
\n

About Advancly

\n

Advancly is a matched based lending platform. It matches funders to beneficiaries through Aggregators. It is designed to allow borrowers access higher loan amounts with a flexible repayment schedule. We take your privacy seriously. Please see our Privacy Policy for more details.

\n
\n\n
\n

Terms

\n

\n

    \n
  1. (Terms of Use) Personal Data that we collect about you.\n
    Advancly is a product of Venture Garden Nigeria Limited.\n Please read these Terms of Use and our Privacy Policy carefully before using this website. These Terms of Use govern your access and use of this website. By accessing or using the Advancly Platform, you agree to be bound by these Terms of Use and our Privacy Policy. Venture Garden Nigeria (referred to as “VGN”, \"Company,\" \"us,\" \"our,\" or \"we\") provides the https://www.advancly.com portal (“Site” or “Platform”) and reserves the right to make changes to the Platform and to these Terms of Use at any time without prior notice. You should review these Terms of Use each time you access this Platform.\n
    \n \n
    \n
      \n
    1. About Us\n
      \n Venture Garden Nigeria Limited is a technology solutions company which provides a range of products and services including, Advancly. \n
      \n
    2. \n\n
    3. The Agreement\n
      \n These Terms of Use is an agreement between you and us. It details our obligations to you. It also governs your use of the Platform and the services available on the Platform. It highlights certain risks on using our services and you must consider such risks carefully as you will be bound by the provision of this Terms of Use through your use of this website, mobile applications or any of our services.\n
      \n
    4. \n\n
    5. Registration\n
      \n To access certain features on the Platform, you may be required to provide personal and/or demographic information as part of the registration process. You agree to provide true, accurate, current and complete information about yourself as prompted by the applicable registration and you are responsible for keeping such information up-to date (this includes your contact information, so that we can reliably contact you). Also, you are to protect the confidentiality of your account password as we are not liable for any loss or damage arising from your failure to protect your password or account information.\n
      \n
    6. \n\n
    7. User Representation\n
      \n You represent, warrant and agree that no materials of any kind submitted through your account or otherwise posted or shared by you through the Platform will violate or infringe upon the rights of any third party, including copyright, trademark, privacy, publicity or other personal or proprietary rights; or contain libellous, defamatory, fraudulent or otherwise unlawful material. You further agree not to collect email addresses or other contact information of Users from the Platform or the Site by electronic or other means for the purposes of sending unsolicited emails or other unsolicited communications. Additionally, you agree not to use automated scripts to collect information from the Platform or the Site or for any other purpose. You further agree that you may not use the Platform or the Site in any unlawful manner or in any other manner that could damage, disable, overburden or impair the Platform. In addition, you agree not to use the Platform or the Site to:\n
      \n\n
      \n
        \n
      1. upload, post, transmit, share, store or otherwise make available any content that we deem to be harmful, threatening, unlawful, defamatory, infringing, abusive, inflammatory, harassing, vulgar, obscene, fraudulent, invasive of privacy or publicity rights, hateful, or racially, ethnically or otherwise objectionable;
      2. \n
      3. register for more than one User account, or register for a User account on behalf of any group or entity.
      4. \n
      5. impersonate any person or entity, or falsely state or otherwise misrepresent yourself, your age or your affiliation with or authority to act on behalf of any person or entity;
      6. \n
      7. upload, post, transmit, share or otherwise make available any unsolicited or unauthorized advertising, solicitations, promotional materials, \"junk mail,\" \"spam,\" \"chain letters,\" \"pyramid schemes,\" or any other form of solicitation;
      8. \n
      9. upload, post, transmit, share, store or otherwise make publicly available on the Platform any private information of any third party, including, without limitation, addresses, phone numbers, email addresses and credit card numbers;
      10. \n
      11. upload, post, transmit, share or otherwise make available any material that contains software viruses or any other malicious or tracking computer code, files or programs designed to track, interrupt, destroy or limit the functionality of any computer software or hardware or telecommunications equipment or any information that infringes the intellectual property rights of others;
      12. \n
      13. intimidate or harass another User;
      14. \n
      15. upload, post, transmit, share, store or otherwise make available content that would constitute, encourage or provide instructions for a criminal offense, violate the rights of any party, or that would otherwise create liability or violate any state, national or international law;
      16. \n
      17. use or attempt to use another's account, service or system without authorization from that person and the Company, or create a false identity on the Platform.
      18. \n
      \n
      \n
    8. \n\n\n
    9. Age Restriction\n
      \n In order to register for our services on the Platform, you represent and warrant that: You are at least 18 years of age and are legally able to enter into a binding contract.\n
      \n
    10. \n \n
    11. Identity Authentication\n
      \n You authorize us, directly or through third parties, to make any inquiries we consider necessary to validate your identity. This may include asking you for further information, requiring you to provide a biometric verification number (BVN), requiring you to take steps to confirm ownership of your email address or financial instruments, ordering a credit report, or verifying your Information against third party databases or through other sources.\n
      \n
    12. \n\n
    13. Assignment\n
      \n You may not transfer or assign any rights or obligations you have under this Terms of Use without our prior written consent in its sole and absolute discretion. We reserve the right to transfer or assign this Terms of Use or any right or obligation under this Terms of Use at any time.\n
      \n
    14. \n\n
    15. General Disclaimer\n
      \n The services provided under this Platform are provided to you \"as is,\" without any representation or warranty, express or implied, of any kind, including, but not limited to, warranties of merchantability, non-infringement, or fitness for any particular purpose. We do not warrant the accuracy or completeness of the service, the suitability of the content or the reliability of any advice, opinion, statement or other information displayed or distributed through the Platform. You acknowledge that any reliance on any such opinion, advice, statement, memorandum, or information shall be at your sole risk. We do not warrant that the functions contained in the materials will be uninterrupted or error-free, that defects will be corrected, or that the Portal is free of viruses or other harmful components.\n
      \n
    16. \n\n
    17. Communications and Notices to you\n
      \n By accepting these Terms of Use, you expressly consent to be contacted by us, our agents, representatives, affiliates, or anyone calling on our behalf for any and all purposes, at any telephone number, or physical or electronic address you provide or at which you may be reached. You agree we may contact you in any way, including SMS messages (including text messages), calls using pre-recorded messages or artificial voice, and calls and messages delivered using auto telephone dialling system or an automatic texting system. Automated messages may be played when the telephone is answered, whether by you or someone else. In the event that an agent or representative calls, he or she may also leave a message on your answering machine, voice mail, or send one via text. You also agree that we may contact people in your network should we try to reach you to no avail.\n
      \n
    18. \n\n
    19. Consent to Electronic Transactions and Disclosures\n
      \n Because the Platform operates via the Internet, whether you choose to participate on our Platform as a Borrower, Funder, Aggregator or in any other manner, it is necessary for you to consent to transact business with us online and electronically. As part of doing business with us, we also need you to consent to our giving you certain disclosures electronically, either via our Platform or to the email address you provide to us. By agreeing to the Terms of Use, you agree to receive electronically all documents, communications, notices, contracts, and agreements arising from or relating to your use of the Platform and Service, including any loans you may request or receive, your registration as a Borrower, Aggregator or Funder on our Platform, any loans you may give, your use of this service, and the servicing of your loan, if funded, as either a borrower or funder member of the Platform.\n
      \n
    20. \n\n
    21. Taxes\n
      \n The applicable tax laws in Nigeria as related to our BORROWERS, AGGREGATORS and FUNDERS are Value Added Tax and Withholding Tax;\n

      Interests earned by Lenders are liable to 10% WHT on the INTEREST EARNED alone.\n

      BORROWERS are charged 7.5% VAT on service charges as applicable. We are obliged by the applicable laws to collect these taxes on behalf of the government and remit as at when due, failure of which attracts severe penalties.. We are not to be held responsible for advising, estimating, calculating and/or remitting any other appropriate taxes that apply to you in Nigeria and abroad outside of our transactions here.\n

      You agree to indemnify us to the full extent of applicable law in the event that any tax authority holds us responsible for any taxes directly or indirectly arising from your use of the Platform.\n
      \n
      \n
    22. \n\n
    23. Suspension or Termination of Access\n
      \n We have the right to deny your access to, and suspend or terminate your access to, the Platform for any reason, including for any violation by you of these Terms of Use.\n
      \n
    24. \n\n
    25. Ownership of Site Contents\n
      \n We own the intellectual property rights in the content and materials displayed on the Platform. You may not modify, copy, reproduce, republish, upload, post, transmit, translate, sell, create derivative works, exploit, or distribute in any manner or medium (including by email or other electronic means) any material from the Platform unless explicitly authorized in these Terms of Use.\n
      \n
    26. \n\n
    27. Copyright and Trademarks\n
      \n The Company name, the term “Advancly”, the Advancly logo, and all related names, logos, product and service names, designs and slogans are copyright and trademarks of the Company. You must not use such marks without the prior written permission of the Company or as otherwise set out in these Terms of Use. All other names, logos, product and service names, designs and slogans on this platform are the trademarks of their respective owners.\n
      \n
    28. \n\n
    29. Limitation of Damages\n
      \n To the extent permitted by applicable law, our liability to you for any cause whatsoever, regardless of the form of the action will not exceed ₦2,500.00. If the dispute is pertaining to a lending transaction, our liability to you shall not exceed the total amount of fees earned as commission by the Company from the lending transaction As permitted by applicable law, we exclude all conditions, warranties, representations or other terms which may apply to our Platform or any content on it, whether express or implied. We will not be liable to any user for any loss or damage, even if foreseeable, arising under or in connection with the use of, or inability to use our Platform.\n
      \n
    30. \n\n
    31. Disclaimer\n
      \n We do not guarantee the accuracy of any User Content or Third-Party Content. Although we provide rules for User conduct and postings, we do not control and are not responsible for what Users post on the Platform and are not responsible for any offensive, inappropriate, obscene, unlawful or otherwise objectionable content you may encounter on the Platform or in connection with any User Content or ThirdParty Content. We are not responsible for the conduct, whether online or offline, of any User of the service via the Platform.\n
      We cannot guarantee and do not promise any specific results from use of our services via the Platform.
      \n
      The Platform and the service may be temporarily unavailable from time to time for maintenance or other reasons. We assume no responsibility for any error, omission, interruption, deletion, defect, delay in operation or transmission, communications line failure, theft or destruction or unauthorized access to, or alteration of, User communications. We are not responsible for any problems or technical malfunction of any telephone network or lines, computer online systems, servers or providers, computer equipment, software, failure of email or players on account of technical problems or traffic congestion on the Internet or on the Platform or combination thereof, including injury or damage to Users or to any other person's computer related to or resulting from participating or downloading materials in connection with the web and/or in connection with the service provided via the Platform.
      \n
      \n
      \n
    32. \n\n
    33. Dispute Resolution\n
      \n If a dispute or difference arises as to the validity, interpretation, effects or rights and obligations of the Parties under this Agreement, the Parties shall use their best endeavor to reach an amicable settlement of dispute.\n

      If any such dispute is not settled between the Parties within thirty (30) Business Days, the Parties agree that such dispute will be resolved by a Single Arbitrator appointed jointly by the parties in accordance with the provisions of the Arbitration and Conciliation Act Cap A18 LFN 2004 (ACA).\n

      Where the Parties fail to agree on a single Arbitrator, within a period of ten (10) days from the date a notice of Arbitration filed by either Party, the President of the Chartered Institute of Arbitrators UK (Nigeria Branch) shall nominate an Arbitrator on the application of either Party, the decision of the Arbitrator shall be binding on the Parties, and shall include an order as to the costs of such arbitration, which each Party shall pay such costs.\n
      \n
      \n
    34. \n\n
    35. \n Applicable Law\n
      \n These Terms of Use shall be interpreted and governed by the laws in force in the Federal Republic of Nigeria.\n
      \n
    36. \n\n
    37. \n Waiver and Severability\n
      \n Our failure to enforce a provision of these Terms is not a waiver of our right to do so later. If any provision of these Terms is found unenforceable, the remaining provisions of the Terms will remain in full effect and an enforceable term or terms will be substituted reflecting our intent as closely as possible.\n
      \n
    38. \n\n
    39. \n Contact Us\n
      \n Any question regarding the use of the Platform, or comments about the services provided via the Platform or its contents should be directed to {support@advancly.com}.\n
    40. \n\n
    41. \n Modifications\n
      \n We may modify and update the Terms of Use at any time. Your continued use of the Platform after any modifications to these Terms of Use shall mean you accept those modifications. Any aspect of the Platform or the services provided by the Platform may be amended, changed, modified, supplemented, deleted or updated without notice at our sole discretion.\n
      \n
    42. \n
    \n
    \n\n
  2. \n
\n

\n
\n
\n
\n )\n\n }\nexport default Terms;","import React, { useEffect, useState } from \"react\";\nimport { deviceType } from \"react-device-detect\";\nimport styles from \"../WidgetFlow.module.scss\";\nimport { RiCloseCircleFill } from \"react-icons/ri\";\nimport WidgetInitializationError from \"../WidgetInitializationError/WidgetInitializationError.component\";\nimport WidgetLoader from \"../WidgetLoader/WidgetLoader.component\";\nimport { getData, getDataWithKey } from \"../../../apis/apiMethods\";\nimport { errorHandler } from \"../../../helpers/errorHandler\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport * as CryptoJS from \"crypto-js\";\nimport DashboardComponent from \"../WidgetRevampv2/Dashboard/Dashboard.component\";\nimport WithdrawalComponent from \"../WidgetRevampv2/Withdrawal/Withdrawal.component\";\nimport TransactionPin from \"../WidgetRevampv2/Profile/components/TransactionPin\";\nimport { appInsights } from \"../../AppInsight/AppInsight\";\nimport WidgetInitialError from \"../WidgetRevampv2/Dashboard/components/WidgetInitialError/WidgetInitialError\";\n\nconst WidgetFlowEmbedApi = () => {\n const [initializationError, setInitializationError] = useState(false);\n const [showWidgetAnimation, setShowWidgetAnimation] = useState(false);\n const [finishedFirstInitializations, setFinishedFirstInitializations] =\n useState(false);\n const [error, setError] = useState(\"\");\n const [userDetails, setUserDetails] = useState();\n const [msgFromAggregator, setMsgFromAggregator] = useState(null);\n const [encryptedKey, setEncryptedKey] = useState(\"\");\n const [activeScreen, setActiveScreen] = useState(\"dashboard\");\n const [banks, setBanks] = useState([]);\n\n useEffect(() => {\n listenForMessage();\n }, []);\n\n // create encrypted key\n const getGeneratedAggregatorKey = async (aggregator_id, public_key) => {\n try {\n const response = await getData(\n `${apiEndpoints.getAggregatorKey}?aggregator_id=${aggregator_id}&public_key=${public_key}`\n );\n getEncryptedKey(public_key, response.data.private_key);\n } catch (error) {\n setError(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: WidgetFlowEmbedApi },\n });\n }\n };\n\n const getEncryptedKey = (public_key, private_key) => {\n console.log(private_key, public_key);\n const message = CryptoJS.enc.Utf8.parse(public_key);\n const secretkey = CryptoJS.enc.Utf8.parse(private_key);\n\n const aesOptions = { mode: CryptoJS.mode.CBC, iv: secretkey };\n const encryptedMessage = CryptoJS.AES.encrypt(\n message,\n secretkey,\n aesOptions\n );\n const encryptedKey = encryptedMessage.toString();\n console.log({ encryptedKey });\n setEncryptedKey(encryptedKey);\n };\n\n const listenForMessage = () => {\n try {\n // @ts-ignore\n const params = new URL(document.location).searchParams;\n const message = params.get(\"message\");\n let messageFromAggregator;\n\n if (message && typeof message === \"string\") {\n messageFromAggregator = JSON.parse(message);\n setInitialData(messageFromAggregator, document.location.origin);\n } else {\n window.addEventListener(\"message\", (event) => {\n const messageFromAggregator = event.data;\n setInitialData(messageFromAggregator, event.origin);\n });\n }\n } catch (error) {\n setFinishedFirstInitializations(true);\n setInitializationError(true);\n appInsights.trackException({\n exception: error,\n properties: { fileName: WidgetFlowEmbedApi },\n });\n }\n };\n\n const setInitialData = async (messageFromAggregator, origin) => {\n if (\n messageFromAggregator &&\n Object.keys(messageFromAggregator)?.length > 0\n ) {\n const aggregatorId = Number(messageFromAggregator?.aggregator_id);\n if (!Number.isSafeInteger(aggregatorId)) {\n setInitializationError(true);\n } else {\n console.log({ messageFromAggregator });\n setMsgFromAggregator(messageFromAggregator);\n localStorage.setItem(\n \"customStyles\",\n JSON.stringify(messageFromAggregator.customStyles)\n );\n await getGeneratedAggregatorKey(\n messageFromAggregator.aggregator_id,\n messageFromAggregator.public_key\n );\n setFinishedFirstInitializations(true);\n setInitializationError(false);\n }\n }\n };\n\n useEffect(() => {\n if (msgFromAggregator && encryptedKey) {\n checkFirstTimeBorrower();\n }\n getBankList();\n }, [msgFromAggregator, encryptedKey]);\n\n const checkFirstTimeBorrower = async () => {\n if (msgFromAggregator) {\n const { bvn_number, aggregator_id } = msgFromAggregator;\n try {\n const res = await getDataWithKey(\n `/account/check_bvn_exist/?bvn_number=${bvn_number}&aggregator_id=${aggregator_id}`\n );\n const userDetails = res.data;\n userDetails.aggregator_id = aggregator_id;\n userDetails.encryptedKey = encryptedKey;\n\n setUserDetails(userDetails);\n setFinishedFirstInitializations(true);\n } catch (error) {\n console.log(error);\n setError(errorHandler(error));\n appInsights.trackException({\n exception: error,\n properties: { fileName: WidgetFlowEmbedApi },\n });\n }\n }\n };\n\n const getBankList = async () => {\n try {\n const response = await getData(\"/account/signed_banks/\");\n let banks = response.data;\n banks.sort(function (a, b) {\n if (a.name?.toLowerCase() < b.name?.toLowerCase()) {\n return -1;\n }\n if (a.name?.toLowerCase() > b.name?.toLowerCase()) {\n return 1;\n }\n return 0;\n });\n setBanks(banks);\n } catch (error) {\n setError(errorHandler(error));\n setInitializationError(true);\n appInsights.trackException({\n exception: error,\n properties: { fileName: WidgetFlowEmbedApi },\n });\n }\n };\n\n useEffect(() => {\n setActiveScreen(\"dashboard\");\n }, []);\n\n const returnActiveScreen = () => {\n switch (activeScreen) {\n case \"dashboard\":\n return (\n setActiveScreen(\"withdrawal\")}\n handlePin={() => setActiveScreen(\"pin\")}\n />\n );\n case \"pin\":\n return (\n setActiveScreen(\"dashboard\")}\n />\n );\n case \"withdrawal\":\n return (\n setActiveScreen(\"dashboard\")}\n />\n );\n }\n };\n\n return (\n
\n
\n {\n sendResponseToClient({\n status: WIDGET_RESPONSE_STATUSES.cancel,\n data: { message: \"User cancelled\" },\n });\n }}*/\n >\n \n
\n {initializationError ? (\n \n ) : !finishedFirstInitializations || showWidgetAnimation ? (\n \n ) : (\n \n
\n {error !== \"\" && (\n

{error}

\n )}\n
{returnActiveScreen()}
\n
\n )}\n \n \n );\n};\n\nexport default WidgetFlowEmbedApi;\n","export default __webpack_public_path__ + \"static/media/Embed.57bdd451.svg\";","import React, { useMemo } from \"react\";\nimport styles from \"./SidebarMenu.module.scss\";\nimport { RiHome5Fill } from \"react-icons/ri\";\nimport { FaUser } from \"react-icons/fa\";\nimport { FaCoins } from \"react-icons/fa\";\nimport { FaHeadphones } from \"react-icons/fa\";\nimport { IoMdLogOut } from \"react-icons/io\";\nimport { NavLink, useLocation, useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport {\n updateBorrowerDetailsAction,\n updateWebAggregatorSettingsAction,\n updateWebSettingsAction,\n} from \"../../../redux/actions\";\nimport mixpanel from \"mixpanel-browser\";\nimport { Setting } from \"../../../interfaces/borrower\";\n\nfunction SidebarMenu() {\n const location = useLocation();\n const history = useHistory();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const { courseDescription, courseAmount } = borrowerDetails;\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n const handleLogout = () => {\n localStorage.removeItem(\"token\");\n localStorage.removeItem(\"currentUser\");\n localStorage.removeItem(\"firstTimeLogin\");\n dispatch(\n updateBorrowerDetailsAction({ courseDescription: \"\", courseAmount: \"\" }),\n );\n dispatch(updateWebAggregatorSettingsAction({}));\n history.push(`/${userInfo?.aggregator_name}/login`);\n mixpanel.reset();\n };\n\n const handleDashboardNavigateAction = () => {\n if (webStateData?.showTransactions) {\n dispatch(updateWebSettingsAction({ showTransactions: false }));\n }\n };\n\n return (\n
\n \n\n \n
\n );\n}\n\nexport default SidebarMenu;\n","import React from \"react\";\nimport styles from \"./HamburgerMenu.module.scss\"\n\ninterface HamburgerMenuProps {\n open: boolean;\n setOpen: React.Dispatch>;\n}\n\nfunction HamburgerMenu({ open, setOpen }: HamburgerMenuProps) {\n\n const handleSidebarSlider = () => {\n setOpen((prev) => !prev);\n if (open) {\n document.body.style.overflow = \"auto\"; // Re-enable scrolling\n } else {\n document.body.style.overflow = \"hidden\"; // Disable scrolling\n }\n };\n\n return (\n \n
\n \n );\n}\n\nexport default HamburgerMenu;\n","export default __webpack_public_path__ + \"static/media/nouser.cd259493.svg\";","import React, { useMemo } from \"react\";\nimport styles from \"./MobileMenu.module.scss\";\nimport { NavLink, useLocation, useHistory } from \"react-router-dom\";\nimport { RiHome5Fill } from \"react-icons/ri\";\nimport { FaCoins, FaHeadphones, FaUser } from \"react-icons/fa\";\nimport { IoMdLogOut } from \"react-icons/io\";\nimport nouser from \"../../../../assets/web/nouser.svg\";\nimport mixpanel from \"mixpanel-browser\";\nimport HamburgerMenu from \"../hamburgerMenu/HamburgerMenu\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { Setting } from \"../../../../interfaces/borrower\";\nimport {\n updateBorrowerDetailsAction,\n updateWebAggregatorSettingsAction,\n} from \"../../../../redux/actions\";\n\ninterface SidebarProps {\n open: boolean;\n setOpen: React.Dispatch>;\n}\n\nfunction MobileMenu({ open, setOpen }: SidebarProps) {\n const location = useLocation();\n const history = useHistory();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const { courseDescription, courseAmount } = borrowerDetails;\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n const handleNavigation = (path: string) => {\n setOpen(false);\n document.body.style.overflow = \"auto\"; // Re-enable scrolling\n history.push(path);\n };\n\n const handleLogout = () => {\n document.body.style.overflow = \"auto\"; // Re-enable scrolling\n localStorage.removeItem(\"token\");\n localStorage.removeItem(\"currentUser\");\n localStorage.removeItem(\"firstTimeLogin\");\n dispatch(\n updateBorrowerDetailsAction({ courseDescription: \"\", courseAmount: \"\" }),\n );\n dispatch(updateWebAggregatorSettingsAction({}));\n history.push(`/${userInfo?.aggregator_name}/login`);\n mixpanel.reset();\n };\n\n return (\n <>\n
\n
\n
\n
\n \n
\n \"\"\n

Hi {userInfo?.first_name}👋🏽

\n
\n \n\n \n
\n \n );\n}\n\nexport default MobileMenu;\n","import React, { ReactNode, useEffect, useState } from \"react\";\nimport styles from \"./Layout.module.scss\";\nimport embedLogo from \"../../../assets/web/Embed.svg\";\nimport SidebarMenu from \"../sidebarMenu/SidebarMenu\";\nimport HamburgerMenu from \"../menuComp/hamburgerMenu/HamburgerMenu\";\nimport MobileMenu from \"../menuComp/mobileMenu/MobileMenu\";\nimport { Redirect, useHistory, useLocation } from \"react-router-dom\";\nimport { getToken } from \"../../../helpers/appHelpers\";\nimport { isAfter, parseISO } from \"date-fns\";\nimport { ROUTES } from \"../../../helpers/ROUTES\";\nimport { useIdleTimer } from \"react-idle-timer\";\n\ninterface LayoutProps {\n children: ReactNode;\n}\n\nfunction Layout({ children }: LayoutProps) {\n const [open, setOpen] = useState(false);\n const history = useHistory();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const location = useLocation();\n const [isPrompted, setIsPrompted] = useState(false);\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n const TIMEOUT_WARNING = 1000 * 60 * 4;\n const LOGOUT_AFTER_TIMEOUT = 1000 * 60;\n\n const token = getToken();\n\n const handleOnAction = () => {\n const isTokenExpired = isAfter(\n new Date(),\n parseISO(userInfo.session_timeout),\n );\n if (isTokenExpired) {\n forceLogout(\"Your session timed out.\");\n }\n };\n\n const idleTimer = useIdleTimer({\n timeout:\n process.env.NODE_ENV === \"development\" ? 1000 * 60 * 8 : TIMEOUT_WARNING,\n onIdle: getUserLoginStatus,\n onAction: handleOnAction,\n debounce: 500,\n });\n\n const forceLogout = (message?: string) => {\n localStorage.clear();\n if (message) {\n alert(message);\n }\n history.replace(ROUTES.WEB_LOGIN);\n };\n\n useEffect(() => {\n const timeoutFunction = () =>\n setTimeout(() => {\n forceLogout(\"Your session timed out.\");\n }, LOGOUT_AFTER_TIMEOUT);\n if (isPrompted) {\n timeoutFunction();\n } else {\n clearTimeout(timeoutFunction());\n }\n\n return () => {\n clearTimeout(timeoutFunction());\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isPrompted]);\n\n function getUserLoginStatus() {\n setIsPrompted(true);\n setTimeout(() => {\n const status = window.confirm(\n `You have been idle for a long time and you will be logged out in the next few seconds. Do you want to remain logged in?`,\n );\n if (status) {\n setIsPrompted(false);\n idleTimer.reset();\n } else {\n setIsPrompted(false);\n forceLogout();\n }\n }, 200);\n }\n\n const { search } = useLocation();\n useEffect(() => {\n const redirectUrl = search?.split(\"?redirectUrl=\")[1];\n if (redirectUrl && token) {\n return history.push(redirectUrl);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [search]);\n\n if (!token) {\n if (urlExtension[1] && urlExtension[2]) {\n return (\n \n );\n } else {\n return ;\n }\n }\n\n return (\n <>\n
\n
\n
\n \"\"\n embed\n
\n\n \n
\n\n
\n \n
{children}
\n
\n
\n \n \n );\n}\n\nexport default Layout;\n","export default __webpack_public_path__ + \"static/media/arrow-circle-right.316cf0f1.svg\";","import React, { useEffect, useState } from 'react'\nimport styles from \"./WebTransactionView.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { WalletTransactions } from \"../../../../interfaces/transactions\";\nimport moment from \"moment\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { Button } from \"antd\";\nimport { paginate, PaginateFunction } from \"../../../../helpers/paginate\";\nimport view from \"../../../../assets/web/arrow-circle-right.svg\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from '../../../../components/AppInsight/AppInsight';\n\ninterface WebTransactionViewProps {\n transactions: WalletTransactions[];\n isTransactionLoading: boolean;\n setTransactionDetail: React.Dispatch<\n React.SetStateAction\n >;\n}\n\nfunction WebTransactionView({\n transactions,\n isTransactionLoading,\n setTransactionDetail,\n}: WebTransactionViewProps) {\n const [pageNumber, setPageNumber] = useState(1);\n const [startIndex, setStartIndex] = useState(0);\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Dashboard - (WebTransactionView.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n\n const goBack = () => {\n dispatch(updateWebSettingsAction({ showTransactions: false }));\n };\n\n const { nextPage, prevPage, pageSize }: PaginateFunction = paginate(\n pageNumber,\n startIndex,\n setPageNumber,\n setStartIndex\n );\n\n const visibleLoans = transactions?.slice(startIndex, startIndex + pageSize);\n\n const handleViewTransactionDetail = (id: string) => {\n const result = transactions.filter(\n (transaction) => transaction.transactionId === id\n );\n\n setTransactionDetail(result);\n dispatch(updateWebSettingsAction({ showTransactionDetail: true }));\n };\n\n return (\n
\n
\n \n

Transactions

\n
\n\n
\n \n \n \n \n \n \n \n \n\n \n {isTransactionLoading ? (\n \n \n \n ) : visibleLoans?.length === 0 ? (\n

No transactions yet

\n ) : (\n visibleLoans?.map((transaction) => (\n \n handleViewTransactionDetail(transaction.transactionId)\n }\n >\n
\n {transaction.transactionType === \"Debit\" ? (\n \n ) : (\n \n )}\n \n \n handleViewTransactionDetail(transaction.transactionId)\n }\n >\n \"\"\n \n \n ))\n )}\n \n
Transaction TypeAmountDate & Time
\n {transaction.transactionType}\n \n - ₦{transaction.debitAmount?.toLocaleString()}\n \n ₦{transaction.amount?.toLocaleString()}\n \n {moment(transaction.transactionDate).format(\n \"MMM DD YYYY, hh:mma\"\n )}\n
\n\n
\n \n \n = (transactions?.length || 0) - pageSize}\n >\n Next\n \n
\n
\n
\n );\n}\n\nexport default WebTransactionView;\n","export type PaginateFunction = {\n nextPage: () => void;\n prevPage: () => void;\n pageSize: number\n};\n \nexport const paginate = (\n pageNumber: number,\n startIndex: number,\n setPageNumber: React.Dispatch>,\n setStartIndex: React.Dispatch>,\n pageSize: number = 5\n ): PaginateFunction => {\n const nextPage = () => {\n setPageNumber((prev) => prev + 1);\n setStartIndex((prev) => prev + pageSize);\n };\n \n const prevPage = () => {\n if (pageNumber === 1) return;\n setPageNumber((prev) => prev - 1);\n setStartIndex((prev) => prev - pageSize);\n };\n \n return {\n nextPage,\n prevPage,\n pageSize\n };\n};\n ","export default __webpack_public_path__ + \"static/media/copy.e17aa657.svg\";","import React, { ChangeEvent, useEffect, useState } from \"react\";\nimport styles from \"./TopUp.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport copyIcon from \"../../../../assets/web/dashboard/copy.svg\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { WalletDetails } from \"../../../../interfaces/wallet\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { Alert, Button } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface TopUpProps {\n walletDetails: WalletDetails;\n refetchFetchWalletdetails: () => void;\n}\n\nconst schema = yup.object().shape({\n amount: yupValidators.amount,\n});\n\nexport interface TectToCopyProps {\n bankName: string;\n acctNo: string;\n acctName: string;\n}\n\nfunction TopUp({ walletDetails, refetchFetchWalletdetails }: TopUpProps) {\n const [currentStep, setCurrentStep] = useState(0);\n const [formattedValue, setformattedValue] = useState(\"\");\n const dispatch = useDispatch();\n const [amount, setAmount] = useState(0);\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (TopUp.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleButtonClick = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n useEffect(() => {\n if (currentStep === 2) {\n const timeoutId = setTimeout(() => {\n handleButtonClick();\n // setCurrentStep(prev => prev + 2)\n }, 3000);\n\n return () => clearTimeout(timeoutId);\n }\n }, [currentStep]);\n\n const handleRetry = () => {\n setCurrentStep(0);\n\n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" }, errorMsg: \"\" }),\n );\n };\n\n const handlePrevious = () => {\n setCurrentStep((prev) => prev - 1);\n };\n\n const onSubmit = (data: any) => {\n let minimumAmount = 100;\n const { amount } = data;\n const numericAmount = Number(amount.replace(/,/g, \"\"));\n\n if (numericAmount >= minimumAmount) {\n setAmount(numericAmount);\n handleButtonClick();\n\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n }),\n );\n } else {\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"Minimum top up amount is #100\",\n }),\n );\n }\n };\n\n const copyToClipboard = async ({\n bankName,\n acctNo,\n acctName,\n }: TectToCopyProps) => {\n try {\n const textToCopy = `Bank Name: ${bankName}\\nAccount Number: ${acctNo}\\nAccount Name: ${acctName}`;\n await navigator.clipboard.writeText(textToCopy);\n dispatch(\n updateWebSettingsAction({\n successMsg: { bodyText: \"Account details copied to clipboard\" },\n }),\n );\n } catch (err) {\n dispatch(updateWebSettingsAction({ errorMsg: \"Failed to copy text\" }));\n } finally {\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n successMsg: { bodyText: \"\" },\n errorMsg: \"\",\n }),\n );\n }, 3000);\n }\n };\n\n const handleCopyButtonClick = () => {\n copyToClipboard({\n acctName: walletDetails?.accountName,\n bankName: walletDetails?.bankName,\n acctNo: walletDetails?.accountNumber,\n });\n };\n\n const handleChange = (e: ChangeEvent) => {\n const value = e.target.value.replace(/\\D/g, \"\");\n let formattedAmount: string;\n if (value === \"\") {\n formattedAmount = \"\";\n } else {\n formattedAmount = new Intl.NumberFormat(\"en-US\").format(Number(value));\n }\n setformattedValue(String(formattedAmount));\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n\n refetchFetchWalletdetails();\n dispatch(\n updateWebSettingsAction({\n showTopUp: false,\n successMsg: { bodyText: \"\" },\n errorMsg: \"\",\n }),\n );\n };\n\n function transferConfirmationHandler() {\n MixPanel.track(\"Wallet Top Up\", {\n distinct_id: `${userInfo?.email}`,\n amount: amount,\n status: \"TopUp SuccessFul, Awaiting Confirmation\",\n product: \"Embed Web\",\n });\n\n handleButtonClick();\n }\n\n const renderContent = () => {\n switch (currentStep) {\n case 0:\n return (\n
\n
\n

Top-up Amount

\n

Enter your top-up amount

\n
\n\n \n
\n
\n \n \n
\n {errors.amount?.message}\n
\n\n
\n \n
\n \n
\n );\n case 1:\n return (\n
\n \n
\n

Bank Transfer

\n
\n\n
\n
\n

Transfer:

\n

₦{amount}

\n
\n

\n Kindly transfer the amount above to this unique account number\n using your mobile banking or ussd.\n

\n
\n\n
\n
\n \n {walletDetails?.accountName}\n \n \n {walletDetails?.accountNumber}\n \n {walletDetails?.bankName}\n
\n\n \n
\n\n
\n \n I have Transferred\n \n
\n
\n );\n case 2:\n return (\n
\n \n
\n );\n case 3:\n return (\n
\n
\n \n \n \n \n \n

Transaction Complete

\n

\n Your balance will reflect your recent top-up once your payment\n has been completed and processed by your bank\n

\n
\n\n
\n \n
\n
\n );\n case 4:\n return (\n
\n
\n
\n

Transaction Failed

\n

Something went wrong

\n
\n\n
\n \n
\n
\n );\n\n default:\n return null;\n }\n };\n\n return (\n <>\n
\n
\n {webStateData.errorMsg && (\n \n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))\n }\n />\n
\n )}\n {webStateData.successMsg.bodyText && (\n \n \n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" } }),\n )\n }\n />\n \n )}\n
\n {renderContent()}\n\n \n
\n \n \n );\n}\n\nexport default TopUp;\n","export default __webpack_public_path__ + \"static/media/arrow-right-coloured.3fa7acae.svg\";","export default __webpack_public_path__ + \"static/media/SCENE 5 5.2d6760f9.png\";","import React, { useMemo, useState } from \"react\";\nimport styles from \"./Card.module.scss\";\nimport { TextToCopyProps } from \"../dashboard/overviewComp/OverviewComp\";\nimport Loader from \"../../../components/Loader/Loader\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../redux/actions\";\nimport { Setting } from \"../../../interfaces/borrower\";\nimport { message } from \"antd\";\n\ninterface CardProps {\n walletBalance?: boolean;\n loanBalance?: boolean;\n title?: string;\n content?: string;\n bgIcon?: string;\n accountDetails?: boolean;\n accountnumber?: string;\n accountName?: string;\n bankName?: string;\n icon?: string;\n icon2?: string;\n bgColor?: string;\n color?: string;\n amount?: number;\n action?: string;\n copyToClipboard?: (data: TextToCopyProps) => Promise;\n isLoadingWalletDetails?: boolean;\n refetchFetchWalletdetails?: () => void;\n closestDueLoanSchedule?: () => any | null;\n handleLaunchOkraWidget?: () => void;\n // isLoanScheduleLoading?: boolean\n isLoadingOutstandingLoanBalance?: boolean;\n refetchOutstandingLoanBalance?: () => void;\n isLoadingUserExist?: boolean;\n userExistsData?: any;\n NextRepaymentAmount?: any;\n isLoadingNextRepaymentAmount?: boolean;\n setShowLoanRequestModal?: boolean;\n setShowLoanRepaymentModal?: boolean;\n}\n\nfunction Card({\n walletBalance,\n title,\n loanBalance,\n content,\n bgIcon,\n accountnumber,\n icon,\n icon2,\n bgColor,\n amount,\n action,\n accountName,\n bankName,\n copyToClipboard,\n isLoadingWalletDetails,\n refetchFetchWalletdetails,\n accountDetails,\n isLoadingOutstandingLoanBalance,\n refetchOutstandingLoanBalance,\n NextRepaymentAmount,\n isLoadingNextRepaymentAmount,\n setShowLoanRequestModal,\n setShowLoanRepaymentModal,\n}: CardProps) {\n const [showWalletBalance, setShowWalletBalance] = useState(false);\n const [isLoadingOutstandingLoanAmount, setIsLoadingOutstandingLoanAmount] =\n useState(false);\n const dispatch = useDispatch();\n const loanDataStore = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const { courseDescription, courseAmount } = borrowerDetails;\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n const handleLoanAction = () => {\n if (setShowLoanRequestModal) {\n if (requireEquityContribution && !courseDescription && !courseAmount) {\n message.error(\"No course information selected\");\n } else if (\n requireEquityContribution &&\n courseDescription &&\n courseAmount\n ) {\n dispatch(\n updateWebSettingsAction({\n showLoanRequestModal: true,\n }),\n );\n } else {\n dispatch(\n updateWebSettingsAction({\n showLoanRequestModal: true,\n }),\n );\n }\n }\n\n document.body.style.overflow = \"hidden\";\n\n if (setShowLoanRepaymentModal) {\n if (loanDataStore?.loan_ref) {\n dispatch(\n updateWebSettingsAction({\n showLoanRepaymentModal: true,\n }),\n );\n }\n }\n };\n\n const handleCopyToClipboard = () => {\n if (copyToClipboard && accountnumber) {\n copyToClipboard({\n accountBankName: bankName || \"\",\n accountNumber: accountnumber || \"0\",\n accountName: accountName || \"\",\n });\n }\n };\n\n const handleShowWalletBalance = () => {\n setShowWalletBalance((prev) => !prev);\n };\n\n const handleOutstandingLoanBalanceRefresh = () => {\n if (refetchOutstandingLoanBalance) {\n setIsLoadingOutstandingLoanAmount(true);\n refetchOutstandingLoanBalance();\n }\n\n setTimeout(() => setIsLoadingOutstandingLoanAmount(false), 3000);\n };\n\n return (\n \n {walletBalance && (\n
\n {isLoadingWalletDetails ? (\n \n ) : (\n \n \n {title}\n {showWalletBalance ? (\n \n ) : (\n \n )}\n \n {showWalletBalance ? (\n \n ****\n \n ) : amount?.toLocaleString().split(\"\").includes(\".\") ? (\n \n ₦{amount?.toLocaleString()}\n \n ) : (\n \n ₦{amount?.toLocaleString()}.00\n \n )}\n
\n )}\n \n )}\n {loanBalance && (\n
\n {isLoadingOutstandingLoanAmount || isLoadingOutstandingLoanBalance ? (\n \n ) : (\n <>\n \n {title}\n \n \n {amount && amount > 0 ? (\n \n -₦{amount.toLocaleString()}\n \n ) : (\n ₦{amount}\n )}\n \n )}\n
\n )}\n {content && (\n
\n {isLoadingNextRepaymentAmount ? (\n \n \n
\n ) : (\n <>\n
\n

{content}

\n\n \n
\n \"\"\n \n )}\n \n )}\n\n {accountDetails && (\n
\n {isLoadingWalletDetails ? (\n
\n \n
\n ) : (\n
\n
\n
\n

{accountnumber}

\n

{accountName}

\n
\n \n
\n

{bankName}

\n
\n )}\n
\n )}\n \n );\n}\n\nexport default Card;\n","import React from \"react\";\nimport styles from \"./ActionButtons.module.scss\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport redDot from \"../../../../assets/red-dot.svg\"\n\ninterface ActionButtonProps {\n icon?: string;\n title?: string;\n buttonBg?: string;\n setShowTopUp?: boolean;\n setShowSupport?: boolean;\n setShowWithdraw?: boolean;\n showLoanOptionsFlag?: boolean;\n showQuickRepayment?: boolean;\n pendingLoanOffer?: any;\n}\n\nfunction ActionButton({\n icon,\n title,\n buttonBg,\n setShowTopUp,\n setShowSupport,\n setShowWithdraw,\n showQuickRepayment,\n showLoanOptionsFlag,\n pendingLoanOffer\n}: ActionButtonProps) {\n const dispatch = useDispatch();\n\n const handleButtonClick = () => {\n if (setShowTopUp) {\n dispatch(updateWebSettingsAction({ showTopUp: true }));\n }\n\n if (setShowSupport) {\n dispatch(updateWebSettingsAction({ showSupport: true }));\n }\n\n if (setShowWithdraw) {\n dispatch(updateWebSettingsAction({ showWithdraw: true }));\n }\n\n if (showLoanOptionsFlag) {\n dispatch(updateWebSettingsAction({ showLoanOptions: true }));\n }\n\n if(showQuickRepayment) {\n dispatch(updateWebSettingsAction({ showQuickRepayment: true }));\n }\n\n document.body.style.overflow = \"hidden\";\n };\n\n return (\n \n );\n}\n\nexport default ActionButton;\n","export default __webpack_public_path__ + \"static/media/wallet-money.83e22b7b.svg\";","export default __webpack_public_path__ + \"static/media/add-circle.b5f06649.svg\";","export default __webpack_public_path__ + \"static/media/send-2.acc55b33.svg\";","export default __webpack_public_path__ + \"static/media/headphone white.2f9093c2.svg\";","import React from \"react\";\nimport styles from \"./QuickActions.module.scss\";\nimport ActionButtons from \"../actionButtons/ActionButtons\";\nimport { wallet, addCircle, send, repay, contact } from \"./Index\";\n\ninterface QuickActionsProps {\n scrollToTransactions: (elementRef: React.RefObject) => void;\n transactionHistoryRef: React.RefObject;\n pendingLoanOffer: any;\n}\n\nfunction QuickActions({\n scrollToTransactions,\n transactionHistoryRef,\n pendingLoanOffer,\n}: QuickActionsProps) {\n return (\n
\n
\n

Quick Actions

\n scrollToTransactions(transactionHistoryRef)}\n >\n View transactions\n \n
\n\n
\n \n \n \n \n \n
\n
\n );\n}\n\nexport default QuickActions;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHIAAAByCAYAAACP3YV9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABlSSURBVHgB7V0JnBTVmf9eVd89PTPcMAwDgyAIQpAjmvUIKIkC5qeSCEZz7eZg1xybbJLdxM2aMWrUHOTyt5tkd6Mm6kYwGN0AiT8joiieQU0UicrhwDDM0NMzPX131fvyveqrqrq6e7qnZ+gZ5g81VfWuqn7/+t773ve9egUwhjGMYQxjGMMYrMDgNMOBjuBERPkKFXCxyvmZyFlY4eqjNnfDfe+aysIwQmGD0wS7EG0t3dEvqwifQxWbgYunmNEOKZZ9MBnuXUAHX4QRitNCIt/pxiZkif9UOL+CcwQ1vXHUHXOMrDij0QsjFKNeIl977TUHkxP/TUStLZ6SnYQRDAlGORqmz7mRdmtLpWMMnoARjFFN5DvhcBNj0mdKpaO+spcnozfBCMaoJtKFro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dwLyJUFbe+ZJlpNMoZGIL9EVAP0MgdYw6737mOBMOWctOZtYfpPMaw8GUJhfOELvpz6OI/A/cIT32pQ9eNOh3IIthWHXzXYcOuRx8/CKWVFeSIewajuwc0H7z0BEpZtT1DhOREjDxVYMHuKr+1hOBA5/85AXD9pmlUzrIevr1nrMZsKUc+AZ6clchMM9IkkiqvggdvUhOmgfJor/7+iuWvQqnCDUzWt51KNBIPqnloEqXy5J0JVXUzFokkpAg3/evAaVHkkx5/rNXvrtqK3MMBjVp9njxRbSHnV0ruCT9HeO4garvHKpIWyVEimkg4h3KSomkGhJOyD8jY/9PfcCeY/uW/DH9reaawoiwX+3e1z4Xbc7LOMdL6HQ1Va93wERaTIcsSSSIDxuyJ4m4bYqd743h8Ve/sHZtHGoYI84QuePNN+sdsfHnSqpyBTJcR+TO0r5RNEgiqZ/romJ2qEnlcdWhPLbpsuVDqmVWGyPaonzXrkOu5kbXeSQ/lxAlayhoKWoLZQyMSBqgH6Cz+xnjLyheec8nL5h/Sj/mORiMKtfA4690z0skE8uYJK1HDquJsAaVCOsJpIgkhEl295Cisl1y23Zfe9HsU6ZlVhuj1seza1+gMYGx1cj5Yn8g4iByDzA1+YcPv3/+sH9tdQxjGMMYxjCGMZw6/A3DTN0k3/p1BwAAAABJRU5ErkJggg==\"","\nimport React, { useEffect } from \"react\";\nimport styles from \"./TransactionOverview.module.scss\";\nimport emptyBox from \"../../../../assets/web/dashboard/noItem.png\";\nimport { WalletTransactions } from \"../../../../interfaces/transactions\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport moment from \"moment\";\nimport view from \"../../../../assets/web/arrow-circle-right.svg\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface TransactionOverviewProps {\n transactions: WalletTransactions[];\n isTransactionLoading: boolean;\n setTransactionDetail: React.Dispatch<\n React.SetStateAction\n >;\n}\n\nfunction TransactionOverview({\n transactions,\n isTransactionLoading,\n setTransactionDetail,\n}: TransactionOverviewProps) {\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Dashboard - (TransactionOverview.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleViewTransactions = () => {\n dispatch(\n updateWebSettingsAction({\n showTransactions: true,\n })\n );\n };\n\n const handleViewTransactionDetail = (id: string) => {\n document.body.style.overflow = \"hidden\";\n const result = transactions.filter(\n (transaction) => transaction.transactionId === id\n );\n\n setTransactionDetail(result);\n dispatch(updateWebSettingsAction({ showTransactionDetail: true }));\n };\n\n return (\n
\n
\n

Recent Transactions

\n {transactions?.length > 0 && (\n \n )}\n
\n\n \n \n \n \n \n \n \n \n\n \n {isTransactionLoading ? (\n \n \n \n ) : transactions?.length > 0 ? (\n transactions?.slice(0, 4)?.map((transaction) => (\n \n handleViewTransactionDetail(transaction.transactionId)\n }\n >\n \n {transaction.transactionType === \"Debit\" ? (\n \n ) : (\n \n )}\n \n \n \n ))\n ) : (\n \n \n \n )}\n \n
Transaction TypeAmountDate & Time
\n \n
\n {transaction.transactionType}\n \n - ₦{transaction.debitAmount?.toLocaleString()}\n \n ₦{transaction.amount?.toLocaleString()}\n \n {moment(transaction.transactionDate).format(\n \"MMM DD YYYY, hh:mma\"\n )}\n \n \"\"\n
\n
\n \"\"\n

No transactions yet

\n

\n Your transactions will appear here when you initiate one\n

\n
\n
\n
\n );\n}\n\nexport default TransactionOverview;\n","export default __webpack_public_path__ + \"static/media/depositIcon.ae07a229.svg\";","export default __webpack_public_path__ + \"static/media/withdrawIcon.42c8419f.svg\";","import React from \"react\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport styles from \"./DateRangeSelector.module.scss\";\nimport { SearchQuery } from \"../../dashboard/mobileTransactionView/MobileTransactionView\";\nimport { Button } from \"antd\";\n\ninterface DateRangeSelectorProps {\n setShowDateRangeSelector: React.Dispatch>;\n handleConfirmSelection: () => void;\n searchQuery: SearchQuery;\n setSearchQuery: React.Dispatch>;\n}\n\nfunction DateRangeSelector({\n setShowDateRangeSelector,\n handleConfirmSelection,\n searchQuery,\n setSearchQuery,\n}: DateRangeSelectorProps) {\n const handleChange = (e: React.ChangeEvent) => {\n const { name, value } = e.currentTarget;\n\n setSearchQuery({\n ...searchQuery,\n [name]: value,\n });\n };\n\n const handleClose = () => {\n setShowDateRangeSelector(false);\n };\n\n return (\n
\n
\n
\n

Select Period

\n \n
\n\n
\n
\n \n \n
\n\n
\n \n \n
\n\n setSearchQuery({ startDate: \"\", endDate: \"\" })}\n >\n Clear filter\n \n\n
\n \n
\n
\n
\n
\n );\n}\n\nexport default DateRangeSelector;\n","import React, { useEffect, useState } from \"react\";\nimport styles from \"./MobileTransactionView.module.scss\";\nimport { IoMdArrowRoundUp } from \"react-icons/io\";\nimport depositIcon from \"../../../../assets/web/depositIcon.svg\";\nimport withdrawalIcon from \"../../../../assets/web/withdrawIcon.svg\";\nimport emptyBox from \"../../../../assets/web/dashboard/noItem.png\";\nimport { WalletTransactions } from \"../../../../interfaces/transactions\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport moment from \"moment\";\nimport DateRangeSelector from \"../../features/dateRangeSelector/DateRangeSelector\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface MobileTransactionViewProps {\n transactionHistoryRef: React.RefObject;\n scrollToTop: (elementRef: React.RefObject) => void;\n overviewRef: React.RefObject;\n transactions: WalletTransactions[];\n isTransactionLoading: boolean;\n setTransactionDetail: React.Dispatch<\n React.SetStateAction\n >;\n}\n\nexport interface SearchQuery {\n startDate: string;\n endDate: string;\n}\n\nfunction MobileTransactionView({\n transactionHistoryRef,\n scrollToTop,\n overviewRef,\n transactions,\n isTransactionLoading,\n setTransactionDetail,\n}: MobileTransactionViewProps) {\n const [showDateRangeSelector, setShowDateRangeSelector] = useState(false);\n const [searchQuery, setSearchQuery] = useState({\n startDate: \"\",\n endDate: \"\",\n });\n const [selectRangeItems, setSelectRangeItems] = useState<\n WalletTransactions[]\n >([]);\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Dashboard - (MobileTransactionView.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleDateSelector = () => {\n setShowDateRangeSelector(true);\n };\n\n // console.log(\"Transactions:\", transactions)\n\n const handleConfirmSelection = () => {\n const checkDate = transactions?.filter((transaction) => {\n const transactionDate = new Date(transaction?.transactionDate);\n return (\n transactionDate >= new Date(searchQuery.startDate) &&\n transactionDate <= new Date(searchQuery.endDate)\n );\n });\n\n setSelectRangeItems(checkDate);\n\n setShowDateRangeSelector(false);\n };\n\n const viewTransactionDetail = (id: string) => {\n const result = transactions.filter(\n (transaction) => transaction.transactionId === id\n );\n document.body.style.overflow = \"hidden\";\n\n setTransactionDetail(result);\n dispatch(updateWebSettingsAction({ showTransactionDetail: true }));\n };\n\n return (\n <>\n
\n
\n scrollToTop(overviewRef)}\n >\n \n Go up\n \n

Transactions

\n\n \n
\n\n {isTransactionLoading ? (\n
\n \n
\n ) : transactions?.length > 0 ? (\n
\n {searchQuery.startDate === \"\" && searchQuery.endDate === \"\"\n ? transactions?.slice(0, 10).map((transaction) => (\n \n viewTransactionDetail(transaction.transactionId)\n }\n >\n
\n \n \n \n
\n

\n {transaction?.transactionType}\n

\n

\n {moment(transaction.transactionDate).format(\n \"MMM DD YYYY, hh:mma\"\n )}\n

\n
\n
\n {transaction?.transactionType === \"Debit\" ? (\n \n - ₦{transaction?.debitAmount?.toLocaleString()}\n \n ) : (\n \n ₦{transaction?.amount?.toLocaleString()}\n \n )}\n
\n ))\n : selectRangeItems?.map((transaction) => (\n \n
\n \n \n \n
\n

\n {transaction?.transactionType}\n

\n

\n {moment(transaction.transactionDate).format(\n \"MMM DD YYYY, hh:mma\"\n )}\n

\n
\n
\n {transaction?.transactionType === \"Debit\" ? (\n \n - ₦{transaction?.debitAmount?.toLocaleString()}\n \n ) : (\n \n ₦{transaction?.amount?.toLocaleString()}\n \n )}\n
\n ))}\n \n ) : (\n
\n \"\"\n

No transactions yet

\n

Your transactions will appear here when you initiate one

\n
\n )}\n \n {showDateRangeSelector && (\n \n )}\n \n );\n}\n\nexport default MobileTransactionView;\n","import React, { useState } from \"react\";\nimport {\n showTransactionEye,\n hideTransactionEye,\n arrowRight,\n bgIcon,\n copy,\n} from \"./Index\";\nimport styles from \"./OverviewComp.module.scss\";\nimport nouser from \"../../../../assets/web/nouser.svg\";\nimport Card from \"../../card/Card\";\nimport QuickActions from \"../quickActions/QuickActions\";\nimport TransactionHistoryOverview from \"../TransactionOverview/TransactionOverview\";\nimport { IoIosArrowDown } from \"react-icons/io\";\nimport MobileTransactionView from \"../mobileTransactionView/MobileTransactionView\";\nimport { WalletTransactions } from \"../../../../interfaces/transactions\";\nimport { WalletDetails } from \"../../../../interfaces/wallet\";\nimport { Alert } from \"antd\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { useFetchPendingLoanOffer } from \"../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport NewOfferPopUp from \"../../../../web-widget-reuseable-components/newOfferPopUp/NewOfferPopUp\";\n\ninterface OverviewCompProps {\n transactionHistoryRef: React.RefObject;\n scrollToTransactions: (elementRef: React.RefObject) => void;\n scrollToTop: (elementRef: React.RefObject) => void;\n overviewRef: React.RefObject;\n transactions: WalletTransactions[];\n isTransactionLoading: boolean;\n walletConsentDetails: any;\n setTransactionDetail: React.Dispatch<\n React.SetStateAction\n >;\n walletDetails: WalletDetails;\n refetchFetchWalletdetails: () => void;\n isLoadingWalletDetails: boolean;\n isLoadingUserExist: boolean;\n userExistsData: any;\n}\n\nexport interface TextToCopyProps {\n accountBankName: string;\n accountNumber: string;\n accountName: string;\n}\n\nfunction OverviewComp({\n transactionHistoryRef,\n scrollToTransactions,\n scrollToTop,\n overviewRef,\n transactions,\n walletConsentDetails,\n isTransactionLoading,\n setTransactionDetail,\n isLoadingWalletDetails,\n refetchFetchWalletdetails,\n walletDetails,\n userExistsData,\n isLoadingUserExist,\n}: OverviewCompProps) {\n const [error, setError] = useState(\"\");\n const [success, setSuccess] = useState(\"\");\n const data = localStorage.getItem(\"currentUser\");\n const userinfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const copyToClipboard = async ({\n accountBankName,\n accountNumber,\n accountName,\n }: TextToCopyProps) => {\n try {\n const textToCopy = `Bank Name: ${accountBankName}\\nAccount Number: ${accountNumber}\\nAccount Name: ${accountName}`;\n await navigator.clipboard.writeText(textToCopy);\n setSuccess(\"Account details copied to clipboard\");\n } catch (err) {\n console.error(\"Failed to copy text: \", err);\n setError(\"Failed to copy\");\n }\n };\n\n // console.log(\"Wallet Consent:\", walletDetails?.accountStatus)\n\n const handleConsent = () => {\n document.body.style.overflow = \"hidden\";\n\n dispatch(updateWebSettingsAction({ showVirtualAcctCompletionModal: true }));\n };\n\n const viewNewLoanOfferHandler = () => {\n dispatch(updateWebSettingsAction({ showNewLoanOffer: true }));\n };\n\n const { data: pendingLoanOffer } = useFetchPendingLoanOffer({\n customer_id: userinfo?.customerId,\n });\n\n return (\n <>\n {walletDetails?.accountStatus === \"InActive\" && (\n
\n {webStateData?.walletConsentIsLoading ? (\n

Loading...

\n ) : (\n
\n

\n \n Complete your virtual account setup\n

\n
\n {walletConsentDetails?.status === false && (\n \n Proceed \n \n )}\n
\n
\n )}\n
\n )}\n
\n \n

Hi {userinfo?.first_name}👋🏽

\n
\n\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n\n {success && (\n
\n setSuccess(\"\")}\n />\n
\n )}\n\n
\n {pendingLoanOffer?.length > 0 && (\n \n )}\n\n
\n \n\n \n\n \n
\n\n \n\n
\n \n
\n\n scrollToTransactions(transactionHistoryRef)}\n >\n Tap to scroll to transactions\n \n
\n\n \n \n \n );\n}\n\nexport default OverviewComp;\n","import React, {\n ReactElement,\n ReactHTMLElement,\n RefObject,\n useState,\n} from \"react\";\nimport { enforceMaxLength } from \"../../helpers/enforceMaxLength\";\nimport ErrorHandler from \"../ErrorHandler/ErrorHandler.component\";\nimport { BsEye, BsEyeSlash } from \"react-icons/bs\";\n\n\ntype CustomInputFieldProps = {\n type: string;\n name?: string;\n placeholder?: string;\n label?: string;\n errors?: any;\n maxLength?: undefined | number;\n readOnly?: boolean; \n max?: number | string;\n defaultValue?: string | number;\n minLength?: undefined | number;\n onChange?: any;\n value?: string | number;\n hasActionButton?: boolean;\n step?: number | string | undefined;\n reference?: any;\n hasPrepend?: boolean;\n PrependComponent?: React.ComponentProps<\"div\">;\n};\n\nconst CustomInputField = ({\n type,\n name,\n placeholder,\n reference,\n label,\n errors,\n maxLength,\n max,\n defaultValue,\n value,\n minLength,\n readOnly,\n onChange,\n hasActionButton,\n step,\n PrependComponent,\n hasPrepend,\n ...otherProps\n}: CustomInputFieldProps) => {\n const [showPassword, setShowPassword] = useState(false);\n return (\n
\n \n
\n {hasPrepend && PrependComponent}\n \n {hasActionButton && (\n setShowPassword(!showPassword)}\n >\n \n {showPassword ? : }\n \n
\n )}\n
\n
\n \n
\n \n );\n};\n\nexport default CustomInputField;\n","import React, { ChangeEventHandler } from \"react\";\nimport { enforceMaxLength } from \"../../helpers/enforceMaxLength\";\nimport ErrorHandler from \"../ErrorHandler/ErrorHandler.component\";\n\ninterface ICustomTextAreaProps {\n name?: string;\n placeholder?: string;\n label?: string;\n errors?: any;\n max?: number | undefined;\n maxLength?: undefined | number;\n defaultValue?: string | number;\n value?: string | number;\n minLength?: undefined | number;\n readOnly?: boolean;\n onChange?: ChangeEventHandler;\n min?: number;\n showRequiredIcon?: boolean;\n hasActionButton?: boolean;\n actionButtonText?: string;\n onClickActionButton?: () => void;\n extraLabel?: string;\n bottomLabel?: string;\n rows?: number;\n disabled?: boolean | undefined;\n otherLabel?: string | boolean;\n otherLabelClassName?: string;\n customAreaStyle?: any;\n reference?: any\n}\nconst CustomTextArea = React.forwardRef(\n (\n {\n name,\n placeholder,\n label,\n errors,\n maxLength,\n defaultValue,\n minLength,\n onChange,\n showRequiredIcon,\n extraLabel,\n rows,\n bottomLabel,\n disabled,\n otherLabel,\n otherLabelClassName,\n readOnly,\n reference,\n customAreaStyle = {},\n }: ICustomTextAreaProps,\n ) => {\n return (\n
\n
\n \n {showRequiredIcon && *}\n {extraLabel && extraLabel.length && (\n \n )}\n {otherLabel && (\n \n )}\n
\n
\n \n {bottomLabel && bottomLabel.length && !errors && (\n {bottomLabel}\n )}\n \n
\n
\n );\n }\n);\n\nexport default CustomTextArea;\n","export default function cleanPhoneSavedPhoneNo(user: any) {\n let phoneNo;\n if (user && user?.country === \"NG\") {\n phoneNo = user?.phoneNumber.replace(/^234/, \"0\");\n } else if (user && user?.country === \"KE\") {\n phoneNo = user?.phoneNumber.replace(/^254/, \"0\");\n } else if (user && user?.country === \"GH\") {\n phoneNo = user?.phoneNumber.replace(/^233/, \"0\");\n } else if (user && user?.country === \"RW\") {\n phoneNo = user?.phoneNumber.replace(/^250/, \"0\");\n } else if (user && user?.country === \"UG\") {\n phoneNo = user?.phoneNumber.replace(/^256/, \"0\");\n } else if (user && user?.country === \"US\") {\n phoneNo = user?.phoneNumber.replace(/^1/, \"0\");\n }\n\n return phoneNo;\n }","import React, { useEffect, useState } from \"react\";\nimport styles from \"./Support.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { IoIosArrowUp, IoIosArrowDown } from \"react-icons/io\";\nimport { Icon } from \"@iconify/react\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport CustomTextArea from \"../../../../components/CustomHTMLElements/CustomTextArea\";\nimport useFetchCountries from \"../../../../custom-hooks/useFetchCountries\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { Button } from \"antd\";\nimport { Alert } from \"antd\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport cleanPhoneSavedPhoneNo from \"../../../../helpers/cleanSavedPhoneNumber\";\nimport mixpanel from \"mixpanel-browser\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nconst schema = yup.object().shape({\n email: yupValidators.email,\n phoneNumber: yupValidators.phone_number,\n fullName: yupValidators.fullName,\n note: yupValidators.note,\n});\n\ninterface CountryCode {\n country_code?: string;\n currency?: string;\n dial_code?: string;\n id?: number;\n is_active?: number;\n name?: string;\n}\n\ninterface FormData {\n fullName: string;\n email: string;\n note: string;\n phoneNumber: string;\n}\n\nfunction Support() {\n const [currentStep, setCurrentStep] = useState(0);\n const [searchText, setSearchText] = useState(\"\");\n const [searchedResults, setSearchedResults] = useState([]);\n const [displayCountry, setDisplayCountry] = useState(false);\n const [searchTimeout, setSearchTimeout] = useState(\n null,\n );\n const [error, setError] = useState(\"\");\n const [selectedCountry, setSelectedCountry] = useState({\n country_code: \"ng\",\n dial_code: \"234\",\n });\n const [isLoading, setIsLoading] = useState(false);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const [userQuery, setUserQuery] = useState({\n full_name: `${userInfo?.first_name} ${userInfo?.last_name}`,\n phone_number: cleanPhoneSavedPhoneNo(userInfo),\n email: userInfo?.email,\n });\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (Support.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Support.tsx`, {\n page: \"Support.tsx - (Web)\",\n });\n }, []);\n\n const { data: countryLists } = useFetchCountries();\n\n useEffect(() => {\n setSelectedCountry({\n country_code: userInfo?.country?.toLowerCase(),\n dial_code: userInfo?.phoneNumberCountryDialCode,\n });\n }, [userInfo?.phoneNumberCountryDialCode, userInfo?.country]);\n\n const handleButtonClick = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n const handleCountryDisplay = () => {\n setDisplayCountry((prev) => !prev);\n };\n\n const handleCountrySelection = (country: CountryCode) => {\n setSelectedCountry({\n country_code: country?.country_code?.toLowerCase(),\n dial_code: String(country.dial_code),\n });\n setDisplayCountry(false);\n };\n\n const filterPrompts = (searchText: string) => {\n const regex = new RegExp(searchText, \"i\");\n\n return countryLists.filter((country: CountryCode) => {\n const name = country.name || \"\";\n const countryCode = country.country_code || \"\";\n\n return regex.test(name) || regex.test(countryCode);\n });\n };\n\n const handleSearchChange = (e: React.ChangeEvent) => {\n clearTimeout(searchTimeout as NodeJS.Timeout);\n setSearchText(e.target.value);\n\n //debounce method\n setSearchTimeout(\n setTimeout(() => {\n const searchResult = filterPrompts(e.target.value);\n setSearchedResults(searchResult);\n }, 500),\n );\n };\n\n const onSubmit = async ({ fullName, email, phoneNumber, note }: FormData) => {\n setIsLoading(true);\n const reqBody = {\n customer_id: userInfo?.customerId,\n name: fullName,\n email,\n phone_number: phoneNumber,\n message: note,\n };\n try {\n await postData(apiEndpoints.contactUs, reqBody);\n handleButtonClick();\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (Support.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n\n dispatch(updateWebSettingsAction({ showSupport: false }));\n };\n\n const renderContent = () => {\n switch (currentStep) {\n case 0:\n return (\n
\n {error && (\n \n setError(\"\")}\n />\n
\n )}\n
\n

Contact Support

\n
\n\n \n \n setUserQuery({ ...userQuery, full_name: e.target.value })\n }\n />\n\n
\n \n
\n
\n \n {selectedCountry.dial_code}\n {displayCountry ? (\n \n ) : (\n \n )}\n
\n \n setUserQuery({\n ...userQuery,\n phone_number: e.target.value,\n })\n }\n />\n
\n {displayCountry && (\n
\n \n
    \n {searchText\n ? searchedResults?.map((country) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))\n : countryLists?.map((country: CountryCode) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))}\n
\n
\n )}\n \n {errors.phoneNumber?.message}\n \n
\n\n \n setUserQuery({ ...userQuery, email: e.target.value })\n }\n />\n\n \n\n
\n \n
\n \n \n );\n case 1:\n return (\n
\n
\n \n \n \n \n \n

Ticket Submitted

\n
\n\n
\n \n
\n
\n );\n\n default:\n return null;\n }\n };\n\n return (\n <>\n
\n
\n
\n {renderContent()}\n\n \n
\n
\n \n );\n}\n\nexport default Support;\n","export default __webpack_public_path__ + \"static/media/user.441900a9.svg\";","import React, {\n useEffect,\n useRef,\n useState,\n Dispatch,\n SetStateAction,\n} from \"react\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport styles from \"./Withdraw.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport { Bank } from \"../../../../interfaces/banks\";\nimport useFetchBanks from \"../../../../custom-hooks/useFetchBanks\";\nimport user from \"../../../../assets/web/user.svg\";\nimport CustomTextArea from \"../../../../components/CustomHTMLElements/CustomTextArea\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { FormData } from \"./Withdraw\";\nimport { Alert, Button } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nconst schema = yup.object().shape({\n amount: yupValidators.amount,\n bankName: yupValidators.bankName,\n accountNumber: yupValidators.accountNumber,\n description: yupValidators.description,\n});\n\ninterface WithDrawalStepOneProps {\n setCurrentStep: Dispatch>;\n walletDetails: any;\n setBankCode: Dispatch>;\n bankCode: string;\n setDetails: Dispatch>;\n details: FormData;\n bankList: Bank[];\n setIsLoadingCustomerName: Dispatch>;\n isLoadingCustomerName: boolean;\n customerName: any;\n setCustomerName: Dispatch;\n error: string;\n setError: Dispatch>;\n residentialInfoStatus: any;\n}\n\nfunction WithdrawalStepOne({\n setCurrentStep,\n walletDetails,\n bankCode,\n setDetails,\n details,\n setBankCode,\n bankList,\n setIsLoadingCustomerName,\n isLoadingCustomerName,\n customerName,\n setCustomerName,\n error,\n setError,\n residentialInfoStatus,\n}: WithDrawalStepOneProps) {\n const [filteredBankList, setFilteredBankList] = useState([]);\n const [showDropdown, setShowDropdown] = useState(false);\n const [formattedValue, setFormattedValue] = useState(\"\");\n const [withdrawalError, setWithdrawalError] = useState(\"\");\n\n const divRef = useRef(null);\n\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Withdraw - (WithdrawalStepOne.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: WithdrawalStepOne.tsx`, {\n page: \"WithdrawalStepOne.tsx - (Web)\",\n });\n }, []);\n\n const { data: banks, isLoading: isLoadingBanks } = useFetchBanks({\n country_code: userInfo?.country,\n });\n\n const handleButtonClick = ({\n amount,\n accountNumber,\n description,\n }: FormData) => {\n setDetails({\n ...details,\n amount: amount,\n accountNumber: accountNumber,\n bankName: details.bankName,\n bankCode: bankCode,\n description,\n });\n setCustomerName(\"\");\n if (!walletDetails.isTransactionPinSet) {\n setCurrentStep(5);\n } else if (!residentialInfoStatus) {\n setCurrentStep(8);\n } else {\n setCurrentStep(1);\n }\n };\n\n const onSubmit = ({ amount, accountNumber, description }: FormData) => {\n setError(\"\");\n const formatAmount = amount?.replace(/,/g, \"\");\n handleButtonClick({\n amount: formatAmount,\n accountNumber,\n description,\n });\n };\n\n // Get bank code\n function getBankCode(bankName: string) {\n const result = banks?.find((bank: Bank) => {\n const foundBank = bank.name.toLowerCase() === bankName.toLowerCase();\n return foundBank ? setBankCode(bank.code) : null;\n });\n\n return result;\n }\n\n const fetchCustomerName = async () => {\n setIsLoadingCustomerName(true);\n try {\n const reqBody = {\n bank_code: bankCode,\n bank_account_num: details?.accountNumber,\n };\n\n const userDataResponse = await postData(\n apiEndpoints.customerValidateBankAccount,\n reqBody,\n );\n\n if (details.accountNumber) {\n setError(\"\");\n }\n\n setCustomerName(userDataResponse);\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Withdraw - (WithdrawalStepOne.tsx)\",\n },\n });\n } finally {\n setIsLoadingCustomerName(false);\n }\n };\n\n useEffect(() => {\n if (details?.bankName !== \"\" && details?.accountNumber?.length === 10) {\n fetchCustomerName();\n }\n }, [details.accountNumber]);\n\n useEffect(() => {\n if (details?.bankName) {\n getBankCode(details.bankName);\n }\n }, [details.bankName]);\n\n const handleInputChange = (e: React.ChangeEvent) => {\n const value = e.target.value;\n // setInputValue(value);\n setDetails({ ...details, bankName: value, accountNumber: \"\" });\n setCustomerName(\"\");\n\n setFilteredBankList(\n bankList.filter((bank) =>\n bank.name.toLowerCase().includes(value.toLowerCase()),\n ),\n );\n\n setShowDropdown(true);\n };\n\n const handleSelectBank = (bank: Bank) => {\n setDetails({ ...details, bankName: bank.name, accountNumber: \"\" });\n setCustomerName(\"\");\n\n setShowDropdown(false);\n };\n\n const handleClose = (e: any) => {\n if (divRef?.current && !divRef?.current.contains(e.target)) {\n setShowDropdown(false);\n }\n };\n\n const handleChange = (e: React.ChangeEvent) => {\n // Allow digits and at most one decimal point\n const value = e.target.value.replace(/[^0-9.]/g, \"\");\n\n if (value > walletDetails?.availableBalance) {\n setWithdrawalError(\"Amount is more than wallet balance\");\n } else {\n setWithdrawalError(\"\");\n }\n\n // Ensure there's only one decimal point\n const parts = value.split(\".\");\n let formattedValue;\n if (parts.length > 2) {\n // More than one decimal point, ignore this input\n formattedValue = parts[0] + \".\" + parts[1];\n } else {\n formattedValue = value;\n }\n\n let formattedAmount: string;\n if (formattedValue === \"\") {\n formattedAmount = \"\";\n } else {\n const [integerPart, decimalPart] = formattedValue.split(\".\");\n if (decimalPart !== undefined) {\n formattedAmount =\n new Intl.NumberFormat(\"en-US\").format(Number(integerPart)) +\n \".\" +\n decimalPart;\n } else {\n formattedAmount = new Intl.NumberFormat(\"en-US\").format(\n Number(integerPart),\n );\n }\n }\n\n setFormattedValue(formattedAmount);\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleClose);\n\n return () => {\n window.removeEventListener(\"click\", handleClose);\n };\n }, []);\n\n return (\n
\n {error && (\n \n setError(\"\")}\n />\n
\n )}\n
\n

Withdraw

\n

Where would you like to withdraw into?

\n
\n\n
\n
\n
\n \n \n
\n \n {errors.amount?.message}\n \n {withdrawalError}\n
\n\n
\n \n setShowDropdown(true)}\n className={styles.selectedBankField}\n disabled={isLoadingBanks}\n />\n {showDropdown && (\n
    \n {filteredBankList?.length > 0\n ? filteredBankList?.map((bank) => (\n handleSelectBank(bank)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {bank.name}\n \n ))\n : bankList?.map((bank) => (\n handleSelectBank(bank)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {bank.name}\n \n ))}\n
\n )}\n {errors.bankName?.message}\n
\n\n {details.bankName && (\n <>\n \n setDetails({ ...details, accountNumber: e.target.value })\n }\n />\n\n
\n {isLoadingCustomerName ? (\n \n ) : (\n <>\n \"\"\n {customerName?.bank_account_name}\n \n )}\n
\n\n \n \n )}\n\n

\n Transaction fee: ₦{userInfo?.transferCharge}\n

\n\n
\n \n Proceed\n \n
\n \n \n );\n}\n\nexport default WithdrawalStepOne;\n","import React, { Dispatch, SetStateAction, useEffect } from \"react\";\nimport styles from \"./Withdraw.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\n// import OtpInput from \"../../otpComp/OtpInput\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { decrypt } from \"../../../../helpers/encryptor\";\nimport PinInput from \"react-pin-input\";\nimport { Alert, Button } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface WithdrawalStepTwoProps {\n handlePreviousStep: () => void;\n setCurrentStep: Dispatch>;\n setError: Dispatch>;\n details: any;\n pin: string;\n setPin: Dispatch>;\n bankCode: string;\n error: string;\n}\n\nfunction WithdrawalStepTwo({\n handlePreviousStep,\n setCurrentStep,\n setError,\n details,\n pin,\n setPin,\n bankCode,\n error,\n}: WithdrawalStepTwoProps) {\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Withdraw - (WithdrawalStepTwo.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: WithdrawalStepTwo.tsx`, {\n page: \"WithdrawalStepTwo.tsx - (Web)\",\n });\n }, []);\n\n const handlePinSubmit = async () => {\n setError(\"\");\n try {\n setCurrentStep(2);\n\n const reqBody = {\n sender_account_number: userInfo?.accountNumber,\n customer_id: parseInt(userInfo?.customerId),\n recipient_account_number: details.accountNumber,\n recipient_bank_code: bankCode,\n amount: Number(details?.amount),\n pin,\n comment: details.description,\n currency: userInfo?.currency,\n sender_wallet_id: decrypt(userInfo?.walletId),\n };\n\n await postData(apiEndpoints.customerWithdrawFunds, reqBody);\n\n MixPanel.track(\"Wallet Withdrawal\", {\n distinct_id: `${userInfo?.email}`,\n amount: Number(details?.amount),\n status: \"Withdrawal SuccessFul\",\n product: \"Embed Web\",\n });\n\n setCurrentStep(3);\n } catch (error) {\n setError(`${error.response?.data?.message || \"An error occurred\"}`);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Withdraw - (WithdrawalStepTwo.tsx)\",\n },\n });\n MixPanel.track(\"Wallet Withdrawal\", {\n distinct_id: `${userInfo?.email}`,\n amount: Number(details?.amount),\n status: `Failed: ${error.response?.data?.message || \"An error occurred\"} `,\n product: \"Embed Web\",\n });\n setCurrentStep(4);\n }\n };\n\n return (\n
\n \n {error && (\n \n setError(\"\")}\n />\n
\n )}\n
\n

Enter your transaction PIN

\n

Enter your secure 4 digit PIN to proceed with this transaction

\n
\n\n
\n {\n setPin(value);\n }}\n type=\"numeric\"\n inputMode=\"number\"\n autoSelect={true}\n regexCriteria={/^[ 0-9]*$/}\n />\n
\n\n
\n \n Proceed\n \n
\n \n );\n}\n\nexport default WithdrawalStepTwo;\n","import React from \"react\";\nimport styles from \"./Withdraw.module.scss\";\nimport Loader from \"../../../../components/Loader/Loader\";\n\nfunction Spinner() {\n return (\n
\n \n
\n );\n}\n\nexport default Spinner;\n","import React from \"react\";\nimport styles from \"./Withdraw.module.scss\";\nimport { Button } from \"antd\";\n\nfunction Success({ handleCompletedTransaction }: any) {\n return (\n
\n
\n \n \n \n \n \n

Transaction Complete

\n
\n\n
\n \n
\n
\n );\n}\n\nexport default Success;\n","import React from \"react\";\nimport styles from \"./Withdraw.module.scss\";\nimport { Button } from \"antd\";\n\ninterface FailedProps {\n handleRetry: () => void;\n error: string;\n}\n\nfunction Failed({ error, handleRetry }: FailedProps) {\n return (\n
\n
\n
\n

Transaction Failed

\n

{error}

\n
\n\n
\n \n
\n
\n );\n}\n\nexport default Failed;\n","export default __webpack_public_path__ + \"static/media/set-transaction-pin.153121c2.svg\";","import React, { useEffect } from \"react\";\nimport styles from \"../Withdraw.module.scss\";\nimport TransactionPINSVG from \"../../../../../assets/web/set-transaction-pin.svg\";\nimport { Button } from \"antd\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\ninterface BeginProps {\n setCurrentStep: React.Dispatch>;\n}\n\nfunction Begin({ setCurrentStep }: BeginProps) {\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Withdraw - (Begin.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n function handleNextStep() {\n if (userInfo.isSecurityQuestionSet) {\n setCurrentStep(7);\n } else {\n setCurrentStep(6);\n }\n }\n\n return (\n
\n
\n
\n \"\"\n
\n
\n

Set Up Transaction PIN

\n

\n Create a transaction pin to perform wallet transactions on your\n account.\n

\n
\n
\n\n
\n \n
\n
\n );\n}\n\nexport default Begin;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst fetchSecurityQuestions = async () => {\n try {\n const res = await getData(apiEndpoints.customerSecurityQuestions);\n\n return res.data;\n } catch (error) {\n console.error(error);\n }\n};\n\nexport default function useFetchSecurityQuestions({\n token,\n}: {\n token: string | null;\n}) {\n return useQuery(\n [{ token }, \"fetchSecurityQuestions\"],\n fetchSecurityQuestions,\n {\n refetchOnWindowFocus: true,\n enabled: token ? true : false,\n },\n );\n}\n","import React, {\n useEffect,\n useRef,\n useState,\n Dispatch,\n SetStateAction,\n} from \"react\";\nimport styles from \"../Withdraw.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport useFetchSecurityQuestions from \"../../../../../custom-hooks/useFetchSecurityQuestion\";\nimport { Question } from \"../../../../../interfaces/question\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { getToken } from \"../../../../../helpers/appHelpers\";\nimport { Alert, Button } from \"antd\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n securityQuestion: yupValidators.securityQuestion,\n securityAnswer: yupValidators.securityAnswer,\n});\n\ninterface FormData {\n securityQuestion: string;\n securityAnswer: string;\n}\n\ninterface SecurityQuestionProps {\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n success: string;\n setSuccess: Dispatch>;\n}\n\nfunction SecurityQuestion({\n setCurrentStep,\n error,\n setError,\n success,\n setSuccess,\n}: SecurityQuestionProps) {\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const [showDropdown, setShowDropdown] = useState(false);\n const [filteredQuestionsList, setFilteredQuestionsList] = useState<\n Question[]\n >([]);\n const [questionLists, setQuestionsList] = useState([]);\n const [selectedQuestionDetails, setselectedQuestionDetails] =\n useState();\n const [isLoading, setIsLoading] = useState(false);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const divRef = useRef(null);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Withdraw - (SecurityQuestion.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const { data: questions, isLoading: isLoadingQuestions } =\n useFetchSecurityQuestions({\n token: getToken(),\n });\n\n const getQuestionId = (question: string) => {\n const result = questionLists.filter((questions) => {\n const foundQuestion = questions.question === question;\n return foundQuestion\n ? setselectedQuestionDetails({\n ...selectedQuestionDetails,\n id: questions.id,\n })\n : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n if (selectedQuestionDetails?.question) {\n getQuestionId(selectedQuestionDetails?.question);\n }\n }, [selectedQuestionDetails?.question]);\n\n useEffect(() => {\n setQuestionsList(questions);\n }, [isLoadingQuestions]);\n\n const onSubmit = async ({ securityQuestion, securityAnswer }: FormData) => {\n setIsLoading(true);\n setError(\"\");\n setSuccess(\"\");\n let successTimeout: NodeJS.Timeout;\n let errorTimeout: NodeJS.Timeout;\n try {\n setCurrentStep(2);\n const reqBody = {\n customer_id: parseInt(userInfo?.customerId),\n question_id: Number(selectedQuestionDetails?.id),\n answer: securityAnswer,\n };\n await postData(apiEndpoints.customerSecurityQuestionAnswer, reqBody);\n setSuccess(\"Your security question has been saved\");\n\n successTimeout = setTimeout(() => {\n setCurrentStep(7);\n }, 1500);\n } catch (error) {\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Withdraw - (SecurityQuestion.tsx)\",\n },\n });\n setCurrentStep(6);\n\n errorTimeout = setTimeout(() => {\n setError(\n error.response?.data?.message ||\n \"Failed to save security question and answer\",\n );\n }, 0);\n } finally {\n setIsLoading(false);\n }\n\n return () => {\n clearTimeout(successTimeout);\n clearTimeout(errorTimeout);\n };\n };\n\n const handleInputChange = (e: React.ChangeEvent) => {\n const value = e.target.value;\n\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: value,\n });\n\n setFilteredQuestionsList(\n questionLists.filter(\n (questions) =>\n questions.question?.toLowerCase() === value.toLowerCase(),\n ),\n );\n\n setShowDropdown(true);\n };\n\n const handleSelectQuestion = (question: Question) => {\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: question.question,\n });\n\n setShowDropdown(false);\n };\n\n const handleClose = (e: any) => {\n if (divRef?.current && !divRef?.current.contains(e.target)) {\n setShowDropdown(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleClose);\n\n return () => {\n window.removeEventListener(\"click\", handleClose);\n };\n }, []);\n\n return (\n
\n {error && (\n \n setError(\"\")}\n />\n
\n )}\n {success && (\n \n setSuccess(\"\")}\n />\n \n )}\n
\n
\n

Security Question

\n
\n

\n Kindly set a security question before creating your transaction pin.\n

\n
\n\n
\n
\n \n setShowDropdown(true)}\n className={styles.selectedQuestionField}\n disabled={isLoadingQuestions}\n />\n {showDropdown && (\n
    \n {filteredQuestionsList?.length > 0\n ? filteredQuestionsList?.map((question) => (\n handleSelectQuestion(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))\n : questionLists?.map((question) => (\n handleSelectQuestion(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))}\n
\n )}\n \n {errors.securityQuestion?.message}\n \n
\n\n \n\n
\n \n
\n \n \n );\n}\n\nexport default SecurityQuestion;\n","import React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport styles from \"../Withdraw.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { Alert, Button } from \"antd\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n pin: yupValidators.pin,\n confirmPin: yupValidators.confirmPin,\n});\n\ninterface PinProps {\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n success: string;\n setSuccess: Dispatch>;\n currentStep: number;\n residentialInfoStatus: any;\n}\n\nfunction Pin({\n setCurrentStep,\n error,\n setError,\n success,\n setSuccess,\n currentStep,\n residentialInfoStatus,\n}: PinProps) {\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const [isLoading, setIsLoading] = useState(false);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Withdraw - (Pin.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const onSubmit = async ({ pin }: { pin: string }) => {\n setIsLoading(true);\n setError(\"\");\n setSuccess(\"\");\n let successTimeout: NodeJS.Timeout;\n let errorTimeout: NodeJS.Timeout;\n try {\n setCurrentStep(2);\n const reqBody = {\n customer_id: parseInt(userInfo?.customerId),\n pin,\n };\n\n await postData(apiEndpoints.customerSetPin, reqBody);\n setSuccess(\"Your pin was set successfully\");\n\n successTimeout = setTimeout(() => {\n if (!residentialInfoStatus) {\n setCurrentStep(8);\n } else {\n setCurrentStep(1);\n }\n }, 1500);\n } catch (error) {\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Withdraw - (Pin.tsx)\",\n },\n });\n setCurrentStep(7);\n\n errorTimeout = setTimeout(() => {\n setError(error.response?.data?.message ?? error.message);\n }, 0);\n } finally {\n setIsLoading(false);\n }\n\n return () => {\n clearTimeout(successTimeout);\n clearTimeout(errorTimeout);\n };\n };\n\n useEffect(() => {\n if (currentStep === 7) {\n const timeoutId = setTimeout(() => {\n setSuccess(\"\");\n }, 1500);\n\n return () => {\n clearTimeout(timeoutId);\n };\n }\n }, [currentStep]);\n\n return (\n
\n {error && (\n \n setError(\"\")}\n />\n
\n )}\n {success && (\n \n setSuccess(\"\")}\n />\n \n )}\n
\n

Set PIN

\n

Create your four digit transaction pin

\n
\n\n
\n \n\n \n\n
\n \n
\n \n \n );\n}\n\nexport default Pin;\n","export default __webpack_public_path__ + \"static/media/arrow-down.9de0bba0.svg\";","export default __webpack_public_path__ + \"static/media/arrow-up-1.e343084e.svg\";","import React, {\n Dispatch,\n SetStateAction,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport styles from \"./ResidentialInformation.module.scss\";\nimport { Alert, Button } from \"antd\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport arrowDown from \"../../../../assets/web/arrow-down.svg\";\nimport arrowUp from \"../../../../assets/web/arrow-up-1.svg\";\nimport { nigerianStateData } from \"../../../../helpers/nigerianStatesAndLga\";\nimport { getData, postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { useLocation } from \"react-router-dom\";\nimport { encrypt } from \"../../../../helpers/encryptor\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nconst schema = yup.object().shape({\n state: yupValidators[\"state\"],\n lga: yupValidators[\"lga\"],\n address: yupValidators[\"address\"],\n});\n\ninterface FormData {\n state: string;\n lga: string;\n address: string;\n}\n\ninterface ResidentialInformationProps {\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n isOnboarding?: boolean;\n isLoanRequest?: boolean;\n isWithdrawal?: boolean;\n}\n\nfunction ResidentialInformation({\n setCurrentStep,\n error,\n setError,\n isOnboarding,\n isLoanRequest,\n isWithdrawal,\n}: ResidentialInformationProps) {\n const [showStateDropdown, setShowStateDropdown] = useState(false);\n const [showLgaDropdown, setShowLgaDropdown] = useState(false);\n const [selectedStateValue, setSelectedStateValue] = useState(\"\");\n const [filteredStateValues, setFilteredStateValues] = useState([]);\n const [localGovtList, setLocalGovtList] = useState([]);\n const [selectedLocalGovtValue, setSelectedLgaValue] = useState(\"\");\n const [filteredLgaValues, setFilteredLgaValues] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n const token = localStorage.getItem(\"token\");\n const location = useLocation();\n\n const borrowerData = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const loanData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n const stateDivRef = useRef(null);\n\n const lgaDivRef = useRef(null);\n\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n\n function prevStepNavigationHandler() {\n setCurrentStep(8);\n }\n\n function selectStateHandler(name: string) {\n setSelectedStateValue(name);\n\n setShowStateDropdown(false);\n }\n\n function handleCloseStateList(e: any) {\n if (stateDivRef.current && !stateDivRef.current.contains(e.target)) {\n setShowStateDropdown(false);\n }\n }\n\n function handleCloseLgaList(e: any) {\n if (lgaDivRef.current && !lgaDivRef.current.contains(e.target)) {\n setShowLgaDropdown(false);\n }\n }\n\n function handleStateValueChange(e: React.ChangeEvent) {\n const value = e.target.value;\n setSelectedStateValue(value);\n if (value) {\n setError(\"\");\n } else {\n setError(\"Please select a state\");\n }\n const filterValue = nigerianStateData.filter((state) =>\n state.name.toLowerCase().includes(value.toLowerCase()),\n );\n\n setFilteredStateValues(filterValue);\n\n setShowStateDropdown(true);\n }\n\n useEffect(() => {\n const result = nigerianStateData.find(\n (state) => state.name === selectedStateValue,\n );\n\n setLocalGovtList(result);\n }, [selectedStateValue]);\n\n function handleLgaValueChange(e: React.ChangeEvent) {\n const value = e.target.value;\n setSelectedLgaValue(value);\n\n const filterLgaValue = localGovtList?.localGovernments.filter(\n (lga: string) => lga.toLowerCase().includes(value.toLowerCase()),\n );\n\n setFilteredLgaValues(filterLgaValue);\n\n setShowLgaDropdown(true);\n }\n\n function selectLgaHandler(lga: string) {\n setSelectedLgaValue(lga);\n\n setShowLgaDropdown(false);\n }\n\n useEffect(() => {\n if (isOnboarding) {\n MixPanel.track(`Page View: OnboardingResidentialInformation.tsx`, {\n page: \"OnboardingResidentialInformation.tsx - (Web Onboarding)\",\n });\n } else if (isLoanRequest) {\n MixPanel.track(`Page View: LoanRequestResidentialInformation.tsx`, {\n page: \"LoanRequestResidentialInformation.tsx - (Web)\",\n });\n } else {\n MixPanel.track(`Page View: ResidentialInformation.tsx`, {\n page: \"ResidentialInformation.tsx - (Web)\",\n });\n }\n\n window.addEventListener(\"click\", handleCloseStateList);\n window.addEventListener(\"click\", handleCloseLgaList);\n\n return () => {\n window.removeEventListener(\"click\", handleCloseStateList);\n window.removeEventListener(\"click\", handleCloseLgaList);\n };\n }, []);\n\n async function onSubmit({ state, lga, address }: FormData) {\n let successTimeout: NodeJS.Timeout;\n setError(\"\");\n\n setIsLoading(true);\n\n try {\n if (userInfo?.customerId && token) {\n const response = await postData(\n apiEndpoints.createResidentialInformation,\n {\n state,\n lga,\n street_address: address,\n customer_id: userInfo?.customerId,\n },\n );\n\n if (response.status && isLoanRequest) {\n setCurrentStep(3);\n } else if (response.status && isWithdrawal) {\n setCurrentStep(1);\n }\n } else {\n const userExistResponse = await getData(\n `${apiEndpoints.checkCustomerExistsWeb}?identity_number=${borrowerData?.bvn_number}&phone_number=${borrowerData?.borrower_phone}&aggregator_id=${borrowerData?.aggregator_id}&email=${borrowerData?.email}&business_registration_number=${borrowerData?.business_registration_number}`,\n );\n\n const loginResponse = await postData(apiEndpoints.login, {\n username: borrowerData?.email,\n password: borrowerData?.password,\n });\n\n if (userExistResponse?.status && loginResponse?.status) {\n const ssoAuthToken = loginResponse?.sso_auth_token;\n const encryptedToken = encrypt(ssoAuthToken);\n localStorage.setItem(\"token\", encryptedToken);\n\n const response = await postData(\n apiEndpoints.createResidentialInformation,\n {\n state,\n lga,\n street_address: address,\n customer_id: userExistResponse.data?.customer_id,\n },\n );\n\n if (response?.status && isOnboarding) {\n setCurrentStep(5);\n }\n }\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n\n if (isOnboarding) {\n MixPanel.track(\"Sign Up\", {\n \"date created\": new Date().toLocaleString(),\n distinct_id: `${borrowerData.email}`,\n URL: window.location.href,\n product: \"Embed Web\",\n status: `Failed: ${error.response?.data?.message ?? error.message}`,\n step: \"ResidentialInformation.tsx\",\n });\n }\n\n if (isLoanRequest) {\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanData.loan_amount}`,\n \"loan tenor\": `${loanData.loan_tenure}`,\n \"product name\": `${loanData.product_name}`,\n \"loan status\": `Failed: Error adding residential information`,\n step: \"LoanRequestResidentialInformation\",\n });\n }\n } finally {\n setIsLoading(false);\n }\n\n return () => {\n clearTimeout(successTimeout);\n };\n }\n\n return (\n <>\n {error && (\n \n setError(\"\")}\n />\n \n )}\n\n
\n {urlExtension[1] !== \"sign-up\" && (\n \n )}\n
\n

Residential Information

\n

Kindly provide us with your residential information

\n
\n\n \n
\n
\n \n setShowStateDropdown(true)}\n className={styles.input_field}\n />\n {!showStateDropdown ? (\n setShowStateDropdown(true)}\n />\n ) : (\n setShowStateDropdown(false)}\n />\n )}\n {errors.state?.message}\n
\n\n {showStateDropdown && (\n
    \n {filteredStateValues.length > 0\n ? filteredStateValues?.map((state: any) => (\n selectStateHandler(state.name)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {state.name}\n \n ))\n : nigerianStateData?.map((state) => (\n selectStateHandler(state.name)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {state.name}\n \n ))}\n
\n )}\n
\n\n \n
\n \n setShowLgaDropdown(true)}\n className={styles.input_field}\n />\n {!showLgaDropdown ? (\n setShowLgaDropdown(true)}\n />\n ) : (\n setShowLgaDropdown(false)}\n />\n )}\n {errors.lga?.message}\n
\n\n {showLgaDropdown && (\n
    \n {filteredLgaValues?.length > 0\n ? filteredLgaValues?.map((lga: string) => (\n selectLgaHandler(lga)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {lga}\n \n ))\n : localGovtList?.localGovernments?.map((lga: string) => (\n selectLgaHandler(lga)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {lga}\n \n ))}\n
\n )}\n
\n\n
\n
\n \n handleChange(e, \"amount\")}\n />\n
\n\n {errors.address?.message}\n
\n\n \n Submit\n \n \n \n \n );\n}\n\nexport default ResidentialInformation;\n","import React, { useEffect, useState } from \"react\";\nimport styles from \"./Withdraw.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport useFetchBanks from \"../../../../custom-hooks/useFetchBanks\";\nimport { Bank } from \"../../../../interfaces/banks\";\nimport WithdrawalStepOne from \"./WithdrawalStepOne\";\nimport WithdrawalStepTwo from \"./WithdrawalStepTwo\";\nimport Spinner from \"./Spinner\";\nimport Success from \"./Success\";\nimport Failed from \"./Failed\";\nimport Begin from \"./setTransactionPinWithdrawal/Begin\";\nimport SecurityQuestion from \"./setTransactionPinWithdrawal/SecurityQuestion\";\nimport Pin from \"./setTransactionPinWithdrawal/Pin\";\nimport { WalletDetails } from \"../../../../interfaces/wallet\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { useFetchCustomerResidentialInfoStatus } from \"../../../../custom-hooks/useFetchCustomerResidentialInfoStatus\";\nimport advLogo from \"../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../assets/loadinggif.gif\";\nimport ResidentialInformation from \"../../../pages/signUp/residentialInformation/ResidentialInformation\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface WithdrawProps {\n refetchTransactions: () => void;\n refetchFetchWalletdetails: () => void;\n walletDetails: WalletDetails;\n}\n\nexport interface FormData {\n amount?: string;\n bankName?: string;\n bankCode?: string;\n accountNumber?: string;\n description?: string;\n}\n\nfunction Withdraw({\n refetchTransactions,\n refetchFetchWalletdetails,\n walletDetails,\n}: WithdrawProps) {\n const [currentStep, setCurrentStep] = useState(0);\n const [error, setError] = useState(\"\");\n const [success, setSuccess] = useState(\"\");\n const [pin, setPin] = useState(\"\");\n const [isLoadingCustomerName, setIsLoadingCustomerName] = useState(false);\n const [customerName, setCustomerName] = useState();\n const [bankList, setBankList] = useState([]);\n const [bankCode, setBankCode] = useState(\"\");\n const [details, setDetails] = useState({\n amount: \"\",\n bankName: \"\",\n description: \"\",\n accountNumber: \"\",\n bankCode: \"\",\n });\n\n const dispatch = useDispatch();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n const { data: banks, isLoading: isLoadingBanks } = useFetchBanks({\n country_code: userInfo?.country,\n });\n\n const {\n data: residentialInfoStatus,\n isLoading: isLoadingResidentialInfoStatus,\n } = useFetchCustomerResidentialInfoStatus({\n customer_id: userInfo?.customerId,\n });\n\n useEffect(() => {\n MixPanel.track(`Page View: Withdrawal.tsx`, {\n page: \"Withdrawal.tsx - (Web)\",\n });\n }, []);\n\n useEffect(() => {\n setBankList(banks);\n }, [isLoadingBanks]);\n\n const handleRetry = () => {\n setCurrentStep(0);\n };\n\n const handlePreviousStep = () => {\n setCurrentStep((prev) => prev - 1);\n setCustomerName(\"\");\n setDetails((prev) => ({\n ...prev,\n amount: \"\",\n bankName: \"\",\n bankCode: \"\",\n accountNumber: \"\",\n }));\n setError(\"\");\n setSuccess(\"\");\n };\n\n const handleCompletedTransaction = () => {\n refetchTransactions();\n refetchFetchWalletdetails();\n dispatch(updateWebSettingsAction({ showWithdraw: false }));\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n setCustomerName(\"\");\n setError(\"\");\n setSuccess(\"\");\n setDetails((prev) => ({\n ...prev,\n amount: \"\",\n bankName: \"\",\n bankCode: \"\",\n accountNumber: \"\",\n }));\n dispatch(updateWebSettingsAction({ showWithdraw: false }));\n };\n\n return (\n <>\n
\n
\n {isLoadingResidentialInfoStatus ? (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n ) : (\n
\n {currentStep === 0 && (\n \n )}\n {currentStep === 1 && (\n \n )}\n {currentStep === 2 && }\n {currentStep === 3 && (\n \n )}\n {currentStep === 4 && (\n \n )}\n {currentStep === 5 && }\n {currentStep === 6 && (\n \n )}\n {currentStep === 7 && (\n \n )}\n {currentStep === 8 && (\n \n )}\n \n
\n )}\n
\n \n );\n}\n\nexport default Withdraw;\n","export default __webpack_public_path__ + \"static/media/money-recieved.126dbbc7.svg\";","export default __webpack_public_path__ + \"static/media/money-add.4737c886.svg\";","import React, {\n useEffect,\n Dispatch,\n SetStateAction,\n useState,\n useMemo,\n} from \"react\";\nimport styles from \"./LoanOptions.module.scss\";\nimport arrowRight from \"../../../../assets/web/arrow-right.svg\";\nimport history from \"../../../../assets/web/money-recieved.svg\";\nimport wallet from \"../../../../assets/web/money-add.svg\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport infoCircle from \"../../../../assets/web/info-circle-loan.svg\";\nimport adv from \"../../../../assets/web/a.svg\";\nimport { IoIosArrowForward } from \"react-icons/io\";\nimport moment from \"moment\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { Alert, Button, message } from \"antd\";\nimport { fetchWebLoanTransactions } from \"../../../../custom-hooks/useFetchLoanHistory\";\nimport { useQuery, useQueryCache } from \"react-query\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport redDot from \"../../../../assets/red-dot.svg\";\nimport { useFetchPendingLoanOffer } from \"../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport { LoanOfferProps } from \"../newLoanOffer/NewLoanOffer\";\nimport { Setting } from \"../../../../interfaces/borrower\";\n\nexport interface Loan {\n id: number;\n amount: string;\n requestDate: string;\n approvalDate: string;\n dueDate: string;\n tenor: string;\n interest: string;\n amountToRepay: string;\n outstanding: string;\n amountRepaid: string;\n referenceNumber: string;\n disbursementStatus: string;\n loanStatus: string;\n}\n\ninterface LoanOptionsProps {\n userExistsData: any;\n isRefetchingLoanDetails: () => void;\n setPageNumber: Dispatch>;\n pageNumber: number;\n handleBankStatement: () => any;\n isLoadingBankStatementLinkedStatus: boolean;\n bankStatementLinkedStatus: any;\n setCurrentLoanOptionStep: Dispatch>;\n currentLoanOptionStep: number;\n}\n\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n WithdrawnByClient = \"withdrawnByClient\",\n}\n\nfunction LoanOptions({\n isRefetchingLoanDetails,\n setPageNumber,\n pageNumber,\n handleBankStatement,\n isLoadingBankStatementLinkedStatus,\n bankStatementLinkedStatus,\n setCurrentLoanOptionStep,\n currentLoanOptionStep,\n}: LoanOptionsProps) {\n const [mostRecentLoanOffer, setMostRecentLoanOffer] =\n useState();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const queryCache = useQueryCache();\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanOptions.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const { data: loanHistory, isLoading: isLoanHistoryLoading } = useQuery(\n [\n { customerId: userInfo?.customerId, page: pageNumber },\n \"fetchWebLoanTransactions\",\n ],\n fetchWebLoanTransactions,\n {\n refetchOnWindowFocus: true,\n },\n );\n\n const { data: pendingLoanOffer, isLoading: isLoadingPendingLoanOffer } =\n useFetchPendingLoanOffer({\n customer_id: userInfo?.customerId,\n });\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const { courseDescription, courseAmount } = borrowerDetails;\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n const getStatusStyle = (status: string | undefined) => {\n switch (status?.toLowerCase()) {\n case Status.Active:\n case Status.Approved:\n case Status.Repaid:\n return styles.flagActive;\n case Status.AwaitingApproval:\n case Status.SubmittedAndAwaitingApproval:\n return styles.flagPending;\n case Status.Overdue:\n case Status.Rejected:\n return styles.flagRejected;\n default:\n return styles.flagStale;\n }\n };\n\n useEffect(() => {\n if (pageNumber < loanHistory?.totalPages) {\n const nextPage = pageNumber + 1;\n queryCache.prefetchQuery(\n [\n { customerId: userInfo?.customerId, page: nextPage },\n \"fetchWebLoanTransactions\",\n ],\n fetchWebLoanTransactions,\n );\n }\n }, [pageNumber, queryCache, userInfo?.customerId, loanHistory?.totalPages]);\n\n const selectLoan = (id: number) => {\n loanHistory.data?.find((loan: any) =>\n loan?.id === id\n ? dispatch(updateLoanDetailsAction({ loan_ref: loan.loanRef }))\n : \"\",\n );\n\n setTimeout(() => {\n isRefetchingLoanDetails();\n dispatch(\n updateWebSettingsAction({\n showLoanDetails: true,\n showLoanOptions: false,\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n }),\n );\n }, 0);\n };\n\n const handleLoanRequest = () => {\n if (requireEquityContribution && !courseDescription && !courseAmount) {\n message.error(\"No course information selected\");\n } else if (requireEquityContribution && courseDescription && courseAmount) {\n dispatch(\n updateWebSettingsAction({\n showLoanOptions: false,\n }),\n );\n dispatch(\n updateWebSettingsAction({\n showLoanRequestModal: true,\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n }),\n );\n } else {\n dispatch(\n updateWebSettingsAction({\n showLoanOptions: false,\n }),\n );\n dispatch(\n updateWebSettingsAction({\n showLoanRequestModal: true,\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n }),\n );\n }\n };\n\n const handleViewLoanHistory = () => {\n setCurrentLoanOptionStep(1);\n\n setPageNumber(1);\n\n dispatch(\n updateWebSettingsAction({ errorMsg: \"\", successMsg: { bodyText: \"\" } }),\n );\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n dispatch(\n updateWebSettingsAction({\n showLoanOptions: false,\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n }),\n );\n\n setCurrentLoanOptionStep(0);\n };\n\n const handlePreviousPage = () => {\n setCurrentLoanOptionStep(0);\n };\n\n useEffect(() => {\n if (!isLoadingPendingLoanOffer && pendingLoanOffer) {\n const recentLoanOffer = pendingLoanOffer[pendingLoanOffer?.length - 1];\n setMostRecentLoanOffer(recentLoanOffer);\n }\n }, [pendingLoanOffer, isLoadingPendingLoanOffer]);\n\n const renderContent = () => {\n switch (currentLoanOptionStep) {\n case 0:\n return (\n
\n
\n

Get Loan

\n
\n
\n {webStateData?.isSavingProvider ? (\n
\n \n
\n ) : !isLoadingBankStatementLinkedStatus &&\n !bankStatementLinkedStatus.status ? (\n
\n \"\"\n \n Link your bank statement to improve your credit eligibility\n \n \n
\n ) : null}\n\n \n \n \n \"\"\n \n \n Request for a new loan\n Get a new loan offer\n \n \n \"\"\n \n\n \n
\n
\n );\n case 1:\n return (\n
\n \n
\n

Loan History

\n
\n\n {isLoanHistoryLoading ? (\n
\n \n
\n ) : (\n
\n {loanHistory?.data?.length === 0 ? (\n

\n You currently have no loan records\n

\n ) : (\n <>\n {loanHistory?.data?.map((loan: any) => (\n selectLoan(loan.id)}\n >\n
\n \n \"\"\n \n
\n \n ₦{loan?.loanAmount.toLocaleString()}\n \n {pendingLoanOffer?.length > 0 &&\n mostRecentLoanOffer?.requested_loan_id ===\n loan?.id ? (\n \n ) : null}\n {loan?.status.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval ||\n loan?.status.toLowerCase() === Status.Rejected ||\n loan?.status.toLowerCase() ===\n Status.WithdrawnByClient ? (\n \"\"\n ) : (\n \n {moment(loan?.loanMaturityDate).format(\n \"D/MM/YYYY\",\n )}\n \n )}\n
\n
\n\n
\n \n {loan?.status.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval\n ? \"Awaiting approval\"\n : loan.status}\n \n {loan.loanRef}\n
\n \n
\n ))}\n\n
\n setPageNumber((prev) => prev - 1)}\n disabled={pageNumber === 1}\n >\n Prev\n \n \n = loanHistory?.totalPages}\n onClick={() => setPageNumber((prev) => prev + 1)}\n >\n Next\n \n
\n \n )}\n
\n )}\n \n );\n default:\n return null;\n }\n };\n\n return (\n <>\n
\n
\n {webStateData.errorMsg && (\n
\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))\n }\n />\n
\n )}\n {webStateData.successMsg.bodyText && (\n
\n \n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" } }),\n )\n }\n />\n
\n )}\n
\n {renderContent()}\n\n \n
\n
\n \n );\n}\n\nexport default LoanOptions;\n","import React, { useEffect, useState } from \"react\";\nimport { useQueryCache } from \"react-query\";\nimport styles from \"./CompleteVirtualAcctModal.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface IcompleteVirtualAccountModal {\n bvn?: string;\n walletConsentDetails?: {\n status: boolean;\n url: string;\n };\n borrowerId?: number;\n aggregatorId?: number;\n}\n\nconst CompleteVirtualAccountModal = ({\n bvn,\n walletConsentDetails,\n}: IcompleteVirtualAccountModal) => {\n const [isCopied, setIsCopied] = useState(false);\n const queryCache = useQueryCache();\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (CompleteVirtualAccountModal.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleCopyClick = () => {\n if (bvn) {\n navigator.clipboard.writeText(bvn);\n setIsCopied(true);\n }\n\n setTimeout(() => {\n setIsCopied(false);\n }, 2000);\n };\n\n const handleClose = () => {\n queryCache.invalidateQueries([\"fetchWallet\"]);\n document.body.style.overflow = \"auto\";\n\n dispatch(\n updateWebSettingsAction({ showVirtualAcctCompletionModal: false })\n );\n };\n\n return (\n <>\n
\n \n \n \n
\n \n Customer Verification\n \n
\n \n
\n
\n {\" \"}\n

BVN {\"\"}:

\n

{bvn}

\n
\n\n \n
\n \n \n Close\n \n \n \n \n \n \n \n );\n};\n\nexport default CompleteVirtualAccountModal;\n","import { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport React, { useEffect } from 'react'\nimport styles from \"./TransactionDetail.module.scss\"\nimport closeIcon from \"../../../../assets/web/close-square.svg\"\nimport { WalletTransactions } from '../../../../interfaces/transactions'\nimport { appInsights } from '../../../../components/AppInsight/AppInsight'\n\ninterface TransactionDetailsProps {\n setTransactionDetail: React.Dispatch<\n React.SetStateAction\n >;\n transactionDetail: WalletTransactions[] | null;\n}\n\nfunction TransactionDetails({\n setTransactionDetail,\n transactionDetail,\n}: TransactionDetailsProps) {\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (TransactionDetails.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleClose = () => {\n setTransactionDetail(null);\n document.body.style.overflow = \"auto\";\n\n dispatch(updateWebSettingsAction({ showTransactionDetail: false }));\n };\n\n return (\n <>\n
\n
\n
\n
\n

Transaction details

\n \n
\n\n {transactionDetail?.map((details) => (\n
\n

\n Amount: ₦{details?.amount?.toLocaleString()}\n

\n

\n Recipient account number:{\" \"}\n {details.recipientAccountNumber}\n

\n

\n Remark: {details.transactionRemarks}\n

\n

\n Transaction status: {details.transactionStatus}\n

\n
\n ))}\n
\n
\n \n );\n}\n\nexport default TransactionDetails;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst fetchUserTransactions = async ({\n accountNumber,\n}: {\n accountNumber: number;\n}) => {\n const res = await getData(\n `${apiEndpoints.customerWalletTransactions}?accountNumber=${accountNumber}`,\n );\n\n return res.data.transactions;\n};\n\nexport default function useFetchUserTransaction({\n accountNumber,\n}: {\n accountNumber: number;\n}) {\n return useQuery(\n [{ accountNumber }, \"fetchUserTransaction\"],\n fetchUserTransactions,\n {\n // refetchOnWindowFocus: true,\n refetchInterval: 5 * 1000 * 60,\n enabled: accountNumber ? true : false,\n },\n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport styles from \"./NewLoanOffer.module.scss\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport { formatCurrency } from \"../../../../helpers/formatCurrency\";\nimport { Alert, Button } from \"antd\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { useHistory } from \"react-router-dom\";\nimport { LoanOfferStatus } from \"../../../../helpers/shared\";\n\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport successSVG from \"../../../../assets/web/success.svg\";\nimport { useFetchPendingLoanOffer } from \"../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\nexport interface LoanOfferProps {\n currency_code: string;\n id: number;\n offer_amount: number;\n offer_tenure: number;\n repayment_type: string;\n requested_amount: number;\n requested_tenure: number;\n status: string;\n requested_loan_id: number;\n comment: string;\n created_at: string;\n created_by: string;\n}\n\nfunction NewLoanOffer() {\n const [currentStep, setCurrentStep] = useState(0);\n const [mostRecentLoanOffer, setMostRecentLoanOffer] =\n useState(null);\n const [error, setError] = useState(\"\");\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data ? JSON.parse(data) : null;\n const dispatch = useDispatch();\n const loanData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n const history = useHistory();\n\n const {\n data: pendingLoanOffer,\n isLoading: isLoadingPendingLoanOffer,\n refetch: refetchPendingLoanOffer,\n } = useFetchPendingLoanOffer({\n customer_id: userInfo?.customerId,\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (NewLoanOffer.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: NewLoanOffer.tsx`, {\n page: \"NewLoanOffer.tsx - (Web)\",\n });\n }, []);\n\n function handleCloseModal(): void {\n document.body.style.overflow = \"auto\";\n\n refetchPendingLoanOffer().finally(() => {\n dispatch(updateWebSettingsAction({ showNewLoanOffer: false }));\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer: {\n offer_amount: null,\n offer_tenor: null,\n },\n }),\n );\n });\n }\n\n function generateContactUsUrl() {\n refetchPendingLoanOffer().finally(() => {\n dispatch(updateWebSettingsAction({ showNewLoanOffer: false }));\n\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer: {\n offer_amount: null,\n offer_tenor: null,\n },\n }),\n );\n\n const aggregatorName = userInfo?.aggregator_name;\n history.push(`/${aggregatorName}/contact-us`);\n });\n }\n\n useEffect(() => {\n if (!isLoadingPendingLoanOffer && pendingLoanOffer) {\n const recentLoanOffer = pendingLoanOffer[pendingLoanOffer?.length - 1];\n setMostRecentLoanOffer(recentLoanOffer);\n }\n }, [pendingLoanOffer, isLoadingPendingLoanOffer]);\n\n async function newOfferAcceptanceHandler() {\n setCurrentStep(3);\n\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer: {\n offer_amount: mostRecentLoanOffer?.offer_amount,\n offer_tenor: mostRecentLoanOffer?.offer_tenure,\n },\n }),\n );\n\n const payload = {\n loan_offer_id: mostRecentLoanOffer?.id,\n status: LoanOfferStatus.Accepted,\n };\n\n try {\n const response = await postData(\n apiEndpoints.updateNewLoanOfferStatus,\n payload,\n );\n\n if (response?.status) {\n MixPanel.track(\"New Offer Accepted\", {\n distinct_id: `${userInfo?.email}`,\n Comment: `${mostRecentLoanOffer?.comment}`,\n \"Created At\": `${mostRecentLoanOffer?.created_at}`,\n \"Created By\": `${mostRecentLoanOffer?.created_by}`,\n \"Offer Amount\": `${mostRecentLoanOffer?.offer_amount}`,\n \"Offer Tenor\": `${mostRecentLoanOffer?.offer_tenure}`,\n \"Repayment Type\": `${mostRecentLoanOffer?.repayment_type}`,\n \"Requested Amount\": `${mostRecentLoanOffer?.requested_amount}`,\n \"Requested Tenor\": `${mostRecentLoanOffer?.requested_tenure}`,\n });\n setCurrentStep(1);\n }\n } catch (error) {\n setCurrentStep(0);\n setError(error?.response?.data?.message ?? error?.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (NewLoanOffer.tsx)\",\n },\n });\n }\n }\n\n async function newOfferRejectionHandler() {\n setCurrentStep(3);\n\n dispatch(\n updateLoanDetailsAction({\n new_loan_offer: {\n offer_amount: mostRecentLoanOffer?.offer_amount,\n offer_tenor: mostRecentLoanOffer?.offer_tenure,\n },\n }),\n );\n\n const payload = {\n loan_offer_id: mostRecentLoanOffer?.id,\n status: LoanOfferStatus.Rejected,\n };\n\n try {\n const response = await postData(\n apiEndpoints.updateNewLoanOfferStatus,\n payload,\n );\n\n if (response.status) {\n MixPanel.track(\"New Offer Rejected\", {\n distinct_id: `${userInfo?.email}`,\n Comment: `${mostRecentLoanOffer?.comment}`,\n \"Created At\": `${mostRecentLoanOffer?.created_at}`,\n \"Created By\": `${mostRecentLoanOffer?.created_by}`,\n \"Offer Amount\": `${mostRecentLoanOffer?.offer_amount}`,\n \"Offer Tenor\": `${mostRecentLoanOffer?.offer_tenure}`,\n \"Repayment Type\": `${mostRecentLoanOffer?.repayment_type}`,\n \"Requested Amount\": `${mostRecentLoanOffer?.requested_amount}`,\n \"Requested Tenor\": `${mostRecentLoanOffer?.requested_tenure}`,\n });\n setCurrentStep(2);\n }\n } catch (error) {\n setCurrentStep(0);\n setError(error?.response?.data?.message ?? error?.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (NewLoanOffer.tsx)\",\n },\n });\n }\n }\n\n function renderContent() {\n switch (currentStep) {\n case 0:\n return (\n
\n
\n

Loan Offer

\n {mostRecentLoanOffer?.offer_amount !==\n mostRecentLoanOffer?.requested_amount ||\n (mostRecentLoanOffer?.offer_amount !==\n mostRecentLoanOffer?.requested_amount &&\n mostRecentLoanOffer?.offer_tenure !==\n mostRecentLoanOffer?.requested_tenure) ? (\n

\n After careful review, your loan has been approved for an\n amount different from your original request. This adjustment\n is due to eligibility criteria. Here are the details of your\n revised loan:\n

\n ) : (\n

\n After careful review, your loan has been approved for a tenor\n different from your original request. This adjustment is due\n to eligibility criteria. Here are the details of your revised\n loan:\n

\n )}\n
\n\n
\n {isLoadingPendingLoanOffer ? (\n
\n \n
\n ) : (\n
\n
\n
\n \n ₦\n {formatCurrency(\n Number(\n mostRecentLoanOffer?.offer_amount ||\n loanData?.new_loan_offer?.offer_amount,\n ),\n )}\n \n
\n
\n\n
\n
\n Currency\n \n {mostRecentLoanOffer?.currency_code === \"NGN\"\n ? \"Naira\"\n : null}\n \n
\n
\n Repayment Frequency\n \n {mostRecentLoanOffer?.repayment_type}\n \n
\n
\n Tenor\n {mostRecentLoanOffer?.offer_tenure} days\n
\n
\n
\n )}\n
\n\n
\n \n\n \n
\n
\n );\n case 1:\n return (\n
\n
\n \"\"\n

Loan Accepted!

\n

\n Congratulations! Your loan of{\" \"}\n {`₦${formatCurrency(Number(mostRecentLoanOffer?.offer_amount || loanData?.new_loan_offer?.offer_amount))}`}{\" \"}\n will be processed. The funds will be deposited into your account\n shortly.\n

\n\n \n Done\n \n
\n
\n );\n case 2:\n return (\n
\n
\n
\n

Loan Declined

\n

\n You have chosen to decline the loan offer of{\" \"}\n {`₦${formatCurrency(Number(mostRecentLoanOffer?.offer_amount || loanData?.new_loan_offer?.offer_amount))}`}\n . If you need assistance or have any questions, please contact\n our support team.\n

\n
\n\n
\n \n\n \n Contact Support\n \n
\n
\n );\n case 3:\n return (\n
\n \n
\n );\n }\n }\n\n return (\n <>\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n
\n
\n
\n {renderContent()}\n \n
\n
\n \n );\n}\n\nexport default NewLoanOffer;\n","import React, {\n useEffect,\n useRef,\n useState,\n Dispatch,\n SetStateAction,\n RefObject,\n} from \"react\";\nimport styles from \"./DashboardOverview.module.scss\";\nimport WebTransactionView from \"../webTransactionView/WebTransactionView\";\nimport TopUp from \"../../features/topUp/TopUp\";\nimport OverviewComp from \"../overviewComp/OverviewComp\";\nimport Support from \"../../features/support/Support\";\nimport Withdraw from \"../../features/withdraw/Withdraw\";\nimport LoanOptions from \"../../features/loanOptions/LoanOptions\";\nimport { getData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport CompleteVirtualAccountModal from \"../../features/completeVirtualAcctModal/CompleteVirtualAcctModal\";\nimport { decrypt } from \"../../../../helpers/encryptor\";\nimport { WalletTransactions } from \"../../../../interfaces/transactions\";\nimport TransactionDetails from \"../../features/transactionDetails/TransactionDetails\";\nimport useFetchUserTransaction from \"../../../../custom-hooks/useFetchUserTransaction\";\nimport { WalletDetails } from \"../../../../interfaces/wallet\";\nimport QuickLoanRepayment from \"../../features/quickRepayment/QuickLoanRepayment\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport toast, { Toaster } from \"react-hot-toast\";\nimport NewLoanOffer from \"../../features/newLoanOffer/NewLoanOffer\";\nimport { useFetchPendingLoanOffer } from \"../../../../custom-hooks/useFetchPendingLoanOffer\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface OverviewProp {\n walletDetails: WalletDetails;\n refetchFetchWalletdetails: () => void;\n isLoadingWalletDetails: boolean;\n userExistsData: any;\n isRefetchingLoanDetails: () => void;\n setPageNumber: Dispatch>;\n pageNumber: number;\n isLoadingUserExist: boolean;\n handleBankStatement: () => any;\n isLoadingBankStatementLinkedStatus: boolean;\n bankStatementLinkedStatus: any;\n setCurrentLoanOptionStep: Dispatch>;\n currentLoanOptionStep: number;\n}\n\nfunction Overview({\n walletDetails,\n isLoadingWalletDetails,\n isLoadingUserExist,\n refetchFetchWalletdetails,\n userExistsData,\n isRefetchingLoanDetails,\n setPageNumber,\n pageNumber,\n handleBankStatement,\n isLoadingBankStatementLinkedStatus,\n bankStatementLinkedStatus,\n setCurrentLoanOptionStep,\n currentLoanOptionStep,\n}: OverviewProp) {\n const transactionHistoryRef = useRef(null);\n const overviewRef = useRef(null);\n const [walletConsentDetails, setWalletConsentDetails] = useState();\n const [transactionDetail, setTransactionDetail] = useState<\n WalletTransactions[] | null\n >(null);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n useEffect(() => {\n MixPanel.track(`Page View: Dashboard.tsx`, {\n page: \"Dashboard.tsx - (Web)\",\n });\n }, []);\n\n const {\n data: transactions,\n isLoading: isTransactionLoading,\n refetch: refetchTransactions,\n } = useFetchUserTransaction({\n accountNumber: userInfo?.accountNumber,\n });\n\n const { data: pendingLoanOffer, isLoading: isLoadingPendingLoanOffer } =\n useFetchPendingLoanOffer({\n customer_id: userInfo?.customerId,\n });\n\n const scrollToTransactions = (elementRef: RefObject) => {\n if (elementRef.current) {\n window.scrollTo({\n top: elementRef.current.offsetTop,\n behavior: \"smooth\",\n });\n }\n };\n\n const scrollToTop = (elementRef: React.RefObject) => {\n if (elementRef.current) {\n window.scrollTo({\n top: elementRef.current.offsetTop,\n behavior: \"smooth\",\n });\n }\n };\n\n async function fetchWalletConsent() {\n dispatch(updateWebSettingsAction({ walletConsentIsLoading: true }));\n try {\n const response = await getData(\n `${apiEndpoints.getWalletConsentWeb}?customerId=${userInfo?.customerId}`,\n );\n if (response.data) {\n setWalletConsentDetails(response.data);\n }\n } catch (error) {\n toast.error(error.response?.data?.message ?? error.message);\n } finally {\n dispatch(updateWebSettingsAction({ walletConsentIsLoading: false }));\n }\n }\n\n useEffect(() => {\n if (userInfo?.customerId) {\n fetchWalletConsent().finally();\n }\n //eslint-disable-next-line\n }, [userInfo?.customerId, webStateData?.showVirtualAcctCompletionModal]);\n\n useEffect(() => {\n setTimeout(() => {\n if (!isLoadingPendingLoanOffer && pendingLoanOffer?.length > 0) {\n dispatch(updateWebSettingsAction({ showNewLoanOffer: true }));\n }\n }, 2000);\n }, [pendingLoanOffer, isLoadingPendingLoanOffer]);\n\n return (\n
\n {webStateData?.showTransactions && (\n \n )}\n\n {webStateData?.showLoanOptions && (\n \n )}\n\n {webStateData?.showQuickRepayment && }\n\n {webStateData?.showTopUp && (\n \n )}\n {webStateData?.showSupport && }\n\n {webStateData?.showWithdraw && (\n \n )}\n\n {webStateData?.showVirtualAcctCompletionModal && (\n \n )}\n\n {webStateData?.showTransactionDetail && (\n \n )}\n\n {webStateData?.showNewLoanOffer && }\n\n {!webStateData?.showTransactions && (\n \n )}\n \n
\n );\n}\n\nexport default Overview;\n","import React, { useEffect, Dispatch, SetStateAction } from \"react\";\nimport styles from \"./WebTransactionView.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { LoanHistory } from \"../../../../interfaces/loan\";\nimport moment from \"moment\";\nimport { Button } from \"antd\";\n// import { paginate, PaginateFunction } from \"../../../../helpers/paginate\"\nimport view from \"../../../../assets/web/arrow-circle-right.svg\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { appInsights } from '../../../../components/AppInsight/AppInsight';\n\ninterface WebTransactionViewProps {\n loanHistory: LoanHistory;\n isRefetchingLoanDetails: () => void;\n setPageNumber: Dispatch>;\n pageNumber: number;\n isLoanHistoryLoading: boolean;\n}\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n WithdrawnByClient = \"withdrawnByClient\",\n Closed = \"closed\",\n WrittenOff = \"writtenOff\",\n Overpaid = \"overpaid\",\n}\n\n\nfunction WebTransactionView({\n loanHistory,\n isRefetchingLoanDetails,\n setPageNumber,\n pageNumber,\n isLoanHistoryLoading,\n}: WebTransactionViewProps) {\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Loan Dashboard - (WebTransactionView.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const goBack = () => {\n dispatch(\n updateWebSettingsAction({\n showTransactions: !webStateData?.showTransactions,\n })\n );\n\n setPageNumber(1);\n };\n\n const selectLoan = (id: number) => {\n loanHistory?.data?.find((loan) =>\n loan?.id === id\n ? dispatch(updateLoanDetailsAction({ loan_ref: loan.loanRef }))\n : \"\"\n );\n setTimeout(() => {\n isRefetchingLoanDetails();\n dispatch(updateWebSettingsAction({ showLoanDetails: true }));\n }, 0);\n };\n\n // const { nextPage, prevPage, pageSize }: PaginateFunction = paginate(\n // pageNumber,\n // // startIndex,\n // setPageNumber,\n // // setStartIndex\n // );\n\n return (\n
\n
\n \n

Transactions

\n
\n\n
\n \n \n \n \n \n \n \n \n \n\n {isLoanHistoryLoading ? (\n \n \n \n \n \n ) : loanHistory?.data?.length > 0 ? (\n \n {loanHistory?.data?.length > 0 &&\n loanHistory?.data?.map((loan) => (\n selectLoan(loan.id)}\n className={styles.viewInfo}\n >\n \n \n \n {loan?.status === \"Submitted_and_awaiting_approval\"\n ? \"Awaiting approval\"\n : loan?.status}\n \n \n \n \n ))}\n \n ) : (\n \n \n \n \n \n )}\n
Ref NoAmountStatusMaturity Date
\n \n
{loan?.loanRef}\n ₦{loan?.loanAmount?.toLocaleString()}\n \n {moment(loan?.loanMaturityDate).format(\"D/MM/YYYY\")}\n \n \"\"\n
\n

No transactions yet

\n
\n\n
\n setPageNumber((prev) => prev - 1)}\n disabled={pageNumber === 1}\n >\n Prev\n \n \n = loanHistory?.totalPages}\n onClick={() => setPageNumber((prev) => prev + 1)}\n >\n Next\n \n
\n
\n
\n );\n}\n\nexport default WebTransactionView;\n","export default __webpack_public_path__ + \"static/media/Frame.1c046d37.svg\";","export default __webpack_public_path__ + \"static/media/SCENE 6.211a762f.png\";","import React, { useEffect, Dispatch, SetStateAction, RefObject } from \"react\";\nimport styles from \"./MobileTransactionView.module.scss\";\nimport { IoMdArrowRoundUp } from \"react-icons/io\";\nimport debit from \"../../../../assets/web/depositIcon.svg\";\nimport emptyBox from \"../../../../assets/web/dashboard/noItem.png\";\nimport { LoanHistory } from \"../../../../interfaces/loan\";\nimport moment from \"moment\";\nimport { Button } from \"antd\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { useDispatch } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface MobileTransactionViewProps {\n transactionHistoryRef: RefObject;\n scrollToTop: (elementRef: RefObject) => void;\n overviewRef: RefObject;\n loanHistory: LoanHistory;\n isRefetchingLoanDetails: () => void;\n setPageNumber: Dispatch>;\n pageNumber: number;\n isLoanHistoryLoading: boolean;\n}\n\nfunction MobileTransactionView({\n transactionHistoryRef,\n scrollToTop,\n overviewRef,\n loanHistory,\n isRefetchingLoanDetails,\n setPageNumber,\n pageNumber,\n isLoanHistoryLoading,\n}: MobileTransactionViewProps) {\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (MobileTransactionView.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const selectLoan = (id: number) => {\n document.body.style.overflow = \"hidden\";\n\n loanHistory?.data?.find((loan) =>\n loan?.id === id\n ? dispatch(updateLoanDetailsAction({ loan_ref: loan.loanRef }))\n : \"\"\n );\n\n setTimeout(() => {\n isRefetchingLoanDetails();\n dispatch(updateWebSettingsAction({ showLoanDetails: true }));\n }, 0);\n };\n\n return (\n <>\n
\n
\n scrollToTop(overviewRef)}\n >\n \n Go up\n \n

Transactions

\n
\n\n {isLoanHistoryLoading ? (\n
\n \n
\n ) : loanHistory?.data?.length > 0 ? (\n
\n {loanHistory?.data?.slice(0, 10).map((loan) => (\n selectLoan(loan.id)}\n >\n
\n \n \"\"\n \n
\n

\n ₦{loan?.loanAmount?.toLocaleString()}\n

\n

\n {moment(loan?.loanMaturityDate).format(\"D/MM/YYYY\")}\n

\n
\n
\n \n \n {loan?.status === \"Submitted_and_awaiting_approval\"\n ? \"Awaiting approval\"\n : loan.status}\n \n {loan.loanRef}\n
\n
\n ))}\n \n ) : (\n
\n \"\"\n

No transactions yet

\n

Your transactions will appear here when you initiate one

\n
\n )}\n\n
\n setPageNumber((prev) => prev - 1)}\n disabled={pageNumber === 1}\n >\n Prev\n \n \n = loanHistory?.totalPages}\n onClick={() => setPageNumber((prev) => prev + 1)}\n >\n Next\n \n
\n \n {/* {showDateRangeSelector && */}\n \n );\n}\n\nexport default MobileTransactionView;\n","import React, { useEffect } from 'react'\nimport styles from \"./TransactionOverview.module.scss\";\nimport emptyBox from \"../../../../assets/web/dashboard/noItem.png\";\nimport moment from \"moment\";\nimport { LoanHistory } from \"../../../../interfaces/loan\";\nimport view from \"../../../../assets/web/arrow-circle-right.svg\";\nimport { useDispatch } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { appInsights } from '../../../../components/AppInsight/AppInsight'\n\ninterface TransactionOverviewProps {\n loanHistory: LoanHistory;\n isRefetchingLoanDetails: () => void;\n}\n\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n WithdrawnByClient = \"withdrawnByClient\",\n Closed = \"closed\",\n WrittenOff = \"writtenOff\",\n Overpaid = \"overpaid\",\n}\n\nfunction TransactionOverview({\n loanHistory,\n isRefetchingLoanDetails,\n}: TransactionOverviewProps) {\n const dispatch = useDispatch();\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Loan Dashboard - (TransactionOverview.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const selectLoan = (id: number) => {\n loanHistory?.data?.find((loan) =>\n loan?.id === id\n ? dispatch(updateLoanDetailsAction({ loan_ref: loan.loanRef }))\n : \"\"\n );\n\n setTimeout(() => {\n isRefetchingLoanDetails();\n dispatch(updateWebSettingsAction({ showLoanDetails: true }));\n }, 0);\n };\n\n const getStatusStyle = (status: string | undefined) => {\n switch (status?.toLowerCase()) {\n case Status.Active:\n case Status.Approved:\n case Status.Repaid:\n return styles.flagActive;\n case Status.AwaitingApproval:\n case Status.SubmittedAndAwaitingApproval:\n return styles.flagPending;\n case Status.Overdue:\n case Status.Rejected:\n return styles.flagRejected;\n default:\n return styles.flagStale;\n }\n };\n\n return (\n
\n
\n

Loan History

\n {loanHistory?.data?.length > 0 && (\n \n dispatch(updateWebSettingsAction({ showTransactions: true }))\n }\n >\n See all\n \n )}\n
\n\n \n \n \n \n \n \n \n \n \n\n {loanHistory?.data?.length > 0 ? (\n \n {loanHistory?.data?.length > 0 &&\n loanHistory?.data?.slice(0, 4).map((loan) => (\n selectLoan(loan.id)}\n className={styles.viewInfo}\n >\n \n \n \n {loan?.status === \"Submitted_and_awaiting_approval\"\n ? \"Awaiting approval\"\n : loan?.status}\n \n \n \n \n ))}\n \n ) : (\n \n \n \n \n \n )}\n
Ref NoAmountStatusMaturity Date
{loan.loanRef}\n ₦{loan?.loanAmount?.toLocaleString()}\n \n {moment(loan?.loanMaturityDate).format(\"D/MM/YYYY\")}\n \n \"\"\n
\n
\n \"\"\n

No transactions yet

\n

\n Your transactions will appear here when you initiate one\n

\n
\n
\n
\n );\n}\n\nexport default TransactionOverview;\n","export default __webpack_public_path__ + \"static/media/carousel-arrow-right.3078207e.svg\";","export default __webpack_public_path__ + \"static/media/carousel-arrow-left.49b6f0be.svg\";","import React, { useState, useEffect, RefObject } from \"react\";\nimport styles from \"./LoanHistoryCarousel.module.scss\";\nimport adv from \"../../../../assets/web/a.svg\";\nimport { IoIosArrowForward } from \"react-icons/io\";\nimport carouselRight from \"../../../../assets/web/carousel-arrow-right.svg\";\nimport carouselLeft from \"../../../../assets/web/carousel-arrow-left.svg\";\nimport moment from \"moment\";\nimport { useDispatch } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { appInsights } from '../../../../components/AppInsight/AppInsight';\n\ninterface LoanHistoryCarouselProps {\n RecentLoans: any;\n scrollToTransactions: (elementRef: RefObject) => void;\n transactionHistoryRef: RefObject;\n isRefetchingLoanDetails: () => void;\n}\n\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n WithdrawnByClient = \"withdrawnByClient\",\n Closed = \"closed\",\n WrittenOff = \"writtenOff\",\n Overpaid = \"overpaid\",\n}\n\nconst LoanHistoryCarousel: React.FC = ({\n RecentLoans,\n scrollToTransactions,\n transactionHistoryRef,\n isRefetchingLoanDetails,\n}) => {\n const [startIndex, setStartIndex] = useState(0);\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanHistoryCarousel.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleNext = () => {\n setStartIndex((prevIndex) => prevIndex + 3);\n };\n\n const handlePrev = () => {\n setStartIndex((prevIndex) => Math.max(0, prevIndex - 3));\n };\n\n const visibleLoans = RecentLoans?.slice(startIndex, startIndex + 3);\n\n const selectLoan = (id: number) => {\n document.body.style.overflow = \"hidden\";\n\n RecentLoans?.find((loan: any) =>\n loan?.id === id\n ? dispatch(updateLoanDetailsAction({ loan_ref: loan.loanRef }))\n : \"\"\n );\n\n setTimeout(() => {\n isRefetchingLoanDetails();\n dispatch(updateWebSettingsAction({ showLoanDetails: true }));\n }, 0);\n };\n\n const getStatusStyle = (status: string | undefined) => {\n switch (status?.toLowerCase()) {\n case Status.Active:\n case Status.Approved:\n case Status.Repaid:\n return styles.flagActive;\n case Status.AwaitingApproval:\n case Status.SubmittedAndAwaitingApproval:\n return styles.flagPending;\n case Status.Overdue:\n case Status.Rejected:\n return styles.flagRejected;\n default:\n return styles.flagStale;\n }\n };\n\n const checkStatus = (status: string | undefined) => {\n switch (status?.toLowerCase()) {\n case Status.SubmittedAndAwaitingApproval:\n case Status.Rejected:\n case Status.WithdrawnByClient:\n return \"\";\n\n default:\n break;\n }\n };\n\n // console.log(\"Loan History:\", loanHistory)\n\n return (\n
\n
\n

Recent Transactions

\n scrollToTransactions(transactionHistoryRef)}\n >\n See all\n \n
\n
\n {startIndex !== 0 && (\n \n )}\n
\n {visibleLoans?.map((loan: any) => (\n selectLoan(loan.id)}\n >\n
\n
\n \n \"\"\n \n
\n ₦{loan.loanAmount.toLocaleString()}\n {checkStatus(loan?.status) ?? (\n \n {moment(loan.loanMaturityDate).format(\"D/MM/YYYY\")}\n \n )}\n
\n
\n\n \n {loan?.status.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval\n ? \"Awaiting approval\"\n : loan?.status}\n \n
\n\n \n
\n ))}\n
\n\n {startIndex === RecentLoans?.length ||\n startIndex + 1 === RecentLoans?.length ||\n startIndex + 2 === RecentLoans?.length ||\n startIndex + 3 === RecentLoans?.length ? (\n \"\"\n ) : (\n \n )}\n
\n \n );\n};\n\nexport default LoanHistoryCarousel;\n","import { useQuery } from \"react-query\";\nimport { getData } from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\n\ninterface OutstandingLoanBalanceProps {\n currency: string;\n customerId: string;\n}\n\nexport const fetchUserOutstandingLoanBalance = async ({\n currency,\n customerId,\n}: OutstandingLoanBalanceProps) => {\n const res = await getData(\n `${apiEndpoints.customerOutstandingLoanBalance}?currency=${currency}&customerId=${customerId}`\n );\n\n return res.data;\n};\n\nexport default function useFetchOutstandingLoanBalance({\n currency,\n customerId,\n}: OutstandingLoanBalanceProps) {\n return useQuery(\n [{ currency, customerId }, \"fetchUserOutstandingLoanBalance\"],\n fetchUserOutstandingLoanBalance,\n {\n refetchOnWindowFocus: true,\n enabled: false,\n }\n );\n}\n","import { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\nimport { useQuery } from \"react-query\";\n\nconst fetchNextRepayment = async ({ customerId }: { customerId: number }) => {\n try {\n const res = await getData(\n `${apiEndpoints.nextRepayment}?customerId=${customerId}`,\n );\n\n return res.data;\n } catch (error) {\n console.error(error);\n }\n};\n\nexport default function useFetchNextRepayment({\n customerId,\n}: {\n customerId: number;\n}) {\n return useQuery([{ customerId }, \"fetchNextRepayment\"], fetchNextRepayment, {\n refetchOnWindowFocus: true,\n });\n}\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst fetchRecentLoans = async ({ customerId }: { customerId: number }) => {\n try {\n const res = await getData(\n `${apiEndpoints.recentLoans}?customerId=${customerId}`,\n );\n\n return res.data;\n } catch (error) {\n console.error(error);\n }\n};\n\nexport default function useFetchRecentLoans({\n customerId,\n}: {\n customerId: number;\n}) {\n return useQuery([{ customerId }, \"fetchRecentLoans\"], fetchRecentLoans, {\n refetchOnWindowFocus: true,\n });\n}\n","import React, { Dispatch, SetStateAction, RefObject, useMemo } from \"react\";\nimport styles from \"./Overview.module.scss\";\nimport Card from \"../../card/Card\";\nimport { frame, arrowRight, bgIcon, bgIconWeb } from \"./Index\";\nimport { IoIosArrowDown } from \"react-icons/io\";\nimport MobileTransactionView from \"../mobileTransactionView/MobileTransactionView\";\nimport TransactionOverview from \"../TransactionOverview/TransactionOverview\";\nimport LoanHistoryCarousel from \"../loanHistoryCarousel/LoanHistoryCarousel\";\nimport { LoanHistory } from \"../../../../interfaces/loan\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { fetchUserOutstandingLoanBalance } from \"../../../../custom-hooks/useFetchOutstandingLoanBalance\";\nimport { useQuery } from \"react-query\";\nimport useFetchNextRepayment from \"../../../../custom-hooks/useFetchNextRepayment\";\nimport moment from \"moment\";\nimport useFetchRecentLoans from \"../../../../custom-hooks/useFetchRecentLoans\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { Setting } from \"../../../../interfaces/borrower\";\nimport { message } from \"antd\";\n\ninterface OverviewCompProps {\n transactionHistoryRef: RefObject;\n scrollToTransactions: (elementRef: RefObject) => void;\n scrollToTop: (elementRef: RefObject) => void;\n overviewRef: RefObject;\n loanHistory: LoanHistory;\n isLoanHistoryLoading: boolean;\n isLoadingUserExist: boolean;\n userExistsData: any;\n isRefetchingLoanDetails: () => void;\n setPageNumber: Dispatch>;\n pageNumber: number;\n}\n\nfunction OverviewComp({\n transactionHistoryRef,\n scrollToTransactions,\n scrollToTop,\n overviewRef,\n loanHistory,\n userExistsData,\n isLoadingUserExist,\n isRefetchingLoanDetails,\n isLoanHistoryLoading,\n setPageNumber,\n pageNumber,\n}: OverviewCompProps) {\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const { courseDescription, courseAmount } = borrowerDetails;\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n const handleLoanRequestModal = () => {\n if (requireEquityContribution && !courseDescription && !courseAmount) {\n message.error(\"No course information selected\");\n return;\n }\n dispatch(\n updateWebSettingsAction({\n showLoanRequestModal: true,\n }),\n );\n };\n\n const {\n data: outstandingLoanBalance,\n isLoading: isLoadingOutstandingLoanBalance,\n refetch: refetchOutstandingLoanBalance,\n } = useQuery(\n [\n { customerId: userInfo?.customerId, currency: userInfo?.currency },\n \"fetchUserOutstandingLoanBalance\",\n ],\n fetchUserOutstandingLoanBalance,\n {\n refetchOnWindowFocus: true,\n },\n );\n\n const { data: NextRepaymentAmount, isLoading: isLoadingNextRepaymentAmount } =\n useFetchNextRepayment({\n customerId: userInfo?.customerId,\n });\n\n const { data: RecentLoans, isLoading: isLoadingRecentLoans } =\n useFetchRecentLoans({\n customerId: userInfo?.customerId,\n });\n\n return (\n <>\n
\n

Loan

\n
\n {isLoadingRecentLoans ? (\n
\n \n
\n ) : RecentLoans?.length > 0 ? (\n
\n
\n \n\n {\n \n }\n\n {NextRepaymentAmount?.outstandingAmount > 0 && (\n \n )}\n
\n\n \n\n {isLoanHistoryLoading ? (\n
\n \n
\n ) : (\n
\n \n
\n )}\n\n scrollToTransactions(transactionHistoryRef)}\n >\n Tap to scroll to transactions\n \n
\n\n \n \n ) : (\n
\n
\n

Apply for a low - interest loans in minutes

\n \n
\n \"\"\n
\n )}\n \n );\n}\n\nexport default OverviewComp;\n","import React, { useEffect, useRef } from \"react\";\nimport styles from \"./LoanOverview.module.scss\";\nimport WebTransactionView from \"../webTransactionView/WebTransactionView\";\nimport OverviewComp from \"../overViewComp/OverviewComp\";\nimport { fetchWebLoanTransactions } from \"../../../../custom-hooks/useFetchLoanHistory\";\nimport { useQuery, useQueryCache } from \"react-query\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\n\ninterface LoanOverviewProp {\n isLoadingUserExist: boolean;\n userExistsData: any;\n isRefetchingLoanDetails: () => void;\n setPageNumber: React.Dispatch>;\n pageNumber: number;\n}\n\nfunction LoanOverview({\n userExistsData,\n isLoadingUserExist,\n isRefetchingLoanDetails,\n pageNumber,\n setPageNumber,\n}: LoanOverviewProp) {\n const transactionHistoryRef = useRef(null);\n const overviewRef = useRef(null);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const queryCache = useQueryCache();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const { data: loanHistory, isLoading: isLoanHistoryLoading } = useQuery(\n [\n { customerId: userInfo?.customerId, page: pageNumber },\n \"fetchWebLoanTransactions\",\n ],\n fetchWebLoanTransactions,\n {\n refetchOnWindowFocus: true,\n },\n );\n\n useEffect(() => {\n if (pageNumber < loanHistory?.totalPages) {\n const nextPage = pageNumber + 1;\n queryCache.prefetchQuery(\n [\n { customerId: userInfo?.customerId, page: nextPage },\n \"fetchWebLoanTransactions\",\n ],\n fetchWebLoanTransactions,\n );\n }\n }, [pageNumber, queryCache, userInfo?.customerId, loanHistory?.totalPages]);\n\n const scrollToTransactions = (\n elementRef: React.RefObject,\n ) => {\n if (elementRef.current) {\n window.scrollTo({\n top: elementRef.current.offsetTop,\n behavior: \"smooth\",\n });\n }\n };\n\n const scrollToTop = (elementRef: React.RefObject) => {\n if (elementRef.current) {\n window.scrollTo({\n top: elementRef.current.offsetTop,\n behavior: \"smooth\",\n });\n }\n };\n\n return (\n
\n {webStateData?.showTransactions && (\n \n )}\n\n {!webStateData?.showTransactions && !webStateData?.showLoanHistory && (\n \n )}\n
\n );\n}\n\nexport default LoanOverview;\n","import React, { useEffect, useState } from \"react\";\nimport styles from \"./PersonalInformation.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { IoIosArrowUp, IoIosArrowDown } from \"react-icons/io\";\nimport { Icon } from \"@iconify/react\";\nimport useFetchCountries from \"../../../../custom-hooks/useFetchCountries\";\nimport { useLocation } from \"react-router-dom\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { Button } from \"antd\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { decrypt } from \"../../../../helpers/encryptor\";\nimport cleanPhoneSavedPhoneNo from \"../../../../helpers/cleanSavedPhoneNumber\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\nenum ModalProfile {\n ModalProfileNavigator = \"ModalProfileNavigator\",\n ProfileInformation = \"ProfileInformation\",\n Card = \"Card\",\n DirectDebitAccountWeb = \"DirectDebitAccountWeb\",\n BankStatement = \"BankStatement\",\n Transaction = \"Transaction\",\n Password = \"Password\",\n}\n\ninterface PersonalInformationProps {\n setCurrentSection?: React.Dispatch>;\n walletDetails: any;\n}\n\ninterface CountryCode {\n country_code?: string;\n currency?: string;\n dial_code?: string;\n id?: number;\n is_active?: number;\n name?: string;\n}\n\nconst personalSchema = yup.object().shape({\n firstName: yupValidators.firstName,\n lastName: yupValidators.lastName,\n email: yupValidators.email,\n bvn: yupValidators.bvn,\n phoneNumber: yupValidators.phone_number,\n});\n\nconst BusinessSchema = yup.object().shape({\n email: yupValidators.email,\n bvn: yupValidators.bvn,\n phoneNumber: yupValidators.phone_number,\n businessRcNumber: yupValidators.businessRcNumber,\n businessName: yupValidators.businessName,\n});\n\ninterface FormData {\n firstName: string;\n lastName: string;\n email: string;\n bvn: string;\n phoneNumber: string;\n businessRcNumber: string;\n businessName: string;\n}\n\nfunction PersonalInformation({\n setCurrentSection,\n walletDetails,\n}: PersonalInformationProps) {\n const [currentStep, setCurrentStep] = useState(0);\n const [searchText, setSearchText] = useState(\"\");\n const [searchTimeout, setSearchTimeout] = useState(\n null,\n );\n const [searchedResults, setSearchedResults] = useState([]);\n const [displayCountry, setDisplayCountry] = useState(false);\n const [selectedCountry, setSelectedCountry] = useState({\n country_code: \"ng\",\n dial_code: \"234\",\n });\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(\n userInfo?.business_registration_number ? BusinessSchema : personalSchema,\n ),\n });\n const [isLoading, setIsLoading] = useState(false);\n const location = useLocation();\n\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Profile - (PersonalInformation.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const { data: countryLists } = useFetchCountries();\n\n useEffect(() => {\n setSelectedCountry({\n country_code: userInfo?.country?.toLowerCase(),\n dial_code: userInfo?.phoneNumberCountryDialCode,\n });\n }, [userInfo?.phoneNumberCountryDialCode, userInfo?.country]);\n\n const filterPrompts = (searchText: string) => {\n const regex = new RegExp(searchText, \"i\");\n\n return countryLists.filter((country: CountryCode) => {\n const name = country.name || \"\";\n const countryCode = country.country_code || \"\";\n\n return regex.test(name) || regex.test(countryCode);\n });\n };\n\n const handleSearchChange = (e: React.ChangeEvent) => {\n clearTimeout(searchTimeout as NodeJS.Timeout);\n setSearchText(e.target.value);\n\n //debounce method\n setSearchTimeout(\n setTimeout(() => {\n const searchResult = filterPrompts(e.target.value);\n setSearchedResults(searchResult);\n }, 500),\n );\n };\n\n const handleCountryDisplay = () => {\n setDisplayCountry((prev) => !prev);\n };\n\n const handleCountrySelection = (country: CountryCode) => {\n setSelectedCountry({\n country_code: country.country_code?.toLowerCase(),\n dial_code: country.dial_code,\n });\n setDisplayCountry(false);\n };\n\n const handleButtonClick = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n const handleSelection = () => {\n if (setCurrentSection) {\n setCurrentSection(ModalProfile.ModalProfileNavigator);\n }\n };\n\n const onSubmit = async ({\n firstName,\n lastName,\n email,\n bvn,\n phoneNumber,\n }: FormData) => {\n if (!phoneNumber?.startsWith(\"0\")) {\n phoneNumber = \"0\" + phoneNumber;\n }\n const reqBody = {\n first_name: firstName,\n phone_number: phoneNumber,\n email: email,\n last_name: lastName,\n country: userInfo?.country,\n phone_no_country_dial_code: userInfo?.phoneNumberCountryDialCode,\n businessRcNumber: userInfo?.business_registration_number,\n businessName: userInfo?.company_name,\n };\n setIsLoading(true);\n\n try {\n if (\n window.confirm(\"Are you sure you want to update your phone number?\")\n ) {\n await postData(apiEndpoints.updateUser, reqBody);\n handleButtonClick();\n }\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n }),\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Profile - (PersonalInformation.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n useEffect(() => {\n if (currentStep === 1) {\n dispatch(\n updateWebSettingsAction({\n successMsg: { bodyText: \"Update successful\" },\n }),\n );\n\n setTimeout(() => {\n window.location.reload();\n dispatch(\n updateWebSettingsAction({\n successMsg: { bodyText: \"\" },\n errorMsg: \"\",\n }),\n );\n }, 3000);\n }\n }, [currentStep]);\n\n const renderContent = () => {\n switch (currentStep) {\n case 0:\n return (\n \n {userInfo?.business_registration_number ? (\n
\n \n\n \n
\n ) : (\n
\n \n\n \n
\n )}\n \n
\n \n
\n
\n \n {selectedCountry.dial_code}\n {displayCountry ? (\n \n ) : (\n \n )}\n
\n \n
\n {displayCountry && (\n
\n \n
    \n {searchText\n ? searchedResults?.map((country) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n +{country.dial_code}\n \n ))\n : countryLists?.map((country: CountryCode) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))}\n
\n
\n )}\n \n {errors.phoneNumber?.message}\n \n
\n\n \n\n
\n \n
\n \n );\n case 1:\n return (\n
\n
\n \n \n \n \n \n

Profile updated successfully

\n
\n
\n );\n\n default:\n return null;\n }\n };\n return (\n \n {location.pathname === `/${userInfo?.aggregator_name}` && (\n \n )}\n
\n

\n {userInfo?.business_registration_number\n ? \"Business Information\"\n : \"Personal Information\"}\n

\n
\n\n {renderContent()}\n \n );\n}\n\nexport default PersonalInformation;\n","import React, { Dispatch, SetStateAction, useEffect, useState } from \"react\";\nimport { getData, postData } from \"../../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport MastercardIcon from \"../../../../../assets/mastercard.svg\";\nimport VisaIcon from \"../../../../../assets/visa.svg\";\nimport VerveIcon from \"../../../../../assets/verve.svg\";\nimport { BsCheck2All } from \"react-icons/bs\";\nimport AddCard from \"../../../features/addCard/AddCard\";\nimport styles from \"./AddCardForm.module.scss\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../../redux/actions\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\nimport { useLocation } from \"react-router-dom\";\nimport advLogo from \"../../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../../assets/loadinggif.gif\";\nimport { MixPanel } from \"../../../../../helpers/mixpanel\";\n\nexport type CardProp = {\n card_id: number;\n customer_id: number;\n last_four_digits: number;\n card_type: string;\n expiry_month: number;\n expiry_year: number;\n is_default: boolean;\n};\ninterface IProps {\n updatePayStackStatus: () => void;\n residentialInfoStatus: any;\n setCurrentStep: Dispatch>;\n}\n\nconst AddCardForm = ({\n updatePayStackStatus,\n residentialInfoStatus,\n setCurrentStep,\n}: IProps) => {\n const [isLoading, setIsLoading] = useState(false);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const location = useLocation();\n\n const [cards, setCards] = useState([]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (AddCardForm.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: AddCardForm.tsx`, {\n page: \"AddCardForm.tsx - (Web)\",\n });\n }, []);\n\n const cardImage = (type: string) => {\n const cardType = type.toLowerCase().trim();\n return cardType?.includes(\"mastercard\") ? (\n \n ) : cardType?.includes(\"visa\") ? (\n \n ) : cardType?.includes(\"verve\") ? (\n \n ) : null;\n };\n\n const fetchAddedCards = async () => {\n setIsLoading(true);\n try {\n const response = await getData(\n `${apiEndpoints.fetchCards}?borrower_id=${\n userInfo?.customerId\n }&aggregator_id=${userInfo?.aggregatorId}&isWidget=${false}`,\n );\n setCards(response.data);\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n }),\n );\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n }),\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (AddCardForm.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n async function makeCardDefault(item: CardProp) {\n setIsLoading(true);\n try {\n await postData(`${apiEndpoints.setDefaultCard}?isWidget=${false}`, {\n aggregator_id: userInfo.aggregatorId,\n borrower_id: userInfo.customerId,\n card_id: item.card_id,\n });\n await fetchAddedCards();\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n }),\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (AddCardForm.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n setTimeout(() => {\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }));\n }, 3000);\n }\n }\n\n useEffect(() => {\n fetchAddedCards().finally();\n }, []);\n\n function cardProcessDoneHandler() {\n if (!residentialInfoStatus) {\n setCurrentStep(12);\n } else {\n setCurrentStep(3);\n }\n }\n\n if (isLoading) {\n return (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n );\n }\n\n return (\n
\n

Cards

\n\n {cards?.length === 0 ? (\n <>\n

No Data Available

\n \n ) : (\n cards?.map((item) => (\n
\n
\n
\n
\n
{cardImage(item.card_type)}
\n
\n

\n {`**** **** **** ${item.last_four_digits}`}\n \n {item.is_default && (\n \n \n \n )}\n \n

\n \n {`${item.expiry_month}/${item.expiry_year}`}\n \n
\n
\n\n {!item.is_default && (\n makeCardDefault(item)}\n >\n Set Default\n

\n )}\n
\n
\n
\n
\n ))\n )}\n\n \n {location.pathname !== `/${userInfo.aggregator_name}/profile` && (\n \n {cards.length > 0 ? \"Proceed\" : \"Skip\"}\n \n )}\n
\n \n
\n
\n \n );\n};\n\nexport default AddCardForm;\n","import React, { useEffect } from \"react\";\nimport styles from \"./Card.module.scss\";\nimport AddCardForm from \"./addCard/AddCardForm\";\nimport { useLocation } from \"react-router-dom\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\nenum ModalProfile {\n ModalProfileNavigator = \"ModalProfileNavigator\",\n ProfileInformation = \"ProfileInformation\",\n Card = \"Card\",\n DirectDebitAccountWeb = \"DirectDebitAccountWeb\",\n BankStatement = \"BankStatement\",\n Transaction = \"Transaction\",\n Password = \"Password\",\n}\n\ninterface CardProps {\n setCurrentSection?: React.Dispatch>;\n}\n\nfunction Card({ setCurrentSection }: CardProps) {\n const location = useLocation();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Profile - (Card.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleSelection = () => {\n if (setCurrentSection) {\n setCurrentSection(ModalProfile.ModalProfileNavigator);\n }\n };\n\n return (\n \n {location.pathname === `/${userInfo?.aggregator_name}` && (\n \n )}\n null} />\n \n );\n}\n\nexport default Card;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport styles from \"./SecurityQuestion.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport useFetchSecurityQuestions from \"../../../../../custom-hooks/useFetchSecurityQuestion\";\nimport { Question } from \"../../../../../interfaces/question\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { getToken } from \"../../../../../helpers/appHelpers\";\nimport { useLocation } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../../redux/actions\";\nimport { Alert } from \"antd\";\n\nconst schema = yup.object().shape({\n securityQuestion: yupValidators.securityQuestion,\n securityAnswer: yupValidators.securityAnswer,\n});\n\ninterface FormData {\n securityQuestion: string;\n securityAnswer: string;\n}\n\ninterface SecurityQuestionProps {\n setCurrentStep: React.Dispatch>;\n}\n\nfunction SecurityQuestion({ setCurrentStep }: SecurityQuestionProps) {\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const [showDropdown, setShowDropdown] = useState(false);\n const [filteredQuestionsList, setFilteredQuestionsList] = useState<\n Question[]\n >([]);\n const [questionLists, setQuestionsList] = useState([]);\n const [selectedQuestionDetails, setselectedQuestionDetails] =\n useState();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const divRef = useRef(null);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n const location = useLocation();\n\n const { data: questions, isLoading: isLoadingQuestions } =\n useFetchSecurityQuestions({\n token: getToken(),\n });\n\n const getQuestionId = (question: string) => {\n const result = questionLists.filter((questions) => {\n const foundQuestion = questions.question === question;\n return foundQuestion\n ? setselectedQuestionDetails({\n ...selectedQuestionDetails,\n id: questions.id,\n })\n : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n if (selectedQuestionDetails?.question) {\n getQuestionId(selectedQuestionDetails?.question);\n }\n }, [selectedQuestionDetails?.question]);\n\n useEffect(() => {\n setQuestionsList(questions);\n }, [isLoadingQuestions]);\n\n const onSubmit = async ({ securityAnswer }: FormData) => {\n try {\n setCurrentStep(2);\n const reqBody = {\n customer_id: parseInt(userInfo?.customerId),\n question_id: Number(selectedQuestionDetails?.id),\n answer: securityAnswer,\n };\n await postData(apiEndpoints.customerSecurityQuestionAnswer, reqBody);\n setCurrentStep(1);\n } catch (error) {\n setCurrentStep(0);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({ errorMsg: error.response?.data?.message })\n );\n }, 0);\n }\n };\n\n const handleInputChange = (e: React.ChangeEvent) => {\n const value = e.target.value;\n\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: value,\n });\n\n setFilteredQuestionsList(\n questionLists.filter(\n (questions) => questions.question?.toLowerCase() === value.toLowerCase()\n )\n );\n\n setShowDropdown(true);\n };\n\n const handleSelectQuestion = (question: Question) => {\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: question.question,\n });\n\n setShowDropdown(false);\n };\n\n const handleClose = (e: any) => {\n if (divRef?.current && !divRef?.current.contains(e.target)) {\n setShowDropdown(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleClose);\n\n return () => {\n window.removeEventListener(\"click\", handleClose);\n };\n }, []);\n\n return (\n
\n {webStateData.errorMsg && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n
\n
\n

Security Question

\n
\n

\n Kindly set a security question before creating your transaction pin.\n

\n
\n\n \n
\n \n setShowDropdown(true)}\n className={styles.selectedQuestionField}\n disabled={isLoadingQuestions}\n />\n {showDropdown && (\n
    \n {filteredQuestionsList?.length > 0\n ? filteredQuestionsList?.map((question) => (\n handleSelectQuestion(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))\n : questionLists?.map((question) => (\n handleSelectQuestion(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))}\n
\n )}\n \n {errors.bankCode?.message}\n \n
\n\n \n\n
\n \n
\n \n \n );\n}\n\nexport default SecurityQuestion;\n","import React, { useEffect } from \"react\";\nimport styles from \"./Pin.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../../redux/actions\";\nimport { Alert } from \"antd\";\nimport { useLocation } from \"react-router-dom\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n pin: yupValidators.pin,\n confirmPin: yupValidators.confirmPin,\n});\n\ninterface PinProps {\n setCurrentStep: React.Dispatch>;\n}\n\nfunction Pin({ setCurrentStep }: PinProps) {\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const location = useLocation()\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (TransactionPin.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n \n const onSubmit = async ({ pin }: { pin: string }) => {\n try {\n setCurrentStep(2);\n const reqBody = {\n customer_id: parseInt(userInfo?.customerId),\n pin,\n };\n\n await postData(apiEndpoints.customerSetPin, reqBody);\n setCurrentStep(3);\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n })\n );\n } catch (error) {\n setCurrentStep(1);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (TransactionPin.tsx)\",\n },\n });\n }, 0);\n }\n };\n\n return (\n
\n {webStateData.errorMsg && urlExtension[1] !== \"profile\" && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n
\n

Set PIN

\n

Create your four digit transaction pin

\n
\n\n
\n \n\n \n\n \n \n \n );\n}\n\nexport default Pin;\n","import React from 'react'\nimport Loader from '../../../../../components/Loader/Loader'\nimport styles from \"./Spinner.module.scss\"\n\ninterface SpinnerProps {\n currentStep: number\n}\n\nfunction Spinner({currentStep}: SpinnerProps) {\n return (\n
\n \n
\n )\n}\n\nexport default Spinner","import React from 'react'\nimport styles from \"./Success.module.scss\"\n\nfunction Success() {\n return (\n
\n
\n \n \n \n \n \n

Transaction PIN Set

\n

You have successfully set your transaction pin

\n
\n\n
\n )\n}\n\nexport default Success","import React, { useEffect, useRef, useState, Dispatch, SetStateAction, ChangeEvent } from \"react\";\nimport styles from \"./ResetPin.module.scss\";\nimport CustomInputField from \"../../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../../helpers/yupValidators\";\nimport useFetchSecurityQuestions from \"../../../../../custom-hooks/useFetchSecurityQuestion\";\nimport { Question } from \"../../../../../interfaces/question\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { getToken } from \"../../../../../helpers/appHelpers\";\nimport { useLocation } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../../redux/actions\";\nimport { Alert } from \"antd\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n securityQuestion: yupValidators.securityQuestion,\n securityAnswer: yupValidators.securityAnswer,\n pin: yupValidators.pin,\n});\n\ninterface FormData {\n securityQuestion: string;\n securityAnswer: string;\n pin: string;\n}\n\ninterface ResetProps {\n setCurrentStep: Dispatch>;\n}\n\nfunction ResetPin({ setCurrentStep }: ResetProps) {\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const [showDropdown, setShowDropdown] = useState(false);\n const [filteredQuestionsList, setFilteredQuestionsList] = useState<\n Question[]\n >([]);\n const [questionLists, setQuestionsList] = useState([]);\n const [selectedQuestionDetails, setselectedQuestionDetails] =\n useState();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const divRef = useRef(null);\n const location = useLocation();\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n const { data: questions, isLoading: isLoadingQuestions } =\n useFetchSecurityQuestions({\n token: getToken(),\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (TransactionPin.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const getQuestionId = (question: string) => {\n const result = questionLists.filter((questions) => {\n const foundQuestion = questions.question === question;\n return foundQuestion\n ? setselectedQuestionDetails({\n ...selectedQuestionDetails,\n id: questions.id,\n })\n : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n if (selectedQuestionDetails?.question) {\n getQuestionId(selectedQuestionDetails?.question);\n }\n }, [selectedQuestionDetails?.question]);\n\n useEffect(() => {\n setQuestionsList(questions);\n }, [isLoadingQuestions]);\n\n const onSubmit = async ({ securityAnswer, pin }: FormData) => {\n try {\n setCurrentStep(2);\n const reqBody = {\n aggregator_id: parseInt(userInfo?.aggregatorId),\n customer_id: parseInt(userInfo?.customerId),\n question_id: Number(selectedQuestionDetails?.id),\n answer: securityAnswer,\n pin,\n };\n await postData(apiEndpoints.customerResetPin, reqBody);\n setCurrentStep(3);\n\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n })\n );\n } catch (error) {\n setCurrentStep(4);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message || \"Failed to reset pin\",\n })\n );\n }, 0);\n\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (TransactionPin.tsx)\",\n },\n });\n }\n };\n\n const handleInputChange = (e: ChangeEvent) => {\n const value = e.target.value;\n\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: value,\n });\n\n setFilteredQuestionsList(\n questionLists.filter(\n (questions) => questions.question?.toLowerCase() === value.toLowerCase()\n )\n );\n\n setShowDropdown(true);\n };\n\n const handleSelectBank = (question: Question) => {\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: question.question,\n });\n\n setShowDropdown(false);\n };\n\n const handleClose = (e: any) => {\n if (divRef?.current && !divRef?.current.contains(e.target)) {\n setShowDropdown(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleClose);\n\n return () => {\n window.removeEventListener(\"click\", handleClose);\n };\n }, []);\n\n return (\n
\n {webStateData.errorMsg && urlExtension[1] !== \"profile\" && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n
\n

Reset Transaction Pin

\n

Complete the steps below to reset your transaction pin.

\n
\n\n \n
\n \n setShowDropdown(true)}\n className={styles.selectedQuestionField}\n disabled={isLoadingQuestions}\n />\n {showDropdown && (\n
    \n {filteredQuestionsList?.length > 0\n ? filteredQuestionsList?.map((question) => (\n handleSelectBank(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))\n : questionLists?.map((question) => (\n handleSelectBank(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))}\n
\n )}\n \n {errors.bankCode?.message}\n \n
\n\n \n\n \n\n \n \n \n );\n}\n\nexport default ResetPin;\n","import React from 'react'\nimport styles from \"./Failed.module.scss\"\n\nfunction Failed() {\n return (\n
\n
\n
\n

Operation Failed

\n

Something went wrong

\n
\n
\n )\n}\n\nexport default Failed","import React, { useEffect, useState } from \"react\";\nimport styles from \"./TransactionPin.module.scss\";\nimport SecurityQuestion from \"./securityQuestion/SecurityQuestion\";\nimport Pin from \"./pin/Pin\";\nimport Spinner from \"./spinner/Spinner\";\nimport Success from \"./success/Success\";\nimport ResetPin from \"./resetPin/ResetPin\";\nimport Failed from \"./failed/Failed\";\nimport { useLocation } from \"react-router-dom\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { WalletDetails } from \"../../../../interfaces/wallet\";\n\nenum ModalProfile {\n ModalProfileNavigator = \"ModalProfileNavigator\",\n ProfileInformation = \"ProfileInformation\",\n Card = \"Card\",\n DirectDebitAccountWeb = \"DirectDebitAccountWeb\",\n BankStatement = \"BankStatement\",\n Transaction = \"Transaction\",\n Password = \"Password\",\n}\n\ninterface TransactionPinProps {\n setCurrentSection?: React.Dispatch>;\n walletDetails: WalletDetails;\n}\n\nfunction TransactionPin({\n setCurrentSection,\n walletDetails,\n}: TransactionPinProps) {\n const [currentStep, setCurrentStep] = useState(0);\n const location = useLocation();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n const handleSelection = () => {\n if (setCurrentSection) {\n setCurrentSection(ModalProfile.ModalProfileNavigator);\n }\n };\n\n useEffect(() => {\n if (walletDetails?.isTransactionPinSet) {\n setCurrentStep(4);\n } else if (walletDetails?.isSecurityQuestionSet) {\n setCurrentStep(1);\n } else {\n setCurrentStep(0);\n }\n }, [walletDetails?.isTransactionPinSet, walletDetails.isSecurityQuestionSet]);\n\n return (\n \n {location.pathname === `/${userInfo?.aggregator_name}` && (\n \n )}\n {currentStep === 0 && (\n \n )}\n {currentStep === 1 && }\n {currentStep === 2 && }\n {currentStep === 3 && }\n {currentStep === 4 && }\n {currentStep === 5 && }\n \n );\n}\n\nexport default TransactionPin;\n","import React, { useState, Dispatch, SetStateAction, useEffect } from \"react\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport { Alert, Button } from \"antd\";\nimport styles from \"./Password.module.scss\";\nimport { useLocation } from \"react-router-dom\";\nimport { PasswordSection } from \"./Password\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface EmailProps {\n setCurrentStep: Dispatch>;\n setUserEmail: Dispatch>;\n}\n\nconst schema = yup.object().shape({\n email: yupValidators.email,\n});\n\nfunction EmailVerification({ setCurrentStep, setUserEmail }: EmailProps) {\n const [isLoading, setIsLoading] = useState(false);\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const location = useLocation();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Profile - (EmailVerification.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const onSubmit = async ({ email }: { email: string }) => {\n setIsLoading(true);\n \n try {\n await postData(\n `${apiEndpoints.generate_otp}?email=${email}&countryCode=${userInfo?.country}`\n );\n setUserEmail(email);\n setCurrentStep(PasswordSection.OtpVerification);\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n })\n );\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Profile - (EmailVerification.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n return (\n <>\n {webStateData.errorMsg && urlExtension[1] !== \"profile\" && (\n
\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n\n \n
\n

Enter the email linked to your account to proceed.

\n
\n\n \n\n \n \n \n \n \n );\n}\n\nexport default EmailVerification;\n","import React, { Fragment, useEffect, useState } from \"react\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { Alert, Button } from \"antd\";\nimport styles from \"./Password.module.scss\";\nimport { useLocation } from \"react-router-dom\";\nimport { PasswordSection } from \"./Password\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface OtpProps {\n setCurrentStep: React.Dispatch>;\n userEmail: string;\n}\n\nconst schema = yup.object().shape({\n otp: yupValidators.otp,\n});\n\nfunction OtpVerification({ setCurrentStep, userEmail }: OtpProps) {\n const [isLoading, setIsLoading] = useState(false);\n const [otpLoading, setOtpLoading] = useState(false);\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const location = useLocation();\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Profile - (OtpVerification.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const cleanPhoneSavedPhoneNo = () => {\n let phoneNo;\n if (userInfo && userInfo.country === \"NG\") {\n phoneNo = userInfo.phoneNumber.replace(/^234/, \"0\");\n } else if (userInfo && userInfo.country === \"KE\") {\n phoneNo = userInfo.phoneNumber.replace(/^254/, \"0\");\n } else if (userInfo && userInfo.country === \"GH\") {\n phoneNo = userInfo.phoneNumber.replace(/^233/, \"0\");\n } else if (userInfo && userInfo.country === \"RW\") {\n phoneNo = userInfo.phoneNumber.replace(/^250/, \"0\");\n } else if (userInfo && userInfo.country === \"UG\") {\n phoneNo = userInfo.phoneNumber.replace(/^256/, \"0\");\n } else if (userInfo && userInfo.country === \"US\") {\n phoneNo = userInfo.phoneNumber.replace(/^1/, \"0\");\n }\n\n return phoneNo;\n };\n\n const onSubmit = async ({ otp }: { otp: string }) => {\n setIsLoading(true);\n try {\n const reqBody = {\n otp,\n email: userEmail,\n phone: cleanPhoneSavedPhoneNo,\n };\n await postData(apiEndpoints.validate_sign_up_otp, reqBody);\n setCurrentStep(PasswordSection.ChangePassword);\n } catch (error: any) {\n dispatch(\n updateWebSettingsAction({ errorMsg: \"OTP verification failed\" })\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Profile - (OtpVerification.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n })\n );\n }, 3000);\n }\n };\n\n const resendOtp = async () => {\n setOtpLoading(true);\n try {\n await postData(\n `${apiEndpoints.generate_otp}?email=${userEmail}&countryCode=${userInfo?.country}`\n );\n dispatch(\n updateWebSettingsAction({\n successMsg: {\n bodyText: \"A new OTP has been sent to your email address.\",\n },\n })\n );\n } catch (error: any) {\n dispatch(updateWebSettingsAction({ errorMsg: \"Operation failed\" }));\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Profile - (OtpVerification.tsx)\",\n },\n });\n } finally {\n setOtpLoading(false);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n })\n );\n }, 3000);\n }\n };\n\n return (\n \n {webStateData.errorMsg && urlExtension[1] !== \"profile\" && (\n
\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n {webStateData.successMsg.bodyText && urlExtension[1] !== \"profile\" && (\n
\n \n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" } })\n )\n }\n />\n
\n )}\n\n \n
\n

A one time password was sent to {userEmail}

\n
\n\n \n\n \n {otpLoading ? \"Please wait...\" : \"Resend OTP\"}\n \n\n
\n \n
\n \n
\n );\n}\nexport default OtpVerification;\n","import React, { useEffect, useState } from \"react\";\nimport { Alert, Button } from \"antd\";\nimport styles from \"./Password.module.scss\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport { useLocation } from \"react-router-dom\";\nimport { PasswordSection } from \"./Password\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface ChangePasswordProps {\n setCurrentStep: React.Dispatch>;\n}\n\nconst schema = yup.object().shape({\n oldPassword: yupValidators.oldPassword,\n newPassword: yupValidators.newPassword,\n confirmNewPassword: yupValidators.confirmNewPassword,\n});\n\ninterface FormData {\n oldPassword: string;\n newPassword: string;\n confirmNewPassword: string;\n}\n\nfunction ChangePassword({ setCurrentStep }: ChangePasswordProps) {\n const [isLoading, setIsLoading] = useState(false);\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const location = useLocation();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Profile - (ChangePassword.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const onSubmit = async ({\n oldPassword,\n newPassword,\n confirmNewPassword,\n }: FormData) => {\n const reqBody = {\n old_password: oldPassword,\n password1: newPassword,\n password2: confirmNewPassword,\n };\n setIsLoading(true);\n if (oldPassword === newPassword) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"Please choose a different password\",\n })\n );\n setIsLoading(false);\n\n setTimeout(() => {\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }));\n }, 3000);\n\n return;\n }\n try {\n await postData(apiEndpoints.updatePassword, reqBody);\n setCurrentStep(PasswordSection.SuccessMessage);\n\n setTimeout(() => {\n localStorage.clear();\n window.location.reload();\n }, 3000);\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Profile - (ChangePassword.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n\n setTimeout(() => {\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }));\n }, 3000);\n }\n };\n\n return (\n
\n {webStateData.errorMsg && urlExtension[1] !== \"profile\" && (\n
\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n
\n

Change Password

\n

\n Must be 8 or more characters, contain at least a number and a special\n character\n

\n
\n\n \n \n\n \n\n \n\n
\n \n
\n \n
\n );\n}\n\nexport default ChangePassword;\n","import React from 'react'\nimport styles from \"./Password.module.scss\"\n\nfunction SuccessMessage() {\n return (\n
\n
\n \n \n \n \n \n

Password reset successful

\n
\n\n
\n )\n}\n\nexport default SuccessMessage","import React, { useState } from 'react'\nimport styles from \"./Password.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport {useLocation} from \"react-router-dom\";\nimport EmailVerification from \"./EmailVerification\";\nimport OtpVerification from \"./OtpVerification\";\nimport ChangePassword from \"./ChangePassword\";\nimport SuccessMessage from \"./SuccessMessage\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\n\nenum ModalProfile {\n ModalProfileNavigator = \"ModalProfileNavigator\",\n ProfileInformation = \"ProfileInformation\",\n Card = \"Card\",\n DirectDebitAccountWeb = \"DirectDebitAccountWeb\",\n BankStatement = \"BankStatement\",\n Transaction = \"Transaction\",\n Password = \"Password\",\n}\n\ninterface PasswordProps {\n setCurrentSection?: React.Dispatch>;\n}\n\nexport enum PasswordSection {\n EmailVerification = \"EmailVerification\",\n OtpVerification = \"OtpVerification\",\n ChangePassword = \"ChangePassword\",\n SuccessMessage = \"SuccessMessage\",\n}\n\nfunction Password({ setCurrentSection }: PasswordProps) {\n const [currentStep, setCurrentStep] = useState(\n PasswordSection.EmailVerification\n );\n const [userEmail, setUserEmail] = useState(\"\");\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const location = useLocation();\n const dispatch = useDispatch();\n\n const handleGoBack = () => {\n if (setCurrentSection) {\n setCurrentSection(ModalProfile.ModalProfileNavigator);\n\n dispatch(\n updateWebSettingsAction({ errorMsg: \"\", successMsg: { bodyText: \"\" } })\n );\n }\n };\n\n const renderPasswordSection = () => {\n switch (currentStep) {\n case PasswordSection.EmailVerification:\n return (\n \n );\n case PasswordSection.OtpVerification:\n return (\n \n );\n case PasswordSection.ChangePassword:\n return ;\n case PasswordSection.SuccessMessage:\n return ;\n }\n };\n\n return (\n
\n {location.pathname === `/${userInfo?.aggregator_name}` && (\n \n )}\n {renderPasswordSection()}\n
\n );\n}\n\nexport default Password;\n","export default __webpack_public_path__ + \"static/media/edit-2.e6c14b58.svg\";","import { useQuery } from \"react-query\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst getDirectDebitExistingAccountsWeb = async ({\n customerId,\n}: {\n customerId: number;\n}) => {\n const directDebitBanksUrl = `/customer/${customerId}/direct_debit_accounts`;\n\n const data = await getData(`${directDebitBanksUrl}`);\n return data.data;\n};\n\nexport default function useDirectDebitExistingAccountsWeb({\n customerId,\n}: {\n customerId: number;\n}) {\n return useQuery(\n [{ customerId }, \"getDirectDebitExistingAccountsWeb\"],\n getDirectDebitExistingAccountsWeb,\n {\n refetchOnWindowFocus: true,\n },\n );\n}\n","import React from \"react\";\nimport { RiFileCopyFill } from \"react-icons/all\";\nimport copy from \"copy-text-to-clipboard\";\nimport styles from \"./DirectDebitWeb.module.scss\";\nimport useDirectDebitExistingAccountsWeb from \"../../../../custom-hooks/useDirectDebitExistingAccountsWeb\";\nimport Loader from \"../../../../components/Loader/Loader\";\nconst ExistingDirectDebitAccountsWeb = () => {\n const data = localStorage.getItem(\"currentUser\");\n const userinfo = data && JSON.parse(data);\n const handleCopy = () => {\n const content = document?.getElementById(\"accountNumber\")?.textContent;\n if (content) {\n copy(content);\n }\n };\n const { data: existingDirectDebitAccountData, error: directdebitError, isLoading: isLoadingDirectDebit } =\n useDirectDebitExistingAccountsWeb({ customerId: userinfo.customerId });\n return (\n
\n
\n {directdebitError && (\n {directdebitError}\n )}\n {isLoadingDirectDebit ? : existingDirectDebitAccountData?.bank_accounts.length > 0 ? (\n existingDirectDebitAccountData?.bank_accounts?.map(\n ({\n account_name,\n account_number,\n bank_name,\n }: {\n account_name: string;\n account_number: string;\n bank_name: any;\n }) => (\n \n
\n
\n

\n {account_number}\n

\n \n {\" \"}\n {account_name}\n \n
\n \n \n
\n
\n

\n {bank_name ? bank_name : \" bank name unavailable\"}\n

\n
\n ),\n )\n ) : (\n
\n

No Data Available

\n
\n )}\n \n \n );\n};\n\nexport default ExistingDirectDebitAccountsWeb;\n","import React, { ChangeEvent, useEffect, useRef, useState } from \"react\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport useFetchBanks from \"../../../../custom-hooks/useFetchBanks\";\nimport { Bank } from \"../../../../interfaces/banks\";\nimport user from \"../../../../assets/profile/user.svg\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport ExistingDirectDebitAccountsWeb from \"./ExistingDirectDebitAccountsWeb\";\nimport { IoIosArrowDown, IoIosArrowUp } from \"react-icons/io\";\nimport { Button } from \"antd\";\nimport styles from \"./DirectDebitWeb.module.scss\";\nimport { useQueryCache } from \"react-query\";\n\nimport { useLocation } from \"react-router-dom\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\nenum ModalProfile {\n ModalProfileNavigator = \"ModalProfileNavigator\",\n ProfileInformation = \"ProfileInformation\",\n Card = \"Card\",\n DirectDebitAccountWeb = \"DirectDebitAccountWeb\",\n BankStatement = \"BankStatement\",\n Transaction = \"Transaction\",\n Password = \"Password\",\n}\n\nconst schema = yup.object().shape({\n bankCode: yupValidators.bankName,\n accountNumber: yupValidators.accountNumber,\n});\n\ninterface DirectDebitAccountWebProps {\n setCurrentSection?: React.Dispatch>;\n}\n\ninterface IBank {\n name?: string;\n code?: number | string;\n}\n\nconst DirectDebitAccountWeb = ({\n setCurrentSection,\n}: DirectDebitAccountWebProps) => {\n const [showBankAccounts, setShowBankAccounts] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const [isLoadingCustomerName, setIsLoadingCustomerName] = useState(false);\n const [customerName, setCustomerName] = useState();\n const [showDropdown, setShowDropdown] = useState(false);\n const [filteredBankList, setFilteredBankList] = useState([]);\n const [bankList, setBankList] = useState([]);\n const [bankDetails, setBankDetails] = useState();\n const [recipientAccountNumber, setRecipientAccountNumber] = useState(\"\");\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const directDebitUrl = `/customer/${userInfo.customerId}/direct_debit_accounts`;\n const queryCache = useQueryCache();\n const customerId = userInfo.customerId;\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const { data: BankData, isLoading: isLoadingBanks } = useFetchBanks({\n country_code: \"NG\",\n });\n const location = useLocation();\n const divRef = useRef(null);\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (DirectDebitAccountWeb.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleSelection = () => {\n if (setCurrentSection) {\n setCurrentSection(ModalProfile.ModalProfileNavigator);\n }\n };\n\n useEffect(() => {\n setBankList(BankData);\n }, [isLoadingBanks]);\n\n const handleInputChange = (e: ChangeEvent) => {\n const value = e.target.value;\n\n setBankDetails({\n ...bankDetails,\n name: value,\n });\n setFilteredBankList(\n bankList.filter((bank) =>\n bank.name.toLowerCase().includes(value.toLowerCase())\n )\n );\n\n setShowDropdown(true);\n };\n\n const handleClose = (e: any) => {\n if (divRef?.current && !divRef?.current.contains(e.target)) {\n setShowDropdown(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleClose);\n\n return () => {\n window.removeEventListener(\"click\", handleClose);\n };\n }, []);\n\n const getBankCode = (name: string) => {\n const result = bankList.filter((bank) => {\n const foundBank = bank.name.toLowerCase() === name.toLowerCase();\n return foundBank\n ? setBankDetails({ ...bankDetails, code: bank.code })\n : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n if (bankDetails?.name) {\n getBankCode(bankDetails?.name);\n }\n }, [bankDetails?.name]);\n\n // const findBankName = BankData?.find(({ code }: { code: string }) => {\n // return code === directDebitBankDetails?.recipient_bank_code;\n // });\n const handleSelectBank = (bank: Bank) => {\n setBankDetails({\n ...bankDetails,\n name: bank.name,\n });\n\n setShowDropdown(false);\n };\n\n const fetchCustomerName = async () => {\n setIsLoadingCustomerName(true);\n try {\n const reqBody = {\n bank_code: bankDetails?.code,\n bank_account_num: recipientAccountNumber,\n };\n\n const userDataResponse = await postData(\n apiEndpoints.customerValidateBankAccount,\n reqBody\n );\n\n setCustomerName(userDataResponse);\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n })\n );\n } catch (error: any) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (DirectDebitAccountWeb.tsx)\",\n },\n });\n } finally {\n setIsLoadingCustomerName(false);\n }\n };\n\n useEffect(() => {\n if (bankDetails?.code && recipientAccountNumber?.length === 10) {\n fetchCustomerName();\n }\n }, [bankDetails?.code, recipientAccountNumber]);\n\n const handleSubmitDirectAccountDetails = async ({\n accountNumber,\n bankCode,\n }: {\n accountNumber: string;\n bankCode: string;\n }) => {\n const reqBody = {\n account_name: customerName?.bank_account_name,\n account_number: accountNumber,\n bank_code: bankDetails?.code,\n bank_name: bankDetails?.name,\n currency: \"NGN\",\n };\n setIsLoading(true);\n\n try {\n let response = await postData(directDebitUrl, reqBody);\n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: response?.message } })\n );\n queryCache.invalidateQueries([\n { customerId },\n \"getDirectDebitExistingAccountsWeb\",\n ]);\n } catch (error: any) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (DirectDebitAccountWeb.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n })\n );\n }, 3000);\n }\n };\n\n return (\n
\n {location.pathname === `/${userInfo?.aggregator_name}` && (\n \n )}\n \n

Direct Debit Accounts

\n setShowBankAccounts(!showBankAccounts)}\n >\n {\" \"}\n View accounts{\" \"}\n {showBankAccounts ? (\n \n ) : (\n \n )}\n

\n
\n {showBankAccounts && }\n \n
\n \n setShowDropdown(true)}\n className={styles.selectedBankField}\n disabled={isLoadingBanks}\n />\n {showDropdown && (\n
    \n {filteredBankList?.length > 0\n ? filteredBankList?.map((bank) => (\n handleSelectBank(bank)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {bank.name}\n \n ))\n : bankList?.map((bank) => (\n handleSelectBank(bank)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {bank.name}\n \n ))}\n
\n )}\n {errors.bankCode?.message}\n
\n\n setRecipientAccountNumber(e.target.value)}\n />\n\n
\n \n \n {isLoadingCustomerName\n ? \"Loading....\"\n : customerName?.bank_account_name}\n \n
\n
\n \n
\n \n \n );\n};\n\nexport default DirectDebitAccountWeb;\n","import React, { useEffect, Dispatch, SetStateAction } from \"react\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport styles from \"./BankStatement.module.scss\";\nimport { useLocation } from \"react-router-dom\";\n\nimport { useGetLinkedBankAccountWeb } from \"../../../../custom-hooks/useGetLinkedBankAccount\";\nimport { Alert } from \"antd\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\nenum ModalProfile {\n ModalProfileNavigator = \"ModalProfileNavigator\",\n ProfileInformation = \"ProfileInformation\",\n Card = \"Card\",\n DirectDebitAccountWeb = \"DirectDebitAccountWeb\",\n BankStatement = \"BankStatement\",\n Transaction = \"Transaction\",\n Password = \"Password\",\n}\n\ninterface BankStatementProps {\n setCurrentSection?: Dispatch>;\n handleBankStatement: () => any;\n isLoadingBankStatementLinkedStatus: boolean;\n bankStatementLinkedStatus: any;\n}\n\nfunction BankStatement({\n setCurrentSection,\n handleBankStatement,\n bankStatementLinkedStatus,\n isLoadingBankStatementLinkedStatus,\n}: BankStatementProps) {\n const location = useLocation();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (BankStatement.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleGoBack = () => {\n if (setCurrentSection) {\n setCurrentSection(ModalProfile.ModalProfileNavigator);\n }\n\n dispatch(\n updateWebSettingsAction({ errorMsg: \"\", successMsg: { bodyText: \"\" } })\n );\n };\n\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n const { data: linkedAccount, isLoading: isLoadingLinkedAccount } =\n useGetLinkedBankAccountWeb({\n customerId: userInfo.customerId,\n });\n\n return (\n \n {location.pathname === `/${userInfo?.aggregator_name}` && (\n \n )}\n\n {webStateData.errorMsg && urlExtension[1] !== \"profile\" && (\n
\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n {webStateData.successMsg.bodyText && urlExtension[1] !== \"profile\" && (\n
\n \n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" } })\n )\n }\n />\n
\n )}\n\n
\n

Bank Statement

\n
\n\n {isLoadingLinkedAccount || isLoadingBankStatementLinkedStatus ? (\n
\n \n \n Please wait, checking if account exists...\n \n
\n ) : linkedAccount?.length > 0 && bankStatementLinkedStatus.status ? (\n
\n \n Providing us with more financial information improves your credit\n eligibility.\n

\n\n \n \n \n \n \n \n \n \n \n {linkedAccount?.map((account: any) => (\n \n \n \n \n \n ))}\n \n
Account NameAccount NoBank Name
{account.accountName}{account.accountNo}{account.bankName}
\n
\n ) : (!linkedAccount || linkedAccount?.length === 0) && bankStatementLinkedStatus.status ? (\n
\n

An error occurred while fetching your linked bank statement! Please contact support.

\n
\n ) : (\n
\n \n Providing us with more financial information improves your credit\n eligibility. To link your bank statement click the button below \n

\n \n
\n )}\n \n );\n}\n\nexport default BankStatement;\n","import React, { useEffect, useState } from \"react\";\nimport styles from \"./Profile.module.scss\";\nimport PersonalInformation from \"./personalInformation/PersonalInformation\";\nimport Card from \"./card/Card\";\nimport TransactionPin from \"./transactionPin/TransactionPin\";\nimport Password from \"./password/Password\";\nimport nouser from \"../../../assets/web/nouser.svg\";\nimport edit from \"../../../assets/web/edit-2.svg\";\nimport arrowDown from \"../../../assets/web/arrow-down.svg\";\nimport DirectDebitAccountWeb from \"./DirectDebitAccountsWeb/DirectDebitAccountWeb\";\nimport BankStatement from \"./bankStatement/BankStatement\";\nimport { Alert } from \"antd\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../redux/actions\";\nimport mixpanel from \"mixpanel-browser\";\nimport { MixPanel } from \"../../../helpers/mixpanel\";\n\nenum ProfileSection {\n PersonalInformation = \"PersonalInformation\",\n Card = \"Card\",\n DirectDebit = \"DirectDebit\",\n BankStatement = \"BankStatement\",\n TransactionPin = \"TransactionPin\",\n Password = \"Password\",\n}\n\nconst Profile = ({\n walletDetails,\n handleBankStatement,\n isLoadingBankStatementLinkedStatus,\n bankStatementLinkedStatus,\n}: any) => {\n const [currentSection, setCurrentSection] = useState(\n ProfileSection.PersonalInformation,\n );\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n useEffect(() => {\n MixPanel.track(`Page View: Profile.tsx`, {\n page: \"Profile.tsx - (Web)\",\n });\n }, []);\n\n const renderProfileSection = () => {\n switch (currentSection) {\n case ProfileSection.PersonalInformation:\n return ;\n case ProfileSection.Card:\n return ;\n case ProfileSection.DirectDebit:\n return ;\n case ProfileSection.BankStatement:\n return (\n \n );\n case ProfileSection.TransactionPin:\n return ;\n case ProfileSection.Password:\n return ;\n default:\n return null;\n }\n };\n\n return (\n
\n {webStateData.errorMsg && (\n
\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n {webStateData.successMsg.bodyText && (\n
\n \n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" } }),\n )\n }\n />\n
\n )}\n
\n

Profile

\n
\n\n
\n
\n \n \n \"\"\n \n
\n
\n {userInfo?.business_registration_number ? (\n {userInfo?.company_name}\n ) : (\n \n {userInfo?.first_name} {userInfo?.last_name}\n \n )}\n {userInfo?.email}\n
\n
\n\n
\n
\n
\n \n setCurrentSection(ProfileSection.PersonalInformation)\n }\n >\n {userInfo?.business_registration_number\n ? \"Business Information\"\n : \"Personal Information\"}\n
\n setCurrentSection(ProfileSection.Card)}\n >\n Card\n
\n {userInfo.country === \"NG\" && (\n setCurrentSection(ProfileSection.DirectDebit)}\n >\n Direct Debit Accounts\n
\n )}\n setCurrentSection(ProfileSection.BankStatement)}\n >\n Bank Statement\n
\n setCurrentSection(ProfileSection.TransactionPin)}\n >\n Transaction Pin\n \n setCurrentSection(ProfileSection.Password)}\n >\n Password\n \n \n\n
\n \n setCurrentSection(e.target.value as ProfileSection)\n }\n >\n \n \n {userInfo.country === \"NG\" && (\n \n )}\n \n \n \n \n\n \"\"\n
\n
{renderProfileSection()}
\n \n \n \n );\n};\n\nexport default Profile;\n","import React, { useEffect, useState } from \"react\";\nimport styles from \"./ContactUs.module.scss\";\nimport CustomInputField from \"../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { IoIosArrowUp, IoIosArrowDown } from \"react-icons/io\";\nimport { Icon } from \"@iconify/react\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../helpers/yupValidators\";\nimport CustomTextArea from \"../../../components/CustomHTMLElements/CustomTextArea\";\nimport useFetchCountries from \"../../../custom-hooks/useFetchCountries\";\nimport { postData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { Alert, Button } from \"antd\";\nimport { useHistory } from \"react-router-dom\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\nimport mixpanel from \"mixpanel-browser\";\nimport cleanPhoneSavedPhoneNo from \"../../../helpers/cleanSavedPhoneNumber\";\nimport { MixPanel } from \"../../../helpers/mixpanel\";\n\nconst schema = yup.object().shape({\n email: yupValidators.email,\n phoneNumber: yupValidators.phone_number,\n fullName: yupValidators.fullName,\n note: yupValidators.note,\n});\n\ninterface CountryCode {\n country_code?: string;\n currency?: string;\n dial_code?: string;\n id?: number;\n is_active?: number;\n name?: string;\n}\n\ninterface FormData {\n fullName: string;\n email: string;\n note: string;\n phoneNumber: string;\n}\n\nfunction ContactUs() {\n const [currentStep, setCurrentStep] = useState(0);\n const [searchText, setSearchText] = useState(\"\");\n const [searchedResults, setSearchedResults] = useState([]);\n const [displayCountry, setDisplayCountry] = useState(false);\n const [error, setError] = useState(\"\");\n const [searchTimeout, setSearchTimeout] = useState(\n null,\n );\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const [userQuery, setUserQuery] = useState({\n full_name: `${userInfo?.first_name} ${userInfo?.last_name}`,\n phone_number: cleanPhoneSavedPhoneNo(userInfo),\n email: userInfo?.email,\n });\n const [isLoading, setIsLoading] = useState(false);\n const [selectedCountry, setSelectedCountry] = useState({\n country_code: \"ng\",\n dial_code: \"234\",\n });\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const history = useHistory();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (ContactUs.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: ContactUs.tsx`, {\n page: \"ContactUs.tsx - (Web)\",\n });\n }, []);\n\n const { data: countryLists } = useFetchCountries();\n\n useEffect(() => {\n setSelectedCountry({\n country_code: userInfo?.country?.toLowerCase(),\n dial_code: userInfo?.phoneNumberCountryDialCode,\n });\n }, [userInfo?.phoneNumberCountryDialCode, userInfo?.country]);\n\n const handleButtonClick = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n const handleCountryDisplay = () => {\n setDisplayCountry((prev) => !prev);\n };\n\n const handleCountrySelection = (country: CountryCode) => {\n setSelectedCountry({\n country_code: country?.country_code?.toLowerCase(),\n dial_code: String(country.dial_code),\n });\n setDisplayCountry(false);\n };\n\n const filterPrompts = (searchText: string) => {\n const regex = new RegExp(searchText, \"i\");\n\n return countryLists.filter((country: CountryCode) => {\n const name = country.name || \"\";\n const countryCode = country.country_code || \"\";\n\n return regex.test(name) || regex.test(countryCode);\n });\n };\n\n const handleSearchChange = (e: React.ChangeEvent) => {\n clearTimeout(searchTimeout as NodeJS.Timeout);\n setSearchText(e.target.value);\n\n //debounce method\n setSearchTimeout(\n setTimeout(() => {\n const searchResult = filterPrompts(e.target.value);\n setSearchedResults(searchResult);\n }, 500),\n );\n };\n\n const onSubmit = async ({ fullName, email, phoneNumber, note }: FormData) => {\n setIsLoading(true);\n const reqBody = {\n customer_id: userInfo?.customerId,\n name: fullName,\n email,\n phone_number: phoneNumber,\n message: note,\n };\n try {\n await postData(apiEndpoints.contactUs, reqBody);\n handleButtonClick();\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (ContactUs.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n const handleDone = () => {\n history.push(`/${userInfo?.aggregator_name}`);\n };\n\n const renderContent = () => {\n switch (currentStep) {\n case 0:\n return (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n \n \n setUserQuery({ ...userQuery, full_name: e.target.value })\n }\n />\n\n
\n \n
\n
\n \n {selectedCountry.dial_code}\n {displayCountry ? (\n \n ) : (\n \n )}\n
\n \n setUserQuery({\n ...userQuery,\n phone_number: e.target.value,\n })\n }\n placeholder=\"07000000000\"\n ref={register}\n />\n
\n {displayCountry && (\n
\n \n
    \n {searchText\n ? searchedResults?.map((country) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))\n : countryLists?.map((country: CountryCode) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))}\n
\n
\n )}\n \n {errors.phoneNumber?.message}\n \n
\n\n \n setUserQuery({ ...userQuery, email: e.target.value })\n }\n errors={errors.email}\n reference={register}\n />\n\n \n\n
\n \n
\n \n
\n );\n case 1:\n return (\n
\n
\n \n \n \n \n \n

Ticket Submitted

\n
\n\n
\n \n
\n
\n );\n\n default:\n return null;\n }\n };\n\n return (\n
\n
\n

Contact Support

\n
\n {renderContent()}\n
\n );\n}\n\nexport default ContactUs;\n","import React, {\n ChangeEvent,\n Dispatch,\n SetStateAction,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { Alert, Button } from \"antd\";\nimport styles from \"./LoanRequest.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport { LoanProduct, TenorProps } from \"../../../../interfaces/loan\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport arrowDown from \"../../../../assets/web/arrow-down.svg\";\nimport arrowUp from \"../../../../assets/web/arrow-up-1.svg\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { useLocation } from \"react-router-dom\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport { Setting } from \"../../../../interfaces/borrower\";\n\nconst schema = yup.object().shape({\n amount: yupValidators.amount,\n loanProduct: yupValidators.loanProduct,\n tenor: yupValidators.tenor,\n});\n\ninterface LoanRequestProps {\n products: LoanProduct[];\n isLoadingProducts: boolean;\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n}\n\ninterface FormData {\n amount: string;\n loanProduct: string;\n tenor: string;\n repaymentDate: string;\n firstRepaymentDate: string;\n numberOfRepayments: string;\n}\n\ninterface ISelectedProduct {\n productId: number;\n monthly_interest_rate: number;\n}\n\nfunction LoanRequestStepOne({\n products,\n isLoadingProducts,\n setCurrentStep,\n error,\n setError,\n}: LoanRequestProps) {\n const [loanInputData, setLoanInputData] = useState(\"\");\n const [inputFieldError, setInputFieldError] = useState({\n amount: \"\",\n tenor: \"\",\n });\n const [loading, setLoading] = useState(false);\n const [productList, setProductList] = useState([]);\n const [tenorList, setTenorList] = useState([]);\n const [filteredProductList, setFilteredProductList] = useState(\n [],\n );\n const [selectedProductName, setSelectedProductName] = useState(\"\");\n const [tenor, setTenor] = useState(\"\");\n const [selectedTenorValue, setSelectedTenorValue] = useState();\n const [selectedProduct, setSelectedProduct] =\n useState(null);\n const [selectedLoanProductDetailId, setSelectedLoanProductDetailId] =\n useState();\n const dispatch = useDispatch();\n const selectedLoanData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n const [showProductDropdown, setShowProductDropdown] =\n useState(false);\n const [showTenorDropdown, setShowTenorDropdown] = useState(false);\n const [customTenor, setCustomTenor] = useState(false);\n const productDivRef = useRef(null);\n const tenorDivRef = useRef(null);\n const location = useLocation();\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const { courseDescription, courseAmount } = borrowerDetails;\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const loanDetailsState = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestStepOne.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestStepOne.tsx`, {\n page: \"LoanRequestStepOne.tsx - (Web)\",\n });\n }, []);\n\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n const getSelectedProduct = (name: string) => {\n const result = products?.find((product: LoanProduct) => {\n const productId =\n product.product_name.toLowerCase() === name.toLowerCase();\n return productId\n ? setSelectedProduct((prev: ISelectedProduct | null) => ({\n ...prev,\n productId: product.id,\n monthly_interest_rate: product.monthly_interest_rate,\n }))\n : null;\n });\n\n return result;\n };\n const getSelectedProductDetailId = (name: string) => {\n const result = products?.find((product: LoanProduct) => {\n const productId =\n product.product_name.toLowerCase() === name.toLowerCase();\n return productId ? setSelectedLoanProductDetailId(product.id) : null;\n });\n\n return result;\n };\n\n const getTenorValue = (tenor: string) => {\n const result = tenorList?.find((tenors: any) => {\n const tenorValue = tenors.tenor === tenor;\n return tenorValue ? setSelectedTenorValue(tenors.tenorValue) : null;\n });\n return result;\n };\n\n useEffect(() => {\n getSelectedProduct(selectedProductName);\n getSelectedProductDetailId(selectedProductName);\n }, [selectedProductName]);\n\n useEffect(() => {\n getTenorValue(tenor);\n }, [tenor]);\n\n useEffect(() => {\n setProductList(products);\n }, [isLoadingProducts]);\n\n const selectedProductTenor = () => {\n const result = products?.find((product: LoanProduct) => {\n const productName =\n product.product_name.toLowerCase() ===\n selectedProductName.toLowerCase();\n return productName ? setTenorList(product.tenors) : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n let formattedValue: string = \"\";\n const loanAmount = loanDetailsState.equity_contribution_loanAmount;\n if (loanAmount) {\n formattedValue = new Intl.NumberFormat(\"en-US\").format(\n Number(loanAmount),\n );\n setLoanInputData(formattedValue);\n }\n }, [loanDetailsState.equity_contribution_loanAmount]);\n\n useEffect(() => {\n selectedProductTenor();\n }, [selectedProductName]);\n\n useEffect(() => {\n if (selectedProduct?.productId) {\n const chosenProduct = products?.find(\n (product: LoanProduct) =>\n product.id === Number(selectedProduct?.productId),\n );\n\n dispatch(\n updateLoanDetailsAction({\n id: chosenProduct?.id,\n maximum_tenor: chosenProduct?.maximum_tenor,\n maximum_amount: chosenProduct?.maximum_amount,\n aggregator_id: chosenProduct?.aggregator_id,\n product_name: chosenProduct?.product_name,\n repayment_type: chosenProduct?.repayment_type,\n }),\n );\n }\n }, [products, selectedProduct?.productId]);\n\n const handleChange = (e: ChangeEvent) => {\n // Remove non-numeric characters\n const rawValue = e.target.value.replace(/\\D/g, \"\");\n let formattedValue: string;\n if (rawValue !== \"\" && !selectedProductName) {\n setError(\"Please select a loan product\");\n } else if (selectedProductName) {\n setError(\"\");\n if (rawValue === \"\") {\n formattedValue = \"\";\n } else {\n formattedValue = new Intl.NumberFormat(\"en-US\").format(\n Number(rawValue),\n );\n }\n setLoanInputData(formattedValue);\n }\n\n const enteredValue = Number(rawValue);\n\n if (\n selectedLoanData?.maximum_amount &&\n enteredValue > selectedLoanData?.maximum_amount\n ) {\n setInputFieldError({\n ...inputFieldError,\n amount: `Maximum loan amount is ${selectedLoanData?.maximum_amount.toLocaleString()}`,\n });\n } else {\n setInputFieldError({\n ...inputFieldError,\n amount: \"\",\n });\n }\n };\n\n const handleProductChange = (e: React.ChangeEvent) => {\n const value = e.target.value;\n setSelectedProductName(value);\n if (value) {\n setError(\"\");\n } else {\n setError(\"Please select a loan product\");\n setTenorList(null);\n setTenor(\"\");\n }\n\n if (value) {\n setError(\"\");\n }\n\n setFilteredProductList(\n productList?.filter((product) =>\n product.product_name.toLowerCase().includes(value.toLowerCase()),\n ),\n );\n\n setShowProductDropdown(true);\n };\n\n const handleTenorChange = (e: React.ChangeEvent) => {\n const rawValue = e.target.value.replace(/\\D/g, \"\");\n\n if (rawValue !== \"\" && !selectedProductName) {\n setError(\"Please select a loan product\");\n } else {\n const enteredValue = Number(rawValue);\n const parsedTenor = parseInt(rawValue, 10);\n if (selectedLoanData?.maximum_amount && selectedLoanData?.maximum_tenor) {\n if (\n selectedLoanData?.maximum_amount &&\n enteredValue > selectedLoanData?.maximum_tenor\n ) {\n setInputFieldError({\n ...inputFieldError,\n tenor: `Maximum loan tenor is ${selectedLoanData?.maximum_tenor}days`,\n });\n } else {\n setInputFieldError({\n ...inputFieldError,\n tenor: \"\",\n });\n }\n }\n setTenor(rawValue);\n setSelectedTenorValue(parsedTenor);\n setError(\"\");\n\n setShowTenorDropdown(true);\n }\n };\n\n const handleSelectedProduct = (product: LoanProduct) => {\n setSelectedProductName(product.product_name);\n if (product) {\n setError(\"\");\n }\n\n setShowProductDropdown(false);\n };\n\n const handleSelectedTenor = (tenor: any) => {\n setTenor(tenor.tenor);\n if (tenor) {\n setError(\"\");\n }\n\n setShowTenorDropdown(false);\n };\n\n const onSubmit = async ({ amount, tenor }: FormData) => {\n setError(\"\");\n if (selectedLoanData?.product_name) {\n if (inputFieldError.amount || inputFieldError.tenor) return;\n setLoading(true);\n\n const payload = {\n productId: selectedLoanProductDetailId,\n loanTenor: selectedTenorValue,\n principalAmount: Number(amount!.replace(/\\$\\s?|(,*)/g, \"\").trim()),\n aggregatorId: userInfo?.aggregatorId,\n loanTenorInputType: customTenor ? \"Custom\" : \"Default\",\n };\n\n try {\n const res = await postData(\n `${apiEndpoints.generateLoanDetails}?isWidget=${false}`,\n payload,\n );\n\n if (res?.status) {\n res.data.loan_amount = Number(\n amount!.replace(/\\$\\s?|(,*)/g, \"\").trim(),\n );\n\n res.data.product_name =\n res.data.product_name ?? selectedLoanData?.product_name;\n\n res.data.repayment_type =\n res.data.repayment_type ?? selectedLoanData?.repayment_type;\n\n dispatch(\n updateLoanDetailsAction({\n loan_amount: res.data.totalPrincipalDisbursed,\n loan_name: selectedLoanData?.product_name,\n product_id: selectedLoanData.id,\n loan_tenure: Number(selectedTenorValue),\n business_registration_number:\n userInfo?.business_registration_number,\n\n currency: { code: res.data?.currency.code },\n totalPrincipalDisbursed: res.data?.totalPrincipalDisbursed,\n totalInterestCharged: res.data?.totalInterestCharged,\n loanTermInDays: res.data?.loanTermInDays,\n totalRepaymentExpected: res.data?.totalRepaymentExpected,\n product_name: res.data?.product_name,\n repayment_type: res.data?.repayment_type,\n periods: res.data?.periods,\n loan_tenor_input_type: customTenor ? \"Custom\" : \"Default\",\n }),\n );\n }\n if (requireEquityContribution && courseAmount && courseDescription) {\n setCurrentStep(2);\n } else {\n setCurrentStep(1);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (LoanRequestStepOne.tsx)\",\n },\n });\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${amount}`,\n \"loan tenor\": `${selectedTenorValue}`,\n \"aggregator ID\": `${userInfo.aggregator_id}`,\n \"product name\": `${selectedLoanData?.product_name}`,\n \"loan status\": `Application failed: ${error.response?.data?.message ?? error.message}`,\n step: \"LoanRequestStepOne\",\n });\n } finally {\n setLoading(false);\n dispatch(\n updateLoanDetailsAction({\n maximum_amount: null,\n maximum_tenor: null,\n }),\n );\n }\n }\n };\n\n const handleCloseProductList = (e: any) => {\n if (productDivRef?.current && !productDivRef?.current.contains(e.target)) {\n setShowProductDropdown(false);\n }\n };\n\n const handleCloseTenorList = (e: any) => {\n if (tenorDivRef?.current && !tenorDivRef?.current.contains(e.target)) {\n setShowTenorDropdown(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleCloseProductList);\n window.addEventListener(\"click\", handleCloseTenorList);\n\n return () => {\n window.removeEventListener(\"click\", handleCloseProductList);\n window.removeEventListener(\"click\", handleCloseTenorList);\n };\n }, []);\n\n const handlePreviousPage = () => {\n if (requireEquityContribution) {\n setCurrentStep(13);\n } else {\n dispatch(\n updateWebSettingsAction({\n showLoanRequestModal: false,\n showLoanOptions: true,\n }),\n );\n }\n };\n\n return (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n {urlExtension[1] !== \"loan\" && (\n \n )}\n
\n

Loan Request

\n

Enter the following information to begin

\n
\n
\n
\n \n
\n setShowProductDropdown(true)}\n className={styles.input_field}\n disabled={isLoadingProducts}\n />\n {!showProductDropdown ? (\n setShowProductDropdown(true)}\n />\n ) : (\n setShowProductDropdown(false)}\n />\n )}\n
\n {showProductDropdown && (\n
    \n {filteredProductList.length > 0\n ? filteredProductList?.map((product) => (\n handleSelectedProduct(product)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {product.product_name}\n \n ))\n : productList?.map((product) => (\n handleSelectedProduct(product)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {product.product_name}\n \n ))}\n
\n )}\n {errors.loanProduct?.message}\n
\n\n
\n
\n \n handleChange(e)}\n readOnly={\n requireEquityContribution &&\n !!loanDetailsState.equity_contribution_loanAmount\n }\n />\n
\n {errors.amount?.message}\n {inputFieldError.amount}\n
\n\n
\n {customTenor ? (\n
\n
\n
\n \n\n {\n if (!selectedProductName) {\n setError(\"Please select a loan product\");\n }\n }}\n />\n
\n {errors.tenor?.message}\n {inputFieldError.tenor}\n
\n\n {selectedProduct && (\n

\n Loan Interest is {selectedProduct?.monthly_interest_rate}%\n

\n )}\n\n {\n setTenor(\"\");\n setCustomTenor(false);\n }}\n >\n Pick Tenor\n \n
\n ) : (\n <>\n \n
\n {\n if (!selectedProductName) {\n setError(\"Please select a loan product\");\n } else {\n setShowTenorDropdown(true);\n }\n }}\n className={styles.input_field}\n disabled={isLoadingProducts}\n />\n {!showTenorDropdown ? (\n setShowTenorDropdown(true)}\n />\n ) : (\n setShowTenorDropdown(false)}\n />\n )}\n
\n {showTenorDropdown && (\n
    \n {tenorList?.map((tenor: any) => (\n handleSelectedTenor(tenor)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {tenor.tenor}\n \n ))}\n
  • \n {\n setSelectedTenorValue(null);\n setCustomTenor(true);\n }}\n >\n Custom Tenor\n \n
  • \n
\n )}\n {errors.tenor?.message}\n {selectedProduct && (\n

\n Loan Interest is {selectedProduct?.monthly_interest_rate}%\n

\n )}\n \n )}\n
\n\n {selectedLoanData && (\n
\n
\n \n \n
\n
\n )}\n\n
\n\n \n {loading ? \"Processing loan...\" : \"Proceed\"}\n \n \n
\n );\n}\n\nexport default LoanRequestStepOne;\n","import React, { Dispatch, SetStateAction, useEffect } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface LoanRequestProps {\n onNextStep: () => void;\n onPrevStep: () => void;\n setCurrentStep: Dispatch>;\n walletDetails: any;\n}\n\nfunction LoanRequestStepTwo({\n onNextStep,\n onPrevStep,\n walletDetails,\n}: LoanRequestProps) {\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestStepTwo.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestStepTwo.tsx`, {\n page: \"LoanRequestStepTwo.tsx - (Web)\",\n });\n }, []);\n\n return (\n
\n \n
\n

Loan Request

\n

\n Funds will be disbursed into this wallet when your loan is approved\n

\n
\n\n
\n Wallet Balance\n {walletDetails?.availableBalance\n .toLocaleString()\n .split(\"\")\n .includes(\".\") ? (\n \n ₦\n \n {walletDetails?.availableBalance?.toLocaleString() ?? 0}\n \n \n ) : (\n \n ₦\n \n {walletDetails?.availableBalance?.toLocaleString() ?? 0}.\n \n 00\n \n )}\n
\n\n \n
\n );\n}\n\nexport default LoanRequestStepTwo;\n","import React, { useState, Dispatch, SetStateAction, useEffect } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport { formatCurrency } from \"../../../../helpers/formatCurrency\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\nimport { Button } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { LoanProduct } from \"../../../../interfaces/loan\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport infoCircle from \"../../../../assets/info-circle-orange.svg\";\n\ninterface LoanRequestProps {\n products: LoanProduct[];\n handleCancel: () => void;\n setCurrentStep: Dispatch>;\n cards: string[];\n existingDirectDebitAccountData: any;\n residentialInfoStatus: any;\n globalSettings: any;\n}\n\nfunction LoanRequestStepThree({\n products,\n handleCancel,\n cards,\n setCurrentStep,\n existingDirectDebitAccountData,\n residentialInfoStatus,\n globalSettings,\n}: LoanRequestProps) {\n const [viewMore, setViewMore] = useState(false);\n const dispatch = useDispatch();\n const loanData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n // const handleNext = () => {\n // if (cards?.length === 0) {\n // setCurrentStep(7);\n // } else {\n // setCurrentStep(3);\n // }\n // };\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestStepThree.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestStepThree.tsx`, {\n page: \"LoanRequestStepThree.tsx - (Web)\",\n });\n }, []);\n\n const specificProduct = products?.find(\n (product: { id: number }) => product.id === loanData?.product_id,\n );\n\n // repayment channel id === 6 means direct debit\n useEffect(() => {\n if (\n specificProduct?.repayment_channel_id === 6 ||\n specificProduct?.repayment_channel_id === 7\n ) {\n dispatch(updateWebSettingsAction({ IsDirectDebit: true }));\n } else {\n dispatch(updateWebSettingsAction({ IsDirectDebit: false }));\n }\n }, [specificProduct]);\n\n function loanAcceptanceHandler() {\n if (webStateData?.IsDirectDebit) {\n if (existingDirectDebitAccountData?.bank_accounts.length > 0) {\n setCurrentStep(8);\n } else {\n setCurrentStep(11);\n }\n } else if (\n !webStateData?.IsDirectDebit &&\n (!cards || cards?.length === 0)\n ) {\n setCurrentStep(7);\n } else if (\n !webStateData?.IsDirectDebit &&\n cards &&\n cards.length > 0 &&\n !residentialInfoStatus\n ) {\n setCurrentStep(12);\n } else {\n setCurrentStep(3);\n }\n }\n\n const handleScheduleView = () => {\n setViewMore((prev) => !prev);\n };\n\n return (\n
\n
\n

Loan Offer

\n

\n Based on the selected loan product, you are eligible for this offer.\n

\n
\n\n
\n
\n

{loanData?.product_name}

\n \n Loan Amount\n {`${loanData?.currency?.code}${formatCurrency(\n loanData?.totalPrincipalDisbursed || 0,\n )}`}\n \n \n Loan Tenor\n {`${loanData?.loanTermInDays} days`}\n \n \n Total Repayment\n {`${loanData?.currency?.code}${formatCurrency(\n loanData?.totalRepaymentExpected || 0,\n )}`}\n \n \n Loan Interest\n {`${loanData?.currency?.code}${formatCurrency(\n loanData?.totalInterestCharged || 0,\n )}`}\n \n \n Repayment Frequency\n {loanData?.repayment_type}\n \n
\n\n
\n

Loan Schedule

\n\n {viewMore\n ? loanData?.periods?.map((schedule: any, index) => (\n
\n {index + 1}\n \n \n ₦{schedule?.totalDueForPeriod.toLocaleString()}\n \n {`${schedule?.dueDate[2]}-${schedule?.dueDate[1]}-${schedule?.dueDate[0]}`}\n \n
\n ))\n : loanData?.periods.slice(0, 6).map((schedule: any, index) => (\n
\n {index + 1}\n \n \n ₦{schedule?.totalDueForPeriod.toLocaleString()}\n \n {`${schedule?.dueDate[2]}-${schedule?.dueDate[1]}-${schedule?.dueDate[0]}`}\n \n
\n ))}\n\n {loanData!.periods?.length > 6 && (\n
\n \n {viewMore ? \"View Less\" : \"View All Schedule\"}\n \n
\n )}\n
\n
\n\n
\n \"info-circle\"\n

\n Late repayment will attract additional charges of{\" \"}\n {globalSettings?.late_repayment_fee}%\n

\n
\n\n
\n \n\n \n
\n
\n );\n}\n\nexport default LoanRequestStepThree;\n","import React, { Dispatch, SetStateAction, useEffect, useRef } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport useFetchTermsAndConditions from \"../../../../custom-hooks/useFetchTermsAndConditions\";\nimport { postData, putData } from \"../../../../apis/apiMethods\";\nimport Okra from \"okra-js\";\nimport MonoConnect from \"@mono.co/connect.js\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport CONFIG from \"../../../../helpers/config\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { useQueryCache } from \"react-query\";\nimport { decrypt } from \"../../../../helpers/encryptor\";\nimport { Alert, Button } from \"antd\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ISuccess } from \"../../../../interfaces/success\";\nimport {\n updateMonoWidgetDataAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport DOMPurify from \"dompurify\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface LoanRequestStepFourProps {\n onPrevStep: () => void;\n handleCancel: () => void;\n setCurrentStep: Dispatch>;\n userExistsData: any;\n isLoadingUserExist: any;\n bankStatementLinkedStatus: any;\n isLoadingBankStatementLinkedStatus: boolean;\n setError: Dispatch>;\n setSuccess: Dispatch>;\n aggregator_id: number;\n customer_id: number;\n bank_statement_provider_id: number;\n error: string;\n success: ISuccess;\n // handleBankStatementOrCreateLoan: () => void;\n}\n\nfunction createMarkup(html: any) {\n return {\n __html: DOMPurify.sanitize(html),\n };\n}\n\nfunction LoanRequestStepFour({\n onPrevStep,\n handleCancel,\n setCurrentStep,\n userExistsData,\n isLoadingUserExist,\n bankStatementLinkedStatus,\n isLoadingBankStatementLinkedStatus,\n setError,\n setSuccess,\n customer_id,\n aggregator_id,\n bank_statement_provider_id,\n error,\n success,\n}: LoanRequestStepFourProps) {\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const accountLinkSuccessRef = useRef(null);\n\n const dispatch = useDispatch();\n const loanStateData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n const monoWidgetData = useSelector(\n (state: ReduxStoreModel) => state.monoWidgetDataReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestStepFour.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestFinalStep.tsx`, {\n page: \"LoanRequestFinalStep.tsx - (Web)\",\n });\n }, []);\n\n const queryCache = useQueryCache();\n\n function handleLaunchOkraWidget() {\n if (!CONFIG.OKRA_PUBLIC_KEY || !CONFIG.OKRA_CLIENT_TOKEN) {\n return setError(\"Update Config for Okra\");\n }\n\n Okra.buildWithOptions({\n name: \"ADVANCLY\",\n env: CONFIG.OKRA_ENV,\n app_id: \"\", // app_id from your app builder\n key: CONFIG.OKRA_PUBLIC_KEY,\n token: CONFIG.OKRA_CLIENT_TOKEN,\n products: [\"auth\", \"transactions\"], //others are ['auth','identity','balance','transactions', 'income'](in lowercase)\n onSuccess: function (data: any) {\n console.log(\"options success\", data);\n handleSaveCustomerCode(data?.customer_id, \"okra\");\n },\n onClose: function () {\n console.log(\"options close\");\n },\n });\n }\n\n const monoConnect = React.useMemo(() => {\n if (!CONFIG.MONO_PUBLIC_KEY) {\n return setError(\"Update Config for Mono\");\n }\n const customer = {\n name: `${userInfo?.first_name} ${userInfo?.last_name}`,\n email: userInfo?.email,\n };\n const monoInstance = new MonoConnect({\n onClose: () => {\n if (!accountLinkSuccessRef.current) {\n setCurrentStep(9);\n console.log(\"closed\");\n } else {\n console.log(\"Widget closed successfully\");\n }\n //Below appinsights is tracking the widget data\n appInsights.trackEvent({\n name: \"MonoWidgetData\",\n properties: {\n opened: monoWidgetData?.opened,\n opened_dateTimeStamp: monoWidgetData?.opened_dateTimeStamp,\n customer_email: monoWidgetData?.customer_email,\n is_institution_selected: monoWidgetData?.is_institution_selected,\n selected_institution_name:\n monoWidgetData?.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData?.institution_selected_dateTimeStamp,\n AccountLinkStatus: accountLinkSuccessRef.current,\n },\n });\n },\n onLoad: () => console.log(\"Loaded successfully\"),\n key: CONFIG.MONO_PUBLIC_KEY,\n data: { customer },\n onSuccess: async (data: { code: string }) => {\n accountLinkSuccessRef.current = true;\n handleSaveCustomerCode(data?.code, \"mono\");\n },\n onEvent: async (eventName: string, data: any) => {\n if (eventName === \"OPENED\") {\n console.log(\"Widget is open!\");\n dispatch(\n updateMonoWidgetDataAction({\n opened: true,\n opened_dateTimeStamp: data?.timestamp,\n customer_email: userInfo?.email,\n }),\n );\n } else if (eventName === \"INSTITUTION_SELECTED\") {\n dispatch(\n updateMonoWidgetDataAction({\n is_institution_selected: true,\n selected_institution_name: data.institution.name,\n institution_selected_dateTimeStamp: data?.timestamp,\n }),\n );\n }\n },\n });\n\n monoInstance.setup();\n\n return monoInstance;\n //eslint-disable-next-line\n }, []);\n\n const handleSaveCustomerCode = async (\n code: string,\n provider: \"okra\" | \"mono\",\n ) => {\n //Call d api to store the code\n console.log({ customerId: code });\n const reqBody = {\n bank_statement_provider_id: provider === \"okra\" ? 1 : 2,\n bank_statement_provider_customer_code: provider === \"okra\" ? code : \"\",\n authentication_code: provider === \"mono\" ? code : \"\",\n customer_id: userInfo?.customerId,\n aggregator_id: userInfo?.aggregatorId,\n };\n try {\n dispatch(updateWebSettingsAction({ isSavingProvider: true }));\n await putData(apiEndpoints.saveBankstatementProviderWeb, reqBody);\n setSuccess({\n ...success,\n bodyText: \"Bank provider details saved successfully\",\n });\n queryCache.invalidateQueries([\n { aggregator_id, customer_id, bank_statement_provider_id },\n \"fetchBankStatementProviderStatus\",\n ]);\n handleCreateLoan().finally();\n } catch (error) {\n setError(\"Something went wrong please try again\");\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (LoanRequestStepFour.tsx)\",\n },\n });\n } finally {\n dispatch(updateWebSettingsAction({ isSavingProvider: false }));\n }\n };\n\n const handleBankStatementOrCreateLoan = () => {\n if (!isLoadingUserExist && !isLoadingBankStatementLinkedStatus) {\n if (!bankStatementLinkedStatus?.status && handleLaunchOkraWidget) {\n if (userExistsData?.bank_statement_provider?.toLowerCase() === \"okra\") {\n handleLaunchOkraWidget();\n } else {\n //@ts-ignore\n monoConnect.open();\n }\n } else {\n handleCreateLoan().finally();\n }\n }\n };\n\n async function handleCreateLoan() {\n setSuccess({ ...success, bodyText: \"\" });\n setCurrentStep(4);\n\n const formattedMonoWidgetData = JSON.stringify({\n opened: monoWidgetData?.opened,\n customer_email: monoWidgetData?.customer_email,\n opened_dateTimeStamp: monoWidgetData?.opened_dateTimeStamp,\n is_institution_selected: monoWidgetData?.is_institution_selected,\n selected_institution_name: monoWidgetData?.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData?.institution_selected_dateTimeStamp,\n })\n .replace(/\"([^\"]+)\":/g, \"$1:\")\n .replace(/\"/g, \"\");\n\n try {\n const res = await postData(apiEndpoints.customerProcessCustomerLoan, {\n loan_amount: loanStateData?.loan_amount,\n loan_name: loanStateData?.loan_name,\n loan_tenure: loanStateData?.loan_tenure,\n product_id: loanStateData?.product_id,\n repayment_start_date: loanStateData?.repayment_start_date,\n bvn_checker: userInfo?.isBvnVerified,\n annual_interest_rate: loanStateData?.annual_interest_rate,\n aggregator_loan_ref: Date.now().toString(),\n bvn_number: decrypt(userInfo?.bvn),\n business_registration_number:\n loanStateData?.business_registration_number,\n phone_number: userInfo?.phoneNumber,\n country_code: userInfo?.country,\n customer_id: userInfo?.customerId,\n aggregator_id: userInfo?.aggregatorId,\n customer_bank_account: loanStateData?.customer_bank_account,\n is_bankstatement_linkage_failed: false,\n loan_tenor_input_type: loanStateData?.loan_tenor_input_type,\n total_cost_amount: loanStateData?.total_cost_amount\n ? loanStateData?.total_cost_amount\n : null,\n equity_contribution_amount: loanStateData?.equity_contribution_amount\n ? loanStateData?.equity_contribution_amount\n : null,\n description: loanStateData?.description\n ? loanStateData?.description\n : null,\n bank_statement_provider_response: monoWidgetData?.opened\n ? formattedMonoWidgetData\n : \"linked\",\n });\n setSuccess({\n headerText: \"Request Submitted Successfully\",\n bodyText: res.message,\n });\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n \"product name\": `${loanStateData?.product_name}`,\n \"loan status\": `Application success`,\n \"bank statement linked status\": `linked`,\n });\n setCurrentStep(5);\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (LoanRequestStepFour.tsx)\",\n },\n });\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n \"product name\": `${loanStateData?.product_name}`,\n \"loan status\": `Application failed: ${error.response?.data?.message ?? error.message}`,\n });\n setCurrentStep(6);\n }\n }\n\n const { data: termsAndConditions, isLoading: isLoadingTermsAndConditions } =\n useFetchTermsAndConditions({\n aggregatorId: String(userInfo?.aggregatorId),\n });\n\n return (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n {success.bodyText && (\n
\n \n setSuccess({\n ...success,\n bodyText: \"\",\n })\n }\n />\n
\n )}\n \n
\n

Terms and agreement

\n
\n\n {isLoadingTermsAndConditions ? (\n \n ) : (\n
\n
\n
\n )}\n\n
\n \n\n \n
\n \n );\n}\n\nexport default LoanRequestStepFour;\n","import React, { useEffect } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport successSVG from \"../../../../assets/web/success.svg\";\nimport { ISuccess } from \"../../../../interfaces/success\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface LoanRequestSuccessProps {\n // refetchLoanHistory: () => void\n success: ISuccess;\n setSuccess: React.Dispatch>;\n setCurrentStep: React.Dispatch>;\n closeModal: () => void;\n}\n\nfunction LoanRequestSuccess({\n success,\n closeModal,\n setSuccess,\n setCurrentStep,\n}: LoanRequestSuccessProps) {\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestSuccess.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleNextStep = () => {\n // refetchLoanHistory()\n if (success.headerText === \"Request Submitted Successfully\") {\n closeModal();\n } else if (\n success.headerText === \"Direct Debit Account Added Successfully\"\n ) {\n setCurrentStep(8);\n }\n\n setSuccess((prevState) => ({ ...prevState, headerText: \"\", bodyText: \"\" }));\n };\n\n return (\n
\n
\n \"\"\n

{success.headerText}

\n

{success.bodyText}

\n\n \n
\n
\n );\n}\n\nexport default LoanRequestSuccess;\n","import React, { useEffect } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface LoanRequestFailedProps {\n error: string;\n}\n\nfunction LoanRequestFailed({ error }: LoanRequestFailedProps) {\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestFailed.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n return (\n
\n
\n
\n

Transaction Failed

\n

{error}

\n
\n
\n );\n}\n\nexport default LoanRequestFailed;\n","import React, { ChangeEventHandler } from \"react\";\nimport ErrorHandler from \"../ErrorHandler/ErrorHandler.component\";\n\ntype ICustomSelectDropdownProps = {\n name?: string;\n placeholder?: string;\n label?: string;\n errors?: any;\n required?: boolean;\n className?: string;\n disabled?: boolean | any;\n maxLength?: undefined | number;\n defaultValue?: string | number;\n value?: string | number;\n minLength?: undefined | number;\n onChange?: ChangeEventHandler;\n min?: number;\n showRequiredIcon?: boolean;\n hasActionButton?: boolean;\n actionButtonText?: string;\n onClickActionButton?: () => void;\n children?: React.ReactNode;\n extraLabel?: any;\n style?: React.CSSProperties;\n customSelectStyle?: React.CSSProperties | any;\n readonly?: boolean;\n reference?: any\n}\nconst CustomSelectDropdown: React.FC = React.forwardRef(\n (\n {\n name,\n children,\n label,\n errors,\n value,\n onChange,\n showRequiredIcon,\n extraLabel,\n required,\n className,\n disabled,\n defaultValue,\n style,\n customSelectStyle,\n reference,\n ...otherProps\n }: ICustomSelectDropdownProps,\n ) => {\n return (\n
\n
\n \n {showRequiredIcon && *}\n {extraLabel && extraLabel.length && (\n \n )}\n
\n \n {children}\n \n {/* */}\n \n
\n );\n }\n);\n\nexport default CustomSelectDropdown;\n","import React, {\n Fragment,\n useEffect,\n useState,\n Dispatch,\n SetStateAction,\n} from \"react\";\nimport CustomSelectDropdown from \"../../../../components/CustomHTMLElements/CustomSelectDropdown\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport styles from \"./LoanRequest.module.scss\";\nimport { Button } from \"antd\";\nimport plus from \"../../../../assets/plus.svg\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { Alert } from \"antd\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateLoanDetailsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { useFetchCustomerResidentialInfoStatus } from \"../../../../custom-hooks/useFetchCustomerResidentialInfoStatus\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\n\ninterface ILoanRequestDirectDebit {\n setCurrentStep: Dispatch>;\n existingDirectDebitAccountData: any;\n directDebitLoading: boolean;\n directdebitError: any;\n error: string;\n setError: Dispatch>;\n residentialInfoStatus: any;\n}\n\nconst loanRequestDirectDebitschema = yup.object().shape({\n directdebitAccount: yupValidators.directDebitAccount,\n});\nconst LoanRequestDirectDebitWeb = ({\n setCurrentStep,\n existingDirectDebitAccountData,\n directDebitLoading,\n directdebitError,\n error,\n setError,\n residentialInfoStatus,\n}: ILoanRequestDirectDebit) => {\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(loanRequestDirectDebitschema),\n });\n\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const [bankDetails, setBankDetails] = useState({\n account_name: \"\",\n account_number: \"\",\n bank_name: \"\",\n });\n\n const loanData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestDirectDebitWeb.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestDirectDebitWeb.tsx`, {\n page: \"LoanRequestDirectDebitWeb.tsx - (Web)\",\n });\n }, []);\n\n const handleDirectDebitMultipleAccounts = ({\n directdebitAccount,\n }: {\n directdebitAccount: string;\n }) => {\n if (directdebitAccount && residentialInfoStatus) {\n setError(\"\");\n setCurrentStep(3);\n } else if (directdebitAccount && !residentialInfoStatus) {\n setError(\"\");\n setCurrentStep(12);\n }\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanData.loan_amount}`,\n \"loan tenor\": `${loanData.loan_tenure}`,\n \"product name\": `${loanData.product_name}`,\n \"loan status\": `Direct Debit Account Selected`,\n step: \"LoanRequestDirectDebit\",\n });\n };\n\n const handleSingleDirectDebitAccount = () => {\n dispatch(\n updateLoanDetailsAction({\n customer_bank_account: bankDetails.account_number,\n }),\n );\n\n if (bankDetails.account_number && residentialInfoStatus) {\n setError(\"\");\n setCurrentStep(3);\n } else if (bankDetails.account_number && !residentialInfoStatus) {\n setError(\"\");\n setCurrentStep(12);\n }\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanData.loan_amount}`,\n \"loan tenor\": `${loanData.loan_tenure}`,\n \"product name\": `${loanData.product_name}`,\n \"loan status\": `Direct Debit Account Selected`,\n step: \"LoanRequestDirectDebit\",\n });\n };\n\n useEffect(() => {\n if (existingDirectDebitAccountData?.bank_accounts.length === 1) {\n const { account_name, account_number, bank_name } =\n existingDirectDebitAccountData?.bank_accounts[0];\n setBankDetails({\n ...bankDetails,\n account_name: account_name,\n account_number: account_number,\n bank_name: bank_name,\n });\n }\n }, [directDebitLoading]);\n\n const handleAddNewDirectDebit = () => {\n setCurrentStep(11);\n };\n\n return (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n setCurrentStep(2)}\n />\n {directdebitError && setError(`${directdebitError}`)}\n \n
\n

Direct Debit Account

\n

\n Select an account you want us to debit for your repayment\n

\n
\n {directDebitLoading ? (\n
\n \n
\n ) : existingDirectDebitAccountData?.bank_accounts?.length > 1 ? (\n \n dispatch(\n updateLoanDetailsAction({\n customer_bank_account: e.target.value,\n }),\n )\n }\n >\n \n\n {existingDirectDebitAccountData?.bank_accounts?.map(\n ({\n account_name,\n account_number,\n bank_name,\n }: {\n account_name: string;\n account_number: string;\n bank_name: any;\n }) => (\n \n ),\n )}\n \n ) : existingDirectDebitAccountData?.bank_accounts?.length === 1 ? (\n \n ) : null}\n\n
\n \n Proceed\n \n
\n\n \n {\" \"}\n \"\" {\"\"}\n Add a new account\n

\n
\n
\n );\n};\n\nexport default LoanRequestDirectDebitWeb;\n","import React, {\n Dispatch,\n SetStateAction,\n useEffect,\n useRef,\n useState,\n} from \"react\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport useFetchBanks from \"../../../../custom-hooks/useFetchBanks\";\nimport { Bank } from \"../../../../interfaces/banks\";\nimport user from \"../../../../assets/profile/user.svg\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport styles from \"./LoanRequest.module.scss\";\nimport { Button } from \"antd\";\nimport { useQueryCache } from \"react-query\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { Alert } from \"antd\";\nimport { ISuccess } from \"../../../../interfaces/success\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\n\ntype NewDirectDebit = {\n setCurrentStep: Dispatch>;\n setSuccess: Dispatch>;\n existingDirectDebitAccountData: any;\n error: string;\n setError: Dispatch>;\n};\n\nconst schema = yup.object().shape({\n bankCode: yupValidators.bankName,\n accountNumber: yupValidators.accountNumber,\n});\n\ninterface IBank {\n name?: string;\n code?: number | string;\n}\nconst LoanRequestAddNewDirectDebit = ({\n setCurrentStep,\n setSuccess,\n existingDirectDebitAccountData,\n error,\n setError,\n}: NewDirectDebit) => {\n const [isLoadingCustomerName, setIsLoadingCustomerName] = useState(false);\n const [customerName, setCustomerName] = useState();\n const [showDropdown, setShowDropdown] = useState(false);\n const [filteredBankList, setFilteredBankList] = useState([]);\n const [bankList, setBankList] = useState([]);\n const [bankDetails, setBankDetails] = useState();\n const [recipientAccountNumber, setRecipientAccountNumber] = useState(\"\");\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const { data: BankData, isLoading: isLoadingBanks } = useFetchBanks({\n country_code: \"NG\",\n });\n const divRef = useRef(null);\n const loanData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRequestAddNewDirectDebit.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: LoanRequestAddNewDirectDebit.tsx`, {\n page: \"LoanRequestAddNewDirectDebit.tsx - (Web)\",\n });\n }, []);\n\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const queryCache = useQueryCache();\n const customerId = userInfo.customerId;\n const directDebitUrl = `/customer/${userInfo.customerId}/direct_debit_accounts`;\n\n useEffect(() => {\n setBankList(BankData);\n }, [isLoadingBanks]);\n\n const handleInputChange = (e: React.ChangeEvent) => {\n const value = e.target.value;\n\n setBankDetails({\n ...bankDetails,\n name: value,\n });\n setFilteredBankList(\n bankList.filter((bank) =>\n bank.name.toLowerCase().includes(value.toLowerCase()),\n ),\n );\n\n setShowDropdown(true);\n };\n\n const handleClose = (e: any) => {\n if (divRef?.current && !divRef?.current.contains(e.target)) {\n setShowDropdown(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleClose);\n\n return () => {\n window.removeEventListener(\"click\", handleClose);\n };\n }, []);\n\n const getBankCode = (name: string) => {\n const result = bankList.filter((bank) => {\n const foundBank = bank.name.toLowerCase() === name.toLowerCase();\n return foundBank\n ? setBankDetails({ ...bankDetails, code: bank.code })\n : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n if (bankDetails?.name) {\n getBankCode(bankDetails?.name);\n }\n }, [bankDetails?.name]);\n\n const handleSelectBank = (bank: Bank) => {\n setBankDetails({\n ...bankDetails,\n name: bank.name,\n });\n\n setShowDropdown(false);\n };\n\n const fetchCustomerName = async () => {\n setError(\"\");\n setIsLoadingCustomerName(true);\n try {\n const reqBody = {\n bank_code: bankDetails?.code,\n bank_account_num: recipientAccountNumber,\n };\n\n const userDataResponse = await postData(\n apiEndpoints.customerValidateBankAccount,\n reqBody,\n );\n\n if (userDataResponse) {\n setError(\"\");\n }\n\n setCustomerName(userDataResponse);\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (LoanRequestAddNewDirectDebit.tsx)\",\n },\n });\n } finally {\n setIsLoadingCustomerName(false);\n }\n };\n\n useEffect(() => {\n if (bankDetails?.code && recipientAccountNumber?.length === 10) {\n fetchCustomerName();\n }\n }, [bankDetails?.code, recipientAccountNumber]);\n\n const handleSubmitDirectAccountDetails = async ({\n accountNumber,\n bankCode,\n }: {\n accountNumber: string;\n bankCode: string;\n }) => {\n setError(\"\");\n setCurrentStep(4);\n const reqBody = {\n account_name: customerName?.bank_account_name,\n account_number: accountNumber,\n bank_code: bankDetails?.code,\n bank_name: bankDetails?.name,\n currency: \"NGN\",\n };\n\n try {\n await postData(directDebitUrl, reqBody);\n setSuccess({\n headerText: \"Direct Debit Account Added Successfully\",\n bodyText: `Proceed to select your direct debit account from the dropdown`,\n });\n queryCache.invalidateQueries([\n { customerId },\n \"getDirectDebitExistingAccountsWeb\",\n ]);\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanData.loan_amount}`,\n \"loan tenor\": `${loanData.loan_tenure}`,\n \"product name\": `${loanData.product_name}`,\n \"loan status\": `Added new Direct Debit account`,\n step: \"LoanRequestAddNewDirectDebit\",\n });\n\n setCurrentStep(5);\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (LoanRequestAddNewDirectDebit.tsx)\",\n },\n });\n\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanData.loan_amount}`,\n \"loan tenor\": `${loanData.loan_tenure}`,\n \"product name\": `${loanData.product_name}`,\n \"loan status\": `Failed: Error adding new direct debit account`,\n step: \"LoanRequestAddNewDirectDebit\",\n });\n setCurrentStep(11);\n }\n };\n\n const handlePreviousStep = () => {\n if (existingDirectDebitAccountData?.bank_accounts.length >= 1) {\n setCurrentStep(8);\n } else {\n setCurrentStep(2);\n }\n\n setError(\"\");\n };\n\n return (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n \n \n
\n

Direct Debit Account

\n

Please add a Direct debit account

\n
\n\n
\n \n setShowDropdown(true)}\n className={styles.selectedBankField}\n disabled={isLoadingBanks}\n />\n {showDropdown && (\n
    \n {filteredBankList?.length > 0\n ? filteredBankList?.map((bank) => (\n handleSelectBank(bank)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {bank.name}\n \n ))\n : bankList?.map((bank) => (\n handleSelectBank(bank)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {bank.name}\n \n ))}\n
\n )}\n {errors.bankCode?.message}\n
\n\n setRecipientAccountNumber(e.target.value)}\n />\n\n
\n \n \n {isLoadingCustomerName\n ? \"Loading....\"\n : customerName?.bank_account_name}\n \n
\n
\n \n Submit New Account\n \n
\n \n
\n );\n};\n\nexport default LoanRequestAddNewDirectDebit;\n","import React, { Dispatch, SetStateAction, useEffect } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport CONFIG from \"../../../../helpers/config\";\nimport Okra from \"okra-js\";\nimport MonoConnect from \"@mono.co/connect.js\";\nimport { postData, putData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { Alert } from \"antd\";\nimport { decrypt } from \"../../../../helpers/encryptor\";\nimport { ISuccess } from \"../../../../interfaces/success\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport {\n updateMonoWidgetDataAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ntype BankStatementErrorScreenProps = {\n onNextStep: () => void;\n handleCancel: () => void;\n setCurrentStep: Dispatch>;\n userExistsData: any;\n isLoadingUserExist: any;\n bankStatementLinkedStatus: any;\n isLoadingBankStatementLinkedStatus: boolean;\n setError: Dispatch>;\n setSuccess: Dispatch>;\n error: string;\n success: ISuccess;\n};\n\nfunction BankStatementErrorScreen({\n onNextStep,\n setCurrentStep,\n userExistsData,\n isLoadingUserExist,\n bankStatementLinkedStatus,\n isLoadingBankStatementLinkedStatus,\n setError,\n setSuccess,\n error,\n success,\n}: BankStatementErrorScreenProps) {\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const loanStateData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n const monoWidgetData = useSelector(\n (state: ReduxStoreModel) => state.monoWidgetDataReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (BankStatementLinkErrorScreen.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: BankStatementLinkErrorScreen.tsx`, {\n page: \"BankStatementLinkErrorScreen.tsx - (Web)\",\n });\n }, []);\n\n function handleLaunchOkraWidget() {\n if (!CONFIG.OKRA_PUBLIC_KEY || !CONFIG.OKRA_CLIENT_TOKEN) {\n return setError(\"Update Config for Okra\");\n }\n\n Okra.buildWithOptions({\n name: \"ADVANCLY\",\n env: CONFIG.OKRA_ENV,\n app_id: \"\", // app_id from your app builder\n key: CONFIG.OKRA_PUBLIC_KEY,\n token: CONFIG.OKRA_CLIENT_TOKEN,\n products: [\"auth\", \"transactions\"], //others are ['auth','identity','balance','transactions', 'income'](in lowercase)\n onSuccess: function (data: any) {\n console.log(\"options success\", data);\n handleSaveCustomerCode(data?.customer_id, \"okra\");\n },\n onClose: function () {\n console.log(\"options close\");\n },\n });\n }\n\n const monoConnect = React.useMemo(() => {\n if (!CONFIG.MONO_PUBLIC_KEY) {\n return setError(\"Update Config for Mono\");\n }\n\n const customer = {\n name: userInfo?.first_name + \" \" + userInfo?.last_name,\n email: userInfo?.email,\n };\n\n const monoInstance = new MonoConnect({\n onClose: () => {\n console.log(\"closed\");\n },\n onLoad: () => console.log(\"Loaded successfully\"),\n key: CONFIG.MONO_PUBLIC_KEY,\n data: { customer },\n onSuccess: async (data: { code: string }) => {\n handleSaveCustomerCode(data?.code, \"mono\");\n },\n onEvent: async (eventName: string, data: any) => {\n if (eventName === \"OPENED\") {\n console.log(\"Widget is open!\");\n dispatch(\n updateMonoWidgetDataAction({\n opened: true,\n opened_dateTimeStamp: data?.timestamp,\n customer_email: userInfo?.email,\n }),\n );\n } else if (eventName === \"INSTITUTION_SELECTED\") {\n dispatch(\n updateMonoWidgetDataAction({\n is_institution_selected: true,\n selected_institution_name: data.institution.name,\n institution_selected_dateTimeStamp: data?.timestamp,\n }),\n );\n }\n },\n });\n\n monoInstance.setup();\n\n return monoInstance;\n //eslint-disable-next-line\n }, []);\n\n const handleSaveCustomerCode = async (\n code: string,\n provider: \"okra\" | \"mono\",\n ) => {\n setError(\"\");\n setSuccess((prevState) => ({ ...prevState, bodyText: \"\" }));\n //Call d api to store the code\n console.log({ customerId: code });\n const reqBody = {\n bank_statement_provider_id: provider === \"okra\" ? 1 : 2,\n bank_statement_provider_customer_code: provider === \"okra\" ? code : \"\",\n authentication_code: provider === \"mono\" ? code : \"\",\n customer_id: userInfo?.customerId,\n aggregator_id: userInfo?.aggregatorId,\n };\n try {\n dispatch(updateWebSettingsAction({ isSavingProvider: true }));\n await putData(apiEndpoints.saveBankstatementProviderWeb, reqBody);\n setSuccess((prevState) => ({\n ...prevState,\n bodyText: \"Bank provider details saved successfully\",\n }));\n handleCreateLoan();\n } catch (error) {\n setError(\"Something went wrong please try again\");\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (BankStatementErrorScreen.tsx)\",\n },\n });\n } finally {\n dispatch(updateWebSettingsAction({ isSavingProvider: false }));\n }\n };\n\n const handleBankStatementOrCreateLoan = () => {\n dispatch(\n updateMonoWidgetDataAction({\n opened: false,\n opened_dateTimeStamp: null,\n customer_email: null,\n is_institution_selected: false,\n selected_institution_name: null,\n institution_selected_dateTimeStamp: null,\n }),\n );\n if (!isLoadingUserExist && !isLoadingBankStatementLinkedStatus) {\n if (!bankStatementLinkedStatus?.status && handleLaunchOkraWidget) {\n if (userExistsData?.bank_statement_provider?.toLowerCase() === \"okra\") {\n handleLaunchOkraWidget();\n } else {\n //@ts-ignore\n monoConnect.open();\n }\n }\n }\n };\n\n async function handleCreateLoan() {\n setError(\"\");\n setSuccess((prevState) => ({\n ...prevState,\n headerText: \"\",\n bodyText: \"\",\n }));\n setCurrentStep(4);\n\n const formattedMonoWidgetData = JSON.stringify({\n opened: monoWidgetData.opened,\n customer_email: monoWidgetData.customer_email,\n opened_dateTimeStamp: monoWidgetData.opened_dateTimeStamp,\n is_institution_selected: monoWidgetData.is_institution_selected,\n selected_institution_name: monoWidgetData.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData.institution_selected_dateTimeStamp,\n })\n .replace(/\"([^\"]+)\":/g, \"$1:\")\n .replace(/\"/g, \"\");\n\n try {\n const res = await postData(apiEndpoints.customerProcessCustomerLoan, {\n loan_amount: loanStateData?.loan_amount,\n loan_name: loanStateData?.loan_name,\n loan_tenure: loanStateData?.loan_tenure,\n product_id: loanStateData?.product_id,\n repayment_start_date: loanStateData?.repayment_start_date,\n bvn_checker: userInfo?.isBvnVerified,\n annual_interest_rate: loanStateData?.annual_interest_rate,\n aggregator_loan_ref: Date.now().toString(),\n bvn_number: decrypt(userInfo?.bvn),\n business_registration_number:\n loanStateData?.business_registration_number,\n phone_number: userInfo?.phoneNumber,\n country_code: userInfo?.country,\n aggregator_id: userInfo?.aggregatorId,\n customer_bank_account: loanStateData?.customer_bank_account,\n is_bankstatement_linkage_failed: false,\n loan_tenor_input_type: loanStateData?.loan_tenor_input_type,\n total_cost_amount: loanStateData?.total_cost_amount\n ? loanStateData?.total_cost_amount\n : null,\n equity_contribution_amount: loanStateData?.equity_contribution_amount\n ? loanStateData?.equity_contribution_amount\n : null,\n description: loanStateData?.description\n ? loanStateData?.description\n : null,\n bank_statement_provider_response: formattedMonoWidgetData,\n });\n setSuccess((prevState) => ({\n ...prevState,\n headerText: \"Request Submitted Successfully\",\n bodyText: res.message,\n }));\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n \"product name\": `${loanStateData?.product_name}`,\n \"Loan status\": `Application success`,\n \"bank statement linked status\": `linked`,\n });\n setCurrentStep(5);\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (BankStatementErrorScreen.tsx)\",\n },\n });\n setCurrentStep(6);\n }\n }\n return (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n {success.bodyText && (\n
\n \n setSuccess({\n ...success,\n bodyText: \"\",\n })\n }\n />\n
\n )}\n
\n
\n

Something went wrong

\n

\n We couldn't get your bank statement at the moment. You can try adding\n a different account\n

\n
\n\n
\n \n \n
\n
\n );\n}\n\nexport default BankStatementErrorScreen;\n","import React, { Dispatch, SetStateAction, useEffect } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { decrypt } from \"../../../../helpers/encryptor\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { ISuccess } from \"../../../../interfaces/success\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ntype AlternativeLoanCompleteScreenProps = {\n onPrevStep: () => void;\n setCurrentStep: Dispatch>;\n setSuccess: Dispatch>;\n setError: Dispatch>;\n};\n\nfunction AlternativeLoanCompleteScreen({\n onPrevStep,\n setCurrentStep,\n setSuccess,\n setError,\n}: AlternativeLoanCompleteScreenProps) {\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const monoWidgetData = useSelector(\n (state: ReduxStoreModel) => state.monoWidgetDataReducer,\n );\n const loanStateData = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (AlternativeLoanCompleteScreen.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: SubmitLoanWithoutBankStatementLink.tsx`, {\n page: \"SubmitLoanWithoutBankStatementLink.tsx - (Web)\",\n });\n }, []);\n\n async function handleCreateLoanWithOutBankStatement() {\n setError(\"\");\n setSuccess((prevState) => ({ ...prevState, headerText: \"\", bodyText: \"\" }));\n setCurrentStep(4);\n\n const formattedMonoWidgetData = JSON.stringify({\n opened: monoWidgetData?.opened,\n customer_email: monoWidgetData?.customer_email,\n opened_dateTimeStamp: monoWidgetData?.opened_dateTimeStamp,\n is_institution_selected: monoWidgetData?.is_institution_selected,\n selected_institution_name: monoWidgetData?.selected_institution_name,\n institution_selected_dateTimeStamp:\n monoWidgetData?.institution_selected_dateTimeStamp,\n })\n .replace(/\"([^\"]+)\":/g, \"$1:\")\n .replace(/\"/g, \"\");\n\n try {\n const res = await postData(apiEndpoints.customerProcessCustomerLoan, {\n loan_amount: loanStateData?.loan_amount,\n loan_name: loanStateData?.loan_name,\n loan_tenure: loanStateData?.loan_tenure,\n product_id: loanStateData?.product_id,\n repayment_start_date: loanStateData?.repayment_start_date,\n bvn_checker: userInfo?.isBvnVerified,\n annual_interest_rate: loanStateData?.annual_interest_rate,\n aggregator_loan_ref: Date.now().toString(),\n bvn_number: decrypt(userInfo?.bvn),\n business_registration_number:\n loanStateData?.business_registration_number,\n phone_number: userInfo?.phoneNumber,\n country_code: userInfo?.country,\n aggregator_id: userInfo?.aggregatorId,\n customer_bank_account: loanStateData?.customer_bank_account,\n is_bankstatement_linkage_failed: true,\n loan_tenor_input_type: loanStateData?.loan_tenor_input_type,\n total_cost_amount: loanStateData?.total_cost_amount\n ? loanStateData?.total_cost_amount\n : null,\n equity_contribution_amount: loanStateData?.equity_contribution_amount\n ? loanStateData?.equity_contribution_amount\n : null,\n description: loanStateData?.description\n ? loanStateData?.description\n : null,\n bank_statement_provider_response: monoWidgetData?.opened\n ? formattedMonoWidgetData\n : \"Not Linked\",\n });\n setSuccess((prevState) => ({\n ...prevState,\n headerText: \"Request Submitted Successfully\",\n bodyText: res.message,\n }));\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n \"product name\": `${loanStateData?.product_name}`,\n \"Loan status\": `Application success`,\n \"bank statement linked status\": `not linked`,\n });\n setCurrentStep(5);\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n MixPanel.track(\"Get Loan\", {\n distinct_id: `${userInfo?.email}`,\n \"loan amount\": `${loanStateData?.loan_amount}`,\n \"loan name\": `${loanStateData?.loan_name}`,\n \"loan tenor\": `${loanStateData?.loan_tenure}`,\n \"product name\": `${loanStateData?.product_name}`,\n \"Loan status\": `Application failed: ${error.response?.data?.message ?? error.message}`,\n \"bank statement linked status\": `not linked`,\n });\n setCurrentStep(6);\n }\n }\n\n return (\n
\n \n
\n

Complete your loan application

\n
\n\n
\n

\n We noticed you couldn't link your bank statement. Providing us with\n more financial information improves your credit eligibility. To link\n your bank statement, you can:\n

\n\n
    \n
  • \n Retry linking your bank statement by accessing the “Link Bank\n Statement” option via the “Loans” menu on your dashboard or the\n profile page.\n
  • \n
  • \n Alternatively, you can request that your bank statement be sent to\n bankstatement@advancly.com through your mobile banking app or by\n contacting your bank directly.\n
  • \n
\n
\n\n \n
\n );\n}\n\nexport default AlternativeLoanCompleteScreen;\n","import React, {\n Dispatch,\n SetStateAction,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport info_circle from \"../../../../assets/web/info-circle-loan.svg\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport { Button, Form, Input, Select } from \"antd\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\n\nconst Option = Select.Option;\n\ninterface LoanRequestProps {\n onPrevStep: () => void;\n setCurrentStep: Dispatch>;\n}\n\ninterface FormValues {\n partPaymentPercentageValue: string | number;\n loanAmount: string | number;\n}\n\nfunction BNPLSummaryPage({ onPrevStep, setCurrentStep }: LoanRequestProps) {\n const [form] = Form.useForm();\n const [selectedPartPayment, setSelectedPartPayment] = useState(null);\n\n const dispatch = useDispatch();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (BNPLSummaryPage.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: BNPLSummaryPage.tsx`, {\n page: \"BNPLSummaryPage.tsx - (Web)\",\n });\n }, []);\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const requireEquityContributionPercentage = useMemo(() => {\n const percentage = webAggregatorState.data.find(\n (percent) =>\n percent.setting_name?.toLowerCase() === \"cost_discount_percentage\",\n );\n\n return percentage?.setting_value;\n }, [webAggregatorState]);\n\n const minimum_equity_contribution_percentage = useMemo(() => {\n const amount = webAggregatorState.data.find(\n (value) =>\n value.setting_name?.toLowerCase() ===\n \"minimum_equity_contribution_percentage\",\n );\n\n return Number(amount?.setting_value);\n }, [webAggregatorState]);\n\n const maximum_equity_contribution_percentage = useMemo(() => {\n const amount = webAggregatorState.data.find(\n (value) =>\n value.setting_name?.toLowerCase() ===\n \"maximum_equity_contribution_percentage\",\n );\n\n return Number(amount?.setting_value);\n }, [webAggregatorState]);\n\n let { courseDescription, courseAmount } = borrowerDetails;\n\n courseDescription = courseDescription?.toString().replace(/-/g, \" \");\n\n const discountAmount =\n requireEquityContributionPercentage &&\n courseAmount &&\n (parseFloat(requireEquityContributionPercentage) / 100) * courseAmount;\n\n courseAmount = discountAmount && courseAmount - discountAmount;\n\n function generatePercentageValues(\n min: number,\n max: number,\n ): { value: number; label: string }[] {\n const percentageValues: { value: number; label: string }[] = [];\n\n for (let i = min; i <= max; i += 5) {\n percentageValues.push({ value: i, label: `${i}%` });\n }\n\n return percentageValues;\n }\n\n const percentageValues = generatePercentageValues(\n minimum_equity_contribution_percentage,\n maximum_equity_contribution_percentage,\n );\n\n const handlePartPaymentChange = (value: number) => {\n setSelectedPartPayment(value);\n };\n\n const partPaymentAmount =\n selectedPartPayment && (selectedPartPayment / 100) * courseAmount;\n\n const roundedPartPaymentAmount = Math.ceil(partPaymentAmount * 10) / 10;\n\n const loanAmount =\n courseAmount && partPaymentAmount && courseAmount - partPaymentAmount;\n\n useEffect(() => {\n if (loanAmount) {\n const formattedLoanAmount = loanAmount.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n });\n form.setFieldValue(\"loanAmount\", formattedLoanAmount);\n }\n }, [loanAmount, partPaymentAmount, selectedPartPayment]);\n\n const handlePreviousStep = () => {\n dispatch(\n updateWebSettingsAction({\n showLoanRequestModal: false,\n showLoanOptions: true,\n }),\n );\n };\n\n function onFinish(values: FormValues) {\n const totalCostAmount =\n loanAmount && partPaymentAmount && loanAmount + partPaymentAmount;\n\n dispatch(\n updateLoanDetailsAction({\n total_cost_amount: totalCostAmount,\n equity_contribution_amount: roundedPartPaymentAmount,\n description: courseDescription,\n equity_contribution_loanAmount: loanAmount,\n }),\n );\n\n setCurrentStep(0);\n }\n\n return (\n
\n \n
\n

{courseDescription}

\n
\n\n
\n Amount\n {courseAmount?.toLocaleString().split(\"\").includes(\".\") ? (\n \n ₦{courseAmount?.toLocaleString() ?? 0}\n \n ) : (\n \n ₦{courseAmount?.toLocaleString()}.\n 00\n \n )}\n {requireEquityContributionPercentage && (\n \n {requireEquityContributionPercentage}% percent discount applied\n \n )}\n
\n\n
\n \"\"\n \n You are required to pay a percentage of the lump sum before your loan\n can be disbursed\n \n
\n\n
\n \n \n \n {selectedPartPayment && partPaymentAmount && (\n \n Part Payment Amount: ₦{partPaymentAmount?.toLocaleString()}\n \n )}\n \n \n \n\n \n \n
\n );\n}\n\nexport default BNPLSummaryPage;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst fetchGlobalSettings = async () => {\n const { data } = await getData(apiEndpoints.globalSettings);\n return data;\n};\n\nexport function useFetchGlobalSettings() {\n return useQuery([\"fetchGlobalSettings\"], fetchGlobalSettings, {\n refetchOnWindowFocus: true,\n });\n}\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport styles from \"./LoanRequest.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport AddCardForm from \"../../profile/card/addCard/AddCardForm\";\nimport LoanRequestStepOne from \"./LoanRequestStepOne\";\nimport LoanRequestStepTwo from \"./LoanRequestStepTwo\";\nimport LoanRequestStepThree from \"./LoanRequestStepThree\";\nimport LoanRequestStepFour from \"./LoanRequestStepFour\";\nimport LoanRequestSuccess from \"./LoanRequestSuccess\";\nimport LoanRequestFailed from \"./LoanRequestFailed\";\nimport { getData } from \"../../../../apis/apiMethods\";\nimport LoanRequestDirectDebitWeb from \"./LoanRequestDirectDebitWeb\";\nimport LoanRequestAddNewDirectDebit from \"./LoanRequestAddNewDirectDebit\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport useDirectDebitExistingAccountsWeb from \"../../../../custom-hooks/useDirectDebitExistingAccountsWeb\";\nimport BankStatementErrorScreen from \"./BankStatementErrorScreen\";\nimport AlternativeLoanCompleteScreen from \"./AlternativeLoanCompleteScreen\";\nimport { ISuccess } from \"../../../../interfaces/success\";\nimport { WalletDetails } from \"../../../../interfaces/wallet\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport ResidentialInformation from \"../../../pages/signUp/residentialInformation/ResidentialInformation\";\nimport { useFetchCustomerResidentialInfoStatus } from \"../../../../custom-hooks/useFetchCustomerResidentialInfoStatus\";\nimport advLogo from \"../../../../assets/advancly-logo-full.png\";\nimport loader from \"../../../../assets/loadinggif.gif\";\n\nimport { useFetchProducts } from \"../../../../custom-hooks/useFetchProducts\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport BNPLSummaryPage from \"./BNPLSummaryPage\";\nimport { Setting } from \"../../../../interfaces/borrower\";\nimport { useFetchGlobalSettings } from \"../../../../custom-hooks/useFetchGlobalSettings\";\n\ninterface SetLoanRequestProps {\n walletDetails: WalletDetails;\n userExistsData: any;\n isLoadingUserExist: boolean;\n bankStatementLinkedStatus: any;\n isLoadingBankStatementLinkedStatus: boolean;\n}\ninterface GetCardProps {\n borrower_id: number;\n aggregator_id: number;\n isWidget: boolean;\n}\n\nexport interface LoanProduct {\n id: number;\n product_name: string;\n maximum_tenor: number | null;\n maximum_amount: number | null;\n aggregator_id: number;\n amount?: number | string;\n repayment_type: number;\n}\n\nfunction LoanRequest({\n walletDetails,\n userExistsData,\n isLoadingUserExist,\n bankStatementLinkedStatus,\n isLoadingBankStatementLinkedStatus,\n}: SetLoanRequestProps) {\n const [currentStep, setCurrentStep] = useState(0);\n const [error, setError] = useState(\"\");\n const [success, setSuccess] = useState({\n headerText: \"\",\n bodyText: \"\",\n });\n const [cards, setCards] = useState<[]>([]);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const { data: globalSettings, isLoading: isLoadingGlobalSettings } =\n useFetchGlobalSettings();\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const { courseDescription, courseAmount } = borrowerDetails;\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n useEffect(() => {\n MixPanel.track(`Page View: Loan.tsx`, {\n page: \"Loan.tsx - (Web)\",\n });\n }, []);\n\n useEffect(() => {\n if (requireEquityContribution && courseAmount && courseDescription) {\n setCurrentStep(13);\n }\n }, [requireEquityContribution]);\n\n const fetchCards = async ({\n borrower_id,\n aggregator_id,\n isWidget,\n }: GetCardProps) => {\n try {\n const res = await getData(\n `${apiEndpoints.fetchCards}?borrower_id=${borrower_id}&aggregator_id=${aggregator_id}&isWidget=${isWidget}`,\n );\n\n setCards(res.data);\n } catch (error) {\n console.error(error.response?.data?.message ?? error.message);\n }\n };\n\n const {\n data: existingDirectDebitAccountData,\n isLoading: directDebitLoading,\n error: directdebitError,\n } = useDirectDebitExistingAccountsWeb({ customerId: userInfo?.customerId });\n\n const { data: products, isLoading: isLoadingProducts } = useFetchProducts({\n countryCode: userInfo?.country,\n aggregatorId: userInfo?.aggregatorId,\n });\n\n const {\n data: residentialInfoStatus,\n isLoading: isLoadingResidentialInfoStatus,\n } = useFetchCustomerResidentialInfoStatus({\n customer_id: userInfo?.customerId,\n });\n\n useEffect(() => {\n fetchCards({\n borrower_id: userInfo?.customerId,\n aggregator_id: userInfo?.aggregatorId,\n isWidget: false,\n }).finally();\n }, [userInfo?.customerId, userInfo?.aggregatorId]);\n\n const handleNextButton = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n const handlePreviousStep = () => {\n setCurrentStep((prev) => prev - 1);\n };\n\n const handleCancel = () => {\n setCurrentStep(0);\n\n dispatch(\n updateLoanDetailsAction({\n id: 0,\n product_name: \"\",\n maximum_tenor: null,\n maximum_amount: null,\n aggregator_id: 0,\n amount: 0,\n repayment_type: \"\",\n }),\n );\n };\n\n const closeModal = () => {\n document.body.style.overflow = \"auto\";\n\n setError(\"\");\n setSuccess({\n headerText: \"\",\n bodyText: \"\",\n });\n\n dispatch(updateWebSettingsAction({ showLoanRequestModal: false }));\n\n dispatch(\n updateLoanDetailsAction({\n id: 0,\n product_name: \"\",\n maximum_tenor: null,\n maximum_amount: null,\n aggregator_id: 0,\n amount: 0,\n repayment_type: \"\",\n }),\n );\n };\n\n return (\n <>\n
\n
\n {webStateData?.isSavingProvider ||\n isLoadingResidentialInfoStatus ||\n isLoadingGlobalSettings ? (\n <>\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n ) : (\n
\n {currentStep === 0 && (\n \n )}\n {currentStep === 1 && (\n \n )}\n {currentStep === 2 && (\n \n )}\n {currentStep === 3 && (\n \n )}\n {currentStep === 4 && (\n
\n \n
\n )}\n {currentStep === 5 && (\n \n )}\n {currentStep === 6 && }\n {currentStep === 7 && (\n null}\n residentialInfoStatus={residentialInfoStatus}\n setCurrentStep={setCurrentStep}\n />\n )}\n {currentStep === 8 && (\n \n )}\n {currentStep === 9 && (\n \n )}\n {currentStep === 10 && (\n \n )}\n {currentStep === 11 && (\n \n )}\n\n {currentStep === 12 && (\n \n )}\n {currentStep === 13 && (\n \n )}\n\n \n
\n )}\n
\n \n );\n}\n\nexport default LoanRequest;\n","import React, {\n ChangeEvent,\n Dispatch,\n SetStateAction,\n useEffect,\n useState,\n} from \"react\";\nimport styles from \"./RepayLoan.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport { useForm } from \"react-hook-form\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport wallet from \"../../../../assets/web/wallet-3.svg\";\nimport arrowRight from \"../../../../assets/web/arrow-right.svg\";\nimport card from \"../../../../assets/web/card.svg\";\nimport addCircle from \"../../../../assets/web/add-circle.svg\";\nimport successSVG from \"../../../../assets/web/success.svg\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { Button } from \"antd\";\nimport { CardProp } from \"../../profile/card/addCard/AddCardForm\";\nimport AddNewCard from \"./AddNewCard\";\nimport { useLocation } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { WalletDetails } from \"../../../../interfaces/wallet\";\nimport { useDirectDebitsApprovedAcct } from \"../../../../custom-hooks/useDirectDebitsApprovedAcct\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport useFetchCards from \"../../../../custom-hooks/useFetchCard\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface RepaymentProps {\n refetchOutstandingLoanBalance: () => void;\n walletDetails: WalletDetails;\n setCurrentLoanOptionStep: Dispatch>;\n}\n\nconst schema = yup.object().shape({\n amount: yupValidators.amount,\n});\n\nfunction RepayLoan({\n refetchOutstandingLoanBalance,\n walletDetails,\n setCurrentLoanOptionStep,\n}: RepaymentProps) {\n const [currentStep, setCurrentStep] = useState(0);\n const [repaymentValue, setRepaymentValue] = useState();\n const [approvedDirectDebitAccounts, setApprovedDirectDebitAccounts] =\n useState(\"\");\n const [success, setSuccess] = useState(\"\");\n const [error, setError] = useState(\"\");\n const [formattedValue, setFormattedValue] = useState(\"\");\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const [debitCard, setDebitCard] = useState([]);\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const location = useLocation();\n const dispatch = useDispatch();\n const loanDataStore = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (RepayLoan.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: RepayLoan.tsx`, {\n page: \"RepayLoan.tsx - (Web)\",\n });\n }, []);\n\n const goBack = () => {\n setCurrentStep((prev) => prev - 1);\n };\n\n const handleNextButton = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n const { data: value } = useFetchCards({\n borrower_id: userInfo?.customerId,\n aggregator_id: userInfo?.aggregatorId,\n isWidget: false,\n });\n const {\n data: ApprovedDirectDebitData,\n isLoading: ApprovedDirectDebitLoading,\n error: ApprovedDirectDebitError,\n } = useDirectDebitsApprovedAcct({\n loanRef: loanDataStore?.loan_ref,\n clientRequest: true,\n });\n\n useEffect(() => {\n setDebitCard(value);\n }, [value, currentStep]);\n\n useEffect(() => {\n if (ApprovedDirectDebitData?.length === 1) {\n ApprovedDirectDebitData?.map((data: any) =>\n setApprovedDirectDebitAccounts(data?.id),\n );\n }\n }, [ApprovedDirectDebitLoading]);\n\n // console.log(\"Data:\", loanData)\n\n const onSubmit = ({ amount }: { amount: string }) => {\n const amountWithoutComma = amount.replace(/,/g, \"\");\n const convertedToNumber = parseFloat(amountWithoutComma);\n setRepaymentValue(convertedToNumber);\n\n handleNextButton();\n };\n\n const handleRepaymentWithWallet = async () => {\n setCurrentStep(4);\n try {\n const response = await postData(apiEndpoints.repayloan, {\n aggregator_id: userInfo?.aggregatorId,\n borrower_id: userInfo.customerId,\n borrower_repayment_mode: \"Wallet\",\n loan_id: loanDataStore?.loanId,\n amount: repaymentValue,\n });\n\n if (response.status) {\n setSuccess(response?.message);\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `wallet`,\n \"repayment status\": `repaid`,\n });\n setCurrentStep(5);\n } else {\n setError(response?.message);\n appInsights.trackException({\n exception: response.message,\n properties: {\n fileName: \"Web - (RepayLoan.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `wallet`,\n \"repayment status\": `Failed`,\n });\n setCurrentStep(6);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (RepayLoan.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `wallet`,\n \"repayment status\": `Failed: ${error.response.data?.message ?? error.message}`,\n });\n setCurrentStep(6);\n }\n };\n const handleRepaymentWithDirectDebit = async () => {\n setCurrentStep(4);\n try {\n const response = await postData(apiEndpoints.repayloan, {\n aggregator_id: userInfo?.aggregatorId,\n borrower_id: userInfo.customerId,\n loan_direct_debit_mandate_id: approvedDirectDebitAccounts,\n borrower_repayment_mode: \"DirectDebit\",\n loan_id: loanDataStore?.loanId,\n amount: repaymentValue,\n });\n\n if (response.status) {\n setSuccess(response?.message);\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `direct debit`,\n \"repayment status\": `repaid`,\n });\n setCurrentStep(5);\n } else {\n setError(response?.message);\n appInsights.trackException({\n exception: response.message,\n properties: {\n fileName: \"Web - (RepayLoan.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `direct debit`,\n \"repayment status\": `Failed`,\n });\n setCurrentStep(6);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (RepayLoan.tsx)\",\n },\n });\n\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `direct debit`,\n \"repayment status\": `Failed: ${error.response.data?.message ?? error.message}`,\n });\n\n setCurrentStep(6);\n }\n };\n\n async function handleRepaymentWithCard() {\n if (debitCard?.length === 0) {\n setCurrentStep(3);\n } else {\n setCurrentStep(4);\n try {\n const response = await postData(apiEndpoints.repayloan, {\n aggregator_id: userInfo?.aggregatorId,\n borrower_id: userInfo.customerId,\n borrower_repayment_mode: \"Card\",\n loan_id: loanDataStore?.loanId,\n amount: repaymentValue,\n });\n\n if (response.status) {\n setSuccess(response?.message);\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `card`,\n \"repayment status\": `repaid`,\n });\n setCurrentStep(5);\n } else {\n setError(response?.message);\n appInsights.trackException({\n exception: response.message,\n properties: {\n fileName: \"Web - (RepayLoan.tsx)\",\n },\n });\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `card`,\n \"repayment status\": `Failed`,\n });\n setCurrentStep(6);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (RepayLoan.tsx)\",\n },\n });\n MixPanel.track(\"Repay loan\", {\n distinct_id: `${userInfo?.email}`,\n \"amount paid\": `${repaymentValue}`,\n \"repayment mode\": `card`,\n \"repayment status\": `Failed: ${error.response.data?.message ?? error.message}`,\n });\n setCurrentStep(6);\n }\n }\n }\n\n const handleChange = (e: ChangeEvent) => {\n // Allow digits and at most one decimal point\n const value = e.target.value.replace(/[^0-9.]/g, \"\");\n\n const parts = value.split(\".\");\n let formattedValue;\n if (parts.length > 2) {\n // More than one decimal point, ignore this input\n formattedValue = parts[0] + \".\" + parts[1];\n } else {\n formattedValue = value;\n }\n\n let formattedAmount: string;\n if (formattedValue === \"\") {\n formattedAmount = \"\";\n } else {\n const [integerPart, decimalPart] = formattedValue.split(\".\");\n if (decimalPart !== undefined) {\n formattedAmount =\n new Intl.NumberFormat(\"en-US\").format(Number(integerPart)) +\n \".\" +\n decimalPart;\n } else {\n formattedAmount = new Intl.NumberFormat(\"en-US\").format(\n Number(integerPart),\n );\n }\n }\n\n // Validation: Ensure the value is not below 1\n const numericValue = Number(formattedAmount.replace(/,/g, \"\"));\n if (numericValue < 1 && formattedAmount !== \"\") {\n formattedAmount = \"1\"; // Set the minimum value to 1\n }\n\n setFormattedValue(formattedAmount);\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n\n dispatch(updateLoanDetailsAction({ loan_ref: \"\" }));\n if (location.pathname === `/${userInfo?.aggregator_name}/loan`) {\n refetchOutstandingLoanBalance();\n }\n\n dispatch(updateWebSettingsAction({ showLoanRepaymentModal: false }));\n\n setCurrentLoanOptionStep(0);\n };\n\n const renderContent = () => {\n switch (currentStep) {\n case 0:\n return (\n
\n
\n

Loan Repayment

\n

Enter the amount you would like to pay

\n
\n\n \n
\n
\n \n \n
\n {errors.amount?.message}\n
\n\n \n \n
\n );\n case 1:\n return (\n
\n \n
\n

Payment Method

\n

Select a payment method to proceed

\n
\n\n
\n setCurrentStep((prev) => prev + 1)}\n >\n
\n
\n \"\"\n
\n
\n

Pay with wallet

\n

₦{walletDetails?.availableBalance?.toLocaleString()}

\n
\n
\n \"\"\n
\n {ApprovedDirectDebitData?.length > 0 && (\n setCurrentStep(7)}\n >\n
\n
\n \"\"\n
\n
\n

Pay with Direct Debit

\n

{\"\"}

\n
\n
\n \"\"\n
\n )}\n\n
\n
\n
\n \"\"\n
\n
\n

Pay with existing card

\n
\n
\n \"\"\n
\n \n\n setCurrentStep((prev) => prev + 2)}\n >\n \"\"\n Pay with a new card\n \n \n );\n case 2:\n return (\n
\n \n\n
\n

Pay with wallet

\n

\n You are about to make your loan repayment of ₦\n {repaymentValue?.toLocaleString()} using your Advancly Wallet\n

\n
\n\n
\n Wallet Balance\n \n ₦\n \n {walletDetails?.availableBalance?.toLocaleString()}.\n \n 00\n \n\n Fee: 0.00\n
\n\n
\n \n Confirm\n \n
\n
\n );\n case 3:\n return (\n
\n setCurrentStep(1)}\n />\n null}\n handleRepaymentWithCard={handleRepaymentWithCard}\n />\n
\n );\n\n case 4:\n return (\n
\n \n
\n );\n case 5:\n return (\n
\n
\n \"\"\n

Repayment Successful

\n

{success}

\n
\n
\n );\n case 6:\n return (\n
\n
\n
\n

Repayment Failed

\n

{error}

\n
\n
\n );\n\n case 7:\n return (\n \n setCurrentStep(1)}\n />\n
Choose a Direct Debit account
\n {ApprovedDirectDebitError && (\n

\n Error fetching approved direct debit accounts\n

\n )}\n {ApprovedDirectDebitLoading ? (\n \n ) : (\n ApprovedDirectDebitData?.map((debitDetails: any) => {\n const {\n customer_bank_account_number,\n customer_bank_account_name,\n customer_bank_name,\n amount: directAmount,\n direct_debit_mandate_status,\n id,\n } = debitDetails;\n return (\n <>\n {\n setApprovedDirectDebitAccounts(id);\n }}\n style={{\n backgroundColor:\n approvedDirectDebitAccounts === id\n ? \"#713efe\"\n : \"#f7f5ff\",\n border:\n approvedDirectDebitAccounts === id\n ? \"1px solid #713efe\"\n : \"1px solid #f7f5ff\",\n borderRightColor:\n approvedDirectDebitAccounts === id\n ? \"#cfbefe\"\n : \"#f7f5ff\",\n borderRightWidth:\n approvedDirectDebitAccounts === id ? \"5px\" : \"1px\",\n\n borderRadius: \"10px\",\n padding: \"10px\",\n cursor: \"pointer\",\n color: approvedDirectDebitAccounts === id ? \"#fff\" : \"\",\n }}\n >\n \n {\" \"}\n Account Number: {\"\"} \n {\"\"}\n \n {customer_bank_account_number}\n \n \n
\n Account Name: {\"\"} \n \n {customer_bank_account_name}\n \n
\n
\n Bank Name: {\"\"}\n \n {customer_bank_name}\n \n
\n
\n Amount: {\"\"}\n \n {directAmount}\n \n
\n
\n Mandate Status: {\"\"}\n \n {direct_debit_mandate_status}\n \n
\n \n \n );\n })\n )}\n\n
\n \n Confirm\n \n
\n \n );\n default:\n return null;\n }\n };\n\n return (\n <>\n
\n
\n
\n {renderContent()}\n\n \n
\n
\n \n );\n}\n\nexport default RepayLoan;\n","import React, { useEffect, Dispatch, SetStateAction, useState } from \"react\";\nimport styles from \"./LoanHistoryDetails.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport arrowBack from \"../../../../assets/web/arrow-left.svg\";\nimport { LoanHistoryDetailProps } from \"../../../../interfaces/loan\";\nimport moment from \"moment\";\nimport { Button } from \"antd\";\nimport { useLocation } from \"react-router-dom\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { LoanOfferProps } from \"../../features/newLoanOffer/NewLoanOffer\";\nimport { useFetchPendingLoanOffer } from \"../../../../custom-hooks/useFetchPendingLoanOffer\";\n\ninterface LoanHistoryDetailsProps {\n loanDetails: LoanHistoryDetailProps;\n isLoanDetailsLoading: boolean;\n isRefetchingRepaymentSchedule: () => void;\n setCurrentLoanOptionStep: Dispatch>;\n}\n\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n WithdrawnByClient = \"withdrawnByClient\",\n Closed = \"closed\",\n WrittenOff = \"writtenOff\",\n Overpaid = \"overpaid\",\n}\n\nfunction LoanHistoryDetails({\n loanDetails,\n isLoanDetailsLoading,\n isRefetchingRepaymentSchedule,\n setCurrentLoanOptionStep,\n}: LoanHistoryDetailsProps) {\n const [mostRecentLoanOffer, setMostRecentLoanOffer] =\n useState();\n const location = useLocation();\n const dispatch = useDispatch();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanHistoryDetails.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const { data: pendingLoanOffer, isLoading: isLoadingPendingLoanOffer } =\n useFetchPendingLoanOffer({\n customer_id: userInfo?.customerId,\n });\n\n useEffect(() => {\n if (!isLoadingPendingLoanOffer && pendingLoanOffer) {\n const recentLoanOffer = pendingLoanOffer[pendingLoanOffer?.length - 1];\n setMostRecentLoanOffer(recentLoanOffer);\n }\n }, [pendingLoanOffer, isLoadingPendingLoanOffer]);\n\n const handleRepaymentSchedule = () => {\n dispatch(\n updateLoanDetailsAction({\n loan_effective_date: loanDetails?.loan_effective_date,\n status: loanDetails?.status,\n loanId: loanDetails?.loan_id,\n }),\n );\n isRefetchingRepaymentSchedule();\n dispatch(updateWebSettingsAction({ showLoanDetails: false }));\n dispatch(updateWebSettingsAction({ showRepaymentSchedule: true }));\n };\n\n const handleRepayment = () => {\n dispatch(\n updateLoanDetailsAction({\n loan_effective_date: loanDetails?.loan_effective_date,\n status: loanDetails?.status,\n loanId: loanDetails?.loan_id,\n }),\n );\n dispatch(updateWebSettingsAction({ showLoanDetails: false }));\n dispatch(updateWebSettingsAction({ showLoanRepaymentModal: true }));\n };\n\n const handleShowRepayments = () => {\n dispatch(\n updateLoanDetailsAction({\n loan_effective_date: loanDetails?.loan_effective_date,\n status: loanDetails?.status,\n loanId: loanDetails?.loan_id,\n }),\n );\n\n dispatch(updateWebSettingsAction({ showLoanDetails: false }));\n dispatch(updateWebSettingsAction({ showLoanRepayments: true }));\n };\n\n const goBack = () => {\n dispatch(updateWebSettingsAction({ showLoanDetails: false }));\n dispatch(updateWebSettingsAction({ showLoanOptions: true }));\n\n if (webStateData?.showLoanOptions) {\n setCurrentLoanOptionStep(1);\n }\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n\n dispatch(updateLoanDetailsAction({ loan_ref: \"\" }));\n\n dispatch(updateWebSettingsAction({ showLoanDetails: false }));\n\n setCurrentLoanOptionStep(0);\n };\n\n const getStatusStyle = (status: string | undefined) => {\n switch (status?.toLowerCase()) {\n case Status.Active:\n case Status.Approved:\n case Status.Repaid:\n return styles.flagActive;\n case Status.AwaitingApproval:\n case Status.SubmittedAndAwaitingApproval:\n return styles.flagPending;\n case Status.Overdue:\n case Status.Rejected:\n return styles.flagRejected;\n default:\n return styles.flagStale;\n }\n };\n\n function viewNewOfferHandler() {\n document.body.style.overflow = \"auto\";\n\n dispatch(\n updateWebSettingsAction({\n showNewLoanOffer: true,\n showLoanDetails: false,\n }),\n );\n }\n\n return (\n <>\n
\n
\n {location.pathname === `/${userInfo?.aggregator_name}` && (\n \n )}\n\n {isLoanDetailsLoading || !loanDetails ? (\n
\n \n
\n ) : (\n <>\n
\n
\n {pendingLoanOffer?.length > 0 &&\n mostRecentLoanOffer?.requested_loan_id ===\n loanDetails?.loan_id ? (\n \n View new offer\n \n ) : null}\n
\n \n ₦{loanDetails?.loan_amount.toLocaleString()}\n \n
\n Loan Amount\n
\n \n View repayment schedule\n \n
\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* \n \n \n */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ID{loanDetails?.loan_id}
Loan Status\n \n {loanDetails?.status.toLowerCase() ===\n Status.SubmittedAndAwaitingApproval\n ? \"Awaiting approval\"\n : loanDetails?.status}\n \n
Request Date\n {moment(loanDetails?.pub_date).format(\"DD MMM, YYYY\")}\n
Tenor{loanDetails?.loan_tenure} Days
Reference Number{loanDetails?.loan_ref}
Disbursement Status\n \n {loanDetails?.status === \"Submitted_and_awaiting_approval\"\n ? \"Awaiting approval\"\n : loanDetails.status}\n \n
Approval Date\n {loanDetails?.loan_effective_date\n ? moment(loanDetails?.loan_effective_date).format(\n \"D/MM/YYYY, h:mm a\",\n )\n : \"Not Approved\"}\n
Maturity Date\n {moment(loanDetails?.loan_due_date).format(\"DD MMM, YYYY\")}\n
Interest₦{loanDetails?.loan_interest_amount.toLocaleString()}
Amount to Repay\n ₦{loanDetails?.next_repayment_amount.toLocaleString()}\n
Outstanding₦{loanDetails?.loan_outstanding.toLocaleString()}
Amount Repaid₦{loanDetails?.total_loan_repaid.toLocaleString()}
Total Amount\n ₦{Number(loanDetails?.total_loan_amount).toLocaleString()}\n
\n\n
\n \n View Repayments\n \n \n Repay Loan\n \n
\n \n )}\n\n \n
\n \n );\n}\n\nexport default LoanHistoryDetails;\n","export default __webpack_public_path__ + \"static/media/tick-circle.d4aab573.svg\";","export default __webpack_public_path__ + \"static/media/close-circle.f6c4abaa.svg\";","import React, { useEffect } from \"react\";\nimport styles from \"./RepaymentSchedule.module.scss\";\nimport tickCircle from \"../../../../assets/web/tick-circle.svg\";\nimport closeCircle from \"../../../../assets/web/close-circle.svg\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport arrowBack from \"../../../../assets/web/arrow-left.svg\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\ninterface RepaymentScheduleProps {\n repaymentScheduleData: RepaymentScheduleData[];\n isLoadingRepaymentSchedule: boolean;\n setCurrentLoanOptionStep: React.Dispatch>\n}\n\nexport interface RepaymentScheduleData {\n dueDate: number[];\n totalDueForPeriod: number;\n complete: boolean;\n}\n\nfunction RepaymentSchedule({\n repaymentScheduleData,\n isLoadingRepaymentSchedule,\n setCurrentLoanOptionStep\n}: RepaymentScheduleProps) {\n const dispatch = useDispatch();\n const loanDataStore = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (RepaymentSchedule.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const goBack = () => {\n dispatch(updateWebSettingsAction({ showRepaymentSchedule: false }));\n dispatch(updateWebSettingsAction({ showLoanDetails: true }));\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n\n dispatch(updateLoanDetailsAction({ loan_ref: \"\" }));\n dispatch(updateWebSettingsAction({ showRepaymentSchedule: false }));\n\n setCurrentLoanOptionStep(0)\n }\n\n return (\n <>\n
\n
\n \n\n
\n

Repayment Schedule

\n
\n <>\n {isLoadingRepaymentSchedule ? (\n
\n \n
\n ) : repaymentScheduleData?.length > 0 ? (\n \n \n {repaymentScheduleData?.map((data, index) => (\n \n \n \n \n ))}\n \n
₦{data.totalDueForPeriod.toLocaleString() ?? 0}\n
\n Due Date\n {`${data?.dueDate[2]}/${data?.dueDate[1]}/${data.dueDate[0]}`}\n
\n 0 &&\n !data.complete\n ? closeCircle\n : new Date(\n String(loanDataStore?.loan_effective_date)\n ).getMonth() +\n 1 <=\n Number(data?.dueDate[1]) &&\n data.totalDueForPeriod > 0 &&\n data.complete\n ? tickCircle\n : \"\"\n }\n alt=\"\"\n />\n
\n ) : (\n

No data available

\n )}\n \n\n \n
\n \n );\n}\n\nexport default RepaymentSchedule;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst fetchRepayments = async ({ loan_ref }: { loan_ref: string }) => {\n const res = await getData(\n `${apiEndpoints.getCustomerRepayments}?loan_ref=${loan_ref}`,\n );\n\n return res.data;\n};\n\nexport default function useFetchLoanRepayments({\n loan_ref,\n}: {\n loan_ref: string;\n}) {\n return useQuery([{ loan_ref }, \"fetchRepayments\"], fetchRepayments);\n}\n","import React, { useEffect } from \"react\";\nimport styles from \"./LoanRepayments.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport arrowLeft from \"../../../../assets/web/arrow-left.svg\";\nimport moment from \"moment\";\nimport { Button } from \"antd\";\nimport credit from \"../../../../assets/web/withdrawIcon.svg\";\nimport { RepaymentsProps } from \"../../../../interfaces/repayments\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport useFetchLoanRepayments from \"../../../../custom-hooks/useFetchLoanRepayments\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport {\n updateLoanDetailsAction,\n updateWebSettingsAction,\n} from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\n\nenum Status {\n Active = \"active\",\n Repaid = \"repaid\",\n Approved = \"approved\",\n Rejected = \"rejected\",\n Overdue = \"overdue\",\n AwaitingApproval = \"awaiting approval\",\n SubmittedAndAwaitingApproval = \"submitted_and_awaiting_approval\",\n WithdrawnByClient = \"withdrawnByClient\",\n Closed = \"closed\",\n WrittenOff = \"writtenOff\",\n Overpaid = \"overpaid\",\n}\n\ninterface LoanRepaymentsProps {\n setCurrentLoanOptionStep: React.Dispatch>;\n}\n\nfunction LoanRepayments({ setCurrentLoanOptionStep }: LoanRepaymentsProps) {\n const dispatch = useDispatch();\n const loanDataStore = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer\n );\n\n const { data: repayments, isLoading: isLoadingRepayments } =\n useFetchLoanRepayments({\n loan_ref: loanDataStore?.loan_ref,\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (LoanRepayments.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const handleRepayment = () => {\n dispatch(updateWebSettingsAction({ showLoanDetails: false }));\n dispatch(updateWebSettingsAction({ showLoanRepayments: false }));\n dispatch(updateWebSettingsAction({ showLoanRepaymentModal: true }));\n };\n\n const goback = () => {\n dispatch(updateWebSettingsAction({ showLoanRepayments: false }));\n dispatch(updateWebSettingsAction({ showLoanDetails: true }));\n };\n\n const handleClose = () => {\n document.body.style.overflow = \"auto\";\n\n dispatch(updateLoanDetailsAction({ loan_ref: \"\" }));\n\n dispatch(updateWebSettingsAction({ showLoanRepayments: false }));\n\n setCurrentLoanOptionStep(0);\n };\n\n return (\n <>\n
\n
\n \n\n
\n
\n

Repayments

\n
\n\n {isLoadingRepayments ? (\n \n ) : repayments?.length > 0 ? (\n <>\n {repayments.map((amount: RepaymentsProps) => (\n
\n
\n \n \"\"\n \n
\n \n ₦{amount?.amount_paid.toLocaleString()}\n \n \n {moment(amount?.repayment_date).format(\"DD MMM, YYYY\")}\n \n
\n
\n\n \n {amount.repayment_status}\n

\n
\n ))}\n\n
\n \n Repay Loan\n \n
\n \n ) : (\n

No data available

\n )}\n \n
\n
\n \n );\n}\n\nexport default LoanRepayments;\n","import React, { useEffect } from \"react\";\nimport styles from \"./Begin.module.scss\";\nimport TransactionPINSVG from \"../../../../../assets/web/set-transaction-pin.svg\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\ninterface BeginProps {\n setCurrentStep: React.Dispatch>;\n handleCancel: () => void;\n}\n\nfunction Begin({ setCurrentStep, handleCancel }: BeginProps) {\n const isUserFirstTime = localStorage.getItem(\"firstTimeLogin\");\n const firstTimeLogin = isUserFirstTime && JSON.parse(isUserFirstTime);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web SetTransactionPin - (Begin.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n return (\n
\n
\n
\n \"\"\n
\n
\n

Set Up Transaction PIN

\n

\n Create a transaction pin to perform wallet transactions on your\n account.\n

\n
\n
\n\n setCurrentStep((prev) => prev + 1)}\n >\n Begin Setup\n \n {firstTimeLogin && (\n \n Skip\n \n )}\n
\n );\n}\n\nexport default Begin;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport styles from \"./SecurityQuestion.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport useFetchSecurityQuestions from \"../../../../../custom-hooks/useFetchSecurityQuestion\";\nimport { Question } from \"../../../../../interfaces/question\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { getToken } from \"../../../../../helpers/appHelpers\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../../redux/actions\";\nimport { Alert } from \"antd\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n securityQuestion: yupValidators.securityQuestion,\n securityAnswer: yupValidators.securityAnswer,\n});\n\ninterface FormData {\n securityQuestion: string;\n securityAnswer: string;\n}\n\ninterface SecurityQuestionProps {\n setCurrentStep: React.Dispatch>;\n}\n\nfunction SecurityQuestion({ setCurrentStep }: SecurityQuestionProps) {\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const [showDropdown, setShowDropdown] = useState(false);\n const [filteredQuestionsList, setFilteredQuestionsList] = useState<\n Question[]\n >([]);\n const [questionLists, setQuestionsList] = useState([]);\n const [selectedQuestionDetails, setselectedQuestionDetails] =\n useState();\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const divRef = useRef(null);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web SetTransactionPin - (SecurityQuestion.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const { data: questions, isLoading: isLoadingQuestions } =\n useFetchSecurityQuestions({\n token: getToken(),\n });\n\n const getQuestionId = (question: string) => {\n const result = questionLists.filter((questions) => {\n const foundQuestion = questions.question === question;\n return foundQuestion\n ? setselectedQuestionDetails({\n ...selectedQuestionDetails,\n id: questions.id,\n })\n : null;\n });\n\n return result;\n };\n\n useEffect(() => {\n if (selectedQuestionDetails?.question) {\n getQuestionId(selectedQuestionDetails?.question);\n }\n }, [selectedQuestionDetails?.question]);\n\n useEffect(() => {\n setQuestionsList(questions);\n }, [isLoadingQuestions]);\n\n const onSubmit = async ({ securityAnswer }: FormData) => {\n try {\n setCurrentStep(3);\n const reqBody = {\n customer_id: parseInt(userInfo?.customerId),\n question_id: Number(selectedQuestionDetails?.id),\n answer: securityAnswer,\n };\n await postData(apiEndpoints.customerSecurityQuestionAnswer, reqBody);\n setCurrentStep(2);\n\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n })\n );\n } catch (error: any) {\n setCurrentStep(1);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n errorMsg:\n error.response?.data?.message ||\n \"Failed to save security question and answer\",\n })\n );\n }, 0);\n\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web SetTransactionPin - (SecurityQuestion.tsx)\",\n },\n });\n }\n };\n\n const handleInputChange = (e: React.ChangeEvent) => {\n const value = e.target.value;\n\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: value,\n });\n\n setFilteredQuestionsList(\n questionLists.filter(\n (questions) => questions.question?.toLowerCase() === value.toLowerCase()\n )\n );\n\n setShowDropdown(true);\n };\n\n const handleSelectQuestion = (question: Question) => {\n setselectedQuestionDetails({\n ...selectedQuestionDetails,\n question: question.question,\n });\n\n setShowDropdown(false);\n };\n\n const handleClose = (e: any) => {\n if (divRef?.current && !divRef?.current.contains(e.target)) {\n setShowDropdown(false);\n }\n };\n\n useEffect(() => {\n window.addEventListener(\"click\", handleClose);\n\n return () => {\n window.removeEventListener(\"click\", handleClose);\n };\n }, []);\n\n return (\n
\n {webStateData.errorMsg && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n
\n
\n

Security Question

\n
\n

\n Kindly set a security question before creating your transaction pin.\n

\n
\n\n
\n\n
\n \n setShowDropdown(true)}\n className={styles.selectedQuestionField}\n disabled={isLoadingQuestions}\n />\n {showDropdown && (\n
    \n {filteredQuestionsList?.length > 0\n ? filteredQuestionsList?.map((question) => (\n handleSelectQuestion(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))\n : questionLists?.map((question) => (\n handleSelectQuestion(question)}\n style={{ padding: \"8px\", cursor: \"pointer\" }}\n >\n {question.question}\n \n ))}\n
\n )}\n \n {errors.securityQuestion?.message}\n \n
\n\n \n\n \n \n \n );\n}\n\nexport default SecurityQuestion;\n","import React, { useEffect } from \"react\";\nimport styles from \"./Pin.module.scss\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { apiEndpoints } from \"../../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../../apis/apiMethods\";\nimport { Alert } from \"antd\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../../redux/actions\";\nimport { appInsights } from \"../../../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n pin: yupValidators.pin,\n confirmPin: yupValidators.confirmPin,\n});\n\ninterface PinProps {\n setCurrentStep: React.Dispatch>;\n}\n\nfunction Pin({ setCurrentStep }: PinProps) {\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web SetTransactionPin - (Pin.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const onSubmit = async ({ pin }: { pin: string }) => {\n try {\n setCurrentStep(3);\n const reqBody = {\n customer_id: parseInt(userInfo?.customerId),\n pin,\n };\n\n await postData(apiEndpoints.customerSetPin, reqBody);\n setCurrentStep(4);\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n })\n );\n } catch (error: any) {\n setCurrentStep(2);\n\n setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n }, 0);\n\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web SetTransactionPin - (Pin.tsx)\",\n },\n });\n }\n };\n\n return (\n
\n {webStateData.errorMsg && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n
\n

Set PIN

\n

Create your four digit transaction pin

\n
\n\n
\n \n\n \n\n \n \n \n );\n}\n\nexport default Pin;\n","import React from 'react'\nimport Loader from '../../../../../components/Loader/Loader'\nimport styles from \"./Spinner.module.scss\"\n\ninterface SpinnerProps {\n currentStep: number\n}\n\nfunction Spinner({currentStep}: SpinnerProps) {\n return (\n
\n \n
\n )\n}\n\nexport default Spinner","import React from 'react'\nimport styles from \"./Success.module.scss\"\nimport { Button } from 'antd'\n\ntype SuccessProp = {\n handleClose: () => void\n setStepOnComplete: any\n stepOnComplete: any\n}\n\nfunction Success({handleClose, setStepOnComplete, stepOnComplete}: SuccessProp) {\n\n const handleCompletion = () => {\n if(stepOnComplete < 5) {\n setStepOnComplete(2)\n } else {\n handleClose()\n }\n }\n\n return (\n
\n
\n \n \n \n \n \n

Transaction PIN Set

\n

You have successfully set your transaction pin

\n\n
\n \n
\n
\n\n
\n )\n}\n\nexport default Success","import React, { useState } from \"react\";\nimport styles from \"./SetTransactionPin.module.scss\";\nimport closeIcon from \"../../../../assets/web/close-square.svg\";\nimport Begin from \"./begin/Begin\";\nimport SecurityQuestion from \"./securityQuestion/SecurityQuestion\";\nimport Pin from \"./pin/Pin\";\nimport Spinner from \"./spinner/Spinner\";\nimport Success from \"./success/Success\";\nimport { useQueryCache } from \"react-query\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../../redux/actions\";\n\ninterface SetTransactionPinProps {\n setStepOnComplete?: any;\n stepOnComplete?: any;\n}\n\nfunction SetTransactionPin({\n stepOnComplete,\n setStepOnComplete,\n}: SetTransactionPinProps) {\n const [currentStep, setCurrentStep] = useState(0);\n const queryCache = useQueryCache();\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n\n const handleCancel = () => {\n localStorage.removeItem(\"firstTimeLogin\");\n queryCache.invalidateQueries([\"fetchWallet\"]);\n if (webStateData?.showPinModal) {\n dispatch(\n updateWebSettingsAction({\n showPinModal: false,\n })\n );\n }\n };\n\n return (\n
\n
\n {currentStep === 0 && (\n \n )}\n {currentStep === 1 && (\n \n )}\n {currentStep === 2 && }\n {currentStep === 3 && }\n {currentStep === 4 && (\n \n )}\n\n \n
\n
\n );\n}\n\nexport default SetTransactionPin;\n","import { useQuery } from \"react-query\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { getData } from \"../apis/apiMethods\";\n\nconst fetchRepaymentSchedule = async ({ loan_ref }: { loan_ref: string }) => {\n const res = await getData(\n `${apiEndpoints.getWebLoanRepaymentSchedule}?loan_ref=${loan_ref}`,\n );\n\n return res?.data?.periods;\n};\n\nexport default function useFetchRepaymentSchedule({\n loan_ref,\n}: {\n loan_ref: string;\n}) {\n return useQuery(\n [{ loan_ref }, \"fetchRepaymentSchedule\"],\n fetchRepaymentSchedule,\n {\n enabled: false,\n },\n );\n}\n","import React, {\n Fragment,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport DashboardLayout from \"../../components/layout/Layout\";\nimport { Route } from \"react-router-dom\";\nimport { ROUTES } from \"../../../helpers/ROUTES\";\nimport DashboardOverview from \"../../components/dashboard/dashboardOverview/DashboardOverview\";\nimport LoanOverview from \"../../components/loan/loanOverview/LoanOverview\";\nimport Profile from \"../../components/profile/Profile\";\nimport ContactUs from \"../../components/contactUs/ContactUs\";\nimport LoanRequest from \"../../components/features/loanRequest/LoanRequest\";\nimport RepayLoan from \"../../components/features/repayLoan/RepayLoan\";\nimport LoanHistoryDetails from \"../../components/loan/loanHistoryDetails/LoanHistoryDetails\";\nimport RepaymentSchedule from \"../../components/loan/repaymentSchedule/RepaymentSchedule\";\nimport useFetchCustomerWalletDetails from \"../../../custom-hooks/useFetchCustomerWalletDetails\";\nimport LoanRepayments from \"../../components/loan/loanRepayments/LoanRepayments\";\nimport SetTransactionPin from \"../../components/features/setTransactionPin/SetTransactionPin\";\nimport useFetchOutstandingLoanBalance from \"../../../custom-hooks/useFetchOutstandingLoanBalance\";\nimport useFetchUserExists from \"../../../custom-hooks/useFetchUserExists\";\nimport useFetchBankStatementProviderStatus from \"../../../custom-hooks/useFetchBankStatementProviderLinked\";\nimport { useFetchLoanTransactionDetails } from \"../../../custom-hooks/useFetchLoanTransactionDetails\";\nimport useFetchRepaymentSchedule from \"../../../custom-hooks/useFetchRepaymentSchedule\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { putData } from \"../../../apis/apiMethods\";\nimport Okra from \"okra-js\";\nimport MonoConnect from \"@mono.co/connect.js\";\nimport CONFIG from \"../../../helpers/config\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../redux/actions\";\nimport { Setting } from \"../../../interfaces/borrower\";\n\nfunction UserData() {\n const data = localStorage.getItem(\"currentUser\");\n const userInfo = data && JSON.parse(data);\n const isUserFirstTime = localStorage.getItem(\"firstTimeLogin\");\n const firstTimeLogin = isUserFirstTime && JSON.parse(isUserFirstTime);\n const [pageNumber, setPageNumber] = useState(1);\n const [currentLoanOptionStep, setCurrentLoanOptionStep] = useState(0);\n const dispatch = useDispatch();\n const accountLinkSuccessRef = useRef(null);\n const loanDataStore = useSelector(\n (state: ReduxStoreModel) => state.loanDetailsReducer,\n );\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const borrowerDetails = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const webAggregatorState = useSelector(\n (state: ReduxStoreModel) => state.webAggregatorSettingsReducer,\n );\n\n const requireEquityContribution = useMemo(() => {\n const setting = webAggregatorState?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() === \"require_equity_contribution\",\n );\n return setting?.setting_value === \"1\";\n }, [webAggregatorState]);\n\n const monoWidgetData = useRef({\n opened: false,\n opened_dateTimeStamp: null,\n customer_email: null,\n is_institution_selected: false,\n selected_institution_name: null,\n institution_selected_dateTimeStamp: null,\n });\n\n const {\n data: walletDetails,\n isLoading: isLoadingWalletDetails,\n refetch: refetchFetchWalletdetails,\n } = useFetchCustomerWalletDetails();\n\n const { refetch: refetchOutstandingLoanBalance } =\n useFetchOutstandingLoanBalance({\n currency: userInfo?.currency,\n customerId: userInfo?.customerId,\n });\n\n const {\n data: loanDetails,\n isLoading: isLoanDetailsLoading,\n refetch: isRefetchingLoanDetails,\n } = useFetchLoanTransactionDetails({\n loanRef: loanDataStore?.loan_ref,\n });\n\n const { data: userExistsData, isLoading: isLoadingUserExist } =\n useFetchUserExists({\n identity_number: userInfo?.bvn,\n phone_number: userInfo?.phoneNumber,\n aggregator_id: userInfo?.aggregatorId,\n email: userInfo?.email,\n business_registration_number: userInfo?.business_registration_number,\n });\n\n const {\n data: bankStatementLinkedStatus,\n isLoading: isLoadingBankStatementLinkedStatus,\n refetch: refetchBankStatementLinkedStatus,\n } = useFetchBankStatementProviderStatus({\n aggregator_id: userInfo?.aggregatorId,\n customer_id: userInfo?.customerId,\n bank_statement_provider_id:\n borrowerDetails?.bank_statement_provider_id ??\n userInfo?.bank_statement_provider_id,\n });\n\n const {\n data: repaymentScheduleData,\n isLoading: isLoadingRepaymentSchedule,\n refetch: isRefetchingRepaymentSchedule,\n } = useFetchRepaymentSchedule({\n loan_ref: loanDataStore?.loan_ref,\n });\n\n useEffect(() => {\n if (firstTimeLogin && !userInfo?.isTransactionPinSet) {\n const timeoutId = setTimeout(() => {\n dispatch(\n updateWebSettingsAction({\n showPinModal: true,\n }),\n );\n }, 5000);\n\n return () => clearTimeout(timeoutId);\n }\n //eslint-disable-next-line\n }, []);\n\n function handleLaunchOkraWidget() {\n if (!CONFIG.OKRA_PUBLIC_KEY || !CONFIG.OKRA_CLIENT_TOKEN) {\n return dispatch(\n updateWebSettingsAction({ errorMsg: \"Update Config for Okra\" }),\n );\n }\n Okra.buildWithOptions({\n name: \"ADVANCLY\",\n env: CONFIG.OKRA_ENV,\n app_id: \"\", // app_id from your app builder\n key: CONFIG.OKRA_PUBLIC_KEY,\n token: CONFIG.OKRA_CLIENT_TOKEN,\n products: [\"auth\", \"transactions\"], //others are ['auth','identity','balance','transactions', 'income'](in lowercase)\n onSuccess: function (data: any) {\n console.log(\"options success\", data);\n handleSaveCustomerCode(data?.customer_id, \"okra\");\n },\n onClose: function () {\n console.log(\"options close\");\n },\n });\n }\n\n const monoConnect = React.useMemo(() => {\n if (!CONFIG.MONO_PUBLIC_KEY) {\n return dispatch(\n updateWebSettingsAction({ errorMsg: \"Update Config for Mono\" }),\n );\n }\n\n const customer = {\n name: `${userInfo?.first_name} ${userInfo?.last_name}`,\n email: userInfo?.email,\n };\n\n const monoInstance = new MonoConnect({\n onClose: () => {\n console.log(\"closed\");\n\n //Below appinsights is tracking the widget data\n appInsights.trackEvent({\n name: \"MonoWidgetData\",\n properties: {\n ...monoWidgetData.current,\n AccountLinkStatus: accountLinkSuccessRef.current,\n OutsideLoanProcess: true,\n },\n });\n },\n onLoad: () => console.log(\"Loaded successfully\"),\n key: CONFIG.MONO_PUBLIC_KEY,\n data: { customer },\n onSuccess: async (data: { code: string }) => {\n accountLinkSuccessRef.current = true;\n handleSaveCustomerCode(data?.code, \"mono\");\n },\n onEvent: async (eventName: string, data: any) => {\n if (eventName === \"OPENED\") {\n console.log(\"Widget is open!\");\n monoWidgetData.current = {\n ...monoWidgetData.current,\n opened: true,\n opened_dateTimeStamp: data?.timestamp,\n customer_email: userInfo?.email,\n };\n } else if (eventName === \"INSTITUTION_SELECTED\") {\n monoWidgetData.current = {\n ...monoWidgetData.current,\n is_institution_selected: true,\n selected_institution_name: data.institution.name,\n institution_selected_dateTimeStamp: data?.timestamp,\n };\n }\n },\n });\n\n monoInstance.setup();\n\n return monoInstance;\n //eslint-disable-next-line\n }, []);\n\n const handleSaveCustomerCode = async (\n code: string,\n provider: \"okra\" | \"mono\",\n ) => {\n //Call d api to store the code\n console.log({ customerId: code });\n const reqBody = {\n bank_statement_provider_id: provider === \"okra\" ? 1 : 2,\n bank_statement_provider_customer_code: provider === \"okra\" ? code : \"\",\n authentication_code: provider === \"mono\" ? code : \"\",\n customer_id: userInfo?.customerId,\n aggregator_id: userInfo?.aggregatorId,\n };\n try {\n dispatch(\n updateWebSettingsAction({\n isSavingProvider: true,\n }),\n );\n const response = await putData(\n apiEndpoints.saveBankstatementProviderWeb,\n reqBody,\n );\n dispatch(\n updateWebSettingsAction({\n successMsg: {\n bodyText:\n response.message ?? \"Bank provider details saved successfully\",\n },\n }),\n );\n\n refetchBankStatementLinkedStatus();\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg:\n error?.response?.data?.message ??\n \"Something went wrong please try again\",\n }),\n );\n } finally {\n dispatch(\n updateWebSettingsAction({\n isSavingProvider: false,\n }),\n );\n }\n };\n\n const handleBankStatement = () => {\n if (!isLoadingUserExist && !isLoadingBankStatementLinkedStatus) {\n if (!bankStatementLinkedStatus?.status && handleLaunchOkraWidget) {\n if (userExistsData?.bank_statement_provider?.toLowerCase() === \"okra\") {\n handleLaunchOkraWidget();\n } else {\n //@ts-ignore\n monoConnect.open();\n }\n }\n }\n };\n\n const { courseDescription, courseAmount } = borrowerDetails;\n\n return (\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n\n {webStateData?.showPinModal && }\n\n {webStateData?.showLoanRequestModal && (\n \n )}\n\n {webStateData?.showLoanDetails && (\n \n )}\n\n {webStateData?.showLoanRepayments && (\n \n )}\n\n {webStateData?.showRepaymentSchedule && (\n \n )}\n\n {webStateData?.showLoanRepaymentModal && (\n \n )}\n \n );\n}\n\nexport default UserData;\n","export default __webpack_public_path__ + \"static/media/SCENE1v4.c63df042.svg\";","import React, { useEffect, useRef, useState } from \"react\";\nimport embedLogo from \"../../../assets/web/Embed.svg\";\nimport scene1v4 from \"../../../assets/web/SCENE1v4.svg\";\nimport styles from \"./Login.module.scss\";\nimport { Link } from \"react-router-dom\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../helpers/yupValidators\";\nimport CustomInputField from \"../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useHistory } from \"react-router-dom\";\nimport { getData, postData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { encrypt } from \"../../../helpers/encryptor\";\nimport { add } from \"date-fns\";\nimport { useParams } from \"react-router-dom\";\nimport { Alert, Button } from \"antd\";\nimport { useDispatch } from \"react-redux\";\nimport {\n updateBorrowerDetailsAction,\n updateWebAggregatorSettingsAction,\n} from \"../../../redux/actions\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../helpers/mixpanel\";\nimport { Setting } from \"../../../interfaces/borrower\";\n\nconst schema = yup.object().shape({\n email: yupValidators.email,\n password: yupValidators.password,\n});\n\ninterface LoginCredentials {\n email: string;\n password: string;\n}\n\nfunction Login() {\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(\"\");\n const dispatch = useDispatch();\n const [aggregatorInfo, setAggregatorInfo] = useState(null);\n const isBankStatementConnectedRef = useRef({\n bank_statement_connected: null,\n });\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const history = useHistory();\n const { courseAmount, courseDescription, partnerName } = useParams();\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (Login.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Login.tsx`, {\n page: \"Login.tsx - (Web)\",\n });\n }, []);\n\n async function validateAggregator(shortName: string) {\n try {\n const response = await getData(\n `${apiEndpoints.validateAggregator}?shortName=${shortName}`,\n );\n\n setAggregatorInfo(response.data);\n } catch (error) {\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (Login.tsx)\",\n },\n });\n }\n }\n\n useEffect(() => {\n validateAggregator(partnerName);\n }, [partnerName]);\n\n const handlePostLoginRouting = (\n requireEquityContribution: boolean,\n courseAmount: string | undefined,\n courseDescription: string | undefined,\n aggregatorShortName: string,\n ) => {\n if (requireEquityContribution && courseAmount && courseDescription) {\n history.push(\n `/${aggregatorShortName}/${courseDescription}/${courseAmount}`,\n );\n } else {\n history.push(`/${aggregatorShortName}`);\n }\n };\n\n const onSubmit = async ({ email, password }: LoginCredentials) => {\n setError(\"\");\n setLoading(true);\n\n try {\n const loginResponse = await postData(apiEndpoints.login, {\n username: email,\n password,\n });\n\n const ssoAuthToken = loginResponse?.sso_auth_token;\n const encryptedToken = encrypt(ssoAuthToken);\n localStorage.setItem(\"token\", encryptedToken);\n\n const session_timeout = add(new Date(), {\n seconds: loginResponse?.expiresIn,\n });\n\n const userResponse = await getData(apiEndpoints.customerWalletDetails);\n\n const {\n data: {\n bvn,\n isBvnVerified,\n country,\n bankCode,\n accountName,\n phoneNumberCountryDialCode,\n phoneNumber,\n customerType,\n customerId,\n walletId,\n isDefault,\n accountStatus,\n accountNumber,\n currency,\n aggregatorId,\n isTransactionPinSet,\n isSecurityQuestionSet,\n companyRegistrationNumber,\n transferCharge,\n },\n } = userResponse;\n\n const encryptedBVN = encrypt(bvn);\n const encryptedWalletId = encrypt(walletId);\n\n const userExistResponse = await getData(\n `${apiEndpoints.checkCustomerExistsWeb}?identity_number=${bvn}&phone_number=${phoneNumber}&aggregator_id=${aggregatorId}&email=${email}&business_registration_number=${companyRegistrationNumber}`,\n );\n\n const webAggregatorSettings = await getData(\n `${apiEndpoints.getWebAggregatorSettings}?AggregatorId=${aggregatorId}&CountryCode=${country}`,\n );\n\n if (userExistResponse?.status) {\n // This will make the borrower see application page (page 2) straight away if he isn't a first time borrower\n await checkBankStatementAuthStatus({\n customer_id: userExistResponse.data?.customer_id,\n bank_statement_provider_id:\n userExistResponse.data?.bank_statement_provider_id,\n aggregator_id: aggregatorId,\n });\n\n if (courseDescription && courseAmount) {\n dispatch(\n updateBorrowerDetailsAction({\n courseDescription,\n courseAmount,\n }),\n );\n }\n\n dispatch(updateWebAggregatorSettingsAction(webAggregatorSettings));\n\n dispatch(\n updateBorrowerDetailsAction({\n first_name: loginResponse?.first_name,\n last_name: loginResponse?.last_name,\n email: loginResponse?.email,\n isBvnValidated: isBvnVerified,\n isEmailVerified: loginResponse?.isEmailVerified,\n phoneNoCountryDialCode: phoneNumberCountryDialCode,\n borrower_phone: phoneNumber,\n aggregator_id: aggregatorId,\n business_registration_number:\n userExistResponse.data?.business_registration_number ??\n companyRegistrationNumber,\n company_name: userExistResponse.data?.company_name,\n aggregator_name: aggregatorInfo?.shortName ?? \"partnerName\",\n accountName,\n bank_account_number: accountNumber,\n accountStatus,\n bank_code: bankCode,\n bank_statement_connected:\n isBankStatementConnectedRef.current.bank_statement_connected,\n bank_statement_provider:\n userExistResponse.data?.bank_statement_provider,\n bank_statement_provider_id:\n userExistResponse.data?.bank_statement_provider_id,\n bvn_number: encryptedBVN,\n currency,\n customer_id: customerId,\n customer_type: customerType,\n isDefault,\n wallet_id: encryptedWalletId,\n firstTimeLogin: loginResponse?.firstTimeLogin,\n transferCharge,\n isTransactionPinSet,\n isSecurityQuestionSet,\n session_timeout,\n country,\n }),\n );\n\n localStorage.setItem(\n \"currentUser\",\n JSON.stringify({\n first_name: loginResponse?.first_name,\n last_name: loginResponse?.last_name,\n email: loginResponse?.email,\n customerId,\n isBvnVerified,\n isEmailVerified: loginResponse?.isEmailVerified,\n walletId: encryptedWalletId,\n session_timeout,\n country,\n currency,\n phoneNumberCountryDialCode,\n bvn: encryptedBVN,\n phoneNumber,\n isDefault,\n accountStatus,\n accountNumber,\n customerType,\n aggregatorId,\n isTransactionPinSet,\n isSecurityQuestionSet,\n transferCharge,\n business_registration_number:\n userExistResponse.data?.business_registration_number ??\n companyRegistrationNumber,\n company_name: userExistResponse.data?.company_name,\n bank_statement_provider:\n userExistResponse.data?.bank_statement_provider,\n bank_statement_provider_id:\n userExistResponse.data?.bank_statement_provider_id,\n bank_statement_connected:\n isBankStatementConnectedRef.current.bank_statement_connected,\n aggregator_name: aggregatorInfo?.shortName ?? \"partnerName\",\n }),\n );\n\n MixPanel.identify(`${loginResponse?.email}`);\n\n MixPanel.people.set({\n $name: `${loginResponse?.first_name} ${loginResponse?.last_name}`,\n $email: `${loginResponse?.email}`,\n phone: `${phoneNumber}`,\n \"customer id\": `${customerId}`,\n aggregator: `${partnerName}`,\n product: \"Embed web\",\n \"customer type\": `${customerType}`,\n });\n }\n\n const requireEquityContributionSetting =\n webAggregatorSettings?.data?.find(\n (settings: Setting) =>\n settings.setting_name?.toLowerCase() ===\n \"require_equity_contribution\",\n );\n\n const requireEquityContribution =\n requireEquityContributionSetting?.setting_value === \"1\";\n\n handlePostLoginRouting(\n requireEquityContribution,\n courseAmount,\n courseDescription,\n aggregatorInfo?.shortName ?? \"partnerName\",\n );\n } catch (error) {\n setError(error?.response?.data?.message ?? error?.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (Login.tsx)\",\n },\n });\n } finally {\n setLoading(false);\n }\n };\n\n async function checkBankStatementAuthStatus(data: {\n customer_id: number;\n aggregator_id: number;\n bank_statement_provider_id: number;\n }) {\n try {\n const res = await getData(\n `${apiEndpoints.checkBankStatementProviderIsLinked}?aggregator_id=${data.aggregator_id}&bank_statement_provider_id=${data.bank_statement_provider_id}&customer_id=${data.customer_id}`,\n );\n isBankStatementConnectedRef.current.bank_statement_connected =\n res?.status;\n } catch (error) {\n setError(error?.response?.data?.message ?? error?.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (Login.tsx)\",\n },\n });\n }\n }\n\n return (\n
\n
\n
\n \"\"\n embed\n
\n\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n
\n

Welcome Back.

\n

Sign in to continue

\n
\n\n
\n \n\n \n\n \n forgot password?\n \n\n
\n
\n \n {loading ? \" Logging in...\" : \"Log in\"}\n \n
\n

\n Don’t have an account?{\" \"}\n \n Sign up\n \n

\n
\n \n
\n
\n\n
\n \"\"\n

Unlock Credit that Advances your life

\n

\n Seize the opportunity to unlock your future earnings now and fuel your\n exponential growth\n

\n
\n
\n );\n}\n\nexport default Login;\n","import React from 'react'\nimport styles from \"./SignUpLayout.module.scss\"\nimport embedLogo from \"../../../../assets/web/Embed.svg\"\nimport scene1v4 from \"../../../../assets/web/SCENE1v4.svg\"\nimport { Link } from 'react-router-dom'\n\ninterface SignUpProp {\n children: React.ReactNode\n}\n\nfunction SignUpLayout({children}: SignUpProp) {\n return (\n
\n
\n
\n
\n \n embed\n
\n
\n
\n {children}\n
\n
\n
\n \n

Unlock Credit that Advances your life

\n

Seize the opportunity to unlock your future earnings now and fuel your exponential growth

\n
\n
\n )\n}\n\nexport default SignUpLayout","import { getData } from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\nimport { useQuery } from \"react-query\";\n\nconst getOtpTypes = async () => {\n const { data } = await getData(`${apiEndpoints.otp_types}`);\n return data;\n};\n\nexport default function useOtpTypes() {\n return useQuery([\"getOtpTypes\", {}], getOtpTypes, {\n refetchOnWindowFocus: true,\n });\n}\n","import React, { useEffect, useState, Dispatch, SetStateAction } from \"react\";\nimport { IoIosArrowUp, IoIosArrowDown } from \"react-icons/io\";\nimport { Icon } from \"@iconify/react\";\nimport * as yup from \"yup\";\nimport styles from \"./GettingStarted.module.scss\";\nimport { Link } from \"react-router-dom\";\nimport CustomSelectDropdown from \"../../../../components/CustomHTMLElements/CustomSelectDropdown\";\nimport { useForm } from \"react-hook-form\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../../helpers/yupValidators\";\nimport useFetchCountries from \"../../../../custom-hooks/useFetchCountries\";\nimport CustomInputField from \"../../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport useOtpTypes from \"../../../../custom-hooks/useOtpTypes\";\nimport { useParams } from \"react-router-dom\";\nimport { Alert } from \"antd\";\nimport { useDispatch } from \"react-redux\";\nimport { updateBorrowerDetailsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\nimport { AggregatorInfoResponse } from \"../../../../interfaces/aggregatorInfoResponse\";\n\ninterface CountryCode {\n country_code?: string;\n currency?: string;\n dial_code?: string;\n id?: number;\n is_active?: number;\n name?: string;\n}\n\ninterface FormData {\n email: string;\n country: string;\n phoneNumber: string;\n bvn: string;\n nationalID: string;\n}\n\ninterface BVNResponse {\n data: {\n first_name: string | null;\n last_name: string | null;\n dob: string | null;\n formatted_dob: string | null;\n mobile: string | null;\n bvn: string | null;\n gender: string | null;\n residential_address: string | null;\n };\n}\n\nconst nigerianSchema = yup.object().shape({\n email: yupValidators.email,\n country: yupValidators.country,\n phoneNumber: yupValidators.phone_number,\n bvn: yupValidators.bvn,\n});\n\nconst otherCountriesSchema = yup.object().shape({\n email: yupValidators.email,\n country: yupValidators.country,\n phoneNumber: yupValidators.phone_number,\n nationalId: yupValidators.nationalId,\n});\n\ninterface GettingStartedProp {\n onNextStep: () => void;\n error: string;\n setError: Dispatch>;\n aggregatorInfo: AggregatorInfoResponse;\n isValidatingAggregator: boolean;\n}\n\nenum ProductDomainEnum {\n Spark = 1,\n Advest = 2,\n EmbedLite = 3,\n}\n\nfunction GettingStarted({\n onNextStep,\n error,\n setError,\n aggregatorInfo,\n isValidatingAggregator,\n}: GettingStartedProp) {\n const [searchText, setSearchText] = useState(\"\");\n const [searchTimeout, setSearchTimeout] = useState(\n null,\n );\n const [searchedResults, setSearchedResults] = useState([]);\n const [displayCountry, setDisplayCountry] = useState(false);\n const [selectedCountry, setSelectedCountry] = useState({\n country_code: \"ng\",\n dial_code: \"234\",\n });\n const [loading, setLoading] = useState(false);\n const [verifyingID, setVerifyingID] = useState(false);\n const { courseAmount, courseDescription } = useParams();\n const dispatch = useDispatch();\n\n const {\n register,\n handleSubmit,\n watch,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(\n selectedCountry.country_code === \"ng\"\n ? nigerianSchema\n : otherCountriesSchema,\n ),\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Onboarding - (GettingStarted.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: GettingStarted.tsx`, {\n page: \"GettingStarted.tsx - (Web Onboarding)\",\n });\n }, []);\n\n const selectedCountryCode = watch(\"country\");\n\n const { data: countryLists, isLoading: isLoadingCountries } =\n useFetchCountries();\n\n useEffect(() => {\n if (selectedCountryCode) {\n const foundCountry = countryLists?.find(\n (country: CountryCode) => country.country_code === selectedCountryCode,\n );\n if (foundCountry) {\n handleCountrySelection(foundCountry);\n }\n\n dispatch(\n updateBorrowerDetailsAction({\n phoneNoCountryDialCode: String(foundCountry?.dial_code),\n }),\n );\n }\n }, [countryLists, selectedCountryCode]);\n\n const filterPrompts = (searchText: string) => {\n const regex = new RegExp(searchText, \"i\");\n\n return countryLists.filter((country: CountryCode) => {\n const name = country.name || \"\";\n const countryCode = country.country_code || \"\";\n\n return regex.test(name) || regex.test(countryCode);\n });\n };\n\n const handleSearchChange = (e: React.ChangeEvent) => {\n clearTimeout(searchTimeout as NodeJS.Timeout);\n setSearchText(e.target.value);\n\n //debounce method\n setSearchTimeout(\n setTimeout(() => {\n const searchResult = filterPrompts(e.target.value);\n setSearchedResults(searchResult);\n }, 500),\n );\n };\n\n const handleCountryDisplay = () => {\n setDisplayCountry((prev) => !prev);\n };\n\n const handleCountrySelection = (country: CountryCode) => {\n setSelectedCountry({\n country_code: country?.country_code?.toLowerCase(),\n dial_code: String(country.dial_code),\n });\n setDisplayCountry(false);\n };\n\n const { data: otpTypes } = useOtpTypes();\n\n const renderCountryList = () => {\n return countryLists?.map((country: CountryCode) => (\n \n ));\n };\n\n const onSubmit = async ({\n email,\n phoneNumber,\n country,\n bvn,\n nationalID,\n }: FormData) => {\n setError(\"\");\n if (!selectedCountry.dial_code) {\n setError(\"Invalid dial code!\");\n return;\n }\n setLoading(true);\n let response;\n if (!phoneNumber?.startsWith(\"0\")) {\n phoneNumber = \"0\" + phoneNumber;\n }\n\n const idType = bvn ? \"BVN\" : \"NATIONAL ID\";\n response = await resolveID({\n countryCode: country,\n identificationNumber: idType === \"BVN\" ? bvn : nationalID,\n bvn: idType === \"BVN\" ? bvn : undefined,\n aggregatorId: aggregatorInfo?.id,\n emailAddress: email,\n phoneNumber: phoneNumber,\n productDomain: ProductDomainEnum.EmbedLite,\n });\n setLoading(false);\n\n if (!response) return;\n try {\n const reqBody = {\n email,\n phone: phoneNumber,\n partner: aggregatorInfo?.bizName,\n bvn,\n productDomain: \"EmbedLite\",\n countryCode: country,\n otpType: otpTypes?.find(\n (o: { name: string }) => o?.name === \"Onboarding\",\n )?.id,\n };\n\n await postData(apiEndpoints.validate_sign_up_email, reqBody);\n\n dispatch(\n updateBorrowerDetailsAction({\n first_name: response?.first_name || \"\",\n last_name: response?.last_name || \"\",\n dob: response?.dob || \"\",\n isBvnValidated: response?.isBvnValidated || false,\n email,\n borrower_phone: phoneNumber,\n isEmailVerified: false,\n phoneNoCountryDialCode: selectedCountry.dial_code,\n bvn_number: bvn,\n gender: response.gender || \"\",\n country_code: country,\n aggregator_id: aggregatorInfo?.id,\n aggregator_name: aggregatorInfo?.shortName,\n }),\n );\n\n if (courseDescription && courseAmount) {\n dispatch(\n updateBorrowerDetailsAction({\n courseDescription,\n courseAmount,\n }),\n );\n }\n\n onNextStep();\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n\n MixPanel.track(\"Sign Up\", {\n distinct_id: `${email}`,\n URL: window.location.href,\n product: \"Embed Web\",\n status: `Failed: ${error.response?.data?.message ?? error.message}`,\n step: \"GettingStarted.tsx\",\n });\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Onboarding - (GettingStarted.tsx)\",\n },\n });\n } finally {\n setLoading(false);\n }\n };\n\n const resolveID = async (reqBody: {\n countryCode: string;\n identificationNumber: string;\n bvn?: string;\n aggregatorId: number;\n emailAddress: string;\n phoneNumber: string;\n productDomain: number;\n }) => {\n setError(\"\");\n let bvn: string | null = null;\n setVerifyingID(true);\n try {\n const {\n data: {\n formatted_dob,\n first_name,\n last_name,\n gender,\n bvn: responseDataBvn,\n },\n }: BVNResponse = await postData(`${apiEndpoints.resolve_BVN}`, reqBody);\n bvn = responseDataBvn;\n return {\n first_name: String(first_name),\n last_name: String(last_name),\n dob: String(formatted_dob),\n isBvnValidated: true,\n bvn: String(bvn),\n gender: String(gender),\n };\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n\n dispatch(\n updateBorrowerDetailsAction({\n isBvnValidated: false,\n }),\n );\n\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Onboarding - (GettingStarted.tsx)\",\n },\n });\n } finally {\n setVerifyingID(false);\n }\n };\n\n return (\n <>\n {isValidatingAggregator ? (\n
\n \n \n Please wait, we are validating this aggregator...\n \n
\n ) : (\n
\n {error && (\n
\n setError(\"\")}\n />\n
\n )}\n
\n
\n

Let’s get started

\n

Enter the following information to begin

\n
\n \n \n \n {renderCountryList()}\n \n\n {selectedCountryCode && (\n
\n
\n \n \n
\n \n {errors.email?.message}\n \n
\n )}\n\n {selectedCountryCode && (\n
\n \n
\n
\n \n {selectedCountry.dial_code}\n {displayCountry ? (\n \n ) : (\n \n )}\n
\n \n
\n {displayCountry && (\n
\n \n
    \n {searchText\n ? searchedResults.map((country) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))\n : countryLists.map((country: CountryCode) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))}\n
\n
\n )}\n \n {errors.phoneNumber?.message}\n \n
\n )}\n\n {!selectedCountryCode ? null : selectedCountryCode === \"NG\" ? (\n
\n \n {verifyingID && (\n \n
\n \n
\n Verifying BVN...\n
\n )}\n
\n ) : (\n
\n \n {verifyingID && (\n \n
\n \n
\n Verifying ID...\n
\n )}\n
\n )}\n
\n
\n \n
\n

\n Do you have an account?{\" \"}\n \n Sign in\n \n

\n
\n \n\n \n \n \n )}\n \n );\n}\n\nexport default GettingStarted;\n","import React, { useState, Dispatch, SetStateAction, useEffect } from \"react\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport styles from \"./OtpVerification.module.scss\";\nimport { Link, useParams } from \"react-router-dom\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { postData } from \"../../../../apis/apiMethods\";\nimport useOtpTypes from \"../../../../custom-hooks/useOtpTypes\";\nimport PinInput from \"react-pin-input\";\nimport { Alert, Button } from \"antd\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { updateBorrowerDetailsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface OtpVerificationProps {\n onNextStep: () => void;\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n success: string;\n setSuccess: Dispatch>;\n aggregatorInfo: any;\n}\n\nfunction OtpVerification({\n onNextStep,\n setCurrentStep,\n error,\n setError,\n success,\n setSuccess,\n aggregatorInfo,\n}: OtpVerificationProps) {\n const [otpLoading, setOtpLoading] = useState(false);\n const [loading, setLoading] = useState(false);\n const [otp, setOtp] = useState(\"\");\n const dispatch = useDispatch();\n const { courseAmount, courseDescription } = useParams();\n const borrowerData = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Onboarding - (OtpVerification.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: OtpVerification.tsx`, {\n page: \"OtpVerification.tsx - (Web Onboarding)\",\n });\n }, []);\n\n const handleSubmit = async () => {\n setError(\"\");\n setSuccess(\"\");\n setLoading(true);\n try {\n const reqBody = {\n otp,\n email: borrowerData?.email,\n phone: borrowerData?.borrower_phone,\n };\n await postData(apiEndpoints.validate_sign_up_otp, reqBody);\n dispatch(\n updateBorrowerDetailsAction({\n isEmailVerified: true,\n }),\n );\n setLoading(false);\n onNextStep();\n } catch (error) {\n setLoading(false);\n setError(\"OTP verification failed\");\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Onboarding - (OtpVerification.tsx)\",\n },\n });\n\n MixPanel.track(\"Sign Up\", {\n distinct_id: `${borrowerData?.email}`,\n URL: window.location.href,\n product: \"Embed Web\",\n status: `Failed: ${error.response?.data?.message ?? error.message}`,\n step: \"OtpVerification.tsx\",\n });\n }\n };\n\n const { data: otpTypes } = useOtpTypes();\n\n const resendOtp = async () => {\n setSuccess(\"\");\n setError(\"\");\n setOtpLoading(true);\n try {\n await postData(\n `${apiEndpoints.generate_otp}?email=${borrowerData?.email}&countryCode=${borrowerData?.country_code}`,\n {\n otpType: otpTypes?.find(\n (o: { name: string }) => o?.name === \"Onboarding\",\n )?.id,\n },\n );\n setOtpLoading(false);\n setSuccess(\"A new OTP has been sent to your email address.\");\n } catch (error) {\n setOtpLoading(false);\n setError(\"Operation failed\");\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Onboarding - (OtpVerification.tsx)\",\n },\n });\n }\n };\n\n return (\n
\n {error && (\n \n setError(\"\")}\n />\n
\n )}\n {success && (\n \n setSuccess(\"\")}\n />\n \n )}\n
\n

OTP Verification

\n

A One-Time password (OTP) has been sent to {borrowerData?.email}

\n
\n\n
\n
\n {\n setOtp(value);\n }}\n type=\"numeric\"\n inputMode=\"number\"\n autoSelect={true}\n regexCriteria={/^[ 0-9]*$/}\n />\n
\n\n \n {otpLoading || loading ? (\n \n \n \n ) : (\n \"\"\n )}\n {loading ? Validating OTP... : Resend OTP}\n
\n\n \n Validate\n \n \n\n
\n

\n Entered a wrong email address?{\" \"}\n setCurrentStep((prev) => prev - 1)}\n >\n Go back\n \n

\n

\n Already have an account?{\" \"}\n \n Login\n \n

\n
\n \n );\n}\n\nexport default OtpVerification;\n","import React, { useEffect, useState, Dispatch, SetStateAction } from \"react\";\nimport styles from \"./Individual.module.scss\";\nimport { IoIosArrowUp, IoIosArrowDown } from \"react-icons/io\";\nimport { Icon } from \"@iconify/react\";\nimport CustomInputField from \"../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../helpers/yupValidators\";\nimport CustomSelectDropdown from \"../../../components/CustomHTMLElements/CustomSelectDropdown\";\nimport { Link, useParams } from \"react-router-dom\";\nimport useFetchCountries from \"../../../custom-hooks/useFetchCountries\";\nimport moment from \"moment\";\nimport { Alert, Button } from \"antd\";\nimport { postData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { updateBorrowerDetailsAction } from \"../../../redux/actions\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\nimport { MixPanel } from \"../../../helpers/mixpanel\";\nimport { AggregatorInfoResponse } from \"../../../interfaces/aggregatorInfoResponse\";\n\ninterface FormData {\n firstName: string;\n lastName: string;\n email: string;\n gender: string;\n dob: string;\n password: string;\n phone_number: string;\n country: string;\n}\n\ninterface CountryCode {\n country_code?: string;\n currency?: string;\n dial_code?: string;\n id?: number;\n is_active?: number;\n name?: string;\n}\n\ninterface IndividualProps {\n setCurrentStep: Dispatch>;\n error: string;\n setError: Dispatch>;\n success: string;\n setSuccess: Dispatch>;\n aggregatorInfo: AggregatorInfoResponse;\n}\n\nconst individualSchema = yup.object().shape({\n firstName: yupValidators.firstName,\n lastName: yupValidators.lastName,\n email: yupValidators.email,\n gender: yupValidators.gender,\n dob: yupValidators.dob,\n password: yupValidators.password,\n phone_number: yupValidators.phone_number,\n});\n\nfunction Individual({\n setCurrentStep,\n error,\n setError,\n success,\n setSuccess,\n aggregatorInfo,\n}: IndividualProps) {\n const [loading, setLoading] = useState(false);\n const [searchText, setSearchText] = useState(\"\");\n const [searchTimeout, setSearchTimeout] = useState(\n null,\n );\n const [searchedResults, setSearchedResults] = useState([]);\n const [displayCountry, setDisplayCountry] = useState(false);\n const [selectedCountry, setSelectedCountry] = useState({\n country_code: \"ng\",\n dial_code: \"+234\",\n });\n const { courseAmount, courseDescription, partnerName } = useParams();\n const dispatch = useDispatch();\n const borrowerData = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(individualSchema),\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Onboarding - (Individual.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: Individual.tsx`, {\n page: \"Individual.tsx - (Web Onboarding)\",\n });\n }, []);\n\n const { data: countryLists } = useFetchCountries();\n\n // Gender selection\n const genderList = [\"Male\", \"Female\", \"Others\"];\n\n const genderDropDown = () => {\n return genderList.map((gender, index) => (\n \n ));\n };\n\n const filterPrompts = (searchText: string) => {\n const regex = new RegExp(searchText, \"i\");\n\n return countryLists.filter((country: CountryCode) => {\n const name = country.name || \"\";\n const countryCode = country.country_code || \"\";\n\n return regex.test(name) || regex.test(countryCode);\n });\n };\n\n const handleSearchChange = (e: React.ChangeEvent) => {\n clearTimeout(searchTimeout as NodeJS.Timeout);\n setSearchText(e.target.value);\n\n //debounce method\n setSearchTimeout(\n setTimeout(() => {\n const searchResult = filterPrompts(e.target.value);\n setSearchedResults(searchResult);\n }, 500),\n );\n };\n\n const handleCountryDisplay = () => {\n setDisplayCountry((prev) => !prev);\n };\n\n useEffect(() => {\n const foundCountry = countryLists?.find(\n (country: CountryCode) => country.country_code === borrowerData?.country,\n );\n if (foundCountry) {\n handleCountrySelection(foundCountry);\n }\n }, [countryLists, borrowerData?.country]);\n\n const handleCountrySelection = (country: CountryCode) => {\n setSelectedCountry({\n country_code: country.country_code?.toLowerCase(),\n dial_code: country.dial_code,\n });\n setDisplayCountry(false);\n };\n\n // Function to delete first zero in user phone number\n function deleteFirstZero(value: string) {\n return value.replace(/^0/, \"\");\n }\n\n const currentDate = moment().format(\"YYYY-MM-DD\");\n\n const onSubmit = async ({\n firstName,\n lastName,\n email,\n gender,\n dob,\n password,\n phone_number,\n }: FormData) => {\n setError(\"\");\n setSuccess(\"\");\n setLoading(true);\n try {\n const reqBody = {\n firstName,\n lastName,\n email,\n gender,\n dateOfBirth: dob,\n password,\n phoneNumber:\n borrowerData?.phoneNoCountryDialCode + deleteFirstZero(phone_number),\n countryCode: borrowerData?.country_code,\n aggregatorId: borrowerData?.aggregator_id,\n isIdentityNumberVerified: true,\n partnerDateRegistered: currentDate,\n onboardingType: \"Borrower\",\n customerType: \"Individual\",\n identityNumber: borrowerData?.bvn_number,\n createWallet: true,\n };\n await postData(apiEndpoints.customerOnboard, reqBody);\n setSuccess(\"Your account has been created successfully.\");\n\n dispatch(\n updateBorrowerDetailsAction({\n password,\n }),\n );\n\n setCurrentStep(3);\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Onboarding - (Individual.tsx)\",\n },\n });\n\n MixPanel.track(\"Sign Up\", {\n distinct_id: `${email}`,\n URL: window.location.href,\n product: \"Embed Web\",\n status: `Failed: ${error.response?.data?.message ?? error.message}`,\n step: \"Individual.tsx\",\n });\n } finally {\n setLoading(false);\n }\n };\n\n return (\n
\n {error && (\n \n setError(\"\")}\n />\n
\n )}\n {success && (\n \n setSuccess(\"\")}\n />\n \n )}\n
\n

Create an account

\n

Enter your personal information to continue

\n
\n\n \n
\n \n\n \n
\n\n \n\n
\n \n
\n
\n \n {selectedCountry.dial_code}\n {displayCountry ? (\n \n ) : (\n \n )}\n
\n \n
\n {displayCountry && (\n
\n \n
    \n {searchText\n ? searchedResults.map((country) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))\n : countryLists.map((country: CountryCode) => (\n handleCountrySelection(country)}\n >\n
    \n \n {country.name}\n
    \n {country.dial_code}\n \n ))}\n
\n
\n )}\n \n {errors.phoneNumber?.message}\n \n
\n\n {!borrowerData?.gender ||\n borrowerData?.gender === \"null\" ||\n borrowerData?.gender === \" \" ||\n borrowerData?.gender === \"Null\" ? (\n \n \n {genderDropDown()}\n \n ) : (\n \n )}\n\n {!borrowerData?.dob ||\n borrowerData?.dob === \"null\" ||\n borrowerData?.dob === \" \" ||\n borrowerData?.dob === \"Null\" ? (\n
\n \n \n \n {errors.dob?.message}\n \n
\n ) : (\n \n )}\n\n \n\n
\n \n

\n Do you have an account?{\" \"}\n \n Sign in\n \n

\n
\n \n \n );\n}\n\nexport default Individual;\n","import React, {\n useEffect,\n useRef,\n useState,\n Dispatch,\n SetStateAction,\n} from \"react\";\nimport styles from \"./RegistrationSuccess.module.scss\";\nimport successSVG from \"../../../../assets/web/success.svg\";\nimport { getData, postData } from \"../../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../../apis/apiEndpoints\";\nimport { Alert, Button } from \"antd\";\nimport { useHistory } from \"react-router-dom\";\nimport { encrypt } from \"../../../../helpers/encryptor\";\nimport { add } from \"date-fns\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../../interfaces/redux-interface\";\nimport { updateBorrowerDetailsAction } from \"../../../../redux/actions\";\nimport { appInsights } from \"../../../../components/AppInsight/AppInsight\";\nimport { useLocation } from \"react-router-dom\";\nimport { MixPanel } from \"../../../../helpers/mixpanel\";\n\ninterface RegistrationSuccessProps {\n error: string;\n setError: Dispatch>;\n success: string;\n setSuccess: Dispatch>;\n}\n\nfunction RegistrationSuccess({\n error,\n setError,\n success,\n setSuccess,\n}: RegistrationSuccessProps) {\n const [isLoading, setIsLoading] = useState(false);\n const dispatch = useDispatch();\n const borrowerData = useSelector(\n (state: ReduxStoreModel) => state.borrowerDetailsReducer,\n );\n\n const isBankStatementConnectedRef = useRef({\n bank_statement_connected: false,\n });\n\n const history = useHistory();\n const location = useLocation();\n const ipRef = useRef(null);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Onboarding - (RegistrationSuccess.tsx)\",\n isLoggedIn: true,\n });\n\n MixPanel.track(`Page View: RegistrationSuccess.tsx`, {\n page: \"RegistrationSuccess.tsx - (Web Onboarding)\",\n });\n }, []);\n\n useEffect(() => {\n fetch(\"https://api.ipify.org?format=json\")\n .then((response) => response.json())\n .then((data) => (ipRef.current = data.ip));\n }, []);\n\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n // check for first time borrowers\n const checkFirstTimeBorrower = async () => {\n setSuccess(\"\");\n setError(\"\");\n setIsLoading(true);\n try {\n const userExistResponse = await getData(\n `${apiEndpoints.checkCustomerExistsWeb}?identity_number=${borrowerData?.bvn_number}&phone_number=${borrowerData?.borrower_phone}&aggregator_id=${borrowerData?.aggregator_id}&email=${borrowerData?.email}&business_registration_number=${borrowerData?.business_registration_number}`,\n );\n\n if (userExistResponse?.status) {\n // This is to check if user has connected their bank statement if not a first time borrower\n await checkBankStatementAuthStatus({\n customer_id: userExistResponse.data?.customer_id,\n bank_statement_provider_id:\n userExistResponse.data?.bank_statement_provider_id,\n aggregator_id: borrowerData?.aggregator_id || 0,\n });\n\n const loginResponse = await postData(apiEndpoints.login, {\n username: borrowerData?.email,\n password: borrowerData?.password,\n });\n\n const ssoAuthToken = loginResponse?.sso_auth_token;\n const encryptedToken = encrypt(ssoAuthToken);\n localStorage.setItem(\"token\", encryptedToken);\n\n const session_timeout = add(new Date(), {\n seconds: loginResponse?.expiresIn,\n });\n\n if (loginResponse?.status) {\n const userResponse = await getData(\n apiEndpoints.customerWalletDetails,\n );\n\n const {\n data: {\n bvn,\n country,\n customerType,\n customerId,\n walletId,\n isDefault,\n accountStatus,\n accountNumber,\n accountName,\n bankCode,\n currency,\n isTransactionPinSet,\n transferCharge,\n companyRegistrationNumber,\n aggregatorId,\n isBvnVerified,\n phoneNumberCountryDialCode,\n phoneNumber,\n },\n } = userResponse;\n\n const encryptedBVN = encrypt(bvn);\n const encryptedWalletId = encrypt(walletId);\n\n dispatch(\n updateBorrowerDetailsAction({\n accountName,\n bank_account_number: accountNumber,\n accountStatus,\n bank_code: bankCode,\n bank_statement_connected:\n isBankStatementConnectedRef.current.bank_statement_connected,\n bank_statement_provider:\n userExistResponse.data?.bank_statement_provider,\n bank_statement_provider_id:\n userExistResponse.data?.bank_statement_provider_id,\n bvn_number: encryptedBVN,\n currency,\n customer_id: customerId,\n customer_type: customerType,\n isDefault,\n wallet_id: encryptedWalletId,\n firstTimeLogin: loginResponse?.firstTimeLogin,\n transferCharge,\n isTransactionPinSet,\n session_timeout,\n country,\n }),\n );\n\n localStorage.setItem(\n \"currentUser\",\n JSON.stringify({\n first_name: loginResponse?.first_name,\n last_name: loginResponse?.last_name,\n email: loginResponse?.email,\n customerId,\n isBvnVerified,\n isEmailVerified: loginResponse?.isEmailVerified,\n walletId: encryptedWalletId,\n session_timeout,\n country,\n currency,\n phoneNumberCountryDialCode,\n bvn: encryptedBVN,\n phoneNumber,\n isDefault,\n accountStatus,\n customerType,\n aggregatorId,\n isTransactionPinSet,\n transferCharge,\n business_registration_number:\n userExistResponse.data?.business_registration_number ??\n companyRegistrationNumber,\n company_name: userExistResponse.data?.company_name,\n bank_statement_provider:\n userExistResponse.data?.bank_statement_provider,\n bank_statement_provider_id:\n userExistResponse.data?.bank_statement_provider_id,\n bank_statement_connected:\n isBankStatementConnectedRef.current.bank_statement_connected,\n aggregator_name: borrowerData?.aggregator_name,\n }),\n );\n\n localStorage.setItem(\n \"firstTimeLogin\",\n JSON.stringify(loginResponse?.firstTimeLogin),\n );\n\n MixPanel.identify(`${loginResponse?.email}`);\n\n MixPanel.people.set({\n $name: `${loginResponse?.first_name} ${loginResponse?.last_name}`,\n $email: `${loginResponse?.email}`,\n phone: `${phoneNumber}`,\n \"customer id\": `${customerId}`,\n aggregator: `${urlExtension[0]}`,\n product: \"embed web\",\n \"customer type\": `${customerType}`,\n \"date created\": new Date().toLocaleString(),\n });\n\n MixPanel.track(\"Sign Up\", {\n \"date created\": new Date().toLocaleString(),\n ip: `${ipRef.current}`,\n distinct_id: `${loginResponse?.email}`,\n URL: window.location.href,\n aggregator: `${urlExtension[0]}`,\n product: \"Embed Web\",\n status: \"Onboarding Complete\",\n step: \"RegistrationSuccess.tsx\",\n });\n\n history.push(`/${borrowerData?.aggregator_name}`);\n }\n } else {\n setError(userExistResponse?.message);\n }\n } catch (error) {\n setError(error.response?.data?.message ?? error.message);\n } finally {\n setIsLoading(false);\n }\n };\n\n async function checkBankStatementAuthStatus(data: {\n customer_id: number;\n aggregator_id: number;\n bank_statement_provider_id: number;\n }) {\n setError(\"\");\n try {\n const res = await getData(\n `${apiEndpoints.checkBankStatementProviderIsLinked}?aggregator_id=${data.aggregator_id}&bank_statement_provider_id=${data.bank_statement_provider_id}&customer_id=${data.customer_id}`,\n );\n isBankStatementConnectedRef.current.bank_statement_connected =\n res?.status;\n } catch (error) {\n setError(error.response.data.message ?? error.message);\n }\n }\n\n return (\n <>\n {error && (\n \n setError(\"\")}\n />\n \n )}\n {success && (\n \n setSuccess(\"\")}\n />\n \n )}\n
\n
\n \"\"\n\n

Verification Successful!

\n
\n

\n Your verification was successful. Your registration is complete.\n

\n\n \n {isLoading ? \"Please wait...\" : \"Go to your Dashboard\"}\n \n
\n \n );\n}\n\nexport default RegistrationSuccess;\n","import React, { Dispatch, SetStateAction } from \"react\";\n\nimport styles from \"./WelcomeScreen.module.scss\";\nimport successSVG from \"../../../../assets/web/success.svg\";\nimport { Button } from \"antd\";\n\ninterface WelcomeScreenProps {\n setCurrentStep: Dispatch>;\n}\n\nfunction WelcomeScreen({ setCurrentStep }: WelcomeScreenProps) {\n function skipToFinalSignUpPageHandler() {\n setCurrentStep(5);\n }\n\n function nextStepHandler() {\n setCurrentStep((prevState) => prevState + 1);\n }\n\n return (\n
\n
\n \"\"\n

Welcome to Advancly!

\n

\n To get the full value of your new account, we suggest you take some\n time to do some additional verification.\n

\n\n
\n \n\n \n
\n
\n
\n );\n}\n\nexport default WelcomeScreen;\n","import React, { useEffect, useState } from \"react\";\nimport SignUpLayout from \"./signUpLayout/SignUpLayout\";\nimport GettingStarted from \"./gettingStarted/GettingStarted\";\nimport OtpVerification from \"./otpVerification/OtpVerification\";\nimport Individual from \"../../components/individual/Individual\";\nimport RegistrationSuccess from \"./registrationSuccess/RegistrationSuccess\";\nimport WelcomeScreen from \"./welcomeScreen/WelcomeScreen\";\nimport ResidentialInformation from \"./residentialInformation/ResidentialInformation\";\nimport { getData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\nimport { useParams, useHistory } from \"react-router-dom\";\n\nfunction SignUp() {\n const [currentStep, setCurrentStep] = useState(0);\n const [error, setError] = useState(\"\");\n const [success, setSuccess] = useState(\"\");\n const [aggregatorInfo, setAggregatorInfo] = useState(null);\n const [isValidatingAggregator, setIsValidatingAggregator] = useState(false);\n const { partnerName } = useParams();\n\n const history = useHistory();\n\n const handleNextStep = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n async function validateAggregator(shortName: string) {\n setIsValidatingAggregator(true);\n\n try {\n const response = await getData(\n `${apiEndpoints.validateAggregator}?shortName=${shortName}`,\n );\n\n if (response.status) {\n setAggregatorInfo(response.data);\n } else {\n setIsValidatingAggregator(false);\n history.push(`/${partnerName}/page-not-found`);\n }\n } catch (error) {\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Onboarding - (GettingStarted.tsx)\",\n },\n });\n history.push(`/${partnerName}/page-not-found`);\n } finally {\n setIsValidatingAggregator(false);\n }\n }\n\n useEffect(() => {\n validateAggregator(partnerName);\n }, [partnerName]);\n\n return (\n \n {currentStep === 0 && (\n \n )}\n\n {currentStep === 1 && (\n \n )}\n\n {/*{currentStep === 2 && }*/}\n\n {/*{currentStep === 3 && (*/}\n {/* */}\n {/*)}*/}\n\n {currentStep === 2 && (\n \n )}\n\n {currentStep === 3 && }\n\n {currentStep === 4 && (\n \n )}\n\n {currentStep === 5 && (\n \n )}\n \n );\n}\n\nexport default SignUp;\n","import React, { useState, useEffect } from \"react\";\nimport embedLogo from \"../../../assets/web/Embed.svg\";\nimport { Link, useHistory } from \"react-router-dom\";\nimport arrowLeft from \"../../../assets/web/arrow-left.svg\";\nimport CustomInputField from \"../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../helpers/yupValidators\";\nimport styles from \"./ResetPassword.module.scss\";\nimport { postData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { Alert, Button } from \"antd\";\nimport { ResetPasswordData } from \"./ResetPassword\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../redux/actions\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n email: yupValidators.email,\n});\n\ninterface StepOneProps {\n onNextStep: () => void;\n setResetPasswordData: React.Dispatch>;\n setUserEmail: React.Dispatch>;\n}\n\nfunction StepOne({\n onNextStep,\n setResetPasswordData,\n setUserEmail,\n}: StepOneProps) {\n const history = useHistory();\n const [isLoading, setIsLoading] = useState(false);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Step1 - (ResetPassword.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const onSubmit = async ({ email }: { email: string }) => {\n setIsLoading(true);\n const reqBody = {\n email,\n reset_step: \"first_step\",\n };\n try {\n const res = await postData(apiEndpoints.resetPasswordUrl, reqBody);\n\n setUserEmail(email);\n setResetPasswordData({\n email,\n stateToken: res.state_token,\n });\n setIsLoading(false);\n onNextStep();\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n }),\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Step1 - (ResetPassword.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n function handleBackNavigation() {\n history.goBack();\n\n dispatch(updateWebSettingsAction({ errorMsg: \"\" }));\n }\n\n return (\n
\n {webStateData.errorMsg && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n
\n
\n \"\"\n \n embed\n \n
\n\n \n \"\"\n Go back\n \n
\n\n
\n
\n
\n

Reset Password

\n

Enter the email linked to your account to proceed.

\n
\n\n
\n \n\n
\n \n
\n \n
\n
\n \n );\n}\n\nexport default StepOne;\n","import React, { useEffect, useState } from \"react\";\nimport embedLogo from \"../../../assets/web/Embed.svg\";\nimport { Link } from \"react-router-dom\";\nimport arrowLeft from \"../../../assets/web/arrow-left.svg\";\nimport CustomInputField from \"../../../components/CustomHTMLElements/EmbedCustomInputField\";\nimport { useForm } from \"react-hook-form\";\nimport * as yup from \"yup\";\nimport { yupResolver } from \"@hookform/resolvers/yup\";\nimport { yupValidators } from \"../../../helpers/yupValidators\";\nimport styles from \"./ResetPassword.module.scss\";\nimport { ResetPasswordData } from \"./ResetPassword\";\nimport { Alert, Button } from \"antd\";\nimport { postData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { useHistory } from \"react-router-dom\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../redux/actions\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\n\nconst schema = yup.object().shape({\n password: yupValidators.password,\n confirmPassword: yupValidators.confirmPassword,\n});\n\ninterface FormData {\n password: string;\n confirmPassword: string;\n}\n\ninterface StepThreeProps {\n onPrevStep: () => void;\n aggregatorShortName: string;\n resetPasswordData: ResetPasswordData;\n}\n\nfunction StepThree({\n onPrevStep,\n resetPasswordData,\n aggregatorShortName,\n}: StepThreeProps) {\n const [isLoading, setIsLoading] = useState(false);\n const {\n register,\n handleSubmit,\n formState: { errors },\n } = useForm({\n resolver: yupResolver(schema),\n });\n const history = useHistory();\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer,\n );\n\n const data = localStorage.getItem(\"savedHeaders\");\n const savedHeaders = data && JSON.parse(data);\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Step3 - (ResetPassword.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const onSubmit = async ({ password, confirmPassword }: FormData) => {\n setIsLoading(true);\n const reqBody = {\n reset_step: \"third_step\",\n password1: password,\n password2: confirmPassword,\n state_token: resetPasswordData.stateToken,\n };\n try {\n const res = await postData(\n apiEndpoints.resetPasswordUrl,\n reqBody,\n savedHeaders,\n );\n\n if (res.status) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n successMsg: {\n bodyText: res.message,\n },\n }),\n );\n setTimeout(() => {\n setIsLoading(false);\n history.push(`/${aggregatorShortName}/login`);\n\n dispatch(\n updateWebSettingsAction({\n successMsg: {\n bodyText: \"\",\n },\n }),\n );\n }, 3000);\n }\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n }),\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Step3 - (ResetPassword.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n return (\n
\n {webStateData.errorMsg && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n {webStateData.successMsg.bodyText && (\n \n \n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" } }),\n )\n }\n />\n \n )}\n
\n
\n \"\"\n \n embed\n \n
\n\n \n
\n\n
\n
\n
\n

Reset Pasword

\n

\n Must be 6 or more characters, contain at least a number and a\n special character\n

\n
\n\n
\n \n\n \n\n
\n \n
\n \n
\n
\n \n );\n}\n\nexport default StepThree;\n","import React, { useRef, useState } from 'react'\nimport styles from \"./OtpInput.module.scss\"\n\ninterface OtpInputProps {\n length?: number\n onComplete: (pin: string) => void\n}\n\nfunction OtpInput({length=5, onComplete}: OtpInputProps) {\n const [otp, setOtp] = useState(Array(length).fill(\"\"))\n const inputRef = useRef(Array(length).fill(null))\n\n const handleTextChange = (input: string, index: number) => {\n const newPin = [...otp]\n newPin[index] = input\n setOtp(newPin)\n\n if (input.length === 1 && index < length - 1) {\n inputRef.current[index + 1]?.focus();\n }\n \n if (input.length === 0 && index > 0) {\n inputRef.current[index - 1]?.focus();\n }\n \n if (newPin.every((digit) => digit !== '')) {\n onComplete(newPin.join(''));\n }\n }\n \n return (\n
\n {Array.from({length}, (_, index) => (\n handleTextChange(e.target.value, index)}\n ref={(ref) => (inputRef.current[index] = ref as HTMLInputElement)}\n style={{ marginRight: index === length - 1 ? '0' : '10px' }} className={styles.code} />\n ))}\n
\n )\n}\n\nexport default OtpInput","import React, { useState, useEffect } from \"react\";\nimport embedLogo from \"../../../assets/web/Embed.svg\";\nimport { Link } from \"react-router-dom\";\nimport arrowLeft from \"../../../assets/web/arrow-left.svg\";\nimport styles from \"./ResetPassword.module.scss\";\nimport OtpInput from \"../../components/otpComp/OtpInput\";\nimport { postData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { Alert, Button } from \"antd\";\nimport { ResetPasswordData } from \"./ResetPassword\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"../../../interfaces/redux-interface\";\nimport { updateWebSettingsAction } from \"../../../redux/actions\";\nimport { appInsights } from '../../../components/AppInsight/AppInsight'\n\ninterface StepTwoProps {\n onNextStep: () => void;\n onPrevStep: () => void;\n setResetPasswordData: React.Dispatch>;\n userEmail: string;\n resetPasswordData: ResetPasswordData;\n}\n\nfunction StepTwo({\n onNextStep,\n onPrevStep,\n setResetPasswordData,\n userEmail,\n resetPasswordData,\n}: StepTwoProps) {\n const [otp, setOtp] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n const dispatch = useDispatch();\n const webStateData = useSelector(\n (state: ReduxStoreModel) => state.webSettingsReducer\n );\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web Step2 - (ResetPassword.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n\n const resendOtp = async () => {\n setIsLoading(true);\n const reqBody = {\n reset_step: \"first_step\",\n email: userEmail,\n };\n try {\n const res = await postData(apiEndpoints.resetPasswordUrl, reqBody);\n setResetPasswordData({\n email: userEmail,\n stateToken: res.state_token,\n });\n dispatch(\n updateWebSettingsAction({\n successMsg: { bodyText: \"An OTP has been sent to your email\" },\n })\n );\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Step3 - (ResetPassword.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n const handleSubmit = async () => {\n setIsLoading(true);\n const reqBody = {\n reset_step: \"second_step\",\n otp,\n state_token: resetPasswordData.stateToken,\n };\n try {\n const res = await postData(apiEndpoints.resetPasswordUrl, reqBody);\n setResetPasswordData({\n email: userEmail,\n stateToken: res.state_token,\n });\n onNextStep();\n dispatch(\n updateWebSettingsAction({\n errorMsg: \"\",\n successMsg: { bodyText: \"\" },\n })\n );\n } catch (error) {\n dispatch(\n updateWebSettingsAction({\n errorMsg: error.response?.data?.message ?? error.message,\n })\n );\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web Step2 - (ResetPassword.tsx)\",\n },\n });\n } finally {\n setIsLoading(false);\n }\n };\n\n return (\n
\n {webStateData.errorMsg && (\n \n dispatch(updateWebSettingsAction({ errorMsg: \"\" }))}\n />\n
\n )}\n {webStateData.successMsg.bodyText && (\n \n \n dispatch(\n updateWebSettingsAction({ successMsg: { bodyText: \"\" } })\n )\n }\n />\n \n )}\n
\n
\n \"\"\n \n embed\n \n
\n\n \n
\n\n
\n
\n
\n

OTP Verifcation

\n

\n A one time password was sent to {userEmail}{\" \"}\n
{\" \"}\n \n Back to login?\n \n

\n
\n\n setOtp(pin)} />\n \n\n \n \n
\n \n
\n \n );\n}\n\nexport default StepTwo;\n","import React, { Fragment, useEffect, useState } from \"react\";\nimport StepOne from \"./StepOne\";\nimport StepThree from \"./StepThree\";\nimport StepTwo from \"./StepTwo\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport styles from \"./ResetPassword.module.scss\";\nimport { getData } from \"../../../apis/apiMethods\";\nimport { apiEndpoints } from \"../../../apis/apiEndpoints\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\nimport mixpanel from \"mixpanel-browser\";\nimport { useDispatch } from \"react-redux\";\nimport { updateWebSettingsAction } from \"../../../redux/actions\";\nimport { MixPanel } from \"../../../helpers/mixpanel\";\n\nexport interface ResetPasswordData {\n email: string;\n stateToken: string;\n}\n\nfunction ResetPassword() {\n const [currentStep, setCurrentStep] = useState(0);\n const [userEmail, setUserEmail] = useState(\"\");\n const [isValidatingAggregator, setIsValidatingAggregator] = useState(false);\n const location = useLocation();\n const history = useHistory();\n const dispatch = useDispatch();\n const [resetPasswordData, setResetPasswordData] = useState(\n {\n email: \"\",\n stateToken: \"\",\n },\n );\n\n useEffect(() => {\n MixPanel.track(`Page View: ResetPassword.tsx`, {\n page: \"ResetPassword.tsx - (Web)\",\n });\n }, []);\n\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n\n async function validateAggregator(shortName: string) {\n setIsValidatingAggregator(true);\n\n try {\n const response = await getData(\n `${apiEndpoints.validateAggregator}?shortName=${shortName}`,\n );\n if (!response.status) {\n setIsValidatingAggregator(false);\n history.push(`/${urlExtension[0]}/page-not-found`);\n }\n } catch (error) {\n appInsights.trackException({\n exception: error,\n properties: {\n fileName: \"Web - (ResetPassword.tsx)\",\n },\n });\n history.push(`/${urlExtension[0]}/page-not-found`);\n } finally {\n setIsValidatingAggregator(false);\n }\n }\n\n const partner = urlExtension[0];\n\n useEffect(() => {\n validateAggregator(urlExtension[0]);\n }, [partner]);\n\n const handleNextStep = () => {\n setCurrentStep((prev) => prev + 1);\n };\n\n const handlePreviousStep = () => {\n setCurrentStep((prev) => prev - 1);\n dispatch(\n updateWebSettingsAction({ errorMsg: \"\", successMsg: { bodyText: \"\" } }),\n );\n };\n\n return (\n <>\n {isValidatingAggregator ? (\n
\n \n \n Please wait, we are validating this aggregator...\n \n
\n ) : (\n \n {currentStep === 0 && (\n \n )}\n {currentStep === 1 && (\n \n )}\n {currentStep === 2 && (\n \n )}\n \n )}\n \n );\n}\n\nexport default ResetPassword;\n","export default __webpack_public_path__ + \"static/media/mandate_confirmed.af0644b4.svg\";","export default __webpack_public_path__ + \"static/media/failed.006dbf05.svg\";","import { useQuery } from \"react-query\";\nimport { getData } from \"../apis/apiMethods\";\nimport { apiEndpoints } from \"../apis/apiEndpoints\";\n\nasync function fetchMandateConfirmation({mandate_reference_code}: {mandate_reference_code: string}) {\n const res = await getData(`${apiEndpoints.getMandateConfirmation}?mandate_reference_code=${mandate_reference_code}`)\n\n return res.message\n}\n\nexport default function useFetchMandateConfirmation({mandate_reference_code}: {mandate_reference_code: string}) {\n return useQuery([{mandate_reference_code}, \"fetchMandateConfirmation\"], fetchMandateConfirmation, {\n refetchOnWindowFocus: false\n })\n}","import React, { useEffect } from \"react\";\nimport embedLogo from \"../../../assets/web/Embed.svg\";\nimport mandateConfirmedSVG from \"../../../assets/web/mandate_confirmed.svg\";\nimport requestFailedSVG from \"../../../assets/web/failed.svg\"\nimport { useLocation } from \"react-router-dom\";\nimport styles from \"./DirectdebitConfirmationPage.module.scss\";\nimport Loader from \"../../../components/Loader/Loader\";\nimport useFetchMandateConfirmation from \"../../../custom-hooks/useFetchMandateConfirmation\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\n\ntype ErrorMessage = {\n response: {\n data: {\n message: string;\n };\n };\n};\n\nfunction DirectdebitConfirmationPage() {\n const location = useLocation();\n // const [errorMessage, setErrorMessage] = useState(\"\")\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (DirectdebitConfirmationPage.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n const mandateRef = location.pathname.substring(13);\n\n const {\n data: mandateConfirmationResponse,\n isLoading: isLoadingMandateConfirmationResponse,\n error: mandateConfirmationError,\n isError: isMandateError,\n } = useFetchMandateConfirmation({\n mandate_reference_code: mandateRef,\n });\n\n return (\n
\n
\n \"\"\n embed\n
\n\n
\n {isLoadingMandateConfirmationResponse ? (\n \n ) : isMandateError ? (\n
\n \n\n

\n {\n (mandateConfirmationError as ErrorMessage)?.response?.data\n .message\n }\n

\n
\n ) : (\n
\n \n\n

{mandateConfirmationResponse}

\n
\n )}\n
\n
\n );\n}\n\nexport default DirectdebitConfirmationPage;\n","import React, { useEffect } from \"react\";\nimport embedLogo from \"../../../assets/web/Embed.svg\";\nimport styles from \"./InvalidPartner.module.scss\";\nimport requestFailedSVG from \"../../../assets/web/failed.svg\";\nimport { useLocation } from \"react-router-dom\";\nimport { appInsights } from \"../../../components/AppInsight/AppInsight\";\n\nfunction ErrorPage() {\n const location = useLocation();\n const urlExtension = location.pathname.split(\"/\").filter(Boolean);\n const fullURL = `${window.location.origin}/${urlExtension[0]}`;\n\n useEffect(() => {\n appInsights.trackPageView({\n name: \"Web - (InvalidPartner.tsx)\",\n isLoggedIn: true,\n });\n }, []);\n\n return (\n
\n
\n \"\"\n embed\n
\n\n
\n
\n \"\"\n

\n Sorry, {fullURL} is an Invalid partner URL\n

\n

Please enter a valid partner URL to proceed

\n
\n
\n
\n );\n}\n\nexport default ErrorPage;\n","import React, { useEffect } from \"react\";\nimport \"./style/theme.css\";\nimport \"./App.less\";\nimport \"./style/styles.css\";\nimport {\n BrowserRouter as Router,\n Route,\n Switch,\n Redirect,\n} from \"react-router-dom\";\n// import Login from \"./components/Login\";\nimport WidgetFlow from \"./components/Widget/WidgetFlow\";\nimport Privacy from \"./components/Privacy\";\nimport Terms from \"./components/Terms\";\nimport { ROUTES } from \"./helpers/ROUTES\";\nimport WidgetFlowEmbedApi from \"./components/Widget/EmbedApiSecurity/WidgetFlowEmbedApi\";\nimport WebDashboard from \"./web/pages/userData/UserData\";\nimport WebLogin from \"./web/pages/login/Login\";\nimport WebSignUp from \"./web/pages/signUp/SignUp\";\nimport ResetPassword from \"./web/pages/resetPassword/ResetPassword\";\nimport { useSelector } from \"react-redux\";\nimport { ReduxStoreModel } from \"./interfaces/redux-interface\";\nimport DirectdebitConfirmationPage from \"./web/pages/directdebitConfirmationPage/DirectdebitConfirmationPage\";\nimport InvalidPartner from \"./web/pages/InvalidPartner/InvalidPartner\";\n\nfunction App() {\n const widgetSettings = useSelector(\n (state: ReduxStoreModel) => state.widgetSettingsReducer,\n );\n\n // useEffect(() => {\n // console.log({\n // widgetSettings,\n // });\n // }, [widgetSettings]);\n\n useEffect(() => {\n if (widgetSettings && widgetSettings.customStyles) {\n document.body.style.setProperty(\n \"--primary-color\",\n widgetSettings.customStyles?.primaryColor,\n );\n document.body.style.setProperty(\n \"--primary-light-color\",\n widgetSettings.customStyles?.primaryLightColor,\n );\n document.body.style.setProperty(\n \"--primary-deep-color\",\n widgetSettings.customStyles?.primaryDeepColor,\n );\n }\n }, [widgetSettings]);\n\n return (\n \n \n {/* */}\n \n \n \n \n {/* */}\n\n {/* For Web Routes */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n }\n />\n \n \n \n \n \n \n \n \n );\n}\n\nexport default App;\n","import { defaultCustomStyles, IWidgetState } from \"../../interfaces/borrower\";\nimport { ReduxActionModel } from \"../../interfaces/redux-interface\";\nimport { WIDGET_SETTINGS } from \"../actions/types\";\n\nlet initialState: IWidgetState = {\n allow_bank_details: false,\n allow_contact_us: false,\n allow_pin_change: false,\n allow_sms_notification: false,\n allow_view_balance: false,\n allow_withdrawal: false,\n bank_details_input_enabled: false,\n bankList: [],\n bankStatementWidgetOpened: false,\n canCloseWidget: false,\n customStyles: defaultCustomStyles,\n edit_widget: false,\n encryptedKey: \"\",\n finishedFirstInitializations: false,\n public_key: \"\",\n showWidgetAnimation: false,\n state_token: \"\",\n use_wallet: false,\n worldCountries: [],\n showNewLoanOffer: false,\n showLoanDetails: false,\n isDirectDebit: false,\n isGlobalLoader: false,\n};\n\nexport const updateWidgetSettingsReducer = (\n state = initialState,\n action: ReduxActionModel,\n) => {\n const { type, payload } = action;\n switch (type) {\n case WIDGET_SETTINGS:\n return { ...state, ...payload };\n default:\n return state;\n }\n};\n","export interface IBorrowerData {\n first_name: string;\n customer_id: number;\n last_name: string;\n email: string;\n borrower_phone: string;\n aggregator_id: number;\n aggregator_name?: string;\n aggregator_domain: string;\n first_time_borrower: boolean;\n bvn_number: string;\n bank_code: string;\n bank_account_number: string;\n bank_name?: string;\n returningUserDetails: any | null; // You can replace 'any' with a more specific type if needed\n customer_type: string;\n company_name: string;\n customer_category?: string;\n isApi?: boolean;\n business_registration_number: string;\n country_code: string;\n currency?: CurrencyProp;\n bank_statement_provider?: any | null; // You can replace 'any' with a more specific type if needed\n bank_statement_provider_id?: string | null;\n bank_statement_connected: boolean | null;\n password?: string;\n phoneNoCountryDialCode?: string;\n gender?: string;\n isEmailVerified?: boolean;\n dob?: string;\n isBvnValidated?: boolean;\n partner?: string;\n country?: string;\n session_timeout?: any;\n wallet_id: string;\n isDefault?: boolean;\n accountStatus?: string;\n accountName?: string;\n transferCharge?: number;\n isTransactionPinSet?: boolean;\n isSecurityQuestionSet?: boolean;\n firstTimeLogin?: boolean;\n identity_number?: string;\n customer_phone?: string;\n customStyles?: {\n primaryColor: string;\n primaryDeepColor: string;\n primaryLightColor: string;\n };\n courseAmount: any;\n courseDescription: string | undefined;\n}\n\nexport interface IWidgetState {\n edit_widget: boolean;\n finishedFirstInitializations: boolean;\n showWidgetAnimation: boolean;\n bankStatementWidgetOpened: boolean;\n use_wallet: boolean;\n allow_contact_us: boolean;\n allow_withdrawal: boolean;\n allow_pin_change: boolean;\n allow_sms_notification: boolean;\n allow_bank_details: boolean;\n allow_view_balance: boolean;\n bank_details_input_enabled: boolean;\n canCloseWidget: boolean;\n public_key: string;\n state_token: string;\n encryptedKey: string;\n bankList: any[]; // You can replace 'any' with a more specific type if needed\n worldCountries: any[]; // You can replace 'any' with a more specific type if needed\n customStyles: {\n primaryColor: string;\n primaryDeepColor: string;\n primaryLightColor: string;\n };\n showNewLoanOffer: boolean;\n showLoanDetails: boolean;\n isDirectDebit: boolean;\n isGlobalLoader: boolean;\n}\n\nexport interface Setting {\n setting_id: number;\n aggregator_id: number;\n country_code: string;\n setting_name: string;\n setting_value: string;\n}\n\nexport interface WebAggregatorSettingsState {\n data: Setting[];\n}\n\nexport const defaultCustomStyles = {\n primaryColor: \"#713fff\", // Can be string or the color code\n primaryDeepColor: \"#29067d\", // Can be string or the color code\n primaryLightColor: \"#E3D9FF\", // Can be string or the color code\n};\n\nexport interface DataFromAggregatorProps {\n isApi?: boolean;\n aggregator_id: number;\n aggregator_loan_ref: string;\n amount: number;\n bank_account_number: string;\n bank_code: string;\n borrower_phone: string;\n identity_number: string;\n city: string;\n company_name: string;\n country_code: string;\n customer_type: \"1\" | \"2\" | \"\";\n customer_category: string;\n email: string;\n first_name: string;\n gender: string;\n last_name: string;\n photo_url: null;\n product_id: number;\n public_key: string;\n business_registration_number: string;\n residence_address: string;\n state: string;\n tenure: number;\n customer_phone: string;\n bank_name: string;\n customStyles: {\n primaryColor: string;\n primaryDeepColor: string;\n primaryLightColor: string;\n };\n}\n\nexport interface WorldCountriesProp {\n name: string;\n iso3: string;\n iso2: string;\n dialCode: string;\n flag: string;\n id: string;\n}\n\nexport type CurrencyProp = \"NGN\" | \"KSH\" | string;\n","import { IBorrowerData } from \"../../interfaces/borrower\";\nimport { ReduxActionModel } from \"../../interfaces/redux-interface\";\nimport { BORROWER_DETAILS } from \"../actions/types\";\n\nlet initialState: IBorrowerData = {\n customer_category: \"\",\n aggregator_domain: \"\",\n aggregator_id: 0, // aggregatorId (web)\n aggregator_name: \"\",\n bank_account_number: \"\",\n bank_code: \"\",\n bank_statement_connected: false,\n bank_statement_provider: undefined,\n bank_statement_provider_id: undefined,\n borrower_phone: \"\", // phoneNumber (Web)\n business_registration_number: \"\", // business_rc_number (web)\n bvn_number: \"\", // bvn (web)\n company_name: \"\",\n country_code: \"\", // countryCode (web)\n currency: undefined,\n customer_id: 0,\n customer_type: \"\",\n email: \"\",\n first_name: \"\",\n first_time_borrower: false,\n last_name: \"\",\n returningUserDetails: undefined,\n isApi: false,\n password: \"\",\n phoneNoCountryDialCode: \"\",\n gender: \"\",\n isEmailVerified: false,\n dob: \"\",\n isBvnValidated: false,\n partner: \"\",\n country: \"\",\n isTransactionPinSet: false,\n isSecurityQuestionSet: false,\n transferCharge: 0,\n accountName: \"\",\n wallet_id: \"\",\n isDefault: false,\n accountStatus: \"\",\n firstTimeLogin: false,\n session_timeout: null,\n courseAmount: \"\",\n courseDescription: \"\",\n};\n\nexport const updateBorrowerDetailsReducer = (\n state = initialState,\n action: ReduxActionModel,\n) => {\n const { type, payload } = action;\n switch (type) {\n case BORROWER_DETAILS:\n return { ...state, ...payload };\n default:\n return state;\n }\n};\n","import { ILoanData } from \"../../interfaces/loanData\";\nimport moment from \"moment\";\nimport { ReduxActionModel } from \"../../interfaces/redux-interface\";\nimport { LOAN_DETAILS } from \"../actions/types\";\n\nconst data = localStorage.getItem(\"currentUser\");\nconst userInfo = data && JSON.parse(data);\n\nlet initialState: ILoanData = {\n loan_amount: 0,\n loan_name: \"\",\n loan_ref: \"\",\n product_id: 0,\n loan_tenure: 0,\n aggregator_id: 0,\n repayment_start_date: moment().format(\"DD/MM/YYYY\"),\n bvn_checker: \"\",\n annual_interest_rate: 0,\n aggregator_loan_ref: \"\", // Date.now().toString(),\n bvn_number: userInfo?.bvn,\n business_registration_number: \"\",\n phone_number: \"\", // cleanPhoneSavedPhoneNo(userInfo)\n country_code: \"\",\n is_bankstatement_linkage_failed: true,\n loan_effective_date: \"\",\n status: \"\",\n loanId: 0,\n currency: { code: \"\" },\n totalPrincipalDisbursed: 0,\n batch_loan_number: null,\n totalInterestCharged: 0,\n loanTermInDays: 0,\n totalRepaymentExpected: 0,\n loan_application_referenceno: \"\",\n repayment_cycle: \"\",\n message: \"\",\n product_name: \"\",\n repayment_type: \"\",\n periods: [],\n id: 0,\n maximum_tenor: null,\n maximum_amount: null,\n amount: 0,\n customer_bank_account: \"\",\n loan_tenor_input_type: \"\",\n loan_product_detail_id: 0,\n new_loan_offer: {\n offer_amount: null,\n offer_tenor: null,\n },\n new_loan_offer_widget: {\n offer_amount: null,\n offer_tenor: null,\n },\n total_cost_amount: \"\",\n equity_contribution_amount: \"\",\n description: \"\",\n equity_contribution_loanAmount: \"\",\n};\n\nexport const updateLoanDetailsReducer = (\n state = initialState,\n action: ReduxActionModel,\n) => {\n const { type, payload } = action;\n switch (type) {\n case LOAN_DETAILS:\n return { ...state, ...payload };\n default:\n return state;\n }\n};\n","import { IWebState } from \"../../interfaces/loanData\";\nimport { ReduxActionModel } from \"../../interfaces/redux-interface\";\nimport { WEB_SETTINGS } from \"../actions/types\";\n\nlet initialState: IWebState = {\n showPinModal: false,\n showLoanRequestModal: false,\n showLoanRepaymentModal: false,\n showLoanDetails: false,\n showLoanRepayments: false,\n showRepaymentSchedule: false,\n showLoanOptions: false,\n isSavingProvider: false,\n showLoanHistory: false,\n // showRepayments: false,\n showTransactions: false,\n showTopUp: false,\n showSupport: false,\n showWithdraw: false,\n showQuickRepayment: false,\n showVirtualAcctCompletionModal: false,\n walletConsentIsLoading: false,\n showTransactionDetail: false,\n showNewLoanOffer: false,\n IsDirectDebit: false,\n errorMsg: \"\",\n successMsg: {\n headerText: \"\",\n bodyText: \"\"\n }\n};\n\nexport const updateWebSettingsReducer = (\n state = initialState,\n action: ReduxActionModel\n) => {\n const { type, payload } = action;\n switch (type) {\n case WEB_SETTINGS:\n return { ...state, ...payload };\n default:\n return state;\n }\n};\n","import { IMonoWidgetData } from \"../../interfaces/monoWidgetData\";\nimport { ReduxActionModel } from \"../../interfaces/redux-interface\";\nimport { MONO_WIDGET_DATA } from \"../actions/types\";\n\nlet initialState: IMonoWidgetData = {\n opened: false,\n opened_dateTimeStamp: null,\n customer_email: null,\n is_institution_selected: false,\n selected_institution_name: null,\n institution_selected_dateTimeStamp: null,\n};\n\nexport const updateMonoWidgetDataReducer = (\n state = initialState,\n action: ReduxActionModel\n) => {\n const { type, payload } = action;\n switch (type) {\n case MONO_WIDGET_DATA:\n return { ...state, ...payload };\n default:\n return state;\n }\n};\n","import { WebAggregatorSettingsState } from \"../../interfaces/borrower\";\nimport { ReduxActionModel } from \"../../interfaces/redux-interface\";\nimport { WEB_AGGREGATOR_SETTINGS } from \"../actions/types\";\n\nlet initialState: WebAggregatorSettingsState = {\n data: [\n {\n setting_id: 0,\n aggregator_id: 0,\n country_code: \"\",\n setting_name: \"\",\n setting_value: \"\",\n },\n ],\n};\n\nexport const updateWebAggregatorSettingsReducer = (\n state = initialState,\n action: ReduxActionModel,\n) => {\n const { type, payload } = action;\n switch (type) {\n case WEB_AGGREGATOR_SETTINGS: {\n return {\n ...state,\n ...payload,\n };\n }\n default: {\n return state;\n }\n }\n};\n","import { combineReducers } from \"redux\";\nimport { persistReducer } from \"redux-persist\";\nimport storage from \"redux-persist/lib/storage\";\nimport { updateWidgetSettingsReducer } from \"./widgetSettingsReducer\";\nimport { updateBorrowerDetailsReducer } from \"./borrowerDetailsReducer\";\nimport { updateLoanDetailsReducer } from \"./loanDetailsReducer\";\nimport { updateWebSettingsReducer } from \"./websettingsReducer\";\nimport { updateMonoWidgetDataReducer } from \"./monoWidgetReducer\";\nimport { updateWebAggregatorSettingsReducer } from \"./webAggregatorSettingsReducer\";\n\nconst persistConfig = {\n key: \"root\",\n storage,\n whitelist: [\n \"monoWidgetDataReducer\",\n \"webAggregatorSettingsReducer\",\n \"borrowerDetailsReducer\",\n ], // Whitelist reducers you want to persist\n};\n\nconst rootReducer = combineReducers({\n widgetSettingsReducer: updateWidgetSettingsReducer,\n borrowerDetailsReducer: updateBorrowerDetailsReducer,\n loanDetailsReducer: updateLoanDetailsReducer,\n webSettingsReducer: updateWebSettingsReducer,\n monoWidgetDataReducer: updateMonoWidgetDataReducer,\n webAggregatorSettingsReducer: updateWebAggregatorSettingsReducer,\n});\n\n// @ts-ignore\nconst persistedReducer = persistReducer(persistConfig, rootReducer);\n\nexport default persistedReducer;\n\nexport type TRootState = ReturnType;\n","import { createStore, applyMiddleware, compose } from \"redux\";\nimport reducers from \"./reducers\";\nimport { thunk } from \"redux-thunk\";\n\ndeclare global {\n interface Window {\n __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?: typeof compose;\n }\n}\n\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\n\nexport const store = createStore(\n reducers,\n // @ts-ignore\n {},\n composeEnhancers(applyMiddleware(thunk)),\n);\n","import React from \"react\";\n// @ts-ignore\nimport { createRoot } from \"react-dom/client\";\nimport App from \"./App\";\nimport { Provider } from \"react-redux\";\nimport { persistStore } from \"redux-persist\";\nimport { PersistGate } from \"redux-persist/integration/react\";\nimport { store } from \"./redux/store\";\n\n// @ts-ignore\nconst persistor = persistStore(store);\n\nconst container = document.getElementById(\"root\");\nconst root = createRoot(container); // createRoot(container!) if you use TypeScript\nroot.render(\n \n \n \n \n ,\n);\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"password_container\":\"Password_password_container__3vxnq\",\"stepOne_container\":\"Password_stepOne_container__2zx3n\",\"header\":\"Password_header__1N-Hz\",\"align\":\"Password_align__J_BgR\",\"stepTwo_container\":\"Password_stepTwo_container__2vR_5\",\"otp\":\"Password_otp__XKYBa\",\"stepThree_container\":\"Password_stepThree_container__3P8f2\",\"stepOne_header\":\"Password_stepOne_header__1SeQi\",\"submit__btn\":\"Password_submit__btn__3IO8_\",\"btn\":\"Password_btn__1ATec\",\"stepFour_container\":\"Password_stepFour_container__1iAFX\",\"arrowLeft\":\"Password_arrowLeft__3Kpqa\",\"verification_success\":\"Password_verification_success__2OG_O\",\"left\":\"Password_left__3YZHw\",\"alignLeft\":\"Password_alignLeft__3ze3v\",\"alignment\":\"Password_alignment__3x6DJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"Support_modal_container__3G8d2\",\"modal_steps_wrapper\":\"Support_modal_steps_wrapper__3c6au\",\"cancel_button\":\"Support_cancel_button__1-lPS\",\"stepOne_container\":\"Support_stepOne_container__1Wg96\",\"stepOne_header\":\"Support_stepOne_header__3b-wJ\",\"stepOne_form\":\"Support_stepOne_form__14vB_\",\"verify_phone\":\"Support_verify_phone__2PZEb\",\"phone\":\"Support_phone__1oWBn\",\"phone_label\":\"Support_phone_label__2kEhH\",\"selected_option\":\"Support_selected_option__26X_S\",\"flag\":\"Support_flag__15-_-\",\"iconify\":\"Support_iconify__7p3ZO\",\"arrow\":\"Support_arrow__2YS3C\",\"phoneNumberValidation_error\":\"Support_phoneNumberValidation_error__ji9Wn\",\"search_box\":\"Support_search_box__3Du40\",\"options\":\"Support_options__2ZH0D\",\"submit__btn\":\"Support_submit__btn__1zGx9\",\"stepTwo_container\":\"Support_stepTwo_container__u4UGE\",\"verification_success\":\"Support_verification_success__3IW3d\",\"overlay\":\"Support_overlay__3Djzl\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"personalInfo_container\":\"PersonalInformation_personalInfo_container__30rkO\",\"header\":\"PersonalInformation_header__2J1R_\",\"alignLeft\":\"PersonalInformation_alignLeft__2daBJ\",\"form\":\"PersonalInformation_form__1KSmx\",\"fullName\":\"PersonalInformation_fullName__398UB\",\"verify_phone\":\"PersonalInformation_verify_phone__3-J_m\",\"phone\":\"PersonalInformation_phone__2G2M8\",\"selected_option\":\"PersonalInformation_selected_option__18gTl\",\"flag\":\"PersonalInformation_flag__39iuW\",\"iconify\":\"PersonalInformation_iconify__37D19\",\"arrow\":\"PersonalInformation_arrow__15W__\",\"phoneNumberValidation_error\":\"PersonalInformation_phoneNumberValidation_error__1oXPk\",\"search_box\":\"PersonalInformation_search_box__3uzmF\",\"options\":\"PersonalInformation_options__1Yc10\",\"submit__btn\":\"PersonalInformation_submit__btn__1U_ya\",\"stepTwo_container\":\"PersonalInformation_stepTwo_container__2rZTg\",\"arrowLeft\":\"PersonalInformation_arrowLeft__Sh5H1\",\"verification_success\":\"PersonalInformation_verification_success__3tOwW\",\"left\":\"PersonalInformation_left__1cQdy\",\"alignment\":\"PersonalInformation_alignment__2QCS9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"residential_information_container\":\"ResidentialInformation_residential_information_container__1aXEF\",\"arrow\":\"ResidentialInformation_arrow__hAzJn\",\"residential_information_header\":\"ResidentialInformation_residential_information_header__sFwRV\",\"residential_information_form\":\"ResidentialInformation_residential_information_form__2RiVy\",\"state_input_outer_container\":\"ResidentialInformation_state_input_outer_container__1xRJH\",\"state_input_label_container\":\"ResidentialInformation_state_input_label_container__1qq0b\",\"input_pointer\":\"ResidentialInformation_input_pointer__1Sma8\",\"stateNameDropdown\":\"ResidentialInformation_stateNameDropdown__15LsW\",\"local_govt_input_outer_container\":\"ResidentialInformation_local_govt_input_outer_container__2JpB3\",\"local_govt_input_label_container\":\"ResidentialInformation_local_govt_input_label_container__1bscF\",\"localGovtNameDropdown\":\"ResidentialInformation_localGovtNameDropdown__10oGh\",\"input_field\":\"ResidentialInformation_input_field__33mVH\",\"alert\":\"ResidentialInformation_alert__1_ggx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"NewLoanOffer_modal_container__26daX\",\"cancel_button\":\"NewLoanOffer_cancel_button__11p6e\",\"stepOne_container\":\"NewLoanOffer_stepOne_container__2DlVX\",\"stepOne_header\":\"NewLoanOffer_stepOne_header__3YLoV\",\"loanOffer_container\":\"NewLoanOffer_loanOffer_container__2vl7D\",\"loanOffer_overview\":\"NewLoanOffer_loanOffer_overview__2jrmJ\",\"loan_amount_outer_container\":\"NewLoanOffer_loan_amount_outer_container__1w8bm\",\"loan_amount_container\":\"NewLoanOffer_loan_amount_container__1dIen\",\"more_loan_details\":\"NewLoanOffer_more_loan_details__EBQqr\",\"loan_detail\":\"NewLoanOffer_loan_detail__1vxTH\",\"buttons\":\"NewLoanOffer_buttons__28qj9\",\"submit_button\":\"NewLoanOffer_submit_button__30IkZ\",\"submit_button_loading_state\":\"NewLoanOffer_submit_button_loading_state__2rySU\",\"stepTwo_container\":\"NewLoanOffer_stepTwo_container__39EAw\",\"verification_success\":\"NewLoanOffer_verification_success__2435K\",\"stepThree_container\":\"NewLoanOffer_stepThree_container__JvA6i\",\"verification_failed\":\"NewLoanOffer_verification_failed__1S36I\",\"box\":\"NewLoanOffer_box__3q7hS\",\"stepFour_container\":\"NewLoanOffer_stepFour_container__1LP0n\",\"stepFour_header\":\"NewLoanOffer_stepFour_header__Gu9dN\",\"loanOffer_next_steps_body\":\"NewLoanOffer_loanOffer_next_steps_body__3rwtM\",\"account_details_outer_container\":\"NewLoanOffer_account_details_outer_container___XXdR\",\"account_details_container\":\"NewLoanOffer_account_details_container__s1Itj\",\"account_number_bank_name\":\"NewLoanOffer_account_number_bank_name__2-9sF\",\"account_number\":\"NewLoanOffer_account_number__R01L7\",\"bank\":\"NewLoanOffer_bank__fYHp5\",\"bank_provider\":\"NewLoanOffer_bank_provider__3ofop\",\"copy_btn_outer_container\":\"NewLoanOffer_copy_btn_outer_container__3CvnG\",\"copy_btn_container\":\"NewLoanOffer_copy_btn_container__2iytc\",\"overlay\":\"NewLoanOffer_overlay__2EnYN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"personalInfo__container\":\"Individual_personalInfo__container__3vEd8\",\"personalInfo_header\":\"Individual_personalInfo_header__1aQQ5\",\"personalInfo_form\":\"Individual_personalInfo_form__1B-HO\",\"account_status\":\"Individual_account_status__2Um3m\",\"fullName\":\"Individual_fullName__S1xBF\",\"verify_phone\":\"Individual_verify_phone__1YN6D\",\"phone_label\":\"Individual_phone_label__N3pVw\",\"selected_option\":\"Individual_selected_option__36Rml\",\"flag\":\"Individual_flag__1SyHU\",\"iconify\":\"Individual_iconify__2MKMc\",\"arrow\":\"Individual_arrow__1Ym8D\",\"phoneNumberValidation_error\":\"Individual_phoneNumberValidation_error__3grVX\",\"search_box\":\"Individual_search_box__3fgXl\",\"options\":\"Individual_options__1QlPs\",\"alternate_dob_container\":\"Individual_alternate_dob_container__3UUMI\",\"alternate_dob_label\":\"Individual_alternate_dob_label__1Pfuk\",\"dobValidation_error\":\"Individual_dobValidation_error__2N6mO\",\"submit__btn\":\"Individual_submit__btn__MKgos\",\"login\":\"Individual_login__MfSVS\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dashboard\":\"Dashboard_dashboard__2B4pH\",\"title\":\"Dashboard_title__1LK21\",\"walletCard\":\"Dashboard_walletCard__1axBg\",\"walletCardMobile\":\"Dashboard_walletCardMobile__YrHA0\",\"card\":\"Dashboard_card__BqMBP\",\"cardMobile\":\"Dashboard_cardMobile__2YEd2\",\"warningCompleteVirtualAccount\":\"Dashboard_warningCompleteVirtualAccount__3JOP1\",\"proceedNumber\":\"Dashboard_proceedNumber__16JWu\",\"dashboardgrid\":\"Dashboard_dashboardgrid__4AT2R\",\"red_dot\":\"Dashboard_red_dot__3SIz3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"card_container\":\"Card_card_container__3xJJM\",\"title_container\":\"Card_title_container__R2wrA\",\"title\":\"Card_title__fqUTd\",\"credit_balance\":\"Card_credit_balance__3_Pzz\",\"loan_balance\":\"Card_loan_balance__14APf\",\"content\":\"Card_content__3CDqm\",\"content_wrap\":\"Card_content_wrap__kQNwU\",\"action_word\":\"Card_action_word__19Oq8\",\"arrowRight\":\"Card_arrowRight__1N7Py\",\"accountDetails_container\":\"Card_accountDetails_container__2Bhmn\",\"loader\":\"Card_loader__YUgCe\",\"userDetails\":\"Card_userDetails__-azPH\",\"accountDetails\":\"Card_accountDetails__1zMNn\",\"bank_personal_info\":\"Card_bank_personal_info__3G5OZ\",\"copy\":\"Card_copy__3xRvo\",\"bank_name\":\"Card_bank_name__2FJ5a\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sidebar_container\":\"SidebarMenu_sidebar_container__xCQ58\",\"sidebar\":\"SidebarMenu_sidebar__19WNM\",\"list_container\":\"SidebarMenu_list_container__3IC4D\",\"list_child\":\"SidebarMenu_list_child__25zkj\",\"list_child_wrap\":\"SidebarMenu_list_child_wrap__fTD61\",\"selected\":\"SidebarMenu_selected__2Ubjj\",\"icon\":\"SidebarMenu_icon__km1jj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"MobileTransactionView_container__11zMn\",\"transaction_header\":\"MobileTransactionView_transaction_header__3K2FS\",\"button\":\"MobileTransactionView_button__2yQBe\",\"arrow\":\"MobileTransactionView_arrow__1REZZ\",\"title\":\"MobileTransactionView_title__2eZTA\",\"range\":\"MobileTransactionView_range__8_dOD\",\"transactions\":\"MobileTransactionView_transactions__2BR1_\",\"transaction\":\"MobileTransactionView_transaction__h0-Zz\",\"icon_title_wrap\":\"MobileTransactionView_icon_title_wrap__1nzQ9\",\"depositIcon_wrap\":\"MobileTransactionView_depositIcon_wrap__u9B7R\",\"deposit_date\":\"MobileTransactionView_deposit_date__ltAIs\",\"transaction_type\":\"MobileTransactionView_transaction_type__19V8N\",\"transaction_date\":\"MobileTransactionView_transaction_date__3ee1L\",\"deposit_amount\":\"MobileTransactionView_deposit_amount__NGqDQ\",\"withdrawal_amount\":\"MobileTransactionView_withdrawal_amount__2Upbp\",\"noTransaction_container\":\"MobileTransactionView_noTransaction_container__22S51\",\"flagActive\":\"MobileTransactionView_flagActive__3Mk0I\",\"flagPending\":\"MobileTransactionView_flagPending__2pLfp\",\"flagRejected\":\"MobileTransactionView_flagRejected__2f6nK\",\"flagStale\":\"MobileTransactionView_flagStale__2Tm73\",\"pagination_controls\":\"MobileTransactionView_pagination_controls__3wiqG\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"support_container\":\"ContactUs_support_container__3N3oZ\",\"support_header\":\"ContactUs_support_header__4-syY\",\"stepOne_container\":\"ContactUs_stepOne_container__1vORn\",\"stepOne_header\":\"ContactUs_stepOne_header__3gNtw\",\"stepOne_form\":\"ContactUs_stepOne_form__2qTKP\",\"verify_phone\":\"ContactUs_verify_phone__mTk5y\",\"phone\":\"ContactUs_phone__BP4lM\",\"phone_label\":\"ContactUs_phone_label__DWj23\",\"selected_option\":\"ContactUs_selected_option__1GqZo\",\"flag\":\"ContactUs_flag__GDufF\",\"iconify\":\"ContactUs_iconify__1dNkP\",\"arrow\":\"ContactUs_arrow__VphD_\",\"phoneNumberValidation_error\":\"ContactUs_phoneNumberValidation_error__U8hw8\",\"search_box\":\"ContactUs_search_box__3U_nw\",\"options\":\"ContactUs_options__Ge3nG\",\"submit__btn\":\"ContactUs_submit__btn__wIkq_\",\"stepTwo_container\":\"ContactUs_stepTwo_container__aFdAT\",\"verification_success\":\"ContactUs_verification_success__164f-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loanHistory_container\":\"LoanHistoryCarousel_loanHistory_container__1WDf7\",\"transaction_header\":\"LoanHistoryCarousel_transaction_header__2YbxK\",\"title\":\"LoanHistoryCarousel_title__Oajax\",\"button\":\"LoanHistoryCarousel_button__quFeY\",\"loan_history_carousel\":\"LoanHistoryCarousel_loan_history_carousel__3KbUU\",\"carousel_container\":\"LoanHistoryCarousel_carousel_container__gZXtf\",\"loanDetailsAndFlag\":\"LoanHistoryCarousel_loanDetailsAndFlag__2a92e\",\"loan_card\":\"LoanHistoryCarousel_loan_card__1Fv3G\",\"logoAndAmount\":\"LoanHistoryCarousel_logoAndAmount__3dgU0\",\"amountAndDate\":\"LoanHistoryCarousel_amountAndDate__x0eLE\",\"date\":\"LoanHistoryCarousel_date__3M0_W\",\"icon_container\":\"LoanHistoryCarousel_icon_container__3kPyQ\",\"flagActive\":\"LoanHistoryCarousel_flagActive__17Ba0\",\"flagPending\":\"LoanHistoryCarousel_flagPending__1me-h\",\"flagRejected\":\"LoanHistoryCarousel_flagRejected__2lTYZ\",\"flagStale\":\"LoanHistoryCarousel_flagStale__26jr-\",\"letf_img\":\"LoanHistoryCarousel_letf_img__3z8iP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"LoanHistoryDetails_modal_container__7ju0H\",\"back_button\":\"LoanHistoryDetails_back_button__rubdW\",\"cancel_button\":\"LoanHistoryDetails_cancel_button__1sXX1\",\"modal_header\":\"LoanHistoryDetails_modal_header__x1DHe\",\"loan_amount\":\"LoanHistoryDetails_loan_amount__3RQ1U\",\"amountAndFlag_outer_container\":\"LoanHistoryDetails_amountAndFlag_outer_container__3z5Nu\",\"new_offer\":\"LoanHistoryDetails_new_offer__3IDSp\",\"amountAndFlag\":\"LoanHistoryDetails_amountAndFlag__KDtDV\",\"flag\":\"LoanHistoryDetails_flag__1d5G_\",\"repayment_btn\":\"LoanHistoryDetails_repayment_btn__2IqS6\",\"title\":\"LoanHistoryDetails_title__1iNzE\",\"submit_button\":\"LoanHistoryDetails_submit_button__3Ujju\",\"isLoading_container\":\"LoanHistoryDetails_isLoading_container__wYedc\",\"flagActive\":\"LoanHistoryDetails_flagActive__2ZCbw\",\"flagPending\":\"LoanHistoryDetails_flagPending__2RE9o\",\"flagRejected\":\"LoanHistoryDetails_flagRejected__3Au9I\",\"flagStale\":\"LoanHistoryDetails_flagStale__1YRMN\",\"overlay\":\"LoanHistoryDetails_overlay__2V-gL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal_container\":\"LoanRepayments_modal_container__eoJD9\",\"back_button\":\"LoanRepayments_back_button__2vBlC\",\"cancel_button\":\"LoanRepayments_cancel_button__2IcgW\",\"container\":\"LoanRepayments_container__1D2Ey\",\"container_header\":\"LoanRepayments_container_header__MX6Vc\",\"transaction\":\"LoanRepayments_transaction__9phQz\",\"icon_amount_wrap\":\"LoanRepayments_icon_amount_wrap__3sDfM\",\"withdrawalIcon_wrap\":\"LoanRepayments_withdrawalIcon_wrap__2Q7f6\",\"amount_date\":\"LoanRepayments_amount_date__1b9c_\",\"transaction_date\":\"LoanRepayments_transaction_date__35-Pa\",\"success_status\":\"LoanRepayments_success_status__16H81\",\"other_status\":\"LoanRepayments_other_status__15viU\",\"submit_button\":\"LoanRepayments_submit_button__2-dw0\",\"overlay\":\"LoanRepayments_overlay__3q3EN\"};"],"sourceRoot":""}