@zeniai/web-app-ui 4.14.35-dev → 4.14.35-next

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 (347) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-DhhGJFiO.js → ACHDetailsPage-B5qIuZya-BIuRDGqE.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BHB45mP--bMes_tkI.js → AIPerformancePage-BHB45mP--CdiJF-L1.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cd5xYT1g-BezVjAGR.js → AccountInfoPage-Cd5xYT1g-CsL4ceIj.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js → AccountInfoPageContent-CJ7ycVIK-Dnz42YfF.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js → AccountLockedInfoModal-Dox7IuAX-BpZbPOQz.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js → AccountReconDetailsDrawerPage-Bqty08m0-C0vGDzkJ.js} +1 -1
  7. package/dist/assets/{AccountRow-D1cjRJJD--D2oyMqA.js → AccountRow-D1cjRJJD-C8PUWTdF.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js → AccountsPromoCardStack-Bs3naJHM-DYMmkkcK.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js → AddAddressForCardDrawer-DZkBMJfp-fRN288lA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-fhBwqlyz.js → AddToWalletPage-CyRfqVDB-BWSFlvzO.js} +1 -1
  11. package/dist/assets/{AddressRoutes-BOfIecri.js → AddressRoutes-C_q-9_62.js} +1 -1
  12. package/dist/assets/{AddressScreen-BL1pptQ5.js → AddressScreen-q6X2LJkq.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-xBFff3BM-B37Aeh0_.js → AgingReportsPage-xBFff3BM-BUoWBW_Y.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-B5nbVKeh.js → AiCfoScreen-CjgeQNVJ.js} +1 -1
  15. package/dist/assets/{AllUserItems-BJf6WPDo-CPycalrU.js → AllUserItems-BJf6WPDo-CHVB4i8A.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js → ApAgingDetailPage-CjBrPyi8-C5AuZu1C.js} +1 -1
  17. package/dist/assets/{AppBasePage-CqDm-hnV-Cb4xx63d.js → AppBasePage-CqDm-hnV-DqUDfXL_.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CVVWj66i-TDtj32fZ.js → AppDrawerContent-CVVWj66i-H8Zv8lBB.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js → ApprovalRulesSettingsPage-Cckd2uVA-DeRWJAYx.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CBsqOd-4-Be7GSB8o.js → ArAgingChart-CBsqOd-4-CyjYWAFr.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-i7JObt60-CQiftrKA.js → ArAgingDetailPage-i7JObt60-CjUHN5eR.js} +1 -1
  22. package/dist/assets/{AttachmentView-CzC4skJ3-3dq1WroI.js → AttachmentView-CzC4skJ3-DyETG696.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js → BalancesInsightWithToolTip-B6umvmgL-Cv06ZgJU.js} +1 -1
  24. package/dist/assets/{BankAccountSection-Di4sF52j-D_gkfCl5.js → BankAccountSection-Di4sF52j-tMmbl1rp.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Cled-2cR-CM49bGSJ.js → BankAccountWarningSection-Cled-2cR-tg2oPWKo.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js → BankConnectionsSettingsPage-Ccnzq7st-CMLccpCd.js} +1 -1
  27. package/dist/assets/{BillDetailPage-XXOwBfO1-BoigghjD.js → BillDetailPage-XXOwBfO1-pmj89kEW.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-D-JPXnec.js → BillPayApprovalRoutes-jn_lL90F.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js → BillPayApprovalRuleDetailPage-DFZ0csaT-CHegouqx.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js → BillPayApprovalRulesPage-COCypDcS-SP6Ap0C9.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js → BillPayPromoPage-DOE2YIqC-CSl5ivDV.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-CBS2uwsj.js → BillPayRoutes-BfiQplNH.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js → BillPaySetUpPage-BCJbZDsV-B9fZpm8c.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-iImtlEmO-B72lsLaH.js → BillingSettingsPage-iImtlEmO-DmAWEx2I.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js → BillsBulkReviewDrawerPage-B11GWM_0-DP9ahFss.js} +1 -1
  36. package/dist/assets/{BoxItem-Bxa1M4QU-DyrFdjN6.js → BoxItem-Bxa1M4QU-D0J-fial.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js → BusinessVerificationPage-DSuJFoW1-C6crvVuN.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-BQdQDNi4.js → BusinessVerificationPageScreen-D8j6xARh.js} +1 -1
  39. package/dist/assets/{BusyIndication-9zDqSKBP-C1ZL_6Kc.js → BusyIndication-9zDqSKBP-DqhiAN3R.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-_ZZbaz_k-DUqImiGz.js → CardNumberSubText-_ZZbaz_k-BMn-W8uM.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-DAZXitLt-p_ZAuWDR.js → CashbackDetailPage-DAZXitLt-Cmi7981u.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js → ChargeCardDetailPage-B1VIpASk-DInsIJ6C.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-BOBepN-x-Bsjhp0o3.js → ChargeCardListPage-BOBepN-x-BzpgnZCy.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-YznzSsJo-Ck1z18a-.js → ChargeCardListTable-YznzSsJo-B0GWNZXs.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js → ChargeCardPaymentHistoryPage--jOwsMla-CgdIDpQe.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-DIfakIOK-B-zay_30.js → ChargeCardPromoPage-DIfakIOK-CCv86SP9.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-CCifW-tf.js → ChargeCardRoutes-BwqGnQLD.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js → ChargeCardSetupPage-0bpVkeJs-BbuEfFpc.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js → ChargeCardStatementsPage-ChWyQlw6-C9k3sUIQ.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js → CheckDepositDrawerPage-BS7hnyZn-y7RoF_w4.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-DNfFkAts-Ba6KUje2.js → CollapsableReportTable-DNfFkAts-CRt1YpUw.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js → CompanyOfficerDetailsSection-CrOIN4IW-C0LHfmel.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-CkzYFTrp-C4EBgPsw.js → CompanyPassportCard-CkzYFTrp-B9eaudVD.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FE6yli6h-KGSkM9PK.js → CompanyPassportPage-FE6yli6h-BbMnwSzZ.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-zFkQa4Cq.js → CompanyPassportScreen-BlIC8nGb.js} +1 -1
  56. package/dist/assets/{CompleteProfile-Cb8i1XgZ-D3q04jkj.js → CompleteProfile-Cb8i1XgZ-Cq1OcO0w.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BZCXEGYA-C5d5kzSC.js → ConfettiBurst-BZCXEGYA-DIt5MHuh.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CM9g7u1v.js → ConnectionAuthScreen-DqTCtHql.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js → ConstrainedInnerElement-CgdnMeoA-CmmW5dI5.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js → CreateOrEditVendorPage-CzpSgxbO-CwPOTP7C.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js → CreditCardPaymentDrawerPage-c_q0MsSO-BoH_dAVB.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BAh7SHrG-D1tX6Pz9.js → CurrencySelectField-BAh7SHrG-DHtvgLMm.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js → CustomerOnboardingActivationPage-f3Aa6E5r-BsfYDK19.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BocH-qEp.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-CC6TjluW.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DY3UuBbK.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-LVeoEjZN.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-B5iac515.js → CustomerOnboardingPage-B9hSO88_-BGt-cTuK.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bij7UqzG.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-MHYW-e3t.js → CustomerOnboardingRoutes-nNFDxs8S.js} +1 -1
  71. package/dist/assets/{Dashboard-BJ_oIHab-B1azilYN.js → Dashboard-BJ_oIHab-CRQ768Be.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BemzMw2e-Ywi7e9T3.js → DashboardReportPage-BemzMw2e-0P8PqPMh.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C-92-XEq.js → DashboardRoutes-DALS4OZT.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-CHBp25QC.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-Bim9etFd.js → DefaultTenantHome-B6XdMr_T.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js → DepositAccTransactionItem-CyFi1P_L-PGx5WqpW.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js → DepositAccTransactionListPage-DvBRRUdZ-Dwe1k_P6.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-D0LT5YWt.js → DomesticWireDetailScreen-CQg3PAm2.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js → DomesticWireDetailsPage-DCDo3aHI-DFefoYqT.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-D_lL1sPW-1PQmVEsl.js → DownloadOverlay-D_lL1sPW-Gfwh-v3U.js} +1 -1
  81. package/dist/assets/{DrawerPage-DesxXhZk-CE9sM7_o.js → DrawerPage-DesxXhZk-CSZPOuXf.js} +1 -1
  82. package/dist/assets/{DrawerScreen-MxSrrJrd.js → DrawerScreen-DxcRwPPj.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-QvPy_Six-BwgKBjDc.js → EditPeoplePage-QvPy_Six-D0PpKsdn.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js → EditReimbursementDetailPage-C0ZDkboO-BtHqytZP.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-l7nXIsyF-CbwI2wUW.js → EntityDetailPage-l7nXIsyF-CkZoHf_c.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-BEygBdNc.js → EntityDetailRoutes-DHvWcVZM.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-BwX0a4JL-BZFiwIuR.js → EntitySummarySection-BwX0a4JL-CRyXtv36.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js → ExpenseAutomationOverviewPage-EdyHjbff-BYCQ61VZ.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js → ExpenseAutomationPage-DA22Qofw-ADD8htoH.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-ijMZF_ZU.js → ExpenseAutomationRoutes-Bwo3l6rr.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-EMP6inpX-CBzcRvxz.js → ExpressPayPage-EMP6inpX-r7Le1EQI.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js → FeaturePreviewPage-SYJm-3aR-5r57sKxN.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-BrgEnIPS.js → FeaturePreviewScreen-BvoMMHrR.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BxESVqJD-DBgSryEI.js → FollowStepsSection-BxESVqJD-Cfv_3OlA.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js → GlobalReviewListPage-D5_ACa-q-gYhP0BxG.js} +1 -1
  96. package/dist/assets/{InformationCardStack-B_qQUEYD-DWu9uCxP.js → InformationCardStack-B_qQUEYD-DMTeE12G.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-BsQzoVzj-Dm_xsmzm.js → InsightsCardStack-BsQzoVzj-zMuYmGM6.js} +1 -1
  98. package/dist/assets/{InsightsSection-B6CNlTNH-DV_5z3I5.js → InsightsSection-B6CNlTNH-D7yOc9HU.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js → IntegrationsSettingsPage-DP6fAccq-D8JbMPQ0.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js → InternationalWireSwiftDetailsPage-VdG7bDZi-TvC6kA2n.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js → InternationalWireVerificationPage-COC6lZml-rsBkb9CF.js} +1 -1
  102. package/dist/assets/{InviteFormPage-DN02jRy5-7Lvtg9Hr.js → InviteFormPage-DN02jRy5-KTg724iN.js} +1 -1
  103. package/dist/assets/{InvitePageListView-CP4K9tJi-bRNoOCRv.js → InvitePageListView-CP4K9tJi-DmCYYfRg.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-VTM6kM1u-DFLNYNR3.js → InvitePeoplePage-VTM6kM1u-BodcFn2j.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js → InvoiceUploadSection-it-ZYl1N-BjrsaM1_.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-CVfuvGey-BDkFfNQU.js → IssueChargeCardPage-CVfuvGey-lsM9dGu0.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-DDrQcHIE-BQQnm587.js → LabeledAddressValue-DDrQcHIE-BYXgDWpJ.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js → LabeledAddressValueField-BgWwd5Gw-CSQ6OzMg.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js → LabeledControlledCheckBoxField-CcPO1k23-oIbSTLkG.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js → LabeledCountryMultiSelectField-BYYjzwUG-D8p7V8TS.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js → LabeledCreatableSingleSelectField-CISYMojq-CKfZ7pr7.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-C_bcFxdY-CD1TCntt.js → LabeledDocumentField-C_bcFxdY-zFfcoFTP.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js → LabeledDropDownFormattedTextField-ScGGCap8-BHX-K7ZX.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js → LabeledEmailInputField-BppuWRbl-BIUNuM_Y.js} +1 -1
  115. package/dist/assets/{LabeledNameField-mxSNQk3k-BpAc_tNL.js → LabeledNameField-mxSNQk3k-Bx8pFTYv.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js → LabeledSingleSelectField-C6ctNzkA-BU3EiY7P.js} +1 -1
  117. package/dist/assets/{LabeledText-C8Y7EOsX-DCuEu6In.js → LabeledText-C8Y7EOsX-BXDU6dRq.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DTC8ETHe.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js → LabeledZeniRolesDropDownField-BZtreVpj-BS1LNuQ-.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js → LinkJETransactionPage-CKq4oiX9-C5HsoBZ0.js} +1 -1
  121. package/dist/assets/{LockCardPage-CZENNby7-DmtCNaPi.js → LockCardPage-CZENNby7-UOOrs2le.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-1727S1ri-DQfCP7-o.js → LowBalancePopup-1727S1ri-C-K-4vpK.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js → MagicLinkACHDetailsPage-BSOlSfNu-BttZvzmk.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js → MagicLinkDomesticWireDetailsPage-D1DTPo0E-DjY71wpL.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js → MagicLinkInternationalWireDetailsPage-D_wo_2nm-B7rdUdYO.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-DdHE5z12.js → MagicLinkRoutes-klGTo6_a.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BN_jDhip.js → MagicLinkSignInScreen-825ryF1-.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js → MagicLinkSuccessPage-QMkZgQLG-2reSvlIE.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js → MagicLinkTitleSection-CARU1oLQ-DySqrS1G.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-ByOPaJ05-Cq55yE-t.js → MailingDetailsSection-ByOPaJ05-yIzRcTOW.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-C3TNoouV.js → MobileAppDrawer-D5Za8CIX.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-BsBKwXvk-DLOnGEff.js → MoreMenuButton-BsBKwXvk-CRjBeOMP.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js → MyBankConnectionsSettingsPage-BdgIIhL1-D-_wplqQ.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js → MyPendingActivationChargeCardListPage-CX38bDdq--3q4r6TL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js → MyProfileSettingsPage-DYu0Fx6I-C4ZZ5mCO.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-CGGEvLwe-DGWn5q5A.js → NavBarWithPicker-CGGEvLwe-BBPd8y30.js} +1 -1
  137. package/dist/assets/{NavigationArrow-CTNkKUtV-LsyvHBca.js → NavigationArrow-CTNkKUtV-DI_bFVBn.js} +1 -1
  138. package/dist/assets/{NavigationDots-Dvce3gHt-H1P3hT7y.js → NavigationDots-Dvce3gHt-DAj81KV8.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js → NewGlobalMerchantPage-D_f7z47T-DteLGe2v.js} +1 -1
  140. package/dist/assets/{NoDataChart-CrKeqWSr-DJdc5MTN.js → NoDataChart-CrKeqWSr-CWCGqBcO.js} +1 -1
  141. package/dist/assets/{NoDataTable-4vPXmPYF-Do6t4z9R.js → NoDataTable-4vPXmPYF-DiiMylPx.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BLWPU1wU-CBPIYV57.js → NotFoundPage-BLWPU1wU-BwHUKWG1.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-CubXCR1V.js → NotFoundScreen-DGEyldIM.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-C2SuMmMM.js → NotificationRoutes-D5u_QeSd.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-DkD80zQf.js → NotificationSettingsPage-CDiDLX3A-B66Z4X7P.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js → NotificationsListConfig-B5pDa4cJ-CRzaaqx-.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Ccl7Dny1-B8jydSw6.js → NotificationsPage-Ccl7Dny1-OTEuBDNq.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-spd-nKV4-BIgnMj0p.js → OpExByVendorPage-spd-nKV4-DwYHrKLp.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-D8k0A9EC.js → OverlayContainerPage-BG9y5C0t-DZYRUTfb.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js → PandLWithForecastPage-TSoe4Z7F-C0lO0xOj.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-BVdwQZDt.js → PandLWithForecastRoutes-BJB7AcOB.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-D1q0wO5y.js} +1 -1
  153. package/dist/assets/{PeoplePage-b5_I0qOw-DAP0N6ei.js → PeoplePage-b5_I0qOw-IxFOpmXf.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-CAoitlRn.js → PeopleRoutes-CCkuJTXx.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-CC4-ZbOh.js → PerformanceRoutes-BP0EpHsY.js} +1 -1
  156. package/dist/assets/{Preview-B3lHkBD5.js → Preview-DA7xWqem.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-C3M0ocdF-CqFoMAuJ.js → ProductsCarousel-C3M0ocdF-SFIeVS9H.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BOGJI2ws-Bshwoahl.js → PromoBaseCards-BOGJI2ws-Bd5L3YzB.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js → QBOConnectionDialog-CmpnnuzP-XCWw1T7e.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-W61uspBL.js → QBOConnectionScreen-DyiJ4JcR.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DjnN9dgv-C5X6Mv_4.js → QBOSetupSection-DjnN9dgv-CGeaN3MF.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-CFqALHvq.js → ReferralListScreen-Bkzznsdb.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes--NBUuqoq.js → ReimbursementApprovalRoutes-D73sxTZT.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-RTXhOFXX.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js → ReimbursementApprovalRuleDetailScreen-C9KvQwlb.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js → ReimbursementApprovalRulesPage-BsCTIqUJ-y9iIyVcM.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js → ReimbursementDetailPage-BbyxE2uL-CjU2ZRW2.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js → ReimbursementPromoPage-CyEgwqcf-BiXwmlKl.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-B7ZhMTn_.js → ReimbursementRoutes-CorhAVOU.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js → ReimbursementSetUpPage-RETPkEQd-n4-kRF3Y.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-CN381Qoq.js} +1 -1
  172. package/dist/assets/{ReloadCard-Bdoo0XiI-DQ7zH5_b.js → ReloadCard-Bdoo0XiI-BNm210MB.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js → ReportTableViewSelector-Bc1K7mU_-Cy1BUrpx.js} +1 -1
  174. package/dist/assets/{ReportsPage-BOTHMLWh-DQAZC3St.js → ReportsPage-BOTHMLWh-D_-dXEBY.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DCqEshJz.js → ReportsRoutes-D_LkjKwz.js} +1 -1
  176. package/dist/assets/{RevenueChart-DvyZ3aO7-B4HMUW1f.js → RevenueChart-DvyZ3aO7-BjoJQRxN.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js → ReviewDetailsPage-BIMg1n2e-CE9WaiK4.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-CxwoiOLC-BQk8pdfC.js → ReviewOverlay-CxwoiOLC-B6NT77pC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-CSIVaJxq.js → RewardsRoutes-ButYppoj.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js → RoleWithToolTip-Ct3_VuDM-DkEEDwR-.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-DBiyLnZa.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js → ScheduleDetailsPage-5FWpLRtd-DgH3FQ8n.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js → ScheduleSequenceTable-R3-PsXES-KZ9zYu75.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-DIrZFSvZ.js → ScreenRoutes-EzM6Ydd3.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CctbMmoK-B53PK3Go.js → SetUpAccountSection-CctbMmoK-DwjJ4BtJ.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-D3PUQXPp.js → SettingsRoutes-lh5vJ2OM.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-KqbTYQgM.js → SetupPagesScreen-CukmySbN.js} +1 -1
  188. package/dist/assets/{SignIn-CmgmnRm4-CYN0bjHA.js → SignIn-CmgmnRm4-DeaLljBV.js} +1 -1
  189. package/dist/assets/{SignInScreen-BDFrycHi.js → SignInScreen-DjoZN01f.js} +1 -1
  190. package/dist/assets/{SignOutScreen-CGJ8k7ri.js → SignOutScreen-CFmU8CDy.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js → SpendManagementListViewPage-CFUxCqkU-DMTuDWWy.js} +3 -3
  192. package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js → SpendManagementPerTabPage-C-kqNTci-DiLv13YG.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-CIz4nE_w-BnkkQIXw.js → SpendManagementSection-CIz4nE_w-jXzilgM5.js} +1 -1
  194. package/dist/assets/{StatementItem-vVtoBN2w-Dv2jVRGi.js → StatementItem-vVtoBN2w-DVgkdNDz.js} +1 -1
  195. package/dist/assets/{StatementsPage-As5WOnMR-xJO4oteU.js → StatementsPage-As5WOnMR-BfTMWiRj.js} +1 -1
  196. package/dist/assets/{StatusSwitcher-Bv-ozN6U-aFxpsrjy.js → StatusSwitcher-Bv-ozN6U-CgcpvjW-.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D7QeM6nb-bmup9lZe.js → SubTabSwitcher-D7QeM6nb-BELJXk0-.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-hijccO_0-BgS0j6Ks.js → SuccessAnimation-hijccO_0-UZ7dm-9w.js} +1 -1
  199. package/dist/assets/{SummaryCard-C2qoTsAY-DD3uQEFW.js → SummaryCard-C2qoTsAY-Dz9k02Eh.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-QMk4DTDK-D5dNR6rN.js → TaskDetailPage-QMk4DTDK-Cs17FA2j.js} +1 -1
  201. package/dist/assets/{TaskListScreen-BN0d0a63.js → TaskListScreen-CkfRpdj8.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BJwp32Ph-YNf3iBQj.js → TaskManagementPage-BJwp32Ph-CAO7CWbo.js} +1 -1
  203. package/dist/assets/{TaskRoutes-DEMuiHnC.js → TaskRoutes-CcB-Q1zz.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js → TimeRangeSwitcher-D00bDDhP-b1dqxIeB.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-DA99HdHt-CKTTRDRO.js → TimeframeSwitcher-DA99HdHt-C3Ujx8M-.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js → TimeframeSwitcherWithToggle-DyggDIQj-B_YzsezY.js} +1 -1
  207. package/dist/assets/{TopExCard-Z1WabZ8c-DRsgDR4x.js → TopExCard-Z1WabZ8c-zJcPxoJa.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-CzHG4f9E-BM9NWMt3.js → TopExDetailPage-CzHG4f9E-CZKu_hb8.js} +1 -1
  209. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js → TransactionActivityLogPage-CGKnjNfU-iVhAyVkn.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js → TransactionDetailPage-1-mLOWSz-ie5urORO.js} +1 -1
  211. package/dist/assets/{TransactionDetailRoutes-BCnSElc9.js → TransactionDetailRoutes-C5jgxPON.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DkbX0oG8.js → TransactionDetailScreen-DvcKecE2.js} +1 -1
  213. package/dist/assets/{TransactionList-BB-xoIGm-BeosfrmM.js → TransactionList-BB-xoIGm-YJbrjnEY.js} +1 -1
  214. package/dist/assets/{TransactionListBig-C5Sf5Xh--B6eKIFdx.js → TransactionListBig-C5Sf5Xh--CRJPqIxU.js} +1 -1
  215. package/dist/assets/{TransactionListPage-Cj7h1Ros-SOf7w-b8.js → TransactionListPage-Cj7h1Ros-BAS0ZQP4.js} +1 -1
  216. package/dist/assets/{TransactionListRoutes-AdVZSKN8.js → TransactionListRoutes-DBB1bltM.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js → TransactionVendorDetailPage-SsrSOk3O-BzjiNCrH.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js → TransferDrawerPage-BvKZ7vHF-CUzOXKi1.js} +1 -1
  219. package/dist/assets/{TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js → TreasuryOverviewPage-DwvjMR4_-C5WtCTwF.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js → TreasuryPromoPage-CtTFvSQW-CyA0L_cp.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-CZR8Qztx.js → TreasuryRoutes-B7tar3cp.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-Catz8shX-gsqiZvC2.js → TreasuryStatementsPage-Catz8shX-DvEtKvI_.js} +1 -1
  223. package/dist/assets/{TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js → TreasuryTaxLetterPage-D8hzCL5o-CohSb0PE.js} +1 -1
  224. package/dist/assets/{TrendChart-Bnp4Pcdf-DAHDBSRg.js → TrendChart-Bnp4Pcdf-DCChqqGN.js} +1 -1
  225. package/dist/assets/{TrendWithTransactions-3D1FvM8G-D5DfweO8.js → TrendWithTransactions-3D1FvM8G-D7Q5CpQR.js} +1 -1
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js → UncategorizedAccountsMappingPage-DbyY-dYB-CgK9m6hH.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-CTzme1te-CKwPezqe.js → UnitIntegrationPage-CTzme1te-BCEDVEN2.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BODbkPHU.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-D0zYKkIv-BYJemD3t.js → Vendor2FAPopup-D0zYKkIv-DyWWDryQ.js} +1 -1
  230. package/dist/assets/{VendorACHDetailsPage-YYX9aQdw-CXB0C692.js → VendorACHDetailsPage-YYX9aQdw-DQuZG9gT.js} +1 -1
  231. package/dist/assets/{VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js → VendorDetailPage-Br9wIOnI-DP6KP6Ut.js} +1 -1
  232. package/dist/assets/{VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js → VendorDomesticWireDetailsPage-BpPgQRHI-B-GCojoe.js} +1 -1
  233. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js → VendorFiling1099EditablePage-himC7iD3-ClxIgwRL.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js → VendorFirstReviewPage-BbknTCBD-RovDaIDG.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js → VendorInternationalWireDetailsPage-CS595Xgc-ERuJR75i.js} +1 -1
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js → VendorInternationalWireSwiftDetailsPage-yhTjWXvw-fCMVA3J1.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-BJswZIIA.js → VendorsAccountsSection-CgSJu8wq-BQS4fhZH.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-05ainu55.js → VendorsRoutes-DcygMIZA.js} +1 -1
  239. package/dist/assets/{VerifyDevice-Dvf0JsNN-BxFzBfzQ.js → VerifyDevice-Dvf0JsNN-CB8BcwMO.js} +1 -1
  240. package/dist/assets/{VideoPlayer-VAzOGCDL-C6P1MPmA.js → VideoPlayer-VAzOGCDL-wDuMRrNt.js} +1 -1
  241. package/dist/assets/{VideoPopup-BqvZ-XIh-tpbto8Y7.js → VideoPopup-BqvZ-XIh-CcupyBnf.js} +1 -1
  242. package/dist/assets/{WiseConfirmationScreen-D-O-AEQg.js → WiseConfirmationScreen-vXn0bv1e.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js → ZeniAccountDetailPage-GcwTJdB8-BH1p5Exo.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js → ZeniAccountListViewPage-CdwO0Duy-chh0GNPr.js} +1 -1
  245. package/dist/assets/{ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js → ZeniAccountNavBarPieces-BrSIfL36-C8M5a-Xl.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js → ZeniAccountPromoPage-JrcedQYB-C9OxetFj.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-C1DKaJoc.js → ZeniAccountRoutes-BzEN8rYp.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js → ZeniAccountSetupPage-TKBfbgzJ-SmuqHJrQ.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-mRCX19Ut.js → ZeniAccountStatementScreen-DNnNKmyq.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Bzhq25CU-B22YVvLm.js → ZeniAvatar-Bzhq25CU-BxvzIJer.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-DglqrTpl-DIGaFEv0.js → ZeniCopyright-DglqrTpl-CP7BZGoe.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-BHXPxPnI-vwmLROHK.js → ZeniDatePicker-BHXPxPnI-BI0pX8OM.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js → ZeniTransferAmountSlider-BcaZZuAw-u6ZS6yfX.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-GPi0oD1D.js → accountMappingHelper-BjmwXnMU.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-0ekd9-Ri.js → add-to-wallet-DgdBD8_G-XHgsfW1I.js} +1 -1
  256. package/dist/assets/{analytics-B2Q_uKwH.js → analytics-BmL_Mqn9.js} +1 -1
  257. package/dist/assets/{analyticsHelper-eqJrrWmY.js → analyticsHelper-BtjSH59c.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CAYdbjhS-TiCqBFHc.js → analyticsHelper-CAYdbjhS-BnnKI2y0.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-DvoAU7mY.js → arrow-south-east-round-PEovUgvH-BdWzIcGx.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-VBx9t_qo.js → auto-transfer-rule-mbafm5D3-BAdtTROp.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-ZI3JCtk7.js → avatar-Dz7aEm3d-MxMPiump.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-Dws2Kxmd.js → bank-letter-BOcVjN6J-rIPdgfrX.js} +1 -1
  263. package/dist/assets/{calculateSize-B2w5JPEU-BiAuCFz-.js → calculateSize-B2w5JPEU-B2193rmC.js} +1 -1
  264. package/dist/assets/{chartTypes-CD3vrBsI-D1eLb6aA.js → chartTypes-CD3vrBsI-FkvIOOpd.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CwvCI5hq.js → clock-CJkylEKt-ERYnohhO.js} +1 -1
  266. package/dist/assets/{common-BpxEACHl-D-qMuYEn.js → common-BpxEACHl-C27avmxt.js} +1 -1
  267. package/dist/assets/{commonDimensions-Oz1tdAcx-6qsjkus3.js → commonDimensions-Oz1tdAcx-CfFEyvRP.js} +1 -1
  268. package/dist/assets/{commonTypes-5tEXwrX4-0afSAZ02.js → commonTypes-5tEXwrX4-vaDEJyz_.js} +1 -1
  269. package/dist/assets/{core-D9P6lLF-.js → core-DuAc0oH1.js} +1 -1
  270. package/dist/assets/{dash.all.min-CrF9T_sg.js → dash.all.min-BzamULic.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-BA7ebd4J.js → decodeURIComponentSafe-BqKl1gNh.js} +1 -1
  272. package/dist/assets/{dnd-nSkfhkrX.js → dnd-C4MpAW48.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-DJ7jjz8a.js → dollar-round-D18u7nlm-BE7BByQ1.js} +1 -1
  274. package/dist/assets/{downloadPdf-Dsuxeias-DgqgIEmy.js → downloadPdf-Dsuxeias-Cexusisr.js} +1 -1
  275. package/dist/assets/{empty-DqDGRwQI.js → empty-C78V83Pd.js} +1 -1
  276. package/dist/assets/{empty-BM1tlym1.js → empty-YHOSZjbJ.js} +1 -1
  277. package/dist/assets/{epic-C-GRNY0z.js → epic-CXPZHXyZ.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CnTMsRoA.js → filter-cZIFUNvj-COBOGQ-F.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-D_kHTEKc.js → getLocaleForTenant-BvZsYiJJ.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CmbTqYsU.js → gift-box-Cmt9OgIZ-BjYV9BWl.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-qX4MU25I.js → graphic-no-data-l-DU4J8fDt-B33QXo27.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js → graphic-no-data-net-burn-l-CzmycA0m-lURz_iBc.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-Dy9hpFzO.js → handshake-BPg58FML-PXK0cnyp.js} +1 -1
  284. package/dist/assets/{helper-Ckm10Uko-Cft993Iq.js → helper-Ckm10Uko-Cc4naTj-.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-ClAJPTpW.js → hyperlink-DQyCeXx2-Cu6UNYTo.js} +1 -1
  286. package/dist/assets/{index-CAltUZe8.js → index-BBHMk1WY.js} +6 -6
  287. package/dist/assets/{index-BoyH9PC5.js → index-Bi4ZzIhY.js} +1 -1
  288. package/dist/assets/{index-BHx-AV13.js → index-BpucRcXX.js} +1 -1
  289. package/dist/assets/{index-C6CSTWn-.js → index-Cb3Lx8nN.js} +1 -1
  290. package/dist/assets/{index-BGoNZK9J.js → index-Dcgkc5Uw.js} +1 -1
  291. package/dist/assets/{index-D3FWjv6R.js → index-GCvrHOxC.js} +1 -1
  292. package/dist/assets/{lexical-Ct6cBwR8.js → lexical-C-PBbg8f.js} +1 -1
  293. package/dist/assets/{liveblocks-DxIK6Zp5.js → liveblocks-Bpp30XUG.js} +1 -1
  294. package/dist/assets/{lottie-BEhoArVd.js → lottie-gxzZnsHo.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js → mapLoadingInProgressToTreeNode-jcHEi-mv-Byx1Srtx.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CH-BVZKz.js} +1 -1
  297. package/dist/assets/{mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js → mapSpacerToTreeNode-XgUp1xUb-CzikBZEb.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-BCdK4cAS.js} +1 -1
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js → mapTimeframeBalancesToTreeNode-DOyCX6ij-Df6749Xj.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-D1Xb-9er.js} +1 -1
  301. package/dist/assets/{media-player-CsDObYZE.js → media-player-CWWFLNbp.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-CTFLBPxC.js → money-2cg1MuG4-DWYsTA72.js} +1 -1
  303. package/dist/assets/{mui-CMSRVFAm.js → mui-dGxW217w.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-D71KSTNS.js → page-detail-CWX5S47F-BWn2WsT0.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-C0Gmkrf2.js → page-summary-D7_VQHwN-4LeFKTgY.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-CzLNMPbQ.js → panelSelectedMixin-Cddsb26L-C9S2YMFT.js} +1 -1
  307. package/dist/assets/{pathToGoBack-Blub25Cp.js → pathToGoBack-DwmMyQdy.js} +1 -1
  308. package/dist/assets/{pdf-Be2WBqYM.js → pdf-DjWcNDdq.js} +3 -3
  309. package/dist/assets/{pdf-lib-CnVZquuu.js → pdf-lib-CB_AtnKr.js} +1 -1
  310. package/dist/assets/{plaid-BfI3x5Cu.js → plaid-LGb0iu_7.js} +1 -1
  311. package/dist/assets/{pusher-B6_CsVbZ.js → pusher-loHOXAjv.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-B-boFyAl.js → radio-default-CiSgisfh-DhEizgYr.js} +1 -1
  313. package/dist/assets/{react-C8t61nFI.js → react-B5CCxyo8.js} +1 -1
  314. package/dist/assets/{react-BHFS79hd.js → react-BFrkFTnv.js} +1 -1
  315. package/dist/assets/{react-DoqYYGGT.js → react-CIp0Yw0U.js} +1 -1
  316. package/dist/assets/{react-Df07f_EQ.js → react-DlnoroXE.js} +1 -1
  317. package/dist/assets/{react-C0Y1QuQQ.js → react-DonvuThB.js} +1 -1
  318. package/dist/assets/{react-BU_9CVSX.js → react-Dvfu-jiD.js} +3 -3
  319. package/dist/assets/{react-D-1D0x0x.js → react-NMWrA8Xh.js} +1 -1
  320. package/dist/assets/{react-BpE8-YB1.js → react-zRFF7aUz.js} +1 -1
  321. package/dist/assets/{recharts-gT6BOz1b.js → recharts-CNVQrnca.js} +1 -1
  322. package/dist/assets/{routePaths-C2kSZwVH.js → routePaths-D4MJQpeF.js} +1 -1
  323. package/dist/assets/{sentry-DQeYyYXx.js → sentry-BHW-o2_3.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-CtwAmezy.js → shield-DOlUxcFf-CmaA04GF.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-DgU5KXwN.js → spend-limit-D6SyboD4-MYaa6js9.js} +1 -1
  326. package/dist/assets/{toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js → toCOABalancesWithID-aLNB35t7-hl6knpCK.js} +1 -1
  327. package/dist/assets/{toChartData-DUL6vnzJ-Dwc3foiO.js → toChartData-DUL6vnzJ-Bfkqesey.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-EsW3Q-dq.js → transaction-placeholder-CpOwZAMG-BxMvgbSM.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-vDqRNZiv.js → undo-b_3XZ5CX-zHeOXoYp.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-DrFYUkdQ.js → unlock-BPWn2I5L-CM_x1_IF.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js → upload-reimbursement-receipt-O2N8vcO7-CsOkkjaO.js} +1 -1
  332. package/dist/assets/{uploadAttachment-Ck4wivBR-es3sSFtr.js → uploadAttachment-Ck4wivBR-Cq4Hbbxz.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-IBEc_jc1.js → uploadReceipts-CIgkuVpu-BsH_IJrm.js} +1 -1
  334. package/dist/assets/{url-Doy-Mf6X.js → url-9ygz9Slk.js} +1 -1
  335. package/dist/assets/{url-DabKyEXg.js → url-B9FYGPSg.js} +1 -1
  336. package/dist/assets/{useDeviceId-Dx8RlRsA.js → useDeviceId-DejDIbww.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-Bxf1X7cu.js → useInitialThreadRequest-B7i_KMco.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-CW7ST8rN.js → useLongPress-GCK2COYQ-BldzqPkV.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-Crs-gA1B.js → usp-line-BBd1wKwW-bSCjhzHC.js} +1 -1
  340. package/dist/assets/{utils-BAO5KfNy.js → utils-BAYl7YTg.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-FcH3ZlAj.js → withTransactionSidePanel-uSCjZtP0.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CHpO1ZKT.js → zeni-epic-state-DhC3A3VG.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-4nFle2Fz.js → zeni-icon-only-qq9leULW.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +1 -1
  346. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +0 -1
  347. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +0 -1
@@ -1 +1 @@
1
- import{j as l}from"./pdf-Be2WBqYM.js";import{a as g}from"./sentry-DQeYyYXx.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-D9P6lLF-.js";import{y as E,js as C,jQ as P,k_ as F,bk as V,jz as A,J as L,ki as b,k$ as U,kv as _,ev as B,jO as M}from"./index-CAltUZe8.js";import{ct as N,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as D,iX as q,i_ as W}from"./zeni-epic-state-CHpO1ZKT.js";import"./mui-CMSRVFAm.js";import{c as ee}from"./routePaths-C2kSZwVH.js";import{M as te}from"./MobileAppDrawer-C3TNoouV.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a",n._sentryDebugIdIdentifier="sentry-dbid-cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a")}catch{}})();const ne=j(function(n){const s=z(n),r=C.getSignedInUser(),p=N(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?D(c):void 0,meetingLink:m!=""&&m!=null?D(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>N(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
1
+ import{j as l}from"./pdf-DjWcNDdq.js";import{a as g}from"./sentry-BHW-o2_3.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-DuAc0oH1.js";import{y as E,js as C,jQ as P,k_ as F,bk as V,jz as A,J as L,ki as b,k$ as U,kv as _,ev as B,jO as M}from"./index-BBHMk1WY.js";import{ct as N,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as D,iX as q,i_ as W}from"./zeni-epic-state-DhC3A3VG.js";import"./mui-dGxW217w.js";import{c as ee}from"./routePaths-D4MJQpeF.js";import{M as te}from"./MobileAppDrawer-D5Za8CIX.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a",n._sentryDebugIdIdentifier="sentry-dbid-cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a")}catch{}})();const ne=j(function(n){const s=z(n),r=C.getSignedInUser(),p=N(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?D(c):void 0,meetingLink:m!=""&&m!=null?D(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>N(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
@@ -1,4 +1,4 @@
1
- import{T as P,gf as O,O as G,V as g,gg as j,E as n,l as H,A as N,cd as q,ci as v,o as E,gh as J,ch as V,a9 as $,c2 as _,bx as W,gi as T}from"./index-CAltUZe8.js";import{a as B,b as c}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{bs as Z}from"./zeni-epic-state-CHpO1ZKT.js";import{Z as z}from"./LabeledNameField-mxSNQk3k-BpAc_tNL.js";import{$ as X}from"./LabeledAddressValue-DDrQcHIE-BQQnm587.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="840c8b2b-c638-4174-98de-1a82a0589be8",A._sentryDebugIdIdentifier="sentry-dbid-840c8b2b-c638-4174-98de-1a82a0589be8")}catch{}})();const AA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:k})=>{const[I,a]=B.useState(!1),[f,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:b,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(z,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(X,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:f,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:b,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&k(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
1
+ import{T as P,gf as O,O as G,V as g,gg as j,E as n,l as H,A as N,cd as q,ci as v,o as E,gh as J,ch as V,a9 as $,c2 as _,bx as W,gi as T}from"./index-BBHMk1WY.js";import{a as B,b as c}from"./sentry-BHW-o2_3.js";import{n as o}from"./mui-dGxW217w.js";import{bs as Z}from"./zeni-epic-state-DhC3A3VG.js";import{Z as z}from"./LabeledNameField-mxSNQk3k-Bx8pFTYv.js";import{$ as X}from"./LabeledAddressValue-DDrQcHIE-BYXgDWpJ.js";import"./pdf-DjWcNDdq.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="840c8b2b-c638-4174-98de-1a82a0589be8",A._sentryDebugIdIdentifier="sentry-dbid-840c8b2b-c638-4174-98de-1a82a0589be8")}catch{}})();const AA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:k})=>{const[I,a]=B.useState(!1),[f,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:b,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(z,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(X,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:f,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:b,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&k(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{cx as a,z as f,V as d,ap as l,o as r}from"./index-CAltUZe8.js";import{a as n}from"./sentry-DQeYyYXx.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="d15d4434-d032-478d-9e53-2fe60deee7d5",e._sentryDebugIdIdentifier="sentry-dbid-d15d4434-d032-478d-9e53-2fe60deee7d5")}catch{}})();const z=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=a("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",e),[p]=f("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),d.jsx(d.Fragment,{children:t&&s&&p!=null?d.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:r.sp0,left:r.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:p,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{z as default};
1
+ import{cx as a,z as f,V as d,ap as l,o as r}from"./index-BBHMk1WY.js";import{a as n}from"./sentry-BHW-o2_3.js";import"./pdf-DjWcNDdq.js";import"./zeni-epic-state-DhC3A3VG.js";import"./core-DuAc0oH1.js";import"./mui-dGxW217w.js";import"./recharts-CNVQrnca.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.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]="d15d4434-d032-478d-9e53-2fe60deee7d5",e._sentryDebugIdIdentifier="sentry-dbid-d15d4434-d032-478d-9e53-2fe60deee7d5")}catch{}})();const z=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=a("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",e),[p]=f("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),d.jsx(d.Fragment,{children:t&&s&&p!=null?d.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:r.sp0,left:r.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:p,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{z as default};
@@ -1,4 +1,4 @@
1
- import{j as I}from"./pdf-Be2WBqYM.js";import{a}from"./sentry-DQeYyYXx.js";import{i as x,u as c,N as S}from"./core-D9P6lLF-.js";import{H7 as y,ct as N,d0 as T,jC as D,ds as h,c$ as j,cu as v,Hh as w}from"./zeni-epic-state-CHpO1ZKT.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-CAltUZe8.js";import{n as _}from"./mui-CMSRVFAm.js";import{t as H}from"./getLocaleForTenant-D_kHTEKc.js";import{Q as F}from"./QBOConnectionScreen-W61uspBL.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./empty-BM1tlym1.js";import"./pdf-lib-CnVZquuu.js";import"./index-BoyH9PC5.js";import"./url-Doy-Mf6X.js";import"./index-BGoNZK9J.js";import"./decodeURIComponentSafe-BA7ebd4J.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="874cc0a1-81b7-4c02-a61b-43c62defb135",t._sentryDebugIdIdentifier="sentry-dbid-874cc0a1-81b7-4c02-a61b-43c62defb135")}catch{}})();const $=_.div`
1
+ import{j as I}from"./pdf-DjWcNDdq.js";import{a}from"./sentry-BHW-o2_3.js";import{i as x,u as c,N as S}from"./core-DuAc0oH1.js";import{H7 as y,ct as N,d0 as T,jC as D,ds as h,c$ as j,cu as v,Hh as w}from"./zeni-epic-state-DhC3A3VG.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-BBHMk1WY.js";import{n as _}from"./mui-dGxW217w.js";import{t as H}from"./getLocaleForTenant-BvZsYiJJ.js";import{Q as F}from"./QBOConnectionScreen-DyiJ4JcR.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./empty-YHOSZjbJ.js";import"./pdf-lib-CB_AtnKr.js";import"./index-Bi4ZzIhY.js";import"./url-9ygz9Slk.js";import"./index-Dcgkc5Uw.js";import"./decodeURIComponentSafe-BqKl1gNh.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="874cc0a1-81b7-4c02-a61b-43c62defb135",t._sentryDebugIdIdentifier="sentry-dbid-874cc0a1-81b7-4c02-a61b-43c62defb135")}catch{}})();const $=_.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{V as d}from"./index-CAltUZe8.js";import{a as i}from"./sentry-DQeYyYXx.js";import{n}from"./mui-CMSRVFAm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
1
+ import{V as d}from"./index-BBHMk1WY.js";import{a as i}from"./sentry-BHW-o2_3.js";import{n}from"./mui-dGxW217w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
2
2
  width: auto;
3
3
  max-width: var(--side-panel-list-width, 100%);
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-CAltUZe8.js";import{a as g}from"./sentry-DQeYyYXx.js";import{n as r}from"./mui-CMSRVFAm.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(et,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
1
+ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-BBHMk1WY.js";import{a as g}from"./sentry-BHW-o2_3.js";import{n as r}from"./mui-dGxW217w.js";import"./pdf-DjWcNDdq.js";import"./zeni-epic-state-DhC3A3VG.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.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]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(et,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bo as ra,eO as Oe,d as Z,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bx as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bv as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-CAltUZe8.js";import{n as i}from"./mui-CMSRVFAm.js";import{a as p}from"./sentry-DQeYyYXx.js";import{u as Ia}from"./plaid-BfI3x5Cu.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-CHpO1ZKT.js";import{x as Pa}from"./LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./utils-BAO5KfNy.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]="ecc3ed25-da47-4ff0-8e22-3a54286700a6",e._sentryDebugIdIdentifier="sentry-dbid-ecc3ed25-da47-4ff0-8e22-3a54286700a6")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},he={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Ga,{children:t.jsxs(Ya,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
1
+ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bo as ra,eO as Oe,d as Z,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bx as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bv as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-BBHMk1WY.js";import{n as i}from"./mui-dGxW217w.js";import{a as p}from"./sentry-BHW-o2_3.js";import{u as Ia}from"./plaid-LGb0iu_7.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-DhC3A3VG.js";import{x as Pa}from"./LabeledControlledCheckBoxField-CcPO1k23-oIbSTLkG.js";import"./pdf-DjWcNDdq.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./utils-BAYl7YTg.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]="ecc3ed25-da47-4ff0-8e22-3a54286700a6",e._sentryDebugIdIdentifier="sentry-dbid-ecc3ed25-da47-4ff0-8e22-3a54286700a6")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},he={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Ga,{children:t.jsxs(Ya,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -1,4 +1,4 @@
1
- import{cc as M,y as N,dX as P,O as _,V as l,e4 as H,b3 as L,o,cM as z,b as x,bV as B,b4 as g,l as A,w,ey as T,ez as X,eA as q,C as G,b2 as J,a8 as K,f as m}from"./index-CAltUZe8.js";import{a as S}from"./sentry-DQeYyYXx.js";import{n}from"./mui-CMSRVFAm.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]="dad3b012-6129-47dc-834d-4fbc0a7a3761",e._sentryDebugIdIdentifier="sentry-dbid-dad3b012-6129-47dc-834d-4fbc0a7a3761")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=S.useState(!1),k=P(f,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(s!=null&&s)return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:U,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:W},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},U=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},W=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},Y=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Z=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(A)`
1
+ import{cc as M,y as N,dX as P,O as _,V as l,e4 as H,b3 as L,o,cM as z,b as x,bV as B,b4 as g,l as A,w,ey as T,ez as X,eA as q,C as G,b2 as J,a8 as K,f as m}from"./index-BBHMk1WY.js";import{a as S}from"./sentry-BHW-o2_3.js";import{n}from"./mui-dGxW217w.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]="dad3b012-6129-47dc-834d-4fbc0a7a3761",e._sentryDebugIdIdentifier="sentry-dbid-dad3b012-6129-47dc-834d-4fbc0a7a3761")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=S.useState(!1),k=P(f,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(s!=null&&s)return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:U,Input:Z,SingleValue:ee,ValueContainer:Y,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:W},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},U=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},W=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},Y=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Z=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(A)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&T(e)===!1)return l.jsx(l.Fragment,{});{const t=X[`${q(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as f,V as i,O as c,a7 as l,b as p,L as g,o,r as h,c2 as x,n as m}from"./index-CAltUZe8.js";import{a as b}from"./sentry-DQeYyYXx.js";import{n as t}from"./mui-CMSRVFAm.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="b764bfce-eec9-4469-927e-ef1788fb9d05",e._sentryDebugIdIdentifier="sentry-dbid-b764bfce-eec9-4469-927e-ef1788fb9d05")}catch{}})();const u=t.div`
1
+ import{e as f,V as i,O as c,a7 as l,b as p,L as g,o,r as h,c2 as x,n as m}from"./index-BBHMk1WY.js";import{a as b}from"./sentry-BHW-o2_3.js";import{n as t}from"./mui-dGxW217w.js";import"./pdf-DjWcNDdq.js";import"./zeni-epic-state-DhC3A3VG.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.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]="b764bfce-eec9-4469-927e-ef1788fb9d05",e._sentryDebugIdIdentifier="sentry-dbid-b764bfce-eec9-4469-927e-ef1788fb9d05")}catch{}})();const u=t.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as i}from"./pdf-DjWcNDdq.js";import{js as n}from"./index-BBHMk1WY.js";import{g as m}from"./QBOConnectionScreen-DyiJ4JcR.js";import"./sentry-BHW-o2_3.js";import{h as p,N as s}from"./core-DuAc0oH1.js";import"./zeni-epic-state-DhC3A3VG.js";import"./mui-dGxW217w.js";import"./recharts-CNVQrnca.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./empty-YHOSZjbJ.js";import"./pdf-lib-CB_AtnKr.js";import"./index-Bi4ZzIhY.js";import"./url-9ygz9Slk.js";import"./index-Dcgkc5Uw.js";import"./decodeURIComponentSafe-BqKl1gNh.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac95620-f74d-498f-94d1-f3c260499359",t._sentryDebugIdIdentifier="sentry-dbid-7ac95620-f74d-498f-94d1-f3c260499359")}catch{}})();const S=()=>{const t=p(),{code:o,realmId:r,state:e}=m(t.search),d=n.getSignedInUser()?.userId??"";if(f(o,r,e,d)===!0){const a=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return i.jsx(s,{to:a})}return i.jsx(s,{to:"../../"})},f=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{S as default,f as hasValidParams};
@@ -0,0 +1 @@
1
+ import{V as r}from"./index-BBHMk1WY.js";import i from"./CustomerOnboardingNoStepsPage-Bh_F0-oC-LVeoEjZN.js";import p from"./CustomerOnboardingPage-B9hSO88_-BGt-cTuK.js";import"./sentry-BHW-o2_3.js";import"./pdf-DjWcNDdq.js";import"./zeni-epic-state-DhC3A3VG.js";import"./core-DuAc0oH1.js";import"./mui-dGxW217w.js";import"./recharts-CNVQrnca.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-D1q0wO5y.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-5tEXwrX4-vaDEJyz_.js";import"./SetUpAccountSection-CctbMmoK-DwjJ4BtJ.js";import"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DY3UuBbK.js";import"./CompanyOfficerDetailsSection-CrOIN4IW-C0LHfmel.js";import"./helper-Ckm10Uko-Cc4naTj-.js";import"./LabeledAddressValueField-BgWwd5Gw-CSQ6OzMg.js";import"./LabeledCountryMultiSelectField-BYYjzwUG-D8p7V8TS.js";import"./LabeledCreatableSingleSelectField-CISYMojq-CKfZ7pr7.js";import"./LabeledDocumentField-C_bcFxdY-zFfcoFTP.js";import"./LabeledNameField-mxSNQk3k-Bx8pFTYv.js";import"./avatar-Dz7aEm3d-MxMPiump.js";import"./QBOSetupSection-DjnN9dgv-CGeaN3MF.js";import"./QBOConnectionDialog-CmpnnuzP-XCWw1T7e.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="70705d69-ecf1-46bd-b87a-36b3988a1bd3",t._sentryDebugIdIdentifier="sentry-dbid-70705d69-ecf1-46bd-b87a-36b3988a1bd3")}catch{}})();const B=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(i,{...t}):r.jsx(p,{...t});export{B as default};
@@ -1,4 +1,4 @@
1
- import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O as E,f as u,er as N,hc as R,fh as L,t as P,H as U,hd as O}from"./index-CAltUZe8.js";import{n as r}from"./mui-CMSRVFAm.js";import{b as S}from"./sentry-DQeYyYXx.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]="727666d9-656d-42dd-840d-60108b6c76ba",e._sentryDebugIdIdentifier="sentry-dbid-727666d9-656d-42dd-840d-60108b6c76ba")}catch{}})();const W=r(O)`
1
+ import{y as x,e as H,V as s,bg as b,o as t,m as z,x as f,b as y,aL as I,r as T,O as E,f as u,er as N,hc as R,fh as L,t as P,H as U,hd as O}from"./index-BBHMk1WY.js";import{n as r}from"./mui-dGxW217w.js";import{b as S}from"./sentry-BHW-o2_3.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]="727666d9-656d-42dd-840d-60108b6c76ba",e._sentryDebugIdIdentifier="sentry-dbid-727666d9-656d-42dd-840d-60108b6c76ba")}catch{}})();const W=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,_=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as Pe,a7 as be,c8 as we,a_ as xe,o as a,b as ke,A as Ie,a9 as Ae,aL as ve,ha as $e,O as Oe,eu as Ve,ev as je,r as Te,x as Y,l as Le,m as $}from"./index-CAltUZe8.js";import{n as l}from"./mui-CMSRVFAm.js";import{a as O}from"./sentry-DQeYyYXx.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-5tEXwrX4-0afSAZ02.js";import"./SetUpAccountSection-CctbMmoK-B53PK3Go.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="3a4ac17e-52a5-45b8-9e3a-1c55073ee537",e._sentryDebugIdIdentifier="sentry-dbid-3a4ac17e-52a5-45b8-9e3a-1c55073ee537")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",X={titleWidth:new Y(343,580,726,826),subTitlePaddingTop:new Y($[3],$[3]),subTitlePaddingBottom:new Y($[3],$[3])},Ee=e=>`${e}_form`,Ue=Oe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:j,googleAPIKey:T,signedInUser:w,currentTenant:L,onUpdateStep:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleAddCardPaymentSource:E,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:k,onUpdateCustomerView:F,...K})=>{const m=fe(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:G,onEstablishConnectionClick:P,onEstablishConnectionSuccess:Z,handleLogOutClick:H,onZeniLogoClick:q,onAddressEditHandler:I}=K,J=Ce(),o=Pe({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:ce,saveStatus:g,paymentAccount:A,paymentAccountStatus:le,plaidConnectionDetails:te,uiState:ue,allNationalityCountries:ne,subscriptionBillingAddress:y}=e,{customerOnboardingPage:pe,common:h}=Ue,{footer:me,steps:ge}=pe,{buttons:Q}=me,ae=ge.link_payment_account,v=be(g.fetchState),ie=Object.values(ce).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ie<0?1:ie+1}`;O.useEffect(()=>{const d=o.watch((c,{name:i})=>{i!=null&&c!=null&&we(()=>(async(r,s)=>{if(r.includes(t)&&s[t]!=null){const S=o.getValues(`${t}`).country;let f=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:b}=s[t].street,W=Ve(b?.country);f={street:s[t].street??h.strings.empty,city:b?.locality??h.strings.empty,state:b?.administrativeAreaLevel1??h.strings.empty,country:W,countryCode:b?.countryCode??h.strings.empty,postalCode:b?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},S.selectedOption!==W.selectedOption&&(f={...f,country:W})}else(r===`${t}.country`&&S.selectedOption!=null||S.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(f={...f,countryCode:je(S.selectedOption)});I(f)}})(i,c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,v,g.fetchState,ne]);const oe=()=>{const d=Object.values(te).some(s=>s.fetchStatus.fetchState==="Completed"),c=A?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&c||!c&&!A&&i||!i&&!A&&r};O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,v,g.fetchState,ne,k]);const[se,he]=O.useState(!1);return n.jsxs(Fe,{children:[n.jsxs(Ke,{windowSize:m,children:[n.jsx(xe,{title:ae.sectionTitle,showBackButton:!1,backgroundColor:J.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:a.sp0,paddingBottom:a.sp0},leftSideComponent:n.jsx(Ge,{children:n.jsx(Ze,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:q})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(He,{windowSize:m,children:ae.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:le,plaidConnectionDetails:te,subscriptionBillingAddressSectionId:t,sectionId:ee,analytics:C,isValid:oe(),onFetchLinkTokenClick:R,onEstablishConnectionClick:P,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:G,onEstablishConnectionSuccess:Z,updateCardPaymentModalState:x,cardPaymentView:p,resetCardPaymentViewState:U,cardSetupInProgress:se,googleAPIKey:T,subscriptionBillingAddress:y})]},"link_payment_account")})}),n.jsx(Ae,{formId:`${re}`,leftSideComponent:n.jsx(Ne,{windowSize:m,children:n.jsx(ve,{signedInUser:w,currentTenant:L,onLogOutClick:H})}),style:{width:m==="small"?"auto":"100%",padding:a.sp0,rowGap:a.sp1},helperContainerStyle:{width:"100%",rowGap:a.sp1,marginTop:"12px",marginBottom:a.sp2},primaryBtn:{onClick:async()=>{const d=await o.trigger(t),c=await o.trigger(ee);d&&c&&((()=>{const i=o.getValues(t),r={street:i.street.addressString,suite:i.suite,city:i.city,state:i.state,postalCode:i.postalCode,country:i.country.selectedOption??h.strings.empty,secondaryInfo:i.secondaryInfo};C.trackOnboardingBillingAddressSave(r)})(),_("link_payment_account"),F(ye,!1,!0))},label:Q.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(function(){if(o.getFieldState(t).error)return!1;const d=o.getValues(t),c=y?.street.join("").trim(),i=y?.city,r=y?.state,s=y?.country,S=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(c&&i&&r&&s&&S)}()&&oe())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Q.submitText.replace("__action__",Q.submit),helperStyle:{width:"auto",padding:a.sp0,rowGap:a.sp0,textAlign:"center"}})]}),n.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:j,isCardPaymentOpen:ue.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:se,setCardSetupInProgress:he})]})},Fe=l.div`
1
+ import{h as de,V as n,f0 as Se,e as fe,y as Ce,T as Pe,a7 as be,c8 as we,a_ as xe,o as a,b as ke,A as Ie,a9 as Ae,aL as ve,ha as $e,O as Oe,eu as Ve,ev as je,r as Te,x as Y,l as Le,m as $}from"./index-BBHMk1WY.js";import{n as l}from"./mui-dGxW217w.js";import{a as O}from"./sentry-BHW-o2_3.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-D1q0wO5y.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DY3UuBbK.js";import"./pdf-DjWcNDdq.js";import"./zeni-epic-state-DhC3A3VG.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-5tEXwrX4-vaDEJyz_.js";import"./SetUpAccountSection-CctbMmoK-DwjJ4BtJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="3a4ac17e-52a5-45b8-9e3a-1c55073ee537",e._sentryDebugIdIdentifier="sentry-dbid-3a4ac17e-52a5-45b8-9e3a-1c55073ee537")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",X={titleWidth:new Y(343,580,726,826),subTitlePaddingTop:new Y($[3],$[3]),subTitlePaddingBottom:new Y($[3],$[3])},Ee=e=>`${e}_form`,Ue=Oe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:j,googleAPIKey:T,signedInUser:w,currentTenant:L,onUpdateStep:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleAddCardPaymentSource:E,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:k,onUpdateCustomerView:F,...K})=>{const m=fe(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:G,onEstablishConnectionClick:P,onEstablishConnectionSuccess:Z,handleLogOutClick:H,onZeniLogoClick:q,onAddressEditHandler:I}=K,J=Ce(),o=Pe({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:ce,saveStatus:g,paymentAccount:A,paymentAccountStatus:le,plaidConnectionDetails:te,uiState:ue,allNationalityCountries:ne,subscriptionBillingAddress:y}=e,{customerOnboardingPage:pe,common:h}=Ue,{footer:me,steps:ge}=pe,{buttons:Q}=me,ae=ge.link_payment_account,v=be(g.fetchState),ie=Object.values(ce).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ie<0?1:ie+1}`;O.useEffect(()=>{const d=o.watch((c,{name:i})=>{i!=null&&c!=null&&we(()=>(async(r,s)=>{if(r.includes(t)&&s[t]!=null){const S=o.getValues(`${t}`).country;let f=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:b}=s[t].street,W=Ve(b?.country);f={street:s[t].street??h.strings.empty,city:b?.locality??h.strings.empty,state:b?.administrativeAreaLevel1??h.strings.empty,country:W,countryCode:b?.countryCode??h.strings.empty,postalCode:b?.postalCode??h.strings.empty,secondaryInfo:s[t].secondaryInfo,suite:s[t].suite},S.selectedOption!==W.selectedOption&&(f={...f,country:W})}else(r===`${t}.country`&&S.selectedOption!=null||S.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(f={...f,countryCode:je(S.selectedOption)});I(f)}})(i,c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&o.reset(V(e),{keepDirtyValues:!1})},[o,e,v,g.fetchState,ne]);const oe=()=>{const d=Object.values(te).some(s=>s.fetchStatus.fetchState==="Completed"),c=A?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&c||!c&&!A&&i||!i&&!A&&r};O.useEffect(()=>{v==="In-Progress"&&g.fetchState==="Completed"&&(o.reset(V(e),{keepDirtyValues:!1}),k())},[o,e,v,g.fetchState,ne,k]);const[se,he]=O.useState(!1);return n.jsxs(Fe,{children:[n.jsxs(Ke,{windowSize:m,children:[n.jsx(xe,{title:ae.sectionTitle,showBackButton:!1,backgroundColor:J.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:a.sp0,paddingBottom:a.sp0},leftSideComponent:n.jsx(Ge,{children:n.jsx(Ze,{"data-testid":ke("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:q})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(He,{windowSize:m,children:ae.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:le,plaidConnectionDetails:te,subscriptionBillingAddressSectionId:t,sectionId:ee,analytics:C,isValid:oe(),onFetchLinkTokenClick:R,onEstablishConnectionClick:P,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:G,onEstablishConnectionSuccess:Z,updateCardPaymentModalState:x,cardPaymentView:p,resetCardPaymentViewState:U,cardSetupInProgress:se,googleAPIKey:T,subscriptionBillingAddress:y})]},"link_payment_account")})}),n.jsx(Ae,{formId:`${re}`,leftSideComponent:n.jsx(Ne,{windowSize:m,children:n.jsx(ve,{signedInUser:w,currentTenant:L,onLogOutClick:H})}),style:{width:m==="small"?"auto":"100%",padding:a.sp0,rowGap:a.sp1},helperContainerStyle:{width:"100%",rowGap:a.sp1,marginTop:"12px",marginBottom:a.sp2},primaryBtn:{onClick:async()=>{const d=await o.trigger(t),c=await o.trigger(ee);d&&c&&((()=>{const i=o.getValues(t),r={street:i.street.addressString,suite:i.suite,city:i.city,state:i.state,postalCode:i.postalCode,country:i.country.selectedOption??h.strings.empty,secondaryInfo:i.secondaryInfo};C.trackOnboardingBillingAddressSave(r)})(),_("link_payment_account"),F(ye,!1,!0))},label:Q.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(function(){if(o.getFieldState(t).error)return!1;const d=o.getValues(t),c=y?.street.join("").trim(),i=y?.city,r=y?.state,s=y?.country,S=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(c&&i&&r&&s&&S)}()&&oe())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Q.submitText.replace("__action__",Q.submit),helperStyle:{width:"auto",padding:a.sp0,rowGap:a.sp0,textAlign:"center"}})]}),n.jsx(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:x,handleCreateCardSetupIntent:z,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:j,isCardPaymentOpen:ue.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:se,setCardSetupInProgress:he})]})},Fe=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-CAltUZe8.js";import{a as m}from"./sentry-DQeYyYXx.js";import{n as x,k as xt}from"./mui-CMSRVFAm.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-CHpO1ZKT.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js";import{t as mn}from"./QBOSetupSection-DjnN9dgv-C5X6Mv_4.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-5tEXwrX4-0afSAZ02.js";import"./SetUpAccountSection-CctbMmoK-B53PK3Go.js";import"./helper-Ckm10Uko-Cft993Iq.js";import"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js";import"./LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js";import"./LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js";import"./LabeledDocumentField-C_bcFxdY-CD1TCntt.js";import"./LabeledNameField-mxSNQk3k-BpAc_tNL.js";import"./avatar-Dz7aEm3d-ZI3JCtk7.js";import"./QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="1242df8c-759c-4c20-bcc0-543fda310934",a._sentryDebugIdIdentifier="sentry-dbid-1242df8c-759c-4c20-bcc0-543fda310934")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=d,V=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
1
+ import{V as l,f0 as Qt,e as Ye,y as Wt,T as Yt,c8 as ye,a7 as Me,J as ft,S as Qe,a_ as Gt,o as ce,A as Zt,m as Y,a9 as Jt,ha as Xt,fC as en,f1 as gt,eu as Ot,O as Ge,ev as tn,x as fe,fF as ge,cc as nn,l as an,hb as ht,W as St,ck as on,fE as sn}from"./index-BBHMk1WY.js";import{a as m}from"./sentry-BHW-o2_3.js";import{n as x,k as xt}from"./mui-dGxW217w.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-DhC3A3VG.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-D1q0wO5y.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DY3UuBbK.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-CrOIN4IW-C0LHfmel.js";import{t as mn}from"./QBOSetupSection-DjnN9dgv-CGeaN3MF.js";import"./pdf-DjWcNDdq.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-5tEXwrX4-vaDEJyz_.js";import"./SetUpAccountSection-CctbMmoK-DwjJ4BtJ.js";import"./helper-Ckm10Uko-Cc4naTj-.js";import"./LabeledAddressValueField-BgWwd5Gw-CSQ6OzMg.js";import"./LabeledCountryMultiSelectField-BYYjzwUG-D8p7V8TS.js";import"./LabeledCreatableSingleSelectField-CISYMojq-CKfZ7pr7.js";import"./LabeledDocumentField-C_bcFxdY-zFfcoFTP.js";import"./LabeledNameField-mxSNQk3k-Bx8pFTYv.js";import"./avatar-Dz7aEm3d-MxMPiump.js";import"./QBOConnectionDialog-CmpnnuzP-XCWw1T7e.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new a.Error().stack;C&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[C]="1242df8c-759c-4c20-bcc0-543fda310934",a._sentryDebugIdIdentifier="sentry-dbid-1242df8c-759c-4c20-bcc0-543fda310934")}catch{}})();const yn=({companyView:a,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:w,onPhoneVerified:h,...k})=>{const f=Ye(),T=a?.companyOfficers.slice(0,10).sort((I,te)=>I.user.createTime?.isAfter(te.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:d}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=d,V=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:V,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:w,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...k})})},fn=x.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-CAltUZe8.js";import{a as n}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{Gk as q}from"./zeni-epic-state-CHpO1ZKT.js";import K from"./ConfettiBurst-BZCXEGYA-C5d5kzSC.js";import{T as Q}from"./ProductsCarousel-C3M0ocdF-CqFoMAuJ.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="84fc9b4e-ef90-462c-ad15-427d358e5d83",i._sentryDebugIdIdentifier="sentry-dbid-84fc9b4e-ef90-462c-ad15-427d358e5d83")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;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]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.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(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{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(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),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(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
1
+ import{e as _,h as B,_ as F,y as I,V as e,a_ as U,o as t,b as k,aL as M,f0 as W,O as A,l as V,r as H,f as l,w as b,u as N,n as R,c2 as J,D as Z,aj as G}from"./index-BBHMk1WY.js";import{a as n}from"./sentry-BHW-o2_3.js";import{n as o}from"./mui-dGxW217w.js";import{Gk as q}from"./zeni-epic-state-DhC3A3VG.js";import K from"./ConfettiBurst-BZCXEGYA-DIt5MHuh.js";import{T as Q}from"./ProductsCarousel-C3M0ocdF-SFIeVS9H.js";import"./pdf-DjWcNDdq.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.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]="84fc9b4e-ef90-462c-ad15-427d358e5d83",i._sentryDebugIdIdentifier="sentry-dbid-84fc9b4e-ef90-462c-ad15-427d358e5d83")}catch{}})();const X=A.getLocalizedStrings(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),f=B().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,O=I(),{customerOnboardingPage:c}=X,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:D}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=D;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]};return e.jsxs(e.Fragment,{children:[e.jsx(Y,{children:e.jsxs(ee,{windowSize:d,children:[e.jsx(te,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.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(xe,{children:e.jsx(fe,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ye,{"data-testid":k("update-to-payment-address-details"),onClick:()=>(s=>{if(v(),!s)return;let r="";r=i?"bank_account":"credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))})(a),children:[e.jsx(we,{}),e.jsx(ke,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{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(re,{children:[e.jsxs(C,{children:[e.jsx(ne,{children:e.jsx(se,{})}),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(ae,{children:e.jsx(le,{children:c.productSuite.sectionTitle})}),e.jsx(de,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(ce,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(pe,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(he,{className:"discover-class"})]})]}),e.jsx(ge,{children:e.jsxs(ue,{children:[e.jsx(me,{windowSize:d,children:e.jsx(M,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},Y=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as a}from"./pdf-Be2WBqYM.js";import{t as $e,A as Ce}from"./AddressScreen-BL1pptQ5.js";import ze from"./NotFoundScreen-CubXCR1V.js";import{a as g}from"./sentry-DQeYyYXx.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-D9P6lLF-.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bk as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-CAltUZe8.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-CHpO1ZKT.js";import{n as ye}from"./mui-CMSRVFAm.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-W61uspBL.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./empty-BM1tlym1.js";import"./pdf-lib-CnVZquuu.js";import"./index-BoyH9PC5.js";import"./url-Doy-Mf6X.js";import"./index-BGoNZK9J.js";import"./decodeURIComponentSafe-BA7ebd4J.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="769e9de8-ee45-4754-a0ed-2384ecaa384d",t._sentryDebugIdIdentifier="sentry-dbid-769e9de8-ee45-4754-a0ed-2384ecaa384d")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
1
+ import{j as a}from"./pdf-DjWcNDdq.js";import{t as $e,A as Ce}from"./AddressScreen-q6X2LJkq.js";import ze from"./NotFoundScreen-DGEyldIM.js";import{a as g}from"./sentry-BHW-o2_3.js";import{j as oe,h as se,i as ie,l as re,u as P,N as E,k as ce,g as Qe,R as Me,m as Q}from"./core-DuAc0oH1.js";import{N as de,_ as le,js as B,aE as ue,y as qe,aG as _,jO as V,bk as J,jz as N,jQ as we,J as X,ks as Ke,e as Ze,a7 as Ie,jD as te,kt as He,ku as ke,o as Je,kv as We,ev as Ee,kw as Xe}from"./index-BBHMk1WY.js";import{bm as Ye,ct as ee,cV as et,cA as pe,cy as me,bt as tt,jA as at,cQ as nt,G7 as ot,gp as ae,gs as ve,Hi as st,F3 as it,bE as ge,oR as he,oC as rt,I0 as Y,oS as _e,Dv as ct,hr as Ue,I1 as Ve,I2 as dt,I3 as lt,I4 as ut,gn as pt,gq as mt,oE as Be,oQ as gt,bG as Te,bJ as ht,p2 as xe,mK as yt,my as ft,hj as St,dj as bt,di as Ct,dh as It,I5 as kt,ow as Et,p3 as Tt,p6 as xt,p9 as Ot,pf as At,Gk as Dt}from"./zeni-epic-state-DhC3A3VG.js";import{n as ye}from"./mui-dGxW217w.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-DyiJ4JcR.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./empty-YHOSZjbJ.js";import"./pdf-lib-CB_AtnKr.js";import"./index-Bi4ZzIhY.js";import"./url-9ygz9Slk.js";import"./index-Dcgkc5Uw.js";import"./decodeURIComponentSafe-BqKl1gNh.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="769e9de8-ee45-4754-a0ed-2384ecaa384d",t._sentryDebugIdIdentifier="sentry-dbid-769e9de8-ee45-4754-a0ed-2384ecaa384d")}catch{}})();const jt=ce(function(t,o){const s=[];o.isApAgingFeatureEnabled===!1&&s.push("accounts_payable_aging"),o.isArAgingFeatureEnabled===!1&&s.push("accounts_receivable_aging"),o.shouldFetchZeniAccountsPromoCard===!1&&s.push("zeni_accounts_promo_card"),o.shouldFetchRewardsPlanCard===!1&&s.push("rewards_card"),o.isExpenseAutomationEnabledForUser===!1&&s.push("expense_automation_card");const u=nt(t,s,o.signedInUser,o.isExpenseAutomationFeatureEnabledV2,o.isExpenseAutomationEnabledForUser,o.isTreasuryEnabled);return{dashboardFetchState:ot(u.reportsInOrder.map(d=>({fetchState:d.fetchState,error:d.error}))).fetchState}},function(t,o){const{themeState:s,navigate:u,location:d}=o;return{onZeniLogoClick:()=>{s.toggle()},onDashboardFetchDone:()=>{const r=V(d.state?.pathnameStackToGoBack,d.pathname);u("../../dashboard",{state:{pathnameStackToGoBack:r,message:"activation"}})}}})(Ke),wt=()=>{const t=oe(),o=se(),s=ie(),u=de(),[d,r]=g.useState(!1),[p,S]=g.useState(!1),{tenantEmailDomain:e}=re(),n=le(),i=B.getSignedInUser(),h=Ye(i),{useFeatureGate:m}=ue(),k=qe(),{isFeatureEnabled:T}=m(_.isApAgingFeatureEnabled),{isFeatureEnabled:x}=m(_.isArAgingFeatureEnabled),{isFeatureEnabled:I}=m(_.isDepositAccountsFeatureEnabled),{isFeatureEnabled:y}=m(_.isReferralFeatureEnabled),{isFeatureEnabled:U}=m(_.isExpenseAutomationEnabled),{isFeatureEnabled:C}=m(_.isExpenseAutomationEnabledV2),{isFeatureEnabled:F}=m(_.isDebitCardFeatureEnabled),$=C||U&&h,c=P(l=>ee(l)),{isFeatureEnabled:G}=m(_.isTreasuryEnabled),j=c.company!=null&&et(c.company),L=G&&j,O=P(l=>l.onboardingCustomerViewState.fetchState),b=c.excludedResources,R=c.companyId??B.getSignedInUserTenant(e)?.companyId;if(i==null)throw Error("Can't access onboarding flow without signing in...");const w=pe(F,c),A=me(c),D=[],K=b?.resources?.find(l=>l.resource==="/reports/top_expenses")==null,z=b?.resources?.find(l=>l.resource==="/reports/task_card")==null,M=c?.userRole!=null&&tt(c?.userRole),v=b?.resources?.find(l=>l.resource==="/bills")==null&&!M,q=b?.resources?.find(l=>l.resource==="/reimbursements")==null;if(K===!1&&D.push("top_expenses"),z===!1&&D.push("task_card"),v===!1&&D.push("bill_pay_card","bill_pay_promo_card"),q===!1&&D.push("reimbursement_card","reimbursement_promo_card"),I===!1&&D.push("zeni_accounts_promo_card"),y===!1&&D.push("rewards_card"),g.useEffect(()=>{O!=="Completed"||d||w||A||(r(!0),s(at(i.userId,R,c.tenantId,!0,!1,D)))},[d,O,w,A,i,c.tenantId,s]),g.useEffect(()=>{(w||A)&&setTimeout(()=>{S(!0)},5e3)},[w,A]),O!=="Completed")return a.jsx(E,{to:"../"});if(O==="Completed"&&p){const l=V(o.state?.pathnameStackToGoBack,o.pathname);if(w)return a.jsx(E,{to:"../../checking",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}});if(A)return a.jsx(E,{to:"../../cards",state:{...o.state,pathnameStackToGoBack:l,message:"activation"}})}return n?.loggedInUserRoleMap!=null?a.jsxs(a.Fragment,{children:[a.jsx(J,{analytics:N,onLoad:l=>(Z=>Z.trackPageLoaded(X.Event.onboardingDashboardActivation))(l)}),a.jsx(jt,{navigate:t,location:o,themeState:u,signedInUser:i,isApAgingFeatureEnabled:T,isArAgingFeatureEnabled:x,shouldFetchZeniAccountsPromoCard:I,shouldFetchRewardsPlanCard:y,isExpenseAutomationEnabledForUser:$,isExpenseAutomationFeatureEnabledV2:C,isTreasuryEnabled:L,loggedInUserRoleMap:n?.loggedInUserRoleMap})]}):a.jsx(we,{fetchState:"In-Progress",style:{backgroundColor:k.colors.grey5}})},Oe=ye.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  background-color: ${t=>t.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-CAltUZe8.js";import{a as t,b as f}from"./sentry-DQeYyYXx.js";import{n as g,d as xr,c as kA,k as b}from"./mui-CMSRVFAm.js";import{L as wr}from"./lottie-BEhoArVd.js";import{bt as fr,bs as _e,F4 as At}from"./zeni-epic-state-CHpO1ZKT.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js";import{L as Dr,k as yr}from"./ArAgingChart-CBsqOd-4-Be7GSB8o.js";import{E as jr,T as de,I as et}from"./ReloadCard-Bdoo0XiI-DQ7zH5_b.js";import{L as vr,O as YA,c as cA}from"./TopExCard-Z1WabZ8c-DRsgDR4x.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-DvyZ3aO7-B4HMUW1f.js";import Lr from"./InsightsCardStack-BsQzoVzj-Dm_xsmzm.js";import{a as Jr}from"./AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js";import{c as eA}from"./SummaryCard-C2qoTsAY-DD3uQEFW.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-DvoAU7mY.js";import{N as CA}from"./NavigationArrow-CTNkKUtV-LsyvHBca.js";import{x as _A}from"./NavigationDots-Dvce3gHt-H1P3hT7y.js";import Or from"./CompanyPassportCard-CkzYFTrp-C4EBgPsw.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-CmbTqYsU.js";import Hr from"./InformationCardStack-B_qQUEYD-DWu9uCxP.js";import{p as tt}from"./chartTypes-CD3vrBsI-D1eLb6aA.js";import{h as Yr}from"./toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js";import{V as Kr}from"./toChartData-DUL6vnzJ-Dwc3foiO.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js";import{N as Gr,J as Wr}from"./PromoBaseCards-BOGJI2ws-Bshwoahl.js";import{r as qr}from"./core-D9P6lLF-.js";import{N as Xr,I as Vr}from"./VideoPlayer-VAzOGCDL-C6P1MPmA.js";import Zr from"./ConfettiBurst-BZCXEGYA-C5d5kzSC.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-gT6BOz1b.js";import"./pdf-Be2WBqYM.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./graphic-no-data-l-DU4J8fDt-qX4MU25I.js";import"./media-player-CsDObYZE.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="1bc79965-b864-429b-a1a8-6ecc04b9c326",A._sentryDebugIdIdentifier="sentry-dbid-1bc79965-b864-429b-a1a8-6ecc04b9c326")}catch{}})();const ro=g(rA)`
1
+ import{z as OA,e as AA,_ as se,V as e,K as Ut,O as Q,B as Ot,F as Tt,o as r,G as Ht,I as Yt,J as UA,f as x,P as Kt,Q as Nt,S as zt,U as Ee,X as Gt,Y as Wt,Z as qt,a0 as Xt,a1 as Vt,a2 as Zt,a3 as P,a4 as G,a5 as K,a6 as _,b as k,T as $t,a7 as Ye,a8 as Ke,A as _t,a9 as Ar,x as tA,aa as W,ab as rA,H as oA,ac as Ne,ad as J,ae as U,af as XA,k as er,y as sA,ag as tr,ah as rr,ai as or,aj as ar,C as R,ak as TA,m as v,D as VA,l as HA,al as ze,am as Ge,an as We,ao as ir,ap as ZA,d as gr,M as nr,aq as Cr,ar as qe,as as sr,at as dr,au as $A,av as Er,aw as Br,ax as lr,ay as Qr,L as Xe,w as Ir,az as cr,aA as hr,aB as Ve,aC as Ze,j as pr,aD as mr,u as ur,t as $e}from"./index-BBHMk1WY.js";import{a as t,b as f}from"./sentry-BHW-o2_3.js";import{n as g,d as xr,c as kA,k as b}from"./mui-dGxW217w.js";import{L as wr}from"./lottie-gxzZnsHo.js";import{bt as fr,bs as _e,F4 as At}from"./zeni-epic-state-DhC3A3VG.js";import{v as kr}from"./DashboardSidebarBackgroundAnimation-BtA5oEGG-CHBp25QC.js";import{L as Dr,k as yr}from"./ArAgingChart-CBsqOd-4-CyjYWAFr.js";import{E as jr,T as de,I as et}from"./ReloadCard-Bdoo0XiI-BNm210MB.js";import{L as vr,O as YA,c as cA}from"./TopExCard-Z1WabZ8c-zJcPxoJa.js";import{Y as br,X as Mr,H as Sr,P as Rr,G as Fr}from"./RevenueChart-DvyZ3aO7-BjoJQRxN.js";import Lr from"./InsightsCardStack-BsQzoVzj-zMuYmGM6.js";import{a as Jr}from"./AccountsPromoCardStack-Bs3naJHM-DYMmkkcK.js";import{c as eA}from"./SummaryCard-C2qoTsAY-Dz9k02Eh.js";import{t as Pr,o as Ur}from"./arrow-south-east-round-PEovUgvH-BdWzIcGx.js";import{N as CA}from"./NavigationArrow-CTNkKUtV-DI_bFVBn.js";import{x as _A}from"./NavigationDots-Dvce3gHt-DAj81KV8.js";import Or from"./CompanyPassportCard-CkzYFTrp-B9eaudVD.js";import{C as Tr}from"./gift-box-Cmt9OgIZ-BjYV9BWl.js";import Hr from"./InformationCardStack-B_qQUEYD-DMTeE12G.js";import{p as tt}from"./chartTypes-CD3vrBsI-FkvIOOpd.js";import{h as Yr}from"./toCOABalancesWithID-aLNB35t7-hl6knpCK.js";import{V as Kr}from"./toChartData-DUL6vnzJ-Bfkqesey.js";import{r as Nr,i as zr}from"./graphic-no-data-net-burn-l-CzmycA0m-lURz_iBc.js";import{N as Gr,J as Wr}from"./PromoBaseCards-BOGJI2ws-Bd5L3YzB.js";import{r as qr}from"./core-DuAc0oH1.js";import{N as Xr,I as Vr}from"./VideoPlayer-VAzOGCDL-wDuMRrNt.js";import Zr from"./ConfettiBurst-BZCXEGYA-DIt5MHuh.js";import{N as $r,O as _r,Y as Ao,X as eo,Q as to}from"./recharts-CNVQrnca.js";import"./pdf-DjWcNDdq.js";import"./liveblocks-Bpp30XUG.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./graphic-no-data-l-DU4J8fDt-B33QXo27.js";import"./media-player-CWWFLNbp.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="1bc79965-b864-429b-a1a8-6ecc04b9c326",A._sentryDebugIdIdentifier="sentry-dbid-1bc79965-b864-429b-a1a8-6ecc04b9c326")}catch{}})();const ro=g(rA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Be=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as I,y as Z,O as y,_ as Pe,V as a,a_ as Xe,L as Ke,J as Qe,a$ as et,o as i,x as D,S as K,b0 as tt,b1 as st,C as ae,m as L,an as at,ad as ot,a8 as Le,a as Ne,f as M,D as Ie,ac as nt,au as it,j as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,t as gt,H as ht,b6 as mt,b7 as ut}from"./index-CAltUZe8.js";import{a as k,b as ee}from"./sentry-DQeYyYXx.js";import{n as p,k as Re}from"./mui-CMSRVFAm.js";import{bt as ft,F6 as bt,F3 as xt,F7 as _t,F8 as wt,F9 as yt,Fa as St,Fb as vt,Fc as jt,Fd as Ct,Fe as kt}from"./zeni-epic-state-CHpO1ZKT.js";import{m as G,l as se}from"./analyticsHelper-CAYdbjhS-TiCqBFHc.js";import{x as $t,b as Ot}from"./ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js";import{F as Bt}from"./InsightsSection-B6CNlTNH-DV_5z3I5.js";import{H as te}from"./BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js";import{y as Pt,$ as Lt,v as Nt,M as xe,b as fe}from"./TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js";import{G as It,P as Rt,Y as _e,X as we,H as ye}from"./RevenueChart-DvyZ3aO7-B4HMUW1f.js";import{C as Tt}from"./NoDataChart-CrKeqWSr-DJdc5MTN.js";import{n as F}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{T as Te}from"./TimeframeSwitcher-DA99HdHt-CKTTRDRO.js";import{n as Dt,t as W,j as zt,h as me,D as At}from"./CollapsableReportTable-DNfFkAts-Ba6KUje2.js";import{S as Ft,M as Mt,g as Et,C as J,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js";import{d as Vt}from"./NoDataTable-4vPXmPYF-Do6t4z9R.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js";import{d as re}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./filter-cZIFUNvj-CnTMsRoA.js";import"./NavigationDots-Dvce3gHt-H1P3hT7y.js";import"./chartTypes-CD3vrBsI-D1eLb6aA.js";import"./toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js";import"./toChartData-DUL6vnzJ-Dwc3foiO.js";import"./AccountRow-D1cjRJJD--D2oyMqA.js";import"./clock-CJkylEKt-CwvCI5hq.js";import"./graphic-no-data-l-DU4J8fDt-qX4MU25I.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0e8c50ff-7c91-4fbd-bb21-eb0e31c0f946",e._sentryDebugIdIdentifier="sentry-dbid-0e8c50ff-7c91-4fbd-bb21-eb0e31c0f946")}catch{}})();const Wt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.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"}),k.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"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.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"}),k.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"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.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"})),Ht=p.div`
1
+ import{e as I,y as Z,O as y,_ as Pe,V as a,a_ as Xe,L as Ke,J as Qe,a$ as et,o as i,x as D,S as K,b0 as tt,b1 as st,C as ae,m as L,an as at,ad as ot,a8 as Le,a as Ne,f as M,D as Ie,ac as nt,au as it,j as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,t as gt,H as ht,b6 as mt,b7 as ut}from"./index-BBHMk1WY.js";import{a as k,b as ee}from"./sentry-BHW-o2_3.js";import{n as p,k as Re}from"./mui-dGxW217w.js";import{bt as ft,F6 as bt,F3 as xt,F7 as _t,F8 as wt,F9 as yt,Fa as St,Fb as vt,Fc as jt,Fd as Ct,Fe as kt}from"./zeni-epic-state-DhC3A3VG.js";import{m as G,l as se}from"./analyticsHelper-CAYdbjhS-BnnKI2y0.js";import{x as $t,b as Ot}from"./ReportTableViewSelector-Bc1K7mU_-Cy1BUrpx.js";import{F as Bt}from"./InsightsSection-B6CNlTNH-D7yOc9HU.js";import{H as te}from"./BalancesInsightWithToolTip-B6umvmgL-Cv06ZgJU.js";import{y as Pt,$ as Lt,v as Nt,M as xe,b as fe}from"./TimeRangeSwitcher-D00bDDhP-b1dqxIeB.js";import{G as It,P as Rt,Y as _e,X as we,H as ye}from"./RevenueChart-DvyZ3aO7-BjoJQRxN.js";import{C as Tt}from"./NoDataChart-CrKeqWSr-CWCGqBcO.js";import{n as F}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{T as Te}from"./TimeframeSwitcher-DA99HdHt-C3Ujx8M-.js";import{n as Dt,t as W,j as zt,h as me,D as At}from"./CollapsableReportTable-DNfFkAts-CRt1YpUw.js";import{S as Ft,M as Mt,g as Et,C as J,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CH-BVZKz.js";import{d as Vt}from"./NoDataTable-4vPXmPYF-DiiMylPx.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-D1Xb-9er.js";import{d as re}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-Byx1Srtx.js";import"./pdf-DjWcNDdq.js";import"./core-DuAc0oH1.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./filter-cZIFUNvj-COBOGQ-F.js";import"./NavigationDots-Dvce3gHt-DAj81KV8.js";import"./chartTypes-CD3vrBsI-FkvIOOpd.js";import"./toCOABalancesWithID-aLNB35t7-hl6knpCK.js";import"./toChartData-DUL6vnzJ-Bfkqesey.js";import"./AccountRow-D1cjRJJD-C8PUWTdF.js";import"./clock-CJkylEKt-ERYnohhO.js";import"./graphic-no-data-l-DU4J8fDt-B33QXo27.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0e8c50ff-7c91-4fbd-bb21-eb0e31c0f946",e._sentryDebugIdIdentifier="sentry-dbid-0e8c50ff-7c91-4fbd-bb21-eb0e31c0f946")}catch{}})();const Wt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.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"}),k.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"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.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"}),k.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"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.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"})),Ht=p.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as l}from"./pdf-Be2WBqYM.js";import{l as V,u as k,h as K,i as Y,j as z,k as $,R as Ze,m as T}from"./core-D9P6lLF-.js";import{ct as P,Il as De,bG as Mt,bs as de,Jy as Na,ff as Ka,Jz as It,JA as za,fi as He,JB as xe,JC as $a,fn as Ja,JD as wt,JE as qa,fr as Qe,JF as Ee,JG as Za,F5 as et,JH as Ha,JI as Qa,IF as Xa,gj as Wa,JJ as en,bm as _e,JK as Lt,I9 as Q,bc as Ut,gx as Yt,jK as Gt,gg as Vt,Ib as X,Ia as N,JL as tn,JM as an,JN as Nt,JO as pe,qD as Ce,qE as ke,q$ as ue,qV as W,qI as ye,JP as nn,JQ as on,JR as rn,JS as Kt,JT as he,JU as sn,Fh as Fe,nj as zt,JV as cn,JW as ln,JX as dn,JY as tt,HB as at,r7 as nt,nr as un,JZ as mn,qF as Tt,nm as ie,ni as $t,J_ as ne,J$ as pn,K0 as ot,HA as rt,pj as Jt,K1 as hn,K2 as fn,K3 as gn,K4 as st,pw as bn,K5 as _n,qH as xt,pi as qt,K6 as oe,K7 as Cn,bt as Zt,rb as Ht,K8 as kn,K9 as yn,Ka as Sn,Kb as ct,r6 as vn,Kc as In,qG as Et,ra as Qt,Kd as re,Ke as wn,Kf as Tn,Kg as Xt,gC as Wt,jH as ea,gH as ta,jF as aa,jE as na,jD as oa,oH as xn,cV as En,bN as An,bO as Dn,jA as Fn,cQ as On,jQ as Pn,Kh as jn,z$ as Bn,Ki as Rn,Kj as Mn,Kk as Ln,b5 as it,cG as Un,ee as Yn,dl as Gn,jL as Vn,g9 as Nn,jI as Kn,jG as zn,cA as $n,cy as Jn}from"./zeni-epic-state-CHpO1ZKT.js";import{js as O,k4 as J,jO as x,jz as v,O as G,kS as qn,bk as Se,kT as ra,J as M,kU as Zn,_ as ve,kV as sa,aE as lt,aG as j,e as ca,y as ia,jQ as la,kW as Hn,x as Qn,m as Ve,kX as Ie,kY as Xn,jx as Wn,a7 as eo,aF as to,jM as ao,k2 as no,I as oo,kZ as ro,a2 as ge}from"./index-CAltUZe8.js";import{n as dt}from"./mui-CMSRVFAm.js";import{a as C}from"./sentry-DQeYyYXx.js";import{w as da}from"./withTransactionSidePanel-FcH3ZlAj.js";import{b as ua,t as me,e as ee,a as ut,v as so}from"./routePaths-C2kSZwVH.js";import Xe from"./NotFoundScreen-CubXCR1V.js";import{t as ma}from"./analyticsHelper-eqJrrWmY.js";import{C as co}from"./CompanyPassportScreen-zFkQa4Cq.js";import{F as io}from"./FeaturePreviewScreen-BrgEnIPS.js";import{R as lo}from"./ReferralListScreen-CFqALHvq.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./TransactionDetailScreen-DkbX0oG8.js";import"./decodeURIComponentSafe-BA7ebd4J.js";import"./MobileAppDrawer-C3TNoouV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8893327a-be8f-4f60-bca3-802afbd5946c",e._sentryDebugIdIdentifier="sentry-dbid-8893327a-be8f-4f60-bca3-802afbd5946c")}catch{}})();const uo=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{vendorId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(I=>I.tenantState.currentTenantId),u=k(I=>P(I)),{tenantEmailDomain:m}=V(),_=K(),b=u?.companyName??"",h={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c??""},i=C.useMemo(()=>({authParams:h,companyName:b,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),d=C.useMemo(()=>s!=null?Mt(s):de(),[s]),p=Y(),g=z(),f=k(I=>Na(I,d,o)),y=C.useCallback(()=>{o!=null&&f.fetchState!=="In-Progress"&&f.fetchState!=="Completed"&&p(Ka(o,d))},[d]),E=C.useCallback(()=>{g("../../",{relative:"path"})},[]),U=C.useCallback((I,q)=>{p(It({sortKey:I,sortOrder:q}))},[]),se=C.useCallback(I=>{p(It({downloadState:I}))},[]),te=C.useCallback(I=>{if(e)e(I.transactionId,I.transactionType);else if(m!=null){const q=ua({id:I.transactionId,type:I.transactionType},m);g(q);const Pe=x(_.state?.pathnameStackToGoBack,_.pathname);g(q,{state:{pathnameStackToGoBack:Pe}})}},[m,e]),D=C.useCallback(()=>{f.vendor!=null&&v.trackApAgingDetail("AP Aging",d.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),f.vendor.id,f.vendor.name)},[f.vendor,d]);return C.useEffect(()=>{y()},[]),C.useEffect(()=>{f.fetchState==="Completed"&&D()},[D,f.fetchState]),l.jsx(qn,{apAgingDetail:f,downloadParams:i,reportDate:d,analytics:v,onTransactionClick:te,onReload:y,onBackClick:E,onColumnSortConfigChanged:U,updateDownloadStateHandler:se,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),mo=()=>{const e=Y(),a=z(),t=k(y=>za(y)),n=O.getSignedInUser(),o=k(y=>y.tenantState.currentTenantId),s=k(y=>P(y)),r=s?.companyName??"",c={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o??""},u=C.useMemo(()=>({authParams:c,companyName:r,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),m=t.apAgingUIState.selectedDate??de(),_=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(He(m))},[]);C.useEffect(()=>{_()},[]);const b=C.useCallback(()=>{a("../",{relative:"path"})},[]),h=C.useCallback(y=>{e(xe({searchString:y}))},[]),i=C.useCallback((y,E)=>{e(xe({sortKey:E,sortOrder:y}))},[]),d=C.useCallback(y=>{a(`./${y}/${m.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[m]),p=C.useCallback(y=>{e(xe({downloadState:y}))},[]),g=C.useCallback((y,E)=>{},[]),f=C.useCallback((y,E)=>{e(xe({selectedDate:y,agingDateSelectionType:E})),e(He(y))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:y=>y.trackPageLoaded(M.Event.agingReport,"AP Aging")}):null,l.jsx(ra,{uiState:t.apAgingUIState,report:t,downloadParams:u,analytics:v,onReloadReport:_,onBackClick:b,onSearchTextChange:h,onSortOrderChange:i,onEntityNameClick:d,updateDownloadStateHandler:p,onSelectedDateChanged:f,onNodeCollapseToggled:g})]})},po=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{customerId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(D=>P(D)),{tenantEmailDomain:u}=V(),m=K(),_=c.companyName,b={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId},h=C.useMemo(()=>({authParams:b,companyName:_,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),i=C.useMemo(()=>s!=null?Mt(s):de(),[s]),d=Y(),p=z(),g=k(D=>$a(D,i,o)),f=C.useCallback(()=>{o!=null&&g.fetchState!=="In-Progress"&&g.fetchState!=="Completed"&&d(Ja(o,i))},[i]),y=C.useCallback(()=>{p("../../",{relative:"path"})},[]),E=C.useCallback((D,I)=>{d(wt({sortKey:D,sortOrder:I}))},[]),U=C.useCallback(D=>{d(wt({downloadState:D}))},[]),se=C.useCallback(D=>{if(e)e(D.transactionId,D.transactionType);else if(u!=null){const I=ua({id:D.transactionId,type:D.transactionType},u);p(I);const q=x(m.state?.pathnameStackToGoBack,m.pathname);p(I,{state:{pathnameStackToGoBack:q}})}},[u,e]),te=C.useCallback(()=>{g.customer!=null&&v.trackArAgingDetail("AR Aging",i.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),g.customer.id,g.customer.name)},[g.customer,i]);return C.useEffect(()=>{f()},[]),C.useEffect(()=>{g.fetchState==="Completed"&&te()},[g.fetchState,te]),l.jsx(Zn,{arAgingDetail:g,downloadParams:h,reportDate:i,analytics:v,onTransactionClick:se,onReload:f,onBackClick:y,onColumnSortConfigChanged:E,updateDownloadStateHandler:U,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),ho=()=>{const e=Y(),a=z(),t=k(f=>qa(f)),n=O.getSignedInUser(),o=k(f=>P(f)),s=o.companyName,r={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o.tenantId},c=C.useMemo(()=>({authParams:r,companyName:s,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),u=t.arAgingUIState.selectedDate??de(),m=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(Qe(u))},[]);C.useEffect(()=>{m()},[]);const _=C.useCallback(()=>{a("../",{relative:"path"})},[]),b=C.useCallback(f=>{e(Ee({searchString:f}))},[]),h=C.useCallback((f,y)=>{e(Ee({sortKey:y,sortOrder:f}))},[]),i=C.useCallback(f=>{a(`./${f}/${u.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[u]),d=C.useCallback(f=>{e(Ee({downloadState:f}))},[]),p=C.useCallback((f,y)=>{e(Ee({selectedDate:f,agingDateSelectionType:y})),e(Qe(f))},[]),g=C.useCallback((f,y)=>{e(Za({nodeId:f,isCollapsed:y}))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:f=>f.trackPageLoaded(M.Event.agingReport,"AR Aging")}):null,l.jsx(ra,{uiState:t.arAgingUIState,report:t,downloadParams:c,analytics:v,onReloadReport:m,onBackClick:_,onSearchTextChange:b,onSortOrderChange:h,onEntityNameClick:i,updateDownloadStateHandler:d,onSelectedDateChanged:p,onNodeCollapseToggled:g})]})},pa=(e,a)=>({key:a,title:e.accountName,amount:e.balance?.available,logoUri:e.logo?.toString(),source:e});function ha(e,a){const t=Xa(a.firstMonthOfFY);return{onItemClick:(n,o)=>{const s=o.accountName===""?o.accountDescription:o.accountName,r=me(a.tenantEmailDomain,o.accountId,o.accountType,s,"quarter",t,!1),c=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(r,{state:{pathnameStackToGoBack:c,referrer:a.referrerType}})},onSetAccountsStatementDate:(n,o)=>{e(Wa(n,o))},onPromoCardBtnClick:n=>{if(a.isZeniAccountsAdmin){let o=`../../checking/${n}`;n?v.trackZeniAccountsCashBalancePromoClicked("Move Money"):(v.trackZeniAccountsCashBalancePromoClicked("Sign Up for Free"),o="../../checking/promo");const s=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(o,{state:{pathnameStackToGoBack:s}})}else v.trackZeniAccountsCashBalancePromoClicked("Learn More"),window.open("https://www.zeni.ai/product/business-checking-accounts","_blank")}}}const fo=$(function(e){const a=Ha(e).accountsInOrder.map((n,o)=>pa(n,o)),t=Qa(e);return{sectionTitle:G.getLocalizedStrings().balanceCard.cashBalanceSectionTitle,transactionArray:a,zeniAccountsPromoCardReport:t,analytics:v}},ha)(sa),go=$(function(e){const a=en(e).accountsInOrder.map((o,s)=>pa(o,s)),t=O.getSignedInUser(),n=_e(t);return{sectionTitle:G.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,transactionArray:a,isZeniUser:n,analytics:v}},ha)(sa);function bo(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1),s=et(n?.loggedInUserRoleMap);return l.jsx(fo,{tenantEmailDomain:t,location:a,referrerType:"Cash Balance",navigate:e,isZeniAccountsAdmin:s,firstMonthOfFY:o})}function _o(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=et(n?.loggedInUserRoleMap),s=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1);return l.jsx(go,{tenantEmailDomain:t,location:a,referrerType:"Card Balance",navigate:e,isZeniAccountsAdmin:o,firstMonthOfFY:s})}const At={contentContainerLeftRightMargin:new Qn(Ve[3],Ve[3],Ve[8])},Co=dt.div`
1
+ import{j as l}from"./pdf-DjWcNDdq.js";import{l as V,u as k,h as K,i as Y,j as z,k as $,R as Ze,m as T}from"./core-DuAc0oH1.js";import{ct as P,Il as De,bG as Mt,bs as de,Jy as Na,ff as Ka,Jz as It,JA as za,fi as He,JB as xe,JC as $a,fn as Ja,JD as wt,JE as qa,fr as Qe,JF as Ee,JG as Za,F5 as et,JH as Ha,JI as Qa,IF as Xa,gj as Wa,JJ as en,bm as _e,JK as Lt,I9 as Q,bc as Ut,gx as Yt,jK as Gt,gg as Vt,Ib as X,Ia as N,JL as tn,JM as an,JN as Nt,JO as pe,qD as Ce,qE as ke,q$ as ue,qV as W,qI as ye,JP as nn,JQ as on,JR as rn,JS as Kt,JT as he,JU as sn,Fh as Fe,nj as zt,JV as cn,JW as ln,JX as dn,JY as tt,HB as at,r7 as nt,nr as un,JZ as mn,qF as Tt,nm as ie,ni as $t,J_ as ne,J$ as pn,K0 as ot,HA as rt,pj as Jt,K1 as hn,K2 as fn,K3 as gn,K4 as st,pw as bn,K5 as _n,qH as xt,pi as qt,K6 as oe,K7 as Cn,bt as Zt,rb as Ht,K8 as kn,K9 as yn,Ka as Sn,Kb as ct,r6 as vn,Kc as In,qG as Et,ra as Qt,Kd as re,Ke as wn,Kf as Tn,Kg as Xt,gC as Wt,jH as ea,gH as ta,jF as aa,jE as na,jD as oa,oH as xn,cV as En,bN as An,bO as Dn,jA as Fn,cQ as On,jQ as Pn,Kh as jn,z$ as Bn,Ki as Rn,Kj as Mn,Kk as Ln,b5 as it,cG as Un,ee as Yn,dl as Gn,jL as Vn,g9 as Nn,jI as Kn,jG as zn,cA as $n,cy as Jn}from"./zeni-epic-state-DhC3A3VG.js";import{js as O,k4 as J,jO as x,jz as v,O as G,kS as qn,bk as Se,kT as ra,J as M,kU as Zn,_ as ve,kV as sa,aE as lt,aG as j,e as ca,y as ia,jQ as la,kW as Hn,x as Qn,m as Ve,kX as Ie,kY as Xn,jx as Wn,a7 as eo,aF as to,jM as ao,k2 as no,I as oo,kZ as ro,a2 as ge}from"./index-BBHMk1WY.js";import{n as dt}from"./mui-dGxW217w.js";import{a as C}from"./sentry-BHW-o2_3.js";import{w as da}from"./withTransactionSidePanel-uSCjZtP0.js";import{b as ua,t as me,e as ee,a as ut,v as so}from"./routePaths-D4MJQpeF.js";import Xe from"./NotFoundScreen-DGEyldIM.js";import{t as ma}from"./analyticsHelper-BtjSH59c.js";import{C as co}from"./CompanyPassportScreen-BlIC8nGb.js";import{F as io}from"./FeaturePreviewScreen-BvoMMHrR.js";import{R as lo}from"./ReferralListScreen-Bkzznsdb.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";import"./TransactionDetailScreen-DvcKecE2.js";import"./decodeURIComponentSafe-BqKl1gNh.js";import"./MobileAppDrawer-D5Za8CIX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8893327a-be8f-4f60-bca3-802afbd5946c",e._sentryDebugIdIdentifier="sentry-dbid-8893327a-be8f-4f60-bca3-802afbd5946c")}catch{}})();const uo=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{vendorId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(I=>I.tenantState.currentTenantId),u=k(I=>P(I)),{tenantEmailDomain:m}=V(),_=K(),b=u?.companyName??"",h={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c??""},i=C.useMemo(()=>({authParams:h,companyName:b,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),d=C.useMemo(()=>s!=null?Mt(s):de(),[s]),p=Y(),g=z(),f=k(I=>Na(I,d,o)),y=C.useCallback(()=>{o!=null&&f.fetchState!=="In-Progress"&&f.fetchState!=="Completed"&&p(Ka(o,d))},[d]),E=C.useCallback(()=>{g("../../",{relative:"path"})},[]),U=C.useCallback((I,q)=>{p(It({sortKey:I,sortOrder:q}))},[]),se=C.useCallback(I=>{p(It({downloadState:I}))},[]),te=C.useCallback(I=>{if(e)e(I.transactionId,I.transactionType);else if(m!=null){const q=ua({id:I.transactionId,type:I.transactionType},m);g(q);const Pe=x(_.state?.pathnameStackToGoBack,_.pathname);g(q,{state:{pathnameStackToGoBack:Pe}})}},[m,e]),D=C.useCallback(()=>{f.vendor!=null&&v.trackApAgingDetail("AP Aging",d.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),f.vendor.id,f.vendor.name)},[f.vendor,d]);return C.useEffect(()=>{y()},[]),C.useEffect(()=>{f.fetchState==="Completed"&&D()},[D,f.fetchState]),l.jsx(qn,{apAgingDetail:f,downloadParams:i,reportDate:d,analytics:v,onTransactionClick:te,onReload:y,onBackClick:E,onColumnSortConfigChanged:U,updateDownloadStateHandler:se,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),mo=()=>{const e=Y(),a=z(),t=k(y=>za(y)),n=O.getSignedInUser(),o=k(y=>y.tenantState.currentTenantId),s=k(y=>P(y)),r=s?.companyName??"",c={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o??""},u=C.useMemo(()=>({authParams:c,companyName:r,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),m=t.apAgingUIState.selectedDate??de(),_=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(He(m))},[]);C.useEffect(()=>{_()},[]);const b=C.useCallback(()=>{a("../",{relative:"path"})},[]),h=C.useCallback(y=>{e(xe({searchString:y}))},[]),i=C.useCallback((y,E)=>{e(xe({sortKey:E,sortOrder:y}))},[]),d=C.useCallback(y=>{a(`./${y}/${m.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[m]),p=C.useCallback(y=>{e(xe({downloadState:y}))},[]),g=C.useCallback((y,E)=>{},[]),f=C.useCallback((y,E)=>{e(xe({selectedDate:y,agingDateSelectionType:E})),e(He(y))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:y=>y.trackPageLoaded(M.Event.agingReport,"AP Aging")}):null,l.jsx(ra,{uiState:t.apAgingUIState,report:t,downloadParams:u,analytics:v,onReloadReport:_,onBackClick:b,onSearchTextChange:h,onSortOrderChange:i,onEntityNameClick:d,updateDownloadStateHandler:p,onSelectedDateChanged:f,onNodeCollapseToggled:g})]})},po=da(function({openTransactionPanel:e,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n}){const{customerId:o,reportDate:s}=V(),r=O.getSignedInUser(),c=k(D=>P(D)),{tenantEmailDomain:u}=V(),m=K(),_=c.companyName,b={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId},h=C.useMemo(()=>({authParams:b,companyName:_,downloadEndPoint:`${J}/agingDetailedReport`,timezone:De()}),[]),i=C.useMemo(()=>s!=null?Mt(s):de(),[s]),d=Y(),p=z(),g=k(D=>$a(D,i,o)),f=C.useCallback(()=>{o!=null&&g.fetchState!=="In-Progress"&&g.fetchState!=="Completed"&&d(Ja(o,i))},[i]),y=C.useCallback(()=>{p("../../",{relative:"path"})},[]),E=C.useCallback((D,I)=>{d(wt({sortKey:D,sortOrder:I}))},[]),U=C.useCallback(D=>{d(wt({downloadState:D}))},[]),se=C.useCallback(D=>{if(e)e(D.transactionId,D.transactionType);else if(u!=null){const I=ua({id:D.transactionId,type:D.transactionType},u);p(I);const q=x(m.state?.pathnameStackToGoBack,m.pathname);p(I,{state:{pathnameStackToGoBack:q}})}},[u,e]),te=C.useCallback(()=>{g.customer!=null&&v.trackArAgingDetail("AR Aging",i.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),g.customer.id,g.customer.name)},[g.customer,i]);return C.useEffect(()=>{f()},[]),C.useEffect(()=>{g.fetchState==="Completed"&&te()},[g.fetchState,te]),l.jsx(Zn,{arAgingDetail:g,downloadParams:h,reportDate:i,analytics:v,onTransactionClick:se,onReload:f,onBackClick:y,onColumnSortConfigChanged:E,updateDownloadStateHandler:U,panelContent:a,sidePanelIsOpen:t,sidePanelIsFullView:n})}),ho=()=>{const e=Y(),a=z(),t=k(f=>qa(f)),n=O.getSignedInUser(),o=k(f=>P(f)),s=o.companyName,r={userId:n?.userId??"",sessionId:n?.zeniSessionId??"",tenantId:o.tenantId},c=C.useMemo(()=>({authParams:r,companyName:s,downloadEndPoint:`${J}/agingReport`,timezone:De()}),[]),u=t.arAgingUIState.selectedDate??de(),m=C.useCallback(()=>{t.fetchState!=="In-Progress"&&t.fetchState!=="Completed"&&e(Qe(u))},[]);C.useEffect(()=>{m()},[]);const _=C.useCallback(()=>{a("../",{relative:"path"})},[]),b=C.useCallback(f=>{e(Ee({searchString:f}))},[]),h=C.useCallback((f,y)=>{e(Ee({sortKey:y,sortOrder:f}))},[]),i=C.useCallback(f=>{a(`./${f}/${u.format(G.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat)}`)},[u]),d=C.useCallback(f=>{e(Ee({downloadState:f}))},[]),p=C.useCallback((f,y)=>{e(Ee({selectedDate:f,agingDateSelectionType:y})),e(Qe(f))},[]),g=C.useCallback((f,y)=>{e(Za({nodeId:f,isCollapsed:y}))},[]);return l.jsxs(l.Fragment,{children:[t.fetchState==="Completed"?l.jsx(Se,{analytics:v,onLoad:f=>f.trackPageLoaded(M.Event.agingReport,"AR Aging")}):null,l.jsx(ra,{uiState:t.arAgingUIState,report:t,downloadParams:c,analytics:v,onReloadReport:m,onBackClick:_,onSearchTextChange:b,onSortOrderChange:h,onEntityNameClick:i,updateDownloadStateHandler:d,onSelectedDateChanged:p,onNodeCollapseToggled:g})]})},pa=(e,a)=>({key:a,title:e.accountName,amount:e.balance?.available,logoUri:e.logo?.toString(),source:e});function ha(e,a){const t=Xa(a.firstMonthOfFY);return{onItemClick:(n,o)=>{const s=o.accountName===""?o.accountDescription:o.accountName,r=me(a.tenantEmailDomain,o.accountId,o.accountType,s,"quarter",t,!1),c=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(r,{state:{pathnameStackToGoBack:c,referrer:a.referrerType}})},onSetAccountsStatementDate:(n,o)=>{e(Wa(n,o))},onPromoCardBtnClick:n=>{if(a.isZeniAccountsAdmin){let o=`../../checking/${n}`;n?v.trackZeniAccountsCashBalancePromoClicked("Move Money"):(v.trackZeniAccountsCashBalancePromoClicked("Sign Up for Free"),o="../../checking/promo");const s=x(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(o,{state:{pathnameStackToGoBack:s}})}else v.trackZeniAccountsCashBalancePromoClicked("Learn More"),window.open("https://www.zeni.ai/product/business-checking-accounts","_blank")}}}const fo=$(function(e){const a=Ha(e).accountsInOrder.map((n,o)=>pa(n,o)),t=Qa(e);return{sectionTitle:G.getLocalizedStrings().balanceCard.cashBalanceSectionTitle,transactionArray:a,zeniAccountsPromoCardReport:t,analytics:v}},ha)(sa),go=$(function(e){const a=en(e).accountsInOrder.map((o,s)=>pa(o,s)),t=O.getSignedInUser(),n=_e(t);return{sectionTitle:G.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,transactionArray:a,isZeniUser:n,analytics:v}},ha)(sa);function bo(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1),s=et(n?.loggedInUserRoleMap);return l.jsx(fo,{tenantEmailDomain:t,location:a,referrerType:"Cash Balance",navigate:e,isZeniAccountsAdmin:s,firstMonthOfFY:o})}function _o(){const e=z(),a=K(),{tenantEmailDomain:t}=V(),n=ve(),o=et(n?.loggedInUserRoleMap),s=k(r=>P(r).company?.companyInfo.firstMonthOfFY??1);return l.jsx(go,{tenantEmailDomain:t,location:a,referrerType:"Card Balance",navigate:e,isZeniAccountsAdmin:o,firstMonthOfFY:s})}const At={contentContainerLeftRightMargin:new Qn(Ve[3],Ve[3],Ve[8])},Co=dt.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{z as b,V as o,ap as p,o as h}from"./index-CAltUZe8.js";import{a as d}from"./sentry-DQeYyYXx.js";import{d as u,n as m}from"./mui-CMSRVFAm.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]="01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c",e._sentryDebugIdIdentifier="sentry-dbid-01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c")}catch{}})();const D=d.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=u(),s=e||n,r=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=b(r,s),[i,c]=d.useState(null);a!=null&&i==null&&!l&&c(a);const f=e&&t.mode==="light"?.7:.2;return(e||n)&&i!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:!n||5,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{z as b,V as o,ap as p,o as h}from"./index-BBHMk1WY.js";import{a as d}from"./sentry-BHW-o2_3.js";import{d as u,n as m}from"./mui-dGxW217w.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]="01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c",e._sentryDebugIdIdentifier="sentry-dbid-01c4f5ef-cabb-4dad-b2af-0ee7c4d65a0c")}catch{}})();const D=d.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=u(),s=e||n,r=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=b(r,s),[i,c]=d.useState(null);a!=null&&i==null&&!l&&c(a);const f=e&&t.mode==="light"?.7:.2;return(e||n)&&i!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:!n||5,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1 +1 @@
1
- import{j as v}from"./pdf-Be2WBqYM.js";import{a as u}from"./sentry-DQeYyYXx.js";import{i as y,u as b,k as w,h as A,N as j}from"./core-D9P6lLF-.js";import{H7 as k,ct as _,d0 as N,H8 as U,jC as R,H9 as L}from"./zeni-epic-state-CHpO1ZKT.js";import{jr as O,js as f,jt as T,ju as I,O as z,jv as $}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import{t as H}from"./getLocaleForTenant-D_kHTEKc.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="abeba583-fa96-4e9d-8d04-242caf81f8eb",t._sentryDebugIdIdentifier="sentry-dbid-abeba583-fa96-4e9d-8d04-242caf81f8eb")}catch{}})();const P=w(function(t){return{fetchState:t.tenantState.fetchState,activeTenantFetchState:t.tenantState.activeTenantFetchState.fetchState,currentTenant:_(t),tenantsInOrder:L(t).tenantsInOrder}})(function({fetchState:t,activeTenantFetchState:s,currentTenant:o,tenantsInOrder:h}){const r=A(),p=new URLSearchParams(r.search);if(o==null||t!=="Completed"&&s!=="Completed")return null;{let m="";const n=h.map(l=>l.tenantEmailDomain),i=r.state?.origin,a=r.state?.queryParams;let c=`../${o.tenantEmailDomain}`,d=null,e=!1,g=null,S=null;const C=E(r.pathname);if(C!=null)c=`../${o.tenantEmailDomain}/${C}`,m="comingFromV2UrlPath",C==="ai-cfo/explore"&&(d=p.get("question")?.replace(/^["']|["']$/g,"")??null,e=p.get("should_submit")==="true");else if(i!=null)if(n.reduce((l,F)=>l||i.split("/").find(D=>D===F)!=null,!1))c=i,i.includes("ai-cfo")&&a!=null&&(g=a.aiCfoRef??null,S=a.aiCfoEmailRefId??null);else{const l=E(i);l!=null?(c=`../${o.tenantEmailDomain}/${l}`,m="comingFromV2UrlPath",l==="ai-cfo/explore"&&a!=null&&(a.aiCfoQuestion!=null&&(d=a.aiCfoQuestion),a.aiCfoShouldSubmit==="true"&&(e=!0))):console.warn("Don't have access to previous path tenant!")}const x=$(c,p);return v.jsx(j,{to:x,replace:!0,state:{...r.state,origin:"",message:m,aiCfoInitialQuestion:d,aiCfoShouldSubmit:e,aiCfoRef:g,aiCfoEmailRefId:S}})}});function re(){const t=y(),{setLoading:s,clearAllLoading:o}=O(),h=u.useRef(!1),r=u.useRef(!1),p=u.useRef(null),m=b(e=>k(e)),n=b(e=>e.tenantState.fetchState),i=b(e=>e.tenantState.error),a=b(e=>e.tenantState.activeTenantFetchState.fetchState),c=b(e=>_(e)),d=f.getSignedInUser();return u.useLayoutEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId??null;p.current!==e&&(p.current=e,h.current=!1,r.current=!1,s(T.TENANT_FETCHING)),!h.current||a!=="Completed"&&a!=="Error"||(h.current=!1),!r.current||n!=="Completed"&&n!=="Error"||(r.current=!1)},[a,n]),u.useEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId;h.current===!1&&d!=null&&e!=null&&I.shouldFetchActiveTenant(e)&&(h.current=!0,I.markActiveTenantFetchStarted(e),n==="Completed"||a!=="Not-Started"&&a!=="Error"||(s(T.TENANT_FETCHING),t(N(d.userId,e))))},[n,a,d,t]),u.useEffect(()=>{const e=f.getSignedInUser(),g=f.getActiveTenantForUser()?.tenantId,S=g==null||a==="Completed"||a==="Error";r.current===!1&&e!=null&&S&&I.shouldFetchAllTenants()&&(r.current=!0,I.markAllTenantsFetchStarted(),(n==="Not-Started"||n==="Error"&&!U(i))&&t(R(e.userId)))},[n,a,i,d,t]),u.useEffect(()=>{f.isSignedIn()&&n==="Completed"&&m.tenantsCoreDetailsInOrder.length>0&&(f.saveSignedInUserTenants(m.tenantsCoreDetailsInOrder),o())},[m.tenantsCoreDetailsInOrder,n]),u.useEffect(()=>{!f.isSignedIn()||n!=="Completed"&&a!=="Completed"||c==null||(z.updateAppLocaleID(H(c)),o())},[n,a,c]),v.jsx(P,{})}const Q=["dashboard/cash-balance","dashboard/card-balance","dashboard/operating-expenses","dashboard/revenue","dashboard/burn-rate","dashboard/cash-position","dashboard/top-expenses","dashboard/cash-in-cash-out","dashboard","reports","forecast","uncategorized-expense","uncategorized-income","missing-receipts","bills","cards/activate","cards","reimbursements","wise","checking","aicfo"],q={"dashboard/cash-balance":"dashboard/cash_balance","dashboard/card-balance":"dashboard/card_balance","dashboard/operating-expenses":"dashboard/operating_expenses","dashboard/revenue":"dashboard/revenue","dashboard/burn-rate":"dashboard/net_burn_or_income","dashboard/cash-position":"dashboard/cash_position","dashboard/top-expenses":"dashboard/top_expenses","dashboard/cash-in-cash-out":"dashboard/cash_in_cash_out",dashboard:"dashboard",reports:"reports",forecast:"forecast","uncategorized-expense":"transactions/uncategorized-expense","uncategorized-income":"transactions/uncategorized-income","missing-receipts":"transactions/missing-receipts",bills:"bills",reimbursements:"reimbursements","cards/activate":"cards/activate",cards:"cards",wise:"bills/wise/callback/link-account",checking:"checking",aicfo:"ai-cfo/explore"};function E(t){for(const s of Q)if(t.toLocaleLowerCase().includes(s))return q[s]}export{re as default};
1
+ import{j as v}from"./pdf-DjWcNDdq.js";import{a as u}from"./sentry-BHW-o2_3.js";import{i as y,u as b,k as w,h as A,N as j}from"./core-DuAc0oH1.js";import{H7 as k,ct as _,d0 as N,H8 as U,jC as R,H9 as L}from"./zeni-epic-state-DhC3A3VG.js";import{jr as O,js as f,jt as T,ju as I,O as z,jv as $}from"./index-BBHMk1WY.js";import"./mui-dGxW217w.js";import{t as H}from"./getLocaleForTenant-BvZsYiJJ.js";import"./lottie-gxzZnsHo.js";import"./liveblocks-Bpp30XUG.js";import"./recharts-CNVQrnca.js";import"./dnd-C4MpAW48.js";import"./analytics-BmL_Mqn9.js";import"./plaid-LGb0iu_7.js";import"./utils-BAYl7YTg.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="abeba583-fa96-4e9d-8d04-242caf81f8eb",t._sentryDebugIdIdentifier="sentry-dbid-abeba583-fa96-4e9d-8d04-242caf81f8eb")}catch{}})();const P=w(function(t){return{fetchState:t.tenantState.fetchState,activeTenantFetchState:t.tenantState.activeTenantFetchState.fetchState,currentTenant:_(t),tenantsInOrder:L(t).tenantsInOrder}})(function({fetchState:t,activeTenantFetchState:s,currentTenant:o,tenantsInOrder:h}){const r=A(),p=new URLSearchParams(r.search);if(o==null||t!=="Completed"&&s!=="Completed")return null;{let m="";const n=h.map(l=>l.tenantEmailDomain),i=r.state?.origin,a=r.state?.queryParams;let c=`../${o.tenantEmailDomain}`,d=null,e=!1,g=null,S=null;const C=E(r.pathname);if(C!=null)c=`../${o.tenantEmailDomain}/${C}`,m="comingFromV2UrlPath",C==="ai-cfo/explore"&&(d=p.get("question")?.replace(/^["']|["']$/g,"")??null,e=p.get("should_submit")==="true");else if(i!=null)if(n.reduce((l,F)=>l||i.split("/").find(D=>D===F)!=null,!1))c=i,i.includes("ai-cfo")&&a!=null&&(g=a.aiCfoRef??null,S=a.aiCfoEmailRefId??null);else{const l=E(i);l!=null?(c=`../${o.tenantEmailDomain}/${l}`,m="comingFromV2UrlPath",l==="ai-cfo/explore"&&a!=null&&(a.aiCfoQuestion!=null&&(d=a.aiCfoQuestion),a.aiCfoShouldSubmit==="true"&&(e=!0))):console.warn("Don't have access to previous path tenant!")}const x=$(c,p);return v.jsx(j,{to:x,replace:!0,state:{...r.state,origin:"",message:m,aiCfoInitialQuestion:d,aiCfoShouldSubmit:e,aiCfoRef:g,aiCfoEmailRefId:S}})}});function re(){const t=y(),{setLoading:s,clearAllLoading:o}=O(),h=u.useRef(!1),r=u.useRef(!1),p=u.useRef(null),m=b(e=>k(e)),n=b(e=>e.tenantState.fetchState),i=b(e=>e.tenantState.error),a=b(e=>e.tenantState.activeTenantFetchState.fetchState),c=b(e=>_(e)),d=f.getSignedInUser();return u.useLayoutEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId??null;p.current!==e&&(p.current=e,h.current=!1,r.current=!1,s(T.TENANT_FETCHING)),!h.current||a!=="Completed"&&a!=="Error"||(h.current=!1),!r.current||n!=="Completed"&&n!=="Error"||(r.current=!1)},[a,n]),u.useEffect(()=>{const e=f.getActiveTenantForUser()?.tenantId;h.current===!1&&d!=null&&e!=null&&I.shouldFetchActiveTenant(e)&&(h.current=!0,I.markActiveTenantFetchStarted(e),n==="Completed"||a!=="Not-Started"&&a!=="Error"||(s(T.TENANT_FETCHING),t(N(d.userId,e))))},[n,a,d,t]),u.useEffect(()=>{const e=f.getSignedInUser(),g=f.getActiveTenantForUser()?.tenantId,S=g==null||a==="Completed"||a==="Error";r.current===!1&&e!=null&&S&&I.shouldFetchAllTenants()&&(r.current=!0,I.markAllTenantsFetchStarted(),(n==="Not-Started"||n==="Error"&&!U(i))&&t(R(e.userId)))},[n,a,i,d,t]),u.useEffect(()=>{f.isSignedIn()&&n==="Completed"&&m.tenantsCoreDetailsInOrder.length>0&&(f.saveSignedInUserTenants(m.tenantsCoreDetailsInOrder),o())},[m.tenantsCoreDetailsInOrder,n]),u.useEffect(()=>{!f.isSignedIn()||n!=="Completed"&&a!=="Completed"||c==null||(z.updateAppLocaleID(H(c)),o())},[n,a,c]),v.jsx(P,{})}const Q=["dashboard/cash-balance","dashboard/card-balance","dashboard/operating-expenses","dashboard/revenue","dashboard/burn-rate","dashboard/cash-position","dashboard/top-expenses","dashboard/cash-in-cash-out","dashboard","reports","forecast","uncategorized-expense","uncategorized-income","missing-receipts","bills","cards/activate","cards","reimbursements","wise","checking","aicfo"],q={"dashboard/cash-balance":"dashboard/cash_balance","dashboard/card-balance":"dashboard/card_balance","dashboard/operating-expenses":"dashboard/operating_expenses","dashboard/revenue":"dashboard/revenue","dashboard/burn-rate":"dashboard/net_burn_or_income","dashboard/cash-position":"dashboard/cash_position","dashboard/top-expenses":"dashboard/top_expenses","dashboard/cash-in-cash-out":"dashboard/cash_in_cash_out",dashboard:"dashboard",reports:"reports",forecast:"forecast","uncategorized-expense":"transactions/uncategorized-expense","uncategorized-income":"transactions/uncategorized-income","missing-receipts":"transactions/missing-receipts",bills:"bills",reimbursements:"reimbursements","cards/activate":"cards/activate",cards:"cards",wise:"bills/wise/callback/link-account",checking:"checking",aicfo:"ai-cfo/explore"};function E(t){for(const s of Q)if(t.toLocaleLowerCase().includes(s))return q[s]}export{re as default};