@zeniai/web-cockpit-ui 1.14.70-dev → 1.14.70-qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/assets/{ACHDetailsPage-DEHhAThG-DRAXXaYH.js → ACHDetailsPage-DEHhAThG-DrvL7-MQ.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-B464awTI-D9b_abqo.js → AIPerformancePage-B464awTI-CedYDc_Q.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CXORyzg0-CybH32Bk.js → AccountInfoPage-CXORyzg0-BQRvyzVS.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C9u7rHSK-BT3xnzN2.js → AccountInfoPageContent-C9u7rHSK-DFkcLjr0.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CKll7MKb-CjjkXlxS.js → AccountLockedInfoModal-CKll7MKb-BobjROed.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BC2fGcr2-D7kVaYoW.js → AccountReconDetailsDrawerPage-BC2fGcr2-9tqTcbD9.js} +1 -1
  7. package/dist/assets/{AccountRow-NUjIqQZG-CSuarqvN.js → AccountRow-NUjIqQZG-1oez993r.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-XBi6z1zm-ChZ4F-Su.js → AccountsPromoCardStack-XBi6z1zm-Ts6qauYa.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DQP3nz3Q-B4VYFuh8.js → AddAddressForCardDrawer-DQP3nz3Q-BoaTv7tg.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bb2oVW4b-yCBdn2-5.js → AddToWalletPage-Bb2oVW4b-mxvVAxwh.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CumNO7Lc-CZuNjzaf.js → AgingReportsPage-CumNO7Lc-By0vBfyF.js} +1 -1
  12. package/dist/assets/{AllUserItems-B3X2Yuzf-nT-XTOL1.js → AllUserItems-B3X2Yuzf-C0VhlYC6.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DO6H8pHR-BJjqV3Er.js → ApAgingDetailPage-DO6H8pHR-B7AEd9JE.js} +1 -1
  14. package/dist/assets/{AppBasePage-xQ6xhR2M-BaIjJbZZ.js → AppBasePage-xQ6xhR2M-VXKxPLPa.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BcHjLmip-CD7Xrz71.js → AppDrawerContent-BcHjLmip-CNs8rTRw.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DEaI5LXy-CdonxLeU.js → ApprovalRulesSettingsPage-DEaI5LXy-DO3clncg.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DzhE9mKv-Dm3ED-VE.js → ArAgingChart-DzhE9mKv-DVemD1Tb.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-B91ZARF--DiGTdxjY.js → ArAgingDetailPage-B91ZARF--CtynDhoU.js} +1 -1
  19. package/dist/assets/{AttachmentView-ChgqlLZN-CRfLn9o5.js → AttachmentView-ChgqlLZN-DBZNxhBb.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BDRw3NWV-B1HXDOJd.js → BankAccountSection-BDRw3NWV-B1O-rqhZ.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-BKoo9URq-B_XL-xhd.js → BankAccountWarningSection-BKoo9URq-B_MG7Q4-.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CJ42ZzMq-CvQSATnj.js → BankConnectionsSettingsPage-CJ42ZzMq-BzpLQNq2.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DfiuLZe8-Ce9yRmQm.js → BillDetailPage-DfiuLZe8-B7utu4T0.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-5_IW6xXJ-Dvdnaki3.js → BillPayApprovalRuleDetailPage-5_IW6xXJ-Bnp0s1bQ.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CfJZKzVl-CE2_M-K3.js → BillPayApprovalRulesPage-CfJZKzVl-CpFZtJR2.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DDLOie6P-C6YHZPkv.js → BillPayPromoPage-DDLOie6P-DbIu9vSy.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CSfFU76z-odkaZVOM.js → BillPaySetUpPage-CSfFU76z-Mwiy13o7.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BeXsONDQ-BbnTgDkb.js → BillingSettingsPage-BeXsONDQ-BbGRe4Xw.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C19XWwEC-K20I00y_.js → BillsBulkReviewDrawerPage-C19XWwEC-CUlCDltt.js} +1 -1
  30. package/dist/assets/{BoxItem-DJq5xhLi-BG-pUsKW.js → BoxItem-DJq5xhLi-Djh-p_w2.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-cUeJO7D8-ByN9_rVE.js → BusinessVerificationPage-cUeJO7D8-Bb06vLW4.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-RiyeZ4Fi-3S6YZnxr.js → CardNumberSubText-RiyeZ4Fi-BXI3bz_1.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BgmrLbkm-Bi8JIg5v.js → CashbackDetailPage-BgmrLbkm-CeGqamP9.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BfB9DQhO-PoXrGSDN.js → ChargeCardDetailPage-BfB9DQhO-D_nnGtb8.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-D5hExQrJ-CEDXeeuX.js → ChargeCardListPage-D5hExQrJ-BespZ9nF.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-Xe0POHPI-C_aRBrpd.js → ChargeCardListTable-Xe0POHPI-DGP3bbVz.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-C-QZi7WU-7wj0mX09.js → ChargeCardPromoPage-C-QZi7WU-CMeFA5vh.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-CIaAoIaA-D0xfMcck.js → ChargeCardSetupPage-CIaAoIaA-DsVJuzWb.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-Bta8G5rU-Bxd9GDQ6.js → ChargeCardStatementsPage-Bta8G5rU-BAbY8pGo.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-MXK7oeC0-D6RsKjLW.js → ChargeCardUtils-MXK7oeC0-BTeeL_jd.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-nKLcp0IQ-DyPgaN6P.js → ChaseOverlay-nKLcp0IQ-CrM9HXWu.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-DE9G4ZLn-CMYdeGxw.js → CheckDepositDrawerPage-DE9G4ZLn-CFnF4oL6.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-9Ve7EJza-AqNxaI6j.js → CollapsableReportTable-9Ve7EJza-DFnzbqah.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-Dxrw3A0v-CaTwjUfz.js → CompanyOfficerDetailsSection-Dxrw3A0v-BlsSFaJ3.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BLH9mk_K-Do765Ty4.js → CompanyPassportCard-BLH9mk_K-CLQvMPVw.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-DugSYQVz-BRWVbjGf.js → CompanyPassportPage-DugSYQVz-C5rSDwQp.js} +1 -1
  47. package/dist/assets/{CompleteProfile-DmnsbHlq-DyYFWoMC.js → CompleteProfile-DmnsbHlq-DTovY4ZF.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BDREKQUf-DKUbjNni.js → ConfettiBurst-BDREKQUf-CJncXn9q.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Dl6ec-s9-CkmD6cdK.js → CreateOrEditVendorPage-Dl6ec-s9-BhFyT-Ir.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Dyb4qL_P-DGVVqzgM.js → CreditCardPaymentDrawerPage-Dyb4qL_P-Cm8nfq7n.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-BPV1SLmY-C7jSKPJl.js → CreditCardPaymentPlgSection-BPV1SLmY-Cz2lEMcC.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-CJb3Y-mb-29nC1opq.js → CurrencySelectField-CJb3Y-mb-DGO4NtR-.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-9iuVWGWw-CdtgmV6n.js → CustomerOnboardingActivationPage-9iuVWGWw-CWq1owfe.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-Pw4kXxCj-DdJ4n0-6.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jYcjJ0PW-D1CCiZxT.js → CustomerOnboardingDetailPageSkeleton-jYcjJ0PW-OY57oJSu.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-X-9T5fpG-DxjTi_Dm.js → CustomerOnboardingNoStepsPage-X-9T5fpG-hcbQT9_x.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CtBN8YfR-CGkB_H2s.js → CustomerOnboardingPage-CtBN8YfR-B3fC45n5.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-bDKvS5bh-Duy-Ig0d.js → CustomerOnboardingProductSuitePage-bDKvS5bh-Cdhm4aqV.js} +1 -1
  59. package/dist/assets/{Dashboard-BH5qnfQd-CCuvs67T.js → Dashboard-BH5qnfQd-BVb1vnbZ.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-J1VeI2uE-Bu8eUuF5.js → DashboardReportPage-J1VeI2uE-DYp4cFwa.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CXHOxSLP-4l1AB9D9.js → DashboardSidebarBackgroundAnimation-CXHOxSLP-DAYvCsxb.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-BGfoy6o8-BKfG_FHL.js → DepositAccTransactionItem-BGfoy6o8-BTM8Lgrb.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-a69RARgv-CC4ca2oI.js → DepositAccTransactionListPage-a69RARgv-D0DLRFHZ.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-DBt6rnIQ-Cqpf-IDY.js → DomesticWireDetailsPage-DBt6rnIQ-B5wiiAjb.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DgUHpkeg-D9EplThh.js → DownloadOverlay-DgUHpkeg-XhockV6f.js} +1 -1
  66. package/dist/assets/{DrawerPage-B32TCGJ1-DlBcEsnN.js → DrawerPage-B32TCGJ1-bWLbKcl5.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BPfO6mun-wU23lVWV.js → EditPeoplePage-BPfO6mun-C5mxeWNk.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-DKGgXOY7-DLqEBdT-.js → EditReimbursementDetailPage-DKGgXOY7-B1jvEJU-.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-BfHI2iuR-CVcUBkiC.js → EntityDetailPage-BfHI2iuR-BvsUyU2z.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CawV1rm1-D5PJQpxt.js → EntitySummarySection-CawV1rm1-CI71KY9G.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-BsAt8A9v-BK8BcjCH.js → ExpenseAutomationOverviewPage-BsAt8A9v-Cy9GJaDl.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-aw988_Ii-DHT0WFhA.js → ExpenseAutomationPage-aw988_Ii-BOxwBBpC.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-CJCdxlh5-y9jOExfe.js → ExpressPayPage-CJCdxlh5-FtpYYm-9.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-CqLkGmd--BXP9O5_K.js → FeaturePreviewPage-CqLkGmd--DLijwvB8.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-Dyn5gNGd-Cpjk-5Ab.js → FollowStepsSection-Dyn5gNGd-gIiN1GNm.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-B9ijztQn-D_Npdays.js → GlobalReviewListPage-B9ijztQn-RcDR0ilY.js} +1 -1
  77. package/dist/assets/{HelpButton-jlgjodRn-BM1z6Ko6.js → HelpButton-jlgjodRn-cRPxiTkO.js} +1 -1
  78. package/dist/assets/{InformationCardStack-BVY3WNAX-CE7DCPLF.js → InformationCardStack-BVY3WNAX-DUS-32Pr.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-Cq1VFPv0-ClMSDXGQ.js → InsightsCardStack-Cq1VFPv0-CmIboUvv.js} +1 -1
  80. package/dist/assets/{InsightsSection-Bp2dI7sk-DQMqItrq.js → InsightsSection-Bp2dI7sk-D4YoGETm.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-McjwChqZ-D9lZsJnd.js → IntegrationsSettingsPage-McjwChqZ-CBt0YxLi.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-BSbC9vYS-D96enR1t.js → InternationalWireSwiftDetailsPage-BSbC9vYS-BkRbOiuS.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-CXKmxcJR-kOmgW9Gg.js → InternationalWireVerificationPage-CXKmxcJR-BNUXX8Jx.js} +1 -1
  84. package/dist/assets/{InviteFormPage-UVuBwyyT-TSMvggYq.js → InviteFormPage-UVuBwyyT-Dz5794W-.js} +1 -1
  85. package/dist/assets/{InvitePageListView-D3vLBLdn-DjxY9b3S.js → InvitePageListView-D3vLBLdn-CnCcH9q7.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-Dq2c-OEI-BhG4wwyM.js → InvitePeoplePage-Dq2c-OEI-D2qIEJL1.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-CGiw1Fsl-BqhdArfE.js → InvoiceUploadSection-CGiw1Fsl-LttZo4z4.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-DZt48WaC-CBzgdS2l.js → IssueChargeCardPage-DZt48WaC-BRx34-n0.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-COZIVVuQ-DoFhDxlG.js → LabeledAddressValue-COZIVVuQ-DAPEnlxX.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-BqxCJ214-BeCISlsF.js → LabeledAddressValueField-BqxCJ214-CoCkLsqy.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-Ctt5nlNb-BxWNv_F8.js → LabeledControlledCheckBoxField-Ctt5nlNb-DpfYbPGi.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DXxch_y1-CJyXki6j.js → LabeledCreatableSingleSelectField-DXxch_y1-DjzP8igo.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField--7BXDK3g-YRWqFfMC.js → LabeledDocumentField--7BXDK3g-D2mX-6_R.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-j62_NoR8-C00ox8Xv.js → LabeledDropDownFormattedTextField-j62_NoR8-C0UIBiqQ.js} +1 -1
  95. package/dist/assets/{LabeledText-j7jn7khK-1kY3l2me.js → LabeledText-j7jn7khK-2ExrUPdK.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-pIek7oI7--tqFNvok.js → LabeledUserSingleSelectWithSubtitlesField-pIek7oI7-DxOzUG3A.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-X2qZXFaF-DpGJz-M1.js → LabeledZeniRolesDropDownField-X2qZXFaF-K7vMFcWt.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-DRC88j7z-FCK8U7jy.js → LinkJETransactionPage-DRC88j7z-BCd7wYpM.js} +1 -1
  99. package/dist/assets/{LockCardPage-BMvHSrDy-DHBB4k1q.js → LockCardPage-BMvHSrDy-Dsp6tO_7.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-DVn8qbv_-ybNeezIV.js → LowBalancePopup-DVn8qbv_-Dc1CAYnr.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-Bvw_kaVc-FL1VkBF6.js → MagicLinkACHDetailsPage-Bvw_kaVc-ClVxaIhc.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BkVZ1jpB-Da7sci-J.js → MagicLinkDomesticWireDetailsPage-BkVZ1jpB-Cpea3hdb.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-s_vBiYar-9tMEta3k.js → MagicLinkInternationalWireDetailsPage-s_vBiYar-DWQRypOj.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BfC_ewro-D5JfIS9N.js → MagicLinkSuccessPage-BfC_ewro-DAbd1DjJ.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-BheV8eRd-YQNBdJjw.js → MagicLinkTitleSection-BheV8eRd-vSoy8RsR.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-dpOFXIy_-ChE90SHL.js → MailingDetailsSection-dpOFXIy_-8xhOLAWu.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-Ma-N6si8-DVldPR_b.js → MeetingCalenderPopup-Ma-N6si8-pP2849Lz.js} +1 -1
  108. package/dist/assets/{Menu-CS4snQyL-iEWPQ8Jg.js → Menu-CS4snQyL-BXpLfQgd.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-BNwfq3mV-DvRfS-ot.js → MyBankConnectionsSettingsPage-BNwfq3mV-CUnzFQr4.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-CvtCpxZ2-B9s4AD2w.js → MyPendingActivationChargeCardListPage-CvtCpxZ2-Dm3tkquJ.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-CYHd_uJf-CXL88bXq.js → MyProfileSettingsPage-CYHd_uJf-3awGEA8b.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-CIwo3-bU-BlAZrmkB.js → NavBarWithPicker-CIwo3-bU-CCwTAmSl.js} +1 -1
  113. package/dist/assets/{NavigationArrow-Ctsd8z-N-Dey9XvGJ.js → NavigationArrow-Ctsd8z-N-RxehtvfO.js} +1 -1
  114. package/dist/assets/{NavigationDots-DGv77DnI-DBz-xiee.js → NavigationDots-DGv77DnI-D0QN52og.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-oyu_zZde-bRSk7vCu.js → NewGlobalMerchantPage-oyu_zZde-pN6KGqmk.js} +1 -1
  116. package/dist/assets/{NoDataChart-CXFwQK_G-CblpjrHE.js → NoDataChart-CXFwQK_G-DJMCLvyY.js} +1 -1
  117. package/dist/assets/{NoDataTable-DrDufNQl-Xxh0U3Y6.js → NoDataTable-DrDufNQl-B4XQ9x04.js} +1 -1
  118. package/dist/assets/{NotFoundPage-D5ZkhpVx-Dlj_Efgz.js → NotFoundPage-D5ZkhpVx-C8Exjl-K.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DV2O4HOU-DYRLZiyD.js → NotificationSettingsPage-DV2O4HOU-DP-P1z4s.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-DzTt3sW7-D7k64tPL.js → NotificationsListConfig-DzTt3sW7-qN6zMi9O.js} +1 -1
  121. package/dist/assets/{NotificationsPage-pIGEEWO1-D5PlvpRi.js → NotificationsPage-pIGEEWO1-BU_NqJl-.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-B5udt4MV-Db0rh8wD.js → OpExByVendorPage-B5udt4MV-dBwhrnxY.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-BrLfNEnQ-COB3BYnt.js → OverlayContainerPage-BrLfNEnQ-BtDRMuOp.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-BH4-z8YX-CdZe4LXy.js → PandLWithForecastPage-BH4-z8YX-Jy9y7cHJ.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DXtYsHZ5-DYuls--U.js → PaymentAccountSetupBillingAddressSection-DXtYsHZ5-B0qeAg86.js} +1 -1
  126. package/dist/assets/{PeoplePage-CudFyR33-DWYV_q9f.js → PeoplePage-CudFyR33-HFR73eJA.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage--pbBsqs1-Bdnin9RL.js → PortfolioAllocationFormPage--pbBsqs1-CnABl-ek.js} +1 -1
  128. package/dist/assets/{PortfolioDetails-BMo4nZPY-C_OYsbEg.js → PortfolioDetails-BMo4nZPY-joyIWwuh.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-n8JigLY0-hfuXryxc.js → ProductsCarousel-n8JigLY0-TH-M966I.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-C7Gs9HU9-bF3NRHMd.js → PromoBaseCards-C7Gs9HU9-Xjm-iPDh.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-Bs4TixAR-CkOj_Icl.js → QBOConnectionDialog-Bs4TixAR-B_KP1YxY.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-CmnpJttN-D-P5eb83.js → QBOSetupSection-CmnpJttN-DmVFGfx2.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-JqIc8GYJ-C9mMI_X1.js → ReimbursementApprovalRuleDetailPage-JqIc8GYJ-D7C8t3bt.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-PnesOCg3-DqiGKhbd.js → ReimbursementApprovalRulesPage-PnesOCg3-B2HetAuY.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-D22_cS36-Bpcy5-fU.js → ReimbursementDetailPage-D22_cS36-HYkqZUV2.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-DIbk9BFN-DVPfxSMn.js → ReimbursementPromoPage-DIbk9BFN-7ynnM7kp.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-DS-cwKlv-D_Hm45Ky.js → ReimbursementSetUpPage-DS-cwKlv-DcOoGQE2.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BLdVlRgq-JaicePT_.js → ReimbursementsBulkReviewDrawerPage-BLdVlRgq-BJL9xjLV.js} +1 -1
  139. package/dist/assets/{ReloadCard-DBa4gyKQ-Buh0vXeY.js → ReloadCard-DBa4gyKQ-BN1gQOpw.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-DuwAvmlS-BBnfMgKH.js → ReportTableViewSelector-DuwAvmlS-DUAMGvxt.js} +1 -1
  141. package/dist/assets/{ReportsPage-WABWxLPG-DKN5DzWh.js → ReportsPage-WABWxLPG-D6cisMrn.js} +1 -1
  142. package/dist/assets/{RevenueChart-B5jN8P8V-Bz2uKzvD.js → RevenueChart-B5jN8P8V-D2cLhiyo.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-BudlDfFj-BIOHcwWG.js → ReviewDetailsPage-BudlDfFj-Cn3i8hr-.js} +1 -1
  144. package/dist/assets/{ReviewOverlay-CckOQNCd-Cqn6hgqy.js → ReviewOverlay-CckOQNCd-D9GNcsVO.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-Bur7bxOe-CYEzIvk3.js → RoleWithToolTip-Bur7bxOe-BgMlgbG4.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Div2wWri-CXszSt2I.js → ScheduleDetailsFixedAssetsPage-Div2wWri-DenQ1HRS.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-DDYQPFGk-CiGVq9tp.js → ScheduleDetailsPage-DDYQPFGk-DPfJr8l_.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-1TRzUR6V-wcPOEmww.js → ScheduleSequenceTable-1TRzUR6V-28b7Us6Y.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-i5d_donU.js → ScreenRoutes-CM85FkTf.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-Dfs_xZu7-CWFfutWm.js → SetUpAccountSection-Dfs_xZu7-Km-oSYxl.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-TtnDS5ad-BZjzQ8Mk.js → SetUpDefaultSection-TtnDS5ad-16wx5Mma.js} +1 -1
  152. package/dist/assets/{SignIn-D3-Ker_M-zn09bTiA.js → SignIn-D3-Ker_M-g5e3-xmh.js} +1 -1
  153. package/dist/assets/{SignInScreen-EsgrSlOr.js → SignInScreen-DXWwSafF.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-D0yJ6ZZV-DPeBz9Dm.js → SpendManagementListViewPage-D0yJ6ZZV-CG9LSmGf.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-Dfhzyv14-BxpKm9-A.js → SpendManagementPerTabPage-Dfhzyv14-3yW1U53B.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-CNgCznpS-D2Anolaw.js → SpendManagementSection-CNgCznpS-C3ISwBrv.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-CKg4qknx-DMsYuVmq.js → SpendMgmtSetupAccountSection-CKg4qknx-C-ptgp5U.js} +1 -1
  158. package/dist/assets/{StatementItem-Cv3RZsIv-CE3xFXTY.js → StatementItem-Cv3RZsIv-C3BOrXOL.js} +1 -1
  159. package/dist/assets/{StatementsPage-4JEocF4A-CUYYmhxY.js → StatementsPage-4JEocF4A-BE21eh_E.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-DbsnK4Pn-QF_adjcm.js → StatusSwitcher-DbsnK4Pn-C8ZVTa4h.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-Di6AZRan-D-fc0CCz.js → SubTabSwitcher-Di6AZRan-DicBL9pA.js} +1 -1
  162. package/dist/assets/{SummaryCard-BbqP93PD-DCBLhe4V.js → SummaryCard-BbqP93PD-BMrw03ov.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-BJhjliCJ-Dgf8KAM1.js → TaskManagementPage-BJhjliCJ-DaPy9miV.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-MsG4Kt2X-hRGxoqg7.js → TimeRangeSwitcher-MsG4Kt2X-BNCT11Q3.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-Cv7wfQSS--wV3l3C4.js → TimeframeSwitcher-Cv7wfQSS-CieGZYL3.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-CXnzJ3Ip-DVUB_GmO.js → TimeframeSwitcherWithToggle-CXnzJ3Ip-TnJSYzG1.js} +1 -1
  167. package/dist/assets/{TopExCard-Bb0F0Re9-BGQwgN2R.js → TopExCard-Bb0F0Re9-p-bCp8Xl.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-BgRX-60I-Dvt1aqR4.js → TopExDetailPage-BgRX-60I-9YQg1c8E.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-C1clpiWS-CjTAZZDd.js → TransactionDetailPage-C1clpiWS-QTk5Cgyr.js} +1 -1
  170. package/dist/assets/{TransactionList-DqlnGjYa-CR04FLWL.js → TransactionList-DqlnGjYa-DGWyLnLh.js} +1 -1
  171. package/dist/assets/{TransactionListBig-CCuDCegl-nebtbqVL.js → TransactionListBig-CCuDCegl-DYZeiqwY.js} +1 -1
  172. package/dist/assets/{TransactionListPage-B1TxgyxD-BG9D6Llv.js → TransactionListPage-B1TxgyxD-qx4L1riz.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-BYWPYZkV-DmR3luWN.js → TransactionVendorDetailPage-BYWPYZkV-D1wbQQOD.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-Cx4Qxlnr-KKZmPzs2.js → TransferDrawerPage-Cx4Qxlnr-iAHaWjuf.js} +1 -1
  175. package/dist/assets/{TreasuryOverviewPage-B0scZon9-BtBCUnCW.js → TreasuryOverviewPage-B0scZon9-uGk6dAms.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-Cs6MvdWT-CmcGtneC.js → TreasuryPromoPage-Cs6MvdWT-D8SWWsd9.js} +1 -1
  177. package/dist/assets/{TreasurySetupPage-BT3fZK16-DjGogfn_.js → TreasurySetupPage-BT3fZK16-fOi1N1we.js} +1 -1
  178. package/dist/assets/{TreasuryStatementsPage-Cj28uTCq-DnMgkVai.js → TreasuryStatementsPage-Cj28uTCq-B436jTg3.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-C6fYejXM-CXfwlQFb.js → TreasuryTaxLetterPage-C6fYejXM-DRHYxm6A.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-DMaGU-Gd-CFr5ChKO.js → TreasuryTransferOrReviewPage-DMaGU-Gd-CuGtRYOO.js} +1 -1
  181. package/dist/assets/{TrendChart-UOHctvPR-DYyf53nB.js → TrendChart-UOHctvPR-BjlWiVZZ.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-DeXSoeh9-DHeP6Kmv.js → TrendWithTransactions-DeXSoeh9-CiNTppZy.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-BY8Y7Cfi-DtDaq4sQ.js → UncategorizedAccountsMappingPage-BY8Y7Cfi-DZP5Lt9d.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-TSdJXoyv-Cz-xulb6.js → UnitIntegrationPage-TSdJXoyv-BFCPx9ya.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-GdA3H_LM-C69p4BvM.js → UploadAdditionalDocumentOverlay-GdA3H_LM-CWf9uY1f.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-ga_dxJ2i-DbustIG7.js → Vendor2FAPopup-ga_dxJ2i-C2XvQoU4.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-C0KPsWem-wXaugjAY.js → VendorACHDetailsPage-C0KPsWem-CEpapCNY.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-DtHbNBi2-AhAahu41.js → VendorDetailPage-DtHbNBi2-pAU5-t_H.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-BRePkxjz-C_zV_um3.js → VendorDomesticWireDetailsPage-BRePkxjz-DDoWKqGQ.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-B9lgKnIN-DWOqfHoH.js → VendorFiling1099EditablePage-B9lgKnIN-CfyZvmYA.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage-fnjh1JBs-eKAAo5iG.js → VendorFirstReviewPage-fnjh1JBs-Bkqg_Mus.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-B8mSTYwi-B8Dw9bcv.js → VendorInternationalWireDetailsPage-B8mSTYwi-CXFiKjct.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-D7FYPVgc-BT4ij3cX.js → VendorInternationalWireSwiftDetailsPage-D7FYPVgc-DeUPIKv1.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-B5a7wuJN-D5T-paLW.js → VendorsAccountsSection-B5a7wuJN-ChCVd5z7.js} +1 -1
  195. package/dist/assets/{VerifyDevice-CVJF9lwM-CPuvMYue.js → VerifyDevice-CVJF9lwM-BBUNB8R-.js} +1 -1
  196. package/dist/assets/{VideoPlayer-DloIycOu-CLtG3Kiy.js → VideoPlayer-DloIycOu-CSVPXkLw.js} +1 -1
  197. package/dist/assets/{VideoPopup-D2oWKmZt-DPTUFVjt.js → VideoPopup-D2oWKmZt-DHQ-ZbPn.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-DW-8IxrS-DOJH3-n7.js → WarningsDrawerPage-DW-8IxrS-BL_4IjIl.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-CF5PQDtn-DCaodhL6.js → ZeniAccountDetailPage-CF5PQDtn-DJ5K0TXc.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-Dvzgoo-B-DJDpKPpC.js → ZeniAccountListViewPage-Dvzgoo-B-RTAXRD0X.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-D7qqcIZ7-Ckj10NZU.js → ZeniAccountNavBarPieces-D7qqcIZ7-CJsOiu9X.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-DD-ZYLox-Bmu7d_Bc.js → ZeniAccountPromoPage-DD-ZYLox-BO_lRVUD.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-ChTNTxo4-BfQrSTN7.js → ZeniAccountSetupPage-ChTNTxo4-DLLgotve.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-D7A5qQVt-DD6lHGWl.js → ZeniCopyright-D7A5qQVt-BkiNDqq2.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-Clmv0ILZ-CusxQjDl.js → ZeniTransferAmountSlider-Clmv0ILZ-XI73yU3p.js} +1 -1
  206. package/dist/assets/{analyticsHelper-Dn0mlAnz-iXePQX9C.js → analyticsHelper-Dn0mlAnz-Bz9PRWBH.js} +1 -1
  207. package/dist/assets/{analyticsHelper-YKy7IxaP.js → analyticsHelper-RsNU8R7R.js} +1 -1
  208. package/dist/assets/{chartTypes-A8wR1KBw-DpEneA3z.js → chartTypes-A8wR1KBw-D0kS9dmF.js} +1 -1
  209. package/dist/assets/{commonDimensions-BT_as0IS-D3xsa4S9.js → commonDimensions-BT_as0IS-C2BrDlXQ.js} +1 -1
  210. package/dist/assets/{detailCommon-DppzaL-S-BgbDmqrB.js → detailCommon-DppzaL-S-DJJgCS9D.js} +1 -1
  211. package/dist/assets/{downloadPdf-CdA_CkNA-Bv6C7tQF.js → downloadPdf-CdA_CkNA-Cjt9sSgJ.js} +1 -1
  212. package/dist/assets/{index-DI0MUGC6.js → index-D_8lOwnz.js} +4 -4
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-_eXCwZ49-D7g990MI.js → mapLoadingInProgressToTreeNode-_eXCwZ49-B90XnFS1.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Ch0t_vs_-BO4dZMxU.js → mapSectionWithAcOnlyToTreeNode-Ch0t_vs_-CV8NfCEy.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-DV0UxtV9-m8YDFU8F.js → mapSpacerToTreeNode-DV0UxtV9-DcrAA31O.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-Mxxnpeq7-aaSrDsH6.js → mapTimeframeBalancesToTreeNode-Mxxnpeq7-6vpN00Ph.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-puf5eiMx-Bhs3Sn9u.js → mapTimeframeBalancesToTreeNode-puf5eiMx-Dm0QGNG3.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B-W32Tm--Bv0I7MdF.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-W32Tm--BlR3jyGV.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-CibeBR5w-DKx7lCaE.js → toCOABalancesWithID-CibeBR5w-iD2rCt2g.js} +1 -1
  220. package/dist/assets/{toChartData-D_R7lWVz-CD840bWJ.js → toChartData-D_R7lWVz--ZIBp08W.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-DudgBZZp-BB3FFLUP.js → treasuryColorHelper-DudgBZZp-tM49RwOC.js} +1 -1
  222. package/dist/assets/{uploadAttachment-DxrjP0NZ-kkI8V1hd.js → uploadAttachment-DxrjP0NZ-hWsWvlf8.js} +1 -1
  223. package/dist/assets/{uploadReceipts-TOfVnojh-B2rywoul.js → uploadReceipts-TOfVnojh-BkvAD6vP.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +1 -1
  226. package/dist/assets/CustomerOnboardingContainerPage-Pw4kXxCj-DIxXsPND.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ax as ht,c as Ze,j as t,O as oe,jn as Y,bF as mt,ab as U,cD as gt,am as K,ar as kt,l as Q,o as s,f3 as qe,cw as Ee,cA as xt,gh as wt,b8 as ft,bZ as Je,aS as Ct,q as le,aa as Tt,y as Xe,cS as $t,ad as jt,b3 as yt,cH as vt,iP as bt,iQ as St,jo as ze,aQ as Gt,n as De,c5 as Ie,e$ as Qe,jp as Lt,dd as et,jq as pe,jr as xe,js as Nt,jt as we,ju as tt,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as _,u as ke,jB as re,ai as ie,jC as Et,jD as It,A as Mt,ao as Dt,jE as zt,dt as Bt,jF as At,d3 as it,dn as Rt,C as Wt,jG as Ft,jH as Ot,gi as Pt,f2 as Ht,jI as Ut,jJ as J,jK as Be,cJ as Vt,jL as _t,jM as Kt,jN as Ae,jO as Yt,h as Re,gF as Zt,an as qt}from"./index-DI0MUGC6.js";import{b as n,n as o,i as fe}from"./vendor-Bs1fkIUX.js";import{K as Jt,X as Xt}from"./SpendManagementSection-CNgCznpS-D2Anolaw.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DzTt3sW7-D7k64tPL.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-D0yJ6ZZV-DPeBz9Dm.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-Cicc6Fs8.js";import"./StatusSwitcher-DbsnK4Pn-QF_adjcm.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>b(x),M=x=>{const S=Math.max(x,0)/d,j=Math.pow(S,p)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=c;if(j<d&&j>0){const L=d-j,g=M(L);k(x,g,"up")}else if(j>S-d){const L=j-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
