@zeniai/web-cockpit-ui 1.15.30-dev → 1.15.31-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.
Files changed (320) hide show
  1. package/dist/assets/ACHDetailsPage-CxpLuJpQ-JKcW_L_F.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DncCC-Dz-D3G6sKpR.js → AIPerformancePage-BtDuOBey-R_FrOwFb.js} +104 -104
  3. package/dist/assets/AccountInfoPage-DkpBGfrR-CwURNe8d.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D-dwMWkI-Dbq4xdEd.js → AccountInfoPageContent-BLF92_vF-BcSKCd1r.js} +18 -18
  5. package/dist/assets/AccountLockedInfoModal-AsMkXu1I-DpSC039N.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BL7C23h8-C0V-huzv.js → AccountReconDetailsDrawerPage-CkaBrm5K-DMOtTL8X.js} +12 -12
  7. package/dist/assets/AccountRow-aEmcYP8T-BckNDPBQ.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-BqyCa3EH-C6VYK7eB.js → AccountsPromoCardStack-C0At5pn8-DZihjHYv.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-CbjThbsA-Djr5aTMV.js +6 -0
  10. package/dist/assets/{AddToWalletPage-tRVFR3Rw-CIboPJdI.js → AddToWalletPage-CMJwUbgf-rFPYYVSy.js} +47 -47
  11. package/dist/assets/{AgingReportsPage-BO9qovKL-m3dKXsEf.js → AgingReportsPage-B_BSfude-DWyamJwj.js} +15 -15
  12. package/dist/assets/{AllUserItems-C5uzbqu0-OYaG4ozf.js → AllUserItems-CGlWa60t-EoZjozXY.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-Dw4d844_-DnXvQrmX.js → ApAgingDetailPage-DT3vkmLG-BsDDXbrZ.js} +4 -4
  14. package/dist/assets/AppBasePage-CDy7wPlv-CsB4iu-c.js +71 -0
  15. package/dist/assets/{AppDrawerContent-C5KqoZ6_-DSRTCara.js → AppDrawerContent-CEsXm_i6-DCe9idAB.js} +4 -4
  16. package/dist/assets/{ApprovalRulesSettingsPage-nEW4hufu-LHTAH2YF.js → ApprovalRulesSettingsPage-CB2_4-2f-JTvT_FnG.js} +6 -6
  17. package/dist/assets/{ArAgingChart-2eGhMrCs-DnvN-laJ.js → ArAgingChart-qxhWsIQb-D_1Ue9xU.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CE_nDD48-CIv1_heH.js → ArAgingDetailPage-BbzQryp_-Babiy5ST.js} +4 -4
  19. package/dist/assets/{AttachmentView-DdX3DEyN-D4xdrOUi.js → AttachmentView-duTVxc9g-BoSNnqkS.js} +4 -4
  20. package/dist/assets/{BankAccountSection-Db8KCDjh-7fAQc6F_.js → BankAccountSection-CAwAf9xK-BTGyBjUJ.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js → BankAccountWarningSection-CaDnP9_--BOTeyp6n.js} +11 -11
  22. package/dist/assets/{BankConnectionsSettingsPage-BcMQdf1D-C4cSmkMm.js → BankConnectionsSettingsPage-CDV7O8cl-CQv6ub4_.js} +10 -10
  23. package/dist/assets/{BillDetailPage-BOoE3r9n-C_-O6tkI.js → BillDetailPage-DJxh2CIc-BeHpC_ZG.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-C-M8i0tF-ErR7MbAL.js → BillPayApprovalRuleDetailPage-B2ZPbqtr-CXCcZzHB.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-cqq9M7pi-CM1gLpvJ.js → BillPayApprovalRulesPage-MM7v8ZMx-B1_OO9dS.js} +15 -15
  26. package/dist/assets/{BillPayPromoPage-CHu-sh9I-b6nXHlbY.js → BillPayPromoPage-JK-VOx4W-BEeCN8sy.js} +8 -8
  27. package/dist/assets/{BillPaySetUpPage-ICbZgQZR-DcttrcBB.js → BillPaySetUpPage-h0uoCWMl-D8aqE5Rg.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-gJG9OxD6-Cdnv1hFG.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cr-JmUCA-LZ1I5uJ7.js → BillsBulkReviewDrawerPage-CPPDFsZt-C0sV8yKV.js} +1 -1
  30. package/dist/assets/{BoxItem-ChtGcSH1-BjQod1Sp.js → BoxItem-CYe_gTmA-rmtQXiBP.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-Dos8Bnvb-EV3QIoHL.js +138 -0
  32. package/dist/assets/{CardNumberSubText-Dxhe-tx2-BQPvyrmB.js → CardNumberSubText-CFDhtij8-BmUW8oI1.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BTR9tfZP-DZBth57E.js → CashbackDetailPage-BBGGzKh7-Bts6uMDO.js} +13 -13
  34. package/dist/assets/{ChargeCardDetailPage-D_dF0Nv_-Dp_tBUAA.js → ChargeCardDetailPage-BQhago53-D_FFt-oF.js} +18 -18
  35. package/dist/assets/{ChargeCardListPage-wA3_NOPD-DpPgkdeF.js → ChargeCardListPage-B0E-C3RH-CrU64eoy.js} +23 -23
  36. package/dist/assets/{ChargeCardListTable-8Bgd9bzh-yIMe5GBQ.js → ChargeCardListTable-ByGv0xWl-rSJFMbd2.js} +46 -46
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-mcW9jr2k-CIwmXpSr.js → ChargeCardPaymentHistoryPage-LCY9rFqO-CkY1nhYn.js} +12 -12
  38. package/dist/assets/ChargeCardPromoPage-CKEnOseD-DuGq7XTO.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-BxAJ2HVU-UIApVhks.js → ChargeCardSetupPage-BHv2VOdc-Bv0dAghh.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-CZzDSv5y-C_fNd-Va.js → ChargeCardStatementsPage-UpRXyPTS-DcNMglcu.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-iPcp79Wu-DjNqRhvh.js → CheckDepositDrawerPage-0zbTQ3Fa-Edy7R6vj.js} +21 -21
  42. package/dist/assets/{CollapsableReportTable-Ck29YUyD-C4PUByzW.js → CollapsableReportTable-DlYIKSlQ-COjE28P7.js} +93 -93
  43. package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-C5sOytCr.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-CCfVNfP0-D2OWbLG1.js → CompanyPassportCard-DeVPuuje-B4Kq9zLA.js} +3 -3
  45. package/dist/assets/CompanyPassportPage-F_GUET9a-DWgtD9ML.js +574 -0
  46. package/dist/assets/{CompleteProfile-C0Qk6P6p-B7DE2SVz.js → CompleteProfile-Y6HwKtpz-CsUQDLc6.js} +2 -2
  47. package/dist/assets/ConfettiBurst-BGE3Okwr-B_KCfg_0.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js → ConstrainedInnerElement-BeIpAPjB-Dx2Q69aJ.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CmnpkgTu-B-wx5zV_.js → CreateOrEditVendorPage-BlZe6gmh-DxGvfsZR.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentDrawerPage-wPiHCF7z-Dzpo3z2e.js → CreditCardPaymentDrawerPage-flPmyCaF-D3mVRIQk.js} +11 -11
  51. package/dist/assets/{CurrencySelectField-CxIflyKX-BGGnxKIK.js → CurrencySelectField-RiKAivD8-Dz6NASLd.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CE5B6BET-BPLeksRp.js → CustomerOnboardingActivationPage-B7dLMk4g-D_eaYsMZ.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-BBqvBSFY.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton--jL1SUOo-DgoL19Wk.js → CustomerOnboardingDetailPageSkeleton-AWsst0XH-Df3wynLD.js} +14 -14
  55. package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-CmXil69t.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-B5LrMzZS-Bw_YjaWD.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-IUm6QKOQ-BgC9YDnn.js → CustomerOnboardingProductSuitePage-DqgoBLWp-D2XUuLJm.js} +6 -6
  58. package/dist/assets/{Dashboard-CeBbTIiJ-BKwU5QeJ.js → Dashboard-D0KlujCx-D0HvooTT.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-DVIwO5-L-pH5FWjLZ.js → DashboardReportPage-bxKyMsG7-Bb1y4PVD.js} +13 -13
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-Ch0OiH1g-CbEVCb1f.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-B7ErTe-9-ClHyxdVn.js → DepositAccTransactionItem-BdZVCAx--BEQtPnX0.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-Czm5uOxb-BGyjwBM2.js → DepositAccTransactionListPage-LU0QMdSV-Bfh4B_mk.js} +6 -6
  63. package/dist/assets/{DomesticWireDetailsPage-B3Cib987-CARF9i1d.js → DomesticWireDetailsPage-CFt5GgZ1-Co98r5Ek.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CS_4lZDV-DTBvhOHI.js → DownloadOverlay-CH_bA3On-bfSkm5Nl.js} +11 -11
  65. package/dist/assets/{DrawerPage-CrCkJ_bE-fj3woT0N.js → DrawerPage-Cpdp-IFb-BRc12KLa.js} +14 -14
  66. package/dist/assets/EditPeoplePage-BYnuNojX-B1GcGpQ9.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DisSqLai-DnOSaIlo.js → EditReimbursementDetailPage-DnyyPZ26-CeObB7v0.js} +67 -67
  68. package/dist/assets/EntityDetailPage-DSfZZ1JW-Dd0uW0uD.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CmVlq7pY-umvtllpK.js → EntitySummarySection-BFpgAYAM-D1hJybsA.js} +8 -8
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DuWbC5EZ-DbINW0ra.js → ExpenseAutomationOverviewPage-YjOVm_Bw-p-cnIw4N.js} +56 -56
  71. package/dist/assets/ExpenseAutomationPage-DlhH-R-e-C1M6QNQ4.js +1700 -0
  72. package/dist/assets/{ExpressPayPage-DZHOM942-BLmAB792.js → ExpressPayPage-CKqPEfbR-CGYA64IG.js} +14 -14
  73. package/dist/assets/{FeaturePreviewPage-DHomR4Oi-DzHHPfTu.js → FeaturePreviewPage-Cs1Y3nP0-IoYZsFaa.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-C8Zv_X5E-BSPaXUZH.js → FollowStepsSection-BCyL8Jdr-B2UM5UTK.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BFR_WZdE-jG6gei6c.js → GlobalReviewListPage-CBQFcVHd-Cv9-dFGG.js} +16 -16
  76. package/dist/assets/{InformationCardStack-C39QsHiY-B_SVxEcf.js → InformationCardStack-nFMetrAy-CQVo7xoK.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-Bi2tusdE-DhrD945r.js → InsightsCardStack-CEMeGJXy-CBEUbPAA.js} +7 -7
  78. package/dist/assets/InsightsSection-BYiN2xB7-DRSyBaKY.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-Bj9lE3dy-C8DRNLeo.js → IntegrationsSettingsPage-BQ7g3a3K-BolFhxmH.js} +3 -3
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-HPxS_eP2-Bi_9u824.js → InternationalWireSwiftDetailsPage-BHRYsZgm-D9-8cqjd.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CBXNZ9Tt.js +292 -0
  82. package/dist/assets/{InviteFormPage-DyUgmNt6-yyWn8Yk_.js → InviteFormPage-BVXte8w8-LmKOVXja.js} +23 -23
  83. package/dist/assets/{InvitePageListView-PbTTJA74-w58xk_rt.js → InvitePageListView-DFPyLLrA-8Qu-82aZ.js} +55 -55
  84. package/dist/assets/InvitePeoplePage-B-uxjkke-hqYTwKtm.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-B9q7nIs0-DaXZuZIR.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-WeFAdE9k-BxW4fu66.js → IssueChargeCardPage-BuLj1bOl-CrhI2RvS.js} +19 -19
  87. package/dist/assets/{LabeledAddressValue-BEiVNwJh-6EnDaIvC.js → LabeledAddressValue-D2t8ti-C-DZj4ysSt.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-DMcor_I8-1VjKhx0I.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-B6w2HGJK-UqsSfRFN.js +16 -0
  90. package/dist/assets/{LabeledCreatableSingleSelectField-B-KMzhH--CvW70JID.js → LabeledCreatableSingleSelectField-DHNAX5Pu-BPCw1so2.js} +13 -17
  91. package/dist/assets/LabeledDocumentField-Bx1u7vv_-CXDoMBrK.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-BBS4da2b-DZkQmKIJ.js +59 -0
  93. package/dist/assets/{LabeledText-B1BxC4mo-CDiqUP7l.js → LabeledText-zjKn4Cw--KApo6LBw.js} +5 -5
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D0OTplnZ-ClcTuuYx.js → LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-DSUwJJwR.js} +18 -18
  95. package/dist/assets/{LabeledZeniRolesDropDownField-DruyoV6I-gDHLkFnU.js → LabeledZeniRolesDropDownField-DiBtAWQ3-CBaCEhEP.js} +38 -38
  96. package/dist/assets/{LinkJETransactionPage-_GJ-x5FQ-BvKwuUsJ.js → LinkJETransactionPage-D66bzDh_-CkE3r5Fj.js} +14 -14
  97. package/dist/assets/{LockCardPage-BiembyjL-BQgtTNap.js → LockCardPage-B1g2TZWL-BB9OEQ3a.js} +23 -23
  98. package/dist/assets/{LowBalancePopup-DF0W3ZsB-DXIPCFb8.js → LowBalancePopup-DbtHeVY--C1kZvBgV.js} +6 -6
  99. package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-BwbjH03_.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-CowCmii0.js +1 -0
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BohPD43K-CrX6QPLC.js → MagicLinkInternationalWireDetailsPage-Q4lIsHtG-Cz_o6Fdm.js} +1 -1
  102. package/dist/assets/MagicLinkSuccessPage-BkxuITX--Dm_WsIEN.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js → MagicLinkTitleSection-CqkZ9wOf-Bw_OwXxB.js} +4 -4
  104. package/dist/assets/{MailingDetailsSection-BT5P_beR-Chn0pdYc.js → MailingDetailsSection-DRFGCM2W-BZiRRBi6.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-BSErzm4Y-BPCz_uBa.js → MyBankConnectionsSettingsPage-CE2ZqHBJ-BgvQaaTM.js} +9 -9
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-CC02lTyz-CeD7DjCL.js → MyPendingActivationChargeCardListPage-BffxXDZg-ByY1n8i6.js} +2 -2
  107. package/dist/assets/MyProfileSettingsPage-DrsAlesY-hN8LUcXX.js +85 -0
  108. package/dist/assets/{NavBarWithPicker-BsrNGnWt-CVqlkT83.js → NavBarWithPicker-C4VfP_Kw-CBhRZ97T.js} +5 -5
  109. package/dist/assets/{NavigationArrow-BXIVh8h9-DmlDNFK6.js → NavigationArrow-DCCxx6H7-W7U95qs4.js} +7 -7
  110. package/dist/assets/{NavigationDots-CqAMUVd8-DlLV84YV.js → NavigationDots-tWCw6Bpk-CuIUDxge.js} +4 -4
  111. package/dist/assets/{NewGlobalMerchantPage-BJ5efhOX-45v-8VWf.js → NewGlobalMerchantPage-UIA8zAjd-D8vToc6n.js} +36 -36
  112. package/dist/assets/{NoDataChart-YIESVuNz-DxR56cWr.js → NoDataChart-Bvetk9za-0wt6JdBt.js} +2 -2
  113. package/dist/assets/NoDataTable-9xF1_3XS-DsLBD4Qa.js +8 -0
  114. package/dist/assets/{NotFoundPage-DsvOs3ie-CxEfyKrP.js → NotFoundPage-CdH-3upl-C_fcZJin.js} +5 -5
  115. package/dist/assets/{NotificationSettingsPage-DVfgPnm5-C-9LCnBN.js → NotificationSettingsPage-DP2gGIz1-CLjjU0Sc.js} +17 -17
  116. package/dist/assets/{NotificationsListConfig-DpYbR8ec-BZk6IMbB.js → NotificationsListConfig-DG-DH2Aj-CKXowXh2.js} +1 -1
  117. package/dist/assets/{NotificationsPage-DvWc70qe-CLGgDCba.js → NotificationsPage-CgFMmR2X-Be5cEQ7m.js} +24 -24
  118. package/dist/assets/{OpExByVendorPage-H76M8qaf-DmH_-lZf.js → OpExByVendorPage-eUvIAWzt-PZY_Xas_.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-D4QU0p4o-3r3Bw7Lg.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-sw9N690f-DE9ix_Dt.js → PandLWithForecastPage-8S06Nyi5-BhQGG0da.js} +11 -11
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-9ZSRDZH6.js +107 -0
  122. package/dist/assets/PeoplePage-D1BLHtO0-sla4AS_t.js +675 -0
  123. package/dist/assets/{Preview-CTKmuGb_.js → Preview-CU8d2zan.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BcFZaXQq-D-hD1KoW.js → ProductsCarousel-BKSXWnFR-DXZOy7zR.js} +5 -5
  125. package/dist/assets/{PromoBaseCards-BglIl0tN-CTFaf0_7.js → PromoBaseCards-BYT9nEJT-CqAOmcFY.js} +17 -17
  126. package/dist/assets/{QBOConnectionDialog-D9BGyyB3-D-hyd18h.js → QBOConnectionDialog-C2-omQMZ-zbiv02JV.js} +3 -3
  127. package/dist/assets/{QBOSetupSection-C6L-OXzd-Cy1MLcyD.js → QBOSetupSection-lgv5wVlg-y58Hyzd-.js} +16 -16
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-tKu15I_o-BXX_iX2c.js → ReimbursementApprovalRuleDetailPage-CbJViS3x-D3aK08AA.js} +2 -2
  129. package/dist/assets/{ReimbursementApprovalRulesPage-r2WRV6kv-kJbuC_Ut.js → ReimbursementApprovalRulesPage-BuNt-Bmb-C78e8kMC.js} +8 -8
  130. package/dist/assets/{ReimbursementDetailPage-jJxS8CSo-DCuxr8dd.js → ReimbursementDetailPage-CK3-Jqkd-CgZiOEYV.js} +8 -8
  131. package/dist/assets/{ReimbursementPromoPage-CrKB_OxS-Ba_Ei159.js → ReimbursementPromoPage-fptOAJna-IPM14XMn.js} +20 -20
  132. package/dist/assets/{ReimbursementSetUpPage-COWnzuHW-C1onmBtq.js → ReimbursementSetUpPage-CidrpT2g-Ln_h8FTr.js} +12 -12
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-jpGSx2Pg-BNjvse6f.js → ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DgBEVXGU.js} +1 -1
  134. package/dist/assets/{ReloadCard-Dl1P55OC-PqG6EjQo.js → ReloadCard-C81rGzOp-DJ3imZKo.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-CPU5qvuC-D9eIuNWz.js → ReportTableViewSelector-neRSjrhV-Ren0yuJI.js} +9 -9
  136. package/dist/assets/{ReportsPage-FhO_9i3v-BqM0631G.js → ReportsPage-BhzQVaer-_PFG_SDT.js} +5 -5
  137. package/dist/assets/{RevenueChart-Bju5kT8K-CLZ32HGB.js → RevenueChart-x7uTbFlm-De__t5uZ.js} +18 -18
  138. package/dist/assets/{ReviewDetailsPage-CaEI-TGi-Bc73PbER.js → ReviewDetailsPage-jXZCylzg-CxWQeENN.js} +52 -52
  139. package/dist/assets/{ReviewOverlay-l69rpwr7-Dr7rxtnO.js → ReviewOverlay-nlm2HnGw-CrtXVWUE.js} +18 -18
  140. package/dist/assets/RoleWithToolTip-C29QOzxS-Flc5rF91.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BRsO23kh-dDbnlnbP.js → ScheduleDetailsFixedAssetsPage-CkPzofLN-DIX9LFTM.js} +8 -8
  142. package/dist/assets/ScheduleDetailsPage-BSZefKOh-8kI1Do_y.js +37 -0
  143. package/dist/assets/{ScheduleSequenceTable-CeHDyMVV-BA7tEH_s.js → ScheduleSequenceTable-BW5M7Zfq-BxUxwc-r.js} +42 -42
  144. package/dist/assets/{ScreenRoutes-D50KKBnw.js → ScreenRoutes-CLhWgWVO.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-rRjmVlU7-VDyxWMzU.js → SetUpAccountSection-C703iFL6-CB7BMbY7.js} +5 -5
  146. package/dist/assets/SignIn-D9K5FklU-DoHIITb_.js +491 -0
  147. package/dist/assets/SignInScreen-BUCf8qGW.js +1 -0
  148. package/dist/assets/{SpendManagementListViewPage-B452IhbL-TWCl13gF.js → SpendManagementListViewPage-CBNtC74m-BtgixD4n.js} +12 -12
  149. package/dist/assets/{SpendManagementPerTabPage-BDYtqf0E-ik6oQrCv.js → SpendManagementPerTabPage-D_sa7WRd-BkE5ihPf.js} +23 -23
  150. package/dist/assets/{SpendManagementSection-BBotB3Xj-DXZ-WUxC.js → SpendManagementSection-DpZUTV6m-Dxy1NGgK.js} +25 -25
  151. package/dist/assets/{StatementItem-hqxspUme-BUYqqJPu.js → StatementItem-DvdSsb8I-Yc2t3LwG.js} +6 -6
  152. package/dist/assets/{StatementsPage-CL35o_9R-TfMK-pd1.js → StatementsPage-73jGj5P2-39XE15IE.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-LSy5NlOs-Cp5AKxg-.js → StatusSwitcher-hKYgwNLC-CdIzFF5N.js} +2 -2
  154. package/dist/assets/{SubTabSwitcher-BB80NFhP-2jy_qhgj.js → SubTabSwitcher-aeDd9xiF-cMszftZd.js} +2 -2
  155. package/dist/assets/{SummaryCard-wJqTtNFt-BsTr0JdI.js → SummaryCard-CK8Gxbiu-D9gdCQ60.js} +1 -1
  156. package/dist/assets/TaskManagementPage-D2Ooq8DR-BCLu8T25.js +508 -0
  157. package/dist/assets/{TimeRangeSwitcher-B1jJf76U-DtYpu1mK.js → TimeRangeSwitcher-DEqlZxa6-CbVp5G_Z.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-CTyaOUPX-CUY8xGFr.js → TimeframeSwitcher-BppC6giF-B4vl7lp6.js} +6 -6
  159. package/dist/assets/TimeframeSwitcherWithToggle-CbX9ElMN-CKuHpWeL.js +31 -0
  160. package/dist/assets/{TopExCard-D-0SNihe-ZpE9qsPN.js → TopExCard-Cy6tPVSx-DoueUq-S.js} +6 -6
  161. package/dist/assets/{TopExDetailPage-2Wo3VpBY-DOpuhpkX.js → TopExDetailPage-Rtrcdkcp-Bee2kIbH.js} +11 -11
  162. package/dist/assets/{TransactionActivityLogPage-Bh3D2NmZ-DXQUHRmX.js → TransactionActivityLogPage-DbwSsjPJ-Duhd9ppW.js} +15 -15
  163. package/dist/assets/TransactionDetailPage-D-vXAAB7-K9QSYBJd.js +903 -0
  164. package/dist/assets/{TransactionList-DUgCrZWV-BsOtXGXL.js → TransactionList-BruCNjQg-Bs3Zye0k.js} +16 -16
  165. package/dist/assets/{TransactionListBig-BXR8xSqt-DS-QLlyN.js → TransactionListBig-bp7q3prH-DtAaFzgB.js} +13 -13
  166. package/dist/assets/TransactionListPage-ZfJsaVb8-DDRcg9yh.js +35 -0
  167. package/dist/assets/{TransactionVendorDetailPage-D0ZIWPbx-BQMZxgAV.js → TransactionVendorDetailPage-CldkuO2--BwneqCS_.js} +15 -15
  168. package/dist/assets/{TransferDrawerPage-BP4KhD5c-DNhK3jLa.js → TransferDrawerPage-DswS6KZf-lfQEHAd_.js} +35 -35
  169. package/dist/assets/{TreasuryOverviewPage-CrYY5MJP-CSAwDWYp.js → TreasuryOverviewPage-DWo7iRpO-DwVZc_ol.js} +15 -15
  170. package/dist/assets/{TreasuryPromoPage-DZ4Kyqzq-C0Hayxbd.js → TreasuryPromoPage-DQxCF3-4-CSmOO24g.js} +131 -131
  171. package/dist/assets/{TreasuryStatementsPage-BaId882i-TGXLFLOt.js → TreasuryStatementsPage-CYkPtmaT-DN6XWXk4.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-BD36dset-CgUwGPhz.js → TreasuryTaxLetterPage-DH3su_rX-KVvmjWUc.js} +2 -2
  173. package/dist/assets/{TrendChart-CS2cE4wE-BAjN56AW.js → TrendChart-BMHDaOeh-Buv1h9ol.js} +3 -3
  174. package/dist/assets/{TrendWithTransactions-BNti0lYr-CupF-ouh.js → TrendWithTransactions-DDLrmIrt-fNUGa6rL.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BsRepV5l-CqKwtcl-.js → UncategorizedAccountsMappingPage-3SW8Gj0Z-BU7ZjTMQ.js} +12 -12
  176. package/dist/assets/{UnitIntegrationPage-DqzH4Opa-DVf3e9Kc.js → UnitIntegrationPage-DPMy8dXP-BZ-cXQsX.js} +7 -7
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BIzKt99W-DhZCGDG3.js → UploadAdditionalDocumentOverlay-BHpT2al--BnkxVa5e.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-C6gEOhUv-evnz1t4i.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-LNCcubjL-C8VaJhNx.js +1 -0
  180. package/dist/assets/{VendorDetailPage-C9YSL-3_-DZGykXKE.js → VendorDetailPage-BC1FhaQA-CueuZtdN.js} +12 -12
  181. package/dist/assets/{VendorDomesticWireDetailsPage-CqnTEv1M-BPuNMFYE.js → VendorDomesticWireDetailsPage-CLudahOt-Y_vODi9v.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-CmnR7Dwc-DgLszr9z.js → VendorFiling1099EditablePage-DYyPOA8D-CMg58Qh3.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CAjuo6H2-DZOfU9yk.js → VendorFirstReviewPage-Cpmk7rDk-DktpXCT6.js} +8 -8
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Ca1voldE-HFASmH_V.js → VendorInternationalWireDetailsPage-CWAWq6kq-vjVbUdxz.js} +9 -9
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-ChJiB8Jl.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-BY-jWDwa-DAUUORK8.js → VendorsAccountsSection-CGQ35Mhp-Bs7nzLpL.js} +2 -2
  187. package/dist/assets/{VerifyDevice-DSN3CxFh-Bi-kGmEN.js → VerifyDevice-CfMJW1Vh-pAakXHUa.js} +9 -9
  188. package/dist/assets/{VideoPlayer-BzBvO4D1-DXw1tjxz.js → VideoPlayer-BNBpjXJk-CNvH9RBW.js} +2 -2
  189. package/dist/assets/{VideoPopup-BB6qYshg-Jl0GqeqK.js → VideoPopup-BF6lmB7l-BYaaNsYn.js} +4 -4
  190. package/dist/assets/{WarningsDrawerPage-B4NIhdau-CF-G0BuB.js → WarningsDrawerPage-Crj70lnR-KEtM2APc.js} +3 -3
  191. package/dist/assets/{ZeniAccountDetailPage-CbMnZZXn-CK0OqnqL.js → ZeniAccountDetailPage-CaA6m3tQ-CEYZpiUC.js} +10 -10
  192. package/dist/assets/{ZeniAccountListViewPage-DuuiC_LT-D_lNPUTn.js → ZeniAccountListViewPage-x_51gDs1-Avk4qZ_6.js} +9 -9
  193. package/dist/assets/ZeniAccountNavBarPieces-Csr24dri-DksQYhl9.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-Bce5rHc6-vVu4g89P.js → ZeniAccountPromoPage-lxKBk2r5-B5zalg2W.js} +13 -13
  195. package/dist/assets/{ZeniAccountSetupPage-Cwr7kLE1-CoBt9y0X.js → ZeniAccountSetupPage-DUI4-2Zw-DRlq62qF.js} +3 -3
  196. package/dist/assets/{ZeniCopyright-CPV8cCJj-JmJFcE0S.js → ZeniCopyright-DxEZ4DiK-hTA8S1dS.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CSJnweYQ-CLfwGJf8.js → ZeniTransferAmountSlider-4Nq4Sm9J-DVwizo2l.js} +11 -11
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-Bh5GmIs8.js → add-to-wallet-DgdBD8_G-DYxovDvY.js} +1 -1
  199. package/dist/assets/{analytics-C7qRceeD.js → analytics-Cmcqa01V.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CeIe3crh-ruFTPZIn.js → analyticsHelper-CL-t3Y2i-BWhNt6sH.js} +1 -1
  201. package/dist/assets/analyticsHelper-DVKjUmRh.js +1 -0
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DKJtOEDh.js → arrow-south-east-round-PEovUgvH-Cg10bY7L.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-BtLYBoTe.js → auto-transfer-rule-mbafm5D3-BzGzQRiq.js} +1 -1
  204. package/dist/assets/{chartTypes-Cpjk7Uyr-BFVm6fL4.js → chartTypes-B3501CSI-EaJM1gmS.js} +1 -1
  205. package/dist/assets/{commonDimensions-BiY7_JPE-DvdrP9mk.js → commonDimensions-YcBBlmYP-Djn7MvQY.js} +1 -1
  206. package/dist/assets/{constants-BSSpHQLd.js → constants-CO0CvGHR.js} +1 -1
  207. package/dist/assets/{core-BdfL-uia.js → core-MmJvanAX.js} +1 -1
  208. package/dist/assets/{dash.all.min-BHbNWZhu.js → dash.all.min-BtkViWW9.js} +1 -1
  209. package/dist/assets/{detailCommon-C7usWt5l-CDexfvl6.js → detailCommon-C19MYPnq-K0CC_UYn.js} +2 -2
  210. package/dist/assets/downloadPdf-DPAqxw6u-DNPeICgY.js +1 -0
  211. package/dist/assets/{empty-B_wp4jbR.js → empty-B8yNMhy_.js} +1 -1
  212. package/dist/assets/{empty-BfoY8avI.js → empty-wbHL4fCk.js} +1 -1
  213. package/dist/assets/epic-cC-V8fqP.js +2 -0
  214. package/dist/assets/{gift-box-Cmt9OgIZ-CTA3oEEm.js → gift-box-Cmt9OgIZ-mKGEn6_z.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B-BNuWuf.js → graphic-no-data-l-DU4J8fDt-DL4eASZx.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BKSa_BmO.js → graphic-no-data-net-burn-l-CzmycA0m-CPdXbVAf.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-BspGwKvx.js → handshake-BPg58FML-D9DqrV5o.js} +1 -1
  218. package/dist/assets/{index-DQGwrG6i.js → index-B2COPa4J.js} +1 -1
  219. package/dist/assets/{index-97wdo8qZ.js → index-BALzBmnK.js} +1 -1
  220. package/dist/assets/{index-CLP97b5b.js → index-BMz5TN4Z.js} +1 -1
  221. package/dist/assets/{index-2U9XpSIT.js → index-BZrvYCMV.js} +1 -1
  222. package/dist/assets/{index-BE47hrTe.js → index-Bj85L4uf.js} +1 -1
  223. package/dist/assets/{index-Blb3rESX.js → index-BmeBEa4W.js} +1 -1
  224. package/dist/assets/{index-BPZ0_UEx.js → index-DK3PYuee.js} +4083 -4077
  225. package/dist/assets/{lexical-CNiclLj0.js → lexical-DyUba00B.js} +1 -1
  226. package/dist/assets/{liveblocks-Lf8LVeH9.js → liveblocks-DzWLGwR5.js} +1 -1
  227. package/dist/assets/{lottie-BAIk2ri4.js → lottie-C8IpdMqp.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--B6CSGc2J.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COWbEMKO-BV9EavoR.js → mapSectionWithAcOnlyToTreeNode-BDWD3x8r-BZO45bNY.js} +1 -1
  230. package/dist/assets/mapSpacerToTreeNode-Blr3egSm-BptZuVYf.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-BTUA7CSo.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-DSTIJ2iA.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-CganeL6g.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Dqp5HT1g.js} +1 -1
  234. package/dist/assets/{mui-Dg-yyLd1.js → mui-CgqbPqeT.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-C9V7NZCx.js → page-detail-CWX5S47F-CWr90kJa.js} +1 -1
  236. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DRCw2iu0.js +4 -0
  237. package/dist/assets/{radio-default-CiSgisfh-7Dm34YkL.js → radio-default-CiSgisfh-BEZqUVYK.js} +1 -1
  238. package/dist/assets/{react-afxvtM8P.js → react-BE0WbgXK.js} +2 -2
  239. package/dist/assets/{react-BYCJSJzc.js → react-BWJsSx2R.js} +2 -2
  240. package/dist/assets/{react-XQWanSnz.js → react-BgXIf4f3.js} +1 -1
  241. package/dist/assets/{react-CmD2oDdV.js → react-C4LlJL88.js} +1 -1
  242. package/dist/assets/{react-CLIsPthr.js → react-CMcqnen6.js} +1 -1
  243. package/dist/assets/{react-CK1-HLiI.js → react-COyNmpZ3.js} +1 -1
  244. package/dist/assets/{react-CXimFM-A.js → react-DsUgK5BV.js} +1 -1
  245. package/dist/assets/{react-RbEMA7cG.js → react-DzUY3cKk.js} +1 -1
  246. package/dist/assets/{recharts-DVyIhUUu.js → recharts-CcfvjpA4.js} +1 -1
  247. package/dist/assets/{sentry-nVlxguQq.js → sentry-DS5py-mq.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-DoCKBSgZ.js → shield-DOlUxcFf-BF58Ag0p.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-D35Fk0m2-B_xF911W.js +1 -0
  250. package/dist/assets/toChartData-DzatRnt8-DoRfMwGl.js +1 -0
  251. package/dist/assets/{uploadAttachment-B3eC-lyz-B0nHI4xk.js → uploadAttachment-Bq8dk-Sm-D_5FZVYa.js} +18 -18
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-dwFMCGnO.js → uploadReceipts-Dge0cNF1-v2Zp1kxY.js} +1 -1
  253. package/dist/assets/{url-3XfBQAPr.js → url-B1m04Aj9.js} +1 -1
  254. package/dist/assets/{url-A_ZszWlu.js → url-rEq3bn1J.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BmH9C_mp.js → useLongPress-GCK2COYQ-BbRZopJb.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-iPZVfl3G.js → usp-line-BBd1wKwW-C_HT3NYA.js} +1 -1
  257. package/dist/assets/{utils-Bn_xI0qf.js → utils-C5WTobSB.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-DwXlACp-.js → zeni-epic-state-QRf7TPA6.js} +18 -18
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/ACHDetailsPage-BR3rG--e-D2_LFn30.js +0 -21
  262. package/dist/assets/AccountInfoPage-CD5N14l8-POhlTbPm.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-Bu3jEa0r-DRCGU_-r.js +0 -59
  264. package/dist/assets/AccountRow-B5Gqqqtn-B2ab5e7e.js +0 -298
  265. package/dist/assets/AddAddressForCardDrawer-BwmafnJT-Ba-xRLW9.js +0 -6
  266. package/dist/assets/AppBasePage-BMHvSY21-DiAzqDoX.js +0 -71
  267. package/dist/assets/BillingSettingsPage-DYdJ7J5w-nKMt_tqW.js +0 -44
  268. package/dist/assets/BusinessVerificationPage-CyDHfWqO-s-eVbnix.js +0 -138
  269. package/dist/assets/ChargeCardPromoPage-BPyHy6jq-EG0Y0jIo.js +0 -222
  270. package/dist/assets/CompanyOfficerDetailsSection-CEpMwx3h-D1MF6UPf.js +0 -331
  271. package/dist/assets/CompanyPassportPage-S00SGN0f-DChjXEwN.js +0 -417
  272. package/dist/assets/ConfettiBurst-BFSc4yf1-Bb3-1CUU.js +0 -1
  273. package/dist/assets/CustomerOnboardingContainerPage-CyY14sjC-U3ET6sDq.js +0 -1
  274. package/dist/assets/CustomerOnboardingNoStepsPage-DtAEP0LR-BBA3-H-1.js +0 -66
  275. package/dist/assets/CustomerOnboardingPage-8fLLsJWV-Cl7RVN5-.js +0 -107
  276. package/dist/assets/DashboardSidebarBackgroundAnimation-CntzllmW-BTAOBj42.js +0 -12
  277. package/dist/assets/EditPeoplePage-CbH2FQwr-Dc9u9Y3N.js +0 -55
  278. package/dist/assets/EntityDetailPage-CPfVH0Qx-DTuhKWD_.js +0 -18
  279. package/dist/assets/ExpenseAutomationPage-DBW9Urqw-BLqr1_km.js +0 -1794
  280. package/dist/assets/InsightsSection-CKYv2Mnk-CMDaS26i.js +0 -27
  281. package/dist/assets/InternationalWireVerificationPage-0DjZSpXZ-BFgqlc0H.js +0 -65
  282. package/dist/assets/InvitePeoplePage-CD1AM3Js-2Vxumr-a.js +0 -12
  283. package/dist/assets/InvoiceUploadSection-DPN2hpHj-BXu1QXvI.js +0 -140
  284. package/dist/assets/LabeledAddressValueField-CeyT4xDd-BvfbCZea.js +0 -45
  285. package/dist/assets/LabeledControlledCheckBoxField-9wqNy7sL-BEJkWulK.js +0 -16
  286. package/dist/assets/LabeledCountryMultiSelectField-S16_1kXP-UlJPnrtq.js +0 -237
  287. package/dist/assets/LabeledDocumentField-9m7Nhuth-CkOtgSAA.js +0 -41
  288. package/dist/assets/LabeledDropDownFormattedTextField-B_jJYbeK-PbQrO6eI.js +0 -59
  289. package/dist/assets/MagicLinkACHDetailsPage-p0Nwa4g8-DTvViT4t.js +0 -1
  290. package/dist/assets/MagicLinkDomesticWireDetailsPage-B_wnHSrq-Cz4K_Hkr.js +0 -1
  291. package/dist/assets/MagicLinkSuccessPage-RJUcSgy8-CnQ9391t.js +0 -31
  292. package/dist/assets/MyProfileSettingsPage-BM5j8vuZ-D6xmAoOb.js +0 -85
  293. package/dist/assets/NoDataTable-CHeZXDKw-DlmRPcbA.js +0 -8
  294. package/dist/assets/OverlayContainerPage-D4QU0p4o-COyWocbB.js +0 -11
  295. package/dist/assets/PaymentAccountSetupBillingAddressSection-D_rfYltd-BrO8Jg79.js +0 -107
  296. package/dist/assets/PeoplePage-D0ePO3d9-CxNhgJ1D.js +0 -727
  297. package/dist/assets/RoleWithToolTip-C4vCwcT8-C6dR3RYf.js +0 -22
  298. package/dist/assets/ScheduleDetailsPage-pKJSKheu-CETheSQx.js +0 -37
  299. package/dist/assets/SignIn-zX3S7vuf-B6rD6GnF.js +0 -491
  300. package/dist/assets/SignInScreen-BiRGIzoF.js +0 -1
  301. package/dist/assets/TaskManagementPage-CnB395ci-B2Pevaa4.js +0 -508
  302. package/dist/assets/TimeframeSwitcherWithToggle-D48PqfUX-BOxnTPru.js +0 -31
  303. package/dist/assets/TransactionDetailPage-NZEjiM1T-BGAbWz8k.js +0 -903
  304. package/dist/assets/TransactionListPage-BhY1YX8v-D8gtIhpi.js +0 -35
  305. package/dist/assets/Vendor2FAPopup-BzQXTs0l-BcKh-GwF.js +0 -1
  306. package/dist/assets/VendorACHDetailsPage-D1DvwT9e-H_zR5eA1.js +0 -1
  307. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B17rmnsI-xxPWVLYY.js +0 -1
  308. package/dist/assets/ZeniAccountNavBarPieces-CLNviNEx-Ct9cJGJf.js +0 -14
  309. package/dist/assets/analyticsHelper-DdyBOS3c.js +0 -1
  310. package/dist/assets/commonTypes-B1ylXa_P-CHogy7bq.js +0 -1
  311. package/dist/assets/downloadPdf-DRVFJQsk-Cc-9O8x2.js +0 -1
  312. package/dist/assets/epic-BcpbmT-B.js +0 -2
  313. package/dist/assets/helper-Bwr_8pRi-BezSaeYe.js +0 -223
  314. package/dist/assets/mapLoadingInProgressToTreeNode-DkvfU-AQ-BbnpqVZY.js +0 -1
  315. package/dist/assets/mapSpacerToTreeNode-Csr6iLbE-BUQp66A_.js +0 -1
  316. package/dist/assets/mapTimeframeBalancesToTreeNode-DWah9nq--BLW1ZcCy.js +0 -1
  317. package/dist/assets/mapTimeframeBalancesToTreeNode-KUx30-z6-BBnKHsqs.js +0 -1
  318. package/dist/assets/panelSelectedMixin-Cddsb26L-BcWH15GY.js +0 -3
  319. package/dist/assets/toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js +0 -1
  320. package/dist/assets/toChartData--znXzhow-CzN3PXN2.js +0 -1
