@zeniai/web-cockpit-ui 1.14.72-dev-betaSK01 → 1.14.73-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 (319) hide show
  1. package/dist/assets/{ACHDetailsPage-BZFkcCOG-WfBPHoUX.js → ACHDetailsPage-FHBR2PCA-DLva-SPh.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DtNLjoUW-CinUSJg2.js → AIPerformancePage-CiYLvD6Z-bHSk8bLC.js} +124 -124
  3. package/dist/assets/AccountInfoPage-B0uMPZhx-BIQF2gH2.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B8GKrtCm-10kK72ec.js → AccountInfoPageContent-CdgOtpop-AHRejHe6.js} +13 -13
  5. package/dist/assets/AccountLockedInfoModal-DnQEp6tD-BW8Fp--s.js +59 -0
  6. package/dist/assets/AccountReconDetailsDrawerPage-BxjUNX_b-C4CXpIA8.js +239 -0
  7. package/dist/assets/AccountRow-C6z4Ft3r-BFimoTCg.js +298 -0
  8. package/dist/assets/AccountsPromoCardStack-BS-HxQ5z-BoaDvf04.js +207 -0
  9. package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js → AddAddressForCardDrawer-qa7RqzlX-DAOW06gk.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-nSq-9dQy-D56Hf4hb.js → AddToWalletPage-DNjsPMFK-r8gZ63eR.js} +22 -22
  11. package/dist/assets/AgingReportsPage-Dmgvzu2b-DiSOGn-n.js +79 -0
  12. package/dist/assets/AllUserItems-BBC-qn-o-D2MAzw4F.js +192 -0
  13. package/dist/assets/ApAgingDetailPage-YWdtNxkt-5BxHOM_M.js +46 -0
  14. package/dist/assets/{AppBasePage-Br0WbQRY-BAK8zLlg.js → AppBasePage-BnA8ceAD-BvanHCQt.js} +5 -5
  15. package/dist/assets/AppDrawerContent-DKHWPZQW-CEAxNC9t.js +91 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-D4Vz_gLv-DJSQNR5P.js +47 -0
  17. package/dist/assets/ArAgingChart-CuHk_U2p-D7juYPVe.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js → ArAgingDetailPage-H77B2AWo-DYwzxBIW.js} +3 -3
  19. package/dist/assets/{AttachmentView-DhluaeAV-DsM43aN0.js → AttachmentView-D1SPuem6-CmH4xHN2.js} +9 -9
  20. package/dist/assets/{BankAccountSection-GDEQdiGL-CmBLlIS1.js → BankAccountSection-ByfDYmEM-WCmaTn1f.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js → BankAccountWarningSection-BTCdQgZV-Bb72qOHU.js} +9 -9
  22. package/dist/assets/BankConnectionsSettingsPage-L62aMW_s-Ce_PfdvA.js +425 -0
  23. package/dist/assets/BillDetailPage-BBQJpRTI-D0MlJ03G.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js → BillPayApprovalRuleDetailPage-ByLLupWf-BGMDsIwH.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js → BillPayApprovalRulesPage-D4d-6Jnf-CF6fIJls.js} +7 -7
  26. package/dist/assets/BillPayPromoPage-CPGYF3vl-DVnbNH0W.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-CeciDq-c-NzaXshML.js +42 -0
  28. package/dist/assets/BillingSettingsPage-DknUlTgB-CcR7ugmH.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-BIjlRcX--CZ4DepwQ.js +1 -0
  30. package/dist/assets/{BoxItem-COIjjFrn-CYZK_lth.js → BoxItem-D4K0YgBP-Bm_px4kT.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-CWioKmMC--fpYbOGK.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CmhH95Ff-D70_vfvB.js → CardNumberSubText-C_03r_B--CXrhgc3z.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BPLjvuA3-D2AlurqK.js → CashbackDetailPage-BaImXBc2-BqUQeIYw.js} +56 -56
  34. package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js → ChargeCardDetailPage-Ba7cRz0p-DYtlHHMF.js} +214 -214
  35. package/dist/assets/ChargeCardListPage-BTH_OAht-CJvC6mTi.js +406 -0
  36. package/dist/assets/{ChargeCardListTable-BGWV4zJl-CcT6S7FA.js → ChargeCardListTable-DpRWVPmZ-CcrBBELQ.js} +54 -54
  37. package/dist/assets/ChargeCardPromoPage-B3bc_Qcj-DVNboRNz.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-3-7oaikG-BYx_BUtm.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js → ChargeCardStatementsPage-3HMKClyw-mCs_-TXo.js} +4 -4
  40. package/dist/assets/ChargeCardUtils-Cx6ntaue-CziTslau.js +1 -0
  41. package/dist/assets/{ChaseOverlay-BC_4vwtb-BQqHx8M-.js → ChaseOverlay-1PyDzocW-DV1roPs3.js} +8 -8
  42. package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js → CheckDepositDrawerPage-DTADpJQC-sqk-xG07.js} +20 -20
  43. package/dist/assets/CollapsableReportTable-rEGCWPrN-DiziLVLU.js +2932 -0
  44. package/dist/assets/CompanyOfficerDetailsSection-Dpe50aqM-B1Sor9Us.js +260 -0
  45. package/dist/assets/{CompanyPassportCard-D3F01eJL-BhEJq4YF.js → CompanyPassportCard-l9sgkbw_-BXrIXjOn.js} +3 -3
  46. package/dist/assets/CompanyPassportPage-DQPGAnFq-DsQ6naIu.js +574 -0
  47. package/dist/assets/CompleteProfile-DJBScNev-5kVXmwEh.js +52 -0
  48. package/dist/assets/{ConfettiBurst--HIHB7Os-S4QyIwiq.js → ConfettiBurst-DukumtTx-CSzALiwF.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js → CreateOrEditVendorPage-C39AEROO-Df_MDMmD.js} +11 -11
  50. package/dist/assets/CreditCardPaymentDrawerPage-D8VUjeG2-Nczpa7J9.js +224 -0
  51. package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js → CreditCardPaymentPlgSection-L8WvXQsE-Dx-X3Ggn.js} +10 -10
  52. package/dist/assets/{CurrencySelectField-nhg_dhDw-nZHVWMo0.js → CurrencySelectField-yIymL1et-BBkhU934.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js → CustomerOnboardingActivationPage-BKBFtr-o-B3t33ZLt.js} +5 -5
  54. package/dist/assets/CustomerOnboardingContainerPage-BwRlnH01-Di0CtCSz.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js → CustomerOnboardingDetailPageSkeleton-BsnPvucg-BEvywTxp.js} +13 -13
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js → CustomerOnboardingNoStepsPage-Db1DFgQR-DfT9hNRl.js} +2 -2
  57. package/dist/assets/CustomerOnboardingPage-BoF4bXiW-CKAc0RQX.js +107 -0
  58. package/dist/assets/CustomerOnboardingProductSuitePage-BdGFZtH3-DLLnRFgg.js +202 -0
  59. package/dist/assets/{Dashboard-D6Ba5oj0-C5iZr7Dc.js → Dashboard-hADP7IBB-Bk1vjezx.js} +262 -262
  60. package/dist/assets/DashboardReportPage-BwTchCvy-O2bBIky3.js +371 -0
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js → DashboardSidebarBackgroundAnimation-B-w4cVMW-BWggpu2o.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js → DepositAccTransactionItem-BMkCcz-U-g-iJ8Z3m.js} +4 -4
  63. package/dist/assets/DepositAccTransactionListPage-D6h0mu0p-Cba8Z-zG.js +66 -0
  64. package/dist/assets/DomesticWireDetailsPage-DQG9O9kV-DkLiQ_AK.js +21 -0
  65. package/dist/assets/DownloadOverlay-mXe-oklf-DPD6fOSt.js +439 -0
  66. package/dist/assets/{DrawerPage-BRD6cE6J-1UMYAHb7.js → DrawerPage-DSbF_bCc-BOfcYWDU.js} +13 -13
  67. package/dist/assets/EditPeoplePage-DnE5ud-m-STxMbpu_.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-CtHzBFwx-CcMSn1Z9.js +865 -0
  69. package/dist/assets/EntityDetailPage-CSR_wxIn-C3ytfDma.js +18 -0
  70. package/dist/assets/{EntitySummarySection-BRt1kPDf-DQbEIQFx.js → EntitySummarySection-BP9sqkp_-C8j67E3x.js} +28 -28
  71. package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js → ExpenseAutomationOverviewPage-C-ZrFIVW-LPRP5OZt.js} +50 -50
  72. package/dist/assets/ExpenseAutomationPage-BEhjUkgs-DU0Mp3Bk.js +1650 -0
  73. package/dist/assets/ExpressPayPage-C9rqylRE-fd6R9yCg.js +168 -0
  74. package/dist/assets/{FeaturePreviewPage-CQN2xThT-DJXN60Ac.js → FeaturePreviewPage-BcRRbP7e-DlhiW3MZ.js} +3 -3
  75. package/dist/assets/{FollowStepsSection-DdwEVWhG-yjJ5FRCa.js → FollowStepsSection-B3Kyt5j4-CgmrU6eD.js} +7 -7
  76. package/dist/assets/GlobalReviewListPage-Bz-YyIK8-B-UTCvpv.js +291 -0
  77. package/dist/assets/HelpButton-38HaKgFL-BugYIsvp.js +28 -0
  78. package/dist/assets/{InformationCardStack-Cw7c9Pnd-BX2LTL8l.js → InformationCardStack-BY26HFGi-BLGIbInA.js} +4 -4
  79. package/dist/assets/InsightsCardStack-BI7iTuQ_-DQl2fOce.js +79 -0
  80. package/dist/assets/{InsightsSection-JIKb9lz3-Hi0aN8hq.js → InsightsSection-AQ5yTmGG-DS0VgX7W.js} +3 -3
  81. package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js → IntegrationsSettingsPage-BEAFHjYf-d2P0RMG5.js} +8 -8
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js → InternationalWireSwiftDetailsPage-DNvv8jLc-dT-poZdm.js} +16 -16
  83. package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js → InternationalWireVerificationPage-BdUXxMgU-DhF9zfHu.js} +27 -27
  84. package/dist/assets/{InviteFormPage-CrtH0cSG-eVIYbN0r.js → InviteFormPage-CY-8DzRS-Bfynw6ME.js} +16 -16
  85. package/dist/assets/{InvitePageListView-DUoopPip-D5qrm4ww.js → InvitePageListView-DXjKBR4k-Np2jy73K.js} +164 -164
  86. package/dist/assets/InvitePeoplePage-CIafIgkR-BdmOchmq.js +12 -0
  87. package/dist/assets/InvoiceUploadSection-cXNOY5jR-DGuQgS61.js +140 -0
  88. package/dist/assets/{IssueChargeCardPage-D6DCohbK-BMG4Ljit.js → IssueChargeCardPage-DN1zD_YI-i_-kvzIl.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-C3R0DSjj-CpxXKm9c.js → LabeledAddressValue-Bk3vXfZU-CU4YMzA1.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-6MpVMde--DXTq8JS8.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js → LabeledControlledCheckBoxField-BjYGaRbt-BGdAOJoA.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js → LabeledCreatableSingleSelectField-9q4Lqszf-Csk7xXRk.js} +7 -7
  93. package/dist/assets/LabeledDocumentField-CAWaftIF-CSQ4X3Cr.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js → LabeledDropDownFormattedTextField-WbohTHp8-Bsf-e-tx.js} +5 -5
  95. package/dist/assets/{LabeledText-BESSkt5Z-CPDVK04g.js → LabeledText-B3JYr4tU-laTDcIhJ.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js → LabeledUserSingleSelectWithSubtitlesField-DHOsMX6S-5w6248s9.js} +18 -18
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js → LabeledZeniRolesDropDownField-DcUdbKa4-fYq87dcd.js} +34 -34
  98. package/dist/assets/LinkJETransactionPage-B1XJOlhU-DdWugwxQ.js +98 -0
  99. package/dist/assets/{LockCardPage-DYfgK11k-BFAZ4k7o.js → LockCardPage-B-EvOmPO-B73f-ypE.js} +66 -66
  100. package/dist/assets/LowBalancePopup-BoFHsW5A-B3QtlbXZ.js +34 -0
  101. package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js → MagicLinkACHDetailsPage-D5-czDfb-D9jHfcHK.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js → MagicLinkDomesticWireDetailsPage-DxtWixFB-79ayjypJ.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js → MagicLinkInternationalWireDetailsPage-kmj9pdzN-DnNURYN2.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js → MagicLinkSuccessPage-BPzk03R8-SXgLVDgR.js} +3 -3
  105. package/dist/assets/MagicLinkTitleSection-CgS4ZMfb-BI5Lq2SW.js +17 -0
  106. package/dist/assets/{MailingDetailsSection-9RwlQxVG-_UrE81Sw.js → MailingDetailsSection-BktKZ2Nr-DyWKpOiG.js} +2 -2
  107. package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js → MeetingCalenderPopup-2tPtQeqB-QatkmFKh.js} +4 -4
  108. package/dist/assets/{Menu-B6iTf2H7-Cu2Vb11u.js → Menu-CV1BBSGW-DKOqAYYS.js} +2 -2
  109. package/dist/assets/MyBankConnectionsSettingsPage-CMyrZ4nS-BheEjXSF.js +110 -0
  110. package/dist/assets/MyPendingActivationChargeCardListPage-DuOoKlPP-thKNb-ry.js +6 -0
  111. package/dist/assets/MyProfileSettingsPage-CA-5gU5k-BFEIvdNu.js +85 -0
  112. package/dist/assets/{NavBarWithPicker-CKh_HMfV-i4ObGPrS.js → NavBarWithPicker-DuazRsm7-BXAVo-zX.js} +4 -4
  113. package/dist/assets/{NavigationArrow-XZmJpDrE-DolsLofY.js → NavigationArrow-DnZuPnXh-BOLYjEri.js} +2 -2
  114. package/dist/assets/{NavigationDots-BxPgEW_p-Cjr25BX_.js → NavigationDots-DarWlthl-CEtLiSj-.js} +3 -3
  115. package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js → NewGlobalMerchantPage-C5zI88lM-DBDRlSHQ.js} +35 -35
  116. package/dist/assets/{NoDataChart-5E72SElf-3CnLxisw.js → NoDataChart-Dwrv5FXT-BktYGhJl.js} +4 -4
  117. package/dist/assets/{NoDataTable-BwHbkm3l-VTHrTfOq.js → NoDataTable-BT9VQUID-B1zJzLW9.js} +2 -2
  118. package/dist/assets/{NotFoundPage-6udaksBZ-DUgTbMe0.js → NotFoundPage-BpVYjIy9-CAwSGm4b.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DkYmxMgg-BVRECpS0.js → NotificationSettingsPage-Br1VS7sj-D72VzMEy.js} +32 -32
  120. package/dist/assets/{NotificationsListConfig-FGxLgO1o-C0kfEx8A.js → NotificationsListConfig-COCJ7xUp-B665e_3O.js} +1 -1
  121. package/dist/assets/NotificationsPage-CtIcIo4T-DuWbZv_Q.js +685 -0
  122. package/dist/assets/{OpExByVendorPage-CM0RluUk-PZB-G7xm.js → OpExByVendorPage-CTdChrGD-CvW5Vepn.js} +6 -6
  123. package/dist/assets/{OverlayContainerPage-BKHs_4eI-CSsJiY_P.js → OverlayContainerPage-CU1AAMcq-ai6w2Y-V.js} +2 -2
  124. package/dist/assets/PandLWithForecastPage-DVhAvUAV-CoqLEkYS.js +107 -0
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js → PaymentAccountSetupBillingAddressSection-Cqk9_T2U-B2k-ZLJe.js} +9 -9
  126. package/dist/assets/{PeoplePage-CB3T3u_F-BR69e4ui.js → PeoplePage-BR4qd-jm-CBOJNYwE.js} +95 -95
  127. package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js → PortfolioAllocationFormPage-T83_xyer-BkoO9beS.js} +13 -13
  128. package/dist/assets/{PortfolioDetails-D4yT8r35-BZAutCbg.js → PortfolioDetails-6ElQWU58-ByHc7XYH.js} +35 -35
  129. package/dist/assets/{ProductsCarousel-CR7_rk0K-CKMGS-I4.js → ProductsCarousel-CijsxgpU-C19z6U57.js} +10 -10
  130. package/dist/assets/{PromoBaseCards-BAPolzxE-DjUVr5kX.js → PromoBaseCards-BWsv2pTB-B6b592gJ.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-D3eazhj7-DCdAj667.js → QBOConnectionDialog-ChKHWoK7-CSeEHm2_.js} +7 -7
  132. package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CX61tnWs.js → QBOSetupSection-C4gt0qc8-DTKMvJ4_.js} +12 -12
  133. package/dist/assets/ReimbursementApprovalRuleDetailPage-BwgWdSTd-NVamJEor.js +26 -0
  134. package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js → ReimbursementApprovalRulesPage-C2asBtuf-DT1aAQsK.js} +12 -12
  135. package/dist/assets/ReimbursementDetailPage-DS1ewUKC-CVEFgQmR.js +314 -0
  136. package/dist/assets/ReimbursementPromoPage-5OaQjA8F-DErLTtUx.js +84 -0
  137. package/dist/assets/ReimbursementSetUpPage-Bl8jzyRg-3jDcWgfT.js +140 -0
  138. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DIesC2GA-CmjN--dc.js +1 -0
  139. package/dist/assets/{ReloadCard-Dpoxd9nE-_RGkkZLm.js → ReloadCard-0q5pQ13T-CKzHIqK2.js} +5 -5
  140. package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-D0sA8766.js → ReportTableViewSelector-C0SiD_xG-BLDdaXUR.js} +29 -29
  141. package/dist/assets/ReportsPage-GTIPR29D-BtSUMj6k.js +121 -0
  142. package/dist/assets/{RevenueChart-CXMBT3cr-BigDcfmP.js → RevenueChart-C099OBIz-BCjETeYD.js} +29 -29
  143. package/dist/assets/ReviewDetailsPage-Dj29qJWr-znzq99Zm.js +290 -0
  144. package/dist/assets/{ReviewOverlay-C6Kx7Hfm-Aab2M4el.js → ReviewOverlay-OPfHsiEH-DYnwxQBa.js} +13 -13
  145. package/dist/assets/{RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js → RoleWithToolTip-CnJMJF5X-DPQwf2SV.js} +2 -2
  146. package/dist/assets/ScheduleDetailsFixedAssetsPage-BojehSaf-CqIP5z2b.js +37 -0
  147. package/dist/assets/ScheduleDetailsPage-aZbK93Nq-BFB854u3.js +37 -0
  148. package/dist/assets/ScheduleSequenceTable-By6Dky2k-cVt4Itnj.js +324 -0
  149. package/dist/assets/ScreenRoutes-m-9CX7nW.js +206 -0
  150. package/dist/assets/SetUpAccountSection-B_VtQMHv-v5HWkW-2.js +378 -0
  151. package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js → SetUpDefaultSection-CR4EJd0L-DR8b1nlJ.js} +15 -15
  152. package/dist/assets/{SignIn-BlISBvt5-BSeULTEW.js → SignIn-DlL4Ve5C-CS2k0j8x.js} +28 -28
  153. package/dist/assets/SignInScreen-82F821nF.js +1 -0
  154. package/dist/assets/SpendManagementListViewPage-hcbJnpe0-Dx5Mkywb.js +123 -0
  155. package/dist/assets/SpendManagementPerTabPage-CZMtZLLG-BwL9QJKu.js +754 -0
  156. package/dist/assets/SpendManagementSection-v3VQ4WLv-BgJcZL_k.js +230 -0
  157. package/dist/assets/SpendMgmtSetupAccountSection-BstM92cv-D_s447NX.js +206 -0
  158. package/dist/assets/{StatementItem-BVIVLdDn-DWQxeT2X.js → StatementItem-DHN42swg-QQn_8xP5.js} +2 -2
  159. package/dist/assets/StatementsPage-BuWUMrMJ-ClESyfR5.js +58 -0
  160. package/dist/assets/{StatusSwitcher-aAizq1mr-c-jcIGD9.js → StatusSwitcher-BQIZqQby-CwGTf6Yt.js} +2 -2
  161. package/dist/assets/{SubTabSwitcher-COrYJ6CW-BIZF-iNv.js → SubTabSwitcher-BwULcWpV-KD7oZVm0.js} +1 -1
  162. package/dist/assets/{SummaryCard-Dv0dWKBw-CGu-GHYa.js → SummaryCard-sp4k0Xek-DgWj-oz4.js} +1 -1
  163. package/dist/assets/TaskManagementPage-N2Egdy4r-qGkYEZ7q.js +508 -0
  164. package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js → TimeRangeSwitcher-BbGr7Bdf-CGee3poJ.js} +3 -3
  165. package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js → TimeframeSwitcher-CqP9hXqB-r5frPdgi.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js → TimeframeSwitcherWithToggle-C-Nxe_F8-C62_HCuz.js} +1 -1
  167. package/dist/assets/{TopExCard-Bam-Q4MV-BsP_HKjG.js → TopExCard-CLw0PDAU-BbYnCf3a.js} +5 -5
  168. package/dist/assets/{TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js → TopExDetailPage-GLquKOoy-kMqzF42L.js} +12 -12
  169. package/dist/assets/TransactionDetailPage-cTLfJiHb-1yZP6Zin.js +912 -0
  170. package/dist/assets/TransactionList-SkjGKFn_-BwaaUL7x.js +147 -0
  171. package/dist/assets/TransactionListBig-B4CiUxir-C15l10qy.js +284 -0
  172. package/dist/assets/{TransactionListPage-D4GJ6i3l-yaso0Nlb.js → TransactionListPage-eiEKrfCB-CXZ0iEN3.js} +3 -3
  173. package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js → TransactionVendorDetailPage-CySokm3L-BpHJwA9m.js} +5 -5
  174. package/dist/assets/{TransferDrawerPage-GD2I8ptj-CANT8JC_.js → TransferDrawerPage-BSv0D4Zs-BT9NFCI4.js} +27 -27
  175. package/dist/assets/TreasuryOverviewPage-C5hIMuk--DxAuBNvx.js +708 -0
  176. package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CkWefV3r.js → TreasuryPromoPage-DSJHOwhj-BeQhN-a8.js} +6 -6
  177. package/dist/assets/{TreasurySetupPage-53k6ARHC-DuoYqIOy.js → TreasurySetupPage-B_EmY_UY-DAaCNRGd.js} +5 -5
  178. package/dist/assets/{TreasuryStatementsPage-pIshKNaR--8vN-IgR.js → TreasuryStatementsPage-BrZVJwAL-Bs1LrL-1.js} +5 -5
  179. package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js → TreasuryTaxLetterPage-DsmLrBId-CRVnttNh.js} +5 -5
  180. package/dist/assets/TreasuryTransferOrReviewPage-WB0pVkO6-BWBLW8Tp.js +576 -0
  181. package/dist/assets/TrendChart-CWR5JV7S-Bu3AQa_8.js +16 -0
  182. package/dist/assets/{TrendWithTransactions-mI_El5D1-DUVZm_U-.js → TrendWithTransactions-D9x71aZs-CM8kaEfz.js} +4 -4
  183. package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js → UncategorizedAccountsMappingPage-Tx1NEXyX-DoWK8o5r.js} +47 -47
  184. package/dist/assets/{UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js → UnitIntegrationPage-aTpJwSQj-BYrPkyiL.js} +11 -11
  185. package/dist/assets/UploadAdditionalDocumentOverlay-BVMdCZ9e-BITtYlPW.js +38 -0
  186. package/dist/assets/Vendor2FAPopup-BtVySDI--nsMiWnZu.js +1 -0
  187. package/dist/assets/{VendorACHDetailsPage-CswCvAFH-DqnJleBx.js → VendorACHDetailsPage-Cx9VUYTN-CUP3Cq5s.js} +1 -1
  188. package/dist/assets/VendorDetailPage-BTBlddyH-Bc_YJfHo.js +257 -0
  189. package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js → VendorDomesticWireDetailsPage-DIQg-f5b-Bwf6L3re.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js → VendorFiling1099EditablePage-CZzpO5dU-BLT7WxiF.js} +32 -32
  191. package/dist/assets/VendorFirstReviewPage-_Bf2O8Hk-B9tTYmRJ.js +730 -0
  192. package/dist/assets/VendorInternationalWireDetailsPage-DmM691ao-Dzdr5mG2.js +152 -0
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js → VendorInternationalWireSwiftDetailsPage-CmfDU583-Dk7aONaM.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js → VendorsAccountsSection-VX_qjrvm-R24t7Q7V.js} +4 -4
  195. package/dist/assets/VerifyDevice-pndtId1R-C8OsQHlo.js +112 -0
  196. package/dist/assets/{VideoPlayer-ByyqUuhG-CcmvFcG0.js → VideoPlayer-Cv2VluI6-D2yBmBgw.js} +1 -1
  197. package/dist/assets/{VideoPopup-DJrQQTPq-BZRShVLd.js → VideoPopup-DwltINTO-0GPyihNZ.js} +4 -4
  198. package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js → WarningsDrawerPage-I6fXTo8V-B0kNeHBS.js} +5 -5
  199. package/dist/assets/ZeniAccountDetailPage-BhqYqyk--DeI4__gE.js +300 -0
  200. package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js → ZeniAccountListViewPage-M7S_ZBj4-94TU34gP.js} +12 -12
  201. package/dist/assets/ZeniAccountNavBarPieces-Crjx7iNX-DK8JxCJS.js +14 -0
  202. package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js → ZeniAccountPromoPage-rK7P_Dpk-DmoLuwn8.js} +21 -21
  203. package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js → ZeniAccountSetupPage-B8yrjDVW-gPUnEzAZ.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-B7Q6IUGC-DjtbTVnp.js → ZeniCopyright-BDsnkVlH-C00Fssys.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js → ZeniTransferAmountSlider-BCVTdEWO-p69HMFsD.js} +3 -3
  206. package/dist/assets/{analyticsHelper-L-FpsGLH.js → analyticsHelper-CS2u9ax9.js} +1 -1
  207. package/dist/assets/analyticsHelper-D8CGsPLU-DJI9oEaD.js +1 -0
  208. package/dist/assets/{chartTypes-DCvOVjlS-CF3jsUNb.js → chartTypes-DLnePN0T-B_54UqyM.js} +1 -1
  209. package/dist/assets/{commonDimensions-C32v1F7H-C9uaBJ8J.js → commonDimensions-CWOH4KIa-zIW9i9kk.js} +1 -1
  210. package/dist/assets/{detailCommon-CRAGrqoO-5xMc7u9M.js → detailCommon-COLWOJB--3sJPi-qA.js} +8 -8
  211. package/dist/assets/downloadPdf-DmVZhHLH-D1xNlFUJ.js +1 -0
  212. package/dist/assets/{index-kF4u7Flm.js → index-MAXVX6UR.js} +2202 -2025
  213. package/dist/assets/{lodash-B66NTFTY.js → lodash-D52QloPU.js} +6 -6
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js → mapLoadingInProgressToTreeNode-DzagCSPK-Df3QAuQq.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js → mapSectionWithAcOnlyToTreeNode-gKc2xWyG-DTjSgiEj.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js → mapSpacerToTreeNode-toSXbVwB-B0PNlKW1.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js → mapTimeframeBalancesToTreeNode-D0Bib2dl-Cgs41-OD.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js → mapTimeframeBalancesToTreeNode-D63QAMZm-BDtNdJWW.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BuAL-Z9U-Ceeq3tsz.js} +1 -1
  220. package/dist/assets/redux-CEhZD0hA.js +12 -0
  221. package/dist/assets/{toCOABalancesWithID-B3yVGPrV-Dj01dEre.js → toCOABalancesWithID-D-AHYPZY-Bomk_rrT.js} +1 -1
  222. package/dist/assets/toChartData-BIN4xqGz-BcU_F8Ix.js +1 -0
  223. package/dist/assets/{treasuryColorHelper-13LJ_xhk-5-aGYtqD.js → treasuryColorHelper--7Rf6Fm8-BdEMhZbj.js} +1 -1
  224. package/dist/assets/{uploadAttachment-DVy2pZeJ-DL6B1oGY.js → uploadAttachment-DwI0nG8D-VCODDzfq.js} +23 -23
  225. package/dist/assets/{uploadReceipts-Dp1dvCjf-BQPyxtgi.js → uploadReceipts-9DTOr0BG-pwNYcimh.js} +1 -1
  226. package/dist/index.html +1 -1
  227. package/package.json +6 -9
  228. package/dist/assets/AccountInfoPage-D-E_-WpE-DJyb7x4k.js +0 -18
  229. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +0 -59
  230. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +0 -239
  231. package/dist/assets/AccountRow-Be3LIHO--BjLJB43L.js +0 -298
  232. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +0 -207
  233. package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +0 -79
  234. package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +0 -192
  235. package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +0 -46
  236. package/dist/assets/AppDrawerContent-BZODvVvi-DQ-V9QL0.js +0 -91
  237. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +0 -47
  238. package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +0 -24
  239. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +0 -425
  240. package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +0 -266
  241. package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +0 -84
  242. package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +0 -42
  243. package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +0 -44
  244. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +0 -1
  245. package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +0 -138
  246. package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +0 -406
  247. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +0 -222
  248. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +0 -36
  249. package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +0 -1
  250. package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +0 -2932
  251. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +0 -260
  252. package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +0 -574
  253. package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +0 -52
  254. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +0 -224
  255. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +0 -1
  256. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +0 -107
  257. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +0 -202
  258. package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +0 -371
  259. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +0 -66
  260. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +0 -21
  261. package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +0 -439
  262. package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +0 -55
  263. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +0 -865
  264. package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +0 -18
  265. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +0 -1650
  266. package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +0 -168
  267. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +0 -291
  268. package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +0 -28
  269. package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +0 -79
  270. package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +0 -12
  271. package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +0 -140
  272. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +0 -45
  273. package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +0 -41
  274. package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +0 -98
  275. package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +0 -34
  276. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +0 -17
  277. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +0 -110
  278. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +0 -6
  279. package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +0 -85
  280. package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +0 -685
  281. package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +0 -107
  282. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +0 -26
  283. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +0 -314
  284. package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +0 -84
  285. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +0 -140
  286. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +0 -1
  287. package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +0 -121
  288. package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +0 -290
  289. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +0 -37
  290. package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +0 -37
  291. package/dist/assets/ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js +0 -324
  292. package/dist/assets/ScreenRoutes-Du6t5Ig_.js +0 -206
  293. package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +0 -378
  294. package/dist/assets/SignInScreen-BN2xWnU-.js +0 -1
  295. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +0 -123
  296. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +0 -754
  297. package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +0 -230
  298. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +0 -206
  299. package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +0 -58
  300. package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +0 -508
  301. package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +0 -912
  302. package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +0 -147
  303. package/dist/assets/TransactionListBig-u4SJBZTE-BlGBIBoN.js +0 -284
  304. package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +0 -708
  305. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +0 -576
  306. package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +0 -16
  307. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +0 -38
  308. package/dist/assets/Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js +0 -1
  309. package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +0 -257
  310. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +0 -730
  311. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +0 -152
  312. package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +0 -112
  313. package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +0 -300
  314. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +0 -14
  315. package/dist/assets/addSubtractPeriod-CFvkmqm8.js +0 -1
  316. package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +0 -1
  317. package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +0 -1
  318. package/dist/assets/redux-D-TY61DZ.js +0 -12
  319. package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +0 -1
