@zeniai/web-cockpit-ui 1.14.28-qa → 1.14.29-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 (226) hide show
  1. package/dist/assets/{ACHDetailsPage-BJ-dnfPw-0TSjj33a.js → ACHDetailsPage-BFxHvmJd-ByFu178F.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-IQljMycg-CoxCqAgh.js → AIPerformancePage-DlyO-4ri-BpcX0MTN.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-daLN7kJQ-Bwn8Rs2C.js → AccountInfoPage-Ce5hcVyA-DMTNHSLS.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BnEKIQY6-Bzl2rUvn.js → AccountInfoPageContent-gAieeMrA-p4EOrODV.js} +5 -5
  5. package/dist/assets/AccountLockedInfoModal-BSdv6XfU-D1Vnmrv0.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-6JW8I0XP-MgaNevwi.js → AccountReconDetailsDrawerPage-CfxXet8--UsONMXP5.js} +1 -1
  7. package/dist/assets/{AccountRow-vJ-Fr8DF-dx8T6Fsd.js → AccountRow-Bod2_1QW-D-hGmpHq.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-dFdTEnhq-CZKMHk5U.js → AccountsPromoCardStack-Dk3ZVanG-Dm2uyvqy.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-D4P_ajwQ-BvU4DlHw.js → AddAddressForCardDrawer-BWqEsKYC-BObrYWEa.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CHzrdDJP-D8p-yYUZ.js → AddToWalletPage-CehOd-PJ-on8FN-ge.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BHYWYs9A-BDE-qDx6.js → AgingReportsPage-DAP7-9bB-Drn1SIJV.js} +1 -1
  12. package/dist/assets/{AllUserItems-kaXy0cJ_-CNd3-nak.js → AllUserItems-I4cKfaLm-DFs5pKwa.js} +6 -6
  13. package/dist/assets/{ApAgingDetailPage-BmFABpno-CY5xNMKy.js → ApAgingDetailPage-DpCAK2uw-BXtogY7Q.js} +1 -1
  14. package/dist/assets/{AppBasePage-3b4e8alc-TAa34qha.js → AppBasePage-sLzDBcrA-CG7X17G1.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Of5QL5jD-ChhsJzGi.js → AppDrawerContent-Dsj42lRb-BT6OryeP.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Dk5sL0Dm-Dv9azzue.js → ApprovalRulesSettingsPage-BxU7GZ1o-DXY6tUvU.js} +1 -1
  17. package/dist/assets/{ArAgingChart-zBCV3C62-Dq36ljUM.js → ArAgingChart-CUaYV40r-jOfuIy_A.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-r9uxza_I-BsspkhCE.js → ArAgingDetailPage-DZqZLKy5-DCrGwgTr.js} +1 -1
  19. package/dist/assets/{AttachmentView-2JM2KpDo-Bh18VBou.js → AttachmentView-BZxXMELt-BaOrmhpI.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Bn88ZQyY-B_aLXesc.js → BankAccountSection-C-eMzyJG-CFsMOYmA.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CqP30qlx-ClabeBrc.js → BankAccountWarningSection-wjgkG3br-GmGPfYq_.js} +6 -6
  22. package/dist/assets/{BankConnectionsSettingsPage-Cdv6t_B3-qX5-5QoP.js → BankConnectionsSettingsPage-D8MrN0k6-DpjOGdMS.js} +6 -6
  23. package/dist/assets/{BillDetailPage-CpfktvDl-D4Uy-5rx.js → BillDetailPage-yK74O_Dt-XpG4jcGq.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-D9DE_Vce-A1WZO7R5.js → BillPayApprovalRuleDetailPage-D_kdV7c--BkpOd9oo.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DatR_9GC-osk8_qOo.js → BillPayApprovalRulesPage-Cddmo3mA-LLuXe52O.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CNWYf2nB-CBMD5RxD.js → BillPayPromoPage-uVNRC90s-acPGyNO3.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BGo1dXS6-D_5iCRen.js → BillPaySetUpPage-Dd_MhoF5-DiGGX2rT.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-TaomNdoa-CqAsyl-s.js → BillingSettingsPage-YdIAtpZS-BmAyqUje.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-MDJx8O6r-CNeAjQU6.js → BillsBulkReviewDrawerPage-B_JkHP1X-KfMHLTjl.js} +1 -1
  30. package/dist/assets/{BoxItem-CRLLf8CY-Bcvs4I-j.js → BoxItem-DIbpeSiB-B47dtyeF.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CR0VFw7e-CfYiiAsv.js → BusinessVerificationPage--qLJidPg-5WZlrvdU.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-rAv-gh4W-BSBRaT93.js → CardNumberSubText-CoLig9qO-Bb3ukxab.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DmmNt65i-DcFEsp6P.js → CashbackDetailPage-CL2ekC-d-C0Q1yZjK.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CJirTThm-B2OxOE9O.js → ChargeCardDetailPage-C5YK1RTl-FCcaAawm.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BdZZR19X-BbcCD4Cs.js → ChargeCardListPage-C34cXCwZ-DgtkJI2T.js} +8 -8
  36. package/dist/assets/{ChargeCardListTable-BXFjcRNB-Bt7NvMOu.js → ChargeCardListTable-D2MxebdW-QA28WwT6.js} +8 -8
  37. package/dist/assets/{ChargeCardPromoPage-DkBT3XNI-C3oAX2Mk.js → ChargeCardPromoPage-DiamgYrP-XJHQ1I04.js} +6 -6
  38. package/dist/assets/{ChargeCardSetupPage-BUI9rGke-F48qfEoc.js → ChargeCardSetupPage-DwuH7QkV-BwiFFbQs.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DvtO3kDU-rBVchx1D.js → ChargeCardStatementsPage-v2KcWk13-DJm6gUu7.js} +2 -2
  40. package/dist/assets/{ChargeCardUtils-s0f7WDmF-DROWW4W4.js → ChargeCardUtils-zpJF3Rda-Be5yTQoe.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-CpfVlOOJ-DUmatajH.js → ChaseOverlay-DjKikFfn-CLpspWOE.js} +8 -8
  42. package/dist/assets/{CheckDepositDrawerPage-B1gXv1Wl-DpbqqEtI.js → CheckDepositDrawerPage-DRdQ8ewr-jW8DbAWr.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-C8l4zS8O-B2sGnOg4.js → CollapsableReportTable-DeVXK9Wh-CgCz-Q7-.js} +46 -46
  44. package/dist/assets/{CompanyOfficerDetailsSection-2Kp3dlIG-CUj0BZ_V.js → CompanyOfficerDetailsSection--mYIj08P-DM7zsZa7.js} +18 -18
  45. package/dist/assets/{CompanyPassportCard-D9MV32Z4-DRyajerq.js → CompanyPassportCard-BetMObXy-DpYq364M.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-DJ8n927O-AsHU95o1.js → CompanyPassportPage-B61dTsv1-NeDYgziB.js} +1 -1
  47. package/dist/assets/{CompleteProfile-NosC7teS-CWLlcEyL.js → CompleteProfile-DA7CQ4Fe-CsHJVEhv.js} +8 -8
  48. package/dist/assets/{ConfettiBurst-edV2fAAY-F1yC_yIb.js → ConfettiBurst-BHOL5tI9-DwpmJ28Z.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Dca5mbtW-D1a_dFxF.js → CreateOrEditVendorPage-TAwTx0qY-CMUDbBYf.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CBfP6wVk-BAvIP3ds.js → CreditCardPaymentDrawerPage-CrHFOM8I-Ce0iYAOC.js} +11 -11
  51. package/dist/assets/{CreditCardPaymentPlgSection-NL4GrNze-DG9T4yGs.js → CreditCardPaymentPlgSection-BpNE78CU-stoFu9l7.js} +2 -2
  52. package/dist/assets/{CurrencySelectField-VuFtHEC_-MgujTxf_.js → CurrencySelectField-C-RWEZ3_-Dg_ke37X.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DfiWFVnF-Dqu7x6wI.js → CustomerOnboardingActivationPage-CvBia2jV-DhOcfWyg.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-yAYlDV-o-ehXByQiI.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BId2pCpr-DdJ4wVFX.js → CustomerOnboardingDetailPageSkeleton-tEZUFgN4-CtaDPa2W.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Ceu7WsPG-B4hl-bk6.js → CustomerOnboardingNoStepsPage-BArUCUM_-BXJqiQYG.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CqmjziMS-DRhzxTql.js → CustomerOnboardingPage-CbNJqARH-BG0Cktvq.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-B7EUlLRS-BVR61QTK.js → CustomerOnboardingProductSuitePage-B6gjDU3C-D5oHEKiW.js} +1 -1
  59. package/dist/assets/{Dashboard-CZcKIIRw-CE-5cTyX.js → Dashboard-gvIzffJ9-ctPlyJde.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-Tzs7dP4J-CJXrBNuc.js → DashboardReportPage-BJ64WZUp-CCkAXm22.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CJ-5jfvs-Bpd8qkRi.js → DashboardSidebarBackgroundAnimation-DwjZa9es-QdH6U1eL.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-7udg3PVs-bCUHbq1V.js → DepositAccTransactionItem-IAn1U4kN-CjpoAiVy.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-BnjVlIvU-CnjKfm6-.js → DepositAccTransactionListPage-B3SKKNMg-Bi5_9rfL.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-yO0rp42a-QE5oZq2D.js → DomesticWireDetailsPage-C1HRdCmN-DqEwFf10.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-D2klhqsr-BG6f4wfN.js → DownloadOverlay-BmQZLBj6-CeGmrDZU.js} +1 -1
  66. package/dist/assets/{DrawerPage-BTIs3jN0-BvpemFRM.js → DrawerPage-wRZ6m1ya-BwES9IKS.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-DUwEkdAy-CLWYluCR.js → EditPeoplePage-DTu-2Jmo-DpCtBasp.js} +6 -6
  68. package/dist/assets/{EditReimbursementDetailPage-DQEEgz41-CEe4iJ9G.js → EditReimbursementDetailPage-BcMbpbMh-BEOVQHyQ.js} +57 -57
  69. package/dist/assets/{EntityDetailPage-BngjWvj5-B39ZnGmV.js → EntityDetailPage-uRWNa1Xx-CbauyZbo.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CvAlUDlh-BLVWuzIJ.js → EntitySummarySection-BJ-xgnjY-CfCV7KZH.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-HJtMnarE-D17rQNWU.js → ExpenseAutomationOverviewPage-D5Dazh1S-fmHFtSWv.js} +6 -6
  72. package/dist/assets/{ExpenseAutomationPage-C-F6N_gG-BIS-Tg0L.js → ExpenseAutomationPage-QPHgPO-n-D1TwqHJk.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-CvgiD1W2-nUhWOk4F.js → ExpressPayPage-CFjhv8e0-CLdLY2HE.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-BRFVZhfT-COHv5gxz.js → FeaturePreviewPage-WtsZyzLm-CJnmzi4C.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-B7WK_dWR-EqUsRipO.js → FollowStepsSection-n5G8JNUr-j-dHhoyW.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-1yw-Aq21-j7XQFj2A.js → GlobalReviewListPage-BT-_wlme-BfDIRTou.js} +1 -1
  77. package/dist/assets/{HelpButton-C6Iv61BM-BVtByn9F.js → HelpButton-Cejsxx_E-DbOhIKff.js} +1 -1
  78. package/dist/assets/{InformationCardStack-BOnXC_3i-DdV720rh.js → InformationCardStack-DDYokaYB-CswoRqZg.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-CpJLeS5a-UDtClLEP.js → InsightsCardStack-CiwHc2IJ-Cnkau5Ue.js} +1 -1
  80. package/dist/assets/{InsightsSection-CZh1SnGj-c0KP9Cfn.js → InsightsSection-BVuiIwCl-BRBuC4Eu.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-BmmKPNgQ-D94tAFqN.js → IntegrationsSettingsPage-mjEWuOQh-B04ioztv.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Ea4cYrDb-wZ0o6CwL.js → InternationalWireSwiftDetailsPage-oxy_-0Bd-BSdZ96oS.js} +11 -11
  83. package/dist/assets/{InternationalWireVerificationPage-D_EGh2-b-Dg6_MikZ.js → InternationalWireVerificationPage-BEvs1Zzh-B11WyrNv.js} +1 -1
  84. package/dist/assets/{InviteFormPage-DezoHyI1-CCF-T77o.js → InviteFormPage-DNwxbnAY-B-1J9fvc.js} +7 -7
  85. package/dist/assets/{InvitePageListView-N9UnXZ8Z-D0nJHIMH.js → InvitePageListView-B67pRygu-9vQTKQ40.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-DwNLN50N-BrgcV6ty.js → InvitePeoplePage-dQc-xkG2-C3nKdZB6.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-CGZ4FmYr-NkBIRVVd.js → InvoiceUploadSection-gu3WFQvS-DK78m306.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-FfE3V2h5-BjTdoQvx.js → IssueChargeCardPage-ChXG7KhZ-B63rlcKb.js} +28 -28
  89. package/dist/assets/{LabeledAddressValue-DvJrVTYN-BU092m5O.js → LabeledAddressValue-CSsof-tz-D1c4WIxW.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-CTm0OvN8-DLFBRilq.js → LabeledAddressValueField-CSq0Hzf_-Cy8z_cOn.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BnJslVpV-BXpPHegG.js → LabeledControlledCheckBoxField-BDA4nfH4-D0iYyig-.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-Cy0TQ_sm-D3wFmzg1.js → LabeledCreatableSingleSelectField-CyDTS5Be-DLsqnUG_.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-BPen9EG9-DLgtlaxk.js → LabeledDocumentField-DIRpefMQ-LAyXkW2Q.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CgFW6UZE-qRkiRI6D.js → LabeledDropDownFormattedTextField-Dd5B-qHO-La1URpjF.js} +1 -1
  95. package/dist/assets/{LabeledText-D4krUfU4-Dw4AJ7QQ.js → LabeledText-B3z8VP-f-BpT69LKS.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CJ78VxhW-CsTkAvXv.js → LabeledUserSingleSelectWithSubtitlesField-sEaQ7bWc-CTVN56-f.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-o2RQGy6G-BOBCECNE.js → LabeledZeniRolesDropDownField-OjHDEHpY-ZD0JSIcE.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-C3wO777n-enVVZ-3B.js → LinkJETransactionPage-Bwu7V6Nn-CYJtirfN.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-QeOj8rch-i9N08Ch-.js → LowBalancePopup-BH1q738Q-CDbyaR5p.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-CyQqROSQ-CF8LdZMD.js → MagicLinkACHDetailsPage-D7FGZvpj-SLSCCI9C.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BqALNA2T-DdY6mXQK.js → MagicLinkDomesticWireDetailsPage-CeJ9_49p-BB3FpFYq.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DR6HRSOe-BqUhtyl1.js → MagicLinkInternationalWireDetailsPage-BPSLWK-v-0WEG9sQr.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-A7M1b8Bb-CCdQC7WS.js → MagicLinkSuccessPage-DBxwutBP-DCEDIulj.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DquEXuD8-Cbg6TSCG.js → MagicLinkTitleSection-CiKK8TTZ-nbr3M-Lg.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CH-8q7WQ-DSEpjbnF.js → MailingDetailsSection-DZAuNq1S-BtPc-rx6.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js → MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js} +1 -1
  107. package/dist/assets/{Menu-d80Blu70-eyWyCGah.js → Menu-BymbDNVZ-DM3DjWyb.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-BNlGivQQ-CVpQEA1_.js → MyBankConnectionsSettingsPage-9VEiITSS-Bza-Mt8h.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-AAH1Kb40-DSUZ5bun.js → MyPendingActivationChargeCardListPage-Deo4IjpU-DjR3u08U.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-Lq70s8Rf-ZxxTV7CS.js → MyProfileSettingsPage-CDH9zQYt-DO-oYnlS.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-DlcPGBly-D8xKMH1O.js → NavBarWithPicker-BVIRoFkg-uLt3O1KT.js} +1 -1
  112. package/dist/assets/{NavigationArrow-B38APViS-BsBZ4H4_.js → NavigationArrow-nncSGFTK-Bbp-nQcC.js} +1 -1
  113. package/dist/assets/{NavigationDots-BeVhadXT-CV_pkfV2.js → NavigationDots-2l4DJyet-Cj8JLkJu.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-CcM0M2qt-Wj6hNRxG.js → NewGlobalMerchantPage-DJfaQVlP-CNjcIUFo.js} +1 -1
  115. package/dist/assets/{NoDataChart-BdJ9cIfU-h1pEqH_y.js → NoDataChart-BfK5ibkE-Dl5Q_ks_.js} +1 -1
  116. package/dist/assets/{NoDataTable-D5sl7D5L-DQi02bBy.js → NoDataTable-D-wXCbuN-q98oT9c8.js} +1 -1
  117. package/dist/assets/{NotFoundPage-DOrZNbji-D71pPMzw.js → NotFoundPage-8SevFrTd-84hd01on.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-8-tcxTQb-BUSkNtY6.js → NotificationSettingsPage-CnV8oslw-DrvTgihH.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-By-e8Frl-DKMoasJt.js → NotificationsListConfig-ai2MqByd-0wlhqgyM.js} +1 -1
  120. package/dist/assets/{NotificationsPage-DkthdPVD-xUxFkxlZ.js → NotificationsPage-ODo2BWlg-D-S70lpm.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-BSd0ZwXR-BQ1ujNBS.js → OpExByVendorPage-abOvLTT--dMvgq3O1.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-CuI9P5BS.js → OverlayContainerPage-Bmu909Fo-C9bvK7Lv.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-CdXzLIwl-BeWXYuvy.js → PandLWithForecastPage-D9cn6hnq-CC0OcFO_.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CvdwrTFj-DgwIGpc-.js → PaymentAccountSetupBillingAddressSection-BhGNRlcK-CiQSTMi7.js} +1 -1
  125. package/dist/assets/{PeoplePage-D9apqkWO-DLO2x726.js → PeoplePage-C2BcygGZ--G7c8fuu.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-BcQovSMI-_Utb9AcO.js → PortfolioAllocationFormPage-D6MaYDJG-zEJADMC3.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-RS8JuL0p-BaSXdmM6.js → PortfolioDetails-DOWP4IQE-CU70QuaO.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-47vJAdBR-CCJAEyFp.js → ProductsCarousel-EKirw7ua-D-T9J4k_.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-C41gmAao-BjkCmCkU.js → PromoBaseCards-CC4THVdC-6kRLHFkY.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-CRbY0usB-Cr6Q8Ws3.js → QBOConnectionDialog-dwZjMC7l-mqFn9Iuy.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-CAszn53C-C1WPxf80.js → QBOSetupSection-CQHr233V-BhlmfNKw.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BXVaxgJK-P-a1AfKp.js → ReimbursementApprovalRuleDetailPage-o5h1gtQ2-BYxZ453f.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-3kuOwKmm-0jkQnpk8.js → ReimbursementApprovalRulesPage-D3jjV4ml-BDSde1VQ.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-Bi5J9eXE-BK0YT8VH.js → ReimbursementDetailPage-DWfalS3j-BUmxj63M.js} +4 -4
  135. package/dist/assets/{ReimbursementPromoPage-DOOMtWlG-IVZI0rMK.js → ReimbursementPromoPage-6FsYdHUs-DDKWeUAJ.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-Baz_grxU-Cg2rYjs7.js → ReimbursementSetUpPage-DMdLQfnx-BWZ8MYK1.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Dt-HKY5F-CWAQYQiv.js → ReimbursementsBulkReviewDrawerPage-B8FqQ7Xy-CZNoa-Rk.js} +1 -1
  138. package/dist/assets/{ReloadCard-BifFraMi-albWACGt.js → ReloadCard-PlwzuU5x-Cjgf9pT_.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-KNeiMS0F-ClvzQTty.js → ReportTableViewSelector-CWL2S1We-DbUXuzEd.js} +1 -1
  140. package/dist/assets/{ReportsPage-CNkkwysL-Bg6UIsxg.js → ReportsPage-m3klpEFJ-DP2gp0_Z.js} +1 -1
  141. package/dist/assets/{RevenueChart-DzDV07A2-Cyi9DXoa.js → RevenueChart-DcmdF3_p-krx9UW8E.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-BbG4g3E8-DwlGbjf5.js → ReviewDetailsPage-4sQNUTvD-X-E72kD1.js} +11 -11
  143. package/dist/assets/{ReviewOverlay-yQoTr8lD-COjRaZl4.js → ReviewOverlay-DZzuvO3p-Dgv2aEV0.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-BoqVFkyJ-Be7E21z_.js → RoleWithToolTip-Dlkvv78V-CAYGZdA6.js} +2 -2
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CqHZm1Lr-BzN4JcW3.js → ScheduleDetailsFixedAssetsPage-KjW-k5Y7-CGQvcAs2.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-D95MDPLb-CDjB3mQQ.js → ScheduleDetailsPage-CqqblP-w-DvUch-Zi.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-QKBV8Rh6-DyPHPGU1.js → ScheduleSequenceTable-mSOKTTlS-D5ZmhYeE.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-cjhfkp1W.js → ScreenRoutes-BPU1QGQl.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-CivUASk0-C3ChKTix.js → SetUpAccountSection-Phy6Ec2u-fxxQCnq-.js} +10 -10
  150. package/dist/assets/{SetUpDefaultSection-Dpvt1AOg-Ckz4tu8U.js → SetUpDefaultSection-fQGcSH2--i6_Lmo2x.js} +1 -1
  151. package/dist/assets/{SignIn-ChcfkzWu-DEdZKKg-.js → SignIn-C-PFuO0m-D93t7UpP.js} +1 -1
  152. package/dist/assets/{SignInScreen-CZOZVH3L.js → SignInScreen-SukNyBA0.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-CLLEMwQs-BzXZuBc1.js → SpendManagementListViewPage-DChTbWSE-D3wZN3Zk.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-CRiAfSH5-C3stHOlA.js → SpendManagementPerTabPage-D14kKu2e-DCk13Tm7.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-Bt1iw0P4-C-kMkys3.js → SpendManagementSection-f75XRlnr-D0d4hqP2.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-Bunn0CsL-B9t_MQ32.js → SpendMgmtSetupAccountSection-D5iTQjyq-C5Z8ggWG.js} +17 -17
  157. package/dist/assets/{StatementItem-YJO1OB87-78KgPqTZ.js → StatementItem-Cv-OdXSM-OM0kuThg.js} +2 -2
  158. package/dist/assets/{StatementsPage-DSMHcloa-MMbkWMEg.js → StatementsPage-G2-vQ8DB-CvZWWCxB.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-CvfaUdek-B2CfrFbx.js → StatusSwitcher-DxYD5Ja7-AgvsUXg4.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-G4gv3gJ3-DvEpI02Y.js → SubTabSwitcher-BiYp7vuJ-DKSMFUWI.js} +1 -1
  161. package/dist/assets/{SummaryCard-CTVwtanJ-CianRnEj.js → SummaryCard-pyXMhrq3-CbgSatl0.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-5Ec927O3-COWtO35Q.js → TaskManagementPage-CVJYAMAi-CLhRJhsF.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-Duk_cxL3-DDiYjPFH.js → TimeRangeSwitcher-B3et4KjB-UcPLvuaH.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-D2M4wsdx-C9qdvcjh.js → TimeframeSwitcher-CR9lNmBv-CMg3OFl2.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-D40T2StV--3Q3KXsb.js → TimeframeSwitcherWithToggle-Cqg-FqH6-CryRd8o3.js} +1 -1
  166. package/dist/assets/{TopExCard-zr-Bpnxj-D4RYSL5g.js → TopExCard-CtdmvFZO-BZhaXXXe.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-DTUKUnOd-De4dlApE.js → TopExDetailPage-wug5a7Li-zKOp3_ki.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-ozHiGv6U-DHsVek4G.js → TransactionDetailPage-Da7WVq4_-BssMkSGK.js} +1 -1
  169. package/dist/assets/{TransactionList-CSn85b5u-14fiJYV1.js → TransactionList-LjRJxI3M--_Ik0-xu.js} +1 -1
  170. package/dist/assets/{TransactionListBig-C9p2VN54-B0q-S5p6.js → TransactionListBig-Id6PXgvs-ByI2LU9P.js} +1 -1
  171. package/dist/assets/{TransactionListPage-B7LdFKzx-DLoTU0ZB.js → TransactionListPage-kfu55-kS-F0jSh-lJ.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-BtRTh_Xl-9LjYSh20.js → TransactionVendorDetailPage-79YN8dxq-D3b0rV1q.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-DbDJgKfJ-lDnbBBYg.js → TransferDrawerPage-B04LTalY-DbUhLqid.js} +30 -30
  174. package/dist/assets/{TreasuryOverviewPage--G-ivcMv-CmTgh4XH.js → TreasuryOverviewPage-DFJEmdVI-BKtOj5Di.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-sWm8B1Pi-V2YbZDQc.js → TreasuryPromoPage-C1lduNcU-cm0But7g.js} +9 -9
  176. package/dist/assets/{TreasurySetupPage-CZUEtQf8-CZSsmy2z.js → TreasurySetupPage-B1MsJdNE-CF2VtpCQ.js} +5 -5
  177. package/dist/assets/{TreasuryStatementsPage-BGdjejum-AoL8qVHR.js → TreasuryStatementsPage-DpolhjX_-B4TFi13H.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-BwlUJBZF-CzVzcni1.js → TreasuryTaxLetterPage-CzoqotWr-CEZfJnVV.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-CZFWp3tB-HCJedu9Y.js → TreasuryTransferOrReviewPage-0NUKlqGL-DHhoaZ4o.js} +1 -1
  180. package/dist/assets/{TrendChart-UFPnMcoI-CxRVPPzC.js → TrendChart-XplufDEe-70PICXXA.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-lsLibePw-D-A4y3l3.js → TrendWithTransactions-CSog_rOD-B5Jat2Lt.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-rdw9cz7B-C9xl0K4-.js → UncategorizedAccountsMappingPage-C6YrQh4x-BAP01CiK.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-Bb16SBG4-DZCDEZ2u.js → UnitIntegrationPage-q_pa_XH0-CVy-0yVP.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-92iAk-bm-Bk_vB2q9.js → UploadAdditionalDocumentOverlay-BT2BHgsi-mJFaB3wn.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-BDZZ03vf-C7rF6e_v.js → Vendor2FAPopup-DCCV-GUD-CILQySAh.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-7sgvrYPB-DdP_fAfn.js → VendorACHDetailsPage-n8wVldxp-Cv8-r5at.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-BgciBntp-CeMQChGW.js → VendorDetailPage-BQmIH16w-CUAONaJI.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-D7vRzlEy-DO4tm68A.js → VendorDomesticWireDetailsPage-C9IgXF8U-C2gNIP4h.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BLFZOXLa-CcX89CEC.js → VendorFiling1099EditablePage-CX0-Fu3L-S2eSB8Ke.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-BrRiV59P-CKjXOxJs.js → VendorFirstReviewPage-gl_8f-Y--nRmpGB8p.js} +10 -10
  191. package/dist/assets/{VendorInternationalWireDetailsPage-Dg2n9VJ9-BFwCY1xY.js → VendorInternationalWireDetailsPage-CD2LtNey-OBaVpM2T.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-ZpNfAdQB-B3jdKjNK.js → VendorInternationalWireSwiftDetailsPage-CnYpnS9U-BtauKb3Y.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-CrQsOTwQ-CAQX4HLL.js → VendorsAccountsSection-Dowt7g0z-CTKkvdoI.js} +1 -1
  194. package/dist/assets/VerifyDevice-DUrMCdMv-VlaqW0Hs.js +112 -0
  195. package/dist/assets/{VideoPopup-nPxoddQZ-CdmDHHSl.js → VideoPopup-CxKztOGT-DEX7cj2j.js} +1 -1
  196. package/dist/assets/{WarningsDrawerPage-BYG7Y9oJ-B7lPiKXC.js → WarningsDrawerPage-xX0HZSlF-CJywejKM.js} +1 -1
  197. package/dist/assets/{ZeniAccountDetailPage-BGXyRBID-BZ418iHN.js → ZeniAccountDetailPage-CFNnfKrO-BzBMN-G8.js} +1 -1
  198. package/dist/assets/{ZeniAccountListViewPage-DHRgUy1T-BN-yihez.js → ZeniAccountListViewPage-D0l8WQXG-15O9otHi.js} +1 -1
  199. package/dist/assets/{ZeniAccountNavBarPieces-BsTbQ2IN-IEVGnebY.js → ZeniAccountNavBarPieces-DLdFG-gZ-Lg82eLgr.js} +1 -1
  200. package/dist/assets/{ZeniAccountPromoPage-CHyIFO9o-CJDlYl7i.js → ZeniAccountPromoPage-Cz8IxFdk-DxEDI7Ds.js} +1 -1
  201. package/dist/assets/{ZeniAccountSetupPage-CzoKcjEM-CmZcnLIN.js → ZeniAccountSetupPage-ZwqkoXuR-B2kT0Ihw.js} +1 -1
  202. package/dist/assets/{ZeniCopyright-BPbOiRaG-GBwqIx3c.js → ZeniCopyright-CyG9rGnL-Di0O3BP9.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-Bif463bN-CyxUIO5q.js → ZeniTransferAmountSlider-Clgz7h31-7wM3Fk8X.js} +1 -1
  204. package/dist/assets/{analyticsHelper-CCPSiVgE-BvF4dCEw.js → analyticsHelper-BrNbUtQZ-BSs3vRdj.js} +1 -1
  205. package/dist/assets/{analyticsHelper-BphR4l4A.js → analyticsHelper-W4e93670.js} +1 -1
  206. package/dist/assets/{chartTypes-CvYNhWx5-OTU-mvA5.js → chartTypes-D62DZasc-Cg_rpQL9.js} +1 -1
  207. package/dist/assets/{commonDimensions-DS-Ok384-eoq34XUo.js → commonDimensions-DsEmTJ8o-DqHucb_9.js} +1 -1
  208. package/dist/assets/{detailCommon-Jibz39eB-DIPuAks3.js → detailCommon-1Zms5FpC-CjmB02t2.js} +2 -2
  209. package/dist/assets/{downloadPdf-D0tiRCmN-nUHSVanl.js → downloadPdf-B2dA1tl0-DGv4XoQv.js} +1 -1
  210. package/dist/assets/{index-CLgXcFOQ.js → index-DIh8Zr8t.js} +5 -5
  211. package/dist/assets/{mapLoadingInProgressToTreeNode-ZdrDWAuW-DytUr9A8.js → mapLoadingInProgressToTreeNode-CmCO5BRd-C7twjlOe.js} +1 -1
  212. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-pOkMQUF0-dCXvrLxK.js → mapSectionWithAcOnlyToTreeNode-Cr5GnzzL-CsWQb2p6.js} +1 -1
  213. package/dist/assets/{mapSpacerToTreeNode-BaK_ANcF-CJ7Mjo5c.js → mapSpacerToTreeNode-DEwSvjsB--UxLcfaH.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-DHxWRud0-3HZMLbuz.js → mapTimeframeBalancesToTreeNode-7JGJqi3f-Cl4AB4gb.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-BgFH1AIj-DlcFvj8e.js → mapTimeframeBalancesToTreeNode-CjKZMUgV-BiM8A1Hb.js} +1 -1
  216. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CT7PwiPQ-DJUxQoJo.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DlhIK5YN-CEQNqemG.js} +1 -1
  217. package/dist/assets/{toCOABalancesWithID-Bffx9VR7-DAFbSyCZ.js → toCOABalancesWithID-DCjmMFnE-Dpv6R9pI.js} +1 -1
  218. package/dist/assets/{toChartData-BGk1OWTR-D_M9aUPQ.js → toChartData-tGsV_9D9-DDec79o5.js} +1 -1
  219. package/dist/assets/{treasuryColorHelper-B3ItUlG0-Bmsf3BND.js → treasuryColorHelper-jTB0RHjz-Bm7NDFdi.js} +1 -1
  220. package/dist/assets/{uploadAttachment-CVYInC6U-BD5EjufZ.js → uploadAttachment-Bkt_viXo-BERYP2_s.js} +8 -8
  221. package/dist/assets/{uploadReceipts-dxsKhm9I-CT1w2L5u.js → uploadReceipts-dxsKhm9I-Dga8nbrD.js} +1 -1
  222. package/dist/index.html +1 -1
  223. package/package.json +2 -2
  224. package/dist/assets/AccountLockedInfoModal-BS4zHJX3-uCQ1et1s.js +0 -59
  225. package/dist/assets/CustomerOnboardingContainerPage-CPVMgdRa-LrYDzA8w.js +0 -1
  226. package/dist/assets/VerifyDevice-BN-yDYSC-B6tatstC.js +0 -97
