@zeniai/web-cockpit-ui 1.14.72-dev → 1.14.72-dev-betaSK01

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 (314) hide show
  1. package/dist/assets/{ACHDetailsPage-BZFkcCOG-Bm0yzLzS.js → ACHDetailsPage-BZFkcCOG-WfBPHoUX.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-DtNLjoUW-C8WssBlV.js → AIPerformancePage-DtNLjoUW-CinUSJg2.js} +124 -124
  3. package/dist/assets/{AccountInfoPage-D-E_-WpE-D3xkesKo.js → AccountInfoPage-D-E_-WpE-DJyb7x4k.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-B8GKrtCm-Bl_GPEk1.js → AccountInfoPageContent-B8GKrtCm-10kK72ec.js} +13 -13
  5. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-ZCs8qzoa.js +59 -0
  6. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-BuvZZBZ-.js +239 -0
  7. package/dist/assets/{AccountRow-Be3LIHO--AtWCxnkE.js → AccountRow-Be3LIHO--BjLJB43L.js} +32 -32
  8. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-CkQ7kJh8.js +207 -0
  9. package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-BwSuj-eK.js → AddAddressForCardDrawer-Lm7cn4kq-DzFp-OyN.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-nSq-9dQy-DNXeo8yV.js → AddToWalletPage-nSq-9dQy-D56Hf4hb.js} +13 -13
  11. package/dist/assets/AgingReportsPage-L0zQxwCf-D3sUJmot.js +79 -0
  12. package/dist/assets/AllUserItems-CvwaOEhu-DISgj-9d.js +192 -0
  13. package/dist/assets/ApAgingDetailPage-B_78aSEv-DLL7XkHo.js +46 -0
  14. package/dist/assets/{AppBasePage-Br0WbQRY-C5P2SI_a.js → AppBasePage-Br0WbQRY-BAK8zLlg.js} +5 -5
  15. package/dist/assets/{AppDrawerContent-BZODvVvi-DO9-i0u3.js → AppDrawerContent-BZODvVvi-DQ-V9QL0.js} +7 -7
  16. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-CRTSWRxG.js +47 -0
  17. package/dist/assets/ArAgingChart-BezVy1Sm-ClcQ64wd.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-BlV3iJeW-DvSoM4Rd.js → ArAgingDetailPage-BlV3iJeW-D0lCDh_0.js} +3 -3
  19. package/dist/assets/{AttachmentView-DhluaeAV-DnrJUkr5.js → AttachmentView-DhluaeAV-DsM43aN0.js} +9 -9
  20. package/dist/assets/{BankAccountSection-GDEQdiGL-CuwfGvXF.js → BankAccountSection-GDEQdiGL-CmBLlIS1.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Di_BsiJC-Cp36wJhl.js → BankAccountWarningSection-Di_BsiJC-_Ul1tNJQ.js} +9 -9
  22. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-ik9FJnty.js +425 -0
  23. package/dist/assets/BillDetailPage-CDAh8Jtl-wk3WJY1W.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-DYCBn6RW.js → BillPayApprovalRuleDetailPage-BzyTn4mC-DxDRXjZW.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-D20J03DB.js → BillPayApprovalRulesPage-DDJ-LxQz-B-4hhNoy.js} +7 -7
  26. package/dist/assets/BillPayPromoPage-B2YcxWc9-ChjVVUdj.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-oJvoWpFu-ZQ44J65y.js +42 -0
  28. package/dist/assets/BillingSettingsPage-BRsKYzT5-C1YZEc97.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-09a60H-u.js +1 -0
  30. package/dist/assets/{BoxItem-COIjjFrn-DqU4ZyNU.js → BoxItem-COIjjFrn-CYZK_lth.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-Nw_fedst-Ce7UF4J6.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CmhH95Ff-CLBGKyAX.js → CardNumberSubText-CmhH95Ff-D70_vfvB.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-BPLjvuA3-362WFi2j.js → CashbackDetailPage-BPLjvuA3-D2AlurqK.js} +56 -56
  34. package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-BUoeKuHJ.js → ChargeCardDetailPage-qOu4cPGd-CMQ9x73T.js} +215 -215
  35. package/dist/assets/ChargeCardListPage-v5hH98Wi-BhiUhdgm.js +406 -0
  36. package/dist/assets/{ChargeCardListTable-BGWV4zJl-fPTlw7hA.js → ChargeCardListTable-BGWV4zJl-CcT6S7FA.js} +51 -51
  37. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-CiA1pNTj.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-Bqw8Kqbv.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BpTcE_Fq.js → ChargeCardStatementsPage-CJgUrcLz-BY-SWhAj.js} +3 -3
  40. package/dist/assets/ChargeCardUtils-BRgkrCTs-Bo37IpfS.js +1 -0
  41. package/dist/assets/{ChaseOverlay-BC_4vwtb-ZJ37WP7g.js → ChaseOverlay-BC_4vwtb-BQqHx8M-.js} +4 -4
  42. package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-BcLnzbHC.js → CheckDepositDrawerPage-CDo5E13X-CKNKZDF1.js} +21 -21
  43. package/dist/assets/CollapsableReportTable-7iAngywY-BhPujiYA.js +2932 -0
  44. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-B2MTqDnr.js +260 -0
  45. package/dist/assets/{CompanyPassportCard-D3F01eJL-CYg3XwZh.js → CompanyPassportCard-D3F01eJL-BhEJq4YF.js} +1 -1
  46. package/dist/assets/CompanyPassportPage-BQoEcPJr-CLTXsXdq.js +574 -0
  47. package/dist/assets/CompleteProfile-D5e9TQgy-B3NCfzYL.js +52 -0
  48. package/dist/assets/{ConfettiBurst--HIHB7Os-CFkZhGnX.js → ConfettiBurst--HIHB7Os-S4QyIwiq.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-BqbzMjKm.js → CreateOrEditVendorPage-D9jmSrKr-DpdjBsSE.js} +11 -11
  50. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-C-tETdxW.js +224 -0
  51. package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-D_nbIzHo.js → CreditCardPaymentPlgSection-8ZShMO31-COciJwfu.js} +10 -10
  52. package/dist/assets/{CurrencySelectField-nhg_dhDw-Ct_sJsLw.js → CurrencySelectField-nhg_dhDw-nZHVWMo0.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-2HboMU2B.js → CustomerOnboardingActivationPage-CoGvz7Kd-1Tt5lNh3.js} +5 -5
  54. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-CdqN8qku.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-Bm0dGA9J.js → CustomerOnboardingDetailPageSkeleton-DUGRKWtN-ClKlbRH6.js} +13 -13
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-BNFSu_0c.js → CustomerOnboardingNoStepsPage-Cc5frP29-Pt9D5fwX.js} +6 -6
  57. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-BMM-roBm.js +107 -0
  58. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-DgRG1l8f.js +202 -0
  59. package/dist/assets/{Dashboard-D6Ba5oj0-DGZ5Ekyf.js → Dashboard-D6Ba5oj0-C5iZr7Dc.js} +262 -262
  60. package/dist/assets/DashboardReportPage-DTMbYOWH-B0H-UpGg.js +371 -0
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-BPk9MxB4.js → DashboardSidebarBackgroundAnimation-Locz2zHR-Bhgpjfq-.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-CxL2uxQm.js → DepositAccTransactionItem-B0BGwVqF-Cwta5ei3.js} +5 -5
  63. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-D1h5XemH.js +66 -0
  64. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bhq4tM9b.js +21 -0
  65. package/dist/assets/DownloadOverlay-DRcasKoB-BTfb8tZj.js +439 -0
  66. package/dist/assets/{DrawerPage-BRD6cE6J-CdG9rNJx.js → DrawerPage-BRD6cE6J-1UMYAHb7.js} +13 -13
  67. package/dist/assets/EditPeoplePage-Zzo62if7-Clw_H_tG.js +55 -0
  68. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-DgdwTZwz.js +865 -0
  69. package/dist/assets/EntityDetailPage-CzlzOW8n-CjIrlTQm.js +18 -0
  70. package/dist/assets/{EntitySummarySection-BRt1kPDf-BrvMzC_z.js → EntitySummarySection-BRt1kPDf-DQbEIQFx.js} +28 -28
  71. package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-D28DcERt.js → ExpenseAutomationOverviewPage-vUkGameq-CHnaqssF.js} +50 -50
  72. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-DxIRsn8B.js +1650 -0
  73. package/dist/assets/ExpressPayPage-DdQiFzDu-CXe6diRB.js +168 -0
  74. package/dist/assets/{FeaturePreviewPage-CQN2xThT-D8GcVVCI.js → FeaturePreviewPage-CQN2xThT-DJXN60Ac.js} +3 -3
  75. package/dist/assets/{FollowStepsSection-DdwEVWhG-XjqeMDlz.js → FollowStepsSection-DdwEVWhG-yjJ5FRCa.js} +21 -21
  76. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Dz5cpAt1.js +291 -0
  77. package/dist/assets/HelpButton-BNMy-6ce-CVlMGZqS.js +28 -0
  78. package/dist/assets/{InformationCardStack-Cw7c9Pnd-JKEjusS_.js → InformationCardStack-Cw7c9Pnd-BX2LTL8l.js} +2 -2
  79. package/dist/assets/InsightsCardStack-CaMZiCnn-DLt2ZmbV.js +79 -0
  80. package/dist/assets/{InsightsSection-JIKb9lz3-CSUvMdaP.js → InsightsSection-JIKb9lz3-Hi0aN8hq.js} +5 -5
  81. package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CfkisAjm.js → IntegrationsSettingsPage-h4pel2yK-CxqwarZy.js} +4 -4
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-D4h6wt17.js → InternationalWireSwiftDetailsPage-C2SnHEV1-CzlIxaS1.js} +16 -16
  83. package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-CGQwkBKG.js → InternationalWireVerificationPage-Dk11ztF7-BCCRbUea.js} +28 -28
  84. package/dist/assets/{InviteFormPage-CrtH0cSG-lBcBfRNC.js → InviteFormPage-CrtH0cSG-eVIYbN0r.js} +16 -16
  85. package/dist/assets/{InvitePageListView-DUoopPip-D3WES4Ay.js → InvitePageListView-DUoopPip-D5qrm4ww.js} +164 -164
  86. package/dist/assets/InvitePeoplePage-C3ecL8XJ-olYxQVFB.js +12 -0
  87. package/dist/assets/InvoiceUploadSection-DoR834b4-CjFOCIIZ.js +140 -0
  88. package/dist/assets/{IssueChargeCardPage-D6DCohbK-CY0NLJ-D.js → IssueChargeCardPage-D6DCohbK-BMG4Ljit.js} +10 -10
  89. package/dist/assets/{LabeledAddressValue-C3R0DSjj-DSFQoK0_.js → LabeledAddressValue-C3R0DSjj-CpxXKm9c.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-D9-PqJNp.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-WAKwiqVu.js → LabeledControlledCheckBoxField-zwoLFM1n-B44wDW2V.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-r1U--LmU.js → LabeledCreatableSingleSelectField-BhaeopJt-tsmH64cn.js} +7 -7
  93. package/dist/assets/LabeledDocumentField-ED03S2kQ-BGespvxP.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-DR9C1PhE.js → LabeledDropDownFormattedTextField-brzU_fnp-hUkbh0bF.js} +5 -5
  95. package/dist/assets/{LabeledText-BESSkt5Z-DvRhicFs.js → LabeledText-BESSkt5Z-CPDVK04g.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-BRFp4N3Z.js → LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-DaWgPr9f.js} +18 -18
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-C9dcF_vL.js → LabeledZeniRolesDropDownField-BXTCN4j2-CLEMt0Ht.js} +33 -33
  98. package/dist/assets/LinkJETransactionPage-_ROjxBMO-C6IEO3Ec.js +98 -0
  99. package/dist/assets/{LockCardPage-DYfgK11k-CA2sqFlt.js → LockCardPage-DYfgK11k-BFAZ4k7o.js} +71 -71
  100. package/dist/assets/LowBalancePopup-CZDcHxyW-BSR036zV.js +34 -0
  101. package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--CVcTUs2d.js → MagicLinkACHDetailsPage-CLXcRbZ--B-X6oebP.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-BPglJFOV.js → MagicLinkDomesticWireDetailsPage-CZlZr96w-DllJxuHV.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-DFwZaRYm.js → MagicLinkInternationalWireDetailsPage-DhPjvv0o-BIaiGIsd.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-Ddx1hbRe.js → MagicLinkSuccessPage-Bh2nlLPN-6rfZopUb.js} +3 -3
  105. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-Dx0fyRw5.js +17 -0
  106. package/dist/assets/{MailingDetailsSection-9RwlQxVG-C09sdGhg.js → MailingDetailsSection-9RwlQxVG-_UrE81Sw.js} +2 -2
  107. package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-B9VDTxkT.js → MeetingCalenderPopup-BxV_UIXP-BXGtVHle.js} +4 -4
  108. package/dist/assets/Menu-B6iTf2H7-Cu2Vb11u.js +17 -0
  109. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-uU5Nku5W.js +110 -0
  110. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-yyVAdXqO.js +6 -0
  111. package/dist/assets/MyProfileSettingsPage-BRK5nWg2-BCkp79gR.js +85 -0
  112. package/dist/assets/{NavBarWithPicker-CKh_HMfV-U1f60LTo.js → NavBarWithPicker-CKh_HMfV-i4ObGPrS.js} +4 -4
  113. package/dist/assets/{NavigationArrow-XZmJpDrE-BSGdgz-m.js → NavigationArrow-XZmJpDrE-DolsLofY.js} +2 -2
  114. package/dist/assets/{NavigationDots-BxPgEW_p-CnLRJgGA.js → NavigationDots-BxPgEW_p-Cjr25BX_.js} +3 -3
  115. package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-CFbklyjG.js → NewGlobalMerchantPage-CQzrDe0S-K2NUXsKS.js} +35 -35
  116. package/dist/assets/{NoDataChart-5E72SElf-Bfyft1Tp.js → NoDataChart-5E72SElf-3CnLxisw.js} +4 -4
  117. package/dist/assets/{NoDataTable-BwHbkm3l-C4AJlFQY.js → NoDataTable-BwHbkm3l-VTHrTfOq.js} +2 -2
  118. package/dist/assets/{NotFoundPage-6udaksBZ-Bdrzyyzv.js → NotFoundPage-6udaksBZ-DUgTbMe0.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DkYmxMgg-B7fNoy2R.js → NotificationSettingsPage-DkYmxMgg-BVRECpS0.js} +32 -32
  120. package/dist/assets/{NotificationsListConfig-FGxLgO1o-Bjqs17aQ.js → NotificationsListConfig-FGxLgO1o-C0kfEx8A.js} +1 -1
  121. package/dist/assets/NotificationsPage-C7lSAnUb-CEUwTZM_.js +685 -0
  122. package/dist/assets/{OpExByVendorPage-CM0RluUk-BgpW2giu.js → OpExByVendorPage-CM0RluUk-PZB-G7xm.js} +4 -4
  123. package/dist/assets/{OverlayContainerPage-BKHs_4eI-mLdiagVZ.js → OverlayContainerPage-BKHs_4eI-CSsJiY_P.js} +2 -2
  124. package/dist/assets/PandLWithForecastPage-W4jlNjml-8wxKAhbo.js +107 -0
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-ChYOGpfy.js → PaymentAccountSetupBillingAddressSection-DQ82eP9Q-Cwm2aoR2.js} +9 -9
  126. package/dist/assets/{PeoplePage-CB3T3u_F-DC1PdCPq.js → PeoplePage-CB3T3u_F-BR69e4ui.js} +96 -96
  127. package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-CmTdPnvM.js → PortfolioAllocationFormPage-CZkJD6tu-1mutznS7.js} +13 -13
  128. package/dist/assets/{PortfolioDetails-D4yT8r35-DSk0Sc23.js → PortfolioDetails-D4yT8r35-BZAutCbg.js} +34 -34
  129. package/dist/assets/{ProductsCarousel-CR7_rk0K-DQWJaP-C.js → ProductsCarousel-CR7_rk0K-CKMGS-I4.js} +7 -7
  130. package/dist/assets/{PromoBaseCards-BAPolzxE-DLtmx-3v.js → PromoBaseCards-BAPolzxE-DjUVr5kX.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-D3eazhj7-fJDNmSLU.js → QBOConnectionDialog-D3eazhj7-DCdAj667.js} +7 -7
  132. package/dist/assets/{QBOSetupSection-Cjjhm_Ee-CrlXRkit.js → QBOSetupSection-Cjjhm_Ee-CX61tnWs.js} +12 -12
  133. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DDLdjGbX.js +26 -0
  134. package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-H2GhhV11.js → ReimbursementApprovalRulesPage-GSzJGSuy-DOLnlfRe.js} +12 -12
  135. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-ByJDRCe5.js +314 -0
  136. package/dist/assets/ReimbursementPromoPage-PshodHUZ-CEBQKb7P.js +84 -0
  137. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-BMbaH1eU.js +140 -0
  138. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-CEJlVV08.js +1 -0
  139. package/dist/assets/{ReloadCard-Dpoxd9nE-B9DlyhD4.js → ReloadCard-Dpoxd9nE-_RGkkZLm.js} +5 -5
  140. package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-DAZRgQwg.js → ReportTableViewSelector-Ci-WKrCO-D0sA8766.js} +30 -30
  141. package/dist/assets/ReportsPage-C7zirS74-oNrbhh6a.js +121 -0
  142. package/dist/assets/{RevenueChart-CXMBT3cr-DnDEiqPG.js → RevenueChart-CXMBT3cr-BigDcfmP.js} +29 -29
  143. package/dist/assets/ReviewDetailsPage-ClsyL5-w-rKSUEvaS.js +290 -0
  144. package/dist/assets/{ReviewOverlay-C6Kx7Hfm-IahzUsv3.js → ReviewOverlay-C6Kx7Hfm-Aab2M4el.js} +12 -12
  145. package/dist/assets/{RoleWithToolTip-BqI6M0x_-CwUqJeb5.js → RoleWithToolTip-BqI6M0x_-3Pz3ZAbU.js} +2 -2
  146. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-Dm8QVj-0.js +37 -0
  147. package/dist/assets/ScheduleDetailsPage-BftjSvA7-D97uCI5t.js +37 -0
  148. package/dist/assets/{ScheduleSequenceTable-lTN7r0p4-BFWt_8N-.js → ScheduleSequenceTable-lTN7r0p4-BmAjQVGV.js} +42 -42
  149. package/dist/assets/ScreenRoutes-Du6t5Ig_.js +206 -0
  150. package/dist/assets/SetUpAccountSection-Bnbi8X23-7-Jadv9H.js +378 -0
  151. package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-BcxYXAIw.js → SetUpDefaultSection-Bm1eZSgT-9DFPAVat.js} +13 -13
  152. package/dist/assets/{SignIn-BlISBvt5-C9HXqHPg.js → SignIn-BlISBvt5-BSeULTEW.js} +28 -28
  153. package/dist/assets/SignInScreen-BN2xWnU-.js +1 -0
  154. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-ByNxcaX6.js +123 -0
  155. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-C5z49u7s.js +754 -0
  156. package/dist/assets/SpendManagementSection-kucZgC-H-Cqflt6S1.js +230 -0
  157. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-9bAK-YlL.js +206 -0
  158. package/dist/assets/{StatementItem-BVIVLdDn-BLcyHqWZ.js → StatementItem-BVIVLdDn-DWQxeT2X.js} +2 -2
  159. package/dist/assets/StatementsPage-KnLUSJbm-DVR36Ge4.js +58 -0
  160. package/dist/assets/{StatusSwitcher-aAizq1mr-D4E7X1zy.js → StatusSwitcher-aAizq1mr-c-jcIGD9.js} +2 -2
  161. package/dist/assets/{SubTabSwitcher-COrYJ6CW-B2hsvJe_.js → SubTabSwitcher-COrYJ6CW-BIZF-iNv.js} +1 -1
  162. package/dist/assets/{SummaryCard-Dv0dWKBw-BnK7xgrF.js → SummaryCard-Dv0dWKBw-CGu-GHYa.js} +1 -1
  163. package/dist/assets/TaskManagementPage-CPLyyK1Y-BZe-OFxL.js +508 -0
  164. package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-CGFdCObN.js → TimeRangeSwitcher-ifkHfqEg-VY1vzvIS.js} +3 -3
  165. package/dist/assets/{TimeframeSwitcher-BP-PxO5g-DG6ysLlp.js → TimeframeSwitcher-BP-PxO5g-DxTIS9PI.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-Dd12kokF.js → TimeframeSwitcherWithToggle-DH-PfsTQ-D7U0L-cV.js} +1 -1
  167. package/dist/assets/{TopExCard-Bam-Q4MV-GCmLzO6i.js → TopExCard-Bam-Q4MV-BsP_HKjG.js} +6 -6
  168. package/dist/assets/{TopExDetailPage-P0Twt5zZ-BElfoauE.js → TopExDetailPage-P0Twt5zZ-CoHp8hDQ.js} +12 -12
  169. package/dist/assets/TransactionDetailPage-D1Z1f-DD-BPMl_wDr.js +912 -0
  170. package/dist/assets/TransactionList-BzJEbOV9-0ST5sY1-.js +147 -0
  171. package/dist/assets/{TransactionListBig-u4SJBZTE-BZvqZwTB.js → TransactionListBig-u4SJBZTE-BlGBIBoN.js} +44 -44
  172. package/dist/assets/{TransactionListPage-D4GJ6i3l-BXLL3BhX.js → TransactionListPage-D4GJ6i3l-yaso0Nlb.js} +3 -3
  173. package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-Cl9iluIt.js → TransactionVendorDetailPage-CuFHbm8c-kFca8x3E.js} +5 -5
  174. package/dist/assets/{TransferDrawerPage-GD2I8ptj-B7cXbGdy.js → TransferDrawerPage-GD2I8ptj-CANT8JC_.js} +27 -27
  175. package/dist/assets/TreasuryOverviewPage-DySunaqy-Du5jK6WV.js +708 -0
  176. package/dist/assets/{TreasuryPromoPage-DW1f8_q1-CZjoBD0v.js → TreasuryPromoPage-DW1f8_q1-CkWefV3r.js} +6 -6
  177. package/dist/assets/{TreasurySetupPage-53k6ARHC-8YVNt5Wt.js → TreasurySetupPage-53k6ARHC-DuoYqIOy.js} +3 -3
  178. package/dist/assets/{TreasuryStatementsPage-pIshKNaR-Dtfk2lx_.js → TreasuryStatementsPage-pIshKNaR--8vN-IgR.js} +5 -5
  179. package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CKVKJh1V.js → TreasuryTaxLetterPage-B3PkB1al-CkqZdxpj.js} +5 -5
  180. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-DKViGoiZ.js +576 -0
  181. package/dist/assets/TrendChart-B_5D-Zud-Cw_zgD-R.js +16 -0
  182. package/dist/assets/{TrendWithTransactions-mI_El5D1-SbfSjDf-.js → TrendWithTransactions-mI_El5D1-DUVZm_U-.js} +4 -4
  183. package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-BxpsIXJf.js → UncategorizedAccountsMappingPage-LQeq8Gdv-BNgZRg4x.js} +47 -47
  184. package/dist/assets/{UnitIntegrationPage-XOWqGHla-DR8O2yO4.js → UnitIntegrationPage-XOWqGHla-BIoTpmZ_.js} +11 -11
  185. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-BNMbNbJQ.js +38 -0
  186. package/dist/assets/{Vendor2FAPopup-BfqIHZBb-CksyyTez.js → Vendor2FAPopup-BfqIHZBb-DUpQFrOM.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-CswCvAFH-CdUK-HJH.js → VendorACHDetailsPage-CswCvAFH-DqnJleBx.js} +1 -1
  188. package/dist/assets/VendorDetailPage-CEX7xMIN-D29fVYfj.js +257 -0
  189. package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-B4ZHtbXA.js → VendorDomesticWireDetailsPage-DxrSjlTR-GbXdyYXP.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-BmDatzoV.js → VendorFiling1099EditablePage-q1gQ8keD-GKQT7vTw.js} +32 -32
  191. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-DwoL9x7s.js +730 -0
  192. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-N7HCxAFy.js +152 -0
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-ZgE8KOcO.js → VendorInternationalWireSwiftDetailsPage-W0s1zQNC-eVlfJ9f_.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-C13Z2HN9-C2XOcHy1.js → VendorsAccountsSection-C13Z2HN9-DvGRJwYY.js} +4 -4
  195. package/dist/assets/VerifyDevice-C27gEWkZ-BrEq9dHz.js +112 -0
  196. package/dist/assets/{VideoPlayer-ByyqUuhG-DTMNeCaX.js → VideoPlayer-ByyqUuhG-CcmvFcG0.js} +1 -1
  197. package/dist/assets/{VideoPopup-DJrQQTPq-DoXO-Vwb.js → VideoPopup-DJrQQTPq-BZRShVLd.js} +4 -4
  198. package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-DBDTIhyB.js → WarningsDrawerPage-B3Ht3VnM-C_aFzWZK.js} +5 -5
  199. package/dist/assets/ZeniAccountDetailPage-egmysAfI-CX7srLCt.js +300 -0
  200. package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-B-baYGeD.js → ZeniAccountListViewPage-q_v2FogF-wW_PUJNB.js} +12 -12
  201. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-azEwN9c2.js +14 -0
  202. package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-DAONZr9A.js → ZeniAccountPromoPage-CzncR6vK-CoCFGvia.js} +21 -21
  203. package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-CApQPT0B.js → ZeniAccountSetupPage-TcdzEL_V-CPTq7KjK.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-B7Q6IUGC-Ca3UXoxG.js → ZeniCopyright-B7Q6IUGC-DjtbTVnp.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-D_ugGHJW.js → ZeniTransferAmountSlider-Dmf5xxv4-D-BoRJmd.js} +3 -3
  206. package/dist/assets/addSubtractPeriod-CFvkmqm8.js +1 -0
  207. package/dist/assets/analyticsHelper-L-FpsGLH.js +1 -0
  208. package/dist/assets/analyticsHelper-or1KkBWk-CU2Z2CeD.js +1 -0
  209. package/dist/assets/{chartTypes-DCvOVjlS-BdPIN5WI.js → chartTypes-DCvOVjlS-CF3jsUNb.js} +1 -1
  210. package/dist/assets/{commonDimensions-C32v1F7H-CiAEfJl2.js → commonDimensions-C32v1F7H-C9uaBJ8J.js} +1 -1
  211. package/dist/assets/{detailCommon-CRAGrqoO-Cq9phP1q.js → detailCommon-CRAGrqoO-5xMc7u9M.js} +8 -8
  212. package/dist/assets/downloadPdf-D7p3yKmg-DrJJdcEl.js +1 -0
  213. package/dist/assets/{index-sAOH0Fje.js → index-kF4u7Flm.js} +511 -704
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-B4LnWZMC.js → mapLoadingInProgressToTreeNode-CRwG2DSD-CLLcsBiK.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-BYZLhSZo.js → mapSectionWithAcOnlyToTreeNode-C9O-C2dp-4sjxXlit.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-DpF_Q8pH.js → mapSpacerToTreeNode-5aJk-sLn-CeZutbYy.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-Do2_oG27.js → mapTimeframeBalancesToTreeNode-CnviLujI-rcfKFEh1.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-C559SZVp.js → mapTimeframeBalancesToTreeNode-Cv4d4PqE-BmreU2CJ.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-yJCRTG35.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-CkRgUU-m.js} +1 -1
  220. package/dist/assets/redux-D-TY61DZ.js +12 -0
  221. package/dist/assets/{toCOABalancesWithID-B3yVGPrV-B_BzNOYP.js → toCOABalancesWithID-B3yVGPrV-Dj01dEre.js} +1 -1
  222. package/dist/assets/toChartData-DEW0iT7T-DaQT4Adc.js +1 -0
  223. package/dist/assets/{treasuryColorHelper-13LJ_xhk-LqN_6Xl4.js → treasuryColorHelper-13LJ_xhk-5-aGYtqD.js} +1 -1
  224. package/dist/assets/{uploadAttachment-DVy2pZeJ-X-xSyfvF.js → uploadAttachment-DVy2pZeJ-DL6B1oGY.js} +25 -25
  225. package/dist/assets/{uploadReceipts-Dp1dvCjf-Bw0_dVvQ.js → uploadReceipts-Dp1dvCjf-BQPyxtgi.js} +1 -1
  226. package/dist/index.html +1 -1
  227. package/package.json +2 -2
  228. package/dist/assets/AccountLockedInfoModal-BD7Nb81U-CexK1k9m.js +0 -59
  229. package/dist/assets/AccountReconDetailsDrawerPage-D-_ME0pV-s74oVSdU.js +0 -239
  230. package/dist/assets/AccountsPromoCardStack-CdBwPVgI-0eZTGbZE.js +0 -207
  231. package/dist/assets/AgingReportsPage-L0zQxwCf-BGxthXxn.js +0 -79
  232. package/dist/assets/AllUserItems-CvwaOEhu-4FgiUHmj.js +0 -192
  233. package/dist/assets/ApAgingDetailPage-B_78aSEv-BIkW3as9.js +0 -46
  234. package/dist/assets/ApprovalRulesSettingsPage-Dxd7A3hZ-B57JU70m.js +0 -47
  235. package/dist/assets/ArAgingChart-BezVy1Sm-UplSlTlX.js +0 -24
  236. package/dist/assets/BankConnectionsSettingsPage-D5hI4xtm-CIHmOttI.js +0 -425
  237. package/dist/assets/BillDetailPage-CDAh8Jtl-0qBbZ__0.js +0 -266
  238. package/dist/assets/BillPayPromoPage-B2YcxWc9-CwLnyiow.js +0 -84
  239. package/dist/assets/BillPaySetUpPage-oJvoWpFu-CYkgRBSH.js +0 -42
  240. package/dist/assets/BillingSettingsPage-BRsKYzT5-gKM6YCmc.js +0 -44
  241. package/dist/assets/BillsBulkReviewDrawerPage-B7tORIok-Cjhni78W.js +0 -1
  242. package/dist/assets/BusinessVerificationPage-Nw_fedst-D0V3bhmc.js +0 -138
  243. package/dist/assets/ChargeCardListPage-v5hH98Wi-D_Ffaz0x.js +0 -406
  244. package/dist/assets/ChargeCardPromoPage-CPEaGOL3-BJBmWN7Q.js +0 -222
  245. package/dist/assets/ChargeCardSetupPage-G5Rn0o6y-DXJQIwPQ.js +0 -36
  246. package/dist/assets/ChargeCardUtils-BRgkrCTs-DoVoCmwL.js +0 -1
  247. package/dist/assets/CollapsableReportTable-7iAngywY-CxWB4sRz.js +0 -2932
  248. package/dist/assets/CompanyOfficerDetailsSection-CJKyxEnf-BshC7d2B.js +0 -260
  249. package/dist/assets/CompanyPassportPage-BQoEcPJr-DzLqV-NZ.js +0 -574
  250. package/dist/assets/CompleteProfile-D5e9TQgy-ppOK1lFi.js +0 -52
  251. package/dist/assets/CreditCardPaymentDrawerPage-DXeq4z9l-Dr585X5v.js +0 -224
  252. package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-4OaWohod.js +0 -1
  253. package/dist/assets/CustomerOnboardingPage-zBqp9QN6-D_UHEoUt.js +0 -107
  254. package/dist/assets/CustomerOnboardingProductSuitePage-BbJ4oiCI-C_0KKlnp.js +0 -202
  255. package/dist/assets/DashboardReportPage-DTMbYOWH-CSMllwg6.js +0 -371
  256. package/dist/assets/DepositAccTransactionListPage-CcO673ZL-CiLAoQqZ.js +0 -66
  257. package/dist/assets/DomesticWireDetailsPage-D5hbPNCt-Bj16Fg_f.js +0 -21
  258. package/dist/assets/DownloadOverlay-DRcasKoB-BDQCkt6Q.js +0 -439
  259. package/dist/assets/EditPeoplePage-Zzo62if7-CQfgpQsa.js +0 -55
  260. package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-7T5j9Uz8.js +0 -865
  261. package/dist/assets/EntityDetailPage-CzlzOW8n-DjZ6eItY.js +0 -18
  262. package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-Ch0agMlw.js +0 -1650
  263. package/dist/assets/ExpressPayPage-DdQiFzDu-ykW984zo.js +0 -168
  264. package/dist/assets/GlobalReviewListPage-DHn2Uk8R-Cd3V8M7p.js +0 -291
  265. package/dist/assets/HelpButton-BNMy-6ce-WFq-iELy.js +0 -28
  266. package/dist/assets/InsightsCardStack-CaMZiCnn-D5ut2TNQ.js +0 -79
  267. package/dist/assets/InvitePeoplePage-C3ecL8XJ-D06hBumB.js +0 -12
  268. package/dist/assets/InvoiceUploadSection-DoR834b4-BezkawDL.js +0 -140
  269. package/dist/assets/LabeledAddressValueField-YP7bXlgZ-8CibrbWw.js +0 -45
  270. package/dist/assets/LabeledDocumentField-ED03S2kQ-wbMhlpMQ.js +0 -41
  271. package/dist/assets/LinkJETransactionPage-_ROjxBMO-DP6JabBY.js +0 -98
  272. package/dist/assets/LowBalancePopup-CZDcHxyW-BHOAXZjC.js +0 -34
  273. package/dist/assets/MagicLinkTitleSection-Cn1v72Rs-BaSRKY-c.js +0 -17
  274. package/dist/assets/Menu-B6iTf2H7-Cqx4dVPp.js +0 -17
  275. package/dist/assets/MyBankConnectionsSettingsPage-IPPiH6jv-CVF8iXYJ.js +0 -110
  276. package/dist/assets/MyPendingActivationChargeCardListPage-BTGb1yIE-BD419NGA.js +0 -6
  277. package/dist/assets/MyProfileSettingsPage-BRK5nWg2--GwgfIws.js +0 -85
  278. package/dist/assets/NotificationsPage-C7lSAnUb-wDRHsOkp.js +0 -685
  279. package/dist/assets/PandLWithForecastPage-W4jlNjml-Bcn3UKYp.js +0 -107
  280. package/dist/assets/ReimbursementApprovalRuleDetailPage-eidNY097-DmIjK42h.js +0 -26
  281. package/dist/assets/ReimbursementDetailPage-AvqEBxbz-fUbgpa2M.js +0 -314
  282. package/dist/assets/ReimbursementPromoPage-PshodHUZ-B_XNUegE.js +0 -84
  283. package/dist/assets/ReimbursementSetUpPage-6P4FT-UC-Bw__edeG.js +0 -140
  284. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Cas6GzVp-BQcspCuT.js +0 -1
  285. package/dist/assets/ReportsPage-C7zirS74-CyyHiNy4.js +0 -121
  286. package/dist/assets/ReviewDetailsPage-ClsyL5-w-_y4o463o.js +0 -290
  287. package/dist/assets/ScheduleDetailsFixedAssetsPage-zFyJPVpN-BSd6OZtz.js +0 -37
  288. package/dist/assets/ScheduleDetailsPage-BftjSvA7-Jy_FtZQR.js +0 -37
  289. package/dist/assets/ScreenRoutes-en4svsq9.js +0 -206
  290. package/dist/assets/SetUpAccountSection-Bnbi8X23-DL-18RCf.js +0 -378
  291. package/dist/assets/SignInScreen-Ba17TSWH.js +0 -1
  292. package/dist/assets/SpendManagementListViewPage-ChNp8dgm-BhMjXPdH.js +0 -123
  293. package/dist/assets/SpendManagementPerTabPage-D-bOr2-6-GaRieOUe.js +0 -754
  294. package/dist/assets/SpendManagementSection-kucZgC-H-DLgSRXEX.js +0 -230
  295. package/dist/assets/SpendMgmtSetupAccountSection-de7hEmtE-CX-1PNOC.js +0 -206
  296. package/dist/assets/StatementsPage-KnLUSJbm-DvU_Y3UP.js +0 -58
  297. package/dist/assets/TaskManagementPage-CPLyyK1Y-ena6uodh.js +0 -508
  298. package/dist/assets/TransactionDetailPage-D1Z1f-DD-DTPxqy3v.js +0 -912
  299. package/dist/assets/TransactionList-BzJEbOV9-BQZ8x4Oq.js +0 -147
  300. package/dist/assets/TreasuryOverviewPage-DySunaqy-CWB-hp0S.js +0 -708
  301. package/dist/assets/TreasuryTransferOrReviewPage-Dzq-FxSM-CX84O_mN.js +0 -576
  302. package/dist/assets/TrendChart-B_5D-Zud-BUU2-6nI.js +0 -16
  303. package/dist/assets/UploadAdditionalDocumentOverlay-DhXRLBEg-DvVrgitE.js +0 -38
  304. package/dist/assets/VendorDetailPage-CEX7xMIN-Djo4PloX.js +0 -257
  305. package/dist/assets/VendorFirstReviewPage-D9ogNmAK-PlB10gEr.js +0 -730
  306. package/dist/assets/VendorInternationalWireDetailsPage-Ct689KuY-DAoPjpj5.js +0 -152
  307. package/dist/assets/VerifyDevice-C27gEWkZ-C7pLL5Wm.js +0 -112
  308. package/dist/assets/ZeniAccountDetailPage-egmysAfI-DFbZv9KZ.js +0 -300
  309. package/dist/assets/ZeniAccountNavBarPieces-HNIht0FM-aSJ3m6rj.js +0 -14
  310. package/dist/assets/analyticsHelper-CVWZE356.js +0 -1
  311. package/dist/assets/analyticsHelper-or1KkBWk-Plh_6I_p.js +0 -1
  312. package/dist/assets/downloadPdf-D7p3yKmg-CYmmjPHt.js +0 -1
  313. package/dist/assets/redux-CEhZD0hA.js +0 -12
  314. package/dist/assets/toChartData-DEW0iT7T-DrkbvIyQ.js +0 -1
