@zeniai/web-cockpit-ui 1.13.83-dev → 1.13.83-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 (220) hide show
  1. package/dist/assets/{ACHDetailsPage-_VHVuqJw-Doq1oZyo.js → ACHDetailsPage-_VHVuqJw-Bymc8CZ3.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C89zANQm-Bsl24y8I.js → AIPerformancePage-C89zANQm-DAbfunq3.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-DygdgdmU-3JH7j-i_.js → AccountInfoPage-DygdgdmU-DOUY2WTN.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B8SOX9i5-BCZgg4J1.js → AccountInfoPageContent-B8SOX9i5-7d4Bt0bR.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-BVnXwxD4-Cf92xfvn.js → AccountReconDetailsDrawerPage-BVnXwxD4-DEurx_N4.js} +1 -1
  6. package/dist/assets/{AccountRow-CpUAoVFw-HMGE2G2G.js → AccountRow-CpUAoVFw-BuMEboIn.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-9UqzeTvF-D_htA_iB.js → AccountsPromoCardStack-9UqzeTvF-CzL1CjSW.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-flYKIptj-DEezXSYv.js → AddAddressForCardDrawer-flYKIptj-CZXNkdja.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-qMFXqjhm-CU24a73Q.js → AddToWalletPage-qMFXqjhm-BLIVGZdo.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-CdVOTjjc-oI1sUgwp.js → AgingReportsPage-CdVOTjjc-BjXskb5q.js} +1 -1
  11. package/dist/assets/{AllUserItems-6g-IFiDP-BpYRP2V4.js → AllUserItems-6g-IFiDP-BF7NBOrr.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-DNG6y6eT-BuMaoAUg.js → ApAgingDetailPage-DNG6y6eT-DhHZsXHm.js} +1 -1
  13. package/dist/assets/{AppBasePage-C0Sy0oae-CY_9KM8v.js → AppBasePage-C0Sy0oae-DvEJ-ATe.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-BAYPGtYY-CFxdv-nr.js → AppDrawerContent-BAYPGtYY-CUnHM7PZ.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-D52kq1hZ-DthZHs0s.js → ApprovalRulesSettingsPage-D52kq1hZ-BYg8vnKt.js} +1 -1
  16. package/dist/assets/{ArAgingChart-Bso6mAzK-BVreFIvH.js → ArAgingChart-Bso6mAzK-j6sfc3fv.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-BxtXGjOk-DiZNGNon.js → ArAgingDetailPage-BxtXGjOk-CBtuYc3L.js} +1 -1
  18. package/dist/assets/{AttachmentView-cjbbz-rh-CV6MlHII.js → AttachmentView-cjbbz-rh-BnkWjld0.js} +1 -1
  19. package/dist/assets/{BankAccountSection-Cf1NyJua-1RZ9y6Q8.js → BankAccountSection-Cf1NyJua-CA0IxE0G.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-hZNBR8bC-M9s6rTPg.js → BankAccountWarningSection-hZNBR8bC-DgrV5hrK.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-C42Z61VJ-BUJAWfzF.js → BankConnectionsSettingsPage-C42Z61VJ-BjXrRucN.js} +1 -1
  22. package/dist/assets/{BillDetailPage-C9ABXSip-BzhejHXt.js → BillDetailPage-C9ABXSip-Dyhvss4T.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C_P8uDLH-Bb-1TSd8.js → BillPayApprovalRuleDetailPage-C_P8uDLH-c09oNfGD.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-B-e1bydX-D3rOZ0TO.js → BillPayApprovalRulesPage-B-e1bydX-37-nfPS6.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-CdGuDH1_-BJNNurbE.js → BillPayPromoPage-CdGuDH1_-DoTWyE5k.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-BJzAf5ei-BLpUm7YZ.js → BillPaySetUpPage-BJzAf5ei-BfqA1r1q.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CqFQk_xm-NwFTkJQr.js → BillingSettingsPage-CqFQk_xm-Wzi8-Pxm.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-Bo9JcC7R-CKi6vtjs.js → BillsBulkReviewDrawerPage-Bo9JcC7R-D0jNWqxU.js} +1 -1
  29. package/dist/assets/{BoxItem-BMejIo17-DYaYpAty.js → BoxItem-BMejIo17-DfTWFZ7_.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-B4T4eKqS-BxOKHQn4.js → BusinessVerificationPage-B4T4eKqS-Bye3WrQZ.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-DU4-NQyz-CxmQbHAh.js → CardNumberSubText-DU4-NQyz-186D7nSj.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-gEd-o4kR-CRml17tc.js → CashbackDetailPage-gEd-o4kR-C4wVKPgt.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-Bi0lqA56-CepICoHz.js → ChargeCardDetailPage-Bi0lqA56-BFxB7GLk.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-D0DuXZ7e-CnP96JSD.js → ChargeCardListPage-D0DuXZ7e-DlfCFnes.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-C1RWnfY_-dZQZ_0O0.js → ChargeCardListTable-C1RWnfY_-CHbl4tuS.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-CIboCUSV-CPRzKXVU.js → ChargeCardPromoPage-CIboCUSV-y-DLxjGT.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-DNUctoFI-DP8fEZNW.js → ChargeCardSetupPage-DNUctoFI-CLAGahbp.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-B565dWKi-CwenRWpE.js → ChargeCardStatementsPage-B565dWKi-BNK7rWNj.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-BN7bbdUB-BDnfEJHK.js → ChargeCardUtils-BN7bbdUB-BbkRwxs1.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-BrHcqwQQ-9yUtYaFO.js → ChaseOverlay-BrHcqwQQ-D5p6lw7W.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-K9NmaIpu-DlmpMmn8.js → CheckDepositDrawerPage-K9NmaIpu-DOGNQqAq.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-C5VV-Hqz-B9BitG9z.js → CollapsableReportTable-C5VV-Hqz-BgVDm2Ba.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DHqtLqa--CKQpSpe2.js → CompanyOfficerDetailsSection-DHqtLqa--DkQW91X6.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BtC806n1-BALDSz8U.js → CompanyPassportCard-BtC806n1-BE2Vutw3.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CZBZoHu3-BtN1mYZH.js → CompanyPassportPage-CZBZoHu3-CVdv1vFg.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CwZtbTzm-Hv8d7_cg.js → CompleteProfile-CwZtbTzm-B0JwwIUN.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-Bvvql-8k-BLubY-K5.js → ConfettiBurst-Bvvql-8k-BorMAewb.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-B43jo6gf-BltFef69.js → CreateOrEditVendorPage-B43jo6gf-XWR76dqm.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-1litLdxa-Cica9BgE.js → CreditCardPaymentDrawerPage-1litLdxa-C6R9hrSu.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-CEjV1ee_-CJS3AWLV.js → CreditCardPaymentPlgSection-CEjV1ee_-C66jG_cF.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-DMPtPzwJ-IAj1-v3T.js → CurrencySelectField-DMPtPzwJ-CVyHXZxa.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DUQPZIJW-D0gnLyMf.js → CustomerOnboardingActivationPage-DUQPZIJW-C2-ZWnw3.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-BsErtHzd-BdcZe_io.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D-MkZIDQ-C4W6FsQp.js → CustomerOnboardingDetailPageSkeleton-D-MkZIDQ-DF5QLwbE.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-JnxUTXUI-C0BXlgNr.js → CustomerOnboardingNoStepsPage-JnxUTXUI-92Zb-Tm2.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-C1pKcpFC-CjisTXvM.js → CustomerOnboardingPage-C1pKcpFC-CGanCl6o.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-C47rlXpl-BpsZoYuk.js → CustomerOnboardingProductSuitePage-C47rlXpl-wD-8riam.js} +1 -1
  58. package/dist/assets/{Dashboard-CyZG5DEY-DYIx6Vxx.js → Dashboard-CyZG5DEY-C3KfWHk8.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-B8sZBvi0-MntV2bW8.js → DashboardReportPage-B8sZBvi0-Bkka6zpc.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-SBvKiZUo-CFyTK5QE.js → DepositAccTransactionItem-SBvKiZUo-DJaX4dE5.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DxyOodRG-B1Ax9NZC.js → DepositAccTransactionListPage-DxyOodRG-CDy1pV7B.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-2RwwRIbj-BcoXD7TB.js → DocumentSecurityBanner-2RwwRIbj-KpNSpuh7.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BbmbS2h3-B-Fp80IM.js → DomesticWireDetailsPage-BbmbS2h3-Ch-Vtjq-.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-D_7Q3gwF-DswP3IpQ.js → DownloadOverlay-D_7Q3gwF-BtTWiRYh.js} +1 -1
  65. package/dist/assets/{DrawerPage-D7ZExidR-tBC3-6XU.js → DrawerPage-D7ZExidR-CIWuPHJ5.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-QsjUi5_S-CMzgJvTX.js → EditPeoplePage-QsjUi5_S-DkWH1BmJ.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-CZWIuR9q-D_w3pTP5.js → EditReimbursementDetailPage-CZWIuR9q-DiQem3xT.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-liLBcaFa-DI756bbn.js → EntityDetailPage-liLBcaFa-BbblawRB.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BEubg_Ke-6YYDcZeu.js → EntitySummarySection-BEubg_Ke-Bdvy7iaP.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-De7pJxb1-D6-9-KsF.js → ExpenseAutomationOverviewPage-De7pJxb1--Us_wwQ9.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-JGlqvmW0-CfsHhd6-.js → ExpenseAutomationPage-JGlqvmW0-DGGQ5kes.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-DMuL6rjt-CI_seo4u.js → ExpressPayPage-DMuL6rjt-BbpZP04j.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-eU2Fncgw-B413ENKD.js → FeaturePreviewPage-eU2Fncgw-Df6t4vlN.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CIOJXyXO-C5O_8PHi.js → FollowStepsSection-CIOJXyXO-Ck9BhOv7.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DbGsAMQF-AyuyUoqI.js → GlobalReviewListPage-DbGsAMQF-DEii590Y.js} +1 -1
  76. package/dist/assets/{HelpButton-DYFzwkI3-DGXEm476.js → HelpButton-DYFzwkI3-Cel7B9gC.js} +1 -1
  77. package/dist/assets/{InformationCardStack-DBC0PIB2-CmpAx7XX.js → InformationCardStack-DBC0PIB2-ZpzVR8Pu.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-BiyzY54v-F4HrJJ4c.js → InsightsCardStack-BiyzY54v-DjzlYvXC.js} +1 -1
  79. package/dist/assets/{InsightsSection-CB95rM5E-D4gjoxVk.js → InsightsSection-CB95rM5E-D6F0bC-C.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-IozP8XCs-5FtLdrC7.js → IntegrationsSettingsPage-IozP8XCs-Covl1ghU.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-CBLjT_qk-5otsD6wN.js → InternationalWireSwiftDetailsPage-CBLjT_qk-C24yuZmd.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BDHKKPIV-BkmnuuAq.js → InternationalWireVerificationPage-BDHKKPIV-Kq4wZhMp.js} +1 -1
  83. package/dist/assets/{InviteFormPage-DcVcYJU0-B0eCfhkp.js → InviteFormPage-DcVcYJU0-CpPhN43t.js} +1 -1
  84. package/dist/assets/{InvitePageListView-CtGrvvWG-DekOBDFL.js → InvitePageListView-CtGrvvWG-DUC9eyzx.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-CV75uhrr-CGjIS6qt.js → InvitePeoplePage-CV75uhrr-B1Hdsrwm.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-CzeBCw69-CiUxF3GU.js → InvoiceUploadSection-CzeBCw69-MIl0YoqM.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-DywMnIW9-BXZp2X8H.js → IssueChargeCardPage-DywMnIW9-DZC1TtsH.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-aXAfyy6x-CezEtPGS.js → LabeledAddressValue-aXAfyy6x-zuxWHZ35.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BdNErK0u-CARcO6oK.js → LabeledAddressValueField-BdNErK0u-BCVVhFLg.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-DPoSmzJi-Dd2UAlNr.js → LabeledControlledCheckBoxField-DPoSmzJi-B9fcjMs6.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DsyZw9q6-Lcg9eXyG.js → LabeledCreatableSingleSelectField-DsyZw9q6-BgU9LeRU.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-IC75UO-m-0LGLKZw-.js → LabeledDocumentField-IC75UO-m-BR65Je6h.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DRdoEEXa-Bng-S4cZ.js → LabeledDropDownFormattedTextField-DRdoEEXa-ihK1IWBq.js} +1 -1
  94. package/dist/assets/{LabeledText-CcIJZUuh-D8M-KPoq.js → LabeledText-CcIJZUuh-CPcjfLXi.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CPJQjrJK-DoPiN1WW.js → LabeledUserSingleSelectWithSubtitlesField-CPJQjrJK-DWx8mI1V.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-WCoZXbuy-BisUheWK.js → LabeledZeniRolesDropDownField-WCoZXbuy-DHAUidGL.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-jB4x6YYH-CSGqTLyV.js → LinkJETransactionPage-jB4x6YYH-CygKAijz.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-c-6SC1hh-BBkYDAme.js → LowBalancePopup-c-6SC1hh-B9wQAJ9M.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-Cm98tK2_-ihGaaKuv.js → MagicLinkACHDetailsPage-Cm98tK2_-7ec-cqHZ.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-26S-99Ie-SxU7dCDj.js → MagicLinkDomesticWireDetailsPage-26S-99Ie-D3QNyjAa.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CY-hI3QM-C1qljcrA.js → MagicLinkInternationalWireDetailsPage-CY-hI3QM-D4hmDiEg.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-1VMpD_t0-B3eoAsAb.js → MagicLinkSuccessPage-1VMpD_t0-YoPoa1Fs.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-BiZ9MGYp-DDgpPz9o.js → MagicLinkTitleSection-BiZ9MGYp-Cl_WugVD.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DfxeX2uy-yWo1tCEg.js → MailingDetailsSection-DfxeX2uy-D2drNkzT.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-ifcJuMu9-CWfHFman.js → MeetingCalenderPopup-ifcJuMu9-ByO1X2Hh.js} +1 -1
  106. package/dist/assets/{Menu-B4Q04CAH-BOktILCZ.js → Menu-B4Q04CAH-4XWj_HwH.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-rM_qhevU-C-BOjqBd.js → MyBankConnectionsSettingsPage-rM_qhevU-DITmqjDy.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CwwpQgC6-TWnqZoKB.js → MyPendingActivationChargeCardListPage-CwwpQgC6-iU-kUMq9.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DbkgXE3d-C6qe13B1.js → MyProfileSettingsPage-DbkgXE3d-BGJQs-jC.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CHrbDC5H-CJNDnkGd.js → NavBarWithPicker-CHrbDC5H-DmfI4NHq.js} +1 -1
  111. package/dist/assets/{NavigationArrow-B68QyyUR-DHT0p34d.js → NavigationArrow-B68QyyUR-DJ2p6cca.js} +1 -1
  112. package/dist/assets/{NavigationDots-DYkUvR3H-CBy1tYVO.js → NavigationDots-DYkUvR3H-CWQugA3e.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CEZgARa1-HqI4Eyq-.js → NewGlobalMerchantPage-CEZgARa1-Oq3mm2EE.js} +1 -1
  114. package/dist/assets/{NoDataChart-CEPkoKCh-CcKGQC2R.js → NoDataChart-CEPkoKCh-CJB-ycSI.js} +1 -1
  115. package/dist/assets/{NoDataTable-Z4rV9ZBK-CImHkpSP.js → NoDataTable-Z4rV9ZBK-p_2JIShf.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DGbe5Rh8-g7Fjw_fi.js → NotFoundPage-DGbe5Rh8-DP7xmEtU.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-SovYc7X1-BmbFRzrc.js → NotificationSettingsPage-SovYc7X1-B3BS2dbe.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-8oQmiFyf-BZWUVy7J.js → NotificationsListConfig-8oQmiFyf-BOGk1_4Q.js} +1 -1
  119. package/dist/assets/{NotificationsPage-D1uWQ3_a-DUkxidQ5.js → NotificationsPage-D1uWQ3_a-DxSIxDxP.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-bwyUuTg3-DSvY8WCJ.js → OpExByVendorPage-bwyUuTg3-r5i2RybY.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-B6wvg3Bg.js → OverlayContainerPage-C0rUb6-5-DlNZMe2A.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-C316N1hQ-CBdwjnXu.js → PandLWithForecastPage-C316N1hQ-aHIR4J9h.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-07laMoUE-DzuFwQ6_.js → PaymentAccountSetupBillingAddressSection-07laMoUE-vyb_PzAc.js} +1 -1
  124. package/dist/assets/{PeoplePage-nMBpp-i7-Cphq47-f.js → PeoplePage-nMBpp-i7-C_FzQc4I.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-BNM5_3mQ-DCZ3Ri55.js → PortfolioAllocationFormPage-BNM5_3mQ-DaO3Xs0l.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-Cxr764um-L6xz8K5Y.js → PortfolioDetails-Cxr764um-DhzbvH6Q.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-W3-LEsKP-CaS9UlKo.js → ProductsCarousel-W3-LEsKP-DbLcA25z.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-zZLO1ftd-DkIb0qhk.js → PromoBaseCards-zZLO1ftd-CE6hJoyp.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-027QZpKQ-1LwHjepz.js → QBOConnectionDialog-027QZpKQ-BMM6Z1LZ.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-BT0OZMcW-hke6RwYE.js → QBOSetupSection-BT0OZMcW-35drr2J_.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DsBcRdLI-BrMyjsQN.js → ReimbursementApprovalRuleDetailPage-DsBcRdLI-4vSu0HBp.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DFUfuIiJ-2pOBk6-j.js → ReimbursementApprovalRulesPage-DFUfuIiJ-CI-ZWabB.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-8b3khOnV-CWYJCADt.js → ReimbursementDetailPage-8b3khOnV-B2Q02bEe.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-BDuxIiMu-UhwnzW6o.js → ReimbursementPromoPage-BDuxIiMu-BQx3j8pw.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-CQnnv-Km-D-dISoxH.js → ReimbursementSetUpPage-CQnnv-Km-dR4LVsPp.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B42Iy6Wl-Bh93-0Gj.js → ReimbursementsBulkReviewDrawerPage-B42Iy6Wl-CPgHrEv8.js} +1 -1
  137. package/dist/assets/{ReloadCard-BRfBNfTQ-eP7dgdK0.js → ReloadCard-BRfBNfTQ-BU52RUhd.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-CsIuIfQF-D12PWHrP.js → ReportTableViewSelector-CsIuIfQF-CglQQFO3.js} +1 -1
  139. package/dist/assets/{ReportsPage-BgjHAROL-CrNorjT2.js → ReportsPage-BgjHAROL-CDbPtbWw.js} +1 -1
  140. package/dist/assets/{RevenueChart-DSSPucUL-BLWciwBc.js → RevenueChart-DSSPucUL-BpbrhJFv.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DRTS4tm7-TnTy19dG.js → ReviewDetailsPage-DRTS4tm7-GkJsi7Yf.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-fCgnrRah-MbFAibJO.js → ReviewOverlay-fCgnrRah-tZ00a0Uu.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-aKLOITw0-B_wUcYFA.js → RoleWithToolTip-aKLOITw0-B48eYV-X.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-ChR3tFhH-CINiUHf4.js → ScheduleDetailsFixedAssetsPage-ChR3tFhH-e-z1NRNI.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-DmVZaX9M-BlOTefgl.js → ScheduleDetailsPage-DmVZaX9M-CeCNgksq.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-CqrIr7OX-Di2Yxke2.js → ScheduleSequenceTable-CqrIr7OX-Cen2QelK.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-B1Mol68Z.js → ScreenRoutes-ByaRWdsC.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DkqyfYdP-Dz6HFNOt.js → SetUpAccountSection-DkqyfYdP-DWiWb20O.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-CEcqnqlD-DPfEVIk8.js → SetUpDefaultSection-CEcqnqlD-BSjLZl3B.js} +1 -1
  150. package/dist/assets/{SignIn-BKCeqJmF-DmG1PJSS.js → SignIn-BKCeqJmF-B6GB44w2.js} +1 -1
  151. package/dist/assets/{SignInScreen-DU6Agp7w.js → SignInScreen-BY-NI1BX.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DWrIY48Y-1vFRBwYe.js → SpendManagementListViewPage-DWrIY48Y-1thafgez.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BIK3QfAG-pYAixnik.js → SpendManagementPerTabPage-BIK3QfAG-BprzbGtF.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-BibcrHiQ--2bDUvmg.js → SpendManagementSection-BibcrHiQ-ojX7OXv7.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-BZzCEn49-BUW9h1w4.js → SpendMgmtSetupAccountSection-BZzCEn49-xlvJK4VE.js} +1 -1
  156. package/dist/assets/{StatementItem-DujQ-hfS-2WQEwmfV.js → StatementItem-DujQ-hfS-Co0MjdA1.js} +1 -1
  157. package/dist/assets/{StatementsPage-BEBaWRll-H-YxrH6p.js → StatementsPage-BEBaWRll-Dv0qqBwe.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CmoFEW3h-CIyI0Nsc.js → StatusSwitcher-CmoFEW3h-B8khGWcG.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-CZqJSgrt-CGR-n_mv.js → SubTabSwitcher-CZqJSgrt-BzzBfBEV.js} +1 -1
  160. package/dist/assets/{SummaryCard-BC_pbmca-D0zssbaM.js → SummaryCard-BC_pbmca-BA-2CDI2.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-IrjSDISn-CdhpO43W.js → TaskManagementPage-IrjSDISn-Cdu4CkH2.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-6HHMsbMu-D4NMZyzh.js → TimeRangeSwitcher-6HHMsbMu-BJeGDam3.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-9Tl1lDvO-D7UrJiFa.js → TimeframeSwitcher-9Tl1lDvO-2gI3pMJ6.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-L5acx38l-Bz68abNK.js → TimeframeSwitcherWithToggle-L5acx38l-CrZfZFxd.js} +1 -1
  165. package/dist/assets/{TopExCard-BRR6W73W-CAHMXlOc.js → TopExCard-BRR6W73W-BCkskQ6y.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-DzqG7MND-DJ7pAhMq.js → TopExDetailPage-DzqG7MND-r9FRTnlF.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-DD-5Uhso-Be0gb3Q1.js → TransactionDetailPage-DD-5Uhso-5-XIEojv.js} +1 -1
  168. package/dist/assets/{TransactionList-B_1X_r62-C-2WHkWB.js → TransactionList-B_1X_r62-D6FSjlP-.js} +1 -1
  169. package/dist/assets/{TransactionListBig-CUOjhYmg-DbCncTb4.js → TransactionListBig-CUOjhYmg-CQ2RJ0bc.js} +1 -1
  170. package/dist/assets/{TransactionListPage-Ck8dLdRo-BOZC0KIS.js → TransactionListPage-Ck8dLdRo-F9HAGy3S.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-C2_Yo1np-BPwdA8Pe.js → TransactionVendorDetailPage-C2_Yo1np-DO9ni0JA.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-D9sHV8Dz-BuLtSZMC.js → TransferDrawerPage-D9sHV8Dz-C3BJeiz0.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-Co2mrPcn-BbO-_U69.js → TreasuryOverviewPage-Co2mrPcn-BY4IGK6R.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-x3aBAAof-C2kBLQ6F.js → TreasuryPromoPage-x3aBAAof-CzINUoky.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-COLv35Sa-DTkym-mM.js → TreasurySetupPage-COLv35Sa-D7XzYH1g.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-BIxlBphR-DRHuEgCF.js → TreasuryStatementsPage-BIxlBphR-CLkwORFF.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-00l2eDaD-BFA1kVX5.js → TreasuryTaxLetterPage-00l2eDaD-D4R_SIte.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-8kYRXJ8--BKRykugB.js → TreasuryTransferOrReviewPage-8kYRXJ8--BXlfWwAt.js} +1 -1
  179. package/dist/assets/{TrendChart-CnawkdG8-D0gaYLAL.js → TrendChart-CnawkdG8-C1f54OIB.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-CNNCV2hi-BzmkwguS.js → TrendWithTransactions-CNNCV2hi-Lc8Mvmvx.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-6dSPWwUH-C0Zb3Sk7.js → UncategorizedAccountsMappingPage-6dSPWwUH-BNmql1oS.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-CQz8bAr--W4Gj2kM5.js → UnitIntegrationPage-CQz8bAr--Be6E8wgt.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-qVx1t-kK-ZeoH0JJj.js → UploadAdditionalDocumentOverlay-qVx1t-kK-BfnzSXgO.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-BwICX5Jo-BHYYMSgZ.js → Vendor2FAPopup-BwICX5Jo-DRxdFSoT.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-U9vQ2YO1-w7279Sum.js → VendorACHDetailsPage-U9vQ2YO1-C3wP_7rP.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-v3AJufvV-D0UsqfhW.js → VendorDetailPage-v3AJufvV-B6BEQrJw.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-DY5Enpxz-HT9ICdCc.js → VendorDomesticWireDetailsPage-DY5Enpxz-CMAOISi3.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-BJ1K4EB2-DPkozOkE.js → VendorFiling1099EditablePage-BJ1K4EB2-CnqK8eQN.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-Dqu2JeBh-DlZ73fuA.js → VendorFirstReviewPage-Dqu2JeBh-BTSOdkvj.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B3jL5IpJ-CNfrsnT2.js → VendorInternationalWireDetailsPage-B3jL5IpJ-Ge2HUtcT.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-OyW2sXjN-z3OsyQgS.js → VendorInternationalWireSwiftDetailsPage-OyW2sXjN-BaDu_Rbp.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CnVky8J2-Bz7x-ViJ.js → VendorsAccountsSection-CnVky8J2-BnxyHrsh.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-Bc8HwhJZ-Dq8yy3xN.js → WarningsDrawerPage-Bc8HwhJZ-CoRSEL1r.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-I3Qn-mIV-BmMPdZoo.js → ZeniAccountDetailPage-I3Qn-mIV-D6WbzhnA.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-BFUoGrvu-CS6K1EOB.js → ZeniAccountListViewPage-BFUoGrvu-CvFvWDHE.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-B6K9Q5ca-gXXLq7cH.js → ZeniAccountNavBarPieces-B6K9Q5ca-BG64SHxp.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-B_Kt_gIx-CSUh0Sr6.js → ZeniAccountPromoPage-B_Kt_gIx-BmUo-cHo.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-BvzXgVNr-CcE1WVfy.js → ZeniAccountSetupPage-BvzXgVNr-Cojq6XAe.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B5gFkT_K-BFj2LAUW.js → ZeniCopyright-B5gFkT_K-Bd1To88b.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-dNQVv3xh-Bcvmg6KK.js → ZeniTransferAmountSlider-dNQVv3xh-Dj4F9WJ8.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CiRIn2W--Bj5XSzUV.js → analyticsHelper-CiRIn2W--BxtgqDE2.js} +1 -1
  202. package/dist/assets/{analyticsHelper-_e8RtUK3.js → analyticsHelper-DaI4EFSR.js} +1 -1
  203. package/dist/assets/{chartTypes-om8APqYr-BdMnUQN2.js → chartTypes-om8APqYr-BLTaCwIq.js} +1 -1
  204. package/dist/assets/{commonDimensions-CnEuBCL0-D6rQGPBV.js → commonDimensions-CnEuBCL0-BaKrm6VO.js} +1 -1
  205. package/dist/assets/{detailCommon-B8snZE0k-CIas2oT6.js → detailCommon-B8snZE0k-CD_QEBke.js} +1 -1
  206. package/dist/assets/{downloadPdf-UYNSbWcH-B89JkTwa.js → downloadPdf-UYNSbWcH-CCjYi8d_.js} +1 -1
  207. package/dist/assets/{index-BZX8UIkU.js → index-C5RQ_I4f.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-Ct5Hw9GL-CObIwYD2.js → mapLoadingInProgressToTreeNode-Ct5Hw9GL-CIhY2PIH.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DAi-q9qz-CpGZon39.js → mapSectionWithAcOnlyToTreeNode-DAi-q9qz-uRnsjJzp.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-NdVrr_Rq-BDAUEVg7.js → mapSpacerToTreeNode-NdVrr_Rq-h2jl1W7n.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bq1k2j24-C7XOVz69.js → mapTimeframeBalancesToTreeNode-Bq1k2j24-C-EGB4JJ.js} +1 -1
  212. package/dist/assets/{play-icon-cU_HA46u-CiNaqKmR.js → play-icon-cU_HA46u-DKk-rWaT.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-D8CsJNcd-BYA_5TFD.js → toCOABalancesWithID-D8CsJNcd-D3oEVThj.js} +1 -1
  214. package/dist/assets/{toChartData-DUoI4wMR-C1yVXjYU.js → toChartData-DUoI4wMR-BpwvMCd8.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-X9PYqjk_-CXegHpZD.js → treasuryColorHelper-X9PYqjk_-B0f97nM8.js} +1 -1
  216. package/dist/assets/{uploadAttachment-BHcSLQXP-C3rDLKGT.js → uploadAttachment-BHcSLQXP-Dd6nHf0l.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-BR5vBOuA.js → uploadReceipts-Buvz7DfG-TsfYrPiB.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +1 -1
  220. package/dist/assets/CustomerOnboardingContainerPage-BsErtHzd-Bq0LgqLp.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as y,M as S,g$ as b,j as o,d as g,o as r,q as j,C as v,bp as z,p as k}from"./index-BZX8UIkU.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-BMejIo17-DYaYpAty.js";import{w as L}from"./downloadPdf-UYNSbWcH-B89JkTwa.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