1
+ import{ax as ht,c as Ze,j as t,O as oe,jn as Y,bF as mt,ab as U,cD as gt,am as K,ar as kt,l as Q,o as s,f3 as qe,cw as Ee,cA as xt,gh as wt,b8 as ft,bZ as Je,aS as Ct,q as le,aa as Tt,y as Xe,cS as $t,ad as jt,b3 as yt,cH as vt,iP as bt,iQ as St,jo as ze,aQ as Gt,n as De,c5 as Ie,e$ as Qe,jp as Lt,dd as et,jq as pe,jr as xe,js as Nt,jt as we,ju as tt,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as _,u as ke,jB as re,ai as ie,jC as Et,jD as It,A as Mt,ao as Dt,jE as zt,dt as Bt,jF as At,d3 as it,dn as Rt,C as Wt,jG as Ft,jH as Ot,gi as Pt,f2 as Ht,jI as Ut,jJ as J,jK as Be,cJ as Vt,jL as _t,jM as Kt,jN as Ae,jO as Yt,h as Re,gF as Zt,an as qt}from"./index-D_8lOwnz.js";import{b as n,n as o,i as fe}from"./vendor-Bs1fkIUX.js";import{K as Jt,X as Xt}from"./SpendManagementSection-CNgCznpS-C3ISwBrv.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DzTt3sW7-qN6zMi9O.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-D0yJ6ZZV-CG9LSmGf.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-Cicc6Fs8.js";import"./StatusSwitcher-DbsnK4Pn-C8ZVTa4h.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>b(x),M=x=>{const S=Math.max(x,0)/d,j=Math.pow(S,p)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=c;if(j<d&&j>0){const L=d-j,g=M(L);k(x,g,"up")}else if(j>S-d){const L=j-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{j as t,b3 as Y,aC as j,dD as H,bv as L,o as a,ai as q}from"./index-DI0MUGC6.js";import{n as g,b as i}from"./vendor-Bs1fkIUX.js";import{R as A}from"./mui-Ty75qFQF.js";import{V as U}from"./CollapsableReportTable-9Ve7EJza-AqNxaI6j.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{j as t,b3 as Y,aC as j,dD as H,bv as L,o as a,ai as q}from"./index-D_8lOwnz.js";import{n as g,b as i}from"./vendor-Bs1fkIUX.js";import{R as A}from"./mui-Ty75qFQF.js";import{V as U}from"./CollapsableReportTable-9Ve7EJza-DFnzbqah.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{j as t,o,ai as p,O as u}from"./index-DI0MUGC6.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
1
+ import{j as t,o,ai as p,O as u}from"./index-D_8lOwnz.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as c,j as t,y as n,ai as x,bO as w}from"./index-DI0MUGC6.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-Cv7wfQSS--wV3l3C4.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{q as c,j as t,y as n,ai as x,bO as w}from"./index-D_8lOwnz.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-Cv7wfQSS-CieGZYL3.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aC as R,q as V,j as t,c as f,bQ as C,bh as T,bg as S,bU as E,c0 as $,u as x,aX as _,C as k,c1 as H,c2 as X,aN as q,l as F,aK as G,o as p,ai as L,b8 as N,am as Q,O,aL as U,aM as Y,aR as z,b2 as J,b3 as W,aS as Z,c3 as ee}from"./index-DI0MUGC6.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-DBa4gyKQ-Buh0vXeY.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(z)`
1
+ import{aC as R,q as V,j as t,c as f,bQ as C,bh as T,bg as S,bU as E,c0 as $,u as x,aX as _,C as k,c1 as H,c2 as X,aN as q,l as F,aK as G,o as p,ai as L,b8 as N,am as Q,O,aL as U,aM as Y,aR as z,b2 as J,b3 as W,aS as Z,c3 as ee}from"./index-D_8lOwnz.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-DBa4gyKQ-BN1gQOpw.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(z)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{c as v,q as S,l as A,j as t,bF as B,O as u,aN as b,b3 as H,B as P,o as i,y as E,b$ as z,bw as F,u as c,h as T,am as y,aM as V,a$ as D}from"./index-DI0MUGC6.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-Bb0F0Re9-BGQwgN2R.js";import{b as O}from"./TimeframeSwitcher-Cv7wfQSS--wV3l3C4.js";import{d as Z}from"./NoDataTable-DrDufNQl-Xxh0U3Y6.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-Cicc6Fs8.js";import"./ReloadCard-DBa4gyKQ-Buh0vXeY.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",I=i.sp4,N="123px",R=l(D)`
1
+ import{c as v,q as S,l as A,j as t,bF as B,O as u,aN as b,b3 as H,B as P,o as i,y as E,b$ as z,bw as F,u as c,h as T,am as y,aM as V,a$ as D}from"./index-D_8lOwnz.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-Bb0F0Re9-p-bCp8Xl.js";import{b as O}from"./TimeframeSwitcher-Cv7wfQSS-CieGZYL3.js";import{d as Z}from"./NoDataTable-DrDufNQl-B4XQ9x04.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-Cicc6Fs8.js";import"./ReloadCard-DBa4gyKQ-BN1gQOpw.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",I=i.sp4,N="123px",R=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{Q as Bn,m as qn,c as Et,aa as Fn,q as ae,O as q,aP as Jt,e7 as Wn,e8 as Hn,cS as Gn,aC as Yn,e9 as tn,l as me,ea as Jn,j as i,aM as F,ad as Qn,bF as Zn,eb as Xn,ec as Kn,P as ai,ed as ki,aQ as ea,y as N,ee as ta,ef as nn,eg as an,eh as on,ei as Oe,ej as Le,ek as _e,el as et,em as tt,en as kt,eo as zt,ep as it,eq as ft,er as At,es as Vt,et as Qt,eu as ee,ev as Kt,ew as ue,ex as pe,aJ as ia,ey as Tt,ez as zi,eA as na,n as aa,cD as oa,o as a,cr as sa,eB as la,u as O,B as xi,h as le,ar as Ii,b9 as oi,M as ra,eC as ca,cy as da,cw as si,aN as je,d3 as lt,eD as ua,eE as Wt,aT as sn,d8 as pa,eF as ma,cu as ha,cv as ga,am as ye,a$ as fa,dn as ya,eG as ln,eH as Zt,eI as Xt,eJ as pi,dz as ba,b3 as xa,cH as va,db as Di,a9 as rn,eK as ei,eL as ti,eM as cn,d9 as dn,c5 as Ti,eN as mi,dE as hi,eO as wa,bw as Ca,eP as $a,eQ as Ai,eR as Ia,az as Da,dc as Ta,eS as Oa,b as un,eT as pn,bP as La,eU as Vi,eV as mn,eW as hn,eX as gn,bN as rt,av as ja,au as Sa,dM as ka,C as fn,eY as za,bL as Aa,A as Va,an as Ra,I as Ea,aV as vi}from"./index-DI0MUGC6.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-Ctt5nlNb-BxWNv_F8.js";import{R as Pa}from"./TrendWithTransactions-DeXSoeh9-DHeP6Kmv.js";import{u as _a,c as Na,d as Ma,m as Ua}from"./uploadAttachment-DxrjP0NZ-kkI8V1hd.js";import{o as Ba}from"./radio-default-CiSgisfh-Cuu8ymvq.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-Cicc6Fs8.js";import"./TrendChart-UOHctvPR-DYyf53nB.js";import"./chartTypes-A8wR1KBw-DpEneA3z.js";import"./toCOABalancesWithID-CibeBR5w-DKx7lCaE.js";import"./toChartData-D_R7lWVz-CD840bWJ.js";import"./NoDataChart-CXFwQK_G-CblpjrHE.js";import"./InsightsSection-Bp2dI7sk-DQMqItrq.js";import"./NavigationDots-DGv77DnI-DBz-xiee.js";import"./TransactionList-DqlnGjYa-CR04FLWL.js";import"./BoxItem-DJq5xhLi-BG-pUsKW.js";import"./commonDimensions-BT_as0IS-D3xsa4S9.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
1
+ import{Q as Bn,m as qn,c as Et,aa as Fn,q as ae,O as q,aP as Jt,e7 as Wn,e8 as Hn,cS as Gn,aC as Yn,e9 as tn,l as me,ea as Jn,j as i,aM as F,ad as Qn,bF as Zn,eb as Xn,ec as Kn,P as ai,ed as ki,aQ as ea,y as N,ee as ta,ef as nn,eg as an,eh as on,ei as Oe,ej as Le,ek as _e,el as et,em as tt,en as kt,eo as zt,ep as it,eq as ft,er as At,es as Vt,et as Qt,eu as ee,ev as Kt,ew as ue,ex as pe,aJ as ia,ey as Tt,ez as zi,eA as na,n as aa,cD as oa,o as a,cr as sa,eB as la,u as O,B as xi,h as le,ar as Ii,b9 as oi,M as ra,eC as ca,cy as da,cw as si,aN as je,d3 as lt,eD as ua,eE as Wt,aT as sn,d8 as pa,eF as ma,cu as ha,cv as ga,am as ye,a$ as fa,dn as ya,eG as ln,eH as Zt,eI as Xt,eJ as pi,dz as ba,b3 as xa,cH as va,db as Di,a9 as rn,eK as ei,eL as ti,eM as cn,d9 as dn,c5 as Ti,eN as mi,dE as hi,eO as wa,bw as Ca,eP as $a,eQ as Ai,eR as Ia,az as Da,dc as Ta,eS as Oa,b as un,eT as pn,bP as La,eU as Vi,eV as mn,eW as hn,eX as gn,bN as rt,av as ja,au as Sa,dM as ka,C as fn,eY as za,bL as Aa,A as Va,an as Ra,I as Ea,aV as vi}from"./index-D_8lOwnz.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-Ctt5nlNb-DpfYbPGi.js";import{R as Pa}from"./TrendWithTransactions-DeXSoeh9-CiNTppZy.js";import{u as _a,c as Na,d as Ma,m as Ua}from"./uploadAttachment-DxrjP0NZ-hWsWvlf8.js";import{o as Ba}from"./radio-default-CiSgisfh-Cuu8ymvq.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-Cicc6Fs8.js";import"./TrendChart-UOHctvPR-BjlWiVZZ.js";import"./chartTypes-A8wR1KBw-D0kS9dmF.js";import"./toCOABalancesWithID-CibeBR5w-iD2rCt2g.js";import"./toChartData-D_R7lWVz--ZIBp08W.js";import"./NoDataChart-CXFwQK_G-DJMCLvyY.js";import"./InsightsSection-Bp2dI7sk-D4YoGETm.js";import"./NavigationDots-DGv77DnI-D0QN52og.js";import"./TransactionList-DqlnGjYa-DGWyLnLh.js";import"./BoxItem-DJq5xhLi-Djh-p_w2.js";import"./commonDimensions-BT_as0IS-C2BrDlXQ.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Wa=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cr as rt,q as B,j as e,b3 as nt,aM as u,dz as st,O as y,dA as lt,dt,dB as ct,o as a,h as Z,cH as mt,y as U,l as m,P as ft,am as j,u as b,ai as xt,dC as W,df as K,aN as _,an as ut}from"./index-DI0MUGC6.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as G}from"./BoxItem-DJq5xhLi-BG-pUsKW.js";import{o as E}from"./commonDimensions-BT_as0IS-D3xsa4S9.js";const F=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
1
+ import{cr as rt,q as B,j as e,b3 as nt,aM as u,dz as st,O as y,dA as lt,dt,dB as ct,o as a,h as Z,cH as mt,y as U,l as m,P as ft,am as j,u as b,ai as xt,dC as W,df as K,aN as _,an as ut}from"./index-D_8lOwnz.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as G}from"./BoxItem-DJq5xhLi-Djh-p_w2.js";import{o as E}from"./commonDimensions-BT_as0IS-C2BrDlXQ.js";const F=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as L,ax as W,aD as ie,aX as ne,l as D,j as t,aM as x,b3 as re,O as w,u as n,C as ae,h as B,o,b as j,H as q,bu as se,bv as le,ai as de,ar as ce,aN as me,bw as pe,ap as he,P as ue,n as Z,B as G,bx as Q,aS as ee}from"./index-DI0MUGC6.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-XBi6z1zm-ChZ4F-Su.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-Cicc6Fs8.js";import"./SummaryCard-BbqP93PD-DCBLhe4V.js";import"./ReloadCard-DBa4gyKQ-Buh0vXeY.js";import"./NavigationArrow-Ctsd8z-N-Dey9XvGJ.js";import"./NavigationDots-DGv77DnI-DBz-xiee.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},be=i.div`
1
+ import{y as a,q as L,ax as W,aD as ie,aX as ne,l as D,j as t,aM as x,b3 as re,O as w,u as n,C as ae,h as B,o,b as j,H as q,bu as se,bv as le,ai as de,ar as ce,aN as me,bw as pe,ap as he,P as ue,n as Z,B as G,bx as Q,aS as ee}from"./index-D_8lOwnz.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-XBi6z1zm-Ts6qauYa.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-Cicc6Fs8.js";import"./SummaryCard-BbqP93PD-BMrw03ov.js";import"./ReloadCard-DBa4gyKQ-BN1gQOpw.js";import"./NavigationArrow-Ctsd8z-N-RxehtvfO.js";import"./NavigationDots-DGv77DnI-D0QN52og.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},be=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,ye=i.div`
@@ -1,4 +1,4 @@
1
- import{c as M,bD as R,bE as z,j as o,aM as u,bF as G,P as X,bG as _,o as n,am as q}from"./index-DI0MUGC6.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as H}from"./TransactionList-DqlnGjYa-CR04FLWL.js";import{t as J}from"./page-detail-CWX5S47F-lMo0MYzU.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-Cicc6Fs8.js";import"./BoxItem-DJq5xhLi-BG-pUsKW.js";import"./commonDimensions-BT_as0IS-D3xsa4S9.js";const K=l.div`
1
+ import{c as M,bD as R,bE as z,j as o,aM as u,bF as G,P as X,bG as _,o as n,am as q}from"./index-D_8lOwnz.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as H}from"./TransactionList-DqlnGjYa-DGWyLnLh.js";import{t as J}from"./page-detail-CWX5S47F-lMo0MYzU.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-Cicc6Fs8.js";import"./BoxItem-DJq5xhLi-Djh-p_w2.js";import"./commonDimensions-BT_as0IS-C2BrDlXQ.js";const K=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as H,O as k,j as o,P as B,aM as D,aQ as W,o as a,y as g,A as Q,b as U,dh as _,aa as G,hc as M,hd as F,he as R,cS as J,ad as K,u as r,c as X,cV as Y,gT as z,hj as Z,b6 as ee,hn as oe,ho as te}from"./index-DI0MUGC6.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.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-Cicc6Fs8.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=X(),$=N.labelWidth.value(l),P=N.controlWidth.value(l),I=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>I(n),defaultValue:{selectedOption:e,allOptions:F(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:M(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:P}):null]})]})},re=d.div`
1
+ import{q as H,O as k,j as o,P as B,aM as D,aQ as W,o as a,y as g,A as Q,b as U,dh as _,aa as G,hc as M,hd as F,he as R,cS as J,ad as K,u as r,c as X,cV as Y,gT as z,hj as Z,b6 as ee,hn as oe,ho as te}from"./index-D_8lOwnz.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.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-Cicc6Fs8.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=X(),$=N.labelWidth.value(l),P=N.controlWidth.value(l),I=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>I(n),defaultValue:{selectedOption:e,allOptions:F(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:M(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:P}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,q as ue,aM as P,hw as lt,O as I,aN as G,n as ve,hG as ct,P as Ye,aQ as $e,o as a,y as c,A as Ne,s as dt,b8 as ut,ar as ft,_ as De,ai as be,am as fe,aP as ce,fG as pt,aa as Xe,l as mt,cS as ht,aX as gt,aO as wt,h as Q,ad as qe,fP as ke,fQ as Pe,gm as xt,c5 as ye,gh as $t,hH as Dt,u as o,fB as bt,cw as Ge,ce as yt,dm as Tt,bP as Ct,an as Ue,fL as St,dM as vt,cg as Qe,fS as kt,fU as Pt}from"./index-DI0MUGC6.js";import{b as u,n as r}from"./vendor-Bs1fkIUX.js";import{v as At}from"./ZeniTransferAmountSlider-Clmv0ILZ-CusxQjDl.js";import{r as Lt}from"./AccountInfoPageContent-C9u7rHSK-BT3xnzN2.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-Cicc6Fs8.js";import"./downloadPdf-CdA_CkNA-Bv6C7tQF.js";import"./commonDimensions-BT_as0IS-D3xsa4S9.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Ae="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=ce(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=n.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),A=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(n,se),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&A.reset(Le(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,A,n,q]);const{isValid:tt}=A.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=A.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=n.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=n.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const rt=A.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${Ae}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,se,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),nt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:n.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ra,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(qe,{...A,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:rt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Ae),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",nt)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,n)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=r.div`
1
+ import{j as t,q as ue,aM as P,hw as lt,O as I,aN as G,n as ve,hG as ct,P as Ye,aQ as $e,o as a,y as c,A as Ne,s as dt,b8 as ut,ar as ft,_ as De,ai as be,am as fe,aP as ce,fG as pt,aa as Xe,l as mt,cS as ht,aX as gt,aO as wt,h as Q,ad as qe,fP as ke,fQ as Pe,gm as xt,c5 as ye,gh as $t,hH as Dt,u as o,fB as bt,cw as Ge,ce as yt,dm as Tt,bP as Ct,an as Ue,fL as St,dM as vt,cg as Qe,fS as kt,fU as Pt}from"./index-D_8lOwnz.js";import{b as u,n as r}from"./vendor-Bs1fkIUX.js";import{v as At}from"./ZeniTransferAmountSlider-Clmv0ILZ-XI73yU3p.js";import{r as Lt}from"./AccountInfoPageContent-C9u7rHSK-DFkcLjr0.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-Cicc6Fs8.js";import"./downloadPdf-CdA_CkNA-Cjt9sSgJ.js";import"./commonDimensions-BT_as0IS-C2BrDlXQ.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Ae="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=ce(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=n.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),A=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(n,se),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&A.reset(Le(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,A,n,q]);const{isValid:tt}=A.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=A.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=n.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=n.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const rt=A.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${Ae}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,se,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),nt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:n.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ra,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(qe,{...A,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:rt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Ae),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",nt)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,n)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=r.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{q as C,c as M,a9 as Fe,cr as Ke,j as t,O as L,aN as W,c5 as ae,bF as Ve,C as ie,aM as E,P as We,o as i,ai as k,h as w,bP as Ee,y,ft as _,b as B,l as V,u as p,hz as le,be as de,bh as ce,bg as he,bf as pe,bS as Ge,bZ as Le,aS as Me,ax as Ue,g3 as Xe,h3 as Je,n as _e,am as O,a$ as Ze,ji as qe,jV as Qe,bk as et,f0 as tt,dr as it,fL as ot,kR as rt,iX as Oe,iY as Ae,cH as at,iP as nt,iQ as st,c3 as lt,an as G,cM as xe,iW as dt,cP as ct}from"./index-DI0MUGC6.js";import{b as f,n as o,w as ht,i as ge}from"./vendor-Bs1fkIUX.js";import{s as pt}from"./commonDimensions-BT_as0IS-D3xsa4S9.js";import{g as me}from"./BoxItem-DJq5xhLi-BG-pUsKW.js";import{l as ne,n as xt}from"./treasuryColorHelper-DudgBZZp-BB3FFLUP.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.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-Cicc6Fs8.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{q as C,c as M,a9 as Fe,cr as Ke,j as t,O as L,aN as W,c5 as ae,bF as Ve,C as ie,aM as E,P as We,o as i,ai as k,h as w,bP as Ee,y,ft as _,b as B,l as V,u as p,hz as le,be as de,bh as ce,bg as he,bf as pe,bS as Ge,bZ as Le,aS as Me,ax as Ue,g3 as Xe,h3 as Je,n as _e,am as O,a$ as Ze,ji as qe,jV as Qe,bk as et,f0 as tt,dr as it,fL as ot,kR as rt,iX as Oe,iY as Ae,cH as at,iP as nt,iQ as st,c3 as lt,an as G,cM as xe,iW as dt,cP as ct}from"./index-D_8lOwnz.js";import{b as f,n as o,w as ht,i as ge}from"./vendor-Bs1fkIUX.js";import{s as pt}from"./commonDimensions-BT_as0IS-C2BrDlXQ.js";import{g as me}from"./BoxItem-DJq5xhLi-Djh-p_w2.js";import{l as ne,n as xt}from"./treasuryColorHelper-DudgBZZp-tM49RwOC.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.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-Cicc6Fs8.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{c as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,O,j as r,bF as je,o as i,ji as be,c5 as Se,ai as j,n as Q,aM as Z,b as $,ar as F,h as a,y as z,am as R,dr as ze,c7 as ve,s as Le,an as Me,fn as Pe,u as h,e4 as Be,bj as Ee,_ as Te,A as Ie,C as ee,dh as De}from"./index-DI0MUGC6.js";import{b as s,n as t,w as We}from"./vendor-Bs1fkIUX.js";import{x as _e}from"./MeetingCalenderPopup-Ma-N6si8-DVldPR_b.js";import{I as Re,K as Ge}from"./VideoPlayer-DloIycOu-CLtG3Kiy.js";import{l as He}from"./treasuryColorHelper-DudgBZZp-BB3FFLUP.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.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-Cicc6Fs8.js";const Oe=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Pe,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ue,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=t.div`
1
+ import{c as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,O,j as r,bF as je,o as i,ji as be,c5 as Se,ai as j,n as Q,aM as Z,b as $,ar as F,h as a,y as z,am as R,dr as ze,c7 as ve,s as Le,an as Me,fn as Pe,u as h,e4 as Be,bj as Ee,_ as Te,A as Ie,C as ee,dh as De}from"./index-D_8lOwnz.js";import{b as s,n as t,w as We}from"./vendor-Bs1fkIUX.js";import{x as _e}from"./MeetingCalenderPopup-Ma-N6si8-pP2849Lz.js";import{I as Re,K as Ge}from"./VideoPlayer-DloIycOu-CSVPXkLw.js";import{l as He}from"./treasuryColorHelper-DudgBZZp-tM49RwOC.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.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-Cicc6Fs8.js";const Oe=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Pe,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ue,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a9 as rt,c as lt,q as we,aP as xe,aa as Se,cS as Ce,O as be,aU as he,j as t,fn as ct,h as dt,y as h,bF as ut,P as pt,ad as ke,e6 as ft,bA as ht,u as n,aX as mt,aO as gt,n as yt,c5 as wt,aM as xt,cY as St,aQ as Ct,o as i,am as Te,_ as bt,A as kt,b as Tt,H as Ot}from"./index-DI0MUGC6.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-jlgjodRn-BM1z6Ko6.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-TtnDS5ad-BZjzQ8Mk.js";import{f as At}from"./SpendMgmtSetupAccountSection-CKg4qknx-DMsYuVmq.js";import Pt from"./PortfolioAllocationFormPage--pbBsqs1-Bdnin9RL.js";import $t from"./TreasuryTransferOrReviewPage-DMaGU-Gd-CFr5ChKO.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-Cicc6Fs8.js";import"./MeetingCalenderPopup-Ma-N6si8-DVldPR_b.js";import"./ChargeCardUtils-MXK7oeC0-D6RsKjLW.js";import"./CreditCardPaymentPlgSection-BPV1SLmY-C7jSKPJl.js";import"./ChaseOverlay-nKLcp0IQ-DyPgaN6P.js";import"./PortfolioDetails-BMo4nZPY-C_OYsbEg.js";import"./treasuryColorHelper-DudgBZZp-BB3FFLUP.js";const Et=(e,g)=>`${e}.${g}`,G={labelWidth:new h(145,155),navBarContainerPaddingYaxis:new h(10,n[3]),containerPaddingLeft:new h(n[3],n[6],n[8]),containerPaddingRight:new h(n[3],n[6],n[8])},Lt={stepTitle:new Tt("h6Regular","h5Regular")},Oe=be.getLocalizedStrings(),{common:ee,spendManagement:{treasury:{transferDrawer:{review:{footNoteForVerification:Ft}}}}}=Oe,l=Oe.commonSetUp.businessVerification,te=l.sourceOfFundOptions,F="additionalVerificationFields",jt=({companyOfficer:e,companyDetails:g,updateStatus:S,isDetailsSubmitted:b,isTransferInitiated:s,transferDetails:P,skipTransferStep:D,onClose:$,onAdditionalVerificationFieldsChanged:R,onSendForVerificationClick:w,onCloseOverlay:k})=>{const m=we(),X=G.labelWidth.value(m),E=xe(S.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[F]:{sourceOfFunds:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)}}}),[g?.sourceOfFunds])}),q=p=>te[p]??p,Y=T.handleSubmit(()=>{w(e?.officerType??"Officer_1",s)}),J=async(p,O)=>{R(O[F])};return a.useEffect(()=>{const p=T.watch((O,{name:V})=>{V!=null&&O!=null&&Ce(()=>J(V,O))});return()=>{p.unsubscribe()}}),E==="In-Progress"&&S.fetchState==="Completed"||b===!0?t.jsxs(Wt,{children:[t.jsxs(Bt,{children:[t.jsx(It,{}),t.jsx(Nt,{windowSize:m,children:s===!0?l.submittedTitleWithTransfer:l.submittedTitle}),t.jsx(_t,{children:s===!0?l.submittedDescriptionWithTransfer.replace("__amount__",mt(gt(P?.treasuryTransferMoneyLocalData?.amount?.amount??0),P?.treasuryTransferMoneyLocalData?.amount?.amount??0,ee.currency.currencySymbol)).replace("__account__",P?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):l.submittedDescription})]}),t.jsx(yt,{label:l.submittedButton,onClick:k,variant:"primary"})]}):t.jsxs(Dt,{windowSize:m,children:[t.jsx(Rt,{windowSize:m,children:t.jsx(wt,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(Vt,{"data-testid":xt("nav-bar-back-portfolio-allocation"),onClick:k||$})})}),t.jsxs(Mt,{windowSize:m,children:[t.jsx(Ut,{windowSize:m,children:D===!0?l.verifyBusinessDetailsWithoutTransfer:l.verifyBusinessDetails}),t.jsx(Ht,{children:t.jsxs(Gt,{children:[t.jsx(ge,{}),D!==!0&&t.jsx(ge,{}),t.jsx(Xt,{})]})})]}),t.jsx(ve,{children:l.verifyBusinessDetailsDescription}),t.jsx(ke,{...T,children:t.jsxs("form",{id:F,onSubmit:Y,children:[t.jsx(zt,{children:t.jsx(St,{label:{label:l.sourceOfFundsLabel,width:X},style:{width:"auto"},additionalInfoLabel:l.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:Et(F,"sourceOfFunds"),placeholder:l.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:q,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)},registerOptions:{required:!0,validate:p=>!!p?.selectedOption}},isFunctional:!0,errorInfoLabel:l.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ct,{formId:F,primaryBtn:{label:ee.footer.submit,style:{width:"auto",minWidth:m==="small"?"auto":"83px"},isLoading:S.fetchState==="In-Progress"},cancelBtn:{label:ee.footer.back,style:{width:m==="small"?"auto":"83px"},onClick:$},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2},helperText:s===!0?Ft:void 0,helperStyle:{padding:`${i.sp0} ${i.sp0} ${i.sp3} ${i.sp0}`}})]})})]})},Dt=o.div`
1
+ import{a9 as rt,c as lt,q as we,aP as xe,aa as Se,cS as Ce,O as be,aU as he,j as t,fn as ct,h as dt,y as h,bF as ut,P as pt,ad as ke,e6 as ft,bA as ht,u as n,aX as mt,aO as gt,n as yt,c5 as wt,aM as xt,cY as St,aQ as Ct,o as i,am as Te,_ as bt,A as kt,b as Tt,H as Ot}from"./index-D_8lOwnz.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-jlgjodRn-cRPxiTkO.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-TtnDS5ad-16wx5Mma.js";import{f as At}from"./SpendMgmtSetupAccountSection-CKg4qknx-C-ptgp5U.js";import Pt from"./PortfolioAllocationFormPage--pbBsqs1-CnABl-ek.js";import $t from"./TreasuryTransferOrReviewPage-DMaGU-Gd-CuGtRYOO.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-Cicc6Fs8.js";import"./MeetingCalenderPopup-Ma-N6si8-pP2849Lz.js";import"./ChargeCardUtils-MXK7oeC0-BTeeL_jd.js";import"./CreditCardPaymentPlgSection-BPV1SLmY-Cz2lEMcC.js";import"./ChaseOverlay-nKLcp0IQ-CrM9HXWu.js";import"./PortfolioDetails-BMo4nZPY-joyIWwuh.js";import"./treasuryColorHelper-DudgBZZp-tM49RwOC.js";const Et=(e,g)=>`${e}.${g}`,G={labelWidth:new h(145,155),navBarContainerPaddingYaxis:new h(10,n[3]),containerPaddingLeft:new h(n[3],n[6],n[8]),containerPaddingRight:new h(n[3],n[6],n[8])},Lt={stepTitle:new Tt("h6Regular","h5Regular")},Oe=be.getLocalizedStrings(),{common:ee,spendManagement:{treasury:{transferDrawer:{review:{footNoteForVerification:Ft}}}}}=Oe,l=Oe.commonSetUp.businessVerification,te=l.sourceOfFundOptions,F="additionalVerificationFields",jt=({companyOfficer:e,companyDetails:g,updateStatus:S,isDetailsSubmitted:b,isTransferInitiated:s,transferDetails:P,skipTransferStep:D,onClose:$,onAdditionalVerificationFieldsChanged:R,onSendForVerificationClick:w,onCloseOverlay:k})=>{const m=we(),X=G.labelWidth.value(m),E=xe(S.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[F]:{sourceOfFunds:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)}}}),[g?.sourceOfFunds])}),q=p=>te[p]??p,Y=T.handleSubmit(()=>{w(e?.officerType??"Officer_1",s)}),J=async(p,O)=>{R(O[F])};return a.useEffect(()=>{const p=T.watch((O,{name:V})=>{V!=null&&O!=null&&Ce(()=>J(V,O))});return()=>{p.unsubscribe()}}),E==="In-Progress"&&S.fetchState==="Completed"||b===!0?t.jsxs(Wt,{children:[t.jsxs(Bt,{children:[t.jsx(It,{}),t.jsx(Nt,{windowSize:m,children:s===!0?l.submittedTitleWithTransfer:l.submittedTitle}),t.jsx(_t,{children:s===!0?l.submittedDescriptionWithTransfer.replace("__amount__",mt(gt(P?.treasuryTransferMoneyLocalData?.amount?.amount??0),P?.treasuryTransferMoneyLocalData?.amount?.amount??0,ee.currency.currencySymbol)).replace("__account__",P?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):l.submittedDescription})]}),t.jsx(yt,{label:l.submittedButton,onClick:k,variant:"primary"})]}):t.jsxs(Dt,{windowSize:m,children:[t.jsx(Rt,{windowSize:m,children:t.jsx(wt,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(Vt,{"data-testid":xt("nav-bar-back-portfolio-allocation"),onClick:k||$})})}),t.jsxs(Mt,{windowSize:m,children:[t.jsx(Ut,{windowSize:m,children:D===!0?l.verifyBusinessDetailsWithoutTransfer:l.verifyBusinessDetails}),t.jsx(Ht,{children:t.jsxs(Gt,{children:[t.jsx(ge,{}),D!==!0&&t.jsx(ge,{}),t.jsx(Xt,{})]})})]}),t.jsx(ve,{children:l.verifyBusinessDetailsDescription}),t.jsx(ke,{...T,children:t.jsxs("form",{id:F,onSubmit:Y,children:[t.jsx(zt,{children:t.jsx(St,{label:{label:l.sourceOfFundsLabel,width:X},style:{width:"auto"},additionalInfoLabel:l.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:Et(F,"sourceOfFunds"),placeholder:l.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:q,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)},registerOptions:{required:!0,validate:p=>!!p?.selectedOption}},isFunctional:!0,errorInfoLabel:l.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ct,{formId:F,primaryBtn:{label:ee.footer.submit,style:{width:"auto",minWidth:m==="small"?"auto":"83px"},isLoading:S.fetchState==="In-Progress"},cancelBtn:{label:ee.footer.back,style:{width:m==="small"?"auto":"83px"},onClick:$},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2},helperText:s===!0?Ft:void 0,helperStyle:{padding:`${i.sp0} ${i.sp0} ${i.sp3} ${i.sp0}`}})]})})]})},Dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{c as j,q as v,j as t,bF as z,O as P,b3 as C,o as r,h as c,cH as I,y as R,u as d,am as T}from"./index-DI0MUGC6.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-DJq5xhLi-BG-pUsKW.js";import{o as E}from"./commonDimensions-BT_as0IS-D3xsa4S9.js";import{O as L}from"./StatementItem-Cv3RZsIv-CE3xFXTY.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-Cicc6Fs8.js";import"./downloadPdf-CdA_CkNA-Bv6C7tQF.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{c as j,q as v,j as t,bF as z,O as P,b3 as C,o as r,h as c,cH as I,y as R,u as d,am as T}from"./index-D_8lOwnz.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-DJq5xhLi-Djh-p_w2.js";import{o as E}from"./commonDimensions-BT_as0IS-C2BrDlXQ.js";import{O as L}from"./StatementItem-Cv3RZsIv-C3BOrXOL.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-Cicc6Fs8.js";import"./downloadPdf-CdA_CkNA-Cjt9sSgJ.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{c as j,q as v,j as t,bF as L,O as z,b3 as P,o as r,h as c,cH as C,y as T,u as d,am as I}from"./index-DI0MUGC6.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-DJq5xhLi-BG-pUsKW.js";import{o as B}from"./commonDimensions-BT_as0IS-D3xsa4S9.js";import{O as E}from"./StatementItem-Cv3RZsIv-CE3xFXTY.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-Cicc6Fs8.js";import"./downloadPdf-CdA_CkNA-Bv6C7tQF.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:m.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{c as j,q as v,j as t,bF as L,O as z,b3 as P,o as r,h as c,cH as C,y as T,u as d,am as I}from"./index-D_8lOwnz.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-DJq5xhLi-Djh-p_w2.js";import{o as B}from"./commonDimensions-BT_as0IS-C2BrDlXQ.js";import{O as E}from"./StatementItem-Cv3RZsIv-C3BOrXOL.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-Cicc6Fs8.js";import"./downloadPdf-CdA_CkNA-Cjt9sSgJ.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:m.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{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-DI0MUGC6.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-BMo4nZPY-C_OYsbEg.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-Cicc6Fs8.js";import"./treasuryColorHelper-DudgBZZp-BB3FFLUP.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",$)},k=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:()=>k(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`
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-D_8lOwnz.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-BMo4nZPY-joyIWwuh.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-Cicc6Fs8.js";import"./treasuryColorHelper-DudgBZZp-tM49RwOC.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",$)},k=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:()=>k(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
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
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-DI0MUGC6.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-A8wR1KBw-DpEneA3z.js";import{o as W}from"./toCOABalancesWithID-CibeBR5w-DKx7lCaE.js";import{V as U}from"./toChartData-D_R7lWVz-CD840bWJ.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-Cicc6Fs8.js";const H=$.div`
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-D_8lOwnz.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-A8wR1KBw-D0kS9dmF.js";import{o as W}from"./toCOABalancesWithID-CibeBR5w-iD2rCt2g.js";import{V as U}from"./toChartData-D_R7lWVz--ZIBp08W.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-Cicc6Fs8.js";const H=$.div`
2
2
  display: flex;
