@zeniai/web-cockpit-ui 1.13.96-qa → 1.13.97-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/dist/assets/{ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js → ACHDetailsPage-Cwc2nmvY-CBrfq4gI.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CK4ZdUEb-fJZXFPPa.js → AIPerformancePage-CK4ZdUEb-BnOLhCP_.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-LiZYkJMA-D7v8XtXB.js → AccountInfoPage-LiZYkJMA-DAD4cJi7.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js → AccountInfoPageContent-BTk2gRyM-_lQwCngs.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CBOR2m1X-itmjhcPW.js → AccountReconDetailsDrawerPage-CBOR2m1X-DHoJQIYl.js} +1 -1
  6. package/dist/assets/{AccountRow--5DnpNqk-C6gOEeWO.js → AccountRow--5DnpNqk-CZEL3hfP.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-DCI8_ihc-CZreK5jG.js → AccountsPromoCardStack-DCI8_ihc-CBYLqvzT.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-C_RALUZ7-C2wla-3g.js → AddAddressForCardDrawer-C_RALUZ7-CbxMebAE.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-7sC3Q2Pb-TioJ0o_r.js → AddToWalletPage-7sC3Q2Pb-BKqtOWBj.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-PrvYryW8-ClQ8Euxf.js → AgingReportsPage-PrvYryW8-D41Ajbek.js} +1 -1
  11. package/dist/assets/{AllUserItems-DlTukPhY-377gtzJq.js → AllUserItems-DlTukPhY-Dt5EiXuN.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-BVciGQma-NVEgOPKU.js → ApAgingDetailPage-BVciGQma-3cn8m00W.js} +1 -1
  13. package/dist/assets/{AppBasePage-uJGLWCbr-B_okH7tb.js → AppBasePage-uJGLWCbr-D64mYn-E.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-SD57OqHe-DBC1ZQdx.js → AppDrawerContent-SD57OqHe-B8SR_oN_.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-CXh9tY6X-DzKaycYf.js → ApprovalRulesSettingsPage-CXh9tY6X-C-lG0QIf.js} +1 -1
  16. package/dist/assets/{ArAgingChart-GL4vkypx-BDoyqmzK.js → ArAgingChart-GL4vkypx-Dbm9VICC.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-CoFL0N3--Dnd2wPCh.js → ArAgingDetailPage-CoFL0N3--CrJAJnYy.js} +1 -1
  18. package/dist/assets/{AttachmentView-C3xQE0te-BFkbocnS.js → AttachmentView-C3xQE0te-GHi93uGT.js} +1 -1
  19. package/dist/assets/{BankAccountSection-Bi3uoDPa-DlE9WCjC.js → BankAccountSection-Bi3uoDPa-Dwk4Gyix.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js → BankAccountWarningSection-DKdgmMHQ-KMb42RR1.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-1zM9RKRI-BKlHDYsy.js → BankConnectionsSettingsPage-1zM9RKRI-Nh6SLt6_.js} +1 -1
  22. package/dist/assets/{BillDetailPage-BoxJCC9n-dUgWZp0T.js → BillDetailPage-BoxJCC9n-Ba4FzuhK.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BW3sj5ug-F8EHl6ns.js → BillPayApprovalRuleDetailPage-BW3sj5ug-1IsB7Eat.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-DLA6R7dC-CNDK6deM.js → BillPayApprovalRulesPage-DLA6R7dC-RNBSWaWd.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage--BGTNJhm-DrmzLzpj.js → BillPayPromoPage--BGTNJhm-CdKwFnau.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-_s4R537_-DvISkevy.js → BillPaySetUpPage-_s4R537_-CX8mxqXI.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-DgbRhg-m-CRqpdOiy.js → BillingSettingsPage-DgbRhg-m-Bq9qLD4C.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CKspyZz7-DFQ7kKFj.js → BillsBulkReviewDrawerPage-CKspyZz7-DTsemI8i.js} +1 -1
  29. package/dist/assets/{BoxItem-BHtgE0KL-BJPg4xAk.js → BoxItem-BHtgE0KL-NzNpvF1b.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CpfsllRZ-CnaBfa3b.js → BusinessVerificationPage-CpfsllRZ-DNYUoMRQ.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-BHe1nqr7-BRmm9g1p.js → CardNumberSubText-BHe1nqr7-BOPjNd8o.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-C9RhIR0R-CyQle5Hi.js → CashbackDetailPage-C9RhIR0R-BipiQJ8m.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-Kygr13jR-CNZ8Sj5E.js → ChargeCardDetailPage-Kygr13jR-Bjl6Z9f1.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-BnzdzSXW-C9n9iaEp.js → ChargeCardListPage-BnzdzSXW-nI0OYzh1.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-C2nnAxo5-Bk77oToU.js → ChargeCardListTable-C2nnAxo5-B2B4JtDk.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-CSNn9X5i-Ca7vMfka.js → ChargeCardPromoPage-CSNn9X5i-BOkfBhCe.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-DE1pK_7F-BNJjwg-b.js → ChargeCardSetupPage-DE1pK_7F-Bt-e2YuY.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-DK-pEljz-CxNbElz7.js → ChargeCardStatementsPage-DK-pEljz-6eoWIwr-.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-BxyMuU6--CHwiPaoq.js → ChargeCardUtils-BxyMuU6--Bmupo3qZ.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CRiYxWuZ-BZR-S0kG.js → ChaseOverlay-CRiYxWuZ-BVVt_vtO.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-WYiirlL8-DMNFGunZ.js → CheckDepositDrawerPage-WYiirlL8-B4nSgiLA.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-BGT77T9W-DWoWj-VL.js → CollapsableReportTable-BGT77T9W-C2GRNmrk.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BPZU90Im-ClsfMHMl.js → CompanyOfficerDetailsSection-BPZU90Im-B9mkgd-O.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-PXdmJC_B-SLgfN-m9.js → CompanyPassportCard-PXdmJC_B-DzV8p2uA.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-MxIwsh3W-CUmwVoPG.js → CompanyPassportPage-MxIwsh3W-C8rdGZWZ.js} +1 -1
  46. package/dist/assets/{CompleteProfile-Bd9xEPVl-Cy044ZoG.js → CompleteProfile-Bd9xEPVl-FA5xRrEh.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CMpZ2feY-D-Nq3IFV.js → ConfettiBurst-CMpZ2feY-D_Hm0eZk.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DgHvZfWv-Bm6layyi.js → CreateOrEditVendorPage-DgHvZfWv-BeviSVbI.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-C2ikLG7P-DestrVrL.js → CreditCardPaymentDrawerPage-C2ikLG7P-Bxh5aiVl.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js → CreditCardPaymentPlgSection-M69ECpN9-DSnTfkj_.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-B3AvTbkp-CwUBnsMJ.js → CurrencySelectField-B3AvTbkp-B96ZkEh4.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-C7eddGoB-DW4jRuae.js → CustomerOnboardingActivationPage-C7eddGoB-zo55D8hK.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-BN3o6fR0.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BIAeoXCV-DB7HhB_G.js → CustomerOnboardingDetailPageSkeleton-BIAeoXCV-FTscuev6.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BzO6XZ0H-1xoJMSMy.js → CustomerOnboardingNoStepsPage-BzO6XZ0H-lf-bevRO.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-7yWIaJvU-C3VBP6CL.js → CustomerOnboardingPage-7yWIaJvU-8V6UKhlh.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-Tvyrs9Cm-B0r6GvUF.js → CustomerOnboardingProductSuitePage-Tvyrs9Cm-De_nWRUb.js} +1 -1
  58. package/dist/assets/{Dashboard-CA9685lJ-B_5dmcrq.js → Dashboard-CA9685lJ-DpHlV4-C.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DQoFWd5C-D6uulgOO.js → DashboardReportPage-DQoFWd5C-pKAB7-wx.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CiRcbfmm-ChlbIcLT.js → DepositAccTransactionItem-CiRcbfmm-BtrufbNC.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DsNLDlHv-MYnNFw-s.js → DepositAccTransactionListPage-DsNLDlHv-WmpDQp-W.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js → DocumentSecurityBanner-CIWoR_yI-CLvomSrK.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js → DomesticWireDetailsPage-C6x8Gz4g-BspxgH-d.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-D1kGkMFo-DOkMNDuh.js → DownloadOverlay-D1kGkMFo-DoqMhO9h.js} +1 -1
  65. package/dist/assets/{DrawerPage-CQkJW5hg-DkryY6SR.js → DrawerPage-CQkJW5hg-CGoGQKXm.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-m2qls8hv-BZd-DWw-.js → EditPeoplePage-m2qls8hv-DIqi_cWW.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-IlSyu79B-jE0h2JRZ.js → EditReimbursementDetailPage-IlSyu79B-DoScOYgQ.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-CcJJwGo7-DCvr4KdD.js → EntityDetailPage-CcJJwGo7-DdfC9C8P.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-JxKHehL1-CtvARgSu.js → EntitySummarySection-JxKHehL1-CSskvKc8.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-iAUtjSnw-C1CSJZ5E.js → ExpenseAutomationOverviewPage-iAUtjSnw-DRbadYwX.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-B0f86olm-wJehtW2E.js → ExpenseAutomationPage-B0f86olm-C_aNA9t4.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-B-at6uDS-BEaELiUG.js → ExpressPayPage-B-at6uDS-CSzm_3lE.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-gSb_rct_-C-KQutKv.js → FeaturePreviewPage-gSb_rct_-DkcBwtcW.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-eedORgku-FnBhDPYP.js → FollowStepsSection-eedORgku-DnQuyjmJ.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BfPwveCc-ftKEGRYk.js → GlobalReviewListPage-BfPwveCc--y8DCfXs.js} +1 -1
  76. package/dist/assets/{HelpButton-DvD6UJq--aZr7WRfd.js → HelpButton-DvD6UJq--BRQPdGD9.js} +1 -1
  77. package/dist/assets/{InformationCardStack-DPaZz4XW-BZPDjtdj.js → InformationCardStack-DPaZz4XW-X4kcO2J5.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-sKUFRR0H-BiHLZWGW.js → InsightsCardStack-sKUFRR0H-BoBw_DR7.js} +1 -1
  79. package/dist/assets/{InsightsSection-Corx5iDh-fVbgdM2i.js → InsightsSection-Corx5iDh-BfrgopNR.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-DTWoUi2e-YCv3GRpa.js → IntegrationsSettingsPage-DTWoUi2e-Dbd60W3o.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js → InternationalWireSwiftDetailsPage-B441GUkh-DTa4rnLB.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-DjpWjFSe-CaUlPKN_.js → InternationalWireVerificationPage-DjpWjFSe-DZfbKiAU.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BRb4jyp_-BuUalkW4.js → InviteFormPage-BRb4jyp_-CG9bf0G3.js} +1 -1
  84. package/dist/assets/{InvitePageListView-Bb_Q_xqJ-BhN72Smm.js → InvitePageListView-Bb_Q_xqJ-BR_HlUlN.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-BKEDAnQ4-ByvIsC8W.js → InvitePeoplePage-BKEDAnQ4-BncBQflJ.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-BE4ZqriT-CfpM2_BI.js → InvoiceUploadSection-BE4ZqriT-vLaWLqKI.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-BIFpAcrl-DZwnseyQ.js → IssueChargeCardPage-BIFpAcrl-D3RFLApI.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-D2vDF5sP-BZfqDHMl.js → LabeledAddressValue-D2vDF5sP-DQbH1g5O.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js → LabeledAddressValueField-BMdJsw3x-CaLfz9Ol.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js → LabeledControlledCheckBoxField-CHRGFyHl-CNPGUCoT.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-qwQPyqDC-D7x9KNC-.js → LabeledCreatableSingleSelectField-qwQPyqDC-Cq7f9yWO.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js → LabeledDocumentField-Cdd8oj5z-BUIficZv.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js → LabeledDropDownFormattedTextField-CSEioH8A-pTgOjjZi.js} +1 -1
  94. package/dist/assets/{LabeledText-CqZ-udSP-CWd8HtpU.js → LabeledText-CqZ-udSP-pLTRiq1L.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DTmijO10-D909IgWp.js → LabeledUserSingleSelectWithSubtitlesField-DTmijO10-DKWPncl-.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DSIWuFix-CIXw0_yv.js → LabeledZeniRolesDropDownField-DSIWuFix-CRT6HEhL.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-C5V1HfGb-BEAJlnvQ.js → LinkJETransactionPage-C5V1HfGb-CIMuY7IX.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-BLfeh0xm-C28uSa7K.js → LowBalancePopup-BLfeh0xm-Cx_IhGZO.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-DGR7VcHs-D2IBl0qY.js → MagicLinkACHDetailsPage-DGR7VcHs-Cv3UhVOp.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BOu5verB-Bhh7qXWp.js → MagicLinkDomesticWireDetailsPage-BOu5verB-C216t_ZN.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-elijVpdq-Cq0leSr_.js → MagicLinkInternationalWireDetailsPage-elijVpdq-CQ_97vzd.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-C6-JVGAQ-DQTEmgea.js → MagicLinkSuccessPage-C6-JVGAQ-BQmAkFrb.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js → MagicLinkTitleSection-CCjLimcL-D5Get_gS.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-CJhcwaGu-BAyX38PR.js → MailingDetailsSection-CJhcwaGu-DgdtnVpz.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js → MeetingCalenderPopup-DKBH6wSs-BI8-Q4hn.js} +1 -1
  106. package/dist/assets/{Menu-D-Gk-Xfo-DBDtrJ_2.js → Menu-D-Gk-Xfo-D2aBa-uL.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CBxa9AUT-BCb7NWFw.js → MyBankConnectionsSettingsPage-CBxa9AUT-FwglrEt0.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DBr5htlO-CKJew--2.js → MyPendingActivationChargeCardListPage-DBr5htlO-Dvj38gdb.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DKUX_nTz-BI1Cjccg.js → MyProfileSettingsPage-DKUX_nTz-D_7L2i-C.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CXyMHDUO-FwAGF1cV.js → NavBarWithPicker-CXyMHDUO-CLsGi3M3.js} +1 -1
  111. package/dist/assets/{NavigationArrow-Bv-PvnhZ-BqeVWU8r.js → NavigationArrow-Bv-PvnhZ-BCqZOufx.js} +1 -1
  112. package/dist/assets/{NavigationDots-DJkiFidH-5V7knboW.js → NavigationDots-DJkiFidH-EWS9_PIe.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CmJjl9S1-k-LUtUto.js → NewGlobalMerchantPage-CmJjl9S1-DFoCghTb.js} +1 -1
  114. package/dist/assets/{NoDataChart-Bsj1HEPq-CTuuS1jm.js → NoDataChart-Bsj1HEPq-BuASr5nD.js} +1 -1
  115. package/dist/assets/{NoDataTable-6vR2vOMI-C3_Xw78i.js → NoDataTable-6vR2vOMI-CRH2wpQ3.js} +1 -1
  116. package/dist/assets/{NotFoundPage-SRxATfaW-y-aOb1MC.js → NotFoundPage-SRxATfaW-BdYkexg6.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-Bko3CBmW-_bWFzZ7l.js → NotificationSettingsPage-Bko3CBmW-B23VZLnT.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-ChVd_Bek-CKniSs8p.js → NotificationsListConfig-ChVd_Bek-OcoLbH0n.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DMfBgh2w-1OVVoKkc.js → NotificationsPage-DMfBgh2w-Dxmai7ss.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-DOkwCGkr-DKAYXBt6.js → OpExByVendorPage-DOkwCGkr-Dr-bU76_.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BEYdjpiV.js → OverlayContainerPage-C0rUb6-5-B09r4rdB.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DCJ3QTuj-SrjsP3F-.js → PandLWithForecastPage-DCJ3QTuj-7Vldqx8T.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CaZETrGz-De6JzHBj.js → PaymentAccountSetupBillingAddressSection-CaZETrGz-BhXLnlcL.js} +1 -1
  124. package/dist/assets/{PeoplePage-PvOhX-gy-bUl8LV-N.js → PeoplePage-PvOhX-gy-CkehxRRv.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js → PortfolioAllocationFormPage-DsCeagnu-6-GqBYNr.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-BEa4kwk8-CITW78cn.js → PortfolioDetails-BEa4kwk8-CLWb3MOf.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-qzlVuyK5-BlxLSS9s.js → ProductsCarousel-qzlVuyK5-C7_wrvUe.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-26GOEn3a-DaZDnJ-z.js → PromoBaseCards-26GOEn3a-DGu7k9yr.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-CZQE3Tjs-Da8BEmHP.js → QBOConnectionDialog-CZQE3Tjs-BJ-xZ1uL.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-u1sJhV67-3guqHTYH.js → QBOSetupSection-u1sJhV67-3IaLFWCq.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-vRiO7G_7-BtkXAaTL.js → ReimbursementApprovalRuleDetailPage-vRiO7G_7-BNpO-W1a.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-kEmFNXtg-tWOcEiR-.js → ReimbursementApprovalRulesPage-kEmFNXtg-B8ugfZMC.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-ChyRg0eX-Claybyvt.js → ReimbursementDetailPage-ChyRg0eX-DWtyRMkY.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-BWsOD49o-D82HFW_4.js → ReimbursementPromoPage-BWsOD49o-Dd_wQE7-.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-DO_dBP9N-CDR1Iktq.js → ReimbursementSetUpPage-DO_dBP9N-Dy9d9et5.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CgRo7VeI-w-iFb9QJ.js → ReimbursementsBulkReviewDrawerPage-CgRo7VeI-Bt0c1YwP.js} +1 -1
  137. package/dist/assets/{ReloadCard-CpauR6-c-3e4dg5U2.js → ReloadCard-CpauR6-c-D0tZ9Fyb.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-D6DHFt_R-CzdBaV93.js → ReportTableViewSelector-D6DHFt_R-CaLxLhCV.js} +1 -1
  139. package/dist/assets/{ReportsPage-D4mI3T0w-DX_lYTCz.js → ReportsPage-D4mI3T0w-Do8bVyWV.js} +1 -1
  140. package/dist/assets/{RevenueChart-JdtvK4L6-CpCUlh1v.js → RevenueChart-JdtvK4L6-Ngpoc51c.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BwQoOV2Q-BSoqdtJl.js → ReviewDetailsPage-BwQoOV2Q-BnMNYLWI.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-BLxhto7d-Ote-FEid.js → ReviewOverlay-BLxhto7d-C71dqQqP.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-BRSx6yqP-Dj7TwZqE.js → RoleWithToolTip-BRSx6yqP-BUZQlrca.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CH84DI7F-DS2nwC6-.js → ScheduleDetailsFixedAssetsPage-CH84DI7F-Pp7ryVvn.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-CMunoow5-Kl0jdvn6.js → ScheduleDetailsPage-CMunoow5-BkaTYagU.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-CQVHkQ0e-Dw2nQmil.js → ScheduleSequenceTable-CQVHkQ0e-f2QXv--M.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-C5pHLsYO.js → ScreenRoutes-DXvnX-LV.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-CyyxtFvK-Bjoxqucl.js → SetUpAccountSection-CyyxtFvK-Cj5cRA0y.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js → SetUpDefaultSection-Bdw_aWMY-Cmz2s5mU.js} +1 -1
  150. package/dist/assets/{SignIn-Gw75P03k-B_X_KXq6.js → SignIn-Gw75P03k-CwFuzpqD.js} +1 -1
  151. package/dist/assets/{SignInScreen-CU1N7put.js → SignInScreen-tRJyAVn0.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BccaMtyd-shshvd9r.js → SpendManagementListViewPage-BccaMtyd-DhsnmCTR.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-D-YqqUsz-DyRQAFsg.js → SpendManagementPerTabPage-D-YqqUsz-CMqa5ICA.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-CdH1r1Vw-C3epoUbW.js → SpendManagementSection-CdH1r1Vw-BnFiiVz5.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js → SpendMgmtSetupAccountSection-nryeZQ0T-r6fy71VQ.js} +1 -1
  156. package/dist/assets/{StatementItem-BW9HKaf9-CsEdfyzn.js → StatementItem-BW9HKaf9-By5T4EbF.js} +1 -1
  157. package/dist/assets/{StatementsPage-CXawS1th-D6ifdlgD.js → StatementsPage-CXawS1th-CEfY_8qI.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-oC-AP25Z-D-8kVIuC.js → StatusSwitcher-oC-AP25Z-CEWD2b8L.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-DXWQMf7B-D5NgssDf.js → SubTabSwitcher-DXWQMf7B-B3Pt5uAY.js} +1 -1
  160. package/dist/assets/{SummaryCard-C3zjN-kT-DVcdP-G4.js → SummaryCard-C3zjN-kT-BEGBL6Jl.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BGDJNpe_-BGexoSAd.js → TaskManagementPage-BGDJNpe_-rd55LI6o.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-BJfy3akS-o2HcwGW6.js → TimeRangeSwitcher-BJfy3akS-OfTTOizn.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js → TimeframeSwitcher-M9tK6u0Y-Bxtbdng5.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-L1nNDGOE-jeHox6-x.js → TimeframeSwitcherWithToggle-L1nNDGOE-WAQaP0VD.js} +1 -1
  165. package/dist/assets/{TopExCard-BD9Ehuw_-BEZAD6RQ.js → TopExCard-BD9Ehuw_-BXC8E3qf.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-3HoXp_6D-C4AntCB3.js → TopExDetailPage-3HoXp_6D-CtO2rBhy.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CbnGQ8bn-D1kf6rih.js → TransactionDetailPage-CbnGQ8bn-BsL7JPEZ.js} +1 -1
  168. package/dist/assets/{TransactionList-BBjiP2Nf-CVZYe7YT.js → TransactionList-BBjiP2Nf-DUNjy3TT.js} +1 -1
  169. package/dist/assets/{TransactionListBig-5aenxEn4-DbuGNI6-.js → TransactionListBig-5aenxEn4-IdhDPOuV.js} +1 -1
  170. package/dist/assets/{TransactionListPage-BeVkiwkg-BwC4l02u.js → TransactionListPage-BeVkiwkg-CDFwd5bS.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-Yi7SmsyK-pIrKO6zm.js → TransactionVendorDetailPage-Yi7SmsyK-RZzw2CZy.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-2P1mhp1M-DQ83dYHD.js → TransferDrawerPage-2P1mhp1M-B4VYzOoO.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-CkCBcBQK-CKBjtsts.js → TreasuryOverviewPage-CkCBcBQK-gQtJbKm4.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-v-g4ZAdk-BPgVXnPP.js → TreasuryPromoPage-v-g4ZAdk-BrcSopM1.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-B7va2-fJ-CAJ9u8aR.js → TreasurySetupPage-B7va2-fJ-DjxpMJWN.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-BEJsQ-Oz-DHPONp68.js → TreasuryStatementsPage-BEJsQ-Oz-BTSyqWeA.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-CpTpM1mx-Ba1IA2xd.js → TreasuryTaxLetterPage-CpTpM1mx-BiYSLuAV.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BRPFympA-6Ds9mHlo.js → TreasuryTransferOrReviewPage-BRPFympA-BvZHT5Zx.js} +1 -1
  179. package/dist/assets/{TrendChart-DRNocU0p-B5zGJHBv.js → TrendChart-DRNocU0p-DH8MSEgo.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-CldwGpXX-C-miaXCt.js → TrendWithTransactions-CldwGpXX-DKmrunTF.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-2C5qEhte-D_ahOlGs.js → UncategorizedAccountsMappingPage-2C5qEhte-Dh6x_P3v.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage--cDHqgXs-CzBp1mNW.js → UnitIntegrationPage--cDHqgXs-DtCf2vZQ.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-D85ML8-_-p_x3eEON.js → UploadAdditionalDocumentOverlay-D85ML8-_-B-QpxAiO.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-vdFWf98b-D5sSolYh.js → Vendor2FAPopup-vdFWf98b-B7o0Z5rr.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-D7ImMabh-ChqR1RaR.js → VendorACHDetailsPage-D7ImMabh-CSvkLquw.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BOeEd9pX-C40iOslI.js → VendorDetailPage-BOeEd9pX-gUrBoOK0.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CXFrYPn8-o64Pt2o2.js → VendorDomesticWireDetailsPage-CXFrYPn8-CB7lnVxg.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-CZFErJ91-Dq9to1zv.js → VendorFiling1099EditablePage-CZFErJ91-Xm9IJ-1g.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-BHzDUMKu-DpG7tqKb.js → VendorFirstReviewPage-BHzDUMKu-y6QbEQFP.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-j4j5irzH-CT3rN25J.js → VendorInternationalWireDetailsPage-j4j5irzH-CXfMsio3.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DM4jC7wD-0NWOAHYt.js → VendorInternationalWireSwiftDetailsPage-DM4jC7wD-u0u1sFOX.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-BTRiZlIa-D2xftT7n.js → VendorsAccountsSection-BTRiZlIa-BZealh27.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-ZgfQEBme-BogIku8q.js → WarningsDrawerPage-ZgfQEBme-Co_2thoU.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-xrq0Ez6S-5Y9wWxKq.js → ZeniAccountDetailPage-xrq0Ez6S-wsGmzJtr.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-BwXfELGd-CMYKhLC-.js → ZeniAccountListViewPage-BwXfELGd-DN8EGYyI.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-xpHuuPSD-CQw7XfH0.js → ZeniAccountNavBarPieces-xpHuuPSD-Djz7djM6.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-BvSwPEk7-sx8wuksr.js → ZeniAccountPromoPage-BvSwPEk7-BDnAl2G8.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-yCkiopeU-oXKMyUZt.js → ZeniAccountSetupPage-yCkiopeU-BliT7Pvn.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-BAbOOFg9-CEbrOROr.js → ZeniCopyright-BAbOOFg9-BBG8qKfW.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js → ZeniTransferAmountSlider-C1sl8ZNj-DpQGiDCK.js} +1 -1
  201. package/dist/assets/{analyticsHelper-j8smtjIR.js → analyticsHelper-CIoNdHiA.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CkzpobMi-DnjY1jLw.js → analyticsHelper-CkzpobMi-BfnXXtCD.js} +1 -1
  203. package/dist/assets/{chartTypes-JD2mR9iq-B-Dqgpc8.js → chartTypes-JD2mR9iq-D7wZaUzd.js} +1 -1
  204. package/dist/assets/{commonDimensions-DRfDJ_wQ-DeEC_LLv.js → commonDimensions-DRfDJ_wQ-BO2rVKKM.js} +1 -1
  205. package/dist/assets/{detailCommon-BbKkY_46-DwHUZLAg.js → detailCommon-BbKkY_46-CAbvAN8D.js} +1 -1
  206. package/dist/assets/{downloadPdf-D7ANJLK4-BVhr8pTH.js → downloadPdf-D7ANJLK4-DY2Y05LM.js} +1 -1
  207. package/dist/assets/{index-Dr7k10Ge.js → index-CEwYV-nF.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-e8JhfflK-BBSz2yuD.js → mapLoadingInProgressToTreeNode-e8JhfflK-BF2nQ7sS.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-caUW45t5-Cd4Vndkt.js → mapSectionWithAcOnlyToTreeNode-caUW45t5-Bg9OIhnk.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-C692pbYW-BJLTFMw5.js → mapSpacerToTreeNode-C692pbYW-C4jUHB0O.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DKrYq4x5-CLuyCBzc.js → mapTimeframeBalancesToTreeNode-DKrYq4x5-fbf9_UTv.js} +1 -1
  212. package/dist/assets/{play-icon-BbWpG2oG-CGqef6-e.js → play-icon-BbWpG2oG-hh6oQ481.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-DOgHiMwn-C3l_klRD.js → toCOABalancesWithID-DOgHiMwn-g7DirtT0.js} +1 -1
  214. package/dist/assets/{toChartData-CNfdaXyM-Cc0Cbk9b.js → toChartData-CNfdaXyM-BIB6n4VL.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-JBMxqa9X-CRkfUPI_.js → treasuryColorHelper-JBMxqa9X-YTcVeII5.js} +1 -1
  216. package/dist/assets/{uploadAttachment-BGZjtYkJ-DDuM3kuv.js → uploadAttachment-BGZjtYkJ-KlPFkrcJ.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-CEx_e_oz.js → uploadReceipts-Buvz7DfG-B7o_gJnm.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +1 -1
  220. package/dist/assets/CustomerOnboardingContainerPage-9UTLABZ0-DmivhYy_.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as y,M as S,h1 as b,j as o,e as g,o as r,t as j,C as v,bq as z,q as k}from"./index-Dr7k10Ge.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-BHtgE0KL-BJPg4xAk.js";import{w as L}from"./downloadPdf-D7ANJLK4-BVhr8pTH.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