@@ -0,0 +1,576 @@
1
+ import{q as ye,aC as Pt,j as r,aM as D,hw as Ct,O as $e,aN as q,n as qe,P as at,aQ as nt,o as t,y as w,A as Oe,s as zt,b6 as Dt,c as Lt,aP as Q,c5 as Ft,ft as st,b as O,l as L,gG as Mt,h as j,ar as Rt,H as lt,ai as I,am as Y,fG as Bt,aa as Ot,cS as It,ad as Et,gm as _t,u as d,ce as ct,fB as dt,cw as ut,dm as Nt,dd as Vt,fS as Wt,fK as qt,a9 as Yt,an as Gt,fL as Xt,dM as Jt,cM as Ut,cL as Kt,bz as Qt,bX as Zt,fU as Ht,g1 as er,aX as tr}from"./index-MAXVX6UR.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-6ElQWU58-ByHc7XYH.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper--7Rf6Fm8-BdEMhZbj.js";const rr=$e.getLocalizedStrings().spendManagement.treasury,R=[0,125e4,25e5,35e5,5e6],or=1e3;function ir({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:i}){const l=Yt().analytics,[c,h]=y.useState(a);y.useEffect(()=>{h(a)},[a]);const p=f=>{const $=parseFloat(f.target.value),s=ge($,e);h($),u(s),i($),l.trackTreasuryCalculatorClick("fund transfer",$)},A=f=>{const $=ge(f,e);h(f),i(f),u($),l.trackTreasuryCalculatorClick("fund transfer",f)};return r.jsxs(cr,{sliderValue:c,children:[r.jsx(lr,{sliderValue:c,type:"range",min:R[0],max:R[R.length-1],step:or,value:c,onChange:p}),r.jsx(dr,{style:{width:`${Math.min(c/R[R.length-1]*92.5,92.5)}%`}}),r.jsx(mr,{sliderValue:c,style:{left:`calc(${Math.min(Math.max(c/R[R.length-1]*100,5),95)}% - 50px)`},children:ar(c)}),r.jsx(ur,{children:R.map((f,$)=>r.jsx(pr,{onClick:()=>A(f),"data-testid":D("slider-label",f.toString()),style:{left:nr($)},children:r.jsx(hr,{isSelected:c>=f,children:sr(f)})},f))})]})}const ar=e=>{const a=tr("0,0.[00]a",e,"$").toUpperCase();return`${rr.transferDrawer.calculator.sliderTooltipText} ${a}`};function ge(e,a){const u=a/100,i=e*Math.pow(1+u/12,12);return Math.floor(i-e)}const nr=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%"}},sr=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),lr=o.input`
2
+ width: 100%;
3
+ &[type="range"]::-webkit-slider-runnable-track {
4
+ height: 2px;
5
+ cursor: pointer;
6
+ background-color: ${e=>e.theme.colors.grey3};
7
+ }
8
+
9
+ &[type="range"] {
10
+ -webkit-appearance: none;
11
+ appearance: none;
12
+ }
13
+
14
+ &[type="range"]::-webkit-slider-thumb {
15
+ -webkit-appearance: none;
16
+ height: ${t.sp5};
17
+ width: ${t.sp5};
18
+ border-radius: 100%;
19
+ margin-top: -${t.sp3}; // Centers thumb on the track
20
+ box-shadow: ${t.sp0} ${t.sp0} 2px ${j.blackColor};
21
+ background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/slider-icon-${e.theme.mode==="dark"?"light":"dark"}.svg)`};
22
+ background-repeat: no-repeat;
23
+ cursor: pointer;
24
+ }
25
+ `,cr=o.div`
26
+ position: relative;
27
+ width: 70%;
28
+ margin-left: 30px;
29
+ margin-right: 30px;
30
+ margin-bottom: 20px;
31
+ margin-top: ${t.sp5};
32
+ min-height: ${t.sp8};
33
+ `,dr=o.div`
34
+ position: absolute;
35
+ height: 2px;
36
+ margin-top: -${t.sp2};
37
+ background-color: ${e=>e.theme.colors.hero};
38
+ `,ur=o.div`
39
+ position: absolute;
40
+ bottom: ${t.sp0};
41
+ top: ${t.sp5};
42
+ width: 100%;
43
+ display: flex;
44
+ justify-content: center;
45
+ `,pr=o.span`
46
+ position: absolute;
47
+ cursor: pointer;
48
+ transform: translateX(-50%);
49
+ `,hr=o(I)`
50
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
51
+ white-space: nowrap;
52
+ `,mr=o(I)`
53
+ position: absolute;
54
+ top: -${t.sp5};
55
+ white-space: nowrap;
56
+ color: ${j.primaryDark};
57
+ background-color: ${j.success};
58
+ display: flex;
59
+ border-radius: ${t.sp1};
60
+ justify-content: center;
61
+ align-items: center;
62
+ padding: 2px ${t.sp2};
63
+ `,Z={navBarContainerPaddingXaxis:new w(10,19),containerPaddingLeft:new w(d[3],d[6],d[8]),containerPaddingRight:new w(d[3],d[6],d[8]),reviewContentWrapperPaddingBottom:new w(d[5],d[8]),elementsContainerPadding:new w(d[3],d[4])},Re={pageTitle:new O("h6Regular","h5Regular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")},{common:{edit:fr,footer:{back:gr}},dateFormat:{visual:{DMMMYYYYFormat:wr}},spendManagement:{treasury:{transferDrawer:F},billPay:{insufficientFunds:{lowBalance:xr,addOrSwitchInitiateTransfer:yr,lowBalanceIn:$r}}}}=$e.getLocalizedStrings(),br=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:i})=>{const l=ye();if(l==="small"){const c=Tr(e,u,i.treasuryAccount.id);return r.jsxs(r.Fragment,{children:[r.jsxs(he,{style:c.topAccount?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:c.topAccountLabel}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,c.topAccount?.id??"",!0,c.topAccount?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[c.topAccount?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,c.topAccount?.id??"",!0,!0,!0)})]})]}),ce(c.topAccount,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]}),c.arrowDirection==="up"?r.jsx(ao,{}):r.jsx(no,{}),r.jsxs(he,{style:c.bottomAccount?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:c.bottomAccountLabel}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,c.bottomAccount?.id??"",!0,c.bottomAccount?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[c.bottomAccount?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,c.bottomAccount?.id??"",!0,!1,!0)})]})]}),ce(c.bottomAccount,i.treasuryAccount.id,l,!0)?r.jsx(fe,{}):null]})]})}else return r.jsxs(r.Fragment,{children:[r.jsxs(he,{style:e?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:"Transfer Funds From"}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,e?.id??"",!0,e?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[e?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ce(e,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]}),r.jsx(io,{}),r.jsxs(he,{style:u?.id===i.treasuryAccount.id?{borderColor:a.colors.grey1,position:"relative"}:{},windowSize:l,children:[r.jsx(me,{children:"To"}),r.jsxs(pe,{windowSize:l,children:[V(i.transferMoneyParties,u?.id??"",!0,u?.id===i.treasuryAccount.id,!0),r.jsxs(de,{windowSize:l,children:[u?.label,r.jsx(ue,{children:W(i.transferMoneyParties,i.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ce(u,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]})]})},vr=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const i=a.balance;return i?L.checkIfLowBalance(u,i):!0}if("accountBalance"in e){const i=e.accountBalance?.available;return i==null?!1:L.checkIfLowBalance(u,i)}return!1},Sr=({transferDetails:e,fundDetails:a,portfolioAllocation:u,isOnSetup:i,setShowReviewContent:l,onTransferClick:c,onCancelClick:h})=>{const p=ye(),A=Lt(),f=Q(e.fetchState),[$,s]=y.useState(!1);y.useEffect(()=>{f==="In-Progress"&&e.fetchState==="Error"&&e.error!=null?s(!0):s(!1)},[e.error]);const{fromAccount:S,toAccount:P,amount:m}=e.treasuryTransferMoneyLocalData,C=vr(S,e.treasuryAccount,m);return r.jsxs(r.Fragment,{children:[r.jsxs(Br,{windowSize:p,children:[r.jsx(Vr,{windowSize:p,children:r.jsx(Ft,{title:"Close",enterTouchDelay:600,placement:"bottom",children:r.jsx(Ye,{"data-testid":D("nav-bar-close-transfer-review"),onClick:h})})}),r.jsx(Wr,{windowSize:p,children:i===!0?F.stepTitle:F.reviewAndConfirm}),i===!0&&r.jsxs(r.Fragment,{children:[r.jsx(qr,{windowSize:p,children:r.jsx(Yr,{children:r.jsxs(Gr,{children:[r.jsx(Ge,{}),r.jsx(Ge,{}),r.jsx(Xr,{})]})})}),p==="small"?r.jsx(oo,{children:F.subTitle}):r.jsx(Ue,{children:F.subTitle})]}),r.jsx(ro,{windowSize:p,children:r.jsx(st,{amount:m,alwaysShowDecimal:!0,integerStyles:Re.integerStyles.styleObject(p),decimalStyles:Re.decimalStyles.styleObject(p)})}),i!==!0&&r.jsxs(r.Fragment,{children:[r.jsx(_r,{}),r.jsx(Ue,{children:r.jsxs(r.Fragment,{children:[F.review.prefix,`"${P?.label}" `,F.success.midfix,` "${S?.label}" `,F.review.suffix.replace("__date__",L.zeniDate(L.getNextNthWorkingDay(L.dateNow().toDate(),[0,6],1).toDateString()).format(wr))]})})]}),C?r.jsx(Mt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:$r.replace("__account__",S?.id===e.treasuryAccount.id?S?.label??"":`${S?.label??""} ${S?.maskedAccountNumber??""}`),description:yr}):null,$?r.jsx(Rr,{children:r.jsxs(Dr,{children:[r.jsxs(Or,{children:[r.jsx(Er,{}),r.jsxs(Lr,{children:[r.jsx(Fr,{children:e.error?.title}),r.jsx(Mr,{children:e.error?.message})]})]}),r.jsx(Ir,{children:r.jsx(Ye,{"data-testid":D("close-error-transfer-review"),onClick:()=>{s(!1)},style:{width:t.sp3,height:t.sp3,color:j.heroLight}})})]})}):null,r.jsx(Nr,{windowSize:p,children:r.jsxs(Pr,{windowSize:p,children:[r.jsx(Cr,{windowSize:p,children:r.jsx(br,{fromAccount:S,themeContext:A,toAccount:P,transferDetails:e})}),r.jsx(zr,{children:r.jsx(pt,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:Ar(e),fundAllocations:kr(e),page:"transfer review"})})]})})]}),r.jsx(nt,{style:i!==!0?{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0}:{zIndex:4},helperText:i!==!0?F.review.footNote:void 0,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:i===!0?gr:fr,onClick:()=>{s(!1),l(!1)},style:{minWidth:94}},primaryBtn:{label:F.transferBtn,onClick:c,isLoading:e.fetchState==="In-Progress",isDisabled:C,style:{minWidth:94}}})]})},V=(e,a,u,i,l)=>{if(i===!0)return r.jsx(Xe,{isOptionSelected:u,isForReview:l,children:r.jsx(Je,{color:j.brandColorGoldDark})});if(a==="")return r.jsx(to,{isForReview:l,children:r.jsx(Vt,{})});const c=e.find(p=>p.id===a),h=e.findIndex(p=>p.id===a);if(c!=null){if(c.accType==="depositAccount")return r.jsx(Xe,{isOptionSelected:u,isForReview:l,children:r.jsx(Je,{color:Wt(h)})});if(c.accType==="paymentAccount")return c.logo!==void 0&&(c.logo.base64||c.logo.url)?r.jsx(Zr,{src:jr(c.logo),isOptionSelected:u,isForReview:l,loading:"lazy"}):r.jsx(Hr,{isOptionSelected:u,isForReview:l,children:r.jsx(eo,{})})}return null},W=(e,a,u,i,l,c,h)=>{if(!u)return null;if(u===a.id)return(c||!i)&&a.balance?r.jsx(Ce,{children:q("0,0[.]00",a.balance)}):null;const p=e.find(f=>f.id===u);let A=!1;return l===!0&&h!=null&&p?.accountBalance?.available?.amount!=null&&(A=L.checkIfLowBalance(h,p.accountBalance.available)),i===!0&&!c?r.jsx(Ur,{children:p?.maskedAccountNumber}):r.jsxs(Jr,{className:"option-sublabel",children:[r.jsx(Ce,{children:p?.maskedAccountNumber}),p?.accountBalance?.available?r.jsx(Qr,{className:"dot"}):null,p?.accountBalance?.available?r.jsxs(Ce,{children:[q("0,0[.]00",p.accountBalance.available),A?r.jsx(Kr,{children:xr}):null]}):null,p?.balanceFetchStatus?.fetchState==="In-Progress"?r.jsx(at,{size:"Small",start:!0}):null]})},jr=e=>e.base64!==void 0?`${qt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Ar=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},kr=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},Tr=(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"},ce=(e,a,u,i)=>u==="small"?e?.id===a&&i:e?.id===a,de=o.div`
64
+ display: flex;
65
+ flex-direction: column;
66
+ `,ue=o(I)`
67
+ color: ${e=>e.theme.colors.hero};
68
+ `,pe=o(Y)`
69
+ display: flex;
70
+ align-items: center;
71
+ `,Pr=o.div`
72
+ display: flex;
73
+ flex-direction: column;
74
+ width: 100%;
75
+ background-color: ${e=>e.theme.colors.grey5};
76
+ border: 1px solid ${e=>e.theme.colors.grey3};
77
+ box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
78
+ border-radius: ${t.sp2};
79
+ padding: ${e=>`${Z.elementsContainerPadding.valuePx(e.windowSize)}`};
80
+ gap: ${t.sp4};
81
+ ${e=>e.windowSize==="small"&&`
82
+ width: auto;
83
+ `}
84
+ `,Cr=o.div`
85
+ display: flex;
86
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
87
+ justify-content: space-between;
88
+ align-items: ${e=>e.windowSize==="small"?"stretch":"center"};
89
+ width: 100%;
90
+ background-color: ${e=>e.theme.colors.grey5};
91
+ `,he=o.div`
92
+ display: flex;
93
+ flex-direction: column;
94
+ gap: ${t.sp1};
95
+ padding: ${t.sp2} ${t.sp3};
96
+ background-color: ${e=>e.theme.colors.grey4};
97
+ border: 1px solid ${e=>e.theme.colors.grey3};
98
+ border-radius: ${t.sp2};
99
+ width: ${e=>e.windowSize==="small"?"auto":"288px"};
100
+ `,zr=o.div`
101
+ padding: ${t.sp2} ${t.sp3};
102
+ background-color: ${e=>e.theme.colors.grey4};
103
+ border: 1px solid ${e=>e.theme.colors.grey1};
104
+ border-radius: ${t.sp2};
105
+ `,Dr=o.div`
106
+ display: flex;
107
+ width: 100%;
108
+ justify-content: space-between;
109
+ padding: ${t.sp3} ${t.sp4};
110
+ background-color: ${j.importantLight};
111
+ border-radius: ${t.sp2};
112
+ `,Lr=o.div`
113
+ display: flex;
114
+ flex-direction: column;
115
+ margin-left: ${t.sp2};
116
+ `,Fr=o(ut)`
117
+ color: ${j.important};
118
+ `,Mr=o(Y)`
119
+ color: ${j.important};
120
+ `,Rr=o.div`
121
+ margin-top: ${t.sp3};
122
+ display: flex;
123
+ background-color: ${e=>e.theme.colors.grey5};
124
+ justify-content: space-between;
125
+ padding: ${t.sp3} ${t.sp4};
126
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
127
+ border-radius: ${t.sp2};
128
+ box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
129
+ `,Br=o.div`
130
+ height: auto;
131
+ padding-left: ${e=>`${Z.containerPaddingLeft.valuePx(e.windowSize)}`};
132
+ padding-right: ${e=>`${Z.containerPaddingRight.valuePx(e.windowSize)}`};
133
+ margin-bottom: auto;
134
+ `,Or=o.div`
135
+ display: flex;
136
+ align-items: flex-start;
137
+ `,Ir=o.div``,Er=o(dt)`
138
+ width: ${t.sp4};
139
+ height: ${t.sp4};
140
+ color: ${j.important};
141
+ `,Ye=o(Oe)`
142
+ cursor: pointer;
143
+ color: ${e=>e.theme.colors.hero};
144
+ width: ${t.sp4};
145
+ height: ${t.sp4};
146
+ min-height: ${t.sp4};
147
+ &:hover {
148
+ color: ${e=>e.theme.colors.primary};
149
+ }
150
+ `,_r=o.div`
151
+ display: flex;
152
+ flex: 1;
153
+ background-color: ${e=>e.theme.colors.grey3};
154
+ min-height: 1px;
155
+ max-height: 1px;
156
+ `,me=o(I)`
157
+ color: ${e=>e.theme.colors.hero};
158
+ `,Nr=o.div`
159
+ display: flex;
160
+ flex-direction: column;
161
+ padding-top: ${t.sp3};
162
+ padding-bottom: ${e=>`${Z.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
163
+ `,Vr=o.div`
164
+ display: flex;
165
+ flex-direction: row;
166
+ justify-content: flex-end;
167
+ align-items: center;
168
+ width: 100%;
169
+ top: ${t.sp0};
170
+ padding: ${e=>`${Z.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
171
+ z-index: 2;
172
+ background-color: transparent;
173
+ `,Wr=o(lt)`
174
+ ${e=>`${Re.pageTitle.style(e.windowSize)}`};
175
+ color: ${e=>e.theme.colors.primary};
176
+ padding: ${t.sp3} ${t.sp0} ${t.sp2} ${t.sp0};
177
+ ${e=>e.windowSize==="small"&&`
178
+ padding-bottom: ${t.sp0};
179
+ `}
180
+ `,qr=o.div`
181
+ display: flex;
182
+ flex-direction: column;
183
+ gap: ${t.sp3};
184
+ width: 100%;
185
+ margin-bottom: ${t.sp3};
186
+ `,Yr=o.div`
187
+ display: flex;
188
+ align-items: center;
189
+ `,Gr=o.div`
190
+ display: flex;
191
+ width: 100%;
192
+ gap: ${t.sp3};
193
+ `,Ge=o.div`
194
+ width: 33.33%;
195
+ height: 2px;
196
+ background-color: ${e=>e.theme.colors.primary};
197
+ border-radius: ${t.sp2};
198
+ `,Xr=o.div`
199
+ width: 33.33%;
200
+ height: 2px;
201
+ background-color: ${e=>e.theme.colors.grey2};
202
+ border-radius: ${t.sp2};
203
+ `,Jr=o(I)`
204
+ color: ${e=>e.theme.colors.hero};
205
+ display: flex;
206
+ flex-direction: row;
207
+ align-items: center;
208
+ gap: ${t.sp2};
209
+ `,Ur=o.span`
210
+ margin-left: ${t.sp2};
211
+ `,Ce=o.div``,Kr=o(Zt)`
212
+ color: ${e=>e.theme.colors.brandColorGoldDark};
213
+ margin-left: ${t.sp1};
214
+ `,Qr=o.div`
215
+ width: ${t.sp1};
216
+ height: ${t.sp1};
217
+ min-width: ${t.sp1};
218
+ background-color: ${e=>e.theme.colors.grey1};
219
+ border-radius: 50%;
220
+ `,Zr=o.img`
221
+ display: flex;
222
+ width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
223
+ height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
224
+ min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
225
+ margin-right: ${t.sp2};
226
+ `,Hr=o.div`
227
+ min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
228
+ width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
229
+ height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
230
+ margin-right: ${t.sp2};
231
+ `,eo=o(er)`
232
+ min-width: inherit;
233
+ width: inherit;
234
+ height: inherit;
235
+ margin-right: ${t.sp2};
236
+ `,Xe=o.div`
237
+ min-width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
238
+ width: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
239
+ height: ${e=>e.isForReview?t.sp6:e.isOptionSelected?t.sp4:t.sp5};
240
+ margin-right: ${t.sp2};
241
+ `,Je=o(Ht)`
242
+ min-width: inherit;
243
+ width: inherit;
244
+ height: inherit;
245
+ margin-right: ${t.sp2};
246
+ `,to=o.div`
247
+ width: ${e=>e.isForReview?t.sp6:t.sp4};
248
+ height: ${e=>e.isForReview?t.sp6:t.sp4};
249
+ margin-right: 12px;
250
+ margin-left: ${t.sp1};
251
+ color: ${e=>e.theme.colors.hero};
252
+ `,ro=o(ct)`
253
+ color: ${e=>e.theme.colors.primary};
254
+ margin: ${t.sp2} ${t.sp0} ${t.sp3} ${t.sp0};
255
+ ${e=>e.windowSize==="small"&&`
256
+ margin-top: ${t.sp1};
257
+ margin-bottom: ${t.sp1};
258
+ `}
259
+ `,Ue=o(Y)`
260
+ color: ${e=>e.theme.colors.hero};
261
+ margin-top: ${t.sp3};
262
+ `,oo=o(I)`
263
+ color: ${e=>e.theme.colors.hero};
264
+ `,io=o(Qt)`
265
+ width: ${t.sp4};
266
+ height: ${t.sp4};
267
+ color: ${e=>e.theme.colors.hero};
268
+ `,ao=o(Ut)`
269
+ width: ${t.sp4};
270
+ height: ${t.sp4};
271
+ color: ${e=>e.theme.colors.hero};
272
+ align-self: center;
273
+ `,no=o(Kt)`
274
+ width: ${t.sp4};
275
+ height: ${t.sp4};
276
+ color: ${e=>e.theme.colors.hero};
277
+ align-self: center;
278
+ `,fe=o.div`
279
+ width: 1px;
280
+ height: 25px;
281
+ background-color: ${e=>e.theme.colors.grey1};
282
+ position: absolute;
283
+ right: 50%;
284
+ bottom: -25px;
285
+ `,{common:ze,spendManagement:{treasury:B,zeniAccounts:{zeniAccountList:so},billPay:{insufficientFunds:De}}}=$e.getLocalizedStrings(),ht="amount",lo="transferTo",co="transferFrom",N="transferDetails",mt="transferDetailPage",Le=(e,a)=>`${e}.${a}`,ft=e=>`${e}_form`,x={largeLabelWidth:new w(120,120,160),labeleMarginLeft:new w(d[0],d[0]),labelMarginRight:new w(d[3],d[3]),labeleMarginBottom:new w(d[2],d[0]),labeledFieldPaddingLeft:new w(d[3],d[0]),labeledFieldPaddingRight:new w(d[3],d[2]),labeledFieldPaddingTop:new w(d[3],d[3]),labeledFieldPaddingBottom:new w(d[3],d[2]),infoLabelPaddingRight:new w(d[0],d[3]),infoLabelMarginTop:new w(d[1],d[0]),portfolioContainerPadding:new w(d[3],d[4]),rowContentSelectPaddingLeft:new w(d[3],d[4]),formFieldPaddingRight:new w(0,d[2])},we={yieldEarned:new O("smallMedium","standardMedium"),calculatorFooterText:new O("extraSmallRegular","smallRegular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")};function uo({transferDetails:e,fundDetails:a,portfolioAllocation:u,isFirstTransfer:i,maxInsuredAmount:l,plaidConnectionDetails:c,isOnSetup:h,onSaveChangesToLocalStore:p,onReviewClick:A,onEstablishConnectionClick:f,onFetchLinkTokenClick:$}){const s=ye(),S=x.largeLabelWidth.value(s),[P,m]=y.useState(!1),[C,G]=y.useState(!1),[b,X]=y.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),E=a.reduce((n,g)=>{const T=g.yield;return Math.max(n,T)},0),[be,ee]=y.useState(ge(b,E)),v=c.link_account_no_microdeposit,[M,ve]=y.useState(v.linkToken??null),[te,re]=y.useState(!1),[oe,Ie]=y.useState(!1),Se=e.transferMoneyPartiesFetchState,Ee=Q(Se),je=e.treasuryTransferMoneyLocalData.fromAccount?.id,Ae=e.treasuryTransferMoneyLocalData.toAccount?.id,_e=Q(je),Ne=Q(Ae),ke=e.transferMoneyParties.map(n=>n.id),Te=Q(ke),gt=y.useCallback(n=>{f?.(n),Ie(!1),re(!1)},[f]),wt=y.useCallback((n,g)=>{n!=null&&console.log("Plaid Connection Error",n,g)},[]),{open:ie,ready:J}=Bt({token:M,onSuccess:gt,onExit:wt}),U=y.useCallback(n=>{n.preventDefault(),n.stopPropagation(),J?ie():re(!0)},[ie,J]),_=Ot({mode:"all",reValidateMode:"onChange",defaultValues:y.useMemo(()=>Qe(e,i,h??!1,U),[e,i])}),{isValid:xt}=_.formState,{setError:yt,clearErrors:$t}=_;y.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==M&&ve(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,M]),y.useEffect(()=>{v.linkToken===M&&v.fetchStatus.fetchState==="Completed"&&J&&Ie(!0)},[J,M,v.fetchStatus,v.linkToken,v.fetchStatus.fetchState]),y.useEffect(()=>{oe&&te&&ie()},[oe,ie,te]),y.useEffect(()=>{(L.zeniDate(new Date().toISOString()).isAfter(v.expiration)||v.linkToken==null)&&$?.("link_account_no_microdeposit")},[]),y.useEffect(()=>{const n=Te!=null&&JSON.stringify(Te)!==JSON.stringify(ke);(Ee==="In-Progress"&&Se==="Completed"||_e!==je||Ne!==Ae||n)&&_.reset(Qe(e,i,h??!1,U))},[J,M,v.fetchStatus.fetchState,Ee,Se,_e,Ne,Ae,je,Te,ke,_,e,i,h,U]);const bt=()=>e.transferMoneyParties.find(n=>n.id!==e.treasuryAccount.id&&n.accType==="depositAccount"),vt=()=>{const n=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(g=>g.id===n)},St=async(n,g)=>{if(n!=null){const T={...g},ae=T[N].transferFrom.selectedOption,ne=T[N].transferTo.selectedOption;let se=e.transferMoneyParties.find(Pe=>Pe.id===ae),le=e.transferMoneyParties.find(Pe=>Pe.id===ne);ae===e.treasuryAccount.id&&(se=e.treasuryAccount),ne===e.treasuryAccount.id&&(le=e.treasuryAccount);const We={amount:T[N].amount??0,currencyCode:"USD",currencySymbol:"$"};n.includes("transferFrom")?ae===e.treasuryAccount.id?ne===e.treasuryAccount.id&&(le=bt()):le=e.treasuryAccount:n.includes("transferTo")&&(ne===e.treasuryAccount.id?ae===e.treasuryAccount.id&&(se=vt()):se=e.treasuryAccount);const Tt={amount:We,fromAccount:se,toAccount:le};X(We.amount),p(Tt)}};y.useEffect(()=>{const n=_.watch((g,{name:T})=>{T!=null&&g!=null&&It(()=>St(T,g))});return()=>{n.unsubscribe()}}),y.useEffect(()=>{ee(ge(b,E))},[b,E]);const jt=()=>{if(K?.id==null||K.id===""||!z.amount)return!1;if(K.id===e.treasuryAccount.id){const n=e.treasuryAccount.balance;if(n&&L.checkIfLowBalance(z,n))return!0}else{const n=e.transferMoneyParties.find(g=>g.id===K.id);if(n?.accountBalance?.available&&L.checkIfLowBalance(z,n.accountBalance.available))return!0}return!1},At=_.handleSubmit(()=>{if(jt()){yt("transferDetails.transferFrom",{type:"lowBalance",message:De.addMoney});return}$t("transferDetails.transferFrom"),xt&&A()}),{fromAccount:K,toAccount:Ve,amount:z}=e.treasuryTransferMoneyLocalData,kt=n=>{if(!n||!z.amount)return"";const g=e.transferMoneyParties.find(T=>T.id===n);if(n===e.treasuryAccount.id){const T=e.treasuryAccount.balance;if(T&&L.checkIfLowBalance(z,T))return De.addMoney}else if(g?.accountBalance?.available&&L.checkIfLowBalance(z,g.accountBalance.available))return De.addMoney;return""};return r.jsxs(r.Fragment,{children:[P?r.jsx(po,{children:r.jsxs(mo,{children:[r.jsxs(fo,{children:[r.jsx(wo,{}),r.jsxs(xo,{children:[r.jsx(yo,{children:e.error?.title}),r.jsx($o,{children:e.error?.message})]})]}),r.jsx(go,{children:r.jsx(jo,{"data-testid":D("amount-details-error-close"),onClick:()=>{m(!1)},style:{width:t.sp3,height:t.sp3,color:j.heroLight}})})]})}):null,r.jsx(bo,{windowSize:s,children:r.jsx(st,{amount:z,integerStyles:we.integerStyles.styleObject(s),decimalStyles:we.decimalStyles.styleObject(s),alwaysShowDecimal:!0})}),r.jsx(Et,{..._,children:r.jsxs(ho,{id:ft(mt),onSubmit:At,children:[r.jsxs(vo,{children:[r.jsx(Be,{size:s,children:r.jsx(Ze,{label:{label:ze.labels.transferFrom,width:S,style:{marginLeft:x.labeleMarginLeft.valuePx(s),marginBottom:x.labeleMarginBottom.valuePx(s),marginRight:x.labelMarginRight.valuePx(s)}},style:{paddingTop:x.labeledFieldPaddingTop.valuePx(s),paddingBottom:x.labeledFieldPaddingBottom.valuePx(s),paddingLeft:x.labeledFieldPaddingLeft.valuePx(s),paddingRight:x.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:x.infoLabelPaddingRight.valuePx(s),marginTop:x.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Le(N,co),style:{position:"relative"},capitalizeOptions:!0,placeholder:B.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>W(e.transferMoneyParties,e.treasuryAccount,n,g,!0,!1,z),defaultValue:{selectedOption:K?.id,allOptions:xe(e,!0,i,!0,U,!1)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}},valueToAdditionalLabel:kt})}),!i&&r.jsxs(r.Fragment,{children:[r.jsx(Fe,{}),r.jsx(Be,{size:s,children:r.jsx(Ze,{label:{label:ze.labels.transferTo,width:S,style:{marginLeft:x.labeleMarginLeft.valuePx(s),marginBottom:x.labeleMarginBottom.valuePx(s),marginRight:x.labelMarginRight.valuePx(s)}},style:{paddingTop:x.labeledFieldPaddingTop.valuePx(s),paddingBottom:x.labeledFieldPaddingBottom.valuePx(s),paddingLeft:x.labeledFieldPaddingLeft.valuePx(s),paddingRight:x.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:x.infoLabelPaddingRight.valuePx(s),marginTop:x.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Le(N,lo),style:{position:"relative"},capitalizeOptions:!0,placeholder:B.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>W(e.transferMoneyParties,e.treasuryAccount,n,g,!1,!1),defaultValue:{selectedOption:Ve?.id,allOptions:xe(e,!1,i,!0,U,!1)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}}})})]}),r.jsx(Fe,{}),r.jsx(_t,{showAdditionalInfoLabel:!1,label:{label:ze.labels.amount,width:S},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:x.formFieldPaddingRight.valuePx(s),width:"auto"},formattedTextField:{type:"number",name:Le(N,ht),defaultValue:z.amount===0?void 0:z.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:n=>!!n&&n>0},placeholder:B.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),i&&r.jsxs(r.Fragment,{children:[r.jsx(Fe,{}),r.jsx(So,{size:s,children:r.jsx(pt,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:z,page:"fund transfer"})})]})]}),!i&&Ve?.accType==="treasuryAccount"&&r.jsxs(Ao,{children:[C?r.jsxs(ko,{children:[r.jsx(To,{windowSize:s,children:B.transferDrawer.calculator.heading.replace("__amount__",q("0,0.[00]a",{amount:l,currencySymbol:"$"})).replace("__rate__",E.toString())}),r.jsx(ir,{interestRate:E,transferAmount:b,setYieldEarned:ee,setTransferAmount:X})]}):null,r.jsxs(Co,{windowSize:s,children:[r.jsxs(Lo,{windowSize:s,children:[r.jsx(zo,{children:r.jsx(Po,{windowSize:s,children:`${B.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:be,currencySymbol:"$"})}`})}),r.jsx(Do,{windowSize:s}),r.jsx(Fo,{children:`${B.transferDrawer.calculator.footerText.forTotalDeposit} ${q("0,0",{amount:b,currencySymbol:"$"})}`})]}),C?r.jsxs(et,{windowSize:s,onClick:()=>G(!1),"data-testid":D("calculator-footer-close"),children:[r.jsx(He,{className:"calculatorFooterLeftText",windowSize:s,children:B.transferDrawer.calculator.footerText.hide}),r.jsx(Mo,{className:"calculatorFooterArrowIcon"})]}):r.jsxs(et,{windowSize:s,onClick:()=>G(!0),"data-testid":D("calculator-footer-show"),children:[r.jsx(He,{className:"calculatorFooterLeftText",windowSize:s,children:B.transferDrawer.calculator.footerText.showYieldCalculator}),r.jsx(Ro,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const xe=(e,a,u,i=!0,l,c=!1,h,p)=>{const A=e.treasuryTransferMoneyLocalData.fromAccount?.id,f=e.treasuryTransferMoneyLocalData.toAccount?.id,$=e.transferMoneyParties.find(m=>m.id===A)||e.treasuryAccount,s=e.transferMoneyParties.find(m=>m.id===f)||e.treasuryAccount;let S=e.transferMoneyParties;a||(S=S.filter(m=>m.accType!=="paymentAccount"));const P=S.map(m=>{const C={label:m.label,value:m.id};return i&&(a?C.isDisabled=m.id===f||m.accType==="paymentAccount"&&s?.accType==="paymentAccount":C.isDisabled=m.id===A||m.accType==="paymentAccount"&&$?.accType==="paymentAccount"),C});if(!u){const m={label:"Treasury",value:e.treasuryAccount.id,isDisabled:!1};i&&(a?m.isDisabled=!1:m.isDisabled=e.treasuryAccount.id===A),a?P.push(m):P.unshift(m)}if(c&&l){const m={label:so.transferDrawer.selectAddAccount,value:"",type:"button",onClick:l};P.push(m)}return P},Ke=e=>{let a=-1,u;return e.transferMoneyParties.forEach(i=>{const l=i.accountBalance?.available?.amount??0;l>a&&(a=l,u=i.id)}),u},Qe=(e,a,u,i)=>{const{fromAccount:l,toAccount:c,amount:h}=e.treasuryTransferMoneyLocalData,p=()=>u?Ke(e):l!=null?l.id:Ke(e);return{transferDetails:{[ht]:h.amount===0?void 0:h.amount,transferFrom:{allOptions:xe(e,!0,a,!0,i,!1),selectedOption:p()},transferTo:{allOptions:xe(e,!1,a,!0,i,!1),selectedOption:c?.id}}}},po=o.div`
286
+ margin-top: ${t.sp3};
287
+ display: flex;
288
+ background-color: ${e=>e.theme.colors.grey5};
289
+ justify-content: space-between;
290
+ padding: ${t.sp3} ${t.sp4};
291
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
292
+ border-radius: ${t.sp2};
293
+ box-shadow: ${e=>`${t.sp0} 2px 2px ${e.theme.colors.dropShadowNormal}`};
294
+ `,ho=o.form`
295
+ display: flex;
296
+ flex-direction: column;
297
+ justify-content: center;
298
+ align-items: center;
299
+ `,mo=o.div`
300
+ display: flex;
301
+ width: 100%;
302
+ justify-content: space-between;
303
+ padding: ${t.sp3} ${t.sp4};
304
+ background-color: ${j.importantLight};
305
+ border-radius: ${t.sp2};
306
+ `,fo=o.div`
307
+ display: flex;
308
+ align-items: flex-start;
309
+ `,go=o.div``,wo=o(dt)`
310
+ width: ${t.sp4};
311
+ height: ${t.sp4};
312
+ color: ${j.important};
313
+ `,xo=o.div`
314
+ display: flex;
315
+ flex-direction: column;
316
+ margin-left: ${t.sp2};
317
+ `,yo=o(ut)`
318
+ color: ${j.important};
319
+ `,$o=o(Y)`
320
+ color: ${j.important};
321
+ `,bo=o(ct)`
322
+ color: ${e=>e.theme.colors.primary};
323
+ margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
324
+ ${e=>e.windowSize==="small"&&`
325
+ margin-top: ${t.sp1};
326
+ margin-bottom: ${t.sp1};
327
+ `}
328
+ `,Ze=o(Nt)`
329
+ border-radius: ${t.sp2};
330
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
331
+ `,vo=o.div`
332
+ display: flex;
333
+ flex-direction: column;
334
+ width: 100%;
335
+ background-color: ${e=>e.theme.colors.grey5};
336
+ border: 1px solid ${e=>e.theme.colors.grey3};
337
+ box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
338
+ border-radius: ${t.sp2};
339
+ `,Fe=o.div`
340
+ display: flex;
341
+ flex: 1;
342
+ background-color: ${e=>e.theme.colors.grey3};
343
+ min-height: 1px;
344
+ max-height: 1px;
345
+ `,Be=o.div`
346
+ display: flex;
347
+ flex-direction: row;
348
+ padding: ${t.sp2};
349
+ padding-left: ${({size:e})=>x.rowContentSelectPaddingLeft.valuePx(e)};
350
+ justify-content: space-between;
351
+ color: ${e=>e.theme.colors.hero};
352
+ &:hover {
353
+ z-index: 1;
354
+ outline: 1px solid ${e=>e.theme.colors.primary};
355
+ .select-control {
356
+ background-color: ${e=>e.theme.colors.background};
357
+ }
358
+ }
359
+ &:focus-within {
360
+ border-color: ${e=>e.theme.colors.primary};
361
+ color: ${e=>e.theme.colors.primary};
362
+ z-index: 2;
363
+ outline: 1px solid ${e=>e.theme.colors.primary};
364
+ }
365
+ :first-of-type {
366
+ border-top-left-radius: inherit;
367
+ border-top-right-radius: inherit;
368
+ }
369
+
370
+ ${({size:e})=>e==="small"&&`
371
+ .select-value-container {
372
+ margin-right: ${t.sp1} !important;
373
+ }
374
+ `}
375
+ `,So=o(Be)`
376
+ padding: ${({size:e})=>x.portfolioContainerPadding.valuePx(e)};
377
+ padding-top: ${t.sp2};
378
+ `,jo=o(Oe)`
379
+ cursor: pointer;
380
+ color: ${e=>e.theme.colors.hero};
381
+ width: ${t.sp4};
382
+ height: ${t.sp4};
383
+ min-height: ${t.sp4};
384
+ &:hover {
385
+ color: ${e=>e.theme.colors.primary};
386
+ }
387
+ `,Ao=o.div`
388
+ margin-bottom: ${t.sp6};
389
+ width: 90%;
390
+ `,ko=o.div`
391
+ background-color: ${e=>e.theme.colors.background};
392
+ border: 1px solid ${e=>e.theme.colors.grey3};
393
+ border-top: none;
394
+ min-height: 182px;
395
+ display: flex;
396
+ justify-content: center;
397
+ align-items: center;
398
+ flex-direction: column;
399
+ `,To=o(Y)`
400
+ color: ${e=>e.theme.colors.hero};
401
+ margin: ${e=>e.windowSize==="small"?t.sp3:`${t.sp3} ${t.sp8}`};
402
+ white-space: pre-line;
403
+ text-align: center;
404
+ `,Po=o.div`
405
+ ${e=>we.yieldEarned.style(e.windowSize)}
406
+ color: ${j.success};
407
+ white-space: nowrap;
408
+ `,Co=o.div`
409
+ display: flex;
410
+ align-items: center;
411
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
412
+ justify-content: space-between;
413
+ padding: ${t.sp2} ${t.sp3};
414
+ background-color: ${e=>e.theme.colors.grey3};
415
+ border-bottom-right-radius: ${t.sp1};
416
+ border-bottom-left-radius: ${t.sp1};
417
+ `,zo=o.div`
418
+ display: flex;
419
+ flex-direction: row;
420
+ align-items: center;
421
+ `,He=o.div`
422
+ ${e=>we.calculatorFooterText.style(e.windowSize)}
423
+ color: ${e=>e.theme.colors.hero};
424
+ cursor: pointer;
425
+ `,et=o.div`
426
+ display: flex;
427
+ flex-direction: row;
428
+ align-items: center;
429
+ gap: 6px;
430
+ align-self: ${e=>e.windowSize==="small"?"flex-end":"center"};
431
+ &:hover {
432
+ .calculatorFooterLeftText {
433
+ color: ${e=>e.theme.colors.primary};
434
+ }
435
+ .calculatorFooterArrowIcon {
436
+ color: ${e=>e.theme.colors.primary};
437
+ }
438
+ }
439
+ `,Do=o.div`
440
+ display: ${e=>e.windowSize==="small"?"none":"block"};
441
+ width: ${t.sp1};
442
+ height: ${t.sp1};
443
+ min-width: ${t.sp1};
444
+ margin: 0 ${t.sp2};
445
+ background-color: ${e=>e.theme.colors.grey1};
446
+ border-radius: 50%;
447
+ `,Lo=o.div`
448
+ display: flex;
449
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
450
+ align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
451
+ width: ${e=>e.windowSize==="small"?"100%":"unset"};
452
+ `,Fo=o(Gt)`
453
+ color: ${e=>e.theme.colors.hero};
454
+ `,Mo=o(Xt)`
455
+ cursor: pointer;
456
+ width: 12px;
457
+ height: 12px;
458
+ min-width: 12px;
459
+ min-height: 12px;
460
+ color: ${e=>e.theme.colors.hero};
461
+ `,Ro=o(Jt)`
462
+ cursor: pointer;
463
+ width: 12px;
464
+ height: 12px;
465
+ min-width: 12px;
466
+ min-height: 12px;
467
+ color: ${e=>e.theme.colors.hero};
468
+ `,H={navBarContainerPaddingXaxis:new w(10,19),containerPaddingLeft:new w(d[3],d[6],d[8]),containerPaddingRight:new w(d[3],d[6],d[8]),successContentMargin:new w(d[3],d[12]),buttonTrayGap:new w(d[4],d[5])},Bo={formTitle:new O("h6Regular","h5Regular")},{common:Me,spendManagement:{treasury:k}}=$e.getLocalizedStrings(),li=({transferDetails:e,treasurySetupView:a,showReviewContent:u,maxInsuredAmount:i,isFirstTransfer:l,plaidConnectionDetails:c,isOnSetup:h,onSaveChangesToLocalStore:p,onTransferClick:A,onAnotherTransferClick:f,onCancelClick:$,onBackClick:s,setShowReviewContent:S,onReviewClick:P,onEstablishConnectionClick:m,onFetchLinkTokenClick:C,onSkipClick:G})=>{const b=ye(),{fundsData:X,currentAllocation:E,fundAllocationOptions:be,fetchState:ee}=a,v=be.find(oe=>Pt(oe.allocation,E))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},M=()=>ee==="Completed"&&(e.treasuryTransferMoneyLocalData.fromAccount!=null||e.treasuryTransferMoneyLocalData.toAccount!=null||e.treasuryTransferMoneyLocalData.amount.amount>0),{fromAccount:ve,toAccount:te,amount:re}=e.treasuryTransferMoneyLocalData;return r.jsx(Eo,{windowSize:b,children:e.fetchState==="Completed"?r.jsxs(tt,{windowSize:b,isTransferCompleted:!0,children:[r.jsx(rt,{windowSize:b,children:r.jsx(ot,{"data-testid":D("cross-transfer-success-close-button"),onClick:()=>{$()}})}),r.jsxs(Wo,{windowSize:b,children:[r.jsx(Ct,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),r.jsx(_o,{children:r.jsxs(r.Fragment,{children:[k.transferDrawer.success.prefix,r.jsx(No,{children:q("0,0.[00]",re)}),k.transferDrawer.success.midfix,`"${ve?.label}"`,k.transferDrawer.success.midfix2,`"${te?.label}".`]})}),r.jsxs(Vo,{windowSize:b,children:[r.jsx(qe,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":D("another-transfer-button","treasury"),onClick:()=>{f?.()},style:{minWidth:200}}),r.jsx(qe,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":D("back-to-treasury-button"),onClick:()=>{$()},style:{minWidth:200}})]})]})]}):u?r.jsx(Sr,{transferDetails:e,setShowReviewContent:S,onTransferClick:A,fundDetails:X,portfolioAllocation:v,isOnSetup:h,onCancelClick:$}):r.jsxs(r.Fragment,{children:[r.jsxs(tt,{windowSize:b,isTransferCompleted:!1,children:[r.jsx(rt,{windowSize:b,children:r.jsx(ot,{"data-testid":D("cross-amount-details-close-button"),onClick:()=>{$()}})}),b==="small"?r.jsx(qo,{windowSize:b,children:h===!0?k.transferDrawer.stepTitle:l?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):r.jsx(Yo,{windowSize:b,children:h===!0?k.transferDrawer.stepTitle:l?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),h===!0&&r.jsx(Go,{windowSize:b,children:r.jsx(Xo,{children:r.jsxs(Jo,{children:[r.jsx(it,{}),r.jsx(it,{}),r.jsx(Uo,{})]})})}),b==="small"?r.jsx(Io,{children:k.transferDrawer.subTitle}):r.jsx(Oo,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?r.jsx(uo,{onSaveChangesToLocalStore:p,transferDetails:e,onReviewClick:P,fundDetails:X,portfolioAllocation:v,isOnSetup:h,isFirstTransfer:l,maxInsuredAmount:i,plaidConnectionDetails:c,onEstablishConnectionClick:m,onFetchLinkTokenClick:C}):r.jsx(at,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),M()?r.jsx(nt,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:ft(mt),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:h===!0&&G?r.jsx(Ko,{onClick:G,"data-testid":D("skip-transfer-link"),children:k.transferDrawer.skip}):null,primaryBtn:{label:Me.review},cancelBtn:{label:h===!0?Me.footer.back:Me.cancel,onClick:()=>{h===!0?s():$()}}}):null]})})},Oo=o(Y)`
469
+ color: ${e=>e.theme.colors.hero};
470
+ `,Io=o(I)`
471
+ color: ${e=>e.theme.colors.hero};
472
+ `,Eo=o.div`
473
+ display: flex;
474
+ flex-direction: column;
475
+ background-color: ${e=>e.theme.colors.grey4};
476
+ overflow-x: hidden;
477
+ height: 100vh;
478
+ width: 100%;
479
+ `,_o=o(zt)`
480
+ color: ${e=>e.theme.colors.primary};
481
+ text-align: center;
482
+ `,No=o(Dt)`
483
+ display: inline;
484
+ `,tt=o.div`
485
+ height: ${e=>e.isTransferCompleted?"100%":"auto"};
486
+ padding-left: ${e=>`${H.containerPaddingLeft.valuePx(e.windowSize)}`};
487
+ padding-right: ${e=>`${H.containerPaddingRight.valuePx(e.windowSize)}`};
488
+ margin-bottom: auto;
489
+ `,Vo=o.div`
490
+ display: flex;
491
+ justify-content: center;
492
+ flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
493
+ margin-top: ${t.sp6};
494
+ gap: ${e=>`${H.buttonTrayGap.valuePx(e.windowSize)}`};
495
+ `,Wo=o.div`
496
+ height: 80%;
497
+ display: flex;
498
+ flex-direction: column;
499
+ justify-content: center;
500
+ margin: ${e=>`${t.sp0} ${H.successContentMargin.valuePx(e.windowSize)}`};
501
+ align-items: center;
502
+ `,rt=o.div`
503
+ display: flex;
504
+ flex-direction: row-reverse;
505
+ justify-content: space-between;
506
+ align-items: center;
507
+ width: 100%;
508
+ top: ${t.sp0};
509
+ padding: ${e=>`${H.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
510
+ z-index: 2;
511
+ background-color: ${e=>e.theme.colors.grey4};
512
+ `,ot=o(Oe)`
513
+ cursor: pointer;
514
+ color: ${e=>e.theme.colors.hero};
515
+ width: ${t.sp4};
516
+ height: ${t.sp4};
517
+ min-height: ${t.sp4};
518
+ &:hover {
519
+ color: ${e=>e.theme.colors.primary};
520
+ }
521
+ `,qo=o(Rt)`
522
+ color: ${e=>e.theme.colors.primary};
523
+ margin-top: ${t.sp3};
524
+ margin-bottom: ${t.sp0};
525
+ margin-right: ${t.sp3};
526
+ `,Yo=o(lt)`
527
+ ${e=>`${Bo.formTitle.style(e.windowSize)}`};
528
+ color: ${e=>e.theme.colors.primary};
529
+ margin-top: ${t.sp3};
530
+ margin-bottom: ${t.sp2};
531
+ `,Go=o.div`
532
+ display: flex;
533
+ flex-direction: column;
534
+ gap: ${t.sp3};
535
+ width: 100%;
536
+ margin-bottom: ${t.sp3};
537
+ `,Xo=o.div`
538
+ display: flex;
539
+ align-items: center;
540
+ `,Jo=o.div`
541
+ display: flex;
542
+ width: 100%;
543
+ gap: ${t.sp3};
544
+ `,it=o.div`
545
+ width: 33.33%;
546
+ height: 2px;
547
+ background-color: ${e=>e.theme.colors.primary};
548
+ border-radius: ${t.sp2};
549
+ `,Uo=o.div`
550
+ width: 33.33%;
551
+ height: 2px;
552
+ background-color: ${e=>e.theme.colors.grey2};
553
+ border-radius: ${t.sp2};
554
+ `,Ko=o(I)`
555
+ cursor: pointer;
556
+ display: inline-block;
557
+ position: relative;
558
+ color: ${e=>e.theme.colors.hero};
559
+ text-decoration: none;
560
+ margin-left: ${t.sp6};
561
+ &:before {
562
+ content: "";
563
+ position: absolute;
564
+ left: 0;
565
+ bottom: 0;
566
+ height: 1px;
567
+ width: 100%;
568
+ background: ${e=>e.theme.colors.grey2};
569
+ z-index: 0;
570
+ pointer-events: none;
571
+ }
572
+
573
+ &:hover {
574
+ color: ${e=>e.theme.colors.primary};
575
+ }
576
+ `;export{li as default};
@@ -0,0 +1,16 @@
1
+ import{O as Y,j as n,l as u,c as Z,aM as w,b3 as z,bQ as A,bR as F,bh as O,C as k,bg as P,aX as B,bS as q,bi as _,bU as G,o as L,h as K,am as N}from"./index-MAXVX6UR.js";import{b as D,w as X,n as $}from"./vendor-Bs1fkIUX.js";import{d as Q,g as M,p as v,u as V}from"./chartTypes-DLnePN0T-B_54UqyM.js";import{o as W}from"./toCOABalancesWithID-D-AHYPZY-Bomk_rrT.js";import{V as U}from"./toChartData-BIN4xqGz-BcU_F8Ix.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=$.div`
2
+ display: flex;
3
+ `,I=$.div`
4
+ flex: display;
5
+ opacity: 0.85;
6
+ border-radius: ${L.sp1};
7
+ flex-direction: column;
8
+ padding: ${L.sp3};
9
+ background-color: ${e=>e.theme.colors.black};
10
+ `,J=$(N)`
11
+ color: ${e=>e.color??K.neutralGrey2Light};
12
+ text-align: left;
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ `,ee=({active:e,payload:t,trendType:a})=>{const r=[];return t?.forEach(i=>{const l=i.name;if(i&&e&&i.value!==0){const d=i.payload,b=i.color,m=l!=null&&d.record[l]!=null?d.record[l].amount:void 0;r.push({barName:a,value:m,color:b})}}),r},te=e=>{const t=ee(e);return t.length?n.jsx(H,{children:n.jsx(I,{children:t.map((a,r)=>n.jsx(J,{color:a.color,children:`${a.barName}: ${V(a.value)}`},a.barName+r))})}):null},ae=X.memo(te),re=(e,t,a,r)=>{let i=[];if(r!=null){const l=oe(r,a);l!=null&&l.length>0&&(i=W("trend","actual",l))}if(i.length>0){const l=v("trend","actual"),d={};return d[l]=i,U(e,t,l,d)}else return},oe=(e,t)=>{if(e!=null)switch(t){case"month":return e.monthly;case"quarter":return e.quarterly;case"year":return e.yearly;case"free_range":throw new Error("free_range dates are not supported!")}},S=[v("trend","actual")];function xe({firstMonthOfFY:e,trendReport:t,timeframe:a,selectedTimePeriod:r,graphColor:i,width:l,height:d,onTimeframeSelectionChanged:b}){const m=D.useRef(!1),g=r!=null?ne(e,r,a):void 0,y=Y.getLocalizedStrings().reports.trend[t?.balancesKind];D.useEffect(()=>{m.current=!0},[]);const x=re(e,S,a,t),j=p=>{const h=[];return S.forEach(o=>{h.push(n.jsx(G,{name:o,isAnimationActive:m.current,dataKey:s=>{const c=s.record;return(c[o]!=null&&c[o].amount!=null?c[o].amount:void 0)?.amount??0},maxBarSize:36,fill:p.toString(),"data-testid":w(o,"bar")},o))}),h};return x==null?null:n.jsx(le,{chartData:x,timeframe:a,selectedLabel:g,barElements:j(i),customToolTipContent:({active:p,payload:h})=>n.jsx(ae,{active:p,payload:h,trendType:y}),width:l,height:d,onTimeframeSelectionChanged:b})}const le=({chartData:e,timeframe:t,selectedLabel:a,barElements:r,customToolTipContent:i,width:l,height:d,onTimeframeSelectionChanged:b})=>{const m=Z(),[g,y]=D.useState([void 0,void 0]),x=e.timeseries,j=Q(e),p=x.map(o=>o.label);D.useEffect(()=>{if(a!=null){const o=M(a.label,p,1);y(o)}else y([void 0,void 0])},[t,a]);const h=o=>{if(o?.activePayload==null||o?.activePayload.length===0)return;const s=o.activePayload[0];if(s?.payload?.record?.[v("trend","actual")]?.amount==null)return;const c=s.payload.record[v("trend","actual")].amount;if(c!=null&&c.amount===0||s?.payload?.timeLabel?.label==null)return;const T=s.payload.timeLabel.label,E=s.payload.timeLabel.startDate,C=s.payload.timeLabel.endDate,R=M(T,p,1);y(R),b?.(t,{startDate:E,endDate:C})};return n.jsx("div",{style:{width:l,height:d},"data-testid":w("simple-bar-chart"),children:n.jsx(z,{children:({height:o,width:s})=>n.jsxs(A,{"data-testid":w("bar-chart"),width:s,height:o,data:e.recordByTimeseries,barCategoryGap:"30%",margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto",cursor:"pointer"},onClick:h,children:[n.jsx(F,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:m.colors.grey3}),n.jsx(O,{dataKey:c=>c.timeLabel.label,type:"category",axisLine:{stroke:m.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:m.colors.hero,...k.extraSmallRegular.cssObject}}),n.jsx(P,{type:"number",axisLine:!1,tickLine:!1,tick:{color:m.colors.hero,...k.extraSmallRegular.cssObject},tickFormatter:c=>B("0,0.[00]a",c,j)}),n.jsx(q,{cursor:!1,content:i,allowEscapeViewBox:{x:!1,y:!0}}),a!=null&&n.jsx(_,{x1:g[0],x2:g[1],opacity:.3,fillOpacity:.3,stopOpacity:.1}),r]})})})},{dateFormat:f}=Y.getLocalizedStrings(),ne=(e,t,a)=>{let r="";switch(a){case"week":t.startDate.month()!==t.endDate.month()?r=`${u.formatZeniDate(t.startDate,f.visual.MMMYYFormat,e)} - ${u.formatZeniDate(t.endDate,f.visual.MMMYYFormat,e)}`:r=`${u.formatZeniDate(t.startDate,f.visual.Dformat,e)} - ${u.formatZeniDate(t.endDate,f.visual.MMMDCommaYYYYformat,e)}`;break;case"month":r=`${u.formatZeniDate(t.startDate,f.visual.MMMYYFormat,e)}`;break;case"quarter":r=`${Y.getLocalizedStrings().quarterPrefix}${u.formatZeniDate(t.startDate,f.visual.QYYformat,e)}`;break;case"year":r=`${u.formatZeniDate(t.startDate,f.visual.YYYYformat,e)}`;break;case"free_range":throw new Error("free_range dates are not supported!")}return{label:r,startDate:t.startDate,endDate:t.endDate}};export{xe as default};