@@ -0,0 +1,576 @@
1
+ import{q as ye,cu as Ct,j as r,cF as D,kZ as zt,O as $e,cG as W,n as We,Y as at,cK as nt,o as t,y as x,A as Be,s as Dt,d0 as Ft,x as Lt,cJ as K,eh as Mt,iv as st,b as O,ao as lt,iB as Rt,cD as Ot,j$ as Bt,h as j,ci as It,H as ct,c9 as B,cd as Y,iO as Et,c1 as _t,fk as Nt,c4 as Vt,jD as qt,u as d,la as _,eq as dt,iE as ut,eQ as pt,fS as Wt,fJ as Yt,i$ as Gt,iT as Jt,c0 as Xt,ce as Ut,iU as Zt,gC as Kt,f5 as Qt,f4 as Ht,dx as er,d_ as tr,j1 as rr,jc as or,cR as ir}from"./index-kF4u7Flm.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as ht}from"./PortfolioDetails-D4yT8r35-BZAutCbg.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-13LJ_xhk-5-aGYtqD.js";const ar=$e.getLocalizedStrings().spendManagement.treasury,M=[0,125e4,25e5,35e5,5e6],nr=1e3;function sr({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:i}){const l=Xt().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(pr,{sliderValue:c,children:[r.jsx(ur,{sliderValue:c,type:"range",min:M[0],max:M[M.length-1],step:nr,value:c,onChange:p}),r.jsx(hr,{style:{width:`${Math.min(c/M[M.length-1]*92.5,92.5)}%`}}),r.jsx(xr,{sliderValue:c,style:{left:`calc(${Math.min(Math.max(c/M[M.length-1]*100,5),95)}% - 50px)`},children:lr(c)}),r.jsx(mr,{children:M.map((f,$)=>r.jsx(fr,{onClick:()=>A(f),"data-testid":D("slider-label",f.toString()),style:{left:cr($)},children:r.jsx(gr,{isSelected:c>=f,children:dr(f)})},f))})]})}const lr=e=>{const a=ir("0,0.[00]a",e,"$").toUpperCase();return`${ar.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 cr=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%"}},dr=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),ur=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
+ `,pr=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
+ `,hr=o.div`
34
+ position: absolute;
35
+ height: 2px;
36
+ margin-top: -${t.sp2};
37
+ background-color: ${e=>e.theme.colors.hero};
38
+ `,mr=o.div`
39
+ position: absolute;
40
+ bottom: ${t.sp0};
41
+ top: ${t.sp5};
42
+ width: 100%;
43
+ display: flex;
44
+ justify-content: center;
45
+ `,fr=o.span`
46
+ position: absolute;
47
+ cursor: pointer;
48
+ transform: translateX(-50%);
49
+ `,gr=o(B)`
50
+ color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.grey1};
51
+ white-space: nowrap;
52
+ `,xr=o(B)`
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
+ `,Q={navBarContainerPaddingXaxis:new x(10,19),containerPaddingLeft:new x(d[3],d[6],d[8]),containerPaddingRight:new x(d[3],d[6],d[8]),reviewContentWrapperPaddingBottom:new x(d[5],d[8]),elementsContainerPadding:new x(d[3],d[4])},Re={pageTitle:new O("h6Regular","h5Regular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")},{common:{edit:wr,footer:{back:yr}},dateFormat:{visual:{DMMMYYYYFormat:$r}},spendManagement:{treasury:{transferDrawer:F},billPay:{insufficientFunds:{lowBalance:br,addOrSwitchInitiateTransfer:vr,lowBalanceIn:Sr}}}}=$e.getLocalizedStrings(),jr=({fromAccount:e,themeContext:a,toAccount:u,transferDetails:i})=>{const l=ye();if(l==="small"){const c=zr(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:q(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(lo,{}):r.jsx(co,{}),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:q(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:q(i.transferMoneyParties,i.treasuryAccount,e?.id??"",!0,!0,!0)})]})]}),ce(e,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]}),r.jsx(so,{}),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:q(i.transferMoneyParties,i.treasuryAccount,u?.id??"",!0,!1,!0)})]})]}),ce(u,i.treasuryAccount.id,l,!1)?r.jsx(fe,{}):null]})]})},Ar=(e,a,u)=>{if(!e)return!0;if(e.id===a.id){const i=a.balance;return i?_(u,i):!0}if("accountBalance"in e){const i=e.accountBalance?.available;return i==null?!1:_(u,i)}return!1},kr=({transferDetails:e,fundDetails:a,portfolioAllocation:u,isOnSetup:i,setShowReviewContent:l,onTransferClick:c,onCancelClick:h})=>{const p=ye(),A=Lt(),f=K(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=Ar(S,e.treasuryAccount,m);return r.jsxs(r.Fragment,{children:[r.jsxs(Er,{windowSize:p,children:[r.jsx(Yr,{windowSize:p,children:r.jsx(Mt,{title:"Close",enterTouchDelay:600,placement:"bottom",children:r.jsx(Ye,{"data-testid":D("nav-bar-close-transfer-review"),onClick:h})})}),r.jsx(Gr,{windowSize:p,children:i===!0?F.stepTitle:F.reviewAndConfirm}),i===!0&&r.jsxs(r.Fragment,{children:[r.jsx(Jr,{windowSize:p,children:r.jsx(Xr,{children:r.jsxs(Ur,{children:[r.jsx(Ge,{}),r.jsx(Ge,{}),r.jsx(Zr,{})]})})}),p==="small"?r.jsx(no,{children:F.subTitle}):r.jsx(Ue,{children:F.subTitle})]}),r.jsx(ao,{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(qr,{}),r.jsx(Ue,{children:r.jsxs(r.Fragment,{children:[F.review.prefix,`"${P?.label}" `,F.success.midfix,` "${S?.label}" `,F.review.suffix.replace("__date__",lt(Rt(Ot().toDate(),[0,6],1).toDateString()).format($r))]})})]}),C?r.jsx(Bt,{variant:"low-balance",style:{marginTop:t.sp3,marginBottom:t.sp3},title:Sr.replace("__account__",S?.id===e.treasuryAccount.id?S?.label??"":`${S?.label??""} ${S?.maskedAccountNumber??""}`),description:vr}):null,$?r.jsx(Ir,{children:r.jsxs(Mr,{children:[r.jsxs(_r,{children:[r.jsx(Vr,{}),r.jsxs(Rr,{children:[r.jsx(Or,{children:e.error?.title}),r.jsx(Br,{children:e.error?.message})]})]}),r.jsx(Nr,{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(Wr,{windowSize:p,children:r.jsxs(Dr,{windowSize:p,children:[r.jsx(Fr,{windowSize:p,children:r.jsx(jr,{fromAccount:S,themeContext:A,toAccount:P,transferDetails:e})}),r.jsx(Lr,{children:r.jsx(ht,{isInReview:!0,isSetup:!1,fundDetails:a,allocation:u,amount:Pr(e),fundAllocations:Cr(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?yr:wr,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(Je,{isOptionSelected:u,isForReview:l,children:r.jsx(Xe,{color:j.brandColorGoldDark})});if(a==="")return r.jsx(io,{isForReview:l,children:r.jsx(Yt,{})});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(Je,{isOptionSelected:u,isForReview:l,children:r.jsx(Xe,{color:Gt(h)})});if(c.accType==="paymentAccount")return c.logo!==void 0&&(c.logo.base64||c.logo.url)?r.jsx(to,{src:Tr(c.logo),isOptionSelected:u,isForReview:l,loading:"lazy"}):r.jsx(ro,{isOptionSelected:u,isForReview:l,children:r.jsx(oo,{})})}return null},q=(e,a,u,i,l,c,h)=>{if(!u)return null;if(u===a.id)return(c||!i)&&a.balance?r.jsx(Ce,{children:W("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=_(h,p.accountBalance.available)),i===!0&&!c?r.jsx(Qr,{children:p?.maskedAccountNumber}):r.jsxs(Kr,{className:"option-sublabel",children:[r.jsx(Ce,{children:p?.maskedAccountNumber}),p?.accountBalance?.available?r.jsx(eo,{className:"dot"}):null,p?.accountBalance?.available?r.jsxs(Ce,{children:[W("0,0[.]00",p.accountBalance.available),A?r.jsx(Hr,{children:br}):null]}):null,p?.balanceFetchStatus?.fetchState==="In-Progress"?r.jsx(at,{size:"Small",start:!0}):null]})},Tr=e=>e.base64!==void 0?`${Jt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Pr=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id!==e.treasuryAccount.id)return e.treasuryTransferMoneyLocalData.amount},Cr=e=>{const{fromAccount:a}=e.treasuryTransferMoneyLocalData;if(a?.id===e.treasuryAccount.id)return e.treasuryAccount.fundAllocations},zr=(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(B)`
67
+ color: ${e=>e.theme.colors.hero};
68
+ `,pe=o(Y)`
69
+ display: flex;
70
+ align-items: center;
71
+ `,Dr=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=>`${Q.elementsContainerPadding.valuePx(e.windowSize)}`};
80
+ gap: ${t.sp4};
81
+ ${e=>e.windowSize==="small"&&`
82
+ width: auto;
83
+ `}
84
+ `,Fr=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
+ `,Lr=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
+ `,Mr=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
+ `,Rr=o.div`
113
+ display: flex;
114
+ flex-direction: column;
115
+ margin-left: ${t.sp2};
116
+ `,Or=o(pt)`
117
+ color: ${j.important};
118
+ `,Br=o(Y)`
119
+ color: ${j.important};
120
+ `,Ir=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
+ `,Er=o.div`
130
+ height: auto;
131
+ padding-left: ${e=>`${Q.containerPaddingLeft.valuePx(e.windowSize)}`};
132
+ padding-right: ${e=>`${Q.containerPaddingRight.valuePx(e.windowSize)}`};
133
+ margin-bottom: auto;
134
+ `,_r=o.div`
135
+ display: flex;
136
+ align-items: flex-start;
137
+ `,Nr=o.div``,Vr=o(ut)`
138
+ width: ${t.sp4};
139
+ height: ${t.sp4};
140
+ color: ${j.important};
141
+ `,Ye=o(Be)`
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
+ `,qr=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(B)`
157
+ color: ${e=>e.theme.colors.hero};
158
+ `,Wr=o.div`
159
+ display: flex;
160
+ flex-direction: column;
161
+ padding-top: ${t.sp3};
162
+ padding-bottom: ${e=>`${Q.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
163
+ `,Yr=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=>`${Q.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
171
+ z-index: 2;
172
+ background-color: transparent;
173
+ `,Gr=o(ct)`
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
+ `,Jr=o.div`
181
+ display: flex;
182
+ flex-direction: column;
183
+ gap: ${t.sp3};
184
+ width: 100%;
185
+ margin-bottom: ${t.sp3};
186
+ `,Xr=o.div`
187
+ display: flex;
188
+ align-items: center;
189
+ `,Ur=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
+ `,Zr=o.div`
199
+ width: 33.33%;
200
+ height: 2px;
201
+ background-color: ${e=>e.theme.colors.grey2};
202
+ border-radius: ${t.sp2};
203
+ `,Kr=o(B)`
204
+ color: ${e=>e.theme.colors.hero};
205
+ display: flex;
206
+ flex-direction: row;
207
+ align-items: center;
208
+ gap: ${t.sp2};
209
+ `,Qr=o.span`
210
+ margin-left: ${t.sp2};
211
+ `,Ce=o.div``,Hr=o(tr)`
212
+ color: ${e=>e.theme.colors.brandColorGoldDark};
213
+ margin-left: ${t.sp1};
214
+ `,eo=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
+ `,to=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
+ `,ro=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
+ `,oo=o(or)`
232
+ min-width: inherit;
233
+ width: inherit;
234
+ height: inherit;
235
+ margin-right: ${t.sp2};
236
+ `,Je=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
+ `,Xe=o(rr)`
242
+ min-width: inherit;
243
+ width: inherit;
244
+ height: inherit;
245
+ margin-right: ${t.sp2};
246
+ `,io=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
+ `,ao=o(dt)`
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
+ `,no=o(B)`
263
+ color: ${e=>e.theme.colors.hero};
264
+ `,so=o(er)`
265
+ width: ${t.sp4};
266
+ height: ${t.sp4};
267
+ color: ${e=>e.theme.colors.hero};
268
+ `,lo=o(Qt)`
269
+ width: ${t.sp4};
270
+ height: ${t.sp4};
271
+ color: ${e=>e.theme.colors.hero};
272
+ align-self: center;
273
+ `,co=o(Ht)`
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:R,zeniAccounts:{zeniAccountList:uo},billPay:{insufficientFunds:De}}}=$e.getLocalizedStrings(),mt="amount",po="transferTo",ho="transferFrom",N="transferDetails",ft="transferDetailPage",Fe=(e,a)=>`${e}.${a}`,gt=e=>`${e}_form`,w={largeLabelWidth:new x(120,120,160),labeleMarginLeft:new x(d[0],d[0]),labelMarginRight:new x(d[3],d[3]),labeleMarginBottom:new x(d[2],d[0]),labeledFieldPaddingLeft:new x(d[3],d[0]),labeledFieldPaddingRight:new x(d[3],d[2]),labeledFieldPaddingTop:new x(d[3],d[3]),labeledFieldPaddingBottom:new x(d[3],d[2]),infoLabelPaddingRight:new x(d[0],d[3]),infoLabelMarginTop:new x(d[1],d[0]),portfolioContainerPadding:new x(d[3],d[4]),rowContentSelectPaddingLeft:new x(d[3],d[4]),formFieldPaddingRight:new x(0,d[2])},xe={yieldEarned:new O("smallMedium","standardMedium"),calculatorFooterText:new O("extraSmallRegular","smallRegular"),integerStyles:new O("h5Regular","h2Regular"),decimalStyles:new O("extraLargeMedium","h5Medium")};function mo({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=w.largeLabelWidth.value(s),[P,m]=y.useState(!1),[C,G]=y.useState(!1),[b,J]=y.useState(e.treasuryTransferMoneyLocalData.amount?.amount??0),I=a.reduce((n,g)=>{const T=g.yield;return Math.max(n,T)},0),[be,ee]=y.useState(ge(b,I)),v=c.link_account_no_microdeposit,[L,ve]=y.useState(v.linkToken??null),[te,re]=y.useState(!1),[oe,Ie]=y.useState(!1),Se=e.transferMoneyPartiesFetchState,Ee=K(Se),je=e.treasuryTransferMoneyLocalData.fromAccount?.id,Ae=e.treasuryTransferMoneyLocalData.toAccount?.id,_e=K(je),Ne=K(Ae),ke=e.transferMoneyParties.map(n=>n.id),Te=K(ke),xt=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:X}=Et({token:L,onSuccess:xt,onExit:wt}),U=y.useCallback(n=>{n.preventDefault(),n.stopPropagation(),X?ie():re(!0)},[ie,X]),E=_t({mode:"all",reValidateMode:"onChange",defaultValues:y.useMemo(()=>Ke(e,i,h??!1,U),[e,i])}),{isValid:yt}=E.formState,{setError:$t,clearErrors:bt}=E;y.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==L&&ve(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,L]),y.useEffect(()=>{v.linkToken===L&&v.fetchStatus.fetchState==="Completed"&&X&&Ie(!0)},[X,L,v.fetchStatus,v.linkToken,v.fetchStatus.fetchState]),y.useEffect(()=>{oe&&te&&ie()},[oe,ie,te]),y.useEffect(()=>{(lt(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)&&E.reset(Ke(e,i,h??!1,U))},[X,L,v.fetchStatus.fetchState,Ee,Se,_e,Ne,Ae,je,Te,ke,E,e,i,h,U]);const vt=()=>e.transferMoneyParties.find(n=>n.id!==e.treasuryAccount.id&&n.accType==="depositAccount"),St=()=>{const n=e.primaryPaymentAccount?.paymentAccountId;return e.transferMoneyParties.find(g=>g.id===n)},jt=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 qe={amount:T[N].amount??0,currencyCode:"USD",currencySymbol:"$"};n.includes("transferFrom")?ae===e.treasuryAccount.id?ne===e.treasuryAccount.id&&(le=vt()):le=e.treasuryAccount:n.includes("transferTo")&&(ne===e.treasuryAccount.id?ae===e.treasuryAccount.id&&(se=St()):se=e.treasuryAccount);const Pt={amount:qe,fromAccount:se,toAccount:le};J(qe.amount),p(Pt)}};y.useEffect(()=>{const n=E.watch((g,{name:T})=>{T!=null&&g!=null&&Nt(()=>jt(T,g))});return()=>{n.unsubscribe()}}),y.useEffect(()=>{ee(ge(b,I))},[b,I]);const At=()=>{if(Z?.id==null||Z.id===""||!z.amount)return!1;if(Z.id===e.treasuryAccount.id){const n=e.treasuryAccount.balance;if(n&&_(z,n))return!0}else{const n=e.transferMoneyParties.find(g=>g.id===Z.id);if(n?.accountBalance?.available&&_(z,n.accountBalance.available))return!0}return!1},kt=E.handleSubmit(()=>{if(At()){$t("transferDetails.transferFrom",{type:"lowBalance",message:De.addMoney});return}bt("transferDetails.transferFrom"),yt&&A()}),{fromAccount:Z,toAccount:Ve,amount:z}=e.treasuryTransferMoneyLocalData,Tt=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&&_(z,T))return De.addMoney}else if(g?.accountBalance?.available&&_(z,g.accountBalance.available))return De.addMoney;return""};return r.jsxs(r.Fragment,{children:[P?r.jsx(fo,{children:r.jsxs(xo,{children:[r.jsxs(wo,{children:[r.jsx($o,{}),r.jsxs(bo,{children:[r.jsx(vo,{children:e.error?.title}),r.jsx(So,{children:e.error?.message})]})]}),r.jsx(yo,{children:r.jsx(To,{"data-testid":D("amount-details-error-close"),onClick:()=>{m(!1)},style:{width:t.sp3,height:t.sp3,color:j.heroLight}})})]})}):null,r.jsx(jo,{windowSize:s,children:r.jsx(st,{amount:z,integerStyles:xe.integerStyles.styleObject(s),decimalStyles:xe.decimalStyles.styleObject(s),alwaysShowDecimal:!0})}),r.jsx(Vt,{...E,children:r.jsxs(go,{id:gt(ft),onSubmit:kt,children:[r.jsxs(Ao,{children:[r.jsx(Oe,{size:s,children:r.jsx(Qe,{label:{label:ze.labels.transferFrom,width:S,style:{marginLeft:w.labeleMarginLeft.valuePx(s),marginBottom:w.labeleMarginBottom.valuePx(s),marginRight:w.labelMarginRight.valuePx(s)}},style:{paddingTop:w.labeledFieldPaddingTop.valuePx(s),paddingBottom:w.labeledFieldPaddingBottom.valuePx(s),paddingLeft:w.labeledFieldPaddingLeft.valuePx(s),paddingRight:w.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:w.infoLabelPaddingRight.valuePx(s),marginTop:w.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Fe(N,ho),style:{position:"relative"},capitalizeOptions:!0,placeholder:R.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>q(e.transferMoneyParties,e.treasuryAccount,n,g,!0,!1,z),defaultValue:{selectedOption:Z?.id,allOptions:we(e,!0,i,!0,U,!1)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}},valueToAdditionalLabel:Tt})}),!i&&r.jsxs(r.Fragment,{children:[r.jsx(Le,{}),r.jsx(Oe,{size:s,children:r.jsx(Qe,{label:{label:ze.labels.transferTo,width:S,style:{marginLeft:w.labeleMarginLeft.valuePx(s),marginBottom:w.labeleMarginBottom.valuePx(s),marginRight:w.labelMarginRight.valuePx(s)}},style:{paddingTop:w.labeledFieldPaddingTop.valuePx(s),paddingBottom:w.labeledFieldPaddingBottom.valuePx(s),paddingLeft:w.labeledFieldPaddingLeft.valuePx(s),paddingRight:w.labeledFieldPaddingRight.valuePx(s),border:"none",width:"100%",outline:"none",padding:0,display:s==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:w.infoLabelPaddingRight.valuePx(s),marginTop:w.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},singleSelectPickerField:{name:Fe(N,po),style:{position:"relative"},capitalizeOptions:!0,placeholder:R.transferDrawer.selectAccount,valueToLogo:(n,g)=>V(e.transferMoneyParties,n,g,n===e.treasuryAccount.id,!1),valueToSubLabels:(n,g)=>q(e.transferMoneyParties,e.treasuryAccount,n,g,!1,!1),defaultValue:{selectedOption:Ve?.id,allOptions:we(e,!1,i,!0,U,!1)},textAlignment:"right",registerOptions:{required:!0,validate:n=>n!=null&&!!n.selectedOption}}})})]}),r.jsx(Le,{}),r.jsx(qt,{showAdditionalInfoLabel:!1,label:{label:ze.labels.amount,width:S},style:{padding:t.sp2,paddingLeft:t.sp0,paddingRight:w.formFieldPaddingRight.valuePx(s),width:"auto"},formattedTextField:{type:"number",name:Fe(N,mt),defaultValue:z.amount===0?void 0:z.amount,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:n=>!!n&&n>0},placeholder:R.transferDrawer.amountPlaceholder,autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1}}),i&&r.jsxs(r.Fragment,{children:[r.jsx(Le,{}),r.jsx(ko,{size:s,children:r.jsx(ht,{isInReview:!0,fundDetails:a,allocation:u,isSetup:!1,amount:z,page:"fund transfer"})})]})]}),!i&&Ve?.accType==="treasuryAccount"&&r.jsxs(Po,{children:[C?r.jsxs(Co,{children:[r.jsx(zo,{windowSize:s,children:R.transferDrawer.calculator.heading.replace("__amount__",W("0,0.[00]a",{amount:l,currencySymbol:"$"})).replace("__rate__",I.toString())}),r.jsx(sr,{interestRate:I,transferAmount:b,setYieldEarned:ee,setTransferAmount:J})]}):null,r.jsxs(Fo,{windowSize:s,children:[r.jsxs(Ro,{windowSize:s,children:[r.jsx(Lo,{children:r.jsx(Do,{windowSize:s,children:`${R.transferDrawer.calculator.footerText.annualYieldEarned} ${W("0,0",{amount:be,currencySymbol:"$"})}`})}),r.jsx(Mo,{windowSize:s}),r.jsx(Oo,{children:`${R.transferDrawer.calculator.footerText.forTotalDeposit} ${W("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:R.transferDrawer.calculator.footerText.hide}),r.jsx(Bo,{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:R.transferDrawer.calculator.footerText.showYieldCalculator}),r.jsx(Io,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]})}const we=(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:uo.transferDrawer.selectAddAccount,value:"",type:"button",onClick:l};P.push(m)}return P},Ze=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},Ke=(e,a,u,i)=>{const{fromAccount:l,toAccount:c,amount:h}=e.treasuryTransferMoneyLocalData,p=()=>u?Ze(e):l!=null?l.id:Ze(e);return{transferDetails:{[mt]:h.amount===0?void 0:h.amount,transferFrom:{allOptions:we(e,!0,a,!0,i,!1),selectedOption:p()},transferTo:{allOptions:we(e,!1,a,!0,i,!1),selectedOption:c?.id}}}},fo=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
+ `,go=o.form`
295
+ display: flex;
296
+ flex-direction: column;
297
+ justify-content: center;
298
+ align-items: center;
299
+ `,xo=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
+ `,wo=o.div`
307
+ display: flex;
308
+ align-items: flex-start;
309
+ `,yo=o.div``,$o=o(ut)`
310
+ width: ${t.sp4};
311
+ height: ${t.sp4};
312
+ color: ${j.important};
313
+ `,bo=o.div`
314
+ display: flex;
315
+ flex-direction: column;
316
+ margin-left: ${t.sp2};
317
+ `,vo=o(pt)`
318
+ color: ${j.important};
319
+ `,So=o(Y)`
320
+ color: ${j.important};
321
+ `,jo=o(dt)`
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
+ `,Qe=o(Wt)`
329
+ border-radius: ${t.sp2};
330
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
331
+ `,Ao=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
+ `,Le=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
+ `,Oe=o.div`
346
+ display: flex;
347
+ flex-direction: row;
348
+ padding: ${t.sp2};
349
+ padding-left: ${({size:e})=>w.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
+ `,ko=o(Oe)`
376
+ padding: ${({size:e})=>w.portfolioContainerPadding.valuePx(e)};
377
+ padding-top: ${t.sp2};
378
+ `,To=o(Be)`
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
+ `,Po=o.div`
388
+ margin-bottom: ${t.sp6};
389
+ width: 90%;
390
+ `,Co=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
+ `,zo=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
+ `,Do=o.div`
405
+ ${e=>xe.yieldEarned.style(e.windowSize)}
406
+ color: ${j.success};
407
+ white-space: nowrap;
408
+ `,Fo=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
+ `,Lo=o.div`
418
+ display: flex;
419
+ flex-direction: row;
420
+ align-items: center;
421
+ `,He=o.div`
422
+ ${e=>xe.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
+ `,Mo=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
+ `,Ro=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
+ `,Oo=o(Ut)`
453
+ color: ${e=>e.theme.colors.hero};
454
+ `,Bo=o(Zt)`
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
+ `,Io=o(Kt)`
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 x(10,19),containerPaddingLeft:new x(d[3],d[6],d[8]),containerPaddingRight:new x(d[3],d[6],d[8]),successContentMargin:new x(d[3],d[12]),buttonTrayGap:new x(d[4],d[5])},Eo={formTitle:new O("h6Regular","h5Regular")},{common:Me,spendManagement:{treasury:k}}=$e.getLocalizedStrings(),ui=({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:J,currentAllocation:I,fundAllocationOptions:be,fetchState:ee}=a,v=be.find(oe=>Ct(oe.allocation,I))??{allocation:{},riskLevel:"Conservative",riskScore:0,optionIndex:0},L=()=>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(Vo,{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(Go,{windowSize:b,children:[r.jsx(zt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),r.jsx(qo,{children:r.jsxs(r.Fragment,{children:[k.transferDrawer.success.prefix,r.jsx(Wo,{children:W("0,0.[00]",re)}),k.transferDrawer.success.midfix,`"${ve?.label}"`,k.transferDrawer.success.midfix2,`"${te?.label}".`]})}),r.jsxs(Yo,{windowSize:b,children:[r.jsx(We,{variant:"secondary",label:k.transferDrawer.anotherTransfer,"data-testid":D("another-transfer-button","treasury"),onClick:()=>{f?.()},style:{minWidth:200}}),r.jsx(We,{variant:"primary",label:k.transferDrawer.backToTreasury,"data-testid":D("back-to-treasury-button"),onClick:()=>{$()},style:{minWidth:200}})]})]})]}):u?r.jsx(kr,{transferDetails:e,setShowReviewContent:S,onTransferClick:A,fundDetails:J,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(Jo,{windowSize:b,children:h===!0?k.transferDrawer.stepTitle:l?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}):r.jsx(Xo,{windowSize:b,children:h===!0?k.transferDrawer.stepTitle:l?k.transferDrawer.title:k.transferDrawer.transferBetweenAccounts}),h===!0&&r.jsx(Uo,{windowSize:b,children:r.jsx(Zo,{children:r.jsxs(Ko,{children:[r.jsx(it,{}),r.jsx(it,{}),r.jsx(Qo,{})]})})}),b==="small"?r.jsx(No,{children:k.transferDrawer.subTitle}):r.jsx(_o,{children:k.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?r.jsx(mo,{onSaveChangesToLocalStore:p,transferDetails:e,onReviewClick:P,fundDetails:J,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)"}})]}),L()?r.jsx(nt,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:gt(ft),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:h===!0&&G?r.jsx(Ho,{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]})})},_o=o(Y)`
469
+ color: ${e=>e.theme.colors.hero};
470
+ `,No=o(B)`
471
+ color: ${e=>e.theme.colors.hero};
472
+ `,Vo=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
+ `,qo=o(Dt)`
480
+ color: ${e=>e.theme.colors.primary};
481
+ text-align: center;
482
+ `,Wo=o(Ft)`
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
+ `,Yo=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
+ `,Go=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(Be)`
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
+ `,Jo=o(It)`
522
+ color: ${e=>e.theme.colors.primary};
523
+ margin-top: ${t.sp3};
524
+ margin-bottom: ${t.sp0};
525
+ margin-right: ${t.sp3};
526
+ `,Xo=o(ct)`
527
+ ${e=>`${Eo.formTitle.style(e.windowSize)}`};
528
+ color: ${e=>e.theme.colors.primary};
529
+ margin-top: ${t.sp3};
530
+ margin-bottom: ${t.sp2};
531
+ `,Uo=o.div`
532
+ display: flex;
533
+ flex-direction: column;
534
+ gap: ${t.sp3};
535
+ width: 100%;
536
+ margin-bottom: ${t.sp3};
537
+ `,Zo=o.div`
538
+ display: flex;
539
+ align-items: center;
540
+ `,Ko=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
+ `,Qo=o.div`
550
+ width: 33.33%;
551
+ height: 2px;
552
+ background-color: ${e=>e.theme.colors.grey2};
553
+ border-radius: ${t.sp2};
554
+ `,Ho=o(B)`
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{ui as default};
@@ -0,0 +1,16 @@
1
+ import{O as w,j as s,ex as m,x as R,cF as j,cZ as z,dT as A,dU as O,db as P,C as k,da as B,cR as q,dV as _,dc as G,dX as K,o as L,h as N,cd as V}from"./index-kF4u7Flm.js";import{b as v,w as X,n as $}from"./vendor-Bs1fkIUX.js";import{d as W,g as T,p as D,u as Z}from"./chartTypes-DCvOVjlS-CF3jsUNb.js";import{o as Q}from"./toCOABalancesWithID-B3yVGPrV-Dj01dEre.js";import{V as U}from"./toChartData-DEW0iT7T-DaQT4Adc.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-D-TY61DZ.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=$(V)`
11
+ color: ${e=>e.color??N.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(n=>{const l=n.name;if(n&&e&&n.value!==0){const d=n.payload,y=n.color,u=l!=null&&d.record[l]!=null?d.record[l].amount:void 0;r.push({barName:a,value:u,color:y})}}),r},te=e=>{const t=ee(e);return t.length?s.jsx(H,{children:s.jsx(I,{children:t.map((a,r)=>s.jsx(J,{color:a.color,children:`${a.barName}: ${Z(a.value)}`},a.barName+r))})}):null},ae=X.memo(te),re=(e,t,a,r)=>{let n=[];if(r!=null){const l=oe(r,a);l!=null&&l.length>0&&(n=Q("trend","actual",l))}if(n.length>0){const l=D("trend","actual"),d={};return d[l]=n,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!")}},M=[D("trend","actual")];function be({firstMonthOfFY:e,trendReport:t,timeframe:a,selectedTimePeriod:r,graphColor:n,width:l,height:d,onTimeframeSelectionChanged:y}){const u=v.useRef(!1),x=r!=null?se(e,r,a):void 0,g=w.getLocalizedStrings().reports.trend[t?.balancesKind];v.useEffect(()=>{u.current=!0},[]);const b=re(e,M,a,t),Y=h=>{const f=[];return M.forEach(o=>{f.push(s.jsx(K,{name:o,isAnimationActive:u.current,dataKey:i=>{const c=i.record;return(c[o]!=null&&c[o].amount!=null?c[o].amount:void 0)?.amount??0},maxBarSize:36,fill:h.toString(),"data-testid":j(o,"bar")},o))}),f};return b==null?null:s.jsx(le,{chartData:b,timeframe:a,selectedLabel:x,barElements:Y(n),customToolTipContent:({active:h,payload:f})=>s.jsx(ae,{active:h,payload:f,trendType:g}),width:l,height:d,onTimeframeSelectionChanged:y})}const le=({chartData:e,timeframe:t,selectedLabel:a,barElements:r,customToolTipContent:n,width:l,height:d,onTimeframeSelectionChanged:y})=>{const u=R(),[x,g]=v.useState([void 0,void 0]),b=e.timeseries,Y=W(e),h=b.map(o=>o.label);v.useEffect(()=>{if(a!=null){const o=T(a.label,h,1);g(o)}else g([void 0,void 0])},[t,a]);const f=o=>{if(o?.activePayload==null||o?.activePayload.length===0)return;const i=o.activePayload[0];if(i?.payload?.record?.[D("trend","actual")]?.amount==null)return;const c=i.payload.record[D("trend","actual")].amount;if(c!=null&&c.amount===0||i?.payload?.timeLabel?.label==null)return;const S=i.payload.timeLabel.label,C=i.payload.timeLabel.startDate,E=i.payload.timeLabel.endDate,F=T(S,h,1);g(F),y?.(t,{startDate:C,endDate:E})};return s.jsx("div",{style:{width:l,height:d},"data-testid":j("simple-bar-chart"),children:s.jsx(z,{children:({height:o,width:i})=>s.jsxs(A,{"data-testid":j("bar-chart"),width:i,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:f,children:[s.jsx(O,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),s.jsx(P,{dataKey:c=>c.timeLabel.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...k.extraSmallRegular.cssObject}}),s.jsx(B,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...k.extraSmallRegular.cssObject},tickFormatter:c=>q("0,0.[00]a",c,Y)}),s.jsx(_,{cursor:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),a!=null&&s.jsx(G,{x1:x[0],x2:x[1],opacity:.3,fillOpacity:.3,stopOpacity:.1}),r]})})})},{dateFormat:p}=w.getLocalizedStrings(),se=(e,t,a)=>{let r="";switch(a){case"week":t.startDate.month()!==t.endDate.month()?r=`${m(t.startDate,p.visual.MMMYYFormat,e)} - ${m(t.endDate,p.visual.MMMYYFormat,e)}`:r=`${m(t.startDate,p.visual.Dformat,e)} - ${m(t.endDate,p.visual.MMMDCommaYYYYformat,e)}`;break;case"month":r=`${m(t.startDate,p.visual.MMMYYFormat,e)}`;break;case"quarter":r=`${w.getLocalizedStrings().quarterPrefix}${m(t.startDate,p.visual.QYYformat,e)}`;break;case"year":r=`${m(t.startDate,p.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{be as default};