@zeniai/web-cockpit-ui 1.15.32-dev → 1.15.33-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 (264) hide show
  1. package/dist/assets/{ACHDetailsPage-tTJc_EMP-DYpFLcu6.js → ACHDetailsPage-tTJc_EMP-JVs_zF1l.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-ByUb4gCe-JuDAfC8h.js → AIPerformancePage-ByUb4gCe-YZpu4vrJ.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-VLhd4vnL-DXlupn44.js → AccountInfoPage-VLhd4vnL-DpwXXtSe.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BHD9tOzB-DoEbtT2v.js → AccountInfoPageContent-BHD9tOzB-BHxYVo8T.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DNjLeZYt-D2fsUG4f.js → AccountLockedInfoModal-DNjLeZYt-RF0B3taz.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BEfA1bsG-I47iAx1D.js → AccountReconDetailsDrawerPage-BEfA1bsG-BGxdStWE.js} +1 -1
  7. package/dist/assets/{AccountRow-CK5HLVrf-CkNAMQ2u.js → AccountRow-CK5HLVrf-D0vJbrVw.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CaTnaSn3-FCk-ULE2.js → AccountsPromoCardStack-CaTnaSn3-BEKrT1La.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DmajBqRK-DEh9VlDB.js → AddAddressForCardDrawer-DmajBqRK-CDZxdtZh.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BSzuByT6-nwQQhLJ_.js → AddToWalletPage-BSzuByT6-AytqPoqf.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-D2gPAJKw-DtSYadID.js → AgingReportsPage-D2gPAJKw-BVdXqGIt.js} +1 -1
  12. package/dist/assets/{AllUserItems-BIf1v0a5-B9sgoKVP.js → AllUserItems-BIf1v0a5-DzOzA0X4.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-pfP6vTc2-DNdR70Vv.js → ApAgingDetailPage-pfP6vTc2-CXoAD_Rd.js} +1 -1
  14. package/dist/assets/{AppBasePage-BGPY0zrb-Cgw6EXRu.js → AppBasePage-BGPY0zrb-BpDhqcpf.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-6AX5Y5tK-C6Pu2n78.js → AppDrawerContent-6AX5Y5tK-BxlUqkAp.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BurRfT7n-D8ylQviU.js → ApprovalRulesSettingsPage-BurRfT7n-CZtW8LG2.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Dx8jVL0O-CupzM74j.js → ArAgingChart-Dx8jVL0O-C_Q2-B51.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BcrHD5zT-BoHizRsh.js → ArAgingDetailPage-BcrHD5zT-CM1uvyXR.js} +1 -1
  19. package/dist/assets/{AttachmentView-CdIA5zLk-Ccm-n9L1.js → AttachmentView-CdIA5zLk-CHhVVcxV.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Qe9eRUmE-B6lQ-JzW.js → BankAccountSection-Qe9eRUmE-D-wZOxC-.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-BfN1KiTF-CqPWwbNY.js → BankAccountWarningSection-BfN1KiTF-BCgv1kn8.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Dmub7xxp-BTbJWWvl.js → BankConnectionsSettingsPage-Dmub7xxp-ttMTWE1s.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DHCP-PUd-DpbXdVFf.js → BillDetailPage-DHCP-PUd-Bed-hsgG.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DS31MPI0-Dn-T4Njh.js → BillPayApprovalRuleDetailPage-DS31MPI0-C_xmyh4F.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-Cc3wkV9k-DMlp8m1G.js → BillPayApprovalRulesPage-Cc3wkV9k-DxasZWJd.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DslCxm8f-Be4WJJK2.js → BillPayPromoPage-DslCxm8f-2vWRJFVU.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-DnabCnSI-3IQFcnkB.js → BillPaySetUpPage-DnabCnSI-CSpudaLb.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-B91NuvxJ-DIg4E4pn.js → BillingSettingsPage-B91NuvxJ-BFyh2hP1.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BOulFH2M-CfBwEemW.js → BillsBulkReviewDrawerPage-BOulFH2M-C8H-VrES.js} +1 -1
  30. package/dist/assets/{BoxItem-Dhk2kQlB-ymoj_NmA.js → BoxItem-Dhk2kQlB-7DMZf7hE.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BU2b5oF1-tm8Rn4Pv.js → BusinessVerificationPage-BU2b5oF1-CeRYexKq.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CRjU8jZf-DzA9ggM9.js → CardNumberSubText-CRjU8jZf-CaAOLQi3.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-GNwtsA01-PgGpZ01a.js → CashbackDetailPage-GNwtsA01-DYZtdebs.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DspeEPRm-DHY-84Ch.js → ChargeCardDetailPage-DspeEPRm-CRPOj0FO.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-C4N76196-CL7LpKYX.js → ChargeCardListPage-C4N76196-_TZWZAyW.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-ObawcMuP-BDRD6_-S.js → ChargeCardListTable-ObawcMuP-DPDXNoQ5.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-NBxH70YE-Cj3oOuEC.js → ChargeCardPaymentHistoryPage-NBxH70YE-CzJgTptl.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-CN9d98ht-4K-amLMG.js → ChargeCardPromoPage-CN9d98ht-eCdwOrqV.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Cie4HjPR-ZtUOiOiR.js → ChargeCardSetupPage-Cie4HjPR-DueWhTM3.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-DSUakLyb-fNOGZHcg.js → ChargeCardStatementsPage-DSUakLyb-By1Jlmkh.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BK6iLLEA-jWxLf2wl.js → CheckDepositDrawerPage-BK6iLLEA-C6AbHHEi.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-vwzu1AgW-BTLj3VXb.js → CollapsableReportTable-vwzu1AgW-Ct7cqa2g.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CtptCfIN-apBFYZGi.js → CompanyOfficerDetailsSection-CtptCfIN-BKaA69A2.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DyasR99R-CYkEVZS_.js → CompanyPassportCard-DyasR99R-NJ3zNYJs.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-Xp8Bn6ev-Bfcf_ruC.js → CompanyPassportPage-Xp8Bn6ev-Ba1oeokb.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CyoPiiWR-xf-bWpXE.js → CompleteProfile-CyoPiiWR-DN6-FQZn.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BWYsiO3O-BTrtU6ii.js → ConfettiBurst-BWYsiO3O-Ceq6TxdL.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js → ConstrainedInnerElement-BeIpAPjB-CaNWnVCp.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CecROHGm-D41yC84M.js → CreateOrEditVendorPage-CecROHGm-B9V_PvUB.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-C6Tx5HFf-oVWkJDzH.js → CreditCardPaymentDrawerPage-C6Tx5HFf-iH7hBOtp.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-DAmYUy85-BWbCVGju.js → CurrencySelectField-DAmYUy85-B3zAK1N0.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CsBXicnS-QAit89b5.js → CustomerOnboardingActivationPage-CsBXicnS-d9i_xa6c.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-C-NQLkh7.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BrWGFePj-DMstYizh.js → CustomerOnboardingDetailPageSkeleton-BrWGFePj-JOIIFpWo.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-EIhXr3Tb-DznkXuZH.js → CustomerOnboardingNoStepsPage-EIhXr3Tb-B5QsqhM3.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-DXoS8Lvh-C2VugePi.js → CustomerOnboardingPage-DXoS8Lvh-ChNrvfJq.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BRXSZWKm-BD_syEun.js → CustomerOnboardingProductSuitePage-BRXSZWKm-DMQdkP0g.js} +1 -1
  58. package/dist/assets/{Dashboard-Bd774Cwk-AzSeLKy1.js → Dashboard-Bd774Cwk-B5G2C0hp.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CdyFzIwd-DfVPg9E3.js → DashboardReportPage-CdyFzIwd-5USjRrOO.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-NYtLjb5A-C-FYqFtS.js → DashboardSidebarBackgroundAnimation-NYtLjb5A-B9HHjx7q.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DZk4h7x--C88hUVsA.js → DepositAccTransactionItem-DZk4h7x--JtAae35a.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CKgbbZOW-BgK9Zw4Y.js → DepositAccTransactionListPage-CKgbbZOW-DF7QJT8e.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CY2Pv6jd-CheyQF2l.js → DomesticWireDetailsPage-CY2Pv6jd-PVTtvH_L.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-BflHtA84-B4UfqjFr.js → DownloadOverlay-BflHtA84-CLzX7-nB.js} +1 -1
  65. package/dist/assets/{DrawerPage-5Q_xvjmz-Co18igPQ.js → DrawerPage-5Q_xvjmz-Gkom4R6r.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Dq02jvsi-b5H5H_8q.js → EditPeoplePage-Dq02jvsi-BnEzFUsu.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-CYnqM-2--BRFle9yb.js → EditReimbursementDetailPage-CYnqM-2--BtH5hFWf.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-s91tl4Wk-BAN18nGN.js → EntityDetailPage-s91tl4Wk-UEazAfXz.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BUjGJmFT-CjfLlHfk.js → EntitySummarySection-BUjGJmFT-BwWL2gxK.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-D7_-NOLq-Bds1x68a.js → ExpenseAutomationOverviewPage-D7_-NOLq-BJ_OBZ2H.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CFxbvTbd-VTUN9rRL.js → ExpenseAutomationPage-CFxbvTbd-C1QbLIJx.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-gyFQBzLO-BnlxI_0_.js → ExpressPayPage-gyFQBzLO--eYt7PxM.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BT-WJozX-m5nY8Cr0.js → FeaturePreviewPage-BT-WJozX-PwYFiO8F.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-Du2gzmC6-LTRvUZJY.js → FollowStepsSection-Du2gzmC6-CTtddqcK.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-B0MxdV0g-O7Eaq9sr.js → GlobalReviewListPage-B0MxdV0g-D_Aytyvi.js} +1 -1
  76. package/dist/assets/{InformationCardStack-rAU0N5_N-BNWO8W3c.js → InformationCardStack-rAU0N5_N-IDRWZsTa.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-CEkmuCB6-CpJ0Ou6A.js → InsightsCardStack-CEkmuCB6-D_F7qXLM.js} +1 -1
  78. package/dist/assets/{InsightsSection-CK6L0ggh-DiYoPBIp.js → InsightsSection-CK6L0ggh-C8NcHU2i.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-Do41V6J0-CYPG6GBQ.js → IntegrationsSettingsPage-Do41V6J0-CN4TIV_g.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BnsnrM3q-TCK2vz36.js → InternationalWireSwiftDetailsPage-BnsnrM3q-D8Uvl__E.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-C3EEqPT--COWTCQVg.js → InternationalWireVerificationPage-C3EEqPT--X5owLSza.js} +1 -1
  82. package/dist/assets/{InviteFormPage-x40AE2Pw-DcL74k0M.js → InviteFormPage-x40AE2Pw-Cwc8DgQC.js} +1 -1
  83. package/dist/assets/{InvitePageListView-CiVNaN8z-BNxs-kv2.js → InvitePageListView-CiVNaN8z-DXTeCRHw.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-DGTYEet3-q8LMzEbG.js → InvitePeoplePage-DGTYEet3-CQviTEE9.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-C4K602QO-edDVc4Pa.js → InvoiceUploadSection-C4K602QO-jZHbdSPk.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BVmxvrlx-Ca71cuKs.js → IssueChargeCardPage-BVmxvrlx-sNYbC4mK.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-aejn380k-DwlaPoVh.js → LabeledAddressValue-aejn380k-CL2u8tMG.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DSU3b6xx-SFUhns2M.js → LabeledAddressValueField-DSU3b6xx-CDxj0ooq.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-CKE6Nln6-BoFyY4Lg.js → LabeledControlledCheckBoxField-CKE6Nln6-CnRav_YA.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1bMiaZj-DHyO4cp8.js → LabeledCountryMultiSelectField-D1bMiaZj-DlCZ3mUR.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-amXDv508-ayE33Uzo.js → LabeledCreatableSingleSelectField-amXDv508-D3zrdjHH.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-2_VcrmJN-NvvTwxvI.js → LabeledDocumentField-2_VcrmJN-CrOeAM0e.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-C6sW-5j7-DVIx7gwf.js → LabeledDropDownFormattedTextField-C6sW-5j7-_cuCuy2m.js} +1 -1
  94. package/dist/assets/{LabeledText-CrAhx4_P-BV766MG2.js → LabeledText-CrAhx4_P--DhKn8K9.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-BekpWR05.js → LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-D_uhBiwK.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DS1icRVA-0u4rotdW.js → LabeledZeniRolesDropDownField-DS1icRVA-CdlqO7bh.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-VdBxLFQc-55c5hzn3.js → LinkJETransactionPage-VdBxLFQc-HBL8AZD5.js} +1 -1
  98. package/dist/assets/{LockCardPage-Bs8xkpNa-BjwEOKdz.js → LockCardPage-Bs8xkpNa-DbVi-_6Z.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-B0-WExEI-lrmES1sf.js → LowBalancePopup-B0-WExEI-BK0nEzRb.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-BitHcc3I-C98ytwJK.js → MagicLinkACHDetailsPage-BitHcc3I-Cmq3D7WI.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BFfxbnHp-N-D8lO-1.js → MagicLinkDomesticWireDetailsPage-BFfxbnHp-DtNd9-98.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BncWaxsb-Bxijl5E3.js → MagicLinkInternationalWireDetailsPage-BncWaxsb-4BDuvw_M.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-DRcOlHnh-CSKpgnmw.js → MagicLinkSuccessPage-DRcOlHnh-gzfrnICD.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-vMBVJSVF-Cq6tgd4r.js → MagicLinkTitleSection-vMBVJSVF-DQrbMfqB.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CKtLfBik-Pke0GJpe.js → MailingDetailsSection-CKtLfBik-CpHPwhEc.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D6Gjqgv2-CIp3b4Hf.js → MyBankConnectionsSettingsPage-D6Gjqgv2-BSxNxqUL.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-y9U4DJm9-CBr9crJC.js → MyPendingActivationChargeCardListPage-y9U4DJm9-DoBslPHM.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-D7btjvQI-mZy4329L.js → MyProfileSettingsPage-D7btjvQI-DRqWbw_e.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-B_vr1zc6-DAolNzoK.js → NavBarWithPicker-B_vr1zc6-kRUNXNea.js} +1 -1
  110. package/dist/assets/{NavigationArrow-suk7KbA1-xl7E8Abj.js → NavigationArrow-suk7KbA1-C6w9Tb_E.js} +1 -1
  111. package/dist/assets/{NavigationDots-Dqcv5rrC-DzoP8t9X.js → NavigationDots-Dqcv5rrC-D1BiHDxS.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-CRg1E4PG-_ea1Cd7Q.js → NewGlobalMerchantPage-CRg1E4PG-isiEr4Cr.js} +1 -1
  113. package/dist/assets/{NoDataChart-CGab-TiT-zyPeOkqC.js → NoDataChart-CGab-TiT-BcLrULzl.js} +1 -1
  114. package/dist/assets/{NoDataTable-B2CS7NPq-CvFUjFVv.js → NoDataTable-B2CS7NPq-Bui_do_1.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DGMaZUli-aSvAxp7G.js → NotFoundPage-DGMaZUli-CNs7k1pT.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-CMkB3Lv2-DA8e_wrR.js → NotificationSettingsPage-CMkB3Lv2-Bn5AqO4D.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-8zpkH26L-DVh3_eXQ.js → NotificationsListConfig-8zpkH26L-DDRXr5wF.js} +1 -1
  118. package/dist/assets/{NotificationsPage-D7bHfgsd-B-yh8id7.js → NotificationsPage-D7bHfgsd-E_s3KxSR.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-PfMkiQRt-CA9khm55.js → OpExByVendorPage-PfMkiQRt-TZKbweSC.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-DAP8RqtI.js → OverlayContainerPage-D4QU0p4o-Di9tGxEa.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CtFnhBki-D2LFAlVU.js → PandLWithForecastPage-CtFnhBki-BnP5c6xL.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-gaNLv-zU-S6LvrwnZ.js → PaymentAccountSetupBillingAddressSection-gaNLv-zU-B4Limg_L.js} +1 -1
  123. package/dist/assets/{PeoplePage-3Fux2UtP-BH9APgOv.js → PeoplePage-3Fux2UtP-Dvj809RX.js} +1 -1
  124. package/dist/assets/{Preview-C8AzcAoJ.js → Preview-DoAI2NW7.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BPUh4FO7-CHB-qbx5.js → ProductsCarousel-BPUh4FO7-DR2-nTTY.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-Dmg5PtKw-t6EmiKvL.js → PromoBaseCards-Dmg5PtKw-BNJIZu9m.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CLBqmpI8-DH4pGPEG.js → QBOConnectionDialog-CLBqmpI8-Ci-iib41.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DwqXfi9i-B1C_WaXE.js → QBOSetupSection-DwqXfi9i-Dw8opHuF.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BrfP2xcW-DQMVrjws.js → ReimbursementApprovalRuleDetailPage-BrfP2xcW-CIEEZxn-.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BmVVfYZD-BmlPhGFM.js → ReimbursementApprovalRulesPage-BmVVfYZD-0JVHySZJ.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-j-kNxeWY-ZsW0KMFD.js → ReimbursementDetailPage-j-kNxeWY-BVWAn3Ga.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-D2kh5AHM-CtzDBBo_.js → ReimbursementPromoPage-D2kh5AHM-BDlPtj9f.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-D2890NEZ-Dgq0MW27.js → ReimbursementSetUpPage-D2890NEZ-pMzAVu32.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-qXtPaXjg-CLjTJ8gQ.js → ReimbursementsBulkReviewDrawerPage-qXtPaXjg-BsEDFiAA.js} +1 -1
  135. package/dist/assets/{ReloadCard-IEyjck4Y-Bypr7i2O.js → ReloadCard-IEyjck4Y-CIrkI62a.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-CQjyJkzR-DZEqJbuf.js → ReportTableViewSelector-CQjyJkzR-BHMbSdGd.js} +1 -1
  137. package/dist/assets/{ReportsPage-Bzz6If8N-i375FFbW.js → ReportsPage-Bzz6If8N-igO5Sp2n.js} +1 -1
  138. package/dist/assets/{RevenueChart-B00OufPH-B5M-AM4i.js → RevenueChart-B00OufPH-C9fzWXFa.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-NnD1LDcO-CZs19GX2.js → ReviewDetailsPage-NnD1LDcO-B7tkT-O6.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-CFouRoKn-DAQDEDmS.js → ReviewOverlay-CFouRoKn-DIN7dnEt.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-BBbrv_x_-D8MqiafD.js → RoleWithToolTip-BBbrv_x_-kBfy4Ru_.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-B5gQXUI9-DH6Yv6F_.js → ScheduleDetailsFixedAssetsPage-B5gQXUI9-BtBz0kr2.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-B1Kb9usK-BWyyTA9a.js → ScheduleDetailsPage-B1Kb9usK-DrWPCBWI.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-B973PTTc-C5HNHoNO.js → ScheduleSequenceTable-B973PTTc-Wrwp1Ojd.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-BUhhsxeL.js → ScreenRoutes-CsH4vVVC.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-D6dn2jSD-B2ahVHn3.js → SetUpAccountSection-D6dn2jSD-DcBYhTDa.js} +1 -1
  147. package/dist/assets/{SignIn-CUOfBh48-Cs6fsPrc.js → SignIn-CUOfBh48-vjQM1lIH.js} +1 -1
  148. package/dist/assets/{SignInScreen-B9_ZQMfW.js → SignInScreen-DsqhKR1E.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-DOkp7pHa-D_rDsyPi.js → SpendManagementListViewPage-DOkp7pHa-DevJy-2H.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-D_LO55uU-DKDZqq7t.js → SpendManagementPerTabPage-D_LO55uU-DwHsjigC.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CEMNFPRO-DOfjR_1U.js → SpendManagementSection-CEMNFPRO-CwdjuuYc.js} +1 -1
  152. package/dist/assets/{StatementItem-BDCdJuBz-C5KxKZf9.js → StatementItem-BDCdJuBz-DYzYWENk.js} +1 -1
  153. package/dist/assets/{StatementsPage-CgbyzDo5-dOiBmz6G.js → StatementsPage-CgbyzDo5-CGoR9Gqx.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-BjvUftXD-BmCBIDA6.js → StatusSwitcher-BjvUftXD-C6lmpd-U.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-CqTYhJ6K-C6tI5OUk.js → SubTabSwitcher-CqTYhJ6K-Bc-rhoSb.js} +1 -1
  156. package/dist/assets/{SummaryCard-BrsOKcrF-DWcUToK_.js → SummaryCard-BrsOKcrF-Ow0k4OfO.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-C5vXcK0R-BbbjC-Tz.js → TaskManagementPage-C5vXcK0R-CDRWUx0y.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-BR-bT1hY-DWqBq-hp.js → TimeRangeSwitcher-BR-bT1hY-CQz2L2VK.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-B7EXKmdi-DuvH5agU.js → TimeframeSwitcher-B7EXKmdi-CAJDoASR.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-D265f15Y-T64K-skP.js → TimeframeSwitcherWithToggle-D265f15Y-DjQb2NQ3.js} +1 -1
  161. package/dist/assets/{TopExCard-l-xo9Vzj-B1PmkJWv.js → TopExCard-l-xo9Vzj-C4LZjGAO.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-DJlHcjKS-Bho9tEuD.js → TopExDetailPage-DJlHcjKS-Cnj9Aql4.js} +1 -1
  163. package/dist/assets/{TransactionActivityLogPage-HLwrGJCG-BzrsUVPS.js → TransactionActivityLogPage-HLwrGJCG-CuRO20Xf.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-63dqDjgt-B4iYNZGu.js → TransactionDetailPage-63dqDjgt-CVxmSZHq.js} +1 -1
  165. package/dist/assets/{TransactionList-BFD8ZfJ--BUbGyMLK.js → TransactionList-BFD8ZfJ--BzPxfIIZ.js} +1 -1
  166. package/dist/assets/{TransactionListBig-Cd05cE1H-CAcC3Nig.js → TransactionListBig-Cd05cE1H-CUPajPUt.js} +1 -1
  167. package/dist/assets/{TransactionListPage-klQ0oBzv-C-lEqqat.js → TransactionListPage-klQ0oBzv-DDsBUULc.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-D93V6PtT-CNzgHcFV.js → TransactionVendorDetailPage-D93V6PtT-VGJw9kCK.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-B_Hy3gOY-Clor74dq.js → TransferDrawerPage-B_Hy3gOY-7vsOrpzI.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CJrfTwBd-BzblsfCt.js → TreasuryOverviewPage-CJrfTwBd-CGWyLRfL.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-BRwTbEqr-C3oIH7Gd.js → TreasuryPromoPage-BRwTbEqr-BPnPaOQD.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-CpVaxZhO-BbzJpZN2.js → TreasuryStatementsPage-CpVaxZhO-BnwzdtAu.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-CUHNWUy--WkFWI_33.js → TreasuryTaxLetterPage-CUHNWUy--CxxCVbNy.js} +1 -1
  174. package/dist/assets/{TrendChart-DLex57el-Bd2WzCxo.js → TrendChart-DLex57el-Chgvo6uk.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-CwB4wDSN-BMowh4TY.js → TrendWithTransactions-CwB4wDSN-CIyPCtWL.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CO7p4-Kx-BZ0VCWbX.js → UncategorizedAccountsMappingPage-CO7p4-Kx-BPlfJEKd.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-BDUTrQY0-SS19l8Xm.js → UnitIntegrationPage-BDUTrQY0-D7rpHYAx.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-DID6dcux-DPsjTLN9.js → UploadAdditionalDocumentOverlay-DID6dcux-6zWGh0LV.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DySyuG4R-82OgFcz6.js → Vendor2FAPopup-DySyuG4R-B7M3m7N_.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-CS0fu-kk-0b8QPMYJ.js → VendorACHDetailsPage-CS0fu-kk-pyfDqdRl.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-DRgwiRee-B2tPGfn4.js → VendorDetailPage-DRgwiRee-7s9t6g78.js} +1 -1
  182. package/dist/assets/{VendorDomesticWireDetailsPage-B3mJqOdK-BoqOh8HT.js → VendorDomesticWireDetailsPage-B3mJqOdK-gX9rUg-0.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-CtReDQX3-DVZfKoI-.js → VendorFiling1099EditablePage-CtReDQX3-CCG-XnYD.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-BGVFKcId-7yTwYSjG.js → VendorFirstReviewPage-BGVFKcId-CU36GRpM.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DtFlzIWc-CYBlV4Tg.js → VendorInternationalWireDetailsPage-DtFlzIWc-V9S2nc5M.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BygrRGvT.js → VendorInternationalWireSwiftDetailsPage-CfWP7ILx-Cg-2lDM_.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-DlCCF8w7-CQtCi0t6.js → VendorsAccountsSection-DlCCF8w7-5nvFdBpt.js} +1 -1
  188. package/dist/assets/{VerifyDevice-CDChzTa5-fyUSUzra.js → VerifyDevice-CDChzTa5-w2Ge0K-J.js} +1 -1
  189. package/dist/assets/{VideoPlayer-D6snpLby-D_sf9SSM.js → VideoPlayer-D6snpLby-BaTYooFb.js} +2 -2
  190. package/dist/assets/{VideoPopup-SylQ4T6l-DUuwzYmi.js → VideoPopup-SylQ4T6l-Dv33Q9WE.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-D67GprmZ-Dc_Jo6Z8.js → WarningsDrawerPage-D67GprmZ-Dr5AVpkm.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-BfYIZPob-DCZW5ugr.js → ZeniAccountDetailPage-BfYIZPob-C8sxely2.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-B5luRVEl-ntYaih24.js → ZeniAccountListViewPage-B5luRVEl-uJWVG4uw.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-BQXOnqhc-D38WZkNq.js → ZeniAccountNavBarPieces-BQXOnqhc-Bla_QRD_.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-CHCmIfff-DDgdwEph.js → ZeniAccountPromoPage-CHCmIfff-DMPaSHnA.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-BzCqTug2-BN8jteFY.js → ZeniAccountSetupPage-BzCqTug2-C1Dl0Ui4.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-CiZTMpf7-C6VWdJm_.js → ZeniCopyright-CiZTMpf7-Dx15RZLG.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-C--qNr-a-BTUYZm1a.js → ZeniTransferAmountSlider-C--qNr-a-gkrnm7Sk.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-Cna2JrPi.js → add-to-wallet-DgdBD8_G-ChsVL1FQ.js} +1 -1
  200. package/dist/assets/{analytics-Cz7GTPb4.js → analytics-uj9mGKhn.js} +1 -1
  201. package/dist/assets/{analyticsHelper-D0FSznOb.js → analyticsHelper-C21JwdPH.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DEOt00qX-3E5keIK0.js → analyticsHelper-DEOt00qX-BoGw_VHm.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-D7Guqwvj.js → arrow-south-east-round-PEovUgvH-D_E9Fr6n.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DemMuLOK.js → auto-transfer-rule-mbafm5D3-BnWsxAba.js} +1 -1
  205. package/dist/assets/{chartTypes-BqKhmkSG-DaJzMpYW.js → chartTypes-BqKhmkSG-p2XqIN63.js} +1 -1
  206. package/dist/assets/{commonDimensions-DbvjFx29-M5i-B_2F.js → commonDimensions-DbvjFx29-Ys_RzQK7.js} +1 -1
  207. package/dist/assets/{commonTypes-TAIHQ3fk-BCFWsh3s.js → commonTypes-TAIHQ3fk-B3tnAkCB.js} +1 -1
  208. package/dist/assets/{constants-DAniohK4.js → constants-7xnA1ICM.js} +1 -1
  209. package/dist/assets/{core-BHxev_Cl.js → core-wdaJ-WYZ.js} +1 -1
  210. package/dist/assets/{dash.all.min-CtGtyz3U.js → dash.all.min-CHNij2ea.js} +1 -1
  211. package/dist/assets/{detailCommon-BEEE23XQ-C9xvv1qO.js → detailCommon-BEEE23XQ-C0wJDnak.js} +1 -1
  212. package/dist/assets/{downloadPdf-CDTl_Ev--DwC3gr_X.js → downloadPdf-CDTl_Ev--D6bEeoRj.js} +1 -1
  213. package/dist/assets/{empty-ycUigo07.js → empty-B1u3Mlo9.js} +1 -1
  214. package/dist/assets/{empty-BjQqAnEr.js → empty-CinRwbkg.js} +1 -1
  215. package/dist/assets/{epic-ouf99YlI.js → epic-Crg7boU_.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DQLMM0Jc.js → gift-box-Cmt9OgIZ-qMVlwTg_.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-EQfaFxjc.js → graphic-no-data-l-DU4J8fDt-MoBNHWG4.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-iUVSxIP-.js → graphic-no-data-net-burn-l-CzmycA0m-DyTf9YWU.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-SL3xJab2.js → handshake-BPg58FML-Dj2MWGFg.js} +1 -1
  220. package/dist/assets/{helper-Cl1NuKS2-BXsdA-OL.js → helper-Cl1NuKS2-CZ4zfQ4F.js} +1 -1
  221. package/dist/assets/{index-wXhIQbLd.js → index-DL9AxDXF.js} +1 -1
  222. package/dist/assets/{index-DDBZjEhE.js → index-D_dbz-dH.js} +1 -1
  223. package/dist/assets/{index-BVl75ift.js → index-DiprrhqW.js} +1 -1
  224. package/dist/assets/{index-DKIaTfNE.js → index-DzDVaOnN.js} +1 -1
  225. package/dist/assets/{index-CZ6iVFod.js → index-h1Uqo9GF.js} +1 -1
  226. package/dist/assets/{index-BCs-C6Pl.js → index-l7v4fsk1.js} +1 -1
  227. package/dist/assets/{index-DOsjGhSZ.js → index-xUGbevU5.js} +6 -6
  228. package/dist/assets/{lexical-Dja08wvc.js → lexical-B5DCver6.js} +1 -1
  229. package/dist/assets/{liveblocks-KFxhhSr3.js → liveblocks-DSSX9dBy.js} +1 -1
  230. package/dist/assets/{lottie-DDoT_sT4.js → lottie-Do4gfKV4.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-CBq8hzRN-DunJzr3i.js → mapLoadingInProgressToTreeNode-CBq8hzRN-vjuwUxgK.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtYXgw-F-TAq1Mekz.js → mapSectionWithAcOnlyToTreeNode-DtYXgw-F-Bz9KDIpA.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-ycecmJKa-Hd0mRrjF.js → mapSpacerToTreeNode-ycecmJKa-BST8Kpuu.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-ByLaAQOt-Biy9DgAh.js → mapTimeframeBalancesToTreeNode-ByLaAQOt-4Z4VSArk.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-C8E1dOPs-B00cM4ms.js → mapTimeframeBalancesToTreeNode-C8E1dOPs-BkvBRy_B.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DJfWjA89.js → mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DzZXh8NG.js} +1 -1
  237. package/dist/assets/{mui-B2MHg-Mu.js → mui-D5HCmt3I.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-Dqz3fZ9M.js → page-detail-CWX5S47F-BGGUlWRh.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js → panelSelectedMixin-CzfD5-Zs-DQ5pHsdJ.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CIrmE0sr.js → radio-default-CiSgisfh-BFyqexLn.js} +1 -1
  241. package/dist/assets/{react-DJSfrAX2.js → react-B05wlitS.js} +1 -1
  242. package/dist/assets/{react-Dn-7aN5D.js → react-B2XZNjYf.js} +1 -1
  243. package/dist/assets/{react-BzzxkC3X.js → react-B3UJClCp.js} +1 -1
  244. package/dist/assets/{react-B5mg5_zl.js → react-BqiKy3nH.js} +2 -2
  245. package/dist/assets/{react-GWLRtgTU.js → react-C0Lyev4E.js} +1 -1
  246. package/dist/assets/{react-DqyAh0nx.js → react-CC0cuFkO.js} +1 -1
  247. package/dist/assets/{react-CciBBuhn.js → react-D_kLKtGJ.js} +1 -1
  248. package/dist/assets/{react-BWSczdFz.js → react-kWfmhxVQ.js} +1 -1
  249. package/dist/assets/{recharts-B7o7FzH2.js → recharts-DzUbgCkN.js} +1 -1
  250. package/dist/assets/{sentry-otjdlEta.js → sentry-T1o6-K0z.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DDxUv5Gm.js → shield-DOlUxcFf-BhY8oa-t.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-DKhXdLyk-D9LH1M_c.js → toCOABalancesWithID-DKhXdLyk-D-BQUpKm.js} +1 -1
  253. package/dist/assets/{toChartData-B3G_wqcy-uAjzhvaS.js → toChartData-B3G_wqcy-DA34gDqN.js} +1 -1
  254. package/dist/assets/{uploadAttachment-CLjjVoJ0-Do2BBtK7.js → uploadAttachment-CLjjVoJ0-DM8b_yXL.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-BhANrZur.js → uploadReceipts-Dge0cNF1-Dtdnr3ju.js} +1 -1
  256. package/dist/assets/{url-Dy00DrU7.js → url-CHQbk9_t.js} +1 -1
  257. package/dist/assets/{url-DCdUzyOP.js → url-OzEpD176.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-Sm0Bw4m0.js → useLongPress-GCK2COYQ-CQUnWfYh.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BmAEJQI7.js → usp-line-BBd1wKwW-BpZ4DKVh.js} +1 -1
  260. package/dist/assets/{utils-BbmM3Vsp.js → utils-DQHKbuGq.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-DVinyIRY.js → zeni-epic-state-DcSuJuol.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +1 -1
  264. package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BZqVU5dg.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as S,J as I,V as t,bD as z,b4 as C,o as r,F as P,p,cu as D,y as E,u as b,al as M}from"./index-DOsjGhSZ.js";import{a as u}from"./sentry-otjdlEta.js";import{n as o}from"./mui-B2MHg-Mu.js";import{$ as T}from"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import{o as B}from"./commonDimensions-DbvjFx29-M5i-B_2F.js";import{M as L}from"./StatementItem-BDCdJuBz-C5KxKZf9.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./downloadPdf-CDTl_Ev--DwC3gr_X.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]="77895dd4-0c7e-469d-9df6-f98fb6bd579d",e._sentryDebugIdIdentifier="sentry-dbid-77895dd4-0c7e-469d-9df6-f98fb6bd579d")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:s,style:a})=>{const l=i.statements[s];return h===!1?t.jsx(g,{windowSize:d,style:{...a,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:T(s,i.statements.length)},l.id)}):t.jsx(_,{style:{...a},children:t.jsx(N,{children:t.jsx(g,{windowSize:d,children:t.jsx(V,{children:f.noStatements})})})})};return t.jsxs(R,{children:[t.jsx(z,{title:f.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(C,{children:({height:s,width:a})=>t.jsx(K,{ref:$,height:s,width:a,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},_=o.div``,g=o.div`
1
+ import{d as S,J as I,V as t,bD as z,b4 as C,o as r,F as P,p,cu as D,y as E,u as b,al as M}from"./index-xUGbevU5.js";import{a as u}from"./sentry-T1o6-K0z.js";import{n as o}from"./mui-D5HCmt3I.js";import{$ as T}from"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import{o as B}from"./commonDimensions-DbvjFx29-Ys_RzQK7.js";import{M as L}from"./StatementItem-BDCdJuBz-DYzYWENk.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./downloadPdf-CDTl_Ev--D6bEeoRj.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]="77895dd4-0c7e-469d-9df6-f98fb6bd579d",e._sentryDebugIdIdentifier="sentry-dbid-77895dd4-0c7e-469d-9df6-f98fb6bd579d")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:s,style:a})=>{const l=i.statements[s];return h===!1?t.jsx(g,{windowSize:d,style:{...a,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:T(s,i.statements.length)},l.id)}):t.jsx(_,{style:{...a},children:t.jsx(N,{children:t.jsx(g,{windowSize:d,children:t.jsx(V,{children:f.noStatements})})})})};return t.jsxs(R,{children:[t.jsx(z,{title:f.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(C,{children:({height:s,width:a})=>t.jsx(K,{ref:$,height:s,width:a,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},_=o.div``,g=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{J as $,ce as T,V as d,F as v,y as h,o as s,u as c,ai as _}from"./index-DOsjGhSZ.js";import{n as u,c as m}from"./mui-B2MHg-Mu.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]="bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9",e._sentryDebugIdIdentifier="sentry-dbid-bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function p(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=p(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,a,a)??p(n,a,a)??p(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{J as $,ce as T,V as d,F as v,y as h,o as s,u as c,ai as _}from"./index-xUGbevU5.js";import{n as u,c as m}from"./mui-D5HCmt3I.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]="bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9",e._sentryDebugIdIdentifier="sentry-dbid-bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function p(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=p(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,a,a)??p(n,a,a)??p(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,T as u,o as s,ai as g,a_ as f}from"./index-DOsjGhSZ.js";import{n as r,c}from"./mui-B2MHg-Mu.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]="0a1bb8e1-6d22-4636-af34-bea0f8affc61",e._sentryDebugIdIdentifier="sentry-dbid-0a1bb8e1-6d22-4636-af34-bea0f8affc61")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
1
+ import{V as i,T as u,o as s,ai as g,a_ as f}from"./index-xUGbevU5.js";import{n as r,c}from"./mui-D5HCmt3I.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]="0a1bb8e1-6d22-4636-af34-bea0f8affc61",e._sentryDebugIdIdentifier="sentry-dbid-0a1bb8e1-6d22-4636-af34-bea0f8affc61")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-DOsjGhSZ.js";import{E as r,T as t}from"./ReloadCard-IEyjck4Y-Bypr7i2O.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="16eefd2a-e3db-4eb4-872f-687eb2d06144",e._sentryDebugIdIdentifier="sentry-dbid-16eefd2a-e3db-4eb4-872f-687eb2d06144")}catch{}})();const s=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{s as c};
1
+ import{V as n}from"./index-xUGbevU5.js";import{E as r,T as t}from"./ReloadCard-IEyjck4Y-CIrkI62a.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="16eefd2a-e3db-4eb4-872f-687eb2d06144",e._sentryDebugIdIdentifier="sentry-dbid-16eefd2a-e3db-4eb4-872f-687eb2d06144")}catch{}})();const s=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{s as c};
@@ -1,4 +1,4 @@
1
- import{aw as gt,d as Ye,V as t,jy as q,bD as kt,aa as U,cq as xt,al as K,aq as wt,F as se,o as s,jz as Ze,cj as Ie,cn as ft,g9 as Ct,ba as $t,bP as Xe,aU as Tt,ce as jt,J as ie,a9 as yt,y as Je,cG as vt,ac as bt,b4 as St,cu as Gt,iV as Lt,iW as It,jA as Me,aS as Nt,i as De,bU as Ne,eP as Qe,jB as Et,d0 as et,jC as ce,jD as ke,jE as xe,jF as tt,jG as Dt,jH as st,jI as ot,jJ as nt,jK as at,jL as rt,jM as V,u as ge,jN as ae,ai as re,jO as Mt,jP as Bt,x as zt,an as At,jQ as Rt,db as Wt,jR as Ft,cK as it,er as Ot,b as Pt,jS as Ht,jT as Ut,ga as _t,gB as Vt,jU as Kt,jV as X,jW as Be,cw as qt,jX as Yt,jY as Zt,jZ as Xt,j_ as ze,p as Ae,gy as Jt,am as Qt}from"./index-DOsjGhSZ.js";import{a as n}from"./sentry-otjdlEta.js";import{n as o,c as we}from"./mui-B2MHg-Mu.js";import{Gg as es,Gh as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DVinyIRY.js";import{J as ss,t as os}from"./SpendManagementSection-CEMNFPRO-DOfjR_1U.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-8zpkH26L-DVh3_eXQ.js";import{a as ls}from"./SpendManagementListViewPage-DOkp7pHa-D_rDsyPi.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./StatusSwitcher-BjvUftXD-BmCBIDA6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="57c0dd7d-9098-4d92-b01a-646a2e666555",e._sentryDebugIdIdentifier="sentry-dbid-57c0dd7d-9098-4d92-b01a-646a2e666555")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
1
+ import{aw as gt,d as Ye,V as t,jy as q,bD as kt,aa as U,cq as xt,al as K,aq as wt,F as se,o as s,jz as Ze,cj as Ie,cn as ft,g9 as Ct,ba as $t,bP as Xe,aU as Tt,ce as jt,J as ie,a9 as yt,y as Je,cG as vt,ac as bt,b4 as St,cu as Gt,iV as Lt,iW as It,jA as Me,aS as Nt,i as De,bU as Ne,eP as Qe,jB as Et,d0 as et,jC as ce,jD as ke,jE as xe,jF as tt,jG as Dt,jH as st,jI as ot,jJ as nt,jK as at,jL as rt,jM as V,u as ge,jN as ae,ai as re,jO as Mt,jP as Bt,x as zt,an as At,jQ as Rt,db as Wt,jR as Ft,cK as it,er as Ot,b as Pt,jS as Ht,jT as Ut,ga as _t,gB as Vt,jU as Kt,jV as X,jW as Be,cw as qt,jX as Yt,jY as Zt,jZ as Xt,j_ as ze,p as Ae,gy as Jt,am as Qt}from"./index-xUGbevU5.js";import{a as n}from"./sentry-T1o6-K0z.js";import{n as o,c as we}from"./mui-D5HCmt3I.js";import{Gg as es,Gh as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DcSuJuol.js";import{J as ss,t as os}from"./SpendManagementSection-CEMNFPRO-CwdjuuYc.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-8zpkH26L-DDRXr5wF.js";import{a as ls}from"./SpendManagementListViewPage-DOkp7pHa-DevJy-2H.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./StatusSwitcher-BjvUftXD-C6lmpd-U.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="57c0dd7d-9098-4d92-b01a-646a2e666555",e._sentryDebugIdIdentifier="sentry-dbid-57c0dd7d-9098-4d92-b01a-646a2e666555")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b4 as _,aE as S,dl as B,bs as H,o as c,ai as L}from"./index-DOsjGhSZ.js";import{a as n}from"./sentry-otjdlEta.js";import{n as g}from"./mui-B2MHg-Mu.js";import{Y as q}from"./core-BHxev_Cl.js";import{V as U}from"./CollapsableReportTable-vwzu1AgW-BTLj3VXb.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]="9e52e2d4-a199-4ef3-8d2a-6c810883744c",e._sentryDebugIdIdentifier="sentry-dbid-9e52e2d4-a199-4ef3-8d2a-6c810883744c")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b4 as _,aE as S,dl as B,bs as H,o as c,ai as L}from"./index-xUGbevU5.js";import{a as n}from"./sentry-T1o6-K0z.js";import{n as g}from"./mui-D5HCmt3I.js";import{Y as q}from"./core-wdaJ-WYZ.js";import{V as U}from"./CollapsableReportTable-vwzu1AgW-Ct7cqa2g.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]="9e52e2d4-a199-4ef3-8d2a-6c810883744c",e._sentryDebugIdIdentifier="sentry-dbid-9e52e2d4-a199-4ef3-8d2a-6c810883744c")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,F as p}from"./index-DOsjGhSZ.js";import{n as d}from"./mui-B2MHg-Mu.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]="ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4",e._sentryDebugIdIdentifier="sentry-dbid-ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4")}catch{}})();const u=d.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-xUGbevU5.js";import{n as d}from"./mui-D5HCmt3I.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]="ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4",e._sentryDebugIdIdentifier="sentry-dbid-ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4")}catch{}})();const u=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as n,V as t,y as d,ai as u,bK as w}from"./index-DOsjGhSZ.js";import{n as r}from"./mui-B2MHg-Mu.js";import{b as l}from"./TimeframeSwitcher-B7EXKmdi-DuvH5agU.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]="ec3ab7fb-be76-4831-8a2f-9a364e69e187",e._sentryDebugIdIdentifier="sentry-dbid-ec3ab7fb-be76-4831-8a2f-9a364e69e187")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
1
+ import{J as n,V as t,y as d,ai as u,bK as w}from"./index-xUGbevU5.js";import{n as r}from"./mui-D5HCmt3I.js";import{b as l}from"./TimeframeSwitcher-B7EXKmdi-CAJDoASR.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]="ec3ab7fb-be76-4831-8a2f-9a364e69e187",e._sentryDebugIdIdentifier="sentry-dbid-ec3ab7fb-be76-4831-8a2f-9a364e69e187")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aE as M,J as z,V as t,d as x,u as p,b as T,aZ as R,aO as H,aM as X,o as f,ai as C,ba as F,al as Q,F as S,aN as q,aT as E,b3 as G,b4 as N,aQ as U,aU as Y,bS as J}from"./index-DOsjGhSZ.js";import{P as w,a as Z}from"./sentry-otjdlEta.js";import{F7 as W}from"./zeni-epic-state-DVinyIRY.js";import{n as g}from"./mui-B2MHg-Mu.js";import{I as ee,T as te}from"./ReloadCard-IEyjck4Y-Bypr7i2O.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-EQfaFxjc.js";import{H as k,X as K,Y as L,K as $,O,Q as ne,S as oe}from"./recharts-B7o7FzH2.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]="f0f30f69-0e19-4baa-81d4-11212c4230f0",e._sentryDebugIdIdentifier="sentry-dbid-f0f30f69-0e19-4baa-81d4-11212c4230f0")}catch{}})();const ie=g(E)`
1
+ import{aE as M,J as z,V as t,d as x,u as p,b as T,aZ as R,aO as H,aM as X,o as f,ai as C,ba as F,al as Q,F as S,aN as q,aT as E,b3 as G,b4 as N,aQ as U,aU as Y,bS as J}from"./index-xUGbevU5.js";import{P as w,a as Z}from"./sentry-T1o6-K0z.js";import{F7 as W}from"./zeni-epic-state-DcSuJuol.js";import{n as g}from"./mui-D5HCmt3I.js";import{I as ee,T as te}from"./ReloadCard-IEyjck4Y-CIrkI62a.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-MoBNHWG4.js";import{H as k,X as K,Y as L,K as $,O,Q as ne,S as oe}from"./recharts-DzUbgCkN.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]="f0f30f69-0e19-4baa-81d4-11212c4230f0",e._sentryDebugIdIdentifier="sentry-dbid-f0f30f69-0e19-4baa-81d4-11212c4230f0")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as j,J as A,V as t,bD as S,F as f,aO as b,b4 as B,w as P,o as i,y as E,bR as H,bt as D,u as c,p as V,al as $,aQ as F,b0 as z}from"./index-DOsjGhSZ.js";import{n}from"./mui-B2MHg-Mu.js";import{F7 as T}from"./zeni-epic-state-DVinyIRY.js";import{E as _,I}from"./TopExCard-l-xo9Vzj-B1PmkJWv.js";import{b as M}from"./TimeframeSwitcher-B7EXKmdi-DuvH5agU.js";import{d as L}from"./NoDataTable-B2CS7NPq-CvFUjFVv.js";import{P as Z,a as o}from"./sentry-otjdlEta.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./ReloadCard-IEyjck4Y-Bypr7i2O.js";import"./graphic-no-data-l-DU4J8fDt-EQfaFxjc.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]="5ca9dc48-fc6a-448c-95ac-73a8eb6cdfd9",e._sentryDebugIdIdentifier="sentry-dbid-5ca9dc48-fc6a-448c-95ac-73a8eb6cdfd9")}catch{}})();const v="141px",O=i.sp4,N="123px",R=n(z)`
1
+ import{d as j,J as A,V as t,bD as S,F as f,aO as b,b4 as B,w as P,o as i,y as E,bR as H,bt as D,u as c,p as V,al as $,aQ as F,b0 as z}from"./index-xUGbevU5.js";import{n}from"./mui-D5HCmt3I.js";import{F7 as T}from"./zeni-epic-state-DcSuJuol.js";import{E as _,I}from"./TopExCard-l-xo9Vzj-C4LZjGAO.js";import{b as M}from"./TimeframeSwitcher-B7EXKmdi-CAJDoASR.js";import{d as L}from"./NoDataTable-B2CS7NPq-Bui_do_1.js";import{P as Z,a as o}from"./sentry-T1o6-K0z.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./ReloadCard-IEyjck4Y-CIrkI62a.js";import"./graphic-no-data-l-DU4J8fDt-MoBNHWG4.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]="5ca9dc48-fc6a-448c-95ac-73a8eb6cdfd9",e._sentryDebugIdIdentifier="sentry-dbid-5ca9dc48-fc6a-448c-95ac-73a8eb6cdfd9")}catch{}})();const v="141px",O=i.sp4,N="123px",R=n(z)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,T as F,o,b8 as H,F as z,al as M,x as U,eH as B,am as K,bh as I,h as P,ai as W,dv as q,a_ as J}from"./index-DOsjGhSZ.js";import{a as Q}from"./sentry-otjdlEta.js";import{n as i}from"./mui-B2MHg-Mu.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.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]="2f667eab-65ed-49db-a2d7-02f033c56f43",e._sentryDebugIdIdentifier="sentry-dbid-2f667eab-65ed-49db-a2d7-02f033c56f43")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Ie,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Me,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
1
+ import{V as n,T as F,o,b8 as H,F as z,al as M,x as U,eH as B,am as K,bh as I,h as P,ai as W,dv as q,a_ as J}from"./index-xUGbevU5.js";import{a as Q}from"./sentry-T1o6-K0z.js";import{n as i}from"./mui-D5HCmt3I.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.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]="2f667eab-65ed-49db-a2d7-02f033c56f43",e._sentryDebugIdIdentifier="sentry-dbid-2f667eab-65ed-49db-a2d7-02f033c56f43")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Ie,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Me,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dS as Wn,I as qn,P as Hn,d as Vt,a9 as Jn,J as ae,F as W,aR as Yt,dT as Gn,dU as Yn,cG as Xn,aE as Zn,dV as nn,dW as Qn,V as i,ac as Kn,bD as ea,dX as ta,dY as ia,dZ as na,d_ as zi,aS as aa,y as _,aQ as q,d$ as an,e0 as De,e1 as Te,e2 as Ne,e3 as et,e4 as tt,e5 as Lt,e6 as jt,e7 as it,e8 as ht,e9 as St,ea as kt,eb as Xt,ec as ee,ed as oa,ee as Kt,ef as ue,eg as on,eh as pe,ei as sn,aK as sa,ej as It,ek as Ai,el as la,i as ra,cq as ca,T as $i,o as a,ce as da,em as ua,u as O,w as xi,p as le,aq as Di,bb as ai,h as pa,en as ma,cl as ha,cj as oi,cK as lt,eo as ga,ep as qt,aV as ln,c_ as fa,eq as ya,ch as ba,ci as xa,aO as je,al as fe,b0 as va,er as wa,es as rn,et as Zt,eu as Qt,ev as pi,dg as Ca,b4 as Ia,cu as $a,ew as Ti,a8 as cn,ex as ei,ey as ti,ez as dn,cP as un,bU as Oi,eA as mi,dm as hi,eB as Da,bt as Ta,eC as Ei,eD as Oa,eE as La,ay as ja,eF as Sa,eG as ka,H as pn,eH as mn,bL as za,eI as Vi,eJ as hn,eK as gn,eL as fn,bJ as rt,at as Aa,as as Ea,dv as Va,b as yn,eM as Ra,bH as Pa,x as _a,am as Na,l as Ua,aX as vi}from"./index-DOsjGhSZ.js";import{a as v,P as $t}from"./sentry-otjdlEta.js";import{n as l}from"./mui-B2MHg-Mu.js";import{FE as Ba,uu as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l8 as qa,bh as Ha}from"./zeni-epic-state-DVinyIRY.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CKE6Nln6-BoFyY4Lg.js";import{R as Ja}from"./TrendWithTransactions-CwB4wDSN-BMowh4TY.js";import{u as Ga,c as Ya,d as Xa,m as Za}from"./uploadAttachment-CLjjVoJ0-Do2BBtK7.js";import{o as Qa}from"./radio-default-CiSgisfh-CIrmE0sr.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./TrendChart-DLex57el-Bd2WzCxo.js";import"./chartTypes-BqKhmkSG-DaJzMpYW.js";import"./toCOABalancesWithID-DKhXdLyk-D9LH1M_c.js";import"./toChartData-B3G_wqcy-uAjzhvaS.js";import"./NoDataChart-CGab-TiT-zyPeOkqC.js";import"./InsightsSection-CK6L0ggh-DiYoPBIp.js";import"./NavigationDots-Dqcv5rrC-DzoP8t9X.js";import"./TransactionList-BFD8ZfJ--BUbGyMLK.js";import"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import"./commonDimensions-DbvjFx29-M5i-B_2F.js";import"./panelSelectedMixin-CzfD5-Zs-CL2f5PJh.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]="7da6d840-497c-4c23-8273-98f230459876",e._sentryDebugIdIdentifier="sentry-dbid-7da6d840-497c-4c23-8273-98f230459876")}catch{}})();const Ka={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
1
+ import{dS as Wn,I as qn,P as Hn,d as Vt,a9 as Jn,J as ae,F as W,aR as Yt,dT as Gn,dU as Yn,cG as Xn,aE as Zn,dV as nn,dW as Qn,V as i,ac as Kn,bD as ea,dX as ta,dY as ia,dZ as na,d_ as zi,aS as aa,y as _,aQ as q,d$ as an,e0 as De,e1 as Te,e2 as Ne,e3 as et,e4 as tt,e5 as Lt,e6 as jt,e7 as it,e8 as ht,e9 as St,ea as kt,eb as Xt,ec as ee,ed as oa,ee as Kt,ef as ue,eg as on,eh as pe,ei as sn,aK as sa,ej as It,ek as Ai,el as la,i as ra,cq as ca,T as $i,o as a,ce as da,em as ua,u as O,w as xi,p as le,aq as Di,bb as ai,h as pa,en as ma,cl as ha,cj as oi,cK as lt,eo as ga,ep as qt,aV as ln,c_ as fa,eq as ya,ch as ba,ci as xa,aO as je,al as fe,b0 as va,er as wa,es as rn,et as Zt,eu as Qt,ev as pi,dg as Ca,b4 as Ia,cu as $a,ew as Ti,a8 as cn,ex as ei,ey as ti,ez as dn,cP as un,bU as Oi,eA as mi,dm as hi,eB as Da,bt as Ta,eC as Ei,eD as Oa,eE as La,ay as ja,eF as Sa,eG as ka,H as pn,eH as mn,bL as za,eI as Vi,eJ as hn,eK as gn,eL as fn,bJ as rt,at as Aa,as as Ea,dv as Va,b as yn,eM as Ra,bH as Pa,x as _a,am as Na,l as Ua,aX as vi}from"./index-xUGbevU5.js";import{a as v,P as $t}from"./sentry-T1o6-K0z.js";import{n as l}from"./mui-D5HCmt3I.js";import{FE as Ba,uu as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l8 as qa,bh as Ha}from"./zeni-epic-state-DcSuJuol.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CKE6Nln6-CnRav_YA.js";import{R as Ja}from"./TrendWithTransactions-CwB4wDSN-CIyPCtWL.js";import{u as Ga,c as Ya,d as Xa,m as Za}from"./uploadAttachment-CLjjVoJ0-DM8b_yXL.js";import{o as Qa}from"./radio-default-CiSgisfh-BFyqexLn.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./TrendChart-DLex57el-Chgvo6uk.js";import"./chartTypes-BqKhmkSG-p2XqIN63.js";import"./toCOABalancesWithID-DKhXdLyk-D-BQUpKm.js";import"./toChartData-B3G_wqcy-DA34gDqN.js";import"./NoDataChart-CGab-TiT-BcLrULzl.js";import"./InsightsSection-CK6L0ggh-C8NcHU2i.js";import"./NavigationDots-Dqcv5rrC-D1BiHDxS.js";import"./TransactionList-BFD8ZfJ--BzPxfIIZ.js";import"./ConstrainedInnerElement-BeIpAPjB-CaNWnVCp.js";import"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import"./commonDimensions-DbvjFx29-Ys_RzQK7.js";import"./panelSelectedMixin-CzfD5-Zs-DQ5pHsdJ.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]="7da6d840-497c-4c23-8273-98f230459876",e._sentryDebugIdIdentifier="sentry-dbid-7da6d840-497c-4c23-8273-98f230459876")}catch{}})();const Ka={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,to=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dg as xe,dh as he,db as pe,di as ge,o as a,p as Q,cu as be,F as y,y as X,T as we,al as v,u as g,ai as $e,dj as ye,dk as Z,d2 as G,aO as ee,am as ve}from"./index-DOsjGhSZ.js";import{a as u,P as je}from"./sentry-otjdlEta.js";import{n,c as ke}from"./mui-B2MHg-Mu.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import{F8 as V,F9 as J,Fa as W,Fb as L,bh as Le,Ft as te,bE as ie}from"./zeni-epic-state-DVinyIRY.js";import{g as ae}from"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js";import{o as B}from"./commonDimensions-DbvjFx29-M5i-B_2F.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]="4593b5bf-ea68-47c5-b26c-3ff19f2850df",e._sentryDebugIdIdentifier="sentry-dbid-4593b5bf-ea68-47c5-b26c-3ff19f2850df")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
1
+ import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dg as xe,dh as he,db as pe,di as ge,o as a,p as Q,cu as be,F as y,y as X,T as we,al as v,u as g,ai as $e,dj as ye,dk as Z,d2 as G,aO as ee,am as ve}from"./index-xUGbevU5.js";import{a as u,P as je}from"./sentry-T1o6-K0z.js";import{n,c as ke}from"./mui-D5HCmt3I.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-CaNWnVCp.js";import{F8 as V,F9 as J,Fa as W,Fb as L,bh as Le,Ft as te,bE as ie}from"./zeni-epic-state-DcSuJuol.js";import{g as ae}from"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-DQ5pHsdJ.js";import{o as B}from"./commonDimensions-DbvjFx29-Ys_RzQK7.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]="4593b5bf-ea68-47c5-b26c-3ff19f2850df",e._sentryDebugIdIdentifier="sentry-dbid-4593b5bf-ea68-47c5-b26c-3ff19f2850df")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,ai as de,aq as ce,aO as me,bt as pe,ao as he,T as ue,w as G,bu as te,i as q,aU as oe}from"./index-DOsjGhSZ.js";import{a as T,P as C}from"./sentry-otjdlEta.js";import{n as i,c as ge}from"./mui-B2MHg-Mu.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-DVinyIRY.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CaTnaSn3-FCk-ULE2.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./SummaryCard-BrsOKcrF-DWcUToK_.js";import"./ReloadCard-IEyjck4Y-Bypr7i2O.js";import"./NavigationArrow-suk7KbA1-xl7E8Abj.js";import"./NavigationDots-Dqcv5rrC-DzoP8t9X.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="3602066a-919c-434f-bc67-701b7af81dc5",e._sentryDebugIdIdentifier="sentry-dbid-3602066a-919c-434f-bc67-701b7af81dc5")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,ai as de,aq as ce,aO as me,bt as pe,ao as he,T as ue,w as G,bu as te,i as q,aU as oe}from"./index-xUGbevU5.js";import{a as T,P as C}from"./sentry-T1o6-K0z.js";import{n as i,c as ge}from"./mui-D5HCmt3I.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-DcSuJuol.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CaTnaSn3-BEKrT1La.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-CaNWnVCp.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./SummaryCard-BrsOKcrF-Ow0k4OfO.js";import"./ReloadCard-IEyjck4Y-CIrkI62a.js";import"./NavigationArrow-suk7KbA1-C6w9Tb_E.js";import"./NavigationDots-Dqcv5rrC-D1BiHDxS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="3602066a-919c-434f-bc67-701b7af81dc5",e._sentryDebugIdIdentifier="sentry-dbid-3602066a-919c-434f-bc67-701b7af81dc5")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -1,4 +1,4 @@
1
- import{d as M,bA as R,bB as q,V as t,bC as J,T as Q,aQ as h,bD as U,o as n,al as X}from"./index-DOsjGhSZ.js";import{a as r,n as G}from"./sentry-otjdlEta.js";import{n as l}from"./mui-B2MHg-Mu.js";import{T as H}from"./TransactionList-BFD8ZfJ--BUbGyMLK.js";import{t as K}from"./page-detail-CWX5S47F-Dqz3fZ9M.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import"./commonDimensions-DbvjFx29-M5i-B_2F.js";import"./panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="a7872104-11a1-4d41-9327-f93cf8cad50f",e._sentryDebugIdIdentifier="sentry-dbid-a7872104-11a1-4d41-9327-f93cf8cad50f")}catch{}})();const W=l.div`
1
+ import{d as M,bA as R,bB as q,V as t,bC as J,T as Q,aQ as h,bD as U,o as n,al as X}from"./index-xUGbevU5.js";import{a as r,n as G}from"./sentry-T1o6-K0z.js";import{n as l}from"./mui-D5HCmt3I.js";import{T as H}from"./TransactionList-BFD8ZfJ--BzPxfIIZ.js";import{t as K}from"./page-detail-CWX5S47F-BGGUlWRh.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./ConstrainedInnerElement-BeIpAPjB-CaNWnVCp.js";import"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import"./commonDimensions-DbvjFx29-Ys_RzQK7.js";import"./panelSelectedMixin-CzfD5-Zs-DQ5pHsdJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="a7872104-11a1-4d41-9327-f93cf8cad50f",e._sentryDebugIdIdentifier="sentry-dbid-a7872104-11a1-4d41-9327-f93cf8cad50f")}catch{}})();const W=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -1,4 +1,4 @@
1
- import{J as A,F as k,V as o,T as q,aQ as L,aS as W,o as t,y as g,x as _,H as G,d4 as J,a9 as Q,cG as U,ac as K,u as r,hh as F,hi as M,hj as R,d as X,cL as Y,gP as z,hk as Z,b8 as ee,ho as oe,hp as ae}from"./index-DOsjGhSZ.js";import{a as I}from"./sentry-otjdlEta.js";import{n as c}from"./mui-B2MHg-Mu.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.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]="5f362a08-aaca-4b69-9402-eda84f11b8b2",e._sentryDebugIdIdentifier="sentry-dbid-5f362a08-aaca-4b69-9402-eda84f11b8b2")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},te=k.getLocalizedStrings().transactionDetail.vendorDetails,d=te.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:a,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(B=>B.accountId===s)?.accountName;return[oe,ae].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:R(S),selectedOption:a},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{J as A,F as k,V as o,T as q,aQ as L,aS as W,o as t,y as g,x as _,H as G,d4 as J,a9 as Q,cG as U,ac as K,u as r,hh as F,hi as M,hj as R,d as X,cL as Y,gP as z,hk as Z,b8 as ee,ho as oe,hp as ae}from"./index-xUGbevU5.js";import{a as I}from"./sentry-T1o6-K0z.js";import{n as c}from"./mui-D5HCmt3I.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.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]="5f362a08-aaca-4b69-9402-eda84f11b8b2",e._sentryDebugIdIdentifier="sentry-dbid-5f362a08-aaca-4b69-9402-eda84f11b8b2")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},te=k.getLocalizedStrings().transactionDetail.vendorDetails,d=te.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:a,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(B=>B.accountId===s)?.accountName;return[oe,ae].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:R(S),selectedOption:a},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-DOsjGhSZ.js";import{a as u}from"./sentry-otjdlEta.js";import{n}from"./mui-B2MHg-Mu.js";import{bL as At}from"./zeni-epic-state-DVinyIRY.js";import{v as Pt}from"./ZeniTransferAmountSlider-C--qNr-a-BTUYZm1a.js";import{r as Lt}from"./AccountInfoPageContent-BHD9tOzB-DoEbtT2v.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./downloadPdf-CDTl_Ev--DwC3gr_X.js";import"./commonDimensions-DbvjFx29-M5i-B_2F.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3974c39b-e48b-4f89-82df-bfffcec78af4",e._sentryDebugIdIdentifier="sentry-dbid-3974c39b-e48b-4f89-82df-bfffcec78af4")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-xUGbevU5.js";import{a as u}from"./sentry-T1o6-K0z.js";import{n}from"./mui-D5HCmt3I.js";import{bL as At}from"./zeni-epic-state-DcSuJuol.js";import{v as Pt}from"./ZeniTransferAmountSlider-C--qNr-a-gkrnm7Sk.js";import{r as Lt}from"./AccountInfoPageContent-BHD9tOzB-BHxYVo8T.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./downloadPdf-CDTl_Ev--D6bEeoRj.js";import"./commonDimensions-DbvjFx29-Ys_RzQK7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3974c39b-e48b-4f89-82df-bfffcec78af4",e._sentryDebugIdIdentifier="sentry-dbid-3974c39b-e48b-4f89-82df-bfffcec78af4")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,aQ as W,T as We,o as i,ai as k,F as L,p as w,bL as Ee,y,fk as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,aw as Ue,fX as Ge,h4 as _e,i as Je,al as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eQ as et,d9 as tt,fU as it,k_ as ot,j2 as Ae,j3 as Oe,cu as rt,iV as at,iW as nt,k$ as st,kg as lt,am as E,bS as dt,cA as le,j1 as ct,cD as ht}from"./index-DOsjGhSZ.js";import{a as f,P as pt}from"./sentry-otjdlEta.js";import{n as o,c as de}from"./mui-B2MHg-Mu.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DVinyIRY.js";import{s as gt}from"./commonDimensions-DbvjFx29-M5i-B_2F.js";import{g as ce}from"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import{o as mt}from"./shield-DOlUxcFf-DDxUv5Gm.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-B7o7FzH2.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="dc28fc71-1ce4-4627-80be-43d45b2b4e48",e._sentryDebugIdIdentifier="sentry-dbid-dc28fc71-1ce4-4627-80be-43d45b2b4e48")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,aQ as W,T as We,o as i,ai as k,F as L,p as w,bL as Ee,y,fk as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,aw as Ue,fX as Ge,h4 as _e,i as Je,al as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eQ as et,d9 as tt,fU as it,k_ as ot,j2 as Ae,j3 as Oe,cu as rt,iV as at,iW as nt,k$ as st,kg as lt,am as E,bS as dt,cA as le,j1 as ct,cD as ht}from"./index-xUGbevU5.js";import{a as f,P as pt}from"./sentry-T1o6-K0z.js";import{n as o,c as de}from"./mui-D5HCmt3I.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DcSuJuol.js";import{s as gt}from"./commonDimensions-DbvjFx29-Ys_RzQK7.js";import{g as ce}from"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import{o as mt}from"./shield-DOlUxcFf-BhY8oa-t.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-DzUbgCkN.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="dc28fc71-1ce4-4627-80be-43d45b2b4e48",e._sentryDebugIdIdentifier="sentry-dbid-dc28fc71-1ce4-4627-80be-43d45b2b4e48")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,J as V,aw as $e,a8 as fe,aR as ye,V as r,bD as be,fw as ke,b5 as je,o as t,jt as Se,bU as ze,ai as k,i as Q,aQ as Z,F as A,H as $,aq as F,p as a,y as z,al as R,d9 as ve,bW as Le,c as Pe,am as Me,fe as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d4 as We}from"./index-DOsjGhSZ.js";import{a as s,P as _e}from"./sentry-otjdlEta.js";import{n as i}from"./mui-B2MHg-Mu.js";import{GH as Re}from"./zeni-epic-state-DVinyIRY.js";import{I as He,N as Ge}from"./VideoPlayer-D6snpLby-D_sf9SSM.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-DemMuLOK.js";import{o as Ve}from"./shield-DOlUxcFf-DDxUv5Gm.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="5d1850d9-9f56-484d-ad72-878552cedb21",e._sentryDebugIdIdentifier="sentry-dbid-5d1850d9-9f56-484d-ad72-878552cedb21")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
1
+ import{d as ce,J as V,aw as $e,a8 as fe,aR as ye,V as r,bD as be,fw as ke,b5 as je,o as t,jt as Se,bU as ze,ai as k,i as Q,aQ as Z,F as A,H as $,aq as F,p as a,y as z,al as R,d9 as ve,bW as Le,c as Pe,am as Me,fe as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d4 as We}from"./index-xUGbevU5.js";import{a as s,P as _e}from"./sentry-T1o6-K0z.js";import{n as i}from"./mui-D5HCmt3I.js";import{GH as Re}from"./zeni-epic-state-DcSuJuol.js";import{I as He,N as Ge}from"./VideoPlayer-D6snpLby-BaTYooFb.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BnWsxAba.js";import{o as Ve}from"./shield-DOlUxcFf-BhY8oa-t.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="5d1850d9-9f56-484d-ad72-878552cedb21",e._sentryDebugIdIdentifier="sentry-dbid-5d1850d9-9f56-484d-ad72-878552cedb21")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as j,J as v,V as t,bD as I,b4 as z,o as r,F as C,p as m,cu as D,y as P,u as p,al as T}from"./index-DOsjGhSZ.js";import{a as h}from"./sentry-otjdlEta.js";import{n as o}from"./mui-B2MHg-Mu.js";import{$ as E}from"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import{o as M}from"./commonDimensions-DbvjFx29-M5i-B_2F.js";import{M as B}from"./StatementItem-BDCdJuBz-C5KxKZf9.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./downloadPdf-CDTl_Ev--DwC3gr_X.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]="d1353faa-43cb-4781-8ddd-421deabf25ef",e._sentryDebugIdIdentifier="sentry-dbid-d1353faa-43cb-4781-8ddd-421deabf25ef")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:w})=>{const g=j(),i=v(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:S})})})]})},R=o.div``,f=o.div`
1
+ import{d as j,J as v,V as t,bD as I,b4 as z,o as r,F as C,p as m,cu as D,y as P,u as p,al as T}from"./index-xUGbevU5.js";import{a as h}from"./sentry-T1o6-K0z.js";import{n as o}from"./mui-D5HCmt3I.js";import{$ as E}from"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import{o as M}from"./commonDimensions-DbvjFx29-Ys_RzQK7.js";import{M as B}from"./StatementItem-BDCdJuBz-DYzYWENk.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./downloadPdf-CDTl_Ev--D6bEeoRj.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]="d1353faa-43cb-4781-8ddd-421deabf25ef",e._sentryDebugIdIdentifier="sentry-dbid-d1353faa-43cb-4781-8ddd-421deabf25ef")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,statementListView:n,onBackClick:w})=>{const g=j(),i=v(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:S})})})]})},R=o.div``,f=o.div`
2
2
  margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as v,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cu as T,y as C,u as h,al as D}from"./index-DOsjGhSZ.js";import{a as m}from"./sentry-otjdlEta.js";import{n as o}from"./mui-B2MHg-Mu.js";import{$ as P}from"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import{o as E}from"./commonDimensions-DbvjFx29-M5i-B_2F.js";import{M}from"./StatementItem-BDCdJuBz-C5KxKZf9.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./downloadPdf-CDTl_Ev--DwC3gr_X.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]="fa987706-2aeb-4e2a-8d74-642357b9062f",e._sentryDebugIdIdentifier="sentry-dbid-fa987706-2aeb-4e2a-8d74-642357b9062f")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=v(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>E.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},B=o.div``,x=o.div`
