@zeniai/web-cockpit-ui 1.15.26-qa → 1.15.27-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/assets/{ACHDetailsPage-CxpLuJpQ-D8_DWqQH.js → ACHDetailsPage-49jTvZnX-Be-zaLi0.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BtDuOBey-Bez8_W10.js → AIPerformancePage-DJea2aE9-B9iO1fyz.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Dv1rJn72-BUHG0zde.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BLF92_vF-CaBSQ7ha.js → AccountInfoPageContent-zf4BRg29-DZX6BB3M.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-C-QK_nbk.js → AccountLockedInfoModal-CxoC-scs-DZJuQo5m.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-BMliP8gz.js → AccountReconDetailsDrawerPage-DI40FQGK-9O64pVIg.js} +1 -1
  7. package/dist/assets/{AccountRow-aEmcYP8T-Cl0RXej_.js → AccountRow-CxEUX108-Ctuhzest.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-C0At5pn8-D7r1CqCa.js → AccountsPromoCardStack-ugkcP4hS-Bj_Nb7Iz.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-BwCuIFI9.js → AddAddressForCardDrawer-KZ-LVrwR-BRcI_JTS.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CMJwUbgf-BbnK5SDf.js → AddToWalletPage-CmBtO-Jx-CFwvepkh.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-B_BSfude-C_FYdrkT.js → AgingReportsPage-BgZqIoFH-CBXVGn8J.js} +1 -1
  12. package/dist/assets/{AllUserItems-CGlWa60t-C3pz-rmk.js → AllUserItems-CMkg4gXl-Dbiuf_va.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-DT3vkmLG-D5XFP6HN.js → ApAgingDetailPage-CIc4rs2--CTxo3gfJ.js} +1 -1
  14. package/dist/assets/{AppBasePage-CDy7wPlv-BeCjs7W0.js → AppBasePage-Ch3JOqQA-CkD3FaNp.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CEsXm_i6-uqFijiJh.js → AppDrawerContent-DK3tTd88-Ebl_NVYT.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-C2FP4JEY.js → ApprovalRulesSettingsPage-8myNAB_M-Bfi0yOAc.js} +1 -1
  17. package/dist/assets/{ArAgingChart-qxhWsIQb-GForpAEV.js → ArAgingChart-D8yl6Fco-iPMSgvYP.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BbzQryp_-DkvGyUny.js → ArAgingDetailPage-DMPLqLKl-D3301L0t.js} +4 -4
  19. package/dist/assets/{AttachmentView-duTVxc9g-ScUNtTmh.js → AttachmentView-Cxyodtel-B24U0bgX.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CAwAf9xK-CS7ylayD.js → BankAccountSection-DGuhn7CN-DmUf2oBe.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CaDnP9_--uUCVdcq3.js → BankAccountWarningSection-l79_AN7P-wzRxiGEn.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-Bcmudska.js → BankConnectionsSettingsPage-CkF3K8e8-C4TR4rEL.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DJxh2CIc-CiN30l4I.js → BillDetailPage-CaAXVwe3-C9NFzEPg.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-Dmjrh0x3.js → BillPayApprovalRuleDetailPage-CFiMiJVw-BuCRs1eu.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-KOYMw-l8.js → BillPayApprovalRulesPage-qpF8Wy4I-B3HFhggf.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-JK-VOx4W-CjtFHOzB.js → BillPayPromoPage-CNUoM-3L-1wklXGZ-.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-h0uoCWMl-Cj2xzAhQ.js → BillPaySetUpPage-D_hRCBF5-Imf9v1rc.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-gJG9OxD6-CzuX_q6r.js → BillingSettingsPage-BfvQsRnJ-VinZfITV.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-Cw50nOC3.js → BillsBulkReviewDrawerPage-BRVd0a8c-DFmDsImO.js} +1 -1
  30. package/dist/assets/{BoxItem-CYe_gTmA-93ej9UZX.js → BoxItem-COPJh7Lh-BtEwjrhv.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Dos8Bnvb-CTGDkcnR.js → BusinessVerificationPage-CdRHA3h2-CIWKUgi1.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CFDhtij8-DWYmJS-d.js → CardNumberSubText-Md18DQb7-Ci7Q_wrC.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BBGGzKh7-F2rDTgmL.js → CashbackDetailPage-CfB0mGdX-DgwWmp2K.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BQhago53-C4F47zGk.js → ChargeCardDetailPage-ByOcHh0H-DEou_IlL.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-B0E-C3RH-LZD5j-yi.js → ChargeCardListPage-9aL08yGW-Ba0oB6VC.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-ByGv0xWl-NawU-7AB.js → ChargeCardListTable-CbqF_9f3-C6X1RqBh.js} +16 -16
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-BRBN0Zdo.js → ChargeCardPaymentHistoryPage-Dp_vLjiJ-C_QznI13.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-8Oz0DmQv-CtVY_-8P.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-SuQ6Yb17.js → ChargeCardSetupPage-DYOCe46h-e0p7QaI6.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-irRrI3za.js → ChargeCardStatementsPage-BLws2jOd-DH79p6d7.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-Cykeqrse.js → CheckDepositDrawerPage-Bc3a4vVO-QMFCIXbb.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DlYIKSlQ-BqvITvys.js → CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Ck0xqZ0d-DuMewE5F.js → CompanyOfficerDetailsSection-C_S5WXms-iJZMGPb2.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DeVPuuje-BuSa0Fzy.js → CompanyPassportCard-DPwqwt8k-UccZMyh-.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-F_GUET9a-C8wIIeX0.js → CompanyPassportPage-DDjpq5T1-zONxBEPm.js} +13 -13
  46. package/dist/assets/{CompleteProfile-Y6HwKtpz-mlU_Lnh9.js → CompleteProfile-C6o_Ez-L-Do1B6QH5.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BGE3Okwr-_KME7UV8.js → ConfettiBurst-DNR3qv8X-ptw_T_Cq.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-B7FYHCKx.js → ConstrainedInnerElement-BeIpAPjB-DchKqY-F.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-CSTXLjlO.js → CreateOrEditVendorPage-Bcj3U0s_-5vJHklRM.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-BwWxi_XW.js → CreditCardPaymentDrawerPage-CI3GD2-u-DH6MMFER.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-RiKAivD8-BksRM4rB.js → CurrencySelectField-98tevzzy-BlqO4MuW.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-BJmm3nal.js → CustomerOnboardingActivationPage-BSsdFKhb-BMSgiMMy.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DgiK94cf-CHSTlWE8.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-BnN37yfD.js → CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-Bqid4-rH-Dtat8bQW.js → CustomerOnboardingNoStepsPage-DCt6wtfH-Cjj8y-RZ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-B5LrMzZS-CrukYZMz.js → CustomerOnboardingPage-_HuMZOrd-CaMRm4tt.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-DGZ2IBPS.js → CustomerOnboardingProductSuitePage-DcX7v8VV-DCl6Er8S.js} +3 -3
  58. package/dist/assets/{Dashboard-D0KlujCx-CaX9_ir_.js → Dashboard-C12cMR4f-BJHxNm8C.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-bxKyMsG7-Bz2x5Wjz.js → DashboardReportPage-C8FygWL_-zsIsDvlx.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-rX5svgXp.js → DashboardSidebarBackgroundAnimation-eTAs_vdL-CSWEzD2n.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BdZVCAx--DSGTNCEN.js → DepositAccTransactionItem-BuwWbrWB-LoOAd3VM.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-Daycs7AM.js → DepositAccTransactionListPage-C1XXM6Qy-C72sFA4v.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-Bs5DiWKb.js → DomesticWireDetailsPage-t6W8wYH8-BW3aYQzE.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CH_bA3On-BHg1nZjl.js → DownloadOverlay-CJYnXgCn-odTawGXc.js} +1 -1
  65. package/dist/assets/{DrawerPage-Cpdp-IFb-4VvN-IwZ.js → DrawerPage-isFPi2CS-BP0DVAOi.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BYnuNojX-CUAXLz7m.js → EditPeoplePage-4fN2aCBr-BHmm7eYD.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26--iJDDA6V.js → EditReimbursementDetailPage-CVMvR_xa-Y5W6LDDw.js} +1 -1
  68. package/dist/assets/EntityDetailPage-C8dRi0hQ-ChhHQBUx.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BFpgAYAM-CvJuZuaZ.js → EntitySummarySection-BXo9RrQK-BuIKOVzl.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-BVAZfsV6.js → ExpenseAutomationOverviewPage-DPfeujDA-5Pkl4JAF.js} +59 -59
  71. package/dist/assets/ExpenseAutomationPage-CWEo8JL8-DDq4rvWb.js +1700 -0
  72. package/dist/assets/{ExpressPayPage-CKqPEfbR-D1bSY9da.js → ExpressPayPage-Dlku9oMT-sidjttl1.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-DwGyVUFX.js → FeaturePreviewPage-qJmxWW10-BCL41LPf.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BCyL8Jdr-D1x5wOfa.js → FollowStepsSection-DxAp4i9T-Cs3p7RFB.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-CBQFcVHd-CNAri0Gq.js → GlobalReviewListPage-Cadf7AIC-BB24FYDU.js} +1 -1
  76. package/dist/assets/{InformationCardStack-nFMetrAy-S6OfgFLB.js → InformationCardStack-BZhYP37l-Dd2otSYf.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-CEMeGJXy-T-H7kH_u.js → InsightsCardStack-CPZtVqq5-BUF_fSK4.js} +1 -1
  78. package/dist/assets/{InsightsSection-BYiN2xB7-DnISGJLF.js → InsightsSection-0ekovQH4-BlPNJh_U.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-ChxLIdDV.js → IntegrationsSettingsPage-CNis_Wk3-DA1OiLg5.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-DxcAvHSv.js → InternationalWireSwiftDetailsPage-8g16Kgfi-B71tbLSL.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-tJbVtzQP-T9PeDRMa.js → InternationalWireVerificationPage-ofzwcymr-CT3lnfto.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BVXte8w8-B---KuG2.js → InviteFormPage-pQDs7n3f-Dvolqiav.js} +1 -1
  83. package/dist/assets/{InvitePageListView-DFPyLLrA-Dt36CnHt.js → InvitePageListView-DJYwE5Il-BdRMo6ep.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-B-uxjkke-YzKTCQz_.js → InvitePeoplePage-CgSGdi3i-BzFWBUb-.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-B9q7nIs0-Bul_AbD5.js → InvoiceUploadSection-BEp8eQB4-DHRScRES.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BuLj1bOl-8i7kiGE_.js → IssueChargeCardPage-DX3kJ72T--bI6SGG9.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-D2t8ti-C-DAgCkLW4.js → LabeledAddressValue-DWDFf_hN-e4LanhXy.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DMcor_I8-DcH2ZThX.js → LabeledAddressValueField-Ckm80g0_-fddiRWcN.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-C11VW6dj.js → LabeledControlledCheckBoxField-Dhta-oad-BOgGTnpX.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-jqxRDHbV.js → LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Bx1u7vv_-CY-yp38K.js → LabeledDocumentField-z2O1tykl-BOR0XPyM.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-DVk0LByT.js → LabeledDropDownFormattedTextField-BZu90SFF-CT4k7JQd.js} +1 -1
  93. package/dist/assets/{LabeledText-zjKn4Cw--YLsk-TbJ.js → LabeledText-DlIRkA7r-DGwEr03s.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-BOoBK2j4.js → LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-DDygkuei.js} +3 -3
  95. package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-Dfgdfs2r.js → LabeledZeniRolesDropDownField-CWui0vqF-DJaOZiml.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-D66bzDh_-CVCLmVkW.js → LinkJETransactionPage-DJfFhIWc-DH9uk_Nk.js} +1 -1
  97. package/dist/assets/{LockCardPage-B1g2TZWL-DSI1imlj.js → LockCardPage-Cv9rUAY7-DKakaJGE.js} +6 -6
  98. package/dist/assets/{LowBalancePopup-DbtHeVY--BmWpKubs.js → LowBalancePopup-DnRpH2rk-CPocaNr6.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-CdmfROQK-B3EIdmd3.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-BqqCZBUT-3K5d9lKn.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-QDfBddvz-DxlDIcb0.js +1 -0
  102. package/dist/assets/{MagicLinkSuccessPage-BkxuITX--9pTpV3Ii.js → MagicLinkSuccessPage-ABpq3GEM-347FQa8F.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-BV8PoZba.js → MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DRFGCM2W-Df4NDMjP.js → MailingDetailsSection-DtuTgXeV-BAt57tta.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-Dj34a5Ib.js → MyBankConnectionsSettingsPage-BRy7gQIK-D0ljHEmg.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-D9Pw7itJ.js → MyPendingActivationChargeCardListPage-eCLt21RY-DdeT-VxA.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-DrsAlesY-B8Fmgkua.js → MyProfileSettingsPage-C-GlfSxD-BPv3bj5w.js} +5 -5
  108. package/dist/assets/{NavBarWithPicker-C4VfP_Kw-C9LoglkJ.js → NavBarWithPicker-MP4pdS6O-ETw04dfI.js} +1 -1
  109. package/dist/assets/{NavigationArrow-DCCxx6H7-DFr_M9lC.js → NavigationArrow-CxS8-9O0-BQImrbmZ.js} +1 -1
  110. package/dist/assets/{NavigationDots-tWCw6Bpk-CDFZbVA_.js → NavigationDots--7KEcIuu-eftMXpdw.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-BgtMdkzY.js → NewGlobalMerchantPage-wYBwn2dL-D2xZN2Wq.js} +1 -1
  112. package/dist/assets/{NoDataChart-Bvetk9za-DZEcALCn.js → NoDataChart-Bd0aKX8D-BMtoTVvu.js} +1 -1
  113. package/dist/assets/{NoDataTable-9xF1_3XS-DKuCMxmf.js → NoDataTable-Bjbt7lt9-QawSofKO.js} +1 -1
  114. package/dist/assets/{NotFoundPage-CdH-3upl-BbsmWMZo.js → NotFoundPage-CxAhFmy2-D61A-JG3.js} +7 -7
  115. package/dist/assets/{NotificationSettingsPage-DP2gGIz1-DLZddDdI.js → NotificationSettingsPage-BwTc94Y4-DxMem3GE.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-DG-DH2Aj-DJh7Oe2k.js → NotificationsListConfig-f-Y-UtEy-BzHeGbqt.js} +1 -1
  117. package/dist/assets/{NotificationsPage-CgFMmR2X-CamiuoZq.js → NotificationsPage-Cds6qhVt-Dyww7PRK.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-eUvIAWzt-Bokql7Bs.js → OpExByVendorPage-CF6Q-SV2-DWalefYD.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CayKpuTb.js → OverlayContainerPage-D4QU0p4o-DiYJgmmr.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-8S06Nyi5-DBveFMsr.js → PandLWithForecastPage-DwWcx5eK-szNL9FCt.js} +2 -2
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQtrANhI-DYBak-1n.js → PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js} +1 -1
  122. package/dist/assets/{PeoplePage-D1BLHtO0-BbRVrBGI.js → PeoplePage-BgP7kTw9-CG9DTLLQ.js} +1 -1
  123. package/dist/assets/{Preview-BjSuSI7X.js → Preview-CyY8fFSj.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BKSXWnFR-C7YSe0g-.js → ProductsCarousel-CJlGSrBH-C82GY9tH.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-BYT9nEJT-Ccbt3B8c.js → PromoBaseCards-fx9bhHkF-5GD0MDQm.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-C2-omQMZ-CQInDhbT.js → QBOConnectionDialog-CGAr0mXC-CrSLQG4V.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-lgv5wVlg-BuAgL-EC.js → QBOSetupSection-D-fnn99E-yQD39UVj.js} +7 -7
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-9wOX2uX5.js → ReimbursementApprovalRuleDetailPage-DvhdOKpF-CHqGgBzD.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-CFj1CuJD.js → ReimbursementApprovalRulesPage-BB4c1_YZ-B3-dzOHa.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-BNspJlAb.js → ReimbursementDetailPage-DpWhzOF9-Dixn1uCw.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-fptOAJna-_HCem7ug.js → ReimbursementPromoPage-CYS1ZeFL-DbUZbWTa.js} +8 -8
  132. package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-C2WrkYYn.js → ReimbursementSetUpPage-CoOFmpfw-CzqYPddc.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-BNPGhyOT.js → ReimbursementsBulkReviewDrawerPage-DAYEgH4V-CKgr6iyS.js} +1 -1
  134. package/dist/assets/{ReloadCard-C81rGzOp-DFlKYcW1.js → ReloadCard-clq1KPzy-DLLVDS4G.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-neRSjrhV-BkLf86Vv.js → ReportTableViewSelector-CU3PZ-xy-CDmAbwqP.js} +1 -1
  136. package/dist/assets/{ReportsPage-BhzQVaer-DroWIM-W.js → ReportsPage-C5QPXAa--D9Rm-qp8.js} +5 -5
  137. package/dist/assets/{RevenueChart-x7uTbFlm-DbSvnjIg.js → RevenueChart-BM8cNGoZ-OoJdgTQW.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-jXZCylzg-BzkmGW6Z.js → ReviewDetailsPage-Dp29TV8A-pDKCfw94.js} +2 -2
  139. package/dist/assets/{ReviewOverlay-nlm2HnGw-0h8O5Gsr.js → ReviewOverlay-OXnAkRJ_-Di_D_VlI.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-C29QOzxS-DDwRD3YV.js → RoleWithToolTip-BCeMfqCC-DiZyrWD_.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-ZkvdDelI.js → ScheduleDetailsFixedAssetsPage-BUWOvDMW-DaI6ZQoZ.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-BSZefKOh-Lao8_CRx.js → ScheduleDetailsPage-F2KQ46TD-VVV77yxd.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-C4Wr3YEf.js → ScheduleSequenceTable-c-8N2OvE-DWSKrTJR.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-3--BP3dQ.js → ScreenRoutes-BYoqwzEO.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-C703iFL6-CB-x39kX.js → SetUpAccountSection-CPw8BhAT-Bu28TndH.js} +1 -1
  146. package/dist/assets/{SignIn-D9K5FklU-ErPt7eV_.js → SignIn-DT4-gKMD-DgVi8USa.js} +6 -6
  147. package/dist/assets/{SignInScreen-CRT7QevQ.js → SignInScreen-CdADJVAt.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-CBNtC74m-DHKZfQIJ.js → SpendManagementListViewPage-YoHK4LrJ-DYhZa44h.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-DcKlayyT.js → SpendManagementPerTabPage-CEJxlQwu-D8XVtvOY.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-DpZUTV6m-YVn8oLNw.js → SpendManagementSection-Dbk_Ojop-DcKtjVjR.js} +1 -1
  151. package/dist/assets/{StatementItem-DvdSsb8I-DOY7J3f4.js → StatementItem-DO9WpE-R-Do-IIiY-.js} +5 -5
  152. package/dist/assets/StatementsPage-Cf8pwDhO-RC289M0h.js +58 -0
  153. package/dist/assets/{StatusSwitcher-hKYgwNLC-DgNQeM48.js → StatusSwitcher-B523Fhna-CVWspTKV.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-aeDd9xiF-IQYV5jWC.js → SubTabSwitcher-Dgwgj3Si-U0zspkd_.js} +1 -1
  155. package/dist/assets/SummaryCard-CGteKBHk-27q94esm.js +1 -0
  156. package/dist/assets/{TaskManagementPage-D2Ooq8DR-B4CILg_v.js → TaskManagementPage-CIQeYwEY-C7-23Lr5.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-0m9X1pzy.js → TimeRangeSwitcher-8lNpLdVr-Dj19rYPc.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-BppC6giF-Dj6iiZx4.js → TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-q3bNmxt9.js → TimeframeSwitcherWithToggle-3yKIUhvE-DaSH_yQW.js} +2 -2
  160. package/dist/assets/{TopExCard-Cy6tPVSx-BKtUObR2.js → TopExCard-C-CBza7t-C8HWdf71.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-Rtrcdkcp-CpeHlBi7.js → TopExDetailPage-Dx_w2Wmt-By36tBTS.js} +8 -8
  162. package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-DBDY7klu.js → TransactionActivityLogPage-CA6FGjPI-DoUnK6pL.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-D-vXAAB7-BO7VlHs9.js → TransactionDetailPage-CpNGUBqP-gfLrfFlK.js} +1 -1
  164. package/dist/assets/{TransactionList-BruCNjQg-QGZvhCnu.js → TransactionList-CvRmT2Lq-C1JZRVpn.js} +1 -1
  165. package/dist/assets/{TransactionListBig-bp7q3prH-BjdaMTKR.js → TransactionListBig-v8qd1Ec7-hwFVnuVq.js} +1 -1
  166. package/dist/assets/{TransactionListPage-ZfJsaVb8-CqalSW4h.js → TransactionListPage-C23zWqxy-DgePPgum.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-CldkuO2--DkzTZ-pl.js → TransactionVendorDetailPage-vpDqNBSu-BIkJjCOi.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-DswS6KZf-DXuxVLU4.js → TransferDrawerPage-5FY_zDCE-DJ5J1SOB.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-D6Zu8aSf.js → TreasuryOverviewPage-DDjaj1jW-B4JtoLhv.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-DQxCF3-4-CpDxyIla.js → TreasuryPromoPage-D3y0Te0d-DmBRPB0W.js} +1 -1
  171. package/dist/assets/TreasuryStatementsPage-BF_EZUjg-suQxt6u_.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-DH3su_rX-CTO71UU_.js → TreasuryTaxLetterPage-C1nYfVbO-eUqGz6CJ.js} +2 -2
  173. package/dist/assets/{TrendChart-BMHDaOeh-DkxaXm9c.js → TrendChart-DwYxYNR7-JcI7qpjF.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-DDLrmIrt-DK3AzuE_.js → TrendWithTransactions-BJnpKKqL-DKCgJJvT.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-2HGOL2fq.js → UncategorizedAccountsMappingPage-CxlG2JUW-Cij2klA0.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-DPMy8dXP-BEwmhtiJ.js → UnitIntegrationPage-DaIJxSo2-GGpI7ByY.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--D9tVOJr4.js → UploadAdditionalDocumentOverlay-Bw9ymrDY-BTVIu0dz.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-C6gEOhUv-D393yaM2.js → Vendor2FAPopup-DxlOTzWL-DAG_NkfZ.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-CQ6OiO4V-vWpnVdE1.js +1 -0
  180. package/dist/assets/{VendorDetailPage-BC1FhaQA-Cih4hObU.js → VendorDetailPage-BGrtc6EE-DmQ5F0In.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-D5yME16K-CGPyvaCT.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-CmmLPOPD.js → VendorFiling1099EditablePage-A5wcCVBF-DUjQTYJL.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-BUDXATpi.js → VendorFirstReviewPage-Dr6MMvIq-LfXi6VDf.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-Bu8qF4QT.js → VendorInternationalWireDetailsPage-BJUaxg9g-C6pvbY6G.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-v2icyO6w-6aTsJwry.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-B1f40k92.js → VendorsAccountsSection-B9OpiDDc-Ck5imuYH.js} +1 -1
  187. package/dist/assets/{VerifyDevice-CfMJW1Vh-CfGn1f2S.js → VerifyDevice-CViWQbOn-CG6KWpvG.js} +7 -7
  188. package/dist/assets/{VideoPlayer-BNBpjXJk-Ci86uK0H.js → VideoPlayer-D5QP-myQ-CVNLOpWk.js} +2 -2
  189. package/dist/assets/{VideoPopup-BF6lmB7l-CORel6we.js → VideoPopup-_4nnxGFK-rc_W8uy0.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-Crj70lnR-CskR51nP.js → WarningsDrawerPage-D8X9a6pX-DcE35uzS.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-B7Wr8tNB.js → ZeniAccountDetailPage-B2gRhBJz-BpnCGmCc.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-VJ-m66dM.js → ZeniAccountListViewPage-Dc4IWyQw-6oEyCUyL.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-Bx5ehodw.js → ZeniAccountNavBarPieces-CYTd-7fg-D7gLlXGG.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-Cj7NRVl6.js → ZeniAccountPromoPage-B5rTE2aZ-DtGW6mZ_.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-6keQaK8x.js → ZeniAccountSetupPage-BlS6FEcT-D8fD5QNH.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-DxEZ4DiK-DuN0VY_D.js → ZeniCopyright-DbOXr6hr-D49zDt7K.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-B1R78ZqF.js → ZeniTransferAmountSlider-DMdKnrKk-BOekYkfn.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-D4w2vdRB.js → add-to-wallet-DgdBD8_G-Z21-4-a3.js} +1 -1
  199. package/dist/assets/{analytics-r9EGBu1Q.js → analytics-Dd9GkS_R.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CL-t3Y2i-BSVrCF9s.js → analyticsHelper-BLLOc8oW-Bb5BI_Zu.js} +1 -1
  201. package/dist/assets/{analyticsHelper-0wzylLgc.js → analyticsHelper-Cn36jH2S.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-BtOzciV2.js → arrow-south-east-round-PEovUgvH-K7zlCGlW.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-NVyeb_ve.js → auto-transfer-rule-mbafm5D3-rBHUDSkc.js} +1 -1
  204. package/dist/assets/{chartTypes-B3501CSI-Bjfolb4j.js → chartTypes-zuOlWPZo-CqRIct--.js} +1 -1
  205. package/dist/assets/{commonDimensions-YcBBlmYP-sxjRe92c.js → commonDimensions-aMGDpjmW-UhXAGxHS.js} +1 -1
  206. package/dist/assets/{constants-Byf26qQt.js → constants-BydUCFaZ.js} +1 -1
  207. package/dist/assets/{core-DhC75twd.js → core-DjXOmtSJ.js} +1 -1
  208. package/dist/assets/{dash.all.min-Dz8mJGxF.js → dash.all.min-CWcs0-Ft.js} +1 -1
  209. package/dist/assets/{detailCommon-C19MYPnq-C3AWPuOr.js → detailCommon-CdZh0YNF-Bty6HpPL.js} +2 -2
  210. package/dist/assets/{downloadPdf-DPAqxw6u-nEtfy2Dz.js → downloadPdf-BnXVGESU-CGO5_V0v.js} +1 -1
  211. package/dist/assets/{empty-DffAZ-ep.js → empty-Be_kj3Mu.js} +1 -1
  212. package/dist/assets/{empty-BErF0eSj.js → empty-BpWqyf7V.js} +1 -1
  213. package/dist/assets/{epic-CfMotuSj.js → epic-B6XzQXM_.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-DMwGMUF4.js → gift-box-Cmt9OgIZ-DJPtxuMD.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BYeW_TLG.js → graphic-no-data-l-DU4J8fDt-znOHf3Hs.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BJYF6A7J.js → graphic-no-data-net-burn-l-CzmycA0m-53oymvWB.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-BkE1U-MB.js → handshake-BPg58FML-ttNYOOdS.js} +1 -1
  218. package/dist/assets/{index-BByeCcLN.js → index-B0Fm_ZMY.js} +1 -1
  219. package/dist/assets/{index-tU-PJ6R1.js → index-BsyBnYxZ.js} +1 -1
  220. package/dist/assets/{index-TMJZ-FGP.js → index-COyPtNQ2.js} +1 -1
  221. package/dist/assets/{index-Cp0C-GJL.js → index-DhICZ-la.js} +1 -1
  222. package/dist/assets/{index-6S2g5oxD.js → index-Dm-b67Hf.js} +7 -7
  223. package/dist/assets/{index-DGyJHjKE.js → index-SgTym3_u.js} +1 -1
  224. package/dist/assets/{index-CFLxAI5t.js → index-w81TKwF8.js} +1 -1
  225. package/dist/assets/{lexical-B4ox-Oq6.js → lexical-C3TbZeLl.js} +1 -1
  226. package/dist/assets/{liveblocks-DxN2_B8G.js → liveblocks-EGukjQZF.js} +1 -1
  227. package/dist/assets/{lottie-BNYbcum9.js → lottie-DiLnfF8e.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-B0oj9Ot5-CWtpcdPC.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CQ9YZcDz.js → mapSectionWithAcOnlyToTreeNode-rtn-dPyU-DWwT8Nhv.js} +1 -1
  230. package/dist/assets/mapSpacerToTreeNode-8mFwNdh5-CeSJa54a.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-BkHI2m3e-DSk1PCnB.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-bQ2VDSub-CJiyKqIU.js +1 -0
  233. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CcMctgAq-lqSBZOT1.js +1 -0
  234. package/dist/assets/{mui-wtLp0vbS.js → mui-BLkKBV85.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-BgaUjC8m.js → page-detail-CWX5S47F-D6GzdE4M.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-DHibecP7.js → panelSelectedMixin-CzfD5-Zs-CBMeGjo8.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-Cgp5Mneh.js → radio-default-CiSgisfh-B552CYET.js} +1 -1
  238. package/dist/assets/{react-DXX_RLcv.js → react-4oUCwWHz.js} +1 -1
  239. package/dist/assets/{react-CkJMfDPX.js → react-BCL5SMXn.js} +1 -1
  240. package/dist/assets/{react-u7HeP0bB.js → react-BDnWTul0.js} +1 -1
  241. package/dist/assets/{react-B-KpdB-_.js → react-CXrmdcVg.js} +1 -1
  242. package/dist/assets/{react-CUfRZ-Uw.js → react-ChBDOzx3.js} +2 -2
  243. package/dist/assets/{react-Kxbs6xJM.js → react-CkV5VFp3.js} +1 -1
  244. package/dist/assets/{react-DTrvUpxc.js → react-DiNjY5yl.js} +1 -1
  245. package/dist/assets/{react-BlNFeO1p.js → react-FSAp6Eni.js} +1 -1
  246. package/dist/assets/{recharts-Bks4lV7q.js → recharts-B8tzuQ8V.js} +1 -1
  247. package/dist/assets/{sentry-B1J7wTBN.js → sentry-C2Rgx3zV.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-DVQc_Wp-.js → shield-DOlUxcFf-BI7xxvqa.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js +1 -0
  250. package/dist/assets/{toChartData-DzatRnt8-DShu11CR.js → toChartData-BNPIbcXQ-DT2tu_Ad.js} +1 -1
  251. package/dist/assets/{uploadAttachment-Bq8dk-Sm-B9eWwh9n.js → uploadAttachment-4MEQNz0J-C1Mi8_qq.js} +1 -1
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-DojRU-mv.js → uploadReceipts-Dge0cNF1-C7ahzxC1.js} +1 -1
  253. package/dist/assets/{url-G0KDqCof.js → url-DdNhcJXF.js} +1 -1
  254. package/dist/assets/{url-CJCgjt4g.js → url-i42p6QIP.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-DSmKJJot.js → useLongPress-GCK2COYQ-Cz3dEUgW.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-BaFJ2GDx.js → usp-line-BBd1wKwW-DBnWZzCO.js} +1 -1
  257. package/dist/assets/{utils-OImZ5lg2.js → utils-CQTOz44B.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Cs1j8aUi.js → zeni-epic-state-TdgpFmku.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/AccountInfoPage-DkpBGfrR-DNZbbbLx.js +0 -18
  262. package/dist/assets/ChargeCardPromoPage-CKEnOseD-BsvvJ3tS.js +0 -222
  263. package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-DA-pVnHE.js +0 -1
  264. package/dist/assets/EntityDetailPage-DSfZZ1JW-Du-oUIAb.js +0 -18
  265. package/dist/assets/ExpenseAutomationPage-DlhH-R-e-BdT46CCv.js +0 -1700
  266. package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-BWmT-DIS.js +0 -1
  267. package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-pkYJ3gJj.js +0 -1
  268. package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-nDThOfAW.js +0 -1
  269. package/dist/assets/StatementsPage-73jGj5P2-CL54j91-.js +0 -58
  270. package/dist/assets/SummaryCard-CK8Gxbiu-C9CjILlZ.js +0 -1
  271. package/dist/assets/TreasuryStatementsPage-CYkPtmaT-DH4Z2_YL.js +0 -58
  272. package/dist/assets/VendorACHDetailsPage-LNCcubjL-CvsvIZ5X.js +0 -1
  273. package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-nl_9mczl.js +0 -1
  274. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Dni1qcRr.js +0 -1
  275. package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--rA-kTA8R.js +0 -1
  276. package/dist/assets/mapSpacerToTreeNode-Blr3egSm-p4Fnx_HR.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-CR_1ELft.js +0 -1
  278. package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-Di4b6V4c.js +0 -1
  279. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-BEgZ9YHD.js +0 -1
  280. package/dist/assets/toCOABalancesWithID-D35Fk0m2-Ck4Ztuj_.js +0 -1
@@ -1,8 +1,8 @@
1
- import{V as l,fy as tn,J as Ke,e as nn,a9 as an,cG as me,aR as Qe,x as ft,aE as He,bD as on,o as re,ac as sn,u as W,aS as rn,hM as ln,gc as cn,fz as yt,e_ as xt,F as Ye,e$ as gt,y as fe,gf as ye,cT as dn,al as pn,hN as ht,ad as St,cR as un,ge as mn}from"./index-6S2g5oxD.js";import{a as m}from"./sentry-B1J7wTBN.js";import{n as P,k as Ot}from"./mui-wtLp0vbS.js";import{bi as j}from"./zeni-epic-state-Cs1j8aUi.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-DQtrANhI-DYBak-1n.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-AWsst0XH-BnN37yfD.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-Ck0xqZ0d-DuMewE5F.js";import{t as Sn}from"./QBOSetupSection-lgv5wVlg-BuAgL-EC.js";import"./liveblocks-DxN2_B8G.js";import"./core-DhC75twd.js";import"./recharts-Bks4lV7q.js";import"./lottie-BNYbcum9.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.js";import"./SetUpAccountSection-C703iFL6-CB-x39kX.js";import"./LabeledAddressValueField-DMcor_I8-DcH2ZThX.js";import"./LabeledCreatableSingleSelectField-DHNAX5Pu-jqxRDHbV.js";import"./LabeledDocumentField-Bx1u7vv_-CY-yp38K.js";import"./QBOConnectionDialog-C2-omQMZ-CQInDhbT.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="ebc95442-cd76-4f0d-8ae2-4170b2314071",n._sentryDebugIdIdentifier="sentry-dbid-ebc95442-cd76-4f0d-8ae2-4170b2314071")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:h,...O})=>{const y=Ke(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=c,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:r,sectionHeader:_,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...O})})},bn=P.div`
1
+ import{V as c,fy as tn,J as Ke,e as nn,a9 as an,cG as me,aR as Qe,x as ft,aE as He,bD as on,o as re,ac as sn,u as W,aS as rn,hM as cn,gc as ln,fz as yt,e_ as xt,F as Ye,e$ as gt,y as fe,gf as ye,cT as dn,al as pn,hN as ht,ad as St,cR as un,ge as mn}from"./index-Dm-b67Hf.js";import{a as m}from"./sentry-C2Rgx3zV.js";import{n as P,k as Ot}from"./mui-BLkKBV85.js";import{bi as j}from"./zeni-epic-state-TdgpFmku.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-C_S5WXms-iJZMGPb2.js";import{t as Sn}from"./QBOSetupSection-D-fnn99E-yQD39UVj.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./SetUpAccountSection-CPw8BhAT-Bu28TndH.js";import"./LabeledAddressValueField-Ckm80g0_-fddiRWcN.js";import"./LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js";import"./LabeledDocumentField-z2O1tykl-BOR0XPyM.js";import"./QBOConnectionDialog-CGAr0mXC-CrSLQG4V.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="628df218-3535-4c0d-bcc1-7d8e2f4e22b4",n._sentryDebugIdIdentifier="sentry-dbid-628df218-3535-4c0d-bcc1-7d8e2f4e22b4")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:h,...O})=>{const y=Ke(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:l}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=l,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return c.jsx(bn,{children:c.jsx(hn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:r,sectionHeader:_,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...O})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
- `,In=({fileProps:n,companyDetails:C,companyIndustries:r,sectionId:g,isCompleted:v,isDisabled:x,style:h,onCompanyAddressClick:O,onRegisteredAddressClick:y})=>{const V=Ke(),{company_details:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=c;return l.jsx(Pn,{children:l.jsx(gn,{fileProps:n,companyDetails:C,sectionId:g,isDisabled:x,style:h,sectionHeader:_,productType:"onboarding",showInfoTooltip:V!=="small",showCompletedIcon:V==="small",isCompleted:v,allIndustries:r,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:O,onRegisteredAddressClick:y})})},Pn=P.div`
5
+ `,In=({fileProps:n,companyDetails:C,companyIndustries:r,sectionId:g,isCompleted:v,isDisabled:x,style:h,onCompanyAddressClick:O,onRegisteredAddressClick:y})=>{const V=Ke(),{company_details:l}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:_}=l;return c.jsx(Pn,{children:c.jsx(gn,{fileProps:n,companyDetails:C,sectionId:g,isDisabled:x,style:h,sectionHeader:_,productType:"onboarding",showInfoTooltip:V!=="small",showCompletedIcon:V==="small",isCompleted:v,allIndustries:r,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:O,onRegisteredAddressClick:y})})},Pn=P.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
@@ -10,7 +10,7 @@ import{V as l,fy as tn,J as Ke,e as nn,a9 as an,cG as me,aR as Qe,x as ft,aE as
10
10
  display: flex;
11
11
  `,On=P.input`
12
12
  display: none;
13
- `,kn=({isValid:n,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(On,{type:"hidden",...g(`${C}.connected`,{validate:v=>v==="true"}),value:n?"true":"false"}),l.jsx(Sn,{isValid:n,...r})]})},B="companyDetails",b="companyOfficer",J="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(W[5],W[9],112),subTitlePaddingTop:new fe(W[3],W[3]),subTitlePaddingBottom:new fe(W[3],W[3])},wn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:v,connectedAccountProvider:x,analytics:h,cardPaymentView:O,stripeKey:y,googleAPIKey:V,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Se,onFormErrorsChange:A,...De})=>{const R=Ke(),Ve=m.useRef(null),_e=m.useRef(null),K=m.useRef(null),Ne=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:N,onFetchLinkTokenClick:xe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:D,onEditFileName:Ge,updateFilesEntity:Ze,onGetOtp:kt,onSkipSetupClick:Ae,onUpdateCustomerView:Te,updateStepHandler:M,onVerifyOtp:wt,onResendOtp:vt,handleOnConnectClick:Dt,updateQBOPopupState:Vt,onUpdateStep:$e,onAddressEditHandler:_t}=De,Nt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),Q=m.useCallback(()=>{const e=[];return(s.getFieldState(J).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=Q();A?.(e)},[Q,A]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:i})=>{a!=null&&(i==="change"||i==="blur")&&me(()=>{const u=Q();A?.(u)})});return()=>e.unsubscribe()},[s,Q,A]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Je,saveStatus:k,allSteps:S,allRequiredStepsCompleted:Fe,paymentAccount:H,paymentAccountStatus:et,externalConnections:Ee,plaidConnectionDetails:Le,uiState:je,allNationalityCountries:Be,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:G}=g,Oe=m.useRef(""),$t=e=>{Oe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(i=>i?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${Z}.phone`):kt(e)},Z=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,T=`Officer_${Z<0?1:Z+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[T]?.userId!=null?Ft?.find(e=>e.user.userId===E[T]?.userId)?.address:null,nt=E[T]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=Qe(k.fetchState),L=Qe(o);function Bt(){return Ee?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Le).some(u=>u.fetchStatus.fetchState==="Completed"),t=H?.providerVerificationStatus?.code?.includes("verified")??!1,a=O.cardsList.length>0,i=O.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!H&&a||!a&&!H&&i};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=G?.street.join("").trim(),a=G?.city,i=G?.state,u=G?.country,w=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!i&&!!u&&!!w}const lt=Qe(H?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[T],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&H?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,H?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))N?.(t[b]);else if(e.includes(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let i=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,w=xt(u?.country);i={street:t[f].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:w,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==w.selectedOption&&(i={...i,country:w})}else e===`${f}.country`&&a.selectedOption!=null?i={...i,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(i={...i,countryCode:gt(a.selectedOption)});_t(i)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&k.fetchState==="Completed"&&(s.reset(We(g,Be),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,k.fetchState,Be,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&k.fetchState==="Completed"&&(Ae(),h.track(ft.Event.onboardingSkipAndSave))},[ie,Ce,k.fetchState,Ae]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&k.fetchState==="Completed"&&(Y(null),M(te.fromStep,te.stepDirection,!0))},[te,ie,k.fetchState,M]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[T];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!He(nt!=null?j(nt):null,Re!=null?j(Re):null),Mt=!He(at!=null?j(at):null,ke!=null?j(ke):null),Qt=!He(ot!=null?j(ot):null,ze!=null?j(ze):null),Ht=s.getFieldState(B).isDirty||Mt||Qt||At,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,we=d?.primaryContactLocalData,Wt=()=>{M(o,"previous",!0)},Kt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=Q();A?.(e),rt()&&dt?(Kt(),Te(T,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):M(o,"next",!0)},200):M(o,"next",!0);break;case"qbo_connection":M(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=Q();A?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[Z<0?0:Z],a=t?.phone,i=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!i){Xe(e.phoneNumber);return}}e.isValid&&(Te(T,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else M(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${J}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=Q();A?.(a)}),e?$e("link_payment_account"):t&&$e("qbo_connection");return}}if(Ht||qe||!we?.email){const e=Zt(),t=qe?pt():{isValid:!0};me(()=>{const a=Q();A?.(a)}),e&&t.isValid?(Fe&&(z(!0),Xt()),Te(T,!Fe,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:we?.firstName,lastName:we?.lastName,email:we?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Fe?Gt():M(o,"next",!0);break}},Gt=()=>{k.fetchState!=="In-Progress"&&(Ae(),h.track(ft.Event.onboardingSkipAndSave))},pt=()=>{const e=E[T],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,i=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,w=Z<0?0:Z,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${w}.name.firstName`,`${b}.${w}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${w}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${w}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!0&&x==="unit"&&(Oe.current!==""&&a===Oe.current||(mt=!0,s.setError(`${b}.${w}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${w}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),i&&mn.test(i)===!1&&(s.trigger(`${b}.${w}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Zt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,i=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&ye(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!i||St.test(i)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[T];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[Me,Jt]=m.useState(!1);return l.jsxs(_n,{children:[l.jsxs(Nn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Nt.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(An,{windowSize:R,children:l.jsx($n,{windowSize:R,children:l.jsx(Tn,{})})}),l.jsx(sn,{...s,children:l.jsx(En,{id:wn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:x,paymentAccount:H,accountStatus:et,plaidConnectionDetails:Le,sectionId:J,hasError:s.getFieldState(J).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:xe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:O,resetCardPaymentViewState:ee,updateCardPaymentModalState:$,cardSetupInProgress:Me,subscriptionBillingAddressSectionId:f});let a=Ve;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:x,paymentAccount:H,accountStatus:et,plaidConnectionDetails:Le,subscriptionBillingAddressSectionId:f,sectionId:J,hasError:s.getFieldState(J).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:xe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:$,cardPaymentView:O,resetCardPaymentViewState:ee,cardSetupInProgress:Me,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(kn,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:r,isValid:Ee?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Ee?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:Dt,updateQBOPopupState:Vt}),a=_e;break;case"company_officer":t=l.jsx(Cn,{companyOfficerLocalData:E,allNationalityCountries:Be,isCompleted:Je.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:v,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:wt,onResendOtp:vt,onOfficerAddressClick:i=>ne(i,Re?.addressId),updateFilesEntity:Ze,onEditFileName:Ge,onDeleteFile:D,verifiedPhoneNumber:Oe.current,onPhoneVerified:$t,isDisabled:k.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ne;break;case"company_details":t=l.jsx(In,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:D,updateFilesEntity:Ze},sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:k.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Je.includes("company_details"),onCompanyAddressClick:i=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(i,u):ne(i,ke?.addressId)},onRegisteredAddressClick:i=>ne(i,ze?.addressId)}),a=K;break}return l.jsxs(Fn,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!je.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?W[6]:W[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Ln,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:k.fetchState==="In-Progress",isDisabled:k.fetchState==="In-Progress"},cancelBtn:{onClick:Wt,label:st.back,isDisabled:k.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(fn,{handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:O,stripeKey:y,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:Me,setCardSetupInProgress:Jt})]})},Dn=Ot`
13
+ `,kn=({isValid:n,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=dn();return c.jsxs(xn,{children:[c.jsx(On,{type:"hidden",...g(`${C}.connected`,{validate:v=>v==="true"}),value:n?"true":"false"}),c.jsx(Sn,{isValid:n,...r})]})},B="companyDetails",b="companyOfficer",J="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(W[5],W[9],112),subTitlePaddingTop:new fe(W[3],W[3]),subTitlePaddingBottom:new fe(W[3],W[3])},wn=n=>`${n}_form`,ce=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:v,connectedAccountProvider:x,analytics:h,cardPaymentView:O,stripeKey:y,googleAPIKey:V,handleCreateCardSetupIntent:l,handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Se,onFormErrorsChange:A,...De})=>{const R=Ke(),Ve=m.useRef(null),_e=m.useRef(null),K=m.useRef(null),Ne=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[le,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:N,onFetchLinkTokenClick:xe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:D,onEditFileName:Ge,updateFilesEntity:Ze,onGetOtp:kt,onSkipSetupClick:Ae,onUpdateCustomerView:Te,updateStepHandler:M,onVerifyOtp:wt,onResendOtp:vt,handleOnConnectClick:Dt,updateQBOPopupState:Vt,onUpdateStep:$e,onAddressEditHandler:_t}=De,Nt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),Q=m.useCallback(()=>{const e=[];return(s.getFieldState(J).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=Q();A?.(e)},[Q,A]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:i})=>{a!=null&&(i==="change"||i==="blur")&&me(()=>{const u=Q();A?.(u)})});return()=>e.unsubscribe()},[s,Q,A]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Je,saveStatus:k,allSteps:S,allRequiredStepsCompleted:Fe,paymentAccount:H,paymentAccountStatus:et,externalConnections:Ee,plaidConnectionDetails:Le,uiState:je,allNationalityCountries:Be,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:G}=g,Oe=m.useRef(""),$t=e=>{Oe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(i=>i?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!ye(e)?s.trigger(`${b}.${Z}.phone`):kt(e)},Z=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,T=`Officer_${Z<0?1:Z+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[T]?.userId!=null?Ft?.find(e=>e.user.userId===E[T]?.userId)?.address:null,nt=E[T]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=ce,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=Qe(k.fetchState),L=Qe(o);function Bt(){return Ee?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(Le).some(u=>u.fetchStatus.fetchState==="Completed"),t=H?.providerVerificationStatus?.code?.includes("verified")??!1,a=O.cardsList.length>0,i=O.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!H&&a||!a&&!H&&i};function rt(){if(s.getFieldState(f).error)return!1;const e=s.getValues(f),t=G?.street.join("").trim(),a=G?.city,i=G?.state,u=G?.country,w=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!i&&!!u&&!!w}const ct=Qe(H?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[T],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{ct==="pending_manual_verification"&&H?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,H?.providerVerificationStatus?.code,ct]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))N?.(t[b]);else if(e.includes(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let i=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,w=xt(u?.country);i={street:t[f].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:w,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==w.selectedOption&&(i={...i,country:w})}else e===`${f}.country`&&a.selectedOption!=null?i={...i,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.street`)===!1&&(i={...i,countryCode:gt(a.selectedOption)});_t(i)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&k.fetchState==="Completed"&&(s.reset(We(g,Be),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,k.fetchState,Be,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&k.fetchState==="Completed"&&(Ae(),h.track(ft.Event.onboardingSkipAndSave))},[ie,Ce,k.fetchState,Ae]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&k.fetchState==="Completed"&&(Y(null),M(te.fromStep,te.stepDirection,!0))},[te,ie,k.fetchState,M]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const lt=()=>{const e=E[T];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!He(nt!=null?j(nt):null,Re!=null?j(Re):null),Mt=!He(at!=null?j(at):null,ke!=null?j(ke):null),Qt=!He(ot!=null?j(ot):null,ze!=null?j(ze):null),Ht=s.getFieldState(B).isDirty||Mt||Qt||At,qe=s.getFieldState(b).isDirty&&lt()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,we=d?.primaryContactLocalData,Wt=()=>{M(o,"previous",!0)},Kt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=Q();A?.(e),rt()&&dt?(Kt(),Te(T,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):M(o,"next",!0)},200):M(o,"next",!0);break;case"qbo_connection":M(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=Q();A?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[Z<0?0:Z],a=t?.phone,i=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!i){Xe(e.phoneNumber);return}}e.isValid&&(Te(T,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else M(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${J}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=Q();A?.(a)}),e?$e("link_payment_account"):t&&$e("qbo_connection");return}}if(Ht||qe||!we?.email){const e=Zt(),t=qe?pt():{isValid:!0};me(()=>{const a=Q();A?.(a)}),e&&t.isValid?(Fe&&(z(!0),Xt()),Te(T,!Fe,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:we?.firstName,lastName:we?.lastName,email:we?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Fe?Gt():M(o,"next",!0);break}},Gt=()=>{k.fetchState!=="In-Progress"&&(Ae(),h.track(ft.Event.onboardingSkipAndSave))},pt=()=>{const e=E[T],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,i=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,w=Z<0?0:Z,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${w}.name.firstName`,`${b}.${w}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&lt()||St.test(t)===!1)&&(s.trigger(`${b}.${w}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${w}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!0&&x==="unit"&&(Oe.current!==""&&a===Oe.current||(mt=!0,s.setError(`${b}.${w}.phone`,{type:"custom",message:ce.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${w}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),i&&mn.test(i)===!1&&(s.trigger(`${b}.${w}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Zt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,i=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&ye(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!i||St.test(i)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[T];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[Me,Jt]=m.useState(!1);return c.jsxs(_n,{children:[c.jsxs(Nn,{windowSize:R,children:[S.indexOf(o)>=0?c.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Nt.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):c.jsx(An,{windowSize:R,children:c.jsx($n,{windowSize:R,children:c.jsx(Tn,{})})}),c.jsx(sn,{...s,children:c.jsx(En,{id:wn(Pt),children:S.map(e=>{let t;t=c.jsx(Ct,{connectedAccountProvider:x,paymentAccount:H,accountStatus:et,plaidConnectionDetails:Le,sectionId:J,hasError:s.getFieldState(J).error!=null||le&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:xe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:O,resetCardPaymentViewState:ee,updateCardPaymentModalState:$,cardSetupInProgress:Me,subscriptionBillingAddressSectionId:f});let a=Ve;switch(e){case"link_payment_account":t=c.jsx(Ct,{connectedAccountProvider:x,paymentAccount:H,accountStatus:et,plaidConnectionDetails:Le,subscriptionBillingAddressSectionId:f,sectionId:J,hasError:s.getFieldState(J).error!=null||le&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:xe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:$,cardPaymentView:O,resetCardPaymentViewState:ee,cardSetupInProgress:Me,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=c.jsx(kn,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:r,isValid:Ee?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Ee?.saveConnectionState,isQBOPopupOpen:je.isQBOPopupOpen,handleOnConnectClick:Dt,updateQBOPopupState:Vt}),a=_e;break;case"company_officer":t=c.jsx(Cn,{companyOfficerLocalData:E,allNationalityCountries:Be,isCompleted:Je.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:v,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:wt,onResendOtp:vt,onOfficerAddressClick:i=>ne(i,Re?.addressId),updateFilesEntity:Ze,onEditFileName:Ge,onDeleteFile:D,verifiedPhoneNumber:Oe.current,onPhoneVerified:$t,isDisabled:k.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ne;break;case"company_details":t=c.jsx(In,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:D,updateFilesEntity:Ze},sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:k.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Je.includes("company_details"),onCompanyAddressClick:i=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(i,u):ne(i,ke?.addressId)},onRegisteredAddressClick:i=>ne(i,ze?.addressId)}),a=K;break}return c.jsxs(Fn,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!je.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?W[6]:W[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?c.jsx(Ln,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),c.jsx(rn,{formId:`${Pt}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:k.fetchState==="In-Progress",isDisabled:k.fetchState==="In-Progress"},cancelBtn:{onClick:Wt,label:st.back,isDisabled:k.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),c.jsx(fn,{handleConfirmCardSetupIntent:_,updateCardPaymentModalState:$,handleCreateCardSetupIntent:l,handleAddCardPaymentSource:I,cardPaymentView:O,stripeKey:y,isCardPaymentOpen:je.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:Me,setCardSetupInProgress:Jt})]})},Dn=Ot`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -94,7 +94,7 @@ import{V as l,fy as tn,J as Ke,e as nn,a9 as an,cG as me,aR as Qe,x as ft,aE as
94
94
  text-align: ${n=>n.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,We=(n,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:v}=n,x=le.commonSetUp.businessVerification,h=le.companyPassport,O=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[B]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(y=>y.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:n.companyIndustries.map(y=>y.code)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(y=>y.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,V)=>{const c=y,_=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${V+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:xt(c?.nationalityCountryCode,C.map($=>$.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:x.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:yt(!0,c?.userFiles??[],_),back:yt(!1,c?.userFiles??[],_),selectDocumentType:_},isSelectedForVerification:!O&&V===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[J]:{account:{allOptions:[],selectedOption:void 0}},[f]:ln(f,n?.subscriptionBillingAddress)[f],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},ia=n=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:v,isOnAddressPage:x,stripeKey:h,googleAPIKey:O,onUpdateStep:y,onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:_,meetingUrl:$,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Se,updateCardPaymentModalState:A,resetCardPaymentViewState:De,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,..._e}=n,{allSteps:K,completedSteps:Ne,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(K),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:K,isOnAddressPage:x,completedSteps:Ne,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:v,onUpdateStep:N=>{y(N)},onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:_,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const N=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,N),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{K.length!==F.current.length&&(F.current=K)},[K]);const ne=(N,xe,de)=>{const ae=F.current.length,pe=F.current.indexOf(N);switch(xe){case"next":{const oe=(pe+1)%ae,D=F.current[oe];q.current=D,y(D),de===!0?I.trackOnboardingNext(N,D):I.trackOnboardingCurrentStep(D,N);break}case"previous":{const oe=(pe+ae-1)%ae,D=F.current[oe];q.current=D,y(D),de===!0?I.trackOnboardingBack(N,D):I.trackOnboardingCurrentStep(D,N);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(jn,{isOnAddressPage:x,children:x?l.jsx(bt,{...Y}):l.jsxs(Bn,{children:[l.jsx(bt,{...Y}),Pe?l.jsx(yn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:A,handleFetchPaymentSources:Se,cardPaymentView:r,resetCardPaymentViewState:De,stripeKey:h,googleAPIKey:O,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,onFormErrorsChange:te,..._e}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:$,analytics:I,productType:"onboarding"})]})})},jn=P.div`
97
+ `,We=(n,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:v}=n,x=ce.commonSetUp.businessVerification,h=ce.companyPassport,O=v?.companyOfficers!=null&&v?.companyOfficers.length>0;return{[B]:{companyDescription:r?.companyDescription??ce.common.strings.empty,ein:r?.companyFiles.find(y=>y.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??ce.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:n.companyIndustries.map(y=>y.code)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(y=>y.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,V)=>{const l=y,_=ln(l?.documentTypeSelectedForVerification);return{userId:l?.userId,officerType:l?.officerType??`Officer_${V+1}`,name:{firstName:l?.firstName,lastName:l?.lastName},email:l?.email,fileIds:l?.fileIds??[],dob:l?.birthday?.toDate(),nationalityCountryCode:xt(l?.nationalityCountryCode,C.map($=>$.countryCode)),ssn:l?.ssn,role:{selectedOption:l?.titleAtCompany,allOptions:x.allTypesOfRoles},phone:l?.phone,ownership:l?.ownershipInCompany,officerAddress:l?.addressStatus?.addressToCreate,selectDocument:{front:yt(!0,l?.userFiles??[],_),back:yt(!1,l?.userFiles??[],_),selectDocumentType:_},isSelectedForVerification:!O&&V===0?!0:l?.isSelectedForVerification??!1,userVerificationStatus:l?.userVerificationStatus,syncToken:l?.syncToken,isPhoneVerified:l?.isPhoneVerified,otpChallenge:l?.otpChallenge}}),[J]:{account:{allOptions:[],selectedOption:void 0}},[f]:cn(f,n?.subscriptionBillingAddress)[f],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},ia=n=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:v,isOnAddressPage:x,stripeKey:h,googleAPIKey:O,onUpdateStep:y,onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:_,meetingUrl:$,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Se,updateCardPaymentModalState:A,resetCardPaymentViewState:De,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,..._e}=n,{allSteps:K,completedSteps:Ne,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(K),[be,le]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:K,isOnAddressPage:x,completedSteps:Ne,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:v,onUpdateStep:N=>{y(N)},onZeniLogoClick:V,handleLogOutClick:l,handleCockpitClick:_,setIsStepClicked:le};m.useEffect(()=>{if(q.current!==z){const N=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,N),le(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{K.length!==F.current.length&&(F.current=K)},[K]);const ne=(N,xe,de)=>{const ae=F.current.length,pe=F.current.indexOf(N);switch(xe){case"next":{const oe=(pe+1)%ae,D=F.current[oe];q.current=D,y(D),de===!0?I.trackOnboardingNext(N,D):I.trackOnboardingCurrentStep(D,N);break}case"previous":{const oe=(pe+ae-1)%ae,D=F.current[oe];q.current=D,y(D),de===!0?I.trackOnboardingBack(N,D):I.trackOnboardingCurrentStep(D,N);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return c.jsx(jn,{isOnAddressPage:x,children:x?c.jsx(bt,{...Y}):c.jsxs(Bn,{children:[c.jsx(bt,{...Y}),Pe?c.jsx(yn,{isNoStepsPage:!1}):c.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:A,handleFetchPaymentSources:Se,cardPaymentView:r,resetCardPaymentViewState:De,stripeKey:h,googleAPIKey:O,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:Ve,onFormErrorsChange:te,..._e}),Pe?null:c.jsx(tn,{isFooterRendered:!0,meetingUrl:$,analytics:I,productType:"onboarding"})]})})},jn=P.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{J as B,a8 as I,aw as M,e as U,V as e,bD as _,o as t,aQ as b,bo as V,fy as W,F as H,al as A,af as R,p as l,b as k,ag as J,d as N,R as Z,aq as q,b0 as Q}from"./index-6S2g5oxD.js";import{a as n}from"./sentry-B1J7wTBN.js";import{n as o}from"./mui-wtLp0vbS.js";import{FX as X}from"./zeni-epic-state-Cs1j8aUi.js";import G from"./ConfettiBurst-BGE3Okwr-_KME7UV8.js";import{T as K}from"./ProductsCarousel-BKSXWnFR-C7YSe0g-.js";import"./liveblocks-DxN2_B8G.js";import"./core-DhC75twd.js";import"./recharts-Bks4lV7q.js";import"./lottie-BNYbcum9.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="9b09e2c5-abc5-41d1-8a4b-2df8837b8d01",i._sentryDebugIdIdentifier="sentry-dbid-9b09e2c5-abc5-41d1-8a4b-2df8837b8d01")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=H.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=B(),f=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,X(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(K,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(V,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(G,{showConfetti:$})]})},te=o.div`
1
+ import{J as B,a8 as I,aw as M,e as U,V as e,bD as _,o as t,aQ as b,bo as V,fy as W,F as H,al as A,af as R,p as l,b as k,ag as J,d as N,R as Z,aq as q,b0 as Q}from"./index-Dm-b67Hf.js";import{a as n}from"./sentry-C2Rgx3zV.js";import{n as o}from"./mui-BLkKBV85.js";import{FX as X}from"./zeni-epic-state-TdgpFmku.js";import G from"./ConfettiBurst-DNR3qv8X-ptw_T_Cq.js";import{T as K}from"./ProductsCarousel-CJlGSrBH-C82GY9tH.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="91acc464-25f7-445a-86b7-8de5d402cafb",i._sentryDebugIdIdentifier="sentry-dbid-91acc464-25f7-445a-86b7-8de5d402cafb")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=H.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=B(),x=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,X(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(K,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(V,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(G,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -150,13 +150,13 @@ import{J as B,a8 as I,aw as M,e as U,V as e,bD as _,o as t,aQ as b,bo as V,fy as
150
150
  justify-content: space-between;
151
151
  align-items: center;
152
152
  flex-direction: column;
153
- `,xe=o.div`
153
+ `,fe=o.div`
154
154
  display: flex;
155
155
  position: relative;
156
156
  justify-content: space-between;
157
157
  width: 100%;
158
158
  align-items: center;
159
- `,fe=o.div`
159
+ `,xe=o.div`
160
160
  display: flex;
161
161
  left: ${t.sp4};
162
162
  bottom: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{av as OA,J as V,aw as Ee,V as e,ax as qt,F as Q,ay as Xt,az as Vt,o as r,aA as Zt,aB as $t,x as UA,p as m,aC as _t,aD as Ar,aE as er,aF as Ie,aG as tr,aH as rr,aI as or,aJ as ar,aK as ir,aL as gr,aM as P,aN as N,aO as Y,aP as X,aQ as D,a9 as nr,aR as We,c as qe,ac as Cr,aS as sr,y as eA,aT as z,aU as tA,am as rA,aV as Xe,aW as J,aX as U,aY as VA,ao as Er,e as gA,aZ as dr,a_ as Br,a$ as lr,b0 as Qr,ai as L,b1 as TA,u as S,aq as ZA,al as HA,b2 as Ve,b3 as Ze,b4 as $e,b5 as Ir,b6 as $A,N as cr,a as hr,b7 as pr,b8 as _e,b9 as mr,ba as ur,bb as _A,bc as xr,bd as fr,be as wr,bf as kr,T as At,b as Dr,bg as yr,h as jr,bh as et,bi as tt,an as vr,bj as br,ag as Mr,as as rt}from"./index-6S2g5oxD.js";import{a as t,P as k}from"./sentry-B1J7wTBN.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-wtLp0vbS.js";import{L as Rr}from"./lottie-BNYbcum9.js";import{bg as Fr,bh as ot,EP as at}from"./zeni-epic-state-Cs1j8aUi.js";import{v as Lr}from"./DashboardSidebarBackgroundAnimation-Ch0OiH1g-rX5svgXp.js";import{L as Jr,k as Pr}from"./ArAgingChart-qxhWsIQb-GForpAEV.js";import{E as Ur,T as de,I as it}from"./ReloadCard-C81rGzOp-DFlKYcW1.js";import{L as Or,A as YA,c as QA}from"./TopExCard-Cy6tPVSx-BKtUObR2.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-x7uTbFlm-DbSvnjIg.js";import zr from"./InsightsCardStack-CEMeGJXy-T-H7kH_u.js";import{a as Gr}from"./AccountsPromoCardStack-C0At5pn8-D7r1CqCa.js";import{c as Z}from"./SummaryCard-CK8Gxbiu-C9CjILlZ.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-BtOzciV2.js";import{N as iA}from"./NavigationArrow-DCCxx6H7-DFr_M9lC.js";import{k as Ae}from"./NavigationDots-tWCw6Bpk-CDFZbVA_.js";import Xr from"./CompanyPassportCard-DeVPuuje-BuSa0Fzy.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DMwGMUF4.js";import Zr from"./InformationCardStack-nFMetrAy-S6OfgFLB.js";import{p as gt}from"./chartTypes-B3501CSI-Bjfolb4j.js";import{h as $r}from"./toCOABalancesWithID-D35Fk0m2-Ck4Ztuj_.js";import{V as _r}from"./toChartData-DzatRnt8-DShu11CR.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-BJYF6A7J.js";import{N as to,J as ro}from"./PromoBaseCards-BYT9nEJT-Ccbt3B8c.js";import{r as oo}from"./core-DhC75twd.js";import{N as ao,I as io}from"./VideoPlayer-BNBpjXJk-Ci86uK0H.js";import go from"./ConfettiBurst-BGE3Okwr-_KME7UV8.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-Bks4lV7q.js";import"./liveblocks-DxN2_B8G.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.js";import"./graphic-no-data-l-DU4J8fDt-BYeW_TLG.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="9889101e-cc54-4931-a0f5-37e3eb3f3676",A._sentryDebugIdIdentifier="sentry-dbid-9889101e-cc54-4931-a0f5-37e3eb3f3676")}catch{}})();const lo=g(tA)`
1
+ import{av as OA,J as V,aw as Ee,V as e,ax as qt,F as Q,ay as Xt,az as Vt,o as r,aA as Zt,aB as $t,x as UA,p as m,aC as _t,aD as Ar,aE as er,aF as Ie,aG as tr,aH as rr,aI as or,aJ as ar,aK as ir,aL as gr,aM as P,aN as N,aO as Y,aP as X,aQ as D,a9 as nr,aR as We,c as qe,ac as Cr,aS as sr,y as eA,aT as z,aU as tA,am as rA,aV as Xe,aW as J,aX as U,aY as VA,ao as Er,e as gA,aZ as dr,a_ as Br,a$ as lr,b0 as Qr,ai as L,b1 as TA,u as S,aq as ZA,al as HA,b2 as Ve,b3 as Ze,b4 as $e,b5 as Ir,b6 as $A,N as cr,a as hr,b7 as pr,b8 as _e,b9 as mr,ba as ur,bb as _A,bc as xr,bd as fr,be as wr,bf as kr,T as At,b as Dr,bg as yr,h as jr,bh as et,bi as tt,an as vr,bj as br,ag as Mr,as as rt}from"./index-Dm-b67Hf.js";import{a as t,P as k}from"./sentry-C2Rgx3zV.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-BLkKBV85.js";import{L as Rr}from"./lottie-DiLnfF8e.js";import{bg as Fr,bh as ot,EP as at}from"./zeni-epic-state-TdgpFmku.js";import{v as Lr}from"./DashboardSidebarBackgroundAnimation-eTAs_vdL-CSWEzD2n.js";import{L as Jr,k as Pr}from"./ArAgingChart-D8yl6Fco-iPMSgvYP.js";import{E as Ur,T as de,I as it}from"./ReloadCard-clq1KPzy-DLLVDS4G.js";import{L as Or,A as YA,c as QA}from"./TopExCard-C-CBza7t-C8HWdf71.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-BM8cNGoZ-OoJdgTQW.js";import zr from"./InsightsCardStack-CPZtVqq5-BUF_fSK4.js";import{a as Gr}from"./AccountsPromoCardStack-ugkcP4hS-Bj_Nb7Iz.js";import{c as Z}from"./SummaryCard-CGteKBHk-27q94esm.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-K7zlCGlW.js";import{N as iA}from"./NavigationArrow-CxS8-9O0-BQImrbmZ.js";import{k as Ae}from"./NavigationDots--7KEcIuu-eftMXpdw.js";import Xr from"./CompanyPassportCard-DPwqwt8k-UccZMyh-.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DJPtxuMD.js";import Zr from"./InformationCardStack-BZhYP37l-Dd2otSYf.js";import{p as gt}from"./chartTypes-zuOlWPZo-CqRIct--.js";import{h as $r}from"./toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js";import{V as _r}from"./toChartData-BNPIbcXQ-DT2tu_Ad.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-53oymvWB.js";import{N as to,J as ro}from"./PromoBaseCards-fx9bhHkF-5GD0MDQm.js";import{r as oo}from"./core-DjXOmtSJ.js";import{N as ao,I as io}from"./VideoPlayer-D5QP-myQ-CVNLOpWk.js";import go from"./ConfettiBurst-DNR3qv8X-ptw_T_Cq.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-B8tzuQ8V.js";import"./liveblocks-EGukjQZF.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./graphic-no-data-l-DU4J8fDt-znOHf3Hs.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="e8a8cd50-512a-4902-8397-575b5620b075",A._sentryDebugIdIdentifier="sentry-dbid-e8a8cd50-512a-4902-8397-575b5620b075")}catch{}})();const lo=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ce=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{J as B,e as Z,F as _,aw as ke,V as s,bD as Xe,T as qe,x as Je,bE as Ke,o as d,y as N,aE as K,bF as Qe,bG as et,ai as oe,u as j,b4 as tt,aW as st,c as Oe,i as Be,p as D,aq as Pe,aV as ot,bb as at,an as nt,bH as it,at as rt,bI as ct,bJ as ne,bK as lt,as as dt,am as pt,bL as ut,bM as gt}from"./index-6S2g5oxD.js";import{a as S,P as Q}from"./sentry-B1J7wTBN.js";import{n as u,k as Ie}from"./mui-wtLp0vbS.js";import{bg as mt,ER as ht,Eb as ft,ES as bt,ET as xt,EU as _t,EV as wt,EW as yt,EX as St,EY as vt,EZ as $t}from"./zeni-epic-state-Cs1j8aUi.js";import{m as G,l as se}from"./analyticsHelper-CL-t3Y2i-BSVrCF9s.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-neRSjrhV-BkLf86Vv.js";import{F as kt}from"./InsightsSection-BYiN2xB7-DnISGJLF.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-C19MYPnq-C3AWPuOr.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-x7uTbFlm-DbSvnjIg.js";import{C as Nt}from"./NoDataChart-Bvetk9za-DZEcALCn.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-DEqlZxa6-0m9X1pzy.js";import{b as Ne}from"./TimeframeSwitcher-BppC6giF-Dj6iiZx4.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-DlYIKSlQ-BqvITvys.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CQ9YZcDz.js";import{d as Mt}from"./NoDataTable-9xF1_3XS-DKuCMxmf.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-BEgZ9YHD.js";import{d as he}from"./mapLoadingInProgressToTreeNode-D2u9MDI--rA-kTA8R.js";import"./liveblocks-DxN2_B8G.js";import"./core-DhC75twd.js";import"./recharts-Bks4lV7q.js";import"./lottie-BNYbcum9.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.js";import"./NavigationDots-tWCw6Bpk-CDFZbVA_.js";import"./chartTypes-B3501CSI-Bjfolb4j.js";import"./toCOABalancesWithID-D35Fk0m2-Ck4Ztuj_.js";import"./toChartData-DzatRnt8-DShu11CR.js";import"./AccountRow-aEmcYP8T-Cl0RXej_.js";import"./graphic-no-data-l-DU4J8fDt-BYeW_TLG.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]="5da10bc3-b26b-45c6-ac2e-765ba137e635",e._sentryDebugIdIdentifier="sentry-dbid-5da10bc3-b26b-45c6-ac2e-765ba137e635")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{J as B,e as Z,F as _,aw as ke,V as s,bD as Xe,T as qe,x as Je,bE as Ke,o as d,y as N,aE as K,bF as Qe,bG as et,ai as oe,u as j,b4 as tt,aW as st,c as Oe,i as Be,p as D,aq as Pe,aV as ot,bb as at,an as nt,bH as it,at as rt,bI as ct,bJ as ne,bK as lt,as as dt,am as pt,bL as ut,bM as gt}from"./index-Dm-b67Hf.js";import{a as S,P as Q}from"./sentry-C2Rgx3zV.js";import{n as u,k as Ie}from"./mui-BLkKBV85.js";import{bg as mt,ER as ht,Eb as ft,ES as bt,ET as xt,EU as _t,EV as wt,EW as yt,EX as St,EY as vt,EZ as $t}from"./zeni-epic-state-TdgpFmku.js";import{m as G,l as se}from"./analyticsHelper-BLLOc8oW-Bb5BI_Zu.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-CU3PZ-xy-CDmAbwqP.js";import{F as kt}from"./InsightsSection-0ekovQH4-BlPNJh_U.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-CdZh0YNF-Bty6HpPL.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-BM8cNGoZ-OoJdgTQW.js";import{C as Nt}from"./NoDataChart-Bd0aKX8D-BMtoTVvu.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-8lNpLdVr-Dj19rYPc.js";import{b as Ne}from"./TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-rtn-dPyU-DWwT8Nhv.js";import{d as Mt}from"./NoDataTable-Bjbt7lt9-QawSofKO.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CcMctgAq-lqSBZOT1.js";import{d as he}from"./mapLoadingInProgressToTreeNode-B0oj9Ot5-CWtpcdPC.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./NavigationDots--7KEcIuu-eftMXpdw.js";import"./chartTypes-zuOlWPZo-CqRIct--.js";import"./toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js";import"./toChartData-BNPIbcXQ-DT2tu_Ad.js";import"./AccountRow-CxEUX108-Ctuhzest.js";import"./graphic-no-data-l-DU4J8fDt-znOHf3Hs.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]="318aa723-4f9f-408a-9d5a-744ff8ddfd09",e._sentryDebugIdIdentifier="sentry-dbid-318aa723-4f9f-408a-9d5a-744ff8ddfd09")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{av as u,V as o,b6 as f,o as p}from"./index-6S2g5oxD.js";import{a as s}from"./sentry-B1J7wTBN.js";import{a as h,n as m}from"./mui-wtLp0vbS.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]="18000dbc-2663-4c48-b626-947d107b620f",e._sentryDebugIdIdentifier="sentry-dbid-18000dbc-2663-4c48-b626-947d107b620f")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,d]=u(l,r),[t,c]=s.useState(null);a!=null&&t==null&&!d&&c(a);const b=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:b,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{av as u,V as o,b6 as f,o as p}from"./index-Dm-b67Hf.js";import{a as s}from"./sentry-C2Rgx3zV.js";import{a as h,n as m}from"./mui-BLkKBV85.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]="18000dbc-2663-4c48-b626-947d107b620f",e._sentryDebugIdIdentifier="sentry-dbid-18000dbc-2663-4c48-b626-947d107b620f")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,d]=u(l,r),[t,c]=s.useState(null);a!=null&&t==null&&!d&&c(a);const b=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:b,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aO as y,hB as u,J as $,V as l,o as i,al as c,am as w}from"./index-6S2g5oxD.js";import{n as t}from"./mui-wtLp0vbS.js";import{g as k}from"./BoxItem-CYe_gTmA-93ej9UZX.js";import{o as v}from"./commonDimensions-YcBBlmYP-sxjRe92c.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]="962ea219-5f9d-4fbe-8e5d-ccd4f155a7e0",e._sentryDebugIdIdentifier="sentry-dbid-962ea219-5f9d-4fbe-8e5d-ccd4f155a7e0")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",f),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(B,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(H,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aO as y,hB as u,J as $,V as l,o as i,al as c,am as w}from"./index-Dm-b67Hf.js";import{n as t}from"./mui-BLkKBV85.js";import{g as k}from"./BoxItem-COPJh7Lh-BtEwjrhv.js";import{o as v}from"./commonDimensions-aMGDpjmW-UhXAGxHS.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]="e863b1ea-bf29-4d73-9bf1-6e8922cb5b2b",e._sentryDebugIdIdentifier="sentry-dbid-e863b1ea-bf29-4d73-9bf1-6e8922cb5b2b")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:b,logo:p,summary:f,direction:x,status:m}=e,g=r.length>0?r:f,a=y("0,0.00",b),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(B,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(H,{windowSize:o,children:x==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{e as M,J as S,V as t,bD as I,b4 as F,hK as Y,o,F as z,p as u,cu as C,dh as E,di as _,dc as L,dj as T,y as B,ai as R,al as V,u as g}from"./index-6S2g5oxD.js";import{a as x}from"./sentry-B1J7wTBN.js";import{n as a}from"./mui-wtLp0vbS.js";import{bh as A}from"./zeni-epic-state-Cs1j8aUi.js";import{$ as J}from"./BoxItem-CYe_gTmA-93ej9UZX.js";import{o as N}from"./commonDimensions-YcBBlmYP-sxjRe92c.js";import{H as P}from"./DepositAccTransactionItem-BdZVCAx--DSGTNCEN.js";import"./liveblocks-DxN2_B8G.js";import"./core-DhC75twd.js";import"./recharts-Bks4lV7q.js";import"./lottie-BNYbcum9.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.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]="c3bfc66e-ecdd-4ebd-a07a-80bdd45cedb7",e._sentryDebugIdIdentifier="sentry-dbid-c3bfc66e-ecdd-4ebd-a07a-80bdd45cedb7")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(g[3],g[8])};function K(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=Y(K),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,b=c.length===0,j=n=>b===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(b===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,f)=>t.jsx(P,{data:D,boxType:J(f,s.transactions.length)},f))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(q,{children:t.jsx(w,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(G,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
1
+ import{e as M,J as S,V as t,bD as I,b4 as F,hK as Y,o,F as z,p as u,cu as C,dh as E,di as _,dc as L,dj as T,y as B,ai as R,al as V,u as g}from"./index-Dm-b67Hf.js";import{a as x}from"./sentry-C2Rgx3zV.js";import{n as a}from"./mui-BLkKBV85.js";import{bh as A}from"./zeni-epic-state-TdgpFmku.js";import{$ as J}from"./BoxItem-COPJh7Lh-BtEwjrhv.js";import{o as N}from"./commonDimensions-aMGDpjmW-UhXAGxHS.js";import{H as P}from"./DepositAccTransactionItem-BuwWbrWB-LoOAd3VM.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="d56266c3-11df-44e9-aad7-f334bb660d6e",e._sentryDebugIdIdentifier="sentry-dbid-d56266c3-11df-44e9-aad7-f334bb660d6e")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(g[3],g[8])};function K(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=Y(K),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:J(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(q,{children:t.jsx(w,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(G,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,q=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{J as O,a9 as U,F as N,cG as q,aE as G,V as n,cq as H,cr as J,cs as K,ac as Q,aS as X,y as b,eX as Y,o as Z,ba as ee,u as o}from"./index-6S2g5oxD.js";import{a as w}from"./sentry-B1J7wTBN.js";import{n as h}from"./mui-wtLp0vbS.js";import{bi as T}from"./zeni-epic-state-Cs1j8aUi.js";import{e as ne}from"./BankAccountSection-CAwAf9xK-CS7ylayD.js";import{M as te}from"./MagicLinkTitleSection-CqkZ9wOf-BV8PoZba.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CaDnP9_--uUCVdcq3.js";import{T as ie}from"./MailingDetailsSection-DRFGCM2W-Df4NDMjP.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]="3f4da97f-227e-45bc-b1d2-0a397015e3b8",e._sentryDebugIdIdentifier="sentry-dbid-3f4da97f-227e-45bc-b1d2-0a397015e3b8")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[E,g]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),S=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(H,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:S,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{S?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{J as O,a9 as U,F as N,cG as q,aE as G,V as n,cq as H,cr as J,cs as K,ac as Q,aS as X,y as b,eX as Y,o as Z,ba as ee,u as o}from"./index-Dm-b67Hf.js";import{a as w}from"./sentry-C2Rgx3zV.js";import{n as h}from"./mui-BLkKBV85.js";import{bi as T}from"./zeni-epic-state-TdgpFmku.js";import{e as ne}from"./BankAccountSection-DGuhn7CN-DmUf2oBe.js";import{M as te}from"./MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js";import{W as ae,A as oe}from"./BankAccountWarningSection-l79_AN7P-wzRxiGEn.js";import{T as ie}from"./MailingDetailsSection-DtuTgXeV-BAt57tta.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]="f2809257-03e0-4576-b39f-e768622e2705",e._sentryDebugIdIdentifier="sentry-dbid-f2809257-03e0-4576-b39f-e768622e2705")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[E,g]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),S=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(H,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:S,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{S?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,c as lt,F,c6 as dt,bP as Ue,u as B,ba as qe,al as L,bS as _e,b as te,am as be,i as ae,e as We,bU as ct,c7 as xe,c8 as ge,T as Ge,c9 as Ze,bN as pt,bb as mt,ao as ye,ca as Z,cb as ft,cc as ht,bL as ut,bT as bt,aq as xt,cd as gt,c0 as yt,at as $t}from"./index-6S2g5oxD.js";import{a as h,P as $e}from"./sentry-B1J7wTBN.js";import{n,k as Je}from"./mui-wtLp0vbS.js";import{F8 as me,F9 as C,Fa as J,bL as P,Fb as K,Fc as we,Fd as U,bh as wt,Fe as _,Ff as Ft,Fg as vt,Fh as jt,Fi as Ot,Fj as Yt}from"./zeni-epic-state-Cs1j8aUi.js";import{m as Dt}from"./analyticsHelper-CL-t3Y2i-BSVrCF9s.js";import{g as kt,x as _t}from"./ReportTableViewSelector-neRSjrhV-BkLf86Vv.js";import{t as Ct}from"./page-detail-CWX5S47F-BgaUjC8m.js";import"./liveblocks-DxN2_B8G.js";import"./core-DhC75twd.js";import"./recharts-Bks4lV7q.js";import"./lottie-BNYbcum9.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.js";import"./CollapsableReportTable-DlYIKSlQ-BqvITvys.js";import"./AccountRow-aEmcYP8T-Cl0RXej_.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]="4f47372c-6a81-4b2f-8ab7-c19ad6984b82",e._sentryDebugIdIdentifier="sentry-dbid-4f47372c-6a81-4b2f-8ab7-c19ad6984b82")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c4 as it,o as s,J as he,c5 as nt,an as He,p as ue,y as W,c as lt,F,c6 as dt,bP as Ue,u as B,ba as qe,al as L,bS as _e,b as te,am as be,i as ae,e as We,bU as ct,c7 as xe,c8 as ge,T as Ge,c9 as Ze,bN as pt,bb as mt,ao as ye,ca as Z,cb as ft,cc as ht,bL as ut,bT as bt,aq as xt,cd as gt,c0 as yt,at as $t}from"./index-Dm-b67Hf.js";import{a as h,P as $e}from"./sentry-C2Rgx3zV.js";import{n,k as Je}from"./mui-BLkKBV85.js";import{F8 as me,F9 as C,Fa as J,bL as P,Fb as K,Fc as we,Fd as U,bh as wt,Fe as _,Ff as Ft,Fg as vt,Fh as jt,Fi as Ot,Fj as Yt}from"./zeni-epic-state-TdgpFmku.js";import{m as Dt}from"./analyticsHelper-BLLOc8oW-Bb5BI_Zu.js";import{g as kt,x as _t}from"./ReportTableViewSelector-CU3PZ-xy-CDmAbwqP.js";import{t as Ct}from"./page-detail-CWX5S47F-D6GzdE4M.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js";import"./AccountRow-CxEUX108-Ctuhzest.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]="eff36b6b-467f-405a-ab43-934cc6affa5b",e._sentryDebugIdIdentifier="sentry-dbid-eff36b6b-467f-405a-ab43-934cc6affa5b")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{J as a,V as i,bU as j,o as r,y as s,F as h,c3 as P,N as c,a as g,c as b,u as t,aO as k,k1 as L,k2 as D,k3 as C}from"./index-6S2g5oxD.js";import{n as o}from"./mui-wtLp0vbS.js";import"./sentry-B1J7wTBN.js";import"./liveblocks-DxN2_B8G.js";import"./core-DhC75twd.js";import"./recharts-Bks4lV7q.js";import"./zeni-epic-state-Cs1j8aUi.js";import"./lottie-BNYbcum9.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.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]="9c54211a-5472-48fd-9386-d9e3507e56ff",e._sentryDebugIdIdentifier="sentry-dbid-9c54211a-5472-48fd-9386-d9e3507e56ff")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,I=({rewardsPlan:e})=>{const n=[_(),R(),N({rewardsPlan:e})],d=a();return i.jsx(F,{children:n.map((y,S)=>i.jsxs(E,{children:[i.jsx(J,{children:y}),S<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${S}`))})},_=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(M,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},N=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(A,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},x=o.div`
1
+ import{J as a,V as i,bU as j,o as r,y as s,F as h,c3 as P,N as c,a as g,c as b,u as t,aO as k,k1 as L,k2 as D,k3 as C}from"./index-Dm-b67Hf.js";import{n as o}from"./mui-BLkKBV85.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.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]="9c54211a-5472-48fd-9386-d9e3507e56ff",e._sentryDebugIdIdentifier="sentry-dbid-9c54211a-5472-48fd-9386-d9e3507e56ff")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,I=({rewardsPlan:e})=>{const n=[_(),R(),N({rewardsPlan:e})],d=a();return i.jsx(F,{children:n.map((y,S)=>i.jsxs(E,{children:[i.jsx(J,{children:y}),S<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${S}`))})},_=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(M,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},N=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(A,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},x=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{J as ie,fU as ae,e as de,a9 as pe,aR as ce,V as t,cq as ue,ap as me,cr as ge,cs as fe,gQ as he,cw as ye,o as n,bU as be,aQ as L,ac as ve,aS as xe,y as P,F as $e,cC as we,fX as Re,fY as Ce,fZ as Ie,ba as je,p as K,c_ as _e,u}from"./index-6S2g5oxD.js";import{a as w}from"./sentry-B1J7wTBN.js";import{n as l}from"./mui-wtLp0vbS.js";import{FF as Oe,bg as ke}from"./zeni-epic-state-Cs1j8aUi.js";import{f as Pe}from"./AllUserItems-CGlWa60t-C3pz-rmk.js";import"./liveblocks-DxN2_B8G.js";import"./core-DhC75twd.js";import"./recharts-Bks4lV7q.js";import"./lottie-BNYbcum9.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.js";import"./LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-BOoBK2j4.js";import"./RoleWithToolTip-C29QOzxS-DDwRD3YV.js";import"./LabeledZeniRolesDropDownField-DiBtAWQ3-Dfgdfs2r.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]="68de3d73-d629-4fd3-86b0-51c4948c88d3",e._sentryDebugIdIdentifier="sentry-dbid-68de3d73-d629-4fd3-86b0-51c4948c88d3")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:r,classList:y,controllersList:j,mode:p,isZeniTenant:T,onCloseClick:_,onResetClick:O,onSaveClick:m,onDeleteUser:W,onPeopleLocalDataUpdated:M,analytics:z,isReimbursementDisabled:E,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const C=ie(),[X,D]=w.useState(!1),[G,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(E,N,Z,b,v,F,q),[E,N,Z,b,v,F,q]),A=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:Q(e.people,r,y,p,S,b,v),values:Q(e.people,r,y,p,S,b,v)}),se=i.handleSubmit(()=>{J()&&m()},()=>{J(),console.warn("Edit Profile form error")}),J=()=>{const g=i.getValues();let o=!0;return g.userItems.forEach((f,x)=>{const{role:U,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=U.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),o=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),o=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),o=!1)}}),o},ne=async(g,o)=>{const f=[],{userItems:x}=o,U=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(U!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(B=>Oe(B.selectedOption?.value)).filter(B=>B!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=ke(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((o,{name:f})=>{f!=null&&o!=null&&ne(f,o)});return()=>{g.unsubscribe()}});const re=()=>{D(!0)},oe={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),W?.(e.person)},onCancelClick:()=>{D(!1)}},V=ce(e.person?.update),k=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{k==null&&V==="removeUsers"&&(D(!1),O?.())},[k,V]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:oe,proceedButtonVariant:"danger",isLoading:k==="removeUsers",isDisabled:k==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Ee,{}),t.jsx(Le,{children:t.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:C==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Be,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(De,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(Ue,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:re,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:G,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:T,classList:y,managersList:r,controllersList:j,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:_},separatorStyle:{marginRight:n.sp4}})]})},Q=(e,r,y,j,p,T,_)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(T,_)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:r,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,r)=>`${e}.${r}`,Te=l.div`
1
+ import{J as ae,fU as ie,e as de,a9 as pe,aR as ce,V as t,cq as ue,ap as me,cr as fe,cs as ge,gQ as he,cw as ye,o as n,bU as be,aQ as L,ac as ve,aS as xe,y as P,F as $e,cC as we,fX as Re,fY as Ce,fZ as Ie,ba as je,p as K,c_ as _e,u}from"./index-Dm-b67Hf.js";import{a as w}from"./sentry-C2Rgx3zV.js";import{n as l}from"./mui-BLkKBV85.js";import{FF as Oe,bg as ke}from"./zeni-epic-state-TdgpFmku.js";import{f as Pe}from"./AllUserItems-CMkg4gXl-Dbiuf_va.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-DDygkuei.js";import"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.js";import"./LabeledZeniRolesDropDownField-CWui0vqF-DJaOZiml.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]="4427328a-7ccb-4173-8761-aeedf50a1afa",e._sentryDebugIdIdentifier="sentry-dbid-4427328a-7ccb-4173-8761-aeedf50a1afa")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:r,classList:y,controllersList:j,mode:p,isZeniTenant:T,onCloseClick:_,onResetClick:O,onSaveClick:m,onDeleteUser:W,onPeopleLocalDataUpdated:M,analytics:z,isReimbursementDisabled:E,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const C=ae(),[X,D]=w.useState(!1),[G,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ie(E,N,Z,b,v,F,q),[E,N,Z,b,v,F,q]),A=de(),a=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:Q(e.people,r,y,p,S,b,v),values:Q(e.people,r,y,p,S,b,v)}),se=a.handleSubmit(()=>{J()&&m()},()=>{J(),console.warn("Edit Profile form error")}),J=()=>{const f=a.getValues();let o=!0;return f.userItems.forEach((g,x)=>{const{role:U,department:i,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=U.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(a.setError(`${R}.${x}.role`,{type:"required"}),o=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(a.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(b||v||(a.setError(`${R}.${x}.department`,{type:"required"}),o=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(a.setError(`${R}.${x}.manager`,{type:"required"}),o=!1)}}),o},ne=async(f,o)=>{const g=[],{userItems:x}=o,U=e.person?.userRole?.userRoleId;x.forEach(i=>{let h={};if(U!=null){if(p==="zeni_only")h={email:i.email,role:i.role.selectedOptions};else{const c=i.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(i.nonZeniRole?.productsByUserRole[c]??[]).map(B=>Oe(B.selectedOption?.value)).filter(B=>B!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=ke(s);h={email:i.email,role:s,departmentId:$?void 0:i.department?.selectedOption?.value,managerId:$?void 0:i.manager?.selectedUser}}g.push(h)}}),M(g)};w.useEffect(()=>{const f=a.watch((o,{name:g})=>{g!=null&&o!=null&&ne(g,o)});return()=>{f.unsubscribe()}});const re=()=>{D(!0)},oe={onOkClick:()=>{const f=e.person;z?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),W?.(e.person)},onCancelClick:()=>{D(!1)}},V=ce(e.person?.update),k=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{k==null&&V==="removeUsers"&&(D(!1),O?.())},[k,V]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(ue,{titleComponent:t.jsx(ge,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:oe,proceedButtonVariant:"danger",isLoading:k==="removeUsers",isDisabled:k==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Ee,{}),t.jsx(Le,{children:t.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:C==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Be,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(De,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(Ue,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:re,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...a,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:a.control,sectionId:R,deleteConfirmationIndex:G,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:T,classList:y,managersList:r,controllersList:j,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:_},separatorStyle:{marginRight:n.sp4}})]})},Q=(e,r,y,j,p,T,_)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(T,_)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:r,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,r)=>`${e}.${r}`,Te=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{aR as li,e as ft,aw as xt,a9 as an,ay as Ii,aE as rn,J as Re,gi as ao,gk as ro,gl as lo,V as t,gG as so,ac as ln,cq as di,cr as sn,cs as dn,aQ as H,o as i,y as d,bD as Ti,bp as co,dx as uo,gm as mo,gx as cn,gs as Di,aS as un,ao as mn,gt as po,gH as Ve,eE as Ke,f4 as ci,gI as Bt,F as fe,T as wt,gJ as ho,p as j,c as pn,aq as ui,u as a,by as go,gv as yo,cH as bo,eL as mi,gK as Mt,fj as Se,cJ as pi,fm as $e,cT as nt,ep as fo,fi as hn,b as Rt,cM as gn,cL as tt,c$ as Te,ai as hi,gL as xo,fB as wo,cG as So,aW as ji,fv as $o,bx as vo,bb as yn,h as Co,eo as ko,b8 as Ft,gn as Io,bW as bn,N as gi,a as fn,d1 as xn,cj as Et,eX as To,ba as Do,d5 as jo,fp as Po,al as yi,i as Pi,bU as wn,b2 as Oi,c_ as Oo,am as Lo,cP as Sn,aO as Ro,gM as $n,gN as si,gd as Li,gO as At,cZ as Ao,gh as zo,bL as Bo,cY as Mo}from"./index-6S2g5oxD.js";import{a as S,P as kt}from"./sentry-B1J7wTBN.js";import{n}from"./mui-wtLp0vbS.js";import{a as Fo}from"./liveblocks-DxN2_B8G.js";import{FM as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FN as Ai,bh as bi}from"./zeni-epic-state-Cs1j8aUi.js";import kn from"./InvoiceUploadSection-B9q7nIs0-Bul_AbD5.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-DHNAX5Pu-jqxRDHbV.js";import{S as Uo}from"./CurrencySelectField-RiKAivD8-BksRM4rB.js";import{e as _o}from"./BankAccountSection-CAwAf9xK-CS7ylayD.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-CaDnP9_--uUCVdcq3.js";import{o as qo}from"./radio-default-CiSgisfh-Cgp5Mneh.js";import"./core-DhC75twd.js";import"./lottie-BNYbcum9.js";import"./recharts-Bks4lV7q.js";import"./analytics-r9EGBu1Q.js";import"./lexical-B4ox-Oq6.js";import"./utils-OImZ5lg2.js";import"./AttachmentView-duTVxc9g-ScUNtTmh.js";import"./uploadReceipts-Dge0cNF1-DojRU-mv.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]="87afa303-f77e-44a9-9dc4-f356ca10c6f5",e._sentryDebugIdIdentifier="sentry-dbid-87afa303-f77e-44a9-9dc4-f356ca10c6f5")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const x=Re(),s=xt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,O=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(x),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Q=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(x),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Q?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${O.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aR as li,e as ft,aw as xt,a9 as an,ay as Ii,aE as rn,J as Re,gi as ao,gk as ro,gl as lo,V as t,gG as so,ac as ln,cq as di,cr as sn,cs as dn,aQ as H,o as i,y as d,bD as Ti,bp as co,dx as uo,gm as mo,gx as cn,gs as Di,aS as un,ao as mn,gt as po,gH as Ve,eE as Ke,f4 as ci,gI as Bt,F as fe,T as wt,gJ as ho,p as j,c as pn,aq as ui,u as a,by as go,gv as yo,cH as bo,eL as mi,gK as Mt,fj as Se,cJ as pi,fm as $e,cT as nt,ep as fo,fi as hn,b as Rt,cM as gn,cL as tt,c$ as Te,ai as hi,gL as xo,fB as wo,cG as So,aW as ji,fv as $o,bx as vo,bb as yn,h as Co,eo as ko,b8 as Ft,gn as Io,bW as bn,N as gi,a as fn,d1 as xn,cj as Et,eX as To,ba as Do,d5 as jo,fp as Po,al as yi,i as Pi,bU as wn,b2 as Oi,c_ as Oo,am as Lo,cP as Sn,aO as Ro,gM as $n,gN as si,gd as Li,gO as At,cZ as Ao,gh as zo,bL as Bo,cY as Mo}from"./index-Dm-b67Hf.js";import{a as S,P as kt}from"./sentry-C2Rgx3zV.js";import{n}from"./mui-BLkKBV85.js";import{a as Fo}from"./liveblocks-EGukjQZF.js";import{FM as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FN as Ai,bh as bi}from"./zeni-epic-state-TdgpFmku.js";import kn from"./InvoiceUploadSection-BEp8eQB4-DHRScRES.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js";import{S as Uo}from"./CurrencySelectField-98tevzzy-BlqO4MuW.js";import{e as _o}from"./BankAccountSection-DGuhn7CN-DmUf2oBe.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-l79_AN7P-wzRxiGEn.js";import{o as qo}from"./radio-default-CiSgisfh-B552CYET.js";import"./core-DjXOmtSJ.js";import"./lottie-DiLnfF8e.js";import"./recharts-B8tzuQ8V.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./AttachmentView-Cxyodtel-B24U0bgX.js";import"./uploadReceipts-Dge0cNF1-C7ahzxC1.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]="ff7a641b-f791-4b06-bacb-aa0b03bcbb7e",e._sentryDebugIdIdentifier="sentry-dbid-ff7a641b-f791-4b06-bacb-aa0b03bcbb7e")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const x=Re(),s=xt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,O=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(x),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Q=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(x),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Q?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${O.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -0,0 +1,18 @@
1
+ import{e as T,F as w,aW as v,V as o,bC as D,ax as I,o as i,x as l}from"./index-Dm-b67Hf.js";import{n as a}from"./mui-BLkKBV85.js";import{R as k}from"./TrendWithTransactions-BJnpKKqL-DKCgJJvT.js";import"./sentry-C2Rgx3zV.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./zeni-epic-state-TdgpFmku.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./TrendChart-DwYxYNR7-JcI7qpjF.js";import"./chartTypes-zuOlWPZo-CqRIct--.js";import"./toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js";import"./toChartData-BNPIbcXQ-DT2tu_Ad.js";import"./NoDataChart-Bd0aKX8D-BMtoTVvu.js";import"./InsightsSection-0ekovQH4-BlPNJh_U.js";import"./NavigationDots--7KEcIuu-eftMXpdw.js";import"./TransactionList-CvRmT2Lq-C1JZRVpn.js";import"./ConstrainedInnerElement-BeIpAPjB-DchKqY-F.js";import"./BoxItem-COPJh7Lh-BtEwjrhv.js";import"./commonDimensions-aMGDpjmW-UhXAGxHS.js";import"./panelSelectedMixin-CzfD5-Zs-CBMeGjo8.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]="76b240e3-9ceb-4c64-8669-6de8b4fe41f3",e._sentryDebugIdIdentifier="sentry-dbid-76b240e3-9ceb-4c64-8669-6de8b4fe41f3")}catch{}})();const F=a.div`
2
+ display: flex;
3
+ margin: ${i.sp0} ${i.sp0} ${i.sp0} ${i.sp0};
4
+ flex-direction: column;
5
+ width: 100%;
6
+ height: 100%;
7
+ background-color: ${e=>e.theme.colors.grey5};
8
+ `,P=a.div`
9
+ padding-left: ${i.sp0};
10
+ position: fixed;
11
+ width: 100%;
12
+ z-index: 20;
13
+ position: -webkit-sticky;
14
+ position: sticky;
15
+ top: ${i.sp0};
16
+ `,$=a.div`
17
+ flex: 1 1 auto;
18
+ `;function ee({firstMonthOfFY:e,selectedEntity:t,trendWithTransactionsReport:n,autoCompleteData:p,autoCompleteActions:c,analytics:s,onTransactionItemClick:m,onTrendSelectedPeriodChange:f,panelContent:u,sidePanelIsFullView:y,sidePanelIsOpen:h}){const g=T(),{dateFormat:{analytics:b}}=w.getLocalizedStrings(),C=new v(g.colors.graphColor12),x=(d,r)=>{d==="Chart"&&r!=null&&s?.trackSpendIncomeTrend(t.type==="vendor"?l.Event.spendTrend:l.Event.incomeTrend,"Search",t.type,t.name,r?.addTimePeriod.startDate.format(b.MMMYYFormat)),d==="TransactionListLoadMore"&&s?.trackTransactionList(void 0,void 0,"Search",void 0,void 0,!0),f?.(r)};return o.jsx(D,{isOpen:h??!1,isFullView:y??!1,panelContent:u,headerContent:o.jsx(P,{children:o.jsx(I,{viewType:"entity_search",searchAutoComplete:{autoCompleteData:p,autoCompleteActions:c},source:"EntityDetailPage"})}),listContent:o.jsx(F,{children:t!=null&&n!=null?o.jsx($,{children:o.jsx(k,{firstMonthOfFY:e,trendWithTransactionsReport:n,isDetailPage:!1,graphColor:C,page:"EntityDetailPage",onTransactionItemClick:m,onTimePeriodChange:x})}):null})})}export{ee as default};
@@ -1,4 +1,4 @@
1
- import{J as C,y as d,V as i,b4 as R,cu as E,F as D,du as V,d3 as A,o as s,aa as S,aO as z,i5 as k,u as a,R as F,am as B,al as Y,ba as U,ai as I,cA as G,p as M,cD as X}from"./index-6S2g5oxD.js";import{a as m}from"./sentry-B1J7wTBN.js";import{n}from"./mui-wtLp0vbS.js";import{l as J}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="75802c82-f80e-4336-91c7-d390768199b3",e._sentryDebugIdIdentifier="sentry-dbid-75802c82-f80e-4336-91c7-d390768199b3")}catch{}})();const y=D.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],T={headerHeight:new d(45,58)},q=n.div`
1
+ import{J as C,y as d,V as i,b4 as R,cu as E,F as D,du as V,d3 as A,o as s,aa as S,aO as z,i5 as k,u as a,R as F,am as B,al as Y,ba as U,ai as I,cA as G,p as M,cD as X}from"./index-Dm-b67Hf.js";import{a as m}from"./sentry-C2Rgx3zV.js";import{n}from"./mui-BLkKBV85.js";import{l as J}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="75802c82-f80e-4336-91c7-d390768199b3",e._sentryDebugIdIdentifier="sentry-dbid-75802c82-f80e-4336-91c7-d390768199b3")}catch{}})();const y=D.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],T={headerHeight:new d(45,58)},q=n.div`
2
2
  top: ${s.sp0};
3
3
  left: ${s.sp0};
4
4
  min-height: ${e=>T.headerHeight.valuePx(e.windowSize)};