@@ -1,5 +1,5 @@
1
- import{J as D,V as s,B,N as C,i as j,b as S,o as n,F as M,y as $,H as E,a as L,x as N,R as P,p as h,h as z,l as T,u,c as A}from"./index-BPZ0_UEx.js";import{n as a}from"./mui-Dg-yyLd1.js";import{cG as R}from"./zeni-epic-state-DwXlACp-.js";import"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="f6208b2d-1c54-4bea-9ede-fd52732adb25",r._sentryDebugIdIdentifier="sentry-dbid-f6208b2d-1c54-4bea-9ede-fd52732adb25")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:m})=>{const l=D(),I=r!=null?R(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:d}=F(b,k,i);g.push({status:c!=null?"Error":d!=null?"Complete":"Incomplete",userInfo:i,message:c??d??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:d}=V(v,k,i);g.push({status:c!=null?"Error":d!=null?"Complete":"Incomplete",userInfo:i,message:c??d??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:d}=G(y,k,i);g.push({status:c!=null?"Error":d!=null?"Complete":"Incomplete",userInfo:i,message:c??d??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:d}=H(f,k,i);g.push({status:c!=null?"Error":d!=null?"Complete":"Incomplete",userInfo:i,message:c??d??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(q,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:m})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
- ${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(C,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},F=(r,t,o)=>{const m=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:m,successMessage:l}},V=(r,t,o)=>{const m=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:m,successMessage:l}},G=(r,t,o)=>{const m=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:m,successMessage:l}},H=(r,t,o)=>{const m=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:m,successMessage:l}},O=a.div`
1
+ import{J as D,V as s,B,q as C,i as j,b as S,o as n,F as M,y as $,N as E,a as L,c as N,R as P,p as h,h as z,l as T,u,d as A}from"./index-DK3PYuee.js";import{n as a}from"./mui-CgqbPqeT.js";import{cG as R}from"./zeni-epic-state-QRf7TPA6.js";import"./sentry-DS5py-mq.js";import"./liveblocks-DzWLGwR5.js";import"./core-MmJvanAX.js";import"./recharts-CcfvjpA4.js";import"./lottie-C8IpdMqp.js";import"./analytics-Cmcqa01V.js";import"./lexical-DyUba00B.js";import"./utils-C5WTobSB.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="7b989ee9-8954-4d2b-b7a9-8538e0d78674",r._sentryDebugIdIdentifier="sentry-dbid-7b989ee9-8954-4d2b-b7a9-8538e0d78674")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=D(),I=r!=null?R(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=F(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=q(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
+ ${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(C,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},F=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},q=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  padding-top: ${n.sp3};
@@ -11,7 +11,7 @@ import{J as D,V as s,B,N as C,i as j,b as S,o as n,F as M,y as $,H as E,a as L,x
11
11
  z-index: 1;
12
12
  top: ${n.sp0};
13
13
  width: 100%;
14
- `,q=a.div`
14
+ `,H=a.div`
15
15
  position: relative;
16
16
  `,J=a.div`
17
17
  display: flex;
@@ -1,4 +1,4 @@
1
- import{a9 as Te,J as H,ax as Pe,d as pe,aR as Be,V as t,aP as P,bU as B,o,bD as Le,b as S,cr as O,cs as R,ct as F,ad as Ne,es as He,p as y,ex as Ie,ab as C,m as ue,aj as j,F as K,bL as Me,bP as Ee,aU as Ue,y as b,h1 as We,fl as ae,u,am as X,hB as Oe,b8 as Re,b0 as Fe,hC as Ge,c as Ve,hD as Ye,h as Je,h4 as _e,d7 as qe,an as Ke,H as Xe,cj as Ze}from"./index-BPZ0_UEx.js";import{a as r}from"./sentry-nVlxguQq.js";import{n as a}from"./mui-Dg-yyLd1.js";import{G2 as Qe,bL as G}from"./zeni-epic-state-DwXlACp-.js";import{$ as et}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{w as tt}from"./downloadPdf-DRVFJQsk-Cc-9O8x2.js";import{q as ot}from"./DepositAccTransactionItem-B7ErTe-9-ClHyxdVn.js";import{T as at}from"./ZeniAccountNavBarPieces-CLNviNEx-Ct9cJGJf.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-DVyIhUUu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./commonDimensions-BiY7_JPE-DvdrP9mk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="bcd58047-fe69-4f3f-bf5f-87765a101ca5",e._sentryDebugIdIdentifier="sentry-dbid-bcd58047-fe69-4f3f-bf5f-87765a101ca5")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
1
+ import{a9 as Te,J as H,aw as Pe,e as pe,aR as Be,V as t,aO as P,bU as B,o,bD as Le,b as S,cq as O,cr as R,cs as F,ac as Ne,es as He,p as y,c$ as Ie,aQ as C,T as ue,ai as j,F as X,bL as Me,bP as Ee,aU as Ue,y as b,g_ as We,fi as ae,u,al as q,hy as Oe,b8 as Re,b0 as Fe,hz as Ge,d as Ve,hA as Ye,h as Je,h1 as _e,d7 as Ke,am as Xe,N as qe,cj as Ze}from"./index-DK3PYuee.js";import{a as r}from"./sentry-DS5py-mq.js";import{n as a}from"./mui-CgqbPqeT.js";import{FW as Qe,bL as G}from"./zeni-epic-state-QRf7TPA6.js";import{$ as et}from"./BoxItem-CYe_gTmA-rmtQXiBP.js";import{w as tt}from"./downloadPdf-DPAqxw6u-DNPeICgY.js";import{H as ot}from"./DepositAccTransactionItem-BdZVCAx--BEQtPnX0.js";import{U as at}from"./ZeniAccountNavBarPieces-Csr24dri-DksQYhl9.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-CcfvjpA4.js";import"./liveblocks-DzWLGwR5.js";import"./core-MmJvanAX.js";import"./lottie-C8IpdMqp.js";import"./analytics-Cmcqa01V.js";import"./lexical-DyUba00B.js";import"./utils-C5WTobSB.js";import"./commonDimensions-YcBBlmYP-Djn7MvQY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2578a672-f1da-4782-a95e-d8694a286700",e._sentryDebugIdIdentifier="sentry-dbid-2578a672-f1da-4782-a95e-d8694a286700")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -8,7 +8,7 @@ import{a9 as Te,J as H,ax as Pe,d as pe,aR as Be,V as t,aP as P,bU as B,o,bD as
8
8
  background-color: ${e=>e.theme.colors.grey5};
9
9
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
10
10
  background-color: ${e=>e.theme.colors.grey4};
11
- `,ie="editNickName-form",V="checkingAccountNickName",ht={tickLabelText:new Xe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=K.getLocalizedStrings(),{zeniAccounts:i}=mt,Y=K.getLocalizedStrings().dateFormat,xt=K.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),w=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=G(l[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const D=A?G(v).format(Y.visual.MMMformat):G(v).format(Y.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:D})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(Jt,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:w,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(It,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:w,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Ft,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Gt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[w?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:f,children:[t.jsxs(jt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:w,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,D]=r.useState(!1),[I,M]=r.useState(!1),[Z,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{Z===!0&&setTimeout(()=>{xe(!1)},800)},[Z]);const ge=n.transactionList.length>4,E=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?D(!0):s==="editNickName"?M(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},je={onOkClick:()=>{f?.(),D(!1)},onCancelClick:()=>{D(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),M(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(M(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{I&&v(V)},[I,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),De={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},Se=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(q,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(q,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(q,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:Se(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:E.colors.grey4,style:{zIndex:3,...S.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:je}):null,$e?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:De,secondaryButtonWidth:130,primaryButtonWidth:130}):null,I?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:we,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Ie(c.formState.errors,V)===!0?y.importantLight:E.colors.background,border:`1px solid ${E.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:w,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,w]=We(),[x,g]=r.useState(!1),k=()=>{w(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Dt,{children:[t.jsx(Vt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(Xt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:S.h2Regular.cssObject,decimalStyles:S.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(qt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:S.largeRegular.cssObject,decimalStyles:S.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
11
+ `,ie="editNickName-form",V="checkingAccountNickName",ht={tickLabelText:new qe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,Y=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),w=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=G(l[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const D=A?G(v).format(Y.visual.MMMformat):G(v).format(Y.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:D})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(Jt,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:w,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(It,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:w,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Ft,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Gt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[w?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:f,children:[t.jsxs(jt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:w,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,D]=r.useState(!1),[I,M]=r.useState(!1),[Z,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{Z===!0&&setTimeout(()=>{xe(!1)},800)},[Z]);const ge=n.transactionList.length>4,E=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?D(!0):s==="editNickName"?M(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},je={onOkClick:()=>{f?.(),D(!1)},onCancelClick:()=>{D(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),M(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(M(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{I&&v(V)},[I,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),De={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},Se=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:Se(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:E.colors.grey4,style:{zIndex:3,...S.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:je}):null,$e?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:De,secondaryButtonWidth:130,primaryButtonWidth:130}):null,I?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:we,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Ie(c.formState.errors,V)===!0?y.importantLight:E.colors.background,border:`1px solid ${E.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:w,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,w]=We(),[x,g]=r.useState(!1),k=()=>{w(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Dt,{children:[t.jsx(Vt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:S.h2Regular.cssObject,decimalStyles:S.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:S.largeRegular.cssObject,decimalStyles:S.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  align-items: center;
@@ -18,7 +18,7 @@ import{a9 as Te,J as H,ax as Pe,d as pe,aR as Be,V as t,aP as P,bU as B,o,bD as
18
18
  height: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
19
19
  margin-top: 128px;
20
20
  margin-bottom: ${o.sp3};
21
- `,$t=a(X)`
21
+ `,$t=a(q)`
22
22
  color: ${e=>e.theme.colors.hero};
23
23
  text-align: center;
24
24
  `,bt=a.div`
@@ -132,7 +132,7 @@ import{a9 as Te,J as H,ax as Pe,d as pe,aR as Be,V as t,aP as P,bU as B,o,bD as
132
132
  height: ${o.sp1};
133
133
  margin: ${o.sp0} ${o.sp1};
134
134
  margin-top: 2px;
135
- `,Rt=a(Ke)`
135
+ `,Rt=a(Xe)`
136
136
  color: ${e=>e.theme.colors.primary};
137
137
  margin-top: ${o.sp1};
138
138
  `,Ft=a.div`
@@ -195,24 +195,24 @@ import{a9 as Te,J as H,ax as Pe,d as pe,aR as Be,V as t,aP as P,bU as B,o,bD as
195
195
  color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
196
196
  display: flex;
197
197
  align-items: center;
198
- `,qt=a(qe)`
198
+ `,Kt=a(Ke)`
199
199
  height: ${o.sp3};
200
200
  width: ${o.sp3};
201
201
  margin-left: ${o.sp2};
202
202
  margin-right: ${o.sp2};
203
203
  cursor: pointer;
204
204
  color: ${e=>e.theme.colors.hero};
205
- `,Kt=a(Ye)`
205
+ `,Xt=a(Ye)`
206
206
  height: ${o.sp3};
207
207
  width: ${o.sp3};
208
208
  margin-left: ${o.sp2};
209
209
  margin-right: ${o.sp2};
210
210
  color: ${e=>e.theme.colors.hero};
211
- `,Xt=a.div`
211
+ `,qt=a.div`
212
212
  display: flex;
213
213
  align-items: baseline;
214
214
  color: ${e=>e.theme.colors.primary};
215
- `,se=a(X)`
215
+ `,se=a(q)`
216
216
  margin-left: ${o.sp2};
217
217
  `,de=a(j)`
218
218
  margin-left: ${o.sp2};
@@ -235,7 +235,7 @@ import{a9 as Te,J as H,ax as Pe,d as pe,aR as Be,V as t,aP as P,bU as B,o,bD as
235
235
  width: ${o.sp3};
236
236
  height: ${o.sp3};
237
237
  color: ${e=>e.theme.colors.grey1};
238
- `,to=a(X)`
238
+ `,to=a(q)`
239
239
  color: ${e=>e.theme.colors.hero};
240
240
  margin-right: ${o.sp2};
241
241
  `,L=a.div`
@@ -280,7 +280,7 @@ import{a9 as Te,J as H,ax as Pe,d as pe,aR as Be,V as t,aP as P,bU as B,o,bD as
280
280
  justify-content: space-between;
281
281
  `,_=a.div`
282
282
  color: ${e=>e.theme.colors.hero};
283
- `,q=a.div`
283
+ `,K=a.div`
284
284
  color: ${y.primaryDark};
285
285
  `,co=a(Me)`
286
286
  width: ${o.sp3};
@@ -1,4 +1,4 @@
1
- import{J as Q,a9 as Me,aR as _e,d as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,ad as Ge,o as n,es as Ue,ex as Ne,cs as ne,ct as ie,hy as Re,aP as G,bU as fe,bD as Oe,b as C,F as K,ar as We,am as Ye,c as Ve,c0 as Ze,bL as ye,aj as j,ax as He,ce as qe,fl as F,ab as U,y as b,an as X,g$ as Je,H as Qe,a as Ke,ao as Xe,d1 as et,cj as tt,ga as nt,u,dP as it,fO as ot,hz as rt,i as st,h0 as at,bP as ct,aU as lt}from"./index-BPZ0_UEx.js";import{a as g}from"./sentry-nVlxguQq.js";import{n as i}from"./mui-Dg-yyLd1.js";import{G2 as dt}from"./zeni-epic-state-DwXlACp-.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BtLYBoTe.js";import{o as ut}from"./shield-DOlUxcFf-DoCKBSgZ.js";import{T as mt}from"./ZeniAccountNavBarPieces-CLNviNEx-Ct9cJGJf.js";import{v as ht}from"./ZeniTransferAmountSlider-CSJnweYQ-CLfwGJf8.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="215bb63e-d4fd-415d-92f9-c9e11a812b1a",e._sentryDebugIdIdentifier="sentry-dbid-215bb63e-d4fd-415d-92f9-c9e11a812b1a")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=Q(),v=(c,T)=>Object.entries(T).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
1
+ import{J as H,a9 as Me,aR as _e,e as De,aZ as Ee,aP as Fe,V as t,cq as W,p as o,ac as Ue,o as n,es as Ge,c$ as Ne,cr as ne,cs as ie,hv as Re,aO as U,bU as fe,bD as Oe,b as C,F as K,aq as We,al as Ye,d as Ve,c0 as Ze,bL as ye,ai as j,aw as qe,ce as Qe,fi as F,aQ as G,y as b,am as X,gY as Je,N as He,a as Ke,an as Xe,d1 as et,cj as tt,g7 as nt,u,dQ as it,fL as ot,hw as rt,i as st,gZ as at,bP as ct,aU as lt}from"./index-DK3PYuee.js";import{a as g}from"./sentry-DS5py-mq.js";import{n as i}from"./mui-CgqbPqeT.js";import{FW as dt}from"./zeni-epic-state-QRf7TPA6.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BzGzQRiq.js";import{o as ut}from"./shield-DOlUxcFf-BF58Ag0p.js";import{U as mt}from"./ZeniAccountNavBarPieces-Csr24dri-DksQYhl9.js";import{v as ht}from"./ZeniTransferAmountSlider-4Nq4Sm9J-DVwizo2l.js";import"./liveblocks-DzWLGwR5.js";import"./core-MmJvanAX.js";import"./recharts-CcfvjpA4.js";import"./lottie-C8IpdMqp.js";import"./analytics-Cmcqa01V.js";import"./lexical-DyUba00B.js";import"./utils-C5WTobSB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c77c2be5-6d18-45d3-9a93-66a3d190e1b1",e._sentryDebugIdIdentifier="sentry-dbid-c77c2be5-6d18-45d3-9a93-66a3d190e1b1")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=H(),v=(c,T)=>Object.entries(T).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -177,7 +177,7 @@ import{J as Q,a9 as Me,aR as _e,d as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
177
177
  width: ${n.sp3};
178
178
  height: ${n.sp3};
179
179
  color: ${o.brandColorGoldDark};
180
- `,Lt=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new b(u[7],u[6]),containerWidth:new b(96,67),containerTopMargin:new b(u[4],u[6]),BankAccListTopMargin:new b(u[4],u[8]),containerSidePadding:new b(u[3],u[0]),accountRowTopBottomPadding:new b(u[3],u[4]),accountRowBottomMargin:new b(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new b(u[3],u[0])},Pt={bankAccountName:new Qe("standardRegular","largeMedium")},d=K.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:s})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:s,"data-testid":U("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:s,maxInsuredAmountString:$,analytics:S,onZeniAccountRowClick:a,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:I,fetchState:A,summary:w}=e,p=Q(),M=He(),y=M.loggedInUserRoleMap.deposit_accounts_user===!0||dt(M.loggedInUserRoleMap),_=r=>{S.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},z=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(mn,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(gn,{}):t.jsx(hn,{})})})},N=r=>t.jsx(Nt,{color:Je(r)});return qe({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(It,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(Ht,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),z("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(Vt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Wt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Yt,{children:s.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(wn,{windowSize:p,children:t.jsx(xt,{yieldPercentage:L,insuredAmount:c,onGetStartedClick:()=>{S.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Ut,{windowSize:p,children:[I.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>a?.(r.id,r.accountName),"data-testid":U("deposit-account-clicked",r.id),children:[t.jsxs(Zt,{children:[N(k),t.jsxs(Qt,{children:[t.jsx(Kt,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Ft,{children:t.jsx(en,{children:r.maskedAccountNumber})}),t.jsxs(Gt,{children:[p==="small"?null:t.jsx(tn,{}),t.jsx(nn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(on,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),y?null:t.jsx(_t,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":U("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":U("add-new-internal-zeni-account"),children:[t.jsx(sn,{}),t.jsx(an,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Bt,{fetchState:A,onReloadTransactions:v})})},It=i.div`
180
+ `,Lt=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new b(u[7],u[6]),containerWidth:new b(96,67),containerTopMargin:new b(u[4],u[6]),BankAccListTopMargin:new b(u[4],u[8]),containerSidePadding:new b(u[3],u[0]),accountRowTopBottomPadding:new b(u[3],u[4]),accountRowBottomMargin:new b(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new b(u[3],u[0])},Pt={bankAccountName:new He("standardRegular","largeMedium")},d=K.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:s})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:s,"data-testid":G("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:s,maxInsuredAmountString:$,analytics:S,onZeniAccountRowClick:a,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:I,fetchState:A,summary:w}=e,p=H(),M=qe(),y=M.loggedInUserRoleMap.deposit_accounts_user===!0||dt(M.loggedInUserRoleMap),_=r=>{S.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},z=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:U("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(q,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:U("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(q,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:U("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(mn,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(gn,{}):t.jsx(hn,{})})})},N=r=>t.jsx(Nt,{color:Je(r)});return Qe({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(It,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),z("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(Vt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(Qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Wt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Yt,{children:s.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(wn,{windowSize:p,children:t.jsx(xt,{yieldPercentage:L,insuredAmount:c,onGetStartedClick:()=>{S.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Gt,{windowSize:p,children:[I.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>a?.(r.id,r.accountName),"data-testid":G("deposit-account-clicked",r.id),children:[t.jsxs(Zt,{children:[N(k),t.jsxs(Ht,{children:[t.jsx(Kt,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Ft,{children:t.jsx(en,{children:r.maskedAccountNumber})}),t.jsxs(Ut,{children:[p==="small"?null:t.jsx(tn,{}),t.jsx(nn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(on,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),y?null:t.jsx(_t,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":G("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":G("add-new-internal-zeni-account"),children:[t.jsx(sn,{}),t.jsx(an,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Bt,{fetchState:A,onReloadTransactions:v})})},It=i.div`
181
181
  display: block;
182
182
  height: 100%;
183
183
  `,Mt=i.div`
@@ -206,10 +206,10 @@ import{J as Q,a9 as Me,aR as _e,d as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
206
206
  padding: ${e=>`${n.sp0} ${x.containerSidePadding.valuePx(e.windowSize)} ${n.sp0} ${x.containerSidePadding.valuePx(e.windowSize)}`};
207
207
  `,Ft=i.div`
208
208
  display: flex;
209
- `,Gt=i.div`
209
+ `,Ut=i.div`
210
210
  display: flex;
211
211
  align-items: center;
212
- `,Ut=i.div`
212
+ `,Gt=i.div`
213
213
  margin: ${e=>`${x.BankAccListTopMargin.valuePx(e.windowSize)} ${n.sp0}
214
214
  ${x.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
215
215
  width: 100%;
@@ -238,7 +238,7 @@ import{J as Q,a9 as Me,aR as _e,d as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
238
238
  display: flex;
239
239
  align-items: center;
240
240
  width: calc(100% - 96px);
241
- `,Ht=i.div``,qt=i.div``,Jt=i.div`
241
+ `,qt=i.div``,Qt=i.div``,Jt=i.div`
242
242
  padding-left: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
243
243
  padding-right: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
244
244
  padding-top: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
@@ -256,7 +256,7 @@ import{J as Q,a9 as Me,aR as _e,d as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
256
256
  border-color: ${e=>e.theme.colors.primary};
257
257
  color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
258
258
  }
259
- `,Qt=i.div`
259
+ `,Ht=i.div`
260
260
  max-width: calc(100% - 30px);
261
261
  width: calc(100% - 40px);
262
262
  white-space: nowrap;
@@ -373,7 +373,7 @@ import{J as Q,a9 as Me,aR as _e,d as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
373
373
  padding: ${n.sp2} ${n.sp3};
374
374
  color: ${e=>e.theme.colors.hero};
375
375
  border-radius: ${n.sp1};
376
- `,H=i(j)`
376
+ `,q=i(j)`
377
377
  color: ${e=>e.theme.colors.brandColorPearl};
378
378
  margin-top: ${n.sp2};
379
379
  display: flex;
@@ -381,13 +381,13 @@ import{J as Q,a9 as Me,aR as _e,d as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
381
381
  `,xn=i(j)`
382
382
  margin-bottom: ${n.sp2};
383
383
  display: flex;
384
- `,q=i.div`
384
+ `,Q=i.div`
385
385
  color: ${e=>e.theme.colors.hero};
386
386
  `,J=i.div`
387
387
  color: ${o.primaryDark};
388
388
  `,wn=i.div`
389
389
  margin-top: ${n.sp4};
390
- `,{common:$n,spendManagement:{zeniAccounts:l}}=K.getLocalizedStrings(),$e="checkingAccountCreation-form",Wn=({zeniAccountListView:e,analytics:s,maxInsuredAmount:$,isBillPayEnabled:S,isExpressPayEnabled:a,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:I,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const M=Q(),y=Me({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[N,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,R]=g.useState(!1),[be,je]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,O)=>{P(h,O)},Se={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(s.trackAccountsListPageClicked("Pay Someone"),R(!0)):(h==="sendMoney"?s.trackSendMoneyClick():h==="checkDeposit"?s.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&s.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},ve={onOkClick:()=>{},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(O=>O.id===e.newCheckingAccount.accountId);s.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{s.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),R(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Not Now on Bills pop up"),R(!1)}},Be=y.handleSubmit(h=>{s.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,$n.currency.currencySymbol).toUpperCase(),Ie=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:a,zeniBankProps:Se,analytics:s});return t.jsxs(fn,{children:[N?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:ve,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ue,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ne(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:z.colors.grey5,border:`1px solid ${z.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(kn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(bn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(ht,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:je}),t.jsxs(An,{children:[t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(zn,{children:G("0,0",{amount:be,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Sn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:M==="medium-compact"||M==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Ie,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(yn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Tt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{s.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:s,onReloadTransactions:L,maxInsuredAmountString:te,onTreasuryGetStartedClick:I,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
390
+ `,{common:$n,spendManagement:{zeniAccounts:l}}=K.getLocalizedStrings(),$e="checkingAccountCreation-form",Wn=({zeniAccountListView:e,analytics:s,maxInsuredAmount:$,isBillPayEnabled:S,isExpressPayEnabled:a,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:I,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const M=H(),y=Me({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[N,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,R]=g.useState(!1),[be,je]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,O)=>{P(h,O)},Se={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(s.trackAccountsListPageClicked("Pay Someone"),R(!0)):(h==="sendMoney"?s.trackSendMoneyClick():h==="checkDeposit"?s.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&s.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},ve={onOkClick:()=>{},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(O=>O.id===e.newCheckingAccount.accountId);s.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{s.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),R(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Not Now on Bills pop up"),R(!1)}},Be=y.handleSubmit(h=>{s.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,$n.currency.currencySymbol).toUpperCase(),Ie=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:a,zeniBankProps:Se,analytics:s});return t.jsxs(fn,{children:[N?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:ve,children:t.jsx(Ue,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ge,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ne(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:z.colors.grey5,border:`1px solid ${z.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(kn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(bn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(ht,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:je}),t.jsxs(An,{children:[t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(zn,{children:U("0,0",{amount:be,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Sn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:M==="medium-compact"||M==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Ie,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(yn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Tt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{s.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:s,onReloadTransactions:L,maxInsuredAmountString:te,onTreasuryGetStartedClick:I,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
391
391
  display: flex;
392
392
  min-height: 100%;
393
393
  flex-direction: column;
@@ -0,0 +1,14 @@
1
+ import{aw as N,fV as P,V as i,aQ as D,h2 as p,hx as y,F as _,o as c,h4 as $}from"./index-DK3PYuee.js";import{n as g}from"./mui-CgqbPqeT.js";import{bS as I}from"./zeni-epic-state-QRf7TPA6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3c9d3e61-5b48-42ef-a832-5b42ccabbb79",e._sentryDebugIdIdentifier="sentry-dbid-3c9d3e61-5b48-42ef-a832-5b42ccabbb79")}catch{}})();const n=_.getLocalizedStrings().spendManagement.zeniAccounts,b=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},f={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[m,f,v,M],z=[v,f,m,M],E=({zeniBankProps:e,isBillPayEnabled:a,isExpressPayEnabled:r,analytics:h,onSettingsClick:w})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=I(l.loggedInUserRoleMap),x=b.filter(t=>t.value==="accountStatement"),d=a===!0?O:z,u=r===!0?d:d.filter(t=>t.value!=="sendMoney"),S=k?u:u.filter(t=>t.value!=="payBill");return i.jsxs(A,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?i.jsx(B,{onClick:w,"data-testid":D("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?x:b,title:n.moveMoney.title}),s?null:i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:S,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},B=g($)`
2
+ cursor: pointer;
3
+ min-width: ${c.sp4};
4
+ width: ${c.sp4};
5
+ height: ${c.sp4};
6
+ color: ${e=>e.theme.colors.hero};
7
+ &:hover {
8
+ color: ${e=>e.theme.colors.primary};
9
+ }
10
+ `,A=g.div`
11
+ display: flex;
12
+ flex-direction: row;
13
+ align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
14
+ `;export{E as U};
@@ -1,4 +1,4 @@
1
- import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as he,o,cF as ge,ar as Z,i as M,ab as F,af as j,F as _,R as we,aZ as z,aQ as k,aU as N,bz as je,y as x,p as A,cG as ye,aV as $e,bb as fe,u as L,H as y,a as C,an as T,ag as Se}from"./index-BPZ0_UEx.js";import{a as W}from"./sentry-nVlxguQq.js";import{n}from"./mui-Dg-yyLd1.js";import{M as B}from"./usp-line-BBd1wKwW-iPZVfl3G.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="8ab64bea-8a7c-439e-9a10-dd9ae92c6a97",e._sentryDebugIdIdentifier="sentry-dbid-8ab64bea-8a7c-439e-9a10-dd9ae92c6a97")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(L[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,L[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{e as ae,J as v,aR as ce,aw as xe,fV as me,V as i,bD as pe,fu as ue,d as he,o,cE as ge,aq as N,i as M,aQ as F,ae as j,F as _,R as we,aZ as z,aP as k,aU as Z,bz as je,y as x,p as A,cF as ye,aV as $e,bb as fe,u as L,N as y,a as C,am as T,af as Se}from"./index-DK3PYuee.js";import{a as V}from"./sentry-DS5py-mq.js";import{n}from"./mui-CgqbPqeT.js";import{M as B}from"./usp-line-BBd1wKwW-C_HT3NYA.js";import"./liveblocks-DzWLGwR5.js";import"./core-MmJvanAX.js";import"./recharts-CcfvjpA4.js";import"./zeni-epic-state-QRf7TPA6.js";import"./lottie-C8IpdMqp.js";import"./analytics-Cmcqa01V.js";import"./lexical-DyUba00B.js";import"./utils-C5WTobSB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="e4798c2f-2a5c-4baa-833e-f33803ea769d",e._sentryDebugIdIdentifier="sentry-dbid-e4798c2f-2a5c-4baa-833e-f33803ea769d")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(L[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,L[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -61,7 +61,7 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
61
61
  color: ${e=>e.theme.colors.champion};
62
62
  `,f=n($e)`
63
63
  color: ${e=>e.theme.colors.champion};
64
- `,S=n(N)`
64
+ `,S=n(Z)`
65
65
  color: ${e=>e.theme.colors.champion};
66
66
  `,b=n(ye)`
67
67
  color: ${e=>e.theme.colors.champion};
@@ -75,7 +75,7 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
75
75
  color: ${A.graphColor11};
76
76
  `,ee=n(B)`
77
77
  color: ${A.success};
78
- `,Be=n(N)`
78
+ `,Be=n(Z)`
79
79
  margin: ${e=>e.windowSize==="small"?o.sp1:`auto ${o.sp5}`};
80
80
  color: ${e=>e.theme.colors.grey1};
81
81
  `,Re=n.div`
@@ -86,7 +86,7 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
86
86
  align-items: center;
87
87
  `,Ie=n.div`
88
88
  display: inline-block;
89
- `,G=n(je)`
89
+ `,W=n(je)`
90
90
  display: inline;
91
91
  margin: ${o.sp3} auto ${o.sp0} auto;
92
92
  max-width: 731px;
@@ -105,7 +105,7 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
105
105
  justify-content: flex-end;
106
106
  gap: ${e=>h.iconInnerColumnGap.valuePx(e.windowSize)};
107
107
  align-items: flex-end;
108
- `,V=n.div``,He=n.div`
108
+ `,E=n.div``,He=n.div`
109
109
  height: ${e=>h.amountColumnHeight.valuePx(e.windowSize)};
110
110
  border-left: 1px solid ${e=>e.theme.colors.grey2};
111
111
  margin-left: 12px;
@@ -115,7 +115,7 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
115
115
  justify-content: space-between;
116
116
  align-items: flex-start;
117
117
  padding-left: ${o.sp2};
118
- `,Y=n.div`
118
+ `,G=n.div`
119
119
  width: 100%;
120
120
  min-width: ${e=>h.bankRectBoxMinWidth.valuePx(e.windowSize)};
121
121
  height: ${e=>h.bankRectBoxHeight.valuePx(e.windowSize)};
@@ -130,7 +130,7 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
130
130
  margin-top: ${o.sp2};
131
131
  border-top: 1px solid ${e=>e.theme.colors.grey2};
132
132
  color: ${e=>e.theme.colors.primary};
133
- `,E=n.div`
133
+ `,Y=n.div`
134
134
  width: 100%;
135
135
  height: 298px;
136
136
  display: flex;
@@ -154,22 +154,22 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
154
154
  `,Le=n(T)`
155
155
  color: ${e=>e.theme.colors.grey5};
156
156
  padding-right: 12px;
157
- `,We=n(C)`
157
+ `,Ve=n(C)`
158
158
  color: ${e=>e.theme.colors.brandColorRuby};
159
159
  padding-right: 12px;
160
160
  padding-top: 20px;
161
161
  ${e=>`${R.uninsuredAmountStr.style(e.windowSize)}`};
162
- `,Ge=n(T)`
162
+ `,We=n(T)`
163
163
  color: ${e=>e.theme.colors.brandColorRuby};
164
164
  padding-right: 12px;
165
- `,Ve=n(Z)`
165
+ `,Ee=n(N)`
166
166
  color: ${e=>e.theme.colors.grey5};
167
167
  padding-right: 12px;
168
168
  padding-top: 20px;
169
- `,Ye=n(T)`
169
+ `,Ge=n(T)`
170
170
  color: ${e=>e.theme.colors.grey5};
171
171
  padding-right: 12px;
172
- `,Ee=n(C)`
172
+ `,Ye=n(C)`
173
173
  ${e=>`${R.yAxisAmount.style(e.windowSize)}`};
174
174
  color: ${e=>e.theme.colors.primary};
175
175
  `,J=n(C)`
@@ -181,4 +181,4 @@ import{d as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as h
181
181
  height: ${e=>h.styledLogoHeight.valuePx(e.windowSize)};
182
182
  color: ${e=>e.theme.colors.primary};
183
183
  cursor: pointer;
184
- `,r=_.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=_.getLocalizedStrings().common,d=_.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(_e,{windowSize:s,children:[i.jsx(Pe,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(V,{children:[i.jsx(J,{windowSize:s,children:r.iconTexts.title}),i.jsxs(Y,{windowSize:s,isBankRect:!0,children:[i.jsxs(E,{children:[i.jsx(We,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Ge,{children:r.iconTexts.unInsured})]}),i.jsxs(Me,{children:[i.jsx(Fe,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Le,{children:r.iconTexts.insured})]})]})]}),i.jsxs(V,{children:[i.jsx(J,{windowSize:s,children:i.jsx(Je,{windowSize:s})}),i.jsx(Y,{windowSize:s,isBankRect:!1,children:i.jsxs(E,{children:[i.jsx(Ve,{children:e}),i.jsx(Ye,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(De,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Ee,{windowSize:s,children:l},t))})]})},Ze=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(q,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:c}),i.jsxs(O,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(S,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(S,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.noHiddenFee.bold}),i.jsx(S,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(S,{children:r.expertSupport.regular})]})]})]})]})},Ne=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(q,{windowSize:t,children:[i.jsxs(O,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx($,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx($,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.noHiddenFee.bold}),i.jsx($,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.expertSupport.bold}),i.jsx($,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:c})]})},li=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:c,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:P})=>{const se=ae(),a=v(),{zeniAccountTermsDetails:I}=g,U=ce(I?.fetchStatus.fetchState),[te,H]=W.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};W.useEffect(()=>{U==="In-Progress"&&I?.fetchStatus.fetchState==="Completed"&&P?.()},[U,P,I?.fetchStatus]);const D=xe(),de=D.loggedInUserRoleMap.deposit_accounts_user===!0||me(D);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(ue,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:a,children:[a==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(he,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(ge,{children:[r.promoText1,w.strings.colon]}),i.jsx(Z,{style:{marginTop:o.sp2},children:r.promoText2})]}),a==="small"||a==="medium-compact"||a==="medium-regular"?i.jsx(Ze,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}):i.jsx(Ne,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:a,children:[i.jsx(M,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":F("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:a,children:r.orText}),i.jsx(M,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":F("accounts-promo-setup-accounts-button")})]}),i.jsx(Re,{children:i.jsxs(G,{children:[r.terms.terms1,i.jsx(j,{href:d.consentUrl,linkText:d.consent}),d.term2,i.jsx(j,{href:d.depositUrl,linkText:d.depositTerms}),d.term3,i.jsx(j,{href:d.privacyPolicyUrl,linkText:d.privacy}),d.term4,i.jsx(j,{href:d.tosUrl,linkText:d.tos}),d.term5,r.terms.terms3]})}),i.jsx(Ie,{children:i.jsx(G,{children:r.disclaimer})})]})]})]})};export{li as default};
184
+ `,r=_.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=_.getLocalizedStrings().common,d=_.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(_e,{windowSize:s,children:[i.jsx(Pe,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(E,{children:[i.jsx(J,{windowSize:s,children:r.iconTexts.title}),i.jsxs(G,{windowSize:s,isBankRect:!0,children:[i.jsxs(Y,{children:[i.jsx(Ve,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(We,{children:r.iconTexts.unInsured})]}),i.jsxs(Me,{children:[i.jsx(Fe,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Le,{children:r.iconTexts.insured})]})]})]}),i.jsxs(E,{children:[i.jsx(J,{windowSize:s,children:i.jsx(Je,{windowSize:s})}),i.jsx(G,{windowSize:s,isBankRect:!1,children:i.jsxs(Y,{children:[i.jsx(Ee,{children:e}),i.jsx(Ge,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(De,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Ye,{windowSize:s,children:l},t))})]})},Ne=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(q,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:c}),i.jsxs(O,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(S,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(S,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.noHiddenFee.bold}),i.jsx(S,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(S,{children:r.expertSupport.regular})]})]})]})]})},Ze=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(q,{windowSize:t,children:[i.jsxs(O,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx($,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx($,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.noHiddenFee.bold}),i.jsx($,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.expertSupport.bold}),i.jsx($,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:c})]})},li=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:c,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:P})=>{const se=ae(),a=v(),{zeniAccountTermsDetails:I}=g,U=ce(I?.fetchStatus.fetchState),[te,H]=V.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};V.useEffect(()=>{U==="In-Progress"&&I?.fetchStatus.fetchState==="Completed"&&P?.()},[U,P,I?.fetchStatus]);const D=xe(),de=D.loggedInUserRoleMap.deposit_accounts_user===!0||me(D);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(ue,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:a,children:[a==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(he,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(ge,{children:[r.promoText1,w.strings.colon]}),i.jsx(N,{style:{marginTop:o.sp2},children:r.promoText2})]}),a==="small"||a==="medium-compact"||a==="medium-regular"?i.jsx(Ne,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}):i.jsx(Ze,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:a,children:[i.jsx(M,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":F("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:a,children:r.orText}),i.jsx(M,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":F("accounts-promo-setup-accounts-button")})]}),i.jsx(Re,{children:i.jsxs(W,{children:[r.terms.terms1,i.jsx(j,{href:d.consentUrl,linkText:d.consent}),d.term2,i.jsx(j,{href:d.depositUrl,linkText:d.depositTerms}),d.term3,i.jsx(j,{href:d.privacyPolicyUrl,linkText:d.privacy}),d.term4,i.jsx(j,{href:d.tosUrl,linkText:d.tos}),d.term5,r.terms.terms3]})}),i.jsx(Ie,{children:i.jsx(W,{children:r.disclaimer})})]})]})]})};export{li as default};
@@ -1,4 +1,4 @@
1
- import{d as be,J as Se,aR as O,a9 as we,cH as xe,aW as B,V as t,ff as Ae,p as Pe,y as p,bD as Ce,m as ke,ad as ve,fy as Fe,dR as Te,fz as Ve,bx as Ie,aS as ze,o as De,fB as Ee,F as je,u as a,am as Ue}from"./index-BPZ0_UEx.js";import{a as g}from"./sentry-nVlxguQq.js";import{n as S}from"./mui-Dg-yyLd1.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-BIzKt99W-DhZCGDG3.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="9f61ca0d-1026-408b-b41d-9aad7a14dc13",e._sentryDebugIdIdentifier="sentry-dbid-9f61ca0d-1026-408b-b41d-9aad7a14dc13")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:W,spendManagement:_e}=je.getLocalizedStrings(),{zeniAccounts:$}=_e,{zeniAccountSetUp:I}=$,{setUp:z}=W,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:Y,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const x=be(),i=Se(),[A,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(y),P=O(u.fetchState),F=we({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>R(l),[l]),values:R(l)}),fe=F.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[v];if(b.includes(v)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&j==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,j]),g.useEffect(()=>{const b=F.watch((k,{name:n})=>{n!=null&&k!=null&&xe(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,T=D?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const he=T?W.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=x.mode==="light"?new B(x.colors.brandColorJadeLight):new B(x.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Y?.()};return t.jsxs(Le,{children:[t.jsx(Ae,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:x.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Re,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:he}),ge?t.jsx($e,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...F,children:t.jsx("form",{id:L(_),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:$.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),T&&!C?t.jsx(ze,{formId:L(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:T&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},R=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},Re=S.div`
1
+ import{e as ye,J as Se,aR as O,a9 as we,cG as xe,aW as B,V as t,fc as Ae,p as Pe,y as p,bD as Ce,T as ke,ac as ve,fv as Te,dS as Fe,fw as Ve,bx as Ie,aS as ze,o as De,fy as Ee,F as je,u as a,al as Ue}from"./index-DK3PYuee.js";import{a as g}from"./sentry-DS5py-mq.js";import{n as S}from"./mui-CgqbPqeT.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-BHpT2al--BnkxVa5e.js";import"./liveblocks-DzWLGwR5.js";import"./core-MmJvanAX.js";import"./recharts-CcfvjpA4.js";import"./zeni-epic-state-QRf7TPA6.js";import"./lottie-C8IpdMqp.js";import"./analytics-Cmcqa01V.js";import"./lexical-DyUba00B.js";import"./utils-C5WTobSB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="1ecb2389-a20d-4b19-b2df-cbf59c05676a",e._sentryDebugIdIdentifier="sentry-dbid-1ecb2389-a20d-4b19-b2df-cbf59c05676a")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:W,spendManagement:_e}=je.getLocalizedStrings(),{zeniAccounts:$}=_e,{zeniAccountSetUp:I}=$,{setUp:z}=W,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:Y,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const x=ye(),i=Se(),[A,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(b),P=O(u.fetchState),T=we({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>L(l),[l]),values:L(l)}),fe=T.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[v];if(y.includes(v)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&j==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,j]),g.useEffect(()=>{const y=T.watch((k,{name:n})=>{n!=null&&k!=null&&xe(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,F=D?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const he=F?W.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=x.mode==="light"?new B(x.colors.brandColorJadeLight):new B(x.colors.brandColorJadeDark),be=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Y?.()};return t.jsxs(Re,{children:[t.jsx(Ae,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:x.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:he}),ge?t.jsx($e,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:R(_),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Te,{onClick:be,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:$.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(ze,{formId:R(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:F&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -6,7 +6,7 @@ import{d as be,J as Se,aR as O,a9 as we,cH as xe,aW as B,V as t,ff as Ae,p as Pe
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,Le=S.div`
9
+ `,Re=S.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  height: 100%;
@@ -33,4 +33,4 @@ import{d as be,J as Se,aR as O,a9 as we,cH as xe,aW as B,V as t,ff as Ae,p as Pe
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
36
- `,L=e=>`${e}_form`;export{nt as default,L as uniqueName};
36
+ `,R=e=>`${e}_form`;export{nt as default,R as uniqueName};
@@ -1 +1 @@
1
- import{F as r,V as t}from"./index-BPZ0_UEx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};
1
+ import{F as r,V as t}from"./index-DK3PYuee.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};