1
+ import{X as y,M as S,h1 as b,j as o,e as g,o as r,t as j,C as v,bq as z,q as k}from"./index-CEwYV-nF.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-BHtgE0KL-NzNpvF1b.js";import{w as L}from"./downloadPdf-D7ANJLK4-DY2Y05LM.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 as P,ao as I,o as r,g as m,bT as L,C as M,q as h,t as O}from"./index-Dr7k10Ge.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-BHtgE0KL-BJPg4xAk.js";import{o as B}from"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";import{O as E}from"./StatementItem-BW9HKaf9-CsEdfyzn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-BVhr8pTH.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const $=v(),l=z(),k=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?B.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(E,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:T(a,i.statements.length)},s.id)}):t.jsx(R,{style:{...n},children:t.jsx(N,{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:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(V,{ref:k,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},R=o.div``,u=o.div`
1
+ import{u as v,X as z,j as t,aW as C,M as P,ao as I,o as r,g as m,bT as L,C as M,q as h,t as O}from"./index-CEwYV-nF.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-BHtgE0KL-NzNpvF1b.js";import{o as B}from"./commonDimensions-DRfDJ_wQ-BO2rVKKM.js";import{O as E}from"./StatementItem-BW9HKaf9-By5T4EbF.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-DY2Y05LM.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const $=v(),l=z(),k=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?B.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(E,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:T(a,i.statements.length)},s.id)}):t.jsx(R,{style:{...n},children:t.jsx(N,{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:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(V,{ref:k,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},R=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,q as c,v as z}from"./index-Dr7k10Ge.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function m(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:m(a)}return m(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)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),w={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,q as c,v as z}from"./index-CEwYV-nF.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function m(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:m(a)}return m(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)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),w={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,e as u,o as s,v as g,aj as m}from"./index-Dr7k10Ge.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,e as u,o as s,v as g,aj as m}from"./index-CEwYV-nF.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-Dr7k10Ge.js";import{E as n,T as t}from"./ReloadCard-CpauR6-c-3e4dg5U2.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-CEwYV-nF.js";import{E as n,T as t}from"./ReloadCard-CpauR6-c-D0tZ9Fyb.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{V as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as H,bO as gt,t as K,Z as kt,l as Q,o as s,eJ as Ze,ah as Ie,bL as xt,fA as wt,as as ft,bf as Je,a9 as Ct,X as le,a as Tt,C as Xe,c3 as $t,F as yt,ao as vt,bT as bt,ic as jt,id as St,iJ as ze,a7 as Gt,K as De,bt as Ee,eF as Qe,iK as Lt,cq as et,iL as pe,iM as xe,iN as Nt,iO as we,iP as tt,iQ as st,iR as ot,iS as nt,iT as at,iU as rt,iV as _,q as ke,iW as re,v as ie,iX as It,iY as Et,a6 as Mt,n as Dt,iZ as zt,d7 as Bt,i_ as Wt,cg as it,cA as At,r as Rt,i$ as Ot,j0 as Ft,fB as Pt,eI as Vt,j1 as Ht,j2 as J,j3 as Be,bV as Ut,j4 as _t,j5 as Kt,j6 as We,j7 as Yt,g as Ae,fY as qt,m as Zt}from"./index-Dr7k10Ge.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-CdH1r1Vw-C3epoUbW.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-ChVd_Bek-CKniSs8p.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-BccaMtyd-shshvd9r.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-oC-AP25Z-D-8kVIuC.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)},E=x=>j(x),M=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=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(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{V as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as H,bO as gt,t as K,Z as kt,l as Q,o as s,eJ as Ze,ah as Ie,bL as xt,fA as wt,as as ft,bf as Je,a9 as Ct,X as le,a as Tt,C as Xe,c3 as $t,F as yt,ao as vt,bT as bt,ic as jt,id as St,iJ as ze,a7 as Gt,K as De,bt as Ee,eF as Qe,iK as Lt,cq as et,iL as pe,iM as xe,iN as Nt,iO as we,iP as tt,iQ as st,iR as ot,iS as nt,iT as at,iU as rt,iV as _,q as ke,iW as re,v as ie,iX as It,iY as Et,a6 as Mt,n as Dt,iZ as zt,d7 as Bt,i_ as Wt,cg as it,cA as At,r as Rt,i$ as Ot,j0 as Ft,fB as Pt,eI as Vt,j1 as Ht,j2 as J,j3 as Be,bV as Ut,j4 as _t,j5 as Kt,j6 as We,j7 as Yt,g as Ae,fY as qt,m as Zt}from"./index-CEwYV-nF.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-CdH1r1Vw-BnFiiVz5.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-ChVd_Bek-OcoLbH0n.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-BccaMtyd-DhsnmCTR.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-oC-AP25Z-CEWD2b8L.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)},E=x=>j(x),M=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=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(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,ao as Y,D as j,dg as H,aL as V,o as a,v as q}from"./index-Dr7k10Ge.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-BGT77T9W-DWoWj-VL.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.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=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.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,ao as Y,D as j,dg as H,aL as V,o as a,v as q}from"./index-CEwYV-nF.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-BGT77T9W-C2GRNmrk.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.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=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.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,v as p,M as u}from"./index-Dr7k10Ge.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
1
+ import{j as t,o,v as p,M as u}from"./index-CEwYV-nF.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,v as x,b3 as w}from"./index-Dr7k10Ge.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{X as c,j as t,C as n,v as x,b3 as w}from"./index-CEwYV-nF.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-M9tK6u0Y-Bxtbdng5.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{D as _,X as V,j as t,u as f,b6 as T,aB as C,aA as S,ba as E,bj as k,q as x,aJ as R,r as $,bk as q,bl as H,_ as G,l as J,R as X,o as p,v as L,as as Y,t as F,M as A,U as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-Dr7k10Ge.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-CpauR6-c-3e4dg5U2.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
1
+ import{D as _,X as V,j as t,u as f,b6 as T,aB as C,aA as S,ba as E,bj as k,q as x,aJ as R,r as $,bk as q,bl as H,_ as G,l as J,R as X,o as p,v as L,as as Y,t as F,M as A,U as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-CEwYV-nF.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-CpauR6-c-D0tZ9Fyb.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 k,ao as H,B as P,o as i,C as E,bi as z,aM as F,q as c,g as T,t as y,Y as V,ak as M}from"./index-Dr7k10Ge.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-BD9Ehuw_-BEZAD6RQ.js";import{b as L}from"./TimeframeSwitcher-M9tK6u0Y-C6JeMzJ1.js";import{d as O}from"./NoDataTable-6vR2vOMI-C3_Xw78i.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-CpauR6-c-3e4dg5U2.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 k,ao as H,B as P,o as i,C as E,bi as z,aM as F,q as c,g as T,t as y,Y as V,ak as M}from"./index-CEwYV-nF.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-BD9Ehuw_-BXC8E3qf.js";import{b as L}from"./TimeframeSwitcher-M9tK6u0Y-Bxtbdng5.js";import{d as O}from"./NoDataTable-6vR2vOMI-CRH2wpQ3.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-CpauR6-c-D0tZ9Fyb.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 Z,M as N,a5 as Rt,dL as Ao,dM as Vo,c3 as Ro,D as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,e as Bt,dR as Ii,a7 as Fo,C as R,dS as Wo,dT as Xi,dU as Ki,dV as Zi,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Ke,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,P as qo,ea as bt,eb as vi,ec as Uo,K as Ho,bO as Yo,o as n,ed as Go,q as v,B as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Ko,bI as Zo,ah as Ft,_ as De,cg as Be,eg as Jo,eh as kt,aa as Ji,cl as Qo,ei as en,bF as tn,bG as on,t as he,ak as nn,cA as an,ej as Qi,ek as li,el as ri,em as Qt,dc as sn,ao as ln,bT as rn,co as hi,cm as eo,d3 as cn,en as Ci,eo as Di,ep as dn,bt as to,eq as ei,dh as ti,er as un,aM as pn,es as mn,et as Ti,eu as hn,z as gn,cp as fn,ev as yn,Q as io,ew as bn,b5 as xn,ex as ji,b2 as tt,ey as wn,ez as $n,eA as In,b0 as vn,b4 as Cn,dq as Dn,r as oo,eB as Tn,a$ as jn,a6 as On,m as Ln,eC as Sn,ac as ci}from"./index-Dr7k10Ge.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-CHRGFyHl-T4ZnES5i.js";import{R as kn}from"./TrendWithTransactions-CldwGpXX-C-miaXCt.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-BGZjtYkJ-DDuM3kuv.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-DRNocU0p-B5zGJHBv.js";import"./chartTypes-JD2mR9iq-B-Dqgpc8.js";import"./toCOABalancesWithID-DOgHiMwn-C3l_klRD.js";import"./toChartData-CNfdaXyM-Cc0Cbk9b.js";import"./NoDataChart-Bsj1HEPq-CTuuS1jm.js";import"./InsightsSection-Corx5iDh-fVbgdM2i.js";import"./NavigationDots-DJkiFidH-5V7knboW.js";import"./TransactionList-BBjiP2Nf-CVZYe7YT.js";import"./BoxItem-BHtgE0KL-BJPg4xAk.js";import"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";const En={headerMarginTop:new R(v[7],v[8])},_n=l(he)`
1
+ import{u as jt,a as zo,X as Z,M as N,a5 as Rt,dL as Ao,dM as Vo,c3 as Ro,D as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,e as Bt,dR as Ii,a7 as Fo,C as R,dS as Wo,dT as Xi,dU as Ki,dV as Zi,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Ke,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,P as qo,ea as bt,eb as vi,ec as Uo,K as Ho,bO as Yo,o as n,ed as Go,q as v,B as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Ko,bI as Zo,ah as Ft,_ as De,cg as Be,eg as Jo,eh as kt,aa as Ji,cl as Qo,ei as en,bF as tn,bG as on,t as he,ak as nn,cA as an,ej as Qi,ek as li,el as ri,em as Qt,dc as sn,ao as ln,bT as rn,co as hi,cm as eo,d3 as cn,en as Ci,eo as Di,ep as dn,bt as to,eq as ei,dh as ti,er as un,aM as pn,es as mn,et as Ti,eu as hn,z as gn,cp as fn,ev as yn,Q as io,ew as bn,b5 as xn,ex as ji,b2 as tt,ey as wn,ez as $n,eA as In,b0 as vn,b4 as Cn,dq as Dn,r as oo,eB as Tn,a$ as jn,a6 as On,m as Ln,eC as Sn,ac as ci}from"./index-CEwYV-nF.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-CHRGFyHl-CNPGUCoT.js";import{R as kn}from"./TrendWithTransactions-CldwGpXX-DKmrunTF.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-BGZjtYkJ-KlPFkrcJ.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-DRNocU0p-DH8MSEgo.js";import"./chartTypes-JD2mR9iq-D7wZaUzd.js";import"./toCOABalancesWithID-DOgHiMwn-g7DirtT0.js";import"./toChartData-CNfdaXyM-BIB6n4VL.js";import"./NoDataChart-Bsj1HEPq-BuASr5nD.js";import"./InsightsSection-Corx5iDh-BfrgopNR.js";import"./NavigationDots-DJkiFidH-EWS9_PIe.js";import"./TransactionList-BBjiP2Nf-DUNjy3TT.js";import"./BoxItem-BHtgE0KL-NzNpvF1b.js";import"./commonDimensions-DRfDJ_wQ-BO2rVKKM.js";const En={headerMarginTop:new R(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,ao as tt,Y as u,dc as et,M as v,dd as it,d7 as at,de as ot,o as i,g as A,bT as rt,C as q,l as m,e as nt,t as y,q as g,v as st,df as Q,cs as V,_ as W,m as lt}from"./index-Dr7k10Ge.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-BHtgE0KL-BJPg4xAk.js";import{o as N}from"./commonDimensions-DRfDJ_wQ-DeEC_LLv.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,ao as tt,Y as u,dc as et,M as v,dd as it,d7 as at,de as ot,o as i,g as A,bT as rt,C as q,l as m,e as nt,t as y,q as g,v as st,df as Q,cs as V,_ as W,m as lt}from"./index-CEwYV-nF.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-BHtgE0KL-NzNpvF1b.js";import{o as N}from"./commonDimensions-DRfDJ_wQ-BO2rVKKM.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,V as W,H as ie,aJ as ne,l as B,j as t,Y as x,ao as re,M as w,q as n,r as ae,g as D,o,Q as j,h as Q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,p as he,e as ue,K as Y,B as G,aN as X,a9 as ee}from"./index-Dr7k10Ge.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-DCI8_ihc-CZreK5jG.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-C3zjN-kT-DVcdP-G4.js";import"./ReloadCard-CpauR6-c-3e4dg5U2.js";import"./NavigationArrow-Bv-PvnhZ-BqeVWU8r.js";import"./NavigationDots-DJkiFidH-5V7knboW.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,X as L,V as W,H as ie,aJ as ne,l as B,j as t,Y as x,ao as re,M as w,q as n,r as ae,g as D,o,Q as j,h as Q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,p as he,e as ue,K as Y,B as G,aN as X,a9 as ee}from"./index-CEwYV-nF.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-DCI8_ihc-CBYLqvzT.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-C3zjN-kT-BEGBL6Jl.js";import"./ReloadCard-CpauR6-c-D0tZ9Fyb.js";import"./NavigationArrow-Bv-PvnhZ-BCqZOufx.js";import"./NavigationDots-DJkiFidH-EWS9_PIe.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 z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,t as V}from"./index-Dr7k10Ge.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-BBjiP2Nf-CVZYe7YT.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BHtgE0KL-BJPg4xAk.js";import"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";const G=l.div`
1
+ import{u as z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,t as V}from"./index-CEwYV-nF.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-BBjiP2Nf-DUNjy3TT.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BHtgE0KL-NzNpvF1b.js";import"./commonDimensions-DRfDJ_wQ-BO2rVKKM.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,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as q,c3 as X,F as Y,q as s,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-Dr7k10Ge.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",v),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>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(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:h,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(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=d.div`
1
+ import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as q,c3 as X,F as Y,q as s,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-CEwYV-nF.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",v),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>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(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:h,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(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=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 A,gP as it,M as I,_ as Z,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,v as $e,t as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,q as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as qe,f2 as yt,dq as Ct,bp as Ze,f9 as St,fb as vt}from"./index-Dr7k10Ge.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-C1sl8ZNj-C6racrVi.js";import{r as At}from"./AccountInfoPageContent-BTk2gRyM-D5sd4ymJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-BVhr8pTH.js";import"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=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:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){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),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(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&&q()},[V,q,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,q]);const{isValid:Qe}=P.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)};J(se)}};u.useEffect(()=>{const s=P.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()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.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=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.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":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:Z("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{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(Pe,{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,Pt),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,Ue),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(qt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("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(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("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":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{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},Ae=(e,n)=>({transferDetails:{[Ue]: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 A,gP as it,M as I,_ as Z,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,v as $e,t as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,q as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as qe,f2 as yt,dq as Ct,bp as Ze,f9 as St,fb as vt}from"./index-CEwYV-nF.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-C1sl8ZNj-DpQGiDCK.js";import{r as At}from"./AccountInfoPageContent-BTk2gRyM-_lQwCngs.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-DY2Y05LM.js";import"./commonDimensions-DRfDJ_wQ-BO2rVKKM.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=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:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){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),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(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&&q()},[V,q,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,q]);const{isValid:Qe}=P.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)};J(se)}};u.useEffect(()=>{const s=P.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()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.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=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.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":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:Z("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{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(Pe,{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,Pt),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,Ue),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(qt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("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(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("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":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{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},Ae=(e,n)=>({transferDetails:{[Ue]: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,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y as E,e as Ke,o as i,v as k,g as w,b5 as Ve,C as u,cO as _,Q as B,l as F,q as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Fe,bf as Le,a9 as Me,V as We,fm as Ee,gm as Ge,K as Ue,t as A,ak as Je,iD as Xe,je as _e,ke as qe,eG as Qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as st,m as G,bY as xe,ig as nt,b$ as lt,ih as dt,ii as ct}from"./index-Dr7k10Ge.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";import{g as me}from"./BoxItem-BHtgE0KL-BJPg4xAk.js";import{l as se,d as xt}from"./treasuryColorHelper-JBMxqa9X-CRkfUPI_.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-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:ne.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:s}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const n of p)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,n)=>{let m=n;r.sortKey===p&&(m=n==="ascending"?"descending":"ascending"),s(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(n=>n.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(st,{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,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y as E,e as Ke,o as i,v as k,g as w,b5 as Ve,C as u,cO as _,Q as B,l as F,q as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Fe,bf as Le,a9 as Me,V as We,fm as Ee,gm as Ge,K as Ue,t as A,ak as Je,iD as Xe,je as _e,ke as qe,eG as Qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as st,m as G,bY as xe,ig as nt,b$ as lt,ih as dt,ii as ct}from"./index-CEwYV-nF.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-DRfDJ_wQ-BO2rVKKM.js";import{g as me}from"./BoxItem-BHtgE0KL-NzNpvF1b.js";import{l as se,d as xt}from"./treasuryColorHelper-JBMxqa9X-YTcVeII5.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-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:ne.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:s}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const n of p)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,n)=>{let m=n;r.sortKey===p&&(m=n==="ascending"?"descending":"ascending"),s(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(n=>n.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(st,{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,V as xe,d3 as we,a5 as $e,l as fe,M as V,j as r,aW as ye,o as i,iD as je,bt as be,v as S,K,Y as Q,Q as f,Z as F,C as v,g as t,t as _,d5 as Se,eY as ke,k as ze,m as ve,cI as Ce,q as m,dJ as Le,kd as Pe,c0 as Te,a6 as De,r as Z,cu as Ie}from"./index-Dr7k10Ge.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js";import{l as Re}from"./treasuryColorHelper-JBMxqa9X-CRkfUPI_.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _e=({isOpen:e,onClose:x})=>{const c=O(),u=V.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(He,{children:[r.jsx(Ae,{children:r.jsx(Ve,{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(Ye,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(qe,{children:d.links.map((h,$)=>r.jsx(Ue,{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))})]})]})})},He=o.div`
1
+ import{u as ae,X as O,V as xe,d3 as we,a5 as $e,l as fe,M as V,j as r,aW as ye,o as i,iD as je,bt as be,v as S,K,Y as Q,Q as f,Z as F,C as v,g as t,t as _,d5 as Se,eY as ke,k as ze,m as ve,cI as Ce,q as m,dJ as Le,kd as Pe,c0 as Te,a6 as De,r as Z,cu as Ie}from"./index-CEwYV-nF.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-DKBH6wSs-BI8-Q4hn.js";import{l as Re}from"./treasuryColorHelper-JBMxqa9X-YTcVeII5.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _e=({isOpen:e,onClose:x})=>{const c=O(),u=V.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(He,{children:[r.jsx(Ae,{children:r.jsx(Ve,{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(Ye,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(qe,{children:d.links.map((h,$)=>r.jsx(Ue,{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))})]})]})})},He=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d3 as qe,u as Ge,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Ke,e as Xe,F as ye,c$ as Ze,aQ as Qe,q as n,l as et,K as tt,bt as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,t as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-Dr7k10Ge.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-DvD6UJq--aZr7WRfd.js";import{Y as pt}from"./LabeledDocumentField-Cdd8oj5z-BoWCxP7J.js";import{P as mt}from"./DocumentSecurityBanner-CIWoR_yI-Dhftz0pA.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-Bdw_aWMY-C7l-ATBb.js";import{p as ft}from"./SpendMgmtSetupAccountSection-nryeZQ0T-2tO4d4y_.js";import gt from"./PortfolioAllocationFormPage-DsCeagnu-DFOtswbp.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js";import"./ChargeCardUtils-BxyMuU6--CHwiPaoq.js";import"./CreditCardPaymentPlgSection-M69ECpN9-CGQ3HY5T.js";import"./ChaseOverlay-CRiYxWuZ-BZR-S0kG.js";import"./PortfolioDetails-BEa4kwk8-CITW78cn.js";import"./treasuryColorHelper-JBMxqa9X-CRkfUPI_.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??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.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(Pt,{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(jt,{}),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{d3 as qe,u as Ge,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Ke,e as Xe,F as ye,c$ as Ze,aQ as Qe,q as n,l as et,K as tt,bt as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,t as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-CEwYV-nF.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-DvD6UJq--BRQPdGD9.js";import{Y as pt}from"./LabeledDocumentField-Cdd8oj5z-BUIficZv.js";import{P as mt}from"./DocumentSecurityBanner-CIWoR_yI-CLvomSrK.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-Bdw_aWMY-Cmz2s5mU.js";import{p as ft}from"./SpendMgmtSetupAccountSection-nryeZQ0T-r6fy71VQ.js";import gt from"./PortfolioAllocationFormPage-DsCeagnu-6-GqBYNr.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DKBH6wSs-BI8-Q4hn.js";import"./ChargeCardUtils-BxyMuU6--Bmupo3qZ.js";import"./CreditCardPaymentPlgSection-M69ECpN9-DSnTfkj_.js";import"./ChaseOverlay-CRiYxWuZ-BVVt_vtO.js";import"./PortfolioDetails-BEa4kwk8-CLWb3MOf.js";import"./treasuryColorHelper-JBMxqa9X-YTcVeII5.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??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.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(Pt,{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(jt,{}),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 e,aW as z,M as C,ao as P,o as r,g as c,bT as T,C as I,q as d,t as M}from"./index-Dr7k10Ge.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-BHtgE0KL-BJPg4xAk.js";import{o as B}from"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";import{O as E}from"./StatementItem-BW9HKaf9-CsEdfyzn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-BVhr8pTH.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},tt=({currentTenantCompanyName:t,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?e.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:e.jsx(E,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):e.jsx(L,{style:{...n},children:e.jsx(N,{children:e.jsx(p,{windowSize:i,children:e.jsx(X,{children:h.noStatements})})})})};return e.jsxs(O,{children:[e.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),e.jsx(A,{windowSize:i,children:e.jsx(P,{children:({height:s,width:n})=>e.jsx(H,{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 e,aW as z,M as C,ao as P,o as r,g as c,bT as T,C as I,q as d,t as M}from"./index-CEwYV-nF.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-BHtgE0KL-NzNpvF1b.js";import{o as B}from"./commonDimensions-DRfDJ_wQ-BO2rVKKM.js";import{O as E}from"./StatementItem-BW9HKaf9-By5T4EbF.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-DY2Y05LM.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},tt=({currentTenantCompanyName:t,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?e.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:e.jsx(E,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):e.jsx(L,{style:{...n},children:e.jsx(N,{children:e.jsx(p,{windowSize:i,children:e.jsx(X,{children:h.noStatements})})})})};return e.jsxs(O,{children:[e.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),e.jsx(A,{windowSize:i,children:e.jsx(P,{children:({height:s,width:n})=>e.jsx(H,{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: ${t=>`${r.sp0} ${x.listItemMargin.valuePx(t.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,ao as C,o as r,g as c,bT as T,C as P,q as d,t as I}from"./index-Dr7k10Ge.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-BHtgE0KL-BJPg4xAk.js";import{o as R}from"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";import{O as B}from"./StatementItem-BW9HKaf9-CsEdfyzn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-BVhr8pTH.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:m.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
1
+ import{u as S,X as v,j as t,aW as L,M as z,ao as C,o as r,g as c,bT as T,C as P,q as d,t as I}from"./index-CEwYV-nF.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-BHtgE0KL-NzNpvF1b.js";import{o as R}from"./commonDimensions-DRfDJ_wQ-BO2rVKKM.js";import{O as B}from"./StatementItem-BW9HKaf9-By5T4EbF.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D7ANJLK4-DY2Y05LM.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:m.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=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{X as ge,D as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as Ue,a7 as Je,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bt as vt,cO as He,Q as R,l as z,fZ as jt,g as S,Z as At,h as et,v as Y,t as X,eZ as kt,a as Tt,c3 as Pt,F as Ct,fF as zt,q as c,bn as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,f9 as Ft,f1 as Mt,d3 as Rt,m as Bt,f2 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,bd as Vt,fb as Wt,fk as Yt,aJ as Xt}from"./index-Dr7k10Ge.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-BEa4kwk8-CITW78cn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-JBMxqa9X-CRkfUPI_.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Ht,{sliderValue:s,children:[o.jsx(Jt,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Ut(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Ut=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Jt=r.input`
1
+ import{X as ge,D as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as Ue,a7 as Je,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bt as vt,cO as He,Q as R,l as z,fZ as jt,g as S,Z as At,h as et,v as Y,t as X,eZ as kt,a as Tt,c3 as Pt,F as Ct,fF as zt,q as c,bn as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,f9 as Ft,f1 as Mt,d3 as Rt,m as Bt,f2 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,bd as Vt,fb as Wt,fk as Yt,aJ as Xt}from"./index-CEwYV-nF.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-BEa4kwk8-CLWb3MOf.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-JBMxqa9X-YTcVeII5.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Ht,{sliderValue:s,children:[o.jsx(Jt,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Ut(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Ut=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Jt=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 as n,l as u,u as B,Y as j,ao as Z,b6 as z,b7 as F,aB as P,r as w,aA as R,aJ as O,b8 as q,aC as K,ba as _,o as L,g as G,t as N}from"./index-Dr7k10Ge.js";import{b as D,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as v,u as J}from"./chartTypes-JD2mR9iq-B-Dqgpc8.js";import{o as Q}from"./toCOABalancesWithID-DOgHiMwn-C3l_klRD.js";import{V as X}from"./toChartData-CNfdaXyM-Cc0Cbk9b.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=k.div`
1
+ import{M as $,j as n,l as u,u as B,Y as j,ao as Z,b6 as z,b7 as F,aB as P,r as w,aA as R,aJ as O,b8 as q,aC as K,ba as _,o as L,g as G,t as N}from"./index-CEwYV-nF.js";import{b as D,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as v,u as J}from"./chartTypes-JD2mR9iq-D7wZaUzd.js";import{o as Q}from"./toCOABalancesWithID-DOgHiMwn-g7DirtT0.js";import{V as X}from"./toChartData-CNfdaXyM-BIB6n4VL.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=k.div`
2
2
  display: flex;
3
3
  `,I=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as D,j as i,e as R,o as t,M as F,C as c,Y as S,ao as A,aq as Y,c0 as E,q as a,t as K,a6 as X}from"./index-Dr7k10Ge.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-DRNocU0p-B5zGJHBv.js";import{C as W}from"./NoDataChart-Bsj1HEPq-CTuuS1jm.js";import{F as _}from"./InsightsSection-Corx5iDh-fVbgdM2i.js";import{l as Z}from"./TransactionList-BBjiP2Nf-CVZYe7YT.js";const G=n.div`
1
+ import{X as D,j as i,e as R,o as t,M as F,C as c,Y as S,ao as A,aq as Y,c0 as E,q as a,t as K,a6 as X}from"./index-CEwYV-nF.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-DRNocU0p-DH8MSEgo.js";import{C as W}from"./NoDataChart-Bsj1HEPq-BuASr5nD.js";import{F as _}from"./InsightsSection-Corx5iDh-BfrgopNR.js";import{l as Z}from"./TransactionList-BBjiP2Nf-DUNjy3TT.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,V as Ke,a5 as en,g5 as R,hd as U,M as H,a as nn,he as tn,hf as Te,c3 as on,j as t,aW as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,hg as dn,e as un,hh as X,hi as pn,a7 as mn,hj as Ve,C as u,t as gn,o as l,cg as fe,ab as W,ga as oe,hk as ie,q as d,Q as Ae,g as $e,fz as _e,v as Se,cZ as xn}from"./index-Dr7k10Ge.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-DvD6UJq--aZr7WRfd.js";import{h as wn}from"./VendorsAccountsSection-BTRiZlIa-D2xftT7n.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DKBH6wSs-Cn-ByIyB.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,X as se,V as Ke,a5 as en,g5 as R,hd as U,M as H,a as nn,he as tn,hf as Te,c3 as on,j as t,aW as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,hg as dn,e as un,hh as X,hi as pn,a7 as mn,hj as Ve,C as u,t as gn,o as l,cg as fe,ab as W,ga as oe,hk as ie,q as d,Q as Ae,g as $e,fz as _e,v as Se,cZ as xn}from"./index-CEwYV-nF.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-DvD6UJq--BRQPdGD9.js";import{h as wn}from"./VendorsAccountsSection-BTRiZlIa-BZealh27.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DKBH6wSs-BI8-Q4hn.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a5 as b,j as t,hm as R,hn as _,X as F,M as O,bO as U,i as C,bQ as N,bR as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,p as Z,e as J,K as Q,o as i,t as X,q as B,Z as Y,av as ee}from"./index-Dr7k10Ge.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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{a5 as b,j as t,hm as R,hn as _,X as F,M as O,bO as U,i as C,bQ as N,bR as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,p as Z,e as J,K as Q,o as i,t as X,q as B,Z as Y,av as ee}from"./index-CEwYV-nF.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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,fc as x,a5 as U,l as q,X as W,M as Y,j as i,c3 as _,F as A,Y as K,fd as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,q as c}from"./index-Dr7k10Ge.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:v,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:E,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,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=W(),h=Y.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]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>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:S,"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:v,hasError:N,onEditFileName:E,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:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as k,fc as x,a5 as U,l as q,X as W,M as Y,j as i,c3 as _,F as A,Y as K,fd as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,q as c}from"./index-CEwYV-nF.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:v,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:E,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,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=W(),h=Y.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]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>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:S,"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:v,hasError:N,onEditFileName:E,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:S},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{a5 as o,M as v,j as n,hm as k,hn as j}from"./index-Dr7k10Ge.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,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]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,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?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
1
+ import{a5 as o,M as v,j as n,hm as k,hn as j}from"./index-CEwYV-nF.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,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]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,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?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-Dr7k10Ge.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-Cwc2nmvY-DQ16IU5r.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js";import"./MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js";import"./BankAccountSection-Bi3uoDPa-DlE9WCjC.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-CEwYV-nF.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-Cwc2nmvY-CBrfq4gI.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-DKdgmMHQ-KMb42RR1.js";import"./MagicLinkTitleSection-CCjLimcL-D5Get_gS.js";import"./BankAccountSection-Bi3uoDPa-Dwk4Gyix.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,D as be,l as se,c5 as xt,a as yt,gv as Be,gw as Ae,gx as Ee,gy as fe,gz as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as $t,gA as St,gB as ue,q as l,c4 as Dt,a7 as jt,o,bg as S,cg as Tt,ga as we,gC as Lt,c6 as Vt,c7 as kt,c8 as It,gD as Ot,fG as Pt,ce as zt,gE as Ft,gF as Mt,g as M,dp as _t,dn as Ht,cs as Wt,aJ as de,aq as Ue,v as qe,dq as Nt,f2 as Rt,gG as Bt,gH as At,t as Et,gI as Ut,ah as Ye,gJ as qt,Q as Ce,h as Ge}from"./index-Dr7k10Ge.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-DXWQMf7B-D5NgssDf.js";import{l as Qt}from"./TransactionList-BBjiP2Nf-CVZYe7YT.js";import{R as Jt}from"./TrendWithTransactions-CldwGpXX-C-miaXCt.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BHtgE0KL-BJPg4xAk.js";import"./commonDimensions-DRfDJ_wQ-DeEC_LLv.js";import"./TrendChart-DRNocU0p-B5zGJHBv.js";import"./chartTypes-JD2mR9iq-B-Dqgpc8.js";import"./toCOABalancesWithID-DOgHiMwn-C3l_klRD.js";import"./toChartData-CNfdaXyM-Cc0Cbk9b.js";import"./NoDataChart-Bsj1HEPq-CTuuS1jm.js";import"./InsightsSection-Corx5iDh-fVbgdM2i.js";import"./NavigationDots-DJkiFidH-5V7knboW.js";const ts=a.div`
1
+ import{M as _,u as Re,X as ne,C as g,D as be,l as se,c5 as xt,a as yt,gv as Be,gw as Ae,gx as Ee,gy as fe,gz as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as $t,gA as St,gB as ue,q as l,c4 as Dt,a7 as jt,o,bg as S,cg as Tt,ga as we,gC as Lt,c6 as Vt,c7 as kt,c8 as It,gD as Ot,fG as Pt,ce as zt,gE as Ft,gF as Mt,g as M,dp as _t,dn as Ht,cs as Wt,aJ as de,aq as Ue,v as qe,dq as Nt,f2 as Rt,gG as Bt,gH as At,t as Et,gI as Ut,ah as Ye,gJ as qt,Q as Ce,h as Ge}from"./index-CEwYV-nF.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-DXWQMf7B-B3Pt5uAY.js";import{l as Qt}from"./TransactionList-BBjiP2Nf-DUNjy3TT.js";import{R as Jt}from"./TrendWithTransactions-CldwGpXX-DKmrunTF.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-BMdJsw3x-CaLfz9Ol.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CSEioH8A-pTgOjjZi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-BHtgE0KL-NzNpvF1b.js";import"./commonDimensions-DRfDJ_wQ-BO2rVKKM.js";import"./TrendChart-DRNocU0p-DH8MSEgo.js";import"./chartTypes-JD2mR9iq-D7wZaUzd.js";import"./toCOABalancesWithID-DOgHiMwn-g7DirtT0.js";import"./toChartData-CNfdaXyM-BIB6n4VL.js";import"./NoDataChart-Bsj1HEPq-BuASr5nD.js";import"./InsightsSection-Corx5iDh-BfrgopNR.js";import"./NavigationDots-DJkiFidH-EWS9_PIe.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-Dr7k10Ge.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-C6x8Gz4g-DwUa3Xkf.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-Bi3uoDPa-DlE9WCjC.js";import"./MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.js";import"./BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js";import"./MailingDetailsSection-CJhcwaGu-BAyX38PR.js";import"./LabeledAddressValueField-BMdJsw3x-CnFfe2I5.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-CEwYV-nF.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-C6x8Gz4g-BspxgH-d.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-Bi3uoDPa-Dwk4Gyix.js";import"./MagicLinkTitleSection-CCjLimcL-D5Get_gS.js";import"./BankAccountWarningSection-DKdgmMHQ-KMb42RR1.js";import"./MailingDetailsSection-CJhcwaGu-DgdtnVpz.js";import"./LabeledAddressValueField-BMdJsw3x-CaLfz9Ol.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 ze,M as ne,a as ke,cw as K,gK as de,c3 as Ae,C as b,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gD as We,fG as qe,ce as Me,gE as He,gF as Ue,cm as Ke,a7 as Ge,co as Ye,cx as Ze,q as c,a6 as Je,bg as F,c1 as Qe,gL as Xe,g as I,eS as _e,ah as et,t as ce,eB as tt,gM as st,gN as lt,gO as M,cy as it}from"./index-Dr7k10Ge.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CSEioH8A-DiLPLUt5.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new b(160,210,230),paddingBottom:new b(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:R}){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:R,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:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled: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:M(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:M(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 ze,M as ne,a as ke,cw as K,gK as de,c3 as Ae,C as b,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gD as We,fG as qe,ce as Me,gE as He,gF as Ue,cm as Ke,a7 as Ge,co as Ye,cx as Ze,q as c,a6 as Je,bg as F,c1 as Qe,gL as Xe,g as I,eS as _e,ah as et,t as ce,eB as tt,gM as st,gN as lt,gO as M,cy as it}from"./index-CEwYV-nF.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CSEioH8A-pTgOjjZi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new b(160,210,230),paddingBottom:new b(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:R}){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:R,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:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled: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:M(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:M(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,V as On,u as mn,a as nt,hy as Pe,c3 as tt,z as Nn,hz as re,hA as ve,hB as fe,hC as be,hD as me,M as je,j as n,hu as ot,F as rt,aW as it,T as st,bO as at,bQ as lt,bR as dt,eY as ct,Y as ie,bf as mt,bL as pt,ao as ut,dj as ht,bT as gt,C as w,e as wt,B as Oe,o as t,aa as In,t as De,a9 as xt,q as c,v as Re,bY as vt,l as zn,dp as Pn,bg as ze,hE as Tn,b$ as ft,bC as bt,d0 as $t,av as Xe,aN as pn,g as B,ee as Dn,fg as St,df as wn,cs as rn,hF as yt,hG as sn,p as jt,bt as Be,c$ as Rt,eq as xn,b5 as Ct,dr as Vt,K as vn,hH as kt,cg as Mt,co as Ot,cp as Nt,ev as It,m as Ln,hI as zt,b2 as se,hJ as fn,gc as Pt,b0 as Tt,b4 as Dt,dq as Lt,r as An,Q as At,eC as _t,ac as dn}from"./index-Dr7k10Ge.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{A as Bt}from"./Menu-D-Gk-Xfo-DBDtrJ_2.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{X as ae,V as On,u as mn,a as nt,hy as Pe,c3 as tt,z as Nn,hz as re,hA as ve,hB as fe,hC as be,hD as me,M as je,j as n,hu as ot,F as rt,aW as it,T as st,bO as at,bQ as lt,bR as dt,eY as ct,Y as ie,bf as mt,bL as pt,ao as ut,dj as ht,bT as gt,C as w,e as wt,B as Oe,o as t,aa as In,t as De,a9 as xt,q as c,v as Re,bY as vt,l as zn,dp as Pn,bg as ze,hE as Tn,b$ as ft,bC as bt,d0 as $t,av as Xe,aN as pn,g as B,ee as Dn,fg as St,df as wn,cs as rn,hF as yt,hG as sn,p as jt,bt as Be,c$ as Rt,eq as xn,b5 as Ct,dr as Vt,K as vn,hH as kt,cg as Mt,co as Ot,cp as Nt,ev as It,m as Ln,hI as zt,b2 as se,hJ as fn,gc as Pt,b0 as Tt,b4 as Dt,dq as Lt,r as An,Q as At,eC as _t,ac as dn}from"./index-CEwYV-nF.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{A as Bt}from"./Menu-D-Gk-Xfo-D2aBa-uL.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,X as Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as J,cm as Q,am as H,c6 as De,cA as Te,q as a,co as Se,Y as ke,g as V,e as Fe,Q as Oe,bt as Ae,v as Le,b5 as ze}from"./index-Dr7k10Ge.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js";import{T as Ie}from"./MailingDetailsSection-CJhcwaGu-BAyX38PR.js";import{S as Pe}from"./CurrencySelectField-B3AvTbkp-CwUBnsMJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new 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=Y(),{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(Q,{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 Y,a as he,M as U,c3 as ye,D as ge,l as G,bO as be,bQ as fe,bR as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as J,cm as Q,am as H,c6 as De,cA as Te,q as a,co as Se,Y as ke,g as V,e as Fe,Q as Oe,bt as Ae,v as Le,b5 as ze}from"./index-CEwYV-nF.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-DKdgmMHQ-KMb42RR1.js";import{T as Ie}from"./MailingDetailsSection-CJhcwaGu-DgdtnVpz.js";import{S as Pe}from"./CurrencySelectField-B3AvTbkp-B96ZkEh4.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-BMdJsw3x-CaLfz9Ol.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new 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=Y(),{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(Q,{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-Dr7k10Ge.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B441GUkh-D_QVeJ7p.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-DKdgmMHQ-Df__wM_b.js";import"./MailingDetailsSection-CJhcwaGu-BAyX38PR.js";import"./LabeledAddressValueField-BMdJsw3x-CnFfe2I5.js";import"./MagicLinkTitleSection-CCjLimcL-Ip3y0PNU.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-CEwYV-nF.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B441GUkh-DTa4rnLB.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-DKdgmMHQ-KMb42RR1.js";import"./MailingDetailsSection-CJhcwaGu-DgdtnVpz.js";import"./LabeledAddressValueField-BMdJsw3x-CaLfz9Ol.js";import"./MagicLinkTitleSection-CCjLimcL-D5Get_gS.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};