1
+ import{d as v,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cu as T,y as C,u as h,al as D}from"./index-xUGbevU5.js";import{a as m}from"./sentry-T1o6-K0z.js";import{n as o}from"./mui-D5HCmt3I.js";import{$ as P}from"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import{o as E}from"./commonDimensions-DbvjFx29-Ys_RzQK7.js";import{M}from"./StatementItem-BDCdJuBz-DYzYWENk.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./downloadPdf-CDTl_Ev--D6bEeoRj.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]="fa987706-2aeb-4e2a-8d74-642357b9062f",e._sentryDebugIdIdentifier="sentry-dbid-fa987706-2aeb-4e2a-8d74-642357b9062f")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=v(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>E.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},B=o.div``,x=o.div`
2
2
  margin: ${e=>`${r.sp0} ${f.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as $,V as n,d as P,b4 as _,b as j,aZ as A,aQ as Y,o as L,p as I,al as R}from"./index-DOsjGhSZ.js";import{a as v,P as z}from"./sentry-otjdlEta.js";import{Fb as m}from"./zeni-epic-state-DVinyIRY.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-BqKhmkSG-DaJzMpYW.js";import{n as k}from"./mui-B2MHg-Mu.js";import{o as q}from"./toCOABalancesWithID-DKhXdLyk-D9LH1M_c.js";import{V as K}from"./toChartData-B3G_wqcy-uAjzhvaS.js";import{H as V,I as G,X as N,Y as Q,J as W,R as X,K as Z}from"./recharts-B7o7FzH2.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.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]="2c813a07-5e00-4bfe-8f95-518ca22ff300",e._sentryDebugIdIdentifier="sentry-dbid-2c813a07-5e00-4bfe-8f95-518ca22ff300")}catch{}})();const H=k.div`
