@zeniai/web-cockpit-ui 1.14.97-prod → 1.14.98-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 (329) hide show
  1. package/dist/assets/ACHDetailsPage-DSdNOxQ9-Cve45-FP.js +21 -0
  2. package/dist/assets/{AIPerformancePage-4v4Fkm9f-DDp0Nnzh.js → AIPerformancePage-TtdFArUl-j0kjTnVR.js} +108 -108
  3. package/dist/assets/AccountInfoPage-BVK7wWF2-D6Zwr__G.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dv1IPcdF-DEoji_Hm.js → AccountInfoPageContent-BXX4TyeS-SAgRb0Wy.js} +19 -19
  5. package/dist/assets/AccountLockedInfoModal-CiHVEVZY-D75r_EpP.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DYKjrPwN-CPz69IBv.js → AccountReconDetailsDrawerPage-BZsVhDyw-NNurOrkC.js} +54 -54
  7. package/dist/assets/{AccountRow-BM3xLbeh--vvIWBOQ.js → AccountRow-COxNWv3J-Dkf6Savq.js} +30 -30
  8. package/dist/assets/{AccountsPromoCardStack-CTkwARBJ-BnZnSIUo.js → AccountsPromoCardStack-BW7r2R96-BzoEoVWx.js} +30 -30
  9. package/dist/assets/AddAddressForCardDrawer-BB7h_VuN-BW-_Qu7Y.js +6 -0
  10. package/dist/assets/{AddToWalletPage-OJBvAKUj-CFKw7FE0.js → AddToWalletPage-CXhBOHda-b2nCfyTx.js} +13 -13
  11. package/dist/assets/{AgingReportsPage-n-UKn3Ei-wXkPQ4jt.js → AgingReportsPage-CX3Te0mD-BjuuVeMz.js} +10 -10
  12. package/dist/assets/{AllUserItems-BsvKEVcx-wINOI07Y.js → AllUserItems-Cd2jEIM9-DycIVbwH.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-Duu2uAEr-BevAJ7BA.js → ApAgingDetailPage-BCBhgQDY-m3orWzJK.js} +5 -5
  14. package/dist/assets/{AppBasePage-DoCF494Z-D39xHNOF.js → AppBasePage-BRcQ7IPJ-DssY-F_Q.js} +16 -16
  15. package/dist/assets/{AppDrawerContent-DM1t0oLS-BojUJ2hW.js → AppDrawerContent-DQlHQEcs-DrKgTlSj.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-GZCo6_i2-cfSMkgCa.js → ApprovalRulesSettingsPage-Cqt8FvLJ-CEOV0Ixl.js} +6 -6
  17. package/dist/assets/{ArAgingChart-CsFDVdeO-Dzc8qLcG.js → ArAgingChart-BvAQf_dB-CCF75Uiv.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-BjvQEK0m-N2ygiYcL.js +46 -0
  19. package/dist/assets/{AttachmentView-B0d42oAf-GhjxbFZX.js → AttachmentView-e6OZT5St-CRHdzPSa.js} +6 -6
  20. package/dist/assets/{BankAccountSection-Bgdk93V0-B0tXfnFS.js → BankAccountSection-DWKYMZid-XH_pxLOm.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-neFg-P9--B7Ex5Gby.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-BpwKq93l-DE6TOtQW.js → BankConnectionsSettingsPage-DLnQeHtD-CQ9CrcQ2.js} +16 -16
  23. package/dist/assets/BillDetailPage-Caang31I-CV8BSbsx.js +266 -0
  24. package/dist/assets/BillPayApprovalRuleDetailPage-4n9jmsl3-C-Id93Y1.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-BPX-ygl8-NB7YIybj.js +241 -0
  26. package/dist/assets/BillPayPromoPage-KojRs3th-CbM1NPfP.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-DRCjyEfB-y3RM5Wnt.js → BillPaySetUpPage-CneIMbul-lrmOziwC.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CdYb74V7-DhBGANyX.js → BillingSettingsPage-35KDGxi0-Ct237R_x.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D8EGfY5P-ChlGAVqg.js → BillsBulkReviewDrawerPage-B2SeSM_K-CBWl1wuN.js} +1 -1
  30. package/dist/assets/{BoxItem-WOrvBzns-C0M7yHSW.js → BoxItem-BGDuiQll-BzndiGjI.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CbqJIVpz-Blmi37QI.js → BusinessVerificationPage-GZnJ9G9I-Crwn_TZB.js} +10 -10
  32. package/dist/assets/{CardNumberSubText-DBOH0_yP-BifRrded.js → CardNumberSubText-COHmqgEx-BK8P_Xt5.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-D-kXy6LW-CUw2WCZU.js → CashbackDetailPage-DvA_0POP-D_6kuYkj.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-BQnJsfn5-DsJS5aQJ.js → ChargeCardDetailPage-DF69jsTG-COjz_Wle.js} +244 -244
  35. package/dist/assets/ChargeCardListPage-BaxxkyMM-Tr5RRdcf.js +412 -0
  36. package/dist/assets/{ChargeCardListTable-EGkwcy7i-DiZgMWD8.js → ChargeCardListTable-BEYWfP5G-1q8VKxw1.js} +67 -67
  37. package/dist/assets/ChargeCardPaymentHistoryPage-5dwl-3gt-Cg-FZFeP.js +534 -0
  38. package/dist/assets/ChargeCardPromoPage-DXHFY90F-COAtEu6_.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DRzB7Rt4-B0jPtU5s.js → ChargeCardSetupPage-BsTAJGSf-BVABxQAh.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-C3NxKjmB-COhBhLbu.js → ChargeCardStatementsPage-BwuOooT4-Ds9c5zWv.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-ClxKj2js-CzmiZWyu.js → CheckDepositDrawerPage-CC3EUXpO-Fr7mH3zN.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-xkNXkjfh-DUsbxsn0.js → CollapsableReportTable-Bju2JSCg-BqWf1iHn.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BtUBatbQ-ESf3b9io.js → CompanyOfficerDetailsSection-CtHtINKb-ChsViTKu.js} +30 -30
  44. package/dist/assets/{CompanyPassportCard-BOxM716U-CBl4xY58.js → CompanyPassportCard-ClihOV6I-659ckUvl.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-DzE7sm8S-CP2cAEyd.js → CompanyPassportPage-Bzbp9vtj-DZ2qH-RA.js} +40 -40
  46. package/dist/assets/{CompleteProfile-BjGSPASa-BekkYj8C.js → CompleteProfile-C88rpvIR-CPwa_ZcH.js} +3 -3
  47. package/dist/assets/ConfettiBurst-fYnxwqdQ-9H12a4VU.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-WQeDCj-E-CqOIBaOE.js → CreateOrEditVendorPage-DJWcJCPR-VpXOBLk1.js} +20 -20
  49. package/dist/assets/CreditCardPaymentDrawerPage-nshXhNlE-CfhRwqnV.js +227 -0
  50. package/dist/assets/{CurrencySelectField-AjAWhg6e-CigJMeIM.js → CurrencySelectField-9MMlAXHh-7T5GvQvy.js} +4 -4
  51. package/dist/assets/CustomerOnboardingActivationPage-J6mQ99Q--BiV07KZX.js +88 -0
  52. package/dist/assets/CustomerOnboardingContainerPage-DHYXaV1V-BTZJkTlt.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-Dd8JwrJ4.js → CustomerOnboardingDetailPageSkeleton-EBEAYH3x-DVqWwomd.js} +15 -15
  54. package/dist/assets/CustomerOnboardingNoStepsPage-_P1XRJy7-BBpsfMtj.js +66 -0
  55. package/dist/assets/{CustomerOnboardingPage-CvN9Jrdy-CNiZlnRU.js → CustomerOnboardingPage-BWvGF8wk-Gc8v-oNy.js} +4 -4
  56. package/dist/assets/CustomerOnboardingProductSuitePage-BWN72Maw-CVrAAnDn.js +202 -0
  57. package/dist/assets/{Dashboard-_o0Ftdv8-bzTTlIl9.js → Dashboard-Zq5BpBhF-C6unAaBQ.js} +55 -55
  58. package/dist/assets/{DashboardReportPage-Cu5wqWkj-Bwefxm1d.js → DashboardReportPage-Pie-FQ1e-CpPHLX-r.js} +20 -20
  59. package/dist/assets/DashboardSidebarBackgroundAnimation-BCWBgFUn-C6Sp2Ncg.js +12 -0
  60. package/dist/assets/{DepositAccTransactionItem-BOPK7-7P-ARIeWeD8.js → DepositAccTransactionItem-C6o7UraM-ERw30shi.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-oj9tntbI-PSc8H5UQ.js → DepositAccTransactionListPage-DWIzj9EC-C4ETOwPX.js} +4 -4
  62. package/dist/assets/{DomesticWireDetailsPage-FGdEilUB-C0tlxZD1.js → DomesticWireDetailsPage-BbuaFhlm-B7VB8oiV.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-c57lEf_V-CaSZtLmQ.js → DownloadOverlay-smXqu_-_-DbNqWY1P.js} +39 -39
  64. package/dist/assets/{DrawerPage-inbhWwND-CRSXqSiG.js → DrawerPage-C-NGhaFc-Bdiyy2BL.js} +18 -18
  65. package/dist/assets/EditPeoplePage-Ck6tbODS-2oTO0N4I.js +55 -0
  66. package/dist/assets/EditReimbursementDetailPage-CYCB7XUZ-Bkc4_Xh-.js +865 -0
  67. package/dist/assets/EntityDetailPage-DEzsWzSU-C1IWQ2YR.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CHgrPo86-Bgj0_OMe.js → EntitySummarySection-D7ui3VxW-BWyvfwWL.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationOverviewPage-QZT_UFXf-BUT86XQ8.js → ExpenseAutomationOverviewPage-Cci1pEY4-BQvp8jPr.js} +27 -27
  70. package/dist/assets/{ExpenseAutomationPage-Y7V_Z8rd-CI8NZCiu.js → ExpenseAutomationPage-DsPGEQpL-CcB9eHac.js} +63 -63
  71. package/dist/assets/{ExpressPayPage-CIp_R6ZQ-CvWnqOQy.js → ExpressPayPage-ddPMg7wE-Tlo0T7f7.js} +10 -10
  72. package/dist/assets/{FeaturePreviewPage-qsUO3mUu-CTCwVSWi.js → FeaturePreviewPage-B7rx89MJ-NE6QqmUF.js} +3 -3
  73. package/dist/assets/{FollowStepsSection-ebmR-eLP-CMNBhpU0.js → FollowStepsSection-WUNvyjJh-Bpyevbi9.js} +49 -49
  74. package/dist/assets/{GlobalReviewListPage-9V-xoqvs-O_20lisG.js → GlobalReviewListPage-CrEL8cxP-BVjE_r1i.js} +14 -14
  75. package/dist/assets/{InformationCardStack-DnB7TmOk-modJbuEh.js → InformationCardStack-cYN7bwE3-B7UR3-b4.js} +8 -8
  76. package/dist/assets/{InsightsCardStack-BBczCYEz-kqj1q15I.js → InsightsCardStack-CAuhoPST-MWY5O8lc.js} +12 -12
  77. package/dist/assets/InsightsSection-9xZ9BN4e-D22swiZq.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-CByj2tO4-rLhQ4m_d.js → IntegrationsSettingsPage-CBqEJpyq-Bl--bqo-.js} +10 -10
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-4-pl1ozv-DMktsSn5.js → InternationalWireSwiftDetailsPage-Bg2_G0O4-DwQXwZkY.js} +17 -17
  80. package/dist/assets/{InternationalWireVerificationPage-kIajgPZt-CyPkMVug.js → InternationalWireVerificationPage-BdaKAePs-BIYMiNd6.js} +26 -26
  81. package/dist/assets/{InviteFormPage-XsnZcAvb-BDSiLBrK.js → InviteFormPage-a7CtHDQi-gCSqizmu.js} +24 -24
  82. package/dist/assets/{InvitePageListView-HfsehyxK-Dbze_ndt.js → InvitePageListView-D0flsJMi-CW5tcQ7p.js} +78 -78
  83. package/dist/assets/InvitePeoplePage-xJZ4CmaB-D0fUyZVv.js +12 -0
  84. package/dist/assets/{InvoiceUploadSection-DPd4VmqZ-BgaxJ8xK.js → InvoiceUploadSection-D6gMuygS-CT-0_4kq.js} +4 -4
  85. package/dist/assets/{IssueChargeCardPage-xbfFhV0O-4bVN4eFr.js → IssueChargeCardPage-_zy-SJN0-qq3fKGX-.js} +34 -34
  86. package/dist/assets/{LabeledAddressValue-CB_KH7v5-ncrHsqJe.js → LabeledAddressValue-CXqpyfBQ-40JlhWdQ.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-Bt41wdNQ-DxwGWMyO.js → LabeledAddressValueField-D-0wb98p-CSTw9NrL.js} +4 -4
  88. package/dist/assets/LabeledControlledCheckBoxField-CcPruRSO-BooOk31f.js +16 -0
  89. package/dist/assets/{LabeledCreatableSingleSelectField-fycRE7PX-CE-LJYdn.js → LabeledCreatableSingleSelectField-B-OgiRpS-D789AeMD.js} +4 -4
  90. package/dist/assets/LabeledDocumentField-Bo6fnkUs-BetKwcOR.js +41 -0
  91. package/dist/assets/{LabeledDropDownFormattedTextField-DGb_bDyp-DiK-EgzR.js → LabeledDropDownFormattedTextField-D54g8qxW-Cnlp1a42.js} +7 -7
  92. package/dist/assets/{LabeledText-yhm8qxrA-qY3EChSX.js → LabeledText-BJi28Cmu-KVGobttz.js} +3 -3
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-Bl2xAZ3Z.js → LabeledUserSingleSelectWithSubtitlesField-Dgn_WK0p-B4rGn1v8.js} +23 -23
  94. package/dist/assets/{LabeledZeniRolesDropDownField-DGkU72cd-BxECYaiO.js → LabeledZeniRolesDropDownField--9AjGtEh-1hSD4x8B.js} +25 -25
  95. package/dist/assets/LinkJETransactionPage-CejrEmB0-M4S6E6Jj.js +98 -0
  96. package/dist/assets/{LockCardPage-DaVzuRMw-BjKCklnQ.js → LockCardPage-4ihNCAhG-Zb-UDpxz.js} +21 -21
  97. package/dist/assets/{LowBalancePopup-Dd9HLWlh-ic5OOxEW.js → LowBalancePopup-YdUL24Wb-PfAaWR1_.js} +4 -4
  98. package/dist/assets/MagicLinkACHDetailsPage-BNATDZtB-DsiI-0KM.js +1 -0
  99. package/dist/assets/MagicLinkDomesticWireDetailsPage-ZGyx0g5t-8Tuy5QId.js +1 -0
  100. package/dist/assets/MagicLinkInternationalWireDetailsPage-CP5KtUSE-HiNxzZ5H.js +1 -0
  101. package/dist/assets/{MagicLinkSuccessPage-DbhdGmhh-B73Nce8i.js → MagicLinkSuccessPage-B-YTZWYj-DKWdsZyd.js} +5 -5
  102. package/dist/assets/{MagicLinkTitleSection-Bx92291D-UQdVswCk.js → MagicLinkTitleSection-RHv_GuEq-c-uPcRfj.js} +4 -4
  103. package/dist/assets/MailingDetailsSection-DAryNhi6-DIXrN7jG.js +21 -0
  104. package/dist/assets/Menu-IHf_FfRX-LPFIlYqd.js +17 -0
  105. package/dist/assets/{MyBankConnectionsSettingsPage-Dn9AT8p1-CQuV-mw5.js → MyBankConnectionsSettingsPage-CryrCaA2-C1O3R525.js} +4 -4
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-DrQu6s7j-KqAM0dkZ.js → MyPendingActivationChargeCardListPage-DmmwfwjV-Dzs7maAE.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-CBvjEd7r-6KgZiUr4.js → MyProfileSettingsPage-BspAqqsh-B3zEQ3j1.js} +10 -10
  108. package/dist/assets/{NavBarWithPicker-aXn2QYh1-CW3bwugc.js → NavBarWithPicker-C7xr7tTs-CsJWjiOL.js} +5 -5
  109. package/dist/assets/{NavigationArrow-JLUXaIrz-ChgEui-v.js → NavigationArrow-rBOsZ92g-CvJ7c17R.js} +8 -8
  110. package/dist/assets/{NavigationDots-B0_dDbgu-C4KMeusv.js → NavigationDots-CautbD-g-AEb3JA6J.js} +4 -4
  111. package/dist/assets/{NewGlobalMerchantPage-B_019EtP-BHwnIknQ.js → NewGlobalMerchantPage-DD4raaWT-0NjfCgam.js} +12 -12
  112. package/dist/assets/NoDataChart-58kSyixy-CZ5Rv3U9.js +26 -0
  113. package/dist/assets/NoDataTable-aDUu8tCI-CN9poHgG.js +8 -0
  114. package/dist/assets/{NotFoundPage-BEya4LS2-ipqWAZiD.js → NotFoundPage-D-nIKeoL-DS39BiNV.js} +7 -7
  115. package/dist/assets/{NotificationSettingsPage-C9SjRKCu-BYu7qv5i.js → NotificationSettingsPage-DP3xTLvr-C8krffT3.js} +23 -23
  116. package/dist/assets/NotificationsListConfig-CAW8P9gG-CmdQuS9n.js +1 -0
  117. package/dist/assets/{NotificationsPage-FJHx_WBG-DyZ6LFEY.js → NotificationsPage-DkDGBzhT-B-IU27Zt.js} +49 -49
  118. package/dist/assets/{OpExByVendorPage-Dxk68R6U-2aIAkF5L.js → OpExByVendorPage-CtcdC3f9-DjyRt_lN.js} +12 -12
  119. package/dist/assets/{OverlayContainerPage-Daz3A7cI-1UM1P3Cu.js → OverlayContainerPage-Daz3A7cI-D0iblwqz.js} +1 -1
  120. package/dist/assets/PandLWithForecastPage-CpCiLOIl-DtQtxcyB.js +107 -0
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-s9EEHxoG-BpHo8ieQ.js → PaymentAccountSetupBillingAddressSection-BjcqKBLG-BtuRZNcH.js} +8 -8
  122. package/dist/assets/{PeoplePage-DN5VtG7Q-C6fdxHpv.js → PeoplePage-DCI7v6ru-BQGxB0UL.js} +29 -29
  123. package/dist/assets/Preview-D56XCw0A.js +1 -0
  124. package/dist/assets/{ProductsCarousel-6gthLCkf-DhMPQjiH.js → ProductsCarousel-Dqm1bC2_-C9nhPtyf.js} +8 -8
  125. package/dist/assets/{PromoBaseCards-CzPzj69A-C2WRMyFn.js → PromoBaseCards-dqE7GIJ6-CjPZd9YZ.js} +6 -6
  126. package/dist/assets/{QBOConnectionDialog-BFy0lMZd-0lPmnE7v.js → QBOConnectionDialog-CGPNOde4-iJ0HQZcD.js} +6 -6
  127. package/dist/assets/{QBOSetupSection-DcLYyQ5m-ZCZhtAI0.js → QBOSetupSection-HhIe91hw-09HBN8uJ.js} +16 -16
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-Cx24E4je-CUe9BrFq.js +32 -0
  129. package/dist/assets/ReimbursementApprovalRulesPage-DRAkofwN-Cw1wl-sh.js +243 -0
  130. package/dist/assets/ReimbursementDetailPage-DToZctqy-CIF8fvzJ.js +314 -0
  131. package/dist/assets/{ReimbursementPromoPage-MweW-4DO-CSLymEjG.js → ReimbursementPromoPage-BZoZAydM-_dTEqW97.js} +10 -10
  132. package/dist/assets/{ReimbursementSetUpPage-BD2LWlbW-CyzWYNRN.js → ReimbursementSetUpPage-C8Oat8g_-oUMPzcZW.js} +10 -10
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DV_PLm_g-n5rWE4gl.js → ReimbursementsBulkReviewDrawerPage-BSXV7fzi-DApiFQ6Z.js} +1 -1
  134. package/dist/assets/{ReloadCard-9KpQCrce-qdtANGd1.js → ReloadCard-BMn_7fNI-DobUmKfH.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-BPliEsuo-CYYykdHh.js → ReportTableViewSelector-BE2BuEqj-Cv65zIMR.js} +8 -8
  136. package/dist/assets/{ReportsPage-h2DAaQfK-DeTpSbG7.js → ReportsPage-C4HDLBDq-nmW__s9z.js} +14 -14
  137. package/dist/assets/{RevenueChart-DY2s_upY-BLa8DFO5.js → RevenueChart-q15U89i8-DTxTOafZ.js} +2 -2
  138. package/dist/assets/{ReviewDetailsPage-BiYxRnvA-C6idEm-U.js → ReviewDetailsPage-4mhC2jOb-D75AxfOq.js} +20 -20
  139. package/dist/assets/{ReviewOverlay-BvPN7IKD-C6bOkNqU.js → ReviewOverlay-Co22Cju1-u5iV88jr.js} +12 -12
  140. package/dist/assets/RoleWithToolTip-DUEwWP4s-ChXNLhUR.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlXqz1QQ-CKa9Hbui.js → ScheduleDetailsFixedAssetsPage-DkKSZ0sJ-zAFG0_v4.js} +13 -13
  142. package/dist/assets/{ScheduleDetailsPage-DebosLND-CEznnGQ1.js → ScheduleDetailsPage-B98XJtoQ-DL_QucDj.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-Dd4Ep_c0-c6Oocp5D.js → ScheduleSequenceTable-DXLxjeWw-DWriUjIB.js} +36 -36
  144. package/dist/assets/ScreenRoutes-BRmamOlw.js +201 -0
  145. package/dist/assets/{SetUpAccountSection-Dhb8A0Oe-BzBubANR.js → SetUpAccountSection-AZk8_IC3-BgRTrYL7.js} +8 -8
  146. package/dist/assets/SignIn-C5PcCpLW-Da05HaL3.js +480 -0
  147. package/dist/assets/{SignInScreen-BvNXHkCt.js → SignInScreen-DJh1xRdL.js} +1 -1
  148. package/dist/assets/SpendManagementListViewPage-BmZeAl5K-BgHQbDY0.js +134 -0
  149. package/dist/assets/SpendManagementPerTabPage-BfJ_icLF-CGfN-F05.js +785 -0
  150. package/dist/assets/SpendManagementSection-DoJcpweo-BSx0Jax5.js +246 -0
  151. package/dist/assets/StatementItem-Bw66NYeY-DcIvhMqc.js +31 -0
  152. package/dist/assets/{StatementsPage-DVR5LhTi-Bx23GXwj.js → StatementsPage-CBIa00EK-BjIWTE3I.js} +3 -3
  153. package/dist/assets/{StatusSwitcher-Cy5ITFgi-VNfYnDC0.js → StatusSwitcher-Blc3-MDg-B12KNYTc.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-DhsES2OW-4AOmN1CG.js → SubTabSwitcher-3oir5lzq-Cmzice7W.js} +4 -4
  155. package/dist/assets/{SummaryCard-Byv4Hw8Q-sFz6AI7k.js → SummaryCard-DO09QLUp-DPmkfJxO.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-CVXMOPf2-vgAaxjt0.js → TaskManagementPage-C_EZJRtM-P8DErI3a.js} +42 -42
  157. package/dist/assets/TimeRangeSwitcher-mYZQR43P-BLWBlyWb.js +64 -0
  158. package/dist/assets/{TimeframeSwitcher-BK-qliOX-Cz_yjhY_.js → TimeframeSwitcher-BsGp8KOv-CTY5_Ouk.js} +6 -6
  159. package/dist/assets/TimeframeSwitcherWithToggle-wwIX-Q6T-DmtPgL2u.js +31 -0
  160. package/dist/assets/{TopExCard-o4Q3ze1b-Bq0fQQYZ.js → TopExCard-Cn8iW3fO-DMUR1qBk.js} +12 -12
  161. package/dist/assets/{TopExDetailPage-BsCwwwDi-CGh1No0Z.js → TopExDetailPage-BS8qCkLq-Cq17vLoi.js} +12 -12
  162. package/dist/assets/{TransactionDetailPage-rpCG65yC-Cx6XApqd.js → TransactionDetailPage-CUeVImfA-D9txujQI.js} +36 -36
  163. package/dist/assets/{TransactionList-YI4oZaim-uM5Py_qt.js → TransactionList-CnjoEn7K-D2hvg7ek.js} +15 -15
  164. package/dist/assets/{TransactionListBig-D_Jw9Ip2-DuqFkfMY.js → TransactionListBig-xVKV1MCm-GtEvft_N.js} +12 -12
  165. package/dist/assets/TransactionListPage-DDNtUv3t-Dwe7tcE5.js +35 -0
  166. package/dist/assets/TransactionVendorDetailPage-BTufZurh-CGfPDjZ_.js +80 -0
  167. package/dist/assets/{TransferDrawerPage-BnEVH7Mc-DlSarteK.js → TransferDrawerPage-uBmvyc-P-CFJl7D9L.js} +34 -34
  168. package/dist/assets/{TreasuryOverviewPage-C927Rdkg-BOPfHNG5.js → TreasuryOverviewPage-DJcUyLa4-Cd3rdx_U.js} +47 -47
  169. package/dist/assets/{TreasuryPromoPage-C6D3bF2f-JvACTcvz.js → TreasuryPromoPage-DymCO6nN-Dc1dLp52.js} +14 -14
  170. package/dist/assets/{TreasuryStatementsPage-BE54gWl6-CUcMhAZw.js → TreasuryStatementsPage-YEgI38zU-DOHp07qg.js} +4 -4
  171. package/dist/assets/{TreasuryTaxLetterPage-BaHut8Wc-1cvqLaEx.js → TreasuryTaxLetterPage-CYO6JXCO-fy_exAGm.js} +3 -3
  172. package/dist/assets/{TrendChart-BI4Tz813-B65jbt3X.js → TrendChart-Dzc9yPKs-Blv6Qzrf.js} +4 -4
  173. package/dist/assets/{TrendWithTransactions-BicIDSlC-DJG4vT11.js → TrendWithTransactions-C2HIrxbU-BSlQs2Tq.js} +7 -7
  174. package/dist/assets/{UncategorizedAccountsMappingPage-sbn4Sdr2-ESzm24ii.js → UncategorizedAccountsMappingPage-CN3CI6bw-zjOv8nCW.js} +13 -13
  175. package/dist/assets/{UnitIntegrationPage-CZUyjeh5-BDON8L6z.js → UnitIntegrationPage-EaVWz4pX-CbKtqluY.js} +11 -11
  176. package/dist/assets/UploadAdditionalDocumentOverlay-DIL6E7Sd-BEDKH1e3.js +38 -0
  177. package/dist/assets/Vendor2FAPopup-BxAm0k92-Dk5tVOzX.js +1 -0
  178. package/dist/assets/VendorACHDetailsPage-DF0jHzqw-CNLQ8AnP.js +1 -0
  179. package/dist/assets/{VendorDetailPage-CLFKkF8I-yvKO1ezo.js → VendorDetailPage-C_B_CmoV-DZeP35Np.js} +87 -87
  180. package/dist/assets/VendorDomesticWireDetailsPage-a52VbRia-DcoKPqJx.js +1 -0
  181. package/dist/assets/{VendorFiling1099EditablePage-CrWrhHZl-tLQrFqSy.js → VendorFiling1099EditablePage-Dzgzl_4E-VsmZ5Vuv.js} +17 -17
  182. package/dist/assets/{VendorFirstReviewPage-C6MnbIan-Dv6bIyUm.js → VendorFirstReviewPage-mfIvCyFK-ApwBXjUo.js} +60 -60
  183. package/dist/assets/{VendorInternationalWireDetailsPage-CzPRK4E2-Bmm3HDq6.js → VendorInternationalWireDetailsPage-CNs1VqUa-DbFJLYLp.js} +17 -17
  184. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BoEZ09xC-egxnMP7A.js +1 -0
  185. package/dist/assets/{VendorsAccountsSection-CVh1n81R-uZ58tDY_.js → VendorsAccountsSection-B6DkSP2a-Ct-pliYw.js} +5 -5
  186. package/dist/assets/{VerifyDevice-BHocExfO-CSFxm3TR.js → VerifyDevice-Cu9P83rS-BlGa7yZF.js} +7 -7
  187. package/dist/assets/{VideoPlayer-9rYRtSLf-Dult1Fhb.js → VideoPlayer-Dml6r7Q7-CtFMcnbA.js} +2 -2
  188. package/dist/assets/{VideoPopup-D1o92dj6-MjTgzb_z.js → VideoPopup-B7E5ZfFp-BvZy2q4i.js} +4 -4
  189. package/dist/assets/{WarningsDrawerPage-CzufXgaN-B_XgGmYw.js → WarningsDrawerPage-BZU8XDHH-Djgf6BN0.js} +3 -3
  190. package/dist/assets/{ZeniAccountDetailPage-ZZ3Ra-Jf-zM0FujN3.js → ZeniAccountDetailPage-Do5LJYN4-DOVBM5Q5.js} +31 -31
  191. package/dist/assets/{ZeniAccountListViewPage-Cxid0mfh-BYfNam3f.js → ZeniAccountListViewPage-Be5rl4e6-BE0wkZ9j.js} +10 -10
  192. package/dist/assets/ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js +14 -0
  193. package/dist/assets/{ZeniAccountPromoPage-YIYFkPIB-BiUYWTug.js → ZeniAccountPromoPage-BMULic13-C4Ac4YqS.js} +22 -22
  194. package/dist/assets/{ZeniAccountSetupPage-BJ9UJ0dP-BdsjjTvD.js → ZeniAccountSetupPage-D_doc0Sf-BchKN68c.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-CztmWsFm-zaYwj_At.js → ZeniCopyright-CDfvakjf-8KnokS3w.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-g9qU5Lsq-BvNtSqmK.js → ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js} +7 -7
  197. package/dist/assets/{add-to-wallet-DgdBD8_G-YEDUG2x7.js → add-to-wallet-DgdBD8_G-Bp_adk0W.js} +1 -1
  198. package/dist/assets/{analytics-BoRXOtAO.js → analytics-GoB8GGlk.js} +1 -1
  199. package/dist/assets/{analyticsHelper-D4lKCWjQ-FgQaBGwb.js → analyticsHelper-C164AjRf-tG0aq5YR.js} +1 -1
  200. package/dist/assets/analyticsHelper-OMYXGOV0.js +1 -0
  201. package/dist/assets/{arrow-south-east-round-PEovUgvH-BYP2VrYw.js → arrow-south-east-round-PEovUgvH-BlptIYjS.js} +1 -1
  202. package/dist/assets/{auto-transfer-rule-mbafm5D3-DgX7DrI4.js → auto-transfer-rule-mbafm5D3-DNmdc0t7.js} +1 -1
  203. package/dist/assets/{chartTypes-BPPSjkhb-CyAt9WF3.js → chartTypes-DQ1OffIu-Bo_aesHa.js} +1 -1
  204. package/dist/assets/{commonDimensions-Ds75pRzR-BXTMRgCR.js → commonDimensions-j5_IHOmP-jvW6K-um.js} +1 -1
  205. package/dist/assets/{constants-DsfqyjAS.js → constants-DTxI1rHn.js} +1 -1
  206. package/dist/assets/{core-CQbgucwW.js → core-cG0U1y2d.js} +2 -2
  207. package/dist/assets/{dash.all.min-BcqJ6chU.js → dash.all.min-CKz_ZRDI.js} +1 -1
  208. package/dist/assets/{detailCommon-DdZdfmYT-BjwhwBDl.js → detailCommon-BdYIBs8o-CJ5ceH6M.js} +6 -6
  209. package/dist/assets/downloadPdf-BduTAGPj-DUom1tyc.js +1 -0
  210. package/dist/assets/{empty-CY7eiPCo.js → empty-DAIP1XxB.js} +1 -1
  211. package/dist/assets/empty-D_oWKko5.js +1 -0
  212. package/dist/assets/epic-4bGyY7Fz.js +2 -0
  213. package/dist/assets/{gift-box-Cmt9OgIZ-BnIAquGb.js → gift-box-Cmt9OgIZ-CTtI5cXz.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-zw0ykiiU.js → graphic-no-data-l-DU4J8fDt-PUQeicgl.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BfGsDchu.js → graphic-no-data-net-burn-l-CzmycA0m-BwRajxvj.js} +1 -1
  216. package/dist/assets/{handshake-BPg58FML-BTgZLPD2.js → handshake-BPg58FML-BXfsCAUf.js} +1 -1
  217. package/dist/assets/{empty-339TQKSU.js → index-BMQnSjFr.js} +1 -1
  218. package/dist/assets/{index-bSJ1DrDa.js → index-BqrFe7eC.js} +1 -1
  219. package/dist/assets/{index-DtO5gDKt.js → index-CO_Updpp.js} +4418 -4410
  220. package/dist/assets/{index-CfECj9aZ.js → index-CpulHfxu.js} +1 -1
  221. package/dist/assets/index-D4nV_3XK.js +1 -0
  222. package/dist/assets/{index-BmS8uh0s.js → index-DVGnYxP0.js} +1 -1
  223. package/dist/assets/{index-Bh8od1Dv.js → index-uRSEmDsl.js} +1 -1
  224. package/dist/assets/{lexical-C_NRfmyx.js → lexical-CUq6kk0g.js} +1 -1
  225. package/dist/assets/{liveblocks-DT2vn74k.js → liveblocks-BOlC_Koo.js} +1 -1
  226. package/dist/assets/{lottie-CJgUcH_y.js → lottie-DQ5EyuJ6.js} +2 -2
  227. package/dist/assets/mapLoadingInProgressToTreeNode-kWMAzMb3-CMOJHu7q.js +1 -0
  228. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CSuXPDoO-BSS8TRaL.js +1 -0
  229. package/dist/assets/mapSpacerToTreeNode-BjnjpyM6-BNLh9WdA.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-CaRKUf6w-8AEXCCet.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-XslT-q64-Q3w1WkcY.js +1 -0
  232. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ByvQizpc-BItBTBN2.js +1 -0
  233. package/dist/assets/{mui-MIYQj4aF.js → mui-ByF8ZmHV.js} +1 -1
  234. package/dist/assets/{page-detail-CWX5S47F-2WFsC4V9.js → page-detail-CWX5S47F-C2KjOx45.js} +1 -1
  235. package/dist/assets/{radio-default-CiSgisfh-Be1M1Tqp.js → radio-default-CiSgisfh-B7-vB3nP.js} +1 -1
  236. package/dist/assets/{react-_5_wKPfz.js → react-B1eYDq6e.js} +3 -3
  237. package/dist/assets/{react-s6BDxHNe.js → react-B20ZDkLv.js} +2 -2
  238. package/dist/assets/{react-CcsnnB7v.js → react-B3-oq61_.js} +2 -2
  239. package/dist/assets/{react-Cd5Vjf1M.js → react-BU_tzuye.js} +1 -1
  240. package/dist/assets/{react-A0ha147_.js → react-CeCukAHo.js} +1 -1
  241. package/dist/assets/{react-HhXes7kc.js → react-D74rpLXu.js} +1 -1
  242. package/dist/assets/{react-CsSpGKpA.js → react-iY_JqSpg.js} +2 -2
  243. package/dist/assets/{react-DurYqW_R.js → react-osFWCkxJ.js} +2 -2
  244. package/dist/assets/{recharts-Ca44ZuG6.js → recharts-C9z9JCsM.js} +1 -1
  245. package/dist/assets/{sentry-BA2-4jVY.js → sentry-DdXOXL3j.js} +2 -2
  246. package/dist/assets/{shield-DOlUxcFf-CAAyiSZE.js → shield-DOlUxcFf-hMFlex27.js} +1 -1
  247. package/dist/assets/toCOABalancesWithID-BA4WkU1y-CDNy4Vu0.js +1 -0
  248. package/dist/assets/toChartData-DrvhJgTD-N2b3lY8k.js +1 -0
  249. package/dist/assets/{uploadAttachment-B4ddYCCL-DjvJv31V.js → uploadAttachment-DiJJciQx-DORmL_G6.js} +27 -27
  250. package/dist/assets/{uploadReceipts-CPw64UYa-CBWMAKMK.js → uploadReceipts-CPw64UYa-CIYZXcqS.js} +1 -1
  251. package/dist/assets/{url-BDky7-FA.js → url-DnfeNFje.js} +1 -1
  252. package/dist/assets/{url-CTUDUfsx.js → url-PLN9h9fH.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DkULBMjI.js → useLongPress-GCK2COYQ-aie8BHVS.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-DEmztJwW.js → usp-line-BBd1wKwW-nbZRH-xL.js} +1 -1
  255. package/dist/assets/{utils-4_IeBx6L.js → utils-BMrfBn9K.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-DQjAbQ-W.js → zeni-epic-state-BiQIJCwr.js} +32 -32
  257. package/dist/index.html +1 -1
  258. package/package.json +4 -4
  259. package/dist/assets/ACHDetailsPage-BRWOdhMx-DY2ph-xS.js +0 -21
  260. package/dist/assets/AccountInfoPage-Ca_vKG58-Dl8kMMWb.js +0 -18
  261. package/dist/assets/AccountLockedInfoModal-CEk5d9hq-D__Hm0k3.js +0 -59
  262. package/dist/assets/AddAddressForCardDrawer-DfOyebHX-ByFFgdZ1.js +0 -6
  263. package/dist/assets/ArAgingDetailPage-CaOr6vAU-zKDTGoif.js +0 -46
  264. package/dist/assets/BankAccountWarningSection-DMRmF2yM-DQNP-zu1.js +0 -51
  265. package/dist/assets/BillDetailPage-BG7FhHEq-DTAFxDZ0.js +0 -266
  266. package/dist/assets/BillPayApprovalRuleDetailPage-BAK1Gfko-D2QG1AC2.js +0 -27
  267. package/dist/assets/BillPayApprovalRulesPage-DiCNUU-G-D2oNTsQU.js +0 -235
  268. package/dist/assets/BillPayPromoPage-aGKOv8Ur-6uOlfu32.js +0 -84
  269. package/dist/assets/ChargeCardListPage-130ILwkr-B_qCS-VF.js +0 -412
  270. package/dist/assets/ChargeCardPromoPage-BwqrXrY--DR9cG9Eg.js +0 -222
  271. package/dist/assets/ConfettiBurst-1rYKpbAj-BhmXWPWP.js +0 -1
  272. package/dist/assets/CreditCardPaymentDrawerPage-Q12y6HMX-CyTpkvYH.js +0 -224
  273. package/dist/assets/CustomerOnboardingActivationPage-BJhw-PvI-OW0eO0a-.js +0 -88
  274. package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-BqnO4Zie.js +0 -1
  275. package/dist/assets/CustomerOnboardingNoStepsPage-CNni6chX-D7zzt3qu.js +0 -66
  276. package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-DegxuZY6.js +0 -202
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-DK87Pqsf.js +0 -12
  278. package/dist/assets/EditPeoplePage-DJthuIP4-DQPn7OCp.js +0 -55
  279. package/dist/assets/EditReimbursementDetailPage-Bt7XKq5h-CQoNLfO9.js +0 -865
  280. package/dist/assets/EntityDetailPage-DbTiF9Hs-CJ1u3V_P.js +0 -18
  281. package/dist/assets/InsightsSection-BTXj5WUe-Cfk7Eh1Q.js +0 -27
  282. package/dist/assets/InvitePeoplePage-DrBtwpMH-BSPb76pb.js +0 -12
  283. package/dist/assets/LabeledControlledCheckBoxField-Btw_zwzy-C3uGZBkT.js +0 -16
  284. package/dist/assets/LabeledDocumentField-C73vQNgq-Co0i3aLv.js +0 -41
  285. package/dist/assets/LinkJETransactionPage-C0onrP5t-bSUcK0Xl.js +0 -98
  286. package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-BT9Obm99.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-B9wAis8b.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-DiQQd7nR.js +0 -1
  289. package/dist/assets/MailingDetailsSection-D-tnK244-aaVtWDGx.js +0 -21
  290. package/dist/assets/Menu-0YHUdU0n-BPwki3Pe.js +0 -17
  291. package/dist/assets/NoDataChart-DLKHNXD4-BMP3rZFa.js +0 -26
  292. package/dist/assets/NoDataTable-BMD2qygC-B1_9CmNr.js +0 -8
  293. package/dist/assets/NotificationsListConfig-OCeJNw1G-CTlFddyS.js +0 -1
  294. package/dist/assets/PandLWithForecastPage-Bu49FbWD-W4tg_Hr0.js +0 -107
  295. package/dist/assets/Preview-BtWpgMXf.js +0 -1
  296. package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-lRiHxhqF.js +0 -26
  297. package/dist/assets/ReimbursementApprovalRulesPage-D5ZMrrmO-CINJA7Sh.js +0 -237
  298. package/dist/assets/ReimbursementDetailPage-DatcF8rt-BB8gKIBd.js +0 -314
  299. package/dist/assets/RoleWithToolTip-aW95rpRe-CB0MkMP2.js +0 -22
  300. package/dist/assets/ScreenRoutes-BiXrSIRO.js +0 -201
  301. package/dist/assets/SignIn-DQBJB5ad-CogDoFqt.js +0 -448
  302. package/dist/assets/SpendManagementListViewPage-Ac-9u-X2-7ZU57zzT.js +0 -123
  303. package/dist/assets/SpendManagementPerTabPage-DgrMAQ8l-DJp4zhhM.js +0 -754
  304. package/dist/assets/SpendManagementSection-Ci2yOCJ9-CTxvPu5S.js +0 -230
  305. package/dist/assets/StatementItem-hcBoe79o-DptqXJtS.js +0 -31
  306. package/dist/assets/TimeRangeSwitcher-jct2_5PE-Cu9BfqgM.js +0 -64
  307. package/dist/assets/TimeframeSwitcherWithToggle-Cl6ISBIz-CJjf8Sgj.js +0 -31
  308. package/dist/assets/TransactionListPage-B2yWm7eA-Yx9ygFEV.js +0 -35
  309. package/dist/assets/TransactionVendorDetailPage-Dr5C4-7q-1TV_A7Au.js +0 -80
  310. package/dist/assets/UploadAdditionalDocumentOverlay-4AWDV_HK-nSx6XDpw.js +0 -38
  311. package/dist/assets/Vendor2FAPopup-C_PmEAQ7-CjvhJihW.js +0 -1
  312. package/dist/assets/VendorACHDetailsPage-DMMoCytX-DLSqAKdk.js +0 -1
  313. package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-B0TLOOEg.js +0 -1
  314. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-D1AJh1PU.js +0 -1
  315. package/dist/assets/ZeniAccountNavBarPieces-DDc-xph4-CZKCVwb-.js +0 -14
  316. package/dist/assets/analyticsHelper-CEShAaem.js +0 -1
  317. package/dist/assets/downloadPdf-B8UMaJCC-CBYKvnZY.js +0 -1
  318. package/dist/assets/epic-FbVgKHkf.js +0 -2
  319. package/dist/assets/index-42e1kgYh.js +0 -1
  320. package/dist/assets/index-CQDQQRSL.js +0 -1
  321. package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-CuvQDr6o.js +0 -1
  322. package/dist/assets/mapSectionWithAcOnlyToTreeNode-rrJBbsC8-C6_4gRnj.js +0 -1
  323. package/dist/assets/mapSpacerToTreeNode-CWvamMX2-jtLBjIcf.js +0 -1
  324. package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-QJXBr_OV.js +0 -1
  325. package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-D1Fak76w.js +0 -1
  326. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-CtBIruyz.js +0 -1
  327. package/dist/assets/toCOABalancesWithID-CkjRB0sJ-BFvEv8i7.js +0 -1
  328. package/dist/assets/toChartData-CMi2WgAy-4NDgrpqr.js +0 -1
  329. package/dist/assets/transaction-placeholder-CpOwZAMG-CBisz7X_.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as Le,b as D,cm as R,cn as O,co as F,ab as Ne,ek as Me,p as y,cW as He,aM as C,m as ue,ag as j,F as K,bH as Ee,bL as Ie,aQ as Ue,y as b,gR as We,fc as ae,c as u,ak as X,hr as Re,b5 as Oe,aZ as Fe,hs as Ge,l as Ve,ht as Ye,u as Je,gU as _e,d2 as Ze,al as Ke,a as Xe,cf as qe}from"./index-DtO5gDKt.js";import{a as r}from"./sentry-BA2-4jVY.js";import{n as a}from"./mui-MIYQj4aF.js";import{FL as Qe,bL as G}from"./zeni-epic-state-DQjAbQ-W.js";import{$ as et}from"./BoxItem-WOrvBzns-C0M7yHSW.js";import{w as tt}from"./downloadPdf-B8UMaJCC-CBYKvnZY.js";import{H as ot}from"./DepositAccTransactionItem-BOPK7-7P-ARIeWeD8.js";import{U as at}from"./ZeniAccountNavBarPieces-DDc-xph4-CZKCVwb-.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-Ca44ZuG6.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.js";import"./commonDimensions-Ds75pRzR-BXTMRgCR.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]="a314cb17-af57-46ab-8c26-1ea4f25dcf79",e._sentryDebugIdIdentifier="sentry-dbid-a314cb17-af57-46ab-8c26-1ea4f25dcf79")}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,q as M,aw as Pe,f as pe,aO as Be,V as t,aL as P,bR as B,o,bA as Le,b as D,cn as W,co as O,cp as F,ac as Ne,el as Me,p as y,cX as He,aN as C,A as ue,ai as w,F as K,bI as Ie,bM as Ee,aR as Ue,y as b,gU as Re,fd as ae,d as u,al as q,hs as We,b6 as Oe,a_ as Fe,ht as Ge,l as Ve,hu as Ye,u as Xe,gX as _e,d3 as Je,am as Ke,M as qe,cg as Ze}from"./index-CO_Updpp.js";import{a as r}from"./sentry-DdXOXL3j.js";import{n as a}from"./mui-ByF8ZmHV.js";import{FS as Qe,bL as G}from"./zeni-epic-state-BiQIJCwr.js";import{$ as et}from"./BoxItem-BGDuiQll-BzndiGjI.js";import{w as tt}from"./downloadPdf-BduTAGPj-DUom1tyc.js";import{H as ot}from"./DepositAccTransactionItem-C6o7UraM-ERw30shi.js";import{U as at}from"./ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.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-C9z9JCsM.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.js";import"./commonDimensions-j5_IHOmP-jvW6K-um.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]="f6893709-7dfd-4010-81b2-a9eb0a31fdd2",e._sentryDebugIdIdentifier="sentry-dbid-f6893709-7dfd-4010-81b2-a9eb0a31fdd2")}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{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz 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=M(),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 z=!1;e.accountHistoryWithBalance.length>360&&(z=!0);const S=z?G(v).format(Y.visual.MMMformat):G(v).format(Y.visual.MMMDFormat);return t.jsx(At,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:S})})},[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(Mt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Et,{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=M(),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(zt,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(It,{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(qt,{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 Ao=({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,[z,S]=r.useState(!1),[H,E]=r.useState(!1),[q,xe]=r.useState(!1),Q=M(),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(()=>{q===!0&&setTimeout(()=>{xe(!1)},800)},[q]);const ge=n.transactionList.length>4,I=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?E(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},je={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),E(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(E(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{H&&v(V)},[H,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",A=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},ze=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(Z,{children:P("0,0[.]00",A?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(Z,{children:P("0,0[.]00",A?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(Z,{children:P("0,0[.]00",A?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[A,Q]),Ae=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:I.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:Ae,source:"ZeniAccountDetailPage"}),z?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(O,{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(R,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(O,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,H?t.jsx(R,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(O,{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(Me,{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:He(c.formState.errors,V)===!0?y.importantLight:I.colors.background,border:`1px solid ${I.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:ze,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=M(),[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(St,{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:D.h2Regular.cssObject,decimalStyles:D.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(Zt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{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:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Rt,{}),t.jsx(Ot,{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}=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=M(),n=pe(),[m,$]=r.useState(),j=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 S=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:S})})},[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(Xt,{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:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Mt,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ht,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(It,{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:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=M(),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:[j?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(wt,{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:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,S]=r.useState(!1),[H,I]=r.useState(!1),[Z,xe]=r.useState(!1),Q=M(),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),R=n.accountUpdateStatus.editName.fetchState,oe=Be(R),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?I(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),I(!1)}};r.useEffect(()=>{oe==="In-Progress"&&R==="Completed"&&(I(!1),c.reset())},[oe,R,c]),r.useEffect(()=>{H&&v(V)},[H,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=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(X,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(X,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(X,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(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(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:E.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(W,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(O,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(W,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(O,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,H?t.jsx(W,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(O,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,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(Me,{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:He(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:j,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=M(),[m,$]=r.useState(!1),[,j]=Re(),[x,g]=r.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{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:D.h2Regular.cssObject,decimalStyles:D.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(Jt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Rt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Wt,{}),t.jsx(Ot,{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{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz 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`
@@ -29,11 +29,11 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
29
29
  &:last-child {
30
30
  margin-bottom: ${o.sp8};
31
31
  }
32
- `,jt=a.div`
32
+ `,wt=a.div`
33
33
  display: flex;
34
34
  justify-content: space-between;
35
35
  margin-bottom: ${o.sp3};
36
- `,wt=a.div`
36
+ `,jt=a.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  width: 100%;
@@ -56,13 +56,13 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
56
56
  gap: ${o.sp3};
57
57
  flex-direction: column;
58
58
  justify-content: space-between;
59
- `,St=a.div``,Dt=a.div``,zt=a.div`
59
+ `,St=a.div``,Dt=a.div``,At=a.div`
60
60
  display: flex;
61
61
  gap: ${o.sp3};
62
62
  flex: 1;
63
63
  flex-direction: column;
64
64
  justify-content: flex-end;
65
- `,At=a.g`
65
+ `,zt=a.g`
66
66
  transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
67
67
  `,Tt=a.div`
68
68
  display: flex;
@@ -92,7 +92,7 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
92
92
  `,Bt=a(Ue)`
93
93
  margin-top: ${o.sp3};
94
94
  color: ${e=>e.theme.colors.hero};
95
- `,Lt=a(Ie)`
95
+ `,Lt=a(Ee)`
96
96
  height: ${o.sp5};
97
97
  width: ${o.sp5};
98
98
  margin: ${o.sp5};
@@ -103,7 +103,7 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
103
103
  `,Nt=a.text`
104
104
  fill: ${e=>e.theme.colors.hero};
105
105
  ${e=>`${ht.tickLabelText.style(e.windowSize)}`};
106
- `,Mt=a.linearGradient``,Ht=a.stop``,Et=a.stop``,It=a.div`
106
+ `,Mt=a.linearGradient``,Ht=a.stop``,It=a.stop``,Et=a.div`
107
107
  display: flex;
108
108
  flex-direction: row;
109
109
  gap: ${e=>h.accBtnsGap.valuePx(e.windowSize)};
@@ -120,11 +120,11 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
120
120
  }
121
121
  }
122
122
  }
123
- `,Wt=a.div`
123
+ `,Rt=a.div`
124
124
  display: flex;
125
125
  flex-direction: row;
126
126
  align-items: baseline;
127
- `,Rt=a.div`
127
+ `,Wt=a.div`
128
128
  align-self: center;
129
129
  background-color: ${e=>e.theme.colors.grey1};
130
130
  border-radius: 50%;
@@ -165,7 +165,7 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
165
165
  }
166
166
  }
167
167
  margin-right: ${o.sp3};
168
- `,Vt=a(j)`
168
+ `,Vt=a(w)`
169
169
  display: flex;
170
170
  color: ${e=>e.theme.colors.hero};
171
171
  `,Yt=a.div`
@@ -180,22 +180,22 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
180
180
  border-radius: ${o.sp1};
181
181
  padding: ${o.sp0} ${o.sp2};
182
182
  background-color: ${y.blackColor};
183
- `,Jt=a.circle`
183
+ `,Xt=a.circle`
184
184
  stroke: ${e=>e.theme.colors.brandColorJade};
185
185
  fill: ${e=>e.theme.colors.grey5};
186
- `,le=a(j)`
186
+ `,le=a(w)`
187
187
  color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
188
188
  `,re=a.div`
189
189
  display: flex;
190
190
  gap: ${o.sp1};
191
- `,_t=a(j)`
191
+ `,_t=a(w)`
192
192
  color: ${e=>e.theme.colors.hero};
193
193
  `,ce=a(Ve)`
194
194
  text-transform: capitalize;
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
- `,Zt=a(Ze)`
198
+ `,Jt=a(Je)`
199
199
  height: ${o.sp3};
200
200
  width: ${o.sp3};
201
201
  margin-left: ${o.sp2};
@@ -208,15 +208,15 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
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
- `,de=a(j)`
217
+ `,de=a(w)`
218
218
  margin-left: ${o.sp2};
219
- `,qt=a(Oe)`
219
+ `,Zt=a(Oe)`
220
220
  color: ${e=>e.theme.colors.primary};
221
221
  `,Qt=a.div`
222
222
  display: flex;
@@ -235,7 +235,7 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz 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`
@@ -254,7 +254,7 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
254
254
  &:hover {
255
255
  color: ${e=>e.theme.colors.primary};
256
256
  }
257
- `,ao=a(Je)`
257
+ `,ao=a(Xe)`
258
258
  height: ${o.sp3};
259
259
  width: ${o.sp3};
260
260
  color: ${y.success};
@@ -262,39 +262,39 @@ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as
262
262
  width: ${o.sp4};
263
263
  min-width: ${o.sp4};
264
264
  height: ${o.sp4};
265
- `,no=a(Re)`
265
+ `,no=a(We)`
266
266
  width: ${o.sp4};
267
267
  min-width: ${o.sp4};
268
268
  height: ${o.sp4};
269
- `,lo=a(j)`
269
+ `,lo=a(w)`
270
270
  margin-bottom: ${o.sp2};
271
271
  display: flex;
272
- `,ro=a(j)`
272
+ `,ro=a(w)`
273
273
  padding: 12px ${o.sp3};
274
274
  color: ${e=>e.theme.colors.hero};
275
275
  border-radius: ${o.sp1};
276
- `,J=a(j)`
276
+ `,X=a(w)`
277
277
  color: ${e=>e.theme.colors.brandColorPearl};
278
278
  margin-top: ${o.sp2};
279
279
  display: flex;
280
280
  justify-content: space-between;
281
281
  `,_=a.div`
282
282
  color: ${e=>e.theme.colors.hero};
283
- `,Z=a.div`
283
+ `,J=a.div`
284
284
  color: ${y.primaryDark};
285
- `,co=a(Ee)`
285
+ `,co=a(Ie)`
286
286
  width: ${o.sp3};
287
287
  height: ${o.sp3};
288
288
  color: ${e=>e.theme.colors.hero};
289
289
  &:hover {
290
290
  color: ${e=>e.theme.colors.primary};
291
291
  }
292
- `,so=a(j)`
292
+ `,so=a(w)`
293
293
  padding: ${o.sp2};
294
294
  color: ${e=>e.theme.colors.hero};
295
295
  `,po=a.div`
296
296
  height: -webkit-fill-available;
297
297
  align-self: center;
298
- `,uo=a(qe)`
298
+ `,uo=a(Ze)`
299
299
  opacity: 0.25;
300
- `;export{Ao as default};
300
+ `;export{zo as default};
@@ -1,4 +1,4 @@
1
- import{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,ab as Ge,o as n,ek as Ne,cW as Ue,cn as ne,co as ie,hm as Re,aK as G,bQ as fe,bz as Oe,b as C,F as K,ap as We,ak as Ye,l as Ve,bY as Ze,bH as ye,ag as j,av as qe,ca as Qe,fc as F,aM as N,y as b,al as X,hn as He,a as Je,B as Ke,am as Xe,cY as et,cf as tt,g1 as nt,c as u,dK as it,fF as ot,ho as rt,n as st,hp as at,bL as ct,aQ as lt}from"./index-DtO5gDKt.js";import{a as g}from"./sentry-BA2-4jVY.js";import{n as i}from"./mui-MIYQj4aF.js";import{FL as dt}from"./zeni-epic-state-DQjAbQ-W.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-DgX7DrI4.js";import{o as ut}from"./shield-DOlUxcFf-CAAyiSZE.js";import{U as mt}from"./ZeniAccountNavBarPieces-DDc-xph4-CZKCVwb-.js";import{v as ht}from"./ZeniTransferAmountSlider-g9qU5Lsq-BvNtSqmK.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./recharts-Ca44ZuG6.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.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]="9524d9d5-91cc-45fa-b630-bf723422fc38",e._sentryDebugIdIdentifier="sentry-dbid-9524d9d5-91cc-45fa-b630-bf723422fc38")}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=J(),v=(c,T)=>Object.entries(T).reduce((M,[A,w])=>M.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{q as J,a9 as Ie,aO as _e,f as De,aW as Ee,aM as Fe,V as t,cn as W,p as o,ac as Ge,o as n,el as Ne,cX as Re,co as ne,cp as ie,hp as Ue,aL as G,bR as fe,bA as Oe,b as C,F as K,aq as We,al as Ye,l as Ve,bZ as qe,bI as ye,ai as j,aw as Ze,cb as Qe,fd as F,aN as N,y as b,am as X,gS as He,M as Je,a as Ke,an as Xe,cZ as et,cg as tt,g2 as nt,d as u,dL as it,fG as ot,hq as rt,n as st,gT as at,bM as ct,aR as lt}from"./index-CO_Updpp.js";import{a as g}from"./sentry-DdXOXL3j.js";import{n as i}from"./mui-ByF8ZmHV.js";import{FS as dt}from"./zeni-epic-state-BiQIJCwr.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-DNmdc0t7.js";import{o as ut}from"./shield-DOlUxcFf-hMFlex27.js";import{U as mt}from"./ZeniAccountNavBarPieces-0h-vfuVY-BqB9OPYl.js";import{v as ht}from"./ZeniTransferAmountSlider-BdZ5l3Hh-C3Uey-AS.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="c4fb15b4-0d55-4650-a569-b0ce758e6fb0",e._sentryDebugIdIdentifier="sentry-dbid-c4fb15b4-0d55-4650-a569-b0ce758e6fb0")}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=J(),v=(c,T)=>Object.entries(T).reduce((M,[A,w])=>M.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{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm 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 Je("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":N("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:M,fetchState:A,summary:w}=e,p=J(),I=qe(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||dt(I.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(H,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(q,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(H,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(q,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(H,{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,{})})})},U=r=>t.jsx(Ut,{color:He(r)});return Qe({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(Mt,{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(It,{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(Nt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Ht,{isClickEnabled:!0,windowSize:p,onClick:()=>a?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(Zt,{children:[U(k),t.jsxs(Jt,{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":N("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":N("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})})},Mt=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 Je("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":N("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:M,fetchState:A,summary:w}=e,p=J(),I=Ze(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||dt(I.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(q,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(q,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(H,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(H,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(H,{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,{})})})},R=r=>t.jsx(Rt,{color:He(r)});return Qe({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(Mt,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Ut,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(It,{windowSize:p,children:[t.jsxs(Zt,{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(Nt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Ht,{isClickEnabled:!0,windowSize:p,onClick:()=>a?.(r.id,r.accountName),"data-testid":N("deposit-account-clicked",r.id),children:[t.jsxs(qt,{children:[R(k),t.jsxs(Jt,{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":N("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":N("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})})},Mt=i.div`
181
181
  display: block;
182
182
  height: 100%;
183
183
  `,It=i.div`
@@ -214,12 +214,12 @@ import{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,
214
214
  ${x.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
215
215
  width: 100%;
216
216
  padding: ${e=>`${n.sp0} ${x.containerSidePadding.valuePx(e.windowSize)}`};
217
- `,Ut=i(at)`
217
+ `,Rt=i(at)`
218
218
  min-width: ${n.sp7};
219
219
  width: ${n.sp7};
220
220
  height: ${n.sp7};
221
221
  margin-right: 12px;
222
- `,Rt=i.div`
222
+ `,Ut=i.div`
223
223
  ${e=>e.windowSize!=="small"?`
224
224
  width: 50%;
225
225
  `:null}
@@ -234,11 +234,11 @@ import{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,
234
234
  margin-left: 2px;
235
235
  `,Vt=i(X)`
236
236
  color: ${e=>e.theme.colors.hero};
237
- `,Zt=i.div`
237
+ `,qt=i.div`
238
238
  display: flex;
239
239
  align-items: center;
240
240
  width: calc(100% - 96px);
241
- `,qt=i.div``,Qt=i.div``,Ht=i.div`
241
+ `,Zt=i.div``,Qt=i.div``,Ht=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)};
@@ -369,11 +369,11 @@ import{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,
369
369
  `,gn=i(Lt)`
370
370
  width: ${n.sp3};
371
371
  height: ${n.sp3};
372
- `,Z=i(j)`
372
+ `,q=i(j)`
373
373
  padding: ${n.sp2} ${n.sp3};
374
374
  color: ${e=>e.theme.colors.hero};
375
375
  border-radius: ${n.sp1};
376
- `,q=i(j)`
376
+ `,Z=i(j)`
377
377
  color: ${e=>e.theme.colors.brandColorPearl};
378
378
  margin-top: ${n.sp2};
379
379
  display: flex;
@@ -387,7 +387,7 @@ import{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,
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:M,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const I=J(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[U,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(),Me=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:a,zeniBankProps:Se,analytics:s});return t.jsxs(fn,{children:[U?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(Ne,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ue(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:I==="medium-compact"||I==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Me,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:M,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:M,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const I=J(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[R,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,U]=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"),U(!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"),U(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Not Now on Bills pop up"),U(!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(),Me=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:a,zeniBankProps:Se,analytics:s});return t.jsxs(fn,{children:[R?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(Ne,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Re(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(Ue,{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:I==="medium-compact"||I==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Me,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:M,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
391
391
  display: flex;
392
392
  min-height: 100%;
393
393
  flex-direction: column;
@@ -422,7 +422,7 @@ import{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,
422
422
  flex-direction: column;
423
423
  align-items: center;
424
424
  `,zn=i.span`
425
- font-weight: ${Ze.medium};
425
+ font-weight: ${qe.medium};
426
426
  margin-left: ${n.sp1};
427
427
  `,Cn=i(Ve)`
428
428
  color: ${o.success};
@@ -0,0 +1,14 @@
1
+ import{aw as N,fQ as _,V as i,aN as O,gY as p,hr as y,F as P,o as r,g_ as B}from"./index-CO_Updpp.js";import{n as f}from"./mui-ByF8ZmHV.js";import{bS as D}from"./zeni-epic-state-BiQIJCwr.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]="36b0c1b0-8d19-46bf-99ae-7292f1b0a063",e._sentryDebugIdIdentifier="sentry-dbid-36b0c1b0-8d19-46bf-99ae-7292f1b0a063")}catch{}})();const n=P.getLocalizedStrings().spendManagement.zeniAccounts,g=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},b={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},I=[m,b,v,M],$=[v,b,m,M],E=({zeniBankProps:e,isBillPayEnabled:a,isExpressPayEnabled:c,analytics:h,onSettingsClick:w})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||_(l),k=D(l.loggedInUserRoleMap),S=g.filter(t=>t.value==="accountStatement"),d=a===!0?I:$,u=c===!0?d:d.filter(t=>t.value!=="sendMoney"),x=k?u:u.filter(t=>t.value!=="payBill");return i.jsxs(A,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?i.jsx(z,{onClick:w,"data-testid":O("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?S:g,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:x,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},z=f(B)`
2
+ cursor: pointer;
3
+ min-width: ${r.sp4};
4
+ width: ${r.sp4};
5
+ height: ${r.sp4};
6
+ color: ${e=>e.theme.colors.hero};
7
+ &:hover {
8
+ color: ${e=>e.theme.colors.primary};
9
+ }
10
+ `,A=f.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,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as he,o,cz as ge,ap as Z,n as D,aM as L,ad as j,F as _,D as we,aV as z,aL as k,aQ as J,bw as je,y as x,p as A,cA as $e,aR as ye,b8 as fe,c as F,a as $,B as C,al as T,ae as Se}from"./index-DtO5gDKt.js";import{a as W}from"./sentry-BA2-4jVY.js";import{n}from"./mui-MIYQj4aF.js";import{M as B}from"./usp-line-BBd1wKwW-DEmztJwW.js";import"./liveblocks-DT2vn74k.js";import"./core-CQbgucwW.js";import"./recharts-Ca44ZuG6.js";import"./zeni-epic-state-DQjAbQ-W.js";import"./lottie-CJgUcH_y.js";import"./analytics-BoRXOtAO.js";import"./lexical-C_NRfmyx.js";import"./utils-4_IeBx6L.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]="f155bcf8-0a3e-435d-bf07-368bac8ff4b4",e._sentryDebugIdIdentifier="sentry-dbid-f155bcf8-0a3e-435d-bf07-368bac8ff4b4")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(F[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,F[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{f as ae,q as v,aO as ce,aw as xe,fQ as me,V as i,bA as pe,fp as ue,l as he,o,cA as ge,aq as J,n as D,aN as F,ae as j,F as _,c as we,aW as z,aM as k,aR as N,bx as je,y as x,p as A,cB as ye,aS as $e,b9 as fe,d as L,M as y,a as C,am as T,af as Se}from"./index-CO_Updpp.js";import{a as W}from"./sentry-DdXOXL3j.js";import{n}from"./mui-ByF8ZmHV.js";import{M as B}from"./usp-line-BBd1wKwW-nbZRH-xL.js";import"./liveblocks-BOlC_Koo.js";import"./core-cG0U1y2d.js";import"./recharts-C9z9JCsM.js";import"./zeni-epic-state-BiQIJCwr.js";import"./lottie-DQ5EyuJ6.js";import"./analytics-GoB8GGlk.js";import"./lexical-CUq6kk0g.js";import"./utils-BMrfBn9K.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]="ff66bc7f-e29a-4827-9948-501bda62479b",e._sentryDebugIdIdentifier="sentry-dbid-ff66bc7f-e29a-4827-9948-501bda62479b")}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%;
@@ -19,7 +19,7 @@ import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as h
19
19
  margin: auto;
20
20
  padding: ${o.sp5} ${o.sp0};
21
21
  color: ${e=>e.theme.colors.primary};
22
- `,q=n.div`
22
+ `,Z=n.div`
23
23
  display: flex;
24
24
  flex-direction: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"||e.windowSize==="medium-regular"?"column":"row"};
25
25
  align-items: center;
@@ -57,25 +57,25 @@ import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as h
57
57
  align-items: center;
58
58
  text-align: start;
59
59
  box-sizing: border-box;
60
- `,y=n(fe)`
60
+ `,$=n(fe)`
61
61
  color: ${e=>e.theme.colors.champion};
62
- `,f=n(ye)`
62
+ `,f=n($e)`
63
63
  color: ${e=>e.theme.colors.champion};
64
- `,S=n(J)`
64
+ `,S=n(N)`
65
65
  color: ${e=>e.theme.colors.champion};
66
- `,b=n($e)`
66
+ `,b=n(ye)`
67
67
  color: ${e=>e.theme.colors.champion};
68
68
  `,p=n.div``,u=n.div`
69
69
  padding-left: ${o.sp3};
70
- `,Q=n(B)`
70
+ `,K=n(B)`
71
71
  color: ${A.graphColor16Dark};
72
- `,X=n(B)`
72
+ `,Q=n(B)`
73
73
  color: ${A.graphColor19Dark};
74
- `,K=n(B)`
74
+ `,X=n(B)`
75
75
  color: ${A.graphColor11};
76
76
  `,ee=n(B)`
77
77
  color: ${A.success};
78
- `,Be=n(J)`
78
+ `,Be=n(N)`
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`
@@ -105,7 +105,7 @@ import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l 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``,Me=n.div`
108
+ `,Y=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,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l 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
+ `,E=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)};
@@ -125,12 +125,12 @@ import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as h
125
125
  border-radius: ${o.sp2};
126
126
  display: flex;
127
127
  flex-direction: column;
128
- `,He=n(T)`
128
+ `,Me=n(T)`
129
129
  padding: ${o.sp2};
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
+ `,V=n.div`
134
134
  width: 100%;
135
135
  height: 298px;
136
136
  display: flex;
@@ -147,11 +147,11 @@ import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as h
147
147
  justify-content: center;
148
148
  flex-direction: column;
149
149
  align-items: flex-end;
150
- `,Le=n(C)`
150
+ `,Fe=n(C)`
151
151
  color: ${e=>e.theme.colors.grey5};
152
152
  padding-right: 12px;
153
153
  ${e=>`${R.insuredAmountStr.style(e.windowSize)}`};
154
- `,Fe=n(T)`
154
+ `,Le=n(T)`
155
155
  color: ${e=>e.theme.colors.grey5};
156
156
  padding-right: 12px;
157
157
  `,We=n(C)`
@@ -162,23 +162,23 @@ import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as h
162
162
  `,Ge=n(T)`
163
163
  color: ${e=>e.theme.colors.brandColorRuby};
164
164
  padding-right: 12px;
165
- `,Ve=n(Z)`
165
+ `,Ye=n(J)`
166
166
  color: ${e=>e.theme.colors.grey5};
167
167
  padding-right: 12px;
168
168
  padding-top: 20px;
169
- `,Ye=n(T)`
169
+ `,Ee=n(T)`
170
170
  color: ${e=>e.theme.colors.grey5};
171
171
  padding-right: 12px;
172
- `,Ee=n(C)`
172
+ `,Ve=n(C)`
173
173
  ${e=>`${R.yAxisAmount.style(e.windowSize)}`};
174
174
  color: ${e=>e.theme.colors.primary};
175
- `,N=n(C)`
175
+ `,q=n(C)`
176
176
  color: ${e=>e.theme.colors.primary};
177
177
  margin-bottom: ${o.sp3};
178
178
  ${e=>`${R.title.style(e.windowSize)}`};
179
- `,Ne=n(Se)`
179
+ `,qe=n(Se)`
180
180
  width: ${e=>h.styledLogoWidth.valuePx(e.windowSize)};
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(N,{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(De,{children:[i.jsx(Le,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Fe,{children:r.iconTexts.insured})]})]})]}),i.jsxs(V,{children:[i.jsx(N,{windowSize:s,children:i.jsx(Ne,{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(He,{children:r.iconTexts.footNote})]}),i.jsx(Me,{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(K,{})}),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(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(S,{children:r.expertSupport.regular})]})]})]})]})},Je=({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(K,{})}),i.jsxs(u,{children:[i.jsx(f,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(y,{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(y,{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(y,{children:r.noHiddenFee.regular})]})]}),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.expertSupport.bold}),i.jsx(y,{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,M]=W.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),M(!0)};W.useEffect(()=>{U==="In-Progress"&&I?.fetchStatus.fetchState==="Completed"&&P?.()},[U,P,I?.fetchStatus]);const H=xe(),de=H.loggedInUserRoleMap.deposit_accounts_user===!0||me(H);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:()=>{M(!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(Je,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:a,children:[i.jsx(D,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":L("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:a,children:r.orText}),i.jsx(D,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":L("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(Y,{children:[i.jsx(q,{windowSize:s,children:r.iconTexts.title}),i.jsxs(E,{windowSize:s,isBankRect:!0,children:[i.jsxs(V,{children:[i.jsx(We,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Ge,{children:r.iconTexts.unInsured})]}),i.jsxs(De,{children:[i.jsx(Fe,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Le,{children:r.iconTexts.insured})]})]})]}),i.jsxs(Y,{children:[i.jsx(q,{windowSize:s,children:i.jsx(qe,{windowSize:s})}),i.jsx(E,{windowSize:s,isBankRect:!1,children:i.jsxs(V,{children:[i.jsx(Ye,{children:e}),i.jsx(Ee,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(Me,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Ve,{windowSize:s,children:l},t))})]})},Je=({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(Z,{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(K,{})}),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(Q,{})}),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(Z,{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(K,{})}),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(Q,{})}),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 M=xe(),de=M.loggedInUserRoleMap.deposit_accounts_user===!0||me(M);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(J,{style:{marginTop:o.sp2},children:r.promoText2})]}),a==="small"||a==="medium-compact"||a==="medium-regular"?i.jsx(Je,{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(D,{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(D,{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};