1
+ import{X as y,M as S,g$ as b,j as o,d as g,o as r,q as j,C as v,bp as z,p as k}from"./index-C5RQ_I4f.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-BMejIo17-DfTWFZ7_.js";import{w as L}from"./downloadPdf-UYNSbWcH-CCjYi8d_.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
2
2
  display: flex;
3
3
  padding: ${r.sp3} ${r.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{u as v,X as z,j as t,aW as C,M,ai as P,o as r,g as m,bR as I,C as L,p as h,q as R}from"./index-BZX8UIkU.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-BMejIo17-DYaYpAty.js";import{o as E}from"./commonDimensions-CnEuBCL0-D6rQGPBV.js";import{M as T}from"./StatementItem-DujQ-hfS-2WQEwmfV.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-B89JkTwa.js";const x=M.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new L(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(T,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(N,{style:{...n},children:t.jsx(O,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},N=o.div``,u=o.div`
1
+ import{u as v,X as z,j as t,aW as C,M,ai as P,o as r,g as m,bR as I,C as L,p as h,q as R}from"./index-C5RQ_I4f.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-BMejIo17-DfTWFZ7_.js";import{o as E}from"./commonDimensions-CnEuBCL0-BaKrm6VO.js";import{M as T}from"./StatementItem-DujQ-hfS-Co0MjdA1.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-CCjYi8d_.js";const x=M.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new L(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(T,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(N,{style:{...n},children:t.jsx(O,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},N=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,w as z}from"./index-BZX8UIkU.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function w(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:w(a)}return w(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??w(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),m={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
1
+ import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,w as z}from"./index-C5RQ_I4f.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function w(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:w(a)}return w(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??w(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),m={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as r,d as u,o as s,w as g,ad as m}from"./index-BZX8UIkU.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
1
+ import{j as r,d as u,o as s,w as g,ad as m}from"./index-C5RQ_I4f.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{j as d}from"./index-BZX8UIkU.js";import{E as n,T as t}from"./ReloadCard-BRfBNfTQ-eP7dgdK0.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
1
+ import{j as d}from"./index-C5RQ_I4f.js";import{E as n,T as t}from"./ReloadCard-BRfBNfTQ-BU52RUhd.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
@@ -1,4 +1,4 @@
1
- import{t as ht,u as Ze,j as t,M as oe,iF as Y,aW as mt,T as V,bM as gt,q as K,Z as kt,l as Q,o as s,eH as qe,bF as Ie,bJ as xt,fy as wt,an as ft,be as Je,a5 as Ct,X as le,a as Tt,C as Xe,c2 as $t,F as yt,ai as bt,bR as vt,i9 as jt,ia as St,iG as ze,a3 as Gt,K as De,bs as Me,eD as Qe,iH as Lt,cp as et,iI as pe,iJ as xe,iK as Nt,iL as we,iM as tt,iN as st,iO as ot,iP as nt,iQ as at,iR as rt,iS as _,p as ke,iT as re,w as ie,iU as It,iV as Mt,a2 as Et,r as Dt,iW as zt,d5 as Bt,iX as Wt,cf as it,cz as At,v as Rt,iY as Ot,iZ as Ft,fz as Pt,eG as Ht,i_ as Vt,i$ as J,j0 as Be,bT as Ut,j1 as _t,j2 as Kt,j3 as We,j4 as Yt,g as Ae,fW as Zt,f as qt}from"./index-BZX8UIkU.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-BibcrHiQ--2bDUvmg.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-8oQmiFyf-BZWUVy7J.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DWrIY48Y-1vFRBwYe.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-CmoFEW3h-CIyI0Nsc.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)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},M=x=>j(x),E=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="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,y=c;if(y<d&&y>0){const L=d-y,g=E(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=E(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{M(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{t as ht,u as Ze,j as t,M as oe,iF as Y,aW as mt,T as V,bM as gt,q as K,Z as kt,l as Q,o as s,eH as qe,bF as Ie,bJ as xt,fy as wt,an as ft,be as Je,a5 as Ct,X as le,a as Tt,C as Xe,c2 as $t,F as yt,ai as bt,bR as vt,i9 as jt,ia as St,iG as ze,a3 as Gt,K as De,bs as Me,eD as Qe,iH as Lt,cp as et,iI as pe,iJ as xe,iK as Nt,iL as we,iM as tt,iN as st,iO as ot,iP as nt,iQ as at,iR as rt,iS as _,p as ke,iT as re,w as ie,iU as It,iV as Mt,a2 as Et,r as Dt,iW as zt,d5 as Bt,iX as Wt,cf as it,cz as At,v as Rt,iY as Ot,iZ as Ft,fz as Pt,eG as Ht,i_ as Vt,i$ as J,j0 as Be,bT as Ut,j1 as _t,j2 as Kt,j3 as We,j4 as Yt,g as Ae,fW as Zt,f as qt}from"./index-C5RQ_I4f.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-BibcrHiQ-ojX7OXv7.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-8oQmiFyf-BOGk1_4Q.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DWrIY48Y-1thafgez.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-CmoFEW3h-B8khGWcG.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)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},M=x=>j(x),E=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="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,y=c;if(y<d&&y>0){const L=d-y,g=E(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=E(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{M(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,ai as Y,H as k,de as D,aL as V,o as a,w as q}from"./index-BZX8UIkU.js";import{n as g,b as i}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-C5VV-Hqz-B9BitG9z.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,ai as Y,H as k,de as D,aL as V,o as a,w as q}from"./index-C5RQ_I4f.js";import{n as g,b as i}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-C5VV-Hqz-BgVDm2Ba.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,w as p,M as u}from"./index-BZX8UIkU.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
1
+ import{j as t,o,w as p,M as u}from"./index-C5RQ_I4f.js";import{n as i}from"./vendor-CnQcJ2Lu.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{X as c,j as t,C as n,w,b3 as x}from"./index-BZX8UIkU.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-9Tl1lDvO-D7UrJiFa.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...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{X as c,j as t,C as n,w,b3 as x}from"./index-C5RQ_I4f.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-9Tl1lDvO-2gI3pMJ6.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...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{H as V,X as _,j as t,u as f,b5 as T,au as C,at as S,b9 as E,bi as k,p as x,aa as R,v as $,bj as H,bk as q,_ as G,l as X,U as Y,o as p,w as L,an as J,q as F,M as A,V as N,Y as Q,a4 as O,ah as U,ai as W,a5 as Z,bl as ee}from"./index-BZX8UIkU.js";import{f as w,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-BRfBNfTQ-eP7dgdK0.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
1
+ import{H as V,X as _,j as t,u as f,b5 as T,au as C,at as S,b9 as E,bi as k,p as x,aa as R,v as $,bj as H,bk as q,_ as G,l as X,U as Y,o as p,w as L,an as J,q as F,M as A,V as N,Y as Q,a4 as O,ah as U,ai as W,a5 as Z,bl as ee}from"./index-C5RQ_I4f.js";import{f as w,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-BRfBNfTQ-BU52RUhd.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
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{u as v,X as S,l as A,j as t,aW as B,M as u,_ as b,ai as H,D as P,o as i,C as E,bh as z,aM as F,p as c,g as T,q as y,Y as V,ae as M}from"./index-BZX8UIkU.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-BRR6W73W-CAHMXlOc.js";import{b as L}from"./TimeframeSwitcher-9Tl1lDvO-D7UrJiFa.js";import{d as O}from"./NoDataTable-Z4rV9ZBK-CImHkpSP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-BRfBNfTQ-eP7dgdK0.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
1
+ import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as b,ai as H,D as P,o as i,C as E,bh as z,aM as F,p as c,g as T,q as y,Y as V,ae as M}from"./index-C5RQ_I4f.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-BRR6W73W-BCkskQ6y.js";import{b as L}from"./TimeframeSwitcher-9Tl1lDvO-2gI3pMJ6.js";import{d as O}from"./NoDataTable-Z4rV9ZBK-p_2JIShf.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-BRfBNfTQ-BU52RUhd.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as jt,a as zo,X as J,M as N,a1 as Vt,dJ as Ao,dK as Ro,c2 as Vo,H as Po,dL as Gi,l as ue,dM as Eo,j as i,Y as B,F as _o,aW as No,dN as Bo,dO as Mo,d as Bt,dP as Ii,a3 as Fo,C as V,dQ as Wo,dR as Ki,dS as Xi,dT as Ji,dU as Ie,dV as ve,dW as Ee,dX as Ge,dY as Ke,dZ as It,d_ as vt,d$ as Xe,e0 as rt,e1 as Ct,e2 as Dt,e3 as Pt,e4 as re,e5 as Et,e6 as se,e7 as le,R as qo,e8 as bt,e9 as vi,ea as Uo,K as Ho,bM as Yo,o as n,eb as Go,p as v,D as si,g as ie,Z as mi,ao as Mt,ax as Ko,ec as Xo,ed as Jo,bF as Ft,_ as De,cf as Be,ee as Zo,ef as kt,a6 as Zi,ck as Qo,eg as en,bD as tn,bE as on,q as he,ae as nn,cz as an,eh as Qi,ei as li,ej as ri,ek as Qt,da as sn,ai as ln,bR as rn,cn as hi,cl as eo,d1 as cn,el as Ci,em as Di,en as dn,bs as to,eo as ei,df as ti,ep as un,aM as pn,eq as mn,er as Ti,es as hn,z as gn,co as fn,et as yn,Q as io,eu as bn,b4 as xn,ev as ji,b2 as tt,ew as wn,ex as $n,ey as In,b0 as vn,aB as Cn,dn as Dn,v as oo,ez as Tn,a$ as jn,a2 as On,f as Ln,eA as Sn,a8 as ci}from"./index-BZX8UIkU.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-DPoSmzJi-Dd2UAlNr.js";import{R as kn}from"./TrendWithTransactions-CNNCV2hi-BzmkwguS.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-BHcSLQXP-C3rDLKGT.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-CnawkdG8-D0gaYLAL.js";import"./chartTypes-om8APqYr-BdMnUQN2.js";import"./toCOABalancesWithID-D8CsJNcd-BYA_5TFD.js";import"./toChartData-DUoI4wMR-C1yVXjYU.js";import"./NoDataChart-CEPkoKCh-CcKGQC2R.js";import"./InsightsSection-CB95rM5E-D4gjoxVk.js";import"./NavigationDots-DYkUvR3H-CBy1tYVO.js";import"./TransactionList-B_1X_r62-C-2WHkWB.js";import"./BoxItem-BMejIo17-DYaYpAty.js";import"./commonDimensions-CnEuBCL0-D6rQGPBV.js";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
1
+ import{u as jt,a as zo,X as J,M as N,a1 as Vt,dJ as Ao,dK as Ro,c2 as Vo,H as Po,dL as Gi,l as ue,dM as Eo,j as i,Y as B,F as _o,aW as No,dN as Bo,dO as Mo,d as Bt,dP as Ii,a3 as Fo,C as V,dQ as Wo,dR as Ki,dS as Xi,dT as Ji,dU as Ie,dV as ve,dW as Ee,dX as Ge,dY as Ke,dZ as It,d_ as vt,d$ as Xe,e0 as rt,e1 as Ct,e2 as Dt,e3 as Pt,e4 as re,e5 as Et,e6 as se,e7 as le,R as qo,e8 as bt,e9 as vi,ea as Uo,K as Ho,bM as Yo,o as n,eb as Go,p as v,D as si,g as ie,Z as mi,ao as Mt,ax as Ko,ec as Xo,ed as Jo,bF as Ft,_ as De,cf as Be,ee as Zo,ef as kt,a6 as Zi,ck as Qo,eg as en,bD as tn,bE as on,q as he,ae as nn,cz as an,eh as Qi,ei as li,ej as ri,ek as Qt,da as sn,ai as ln,bR as rn,cn as hi,cl as eo,d1 as cn,el as Ci,em as Di,en as dn,bs as to,eo as ei,df as ti,ep as un,aM as pn,eq as mn,er as Ti,es as hn,z as gn,co as fn,et as yn,Q as io,eu as bn,b4 as xn,ev as ji,b2 as tt,ew as wn,ex as $n,ey as In,b0 as vn,aB as Cn,dn as Dn,v as oo,ez as Tn,a$ as jn,a2 as On,f as Ln,eA as Sn,a8 as ci}from"./index-C5RQ_I4f.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-DPoSmzJi-B9fcjMs6.js";import{R as kn}from"./TrendWithTransactions-CNNCV2hi-Lc8Mvmvx.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-BHcSLQXP-Dd6nHf0l.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-CnawkdG8-C1f54OIB.js";import"./chartTypes-om8APqYr-BLTaCwIq.js";import"./toCOABalancesWithID-D8CsJNcd-D3oEVThj.js";import"./toChartData-DUoI4wMR-BpwvMCd8.js";import"./NoDataChart-CEPkoKCh-CJB-ycSI.js";import"./InsightsSection-CB95rM5E-D6F0bC-C.js";import"./NavigationDots-DYkUvR3H-CWQugA3e.js";import"./TransactionList-B_1X_r62-D6FSjlP-.js";import"./BoxItem-BMejIo17-DfTWFZ7_.js";import"./commonDimensions-CnEuBCL0-BaKrm6VO.js";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Nn=l(he)`
4
4
  margin-right: ${n.sp1};
@@ -1,4 +1,4 @@
1
- import{X as O,j as e,ai as tt,Y as u,da as et,M as y,db as it,d5 as at,dc as ot,o as i,g as A,bR as rt,C as q,l as m,d as nt,q as v,p as g,w as st,dd as Q,cr as V,_ as W,f as lt}from"./index-BZX8UIkU.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-BMejIo17-DYaYpAty.js";import{o as N}from"./commonDimensions-CnEuBCL0-D6rQGPBV.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
1
+ import{X as O,j as e,ai as tt,Y as u,da as et,M as y,db as it,d5 as at,dc as ot,o as i,g as A,bR as rt,C as q,l as m,d as nt,q as v,p as g,w as st,dd as Q,cr as V,_ as W,f as lt}from"./index-C5RQ_I4f.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-BMejIo17-DfTWFZ7_.js";import{o as N}from"./commonDimensions-CnEuBCL0-BaKrm6VO.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,X as L,t as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as w,p as n,v as ae,g as B,o,Q as j,h as q,aK as se,aL as le,w as de,Z as ce,_ as me,aM as pe,m as he,d as ue,K as Y,D as G,aN as X,a5 as ee}from"./index-BZX8UIkU.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-9UqzeTvF-D_htA_iB.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-BC_pbmca-D0zssbaM.js";import"./ReloadCard-BRfBNfTQ-eP7dgdK0.js";import"./NavigationArrow-B68QyyUR-DHT0p34d.js";import"./NavigationDots-DYkUvR3H-CBy1tYVO.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,X as L,t as W,I as ie,aa as ne,l as D,j as t,Y as x,ai as re,M as w,p as n,v as ae,g as B,o,Q as j,h as q,aK as se,aL as le,w as de,Z as ce,_ as me,aM as pe,m as he,d as ue,K as Y,D as G,aN as X,a5 as ee}from"./index-C5RQ_I4f.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-9UqzeTvF-CzL1CjSW.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-BC_pbmca-BA-2CDI2.js";import"./ReloadCard-BRfBNfTQ-BU52RUhd.js";import"./NavigationArrow-B68QyyUR-DJ2p6cca.js";import"./NavigationDots-DYkUvR3H-CWQugA3e.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{u as q,aT as z,aU as A,aV as M,j as o,Y as h,aW as K,d as U,aX as V,o as n,q as W}from"./index-BZX8UIkU.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as X}from"./TransactionList-B_1X_r62-C-2WHkWB.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BMejIo17-DYaYpAty.js";import"./commonDimensions-CnEuBCL0-D6rQGPBV.js";const G=l.div`
1
+ import{u as q,aT as z,aU as A,aV as M,j as o,Y as h,aW as K,d as U,aX as V,o as n,q as W}from"./index-C5RQ_I4f.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as X}from"./TransactionList-B_1X_r62-D6FSjlP-.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BMejIo17-DfTWFZ7_.js";import"./commonDimensions-CnEuBCL0-BaKrm6VO.js";const G=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{X as H,M as A,j as o,d as q,Y as D,a3 as W,o as a,C as g,a2 as Q,Q as K,ct as U,a as X,gt as F,gu as M,gv as R,c2 as Y,F as _,p as r,u as G,c5 as J,g8 as z,gA as Z,al as ee,gE as oe,gF as te}from"./index-BZX8UIkU.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=G(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(B=>B.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"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(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(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(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(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(h,"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:j}):null]})]})},re=d.div`
1
+ import{X as H,M as A,j as o,d as q,Y as D,a3 as W,o as a,C as g,a2 as Q,Q as K,ct as U,a as X,gt as F,gu as M,gv as R,c2 as Y,F as _,p as r,u as G,c5 as J,g8 as z,gA as Z,al as ee,gE as oe,gF as te}from"./index-C5RQ_I4f.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=G(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(B=>B.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"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(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(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(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(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(h,"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:j}):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,X as de,Y as P,gN as it,M as I,_ as q,K as Ce,gX as lt,d as We,a3 as we,o as a,C as c,a2 as Ye,k as st,an as ct,Z as dt,b$ as xe,w as $e,q as ue,a1 as pe,eX as ut,a as Ve,l as ft,c2 as pt,aa as mt,a0 as ht,g as K,F as Ne,f4 as Se,f5 as ve,fD as gt,bs as De,fy as wt,gY as xt,p as o,cV as $t,bF as Xe,bm as Dt,cy as bt,b4 as Tt,f as Ze,f0 as yt,dn as Ct,bo as qe,f7 as St,f9 as vt}from"./index-BZX8UIkU.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-dNQVv3xh-Bcvmg6KK.js";import{r as Pt}from"./AccountInfoPageContent-B8SOX9i5-BCZgg4J1.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-B89JkTwa.js";import"./commonDimensions-CnEuBCL0-D6rQGPBV.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ge="amount",At="transferTo",ke="transferFrom",k="transferDetails",Ke="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ue=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 Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:J}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),Je=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:He,onExit:Je}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),A=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(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(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&A.reset(Pe(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,A,n,Z]);const{isValid:Qe}=A.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};U(se)}};u.useEffect(()=>{const s=A.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=A.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),J())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:K.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...A,children:t.jsxs(Ft,{id:Ue(Ke),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Ae,{label:{label:ce.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:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Ae,{label:{label:ce.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:me(k,At),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ge),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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!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(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,n)=>({transferDetails:{[Ge]: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:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
1
+ import{j as t,X as de,Y as P,gN as it,M as I,_ as q,K as Ce,gX as lt,d as We,a3 as we,o as a,C as c,a2 as Ye,k as st,an as ct,Z as dt,b$ as xe,w as $e,q as ue,a1 as pe,eX as ut,a as Ve,l as ft,c2 as pt,aa as mt,a0 as ht,g as K,F as Ne,f4 as Se,f5 as ve,fD as gt,bs as De,fy as wt,gY as xt,p as o,cV as $t,bF as Xe,bm as Dt,cy as bt,b4 as Tt,f as Ze,f0 as yt,dn as Ct,bo as qe,f7 as St,f9 as vt}from"./index-C5RQ_I4f.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-dNQVv3xh-Dj4F9WJ8.js";import{r as Pt}from"./AccountInfoPageContent-B8SOX9i5-7d4Bt0bR.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-CCjYi8d_.js";import"./commonDimensions-CnEuBCL0-BaKrm6VO.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ge="amount",At="transferTo",ke="transferFrom",k="transferDetails",Ke="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ue=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 Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:J}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),Je=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:He,onExit:Je}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),A=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(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(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&A.reset(Pe(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,A,n,Z]);const{isValid:Qe}=A.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};U(se)}};u.useEffect(()=>{const s=A.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=A.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),J())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:K.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...A,children:t.jsxs(Ft,{id:Ue(Ke),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Ae,{label:{label:ce.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:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Ae,{label:{label:ce.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:me(k,At),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ge),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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!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(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,n)=>({transferDetails:{[Ge]: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:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=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{X as C,u as M,d1 as Ne,j as t,M as L,_ as W,bs as ae,aW as Ye,v as ie,Y as E,d as Ke,o as i,w as k,g as w,b4 as Fe,C as u,cN as Q,Q as B,l as V,p as h,gQ as le,ar as de,au as ce,at as he,as as pe,b7 as Ve,be as Le,a5 as Me,t as We,fk as Ee,gk as Ge,K as Ue,q as A,ae as Je,iA as Xe,jb as Qe,ay as _e,eE as qe,d3 as Ze,f0 as et,ai as tt,bR as it,i9 as ot,ia as rt,kb as at,bl as nt,f as G,bX as xe,ic as st,b_ as lt,id as dt,ie as ct}from"./index-BZX8UIkU.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-CnEuBCL0-D6rQGPBV.js";import{g as me}from"./BoxItem-BMejIo17-DYaYpAty.js";import{l as ne,d as xt}from"./treasuryColorHelper-X9PYqjk_-CXegHpZD.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(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(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{X as C,u as M,d1 as Ne,j as t,M as L,_ as W,bs as ae,aW as Ye,v as ie,Y as E,d as Ke,o as i,w as k,g as w,b4 as Fe,C as u,cN as Q,Q as B,l as V,p as h,gQ as le,ar as de,au as ce,at as he,as as pe,b7 as Ve,be as Le,a5 as Me,t as We,fk as Ee,gk as Ge,K as Ue,q as A,ae as Je,iA as Xe,jb as Qe,ay as _e,eE as qe,d3 as Ze,f0 as et,ai as tt,bR as it,i9 as ot,ia as rt,kb as at,bl as nt,f as G,bX as xe,ic as st,b_ as lt,id as dt,ie as ct}from"./index-C5RQ_I4f.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-CnEuBCL0-BaKrm6VO.js";import{g as me}from"./BoxItem-BMejIo17-DfTWFZ7_.js";import{l as ne,d as xt}from"./treasuryColorHelper-X9PYqjk_-B0f97nM8.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(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(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.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{u as ae,X as O,t as xe,d1 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o as i,iA as je,bs as be,w as S,K,Y as Q,Q as f,Z as V,C as v,g as t,q as G,d3 as Se,eW as ke,k as ze,f as ve,cH as Ce,p as m,dH as Le,aw as Pe,b$ as Te,a2 as De,v as Z,ct as Ie}from"./index-BZX8UIkU.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-ifcJuMu9-CWfHFman.js";import{l as Re}from"./treasuryColorHelper-X9PYqjk_-CXegHpZD.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ne}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Ge=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(qe,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ue,{children:d.links.map((h,$)=>r.jsx(Ye,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},_e=o.div`
1
+ import{u as ae,X as O,t as xe,d1 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o as i,iA as je,bs as be,w as S,K,Y as Q,Q as f,Z as V,C as v,g as t,q as G,d3 as Se,eW as ke,k as ze,f as ve,cH as Ce,p as m,dH as Le,aw as Pe,b$ as Te,a2 as De,v as Z,ct as Ie}from"./index-C5RQ_I4f.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-ifcJuMu9-ByO1X2Hh.js";import{l as Re}from"./treasuryColorHelper-X9PYqjk_-B0f97nM8.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ne}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Ge=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(qe,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ue,{children:d.links.map((h,$)=>r.jsx(Ye,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},_e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d1 as qe,u as Ge,X as pe,a1 as me,a as he,c2 as fe,M as ge,a7 as le,j as t,cH as Ke,g as Ye,C as r,aW as Ze,d as Xe,F as ye,cZ as Je,aQ as Qe,p as n,l as et,K as tt,bs as it,Y as ot,cc as nt,c8 as at,a3 as st,o as i,q as xe,b$ as lt,a2 as rt,Q as ct,h as dt}from"./index-BZX8UIkU.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{P as ut}from"./HelpButton-DYFzwkI3-DGXEm476.js";import{Y as pt}from"./LabeledDocumentField-IC75UO-m-0LGLKZw-.js";import{P as mt}from"./DocumentSecurityBanner-2RwwRIbj-BcoXD7TB.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{K as re}from"./SetUpDefaultSection-CEcqnqlD-DPfEVIk8.js";import{p as ft}from"./SpendMgmtSetupAccountSection-BZzCEn49-BUW9h1w4.js";import gt from"./PortfolioAllocationFormPage-BNM5_3mQ-DCZ3Ri55.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-ifcJuMu9-CWfHFman.js";import"./ChargeCardUtils-BN7bbdUB-BDnfEJHK.js";import"./CreditCardPaymentPlgSection-CEjV1ee_-CJS3AWLV.js";import"./ChaseOverlay-BrHcqwQQ-9yUtYaFO.js";import"./PortfolioDetails-Cxr764um-L6xz8K5Y.js";import"./treasuryColorHelper-X9PYqjk_-CXegHpZD.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},H=Object.values(O??{}).filter(a=>a!=null),N=et.reduceAllFetchState(H),R=C.handleSubmit(()=>{N.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),q=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>q(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(jt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(Pt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
1
+ import{d1 as qe,u as Ge,X as pe,a1 as me,a as he,c2 as fe,M as ge,a7 as le,j as t,cH as Ke,g as Ye,C as r,aW as Ze,d as Xe,F as ye,cZ as Je,aQ as Qe,p as n,l as et,K as tt,bs as it,Y as ot,cc as nt,c8 as at,a3 as st,o as i,q as xe,b$ as lt,a2 as rt,Q as ct,h as dt}from"./index-C5RQ_I4f.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{P as ut}from"./HelpButton-DYFzwkI3-Cel7B9gC.js";import{Y as pt}from"./LabeledDocumentField-IC75UO-m-BR65Je6h.js";import{P as mt}from"./DocumentSecurityBanner-2RwwRIbj-KpNSpuh7.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{K as re}from"./SetUpDefaultSection-CEcqnqlD-BSjLZl3B.js";import{p as ft}from"./SpendMgmtSetupAccountSection-BZzCEn49-xlvJK4VE.js";import gt from"./PortfolioAllocationFormPage-BNM5_3mQ-DaO3Xs0l.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-ifcJuMu9-ByO1X2Hh.js";import"./ChargeCardUtils-BN7bbdUB-BbkRwxs1.js";import"./CreditCardPaymentPlgSection-CEjV1ee_-C66jG_cF.js";import"./ChaseOverlay-BrHcqwQQ-D5p6lw7W.js";import"./PortfolioDetails-Cxr764um-DhzbvH6Q.js";import"./treasuryColorHelper-X9PYqjk_-B0f97nM8.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},H=Object.values(O??{}).filter(a=>a!=null),N=et.reduceAllFetchState(H),R=C.handleSubmit(()=>{N.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),q=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>q(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(jt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(Pt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,X as v,j as t,aW as z,M as C,ai as M,o as r,g as d,bR as P,C as R,p as c,q as I}from"./index-BZX8UIkU.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-BMejIo17-DYaYpAty.js";import{o as B}from"./commonDimensions-CnEuBCL0-D6rQGPBV.js";import{M as E}from"./StatementItem-DujQ-hfS-2WQEwmfV.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-B89JkTwa.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(c[3],c[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=()=>B.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(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(A,{children:h.noStatements})})})})};return t.jsxs(X,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(H,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(K,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,X as v,j as t,aW as z,M as C,ai as M,o as r,g as d,bR as P,C as R,p as c,q as I}from"./index-C5RQ_I4f.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-BMejIo17-DfTWFZ7_.js";import{o as B}from"./commonDimensions-CnEuBCL0-BaKrm6VO.js";import{M as E}from"./StatementItem-DujQ-hfS-Co0MjdA1.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-CCjYi8d_.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(c[3],c[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=()=>B.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(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(A,{children:h.noStatements})})})})};return t.jsxs(X,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(H,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(K,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,X as v,j as t,aW as L,M as z,ai as C,o as r,g as d,bR as M,C as P,p as c,q as R}from"./index-BZX8UIkU.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-BMejIo17-DYaYpAty.js";import{o as I}from"./commonDimensions-CnEuBCL0-D6rQGPBV.js";import{M as B}from"./StatementItem-DujQ-hfS-2WQEwmfV.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-B89JkTwa.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),$=h.useRef(),y=a.taxLetters.length===0,k=()=>I.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return y===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:T(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(A,{children:p.noTaxLetter})})})})};return t.jsxs(X,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(H,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(K,{ref:f,height:s,width:n,innerRef:$,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
1
+ import{u as S,X as v,j as t,aW as L,M as z,ai as C,o as r,g as d,bR as M,C as P,p as c,q as R}from"./index-C5RQ_I4f.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-BMejIo17-DfTWFZ7_.js";import{o as I}from"./commonDimensions-CnEuBCL0-BaKrm6VO.js";import{M as B}from"./StatementItem-DujQ-hfS-Co0MjdA1.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-UYNSbWcH-CCjYi8d_.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),$=h.useRef(),y=a.taxLetters.length===0,k=()=>I.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return y===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:T(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(A,{children:p.noTaxLetter})})})})};return t.jsxs(X,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(H,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(K,{ref:f,height:s,width:n,innerRef:$,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,d as Ze,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cN as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,w as Y,q as X,eX as kt,a as Tt,c2 as Pt,F as Ct,fD as zt,p as c,bm as tt,cV as ot,bF as rt,cy as Dt,cp as Lt,f7 as Ft,e$ as Mt,d1 as Rt,f as Bt,f0 as Ot,dn as It,bX as Et,bW as _t,aP as Nt,bc as Vt,f9 as Wt,fi as Yt,aa as Xt}from"./index-BZX8UIkU.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-Cxr764um-L6xz8K5Y.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-X9PYqjk_-CXegHpZD.js";const Gt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],qt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:qt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ut(i)},children:o.jsx(ro,{isSelected:s>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Gt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Ut=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
1
+ import{X as ge,H as xt,j as o,Y as P,gN as yt,M as we,_ as W,K as Ie,d as Ze,a3 as He,o as t,C as f,a2 as Ce,k as $t,al as bt,u as St,a1 as pe,bs as vt,cN as Je,Q as R,l as z,fX as jt,g as S,Z as At,h as et,w as Y,q as X,eX as kt,a as Tt,c2 as Pt,F as Ct,fD as zt,p as c,bm as tt,cV as ot,bF as rt,cy as Dt,cp as Lt,f7 as Ft,e$ as Mt,d1 as Rt,f as Bt,f0 as Ot,dn as It,bX as Et,bW as _t,aP as Nt,bc as Vt,f9 as Wt,fi as Yt,aa as Xt}from"./index-C5RQ_I4f.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-Cxr764um-DhzbvH6Q.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-X9PYqjk_-B0f97nM8.js";const Gt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],qt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ht,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:qt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ut(i)},children:o.jsx(ro,{isSelected:s>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${Gt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Ut=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ht=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{M as j,j as s,l as u,u as Z,Y,ai as z,b5 as B,b6 as F,au as P,v as w,at as R,aa as q,b7 as O,av as K,b9 as _,o as L,g as G,q as N}from"./index-BZX8UIkU.js";import{b as v,f as V,n as $}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as k,u as Q}from"./chartTypes-om8APqYr-BdMnUQN2.js";import{o as X}from"./toCOABalancesWithID-D8CsJNcd-BYA_5TFD.js";import{V as H}from"./toChartData-DUoI4wMR-C1yVXjYU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=$.div`
1
+ import{M as j,j as s,l as u,u as Z,Y,ai as z,b5 as B,b6 as F,au as P,v as w,at as R,aa as q,b7 as O,av as K,b9 as _,o as L,g as G,q as N}from"./index-C5RQ_I4f.js";import{b as v,f as V,n as $}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as k,u as Q}from"./chartTypes-om8APqYr-BLTaCwIq.js";import{o as X}from"./toCOABalancesWithID-D8CsJNcd-D3oEVThj.js";import{V as H}from"./toChartData-DUoI4wMR-BpwvMCd8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const I=$.div`
2
2
  display: flex;
3
3
  `,J=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as D,j as i,d as R,o as t,M as b,C as c,Y as S,ai as q,al as Y,b$ as E,p as a,q as K,a2 as X}from"./index-BZX8UIkU.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-CnawkdG8-D0gaYLAL.js";import{C as W}from"./NoDataChart-CEPkoKCh-CcKGQC2R.js";import{F as _}from"./InsightsSection-CB95rM5E-D4gjoxVk.js";import{l as Z}from"./TransactionList-B_1X_r62-C-2WHkWB.js";const G=n.div`
1
+ import{X as D,j as i,d as R,o as t,M as b,C as c,Y as S,ai as q,al as Y,b$ as E,p as a,q as K,a2 as X}from"./index-C5RQ_I4f.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-CnawkdG8-C1f54OIB.js";import{C as W}from"./NoDataChart-CEPkoKCh-CJB-ycSI.js";import{F as _}from"./InsightsSection-CB95rM5E-D6F0bC-C.js";import{l as Z}from"./TransactionList-B_1X_r62-D6FSjlP-.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{u as ce,X as se,t as Ke,a1 as en,g3 as R,hb as U,M as H,a as nn,hc as tn,hd as Te,c2 as on,j as t,aW as cn,bM as sn,bO as ln,bP as an,F as rn,l as J,he as dn,d as un,hf as X,hg as pn,a3 as mn,hh as _e,C as u,q as gn,o as l,cf as ye,a7 as W,g8 as oe,hi as ie,p as d,Q as Ae,g as $e,fx as qe,w as Se,aA as xn}from"./index-BZX8UIkU.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{P as hn}from"./HelpButton-DYFzwkI3-DGXEm476.js";import{h as wn}from"./VendorsAccountsSection-CnVky8J2-Bz7x-ViJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-ifcJuMu9-CWfHFman.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])},Ve={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,X as se,t as Ke,a1 as en,g3 as R,hb as U,M as H,a as nn,hc as tn,hd as Te,c2 as on,j as t,aW as cn,bM as sn,bO as ln,bP as an,F as rn,l as J,he as dn,d as un,hf as X,hg as pn,a3 as mn,hh as _e,C as u,q as gn,o as l,cf as ye,a7 as W,g8 as oe,hi as ie,p as d,Q as Ae,g as $e,fx as qe,w as Se,aA as xn}from"./index-C5RQ_I4f.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{P as hn}from"./HelpButton-DYFzwkI3-Cel7B9gC.js";import{h as wn}from"./VendorsAccountsSection-CnVky8J2-BnxyHrsh.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-ifcJuMu9-ByO1X2Hh.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])},Ve={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{a1 as b,j as t,hk as M,hl as R,X as F,M as O,bM as U,i as C,bO as z,bP as N,a as _,F as H,cb as G,l as T,c7 as D,C as g,c8 as K,g as A,m as Z,d as J,K as X,o as i,q as Q,p as B,Z as Y,ao as ee}from"./index-BZX8UIkU.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{a1 as b,j as t,hk as M,hl as R,X as F,M as O,bM as U,i as C,bO as z,bP as N,a as _,F as H,cb as G,l as T,c7 as D,C as g,c8 as K,g as A,m as Z,d as J,K as X,o as i,q as Q,p as B,Z as Y,ao as ee}from"./index-C5RQ_I4f.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[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{a as k,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c2 as q,F as A,Y as K,fb as X,o as a,g as G,cc as H,a3 as J,C as y,a2 as Q,b$ as Z,ao as ee,an as te,p as c}from"./index-BZX8UIkU.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.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:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(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(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("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:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.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:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{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:b},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as k,fa as x,a1 as U,l as W,X as Y,M as _,j as i,c2 as q,F as A,Y as K,fb as X,o as a,g as G,cc as H,a3 as J,C as y,a2 as Q,b$ as Z,ao as ee,an as te,p as c}from"./index-C5RQ_I4f.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.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:b,onEditFileName:v,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),$=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{$==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[$,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(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(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:b,"data-testid":K("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:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.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:v,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{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:b},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{a1 as o,M as v,j as i,hk as k,hl as j}from"./index-BZX8UIkU.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const G=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(k,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(j,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{G as default};
1
+ import{a1 as o,M as v,j as i,hk as k,hl as j}from"./index-C5RQ_I4f.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const G=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(k,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(j,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{G as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-BZX8UIkU.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-_VHVuqJw-Doq1oZyo.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-hZNBR8bC-M9s6rTPg.js";import"./MagicLinkTitleSection-BiZ9MGYp-DDgpPz9o.js";import"./BankAccountSection-Cf1NyJua-1RZ9y6Q8.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-C5RQ_I4f.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-_VHVuqJw-Bymc8CZ3.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-hZNBR8bC-DgrV5hrK.js";import"./MagicLinkTitleSection-BiZ9MGYp-Cl_WugVD.js";import"./BankAccountSection-Cf1NyJua-CA0IxE0G.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{M as _,u as Re,X as ne,C as g,H as fe,l as se,c4 as xt,a as yt,gt as Be,gu as Ae,gv as Ee,gw as be,gx as ft,a7 as bt,c2 as wt,j as t,aW as Ct,F as St,gy as $t,gz as ue,p as l,c3 as Dt,a3 as jt,o,bf as $,cf as Tt,g8 as we,gA as Lt,c5 as Vt,c6 as kt,c7 as It,gB as Ot,fE as Pt,cd as Ft,gC as zt,gD as Mt,g as M,dm as _t,dl as Wt,cr as Ht,aa as de,al as Ue,w as qe,dn as Nt,f0 as Rt,gE as Bt,gF as At,q as Et,gG as Ut,bF as Ye,gH as qt,Q as Ce,h as Ge}from"./index-BZX8UIkU.js";import{b as S,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-CZqJSgrt-CGR-n_mv.js";import{l as Qt}from"./TransactionList-B_1X_r62-C-2WHkWB.js";import{R as Xt}from"./TrendWithTransactions-CNNCV2hi-BzmkwguS.js";import{o as Jt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-BdNErK0u-CARcO6oK.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DRdoEEXa-Bng-S4cZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BMejIo17-DYaYpAty.js";import"./commonDimensions-CnEuBCL0-D6rQGPBV.js";import"./TrendChart-CnawkdG8-D0gaYLAL.js";import"./chartTypes-om8APqYr-BdMnUQN2.js";import"./toCOABalancesWithID-D8CsJNcd-BYA_5TFD.js";import"./toChartData-DUoI4wMR-C1yVXjYU.js";import"./NoDataChart-CEPkoKCh-CcKGQC2R.js";import"./InsightsSection-CB95rM5E-D4gjoxVk.js";import"./NavigationDots-DYkUvR3H-CBy1tYVO.js";const ts=a.div`
1
+ import{M as _,u as Re,X as ne,C as g,H as fe,l as se,c4 as xt,a as yt,gt as Be,gu as Ae,gv as Ee,gw as be,gx as ft,a7 as bt,c2 as wt,j as t,aW as Ct,F as St,gy as $t,gz as ue,p as l,c3 as Dt,a3 as jt,o,bf as $,cf as Tt,g8 as we,gA as Lt,c5 as Vt,c6 as kt,c7 as It,gB as Ot,fE as Pt,cd as Ft,gC as zt,gD as Mt,g as M,dm as _t,dl as Wt,cr as Ht,aa as de,al as Ue,w as qe,dn as Nt,f0 as Rt,gE as Bt,gF as At,q as Et,gG as Ut,bF as Ye,gH as qt,Q as Ce,h as Ge}from"./index-C5RQ_I4f.js";import{b as S,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-CZqJSgrt-BzzBfBEV.js";import{l as Qt}from"./TransactionList-B_1X_r62-D6FSjlP-.js";import{R as Xt}from"./TrendWithTransactions-CNNCV2hi-Lc8Mvmvx.js";import{o as Jt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-BdNErK0u-BCVVhFLg.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DRdoEEXa-ihK1IWBq.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BMejIo17-DfTWFZ7_.js";import"./commonDimensions-CnEuBCL0-BaKrm6VO.js";import"./TrendChart-CnawkdG8-C1f54OIB.js";import"./chartTypes-om8APqYr-BLTaCwIq.js";import"./toCOABalancesWithID-D8CsJNcd-D3oEVThj.js";import"./toChartData-DUoI4wMR-BpwvMCd8.js";import"./NoDataChart-CEPkoKCh-CJB-ycSI.js";import"./InsightsSection-CB95rM5E-D6F0bC-C.js";import"./NavigationDots-DYkUvR3H-CWQugA3e.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-BZX8UIkU.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-BbmbS2h3-B-Fp80IM.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-Cf1NyJua-1RZ9y6Q8.js";import"./MagicLinkTitleSection-BiZ9MGYp-DDgpPz9o.js";import"./BankAccountWarningSection-hZNBR8bC-M9s6rTPg.js";import"./MailingDetailsSection-DfxeX2uy-yWo1tCEg.js";import"./LabeledAddressValueField-BdNErK0u-CARcO6oK.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-C5RQ_I4f.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-BbmbS2h3-Ch-Vtjq-.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-Cf1NyJua-CA0IxE0G.js";import"./MagicLinkTitleSection-BiZ9MGYp-Cl_WugVD.js";import"./BankAccountWarningSection-hZNBR8bC-DgrV5hrK.js";import"./MailingDetailsSection-DfxeX2uy-D2drNkzT.js";import"./LabeledAddressValueField-BdNErK0u-BCVVhFLg.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{X as oe,u as Ne,M as ne,a as ke,cv as K,gI as de,c2 as Ae,C as w,j as t,aW as Be,Y as Ee,F as We,c5 as C,o as s,c9 as Oe,gB as Re,fE as Me,cd as qe,gC as He,gD as Ue,cl as Ke,a3 as Ge,cn as Je,cw as Qe,p as c,a2 as Ye,bf as F,c0 as Ze,gJ as Xe,g as I,eQ as _e,bF as et,q as ce,ez as tt,gK as st,gL as lt,gM as q,cx as it}from"./index-BZX8UIkU.js";import{b as x,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DRdoEEXa-Bng-S4cZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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:h,style:O}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,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:q(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:h,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:h,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:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,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:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,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:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),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{X as oe,u as Ne,M as ne,a as ke,cv as K,gI as de,c2 as Ae,C as w,j as t,aW as Be,Y as Ee,F as We,c5 as C,o as s,c9 as Oe,gB as Re,fE as Me,cd as qe,gC as He,gD as Ue,cl as Ke,a3 as Ge,cn as Je,cw as Qe,p as c,a2 as Ye,bf as F,c0 as Ze,gJ as Xe,g as I,eQ as _e,bF as et,q as ce,ez as tt,gK as st,gL as lt,gM as q,cx as it}from"./index-C5RQ_I4f.js";import{b as x,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DRdoEEXa-ihK1IWBq.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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:h,style:O}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,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:q(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:h,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:h,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:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,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:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,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:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),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{X as ae,t as On,u as mn,a as nt,hw as ze,c2 as tt,z as Nn,hx as re,hy as ve,hz as fe,hA as be,hB as me,M as je,j as n,hs as ot,F as rt,aW as it,T as st,bM as at,bO as lt,bP as dt,eW as ct,Y as ie,be as mt,bJ as pt,ai as ut,dh as ht,bR as gt,C as w,d as wt,D as Oe,o as t,a6 as In,q as De,a5 as xt,p as c,w as Re,bX as vt,l as Pn,dm as zn,bf as Pe,az as Tn,b_ as ft,bB as bt,c_ as $t,ao as Je,aN as pn,g as B,ax as Dn,fe as St,dd as wn,cr as rn,hC as yt,hD as sn,m as jt,bs as Be,cZ as Rt,eo as xn,b4 as Ct,dp as Vt,K as vn,hE as kt,cf as Mt,cn as Ot,co as Nt,et as It,f as Ln,hF as Pt,b2 as se,hG as fn,ga as zt,b0 as Tt,aB as Dt,dn as Lt,v as _n,Q as _t,eA as Ft,a8 as dn}from"./index-BZX8UIkU.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as At}from"./mui-C5LQ0bMa.js";import{R as Bt}from"./Menu-B4Q04CAH-BOktILCZ.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Fn=({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{X as ae,t as On,u as mn,a as nt,hw as ze,c2 as tt,z as Nn,hx as re,hy as ve,hz as fe,hA as be,hB as me,M as je,j as n,hs as ot,F as rt,aW as it,T as st,bM as at,bO as lt,bP as dt,eW as ct,Y as ie,be as mt,bJ as pt,ai as ut,dh as ht,bR as gt,C as w,d as wt,D as Oe,o as t,a6 as In,q as De,a5 as xt,p as c,w as Re,bX as vt,l as Pn,dm as zn,bf as Pe,az as Tn,b_ as ft,bB as bt,c_ as $t,ao as Je,aN as pn,g as B,ax as Dn,fe as St,dd as wn,cr as rn,hC as yt,hD as sn,m as jt,bs as Be,cZ as Rt,eo as xn,b4 as Ct,dp as Vt,K as vn,hE as kt,cf as Mt,cn as Ot,co as Nt,et as It,f as Ln,hF as Pt,b2 as se,hG as fn,ga as zt,b0 as Tt,aB as Dt,dn as Lt,v as _n,Q as _t,eA as Ft,a8 as dn}from"./index-C5RQ_I4f.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as At}from"./mui-C5LQ0bMa.js";import{R as Bt}from"./Menu-B4Q04CAH-4XWj_HwH.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Fn=({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,X as G,a as he,M as U,c2 as ye,H as ge,l as Q,bM as be,bO as fe,bP as xe,F as ve,a3 as we,C as p,cv as le,cw as Ce,o as y,an as $e,cf as oe,u as ne,cx as je,cy as J,cl as Y,ag as H,c5 as De,cz as Te,p as r,cn as Se,Y as ke,g as V,d as Fe,Q as Oe,bs as Ae,w as Le,b4 as ze}from"./index-BZX8UIkU.js";import{b as R,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Ie}from"./BankAccountWarningSection-hZNBR8bC-M9s6rTPg.js";import{T as Re}from"./MailingDetailsSection-DfxeX2uy-yWo1tCEg.js";import{S as Pe}from"./CurrencySelectField-DMPtPzwJ-IAj1-v3T.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-BdNErK0u-CARcO6oK.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("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=G(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{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(Y,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.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:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,X as G,a as he,M as U,c2 as ye,H as ge,l as Q,bM as be,bO as fe,bP as xe,F as ve,a3 as we,C as p,cv as le,cw as Ce,o as y,an as $e,cf as oe,u as ne,cx as je,cy as J,cl as Y,ag as H,c5 as De,cz as Te,p as r,cn as Se,Y as ke,g as V,d as Fe,Q as Oe,bs as Ae,w as Le,b4 as ze}from"./index-C5RQ_I4f.js";import{b as R,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Ie}from"./BankAccountWarningSection-hZNBR8bC-DgrV5hrK.js";import{T as Re}from"./MailingDetailsSection-DfxeX2uy-D2drNkzT.js";import{S as Pe}from"./CurrencySelectField-DMPtPzwJ-CVyHXZxa.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-BdNErK0u-BCVVhFLg.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("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=G(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{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(Y,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.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:O.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-BZX8UIkU.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CBLjT_qk-5otsD6wN.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-hZNBR8bC-M9s6rTPg.js";import"./MailingDetailsSection-DfxeX2uy-yWo1tCEg.js";import"./LabeledAddressValueField-BdNErK0u-CARcO6oK.js";import"./MagicLinkTitleSection-BiZ9MGYp-DDgpPz9o.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-C5RQ_I4f.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CBLjT_qk-C24yuZmd.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-hZNBR8bC-DgrV5hrK.js";import"./MailingDetailsSection-DfxeX2uy-D2drNkzT.js";import"./LabeledAddressValueField-BdNErK0u-BCVVhFLg.js";import"./MagicLinkTitleSection-BiZ9MGYp-Cl_WugVD.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};