1
+ import{F as $,V as n,d as P,b4 as _,b as j,aZ as A,aQ as Y,o as L,p as I,al as R}from"./index-xUGbevU5.js";import{a as v,P as z}from"./sentry-T1o6-K0z.js";import{Fb as m}from"./zeni-epic-state-DcSuJuol.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-BqKhmkSG-p2XqIN63.js";import{n as k}from"./mui-D5HCmt3I.js";import{o as q}from"./toCOABalancesWithID-DKhXdLyk-D-BQUpKm.js";import{V as K}from"./toChartData-B3G_wqcy-DA34gDqN.js";import{H as V,I as G,X as N,Y as Q,J as W,R as X,K as Z}from"./recharts-DzUbgCkN.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.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]="2c813a07-5e00-4bfe-8f95-518ca22ff300",e._sentryDebugIdIdentifier="sentry-dbid-2c813a07-5e00-4bfe-8f95-518ca22ff300")}catch{}})();const H=k.div`
2
2
  display: flex;
3
3
  `,J=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,T as L,o as r,F,b4 as E,aQ as T,y as c,b8 as I,R as V,u as a,al as A,x as q}from"./index-DOsjGhSZ.js";import{a as k}from"./sentry-otjdlEta.js";import{n}from"./mui-B2MHg-Mu.js";import K from"./TrendChart-DLex57el-Bd2WzCxo.js";import{C as Q}from"./NoDataChart-CGab-TiT-zyPeOkqC.js";import{F as W}from"./InsightsSection-CK6L0ggh-DiYoPBIp.js";import{T as J}from"./TransactionList-BFD8ZfJ--BUbGyMLK.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]="3f38af8a-eef9-4a69-94f3-e2431546d870",e._sentryDebugIdIdentifier="sentry-dbid-3f38af8a-eef9-4a69-94f3-e2431546d870")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,T as L,o as r,F,b4 as E,aQ as T,y as c,b8 as I,R as V,u as a,al as A,x as q}from"./index-xUGbevU5.js";import{a as k}from"./sentry-T1o6-K0z.js";import{n}from"./mui-D5HCmt3I.js";import K from"./TrendChart-DLex57el-Chgvo6uk.js";import{C as Q}from"./NoDataChart-CGab-TiT-BcLrULzl.js";import{F as W}from"./InsightsSection-CK6L0ggh-C8NcHU2i.js";import{T as J}from"./TransactionList-BFD8ZfJ--BzPxfIIZ.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]="3f38af8a-eef9-4a69-94f3-e2431546d870",e._sentryDebugIdIdentifier="sentry-dbid-3f38af8a-eef9-4a69-94f3-e2431546d870")}catch{}})();const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ie,J as ce,aw as Xe,aR as en,gK as I,hS as U,a9 as nn,hT as tn,hU as je,cG as on,V as t,bD as cn,cq as sn,cr as an,cs as ln,ac as dn,hV as rn,T as un,aS as pn,fA as mn,F as W,hW as _e,y as u,al as gn,o as a,cK as ye,aW as q,gP as te,hX as oe,hY as K,hZ as xn,u as r,H as fe,p as Ae,g8 as Ve,ai as $e,bj as hn}from"./index-DOsjGhSZ.js";import{a as Q}from"./sentry-otjdlEta.js";import{n as s}from"./mui-B2MHg-Mu.js";import{G2 as Te,FI as bn,FJ as wn,G3 as yn}from"./zeni-epic-state-DVinyIRY.js";import{h as fn}from"./VendorsAccountsSection-DlCCF8w7-CQtCi0t6.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.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]="abdd43ae-072a-405c-b804-0a2086fe08e1",e._sentryDebugIdIdentifier="sentry-dbid-abdd43ae-072a-405c-b804-0a2086fe08e1")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new fe("standardMedium","largeMedium")},An=s.div`