3
3
  `,I=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as D,j as i,P as R,o as t,O as b,y as c,aM as S,b3 as q,b6 as Y,_,u as a,am as E,A as K}from"./index-DI0MUGC6.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-UOHctvPR-DYyf53nB.js";import{C as W}from"./NoDataChart-CXFwQK_G-CblpjrHE.js";import{q as X}from"./InsightsSection-Bp2dI7sk-DQMqItrq.js";import{f as Z}from"./TransactionList-DqlnGjYa-CR04FLWL.js";const G=n.div`
1
+ import{q as D,j as i,P as R,o as t,O as b,y as c,aM as S,b3 as q,b6 as Y,_,u as a,am as E,A as K}from"./index-D_8lOwnz.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-UOHctvPR-BjlWiVZZ.js";import{C as W}from"./NoDataChart-CXFwQK_G-DJMCLvyY.js";import{q as X}from"./InsightsSection-Bp2dI7sk-D4YoGETm.js";import{f as Z}from"./TransactionList-DqlnGjYa-DGWyLnLh.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,O as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,P as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,b as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-DI0MUGC6.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-jlgjodRn-BM1z6Ko6.js";import{h as wn}from"./VendorsAccountsSection-B5a7wuJN-D5T-paLW.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-Cicc6Fs8.js";import"./MeetingCalenderPopup-Ma-N6si8-DVldPR_b.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,O as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,P as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,b as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-D_8lOwnz.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-jlgjodRn-cRPxiTkO.js";import{h as wn}from"./VendorsAccountsSection-B5a7wuJN-ChCVd5z7.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-Cicc6Fs8.js";import"./MeetingCalenderPopup-Ma-N6si8-pP2849Lz.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as b,j as t,hY as R,hZ as _,q as F,O,cD as N,af as C,cE as U,cF as z,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as Y,h as A,ap as J,P as X,n as Z,o as i,am as K,u as E,ar as Q,b9 as ee}from"./index-DI0MUGC6.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.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-Cicc6Fs8.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
1
+ import{aP as b,j as t,hY as R,hZ as _,q as F,O,cD as N,af as C,cE as U,cF as z,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as Y,h as A,ap as J,P as X,n as Z,o as i,am as K,u as E,ar as Q,b9 as ee}from"./index-D_8lOwnz.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.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-Cicc6Fs8.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{aa as U,fV as x,aP as _,l as k,q as A,O as W,j as i,cS as q,ad as Q,aM as G,fW as H,o as a,h as J,d0 as K,aQ as X,y,A as Y,_ as Z,b9 as ee,b8 as te,u as c}from"./index-DI0MUGC6.js";import{b as m,n as l}from"./vendor-Bs1fkIUX.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,S]=m.useState(!1),[N,O]=m.useState(!1),b=_(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),V=k.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(Q,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{aa as U,fV as x,aP as _,l as k,q as A,O as W,j as i,cS as q,ad as Q,aM as G,fW as H,o as a,h as J,d0 as K,aQ as X,y,A as Y,_ as Z,b9 as ee,b8 as te,u as c}from"./index-D_8lOwnz.js";import{b as m,n as l}from"./vendor-Bs1fkIUX.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,S]=m.useState(!1),[N,O]=m.useState(!1),b=_(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),V=k.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(Q,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aP as o,O as E,j as i,hY as j,hZ as v}from"./index-DI0MUGC6.js";import{b as t}from"./vendor-Bs1fkIUX.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-Cicc6Fs8.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:e,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),u=o(e.sendOtpStatus.fetchState),P=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[r,e,p]),t.useEffect(()=>{x==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&c?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,c]),t.useEffect(()=>{u==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,e.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:y=>h?.(y)}}):null})};export{H as default};
1
+ import{aP as o,O as E,j as i,hY as j,hZ as v}from"./index-D_8lOwnz.js";import{b as t}from"./vendor-Bs1fkIUX.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-Cicc6Fs8.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:e,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),u=o(e.sendOtpStatus.fetchState),P=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[r,e,p]),t.useEffect(()=>{x==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&c?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,c]),t.useEffect(()=>{u==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,e.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:y=>h?.(y)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-DI0MUGC6.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-DEHhAThG-DRAXXaYH.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-Cicc6Fs8.js";import"./BankAccountWarningSection-BKoo9URq-B_XL-xhd.js";import"./MagicLinkTitleSection-BheV8eRd-YQNBdJjw.js";import"./BankAccountSection-BDRw3NWV-B1HXDOJd.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-D_8lOwnz.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-DEHhAThG-DrvL7-MQ.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-Cicc6Fs8.js";import"./BankAccountWarningSection-BKoo9URq-B_MG7Q4-.js";import"./MagicLinkTitleSection-BheV8eRd-vSoy8RsR.js";import"./BankAccountSection-BDRw3NWV-B1O-rqhZ.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{O as _,c as Re,q as ne,y as g,aC as be,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as fe,hg as bt,aU as ft,cS as wt,j as t,bF as Ct,ad as $t,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as Mt,hm as zt,h as z,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,b as Ce,H as Xe}from"./index-DI0MUGC6.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-Di6AZRan-D-fc0CCz.js";import{f as Gt}from"./TransactionList-DqlnGjYa-CR04FLWL.js";import{R as Qt}from"./TrendWithTransactions-DeXSoeh9-DHeP6Kmv.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-BqxCJ214-BeCISlsF.js";import{Y as es}from"./LabeledDropDownFormattedTextField-j62_NoR8-C00ox8Xv.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-Cicc6Fs8.js";import"./BoxItem-DJq5xhLi-BG-pUsKW.js";import"./commonDimensions-BT_as0IS-D3xsa4S9.js";import"./TrendChart-UOHctvPR-DYyf53nB.js";import"./chartTypes-A8wR1KBw-DpEneA3z.js";import"./toCOABalancesWithID-CibeBR5w-DKx7lCaE.js";import"./toChartData-D_R7lWVz-CD840bWJ.js";import"./NoDataChart-CXFwQK_G-CblpjrHE.js";import"./InsightsSection-Bp2dI7sk-DQMqItrq.js";import"./NavigationDots-DGv77DnI-DBz-xiee.js";const ts=a.div`
1
+ import{O as _,c as Re,q as ne,y as g,aC as be,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as fe,hg as bt,aU as ft,cS as wt,j as t,bF as Ct,ad as $t,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as Mt,hm as zt,h as z,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,b as Ce,H as Xe}from"./index-D_8lOwnz.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-Di6AZRan-DicBL9pA.js";import{f as Gt}from"./TransactionList-DqlnGjYa-DGWyLnLh.js";import{R as Qt}from"./TrendWithTransactions-DeXSoeh9-CiNTppZy.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-BqxCJ214-CoCkLsqy.js";import{Y as es}from"./LabeledDropDownFormattedTextField-j62_NoR8-C0UIBiqQ.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-Cicc6Fs8.js";import"./BoxItem-DJq5xhLi-Djh-p_w2.js";import"./commonDimensions-BT_as0IS-C2BrDlXQ.js";import"./TrendChart-UOHctvPR-BjlWiVZZ.js";import"./chartTypes-A8wR1KBw-D0kS9dmF.js";import"./toCOABalancesWithID-CibeBR5w-iD2rCt2g.js";import"./toChartData-D_R7lWVz--ZIBp08W.js";import"./NoDataChart-CXFwQK_G-DJMCLvyY.js";import"./InsightsSection-Bp2dI7sk-D4YoGETm.js";import"./NavigationDots-DGv77DnI-D0QN52og.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-DI0MUGC6.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-DBt6rnIQ-Cqpf-IDY.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-Cicc6Fs8.js";import"./BankAccountSection-BDRw3NWV-B1HXDOJd.js";import"./MagicLinkTitleSection-BheV8eRd-YQNBdJjw.js";import"./BankAccountWarningSection-BKoo9URq-B_XL-xhd.js";import"./MailingDetailsSection-dpOFXIy_-ChE90SHL.js";import"./LabeledAddressValueField-BqxCJ214-BeCISlsF.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-D_8lOwnz.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-DBt6rnIQ-B5wiiAjb.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-Cicc6Fs8.js";import"./BankAccountSection-BDRw3NWV-B1O-rqhZ.js";import"./MagicLinkTitleSection-BheV8eRd-vSoy8RsR.js";import"./BankAccountWarningSection-BKoo9URq-B_MG7Q4-.js";import"./MailingDetailsSection-dpOFXIy_-8xhOLAWu.js";import"./LabeledAddressValueField-BqxCJ214-CoCkLsqy.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{q as oe,c as Ne,O as ne,aa as ke,dj as G,hr as de,cS as Ae,y as w,j as t,bF as Be,aM as Oe,ad as Ee,cV as C,o as s,cZ as Re,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ge,aQ as Ke,db as Qe,dk as Ye,u as c,A as Ze,b_ as D,cQ as _e,hs as Je,h as I,t as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-DI0MUGC6.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-j62_NoR8-C00ox8Xv.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-Cicc6Fs8.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:R}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:G(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,c as Ne,O as ne,aa as ke,dj as G,hr as de,cS as Ae,y as w,j as t,bF as Be,aM as Oe,ad as Ee,cV as C,o as s,cZ as Re,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ge,aQ as Ke,db as Qe,dk as Ye,u as c,A as Ze,b_ as D,cQ as _e,hs as Je,h as I,t as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-D_8lOwnz.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-j62_NoR8-C0UIBiqQ.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-Cicc6Fs8.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:R}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:G(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as re,i9 as ve,ia as fe,ib as be,ic as me,O as je,j as n,i3 as ot,ad as it,bF as rt,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as Y,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,P as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Ye,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,n as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as An,b as At,I as _t,aV as dn}from"./index-DI0MUGC6.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Ft}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-CS4snQyL-iEWPQ8Jg.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-Cicc6Fs8.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as re,i9 as ve,ia as fe,ib as be,ic as me,O as je,j as n,i3 as ot,ad as it,bF as rt,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as Y,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,P as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Ye,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,n as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as An,b as At,I as _t,aV as dn}from"./index-D_8lOwnz.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Ft}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-CS4snQyL-BXpLfQgd.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-Cicc6Fs8.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,q as Q,aa as he,O as U,cS as ye,aC as ge,l as Y,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as J,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as ke,h as V,P as Oe,b as Fe,c5 as Ae,ai as Le,bP as We}from"./index-DI0MUGC6.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-BKoo9URq-B_XL-xhd.js";import{T as Re}from"./MailingDetailsSection-dpOFXIy_-ChE90SHL.js";import{S as Pe}from"./CurrencySelectField-CJb3Y-mb-29nC1opq.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-Cicc6Fs8.js";import"./LabeledAddressValueField-BqxCJ214-BeCISlsF.js";const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Fe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,q as Q,aa as he,O as U,cS as ye,aC as ge,l as Y,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as J,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as ke,h as V,P as Oe,b as Fe,c5 as Ae,ai as Le,bP as We}from"./index-D_8lOwnz.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-BKoo9URq-B_MG7Q4-.js";import{T as Re}from"./MailingDetailsSection-dpOFXIy_-8xhOLAWu.js";import{S as Pe}from"./CurrencySelectField-CJb3Y-mb-DGO4NtR-.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-Cicc6Fs8.js";import"./LabeledAddressValueField-BqxCJ214-CoCkLsqy.js";const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Fe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-DI0MUGC6.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BSbC9vYS-D96enR1t.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-Cicc6Fs8.js";import"./BankAccountWarningSection-BKoo9URq-B_XL-xhd.js";import"./MailingDetailsSection-dpOFXIy_-ChE90SHL.js";import"./LabeledAddressValueField-BqxCJ214-BeCISlsF.js";import"./MagicLinkTitleSection-BheV8eRd-YQNBdJjw.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-D_8lOwnz.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BSbC9vYS-BkRbOiuS.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-Cicc6Fs8.js";import"./BankAccountWarningSection-BKoo9URq-B_MG7Q4-.js";import"./MailingDetailsSection-dpOFXIy_-8xhOLAWu.js";import"./LabeledAddressValueField-BqxCJ214-CoCkLsqy.js";import"./MagicLinkTitleSection-BheV8eRd-vSoy8RsR.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,c as oe,O as te,y as c,gO as w,aU as P,j as i,hX as m,hW as g,o as n,b as re,h as ne,dS as se,ai as le,u as a}from"./index-DI0MUGC6.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{q as ie,c as oe,O as te,y as c,gO as w,aU as P,j as i,hX as m,hW as g,o as n,b as re,h as ne,dS as se,ai as le,u as a}from"./index-D_8lOwnz.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as A,aa as B,O as L,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,n as D,c7 as q,am as N,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-DI0MUGC6.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-CKll7MKb-CjjkXlxS.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-Cicc6Fs8.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const h=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const h=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},I=120,P=30,F=2,re="456px",te="256px",O=6,n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(I),[p,w]=c.useState(P),E=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),T(s=>s+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(p<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[p]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>F,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(x,s),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),S(I),w(P))},children:n.resend}),p>0&&r.jsxs(pe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:M,style:{width:82},loading:i,disabled:j.trim().length!==O||l===!0})]}),r.jsx(xe,{children:R})]})]})})})]})})},oe=t.div`
1
+ import{aP as A,aa as B,O as L,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,n as D,c7 as q,am as N,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-D_8lOwnz.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-CKll7MKb-BobjROed.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-Cicc6Fs8.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const h=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const h=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},I=120,P=30,F=2,re="456px",te="256px",O=6,n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(I),[p,w]=c.useState(P),E=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),T(s=>s+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(p<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[p]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>F,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(x,s),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),S(I),w(P))},children:n.resend}),p>0&&r.jsxs(pe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:M,style:{width:82},loading:i,disabled:j.trim().length!==O||l===!0})]}),r.jsx(xe,{children:R})]})]})})})]})})},oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};