@zeniai/web-cockpit-ui 1.14.38-prod → 1.14.39-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-B-YGNgNu-Cw-U7yZi.js → ACHDetailsPage-C0HaWoSJ-Dc5JPQ9N.js} +1 -1
- package/dist/assets/{AIPerformancePage-BtD_7Ftm-Dhjd1CzW.js → AIPerformancePage-BcpJ60QE-CtwR6J9S.js} +1 -1
- package/dist/assets/{AccountInfoPage-BtnzwNNq-CxZYmOr2.js → AccountInfoPage-8k9PvHMB-DZyvxf4V.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-B4wK76bm-Bvh0Af6G.js → AccountInfoPageContent-C7qnFSOO-kIwITRCp.js} +10 -10
- package/dist/assets/{AccountLockedInfoModal-4JAQCp4H-BsH2FTFT.js → AccountLockedInfoModal-Nuuzfbv1-D8-h_fCC.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-Ddi5U4Ae-BzqDGPdI.js → AccountReconDetailsDrawerPage-O9at1_JO-DI5XcSqF.js} +1 -1
- package/dist/assets/{AccountRow-m99usqft-C1kGqMAs.js → AccountRow-D7TS2v2D-CXpu3RBt.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D-dhzSE8-Bx1SeTJ2.js → AccountsPromoCardStack-Bd_rvzbl-BTn5w5o9.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-Bc7FcxQ9-CGyp_-Kl.js → AddAddressForCardDrawer-DZJDqdMv-Cg4NeP1v.js} +1 -1
- package/dist/assets/{AddToWalletPage-y4kvtUka-qthivmZ7.js → AddToWalletPage-CsHR0N---CReMNlUz.js} +7 -7
- package/dist/assets/{AgingReportsPage-DrNIGwGn-DJYzm53w.js → AgingReportsPage-D7pM0zmb-BuDoPaRl.js} +4 -4
- package/dist/assets/{AllUserItems-B7zg_GaP-CI6rqGbT.js → AllUserItems-iYe6sokO-aNUOL4ty.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DnnUrY0w-BY1Le3PO.js → ApAgingDetailPage-Bqn7qtw--DtOkXocQ.js} +2 -2
- package/dist/assets/{AppBasePage-Bk7AUQvW-BR0YkgTl.js → AppBasePage-CsoraCNO-ExgiFDSz.js} +1 -1
- package/dist/assets/{AppDrawerContent-BoIqLCcg-DBgVppfC.js → AppDrawerContent-B0lIGzQX-CG7hQ-7J.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-C9F_rLkj-A_WxA_C0.js → ApprovalRulesSettingsPage-BQV7Dw4L-h9PzT8u0.js} +1 -1
- package/dist/assets/{ArAgingChart-DIwVIc---Cl9R9_3d.js → ArAgingChart-RMxcWQSp-G3XJ7xii.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DxW2xm-N-D5afOJxy.js → ArAgingDetailPage-NedRj0-7-BonBqaV_.js} +1 -1
- package/dist/assets/{AttachmentView-BlhBiGC5-CIApGuED.js → AttachmentView-CQXaXBQ0-DG9KqabP.js} +1 -1
- package/dist/assets/{BankAccountSection-A8IfSLFo-CFR7zSv-.js → BankAccountSection-X5lu-xFg-TbmLt2Ax.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-DFi3iK9n-6P4133q4.js → BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CKGG85vp-C6vnZ1yF.js → BankConnectionsSettingsPage-DHoPOUfJ-DW1tGoNi.js} +8 -8
- package/dist/assets/{BillDetailPage-BOVwHvyV-ARczV-Ob.js → BillDetailPage-Bn7AiS3S-BZ28bPGv.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BVdiHMjx-CkSmyfMn.js → BillPayApprovalRuleDetailPage-BNUTi_3l-BrNn-Lg5.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-Dl45oEp5-IdkaTsYn.js → BillPayApprovalRulesPage-Cyl51uwx-B0C7ukmg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CEX8Udbv-BAx7yFXw.js → BillPayPromoPage-C-C53jfT-DHzs6DsU.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CSfEFV18-POx7JOvj.js → BillPaySetUpPage-DK03W_KV-C7gypIrH.js} +1 -1
- package/dist/assets/{BillingSettingsPage-hu1pz4dA-CPedXo55.js → BillingSettingsPage-mh7zXUFz-PtqIHFv4.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DIY4Aa7i-DLKAEz28.js → BillsBulkReviewDrawerPage-eif54uHi-BY7mu3gx.js} +1 -1
- package/dist/assets/{BoxItem-BnivUbj--Dtgn8IAv.js → BoxItem-Bwh-fULe-Cnvh0VLf.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BZB4KFum-DDT8Y0jk.js → BusinessVerificationPage-TkVkNqIG-kO3sbCuM.js} +3 -3
- package/dist/assets/{CardNumberSubText-CIysZ6zp-CdM064s7.js → CardNumberSubText-BhMD3p_M-DwICSaFN.js} +1 -1
- package/dist/assets/{CashbackDetailPage-C-MPq54h-__EynDiX.js → CashbackDetailPage-BZ-HHrYd-D7DeuuQ4.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-CGyuANsu-AIiJ8RXj.js → ChargeCardDetailPage-BmAB59Qs-BujIsaCJ.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BbzjzgAv-B7RV-ZFr.js → ChargeCardListPage-CosFJd02-D0F4rAbY.js} +27 -27
- package/dist/assets/{ChargeCardListTable-D-wd0edv-TEWR8KB2.js → ChargeCardListTable-CpHJHWnY-C2UTTrvE.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-Cs-Xlghn-CnDK7SHB.js → ChargeCardPromoPage-CUWQ2Doj-svt7Kq-x.js} +4 -4
- package/dist/assets/{ChargeCardSetupPage-CfCGkFxz-BymJPAOa.js → ChargeCardSetupPage-Cf_UjTmV-CakqJLB9.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Jc6k_2Gg-CWeeTEEv.js → ChargeCardStatementsPage-CJjm5X-O-DEvYaVae.js} +1 -1
- package/dist/assets/{ChargeCardUtils-Vw0LoIey-Cb_OPDKS.js → ChargeCardUtils-DtlGBAOG-CnFwGz8i.js} +1 -1
- package/dist/assets/{ChaseOverlay-Cm-3BKNK-CsuaZLDX.js → ChaseOverlay-D9_jipgQ-C9IApPhh.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BAwg3duC-DrkrBDys.js → CheckDepositDrawerPage-C0cBFFEH-DO9mNbUo.js} +7 -7
- package/dist/assets/{CollapsableReportTable-C_qcwMWq-Bv8MZyX2.js → CollapsableReportTable-Bubej7Ql-B-Haow9V.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-_m4C7Xgf-BhjQfAqs.js → CompanyOfficerDetailsSection-CeH1OeAD-CDN4q74j.js} +12 -12
- package/dist/assets/{CompanyPassportCard-BiuPML3b-ttsuxjV-.js → CompanyPassportCard-DL5W7ueC-DxD3wi5U.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BHf1pHbJ-CyGUH-JA.js → CompanyPassportPage-DigtE7w9-BbT2L8df.js} +1 -1
- package/dist/assets/{CompleteProfile-DKEFybHA-BxxuDdcH.js → CompleteProfile-Bg7I3lpF-C68N9Ffu.js} +1 -1
- package/dist/assets/{ConfettiBurst-BvcmPG2b-CV7YM3kx.js → ConfettiBurst-AOgMJCCW-BNA_L2gY.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-EpWC9Uuv-C-U3FRqp.js → CreateOrEditVendorPage-Bv82RVf6-BnL5MUAM.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DI-za1T2-BmXf5rbL.js → CreditCardPaymentDrawerPage-C3ZpHHOb-C0Kp9JUP.js} +10 -10
- package/dist/assets/{CreditCardPaymentPlgSection-BGu0Am-e-sobZurqs.js → CreditCardPaymentPlgSection-DkQpCIiA-CI4n-74w.js} +1 -1
- package/dist/assets/{CurrencySelectField-DL628Rog-CxN7K7MR.js → CurrencySelectField-DhbePxwd-Cd-AHSQD.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DzuWnPaH-DFOrNKBt.js → CustomerOnboardingActivationPage-BG8XSP7a-Bp02DWY-.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DouBKVdi-DjCpZaQA.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-Bk8N8oEE.js → CustomerOnboardingDetailPageSkeleton-CSnGdP4D-DOKb-pCZ.js} +7 -7
- package/dist/assets/{CustomerOnboardingNoStepsPage-CSI_jqkM-CMP2oKYx.js → CustomerOnboardingNoStepsPage-DC5SvJ3Y-DaKVTiM9.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CuS2FfSh-DTfUGVzV.js → CustomerOnboardingPage-7v85vPxH-BbgR3kNR.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-B4HtoU9G-CvmfQvGe.js → CustomerOnboardingProductSuitePage-BhYHtuIm-CQypRUha.js} +1 -1
- package/dist/assets/{Dashboard-bFhMc4h1-DjAj8MXQ.js → Dashboard-CqXj-08s-BArrunRY.js} +1 -1
- package/dist/assets/{DashboardReportPage-B1pKZHaH-D-RnCUDz.js → DashboardReportPage-CakUfI8Y-L0ses7UF.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CLaTbvuZ-CzrqfZ2k.js → DashboardSidebarBackgroundAnimation-__d52UhZ-Ceg2kzeD.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DnzXR7B4-BVEeSjoI.js → DepositAccTransactionItem-CVGiw_b2-CfGaUFaN.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-C0F0N3XK-D4t7MjA0.js → DepositAccTransactionListPage-BLds9psS-CfaHcFYy.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BS3N4ATj-BERojc9m.js → DomesticWireDetailsPage-BfypyRjN-DhX6lTqU.js} +1 -1
- package/dist/assets/{DownloadOverlay-yXed0RbK-BK473UH7.js → DownloadOverlay-DG4lR1Pb-DM5-MnYq.js} +1 -1
- package/dist/assets/{DrawerPage-LV8__F8R-BK-etYRR.js → DrawerPage-DppLxflk-oxHByEwB.js} +1 -1
- package/dist/assets/{EditPeoplePage-GBNK0lo_-kIb8lE2m.js → EditPeoplePage-ISgRqKSY-rfxXcGVm.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-COApDpVm-BeKTz6s6.js → EditReimbursementDetailPage-C1nghhum-C958DjQB.js} +14 -14
- package/dist/assets/{EntityDetailPage-DdZmhyPX-xO_kR-oC.js → EntityDetailPage-DjgV66W8-DZ5igwA9.js} +1 -1
- package/dist/assets/{EntitySummarySection-Cn7rnQeI-MHgc3Be1.js → EntitySummarySection-BBc3t5R9-DzHOpDVR.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-ipXT_MCO-BFSm_a9b.js → ExpenseAutomationOverviewPage-fzZP2aKu-CCu0MleJ.js} +11 -11
- package/dist/assets/ExpenseAutomationPage-BSjV8d-I-75tcqP7q.js +1650 -0
- package/dist/assets/{ExpressPayPage-C0J3X657-CFKRY1zG.js → ExpressPayPage-DKBLyt2v-BL6tHheh.js} +5 -5
- package/dist/assets/{FeaturePreviewPage-lIDKDiwy-BejaUKHb.js → FeaturePreviewPage-V38xu6Zo-CyaOyBKD.js} +1 -1
- package/dist/assets/{FollowStepsSection-CtCRMD2R-DOts3JEu.js → FollowStepsSection-Bo5_aHsj-D_2P3NsX.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DXPuMshX-B5pu7tsq.js → GlobalReviewListPage-BXWgxJUG-Dc8bw5mq.js} +1 -1
- package/dist/assets/{HelpButton-Dmp2RZDD-j_OC_kDQ.js → HelpButton-B3uWY2LR-OlttS1C0.js} +1 -1
- package/dist/assets/{InformationCardStack-bpQXbFWJ-DVaBzyAQ.js → InformationCardStack-DUi7F4j9-Bzofi24T.js} +1 -1
- package/dist/assets/{InsightsCardStack-BzyYnnH_-B71CiuXQ.js → InsightsCardStack-DpsGvwAF-DavKovHg.js} +1 -1
- package/dist/assets/{InsightsSection-BVjjBkzp-CXZpd0QH.js → InsightsSection-CFeEzjB3-D_1DfMdF.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-DjMaGIv9-9kg6fpdX.js → IntegrationsSettingsPage-Ck0miRzH-COeNLu0O.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DXYaOaYh-CXh_knvC.js → InternationalWireSwiftDetailsPage-CHh9rwda-CYMl7fKC.js} +10 -10
- package/dist/assets/{InternationalWireVerificationPage-yPrzoGA9-Dp79zVFd.js → InternationalWireVerificationPage-DoQ9eiu4-CAFn32kX.js} +1 -1
- package/dist/assets/{InviteFormPage-xQ6xN_gt-Dy07jaFV.js → InviteFormPage-zZoT105K-CDjZZmix.js} +8 -8
- package/dist/assets/{InvitePageListView-BmkX934z-CXZ7an4i.js → InvitePageListView-Bqi0nN3K-Cugufhfk.js} +11 -11
- package/dist/assets/{InvitePeoplePage-BxxEjVs5-BjUUSFZg.js → InvitePeoplePage-D6Pp40Kl-BkOtYcxF.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-BxfSI49h-Bu3jKk3I.js → InvoiceUploadSection-BTwzAYmG-DqCxJXD_.js} +3 -3
- package/dist/assets/{IssueChargeCardPage-ByK_ayX6-pwN96aZi.js → IssueChargeCardPage-DFnsBjmh-BMzEcFnV.js} +10 -10
- package/dist/assets/{LabeledAddressValue-Bk-opSoh-BD1HVoL8.js → LabeledAddressValue-CYEpguO_-DG_G1pyJ.js} +1 -1
- package/dist/assets/LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DtVQoSev-CoXasaZI.js → LabeledControlledCheckBoxField-CSh6A3bd-D6-VupFL.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BFmP_-GA-DckTkZhy.js → LabeledCreatableSingleSelectField-CtuwY_9o-BYO4B8QP.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CyW3tPI--CmyZxRnk.js → LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-_b5VDmOJ-DS-Uh-vO.js → LabeledDropDownFormattedTextField-D8oMk4xt-NfRrE6TJ.js} +3 -3
- package/dist/assets/{LabeledText-Bc8QavrT-BzDvO54N.js → LabeledText-DhIVEuvE-BGpps1jt.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-D8EEMWor.js → LabeledUserSingleSelectWithSubtitlesField-BrN-E_iu-H_-zsD1L.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BqlbDyA1-DMBePEYt.js → LabeledZeniRolesDropDownField-BPSDhXTS-B9hIUe6J.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-DE8ch_W7-BQu5DLgH.js → LinkJETransactionPage-CSD6-ita-BuYlOJqv.js} +7 -7
- package/dist/assets/{LowBalancePopup-DWXEyi2S-B7g-sgDe.js → LowBalancePopup-DG7UpS2F-Bu5UEVfd.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-CJ57XAxp-CU7Hd1G9.js → MagicLinkACHDetailsPage-m5chQr23-4RLEMs7o.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-Ba1gbLAX-D9UGkkGn.js → MagicLinkDomesticWireDetailsPage-Cob4wAR7-LbXvtvq_.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-U3ygf3uO-B-nSpvyc.js → MagicLinkInternationalWireDetailsPage-DX9NH12J-D2R3cXNL.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CGjxH6Hl-BvT58aLk.js → MagicLinkSuccessPage-DgcpyzOK-CmCaLAu5.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Dzfctx8H-CfnXahDH.js → MagicLinkTitleSection-wjuKcqab-D7vo35cb.js} +1 -1
- package/dist/assets/{MailingDetailsSection-N-M1JzkW-EJyTbakN.js → MailingDetailsSection-DU4LYPzH-BXsLAtDc.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BJgsd-6e-6201sYqo.js → MeetingCalenderPopup-YiB2ETli-CqKaSUHn.js} +1 -1
- package/dist/assets/{Menu-DCl4YiCd-NQ746zhM.js → Menu-Bi_Vto-l-B6nlDzVX.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BZP3Dbes-DHoxjsVv.js → MyBankConnectionsSettingsPage-LgbzbrTj-BFa0cAOH.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Cc8Onh73-DzYGJfC0.js → MyPendingActivationChargeCardListPage-CZs9UFV5-DK2YM84p.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-7YrgIr-M-MJ5KuRC4.js → MyProfileSettingsPage-DIADfZVY-BDHoxXS8.js} +3 -3
- package/dist/assets/{NavBarWithPicker-Bbu7_9sU-D4Jc8Pzr.js → NavBarWithPicker-DEqzM9Qm-_DqMMA0k.js} +1 -1
- package/dist/assets/{NavigationArrow-DNJkGq5e-DeK3CHKw.js → NavigationArrow-DzZDXuKr-B7BwQbpV.js} +1 -1
- package/dist/assets/{NavigationDots-BDhrBzmw-z2l5xmSd.js → NavigationDots-CFxiVMnb-Dxb6vagd.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DSyitl-a-Cq1V364N.js → NewGlobalMerchantPage-JsTrXT1T-DERt7sEx.js} +2 -2
- package/dist/assets/{NoDataChart-Bww-GG_z-CM64V4SY.js → NoDataChart-gi34_J2e-BOq-1JyJ.js} +1 -1
- package/dist/assets/{NoDataTable-DRSEE7HT-D9EN4_8C.js → NoDataTable-DtmdB0eI-BxWxqQ9f.js} +1 -1
- package/dist/assets/{NotFoundPage-BepvWGxk-fqxan0Jh.js → NotFoundPage-Bk5zRv9L-CAPJCopB.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CR6XVZlL-L-VRSXRy.js → NotificationSettingsPage-DFHLMWiI-CAa4vlQq.js} +11 -11
- package/dist/assets/{NotificationsListConfig-CBjTcLzj-B03otZJr.js → NotificationsListConfig-DxFLCS42-Dryoh4sl.js} +1 -1
- package/dist/assets/{NotificationsPage-BgUc61wf-yQrZxaQT.js → NotificationsPage-E3pYaBJv-CS1qVYiF.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BkgsQ4lY-D0DmgPZc.js → OpExByVendorPage-CgaLMeOS-CLk81uBN.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Bmu909Fo--4u1dboi.js → OverlayContainerPage-Bmu909Fo-EXe69QYn.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B0pUD9U8-BpKnDsMc.js → PandLWithForecastPage-CZkL9zJq-C6y3vZ9S.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-YvYPpyzH-B3s751gB.js → PaymentAccountSetupBillingAddressSection-D190AP1Y-BjMBxnd9.js} +1 -1
- package/dist/assets/{PeoplePage-mobCML9r-DNU8rdt3.js → PeoplePage-BwfDzqla-jRNvSDjZ.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-CB9lfs6z-yYnWPion.js → PortfolioAllocationFormPage-BLdGGltt-jcopE-iX.js} +1 -1
- package/dist/assets/{PortfolioDetails-zYYGkoC--B4GPbAnw.js → PortfolioDetails-agrnhRRW-bdNc5pLU.js} +1 -1
- package/dist/assets/{ProductsCarousel-B4zdUn5q-BmfvRql5.js → ProductsCarousel-CqBzOsli-B8X-IKsl.js} +1 -1
- package/dist/assets/{PromoBaseCards-CgGg3lpk-QfQDFjvb.js → PromoBaseCards-BUYkqKhW-B1j2ucCH.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BBVBEJWA-CQkMfxbD.js → QBOConnectionDialog-JoNcGvU6-DWXeA3jb.js} +7 -7
- package/dist/assets/{QBOSetupSection-pBOQk_mE-BQev8vRf.js → QBOSetupSection-cB-8iCoM-i7dLrr5Q.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-Drt931Xs.js → ReimbursementApprovalRuleDetailPage-CfOZ0t5v-CV7GAFF2.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D7LTvUrz-Bj-10K_i.js → ReimbursementApprovalRulesPage-DDtX0CfL-C8p_ZO2g.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CbgWCawo-DqAR7ae-.js → ReimbursementDetailPage-D3rgg3kA-D5du5Mqk.js} +4 -4
- package/dist/assets/{ReimbursementPromoPage-DmV5eoIo-DEmTNgb-.js → ReimbursementPromoPage-Cn3Z10XN-CHstzTse.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-kAlaG5Ag-D1ySerU6.js → ReimbursementSetUpPage-B_gdhg1O-CmHe8InY.js} +3 -3
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-70qXVn3v-jGk5wJrO.js → ReimbursementsBulkReviewDrawerPage-BtBowdlA-Bff-ZZ8J.js} +1 -1
- package/dist/assets/{ReloadCard-DoOxxK_q-Iuu7u04F.js → ReloadCard-BY23wQlB-BJD-2H6c.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-7OJVsL-G-BqGdmIir.js → ReportTableViewSelector-Dzg62ctm-WFJR-fXp.js} +1 -1
- package/dist/assets/{ReportsPage-29ims7Ks-BMkB7wMJ.js → ReportsPage-CzflkNSs-BQaWkMYG.js} +1 -1
- package/dist/assets/{RevenueChart-CLtUUYr5-DlLaYN8T.js → RevenueChart-DNOek9MJ-CP-2pEDw.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DNDzoyA5-CWL2OElp.js → ReviewDetailsPage-ChMF35Zu-BuP67dVO.js} +1 -1
- package/dist/assets/{ReviewOverlay-VleZWRhn-vlZhd1ID.js → ReviewOverlay-COIKeR15-BcSsy_vI.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DsEos8I_-CQjynErF.js → RoleWithToolTip-DWcWpu1c-lubwiBJ4.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cv84NP5--DgKPt6BJ.js → ScheduleDetailsFixedAssetsPage-CxKTS1Ys-vgXmo78e.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-D4IKW5z6-DxUl7Tp2.js → ScheduleDetailsPage-6MqWtRbl-BKxcOCs-.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-qHcZL82y-DMRKWOCG.js → ScheduleSequenceTable-cwZqH3zx-D2fQFHiq.js} +9 -9
- package/dist/assets/ScreenRoutes-KSywlUe_.js +206 -0
- package/dist/assets/{SetUpAccountSection-CjOOpWa2-CYui6uIU.js → SetUpAccountSection-BeXsisXh-C8iQqoE3.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-Ax1FuH_A-M01CDhvB.js → SetUpDefaultSection-Bw-ODNSn-XyoiRDtn.js} +8 -8
- package/dist/assets/{SignIn-Bj2czf21-CDcpe_QC.js → SignIn-BYWJCKCM-iAXwoeyl.js} +1 -1
- package/dist/assets/{SignInScreen-B3HDy1NP.js → SignInScreen-X2bNuyVp.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-7oQurX8D-C-PKrhWx.js → SpendManagementListViewPage-Cncc2ohq-gJW6I76n.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-DG8qRSeQ-D7UY9egm.js → SpendManagementPerTabPage-BR5w_58--Bz1qFkXu.js} +1 -1
- package/dist/assets/{SpendManagementSection-CzGLKJ01-BR4NePLS.js → SpendManagementSection-BjNiE7SK-D7jeMM-c.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-BSuY_zqo-ta9dC9Xa.js → SpendMgmtSetupAccountSection-BQP4OHws-IXpe5hj1.js} +1 -1
- package/dist/assets/{StatementItem-teWYG-k5-BxscGYDB.js → StatementItem-uDpMbqmR-DBTHHgkS.js} +2 -2
- package/dist/assets/{StatementsPage-Kqug4TjC-x3yfA1ev.js → StatementsPage-BQ6zpjtq-HFcofufo.js} +5 -5
- package/dist/assets/{StatusSwitcher-BXzanE6h-BVyoC93a.js → StatusSwitcher-DnQFgeLN-DpDkgj5j.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dc78MPYF-DHjKtuJ7.js → SubTabSwitcher-BSxF2cHS-DzqRE0-4.js} +1 -1
- package/dist/assets/{SummaryCard-DDpG4vry-vl6nIw3W.js → SummaryCard-DwlHiqjy-DovYblcz.js} +1 -1
- package/dist/assets/{TaskManagementPage-DQXNMGNK-C6HdunVR.js → TaskManagementPage-BPY7YdEt-Bhs7yAJe.js} +21 -21
- package/dist/assets/{TimeRangeSwitcher-BQL2dhVh-BPZQeykO.js → TimeRangeSwitcher-D66ILzZ8-BUSvdhZS.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CXvrXTdI-tvxeX4kT.js → TimeframeSwitcher-C2DIHjU8-FFKAp4XL.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C_hQ5Vj--DlECNEOr.js → TimeframeSwitcherWithToggle-V1DMLkhs-Cnh86APd.js} +1 -1
- package/dist/assets/{TopExCard-CmajFYfY-B3_xN_yY.js → TopExCard-DSqZSZGZ-Dw-FQUIS.js} +1 -1
- package/dist/assets/{TopExDetailPage-DNfBQfSC-JYF8Cfb0.js → TopExDetailPage-OstkHsg3-DvRigN0b.js} +1 -1
- package/dist/assets/TransactionDetailPage-AbBJQKHm-dGel1c3Z.js +912 -0
- package/dist/assets/{TransactionList-DifBTNrV-BsIcMSE4.js → TransactionList-CkdTkJqL-Cgr2VpIS.js} +1 -1
- package/dist/assets/{TransactionListBig-Bjmt3Xib-ts3z2Xmi.js → TransactionListBig-BZ5gpbJ5-Bm4_r9qH.js} +1 -1
- package/dist/assets/{TransactionListPage-CpFiD4Aw-fX25NvUV.js → TransactionListPage-CqU-E-7M-BizBcsew.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BSZ4IBis-BRhAPzjs.js → TransactionVendorDetailPage-BvcpFzUp-DW2mpv-1.js} +3 -3
- package/dist/assets/{TransferDrawerPage-CiGIqLHQ-Bs3xhldX.js → TransferDrawerPage-D1NgpWIq-C2E7-vdj.js} +20 -20
- package/dist/assets/{TreasuryOverviewPage-C21g82G6-beAA-iGo.js → TreasuryOverviewPage-CD2o1CFy-8qk7AdY6.js} +33 -33
- package/dist/assets/{TreasuryPromoPage-lNMQil_1-D69gLx_M.js → TreasuryPromoPage-CwmjKeA3-BNj8wbyy.js} +7 -7
- package/dist/assets/{TreasurySetupPage-CHjK0p7r-BaVNvnFy.js → TreasurySetupPage-DP8WeoZ8-Dr5EZ1f3.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CKAdFoHY-eX6_SurJ.js → TreasuryStatementsPage-e6twnrIV-DioRFi4U.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DPdcmb53-Bkl4ccTf.js → TreasuryTaxLetterPage-C0b1z_Th-B11BzKum.js} +2 -2
- package/dist/assets/{TreasuryTransferOrReviewPage-DmGpNvWn-D4LT44Le.js → TreasuryTransferOrReviewPage-CKyTuHqj-BTErZLx_.js} +25 -25
- package/dist/assets/{TrendChart-BJF_aBUS-CR64tnlK.js → TrendChart-Dn0GiuT9-HQjjMVrP.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DXSMdecG-DPaIgykD.js → TrendWithTransactions-DtPVZEAr-DnuxxeAb.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DMiXdRb9-CmiciQng.js → UncategorizedAccountsMappingPage-BsNKhjNn-DKa7txXi.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-Dqakwr1P-aus5gWw1.js → UnitIntegrationPage-yq2PJvQf-lbVttX1U.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DOy8Wvxm-MflI1OUH.js → UploadAdditionalDocumentOverlay-CGX4As30-PMvLbAD2.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DR_Uif4s-faKHyYZE.js → Vendor2FAPopup-iHeZH2a--CWW41Kpu.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-_nmRyuvM-CptiulTm.js → VendorACHDetailsPage-w879CB2t-DBelQrTv.js} +1 -1
- package/dist/assets/{VendorDetailPage-DYhBGXTe-BIIbQVLj.js → VendorDetailPage-DZ4h1qWW-vxXfS1yQ.js} +4 -4
- package/dist/assets/{VendorDomesticWireDetailsPage-OzrrojiZ-DJXJ5Oq7.js → VendorDomesticWireDetailsPage-CHju4IUB-BwOjp8sq.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C6i7dipR-CpqEEKLj.js → VendorFiling1099EditablePage-BlvW4OEf-caJ6TGkm.js} +5 -5
- package/dist/assets/{VendorFirstReviewPage-DrelrPYn-B_TMCwXZ.js → VendorFirstReviewPage-4NSSfruW-SkZiIEM_.js} +15 -15
- package/dist/assets/{VendorInternationalWireDetailsPage-BglZ4_v2-YeMvshGP.js → VendorInternationalWireDetailsPage-CYnMhzsB-Dp-2dBCE.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MKHHcDL4-D4WqRSue.js → VendorInternationalWireSwiftDetailsPage-CXhnSzG9-CqZ25PxA.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-COwLgrG_-DIl96IN6.js → VendorsAccountsSection-DytBkZ5j-BDTqXfPm.js} +1 -1
- package/dist/assets/{VerifyDevice-FO7331hS-x1s3lwXg.js → VerifyDevice-CQ0olx8K-BR-mcrJ3.js} +1 -1
- package/dist/assets/{VideoPlayer-C7GWTYSG-CQfRGJAt.js → VideoPlayer-BzfzJW7y-C5JZYu_g.js} +1 -1
- package/dist/assets/{VideoPopup-CB0BXhOA-tn8VsQOa.js → VideoPopup-DJubpBc5-CxKuMSGz.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-B081ksn8-BoDavkZS.js → WarningsDrawerPage-DtdniUCH-DJUs63Zw.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-Bbx7ge3Z-DCcWZW8P.js → ZeniAccountDetailPage-UcgfqnXC-Th3RZHDM.js} +4 -4
- package/dist/assets/{ZeniAccountListViewPage-CgOxwjk1-tdcp8X4G.js → ZeniAccountListViewPage-STT7H2Nw-BroPoovh.js} +6 -6
- package/dist/assets/{ZeniAccountNavBarPieces-BkN8_5Zi-bviBlC6G.js → ZeniAccountNavBarPieces-ZNlC5aGd-BNisBi0x.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DrMHkTuM-DA6xBUem.js → ZeniAccountPromoPage-DeVBZrVx-DUJkUAQ8.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-BCpKadR1-Bl612V1_.js → ZeniAccountSetupPage-UlF7qoFd-Bt_j1YxN.js} +1 -1
- package/dist/assets/{ZeniCopyright-juRAWlbw-D0RXt9Pa.js → ZeniCopyright-CjbWU9Dc-BLwz2UDU.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BtI1L6UN-DMYicxeP.js → ZeniTransferAmountSlider-BL2-PVj4-Bi0ukH0F.js} +1 -1
- package/dist/assets/analytics-Dr_Q0qi5.js +73 -0
- package/dist/assets/{analyticsHelper-DQQo4LQc-CDDITBYD.js → analyticsHelper-47l9Opyu-BI0dCEoa.js} +1 -1
- package/dist/assets/{analyticsHelper-D3_OjFFu.js → analyticsHelper-BpYh_F2q.js} +1 -1
- package/dist/assets/{chartTypes-eqxFaFS5-Ccdrch3Q.js → chartTypes-DmEm-9Ox-ULKq2fZN.js} +1 -1
- package/dist/assets/{commonDimensions-C2hbzHZW-C9ck_2iK.js → commonDimensions-Dfc-15aJ-CxnVwTdu.js} +1 -1
- package/dist/assets/crypto-Ccg-ICil.js +35 -0
- package/dist/assets/{detailCommon-fC811KkH-I8X5bQgu.js → detailCommon-CfRJr7PH-Zz1na4q2.js} +1 -1
- package/dist/assets/{downloadPdf-CgcD1OYw-Dze0zYIy.js → downloadPdf-QB7_leFQ-CoJ91cS7.js} +1 -1
- package/dist/assets/{index-Bda8vF5a.js → index-C7jkqxrR.js} +13 -13
- package/dist/assets/{mapLoadingInProgressToTreeNode-CM7N02af-CnRHYLc-.js → mapLoadingInProgressToTreeNode-BbnaFFzG-BRQ7gDuX.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-MzhgtFpc-WdTASZVe.js → mapSectionWithAcOnlyToTreeNode-B3ThW_Wk-DV4jlGZ4.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-C7hklF---BpWmukTD.js → mapSpacerToTreeNode-CMRinfvP-BAaxRYcb.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-D36HLTqR-C9q2SPVc.js → mapTimeframeBalancesToTreeNode-C4e13DYv-mbUoKHNs.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CEJ9v-Q3-BsODFA_B.js → mapTimeframeBalancesToTreeNode-y77ZAwQg-CYnesxgR.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-BqrRUOYr.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DGrKwzUB-CAVP7axd.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DCFbumLL-DK-XEtdn.js → toCOABalancesWithID-DIO7qGqY-BCZorL6x.js} +1 -1
- package/dist/assets/{toChartData-Dh9v_zba-C7grpxE2.js → toChartData-D89UpEia-DmSMBtrE.js} +1 -1
- package/dist/assets/{treasuryColorHelper-ZXa62meg-CxPFpqqT.js → treasuryColorHelper-CF-h70rk-DcbjCnLZ.js} +1 -1
- package/dist/assets/{uploadAttachment-DOhn3y-C-B9_bYbcL.js → uploadAttachment-B-bBj_Bq-DxXvr3YV.js} +11 -11
- package/dist/assets/{uploadReceipts-dxsKhm9I-CZfP27tk.js → uploadReceipts-dxsKhm9I-BIa10rGM.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-Ca-DdJ2-.js +0 -1
- package/dist/assets/ExpenseAutomationPage-BXyGtnBz-d0sLi2ZO.js +0 -1650
- package/dist/assets/LabeledAddressValueField-RFI4bpOj-WmfVzECO.js +0 -45
- package/dist/assets/ScreenRoutes-BFUC6_bO.js +0 -206
- package/dist/assets/TransactionDetailPage-DZPHVxna-DRqsZKZZ.js +0 -912
- package/dist/assets/analytics-B3n5JGPc.js +0 -7
- package/dist/assets/crypto-BDNqpTKX.js +0 -40
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,
|
|
1
|
+
import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f4 as qe,bW as _e,fA as Ee,o as a,fJ as $l,cm as He,cd as ee,cf as ce,cj as Ue,l as Se,cF as vl,cD as Sl,ch as Ge,cg as Ie,fK as Ve,fL as Il,fi as Cl,fh as ke,ck as Ce,cl as Ll,g as Pe,f5 as Je,J as xe,b6 as Ye,f3 as Ke,t as Ne,fz as Ze,v as ye,p as Ol,b3 as _l,q as F,dj as El,ac as Pl,fM as Nl,n as Dl,fN as Fl,b4 as ge,ak as Vl,y as Qe,w as kl,cx as Tl,b2 as zl,b1 as Al}from"./index-C7jkqxrR.js";import{b as d,n as t}from"./vendor-rkTZJa59.js";import{C as Le}from"./LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js";import{T as Bl}from"./LabeledCreatableSingleSelectField-CtuwY_9o-BYO4B8QP.js";import{Y as Te}from"./LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:ze}=Rl,ue={iconSize:new L(F[6],F[10]),gap:new L(F[2],F[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(Wl,{windowSize:c,children:[e!=null?l.jsx(ql,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Hl,{windowSize:c}),l.jsxs(Ul,{children:[l.jsx(Gl,{windowSize:c,children:ze.securityMessageTitle}),l.jsx(Jl,{windowSize:c,children:ze.securityMessageDescription})]})]})},Wl=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>ue.gap.valuePx(e.windowSize)};
|
|
@@ -26,7 +26,7 @@ import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f3 as qe
|
|
|
26
26
|
${e=>`${Xe.description.style(e.windowSize)}`};
|
|
27
27
|
color: ${e=>e.theme.colors.primary};
|
|
28
28
|
margin: 0;
|
|
29
|
-
`,ll=({text:e})=>l.jsx(Kl,{children:l.jsx(Yl,{children:e})}),Yl=t(
|
|
29
|
+
`,ll=({text:e})=>l.jsx(Kl,{children:l.jsx(Yl,{children:e})}),Yl=t(Fl)`
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -36,14 +36,14 @@ import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f3 as qe
|
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${a.sp2};
|
|
38
38
|
margin-top: ${a.sp1};
|
|
39
|
-
`,le={labelWidth:new L(115,145,155),mediumLabelWidth:new L(140,160,170),largeLabelWidth:new L(150,210,244),largeLabelDocumentWidth:new L(150,210,252),paddingBottom:new L(
|
|
39
|
+
`,le={labelWidth:new L(115,145,155),mediumLabelWidth:new L(140,160,170),largeLabelWidth:new L(150,210,244),largeLabelDocumentWidth:new L(150,210,252),paddingBottom:new L(F[3],F[2]),containerRowGap:new L(12,F[3])},Zl={title:new xe("standardMedium","largeMedium")},Ql=ae.getLocalizedStrings(),{dateFormat:{visual:Xl},commonSetUp:ea,companyPassport:la,common:{documents:Ae,optional:aa}}=Ql,i=ea.businessVerification,ta=i.sourceOfFundOptions,ia=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:h,connectedAccountProvider:N,businessVerificationProps:g,isDisabled:n,style:G,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:J=!1,sectionHeader:Y,optionalFields:s=[],onCompanyAddressClick:K,onRegisteredAddressClick:V},re)=>{const f=Oe(),_=le.labelWidth.value(f),E=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),q=le.largeLabelDocumentWidth.value(f),w=i.productType[c],Z=h?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),Q=h?.companyFiles.find(u=>u.documentType==="tax_ein"),p=h?.companyDescription,$=h?.companyLegalName,A=h?.website,se=h?.typeOfIncorporation,H=h?.incDate,X=h?.companyIndustry,O=h?.phone,me=h?.taxIdOrEIN,B=h?.primaryContactLocalData,ne=h?.deleteFileStatusById??{},U=h?.updateFileStatusById??{},be=h?.addressStatus?.addressToCreate,we=h?.registeredAddressStatus?.addressToCreate,[k,M]=d.useState(!1),[x,R]=d.useState(!1),W=u=>m.find(je=>je.code===u)?.name??u,P=u=>ta[u]??u;return l.jsxs(oa,{style:G,ref:re,windowSize:f,children:[l.jsx(ra,{children:l.jsxs(ha,{children:[l.jsxs(na,{children:[oe===!0?l.jsx(da,{children:ie?l.jsx(ca,{}):l.jsx(pa,{})}):null,l.jsx(sa,{windowSize:f,children:Y??i.confirmCompanyDetails})]}),te?l.jsx(ua,{children:l.jsx(We,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:f==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(ma,{})})}):null,c==="onboarding"&&Y!=null?l.jsx(ll,{text:aa}):null,g?.companyVerificationStatus!=null?l.jsx(ya,{tagTitle:g.companyVerificationStatus.name,textColor:qe(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(fa,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:$,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Le,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{K?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(Le,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:A?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Bl,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:la.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&N==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:H,dateFormat:Xl.defaultInput,maxDate:Se.dateNow(),minDate:Se.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ge,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:O,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:B?.firstName??"",lastName:B?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:B?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ll},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Te,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:Z,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&N==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),k||!(n!=null||Z!=null)?l.jsx(Be,{windowSize:f,isError:k,children:Ae.formatDocumentText10MB}):null,l.jsx(S,{}),l.jsx(Te,{name:v(y,"ein"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:Q,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>R(u)}),x||!(n!=null||Q!=null)?l.jsx(Be,{windowSize:f,isError:x,children:Ae.formatDocumentText10MB}):null,l.jsx(S,{}),J===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(S,{})]}):null]})]})});ia.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,oa=t.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
|
|
43
43
|
`,ra=t.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
justify-content: space-between;
|
|
46
|
-
`,Be=t(
|
|
46
|
+
`,Be=t(Dl)`
|
|
47
47
|
padding: ${a.sp1} ${a.sp4};
|
|
48
48
|
background: ${e=>e.theme.colors.grey4};
|
|
49
49
|
border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
|
|
@@ -102,7 +102,7 @@ import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f3 as qe
|
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
justify-content: flex-end;
|
|
105
|
-
`,ga=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),ba=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function wa({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:
|
|
105
|
+
`,ga=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),ba=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function wa({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:N,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:J}={},showAddUser:Y=!0}){const s=Re(),[K,V]=d.useState(!1),re=ga(e).sort((p,$)=>p.label.localeCompare($.label)),f=m!=null?ba(m):void 0,_=N??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,Z={control:(p,$)=>({...p,border:0,height:"100%",backgroundColor:E,fill:$.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:K?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,$)=>({...p,backgroundColor:_,borderRadius:F[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,$)}),menuList:p=>({...p,borderRadius:F[1]}),placeholder:(p,$)=>({...p,margin:0,width:"100%",color:$.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:$,isSelected:A,isFocused:se})=>({...p,...q,color:A?ie??s.colors.champion:s.colors.hero,backgroundColor:A?b:se?s.colors.background:_,cursor:$?"not-allowed":A?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:$?"not-allowed":A?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},Q=({children:p,...$})=>l.jsxs(ge.ValueContainer,{...$,children:[p,Y===!0?l.jsxs(ka,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Ca,{}),l.jsx("div",{children:J??"Add User"})]}):null]});return l.jsx(Ol,{onClickAway:()=>{V(!1)},children:l.jsx(xa,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx($a,{children:l.jsx("div",{children:J??"Select..."})}),components:{Option:Ea,DropdownIndicator:Ta,IndicatorSeparator:za,SingleValue:Fa,ValueContainer:Va,MenuList:Q},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:Z,options:re,isDisabled:h,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const ja=t.div``,$a=t.div`
|
|
106
106
|
display: flex;
|
|
107
107
|
align-items: center;
|
|
108
108
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -138,20 +138,20 @@ import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f3 as qe
|
|
|
138
138
|
width: ${a.sp4};
|
|
139
139
|
border-radius: 50%;
|
|
140
140
|
justify-content: center;
|
|
141
|
-
`,Ea=e=>{const{data:c,options:m,isSelected:h}=e,
|
|
141
|
+
`,Ea=e=>{const{data:c,options:m,isSelected:h}=e,N=m.findIndex(g=>g.value===c.value);return l.jsx(ja,{children:l.jsx(ge.Option,{...e,children:l.jsxs(Ia,{children:[l.jsxs(Pa,{children:[l.jsx(Na,{children:c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N})}),l.jsx("label",{children:e.label})]}),!!h&&l.jsx(Oa,{children:l.jsx(_a,{})})]})})})},Pa=t.div`
|
|
142
142
|
width: 100%;
|
|
143
143
|
display: flex;
|
|
144
144
|
align-items: center;
|
|
145
|
-
`,
|
|
145
|
+
`,Na=t.div`
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
148
|
margin-right: ${a.sp2};
|
|
149
|
-
`,
|
|
149
|
+
`,Da=t(Ne)`
|
|
150
150
|
padding: ${a.sp0} ${a.sp2};
|
|
151
151
|
white-space: nowrap;
|
|
152
152
|
overflow: hidden;
|
|
153
153
|
text-overflow: ellipsis;
|
|
154
|
-
`,
|
|
154
|
+
`,Fa=({children:e,data:c,...m})=>{const{options:h}=m.selectProps,N=h.findIndex(g=>g.value===c.value);return l.jsx(ge.MultiValueLabel,{...m,children:l.jsxs(Aa,{children:[c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N}),l.jsx(Da,{children:e})]})})},Va=({children:e,...c})=>l.jsxs(ge.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(va,{children:l.jsx(Sa,{})}):null,e]}),ka=t(kl)`
|
|
155
155
|
color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
|
|
156
156
|
display: flex;
|
|
157
157
|
padding: ${a.sp2} 12px;
|
|
@@ -166,7 +166,7 @@ import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f3 as qe
|
|
|
166
166
|
display: flex;
|
|
167
167
|
flex-direction: row;
|
|
168
168
|
cursor: pointer;
|
|
169
|
-
`,pe={width:new L(343,580,726),labelWidth:new L(115,145,155),largeLabelWidth:new L(160,240,240),veryLargeLabelWidth:new L(150,240,245),containerRowGap:new L(12,
|
|
169
|
+
`,pe={width:new L(343,580,726),labelWidth:new L(115,145,155),largeLabelWidth:new L(160,240,240),veryLargeLabelWidth:new L(150,240,245),containerRowGap:new L(12,F[3])},Ba={title:new xe("standardMedium","largeMedium")};function ct({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:h,isRefreshingViewInBackground:N,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:J=!1,showCompletedIcon:Y=!1,showOfficerSelect:s=!0,showVerificationTag:K=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:Z,updateFilesEntity:Q,openPopup:p,onGetOtp:$,onVerifyOtp:A,onResendOtp:se,verifiedPhoneNumber:H,onPhoneVerified:X}){const O=Oe(),me=Re(),{getValues:B,setValue:ne}=wl(),U=m.length>0,[be,we]=d.useState(!1),k=U?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,M=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[M]?.phone!=null&&e[M].isPhoneVerified===!0&&X(e[M]?.phone??"")},[]);const x=`${y}.${k}`,R=e[M],W=V?R?.treasuryUserVerificationStatus:R?.userVerificationStatus,P=m.find(o=>o.userId===R?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),je=U?u.findIndex(o=>o.userId===R?.userId):0,tl=e[M]?.deleteFileStatusById??{},il=e[M]?.updateFileStatusById??{},De=B(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(O),nl=pe.veryLargeLabelWidth.value(O),he=pe.largeLabelWidth.value(O),dl=O==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=O==="small"?r.protectedSsnTextSmall:r.protectedSsnText,I=W?.code==="pending_review"||W?.code==="verified"?"readonly":c,pl=I!=null||!U||W?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=R?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,hl={menu:()=>({right:"initial",left:0})},fl=o=>_.find(C=>C.code===o)?.name??o,$e=R?.otpverificationStatus?.fetchState,Fe=jl($e);d.useEffect(()=>{X!=null&&Fe==="In-Progress"&&$e==="Completed"&&X(B(`${x}.phone`))},[Fe,$e]);const yl=(o,C)=>{A(o,C)},xl=()=>H==null||H===""?!1:B(`${x}.phone`)===H,gl=()=>{const o=B(`${x}.phone`);return o!=null&&!Nl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:O,children:[l.jsxs(Ra,{windowSize:O,isOverlay:re,children:[l.jsxs(Qa,{children:[l.jsxs(qa,{children:[Y===!0?l.jsx(Ha,{children:J?l.jsx(Ua,{}):l.jsx(Ga,{})}):null,l.jsx(Wa,{windowSize:O,children:E??ml})]}),oe?l.jsx(Ja,{children:l.jsx(We,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:O==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Ya,{})})}):null,f==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,W!=null&&K?l.jsx(lt,{tagTitle:W?.name,textColor:qe(W.code),showLoader:N}):null]}),s?pl?U?l.jsxs(et,{children:[P?.photo!==void 0?l.jsx(Ka,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:je}),l.jsx(Me,{children:`${ul}`})]}):l.jsxs(at,{children:[l.jsx(tt,{children:l.jsx(it,{})}),l.jsx(Me,{children:`${r.addOfficer}`})]}):l.jsx(Za,{children:l.jsx(wa,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(fe=>fe?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:O==="small"?hl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const fe=$l(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>H!=""&&f==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(Xa,{children:[l.jsx(el,{}),l.jsx(He,{isDisabled:I,label:{label:r.name,width:de},nameField:{name:D(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:j=>b.includes("name")===!1?!!j:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:D(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(Ue,{isDisabled:I,label:{label:r.dobLabel,width:he},dateField:{name:D(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Se.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:I,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:D(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Sl(o?.nationalityCountryCode,h.map(j=>j.countryCode)),registerOptions:{validate:j=>!!(j!=null&&j.selectedOption)}}}),l.jsx(z,{}),l.jsx(Le,{isDisabled:I,label:{label:r.address,width:de},addressValueField:{name:D(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:j=>b.includes("officerAddress")===!1?!(I==null&&j==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ge,{isDisabled:I,label:{label:r.phone,width:de},text:{name:D(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:G,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:$,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:H,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:he},singleSelectField:{singleSelect:{name:D(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fl,isDisabled:I,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map(j=>j.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:j=>b.includes("role")===!1?!(I==null&&!j?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:he},formattedTextField:{type:"number",name:D(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:j=>j!=null?j>0&&j<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:he},formattedTextField:{type:"text",name:D(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Il},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:I!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:D(x,"selectDocument"),officerIndex:k,sizeLimit:Ce,filesEndPoint:te,authParams:ie,onEditFileName:Z,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:Q,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:I,menuPlacement:f==="onboarding"&&fe==null?"top":"auto",defaultValue:{defaultSelectDocumentType:fe,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,ve,De),back:ke(!1,ve,De)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:j=>we(j),isPopupOpen:G,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const D=(e,c)=>`${e}.${c}`,Ma=t.div`
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-direction: column;
|
|
172
172
|
row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -230,7 +230,7 @@ import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f3 as qe
|
|
|
230
230
|
background-color: ${e=>e.theme.colors.grey3};
|
|
231
231
|
min-height: 1px;
|
|
232
232
|
max-height: 1px;
|
|
233
|
-
`,et=t(
|
|
233
|
+
`,et=t(Ne)`
|
|
234
234
|
display: flex;
|
|
235
235
|
flex-direction: row;
|
|
236
236
|
justify-content: flex-end;
|
|
@@ -244,7 +244,7 @@ import{e as Oe,u as Re,cn as wl,B as ae,C as L,a2 as jl,j as l,bp as We,f3 as qe
|
|
|
244
244
|
`,lt=t(Ke)`
|
|
245
245
|
width: max-content;
|
|
246
246
|
margin-left: ${a.sp3};
|
|
247
|
-
`,at=t(
|
|
247
|
+
`,at=t(Ne)`
|
|
248
248
|
display: flex;
|
|
249
249
|
flex-direction: row;
|
|
250
250
|
justify-content: flex-end;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,Z as x,_ as M,$ as f,B as p,o as s,a5 as w,w as g,a6 as j}from"./index-
|
|
1
|
+
import{j as r,Z as x,_ as M,$ as f,B as p,o as s,a5 as w,w as g,a6 as j}from"./index-C7jkqxrR.js";import{b as t,n as o}from"./vendor-rkTZJa59.js";import{c as H}from"./SummaryCard-DwlHiqjy-DovYblcz.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./ReloadCard-BY23wQlB-BJD-2H6c.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
|
|
2
2
|
margin: ${s.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,W=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as P,u as Ae,a2 as ca,a as da,ca as pa,B as k,j as a,aX as ma,F as ua,cb as ha,l as V,a4 as fa,C as m,cc as xa,a3 as Ce,o as t,t as ae,cd as z,ce as ze,cf as L,cg as ya,ch as qe,ci as ga,cj as ba,ck as Ue,Y as $a,cl as wa,cm as He,cn as Ge,co as Ia,cp as ja,cq as va,g as N,cr as Sa,cs as Da,aO as Oa,a6 as Ca,ao as U,ct as Fe,q as p,w as Xe,K as Me,cu as Fa,O as ka,cv as Ta,cw as Na,b3 as Pa,cx as La,bO as za,cy as Ma,n as Ea,b4 as R,cz as Va,v as de,b1 as Ba}from"./index-
|
|
1
|
+
import{e as P,u as Ae,a2 as ca,a as da,ca as pa,B as k,j as a,aX as ma,F as ua,cb as ha,l as V,a4 as fa,C as m,cc as xa,a3 as Ce,o as t,t as ae,cd as z,ce as ze,cf as L,cg as ya,ch as qe,ci as ga,cj as ba,ck as Ue,Y as $a,cl as wa,cm as He,cn as Ge,co as Ia,cp as ja,cq as va,g as N,cr as Sa,cs as Da,aO as Oa,a6 as Ca,ao as U,ct as Fe,q as p,w as Xe,K as Me,cu as Fa,O as ka,cv as Ta,cw as Na,b3 as Pa,cx as La,bO as za,cy as Ma,n as Ea,b4 as R,cz as Va,v as de,b1 as Ba}from"./index-C7jkqxrR.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-rkTZJa59.js";import{T as Ze}from"./LabeledCreatableSingleSelectField-CtuwY_9o-BYO4B8QP.js";import{Y as Je}from"./LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js";import{$ as Ke}from"./LabeledAddressValue-CYEpguO_-DG_G1pyJ.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
package/dist/assets/{CompleteProfile-DKEFybHA-BxxuDdcH.js → CompleteProfile-Bg7I3lpF-C68N9Ffu.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as q,gk as v,B as S,j as A,gl as V,b as s,t as J,F as $,cd as W,cm as _,cj as T,l as Z,o as E,gm as z,ch as X,a4 as AA,c7 as gA,by as BA,gn as eA}from"./index-Bda8vF5a.js";import{b as g,f as c,n as o}from"./vendor-rkTZJa59.js";import{$ as EA}from"./LabeledAddressValue-Bk-opSoh-BD1HVoL8.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const CA=B=>g.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},g.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),g.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("g",{style:{mixBlendMode:"darken"}},g.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),g.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),g.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),g.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),g.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqB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AgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=B=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},g.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(B,n)=>`${B}.${n}`,wA=({userEmail:B,googleAPIKey:n,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:k,onResendOtp:x})=>{const[I,a]=g.useState(!1),[y,Y]=g.useState(!1),t=q({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),f=v({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{k(C,d)},R=C=>{C!=null&&C.trim().length>0&&x(C)},U=()=>{a(!0)},K=()=>{a(!1)},P=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=eA(C);t.setValue(`${Q}.address`,d)}a(!1)},b=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:j,otpVerificationStatus:i,otpChallenge:O,phone:H}=r,N=A.jsxs(rA,{children:[A.jsx(CA,{}),A.jsxs(sA,{children:[A.jsxs(lA,{children:[A.jsx(V,{children:i.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),A.jsx(s,{controller:i.fetchState==="Completed",children:A.jsx(nA,{})})]}),A.jsx(J,{children:e.completeProfile.enableTwoFADescription})]})]});return A.jsxs(oA,{children:[A.jsxs(IA,{children:[A.jsxs(tA,{children:[I&&A.jsx(iA,{onClick:K}),e.completeProfile.title]}),A.jsx($,{...t,children:A.jsxs("form",{id:`${p}_form`,onSubmit:b,children:[A.jsx(s,{controller:w===!1,children:A.jsxs(u,{children:[A.jsx(s,{controller:I===!1,children:A.jsxs(c.Fragment,{children:[A.jsx(W,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),A.jsx(_,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),A.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z.dateNow().subtract(18,"year")}}),A.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:f,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),A.jsx(s,{controller:I===!0,children:A.jsx(c.Fragment,{children:A.jsx(z,{sectionId:m,googleAPIKey:n,isSubPage:!0})})})]})}),A.jsx(u,{children:A.jsx(X,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:y,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:O,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:i.fetchState==="Completed",phoneVerificationStatus:i,getOtpStatus:j,verifiedPhoneNumber:i.fetchState==="Completed"?H:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:i.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),A.jsx(AA,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?P:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
1
|
+
import{a as q,gl as v,B as S,j as A,gm as V,b as s,t as J,F as $,cd as W,cm as _,cj as T,l as Z,o as E,gn as z,ch as X,a4 as AA,c7 as gA,by as BA,go as eA}from"./index-C7jkqxrR.js";import{b as g,f as c,n as o}from"./vendor-rkTZJa59.js";import{$ as EA}from"./LabeledAddressValue-CYEpguO_-DG_G1pyJ.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const CA=B=>g.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},g.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),g.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("g",{style:{mixBlendMode:"darken"}},g.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),g.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),g.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),g.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),g.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABA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AgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=B=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},g.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(B,n)=>`${B}.${n}`,wA=({userEmail:B,googleAPIKey:n,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:k,onResendOtp:x})=>{const[I,a]=g.useState(!1),[y,Y]=g.useState(!1),t=q({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),f=v({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{k(C,d)},R=C=>{C!=null&&C.trim().length>0&&x(C)},U=()=>{a(!0)},K=()=>{a(!1)},P=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=eA(C);t.setValue(`${Q}.address`,d)}a(!1)},b=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:j,otpVerificationStatus:i,otpChallenge:O,phone:H}=r,N=A.jsxs(rA,{children:[A.jsx(CA,{}),A.jsxs(sA,{children:[A.jsxs(lA,{children:[A.jsx(V,{children:i.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),A.jsx(s,{controller:i.fetchState==="Completed",children:A.jsx(nA,{})})]}),A.jsx(J,{children:e.completeProfile.enableTwoFADescription})]})]});return A.jsxs(oA,{children:[A.jsxs(IA,{children:[A.jsxs(tA,{children:[I&&A.jsx(iA,{onClick:K}),e.completeProfile.title]}),A.jsx($,{...t,children:A.jsxs("form",{id:`${p}_form`,onSubmit:b,children:[A.jsx(s,{controller:w===!1,children:A.jsxs(u,{children:[A.jsx(s,{controller:I===!1,children:A.jsxs(c.Fragment,{children:[A.jsx(W,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),A.jsx(_,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),A.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z.dateNow().subtract(18,"year")}}),A.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:f,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),A.jsx(s,{controller:I===!0,children:A.jsx(c.Fragment,{children:A.jsx(z,{sectionId:m,googleAPIKey:n,isSubPage:!0})})})]})}),A.jsx(u,{children:A.jsx(X,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:y,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:O,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:i.fetchState==="Completed",phoneVerificationStatus:i,getOtpStatus:j,verifiedPhoneNumber:i.fetchState==="Completed"?H:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:i.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),A.jsx(AA,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?P:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-height: 100vh;
|
package/dist/assets/{ConfettiBurst-BvcmPG2b-CV7YM3kx.js → ConfettiBurst-AOgMJCCW-BNA_L2gY.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d5 as m,ac as l,j as a,ak as f,o as n}from"./index-
|
|
1
|
+
import{d5 as m,ac as l,j as a,ak as f,o as n}from"./index-C7jkqxrR.js";import{b as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",b=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{b as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Ye,e as w,B as h,O as U,cc as qe,j as t,aX as _e,$ as b,m as Qe,bV as ae,bX as ie,bY as se,cA as Xe,a4 as Ge,C as W,by as Je,o,cB as Ze,bp as k,bO as le,q as f,am as de,w as ce,t as Q,aP as Ke,cx as pe,g as L,cC as me,cu as ue}from"./index-
|
|
1
|
+
import{u as Ye,e as w,B as h,O as U,cc as qe,j as t,aX as _e,$ as b,m as Qe,bV as ae,bX as ie,bY as se,cA as Xe,a4 as Ge,C as W,by as Je,o,cB as Ze,bp as k,bO as le,q as f,am as de,w as ce,t as Q,aP as Ke,cx as pe,g as L,cC as me,cu as ue}from"./index-C7jkqxrR.js";import{b as x,n as r}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(Y,{children:m}),t.jsx(q,{children:d})]}),t.jsxs(H,{children:[t.jsx(Y,{children:p.achDetails.bankName}),t.jsx(q,{children:s})]}),t.jsxs(H,{children:[t.jsx(Y,{children:a}),t.jsx(q,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
gap: ${o.sp1};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as a,e as me,x as pe,$ as te,
|
|
1
|
+
import{j as a,e as me,x as pe,$ as te,gV as Ze,B as Y,a0 as Re,K as He,m as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,d as at,u as ze,bp as nt,cV as Ee,J as W,g as q,fX as Ce,v as ot,l as R,r as Me,c7 as it,a2 as be,a as rt,f2 as lt,ca as ct,F as st,cG as dt,fb as mt,cf as pt,fK as ut,q as r,by as ht,bw as Be,d1 as gt,bO as yt,t as Oe,fe as ft,f6 as Ct,a7 as bt,ff as xt,cx as St,fg as wt,fp as Dt}from"./index-C7jkqxrR.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-CSh6A3bd-D6-VupFL.js";import{b as kt}from"./ChargeCardUtils-DtlGBAOG-CnFwGz8i.js";import{Y as xe}from"./CreditCardPaymentPlgSection-DkQpCIiA-CI4n-74w.js";import"./mui-C42whWwM.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new W("h6Regular","h5Regular"),integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:Lt,labels:Se,currency:we,navBar:{back:vt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:vt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Gt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(Xt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Rt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Wt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:q.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${R.zeniDate(R.getNextNthWorkingDay(R.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Re("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Lt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Jt,{src:Tt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Zt,{})})}return null},Tt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Rt=o(Be)`
|
|
2
2
|
color: ${e=>e.theme.colors.primary};
|
|
3
3
|
padding-top: ${t.sp3};
|
|
4
4
|
`,Pt=o.div`
|
|
@@ -80,7 +80,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Ze,B as Y,a0 as Re,K as He,m as et,a
|
|
|
80
80
|
&:hover {
|
|
81
81
|
color: ${e=>e.theme.colors.primary};
|
|
82
82
|
}
|
|
83
|
-
`,
|
|
83
|
+
`,Kt=o.div`
|
|
84
84
|
display: flex;
|
|
85
85
|
flex-direction: row;
|
|
86
86
|
justify-content: flex-start;
|
|
@@ -90,11 +90,11 @@ import{j as a,e as me,x as pe,$ as te,gU as Ze,B as Y,a0 as Re,K as He,m as et,a
|
|
|
90
90
|
padding: ${e=>`${ae.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
|
|
91
91
|
z-index: 2;
|
|
92
92
|
background-color: ${e=>e.theme.colors.grey4};
|
|
93
|
-
`,
|
|
93
|
+
`,Xt=o(Me)`
|
|
94
94
|
${e=>`${de.pageTitle.style(e.windowSize)}`};
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
padding: ${t.sp3} ${t.sp0} ${t.sp3} ${t.sp0};
|
|
97
|
-
`,
|
|
97
|
+
`,Jt=o.img`
|
|
98
98
|
display: flex;
|
|
99
99
|
width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
100
100
|
height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
|
|
@@ -126,10 +126,10 @@ import{j as a,e as me,x as pe,$ as te,gU as Ze,B as Y,a0 as Re,K as He,m as et,a
|
|
|
126
126
|
margin-right: 12px;
|
|
127
127
|
margin-left: ${t.sp1};
|
|
128
128
|
color: ${e=>e.theme.colors.hero};
|
|
129
|
-
`,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=Y.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ve=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:
|
|
129
|
+
`,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=Y.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ve=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:v,controllerEmails:k,productInformation:G,cashbackInformation:K,paymentSourceInformation:X,creditAccountInformation:J,debitAccountInformation:Q}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),Z=pe().analytics,H=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,F=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),We=p.useCallback((l,u)=>{const T=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&T?.verification_status!=null&&!ge?y(T?.verification_status,c.paymentAccountId,"update_account"):b?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,b]),Ye=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:We,onExit:Ye});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(R.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),x()))},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(R.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||R.isVerifiedStatusCode(F))&&(R.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:qe}=N.formState,Ge=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const T=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(T)}},Ke=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(T=>T.id===l);return u?.accountBalance?.available!=null&&R.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:T})=>{T!=null&&u!=null&&ct(()=>Ge(T,u))});return()=>{l.unsubscribe()}});const Xe=N.watch("paymentDetails.amount"),Je=N.handleSubmit(()=>{if(qe){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),D(!0),j&&M&&v&&Z.trackCardsPayEarlyFormClick(k,G,K,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},X,J,Q)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Xe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ve(Ue),onSubmit:Je,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:q.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||R.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!0)}},valueToAdditionalLabel:Ke}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:P}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
width: ${e=>e.windowSize==="small"?"80%":"100%"};
|
|
132
|
-
`,la=o(
|
|
132
|
+
`,la=o(xt)`
|
|
133
133
|
color: ${e=>e.theme.colors.primary};
|
|
134
134
|
`,ca=o.div`
|
|
135
135
|
display: flex;
|
|
@@ -154,7 +154,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Ze,B as Y,a0 as Re,K as He,m as et,a
|
|
|
154
154
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
155
155
|
box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
156
156
|
border-radius: ${t.sp2};
|
|
157
|
-
`,Ae=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new W("h6Regular","h5Regular")},Le=Y.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,V=Y.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:ve}=Y.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:
|
|
157
|
+
`,Ae=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new W("h6Regular","h5Regular")},Le=Y.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,V=Y.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:ve}=Y.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:G,onFetchLinkTokenClick:K,plaidConnectionDetails:X,onSignUpAccountClick:J,onMoveMoneyClick:Q,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),Z=pe().analytics,[H,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Te,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&D&&m&&Z.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Ze,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[V.youvePaid,a.jsx(ya,{children:Re("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Le.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?V.theCreditLimitWillResetWithin23BusinessDays:V.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:V.goToCards,"data-testid":te("back-to-cards-button"),onClick:v})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Te,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&D&&m&&Z.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:P?.add(3,"day").format(ve.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(ve.visual.MMMDCommaYYYYformat)},x,f,y),k?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:V.payCreditCardBalance}):a.jsx(xa,{children:V.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:j,plaidConnectionDetails:X,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:G,onSignUpAccountClick:J,onMoveMoneyClick:Q,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ve(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Y.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:Le.transferDrawer.cancelBtn,onClick:()=>{C&&D&&m&&Z.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}}})]})})},ha=o.div`
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column;
|
|
160
160
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -204,17 +204,17 @@ import{j as a,e as me,x as pe,$ as te,gU as Ze,B as Y,a0 as Re,K as He,m as et,a
|
|
|
204
204
|
&:hover {
|
|
205
205
|
color: ${e=>e.theme.colors.primary};
|
|
206
206
|
}
|
|
207
|
-
`,
|
|
207
|
+
`,ba=o(Me)`
|
|
208
208
|
${e=>`${pa.sectionTitle.style(e.windowSize)}`};
|
|
209
209
|
color: ${e=>e.theme.colors.primary};
|
|
210
210
|
margin-top: ${t.sp3};
|
|
211
211
|
margin-bottom: ${t.sp0};
|
|
212
212
|
margin-right: ${t.sp3};
|
|
213
|
-
`,
|
|
213
|
+
`,xa=o(it)`
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
margin-top: ${t.sp3};
|
|
216
216
|
margin-bottom: ${t.sp2};
|
|
217
|
-
`,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:
|
|
217
|
+
`,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:G,onEstablishConnectionSuccess:K,onFetchLinkTokenClick:X,plaidConnectionDetails:J,onSignUpAccountClick:Q,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:v,onDismissClick:k,plaidConnectionDetails:J,isAccountsEnabled:h,onEstablishConnectionClick:G,onFetchLinkTokenClick:X,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:K,onSignUpAccountClick:Q,onMoveMoneyClick:s})}),Sa=o.div`
|
|
218
218
|
display: flex;
|
|
219
219
|
flex-direction: column;
|
|
220
220
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as j,u as M,B as L,ab as T,a1 as H,j as i,$ as b,K as U,bv as W,o as l,g as n,C as a,aS as G,bO as R,az as B,w as _,q as o}from"./index-
|
|
1
|
+
import{e as j,u as M,B as L,ab as T,a1 as H,j as i,$ as b,K as U,bv as W,o as l,g as n,C as a,aS as G,bO as R,az as B,w as _,q as o}from"./index-C7jkqxrR.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Y({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:p,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const s=j(),f=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),d=C.setUp.accountsPlg,P=()=>{switch(c){case d.signUpButtonText:g?.trackPlgPromoClicked(p,"Sign Up for Free"),S?.();break;case d.switchButtonText:g?.trackPlgPromoClicked(p,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(p,"Move Money"),$?.()}},z=T(H(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:s,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:s,isDarkMode:f.mode==="dark",children:i.jsx(O,{windowSize:s,children:i.jsx(q,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(J,{windowSize:s,children:e}),i.jsxs(I,{windowSize:s,children:[i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.three})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:s,children:i.jsx(U,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:W.regular}})})]})}const D=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
`,J=t(R)`
|