1
+ import{d as ie,J as ce,aw as Xe,aR as en,gK as I,hS as U,a9 as nn,hT as tn,hU as je,cG as on,V as t,bD as cn,cq as sn,cr as an,cs as ln,ac as dn,hV as rn,T as un,aS as pn,fA as mn,F as W,hW as _e,y as u,al as gn,o as a,cK as ye,aW as q,gP as te,hX as oe,hY as K,hZ as xn,u as r,H as fe,p as Ae,g8 as Ve,ai as $e,bj as hn}from"./index-xUGbevU5.js";import{a as Q}from"./sentry-T1o6-K0z.js";import{n as s}from"./mui-D5HCmt3I.js";import{G2 as Te,FI as bn,FJ as wn,G3 as yn}from"./zeni-epic-state-DcSuJuol.js";import{h as fn}from"./VendorsAccountsSection-DlCCF8w7-5nvFdBpt.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.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]="abdd43ae-072a-405c-b804-0a2086fe08e1",e._sentryDebugIdIdentifier="sentry-dbid-abdd43ae-072a-405c-b804-0a2086fe08e1")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new fe("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aR as S,V as t,h$ as _,i0 as W,J as P,F as O,cq as L,ae as C,cr as N,cs as U,a9 as R,ac as H,cS as M,cN as F,y as g,cO as G,p as A,ao as J,T as K,i as Q,o as i,al as X,u as D,aq as Y,bb as Z}from"./index-DOsjGhSZ.js";import{a as l}from"./sentry-otjdlEta.js";import{n as p}from"./mui-B2MHg-Mu.js";import{bL as ee,bh as te}from"./zeni-epic-state-DVinyIRY.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ee7b829e-648f-4fe0-9ec2-5343440f94db",e._sentryDebugIdIdentifier="sentry-dbid-ee7b829e-648f-4fe0-9ec2-5343440f94db")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=p.div`
1
+ import{aR as S,V as t,h$ as _,i0 as W,J as P,F as O,cq as L,ae as C,cr as N,cs as U,a9 as R,ac as H,cS as M,cN as F,y as g,cO as G,p as A,ao as J,T as K,i as Q,o as i,al as X,u as D,aq as Y,bb as Z}from"./index-xUGbevU5.js";import{a as l}from"./sentry-T1o6-K0z.js";import{n as p}from"./mui-D5HCmt3I.js";import{bL as ee,bh as te}from"./zeni-epic-state-DcSuJuol.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ee7b829e-648f-4fe0-9ec2-5343440f94db",e._sentryDebugIdIdentifier="sentry-dbid-ee7b829e-648f-4fe0-9ec2-5343440f94db")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a9 as k,fB as b,aR as U,J as M,F as A,cG as W,V as i,ac as q,aQ as G,fC as H,o as a,p as J,cT as K,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-DOsjGhSZ.js";import{a as f}from"./sentry-otjdlEta.js";import{n as o}from"./mui-B2MHg-Mu.js";import{ER as te}from"./zeni-epic-state-DVinyIRY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="f906840c-491b-4cbd-92d0-77ef7b800c42",e._sentryDebugIdIdentifier="sentry-dbid-f906840c-491b-4cbd-92d0-77ef7b800c42")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,w]=f.useState(!1),[z,N]=f.useState(!1),j=U(p.fetchState),D=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,R=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,L=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:L,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:R})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:B,filesEndPoint:m,authParams:S,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a9 as k,fB as b,aR as U,J as M,F as A,cG as W,V as i,ac as q,aQ as G,fC as H,o as a,p as J,cT as K,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-xUGbevU5.js";import{a as f}from"./sentry-T1o6-K0z.js";import{n as o}from"./mui-D5HCmt3I.js";import{ER as te}from"./zeni-epic-state-DcSuJuol.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="f906840c-491b-4cbd-92d0-77ef7b800c42",e._sentryDebugIdIdentifier="sentry-dbid-f906840c-491b-4cbd-92d0-77ef7b800c42")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,w]=f.useState(!1),[z,N]=f.useState(!1),j=U(p.fetchState),D=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,R=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,L=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:L,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:R})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:B,filesEndPoint:m,authParams:S,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aR as i,F as w,V as r,h$ as v,i0 as x}from"./index-DOsjGhSZ.js";import{a}from"./sentry-otjdlEta.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./mui-B2MHg-Mu.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="118e3c76-8f9a-4ed8-b907-9d5181c8ad54",t._sentryDebugIdIdentifier="sentry-dbid-118e3c76-8f9a-4ed8-b907-9d5181c8ad54")}catch{}})();const B=({vendorViewDetails:t,isExpressPayPage:s,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[y,o]=a.useState(!1),[b,n]=a.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return a.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),a.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),a.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),a.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:y===!0?r.jsx(v,{showHelperText:!s,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):b===!0?r.jsx(x,{showHelperText:!s,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:s?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{B as default};
1
+ import{aR as i,F as w,V as r,h$ as v,i0 as x}from"./index-xUGbevU5.js";import{a}from"./sentry-T1o6-K0z.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./mui-D5HCmt3I.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="118e3c76-8f9a-4ed8-b907-9d5181c8ad54",t._sentryDebugIdIdentifier="sentry-dbid-118e3c76-8f9a-4ed8-b907-9d5181c8ad54")}catch{}})();const B=({vendorViewDetails:t,isExpressPayPage:s,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[y,o]=a.useState(!1),[b,n]=a.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return a.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),a.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),a.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),a.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:y===!0?r.jsx(v,{showHelperText:!s,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):b===!0?r.jsx(x,{showHelperText:!s,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:s?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{B as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-DOsjGhSZ.js";import{a as m}from"./sentry-otjdlEta.js";import{f as u}from"./ACHDetailsPage-tTJc_EMP-DYpFLcu6.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./mui-B2MHg-Mu.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./BankAccountWarningSection-BfN1KiTF-CqPWwbNY.js";import"./MagicLinkTitleSection-vMBVJSVF-Cq6tgd4r.js";import"./BankAccountSection-Qe9eRUmE-B6lQ-JzW.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]="eac2dcf3-2c51-40ff-9d5d-905e48dcbbee",e._sentryDebugIdIdentifier="sentry-dbid-eac2dcf3-2c51-40ff-9d5d-905e48dcbbee")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{I as default};
1
+ import{V as p}from"./index-xUGbevU5.js";import{a as m}from"./sentry-T1o6-K0z.js";import{f as u}from"./ACHDetailsPage-tTJc_EMP-JVs_zF1l.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./mui-D5HCmt3I.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./BankAccountWarningSection-BfN1KiTF-BCgv1kn8.js";import"./MagicLinkTitleSection-vMBVJSVF-DQrbMfqB.js";import"./BankAccountSection-Qe9eRUmE-D-wZOxC-.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]="eac2dcf3-2c51-40ff-9d5d-905e48dcbbee",e._sentryDebugIdIdentifier="sentry-dbid-eac2dcf3-2c51-40ff-9d5d-905e48dcbbee")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{d as Ue,J as ae,y as g,aE as we,cJ as ft,a9 as wt,hd as Ce,he as Ct,aW as $t,cG as St,V as t,bC as Dt,ac as Tt,hf as jt,hg as ye,u as l,cH as Lt,aS as Vt,bD as kt,F as W,hh as Ee,hi as qe,hj as Qe,o,bQ as S,cK as It,gP as $e,hk as Ot,cL as Pt,cM as Mt,cN as _t,hl as zt,gg as Ft,cU as Nt,hm as Wt,hn as Ht,p as N,b8 as Ye,ai as Ge,dv as Rt,b0 as Bt,ho as At,hp as Ut,al as Et,du as qt,dt as Qt,d2 as Yt,aZ as pe,hq as Gt,cj as Ke,hr as Kt,H as Se,a as Je}from"./index-DOsjGhSZ.js";import{a as $}from"./sentry-otjdlEta.js";import{n as a,c as Jt}from"./mui-B2MHg-Mu.js";import{bi as De,F_ as Xt,F$ as Zt}from"./zeni-epic-state-DVinyIRY.js";import{k as es}from"./SubTabSwitcher-CqTYhJ6K-C6tI5OUk.js";import{T as ts}from"./TransactionList-BFD8ZfJ--BUbGyMLK.js";import{R as ss}from"./TrendWithTransactions-CwB4wDSN-BMowh4TY.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-D7Guqwvj.js";import{C as ns}from"./LabeledAddressValueField-DSU3b6xx-SFUhns2M.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-C6sW-5j7-DVIx7gwf.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./ConstrainedInnerElement-BeIpAPjB-DDbvqxn6.js";import"./BoxItem-Dhk2kQlB-ymoj_NmA.js";import"./commonDimensions-DbvjFx29-M5i-B_2F.js";import"./panelSelectedMixin-CzfD5-Zs-CL2f5PJh.js";import"./TrendChart-DLex57el-Bd2WzCxo.js";import"./chartTypes-BqKhmkSG-DaJzMpYW.js";import"./toCOABalancesWithID-DKhXdLyk-D9LH1M_c.js";import"./toChartData-B3G_wqcy-uAjzhvaS.js";import"./NoDataChart-CGab-TiT-zyPeOkqC.js";import"./InsightsSection-CK6L0ggh-DiYoPBIp.js";import"./NavigationDots-Dqcv5rrC-DzoP8t9X.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]="184d6fde-7348-4826-9719-f908b3640143",e._sentryDebugIdIdentifier="sentry-dbid-184d6fde-7348-4826-9719-f908b3640143")}catch{}})();const is=a.div`
1
+ import{d as Ue,J as ae,y as g,aE as we,cJ as ft,a9 as wt,hd as Ce,he as Ct,aW as $t,cG as St,V as t,bC as Dt,ac as Tt,hf as jt,hg as ye,u as l,cH as Lt,aS as Vt,bD as kt,F as W,hh as Ee,hi as qe,hj as Qe,o,bQ as S,cK as It,gP as $e,hk as Ot,cL as Pt,cM as Mt,cN as _t,hl as zt,gg as Ft,cU as Nt,hm as Wt,hn as Ht,p as N,b8 as Ye,ai as Ge,dv as Rt,b0 as Bt,ho as At,hp as Ut,al as Et,du as qt,dt as Qt,d2 as Yt,aZ as pe,hq as Gt,cj as Ke,hr as Kt,H as Se,a as Je}from"./index-xUGbevU5.js";import{a as $}from"./sentry-T1o6-K0z.js";import{n as a,c as Jt}from"./mui-D5HCmt3I.js";import{bi as De,F_ as Xt,F$ as Zt}from"./zeni-epic-state-DcSuJuol.js";import{k as es}from"./SubTabSwitcher-CqTYhJ6K-Bc-rhoSb.js";import{T as ts}from"./TransactionList-BFD8ZfJ--BzPxfIIZ.js";import{R as ss}from"./TrendWithTransactions-CwB4wDSN-CIyPCtWL.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-D_E9Fr6n.js";import{C as ns}from"./LabeledAddressValueField-DSU3b6xx-CDxj0ooq.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-C6sW-5j7-_cuCuy2m.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./ConstrainedInnerElement-BeIpAPjB-CaNWnVCp.js";import"./BoxItem-Dhk2kQlB-7DMZf7hE.js";import"./commonDimensions-DbvjFx29-Ys_RzQK7.js";import"./panelSelectedMixin-CzfD5-Zs-DQ5pHsdJ.js";import"./TrendChart-DLex57el-Chgvo6uk.js";import"./chartTypes-BqKhmkSG-p2XqIN63.js";import"./toCOABalancesWithID-DKhXdLyk-D-BQUpKm.js";import"./toChartData-B3G_wqcy-DA34gDqN.js";import"./NoDataChart-CGab-TiT-BcLrULzl.js";import"./InsightsSection-CK6L0ggh-C8NcHU2i.js";import"./NavigationDots-Dqcv5rrC-D1BiHDxS.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]="184d6fde-7348-4826-9719-f908b3640143",e._sentryDebugIdIdentifier="sentry-dbid-184d6fde-7348-4826-9719-f908b3640143")}catch{}})();const is=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as b}from"./index-DOsjGhSZ.js";import{a as k}from"./sentry-otjdlEta.js";import{D as y}from"./DomesticWireDetailsPage-CY2Pv6jd-CheyQF2l.js";import"./liveblocks-KFxhhSr3.js";import"./core-BHxev_Cl.js";import"./recharts-B7o7FzH2.js";import"./zeni-epic-state-DVinyIRY.js";import"./mui-B2MHg-Mu.js";import"./lottie-DDoT_sT4.js";import"./analytics-Cz7GTPb4.js";import"./lexical-Dja08wvc.js";import"./utils-BbmM3Vsp.js";import"./BankAccountSection-Qe9eRUmE-B6lQ-JzW.js";import"./MagicLinkTitleSection-vMBVJSVF-Cq6tgd4r.js";import"./BankAccountWarningSection-BfN1KiTF-CqPWwbNY.js";import"./MailingDetailsSection-CKtLfBik-Pke0GJpe.js";import"./LabeledAddressValueField-DSU3b6xx-SFUhns2M.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]="cfd74f00-d08a-4a4e-bedc-f7d4bd91c89f",e._sentryDebugIdIdentifier="sentry-dbid-cfd74f00-d08a-4a4e-bedc-f7d4bd91c89f")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:f,newVendorState:p,bankNameByRouting:m,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},f??p);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:m,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as b}from"./index-xUGbevU5.js";import{a as k}from"./sentry-T1o6-K0z.js";import{D as y}from"./DomesticWireDetailsPage-CY2Pv6jd-PVTtvH_L.js";import"./liveblocks-DSSX9dBy.js";import"./core-wdaJ-WYZ.js";import"./recharts-DzUbgCkN.js";import"./zeni-epic-state-DcSuJuol.js";import"./mui-D5HCmt3I.js";import"./lottie-Do4gfKV4.js";import"./analytics-uj9mGKhn.js";import"./lexical-B5DCver6.js";import"./utils-DQHKbuGq.js";import"./BankAccountSection-Qe9eRUmE-D-wZOxC-.js";import"./MagicLinkTitleSection-vMBVJSVF-DQrbMfqB.js";import"./BankAccountWarningSection-BfN1KiTF-BCgv1kn8.js";import"./MailingDetailsSection-CKtLfBik-CpHPwhEc.js";import"./LabeledAddressValueField-DSU3b6xx-CDxj0ooq.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]="cfd74f00-d08a-4a4e-bedc-f7d4bd91c89f",e._sentryDebugIdIdentifier="sentry-dbid-cfd74f00-d08a-4a4e-bedc-f7d4bd91c89f")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:f,newVendorState:p,bankNameByRouting:m,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},f??p);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:m,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};