@zeniai/web-cockpit-ui 1.13.95-dev → 1.13.96-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 (232) hide show
  1. package/dist/assets/{ACHDetailsPage-CTeCxcke-DEZ1DdXH.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DHndW6Jx-BmfxnNcs.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +18 -18
  3. package/dist/assets/{AccountInfoPage-DX6r16Bm-C_0exxSE.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.js → AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js} +19 -19
  5. package/dist/assets/{AccountReconDetailsDrawerPage-XjxpxHaM-BlVBZ7kJ.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +13 -13
  6. package/dist/assets/{AccountRow-BUDNnxLp-lnjPiXai.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +9 -9
  7. package/dist/assets/{AccountsPromoCardStack-BkYuVRiC-CxxRy5F_.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +9 -9
  8. package/dist/assets/{AddAddressForCardDrawer-CaKymF5H-Dj9EwadM.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-CO_ranRc-Y0gvdbgy.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +7 -7
  10. package/dist/assets/{AgingReportsPage-CmvGohzQ-CnwGJP78.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +4 -4
  11. package/dist/assets/{AllUserItems-Bcd_lx2s-D5cL7TJF.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +9 -9
  12. package/dist/assets/{ApAgingDetailPage-B6h9L4qX-C7HrCT0Q.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
  13. package/dist/assets/{AppBasePage-bPmQIx1U-LDUbxoeo.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-D4e_1ju1-Dhj_wy1v.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +5 -5
  15. package/dist/assets/{ApprovalRulesSettingsPage-D7d0RwUR-D1d_wH6A.js → ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js} +1 -1
  16. package/dist/assets/{ArAgingChart-CfBXj53W-SUndSl9y.js → ArAgingChart-D-Z3jfGt-DS-oqmcQ.js} +7 -7
  17. package/dist/assets/{ArAgingDetailPage-D-HZa9vX-DvZl4P3_.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
  18. package/dist/assets/{AttachmentView-BF2v7v3I-BI4HJynu.js → AttachmentView-wIV1i6gf-__2UovKF.js} +1 -1
  19. package/dist/assets/{BankAccountSection-Cm_J2y31-CDMRL_3y.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-BnsmtuKk-DP1_s4k_.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-BawBUQ6M-CMfekVh9.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +41 -41
  22. package/dist/assets/{BillDetailPage-DFHM1n3a-CZEScqpR.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +6 -6
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-PGRG0N6y-BxcnUNyI.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-ByawtRCM-DDp-vV61.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage-BvA5aJV2-CaYtY57T.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
  26. package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
  27. package/dist/assets/{BillingSettingsPage-C0c3igP5-ap-9LOcf.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-ChobILB2-GJEoEUgd.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
  29. package/dist/assets/{BoxItem-qV71vsVl-DibKZa0V.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CYL-J6jv-Dor_XGL3.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +12 -12
  31. package/dist/assets/{CardNumberSubText-BkMaMdcB-ChxBB6AF.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-Bkvu7uCA-BYpe0YrA.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +17 -17
  33. package/dist/assets/{ChargeCardDetailPage-B8JhA6aM-0cEMZGgL.js → ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js} +30 -30
  34. package/dist/assets/{ChargeCardListPage-DayFsVdx-7umY7GOL.js → ChargeCardListPage-rY7_MoJ5-CzPbszY2.js} +15 -15
  35. package/dist/assets/{ChargeCardListTable-Ck15ShIF-B2Jd56oy.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +24 -24
  36. package/dist/assets/{ChargeCardPromoPage-ZvHc9uZ8-BCAw2lta.js → ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js} +6 -6
  37. package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-DlFimewo-dsUOLazz.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-Buf1Xa4X-CfiY3Rp3.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-Cp5-sc7K-q-w46Qrq.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +7 -7
  41. package/dist/assets/{CheckDepositDrawerPage-ClJh5smc-CaqzSYGu.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CKu2AawV-BR9Jh8-F.js → CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js} +59 -59
  43. package/dist/assets/{CompanyOfficerDetailsSection-CHi8zT6M-2vvUSfpo.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +37 -37
  44. package/dist/assets/{CompanyPassportCard-DW8AIAcy-ChQaVIG_.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CG1U8xfQ-z31zr_09.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +35 -35
  46. package/dist/assets/{CompleteProfile-Lnfcm8Mq-A9UckRww.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
  47. package/dist/assets/{ConfettiBurst-Ca6cfnuf-0CP5GWxx.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BuBYOkXS-C5Z5SPL2.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +9 -9
  49. package/dist/assets/{CreditCardPaymentDrawerPage-8d6cEGBi-DeW_T_vn.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentPlgSection-B9DUkdWm-rJN3aibi.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-BUtL_oMC-vjfdBgAC.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-BZIt8djd-6s7QTCQc.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n8n9mzuh-1Pj7fv61.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +8 -8
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-f_PloOrf-B7YeJUhG.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +8 -8
  56. package/dist/assets/{CustomerOnboardingPage-B_vGVChf-BBpgC_P8.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-hXloSEH1-tV_sIlVM.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
  58. package/dist/assets/{Dashboard-DN58fmab-BSfq0dju.js → Dashboard-CsuzQbH0-B5Hgiilv.js} +229 -228
  59. package/dist/assets/{DashboardReportPage-DIx6h5UA-DE9i6tXD.js → DashboardReportPage-BCkrfj3P-CIFdRg6l.js} +15 -15
  60. package/dist/assets/{DepositAccTransactionItem-DNv9nV2t-sabH0i0g.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-CWEabc_8-D6J4mdt4.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +2 -2
  62. package/dist/assets/{DocumentSecurityBanner-B6VGrs_d-jwQl4fBm.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BYIbT0cd-MsB82_Nr.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-RhRX-Goq-0pJzo8tq.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +7 -7
  65. package/dist/assets/{DrawerPage-C01myF5D-L_T-Mi_O.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +6 -6
  66. package/dist/assets/{EditPeoplePage-BMm08q5E-B2z1Cy4i.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +12 -12
  67. package/dist/assets/{EditReimbursementDetailPage-C5FnQpPh-sK_g6wjY.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +27 -27
  68. package/dist/assets/{EntityDetailPage-BkpeRVR1-B6XILqHa.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-DpxcfRng-Umu6Fw_D.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +7 -7
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BJ1ba0Oz-BAbt9eHm.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-C7GKFlgt-B1fB3w-U.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-pgy9CEaP-C4tOK1_E.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-Bpnn3Eao-DWGadm42.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-D4Do4Mtd-Bgez_ajJ.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-D_50hOfK-D74gQQCX.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +9 -9
  76. package/dist/assets/{HelpButton-BBLa-U8R-5BfdLJDT.js → HelpButton-Dv3nbc1Z-CHaoZd0g.js} +1 -1
  77. package/dist/assets/{InformationCardStack-CNCEEO1z-BPT-WizN.js → InformationCardStack-BALkGk48-BWmXScs3.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-BangbyzX-C-dfE00z.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +2 -2
  79. package/dist/assets/{InsightsSection-DNfDisn9-CMHRFpDc.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-ColuS6Tk-CdBeqhKb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BG4x1tCL-5AAkqkwh.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +12 -12
  82. package/dist/assets/{InternationalWireVerificationPage-B22ThS6Q-B85Ehc7_.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +11 -11
  83. package/dist/assets/{InviteFormPage-Cixm85d1-N6lcykk5.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +6 -6
  84. package/dist/assets/{InvitePageListView-DBcwM1lk-DLgO5vEV.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +27 -27
  85. package/dist/assets/{InvitePeoplePage-DIq28HlK-DxgsZvQF.js → InvitePeoplePage-DaN4NSHW-CydccedW.js} +3 -3
  86. package/dist/assets/{InvoiceUploadSection-D5vmrKLq-CaJvqPBS.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-DjW6ZTWB-DVAoNzJY.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +29 -29
  88. package/dist/assets/{LabeledAddressValue-CDidTB7_-BYCZE34N.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CVVc36IB-mrR3y5nG.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-CGN805d2-BvA9NcSn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-PunIRbD6-DSy2bCTv.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +7 -7
  92. package/dist/assets/{LabeledDocumentField-DgGIyJH_-hDHBkxrT.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BDVtmFqG-j2xXgXWn.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
  94. package/dist/assets/{LabeledText-BW7VKf6E-PGkPpMVO.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-M7EEhfxE.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +4 -4
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cl6BAapU-DdwZAoZU.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +15 -15
  97. package/dist/assets/{LinkJETransactionPage-CtYsRhte-gAytw1dS.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +2 -2
  98. package/dist/assets/{LowBalancePopup-C_c9t4ho-r8GHfwbA.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +6 -6
  99. package/dist/assets/{MagicLinkACHDetailsPage-KZmNuH71-eLFzvgps.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DCkibDQs-DjBoqAab.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CR1BJE-p-BVc964tl.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-D9VscY-N-BvVpg8o7.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-DwxRtyUO-Dj3CNxLB.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-B3AtsI4y-Cg3vKD8Z.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-5ibEhgcm-p1sBC8Am.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +1 -1
  106. package/dist/assets/{Menu-B3jEZq8P-CBWyxFfA.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BLqGgTGR-DFR7-MdN.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-GXGFSZqe-DQBMtuje.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CwBD0rUF-Bso1ueKy.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +6 -6
  110. package/dist/assets/{NavBarWithPicker-wTsy1SAG-B0aq1ozI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +2 -2
  111. package/dist/assets/{NavigationArrow-PxVotVGU-BN6LQQ8z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +5 -5
  112. package/dist/assets/{NavigationDots-BhLlf9IS-Cc6rFgNx.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BnXD_AkF-7b5iQIvJ.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +4 -4
  114. package/dist/assets/{NoDataChart-DLfKZ9J--1T9pg2HM.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
  115. package/dist/assets/{NoDataTable-BRKuhxS0-sx0oHeyw.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BD417YGL-rToNH_nB.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-Mb9ed249-CQss7Tea.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +28 -28
  118. package/dist/assets/{NotificationsListConfig-CISUs4yA-Up6zrNe0.js → NotificationsListConfig-BL_MxKXF-CvqrsVs-.js} +1 -1
  119. package/dist/assets/{NotificationsPage-WTGOES7C-D5gXR2ud.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-D4Ur1QRV-CtpvGOvR.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-DLDjA1WL.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DSvdGyym-C1hZzOpv.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +9 -9
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bs8f-d_P-BeYSvOrY.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +7 -7
  124. package/dist/assets/{PeoplePage-ByFdUCgV-C-dQ5ifc.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +17 -17
  125. package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
  126. package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
  127. package/dist/assets/{ProductsCarousel-6mui8g8D-BXwmVYBD.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +5 -5
  128. package/dist/assets/{PromoBaseCards-CASb_Nf9-BmTbWgM7.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-AF50P_eR-DhzipR7w.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +5 -5
  130. package/dist/assets/{QBOSetupSection-hObNFdKz-3XFNnwv5.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +7 -7
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-NuprN06r-BkFlu4jO.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DP8frTz1-BIghkZwb.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-B9F6pND6-DNevCo1s.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +3 -3
  134. package/dist/assets/{ReimbursementPromoPage-CUNbpcAP-BJXAeXWj.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
  135. package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CafTodEa-vUUwSS79.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
  137. package/dist/assets/{ReloadCard-aQ5Ma2ne-srF7XfGP.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-CjZe9dc3-B94C9OUt.js → ReportTableViewSelector-D7B88kS6-BrGIUsj4.js} +9 -9
  139. package/dist/assets/{ReportsPage-PDTasuAQ-CD592IPM.js → ReportsPage-BzMzH-I3-BKZoRCt6.js} +5 -5
  140. package/dist/assets/{RevenueChart-CJYsWcyb-COXSVzci.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-47Qg28PV-DD0ehHxI.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +8 -8
  142. package/dist/assets/{ReviewOverlay-DvYSZ8u9-D1sec7oa.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-DoD_vW-E-xeMdlQFI.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMX7jbBN-B126g4bO.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CNtV2SVn-Ddz0O5ah.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CMrsG_y3-ZI5_od4y.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +14 -14
  147. package/dist/assets/{ScreenRoutes-Xqggk2Tm.js → ScreenRoutes-iE9-v0dJ.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-D3nUQAk8-DKZLa9Zq.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +12 -12
  149. package/dist/assets/{SetUpDefaultSection-C2MgZHUf-x0_RVnLC.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +5 -5
  150. package/dist/assets/{SignIn-Bud28HbX-Xl-uNzmG.js → SignIn-BC8yop4g-CznicFTu.js} +19 -19
  151. package/dist/assets/{SignInScreen-BV0zmhf7.js → SignInScreen-k0dvslKE.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-B8R0PEMD-BbaRv050.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-CTdgMCHu-CAOhzan7.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +30 -30
  154. package/dist/assets/{SpendManagementSection-CnD0V00y-Dmq0cMig.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +1 -1
  155. package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
  156. package/dist/assets/StatementItem-CKTGWEW_-d6SqxmfH.js +31 -0
  157. package/dist/assets/StatementsPage-CjR4AlPy-BQRlcz37.js +58 -0
  158. package/dist/assets/{StatusSwitcher-CxbcO6mR-C4PCbece.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +2 -2
  159. package/dist/assets/{SubTabSwitcher-mCKmnU9--jUtM0Bft.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
  160. package/dist/assets/{SummaryCard-BoA0mdbI-C3rDEBSG.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-CbSLSOpI-BFGgqlJt.js → TaskManagementPage-Oct77yO--igT2quo0.js} +18 -18
  162. package/dist/assets/{TimeRangeSwitcher-DIszv8B4-D-1vIZUO.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-C8tn7HgF-Db6tSjO9.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-DqvG5zv2-DqYusAPI.js → TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js} +1 -1
  165. package/dist/assets/{TopExCard-B2pg-xWB-DR721esp.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-Ch-SwhrE-C3B3fW9M.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
  167. package/dist/assets/{TransactionDetailPage-4ehnnMwj-CxGtpuw5.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +23 -23
  168. package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
  169. package/dist/assets/{TransactionListBig-YrccrGWK-DQRVfhmg.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +6 -6
  170. package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-DIvXenmH-BygJi1pY.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-CK9V-5BR-DZ9c1lfC.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +12 -12
  173. package/dist/assets/{TreasuryOverviewPage-Dhm7htH5-BUj5D_CB.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +26 -26
  174. package/dist/assets/{TreasuryPromoPage-CiE4S4u6-qiSczFzX.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +11 -11
  175. package/dist/assets/{TreasurySetupPage-WygAmXcw-WQiA9bVD.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-zycSYzUL-CE8VEsG8.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-l_CSMKSV-CFFwa7b-.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +5 -5
  178. package/dist/assets/{TreasuryTransferOrReviewPage-CkHJE0PT-CVfr6xd-.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +82 -82
  179. package/dist/assets/{TrendChart-Buu-BMJt-1SixfBeO.js → TrendChart-D3_4i3qH-wYUerKRk.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-C6sLZFPh-CJcdwvxU.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ct1KSgHe-BkPn1VDr.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-DeG7GwFV-BTOJ5_nM.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +2 -2
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BBEBrd1k-C8YmGx6j.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-B2qGbIlK-CbqUscDE.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CIb3Lffi-IjDSrk-_.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-DrZlWYNf-CitGu9Ha.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +12 -12
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BGfsxhx5-BBlyKElB.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DpYIPFDo-Cny4xMig.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-JJMuxJAj-CEkUZQNo.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +68 -68
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B7IVMovj-B5VUl76d.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7y7HA0_-iAtQaOvZ.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CKizD1gN-BJJ_j-nc.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-REjc7j42-TgqIuesy.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +7 -7
  194. package/dist/assets/{ZeniAccountDetailPage-BYQt_cqt-B9TUZXOz.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +21 -21
  195. package/dist/assets/{ZeniAccountListViewPage-DPLQmd2c-BJzMmpCX.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +16 -16
  196. package/dist/assets/{ZeniAccountNavBarPieces-CB_hOCVm-Dgt-KBoE.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-DjbDqqNB-DbFXyEm9.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +15 -15
  198. package/dist/assets/{ZeniAccountSetupPage-BKgmStQ8-DvOkzvTm.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +4 -4
  199. package/dist/assets/{ZeniCopyright-gnzM8wV--B3wiitHw.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-D5uBFeau-CCzhbeOi.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
  201. package/dist/assets/{analyticsHelper-g-8qlEdt.js → analyticsHelper-BbcCIpO1.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Cdzg4Zjw-BD3QBCs9.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
  203. package/dist/assets/{chartTypes-BTdgphvt-COUgSR4v.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
  204. package/dist/assets/{commonDimensions-Ctzi29iY-mgtHXo4p.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
  205. package/dist/assets/{detailCommon-SwpJm2mb--HDCa1ev.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +8 -8
  206. package/dist/assets/{downloadPdf-YcATpN2g-D3XIUalG.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
  207. package/dist/assets/{index-QTXYT_IZ.js → index-DyBH5SZv.js} +1148 -1164
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-C8MSAhen-AfMjxweq.js → mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C0LfGztS-DTztJDdH.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-BBfTCdRQ-bgZlN15f.js → mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DcljRs6K-orb0-qTl.js → mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-ClOTGsb4-B5ylNJVM.js → mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-BCJhDRyN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js} +1 -1
  214. package/dist/assets/{play-icon-DaxUpyZT-ss_3TDIT.js → play-icon-D3OSczih-8eMagn70.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-Vfz3d1qt-Dmwd2xoZ.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
  216. package/dist/assets/{toChartData-CiTmOVzN-DBayRNk7.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-BbkDcDKI-pPmAbCLc.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BLQvpBKI-CHSynwi0.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +1 -1
  219. package/dist/assets/{uploadReceipts-Buvz7DfG-D7H47NIP.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +3 -3
  222. package/dist/assets/BillPaySetUpPage-D4dtDoPF-pJA12_gD.js +0 -42
  223. package/dist/assets/ChargeCardSetupPage-QROShfxq-C4kf_hhx.js +0 -36
  224. package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-CRS91glj.js +0 -1
  225. package/dist/assets/PortfolioAllocationFormPage-BY5JJCu--Db_AJDDA.js +0 -207
  226. package/dist/assets/PortfolioDetails-Du2wncho-DR6hA4On.js +0 -218
  227. package/dist/assets/ReimbursementSetUpPage-ihfYAhDw-BJyrWltl.js +0 -140
  228. package/dist/assets/SpendMgmtSetupAccountSection-D7LHyfpa-46XD5tWn.js +0 -206
  229. package/dist/assets/StatementItem-Dn796WZD-1Rb-SXfR.js +0 -31
  230. package/dist/assets/StatementsPage-L75Co_mK-C_J6xieF.js +0 -58
  231. package/dist/assets/TransactionList-Bds8YVxl-eo-qwfAU.js +0 -147
  232. package/dist/assets/TransactionListPage-EBZJJ3Bb-C5h_p4zd.js +0 -35
@@ -1,4 +1,4 @@
1
- import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3 as Ze,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bt as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,w as W,q as X,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,n as c,bn as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,f as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aP as Nt,bd as Vt,f9 as Yt,fi as Wt,aa as Xt}from"./index-QTXYT_IZ.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-Du2wncho-DR6hA4On.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-BbkDcDKI-pPmAbCLc.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=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(Jt,{sliderValue:s,children:[o.jsx(Zt,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ut(i)},children:o.jsx(ro,{isSelected:s>=h,children:Ht(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.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 Ut=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%"}},Ht=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Zt=r.input`
1
+ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,c as Qe,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cO as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,w as Y,q as X,eX as kt,a as Tt,c3 as Pt,F as Ct,fD as zt,n as c,bm as tt,cW as ot,bH as rt,cz as Dt,cq as Lt,f7 as Ft,e$ as Mt,d2 as Rt,f as Bt,f0 as Ot,dp as It,bY as Et,bX as _t,aP as Nt,bc as Vt,f9 as Wt,fi as Yt,aa as Xt}from"./index-DyBH5SZv.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{U as nt}from"./PortfolioDetails-BMJ6PGMP-DtrA52bw.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-BibNNRS5-DCmyWsB-.js";const Ut=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],qt=1e3;function Gt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=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(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:qt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Kt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Qt(h)})},h))})]})}const Kt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Ut.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 Zt=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%"}},Qt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -46,10 +46,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
46
46
  position: absolute;
47
47
  cursor: pointer;
48
48
  transform: translateX(-50%);
49
- `,ro=r(W)`
49
+ `,ro=r(Y)`
50
50
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
51
51
  white-space: nowrap;
52
- `,no=r(W)`
52
+ `,no=r(Y)`
53
53
  position: absolute;
54
54
  top: -${t.sp5};
55
55
  white-space: nowrap;
@@ -60,15 +60,15 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
60
60
  justify-content: center;
61
61
  align-items: center;
62
62
  padding: 2px ${t.sp2};
63
- `,K={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),reviewContentWrapperPaddingBottom:new f(c[5],c[8]),elementsContainerPadding:new f(c[3],c[4])},Te={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:io},dateFormat:{visual:{DMMMYYYYFormat:ao}},spendManagement:{treasury:{transferDrawer:E},billPay:{insufficientFunds:{lowBalance:so,addOrSwitchInitiateTransfer:lo,lowBalanceIn:co}}}}=we.getLocalizedStrings(),uo=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const s=go(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:s.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.topAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.topAccount?.id??"",!0,s.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.topAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.topAccount?.id??"",!0,!0,!0)})]})]}),ie(s.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),s.arrowDirection==="up"?o.jsx(Wo,{}):o.jsx(Xo,{}),o.jsxs(ce,{style:s.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.bottomAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.bottomAccount?.id??"",!0,s.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.bottomAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.bottomAccount?.id??"",!0,!1,!0)})]})]}),ie(s.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(ue,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"Transfer Funds From"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[e?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ie(e,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),o.jsx(Yo,{}),o.jsxs(ce,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"To"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[u?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ie(u,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]})]})},po=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const n=a.balance;return n?z.checkIfLowBalance(u,n):!0}if("accountBalance"in e){const n=e.accountBalance?.available;return n==null?!1:z.checkIfLowBalance(u,n)}return!1},ho=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:s})=>{const m=ge(),x=St(),v=pe(e.fetchState),[h,i]=w.useState(!1);w.useEffect(()=>{v==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?i(!0):i(!1)},[e.error]);const{fromAccount:$,toAccount:T,amount:A}=e.treasuryTransferMoneyLocalData,p=po($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(Ao,{windowSize:m,children:[o.jsx(Do,{windowSize:m,children:o.jsx(vt,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ee,{"data-testid":P("nav-bar-close-transfer-review"),onClick:s})})}),o.jsx(Lo,{windowSize:m,children:E.reviewAndConfirm}),o.jsx(No,{windowSize:m,children:o.jsx(Je,{amount:A,alwaysShowDecimal:!0,integerStyles:Te.integerStyles.styleObject(m),decimalStyles:Te.decimalStyles.styleObject(m)})}),o.jsx(Co,{}),o.jsx(Vo,{children:o.jsxs(o.Fragment,{children:[E.review.prefix,`"${T?.label}" `,E.success.midfix,` "${$?.label}" `,E.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(ao))]})}),p?o.jsx(jt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:co.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:lo}):null,h?o.jsx(jo,{children:o.jsxs($o,{children:[o.jsxs(ko,{children:[o.jsx(Po,{}),o.jsxs(bo,{children:[o.jsx(So,{children:e.error?.title}),o.jsx(vo,{children:e.error?.message})]})]}),o.jsx(To,{children:o.jsx(Ee,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(zo,{windowSize:m,children:o.jsxs(wo,{windowSize:m,children:[o.jsx(xo,{windowSize:m,children:o.jsx(uo,{fromAccount:$,themeContext:x,toAccount:T,transferDetails:e})}),o.jsx(yo,{children:o.jsx(nt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:fo(e),page:"transfer review"})})]})})]}),o.jsx(Ze,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:E.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:io,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},N=(e,a,u,n,d)=>{if(n===!0)return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(_o,{isForReview:d,children:o.jsx(Lt,{})});const s=e.find(x=>x.id===a),m=e.findIndex(x=>x.id===a);if(s!=null){if(s.accType==="depositAccount")return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:Ft(m)})});if(s.accType==="paymentAccount")return s.logo!==void 0&&(s.logo.base64||s.logo.url)?o.jsx(Oo,{src:mo(s.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(Io,{isOptionSelected:u,isForReview:d,children:o.jsx(Eo,{})})}return null},V=(e,a,u,n,d,s,m)=>{if(!u)return null;if(u===a.id)return(s||!n)&&a.balance?o.jsx(ve,{children:Y("0,0[.]00",a.balance)}):null;const x=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&x?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,x.accountBalance.available)),n===!0&&!s?o.jsx(Mo,{children:x?.maskedAccountNumber}):o.jsxs(Fo,{className:"option-sublabel",children:[o.jsx(ve,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?o.jsx(Bo,{className:"dot"}):null,x?.accountBalance?.available?o.jsxs(ve,{children:[Y("0,0[.]00",x.accountBalance.available),v?o.jsx(Ro,{children:so}):null]}):null,x?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(He,{size:"Small",start:!0}):null]})},mo=e=>e.base64!==void 0?`${Mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",fo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},go=(e,a,u)=>e?.id===u?{topAccount:a,bottomAccount:e,topAccountLabel:"To",bottomAccountLabel:"Transfer Funds From",arrowDirection:"up"}:{topAccount:e,bottomAccount:a,topAccountLabel:"Transfer Funds From",bottomAccountLabel:"To",arrowDirection:"down"},ie=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,ae=r.div`
63
+ `,G={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),reviewContentWrapperPaddingBottom:new f(c[5],c[8]),elementsContainerPadding:new f(c[3],c[4])},Te={pageTitle:new R("h6Regular","h5Regular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")},{common:{edit:io},dateFormat:{visual:{DMMMYYYYFormat:ao}},spendManagement:{treasury:{transferDrawer:E},billPay:{insufficientFunds:{lowBalance:so,addOrSwitchInitiateTransfer:lo,lowBalanceIn:co}}}}=we.getLocalizedStrings(),uo=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:n})=>{const d=ge();if(d==="small"){const s=wo(e,u,n.treasuryAccount.id);return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:s.topAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.topAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.topAccount?.id??"",!0,s.topAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.topAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.topAccount?.id??"",!0,!0,!0)})]})]}),ie(s.topAccount,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),s.arrowDirection==="up"?o.jsx(Xo,{}):o.jsx(Uo,{}),o.jsxs(ce,{style:s.bottomAccount?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:s.bottomAccountLabel}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,s.bottomAccount?.id??"",!0,s.bottomAccount?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[s.bottomAccount?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,s.bottomAccount?.id??"",!0,!1,!0)})]})]}),ie(s.bottomAccount,n.treasuryAccount.id,d,!0)?o.jsx(ue,{}):null]})]})}else return o.jsxs(o.Fragment,{children:[o.jsxs(ce,{style:e?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"Transfer Funds From"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,e?.id??"",!0,e?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[e?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ie(e,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]}),o.jsx(Yo,{}),o.jsxs(ce,{style:u?.id===n.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:d,children:[o.jsx(de,{children:"To"}),o.jsxs(le,{windowSize:d,children:[N(n.transferMoneyParties,u?.id??"",!0,u?.id===n.treasuryAccount.id,!0),o.jsxs(ae,{windowSize:d,children:[u?.label,o.jsx(se,{children:V(n.transferMoneyParties,n.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ie(u,n.treasuryAccount.id,d,!1)?o.jsx(ue,{}):null]})]})},po=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const n=a.balance;return n?z.checkIfLowBalance(u,n):!0}if("accountBalance"in e){const n=e.accountBalance?.available;return n==null?!1:z.checkIfLowBalance(u,n)}return!1},ho=({transferDetails:e,fundDetails:a,portfolioAllocation:u,setShowReviewContent:n,onTransferClick:d,onCancelClick:s})=>{const m=ge(),x=St(),v=pe(e.fetchState),[h,i]=w.useState(!1);w.useEffect(()=>{v==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?i(!0):i(!1)},[e.error]);const{fromAccount:$,toAccount:T,amount:A}=e.treasuryTransferMoneyLocalData,p=po($,e.treasuryAccount,A);return o.jsxs(o.Fragment,{children:[o.jsxs(ko,{windowSize:m,children:[o.jsx(Lo,{windowSize:m,children:o.jsx(vt,{title:"Close",enterTouchDelay:600,placement:"bottom",children:o.jsx(Ee,{"data-testid":P("nav-bar-close-transfer-review"),onClick:s})})}),o.jsx(Fo,{windowSize:m,children:E.reviewAndConfirm}),o.jsx(Vo,{windowSize:m,children:o.jsx(Je,{amount:A,alwaysShowDecimal:!0,integerStyles:Te.integerStyles.styleObject(m),decimalStyles:Te.decimalStyles.styleObject(m)})}),o.jsx(zo,{}),o.jsx(Wo,{children:o.jsxs(o.Fragment,{children:[E.review.prefix,`"${T?.label}" `,E.success.midfix,` "${$?.label}" `,E.review.suffix.replace("__date__",z.zeniDate(z.getNextNthWorkingDay(z.dateNow().toDate(),[0,6],1).toDateString()).format(ao))]})}),p?o.jsx(jt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:co.replace("__account__",$?.id===e.treasuryAccount.id?$?.label??"":`${$?.label??""} ${$?.maskedAccountNumber??""}`),description:lo}):null,h?o.jsx(Ao,{children:o.jsxs(bo,{children:[o.jsxs(To,{children:[o.jsx(Co,{}),o.jsxs(So,{children:[o.jsx(vo,{children:e.error?.title}),o.jsx(jo,{children:e.error?.message})]})]}),o.jsx(Po,{children:o.jsx(Ee,{"data-testid":P("close-error-transfer-review"),onClick:()=>{i(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(Do,{windowSize:m,children:o.jsxs(xo,{windowSize:m,children:[o.jsx(yo,{windowSize:m,children:o.jsx(uo,{fromAccount:$,themeContext:x,toAccount:T,transferDetails:e})}),o.jsx($o,{children:o.jsx(nt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:fo(e),fundAllocations:go(e),page:"transfer review"})})]})})]}),o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:E.review.footNote,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:io,onClick:()=>{i(!1),n(!1)},style:{minWidth:94}},primaryBtn:{label:E.transferBtn,onClick:d,isLoading:e.fetchState==="In-Progress",isDisabled:p,style:{minWidth:94}}})]})},N=(e,a,u,n,d)=>{if(n===!0)return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:S.brandColorGoldDark})});if(a==="")return o.jsx(No,{isForReview:d,children:o.jsx(Lt,{})});const s=e.find(x=>x.id===a),m=e.findIndex(x=>x.id===a);if(s!=null){if(s.accType==="depositAccount")return o.jsx(_e,{isOptionSelected:u,isForReview:d,children:o.jsx(Ne,{color:Ft(m)})});if(s.accType==="paymentAccount")return s.logo!==void 0&&(s.logo.base64||s.logo.url)?o.jsx(Io,{src:mo(s.logo),isOptionSelected:u,isForReview:d,loading:"lazy"}):o.jsx(Eo,{isOptionSelected:u,isForReview:d,children:o.jsx(_o,{})})}return null},V=(e,a,u,n,d,s,m)=>{if(!u)return null;if(u===a.id)return(s||!n)&&a.balance?o.jsx(ve,{children:W("0,0[.]00",a.balance)}):null;const x=e.find(h=>h.id===u);let v=!1;return d===!0&&m!=null&&x?.accountBalance?.available?.amount!=null&&(v=z.checkIfLowBalance(m,x.accountBalance.available)),n===!0&&!s?o.jsx(Ro,{children:x?.maskedAccountNumber}):o.jsxs(Mo,{className:"option-sublabel",children:[o.jsx(ve,{children:x?.maskedAccountNumber}),x?.accountBalance?.available?o.jsx(Oo,{className:"dot"}):null,x?.accountBalance?.available?o.jsxs(ve,{children:[W("0,0[.]00",x.accountBalance.available),v?o.jsx(Bo,{children:so}):null]}):null,x?.balanceFetchStatus?.fetchState==="In-Progress"?o.jsx(Qe,{size:"Small",start:!0}):null]})},mo=e=>e.base64!==void 0?`${Mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",fo=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},go=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},wo=(e,a,u)=>e?.id===u?{topAccount:a,bottomAccount:e,topAccountLabel:"To",bottomAccountLabel:"Transfer Funds From",arrowDirection:"up"}:{topAccount:e,bottomAccount:a,topAccountLabel:"Transfer Funds From",bottomAccountLabel:"To",arrowDirection:"down"},ie=(e,a,u,n)=>u==="small"?e?.id===a&&n:e?.id===a,ae=r.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
- `,se=r(W)`
66
+ `,se=r(Y)`
67
67
  color: ${e=>e.theme.colors.hero};
68
68
  `,le=r(X)`
69
69
  display: flex;
70
70
  align-items: center;
71
- `,wo=r.div`
71
+ `,xo=r.div`
72
72
  display: flex;
73
73
  flex-direction: column;
74
74
  width: 100%;
@@ -76,12 +76,12 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
76
76
  border: 1px solid ${e=>e.theme.colors.grey3};
77
77
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
78
78
  border-radius: ${t.sp2};
79
- padding: ${e=>`${K.elementsContainerPadding.valuePx(e.windowSize)}`};
79
+ padding: ${e=>`${G.elementsContainerPadding.valuePx(e.windowSize)}`};
80
80
  gap: ${t.sp4};
81
81
  ${e=>e.windowSize==="small"&&`
82
82
  width: auto;
83
83
  `}
84
- `,xo=r.div`
84
+ `,yo=r.div`
85
85
  display: flex;
86
86
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
87
87
  justify-content: space-between;
@@ -97,27 +97,27 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
97
97
  border: 1px solid ${e=>e.theme.colors.grey3};
98
98
  border-radius: ${t.sp2};
99
99
  width: ${e=>e.windowSize==="small"?"auto":"288px"};
100
- `,yo=r.div`
100
+ `,$o=r.div`
101
101
  padding: ${t.sp2} ${t.sp3};
102
102
  background-color: ${e=>e.theme.colors.grey4};
103
103
  border: 1px solid ${e=>e.theme.colors.grey1};
104
104
  border-radius: ${t.sp2};
105
- `,$o=r.div`
105
+ `,bo=r.div`
106
106
  display: flex;
107
107
  width: 100%;
108
108
  justify-content: space-between;
109
109
  padding: ${t.sp3} ${t.sp4};
110
110
  background-color: ${S.importantLight};
111
111
  border-radius: ${t.sp2};
112
- `,bo=r.div`
112
+ `,So=r.div`
113
113
  display: flex;
114
114
  flex-direction: column;
115
115
  margin-left: ${t.sp2};
116
- `,So=r(rt)`
116
+ `,vo=r(rt)`
117
117
  color: ${S.important};
118
- `,vo=r(X)`
118
+ `,jo=r(X)`
119
119
  color: ${S.important};
120
- `,jo=r.div`
120
+ `,Ao=r.div`
121
121
  margin-top: ${t.sp3};
122
122
  display: flex;
123
123
  background-color: ${e=>e.theme.colors.grey5};
@@ -126,15 +126,15 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
126
126
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
127
127
  border-radius: ${t.sp2};
128
128
  box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
129
- `,Ao=r.div`
129
+ `,ko=r.div`
130
130
  height: auto;
131
- padding-left: ${e=>`${K.containerPaddingLeft.valuePx(e.windowSize)}`};
132
- padding-right: ${e=>`${K.containerPaddingRight.valuePx(e.windowSize)}`};
131
+ padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
132
+ padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
133
133
  margin-bottom: auto;
134
- `,ko=r.div`
134
+ `,To=r.div`
135
135
  display: flex;
136
136
  align-items: flex-start;
137
- `,To=r.div``,Po=r(ot)`
137
+ `,Po=r.div``,Co=r(ot)`
138
138
  width: ${t.sp4};
139
139
  height: ${t.sp4};
140
140
  color: ${S.important};
@@ -147,65 +147,65 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
147
147
  &:hover {
148
148
  color: ${e=>e.theme.colors.primary};
149
149
  }
150
- `,Co=r.div`
150
+ `,zo=r.div`
151
151
  display: flex;
152
152
  flex: 1;
153
153
  background-color: ${e=>e.theme.colors.grey3};
154
154
  min-height: 1px;
155
155
  max-height: 1px;
156
- `,de=r(W)`
156
+ `,de=r(Y)`
157
157
  color: ${e=>e.theme.colors.hero};
158
- `,zo=r.div`
158
+ `,Do=r.div`
159
159
  display: flex;
160
160
  flex-direction: column;
161
161
  padding-top: ${t.sp3};
162
- padding-bottom: ${e=>`${K.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
163
- `,Do=r.div`
162
+ padding-bottom: ${e=>`${G.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
163
+ `,Lo=r.div`
164
164
  display: flex;
165
165
  flex-direction: row;
166
166
  justify-content: flex-end;
167
167
  align-items: center;
168
168
  width: 100%;
169
169
  top: ${t.sp0};
170
- padding: ${e=>`${K.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
170
+ padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
171
171
  z-index: 2;
172
172
  background-color: transparent;
173
- `,Lo=r(et)`
173
+ `,Fo=r(et)`
174
174
  ${e=>`${Te.pageTitle.style(e.windowSize)}`};
175
175
  color: ${e=>e.theme.colors.primary};
176
176
  padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
177
177
  ${e=>e.windowSize==="small"&&`
178
178
  padding-bottom: ${t.sp0};
179
179
  `}
180
- `,Fo=r(W)`
180
+ `,Mo=r(Y)`
181
181
  color: ${e=>e.theme.colors.hero};
182
182
  display: flex;
183
183
  flex-direction: row;
184
184
  align-items: center;
185
185
  gap: ${t.sp2};
186
- `,Mo=r.span`
186
+ `,Ro=r.span`
187
187
  margin-left: ${t.sp2};
188
- `,ve=r.div``,Ro=r(Vt)`
188
+ `,ve=r.div``,Bo=r(Vt)`
189
189
  color: ${e=>e.theme.colors.brandColorGoldDark};
190
190
  margin-left: ${t.sp1};
191
- `,Bo=r.div`
191
+ `,Oo=r.div`
192
192
  width: ${t.sp1};
193
193
  height: ${t.sp1};
194
194
  min-width: ${t.sp1};
195
195
  background-color: ${e=>e.theme.colors.grey1};
196
196
  border-radius: 50%;
197
- `,Oo=r.img`
197
+ `,Io=r.img`
198
198
  display: flex;
199
199
  width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
200
200
  height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
201
201
  min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
202
202
  margin-right: ${t.sp2};
203
- `,Io=r.div`
203
+ `,Eo=r.div`
204
204
  min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
205
205
  width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
206
206
  height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
207
207
  margin-right: ${t.sp2};
208
- `,Eo=r(Wt)`
208
+ `,_o=r(Yt)`
209
209
  min-width: inherit;
210
210
  width: inherit;
211
211
  height: inherit;
@@ -215,37 +215,37 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
215
215
  width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
216
216
  height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
217
217
  margin-right: ${t.sp2};
218
- `,Ne=r(Yt)`
218
+ `,Ne=r(Wt)`
219
219
  min-width: inherit;
220
220
  width: inherit;
221
221
  height: inherit;
222
222
  margin-right: ${t.sp2};
223
- `,_o=r.div`
223
+ `,No=r.div`
224
224
  width: ${e=>e.isForReview?t.sp6:t.sp4};
225
225
  height: ${e=>e.isForReview?t.sp6:t.sp4};
226
226
  margin-right: 12px;
227
227
  margin-left: ${t.sp1};
228
228
  color: ${e=>e.theme.colors.hero};
229
- `,No=r(tt)`
229
+ `,Vo=r(tt)`
230
230
  color: ${e=>e.theme.colors.primary};
231
231
  margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
232
232
  ${e=>e.windowSize==="small"&&`
233
233
  margin-top: ${t.sp1};
234
234
  margin-bottom: ${t.sp1};
235
235
  `}
236
- `,Vo=r(X)`
236
+ `,Wo=r(X)`
237
237
  color: ${e=>e.theme.colors.hero};
238
238
  margin-top: ${t.sp3};
239
239
  `,Yo=r(Nt)`
240
240
  width: ${t.sp4};
241
241
  height: ${t.sp4};
242
242
  color: ${e=>e.theme.colors.hero};
243
- `,Wo=r(Et)`
243
+ `,Xo=r(Et)`
244
244
  width: ${t.sp4};
245
245
  height: ${t.sp4};
246
246
  color: ${e=>e.theme.colors.hero};
247
247
  align-self: center;
248
- `,Xo=r(_t)`
248
+ `,Uo=r(_t)`
249
249
  width: ${t.sp4};
250
250
  height: ${t.sp4};
251
251
  color: ${e=>e.theme.colors.hero};
@@ -257,7 +257,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
257
257
  position: absolute;
258
258
  right: 50%;
259
259
  bottom: -25px;
260
- `,{common:je,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:qo},billPay:{insufficientFunds:Ve}}}=we.getLocalizedStrings(),it="amount",Go="transferTo",Ko="transferFrom",_="transferDetails",at="transferDetailPage",Ae=(e,a)=>`${e}.${a}`,st=e=>`${e}_form`,g={largeLabelWidth:new f(120,120,160),labeleMarginLeft:new f(c[0],c[0]),labelMarginRight:new f(c[3],c[3]),labeleMarginBottom:new f(c[2],c[0]),labeledFieldPaddingLeft:new f(c[3],c[0]),labeledFieldPaddingRight:new f(c[3],c[2]),labeledFieldPaddingTop:new f(c[3],c[3]),labeledFieldPaddingBottom:new f(c[3],c[2]),infoLabelPaddingRight:new f(c[0],c[3]),infoLabelMarginTop:new f(c[1],c[0]),portfolioContainerPadding:new f(c[3],c[4]),rowContentSelectPaddingLeft:new f(c[3],c[4]),formFieldPaddingRight:new f(0,c[2])},me={yieldEarned:new R("smallMedium","standardMedium"),calculatorFooterText:new R("extraSmallRegular","smallRegular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")};function Qo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onReviewClick:x,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=w.useState(!1),[p,C]=w.useState(!1),[B,U]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((l,y)=>{const j=y.yield;return Math.max(l,j)},0),[H,Z]=w.useState(he(B,O)),b=s.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[J,ze]=w.useState(!1),[De,Le]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Fe=pe(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Me=pe($e),Re=pe(be),lt=w.useCallback(l=>{v?.(l),Le(!1),ze(!1)},[v]),ct=w.useCallback((l,y)=>{l!=null&&console.log("Plaid Connection Error",l,y)},[]),{open:ee,ready:q}=kt({token:D,onSuccess:lt,onExit:ct}),G=w.useCallback(l=>{l.preventDefault(),l.stopPropagation(),q?ee():ze(!0)},[ee,q]),I=Tt({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>Ye(e,n,G),[e,n])}),{isValid:dt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),w.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&q&&Le(!0)},[q,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{De&&J&&ee()},[De,ee,J]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{(Fe==="In-Progress"&&ye==="Completed"||Me!==$e||Re!==be)&&I.reset(Ye(e,n,G))},[q,D,b.fetchStatus.fetchState,Fe,ye,Me,Re,be,$e,I,e,n,G]);const ut=()=>e.transferMoneyParties.find(l=>l.id!==e.treasuryAccount.id&&l.accType==="depositAccount"),pt=()=>{const l=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===l)},ht=async(l,y)=>{if(l!=null){const j={...y},te=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let re=e.transferMoneyParties.find(Se=>Se.id===te),ne=e.transferMoneyParties.find(Se=>Se.id===oe);te===e.treasuryAccount.id&&(re=e.treasuryAccount),oe===e.treasuryAccount.id&&(ne=e.treasuryAccount);const Oe={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};l.includes("transferFrom")?te===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=ut()):ne=e.treasuryAccount:l.includes("transferTo")&&(oe===e.treasuryAccount.id?te===e.treasuryAccount.id&&(re=pt()):re=e.treasuryAccount);const wt={amount:Oe,fromAccount:re,toAccount:ne};U(Oe.amount),m(wt)}};w.useEffect(()=>{const l=I.watch((y,{name:j})=>{j!=null&&y!=null&&Pt(()=>ht(j,y))});return()=>{l.unsubscribe()}}),w.useEffect(()=>{Z(he(B,O))},[B,O]);const mt=I.handleSubmit(()=>{dt&&x()}),{fromAccount:ft,toAccount:Be,amount:L}=e.treasuryTransferMoneyLocalData,gt=l=>{if(!l||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===l);if(l===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Ve.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ve.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Uo,{children:o.jsxs(Zo,{children:[o.jsxs(Jo,{children:[o.jsx(tr,{}),o.jsxs(or,{children:[o.jsx(rr,{children:e.error?.title}),o.jsx(nr,{children:e.error?.message})]})]}),o.jsx(er,{children:o.jsx(lr,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(ir,{windowSize:i,children:o.jsx(Je,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Ct,{...I,children:o.jsxs(Ho,{id:st(at),onSubmit:mt,children:[o.jsxs(ar,{children:[o.jsx(Pe,{size:i,children:o.jsx(We,{label:{label:je.labels.transferFrom,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Ko),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!0,!1,L),defaultValue:{selectedOption:ft?.id,allOptions:fe(e,!0,n,!0,G,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}},valueToAdditionalLabel:gt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(Pe,{size:i,children:o.jsx(We,{label:{label:je.labels.transferTo,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Go),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!1,!1),defaultValue:{selectedOption:Be?.id,allOptions:fe(e,!1,n,!0,G,!1)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})]}),o.jsx(ke,{}),o.jsx(zt,{showAdditionalInfoLabel:!1,label:{label:je.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Ae(_,it),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(sr,{size:i,children:o.jsx(nt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Be?.accType==="treasuryAccount"&&o.jsxs(cr,{children:[p?o.jsxs(dr,{children:[o.jsx(ur,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",Y("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(Kt,{interestRate:O,transferAmount:B,setYieldEarned:Z,setTransferAmount:U})]}):null,o.jsxs(hr,{windowSize:i,children:[o.jsxs(gr,{windowSize:i,children:[o.jsx(mr,{children:o.jsx(pr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${Y("0,0",{amount:H,currencySymbol:"$"})}`})}),o.jsx(fr,{windowSize:i}),o.jsx(wr,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${Y("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(qe,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(xr,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(qe,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx(yr,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,s=!1,m,x)=>{const v=e.treasuryTransferMoneyLocalData.fromAccount?.id,h=e.treasuryTransferMoneyLocalData.toAccount?.id,i=e.transferMoneyParties.find(p=>p.id===v)||e.treasuryAccount,$=e.transferMoneyParties.find(p=>p.id===h)||e.treasuryAccount;let T=e.transferMoneyParties;a||(T=T.filter(p=>p.accType!=="paymentAccount"));const A=T.map(p=>{const C={label:p.label,value:p.id};return n&&(a?C.isDisabled=p.id===h||p.accType==="paymentAccount"&&$?.accType==="paymentAccount":C.isDisabled=p.id===v||p.accType==="paymentAccount"&&i?.accType==="paymentAccount"),C});if(!u){const p={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};n&&(a?p.isDisabled=!1:p.isDisabled=e.treasuryAccount.id===v),a?A.push(p):A.unshift(p)}if(s&&d){const p={label:qo.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},Ye=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:s}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[it]:s.amount===0?void 0:s.amount,transferFrom:{allOptions:fe(e,!0,a,!0,u,!0),selectedOption:n!=null?n.id:e.primaryPaymentAccount?.paymentAccountId},transferTo:{allOptions:fe(e,!1,a,!0,u,!1),selectedOption:d?.id}}}},Uo=r.div`
260
+ `,{common:je,spendManagement:{treasury:M,zeniAccounts:{zeniAccountList:qo},billPay:{insufficientFunds:Ve}}}=we.getLocalizedStrings(),it="amount",Go="transferTo",Ko="transferFrom",_="transferDetails",at="transferDetailPage",Ae=(e,a)=>`${e}.${a}`,st=e=>`${e}_form`,g={largeLabelWidth:new f(120,120,160),labeleMarginLeft:new f(c[0],c[0]),labelMarginRight:new f(c[3],c[3]),labeleMarginBottom:new f(c[2],c[0]),labeledFieldPaddingLeft:new f(c[3],c[0]),labeledFieldPaddingRight:new f(c[3],c[2]),labeledFieldPaddingTop:new f(c[3],c[3]),labeledFieldPaddingBottom:new f(c[3],c[2]),infoLabelPaddingRight:new f(c[0],c[3]),infoLabelMarginTop:new f(c[1],c[0]),portfolioContainerPadding:new f(c[3],c[4]),rowContentSelectPaddingLeft:new f(c[3],c[4]),formFieldPaddingRight:new f(0,c[2])},me={yieldEarned:new R("smallMedium","standardMedium"),calculatorFooterText:new R("extraSmallRegular","smallRegular"),integerStyles:new R("h5Regular","h2Regular"),decimalStyles:new R("extraLargeMedium","h5Medium")};function Zo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:n,maxInsuredAmount:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onReviewClick:x,onEstablishConnectionClick:v,onFetchLinkTokenClick:h}){const i=ge(),$=g.largeLabelWidth.value(i),[T,A]=w.useState(!1),[p,C]=w.useState(!1),[B,Z]=w.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),O=a.reduce((l,y)=>{const j=y.yield;return Math.max(l,j)},0),[Q,H]=w.useState(he(B,O)),b=s.link_account_no_microdeposit,[D,xe]=w.useState(b.linkToken??null),[J,ze]=w.useState(!1),[De,Le]=w.useState(!1),ye=e.transferMoneyPartiesFetchState,Fe=pe(ye),$e=e.treasuryTransferMoneyLocalData.fromAccount?.id,be=e.treasuryTransferMoneyLocalData.toAccount?.id,Me=pe($e),Re=pe(be),lt=w.useCallback(l=>{v?.(l),Le(!1),ze(!1)},[v]),ct=w.useCallback((l,y)=>{l!=null&&console.log("Plaid Connection Error",l,y)},[]),{open:ee,ready:U}=kt({token:D,onSuccess:lt,onExit:ct}),q=w.useCallback(l=>{l.preventDefault(),l.stopPropagation(),U?ee():ze(!0)},[ee,U]),I=Tt({mode:"all",reValidateMode:"onChange",defaultValues:w.useMemo(()=>We(e,n,q),[e,n])}),{isValid:dt}=I.formState;w.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==D&&xe(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,D]),w.useEffect(()=>{b.linkToken===D&&b.fetchStatus.fetchState==="Completed"&&U&&Le(!0)},[U,D,b.fetchStatus,b.linkToken,b.fetchStatus.fetchState]),w.useEffect(()=>{De&&J&&ee()},[De,ee,J]),w.useEffect(()=>{(z.zeniDate(new Date().toISOString()).isAfter(b.expiration)||b.linkToken==null)&&h?.("link_account_no_microdeposit")},[]),w.useEffect(()=>{(Fe==="In-Progress"&&ye==="Completed"||Me!==$e||Re!==be)&&I.reset(We(e,n,q))},[U,D,b.fetchStatus.fetchState,Fe,ye,Me,Re,be,$e,I,e,n,q]);const ut=()=>e.transferMoneyParties.find(l=>l.id!==e.treasuryAccount.id&&l.accType==="depositAccount"),pt=()=>{const l=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(y=>y.id===l)},ht=async(l,y)=>{if(l!=null){const j={...y},te=j[_].transferFrom.selectedOption,oe=j[_].transferTo.selectedOption;let re=e.transferMoneyParties.find(Se=>Se.id===te),ne=e.transferMoneyParties.find(Se=>Se.id===oe);te===e.treasuryAccount.id&&(re=e.treasuryAccount),oe===e.treasuryAccount.id&&(ne=e.treasuryAccount);const Oe={amount:j[_].amount??0,currencyCode:"USD",currencySymbol:"$"};l.includes("transferFrom")?te===e.treasuryAccount.id?oe===e.treasuryAccount.id&&(ne=ut()):ne=e.treasuryAccount:l.includes("transferTo")&&(oe===e.treasuryAccount.id?te===e.treasuryAccount.id&&(re=pt()):re=e.treasuryAccount);const wt={amount:Oe,fromAccount:re,toAccount:ne};Z(Oe.amount),m(wt)}};w.useEffect(()=>{const l=I.watch((y,{name:j})=>{j!=null&&y!=null&&Pt(()=>ht(j,y))});return()=>{l.unsubscribe()}}),w.useEffect(()=>{H(he(B,O))},[B,O]);const mt=I.handleSubmit(()=>{dt&&x()}),{fromAccount:ft,toAccount:Be,amount:L}=e.treasuryTransferMoneyLocalData,gt=l=>{if(!l||!L.amount)return"";const y=e.transferMoneyParties.find(j=>j.id===l);if(l===e.treasuryAccount.id){const j=e.treasuryAccount.balance;if(j&&z.checkIfLowBalance(L,j))return Ve.addMoney}else if(y?.accountBalance?.available&&z.checkIfLowBalance(L,y.accountBalance.available))return Ve.addMoney;return""};return o.jsxs(o.Fragment,{children:[T?o.jsx(Qo,{children:o.jsxs(Jo,{children:[o.jsxs(er,{children:[o.jsx(or,{}),o.jsxs(rr,{children:[o.jsx(nr,{children:e.error?.title}),o.jsx(ir,{children:e.error?.message})]})]}),o.jsx(tr,{children:o.jsx(cr,{"data-testid":P("amount-details-error-close"),onClick:()=>{A(!1)},style:{width:t.sp3,height:t.sp3,color:S.heroLight}})})]})}):null,o.jsx(ar,{windowSize:i,children:o.jsx(Je,{amount:L,integerStyles:me.integerStyles.styleObject(i),decimalStyles:me.decimalStyles.styleObject(i),alwaysShowDecimal:!0})}),o.jsx(Ct,{...I,children:o.jsxs(Ho,{id:st(at),onSubmit:mt,children:[o.jsxs(sr,{children:[o.jsx(Pe,{size:i,children:o.jsx(Ye,{label:{label:je.labels.transferFrom,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Ko),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!0,!1,L),defaultValue:{selectedOption:ft?.id,allOptions:fe(e,!0,n,!0,q,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}},valueToAdditionalLabel:gt})}),!n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(Pe,{size:i,children:o.jsx(Ye,{label:{label:je.labels.transferTo,width:$,style:{marginLeft:g.labeleMarginLeft.valuePx(i),marginBottom:g.labeleMarginBottom.valuePx(i),marginRight:g.labelMarginRight.valuePx(i)}},style:{paddingTop:g.labeledFieldPaddingTop.valuePx(i),paddingBottom:g.labeledFieldPaddingBottom.valuePx(i),paddingLeft:g.labeledFieldPaddingLeft.valuePx(i),paddingRight:g.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:g.infoLabelPaddingRight.valuePx(i),marginTop:g.infoLabelMarginTop.valuePx(i),color:S.brandColorGoldDark},singleSelectPickerField:{name:Ae(_,Go),style:{position:"relative"},capitalizeOptions:!0,placeholder:M.transferDrawer.selectAccount,valueToLogo:(l,y)=>N(e.transferMoneyParties,l,y,l===e.treasuryAccount.id,!1),valueToSubLabels:(l,y)=>V(e.transferMoneyParties,e.treasuryAccount,l,y,!1,!1),defaultValue:{selectedOption:Be?.id,allOptions:fe(e,!1,n,!0,q,!1)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})]}),o.jsx(ke,{}),o.jsx(zt,{showAdditionalInfoLabel:!1,label:{label:je.labels.amount,width:$},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:g.formFieldPaddingRight.valuePx(i),width:"auto"},formattedTextField:{type:"number",name:Ae(_,it),defaultValue:L.amount===0?void 0:L.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},placeholder:M.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),n&&o.jsxs(o.Fragment,{children:[o.jsx(ke,{}),o.jsx(lr,{size:i,children:o.jsx(nt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:L,page:"fund transfer"})})]})]}),!n&&Be?.accType==="treasuryAccount"&&o.jsxs(dr,{children:[p?o.jsxs(ur,{children:[o.jsx(pr,{windowSize:i,children:M.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:d,currencySymbol:"$"})).replace("__rate__",O.toString())}),o.jsx(Gt,{interestRate:O,transferAmount:B,setYieldEarned:H,setTransferAmount:Z})]}):null,o.jsxs(mr,{windowSize:i,children:[o.jsxs(wr,{windowSize:i,children:[o.jsx(fr,{children:o.jsx(hr,{windowSize:i,children:`${M.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:Q,currencySymbol:"$"})}`})}),o.jsx(gr,{windowSize:i}),o.jsx(xr,{children:`${M.transferDrawer.calculator.footerText.forTotalDeposit} ${W("0,0",{amount:B,currencySymbol:"$"})}`})]}),p?o.jsxs(Ue,{windowSize:i,onClick:()=>C(!1),"data-testid":P("calculator-footer-close"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.hide}),o.jsx(yr,{className:"calculatorFooterArrowIcon"})]}):o.jsxs(Ue,{windowSize:i,onClick:()=>C(!0),"data-testid":P("calculator-footer-show"),children:[o.jsx(Xe,{className:"calculatorFooterLeftText",windowSize:i,children:M.transferDrawer.calculator.footerText.showYieldCalculator}),o.jsx($r,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const fe=(e,a,u,n=!0,d,s=!1,m,x)=>{const v=e.treasuryTransferMoneyLocalData.fromAccount?.id,h=e.treasuryTransferMoneyLocalData.toAccount?.id,i=e.transferMoneyParties.find(p=>p.id===v)||e.treasuryAccount,$=e.transferMoneyParties.find(p=>p.id===h)||e.treasuryAccount;let T=e.transferMoneyParties;a||(T=T.filter(p=>p.accType!=="paymentAccount"));const A=T.map(p=>{const C={label:p.label,value:p.id};return n&&(a?C.isDisabled=p.id===h||p.accType==="paymentAccount"&&$?.accType==="paymentAccount":C.isDisabled=p.id===v||p.accType==="paymentAccount"&&i?.accType==="paymentAccount"),C});if(!u){const p={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};n&&(a?p.isDisabled=!1:p.isDisabled=e.treasuryAccount.id===v),a?A.push(p):A.unshift(p)}if(s&&d){const p={label:qo.transferDrawer.selectAddAccount,value:"",type:"button",onClick:d};A.push(p)}return A},We=(e,a,u)=>{const{fromAccount:n,toAccount:d,amount:s}=e.treasuryTransferMoneyLocalData;return{transferDetails:{[it]:s.amount===0?void 0:s.amount,transferFrom:{allOptions:fe(e,!0,a,!0,u,!0),selectedOption:n!=null?n.id:e.primaryPaymentAccount?.paymentAccountId},transferTo:{allOptions:fe(e,!1,a,!0,u,!1),selectedOption:d?.id}}}},Qo=r.div`
261
261
  margin-top: ${t.sp3};
262
262
  display: flex;
263
263
  background-color: ${e=>e.theme.colors.grey5};
@@ -271,39 +271,39 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
271
271
  flex-direction: column;
272
272
  justify-content: center;
273
273
  align-items: center;
274
- `,Zo=r.div`
274
+ `,Jo=r.div`
275
275
  display: flex;
276
276
  width: 100%;
277
277
  justify-content: space-between;
278
278
  padding: ${t.sp3} ${t.sp4};
279
279
  background-color: ${S.importantLight};
280
280
  border-radius: ${t.sp2};
281
- `,Jo=r.div`
281
+ `,er=r.div`
282
282
  display: flex;
283
283
  align-items: flex-start;
284
- `,er=r.div``,tr=r(ot)`
284
+ `,tr=r.div``,or=r(ot)`
285
285
  width: ${t.sp4};
286
286
  height: ${t.sp4};
287
287
  color: ${S.important};
288
- `,or=r.div`
288
+ `,rr=r.div`
289
289
  display: flex;
290
290
  flex-direction: column;
291
291
  margin-left: ${t.sp2};
292
- `,rr=r(rt)`
292
+ `,nr=r(rt)`
293
293
  color: ${S.important};
294
- `,nr=r(X)`
294
+ `,ir=r(X)`
295
295
  color: ${S.important};
296
- `,ir=r(tt)`
296
+ `,ar=r(tt)`
297
297
  color: ${e=>e.theme.colors.primary};
298
298
  margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
299
299
  ${e=>e.windowSize==="small"&&`
300
300
  margin-top: ${t.sp1};
301
301
  margin-bottom: ${t.sp1};
302
302
  `}
303
- `,We=r(Dt)`
303
+ `,Ye=r(Dt)`
304
304
  border-radius: ${t.sp2};
305
305
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
306
- `,ar=r.div`
306
+ `,sr=r.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  width: 100%;
@@ -347,10 +347,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
347
347
  margin-right: ${t.sp1} !important;
348
348
  }
349
349
  `}
350
- `,sr=r(Pe)`
350
+ `,lr=r(Pe)`
351
351
  padding: ${({size:e})=>g.portfolioContainerPadding.valuePx(e)};
352
352
  padding-top: ${t.sp2};
353
- `,lr=r(Ce)`
353
+ `,cr=r(Ce)`
354
354
  cursor: pointer;
355
355
  color: ${e=>e.theme.colors.hero};
356
356
  width: ${t.sp4};
@@ -359,10 +359,10 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
359
359
  &:hover {
360
360
  color: ${e=>e.theme.colors.primary};
361
361
  }
362
- `,cr=r.div`
362
+ `,dr=r.div`
363
363
  margin-bottom: ${t.sp6};
364
364
  width: 90%;
365
- `,dr=r.div`
365
+ `,ur=r.div`
366
366
  background-color: ${e=>e.theme.colors.background};
367
367
  border: 1px solid ${e=>e.theme.colors.grey3};
368
368
  border-top: none;
@@ -371,16 +371,16 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
371
371
  justify-content: center;
372
372
  align-items: center;
373
373
  flex-direction: column;
374
- `,ur=r(X)`
374
+ `,pr=r(X)`
375
375
  color: ${e=>e.theme.colors.hero};
376
376
  margin: ${e=>e.windowSize==="small"?t.sp3:`${t.sp3} ${t.sp8}`};
377
377
  white-space: pre-line;
378
378
  text-align: center;
379
- `,pr=r.div`
379
+ `,hr=r.div`
380
380
  ${e=>me.yieldEarned.style(e.windowSize)}
381
381
  color: ${S.success};
382
382
  white-space: nowrap;
383
- `,hr=r.div`
383
+ `,mr=r.div`
384
384
  display: flex;
385
385
  align-items: center;
386
386
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -389,7 +389,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
389
389
  background-color: ${e=>e.theme.colors.grey3};
390
390
  border-bottom-right-radius: ${t.sp1};
391
391
  border-bottom-left-radius: ${t.sp1};
392
- `,mr=r.div`
392
+ `,fr=r.div`
393
393
  display: flex;
394
394
  flex-direction: row;
395
395
  align-items: center;
@@ -397,7 +397,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
397
397
  ${e=>me.calculatorFooterText.style(e.windowSize)}
398
398
  color: ${e=>e.theme.colors.hero};
399
399
  cursor: pointer;
400
- `,qe=r.div`
400
+ `,Ue=r.div`
401
401
  display: flex;
402
402
  flex-direction: row;
403
403
  align-items: center;
@@ -411,7 +411,7 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
411
411
  color: ${e=>e.theme.colors.primary};
412
412
  }
413
413
  }
414
- `,fr=r.div`
414
+ `,gr=r.div`
415
415
  display: ${e=>e.windowSize==="small"?"none":"block"};
416
416
  width: ${t.sp1};
417
417
  height: ${t.sp1};
@@ -419,72 +419,72 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
419
419
  margin: 0 ${t.sp2};
420
420
  background-color: ${e=>e.theme.colors.grey1};
421
421
  border-radius: 50%;
422
- `,gr=r.div`
422
+ `,wr=r.div`
423
423
  display: flex;
424
424
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
425
425
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
426
426
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
427
- `,wr=r(Bt)`
427
+ `,xr=r(Bt)`
428
428
  color: ${e=>e.theme.colors.hero};
429
- `,xr=r(Ot)`
429
+ `,yr=r(Ot)`
430
430
  cursor: pointer;
431
431
  width: 12px;
432
432
  height: 12px;
433
433
  min-width: 12px;
434
434
  min-height: 12px;
435
435
  color: ${e=>e.theme.colors.hero};
436
- `,yr=r(It)`
436
+ `,$r=r(It)`
437
437
  cursor: pointer;
438
438
  width: 12px;
439
439
  height: 12px;
440
440
  min-width: 12px;
441
441
  min-height: 12px;
442
442
  color: ${e=>e.theme.colors.hero};
443
- `,Q={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),successContentMargin:new f(c[3],c[12]),buttonTrayGap:new f(c[4],c[5])},$r={formTitle:new R("h6Regular","h5Regular")},{common:Ge,spendManagement:{treasury:k}}=we.getLocalizedStrings(),Nr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onTransferClick:x,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:U,fetchState:O}=a,H=U.find(J=>xt(J.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},Z=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:D,amount:xe}=e.treasuryTransferMoneyLocalData;return o.jsx(vr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(Ke,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Qe,{windowSize:p,children:o.jsx(Ue,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(Tr,{windowSize:p,children:[o.jsx(yt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(jr,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(Ar,{children:Y("0,0.[00]",xe)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${D?.label}".`]})}),o.jsxs(kr,{windowSize:p,children:[o.jsx(Ie,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ie,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(ho,{transferDetails:e,setShowReviewContent:i,onTransferClick:x,fundDetails:C,portfolioAllocation:H,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(Ke,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Qe,{windowSize:p,children:o.jsx(Ue,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Pr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(Cr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(Sr,{children:k.transferDrawer.subTitle}):o.jsx(br,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Qo,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:H,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:s,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(He,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Z()?o.jsx(Ze,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:st(at),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Ge.review},cancelBtn:{label:Ge.cancel,onClick:()=>{h()}}}):null]})})},br=r(X)`
443
+ `,K={navBarContainerPaddingXaxis:new f(10,19),containerPaddingLeft:new f(c[3],c[6],c[8]),containerPaddingRight:new f(c[3],c[6],c[8]),successContentMargin:new f(c[3],c[12]),buttonTrayGap:new f(c[4],c[5])},br={formTitle:new R("h6Regular","h5Regular")},{common:qe,spendManagement:{treasury:k}}=we.getLocalizedStrings(),Vr=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:n,isFirstTransfer:d,plaidConnectionDetails:s,onSaveChangesToLocalStore:m,onTransferClick:x,onAnotherTransferClick:v,onCancelClick:h,setShowReviewContent:i,onReviewClick:$,onEstablishConnectionClick:T,onFetchLinkTokenClick:A})=>{const p=ge(),{fundsData:C,currentAllocation:B,fundAllocationOptions:Z,fetchState:O}=a,Q=Z.find(J=>xt(J.allocation,B))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},H=()=>O==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:b,toAccount:D,amount:xe}=e.treasuryTransferMoneyLocalData;return o.jsx(jr,{windowSize:p,children:e.fetchState==="Completed"?o.jsxs(Ge,{windowSize:p,isTransferCompleted:!0,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-transfer-success-close-button"),onClick:()=>{h()}})}),o.jsxs(Pr,{windowSize:p,children:[o.jsx(yt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),o.jsx(Ar,{children:o.jsxs(o.Fragment,{children:[k.transferDrawer.success.prefix,o.jsx(kr,{children:W("0,0.[00]",xe)}),k.transferDrawer.success.midfix,`"${b?.label}"`,k.transferDrawer.success.midfix2,`"${D?.label}".`]})}),o.jsxs(Tr,{windowSize:p,children:[o.jsx(Ie,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":P("another-transfer-button","treasury"),onClick:()=>{v()},style:{minWidth:200}}),o.jsx(Ie,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":P("back-to-treasury-button"),onClick:()=>{h()},style:{minWidth:200}})]})]})]}):u?o.jsx(ho,{transferDetails:e,setShowReviewContent:i,onTransferClick:x,fundDetails:C,portfolioAllocation:Q,onCancelClick:h}):o.jsxs(o.Fragment,{children:[o.jsxs(Ge,{windowSize:p,isTransferCompleted:!1,children:[o.jsx(Ke,{windowSize:p,children:o.jsx(Ze,{"data-testid":P("cross-amount-details-close-button"),onClick:()=>{h()}})}),p==="small"?o.jsx(Cr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):o.jsx(zr,{windowSize:p,children:d?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),p==="small"?o.jsx(vr,{children:k.transferDrawer.subTitle}):o.jsx(Sr,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?o.jsx(Zo,{onSaveChangesToLocalStore:m,transferDetails:e,onReviewClick:$,fundDetails:C,portfolioAllocation:Q,isFirstTransfer:d,maxInsuredAmount:n,plaidConnectionDetails:s,onEstablishConnectionClick:T,onFetchLinkTokenClick:A}):o.jsx(Qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),H()?o.jsx(He,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:st(at),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:qe.review},cancelBtn:{label:qe.cancel,onClick:()=>{h()}}}):null]})})},Sr=r(X)`
444
444
  color: ${e=>e.theme.colors.hero};
445
- `,Sr=r(W)`
445
+ `,vr=r(Y)`
446
446
  color: ${e=>e.theme.colors.hero};
447
- `,vr=r.div`
447
+ `,jr=r.div`
448
448
  display: flex;
449
449
  flex-direction: column;
450
450
  background-color: ${e=>e.theme.colors.grey4};
451
451
  overflow-x: hidden;
452
452
  height: 100vh;
453
453
  width: 100%;
454
- `,jr=r($t)`
454
+ `,Ar=r($t)`
455
455
  color: ${e=>e.theme.colors.primary};
456
456
  text-align: center;
457
- `,Ar=r(bt)`
457
+ `,kr=r(bt)`
458
458
  display: inline;
459
- `,Ke=r.div`
459
+ `,Ge=r.div`
460
460
  height: ${e=>e.isTransferCompleted?"100%":"auto"};
461
- padding-left: ${e=>`${Q.containerPaddingLeft.valuePx(e.windowSize)}`};
462
- padding-right: ${e=>`${Q.containerPaddingRight.valuePx(e.windowSize)}`};
461
+ padding-left: ${e=>`${K.containerPaddingLeft.valuePx(e.windowSize)}`};
462
+ padding-right: ${e=>`${K.containerPaddingRight.valuePx(e.windowSize)}`};
463
463
  margin-bottom: auto;
464
- `,kr=r.div`
464
+ `,Tr=r.div`
465
465
  display: flex;
466
466
  justify-content: center;
467
467
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
468
468
  margin-top: ${t.sp6};
469
- gap: ${e=>`${Q.buttonTrayGap.valuePx(e.windowSize)}`};
470
- `,Tr=r.div`
469
+ gap: ${e=>`${K.buttonTrayGap.valuePx(e.windowSize)}`};
470
+ `,Pr=r.div`
471
471
  height: 80%;
472
472
  display: flex;
473
473
  flex-direction: column;
474
474
  justify-content: center;
475
- margin: ${e=>`${t.sp0} ${Q.successContentMargin.valuePx(e.windowSize)}`};
475
+ margin: ${e=>`${t.sp0} ${K.successContentMargin.valuePx(e.windowSize)}`};
476
476
  align-items: center;
477
- `,Qe=r.div`
477
+ `,Ke=r.div`
478
478
  display: flex;
479
479
  flex-direction: row-reverse;
480
480
  justify-content: space-between;
481
481
  align-items: center;
482
482
  width: 100%;
483
483
  top: ${t.sp0};
484
- padding: ${e=>`${Q.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
484
+ padding: ${e=>`${K.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
485
485
  z-index: 2;
486
486
  background-color: ${e=>e.theme.colors.grey4};
487
- `,Ue=r(Ce)`
487
+ `,Ze=r(Ce)`
488
488
  cursor: pointer;
489
489
  color: ${e=>e.theme.colors.hero};
490
490
  width: ${t.sp4};
@@ -493,14 +493,14 @@ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as Y,K as Ie,d as He,a3
493
493
  &:hover {
494
494
  color: ${e=>e.theme.colors.primary};
495
495
  }
496
- `,Pr=r(At)`
496
+ `,Cr=r(At)`
497
497
  color: ${e=>e.theme.colors.primary};
498
498
  margin-top: ${t.sp3};
499
499
  margin-bottom: ${t.sp0};
500
500
  margin-right: ${t.sp3};
501
- `,Cr=r(et)`
502
- ${e=>`${$r.formTitle.style(e.windowSize)}`};
501
+ `,zr=r(et)`
502
+ ${e=>`${br.formTitle.style(e.windowSize)}`};
503
503
  color: ${e=>e.theme.colors.primary};
504
504
  margin-top: ${t.sp3};
505
505
  margin-bottom: ${t.sp2};
506
- `;export{Nr as default};
506
+ `;export{Vr as default};
@@ -1,4 +1,4 @@
1
- import{M as $,j as n,l as u,u as Z,Y as j,ai as z,b6 as B,b7 as F,au as P,v as w,at as R,aa as q,b8 as O,av as K,ba as _,o as L,g as G,q as N}from"./index-QTXYT_IZ.js";import{b as v,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as D,u as Q}from"./chartTypes-BTdgphvt-COUgSR4v.js";import{o as X}from"./toCOABalancesWithID-Vfz3d1qt-Dmwd2xoZ.js";import{V as H}from"./toChartData-CiTmOVzN-DBayRNk7.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=k.div`
1
+ import{M as $,j as n,l as u,u as Z,Y as j,ai as z,b5 as B,b6 as F,au as P,v as w,at as R,aa as q,b7 as O,av as K,b9 as _,o as L,g as G,q as N}from"./index-DyBH5SZv.js";import{b as v,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as D,u as Q}from"./chartTypes-qpvW4LwC-4Ag0mdD1.js";import{o as X}from"./toCOABalancesWithID-DeWKaovX-C_3xC96w.js";import{V as H}from"./toChartData-Dkp488IJ-Cg1gF7al.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=k.div`
2
2
  display: flex;
3
3
  `,J=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as D,j as i,d as R,o as t,M as F,C as c,Y as S,ai as q,al as Y,c0 as E,n as a,q as K,a2 as X}from"./index-QTXYT_IZ.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-Buu-BMJt-1SixfBeO.js";import{C as W}from"./NoDataChart-DLfKZ9J--1T9pg2HM.js";import{F as _}from"./InsightsSection-DNfDisn9-CMHRFpDc.js";import{l as Z}from"./TransactionList-Bds8YVxl-eo-qwfAU.js";const G=n.div`
1
+ import{X as D,j as i,c as R,o as t,M as F,C as c,Y as S,ai as q,al as Y,c0 as E,n as a,q as K,a2 as X}from"./index-DyBH5SZv.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-D3_4i3qH-wYUerKRk.js";import{C as W}from"./NoDataChart-CvGbQO4j-B5z4vqWb.js";import{F as _}from"./InsightsSection-D_wtVtVg-5rPDOiJT.js";import{d as Z}from"./TransactionList-IjM4ABdF-DZ9PEfgX.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -45,7 +45,7 @@ import{X as D,j as i,d as R,o as t,M as F,C as c,Y as S,ai as q,al as Y,c0 as E,
45
45
  justify-content: center;
46
46
  align-items: center;
47
47
  margin-top: ${t.sp8};
48
- `;function de({firstMonthOfFY:e,selectedTimePeriod:r,showSelectedPeriodTags:l,fetchState:s,transactions:d,isDetailPage:g,onTransactionItemClick:m,onSelectedTimePeriodClear:f,onLoadPreviousTransactionsClick:T,onTransactionListHeightChanged:u}){const v=s==="In-Progress"||s==="Not-Started",w=d.length===0&&v,P=d.length>0&&v,M=g!==!0&&l!==!0?{isLoading:P&&(s==="In-Progress"||s==="Not-Started"),onLoadPreviousClick:(y,C)=>{T?.(y,C)}}:void 0,h=D();return i.jsx(ne,{"data-testid":S("trend-transactions-list-container"),children:w===!1?i.jsxs(i.Fragment,{children:[g===!1&&l===!0&&r!=null&&i.jsx(oe,{windowSize:h,children:i.jsx(ie,{selectedTimeframeTick:r,onTimeFilterClosed:f})}),r!=null&&i.jsx(ae,{"data-testid":S("trend-transactions-list"),children:i.jsx(Z,{firstMonthOfFY:e,timeframe:"quarter",timePeriod:r,transactions:d,onTransactionItemClick:m,showLoadPrevious:M,onListInnerElementHeightChanged:u})})]}):i.jsx(se,{children:i.jsx(R,{size:"Standard",start:!0})})})}const o={headingMarginLeftRight:new c(a[3],a[8]),headingMarginTop:new c(a[3],a[6]),headingMarginTopDetail:new c(0,0),headingMarginBottom:new c(a[4],a[5]),chartMarginLeftRight:new c(a[3],a[8]),smallHeadingMarginTop:new c(a[7],a[5]),smallHeadingMarginBottom:new c(a[4],a[3])},j={trendChartHeight:360,emptyTrendChartHeight:new c(360,432),selectedTimeHeight:136,loaderTrendChartHeight:new c(470,470)},le=n.div`
48
+ `;function de({firstMonthOfFY:e,selectedTimePeriod:r,showSelectedPeriodTags:l,fetchState:s,transactions:d,isDetailPage:g,onTransactionItemClick:m,onSelectedTimePeriodClear:p,onLoadPreviousTransactionsClick:T,onTransactionListHeightChanged:u}){const v=s==="In-Progress"||s==="Not-Started",w=d.length===0&&v,P=d.length>0&&v,M=g!==!0&&l!==!0?{isLoading:P&&(s==="In-Progress"||s==="Not-Started"),onLoadPreviousClick:(y,C)=>{T?.(y,C)}}:void 0,h=D();return i.jsx(ne,{"data-testid":S("trend-transactions-list-container"),children:w===!1?i.jsxs(i.Fragment,{children:[g===!1&&l===!0&&r!=null&&i.jsx(oe,{windowSize:h,children:i.jsx(ie,{selectedTimeframeTick:r,onTimeFilterClosed:p})}),r!=null&&i.jsx(ae,{"data-testid":S("trend-transactions-list"),children:i.jsx(Z,{firstMonthOfFY:e,timeframe:"quarter",timePeriod:r,transactions:d,componentName:"trend.transactions.list",onTransactionItemClick:m,showLoadPrevious:M,onListInnerElementHeightChanged:u})})]}):i.jsx(se,{children:i.jsx(R,{size:"Standard",start:!0})})})}const o={headingMarginLeftRight:new c(a[3],a[8]),headingMarginTop:new c(a[3],a[6]),headingMarginTopDetail:new c(0,0),headingMarginBottom:new c(a[4],a[5]),chartMarginLeftRight:new c(a[3],a[8]),smallHeadingMarginTop:new c(a[7],a[5]),smallHeadingMarginBottom:new c(a[4],a[3])},j={trendChartHeight:360,emptyTrendChartHeight:new c(360,432),selectedTimeHeight:136,loaderTrendChartHeight:new c(470,470)},le=n.div`
49
49
  display: flex;
50
50
  flex: 1 1 auto;
51
51
  min-height: 100%;
@@ -75,13 +75,13 @@ import{X as D,j as i,d as R,o as t,M as F,C as c,Y as S,ai as q,al as Y,c0 as E,
75
75
  margin-left: ${e=>o.headingMarginLeftRight.valuePx(e.windowSize)};
76
76
  margin-bottom: ${e=>o.smallHeadingMarginBottom.valuePx(e.windowSize)};
77
77
  margin-right: ${e=>o.headingMarginLeftRight.valuePx(e.windowSize)};
78
- `,fe=n(Y)`
78
+ `,pe=n(Y)`
79
79
  color: ${e=>e.theme.colors.primary};
80
80
  margin-top: ${e=>o.headingMarginTopDetail.valuePx(e.windowSize)};
81
81
  margin-left: ${e=>o.headingMarginLeftRight.valuePx(e.windowSize)};
82
82
  margin-bottom: ${e=>o.headingMarginBottom.valuePx(e.windowSize)};
83
83
  margin-right: ${e=>o.headingMarginLeftRight.valuePx(e.windowSize)};
84
- `,pe=n.div`
84
+ `,fe=n.div`
85
85
  display: flex;
86
86
  margin: ${t.sp0} ${t.sp8};
87
87
  `,xe=n.div`
@@ -113,4 +113,4 @@ import{X as D,j as i,d as R,o as t,M as F,C as c,Y as S,ai as q,al as Y,c0 as E,
113
113
  align-items: center;
114
114
  height: ${e=>j.loaderTrendChartHeight.valuePx(e.windowSize)};
115
115
  margin-top: ${t.sp8};
116
- `;function Le({firstMonthOfFY:e,trendWithTransactionsReport:r,graphColor:l,isDetailPage:s,initialTransactionListHeight:d=5,page:g,onTransactionItemClick:m,onTimePeriodChange:f}){const T=r.fetchState!=="Completed",u=r.selectedPeriod??{timeframe:"quarter",timePeriod:r.transactionTimePeriod},v="month",w=u?.timeframe==="month",P=r.trendReport?.dataAvailable==null,M=()=>r.trendReport?.fetchState==="In-Progress"&&r.fetchState==="Completed",h=r.trendReport?.trendReport,y=()=>{f?.("TransactionList")},C=(p,x)=>{const L={timeframe:x,addTimePeriod:p,currentTimePeriod:r.selectedPeriod?.timePeriod};f?.("TransactionListLoadMore",L)},$=D(),[I,O]=k.useState(d),z=k.useRef(null),b=()=>{const p=h?.insights!=null&&h?.insights.length>0;return i.jsxs(i.Fragment,{children:[P?M()?i.jsx(Pe,{windowSize:$,children:i.jsx(R,{size:"Standard",start:!0})}):i.jsx(pe,{children:i.jsx(W,{title:F.getLocalizedStrings().chartCard.no_data_available})}):i.jsx(ge,{windowSize:$,"data-testid":S("trend-with-transactions-chart",g),bottomMarginNeeded:!p,children:i.jsx(q,{children:({height:x,width:L})=>i.jsx(i.Fragment,{children:i.jsx(V,{firstMonthOfFY:e,trendReport:h,timeframe:v,selectedTimePeriod:w===!0?u?.timePeriod:void 0,graphColor:l,onTimeframeSelectionChanged:(B,A)=>{f?.("Chart",{timeframe:B,addTimePeriod:A})},width:L,height:x})})})}),h?.insights!=null&&h?.insights.length>0&&i.jsx(ce,{ref:z,children:i.jsx(_,{insights:h?.insights})})]})},H=p=>i.jsx(i.Fragment,{children:i.jsx(de,{firstMonthOfFY:p.firstMonthOfFY,selectedTimePeriod:u?.timePeriod,showSelectedPeriodTags:w,isDetailPage:s,fetchState:r.transactionView?.fetchState??"Not-Started",transactions:r.transactionView?.transactions??[],onTransactionItemClick:m,onLoadPreviousTransactionsClick:C,onSelectedTimePeriodClear:y,onTransactionListHeightChanged:x=>{O(x)}})}),N=p=>{const x=z.current!=null?z.current.clientHeight:56;return(P===!0?j.emptyTrendChartHeight.value($):j.trendChartHeight)+(w===!0?j.selectedTimeHeight:0)+x+p};return i.jsx(le,{page:g,isDetailPage:s,children:T===!0?i.jsx(ve,{isDetailPage:s,children:i.jsx(R,{size:"Standard",start:!0})}):i.jsxs(i.Fragment,{children:[i.jsx(je,{windowSize:$,report:r,isDetailPage:s,page:g}),i.jsx(xe,{windowSize:$,height:N(I),children:s===!0?i.jsxs(i.Fragment,{children:[i.jsx(we,{children:i.jsx(b,{})}),i.jsx(H,{firstMonthOfFY:e})]}):i.jsxs(i.Fragment,{children:[i.jsx(ue,{page:g,children:i.jsx(b,{})}),i.jsx($e,{children:i.jsx(H,{firstMonthOfFY:e})})]})})]})})}const je=({windowSize:e,report:r,isDetailPage:l,page:s})=>{const d=r.trendReport?.trendReport;if(d==null)return null;const g=d?.balancesKind==="income"?d.customer.name:d.vendor.name,m=F.getLocalizedStrings().reports.trend[d?.balancesKind];if(l)return i.jsx(fe,{windowSize:e,children:m});const f=g+" "+m;return s==="vendorDetailPage"?i.jsx(me,{windowSize:e,children:m}):i.jsx(he,{windowSize:e,children:f})};export{Le as R};
116
+ `;function Le({firstMonthOfFY:e,trendWithTransactionsReport:r,graphColor:l,isDetailPage:s,initialTransactionListHeight:d=5,page:g,onTransactionItemClick:m,onTimePeriodChange:p}){const T=r.fetchState!=="Completed",u=r.selectedPeriod??{timeframe:"quarter",timePeriod:r.transactionTimePeriod},v="month",w=u?.timeframe==="month",P=r.trendReport?.dataAvailable==null,M=()=>r.trendReport?.fetchState==="In-Progress"&&r.fetchState==="Completed",h=r.trendReport?.trendReport,y=()=>{p?.("TransactionList")},C=(f,x)=>{const L={timeframe:x,addTimePeriod:f,currentTimePeriod:r.selectedPeriod?.timePeriod};p?.("TransactionListLoadMore",L)},$=D(),[I,O]=k.useState(d),z=k.useRef(null),b=()=>{const f=h?.insights!=null&&h?.insights.length>0;return i.jsxs(i.Fragment,{children:[P?M()?i.jsx(Pe,{windowSize:$,children:i.jsx(R,{size:"Standard",start:!0})}):i.jsx(fe,{children:i.jsx(W,{title:F.getLocalizedStrings().chartCard.no_data_available})}):i.jsx(ge,{windowSize:$,"data-testid":S("trend-with-transactions-chart",g),bottomMarginNeeded:!f,children:i.jsx(q,{children:({height:x,width:L})=>i.jsx(i.Fragment,{children:i.jsx(V,{firstMonthOfFY:e,trendReport:h,timeframe:v,selectedTimePeriod:w===!0?u?.timePeriod:void 0,graphColor:l,onTimeframeSelectionChanged:(B,A)=>{p?.("Chart",{timeframe:B,addTimePeriod:A})},width:L,height:x})})})}),h?.insights!=null&&h?.insights.length>0&&i.jsx(ce,{ref:z,children:i.jsx(_,{insights:h?.insights})})]})},H=f=>i.jsx(i.Fragment,{children:i.jsx(de,{firstMonthOfFY:f.firstMonthOfFY,selectedTimePeriod:u?.timePeriod,showSelectedPeriodTags:w,isDetailPage:s,fetchState:r.transactionView?.fetchState??"Not-Started",transactions:r.transactionView?.transactions??[],onTransactionItemClick:m,onLoadPreviousTransactionsClick:C,onSelectedTimePeriodClear:y,onTransactionListHeightChanged:x=>{O(x)}})}),N=f=>{const x=z.current!=null?z.current.clientHeight:56;return(P===!0?j.emptyTrendChartHeight.value($):j.trendChartHeight)+(w===!0?j.selectedTimeHeight:0)+x+f};return i.jsx(le,{page:g,isDetailPage:s,children:T===!0?i.jsx(ve,{isDetailPage:s,children:i.jsx(R,{size:"Standard",start:!0})}):i.jsxs(i.Fragment,{children:[i.jsx(je,{windowSize:$,report:r,isDetailPage:s,page:g}),i.jsx(xe,{windowSize:$,height:N(I),children:s===!0?i.jsxs(i.Fragment,{children:[i.jsx(we,{children:i.jsx(b,{})}),i.jsx(H,{firstMonthOfFY:e})]}):i.jsxs(i.Fragment,{children:[i.jsx(ue,{page:g,children:i.jsx(b,{})}),i.jsx($e,{children:i.jsx(H,{firstMonthOfFY:e})})]})})]})})}const je=({windowSize:e,report:r,isDetailPage:l,page:s})=>{const d=r.trendReport?.trendReport;if(d==null)return null;const g=d?.balancesKind==="income"?d.customer.name:d.vendor.name,m=F.getLocalizedStrings().reports.trend[d?.balancesKind];if(l)return i.jsx(pe,{windowSize:e,children:m});const p=g+" "+m;return s==="vendorDetailPage"?i.jsx(me,{windowSize:e,children:m}):i.jsx(he,{windowSize:e,children:p})};export{Le as R};