@@ -1,4 +1,4 @@
1
- import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4 as $e,o as a,C as c,a3 as Ye,T as dt,ao as ut,r as ft,c7 as De,w as be,s as fe,a2 as ce,f1 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,g as Z,F as Ue,fa as ke,fb as Ae,fJ as xt,bB as Te,fE as $t,h3 as Dt,q as o,d1 as bt,bO as qe,bv as Tt,cG as yt,b6 as Ct,k as Ge,f6 as St,ds as vt,bx as Ze,fd as kt,ff as At}from"./index-CLgXcFOQ.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bif463bN-CyxUIO5q.js";import{r as Lt}from"./AccountInfoPageContent-BnEKIQY6-Bzl2rUvn.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-D0tiRCmN-nUHSVanl.js";import"./commonDimensions-DS-Ok384-eoq34XUo.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),ye=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),Y(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:U,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?U():z(!0)},[U,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&U()},[N,U,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||ye!==ee||s)&&P.reset(Le(r,()=>U()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,ye,ee,X,me,pe,P,r,U]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(y(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Nt,{children:q("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(qt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Te,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Ut,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as G,K as ve,h2 as ct,m as Ne,a4 as $e,o as a,C as c,a3 as Ye,T as dt,ao as ut,r as ft,c7 as De,w as be,s as fe,a2 as ce,f1 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,g as U,F as qe,fa as ke,fb as Ae,fJ as xt,bp as ye,fE as $t,h3 as Dt,q as o,d1 as bt,bO as Ge,bw as yt,cG as Tt,b6 as Ct,k as Je,f6 as St,ds as vt,by as Ue,fd as kt,ff as At}from"./index-DIh8Zr8t.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Clgz7h31-7wM3Fk8X.js";import{r as Lt}from"./AccountInfoPageContent-gAieeMrA-p4EOrODV.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B2dA1tl0-DGv4XoQv.js";import"./commonDimensions-DsEmTJ8o-DqHucb_9.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),Y(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Nt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Ht,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -17,7 +17,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
17
17
  width: 100%;
