@zeniai/web-cockpit-ui 1.15.1-qa → 1.15.2-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/assets/{ACHDetailsPage-CUzXxtOD-r1F6uT6H.js → ACHDetailsPage-DQqbcrtQ-B9LICqOv.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-O2oT7VD7-s-n7blSK.js → AIPerformancePage-C-s0Z84w-BYGvT60Q.js} +1 -1
  3. package/dist/assets/AccountInfoPage-EW5OCEW3-GkK4AQqU.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dm4_RVtp-D_PqQYfw.js → AccountInfoPageContent-DRhE__FT-CsEJAa7X.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-4gi6evfx-Kj0mjdMx.js → AccountLockedInfoModal-Ck5k4sN0-Dn2ELr-O.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cm4KEIyT-DCafziiz.js → AccountReconDetailsDrawerPage-CinniH8P-CbXjxNie.js} +1 -1
  7. package/dist/assets/{AccountRow-B16HgkVQ-kTc4ueO6.js → AccountRow-DqfBv7EN-CVLrdkv9.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D5OgsEYb-CgdFyEWb.js → AccountsPromoCardStack-ClhDPo8Z-BPar240b.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Cw6wTXEm-Bpg-BiUZ.js → AddAddressForCardDrawer-Bp7X9u3M-D2uHyvbm.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-vXWBje7k-M_ReFWuK.js → AddToWalletPage-BUltXgk9-hU_WmIiG.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CmzapJ6B-eAYpQVGs.js → AgingReportsPage-C1CpbCow-DhSWr9lB.js} +3 -3
  12. package/dist/assets/{AllUserItems-CW-BAUK2-BBXUcIHM.js → AllUserItems-CpiUni9v-Boqk4BWu.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-DBCM7hZZ-BB02lYOD.js → ApAgingDetailPage-ByNn2ALz-D3dR7MXD.js} +4 -4
  14. package/dist/assets/{AppBasePage-B3uZsUDM-C0VSuUEf.js → AppBasePage-DmW3KQcg-Bl07bdsR.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D4EVpqHP-D68-MKyW.js → AppDrawerContent-B1y_D31O-P0fNyfka.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DTLJUdYp-D-7Um9wK.js → ApprovalRulesSettingsPage-GxAZWP7M-BP_FJfEx.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BJ8nRdT6-C3zgks-l.js → ArAgingChart-BNoQoaPh-DNxFLSB2.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-hd2ALORD-BBDp0PA9.js → ArAgingDetailPage-CMcAarbW-BT--B2mj.js} +1 -1
  19. package/dist/assets/{AttachmentView-2FZ6X1gL-BtEKVjLK.js → AttachmentView-BixDE2EA-J3_uk8mF.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BbX4r1dP-CpoasKYr.js → BankAccountSection-D85EMzvD-DIqhMGkU.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CqlrCLSb-CeuF0biB.js → BankAccountWarningSection--CI3tctJ-C44mqvnE.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DLeiSryp-O6aF6sGb.js → BankConnectionsSettingsPage-BAPo9xu--DD1SOuD8.js} +1 -1
  23. package/dist/assets/{BillDetailPage-l0WIOXCJ-D0UXVLtG.js → BillDetailPage-DdJoziKf-DOO0wKpM.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BOMCy57E-B7LeaWUC.js → BillPayApprovalRuleDetailPage-CdoDPSYo-DEqRvex-.js} +3 -3
  25. package/dist/assets/{BillPayApprovalRulesPage-D_iQkfQr-BP93cWdX.js → BillPayApprovalRulesPage-Cfo4L2hk-TOZxMiU9.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-Dsl0YvUE-ddOIH1is.js → BillPayPromoPage-cK5O7lqH-B_je_xFj.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-MLf77bPI-CsT5c2fa.js → BillPaySetUpPage-BuF8vy9q-CJSI2jfR.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-n1PkJEDe-Dx6CVi3q.js → BillingSettingsPage-B_l_z9VO-Br55h4q7.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C_4lLm2g-DIPYE387.js → BillsBulkReviewDrawerPage-CoKwrfed-giDGO955.js} +1 -1
  30. package/dist/assets/{BoxItem-CZdVWyVJ-mEOt1fek.js → BoxItem-CWj-NRo_-qWLA6cc4.js} +5 -5
  31. package/dist/assets/{BusinessVerificationPage-DKTSnhnQ-DYvN-c4w.js → BusinessVerificationPage-Jl0yhiLd-BRJluTOf.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BhtdU0IQ-8duVM3Fx.js → CardNumberSubText-CYyCmwah-DIXC0dk2.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BL-JN6N2-Do_Xoxat.js → CashbackDetailPage-VVXYftFo-CP-xT4sk.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-DeUmuiMY-WNgidd0R.js → ChargeCardDetailPage-C-KKQCQP-CDsGHd2y.js} +1 -1
  35. package/dist/assets/ChargeCardListPage--SIQ7a3u-BopXL17p.js +412 -0
  36. package/dist/assets/{ChargeCardListTable-BwYAxG4d-DX6YQOO-.js → ChargeCardListTable-ddk5IppO-B_rZZ45Z.js} +1 -1
  37. package/dist/assets/ChargeCardPaymentHistoryPage-mA_IVVFy-De_KyAuK.js +565 -0
  38. package/dist/assets/{ChargeCardPromoPage-TkHihj_n-CaHt3K5m.js → ChargeCardPromoPage-BCb2xl-m-CfbIoe1r.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-CkonrAnT-D6jRSePD.js → ChargeCardSetupPage-DAVM2czH-Pi7tegHv.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-DVgAcNNC-DCz_p1Fg.js → ChargeCardStatementsPage-Cgl7DfV2-Cqo1fBhQ.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DV7strdp-BUlK0Jm_.js → CheckDepositDrawerPage-DIDXNWS--Cnev0zYl.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-BS7TgK8B-DRjSwQaJ.js → CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BotE5oj4-CeLb2lq5.js → CompanyOfficerDetailsSection-CtFvma7e-DKMEm1xs.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Bx4KhQfs-BZjrN6gQ.js → CompanyPassportCard-If9-KFRF-DWX3A4lo.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-i1SEs7VJ-DfwCSdxy.js → CompanyPassportPage-ByLL4IdN-BVFVShE9.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DWOv7odD-BKSVE70k.js → CompleteProfile-D39MG_aE-C5u-dTqB.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D52CuNQL-CwLA6tkK.js → ConfettiBurst-CqS9iRS--Clgy60xQ.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-9LgI-Wd0-B6-_1Ezb.js → CreateOrEditVendorPage-C0lTJ9RB-Cwb-zv64.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-wHK6Ds5I-CNWVB31I.js → CreditCardPaymentDrawerPage-BMlE0JgE-DeTZZwZo.js} +8 -8
  50. package/dist/assets/{CurrencySelectField-CbGyQ8Yq-COlp3u2Y.js → CurrencySelectField-Cqh1PAAW-DaE_m5-s.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-LNgj0BYj-Nlvfx8M9.js → CustomerOnboardingActivationPage-CExJcqXe-BlQ8Hnnh.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-B1DciOQG.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BF484X8E-CaAZph1n.js → CustomerOnboardingDetailPageSkeleton-zHDAnR9J-BZlMZUQL.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Dri4v3Rf-BJzE5s0-.js → CustomerOnboardingNoStepsPage-CgblGoOL-2kYU64HC.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-BkdhcwN8-DmE6GIUm.js → CustomerOnboardingPage-DSGfwtw5-CUzPpcHS.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-C2YlsXt9-CBk-1EVP.js +202 -0
  57. package/dist/assets/{Dashboard-w2AGQi2P-DiVyNKKk.js → Dashboard-C52yIGy8-D_GGvRLH.js} +55 -55
  58. package/dist/assets/{DashboardReportPage-NzF6nutN-DMhUQnZM.js → DashboardReportPage-iZVhpQQc-DByWtkdh.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-vcuSFRHQ-yYxeoz6l.js → DashboardSidebarBackgroundAnimation-mksYvmzi-DAtUhXcm.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-SRWW7dWo-CkQ9z0AM.js → DepositAccTransactionItem-Ct9UKq01-C2WRTlRZ.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-BSq-FxKT-CgJ_q5WK.js → DepositAccTransactionListPage-Q-rYYEAZ-C6qRSxdm.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-Daor0MDI-F_wC7WiZ.js → DomesticWireDetailsPage-D8MlbitH-BEovw2fI.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-DkSROLX2-DcXAjYGV.js → DownloadOverlay-DooSRB2s-DAeh2FOz.js} +1 -1
  64. package/dist/assets/{DrawerPage-BnMCcEWw-CMzZJi1c.js → DrawerPage-COB3hDS_-DpI_yrey.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-Ld339aav-Dq02Bmc5.js → EditPeoplePage-BLRAgjPa-CqDqNG8l.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BaMG1YJG-CJGMJtlg.js → EditReimbursementDetailPage-D1d8qzXB-Cwm7cODK.js} +1 -1
  67. package/dist/assets/EntityDetailPage-BDqbedFw-BHuM8vRM.js +18 -0
  68. package/dist/assets/{EntitySummarySection-Bs0NywbK-BM-UHzYZ.js → EntitySummarySection-DOkXIw-J-Dyl-9BSn.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-B_-wUXCx-C4ezTJwY.js → ExpenseAutomationOverviewPage-BSXCkfKT-Y-OTywuE.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CG1Hpwz8-Hmmjx2JY.js → ExpenseAutomationPage-Di3n8DMk-z_MvYY9W.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-CEf0O3S_-CFo_3C3j.js → ExpressPayPage-B-SwvM4I-BKQhbtfT.js} +8 -8
  72. package/dist/assets/{FeaturePreviewPage-7G9DSgAA-Bf3Zg9FN.js → FeaturePreviewPage-Dz42ojYl-B74tPXRR.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-CoXcJ6WL-CKIS-qdy.js → FollowStepsSection-BS4M36H4-ByiTPZLh.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-BSfJybtY-Gq_efLf2.js → GlobalReviewListPage-C1Tn5Cwx-AFNHh-gi.js} +1 -1
  75. package/dist/assets/{InformationCardStack-DnoAMdjH-DM3r0VKp.js → InformationCardStack-DTWUPxhs-BcQ7Bq1r.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-BLtip0dt-B7AuDwsy.js → InsightsCardStack-CklTB6N7-CcVpI_GM.js} +2 -2
  77. package/dist/assets/{InsightsSection-26UEfz7s-DPspt8lR.js → InsightsSection-g58q0fm4--nDzSJ-I.js} +5 -5
  78. package/dist/assets/{IntegrationsSettingsPage-QVOqOc9I-BUFvkl9B.js → IntegrationsSettingsPage-Bs3ZvOVJ-BNGlPV_t.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-B7UVdQjs-CLkCkXIU.js → InternationalWireSwiftDetailsPage-CC0aZ_Ht-BCE7V6Sm.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-Cvita0lc-Btapjd36.js → InternationalWireVerificationPage-Bb8q9_XZ-3msXPnre.js} +3 -3
  81. package/dist/assets/{InviteFormPage-ptg2-Do2-pRO1OeLR.js → InviteFormPage-Bh9zpIMu-DyQ9-xdH.js} +1 -1
  82. package/dist/assets/{InvitePageListView-CoCiU_RJ-Dix60Mep.js → InvitePageListView-Da5n8FWG-CwUGql0T.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-CIiwEl_L-O1DiEIRO.js → InvitePeoplePage-B1jmVXj9-BNsmdXfz.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-by1gHnS2-JOnnnASi.js → InvoiceUploadSection-DN31nPpE-DlCczyMy.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-CawHdTL3-CJXHcRtV.js → IssueChargeCardPage-Ev17uGYx-DiPbJxFe.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-BVpOlAt0-Civi3QhT.js → LabeledAddressValue-CZvcCn7x-BDO7MreD.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BW6ytr8f-3MnpjjEc.js → LabeledAddressValueField-CJel6ymq-BCZyMLaS.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DEaBzW9R-CnHMzzmb.js → LabeledControlledCheckBoxField-COHS18nA-B17n3DFO.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-DOEcKGdZ-C0Jyvygp.js → LabeledCountryMultiSelectField-CcJheGwX-DdkXDdlC.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-Bsowq6Ia-WVOdOf4y.js → LabeledCreatableSingleSelectField-C9p8xRkh-BtUYUlzS.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DHqxzbx7-BskAR3wZ.js → LabeledDocumentField-DC4TbHE8-CfiBP2-V.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-C_2HymZs-aRPxhQJ5.js → LabeledDropDownFormattedTextField-BcSAJy2I-BDmvlnnz.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-wuzYNgjQ-Df-SCo5M.js → LabeledMultiSelectField-D-N343dq-BqmmKTLd.js} +1 -1
  94. package/dist/assets/{LabeledText-DMjMKupg-Bncb0Hwv.js → LabeledText-DHLOUxK_-DcVlPblA.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CbP3DJ-D.js → LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-BHSVUmku.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-C2WL6H1u-DPKcMxQz.js → LabeledZeniRolesDropDownField-CqZGfBlk-CXV9h6nB.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-6wvu7KQx-QXbId-Ae.js → LinkJETransactionPage-BLleyJg_-DH6AUk6S.js} +2 -2
  98. package/dist/assets/{LockCardPage-DHjkslVx-1L0-wByE.js → LockCardPage-dHmjahEB-CtYWv6rs.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-IPPewOnk-D-QIgMXO.js → LowBalancePopup-D5xx56fY-j_He7evO.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-VUPeO4aq.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-EnblGBI9.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-BxJEZ2nx.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-0Pn_6wi4-B9aAAzsS.js → MagicLinkSuccessPage-De4m7E-W-Cb7S-D6O.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-zMEqv8xp-Btbmxe6d.js → MagicLinkTitleSection-Bka3Yd1_-B7VDZ-WI.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-BbWfR6ob-oFsc7Xm9.js +21 -0
  106. package/dist/assets/{Menu-CjpiRi32-tr4BRbII.js → Menu-CCfXjS2S-nrC4lt1z.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DsuI81Dg-Du8nlr4t.js → MyBankConnectionsSettingsPage-NwFd4S7O-ChK_C8XR.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BP2ZNfJQ-DsSQkHgQ.js → MyPendingActivationChargeCardListPage-B2fGNuM2-BRHDDyzi.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Bx776Bw1-DEOcuo_N.js → MyProfileSettingsPage-C2xgzfZf-CuouNDkd.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-B7KOipTP-CtJwHthx.js → NavBarWithPicker-DUqVkR_y-DhJfapY3.js} +1 -1
  111. package/dist/assets/{NavigationArrow-qaYGOFR3-vQsfUvU5.js → NavigationArrow-Ctt_H8KP-DqY5GQ1R.js} +1 -1
  112. package/dist/assets/{NavigationDots-U7wL0ya4-C_19mcKN.js → NavigationDots-Dgudddqx-DYDn4vyu.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BMLg6RYp-BSMvn-CX.js → NewGlobalMerchantPage-D1hNFzTS-B4VJuy44.js} +1 -1
  114. package/dist/assets/{NoDataChart-DoN6Mneo-CkdRINHb.js → NoDataChart-DbLSGWgH-L8CdjQWY.js} +1 -1
  115. package/dist/assets/{NoDataTable-BMDDs83M-D6M-OqQy.js → NoDataTable-BYLV7sLq-CgYIQzXe.js} +1 -1
  116. package/dist/assets/{NotFoundPage-ys6HcZUO-eldIZL16.js → NotFoundPage-CIeF09o9-DYOgpAOm.js} +6 -6
  117. package/dist/assets/{NotificationSettingsPage-Cfrj3b7B-CDHJR0OC.js → NotificationSettingsPage-CEhFnaxj-C4_q1SXp.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-Cqcn0C6L-rvX6AwRN.js → NotificationsListConfig-PHESCv2f-CLKpPqmc.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Bri7Dj80-CgLhSnnX.js → NotificationsPage-hIohQ7En-7Dgvp7dJ.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-Dwk6JAu7-DAnImhg9.js → OpExByVendorPage-C1RcJ4Q3-C3y6eP0g.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-cnPZ4Aks.js → OverlayContainerPage-Daz3A7cI-mfnyLiK_.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-D9muoIzS-CgHzWdHu.js → PandLWithForecastPage-B-uQyVwQ-CyyR5yDE.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BcQ07YZL-BZGt-jPq.js → PaymentAccountSetupBillingAddressSection-CGqYs83b-CQ_yC_Le.js} +7 -7
  124. package/dist/assets/{PeoplePage-BZwxMiLM-DUeynP_D.js → PeoplePage-Db0MhBko-D-veqVIm.js} +13 -13
  125. package/dist/assets/{Preview-mA1nVDX3.js → Preview-B3zOr0wW.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-HFHMMFnQ-rtf5qLBW.js → ProductsCarousel-CYwIm8nQ-b46m0x6d.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-Bwm7huaB-VYQuh73T.js → PromoBaseCards-B2ZC8OUT-CxdovvbY.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-B5v60lo1-Ch9POgNM.js → QBOConnectionDialog-B0E1xE9I-DveLpxdR.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-BFxjIzV1-CYBW1H_4.js → QBOSetupSection-IGV1sm9x-BtXGszuP.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7eJT6hf-mvqMR7d6.js → ReimbursementApprovalRuleDetailPage-CwJkaZqa-ChyiXIbJ.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-B6WJ19jK-ou5ALJi6.js → ReimbursementApprovalRulesPage-C0D2DYVf-DCOAjf0C.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-CEyFEPK5-3R4JZLiA.js → ReimbursementDetailPage-DV7eDd9t-CQE66iWh.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-BjhlxlPR-ClcaCdwb.js → ReimbursementPromoPage-DNM2mNbV-CB0rp3Ja.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-pC4KuigM-Bb3osCLQ.js → ReimbursementSetUpPage-CVuQyfku-BMnB6xP4.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CucXnBt6-BAmNNK69.js → ReimbursementsBulkReviewDrawerPage-DAvUmNKc-CIggTaDg.js} +1 -1
  136. package/dist/assets/{ReloadCard-DhRbLcVA-eL-hPi30.js → ReloadCard-BsOjPgsc-ChC0ZJ85.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-ByxUIrcT-Dmvup9O6.js → ReportTableViewSelector-BJNFsOJq-BKg2cb6V.js} +1 -1
  138. package/dist/assets/{ReportsPage-e1xmk9Ua-BbNPYno0.js → ReportsPage-GYEaSw4z-DkoN-mIu.js} +1 -1
  139. package/dist/assets/{RevenueChart-C7uaOhqz-Dp5ovdkS.js → RevenueChart-DXgZ34NU-BGzMBftU.js} +14 -14
  140. package/dist/assets/{ReviewDetailsPage-Dk0Rw7L_-C1OYslaf.js → ReviewDetailsPage-VBCKACNQ-Cb05fh3o.js} +2 -2
  141. package/dist/assets/{ReviewOverlay-Bthl69qw-DDQJoZqM.js → ReviewOverlay-D1dHNrqu-DQYoi9Nj.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-New3P2vC-B2lOe8Ik.js → RoleWithToolTip-BE5aZQ2g-BCdI84kh.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiwkB2J--BDMQXWdu.js → ScheduleDetailsFixedAssetsPage-p2jwjhfb-DeEP6omI.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-BLc828ST-Be4PkyQY.js → ScheduleDetailsPage-CuGgAAlk-Cs8MEF7D.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-CEQZEbUs-lcmXDxJe.js → ScheduleSequenceTable-DS5xyWPM-B_plNnTN.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-CTorVc0t.js → ScreenRoutes-DVayPi2e.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-CywFKgZo-p_1OWNEx.js → SetUpAccountSection-CgV-DpbH-B1jw26aR.js} +1 -1
  148. package/dist/assets/{SignIn-D7PmDE-R-7UE7laxr.js → SignIn-BVICuIxS-BWE0bgE_.js} +15 -15
  149. package/dist/assets/{SignInScreen-KOouXGFV.js → SignInScreen-D4KOTIiJ.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-DJgNAGhp-CZvaBELF.js → SpendManagementListViewPage-7hmUDsTR-DhApwaYY.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-B_muN4XH-0JQmGizd.js → SpendManagementPerTabPage-r4Ivr4ml-BVfhJves.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-BO--0F_T-C9bXKSSM.js → SpendManagementSection-4bPNXnAu-PYCo478F.js} +14 -14
  153. package/dist/assets/StatementItem-D7MXVGEy-BTw31R7j.js +31 -0
  154. package/dist/assets/{StatementsPage-DkcgOLaa-63pexawV.js → StatementsPage-mK9b-oez-_P1PJ0CX.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-Bcqhq2ht-DClBNvwT.js → StatusSwitcher-VeYkrDM7-Cg8WxvyO.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-BNSMaUoP-liKRWZ1f.js → SubTabSwitcher-j2oEcPev-C9gIHuSY.js} +1 -1
  157. package/dist/assets/SummaryCard-Bn8n64F6-PcN8QoKZ.js +1 -0
  158. package/dist/assets/{TaskManagementPage-K2ahivqx-DUq35oob.js → TaskManagementPage-Cmx-Dg-h-CaRQcF5s.js} +10 -10
  159. package/dist/assets/{TimeRangeSwitcher-CaV1qK_v-BaYpw2uo.js → TimeRangeSwitcher-DIM1SPbu-C8aKxeBB.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-COkEJy3J-TJrxL5fq.js → TimeframeSwitcher-DKqN8iPa-CLaVUI42.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-CPP1tWQ_-Dm5Fg-cB.js → TimeframeSwitcherWithToggle-DcrnzLoy-5NwwIObs.js} +1 -1
  162. package/dist/assets/{TopExCard-CLkfO6zN-BjmbgAGY.js → TopExCard-Bng5AuNw-CVHFew8E.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-CUoODDhA-DV5Rdw-F.js → TopExDetailPage-C1UAPRay-senkgbNQ.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-BTonMpH2-BDz8tZaI.js → TransactionDetailPage-Ds7V1qr_-DHvaJdEC.js} +1 -1
  165. package/dist/assets/{TransactionList-B8eL6jhA-BMj7OjO2.js → TransactionList-Dq2orY9N-CmcTb8lX.js} +1 -1
  166. package/dist/assets/{TransactionListBig-BI0Egbwq-of5jrmqO.js → TransactionListBig-BrDxcbHJ-BucaK7i8.js} +1 -1
  167. package/dist/assets/{TransactionListPage-DxGLszcx-Ct1ar9FW.js → TransactionListPage-D5v8TxYx-tIrIfplb.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-BnqP7rIa-BKaLQRzz.js → TransactionVendorDetailPage-DnZGwCbw-NMe_2e92.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BvKebmux-eudPvpoa.js → TransferDrawerPage-DUdjOy9R-BaGIl48y.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-DqlUffnH-D9Cdq3E_.js → TreasuryOverviewPage-XYkCDBio-XL-wzdVP.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-DqZE9SWj-BFJ0Glq8.js → TreasuryPromoPage-CWtp3S9L-DlbXSnI-.js} +1 -1
  172. package/dist/assets/TreasuryStatementsPage-C1-iJ5X--BgqOr69t.js +58 -0
  173. package/dist/assets/{TreasuryTaxLetterPage-04gxKt0a-C2JmE24D.js → TreasuryTaxLetterPage-CNogHL4A-CZDa9UtZ.js} +2 -2
  174. package/dist/assets/{TrendChart-Cb8wnBqS-DWWEVDYI.js → TrendChart-DBRT1lZ3-CNfFrF4a.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-_49jEzFf-D3xEAO2B.js → TrendWithTransactions-CcjPNeY8-DUWt7VQm.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-WTwSitI6-Cs3K4av4.js → UncategorizedAccountsMappingPage-BuMm5-pm-OPk3mnZu.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-C3HFSJ9I-DlmvVqU8.js → UnitIntegrationPage-Dxb00NtN-CEWpQ1pK.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-UdsrwN9K-CCKWgMfW.js → UploadAdditionalDocumentOverlay-H6nIiMo6-BSgcEloP.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-BS-3oZPR-Db4i1lCF.js → Vendor2FAPopup-Opk2NgSs-DTP-O6GX.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-C-uyGtu7-F2Is6FR_.js +1 -0
  181. package/dist/assets/{VendorDetailPage-CJQeB1km-VFqk6gSC.js → VendorDetailPage-YUk-g7t--BJ496rNY.js} +86 -86
  182. package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-BL4DigeA.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-C2zwrfg_-Ee6uqkI0.js → VendorFiling1099EditablePage-Ctx-C6OL-spQqzVO6.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-BeDtBSt0-CS3zFSM6.js → VendorFirstReviewPage-Biy4xcIs-DznCGOBz.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-BVI-FIhY-37PxWla3.js → VendorInternationalWireDetailsPage-B-ZKvwGN-x0rWEvGE.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-HzLEH2H6.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-DlO_YtSs-tzIE0qWL.js → VendorsAccountsSection-DztKh7dz-CgEUNYEY.js} +1 -1
  188. package/dist/assets/{VerifyDevice-CVr0FwHa-C52uURdL.js → VerifyDevice-fvWfQQnC-CtXqEXi_.js} +7 -7
  189. package/dist/assets/{VideoPlayer-HL-oU9Ri-CqH2CkYo.js → VideoPlayer-CfLdj-r8-B2GUFqTA.js} +2 -2
  190. package/dist/assets/{VideoPopup-Dw57i43Q-BaqfFxws.js → VideoPopup-B-N0Wv9f-Cdmc-mEU.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-DOFirhc3-CJCj8NGX.js → WarningsDrawerPage-UpSDjRDQ-BBae8KFO.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-ByCgz534-D8zIoBhu.js → ZeniAccountDetailPage-Bd_RNPxh-BoHoadUu.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-yATacDeU-Ccz2pyBA.js → ZeniAccountListViewPage-CE5BfFah-CIAB5QF6.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-Yb3HCUq4-CvtBwWwh.js → ZeniAccountNavBarPieces-C0ydgImW-D-MiE5qM.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-4iBPGLEt-DVsBH3Z4.js → ZeniAccountPromoPage-EX9sTaQM-DXBYg3Pe.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-bdXuLfgB-CZsy3jga.js → ZeniAccountSetupPage-DX2DvcQa-Dwku7Zxp.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-C_Hgn3Qx-B7KeNETr.js → ZeniCopyright-8vmkzP8u-BneayNNI.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DBhodWDh-Bg-8UcT6.js → ZeniTransferAmountSlider-BgIOeOee-5PnJNSH6.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-B2xhCimT.js → add-to-wallet-DgdBD8_G-6h2ZeMP0.js} +1 -1
  200. package/dist/assets/{analytics-CO_4s2X8.js → analytics-C6_KHLMr.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Dz-se9aX.js → analyticsHelper-BI1ThZe4.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DTl4FgRU-C9JMzvwk.js → analyticsHelper-DePSHzJ2-Bn27sSmX.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-BLOUsrLT.js → arrow-south-east-round-PEovUgvH-Drco-tba.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DXWlGTms.js → auto-transfer-rule-mbafm5D3-B2LSu6td.js} +1 -1
  205. package/dist/assets/{chartTypes-wLUiIPlP-DnDJ1qrz.js → chartTypes-9YOqgm9X-C6LFFFRd.js} +1 -1
  206. package/dist/assets/{commonDimensions-DGz_YafU-DG5YK88U.js → commonDimensions-DMXq3s0u-DuXCMMKd.js} +1 -1
  207. package/dist/assets/{commonTypes-Gv0Fff59-C0n9xJpy.js → commonTypes-BquPusaw-T-jihHvn.js} +1 -1
  208. package/dist/assets/{constants-B80Lbuf7.js → constants-PJh0ps8k.js} +1 -1
  209. package/dist/assets/{core-D7_k1EhP.js → core-B60xt_9S.js} +1 -1
  210. package/dist/assets/{dash.all.min-D84aFlTu.js → dash.all.min-vXDE_DvB.js} +1 -1
  211. package/dist/assets/{detailCommon-C-kv1ST5-ovcoMnW1.js → detailCommon-OHV8uIJY-cVGKnZAs.js} +2 -2
  212. package/dist/assets/{downloadPdf-a0dx3Bka-DnK4zSuJ.js → downloadPdf-AQqdv24M-DFBrg3E0.js} +1 -1
  213. package/dist/assets/{empty-BK-FM9Fc.js → empty-BILjNJ1H.js} +1 -1
  214. package/dist/assets/{empty-D7ZL3ibO.js → empty-Crd5cSnS.js} +1 -1
  215. package/dist/assets/{epic-BKSpf58y.js → epic-DI4CcWQL.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-BvDbzpBs.js → gift-box-Cmt9OgIZ-Zdxcxrhq.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DnBDJsPD.js → graphic-no-data-l-DU4J8fDt-DgTcVZZu.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js → graphic-no-data-net-burn-l-CzmycA0m-C5bAU7gA.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B-s0K2Gk.js → handshake-BPg58FML-B-VJNfaH.js} +1 -1
  220. package/dist/assets/{index-AC1SIzUs.js → index-BGWJb262.js} +1 -1
  221. package/dist/assets/{index-CocAByQY.js → index-BN0EotSL.js} +1 -1
  222. package/dist/assets/{index-CN_MjJna.js → index-BdKLbOle.js} +1 -1
  223. package/dist/assets/{index-yGtk6ceJ.js → index-BvTN3lDL.js} +1 -1
  224. package/dist/assets/{index-BCqMlt2D.js → index-CdECp0kd.js} +1 -1
  225. package/dist/assets/{index-CIdXBggf.js → index-CsC704zJ.js} +1 -1
  226. package/dist/assets/{index-CD9C31qH.js → index-DaYznKbB.js} +1139 -1139
  227. package/dist/assets/{lexical-CGMN4tXG.js → lexical-ljPdYVBl.js} +1 -1
  228. package/dist/assets/{liveblocks-BmXYR5uO.js → liveblocks-DBwZPvBF.js} +1 -1
  229. package/dist/assets/{lottie--pGIoexZ.js → lottie-C5JCvMhe.js} +1 -1
  230. package/dist/assets/mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js +1 -0
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DXbOFz3E-B2Ak7MSh.js → mapSectionWithAcOnlyToTreeNode-DlHnT2so-BTPtJTc-.js} +1 -1
  232. package/dist/assets/{mapSpacerToTreeNode-D7hBnjRr-CKIvoT82.js → mapSpacerToTreeNode-UVFWXY4N-D0YtCjzg.js} +1 -1
  233. package/dist/assets/{mapTimeframeBalancesToTreeNode-CQWxQdJu-DVoGqOiZ.js → mapTimeframeBalancesToTreeNode-BQXXyttX-DGLgwKeE.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Z_evAkYB-C750bIcv.js +1 -0
  235. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-Cp7U4V8E.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-20lccFRR.js} +1 -1
  236. package/dist/assets/{mui-Fyk6sRCR.js → mui-Bw2IfcWM.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-CTsT95lG.js → page-detail-CWX5S47F-DCgjQUKs.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-DyFeMuig.js → radio-default-CiSgisfh-CMhPvQFy.js} +1 -1
  239. package/dist/assets/{react-E7ETqwTX.js → react-BTUZdigh.js} +1 -1
  240. package/dist/assets/{react-8lAMKDVs.js → react-Bq5t9UIP.js} +1 -1
  241. package/dist/assets/{react-DywPl4iN.js → react-CuTu_wtR.js} +1 -1
  242. package/dist/assets/{react-OOqLEgIT.js → react-DI23iCmK.js} +2 -2
  243. package/dist/assets/{react-CZ_9akaZ.js → react-DfTnNNyV.js} +1 -1
  244. package/dist/assets/{react-89jLopxj.js → react-DhEFsene.js} +1 -1
  245. package/dist/assets/{react-CazNrypD.js → react-DjhBEada.js} +1 -1
  246. package/dist/assets/{react-Cw0TtY4U.js → react-VPdYhL5m.js} +1 -1
  247. package/dist/assets/{recharts-j_eh1fXg.js → recharts-DIy4CLtr.js} +1 -1
  248. package/dist/assets/{sentry-D4D7HRQR.js → sentry-Bp9GtzEp.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-D9ihfdgR.js → shield-DOlUxcFf-ro31tcAp.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-DcgESHck-B_zdOyxB.js +1 -0
  251. package/dist/assets/{toChartData-BlyUYoV7-C9pHYlA8.js → toChartData-BtwV0Kpo-LMyxiFZ7.js} +1 -1
  252. package/dist/assets/{uploadAttachment-BkEbu6k9-bZeXuHsS.js → uploadAttachment-C69IP2HG-CJ_0eQlo.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-CJawRdW-.js → uploadReceipts-CPw64UYa-udD8sJEF.js} +1 -1
  254. package/dist/assets/{url-DStI5MA9.js → url-4mfhlhYZ.js} +1 -1
  255. package/dist/assets/{url-BwHZRaSJ.js → url-FTiOcUfY.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-BS3t10_q.js → useLongPress-GCK2COYQ-CjlFZNWU.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-DELeCmm4.js → usp-line-BBd1wKwW-Do2umI9p.js} +1 -1
  258. package/dist/assets/{utils-BTQ24URD.js → utils-CUkgdryf.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-I555vKHy.js → zeni-epic-state-BxNqBiH-.js} +3 -3
  260. package/dist/index.html +1 -1
  261. package/package.json +4 -4
  262. package/dist/assets/AccountInfoPage-B6jxAqA6-9vu_4su8.js +0 -18
  263. package/dist/assets/ChargeCardListPage-B2OEzCZI-CCU2g_19.js +0 -412
  264. package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-BqABNtl_.js +0 -565
  265. package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-VJ-ysRY-.js +0 -1
  266. package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-QpsU1A7T.js +0 -202
  267. package/dist/assets/EntityDetailPage-DRZiqaCb-SJr1Sjms.js +0 -18
  268. package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-De-C055y.js +0 -1
  269. package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-BUPqEaBD.js +0 -1
  270. package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-DBuEAAQS.js +0 -1
  271. package/dist/assets/MailingDetailsSection-BRCMsb6d-BNC2cwHM.js +0 -21
  272. package/dist/assets/StatementItem-_50yBwO1-DJ9419VA.js +0 -31
  273. package/dist/assets/SummaryCard-DUTikTiQ-BCjbo6uc.js +0 -1
  274. package/dist/assets/TreasuryStatementsPage-Cyj4xmLP-D0-9_DPv.js +0 -58
  275. package/dist/assets/VendorACHDetailsPage-DBr7crZ5-ChcsccDW.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-BclAe3JQ.js +0 -1
  277. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-Dw216d8I.js +0 -1
  278. package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-BUGNsMmW.js +0 -1
  279. package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-D4qsZSGO.js +0 -1
  280. package/dist/assets/toCOABalancesWithID-CdKQhpIb-BrT8MKCJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as B,d as Z,F as _,aw as ke,V as s,bA as qe,k as Qe,H as Je,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,c as j,b2 as tt,aT as st,L as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-CD9C31qH.js";import{a as y,S as K}from"./sentry-D4D7HRQR.js";import{n as u,k as Ie}from"./mui-Fyk6sRCR.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as $t}from"./zeni-epic-state-I555vKHy.js";import{m as G,l as se}from"./analyticsHelper-DTl4FgRU-C9JMzvwk.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-ByxUIrcT-Dmvup9O6.js";import{q as kt}from"./InsightsSection-26UEfz7s-DPspt8lR.js";import{k as Ot,q as Bt,Q as xe,H as ee,N as pe}from"./detailCommon-C-kv1ST5-ovcoMnW1.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-C7uaOhqz-Dp5ovdkS.js";import{C as Nt}from"./NoDataChart-DoN6Mneo-CkdRINHb.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-CaV1qK_v-BaYpw2uo.js";import{b as Ne}from"./TimeframeSwitcher-COkEJy3J-TJrxL5fq.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-BS7TgK8B-DRjSwQaJ.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DXbOFz3E-B2Ak7MSh.js";import{d as Mt}from"./NoDataTable-BMDDs83M-D6M-OqQy.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-Cp7U4V8E.js";import{d as he}from"./mapLoadingInProgressToTreeNode-Dn79CwqB-BUGNsMmW.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./NavigationDots-U7wL0ya4-C_19mcKN.js";import"./chartTypes-wLUiIPlP-DnDJ1qrz.js";import"./toCOABalancesWithID-CdKQhpIb-BrT8MKCJ.js";import"./toChartData-BlyUYoV7-C9pHYlA8.js";import"./AccountRow-B16HgkVQ-kTc4ueO6.js";import"./graphic-no-data-l-DU4J8fDt-DnBDJsPD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7ef4085a-b288-4a3e-9796-ddda9cba654c",e._sentryDebugIdIdentifier="sentry-dbid-7ef4085a-b288-4a3e-9796-ddda9cba654c")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{q as B,d as Z,F as _,aw as ke,V as s,bA as qe,k as Qe,H as Je,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,c as j,b2 as tt,aT as st,L as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-DaYznKbB.js";import{a as y,S as K}from"./sentry-Bp9GtzEp.js";import{n as u,k as Ie}from"./mui-Bw2IfcWM.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as $t}from"./zeni-epic-state-BxNqBiH-.js";import{m as G,l as se}from"./analyticsHelper-DePSHzJ2-Bn27sSmX.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-BJNFsOJq-BKg2cb6V.js";import{q as kt}from"./InsightsSection-g58q0fm4--nDzSJ-I.js";import{k as Ot,q as Bt,Q as xe,H as ee,N as pe}from"./detailCommon-OHV8uIJY-cVGKnZAs.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-DXgZ34NU-BGzMBftU.js";import{C as Nt}from"./NoDataChart-DbLSGWgH-L8CdjQWY.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-DIM1SPbu-C8aKxeBB.js";import{b as Ne}from"./TimeframeSwitcher-DKqN8iPa-CLaVUI42.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DlHnT2so-BTPtJTc-.js";import{d as Mt}from"./NoDataTable-BYLV7sLq-CgYIQzXe.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-20lccFRR.js";import{d as he}from"./mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./NavigationDots-Dgudddqx-DYDn4vyu.js";import"./chartTypes-9YOqgm9X-C6LFFFRd.js";import"./toCOABalancesWithID-DcgESHck-B_zdOyxB.js";import"./toChartData-BtwV0Kpo-LMyxiFZ7.js";import"./AccountRow-DqfBv7EN-CVLrdkv9.js";import"./graphic-no-data-l-DU4J8fDt-DgTcVZZu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="280427c4-30db-47c8-97a4-17bb49a31686",e._sentryDebugIdIdentifier="sentry-dbid-280427c4-30db-47c8-97a4-17bb49a31686")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{aX as f,V as o,b4 as p,o as b}from"./index-CD9C31qH.js";import{a as s}from"./sentry-D4D7HRQR.js";import{a as h,n as m}from"./mui-Fyk6sRCR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7b9105fe-0ac2-4477-a1c1-acaa169e7a3e",e._sentryDebugIdIdentifier="sentry-dbid-7b9105fe-0ac2-4477-a1c1-acaa169e7a3e")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=f(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{aX as f,V as o,b4 as p,o as b}from"./index-DaYznKbB.js";import{a as s}from"./sentry-Bp9GtzEp.js";import{a as h,n as m}from"./mui-Bw2IfcWM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7b9105fe-0ac2-4477-a1c1-acaa169e7a3e",e._sentryDebugIdIdentifier="sentry-dbid-7b9105fe-0ac2-4477-a1c1-acaa169e7a3e")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=f(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aL as y,hx as u,q as $,V as l,o as i,al as c,am as w}from"./index-CD9C31qH.js";import{n as t}from"./mui-Fyk6sRCR.js";import{g as k}from"./BoxItem-CZdVWyVJ-mEOt1fek.js";import{o as v}from"./commonDimensions-DGz_YafU-DG5YK88U.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4e701844-37e7-45b2-b899-d61d0a81a513",e._sentryDebugIdIdentifier="sentry-dbid-4e701844-37e7-45b2-b899-d61d0a81a513")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:b,direction:f,status:m}=e,g=r.length>0?r:b,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aL as y,hx as u,q as $,V as l,o as i,al as c,am as w}from"./index-DaYznKbB.js";import{n as t}from"./mui-Bw2IfcWM.js";import{g as k}from"./BoxItem-CWj-NRo_-qWLA6cc4.js";import{o as v}from"./commonDimensions-DMXq3s0u-DuXCMMKd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0c19d954-cda8-4800-8782-71e3bb6eb40a",e._sentryDebugIdIdentifier="sentry-dbid-0c19d954-cda8-4800-8782-71e3bb6eb40a")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:b,summary:x,direction:f,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:b?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{d as M,q as S,V as t,bA as I,b2 as F,hG as Y,o as r,F as z,p as u,cr as C,db as E,dc as _,d6 as L,dd as T,y as A,ai as B,al as R,c as g}from"./index-CD9C31qH.js";import{a as x}from"./sentry-D4D7HRQR.js";import{n as a}from"./mui-Fyk6sRCR.js";import{bh as V}from"./zeni-epic-state-I555vKHy.js";import{$ as q}from"./BoxItem-CZdVWyVJ-mEOt1fek.js";import{o as N}from"./commonDimensions-DGz_YafU-DG5YK88U.js";import{H as P}from"./DepositAccTransactionItem-SRWW7dWo-CkQ9z0AM.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="73b6ed3f-2d06-46de-b58a-0c38e184fa63",e._sentryDebugIdIdentifier="sentry-dbid-73b6ed3f-2d06-46de-b58a-0c38e184fa63")}catch{}})();const l=z.getLocalizedStrings(),G={listItemMargin:new A(g[3],g[8])};function H(e){const i=E(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,o=>o.length>0);return L(d,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const X=Y(H),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),o=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:q(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
1
+ import{d as M,q as S,V as t,bA as I,b2 as F,hG as Y,o as r,F as z,p as u,cr as C,db as E,dc as _,d6 as L,dd as T,y as A,ai as B,al as R,c as g}from"./index-DaYznKbB.js";import{a as x}from"./sentry-Bp9GtzEp.js";import{n as a}from"./mui-Bw2IfcWM.js";import{bh as V}from"./zeni-epic-state-BxNqBiH-.js";import{$ as q}from"./BoxItem-CWj-NRo_-qWLA6cc4.js";import{o as N}from"./commonDimensions-DMXq3s0u-DuXCMMKd.js";import{H as P}from"./DepositAccTransactionItem-Ct9UKq01-C2WRTlRZ.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="9f5461b7-a2a6-4c8a-ae5a-1dde547f9503",e._sentryDebugIdIdentifier="sentry-dbid-9f5461b7-a2a6-4c8a-ae5a-1dde547f9503")}catch{}})();const l=z.getLocalizedStrings(),G={listItemMargin:new A(g[3],g[8])};function H(e){const i=E(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,o=>o.length>0);return L(d,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const X=Y(H),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),o=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:q(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
2
2
  margin: ${e=>`${r.sp0} ${G.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,J=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,c as o}from"./index-CD9C31qH.js";import{a as w}from"./sentry-D4D7HRQR.js";import{n as h}from"./mui-Fyk6sRCR.js";import{bi as T}from"./zeni-epic-state-I555vKHy.js";import{e as ne}from"./BankAccountSection-BbX4r1dP-CpoasKYr.js";import{M as te}from"./MagicLinkTitleSection-zMEqv8xp-Btbmxe6d.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CqlrCLSb-CeuF0biB.js";import{T as ie}from"./MailingDetailsSection-BRCMsb6d-BNC2cwHM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b8b89127-0df1-408a-8449-f2585886d66d",e._sentryDebugIdIdentifier="sentry-dbid-b8b89127-0df1-408a-8449-f2585886d66d")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,f]=w.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{f(!1),c.reset(),C?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(Z,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:C,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,c as o}from"./index-DaYznKbB.js";import{a as w}from"./sentry-Bp9GtzEp.js";import{n as h}from"./mui-Bw2IfcWM.js";import{bi as T}from"./zeni-epic-state-BxNqBiH-.js";import{e as ne}from"./BankAccountSection-D85EMzvD-DIqhMGkU.js";import{M as te}from"./MagicLinkTitleSection-Bka3Yd1_-B7VDZ-WI.js";import{W as ae,A as oe}from"./BankAccountWarningSection--CI3tctJ-C44mqvnE.js";import{T as ie}from"./MailingDetailsSection-BbWfR6ob-oFsc7Xm9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9c6668fc-b6c4-46d7-8ae1-2f81dc4e7de9",e._sentryDebugIdIdentifier="sentry-dbid-9c6668fc-b6c4-46d7-8ae1-2f81dc4e7de9")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,f]=w.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{f(!1),c.reset(),C?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(Z,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:C,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F,c3 as dt,bM as Ue,c as B,b8 as qe,al as L,bP as _e,b as te,am as be,n as ae,d as We,bR as ct,c4 as xe,c5 as ge,k as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-CD9C31qH.js";import{a as h,S as $e}from"./sentry-D4D7HRQR.js";import{n,k as Ke}from"./mui-Fyk6sRCR.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as _,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-I555vKHy.js";import{m as Dt}from"./analyticsHelper-DTl4FgRU-C9JMzvwk.js";import{g as kt,x as _t}from"./ReportTableViewSelector-ByxUIrcT-Dmvup9O6.js";import{t as Ct}from"./page-detail-CWX5S47F-CTsT95lG.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./CollapsableReportTable-BS7TgK8B-DRjSwQaJ.js";import"./AccountRow-B16HgkVQ-kTc4ueO6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7de21409-61cc-4598-90a9-9c00c9a53368",e._sentryDebugIdIdentifier="sentry-dbid-7de21409-61cc-4598-90a9-9c00c9a53368")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F,c3 as dt,bM as Ue,c as B,b8 as qe,al as L,bP as _e,b as te,am as be,n as ae,d as We,bR as ct,c4 as xe,c5 as ge,k as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-DaYznKbB.js";import{a as h,S as $e}from"./sentry-Bp9GtzEp.js";import{n,k as Ke}from"./mui-Bw2IfcWM.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as _,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-BxNqBiH-.js";import{m as Dt}from"./analyticsHelper-DePSHzJ2-Bn27sSmX.js";import{g as kt,x as _t}from"./ReportTableViewSelector-BJNFsOJq-BKg2cb6V.js";import{t as Ct}from"./page-detail-CWX5S47F-DCgjQUKs.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js";import"./AccountRow-DqfBv7EN-CVLrdkv9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9a4b5dde-0106-49cf-832d-8a3b82ab524f",e._sentryDebugIdIdentifier="sentry-dbid-9a4b5dde-0106-49cf-832d-8a3b82ab524f")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c as t,aL as L,jY as k,jZ as D,j_ as R}from"./index-CD9C31qH.js";import{n as o}from"./mui-Fyk6sRCR.js";import"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f1e70955-7942-4d77-adf8-569686041f3e",e._sentryDebugIdIdentifier="sentry-dbid-f1e70955-7942-4d77-adf8-569686041f3e")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[C(),I(),M({rewardsPlan:e})],d=a();return i.jsx(E,{children:n.map((v,S)=>i.jsxs(q,{children:[i.jsx(H,{children:v}),S<n.length-1?i.jsx(F,{windowSize:d}):null]},`step_${S}`))})},C=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(A,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},I=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(N,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
1
+ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c as t,aL as L,jY as k,jZ as D,j_ as R}from"./index-DaYznKbB.js";import{n as o}from"./mui-Bw2IfcWM.js";import"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f1e70955-7942-4d77-adf8-569686041f3e",e._sentryDebugIdIdentifier="sentry-dbid-f1e70955-7942-4d77-adf8-569686041f3e")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[C(),I(),M({rewardsPlan:e})],d=a();return i.jsx(E,{children:n.map((v,S)=>i.jsxs(q,{children:[i.jsx(H,{children:v}),S<n.length-1?i.jsx(F,{windowSize:d}):null]},`step_${S}`))})},C=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(A,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},I=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(N,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as fe,cp as ge,gM as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as Oe,p as W,cW as Te,c as u}from"./index-CD9C31qH.js";import{a as w}from"./sentry-D4D7HRQR.js";import{n as l}from"./mui-Fyk6sRCR.js";import{FB as _e,bg as je}from"./zeni-epic-state-I555vKHy.js";import{f as Pe}from"./AllUserItems-CW-BAUK2-BBXUcIHM.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CbP3DJ-D.js";import"./RoleWithToolTip-New3P2vC-B2lOe8Ik.js";import"./LabeledZeniRolesDropDownField-C2WL6H1u-DPKcMxQz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a9d1782f-804e-4413-b6fb-0e26f4cea0f9",e._sentryDebugIdIdentifier="sentry-dbid-a9d1782f-804e-4413-b6fb-0e26f4cea0f9")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},M="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:k,onCloseClick:T,onResetClick:_,onSaveClick:m,onDeleteUser:Q,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[K,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),G=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,D,b,v),values:J(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(f,r)=>{const g=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>_e(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=je(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}g.push(h)}}),Y(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const f=e.person;U?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),Q?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),j=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{j==null&&F==="removeUsers"&&(S(!1),_?.())},[j,F]),t.jsxs(t.Fragment,{children:[K===!0?t.jsx(ue,{titleComponent:t.jsx(ge,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:j==="removeUsers",isDisabled:j==="removeUsers",style:{background:G.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${M}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${M}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,O,p,k,T)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,T)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
1
+ import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as ge,cp as fe,gM as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as Oe,p as W,cW as Te,c as u}from"./index-DaYznKbB.js";import{a as w}from"./sentry-Bp9GtzEp.js";import{n as l}from"./mui-Bw2IfcWM.js";import{FB as _e,bg as je}from"./zeni-epic-state-BxNqBiH-.js";import{f as Pe}from"./AllUserItems-CpiUni9v-Boqk4BWu.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-BHSVUmku.js";import"./RoleWithToolTip-BE5aZQ2g-BCdI84kh.js";import"./LabeledZeniRolesDropDownField-CqZGfBlk-CXV9h6nB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7c420c96-a029-4d48-952a-91441a213181",e._sentryDebugIdIdentifier="sentry-dbid-7c420c96-a029-4d48-952a-91441a213181")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},M="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:k,onCloseClick:T,onResetClick:_,onSaveClick:m,onDeleteUser:Q,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[K,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),G=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,D,b,v),values:J(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>_e(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=je(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Y(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),Q?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),j=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{j==null&&F==="removeUsers"&&(S(!1),_?.())},[j,F]),t.jsxs(t.Fragment,{children:[K===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:j==="removeUsers",isDisabled:j==="removeUsers",style:{background:G.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${M}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${M}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,O,p,k,T)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,T)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{aO as li,d as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Le,gf as ao,gh as ro,gi as lo,V as t,gC as so,ac as ln,cn as di,co as sn,cp as dn,aN as q,o as i,y as d,bA as Ti,bn as co,dq as uo,gj as mo,gu as cn,gp as Di,aP as un,ao as mn,gq as po,gD as Ve,ew as Ke,e$ as ci,gE as Bt,F as fe,k as xt,gF as ho,p as j,L as pn,aq as ui,c as a,bw as go,gs as yo,cD as bo,eE as mi,gG as Mt,fe as Se,cF as pi,fh as $e,cP as nt,eg as fo,fd as hn,b as Lt,cI as gn,cH as tt,eo as Te,ai as hi,gH as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,ef as ko,b6 as Ft,gk as Io,bT as bn,R as gi,M as fn,cX as wn,cg as Et,eS as To,b8 as Do,c$ as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Ro,cL as Sn,aL as Lo,gI as $n,gJ as si,g8 as Ri,gK as At,cV as Ao,ge as zo,bI as Bo,cU as Mo}from"./index-CD9C31qH.js";import{a as S,S as kt}from"./sentry-D4D7HRQR.js";import{n}from"./mui-Fyk6sRCR.js";import{a as Fo}from"./liveblocks-BmXYR5uO.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Li,FJ as Ai,bh as bi}from"./zeni-epic-state-I555vKHy.js";import kn from"./InvoiceUploadSection-by1gHnS2-JOnnnASi.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-Bsowq6Ia-WVOdOf4y.js";import{S as Uo}from"./CurrencySelectField-CbGyQ8Yq-COlp3u2Y.js";import{e as _o}from"./BankAccountSection-BbX4r1dP-CpoasKYr.js";import{W as Vo,A as qo}from"./BankAccountWarningSection-CqlrCLSb-CeuF0biB.js";import{o as Ho}from"./radio-default-CiSgisfh-DyFeMuig.js";import"./core-D7_k1EhP.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./recharts-j_eh1fXg.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./AttachmentView-2FZ6X1gL-BtEKVjLK.js";import"./uploadReceipts-CPw64UYa-CJawRdW-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="cb268a14-c133-433c-ba5c-a0785a74d70b",e._sentryDebugIdIdentifier="sentry-dbid-cb268a14-c133-433c-ba5c-a0785a74d70b")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Le(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:R,trigger:H}=nt(),L=Go.strings.empty,T=R(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=R(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&H(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,H]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Z=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Z?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aO as li,d as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Le,gf as ao,gh as ro,gi as lo,V as t,gC as so,ac as ln,cn as di,co as sn,cp as dn,aN as q,o as i,y as d,bA as Ti,bn as co,dq as uo,gj as mo,gu as cn,gp as Di,aP as un,ao as mn,gq as po,gD as Ve,ew as Ke,e$ as ci,gE as Bt,F as fe,k as xt,gF as ho,p as j,L as pn,aq as ui,c as a,bw as go,gs as yo,cD as bo,eE as mi,gG as Mt,fe as Se,cF as pi,fh as $e,cP as nt,eg as fo,fd as hn,b as Lt,cI as gn,cH as tt,eo as Te,ai as hi,gH as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,ef as ko,b6 as Ft,gk as Io,bT as bn,R as gi,M as fn,cX as wn,cg as Et,eS as To,b8 as Do,c$ as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Ro,cL as Sn,aL as Lo,gI as $n,gJ as si,g8 as Ri,gK as At,cV as Ao,ge as zo,bI as Bo,cU as Mo}from"./index-DaYznKbB.js";import{a as S,S as kt}from"./sentry-Bp9GtzEp.js";import{n}from"./mui-Bw2IfcWM.js";import{a as Fo}from"./liveblocks-DBwZPvBF.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Li,FJ as Ai,bh as bi}from"./zeni-epic-state-BxNqBiH-.js";import kn from"./InvoiceUploadSection-DN31nPpE-DlCczyMy.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-C9p8xRkh-BtUYUlzS.js";import{S as Uo}from"./CurrencySelectField-Cqh1PAAW-DaE_m5-s.js";import{e as _o}from"./BankAccountSection-D85EMzvD-DIqhMGkU.js";import{W as Vo,A as qo}from"./BankAccountWarningSection--CI3tctJ-C44mqvnE.js";import{o as Ho}from"./radio-default-CiSgisfh-CMhPvQFy.js";import"./core-B60xt_9S.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./recharts-DIy4CLtr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./AttachmentView-BixDE2EA-J3_uk8mF.js";import"./uploadReceipts-CPw64UYa-udD8sJEF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e54e5345-a5e7-4b0d-945c-77bdc919410c",e._sentryDebugIdIdentifier="sentry-dbid-e54e5345-a5e7-4b0d-945c-77bdc919410c")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Le(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:R,trigger:H}=nt(),L=Go.strings.empty,T=R(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=R(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&H(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,H]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Z=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Z?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -0,0 +1,18 @@
1
+ import{d as b,F as T,aT as x,V as i,ax as v,o,H as p}from"./index-DaYznKbB.js";import{n as a}from"./mui-Bw2IfcWM.js";import{R as C}from"./TrendWithTransactions-CcjPNeY8-DUWt7VQm.js";import"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./TrendChart-DBRT1lZ3-CNfFrF4a.js";import"./chartTypes-9YOqgm9X-C6LFFFRd.js";import"./toCOABalancesWithID-DcgESHck-B_zdOyxB.js";import"./toChartData-BtwV0Kpo-LMyxiFZ7.js";import"./NoDataChart-DbLSGWgH-L8CdjQWY.js";import"./InsightsSection-g58q0fm4--nDzSJ-I.js";import"./NavigationDots-Dgudddqx-DYDn4vyu.js";import"./TransactionList-Dq2orY9N-CmcTb8lX.js";import"./BoxItem-CWj-NRo_-qWLA6cc4.js";import"./commonDimensions-DMXq3s0u-DuXCMMKd.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6b78d2e5-04b1-4a87-93c0-910230dd62fa",t._sentryDebugIdIdentifier="sentry-dbid-6b78d2e5-04b1-4a87-93c0-910230dd62fa")}catch{}})();const w=a.div`
2
+ display: flex;
3
+ margin: ${o.sp0} ${o.sp0} ${o.sp0} ${o.sp0};
4
+ flex-direction: column;
5
+ width: 100%;
6
+ height: 100%;
7
+ background-color: ${t=>t.theme.colors.grey5};
8
+ `,k=a.div`
9
+ padding-left: ${o.sp0};
10
+ position: fixed;
11
+ width: 100%;
12
+ z-index: 20;
13
+ position: -webkit-sticky;
14
+ position: sticky;
15
+ top: ${o.sp0};
16
+ `,D=a.div`
17
+ flex: 1 1 auto;
18
+ `;function J({firstMonthOfFY:t,selectedEntity:e,trendWithTransactionsReport:r,autoCompleteData:l,autoCompleteActions:c,analytics:s,onTransactionItemClick:m,onTrendSelectedPeriodChange:f}){const u=b(),{dateFormat:{analytics:y}}=T.getLocalizedStrings(),g=new x(u.colors.graphColor12),h=(d,n)=>{d==="Chart"&&n!=null&&s?.trackSpendIncomeTrend(e.type==="vendor"?p.Event.spendTrend:p.Event.incomeTrend,"Search",e.type,e.name,n?.addTimePeriod.startDate.format(y.MMMYYFormat)),d==="TransactionListLoadMore"&&s?.trackTransactionList(void 0,void 0,"Search",void 0,void 0,!0),f?.(n)};return i.jsxs(w,{children:[i.jsx(k,{children:i.jsx(v,{viewType:"entity_search",searchAutoComplete:{autoCompleteData:l,autoCompleteActions:c},source:"EntityDetailPage"})}),e!=null&&r!=null&&i.jsx(D,{children:i.jsx(C,{firstMonthOfFY:t,trendWithTransactionsReport:r,isDetailPage:!1,graphColor:g,page:"EntityDetailPage",onTransactionItemClick:m,onTimePeriodChange:h})})]})}export{J as default};
@@ -1,4 +1,4 @@
1
- import{q as z,F as L,V as i,dm as O,y as l,cZ as _,o as d,aa as j,aL as S,b2 as A,cr as E,c as r,a as F,am as R,al as k,b8 as B,ai as N,cw as U,p as W,cz as G}from"./index-CD9C31qH.js";import{a as f}from"./sentry-D4D7HRQR.js";import{n}from"./mui-Fyk6sRCR.js";import{l as Z}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b38f488d-0c3d-4b2d-9353-c4e4e69113c9",e._sentryDebugIdIdentifier="sentry-dbid-b38f488d-0c3d-4b2d-9353-c4e4e69113c9")}catch{}})();const w=L.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},q=n.div`
1
+ import{q as z,F as L,V as i,dm as O,y as l,cZ as _,o as d,aa as j,aL as S,b2 as A,cr as E,c as r,a as F,am as R,al as k,b8 as B,ai as N,cw as U,p as W,cz as G}from"./index-DaYznKbB.js";import{a as f}from"./sentry-Bp9GtzEp.js";import{n}from"./mui-Bw2IfcWM.js";import{l as Z}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b38f488d-0c3d-4b2d-9353-c4e4e69113c9",e._sentryDebugIdIdentifier="sentry-dbid-b38f488d-0c3d-4b2d-9353-c4e4e69113c9")}catch{}})();const w=L.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},q=n.div`
2
2
  top: ${d.sp0};
3
3
  left: ${d.sp0};
4
4
  min-height: ${e=>M.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{d as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,k7 as pe,b as d,hL as _,hK as R,n as me,bv as ue,ag as ge,k8 as Ce,k9 as ke,F as k,ci as xe,a as fe,bI as je,ai as h,av as Q,al as ye,l as ve,b6 as $e,a_ as be,b8 as ee}from"./index-CD9C31qH.js";import{a as n}from"./sentry-D4D7HRQR.js";import{n as o,c as te,k as Le}from"./mui-Fyk6sRCR.js";import{bh as re,bL as we}from"./zeni-epic-state-I555vKHy.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-j_eh1fXg.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="99615db9-f71c-47eb-8160-1ae570f6d4d9",e._sentryDebugIdIdentifier="sentry-dbid-99615db9-f71c-47eb-8160-1ae570f6d4d9")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:Fe}}}=k.getLocalizedStrings(),_e=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ne,{children:Fe}),t.jsxs(Ze,{children:[c,ze]})]})};function Re({data:e,height:i}){const c=X(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:i,width:"100%",children:t.jsxs(Ee,{data:L,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(He,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Te=o(h)`
1
+ import{d as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,k7 as pe,b as d,hL as _,hK as R,n as me,bv as ue,ag as ge,k8 as Ce,k9 as ke,F as k,ci as xe,a as fe,bI as je,ai as h,av as Q,al as ye,l as ve,b6 as $e,a_ as be,b8 as ee}from"./index-DaYznKbB.js";import{a as n}from"./sentry-Bp9GtzEp.js";import{n as o,c as te,k as Le}from"./mui-Bw2IfcWM.js";import{bh as re,bL as we}from"./zeni-epic-state-BxNqBiH-.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-DIy4CLtr.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="99615db9-f71c-47eb-8160-1ae570f6d4d9",e._sentryDebugIdIdentifier="sentry-dbid-99615db9-f71c-47eb-8160-1ae570f6d4d9")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:Fe}}}=k.getLocalizedStrings(),_e=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ne,{children:Fe}),t.jsxs(Ze,{children:[c,ze]})]})};function Re({data:e,height:i}){const c=X(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:i,width:"100%",children:t.jsxs(Ee,{data:L,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(He,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Te=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ye=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o,bT as ca,q as ke,gf as es,gg as ts,V as t,cn as da,aa as Pe,aP as ns,c as g,F as Ie,co as ua,d as bt,bA as ha,i2 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,i0 as ga,al as _e,gW as xa,gO as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,kf as ya,g2 as Ca,am as pt,L as wa,gh as ba,gi as as,bn as va,ci as Sa,c0 as ja,ez as gn,bZ as jo,a9 as qt,bM as ko,ac as Jt,kg as ka,kh as Ia,ki as $a,kj as ln,kk as rs,kl as ls,km as La,kn as No,ko as Ta,dg as cs,kp as Aa,kq as Ea,kr as Ra,ks as Da,kt as Oa,ku as Ma,kv as _a,kw as za,kx as Fa,ky as Ba,kz as ds,kA as Pa,kB as Na,kC as Va,kD as Ha,gw as us,b2 as _n,cr as zn,k as hs,N as ps,w as ms,cC as xn,dO as Io,gs as Wa,fL as Ua,gZ as qa,aq as Ja,l as Ka,fw as Ga,aB as gs,kE as Ya,aT as $o,aO as Vo,gQ as xs,kF as Za,kG as Xa,kH as Qa,bD as fs,aR as er,gE as Rt,hS as Vn,ew as En,cP as Lo,ay as tr,ex as ys,di as nr,iO as or,dn as To,cw as Fn,cz as Bn,iv as nt,b as At,hF as ir,gx as Hn,je as Ho,de as Cs,cZ as hn,kI as sr,aY as ar,dm as ws,n as pn,il as bs,iw as yo,kJ as tn,e8 as vs,ea as Ss,iR as js,iS as ks,kK as rr,cX as Pn,im as Is,fk as $s,en as Wn,aH as Ao,kL as lr,cV as cr,aW as Ls,iD as dr,dM as ur,ao as ft,kM as hr,kN as pr,b0 as Un,ej as mr,a8 as gr,ek as xr,el as fr,em as yr,ep as Wo,eq as Uo,er as Cr,kO as wr,a_ as br,eB as vr,eC as Sr,eD as jr}from"./index-CD9C31qH.js";import{a as s,S as Ts}from"./sentry-D4D7HRQR.js";import{n as a,c as Ze,k as Eo}from"./mui-Fyk6sRCR.js";import{bh as qn,Gi as qo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as Co,cy as Lr,EN as Jo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Ko,c4 as As,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as Es,Gq as Rs,Gr as Ds,Gs as Os,Gt as Ms,Gu as Ro,kU as Or}from"./zeni-epic-state-I555vKHy.js";import{r as _s,I as zs,n as nn,R as ht}from"./CollapsableReportTable-BS7TgK8B-DRjSwQaJ.js";import{N as Jn}from"./AccountRow-B16HgkVQ-kTc4ueO6.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-ph17cvaS-D4qsZSGO.js";import{d as Go}from"./mapLoadingInProgressToTreeNode-Dn79CwqB-BUGNsMmW.js";import{h as Mr}from"./VendorsAccountsSection-DlO_YtSs-tzIE0qWL.js";import{u as _r,c as Yo,d as zr,m as Fr}from"./uploadAttachment-BkEbu6k9-bZeXuHsS.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e5ebde0c-b919-47a5-9895-97fc449af5c3",e._sentryDebugIdIdentifier="sentry-dbid-e5ebde0c-b919-47a5-9895-97fc449af5c3")}catch{}})();const{common:{navBar:{back:Br},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
1
+ import{o,bT as ca,q as ke,gf as es,gg as ts,V as t,cn as da,aa as Pe,aP as ns,c as g,F as Ie,co as ua,d as bt,bA as ha,i2 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,i0 as ga,al as _e,gW as xa,gO as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,kf as ya,g2 as Ca,am as pt,L as wa,gh as ba,gi as as,bn as va,ci as Sa,c0 as ja,ez as gn,bZ as jo,a9 as qt,bM as ko,ac as Jt,kg as ka,kh as Ia,ki as $a,kj as ln,kk as rs,kl as ls,km as La,kn as No,ko as Ta,dg as cs,kp as Aa,kq as Ea,kr as Ra,ks as Da,kt as Oa,ku as Ma,kv as _a,kw as za,kx as Fa,ky as Ba,kz as ds,kA as Pa,kB as Na,kC as Va,kD as Ha,gw as us,b2 as _n,cr as zn,k as hs,N as ps,w as ms,cC as xn,dO as Io,gs as Wa,fL as Ua,gZ as qa,aq as Ja,l as Ka,fw as Ga,aB as gs,kE as Ya,aT as $o,aO as Vo,gQ as xs,kF as Za,kG as Xa,kH as Qa,bD as fs,aR as er,gE as Rt,hS as Vn,ew as En,cP as Lo,ay as tr,ex as ys,di as nr,iO as or,dn as To,cw as Fn,cz as Bn,iv as nt,b as At,hF as ir,gx as Hn,je as Ho,de as Cs,cZ as hn,kI as sr,aY as ar,dm as ws,n as pn,il as bs,iw as yo,kJ as tn,e8 as vs,ea as Ss,iR as js,iS as ks,kK as rr,cX as Pn,im as Is,fk as $s,en as Wn,aH as Ao,kL as lr,cV as cr,aW as Ls,iD as dr,dM as ur,ao as ft,kM as hr,kN as pr,b0 as Un,ej as mr,a8 as gr,ek as xr,el as fr,em as yr,ep as Wo,eq as Uo,er as Cr,kO as wr,a_ as br,eB as vr,eC as Sr,eD as jr}from"./index-DaYznKbB.js";import{a as s,S as Ts}from"./sentry-Bp9GtzEp.js";import{n as a,c as Ze,k as Eo}from"./mui-Bw2IfcWM.js";import{bh as qn,Gi as qo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as Co,cy as Lr,EN as Jo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Ko,c4 as As,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as Es,Gq as Rs,Gr as Ds,Gs as Os,Gt as Ms,Gu as Ro,kU as Or}from"./zeni-epic-state-BxNqBiH-.js";import{r as _s,I as zs,n as nn,R as ht}from"./CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js";import{N as Jn}from"./AccountRow-DqfBv7EN-CVLrdkv9.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-Z_evAkYB-C750bIcv.js";import{d as Go}from"./mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js";import{h as Mr}from"./VendorsAccountsSection-DztKh7dz-CgEUNYEY.js";import{u as _r,c as Yo,d as zr,m as Fr}from"./uploadAttachment-C69IP2HG-CJ_0eQlo.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="35d55dbf-8066-4d6c-a4be-b8208e209497",e._sentryDebugIdIdentifier="sentry-dbid-35d55dbf-8066-4d6c-a4be-b8208e209497")}catch{}})();const{common:{navBar:{back:Br},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
2
2
  display: flex;
3
3
  width: ${o.sp4};
4
4
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kQ as lt,kR as ot,kS as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kT as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,c as u,ff as gt,b9 as ft,b6 as be,p as Ee,am as xt,ar as We}from"./index-CD9C31qH.js";import{a as J}from"./sentry-D4D7HRQR.js";import{n as d}from"./mui-Fyk6sRCR.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-I555vKHy.js";import{Y as vt}from"./LabeledDocumentField-DHqxzbx7-BskAR3wZ.js";import{S as te}from"./LabeledText-DMjMKupg-Bncb0Hwv.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d02ce0a8-3cf6-4386-968b-928a3fe801f5",e._sentryDebugIdIdentifier="sentry-dbid-d02ce0a8-3cf6-4386-968b-928a3fe801f5")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(It,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kQ as lt,kR as ot,kS as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kT as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,c as u,ff as gt,b9 as ft,b6 as xe,p as Ee,am as bt,ar as We}from"./index-DaYznKbB.js";import{a as J}from"./sentry-Bp9GtzEp.js";import{n as d}from"./mui-Bw2IfcWM.js";import{bL as qe,bh as le,bP as He,bH as xt,bo as wt}from"./zeni-epic-state-BxNqBiH-.js";import{Y as vt}from"./LabeledDocumentField-DC4TbHE8-CfiBP2-V.js";import{S as te}from"./LabeledText-DHLOUxK_-DcVlPblA.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c2204188-86cb-4998-a49b-6b9109ee1e30",e._sentryDebugIdIdentifier="sentry-dbid-c2204188-86cb-4998-a49b-6b9109ee1e30")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(It,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -38,7 +38,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
38
38
  position: relative;
39
39
  height: ${e=>`${e.perSectionHeight}%`};
40
40
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
41
- `,I={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Dt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:P,updateFileStatusById:x,onClickAddAccount:w})=>{const o=G(),{spendManagement:D,dateFormat:y,common:C}=q.getLocalizedStrings(),$=D.billPay.billDetails,X=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=C.documents,H=I.largeLabelWidth.value(o),[g,Z]=J.useState(!1),Y=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),A=r=>s.find(m=>m.id===r),L=r=>ze(A(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=A(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(_=>t.jsxs(W,{children:[t.jsxs(z,{children:[_.name,j.paymentDetails.colon]}),t.jsx(E,{children:_.value})]},_.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(At,{children:$.paymentDetailsTitle}),t.jsxs(kt,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:H,style:{marginLeft:I.labelMarginLeftPicker.valuePx(o),marginTop:I.labelMarginTopPicker.valuePx(o),marginRight:I.labelMarginRightPicker.valuePx(o),width:I.largeLabelPickerWidth.value(o)}},style:{paddingTop:I.labeledFieldPaddingTop.valuePx(o),paddingBottom:I.labeledFieldPaddingBottom.valuePx(o),paddingLeft:I.labeledFieldPaddingLeft.valuePx(o),paddingRight:I.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:I.infoLabelPaddingRight.valuePx(o),marginTop:I.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:Ae($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(U,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:H},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Ae($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(U,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:I.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:Y,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(U,{}),t.jsx(ht,{label:{label:$.paymentDate,width:I.labelWidth.value(o)},style:{paddingBottom:I.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:X,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(U,{}),t.jsx(Ve,{label:{label:$.paymentTo,width:H},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(U,{}),t.jsx(vt,{name:V(e,"receipt"),sizeLimit:yt,deleteFileStatusById:P,updateFileStatusById:x,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:H},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>Z(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),T==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(U,{})]})]})},At=d(be)`
41
+ `,I={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Dt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:P,updateFileStatusById:b,onClickAddAccount:w})=>{const o=G(),{spendManagement:D,dateFormat:y,common:C}=q.getLocalizedStrings(),$=D.billPay.billDetails,X=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=C.documents,H=I.largeLabelWidth.value(o),[g,Z]=J.useState(!1),Y=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(xt)===!1),A=r=>s.find(m=>m.id===r),L=r=>ze(A(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=A(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(_=>t.jsxs(W,{children:[t.jsxs(z,{children:[_.name,j.paymentDetails.colon]}),t.jsx(E,{children:_.value})]},_.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(At,{children:$.paymentDetailsTitle}),t.jsxs(kt,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:H,style:{marginLeft:I.labelMarginLeftPicker.valuePx(o),marginTop:I.labelMarginTopPicker.valuePx(o),marginRight:I.labelMarginRightPicker.valuePx(o),width:I.largeLabelPickerWidth.value(o)}},style:{paddingTop:I.labeledFieldPaddingTop.valuePx(o),paddingBottom:I.labeledFieldPaddingBottom.valuePx(o),paddingLeft:I.labeledFieldPaddingLeft.valuePx(o),paddingRight:I.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:I.infoLabelPaddingRight.valuePx(o),marginTop:I.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:Ae($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(U,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:H},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Ae($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(U,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:I.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:Y,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(U,{}),t.jsx(ht,{label:{label:$.paymentDate,width:I.labelWidth.value(o)},style:{paddingBottom:I.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:X,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(U,{}),t.jsx(Ve,{label:{label:$.paymentTo,width:H},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(U,{}),t.jsx(vt,{name:V(e,"receipt"),sizeLimit:yt,deleteFileStatusById:P,updateFileStatusById:b,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:H},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>Z(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),T==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(U,{})]})]})},At=d(xe)`
42
42
  color: ${e=>e.theme.colors.primary};
43
43
  margin-bottom: ${n.sp3};
44
44
  `,kt=d.div`
@@ -73,13 +73,13 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
73
73
  display: flex;
74
74
  justify-content: space-between;
75
75
  width: 100%;
76
- `,Ot=d(xt)`
76
+ `,Ot=d(bt)`
77
77
  padding: ${n.sp1} ${n.sp4};
78
78
  background: ${e=>e.theme.colors.grey4};
79
79
  border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
80
80
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
81
81
  color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
82
- `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Lt.largeLabelWidth.value(p),P=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const x={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=C}},w=x?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:Ye(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Rt,{children:t.jsxs(Vt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:x?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Ve,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},Ye=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(be)`
82
+ `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Lt.largeLabelWidth.value(p),P=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const b={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=C}},w=b?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(b?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||b?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:Ye(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Rt,{children:t.jsxs(Vt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:b?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Ve,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},Ye=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(xe)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${n.sp3};
85
85
  `,Rt=d.div`
@@ -98,7 +98,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
98
98
  background-color: ${e=>e.theme.colors.grey3};
99
99
  min-height: 1px;
100
100
  max-height: 1px;
101
- `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:T,common:P}=q.getLocalizedStrings(),x=l.billDetails,w=i?.paymentType,o=T.visual.MMMDCommaYYYYformat,D={amount:i?.amount?.amount??0,currencyCode:P.currency.currencyCode,currencySymbol:P.currency.currencySymbol},y=ze(a.find(X=>X.id===i?.paymentToAccountId)),C=i?.paymentDate,$=ke(w?.method??"");return t.jsx(_t,{children:t.jsxs(Ut,{windowSize:h,style:s,children:[t.jsxs(Xt,{children:[t.jsx(ae,{children:x.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:D,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:x.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:x.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):P.strings.empty}),t.jsx(xe,{}),t.jsx(te,{label:{label:x.paymentMethod,width:p},style:{width:"auto"},value:ke(w?.method??"")}),t.jsx(xe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:x.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${x.estimatedArrival}${qe(He(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${x.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${x.deliveryTimeUnits})`}),t.jsx(xe,{})]}):null,t.jsx(te,{label:{label:x.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ht,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Yt,{children:t.jsx(Oe,{amount:wt(D.amount,D.currencyCode,D.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
101
+ `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:T,common:P}=q.getLocalizedStrings(),b=l.billDetails,w=i?.paymentType,o=T.visual.MMMDCommaYYYYformat,D={amount:i?.amount?.amount??0,currencyCode:P.currency.currencyCode,currencySymbol:P.currency.currencySymbol},y=ze(a.find(X=>X.id===i?.paymentToAccountId)),C=i?.paymentDate,$=ke(w?.method??"");return t.jsx(_t,{children:t.jsxs(Ut,{windowSize:h,style:s,children:[t.jsxs(Xt,{children:[t.jsx(ae,{children:b.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:D,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:b.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:b.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):P.strings.empty}),t.jsx(be,{}),t.jsx(te,{label:{label:b.paymentMethod,width:p},style:{width:"auto"},value:ke(w?.method??"")}),t.jsx(be,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:b.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${b.estimatedArrival}${qe(He(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${b.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${b.deliveryTimeUnits})`}),t.jsx(be,{})]}):null,t.jsx(te,{label:{label:b.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ht,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Yt,{children:t.jsx(Oe,{amount:wt(D.amount,D.currencyCode,D.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
102
102
  display: flex;
103
103
  width: 100%;
104
104
  box-sizing: border-box;
@@ -145,7 +145,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
145
145
  margin-bottom: ${n.sp3};
146
146
  margin-top: ${n.sp3};
147
147
  width: ${e=>oe.containerWidth.valuePx(e.windowSize)};
148
- `,xe=d.div`
148
+ `,be=d.div`
149
149
  display: flex;
150
150
  flex: 1;
151
151
  background-color: ${e=>e.theme.colors.grey3};
@@ -153,11 +153,11 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
153
153
  max-height: 1px;
154
154
  `,Xt=d.div`
155
155
  display: flex;
156
- `,ae=d(be)`
156
+ `,ae=d(xe)`
157
157
  display: flex;
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  margin-right: ${n.sp1};
160
- `,Me="expressPayPage",Zt=e=>`${e}_form`,O="recipientDetails",F="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:P,saveVendorDetailLocalData:x,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:H,expressPayLocalData:g,vendorTypeList:Z,allPaymentMethods:Y,paymentToOptions:A,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:_}=e,[v,Q]=J.useState(0),_e=Re(),K=G(),{common:we,spendManagement:Ue}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ue.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=H,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(Z,L,A,$e,Y,N,g,j,C?.entityAutoCompleteView),values:Be(Z,L,A,$e,Y,N,g,j,C?.entityAutoCompleteView)}),Pe=De(Ce.saveStatus?.fetchState),Ie=De(m);J.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Xe(b,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Pe==="In-Progress"&&_==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Ie==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,_,v,o,g?.vendorId,Ie,m,P]);const Xe=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[O].recipient.selectedOption,k=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Ze(S),y(),N?.vendorId!==b&&k!=null&&(l?.(b),he(S,!1,A,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,k=g?.paymentType?.method,M=b!=null&&k!=null&&(b.toLowerCase().includes("ach")&&k.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&k.toLowerCase().includes("ach"));he(S,M,A,g?.vendorId)}},Ze=c=>{const S=c[O].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(k=>k.id===S)!=null;if(S!=null&&b===!0){T?.(S),he(c,!1,A,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,k=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Kt(c,k===!0?b:void 0,N,S);x?.(M,b)},he=(c,S,b,k)=>{const M=(()=>{let B=[];return c[F].paymentMethod?.method.includes("wire")===!0?B=b.filter(R=>!!R.bankRoutingNumberWireTransfer).map(R=>R.id):B=b.filter(R=>!!R.bankRoutingNumberAch).map(R=>R.id),B})(),ye=b.find(B=>B.id===c[F]?.paymentTo?.selectedOption),Qe={vendorId:k,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?qe(c[F].paymentDate.toString()):le(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Qe)},Te=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Ke=()=>{v===2?Q(1):P(g?.vendorId)},Ge=()=>{v===0?P(g?.vendorId):Q(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?A.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??Y?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ge,backgroundColor:_e.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:K,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:Z,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Dt,{sectionId:F,paymentDetails:Fe,paymentToOptions:A,allPaymentMethods:Y,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:A,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Zt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ke}})]})},Be=(e,i,a,s,h,p,l,T,P)=>{const x=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:Ye(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?x:[],selectedOption:l?.paymentToAccountId??x[0]},receipt:T}}};function Kt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Gt=d.div`
160
+ `,Me="expressPayPage",Zt=e=>`${e}_form`,O="recipientDetails",F="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:P,saveVendorDetailLocalData:b,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:H,expressPayLocalData:g,vendorTypeList:Z,allPaymentMethods:Y,paymentToOptions:A,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:_}=e,[v,Q]=J.useState(0),_e=Re(),K=G(),{common:we,spendManagement:Ue}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ue.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=H,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(Z,L,A,$e,Y,N,g,j,C?.entityAutoCompleteView),values:Be(Z,L,A,$e,Y,N,g,j,C?.entityAutoCompleteView)}),Pe=De(Ce.saveStatus?.fetchState),Ie=De(m);J.useEffect(()=>{const c=ee.watch((S,{name:x})=>{x!=null&&S!=null&&tt(()=>Xe(x,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Pe==="In-Progress"&&_==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Ie==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,_,v,o,g?.vendorId,Ie,m,P]);const Xe=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const x=S[O].recipient.selectedOption,k=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===x);Ze(S),y(),N?.vendorId!==x&&k!=null&&(l?.(x),he(S,!1,A,x))}else if(c.includes("recipient"))ue(S);else{const x=S[F].paymentMethod?.method,k=g?.paymentType?.method,M=x!=null&&k!=null&&(x.toLowerCase().includes("ach")&&k.toLowerCase().includes("wire")||x.toLowerCase().includes("wire")&&k.toLowerCase().includes("ach"));he(S,M,A,g?.vendorId)}},Ze=c=>{const S=c[O].recipient.selectedOption,x=C?.entityAutoCompleteView.vendor.find(k=>k.id===S)!=null;if(S!=null&&x===!0){T?.(S),he(c,!1,A,S);return}ue(c,!0)},ue=(c,S)=>{const x=N?.vendorId,k=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===x)!=null,M=Kt(c,k===!0?x:void 0,N,S);b?.(M,x)},he=(c,S,x,k)=>{const M=(()=>{let B=[];return c[F].paymentMethod?.method.includes("wire")===!0?B=x.filter(R=>!!R.bankRoutingNumberWireTransfer).map(R=>R.id):B=x.filter(R=>!!R.bankRoutingNumberAch).map(R=>R.id),B})(),ye=x.find(B=>B.id===c[F]?.paymentTo?.selectedOption),Qe={vendorId:k,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?qe(c[F].paymentDate.toString()):le(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Qe)},Te=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Ke=()=>{v===2?Q(1):P(g?.vendorId)},Ge=()=>{v===0?P(g?.vendorId):Q(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?A.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??Y?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ge,backgroundColor:_e.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:K,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:Z,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Dt,{sectionId:F,paymentDetails:Fe,paymentToOptions:A,allPaymentMethods:Y,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:A,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Zt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ke}})]})},Be=(e,i,a,s,h,p,l,T,P)=>{const b=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:Ye(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?b:[],selectedOption:l?.paymentToAccountId??b[0]},receipt:T}}};function Kt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Gt=d.div`
161
161
  display: flex;
162
162
  flex-wrap: wrap;
163
163
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{d as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,c as g}from"./index-CD9C31qH.js";import{n as d}from"./mui-Fyk6sRCR.js";import"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="7062b7ed-42ff-47f3-baed-52b07bd23c93",e._sentryDebugIdIdentifier="sentry-dbid-7062b7ed-42ff-47f3-baed-52b07bd23c93")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
1
+ import{d as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,c as g}from"./index-DaYznKbB.js";import{n as d}from"./mui-Bw2IfcWM.js";import"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="7062b7ed-42ff-47f3-baed-52b07bd23c93",e._sentryDebugIdIdentifier="sentry-dbid-7062b7ed-42ff-47f3-baed-52b07bd23c93")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{q as H,V as l,F as X,cP as q,eo as G,d as ee,cV as Q,y as L,ge as Z,o as i,aN as B,eg as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,c as g,gB as ge,cW as be,ex as ye,ao as ve,bF as we,b as W,dg as $e,bG as fe,bE as ke}from"./index-CD9C31qH.js";import{n as d}from"./mui-Fyk6sRCR.js";import{a as V}from"./sentry-D4D7HRQR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a8664450-d950-4f1c-93ce-3c65bf42d30d",e._sentryDebugIdIdentifier="sentry-dbid-a8664450-d950-4f1c-93ce-3c65bf42d30d")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{q as H,V as l,F as X,cP as q,eo as G,d as ee,cV as Q,y as L,ge as Z,o as i,aN as B,eg as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,c as g,gB as ge,cW as be,ex as ye,ao as ve,bF as we,b as W,dg as $e,bG as fe,bE as ke}from"./index-DaYznKbB.js";import{n as d}from"./mui-Bw2IfcWM.js";import{a as V}from"./sentry-Bp9GtzEp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a8664450-d950-4f1c-93ce-3c65bf42d30d",e._sentryDebugIdIdentifier="sentry-dbid-a8664450-d950-4f1c-93ce-3c65bf42d30d")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{d as Ke,q as Y,a9 as Ee,ay as _e,cC as Ye,V as t,bA as Ze,ac as Je,cl as Ce,o,n as ye,F as ue,bM as Xe,aN as T,ck as Qe,b2 as et,di as tt,cr as lt,aa as ot,k as nt,cX as it,bD as We,aR as at,y as N,bN as se,c as $,dn as Ie,ai as we,cw as rt,cz as st,cP as dt,de as je,cZ as me,bR as E,es as ke,ao as ct,ig as ht,al as mt,bg as gt,ic as pt,ih as De,cg as ut,bs as wt,p as Oe,ii as bt}from"./index-CD9C31qH.js";import{a as C}from"./sentry-D4D7HRQR.js";import{n as i,c as Se}from"./mui-Fyk6sRCR.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-I555vKHy.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="3265da3c-ef6f-4266-892b-94384d5f1d08",e._sentryDebugIdIdentifier="sentry-dbid-3265da3c-ef6f-4266-892b-94384d5f1d08")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
1
+ import{d as Ke,q as Y,a9 as Ee,ay as _e,cC as Ye,V as t,bA as Ze,ac as Je,cl as Ce,o,n as ye,F as ue,bM as Xe,aN as T,ck as Qe,b2 as et,di as tt,cr as lt,aa as ot,k as nt,cX as it,bD as We,aR as at,y as N,bN as se,c as $,dn as Ie,ai as we,cw as rt,cz as st,cP as dt,de as je,cZ as me,bR as E,es as ke,ao as ct,ig as ht,al as mt,bg as gt,ic as pt,ih as De,cg as ut,bs as wt,p as Oe,ii as bt}from"./index-DaYznKbB.js";import{a as C}from"./sentry-Bp9GtzEp.js";import{n as i,c as Se}from"./mui-Bw2IfcWM.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-BxNqBiH-.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="3265da3c-ef6f-4266-892b-94384d5f1d08",e._sentryDebugIdIdentifier="sentry-dbid-3265da3c-ef6f-4266-892b-94384d5f1d08")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,aJ as D,F as c,aN as E,aV as b,H as I,aK as Z,aQ as j,o as H,ai as x}from"./index-CD9C31qH.js";import{S as m,a as t}from"./sentry-D4D7HRQR.js";import{c as V}from"./SummaryCard-DUTikTiQ-BCjbo6uc.js";import{n as d}from"./mui-Fyk6sRCR.js";import{N as y}from"./NavigationArrow-qaYGOFR3-vQsfUvU5.js";import{k as S}from"./NavigationDots-U7wL0ya4-C_19mcKN.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./ReloadCard-DhRbLcVA-eL-hPi30.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="46f4f77d-8854-448b-84a7-2fbb842c3c82",e._sentryDebugIdIdentifier="sentry-dbid-46f4f77d-8854-448b-84a7-2fbb842c3c82")}catch{}})();const T=d.div`
1
+ import{V as r,aJ as D,F as c,aN as E,aV as b,H as I,aK as Z,aQ as j,o as H,ai as x}from"./index-DaYznKbB.js";import{S as m,a as t}from"./sentry-Bp9GtzEp.js";import{c as V}from"./SummaryCard-Bn8n64F6-PcN8QoKZ.js";import{n as d}from"./mui-Bw2IfcWM.js";import{N as y}from"./NavigationArrow-Ctt_H8KP-DqY5GQ1R.js";import{k as S}from"./NavigationDots-Dgudddqx-DYDn4vyu.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./ReloadCard-BsOjPgsc-ChC0ZJ85.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="99c39953-e422-4f6f-9dd1-f54c7347331a",e._sentryDebugIdIdentifier="sentry-dbid-99c39953-e422-4f6f-9dd1-f54c7347331a")}catch{}})();const T=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;