@zeniai/web-cockpit-ui 1.13.92-dev → 1.13.92-prod

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-DSxVnTLA-DXaPhpBb.js → ACHDetailsPage-DSxVnTLA-DQ5hyRPZ.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpJmdFIS-DdYjoAnf.js → AIPerformancePage-DpJmdFIS-v3w0n1_t.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-UxE6vaxM-CTCDVeHj.js → AccountInfoPage-UxE6vaxM-BKC2rl6V.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B8luWP8D-BvO-xoVa.js → AccountInfoPageContent-B8luWP8D-D_9Ih9aO.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CRuSLa04-C6RSAAh5.js → AccountReconDetailsDrawerPage-CRuSLa04-D-K1ZLZ6.js} +1 -1
  6. package/dist/assets/{AccountRow-DVnBiB7_-BUb357r1.js → AccountRow-DVnBiB7_-J44FakMX.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-oPvi6hmo-Cb1NCYmc.js → AccountsPromoCardStack-oPvi6hmo-OA0s77-O.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-Bl8FShie-B0Exe6lR.js → AddAddressForCardDrawer-Bl8FShie-i1WSnUQT.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-BykgUTfa-Cb4sl07y.js → AddToWalletPage-BykgUTfa-BDdyLcOr.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-CtpuS77Y-CRkQ2tHo.js → AgingReportsPage-CtpuS77Y-DtZ2PXub.js} +1 -1
  11. package/dist/assets/{AllUserItems-zqRosy03-ampV7sMY.js → AllUserItems-zqRosy03-Cs4csIlw.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-B4dHhJE1-DX7CQmyB.js → ApAgingDetailPage-B4dHhJE1-DD149xB0.js} +1 -1
  13. package/dist/assets/{AppBasePage-ntAldChd-Da_5AGnO.js → AppBasePage-ntAldChd-CqmvMW4d.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-LRG0OW3a-BgVe2pK0.js → AppDrawerContent-LRG0OW3a-D-Uu_dh-.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-CFCbNOcB-CE0uOkBi.js → ApprovalRulesSettingsPage-CFCbNOcB-DqUDrXZ1.js} +1 -1
  16. package/dist/assets/{ArAgingChart-BmfMCB8_-Bg3m3QlY.js → ArAgingChart-BmfMCB8_-DmvBDcyM.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-C2lhYsGV-BhHfiwwM.js → ArAgingDetailPage-C2lhYsGV-C5rZDRGB.js} +1 -1
  18. package/dist/assets/{AttachmentView-CQlsMYN3-DG4dPEyp.js → AttachmentView-CQlsMYN3-DzTpPq3-.js} +1 -1
  19. package/dist/assets/{BankAccountSection-D1tQzNSO-piXQT6-V.js → BankAccountSection-D1tQzNSO-C_sKIdwB.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js → BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-UQAJXShM-C8thl88u.js → BankConnectionsSettingsPage-UQAJXShM-Qhq0Pgu1.js} +1 -1
  22. package/dist/assets/{BillDetailPage-BOy1MkMT-CTieBS_0.js → BillDetailPage-BOy1MkMT-DxTJJg4k.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C7c04fyW-D_3vBsw2.js → BillPayApprovalRuleDetailPage-C7c04fyW-DVLpyOTC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-D7vn36vA-CcaFc_r3.js → BillPayApprovalRulesPage-D7vn36vA-CMpZz5F0.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-VCQ0v0Ko-_chCPS2P.js → BillPayPromoPage-VCQ0v0Ko-xduBQZLD.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-MD1PbTMB-DAVLcuLh.js → BillPaySetUpPage-MD1PbTMB-C2K6g1vr.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-B0U9RKLC-CSDiDt5p.js → BillingSettingsPage-B0U9RKLC-xDKZksR_.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CStmvhgL-CRjbCjmC.js → BillsBulkReviewDrawerPage-CStmvhgL-Dbr4Aj-D.js} +1 -1
  29. package/dist/assets/{BoxItem-D3v5T6bP-DCh7smhZ.js → BoxItem-D3v5T6bP-BOLCnSeA.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BIba2-zs-BbKHm-00.js → BusinessVerificationPage-BIba2-zs-DYcAve60.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-DoWj5vAy-CUdY7eYA.js → CardNumberSubText-DoWj5vAy-UIXS_891.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-CPz0J2HA-mlCo9BqT.js → CashbackDetailPage-CPz0J2HA-6i9rTXwB.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-DxE5h1S5-_Ar3evhS.js → ChargeCardDetailPage-DxE5h1S5-DoqsPVXx.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-fXayrykw-DfSXe2y4.js → ChargeCardListPage-fXayrykw-D_Av_aTf.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-C-WxFg6W-ZTAQI24j.js → ChargeCardListTable-C-WxFg6W-DaGBsMkN.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-CiwWzvym-CQS1Kn9Z.js → ChargeCardPromoPage-CiwWzvym-mX5HHnvt.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-ByLkUH5I-CAqoYnxa.js → ChargeCardSetupPage-ByLkUH5I-CkMXps05.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-Dsv5AXrZ-DLsXp3ds.js → ChargeCardStatementsPage-Dsv5AXrZ-DSUPLibI.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CVC43_6w-DTPKdzGf.js → ChargeCardUtils-CVC43_6w-CF1lXmY5.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CHWBgNa9-BGn2Q_2a.js → ChaseOverlay-CHWBgNa9-BopXJjvt.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DySu5_BH-zAFSAP0i.js → CheckDepositDrawerPage-DySu5_BH-C-eiJPK5.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-ZObwzBbY-BfOvomCm.js → CollapsableReportTable-ZObwzBbY-BysjoVFa.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVG0lvX--Dfy9v0Wy.js → CompanyOfficerDetailsSection-DVG0lvX--DVsfgUwx.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DBZRV0g0-BA5CzU7Q.js → CompanyPassportCard-DBZRV0g0-BbdPQsC4.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-BoaNol0L-DnxxOJfB.js → CompanyPassportPage-BoaNol0L-BoQuDw9B.js} +1 -1
  46. package/dist/assets/{CompleteProfile-nkRKLJTF-D06O2tPg.js → CompleteProfile-nkRKLJTF-Criq8Ljm.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BYoGZ66F-DY-7GLNq.js → ConfettiBurst-BYoGZ66F-BF6awnnE.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C1Yx8t4M-BzNtZfYl.js → CreateOrEditVendorPage-C1Yx8t4M-Cm2ZBJu1.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DlnR16jr-Cp09nlhb.js → CreditCardPaymentDrawerPage-DlnR16jr-B4-3qddP.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js → CreditCardPaymentPlgSection-CZ2vyMiF-Dv-Vc4T9.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-vH1oB0K8-B5AHvAUJ.js → CurrencySelectField-vH1oB0K8-wHe9UTtT.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-rpZmgNZo-CwICpwxp.js → CustomerOnboardingActivationPage-rpZmgNZo-yoY6ZZPd.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-Bgtk1o5G.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CFIeHxxw-SHM_Ui8B.js → CustomerOnboardingDetailPageSkeleton-CFIeHxxw-Ch_NCmop.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BueMiyFl-46-BK9fl.js → CustomerOnboardingNoStepsPage-BueMiyFl-Be70Dm6Q.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CmHXtB9v-BJU0moTi.js → CustomerOnboardingPage-CmHXtB9v-N2UU7_FI.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-I9pftf_j-DOK-Bf5L.js → CustomerOnboardingProductSuitePage-I9pftf_j-Cq5FoNJf.js} +1 -1
  58. package/dist/assets/{Dashboard-DcfkiicK-D3UJUCYb.js → Dashboard-DcfkiicK-Cm9EkmBL.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-B7J8yZR6-B09J8zzA.js → DashboardReportPage-B7J8yZR6-mwifnpEI.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CP_2AL3M-BdaPu6PV.js → DepositAccTransactionItem-CP_2AL3M-BUfk_EHJ.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-C4o1y1mJ-KyIyoawm.js → DepositAccTransactionListPage-C4o1y1mJ-BCGYl-3q.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js → DocumentSecurityBanner-C5w0d_S8-7kR46baw.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-t0Ebo518-CZtrAoDV.js → DomesticWireDetailsPage-t0Ebo518-DcWosEiy.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CPW9ebxu-B84vZ8Vf.js → DownloadOverlay-CPW9ebxu-CBIAqpEI.js} +1 -1
  65. package/dist/assets/{DrawerPage-Xc2rQipJ-CbzWMzby.js → DrawerPage-Xc2rQipJ-vAGShlns.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CF5UleI0-DHfURipS.js → EditPeoplePage-CF5UleI0-IR4jULIP.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DGCkOykv-BxliJYVA.js → EditReimbursementDetailPage-DGCkOykv-CxbUxJWC.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-BykQZo8S-TLciQOdt.js → EntityDetailPage-BykQZo8S-BxO8SQOK.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-Dw4PBcg_-D8XPKjkN.js → EntitySummarySection-Dw4PBcg_-Bj_myq1U.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BwAaZVq3-DULdspcH.js → ExpenseAutomationOverviewPage-BwAaZVq3-Dh0_-ULP.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Cqiyk-AY-Cbn2hM3p.js → ExpenseAutomationPage-Cqiyk-AY-2jDbqfUl.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-D0lCczvw-DeekuCPU.js → ExpressPayPage-D0lCczvw-BKP2pyII.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CxZIUB8l-xGc8umN-.js → FeaturePreviewPage-CxZIUB8l-DOVVe0bn.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CILr1_vc-DOHzLCEi.js → FollowStepsSection-CILr1_vc-CyBQiJEA.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DL6H7PZG-CcFAQ4Jd.js → GlobalReviewListPage-DL6H7PZG-C2ENZA8V.js} +1 -1
  76. package/dist/assets/{HelpButton-CkSfhBfN-BCuT-w0J.js → HelpButton-CkSfhBfN-l0ZmaZgI.js} +1 -1
  77. package/dist/assets/{InformationCardStack-i76c5dym-B_ZpROXq.js → InformationCardStack-i76c5dym-B2hRo2sD.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-wcWhovKK-DSw729j8.js → InsightsCardStack-wcWhovKK-D5i-CS8Q.js} +1 -1
  79. package/dist/assets/{InsightsSection-CCzgI0uK-wk2msd_s.js → InsightsSection-CCzgI0uK-YzyDaTgw.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-B2CDE2Xd-D7F50RmA.js → IntegrationsSettingsPage-B2CDE2Xd-DdpGmyZ0.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DNT75nXv-Ugsofr3W.js → InternationalWireSwiftDetailsPage-DNT75nXv-DPS5Vbqb.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BDxujQK--CFeRgIkU.js → InternationalWireVerificationPage-BDxujQK--DSmITxMC.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BnLBPR7X-QQpB8eQo.js → InviteFormPage-BnLBPR7X-BUgP_pam.js} +1 -1
  84. package/dist/assets/{InvitePageListView-7mhz_Fyy-D6doua_f.js → InvitePageListView-7mhz_Fyy-DsAbeFJv.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-B8gb9N_8-DX1GZlvh.js → InvitePeoplePage-B8gb9N_8-CpTkSYzD.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-Bes1nCJn-Be4DogKt.js → InvoiceUploadSection-Bes1nCJn-CI5aLm07.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-DC3yIsQd-D0BAohGU.js → IssueChargeCardPage-DC3yIsQd-DaEy5Twd.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-Dtw8vM0g-D81z6ltq.js → LabeledAddressValue-Dtw8vM0g-BatSanO0.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js → LabeledAddressValueField-D72yUpQl-EukAFw0M.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFaru2xf-AfZiR_o0.js → LabeledControlledCheckBoxField-BFaru2xf-BBWtrziO.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js → LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-aYYBY16j-D9fngETw.js → LabeledDocumentField-aYYBY16j-DiHUA7gr.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-Co7u6hHL-Cpugeu34.js → LabeledDropDownFormattedTextField-Co7u6hHL-xLKIGiNZ.js} +1 -1
  94. package/dist/assets/{LabeledText-BrOLGzO5-CQVuQAJd.js → LabeledText-BrOLGzO5-DZaVXgIe.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8_Gy80w.js → LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8D7YUkE.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-WXH8xLJq-Bz0_UVs1.js → LabeledZeniRolesDropDownField-WXH8xLJq-qoydEE07.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-NFV4Vo3i-Dh75sd9Q.js → LinkJETransactionPage-NFV4Vo3i-BI2YmfkU.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-Bxkd2pBR-DnLeMaGm.js → LowBalancePopup-Bxkd2pBR-_OwRs2WF.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-BJFlUq7i-CR2iAlWE.js → MagicLinkACHDetailsPage-BJFlUq7i-Dpmq3H_6.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTuaNol6-CwHBeiVQ.js → MagicLinkDomesticWireDetailsPage-CTuaNol6-DcoGcITs.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-L2dPsfWM-jS2Sj2EL.js → MagicLinkInternationalWireDetailsPage-L2dPsfWM-EuAyHUTS.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DutanrSJ-BcHGJ4_T.js → MagicLinkSuccessPage-DutanrSJ-M6t2IhUS.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js → MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DwWeiSC0-CYpVyPYc.js → MailingDetailsSection-DwWeiSC0-D_M7IxPH.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js → MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js} +1 -1
  106. package/dist/assets/{Menu-CrSQ1yNo-Cx3bEBb1.js → Menu-CrSQ1yNo-Bv-dHYqs.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CJjW9ymP-BqJ36Kdj.js → MyBankConnectionsSettingsPage-CJjW9ymP-CrHV2cpA.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CvxqOjc7-DSUp87U3.js → MyPendingActivationChargeCardListPage-CvxqOjc7-CtBP8g1r.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BX5dXulH-rLCsz38p.js → MyProfileSettingsPage-BX5dXulH-Dfifbw5G.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CuVAj7o5-QRyCYrfU.js → NavBarWithPicker-CuVAj7o5-CEGVfhrc.js} +1 -1
  111. package/dist/assets/{NavigationArrow-BPQ9vRqR-CA2ua3KM.js → NavigationArrow-BPQ9vRqR-CplDa_T1.js} +1 -1
  112. package/dist/assets/{NavigationDots-Toh5TKEv-D4TuvGNx.js → NavigationDots-Toh5TKEv-CA0n9HQq.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B4r1haCm-V82_isUI.js → NewGlobalMerchantPage-B4r1haCm-BkdFCE3S.js} +1 -1
  114. package/dist/assets/{NoDataChart-CVM-QPHf-C-oyhVAy.js → NoDataChart-CVM-QPHf-C9B0uxva.js} +1 -1
  115. package/dist/assets/{NoDataTable-CM-tApqo-CD71WwmK.js → NoDataTable-CM-tApqo-BFJr-jl2.js} +1 -1
  116. package/dist/assets/{NotFoundPage-I-EBmx2b-H5l_OBUP.js → NotFoundPage-I-EBmx2b-CdYXt2jJ.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CtZ7hdMN-D-_tIuJn.js → NotificationSettingsPage-CtZ7hdMN-DWIPkxdy.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-BAKipCDG-DNDbmhPU.js → NotificationsListConfig-BAKipCDG-B8nCR-af.js} +1 -1
  119. package/dist/assets/{NotificationsPage-xyLmK3l7-D0WoPK5r.js → NotificationsPage-xyLmK3l7-Clly1YOz.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B63DEuJM-BARCJc78.js → OpExByVendorPage-B63DEuJM-pkzuBzfO.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BDWmQRwQ.js → OverlayContainerPage-C0rUb6-5-BJTXz7EF.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-uY-ajYp4-Lez30LQU.js → PandLWithForecastPage-uY-ajYp4-U3FMr0Xz.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js → PaymentAccountSetupBillingAddressSection-DM9NYbmX-CPcRwkU8.js} +1 -1
  124. package/dist/assets/{PeoplePage-DPZj6XeQ-87NclcP_.js → PeoplePage-DPZj6XeQ-Uf9hTrMZ.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-De56plDa-D_5OdoiP.js → PortfolioAllocationFormPage-De56plDa-C7xgHS3E.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-DiITguNZ-C9ff3dxU.js → PortfolioDetails-DiITguNZ-cyxUfNyR.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-BojgZxY7-C7ixhh1B.js → ProductsCarousel-BojgZxY7-DdyXJr2w.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-DPAkjdDp-BSbN47iG.js → PromoBaseCards-DPAkjdDp-BGlT4RI_.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-CzuH4c1o-CmxBeQPY.js → QBOConnectionDialog-CzuH4c1o-C7pXVe4U.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-DJBfLeXn-CaDVg5Hs.js → QBOSetupSection-DJBfLeXn-n3W_hKe8.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CAcLCt68-CHZOZjbd.js → ReimbursementApprovalRuleDetailPage-CAcLCt68-z_TSwQVX.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-edz_6MDX-C6mJ2DuI.js → ReimbursementApprovalRulesPage-edz_6MDX-BBQCU7zZ.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-DD_GbfiV-DO_TXxDc.js → ReimbursementDetailPage-DD_GbfiV-Br_JM6Bl.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-B_HZWdXi-ujWpRxU3.js → ReimbursementPromoPage-B_HZWdXi-BTiGgxO3.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-C0SNbg5D-CMixW-_k.js → ReimbursementSetUpPage-C0SNbg5D-B3aU2e8W.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-NOK5jPjr-DI2xKDYj.js → ReimbursementsBulkReviewDrawerPage-NOK5jPjr-Cia2ZDC0.js} +1 -1
  137. package/dist/assets/{ReloadCard-CqyGWGqs-B2pPTz9i.js → ReloadCard-CqyGWGqs-_YURCGpq.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-B8ZW0kxU-_1sW9OpN.js → ReportTableViewSelector-B8ZW0kxU-8Kw8Bgrt.js} +1 -1
  139. package/dist/assets/{ReportsPage-DdqQgvJt-pEgVGJHX.js → ReportsPage-DdqQgvJt-ChJzejj9.js} +1 -1
  140. package/dist/assets/{RevenueChart-QoBLII7z-Brgj42T7.js → RevenueChart-QoBLII7z-BxG5kvro.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BVoI7xF7--oTVBYBc.js → ReviewDetailsPage-BVoI7xF7-BZLZQS7P.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-CbpylyCx-CRT_fGNL.js → ReviewOverlay-CbpylyCx-DaZFUH7Y.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-TxLTa63q-S46u0htc.js → RoleWithToolTip-TxLTa63q-h_h2zj3V.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CuwxZJjj-CbljEJHF.js → ScheduleDetailsFixedAssetsPage-CuwxZJjj-DGJYOl0Z.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-u0VNz7hA-DBA6XeYX.js → ScheduleDetailsPage-u0VNz7hA-BXvUVAFs.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-usJjTfAn-CsILXb5x.js → ScheduleSequenceTable-usJjTfAn-BVSbI8s8.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-DfucM-A_.js → ScreenRoutes-CSiIYQhL.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DDe06VBR--XDyyAq7.js → SetUpAccountSection-DDe06VBR-B9IJiM9A.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js → SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js} +1 -1
  150. package/dist/assets/{SignIn-BdhV8PbY-BEcS89H3.js → SignIn-BdhV8PbY-BtAifhPi.js} +1 -1
  151. package/dist/assets/{SignInScreen-CQe6jUnb.js → SignInScreen-Bz8feu1F.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DNgC__pX-CtNBT1Yc.js → SpendManagementListViewPage-DNgC__pX-B532HqYI.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BkiWOMch-DNxdfM54.js → SpendManagementPerTabPage-BkiWOMch-DQ0tV62-.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-DuR3sx7V-wtusVJD4.js → SpendManagementSection-DuR3sx7V-CT7Uld_h.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DoUKX4Sf-BWt9unUe.js → SpendMgmtSetupAccountSection-DoUKX4Sf-BldIeqnn.js} +1 -1
  156. package/dist/assets/{StatementItem-VYK0Vtgt-CDJF9Bdy.js → StatementItem-VYK0Vtgt-Bk5BgCtg.js} +1 -1
  157. package/dist/assets/{StatementsPage-CLxned7l-kbRne1uO.js → StatementsPage-CLxned7l-BhLZL60e.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-Jqpvk1VX-KiHu5pz2.js → StatusSwitcher-Jqpvk1VX-xLUVqT6G.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-C7_JB54g-TfIjK1e4.js → SubTabSwitcher-C7_JB54g-CphEJgto.js} +1 -1
  160. package/dist/assets/{SummaryCard-oqK_zyxl-DP8NWbIJ.js → SummaryCard-oqK_zyxl-CPgSyc_4.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BDOhB7Ny-0hkaxI_I.js → TaskManagementPage-BDOhB7Ny-BBdO0DDz.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-AWKZ7PNb-CoqhGH2B.js → TimeRangeSwitcher-AWKZ7PNb-JsWizZnK.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-BlL5woGb-Cmk__EzQ.js → TimeframeSwitcher-BlL5woGb-CYQePLIH.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-CRnWI6xW-CcO9Smot.js → TimeframeSwitcherWithToggle-CRnWI6xW-C86KiNGD.js} +1 -1
  165. package/dist/assets/{TopExCard-B4T3kqhZ-Boo9L6AS.js → TopExCard-B4T3kqhZ-5leQC_es.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-Cx9T3i9O-Dego-R-_.js → TopExDetailPage-Cx9T3i9O-BUFgQydG.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CAGxHcQ9-D2MX0HZx.js → TransactionDetailPage-CAGxHcQ9-DAEh18Kl.js} +1 -1
  168. package/dist/assets/{TransactionList-CVrK_-YB-DNCdrvzR.js → TransactionList-CVrK_-YB-CzryXgTg.js} +1 -1
  169. package/dist/assets/{TransactionListBig-BnI6EofP-_rQrLZ8Q.js → TransactionListBig-BnI6EofP-CiyZQoDY.js} +1 -1
  170. package/dist/assets/{TransactionListPage-vK6DdhrP-BFxBj0Xu.js → TransactionListPage-vK6DdhrP-DT6k2g4T.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-IyAfkyMv-DMgJng31.js → TransactionVendorDetailPage-IyAfkyMv-lNTZZabw.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-Bp0TG8fm-BrYG-dvh.js → TransferDrawerPage-Bp0TG8fm-CznoIWIM.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-Cr1liTpc-DUvbI9m6.js → TreasuryOverviewPage-Cr1liTpc-Cd33lmI2.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-Da7l7gv8-BI2e-RBa.js → TreasuryPromoPage-Da7l7gv8-CKMiHpr6.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-DLNsPnS8-CsV7YDNa.js → TreasurySetupPage-DLNsPnS8-CDmeA1e-.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-CNXxykvB-Xo9bsOcj.js → TreasuryStatementsPage-CNXxykvB-CuoSCyX7.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-DUbt8ItG-Bx6VQjMk.js → TreasuryTaxLetterPage-DUbt8ItG-CFIrAIuu.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-qxabbCrK-Cn6E59-e.js → TreasuryTransferOrReviewPage-qxabbCrK-NTQJ00iK.js} +1 -1
  179. package/dist/assets/{TrendChart-SOAxSpv2-C2I66UL7.js → TrendChart-SOAxSpv2-DgR01mAM.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BSQ2TJvu-CXRyOB__.js → TrendWithTransactions-BSQ2TJvu-C2vH4bQx.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Caf242zp-C8p8QWva.js → UncategorizedAccountsMappingPage-Caf242zp-VGuE3thQ.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-Bvc4wx_r-CxpS2DzG.js → UnitIntegrationPage-Bvc4wx_r-B7he8exM.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BTEhwmVL-Bv1cJYiQ.js → UploadAdditionalDocumentOverlay-BTEhwmVL-C4lSvPpB.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DimcegQ_-DbqY7M5C.js → Vendor2FAPopup-DimcegQ_-WnSXqrLw.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BOIRRgCy-3ls1AaMO.js → VendorACHDetailsPage-BOIRRgCy-UgegopbT.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CWcqMMpT-CUN694wM.js → VendorDetailPage-CWcqMMpT-9VL32fGD.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-9C2CIkhB-CIWMgQrd.js → VendorDomesticWireDetailsPage-9C2CIkhB-ZF2CrFpl.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Crz_WLRG-C1B5bpoY.js → VendorFiling1099EditablePage-Crz_WLRG-BF546nfl.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-hQ0U61KD-DXRFO6yh.js → VendorFirstReviewPage-hQ0U61KD-C9g--4mo.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-mm1qIXTf-CIqQKpow.js → VendorInternationalWireDetailsPage-mm1qIXTf-BLxRn49M.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaOsJGNO-DJWhQcKK.js → VendorInternationalWireSwiftDetailsPage-BaOsJGNO-BH9lf0Lb.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CGbDIAMd-CpNcTh0l.js → VendorsAccountsSection-CGbDIAMd-ym1H8Uh3.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-7DzlUfv7-BkCPq2fE.js → WarningsDrawerPage-7DzlUfv7-BKqLm7L1.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-B_U4d2iv-CeotXzaF.js → ZeniAccountDetailPage-B_U4d2iv-BManRlon.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-C2Yej3tG-5nEB_ziW.js → ZeniAccountListViewPage-C2Yej3tG-BD_IZ5aS.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-DsWyZL7N-DfzfZF8w.js → ZeniAccountNavBarPieces-DsWyZL7N-D5tOjgeX.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-D6S3o6xA-Bi4N8dmb.js → ZeniAccountPromoPage-D6S3o6xA-B-4D3zUQ.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-YpW9LEB1-BJ2MLgxE.js → ZeniAccountSetupPage-YpW9LEB1-DY1tJUjA.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-Buv4_0jF-CqCj0NE5.js → ZeniCopyright-Buv4_0jF-BUJ7afxM.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CvuOgkEg-CuXG6PC2.js → ZeniTransferAmountSlider-CvuOgkEg-D9otBk72.js} +1 -1
  201. package/dist/assets/{analyticsHelper-B3QVnfWf-Ii66sXHH.js → analyticsHelper-B3QVnfWf-Cfyqi3Js.js} +1 -1
  202. package/dist/assets/{analyticsHelper-ej1xHeXQ.js → analyticsHelper-RWvozMVr.js} +1 -1
  203. package/dist/assets/{chartTypes-DYAHlgKd-DnqAO3Rp.js → chartTypes-DYAHlgKd-H1smi7OR.js} +1 -1
  204. package/dist/assets/{commonDimensions-Pkc8qIrn-B-bjjlb8.js → commonDimensions-Pkc8qIrn-CnS_lHb5.js} +1 -1
  205. package/dist/assets/{detailCommon-CsukAL3T-lIItUxyr.js → detailCommon-CsukAL3T-BWIfVtAp.js} +1 -1
  206. package/dist/assets/{downloadPdf-DlKRXI5W-DoYYMEWD.js → downloadPdf-DlKRXI5W-OJRqS6Ne.js} +1 -1
  207. package/dist/assets/{index-DEtloYMb.js → index-BFn0iyzF.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-KYsp1YPe-CdYtsyMK.js → mapLoadingInProgressToTreeNode-KYsp1YPe-CLN9qM8e.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-t5fK12Uc-CbMkSgtE.js → mapSectionWithAcOnlyToTreeNode-t5fK12Uc--riMsIoZ.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-1YBqnFwa-K_d13sRq.js → mapSpacerToTreeNode-1YBqnFwa-BUbNWLck.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD1v-gTG-9n0fkm_w.js → mapTimeframeBalancesToTreeNode-DD1v-gTG-CsfVJjJT.js} +1 -1
  212. package/dist/assets/{play-icon-19dLaWkG-CvLTbZAK.js → play-icon-19dLaWkG-Dp_fy0nZ.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-B8NxsLlK-741DYvDg.js → toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js} +1 -1
  214. package/dist/assets/{toChartData-CxZEcdj_-B9fAXWHm.js → toChartData-CxZEcdj_-BYbG-aHT.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BqwCUN2u-C54KKUXs.js → treasuryColorHelper-BqwCUN2u-X_XE57yN.js} +1 -1
  216. package/dist/assets/{uploadAttachment-CHFo3qZI-fjIbqTID.js → uploadAttachment-CHFo3qZI-V-zea-FO.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-BUbqoJXB.js → uploadReceipts-Buvz7DfG-C9miDyXe.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +1 -1
  220. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-a_kK-7zZ.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-DEtloYMb.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{w as L}from"./downloadPdf-DlKRXI5W-DoYYMEWD.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-BFn0iyzF.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{w as L}from"./downloadPdf-DlKRXI5W-OJRqS6Ne.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-DEtloYMb.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{o as B}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";import{O as E}from"./StatementItem-VYK0Vtgt-CDJF9Bdy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-DoYYMEWD.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 k=v(),l=z(),$=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:k.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:$,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-BFn0iyzF.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{o as B}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";import{O as E}from"./StatementItem-VYK0Vtgt-Bk5BgCtg.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-OJRqS6Ne.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 k=v(),l=z(),$=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:k.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:$,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-DEtloYMb.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-BFn0iyzF.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-DEtloYMb.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-BFn0iyzF.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-DEtloYMb.js";import{E as n,T as t}from"./ReloadCard-CqyGWGqs-B2pPTz9i.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-BFn0iyzF.js";import{E as n,T as t}from"./ReloadCard-CqyGWGqs-_YURCGpq.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{y as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as V,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 Ht,j1 as Vt,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-DEtloYMb.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-DuR3sx7V-wtusVJD4.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BAKipCDG-DNDbmhPU.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DNgC__pX-CtNBT1Yc.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-Jqpvk1VX-KiHu5pz2.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{y as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as V,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 Ht,j1 as Vt,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-BFn0iyzF.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-DuR3sx7V-CT7Uld_h.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BAKipCDG-B8nCR-af.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DNgC__pX-B532HqYI.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-Jqpvk1VX-xLUVqT6G.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,H as j,dg as D,aL as V,o as a,v as q}from"./index-DEtloYMb.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-ZObwzBbY-BfOvomCm.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,H as j,dg as D,aL as V,o as a,v as q}from"./index-BFn0iyzF.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-ZObwzBbY-BysjoVFa.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-DEtloYMb.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-BFn0iyzF.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-DEtloYMb.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-BlL5woGb-Cmk__EzQ.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-BFn0iyzF.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-BlL5woGb-CYQePLIH.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{H as V,X as _,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 H,bl as q,_ as G,l as J,U as X,o as p,v as L,as as Y,t as F,M as A,V as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-DEtloYMb.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-CqyGWGqs-B2pPTz9i.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
1
+ import{H as V,X as _,j as t,u as f,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 H,bl as q,_ as G,l as J,U as X,o as p,v as L,as as Y,t as F,M as A,V as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-BFn0iyzF.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-CqyGWGqs-_YURCGpq.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,D 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-DEtloYMb.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-B4T3kqhZ-Boo9L6AS.js";import{b as L}from"./TimeframeSwitcher-BlL5woGb-Cmk__EzQ.js";import{d as O}from"./NoDataTable-CM-tApqo-CD71WwmK.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-CqyGWGqs-B2pPTz9i.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,D 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-BFn0iyzF.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-B4T3kqhZ-5leQC_es.js";import{b as L}from"./TimeframeSwitcher-BlL5woGb-CYQePLIH.js";import{d as O}from"./NoDataTable-CM-tApqo-BFJr-jl2.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-CqyGWGqs-_YURCGpq.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 Vt,dL as Ao,dM as Ro,c3 as Vo,H 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 V,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,R 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,D 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,A 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-DEtloYMb.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-BFaru2xf-AfZiR_o0.js";import{R as kn}from"./TrendWithTransactions-BSQ2TJvu-CXRyOB__.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-CHFo3qZI-fjIbqTID.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-SOAxSpv2-C2I66UL7.js";import"./chartTypes-DYAHlgKd-DnqAO3Rp.js";import"./toCOABalancesWithID-B8NxsLlK-741DYvDg.js";import"./toChartData-CxZEcdj_-B9fAXWHm.js";import"./NoDataChart-CVM-QPHf-C-oyhVAy.js";import"./InsightsSection-CCzgI0uK-wk2msd_s.js";import"./NavigationDots-Toh5TKEv-D4TuvGNx.js";import"./TransactionList-CVrK_-YB-DNCdrvzR.js";import"./BoxItem-D3v5T6bP-DCh7smhZ.js";import"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
1
+ import{u as jt,a as zo,X as Z,M as N,a5 as Vt,dL as Ao,dM as Ro,c3 as Vo,H 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 V,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,R 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,D 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,A 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-BFn0iyzF.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-BFaru2xf-BBWtrziO.js";import{R as kn}from"./TrendWithTransactions-BSQ2TJvu-C2vH4bQx.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-CHFo3qZI-V-zea-FO.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-SOAxSpv2-DgR01mAM.js";import"./chartTypes-DYAHlgKd-H1smi7OR.js";import"./toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js";import"./toChartData-CxZEcdj_-BYbG-aHT.js";import"./NoDataChart-CVM-QPHf-C9B0uxva.js";import"./InsightsSection-CCzgI0uK-YzyDaTgw.js";import"./NavigationDots-Toh5TKEv-CA0n9HQq.js";import"./TransactionList-CVrK_-YB-CzryXgTg.js";import"./BoxItem-D3v5T6bP-BOLCnSeA.js";import"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Nn=l(he)`
4
4
  margin-right: ${n.sp1};
@@ -1,4 +1,4 @@
1
- import{X as O,j as e,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-DEtloYMb.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{o as N}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.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-BFn0iyzF.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{o as N}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.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,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as w,q as n,r as ae,g as B,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,D as G,aN as X,a9 as ee}from"./index-DEtloYMb.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-oPvi6hmo-Cb1NCYmc.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-oqK_zyxl-DP8NWbIJ.js";import"./ReloadCard-CqyGWGqs-B2pPTz9i.js";import"./NavigationArrow-BPQ9vRqR-CA2ua3KM.js";import"./NavigationDots-Toh5TKEv-D4TuvGNx.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as w,q as n,r as ae,g as B,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,D as G,aN as X,a9 as ee}from"./index-BFn0iyzF.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-oPvi6hmo-OA0s77-O.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-oqK_zyxl-CPgSyc_4.js";import"./ReloadCard-CqyGWGqs-_YURCGpq.js";import"./NavigationArrow-BPQ9vRqR-CplDa_T1.js";import"./NavigationDots-Toh5TKEv-CA0n9HQq.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-DEtloYMb.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-CVrK_-YB-DNCdrvzR.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-D3v5T6bP-DCh7smhZ.js";import"./commonDimensions-Pkc8qIrn-B-bjjlb8.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-BFn0iyzF.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-CVrK_-YB-CzryXgTg.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-D3v5T6bP-BOLCnSeA.js";import"./commonDimensions-Pkc8qIrn-CnS_lHb5.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 r,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-DEtloYMb.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
1
+ import{X as H,M as A,j as o,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 r,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-BFn0iyzF.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,X as de,Y as 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-DEtloYMb.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CvuOgkEg-CuXG6PC2.js";import{r as At}from"./AccountInfoPageContent-B8luWP8D-BvO-xoVa.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-DoYYMEWD.js";import"./commonDimensions-Pkc8qIrn-B-bjjlb8.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-BFn0iyzF.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CvuOgkEg-D9otBk72.js";import{r as At}from"./AccountInfoPageContent-B8luWP8D-D_9Ih9aO.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-OJRqS6Ne.js";import"./commonDimensions-Pkc8qIrn-CnS_lHb5.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 Fe,C as u,cO as _,Q as B,l as V,q as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Ve,bf as Le,a9 as Me,y 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-DEtloYMb.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";import{g as me}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{l as se,d as xt}from"./treasuryColorHelper-BqwCUN2u-C54KKUXs.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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 Fe,C as u,cO as _,Q as B,l as V,q as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Ve,bf as Le,a9 as Me,y 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-BFn0iyzF.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";import{g as me}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{l as se,d as xt}from"./treasuryColorHelper-BqwCUN2u-X_XE57yN.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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,y as xe,d3 as we,a5 as $e,l as fe,M as F,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 V,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-DEtloYMb.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js";import{l as Re}from"./treasuryColorHelper-BqwCUN2u-C54KKUXs.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-DThoELaW.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=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(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,y as xe,d3 as we,a5 as $e,l as fe,M as F,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 V,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-BFn0iyzF.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js";import{l as Re}from"./treasuryColorHelper-BqwCUN2u-X_XE57yN.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-DThoELaW.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=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(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-DEtloYMb.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-CkSfhBfN-BCuT-w0J.js";import{Y as pt}from"./LabeledDocumentField-aYYBY16j-D9fngETw.js";import{P as mt}from"./DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js";import{p as ft}from"./SpendMgmtSetupAccountSection-DoUKX4Sf-BWt9unUe.js";import gt from"./PortfolioAllocationFormPage-De56plDa-D_5OdoiP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js";import"./ChargeCardUtils-CVC43_6w-DTPKdzGf.js";import"./CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js";import"./ChaseOverlay-CHWBgNa9-BGn2Q_2a.js";import"./PortfolioDetails-DiITguNZ-C9ff3dxU.js";import"./treasuryColorHelper-BqwCUN2u-C54KKUXs.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-BFn0iyzF.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-CkSfhBfN-l0ZmaZgI.js";import{Y as pt}from"./LabeledDocumentField-aYYBY16j-DiHUA7gr.js";import{P as mt}from"./DocumentSecurityBanner-C5w0d_S8-7kR46baw.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js";import{p as ft}from"./SpendMgmtSetupAccountSection-DoUKX4Sf-BldIeqnn.js";import gt from"./PortfolioAllocationFormPage-De56plDa-C7xgHS3E.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js";import"./ChargeCardUtils-CVC43_6w-CF1lXmY5.js";import"./CreditCardPaymentPlgSection-CZ2vyMiF-Dv-Vc4T9.js";import"./ChaseOverlay-CHWBgNa9-BopXJjvt.js";import"./PortfolioDetails-DiITguNZ-cyxUfNyR.js";import"./treasuryColorHelper-BqwCUN2u-X_XE57yN.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-DEtloYMb.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{o as B}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";import{O as E}from"./StatementItem-VYK0Vtgt-CDJF9Bdy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-DoYYMEWD.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-BFn0iyzF.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{o as B}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";import{O as E}from"./StatementItem-VYK0Vtgt-Bk5BgCtg.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-OJRqS6Ne.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-DEtloYMb.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{o as R}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";import{O as B}from"./StatementItem-VYK0Vtgt-CDJF9Bdy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-DoYYMEWD.js";const p=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(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.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``,m=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-BFn0iyzF.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{o as R}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";import{O as B}from"./StatementItem-VYK0Vtgt-Bk5BgCtg.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-OJRqS6Ne.js";const p=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(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.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``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as ge,H as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as He,a7 as Ue,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 Je,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-DEtloYMb.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-DiITguNZ-C9ff3dxU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-BqwCUN2u-C54KKUXs.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(Jt,{sliderValue:s,children:[o.jsx(Ut,{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:Ht(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%"}},Ht=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=r.input`
1
+ import{X as ge,H as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as He,a7 as Ue,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 Je,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-BFn0iyzF.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-DiITguNZ-cyxUfNyR.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-BqwCUN2u-X_XE57yN.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(Jt,{sliderValue:s,children:[o.jsx(Ut,{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:Ht(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%"}},Ht=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=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-DEtloYMb.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-DYAHlgKd-DnqAO3Rp.js";import{o as Q}from"./toCOABalancesWithID-B8NxsLlK-741DYvDg.js";import{V as X}from"./toChartData-CxZEcdj_-B9fAXWHm.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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-BFn0iyzF.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-DYAHlgKd-H1smi7OR.js";import{o as Q}from"./toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js";import{V as X}from"./toChartData-CxZEcdj_-BYbG-aHT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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-DEtloYMb.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-SOAxSpv2-C2I66UL7.js";import{C as W}from"./NoDataChart-CVM-QPHf-C-oyhVAy.js";import{F as _}from"./InsightsSection-CCzgI0uK-wk2msd_s.js";import{l as Z}from"./TransactionList-CVrK_-YB-DNCdrvzR.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-BFn0iyzF.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-SOAxSpv2-DgR01mAM.js";import{C as W}from"./NoDataChart-CVM-QPHf-C9B0uxva.js";import{F as _}from"./InsightsSection-CCzgI0uK-YzyDaTgw.js";import{l as Z}from"./TransactionList-CVrK_-YB-CzryXgTg.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,y 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 _e,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 Ve,v as Se,cZ as xn}from"./index-DEtloYMb.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-CkSfhBfN-BCuT-w0J.js";import{h as wn}from"./VendorsAccountsSection-CGbDIAMd-CpNcTh0l.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.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,y 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 _e,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 Ve,v as Se,cZ as xn}from"./index-BFn0iyzF.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-CkSfhBfN-l0ZmaZgI.js";import{h as wn}from"./VendorsAccountsSection-CGbDIAMd-ym1H8Uh3.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.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-DEtloYMb.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{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-BFn0iyzF.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a as k,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-DEtloYMb.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-BFn0iyzF.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-DEtloYMb.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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-BFn0iyzF.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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-DEtloYMb.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-DSxVnTLA-DXaPhpBb.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js";import"./MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js";import"./BankAccountSection-D1tQzNSO-piXQT6-V.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-BFn0iyzF.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-DSxVnTLA-DQ5hyRPZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js";import"./MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.js";import"./BankAccountSection-D1tQzNSO-C_sKIdwB.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{M as _,u as Re,X as ne,C as g,H as 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-DEtloYMb.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-C7_JB54g-TfIjK1e4.js";import{l as Qt}from"./TransactionList-CVrK_-YB-DNCdrvzR.js";import{R as Jt}from"./TrendWithTransactions-BSQ2TJvu-CXRyOB__.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js";import{Y as es}from"./LabeledDropDownFormattedTextField-Co7u6hHL-Cpugeu34.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-D3v5T6bP-DCh7smhZ.js";import"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";import"./TrendChart-SOAxSpv2-C2I66UL7.js";import"./chartTypes-DYAHlgKd-DnqAO3Rp.js";import"./toCOABalancesWithID-B8NxsLlK-741DYvDg.js";import"./toChartData-CxZEcdj_-B9fAXWHm.js";import"./NoDataChart-CVM-QPHf-C-oyhVAy.js";import"./InsightsSection-CCzgI0uK-wk2msd_s.js";import"./NavigationDots-Toh5TKEv-D4TuvGNx.js";const ts=a.div`
1
+ import{M as _,u as Re,X as ne,C as g,H 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-BFn0iyzF.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-C7_JB54g-CphEJgto.js";import{l as Qt}from"./TransactionList-CVrK_-YB-CzryXgTg.js";import{R as Jt}from"./TrendWithTransactions-BSQ2TJvu-C2vH4bQx.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-D72yUpQl-EukAFw0M.js";import{Y as es}from"./LabeledDropDownFormattedTextField-Co7u6hHL-xLKIGiNZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-D3v5T6bP-BOLCnSeA.js";import"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";import"./TrendChart-SOAxSpv2-DgR01mAM.js";import"./chartTypes-DYAHlgKd-H1smi7OR.js";import"./toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js";import"./toChartData-CxZEcdj_-BYbG-aHT.js";import"./NoDataChart-CVM-QPHf-C9B0uxva.js";import"./InsightsSection-CCzgI0uK-YzyDaTgw.js";import"./NavigationDots-Toh5TKEv-CA0n9HQq.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-DEtloYMb.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-t0Ebo518-CZtrAoDV.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-D1tQzNSO-piXQT6-V.js";import"./MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js";import"./BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js";import"./MailingDetailsSection-DwWeiSC0-CYpVyPYc.js";import"./LabeledAddressValueField-D72yUpQl-C0ZR7mu4.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-BFn0iyzF.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-t0Ebo518-DcWosEiy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-D1tQzNSO-C_sKIdwB.js";import"./MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.js";import"./BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js";import"./MailingDetailsSection-DwWeiSC0-D_M7IxPH.js";import"./LabeledAddressValueField-D72yUpQl-EukAFw0M.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 Xe,cx as Ye,q as c,a6 as Ze,bg as F,c1 as Je,gL as Qe,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-DEtloYMb.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-Co7u6hHL-Cpugeu34.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new 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 Xe,cx as Ye,q as c,a6 as Ze,bg as F,c1 as Je,gL as Qe,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-BFn0iyzF.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-Co7u6hHL-xLKIGiNZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new 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,y as On,u as mn,a as nt,hy as Pe,c3 as tt,A 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,D 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-DEtloYMb.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-CrSQ1yNo-Cx3bEBb1.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _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,y as On,u as mn,a as nt,hy as Pe,c3 as tt,A 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,D 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-BFn0iyzF.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-CrSQ1yNo-Bv-dHYqs.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _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,H 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-DEtloYMb.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js";import{T as Ie}from"./MailingDetailsSection-DwWeiSC0-CYpVyPYc.js";import{S as Pe}from"./CurrencySelectField-vH1oB0K8-B5AHvAUJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-D72yUpQl-C0ZR7mu4.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,H 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-BFn0iyzF.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js";import{T as Ie}from"./MailingDetailsSection-DwWeiSC0-D_M7IxPH.js";import{S as Pe}from"./CurrencySelectField-vH1oB0K8-wHe9UTtT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-D72yUpQl-EukAFw0M.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-DEtloYMb.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DNT75nXv-Ugsofr3W.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js";import"./MailingDetailsSection-DwWeiSC0-CYpVyPYc.js";import"./LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js";import"./MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.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-BFn0iyzF.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DNT75nXv-DPS5Vbqb.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js";import"./MailingDetailsSection-DwWeiSC0-D_M7IxPH.js";import"./LabeledAddressValueField-D72yUpQl-EukAFw0M.js";import"./MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.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};