18
18
  justify-content: space-between;
19
19
  padding: ${a.sp3} ${a.sp4};
20
- background-color: ${Z.importantLight};
20
+ background-color: ${U.importantLight};
21
21
  border-radius: ${a.sp2};
22
22
  `,Rt=n.div`
23
23
  display: flex;
@@ -25,19 +25,19 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
25
25
  `,It=n.div``,Ot=n(bt)`
26
26
  width: ${a.sp4};
27
27
  height: ${a.sp4};
28
- color: ${Z.important};
28
+ color: ${U.important};
29
29
  `,_t=n.div`
30
30
  display: flex;
31
31
  flex-direction: column;
32
32
  margin-left: ${a.sp2};
33
- `,Wt=n(qe)`
34
- color: ${Z.important};
33
+ `,Wt=n(Ge)`
34
+ color: ${U.important};
35
35
  `,Vt=n(fe)`
36
- color: ${Z.important};
37
- `,Nt=n(Tt)`
36
+ color: ${U.important};
37
+ `,Nt=n(yt)`
38
38
  color: ${e=>e.theme.colors.primary};
39
39
  margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
40
- `,je=n(yt)`
40
+ `,je=n(Tt)`
41
41
  border-radius: ${a.sp2};
42
42
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
43
43
  `,Yt=n.div`
@@ -55,20 +55,20 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
55
55
  margin-bottom: ${a.sp3};
56
56
  margin-top: ${a.sp3};
57
57
  white-space: pre-line;
58
- `,ze=n(qe)`
59
- color: ${Z.success};
58
+ `,ze=n(Ge)`
59
+ color: ${U.success};
60
60
  white-space: nowrap;
61
- `,Ut=n(Ct)`
61
+ `,qt=n(Ct)`
62
62
  width: ${a.sp3};
63
63
  color: ${e=>e.theme.colors.hero};
64
64
  height: ${a.sp3};
65
65
  &:hover {
66
66
  color: ${e=>e.theme.colors.primary};
67
67
  }
68
- `,qt=n.div`
68
+ `,Gt=n.div`
69
69
  margin-bottom: ${a.sp6};
70
70
  width: 90%;
71
- `,Gt=n.div`
71
+ `,Jt=n.div`
72
72
  display: flex;
73
73
  align-items: center;
74
74
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -77,7 +77,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
77
77
  background-color: ${e=>e.theme.colors.grey3};
78
78
  border-bottom-right-radius: ${a.sp1};
79
79
  border-bottom-left-radius: ${a.sp1};
80
- `,Zt=n.div`
80
+ `,Ut=n.div`
81
81
  display: flex;
82
82
  flex-direction: row;
83
83
  align-items: center;
@@ -98,7 +98,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
98
98
  color: ${e=>e.theme.colors.primary};
99
99
  }
100
100
  }
101
- `,Jt=n.div`
101
+ `,Zt=n.div`
102
102
  display: ${e=>e.windowSize==="small"?"none":"block"};
103
103
  width: ${a.sp1};
104
104
  height: ${a.sp1};
@@ -111,7 +111,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
111
111
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
112
112
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
113
113
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
114
- `,Ht=n(Ge)`
114
+ `,Ht=n(Je)`
115
115
  color: ${e=>e.theme.colors.hero};
116
116
  `,Qt=n(St)`
117
117
  cursor: pointer;
@@ -179,7 +179,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
179
179
  &:hover {
180
180
  color: ${e=>e.theme.colors.primary};
181
181
  }
182
- `,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},D=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:y,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:J,onFetchLinkTokenClick:E,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:K,setCurrentDrawerContent:H,clearReviewTransferDetail:i,onReviewClick:R,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V})=>{const x=ue(),z=e.reviewTransferDetail,N=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",Y=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Ie,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:N?t.jsxs(t.Fragment,{children:[D.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Re,{children:q("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[D.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Re,{children:q("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:D.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:D.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),V(0),W(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:D.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:H,setShowReviewContent:K,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ie,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:D.transferDrawer.title}):t.jsx(fa,{children:D.transferDrawer.title}),x==="small"?t.jsx(ia,{children:D.transferDrawer.subTitle}):t.jsx(oa,{children:D.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:T,totalBalance:w,onBackClick:J,onSaveChangesToLocalStore:y,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:E,onReviewClick:R,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Y()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:He(Ke),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:D.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
182
+ `,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},D=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:Z,onFetchLinkTokenClick:E,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:K,setCurrentDrawerContent:H,clearReviewTransferDetail:i,onReviewClick:R,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V})=>{const x=ue(),z=e.reviewTransferDetail,N=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",Y=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Ie,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:N?t.jsxs(t.Fragment,{children:[D.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Re,{children:G("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[D.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Re,{children:G("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:D.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:D.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),V(0),W(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:D.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:H,setShowReviewContent:K,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ie,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:D.transferDrawer.title}):t.jsx(fa,{children:D.transferDrawer.title}),x==="small"?t.jsx(ia,{children:D.transferDrawer.subTitle}):t.jsx(oa,{children:D.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:Z,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:E,onReviewClick:R,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Y()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:He(Ke),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:D.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
183
183
  color: ${e=>e.theme.colors.hero};
184
184
  `,ia=n(be)`
185
185
  color: ${e=>e.theme.colors.hero};
@@ -241,10 +241,10 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
241
241
  color: ${e=>e.theme.colors.primary};
242
242
  margin-top: ${a.sp3};
243
243
  margin-bottom: ${a.sp2};
244
- `,G={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},We="wireTransferDetailPage",Ve=e=>`${e}_form`,pa=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=I.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:kt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:T,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const y=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));T(y)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx($t,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(Te,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(ya,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(Ue,{...d,children:t.jsx("form",{id:Ve(We),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(Ta,{windowSize:f,children:e.depositAccounts.map((l,y)=>t.jsx(ba,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx(Dt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(y),t.jsxs(xa,{children:[t.jsx(Da,{windowSize:f,children:l.accountName}),t.jsx($a,{children:q("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ve(We),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
244
+ `,J={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},We="wireTransferDetailPage",Ve=e=>`${e}_form`,pa=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=I.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:kt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx($t,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(ye,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Ta,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(qe,{...d,children:t.jsx("form",{id:Ve(We),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ya,{windowSize:f,children:e.depositAccounts.map((l,T)=>t.jsx(ba,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx(Dt,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(T),t.jsxs(xa,{children:[t.jsx(Da,{windowSize:f,children:l.accountName}),t.jsx($a,{children:G("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ve(We),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
245
245
  height: auto;
246
- padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
247
- padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
246
+ padding-left: ${e=>`${J.containerPaddingLeft.valuePx(e.windowSize)}`};
247
+ padding-right: ${e=>`${J.containerPaddingRight.valuePx(e.windowSize)}`};
248
248
  margin-bottom: auto;
249
249
  `,wa=n.div`
250
250
  display: flex;
@@ -257,7 +257,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
257
257
  overflow: hidden;
258
258
  position: relative;
259
259
  top: 2px;
260
- `,$a=n(Ge)`
260
+ `,$a=n(Je)`
261
261
  color: ${e=>e.theme.colors.grey1};
262
262
  position: relative;
263
263
  top: -${a.sp1};
@@ -267,8 +267,8 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
267
267
  text-transform: capitalize;
268
268
  overflow: hidden;
269
269
  `,ba=n.div`
270
- padding-left: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
271
- padding-right: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
270
+ padding-left: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
271
+ padding-right: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
272
272
  background: ${e=>e.theme.colors.grey5};
273
273
  border: 1px solid ${e=>e.theme.colors.grey3};
274
274
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal} `};
@@ -284,9 +284,9 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
284
284
  border-color: ${e=>e.theme.colors.primary};
285
285
  color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
286
286
  }
287
- `,Ta=n.div`
288
- padding-bottom: ${e=>G.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
289
- `,ya=n(Ze)`
287
+ `,ya=n.div`
288
+ padding-bottom: ${e=>J.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
289
+ `,Ta=n(Ue)`
290
290
  cursor: pointer;
291
291
  color: ${e=>e.theme.colors.hero};
292
292
  width: ${a.sp4};
@@ -302,7 +302,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
302
302
  align-items: center;
303
303
  width: 100%;
304
304
  top: ${a.sp0};
305
- padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
305
+ padding: ${e=>`${J.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
306
306
  z-index: 2;
307
307
  background-color: ${e=>e.theme.colors.grey4};
308
308
  `,Sa=n(De)`
@@ -315,7 +315,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
315
315
  margin-right: ${a.sp2};
316
316
  padding: 12px ${a.sp0};
317
317
  box-sizing: content-box;
318
- `,{common:{navBar:{back:ka}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:T,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(Te,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:T,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
318
+ `,{common:{navBar:{back:ka}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
319
319
  margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
320
320
  margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
321
321
  margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
@@ -323,7 +323,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
323
323
  height: auto;
324
324
  padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
325
325
  margin-bottom: auto;
326
- `,ja=n(Ze)`
326
+ `,ja=n(Ue)`
327
327
  cursor: pointer;
328
328
  color: ${e=>e.theme.colors.hero};
329
329
  width: ${a.sp4};
@@ -352,7 +352,7 @@ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4
352
352
  color: ${e=>e.theme.colors.primary};
353
353
  padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
354
354
  margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
355
- `,Ea=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:T,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[y,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===T));return y&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Ka=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:T,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:y,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:J,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:K,clearReviewTransferDetail:H,onFetchLinkTokenClick:i,plaidConnectionDetails:R})=>{const[W,j]=u.useState(!1),[m,v]=u.useState(!1),[V,x]=u.useState(0),[z,N]=u.useState(0),[Y,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>y.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:W,showAnnualYieldEarned:m,transferAmount:V,yieldEarned:z,totalBalance:Y,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:K,onFetchLinkTokenClick:i,plaidConnectionDetails:R,setCurrentDrawerContent:C,clearReviewTransferDetail:H,onReviewClick:J,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:N,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ea,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:T,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:E})};return t.jsx(Ra,{children:oe()})},Ra=n.div`
355
+ `,Ea=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Ka=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:Z,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:K,clearReviewTransferDetail:H,onFetchLinkTokenClick:i,plaidConnectionDetails:R})=>{const[W,j]=u.useState(!1),[m,v]=u.useState(!1),[V,x]=u.useState(0),[z,N]=u.useState(0),[Y,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>T.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:W,showAnnualYieldEarned:m,transferAmount:V,yieldEarned:z,totalBalance:Y,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:K,onFetchLinkTokenClick:i,plaidConnectionDetails:R,setCurrentDrawerContent:C,clearReviewTransferDetail:H,onReviewClick:Z,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:N,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ea,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:E})};return t.jsx(Ra,{children:oe()})},Ra=n.div`
356
356
  display: flex;
357
357
  flex-direction: column;
358
358
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bB as ae,aX as Ke,v as ie,$ as E,m as Fe,o as i,w as k,g as w,b6 as Ve,C as u,cV as _,J as R,l as V,q as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as We,bg as Le,a6 as Ae,Y as Ee,fq as Ue,gr as Je,K as Ge,s as M,af as Xe,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,k as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-CLgXcFOQ.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-DS-Ok384-eoq34XUo.js";import{g as me}from"./BoxItem-CRLLf8CY-Bcvs4I-j.js";import{l as ne,d as gt}from"./treasuryColorHelper-B3ItUlG0-Bmsf3BND.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=A(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(At,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v as ie,$ as E,m as Fe,o as i,w as k,g as w,b6 as Ve,C as u,cV as _,J as R,l as V,q as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as We,bg as Le,a6 as Ae,Y as Ee,fq as Ue,gr as Je,K as Ge,s as M,af as Xe,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,k as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-DIh8Zr8t.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-DsEmTJ8o-DqHucb_9.js";import{g as me}from"./BoxItem-DIbpeSiB-B47dtyeF.js";import{l as ne,d as gt}from"./treasuryColorHelper-jTB0RHjz-Bm7NDFdi.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=A(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(At,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o as i,iA as je,bB as be,w as S,K,$ as J,J as f,r as F,C as v,g as t,s as H,d7 as Se,bq as ke,T as ze,k as ve,cP as Ce,q as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-CLgXcFOQ.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js";import{l as Re}from"./treasuryColorHelper-B3ItUlG0-Bmsf3BND.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=O(),u=q.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(qe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(Ve,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
1
+ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o as i,iA as je,bp as be,w as S,K,$ as J,J as f,r as q,C as v,g as t,s as H,d7 as Se,br as ke,T as ze,k as ve,cP as Ce,q as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-DIh8Zr8t.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js";import{l as Re}from"./treasuryColorHelper-jTB0RHjz-Bm7NDFdi.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(Ve,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -20,7 +20,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o
20
20
  color: ${e=>e.theme.colors.hero};
21
21
  max-width: 100%;
22
22
  align-self: stretch;
23
- `,qe=o(De)`
23
+ `,Fe=o(De)`
24
24
  cursor: pointer;
25
25
  width: ${i.sp4};
26
26
  height: ${i.sp4};
@@ -28,7 +28,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o
28
28
  &:hover {
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
- `,Fe=S.withComponent("ul"),A=o(Fe)`
31
+ `,qe=S.withComponent("ul"),A=o(qe)`
32
32
  margin: 0;
33
33
  padding-left: ${i.sp4};
34
34
  color: ${e=>e.theme.colors.hero};
@@ -53,7 +53,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  `,Ue=o.span`
55
55
  display: inline;
56
- `,z=0,D=5e6,Xe=1e4,g=q.getLocalizedStrings().spendManagement.treasury.promoPage,E=[g.sliderLabel0,g.sliderLabel1,g.sliderLabel2,g.sliderLabel3,g.sliderLabel4];function We(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Ke=({analytics:e,yieldPercentage:x})=>{const[d,u]=Me.useState(15e5),c=d*x,w=()=>`${(d-z)/(D-z)*100}%`,h=ae(),$=O();return r.jsxs(Je,{windowSize:$,children:[$==="small"?r.jsx(nr,{children:g.sliderTitle}):r.jsx(sr,{children:g.sliderTitle}),r.jsxs(Qe,{children:[$==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(oe,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(se,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ze,{style:{color:h.colors.primary},children:g.sliderPerYear})]}),r.jsxs(Ze,{children:[r.jsx(er,{type:"range",min:z,max:D,step:Xe,value:d,onChange:l=>{const b=Number(l.target.value);u(b),e.trackTreasuryCalculatorClick("Treasury Promo Page",b)},style:{background:`linear-gradient(to right, ${t.success} 0%, ${t.success} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} 100%)`}}),r.jsxs(or,{style:{left:w()},children:[g.sliderTooltipPrefix," ",We(d)]}),r.jsx(rr,{children:E.map((l,b)=>{const _=b/(E.length-1)*D<=d;return r.jsx(ir,{style:{left:`${b/(E.length-1)*100}%`},children:r.jsx(S,{style:{color:_?h.colors.primary:t.neutralGrey1Light},children:l})},b)})})]})]})},Je=o.div`
56
+ `,z=0,D=5e6,Xe=1e4,g=F.getLocalizedStrings().spendManagement.treasury.promoPage,E=[g.sliderLabel0,g.sliderLabel1,g.sliderLabel2,g.sliderLabel3,g.sliderLabel4];function We(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Ke=({analytics:e,yieldPercentage:x})=>{const[d,u]=Me.useState(15e5),c=d*x,w=()=>`${(d-z)/(D-z)*100}%`,h=ae(),$=O();return r.jsxs(Je,{windowSize:$,children:[$==="small"?r.jsx(nr,{children:g.sliderTitle}):r.jsx(sr,{children:g.sliderTitle}),r.jsxs(Qe,{children:[$==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(oe,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(se,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ze,{style:{color:h.colors.primary},children:g.sliderPerYear})]}),r.jsxs(Ze,{children:[r.jsx(er,{type:"range",min:z,max:D,step:Xe,value:d,onChange:l=>{const b=Number(l.target.value);u(b),e.trackTreasuryCalculatorClick("Treasury Promo Page",b)},style:{background:`linear-gradient(to right, ${t.success} 0%, ${t.success} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} 100%)`}}),r.jsxs(or,{style:{left:w()},children:[g.sliderTooltipPrefix," ",We(d)]}),r.jsx(rr,{children:E.map((l,b)=>{const _=b/(E.length-1)*D<=d;return r.jsx(ir,{style:{left:`${b/(E.length-1)*100}%`},children:r.jsx(S,{style:{color:_?h.colors.primary:t.neutralGrey1Light},children:l})},b)})})]})]})},Je=o.div`
57
57
  width: 100%;
58
58
  max-width: ${e=>e.windowSize==="small"?"345px":"726px"};
59
59
  margin: 0 auto;
@@ -67,7 +67,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o
67
67
  gap: ${i.sp2};
68
68
  margin-bottom: ${i.sp4};
69
69
  margin-top: ${i.sp2};
70
- `,oe=o(F)``,se=o(Te)``,Ze=o.div`
70
+ `,oe=o(q)``,se=o(Te)``,Ze=o.div`
71
71
  width: 100%;
72
72
  position: relative;
73
73
  margin-top: ${i.sp4};
@@ -142,13 +142,13 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o
142
142
  font-weight: 500;
143
143
  pointer-events: none;
144
144
  transform: translateX(-50%);
145
- `,sr=o(F)`
145
+ `,sr=o(q)`
146
146
  color: ${e=>e.theme.colors.primary};
147
147
  letter-spacing: -0.01em;
148
148
  `,nr=o(Pe)`
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  letter-spacing: -0.01em;
151
- `,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=q.getLocalizedStrings(),s=ar.treasury.promoPage,j={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},p={uspLogoSize:new v(m[4],m[5]),cardsGap:new v(m[4],m[6]),fundHeaderGap:new v(m[0],m[2]),fundHeaderPadding:new v(m[3],m[4]),fundHighlightsPadding:new v(m[2],m[3]),highlightItemGap:new v(m[0],m[1])},oi=({treasurySetupView:e,isSetupComplete:x,meetingUrl:d,onBackClick:u,onClickMenuIcon:c,onSetupButtonClick:w,onTreasurySetupSuccess:h})=>{const $=ae(),l=O(),b=xe(),[_,V]=P.useState(!1),[de,Y]=P.useState(!1),T=we().analytics,ce=()=>{T.trackTreasurySetupActionClick("schedule_demo"),V(!0)},{treasuryTermsDetails:pe,fundsData:U}=e,G=pe?.fetchStatus.fetchState,X=$e(G),W=U.reduce((n,a)=>{const k=a.yield?.toString()||"0%",N=parseFloat(k.replace("%",""))/100;return Math.max(n,N)},0),he=fe.hasTreasuryAdminLevelAccess(b.loggedInUserRoleMap);P.useEffect(()=>{X==="In-Progress"&&G==="Completed"&&h(x)},[X,h,G,x]);const me=[{title:`${s.usps.upTo} ${(W*100).toFixed(2)}%`,description:s.yieldLabel.trim()},{title:s.usps.insuredFundsAmount,description:s.usps.sipcInsured},{title:s.usps.highLiquidity,description:s.usps.sameDayTransfer},{title:s.usps.autoTransfers,description:s.usps.automateCashManagement}],ge=(n,a)=>n===0?r.jsx(Mr,{theme:a,windowSize:l}):n===1?r.jsx(Br,{theme:a,windowSize:l}):n===2?r.jsx(Rr,{theme:a,windowSize:l}):n===3?r.jsx(Gr,{theme:a,windowSize:l}):null;return r.jsxs(dr,{children:[r.jsx(ye,{title:s.title,backgroundColor:$.colors.grey4,onBackClick:u,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:c,source:"treasury"}),_===!0?r.jsx(Be,{onCancelClick:()=>{V(!1)},meetingUrl:d}):null,r.jsxs(Cr,{windowSize:l,children:[r.jsx(Lr,{windowSize:l,children:s.heading}),r.jsx(Pr,{windowSize:l,children:s.subHeading})]}),r.jsx(cr,{windowSize:l,children:U.map((n,a)=>{const k=Re(a,$);return r.jsxs(pr,{children:[r.jsxs(hr,{windowSize:l,bgColor:k.headerBackground,index:a,children:[r.jsx(mr,{windowSize:l,children:n.fundCode}),r.jsxs("div",{children:[r.jsx(gr,{windowSize:l,color:k.fundNameColor,children:n.fundCompanyName??n.fundName}),r.jsx(ur,{windowSize:l,color:k.fundSubNameColor,children:n.fundName})]})]}),r.jsxs(xr,{windowSize:l,bgColor:k.highlightsBackground,children:[r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[r.jsxs($r,{children:[n.yield,"%"]}),s.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(te,{windowSize:l,children:s.higherReturns})]}),r.jsx(wr,{}),r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[n.liquidityTimeline,s.liquidity,n.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(te,{windowSize:l,children:s.quickPayments})]})]}),r.jsx(fr,{windowSize:l,children:n.description}),r.jsxs(yr,{children:[r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.fundSize]}),r.jsx(B,{color:k.fundNameColor,children:je(n.fundSize,n.currencyCode)})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.maturity]}),r.jsxs(B,{children:[n.maturity,""," ",tr.timeStrings.days]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.expenseRatio]}),r.jsxs(B,{children:[n.expenseRatio,s.expenseRatioSuffix]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.riskRating]}),r.jsx(B,{children:n.riskRating})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.composition]}),r.jsx(B,{children:r.jsxs(br,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,r.jsx(be,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(Sr,{children:[r.jsx(S,{children:s.compositionHeading}),n.compositions.map((N,ue)=>r.jsxs(kr,{children:[r.jsx(zr,{}),r.jsx(S,{children:N.investedIn}),r.jsx(S,{style:{marginLeft:"auto",textAlign:"right"},children:N.percentage})]},ue))]}),children:r.jsxs(vr,{children:["+",n.compositions.length-1]})})]})})]})]}),r.jsxs(jr,{onClick:()=>T.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Promo Page"),windowSize:l,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[s.asOf," ",n.asOfDate.format("MMM D, YYYY"),r.jsx(Nr,{})]})]},n.fundCode)})}),r.jsx(Tr,{windowSize:l,children:r.jsx(Dr,{children:me.map((n,a)=>r.jsxs(Ir,{children:[ge(a,$),r.jsx(Hr,{windowSize:l,children:n.title}),r.jsxs(_r,{windowSize:l,children:[n.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:a===0?"I":a===1?"III":a===2?"II":null})]})]},a))})}),r.jsx(Ke,{analytics:T,yieldPercentage:W}),r.jsxs(Or,{windowSize:l,children:[r.jsxs(qr,{children:[r.jsx(C,{children:s.disclaimer1}),r.jsx(C,{children:s.disclaimer2}),r.jsxs(C,{children:[s.disclaimer3,r.jsx(y,{href:s.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:s.disclaimer3Url})]}),r.jsx(C,{children:s.disclaimer4})]}),r.jsxs(C,{children:[s.agreementP1,r.jsx(y,{href:s.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:s.formCrsText}),r.jsx(L,{}),r.jsx(y,{href:s.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:s.formAdvText}),r.jsx(L,{}),r.jsx(y,{href:s.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.privacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:s.generalDisclosuresText}),r.jsx(L,{}),r.jsx(y,{href:s.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:s.sipcInfoText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniPrivacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniTermsOfServiceText})]}),r.jsx(C,{children:r.jsx(y,{href:"#",onClick:n=>{T.trackTreasuryAgreementView(),n.preventDefault(),Y(!0)},children:s.viewAgreement})})]}),he?r.jsxs(Ar,{windowSize:l,children:[r.jsx(K,{variant:"secondary",label:s.scheduleDemoButton,onClick:ce,"data-testid":J("treasury-schedule-demo-button")}),r.jsx(Er,{windowSize:l,children:"OR"}),r.jsx(K,{variant:"primary",label:x?s.enableButton:s.setupButton,loading:G==="In-Progress",onClick:()=>{T.trackTreasurySetupActionClick(x?"enable_now":"setup"),w()},"data-testid":J("treasury-get-started-button")})]}):null,r.jsx(He,{isOpen:de,onClose:()=>Y(!1)})]})},dr=o.div`
151
+ `,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=F.getLocalizedStrings(),s=ar.treasury.promoPage,j={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},p={uspLogoSize:new v(m[4],m[5]),cardsGap:new v(m[4],m[6]),fundHeaderGap:new v(m[0],m[2]),fundHeaderPadding:new v(m[3],m[4]),fundHighlightsPadding:new v(m[2],m[3]),highlightItemGap:new v(m[0],m[1])},oi=({treasurySetupView:e,isSetupComplete:x,meetingUrl:d,onBackClick:u,onClickMenuIcon:c,onSetupButtonClick:w,onTreasurySetupSuccess:h})=>{const $=ae(),l=O(),b=xe(),[_,V]=P.useState(!1),[de,Y]=P.useState(!1),T=we().analytics,ce=()=>{T.trackTreasurySetupActionClick("schedule_demo"),V(!0)},{treasuryTermsDetails:pe,fundsData:U}=e,G=pe?.fetchStatus.fetchState,X=$e(G),W=U.reduce((n,a)=>{const k=a.yield?.toString()||"0%",N=parseFloat(k.replace("%",""))/100;return Math.max(n,N)},0),he=fe.hasTreasuryAdminLevelAccess(b.loggedInUserRoleMap);P.useEffect(()=>{X==="In-Progress"&&G==="Completed"&&h(x)},[X,h,G,x]);const me=[{title:`${s.usps.upTo} ${(W*100).toFixed(2)}%`,description:s.yieldLabel.trim()},{title:s.usps.insuredFundsAmount,description:s.usps.sipcInsured},{title:s.usps.highLiquidity,description:s.usps.sameDayTransfer},{title:s.usps.autoTransfers,description:s.usps.automateCashManagement}],ge=(n,a)=>n===0?r.jsx(Mr,{theme:a,windowSize:l}):n===1?r.jsx(Br,{theme:a,windowSize:l}):n===2?r.jsx(Rr,{theme:a,windowSize:l}):n===3?r.jsx(Gr,{theme:a,windowSize:l}):null;return r.jsxs(dr,{children:[r.jsx(ye,{title:s.title,backgroundColor:$.colors.grey4,onBackClick:u,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:c,source:"treasury"}),_===!0?r.jsx(Be,{onCancelClick:()=>{V(!1)},meetingUrl:d}):null,r.jsxs(Cr,{windowSize:l,children:[r.jsx(Lr,{windowSize:l,children:s.heading}),r.jsx(Pr,{windowSize:l,children:s.subHeading})]}),r.jsx(cr,{windowSize:l,children:U.map((n,a)=>{const k=Re(a,$);return r.jsxs(pr,{children:[r.jsxs(hr,{windowSize:l,bgColor:k.headerBackground,index:a,children:[r.jsx(mr,{windowSize:l,children:n.fundCode}),r.jsxs("div",{children:[r.jsx(gr,{windowSize:l,color:k.fundNameColor,children:n.fundCompanyName??n.fundName}),r.jsx(ur,{windowSize:l,color:k.fundSubNameColor,children:n.fundName})]})]}),r.jsxs(xr,{windowSize:l,bgColor:k.highlightsBackground,children:[r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[r.jsxs($r,{children:[n.yield,"%"]}),s.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(te,{windowSize:l,children:s.higherReturns})]}),r.jsx(wr,{}),r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[n.liquidityTimeline,s.liquidity,n.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(te,{windowSize:l,children:s.quickPayments})]})]}),r.jsx(fr,{windowSize:l,children:n.description}),r.jsxs(yr,{children:[r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.fundSize]}),r.jsx(B,{color:k.fundNameColor,children:je(n.fundSize,n.currencyCode)})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.maturity]}),r.jsxs(B,{children:[n.maturity,""," ",tr.timeStrings.days]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.expenseRatio]}),r.jsxs(B,{children:[n.expenseRatio,s.expenseRatioSuffix]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.riskRating]}),r.jsx(B,{children:n.riskRating})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.composition]}),r.jsx(B,{children:r.jsxs(br,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,r.jsx(be,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(Sr,{children:[r.jsx(S,{children:s.compositionHeading}),n.compositions.map((N,ue)=>r.jsxs(kr,{children:[r.jsx(zr,{}),r.jsx(S,{children:N.investedIn}),r.jsx(S,{style:{marginLeft:"auto",textAlign:"right"},children:N.percentage})]},ue))]}),children:r.jsxs(vr,{children:["+",n.compositions.length-1]})})]})})]})]}),r.jsxs(jr,{onClick:()=>T.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Promo Page"),windowSize:l,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[s.asOf," ",n.asOfDate.format("MMM D, YYYY"),r.jsx(Nr,{})]})]},n.fundCode)})}),r.jsx(Tr,{windowSize:l,children:r.jsx(Dr,{children:me.map((n,a)=>r.jsxs(Ir,{children:[ge(a,$),r.jsx(Hr,{windowSize:l,children:n.title}),r.jsxs(_r,{windowSize:l,children:[n.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:a===0?"I":a===1?"III":a===2?"II":null})]})]},a))})}),r.jsx(Ke,{analytics:T,yieldPercentage:W}),r.jsxs(Or,{windowSize:l,children:[r.jsxs(Fr,{children:[r.jsx(C,{children:s.disclaimer1}),r.jsx(C,{children:s.disclaimer2}),r.jsxs(C,{children:[s.disclaimer3,r.jsx(y,{href:s.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:s.disclaimer3Url})]}),r.jsx(C,{children:s.disclaimer4})]}),r.jsxs(C,{children:[s.agreementP1,r.jsx(y,{href:s.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:s.formCrsText}),r.jsx(L,{}),r.jsx(y,{href:s.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:s.formAdvText}),r.jsx(L,{}),r.jsx(y,{href:s.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.privacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:s.generalDisclosuresText}),r.jsx(L,{}),r.jsx(y,{href:s.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:s.sipcInfoText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniPrivacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniTermsOfServiceText})]}),r.jsx(C,{children:r.jsx(y,{href:"#",onClick:n=>{T.trackTreasuryAgreementView(),n.preventDefault(),Y(!0)},children:s.viewAgreement})})]}),he?r.jsxs(Ar,{windowSize:l,children:[r.jsx(K,{variant:"secondary",label:s.scheduleDemoButton,onClick:ce,"data-testid":J("treasury-schedule-demo-button")}),r.jsx(Er,{windowSize:l,children:"OR"}),r.jsx(K,{variant:"primary",label:x?s.enableButton:s.setupButton,loading:G==="In-Progress",onClick:()=>{T.trackTreasurySetupActionClick(x?"enable_now":"setup"),w()},"data-testid":J("treasury-get-started-button")})]}):null,r.jsx(He,{isOpen:de,onClose:()=>Y(!1)})]})},dr=o.div`
152
152
  display: flex;
153
153
  flex: 1 1 auto;
154
154
  min-height: 100%;
@@ -321,7 +321,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o
321
321
  letter-spacing: -0.01em;
322
322
  max-width: 896px;
323
323
  ${e=>j.mainHeading.style(e.windowSize)};
324
- `,Pr=o(F)`
324
+ `,Pr=o(q)`
325
325
  color: ${e=>e.theme.colors.primary};
326
326
  letter-spacing: -0.01em;
327
327
  ${e=>j.subHeading.style(e.windowSize)};
@@ -411,7 +411,7 @@ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o
411
411
  @media (max-width: 768px) {
412
412
  padding: ${i.sp3} ${i.sp3};
413
413
  }
414
- `,qr=o.div`
414
+ `,Fr=o.div`
415
415
  display: flex;
416
416
  flex-direction: column;
417
417
  margin-bottom: ${i.sp2};
@@ -1,7 +1,7 @@
1
- import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as qe,q as n,K as Ge,bB as Xe,$ as Ke,cg as Ye,a4 as Ze,o as i,s as ue,c7 as Qe,a3 as et,J as tt,y as it}from"./index-CLgXcFOQ.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-C6Iv61BM-BVtByn9F.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-Dpvt1AOg-Ckz4tu8U.js";import{f as at}from"./SpendMgmtSetupAccountSection-Bunn0CsL-B9t_MQ32.js";import st from"./PortfolioAllocationFormPage-BcQovSMI-_Utb9AcO.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js";import"./ChargeCardUtils-s0f7WDmF-DROWW4W4.js";import"./CreditCardPaymentPlgSection-NL4GrNze-DG9T4yGs.js";import"./ChaseOverlay-CpfVlOOJ-DUmatajH.js";import"./PortfolioDetails-RS8JuL0p-BaSXdmM6.js";import"./treasuryColorHelper-B3ItUlG0-Bmsf3BND.js";const rt=(e,f)=>`${e}.${f}`,B={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,G=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:E,onSendForVerificationClick:I,onCloseOverlay:j})=>{const p=ae(),k=B.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)}}}),[f?.sourceOfFunds])}),W=m=>G[m]??m,M=C.handleSubmit(()=>{I(e?.officerType??"Officer_1")}),P=async(m,w)=>{E(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ge,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ke("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
1
+ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as qe,q as n,K as Ge,bp as Ke,$ as Xe,cg as Ye,a4 as Ze,o as i,s as ue,c7 as Qe,a3 as et,J as tt,y as it}from"./index-DIh8Zr8t.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-Cejsxx_E-DbOhIKff.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-fQGcSH2--i6_Lmo2x.js";import{f as at}from"./SpendMgmtSetupAccountSection-D5iTQjyq-C5Z8ggWG.js";import st from"./PortfolioAllocationFormPage-D6MaYDJG-zEJADMC3.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js";import"./ChargeCardUtils-zpJF3Rda-Be5yTQoe.js";import"./CreditCardPaymentPlgSection-BpNE78CU-stoFu9l7.js";import"./ChaseOverlay-DjKikFfn-CLpspWOE.js";import"./PortfolioDetails-DOWP4IQE-CU70QuaO.js";import"./treasuryColorHelper-jTB0RHjz-Bm7NDFdi.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,G=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)}}}),[f?.sourceOfFunds])}),W=m=>G[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,w)=>{I(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ge,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Ke,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Xe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
2
2
  height: auto;
3
- padding-left: ${e=>`${B.containerPaddingLeft.valuePx(e.windowSize)}`};
4
- padding-right: ${e=>`${B.containerPaddingRight.valuePx(e.windowSize)}`};
3
+ padding-left: ${e=>`${E.containerPaddingLeft.valuePx(e.windowSize)}`};
4
+ padding-right: ${e=>`${E.containerPaddingRight.valuePx(e.windowSize)}`};
5
5
  flex: 1;
6
6
  overflow-y: auto;
7
7
  background-color: ${e=>e.theme.colors.grey4};
@@ -12,7 +12,7 @@ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t
12
12
  align-items: center;
13
13
  width: 100%;
14
14
  top: ${i.sp0};
15
- padding: ${e=>`${B.navBarContainerPaddingYaxis.valuePx(e.windowSize)} ${i.sp0}`};
15
+ padding: ${e=>`${E.navBarContainerPaddingYaxis.valuePx(e.windowSize)} ${i.sp0}`};
16
16
  z-index: 2;
17
17
  `,pt=o(et)`
18
18
  cursor: pointer;
@@ -108,7 +108,7 @@ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t
108
108
  transform: translateX(0%);
109
109
  }
110
110
  }
111
- `,St=e=>a.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),a.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),l={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,n[5],n[5]),sectionRowGap:new u(n[5],n[9],n[9]),iconWidthHeight:new u(20,n[4]),subTitlePaddingTop:new u(12,n[3]),subTitlePaddingBottom:new u(n[3],n[3]),overlayWidth:new u(100,100,59)},$t="treasurySetUpPage",V="payAccount",{commonSetUp:jt,spendManagement:Pt}=ce.getLocalizedStrings(),{zeniAccounts:Ot,treasury:b}=Pt,{setUp:L}=jt,ti=({isDisabled:e,meetingUrl:f,treasurySetupView:c,currentTenant:x,businessVerificationDetails:d,connectedAccountProvider:E,accountsPromoConfig:I,isAccountsEnabled:j,showTreasurySetupOverlay:p,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:D,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:W,onUpdateTreasuryClick:M,onBusinessVerificationSectionClick:P,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionClick:O,onEstablishConnectionSuccess:fe,onClickMenuIcon:me,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe,onUpdateFundAllocation:we,onConfirmFundAllocation:ye,onSignUpClick:be,onNavigateToDashboard:ke})=>{const v=Me().analytics,A=Ue(),s=ae(),[U,H]=a.useState("portfolio-allocation"),[X,Ce]=a.useState(!1),{fetchState:K,companyTreasuryInfo:F,isRefreshingViewInBackground:Y,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:Z,currentAllocation:Pe,portfolioAllocationUpdateStatus:R,isAtomicAccountExists:Oe}=c,Q=se(R.fetchState),T=x.company?.companyBillPayInfo?.businessVerificationStatus,Ae=T?.code==="pending_review"||T?.code==="verified",{companyDetailsLocalData:Fe}=d,_=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>ne(c),[c]),values:ne(c)}),Te=_.handleSubmit(S=>{C()}),ze=async(S,z)=>{const r=z[V];if(S.includes(V)){if(S.includes("fundingAccount")){if(r.fundingAccount.selectedOption!=null&&y?.id!=r.fundingAccount.selectedOption){const g=Z.find(q=>q.id===r.fundingAccount.selectedOption);g!=null&&W(r.fundingAccount.selectedOption,g.accType)}}else if(r.account.selectedOption!=null&&y?.id!=null&&y?.zeniAccountId!=r.account.selectedOption){const g=r.account.allOptions.find(q=>q.value===r.account.selectedOption);g!=null&&typeof g.label=="string"&&v.trackConnectBankLink(g.value,g.label,"zeni_treasury"),M(r.account.selectedOption,y.id,y.accType)}}};a.useEffect(()=>{const S=_.watch((z,{name:r})=>{r!=null&&z!=null&&le(()=>ze(r,z))});return()=>{S.unsubscribe()}}),a.useEffect(()=>{Q==="In-Progress"&&R.fetchState==="Completed"&&U==="portfolio-allocation"&&k(!1)},[Q,R.fetchState]);const ee=F?.businessVerificationStatus?.code==="verified",Le=F?.businessVerificationStatus?.code==="pending_review",Ve=ee||Le,Be=K==="In-Progress"||K==="Not-Started",Ee=b.setup.setupSubTitle,N=A.mode==="light"?new te(A.colors.brandColorJadeLight):new te(A.colors.brandColorJadeDark),Ie=()=>{Ce(!0),k(!0),H("portfolio-allocation")},De=()=>{ye(),X||(v.trackTreasuryVerificationNavigation("next",T?.code??""),Ae?H("additional-verification"):P(!0))},J=()=>{k(!1)},We=()=>{v.trackTreasuryVerificationNavigation("back",T?.code??""),H("portfolio-allocation")};return t.jsxs(Ft,{children:[t.jsxs(He,{anchor:"right",open:p,onClose:J,PaperProps:{style:{width:l.overlayWidth.valuePercentage(s),boxShadow:"none"}},style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:[U==="portfolio-allocation"&&t.jsx(st,{onBackClick:J,onNextClick:De,treasurySetupView:c,onUpdateFundAllocation:we,isReadOnly:Oe&&Pe!=null,isEditMode:X,isOnSetup:!0}),U==="additional-verification"&&t.jsx(ct,{updateStatus:ve,companyOfficer:je,companyDetails:Fe,isDetailsSubmitted:Ve,onClose:We,onCloseOverlay:J,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe})]}),t.jsx(_e,{title:b.setup.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:ke,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:me,source:"treasury"}),t.jsxs(At,{windowSize:s,children:[t.jsx(Tt,{windowSize:s,children:Ee}),Be?t.jsx(zt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsx(de,{..._,children:t.jsx("form",{id:Vt($t),onSubmit:Te,children:t.jsxs(Lt,{windowSize:s,children:[t.jsx(ie,{onClick:Ie,title:b.setup.title,subTitle:b.setup.subTitle,header:b.setup.header,icon:{element:t.jsx(St,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},isLoading:Y,isActiveWhileLoading:!0}),t.jsx(ie,{onClick:()=>P(!1),title:L.businessVerificationTitle,subTitle:L.businessVerificationSubTitle,header:L.businessVerificationHeader,icon:{element:t.jsx(Je,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},status:F?.businessVerificationStatus,isLoading:Y,isActiveWhileLoading:!0,additionalInfo:F?.businessVerificationStatus?.code==="pending_review"?L.businessVerificationAdditionalInfo:void 0}),t.jsx(at,{connectedAccountProvider:E,plaidConnectionDetails:Se,allBankAccounts:$e,sectionId:V,isDisabled:e,header:Ot.accountSectionHeader,onFetchLinkTokenClick:D,onEstablishConnectionClick:O,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(qe,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},analytics:v,productType:"zeni_treasury",onSignUpClick:be,primaryFundingAccount:y,isAccountsEnabled:j,allFundingAccounts:Z,pageName:b.setup.setupPageName,accountsPromoConfig:I})]})})})]}),t.jsx(ot,{isFooterRendered:ee,meetingUrl:f,analytics:v,productType:"zeni_treasury"})]})};function ne(e){const{allBankAccounts:f,allFundingAccounts:c,primaryFundingAccount:x}=e;return{[V]:{fundingAccount:{selectedOption:x?.id,allOptions:c.map(d=>({label:d.label,value:d.id,isRecommended:d.accType==="depositAccount"}))},account:{selectedOption:x?.zeniAccountId,allOptions:f.map(d=>({label:d.accountName,value:d.accountId}))}}}}const At=o.div`
111
+ `,St=e=>a.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),a.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),l={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,n[5],n[5]),sectionRowGap:new u(n[5],n[9],n[9]),iconWidthHeight:new u(20,n[4]),subTitlePaddingTop:new u(12,n[3]),subTitlePaddingBottom:new u(n[3],n[3]),overlayWidth:new u(100,100,59)},$t="treasurySetUpPage",V="payAccount",{commonSetUp:jt,spendManagement:Pt}=ce.getLocalizedStrings(),{zeniAccounts:Ot,treasury:b}=Pt,{setUp:L}=jt,ti=({isDisabled:e,meetingUrl:f,treasurySetupView:c,currentTenant:x,businessVerificationDetails:d,connectedAccountProvider:I,accountsPromoConfig:B,isAccountsEnabled:j,showTreasurySetupOverlay:p,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:D,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:W,onUpdateTreasuryClick:M,onBusinessVerificationSectionClick:P,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionClick:O,onEstablishConnectionSuccess:fe,onClickMenuIcon:me,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe,onUpdateFundAllocation:we,onConfirmFundAllocation:ye,onSignUpClick:be,onNavigateToDashboard:ke})=>{const v=Me().analytics,A=Ue(),s=ae(),[U,H]=a.useState("portfolio-allocation"),[K,Ce]=a.useState(!1),{fetchState:X,companyTreasuryInfo:F,isRefreshingViewInBackground:Y,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:Z,currentAllocation:Pe,portfolioAllocationUpdateStatus:R,isAtomicAccountExists:Oe}=c,Q=se(R.fetchState),T=x.company?.companyBillPayInfo?.businessVerificationStatus,Ae=T?.code==="pending_review"||T?.code==="verified",{companyDetailsLocalData:Fe}=d,_=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>ne(c),[c]),values:ne(c)}),Te=_.handleSubmit(S=>{C()}),ze=async(S,z)=>{const r=z[V];if(S.includes(V)){if(S.includes("fundingAccount")){if(r.fundingAccount.selectedOption!=null&&y?.id!=r.fundingAccount.selectedOption){const g=Z.find(q=>q.id===r.fundingAccount.selectedOption);g!=null&&W(r.fundingAccount.selectedOption,g.accType)}}else if(r.account.selectedOption!=null&&y?.id!=null&&y?.zeniAccountId!=r.account.selectedOption){const g=r.account.allOptions.find(q=>q.value===r.account.selectedOption);g!=null&&typeof g.label=="string"&&v.trackConnectBankLink(g.value,g.label,"zeni_treasury"),M(r.account.selectedOption,y.id,y.accType)}}};a.useEffect(()=>{const S=_.watch((z,{name:r})=>{r!=null&&z!=null&&le(()=>ze(r,z))});return()=>{S.unsubscribe()}}),a.useEffect(()=>{Q==="In-Progress"&&R.fetchState==="Completed"&&U==="portfolio-allocation"&&k(!1)},[Q,R.fetchState]);const ee=F?.businessVerificationStatus?.code==="verified",Le=F?.businessVerificationStatus?.code==="pending_review",Ve=ee||Le,Ee=X==="In-Progress"||X==="Not-Started",Ie=b.setup.setupSubTitle,N=A.mode==="light"?new te(A.colors.brandColorJadeLight):new te(A.colors.brandColorJadeDark),Be=()=>{Ce(!0),k(!0),H("portfolio-allocation")},De=()=>{ye(),K||(v.trackTreasuryVerificationNavigation("next",T?.code??""),Ae?H("additional-verification"):P(!0))},J=()=>{k(!1)},We=()=>{v.trackTreasuryVerificationNavigation("back",T?.code??""),H("portfolio-allocation")};return t.jsxs(Ft,{children:[t.jsxs(He,{anchor:"right",open:p,onClose:J,PaperProps:{style:{width:l.overlayWidth.valuePercentage(s),boxShadow:"none"}},style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:[U==="portfolio-allocation"&&t.jsx(st,{onBackClick:J,onNextClick:De,treasurySetupView:c,onUpdateFundAllocation:we,isReadOnly:Oe&&Pe!=null,isEditMode:K,isOnSetup:!0}),U==="additional-verification"&&t.jsx(ct,{updateStatus:ve,companyOfficer:je,companyDetails:Fe,isDetailsSubmitted:Ve,onClose:We,onCloseOverlay:J,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe})]}),t.jsx(_e,{title:b.setup.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:ke,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:me,source:"treasury"}),t.jsxs(At,{windowSize:s,children:[t.jsx(Tt,{windowSize:s,children:Ie}),Ee?t.jsx(zt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsx(de,{..._,children:t.jsx("form",{id:Vt($t),onSubmit:Te,children:t.jsxs(Lt,{windowSize:s,children:[t.jsx(ie,{onClick:Be,title:b.setup.title,subTitle:b.setup.subTitle,header:b.setup.header,icon:{element:t.jsx(St,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},isLoading:Y,isActiveWhileLoading:!0}),t.jsx(ie,{onClick:()=>P(!1),title:L.businessVerificationTitle,subTitle:L.businessVerificationSubTitle,header:L.businessVerificationHeader,icon:{element:t.jsx(Je,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},status:F?.businessVerificationStatus,isLoading:Y,isActiveWhileLoading:!0,additionalInfo:F?.businessVerificationStatus?.code==="pending_review"?L.businessVerificationAdditionalInfo:void 0}),t.jsx(at,{connectedAccountProvider:I,plaidConnectionDetails:Se,allBankAccounts:$e,sectionId:V,isDisabled:e,header:Ot.accountSectionHeader,onFetchLinkTokenClick:D,onEstablishConnectionClick:O,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(qe,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},analytics:v,productType:"zeni_treasury",onSignUpClick:be,primaryFundingAccount:y,isAccountsEnabled:j,allFundingAccounts:Z,pageName:b.setup.setupPageName,accountsPromoConfig:B})]})})})]}),t.jsx(ot,{isFooterRendered:ee,meetingUrl:f,analytics:v,productType:"zeni_treasury"})]})};function ne(e){const{allBankAccounts:f,allFundingAccounts:c,primaryFundingAccount:x}=e;return{[V]:{fundingAccount:{selectedOption:x?.id,allOptions:c.map(d=>({label:d.label,value:d.id,isRecommended:d.accType==="depositAccount"}))},account:{selectedOption:x?.zeniAccountId,allOptions:f.map(d=>({label:d.accountName,value:d.accountId}))}}}}const At=o.div`
112
112
  display: flex;
113
113
  justify-content: flex-start;
114
114
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,q as d,s as M}from"./index-CLgXcFOQ.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as R}from"./BoxItem-CRLLf8CY-Bcvs4I-j.js";import{o as T}from"./commonDimensions-DS-Ok384-eoq34XUo.js";import{M as E}from"./StatementItem-YJO1OB87-78KgPqTZ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-D0tiRCmN-nUHSVanl.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:s,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=s.statements.length===0,k=()=>T.transactionItemHeightResponsive.value(i),S=({index:a,style:n})=>{const l=s.statements[a];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(a,s.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:f,height:a,width:n,innerRef:y,itemKey:l=>l,itemCount:s.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,q as d,s as M}from"./index-DIh8Zr8t.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as R}from"./BoxItem-DIbpeSiB-B47dtyeF.js";import{o as T}from"./commonDimensions-DsEmTJ8o-DqHucb_9.js";import{M as E}from"./StatementItem-Cv-OdXSM-OM0kuThg.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B2dA1tl0-DGv4XoQv.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:s,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=s.statements.length===0,k=()=>T.transactionItemHeightResponsive.value(i),S=({index:a,style:n})=>{const l=s.statements[a];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(a,s.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:f,height:a,width:n,innerRef:y,itemKey:l=>l,itemCount:s.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,q as d,s as B}from"./index-CLgXcFOQ.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-CRLLf8CY-Bcvs4I-j.js";import{o as M}from"./commonDimensions-DS-Ok384-eoq34XUo.js";import{M as R}from"./StatementItem-YJO1OB87-78KgPqTZ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-D0tiRCmN-nUHSVanl.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>M.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
1
+ import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,q as d,s as B}from"./index-DIh8Zr8t.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-DIbpeSiB-B47dtyeF.js";import{o as M}from"./commonDimensions-DsEmTJ8o-DqHucb_9.js";import{M as R}from"./StatementItem-Cv-OdXSM-OM0kuThg.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B2dA1tl0-DGv4XoQv.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>M.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{e as ge,O as $t,j as o,$ as P,gU as bt,B as xe,a0 as W,K as Ee,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bB as At,cV as tt,J as R,l as z,g1 as kt,g as S,r as Tt,y as ot,w as G,s as X,f1 as Pt,a as Ct,ca as zt,F as Dt,fJ as Lt,q as c,bv as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,k as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Gt,ff as Xt,fo as Yt,ab as qt}from"./index-CLgXcFOQ.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-RS8JuL0p-BaSXdmM6.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-B3ItUlG0-Bmsf3BND.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Ht=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
1
+ import{e as ge,O as $t,j as o,$ as P,gU as bt,B as xe,a0 as W,K as Ee,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bp as At,cV as tt,J as R,l as z,g1 as kt,g as S,r as Tt,y as ot,w as G,s as X,f1 as Pt,a as Ct,ca as zt,F as Dt,fJ as Lt,q as c,bw as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,k as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Gt,ff as Xt,fo as Yt,ab as qt}from"./index-DIh8Zr8t.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-DOWP4IQE-CU70QuaO.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-jTB0RHjz-Bm7NDFdi.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Ht=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{B as $,j as s,l as u,u as B,$ as Y,aj as Z,b7 as z,b8 as F,aw as P,v as k,av as R,ab as O,b9 as q,ax as _,bb as G,o as L,g as K,s as N}from"./index-CLgXcFOQ.js";import{b as v,f as Q,n as w}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as W}from"./chartTypes-CvYNhWx5-OTU-mvA5.js";import{o as X}from"./toCOABalancesWithID-Bffx9VR7-DAFbSyCZ.js";import{V as H}from"./toChartData-BGk1OWTR-D_M9aUPQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const I=w.div`
1
+ import{B as $,j as s,l as u,u as B,$ as Y,aj as Z,b7 as z,b8 as F,aw as P,v as k,av as R,ab as O,b9 as q,ax as _,bb as G,o as L,g as K,s as N}from"./index-DIh8Zr8t.js";import{b as v,f as Q,n as w}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as W}from"./chartTypes-D62DZasc-Cg_rpQL9.js";import{o as X}from"./toCOABalancesWithID-DCjmMFnE-Dpv6R9pI.js";import{V as H}from"./toChartData-tGsV_9D9-DDec79o5.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const I=w.div`
2
2
  display: flex;
3
3
  `,J=w.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as D,j as i,m as R,o as t,B as F,C as c,$ as S,aj as q,am as Y,c7 as E,q as a,s as K,a3 as V}from"./index-CLgXcFOQ.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-UFPnMcoI-CxRVPPzC.js";import{C as _}from"./NoDataChart-BdJ9cIfU-h1pEqH_y.js";import{B as Q}from"./InsightsSection-CZh1SnGj-c0KP9Cfn.js";import{f as X}from"./TransactionList-CSn85b5u-14fiJYV1.js";const Z=n.div`
1
+ import{e as D,j as i,m as R,o as t,B as F,C as c,$ as S,aj as q,am as Y,c7 as E,q as a,s as K,a3 as V}from"./index-DIh8Zr8t.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-XplufDEe-70PICXXA.js";import{C as _}from"./NoDataChart-BfK5ibkE-Dl5Q_ks_.js";import{B as Q}from"./InsightsSection-BVuiIwCl-BRBuC4Eu.js";import{f as X}from"./TransactionList-LjRJxI3M--_Ik0-xu.js";const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,e as se,Y as Ke,a2 as en,g9 as R,hb as J,B as H,a as nn,hc as tn,hd as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as U,he as dn,m as un,hf as Z,hg as pn,a4 as mn,hh as Ve,C as u,s as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,q as d,J as Ae,g as $e,fD as _e,w as Se,aC as xn}from"./index-CLgXcFOQ.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-C6Iv61BM-BVtByn9F.js";import{h as wn}from"./VendorsAccountsSection-CrQsOTwQ-CAQX4HLL.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,e as se,Y as Ke,a2 as en,g9 as R,hb as J,B as H,a as nn,hc as tn,hd as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as U,he as dn,m as un,hf as Z,hg as pn,a4 as mn,hh as Ve,C as u,s as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,q as d,J as Ae,g as $e,fD as _e,w as Se,aC as xn}from"./index-DIh8Zr8t.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-Cejsxx_E-DbOhIKff.js";import{h as wn}from"./VendorsAccountsSection-Dowt7g0z-CTKkvdoI.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};