@zeniai/web-app-ui 4.14.34-qa → 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 (366) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-BwzGZzbR.js → ACHDetailsPage-B5qIuZya-BIuRDGqE.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-B8K3J1iD.js → AIPerformancePage-BHB45mP--CdiJF-L1.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-CsL4ceIj.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-Dnz42YfF.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-D8YQo6Cx.js → AccountLockedInfoModal-Dox7IuAX-BpZbPOQz.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-DSfyKamu.js → AccountReconDetailsDrawerPage-Bqty08m0-C0vGDzkJ.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-DQN6__Ng.js → AccountRow-D1cjRJJD-C8PUWTdF.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-_JKcyl4L.js → AccountsPromoCardStack-Bs3naJHM-DYMmkkcK.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-CKwvHf9L.js → AddAddressForCardDrawer-DZkBMJfp-fRN288lA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-DjOENQIP.js → AddToWalletPage-CyRfqVDB-BWSFlvzO.js} +1 -1
  11. package/dist/assets/{AddressRoutes-B9JRerSF.js → AddressRoutes-C_q-9_62.js} +1 -1
  12. package/dist/assets/{AddressScreen-CfU0pxqN.js → AddressScreen-q6X2LJkq.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-w17wS1R5.js → AgingReportsPage-xBFff3BM-BUoWBW_Y.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-BRwWpLyW.js → AiCfoScreen-CjgeQNVJ.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-B7Mldc5e.js → AllUserItems-BJf6WPDo-CHVB4i8A.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-D6PdKU-A.js → ApAgingDetailPage-CjBrPyi8-C5AuZu1C.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-Cvt-yGcI.js → AppBasePage-CqDm-hnV-DqUDfXL_.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-D9lcwo49.js → AppDrawerContent-CVVWj66i-H8Zv8lBB.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-BNnzaj0l.js → ApprovalRulesSettingsPage-Cckd2uVA-DeRWJAYx.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-rk20lkwC.js → ArAgingChart-CBsqOd-4-CyjYWAFr.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-BO2XynIt.js → ArAgingDetailPage-i7JObt60-CjUHN5eR.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-BUfVfjv7.js → AttachmentView-CzC4skJ3-DyETG696.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x--aTwEc-g.js → BalancesInsightWithToolTip-B6umvmgL-Cv06ZgJU.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-CPDSPfOj.js → BankAccountSection-Di4sF52j-tMmbl1rp.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-CnjpdW6M.js → BankAccountWarningSection-Cled-2cR-tg2oPWKo.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-LAjrAQJF.js → BankConnectionsSettingsPage-Ccnzq7st-CMLccpCd.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-DAlTWroi.js → BillDetailPage-XXOwBfO1-pmj89kEW.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRjAMn3U.js → BillPayApprovalRoutes-jn_lL90F.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-CHegouqx.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-Bfhw5F-a.js → BillPayApprovalRulesPage-COCypDcS-SP6Ap0C9.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-CQkU1mWk.js → BillPayPromoPage-DOE2YIqC-CSl5ivDV.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-DKQ62RT9.js → BillPayRoutes-BfiQplNH.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--ES1CtqR5.js → BillPaySetUpPage-BCJbZDsV-B9fZpm8c.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-DkV09JRl.js → BillingSettingsPage-iImtlEmO-DmAWEx2I.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-BLrjKyuB.js → BillsBulkReviewDrawerPage-B11GWM_0-DP9ahFss.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-BjJmrBFm.js → BoxItem-Bxa1M4QU-D0J-fial.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-aehnUeCQ.js → BusinessVerificationPage-DSuJFoW1-C6crvVuN.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-DM_2HDeS.js → BusinessVerificationPageScreen-D8j6xARh.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-Bpswk6Co.js → BusyIndication-9zDqSKBP-DqhiAN3R.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-CWAYYKOe.js → CardNumberSubText-_ZZbaz_k-BMn-W8uM.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DBYQYc6c.js → CashbackDetailPage-DAZXitLt-Cmi7981u.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-7BhKZ-yZ.js → ChargeCardDetailPage-B1VIpASk-DInsIJ6C.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-kJJQn2HY.js → ChargeCardListPage-BOBepN-x-BzpgnZCy.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-Ctlyddwf.js → ChargeCardListTable-YznzSsJo-B0GWNZXs.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-LRwaIGjI.js → ChargeCardPaymentHistoryPage--jOwsMla-CgdIDpQe.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-CCv86SP9.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CE_xzqxh.js → ChargeCardRoutes-BwqGnQLD.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-B15YO0OW.js → ChargeCardSetupPage-0bpVkeJs-BbuEfFpc.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-PEmpxN8W.js → ChargeCardStatementsPage-ChWyQlw6-C9k3sUIQ.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-CojKKN3D.js → CheckDepositDrawerPage-BS7hnyZn-y7RoF_w4.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-DVSoJKAV.js → CollapsableReportTable-DNfFkAts-CRt1YpUw.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-D850YK66.js → CompanyOfficerDetailsSection-CrOIN4IW-C0LHfmel.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-BGp8cd7y.js → CompanyPassportCard-CkzYFTrp-B9eaudVD.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c--NnGP254.js → CompanyPassportPage-FE6yli6h-BbMnwSzZ.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-BS_NrRd8.js → CompanyPassportScreen-BlIC8nGb.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-TK-gYMQ0.js → CompleteProfile-Cb8i1XgZ-Cq1OcO0w.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-C--23SuA.js → ConfettiBurst-BZCXEGYA-DIt5MHuh.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CiGpGWMD.js → ConnectionAuthScreen-DqTCtHql.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-3tX8qIpJ.js → ConstrainedInnerElement-CgdnMeoA-CmmW5dI5.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-CIvcW7Pf.js → CreateOrEditVendorPage-CzpSgxbO-CwPOTP7C.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-CAvPHr87.js → CreditCardPaymentDrawerPage-c_q0MsSO-BoH_dAVB.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-lrBDW4z2.js → CurrencySelectField-BAh7SHrG-DHtvgLMm.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-CqbitCEF.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-CWNyUuRp-kM5f4mlx.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DY3UuBbK.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-CLbxMC39.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-LVeoEjZN.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-ChThvvAW.js → CustomerOnboardingPage-B9hSO88_-BGt-cTuK.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-DXr6zIWU.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bij7UqzG.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-B32JzwEY.js → CustomerOnboardingRoutes-nNFDxs8S.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-8ajoVQ5R.js → Dashboard-BJ_oIHab-CRQ768Be.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-Daspm0l6.js → DashboardReportPage-BemzMw2e-0P8PqPMh.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-CDKIVXdz.js → DashboardRoutes-DALS4OZT.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CoQ7Va6i.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-CHBp25QC.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-BdMoMXCc.js → DefaultTenantHome-B6XdMr_T.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DpkYzfIT.js → DepositAccTransactionItem-CyFi1P_L-PGx5WqpW.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-BicQqvfl.js → DepositAccTransactionListPage-DvBRRUdZ-Dwe1k_P6.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-CNZmf-ak.js → DomesticWireDetailScreen-CQg3PAm2.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-C97tbPQ3.js → DomesticWireDetailsPage-DCDo3aHI-DFefoYqT.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BngOF4Fl.js → DownloadOverlay-D_lL1sPW-Gfwh-v3U.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-DY6RVolf.js → DrawerPage-DesxXhZk-CSZPOuXf.js} +1 -1
  82. package/dist/assets/{DrawerScreen-Dd2Niphu.js → DrawerScreen-DxcRwPPj.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DjZAwBTY.js → EditPeoplePage-QvPy_Six-D0PpKsdn.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-CAS_iqEJ.js → EditReimbursementDetailPage-C0ZDkboO-BtHqytZP.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CkZoHf_c.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-DB5wcfPj.js → EntityDetailRoutes-DHvWcVZM.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-CojKKN9g.js → EntitySummarySection-BwX0a4JL-CRyXtv36.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-DtCtSmNb.js → ExpenseAutomationOverviewPage-EdyHjbff-BYCQ61VZ.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-T0dMJf4X.js → ExpenseAutomationPage-DA22Qofw-ADD8htoH.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CGo-MPWO.js → ExpenseAutomationRoutes-Bwo3l6rr.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-JAoUcgra.js → ExpressPayPage-EMP6inpX-r7Le1EQI.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-DW0MQyCb.js → FeaturePreviewPage-SYJm-3aR-5r57sKxN.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Xsnk0neq.js → FeaturePreviewScreen-BvoMMHrR.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-L8a-cjiL.js → FollowStepsSection-BxESVqJD-Cfv_3OlA.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-DnEwqpdI.js → GlobalReviewListPage-D5_ACa-q-gYhP0BxG.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-CR-1KqF_.js → InformationCardStack-B_qQUEYD-DMTeE12G.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-CmIAX8OK.js → InsightsCardStack-BsQzoVzj-zMuYmGM6.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-C1MMhp25.js → InsightsSection-B6CNlTNH-D7yOc9HU.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-CuYIzRU8.js → IntegrationsSettingsPage-DP6fAccq-D8JbMPQ0.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-BMKFEJtD.js → InternationalWireSwiftDetailsPage-VdG7bDZi-TvC6kA2n.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-BfVhZg4Y.js → InternationalWireVerificationPage-COC6lZml-rsBkb9CF.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-B9qhol7M.js → InviteFormPage-DN02jRy5-KTg724iN.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-cbCv5Fj9.js → InvitePageListView-CP4K9tJi-DmCYYfRg.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BkUhir7D.js → InvitePeoplePage-VTM6kM1u-BodcFn2j.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-zjdmYVnU.js → InvoiceUploadSection-it-ZYl1N-BjrsaM1_.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-DCMcjwN7.js → IssueChargeCardPage-CVfuvGey-lsM9dGu0.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-CD9Aduhg.js → LabeledAddressValue-DDrQcHIE-BYXgDWpJ.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-C9wYUqfv.js → LabeledAddressValueField-BgWwd5Gw-CSQ6OzMg.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-BUvo7K-8.js → LabeledControlledCheckBoxField-CcPO1k23-oIbSTLkG.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-BbXC-8fZ.js → LabeledCountryMultiSelectField-BYYjzwUG-D8p7V8TS.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-DRsosHBZ.js → LabeledCreatableSingleSelectField-CISYMojq-CKfZ7pr7.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BZkKKAqB.js → LabeledDocumentField-C_bcFxdY-zFfcoFTP.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js → LabeledDropDownFormattedTextField-ScGGCap8-BHX-K7ZX.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-Z2TstoOK.js → LabeledEmailInputField-BppuWRbl-BIUNuM_Y.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-D10OpiZc.js → LabeledNameField-mxSNQk3k-Bx8pFTYv.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-Bt2z3QjJ.js → LabeledSingleSelectField-C6ctNzkA-BU3EiY7P.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-CZ5epgLx.js → LabeledText-C8Y7EOsX-BXDU6dRq.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-C6kssl4a.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DTC8ETHe.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-DntPFlku.js → LabeledZeniRolesDropDownField-BZtreVpj-BS1LNuQ-.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-BhiQBcK9.js → LinkJETransactionPage-CKq4oiX9-C5HsoBZ0.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-COCJUyKc.js → LockCardPage-CZENNby7-UOOrs2le.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-BGs8KELn.js → LowBalancePopup-1727S1ri-C-K-4vpK.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-BttZvzmk.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DjY71wpL.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-B7rdUdYO.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B4kpsUud.js → MagicLinkRoutes-klGTo6_a.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-D5uIadTT.js → MagicLinkSignInScreen-825ryF1-.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-C9LyLKwm.js → MagicLinkSuccessPage-QMkZgQLG-2reSvlIE.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-DB32RhHy.js → MagicLinkTitleSection-CARU1oLQ-DySqrS1G.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-yIzRcTOW.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Db6wEz5B.js → MobileAppDrawer-D5Za8CIX.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-D5jjSMJd.js → MoreMenuButton-BsBKwXvk-CRjBeOMP.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-CeGG9xf_.js → MyBankConnectionsSettingsPage-BdgIIhL1-D-_wplqQ.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-aOgnXpMM.js → MyPendingActivationChargeCardListPage-CX38bDdq--3q4r6TL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CjX8_jlY.js → MyProfileSettingsPage-DYu0Fx6I-C4ZZ5mCO.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-DipOtu26.js → NavBarWithPicker-CGGEvLwe-BBPd8y30.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DseMcfRR.js → NavigationArrow-CTNkKUtV-DI_bFVBn.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-_HA0CoRv.js → NavigationDots-Dvce3gHt-DAj81KV8.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-Cl-h3ANA.js → NewGlobalMerchantPage-D_f7z47T-DteLGe2v.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-EBM1CKB5.js → NoDataChart-CrKeqWSr-CWCGqBcO.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-BXvKgMjH.js → NoDataTable-4vPXmPYF-DiiMylPx.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-DIj19qB5.js → NotFoundPage-BLWPU1wU-BwHUKWG1.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-DXnaOvLy.js → NotFoundScreen-DGEyldIM.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BKIq8Ht7.js → NotificationRoutes-D5u_QeSd.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--CKvGRtqq.js → NotificationSettingsPage-CDiDLX3A-B66Z4X7P.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-Ga3CIQDy.js → NotificationsListConfig-B5pDa4cJ-CRzaaqx-.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BdF4XISU.js → NotificationsPage-Ccl7Dny1-OTEuBDNq.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-6GxDxMs2.js → OpExByVendorPage-spd-nKV4-DwYHrKLp.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-8_-MKFW1.js → OverlayContainerPage-BG9y5C0t-DZYRUTfb.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-Ck7cJPme.js → PandLWithForecastPage-TSoe4Z7F-C0lO0xOj.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-Btf2U6pN.js → PandLWithForecastRoutes-BJB7AcOB.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-D1q0wO5y.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CZ9GLNBp.js → PeoplePage-b5_I0qOw-IxFOpmXf.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B8XNBABT.js → PeopleRoutes-CCkuJTXx.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-COWN278X.js → PerformanceRoutes-BP0EpHsY.js} +1 -1
  156. package/dist/assets/{Preview-CIMwFR6h.js → Preview-DA7xWqem.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-CYg74cXu.js → ProductsCarousel-C3M0ocdF-SFIeVS9H.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-DpCBBSNa.js → PromoBaseCards-BOGJI2ws-Bd5L3YzB.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-Bu7slYzO.js → QBOConnectionDialog-CmpnnuzP-XCWw1T7e.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-CMTxTGLB.js → QBOConnectionScreen-DyiJ4JcR.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-ChX7ka6s.js → QBOSetupSection-DjnN9dgv-CGeaN3MF.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-DZvURbe-.js → ReferralListScreen-Bkzznsdb.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-B0fTE5c5.js → ReimbursementApprovalRoutes-D73sxTZT.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-DmbqRb9l.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-RTXhOFXX.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE-klt57.js → ReimbursementApprovalRuleDetailScreen-C9KvQwlb.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-Cihs8V2H.js → ReimbursementApprovalRulesPage-BsCTIqUJ-y9iIyVcM.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BzrQK1ml.js → ReimbursementDetailPage-BbyxE2uL-CjU2ZRW2.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-DP-6P5yh.js → ReimbursementPromoPage-CyEgwqcf-BiXwmlKl.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-B0OQr3VA.js → ReimbursementRoutes-CorhAVOU.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-BsBBd9B_.js → ReimbursementSetUpPage-RETPkEQd-n4-kRF3Y.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DA9h4Ju5.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-CN381Qoq.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-Dw0wHj_z.js → ReloadCard-Bdoo0XiI-BNm210MB.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-DTQN43vt.js → ReportTableViewSelector-Bc1K7mU_-Cy1BUrpx.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-BOdMPGqx.js → ReportsPage-BOTHMLWh-D_-dXEBY.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DDZOhFNw.js → ReportsRoutes-D_LkjKwz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-Dep8qPIO.js → RevenueChart-DvyZ3aO7-BjoJQRxN.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-vpPb22cD.js → ReviewDetailsPage-BIMg1n2e-CE9WaiK4.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-7aZ79rRC.js → ReviewOverlay-CxwoiOLC-B6NT77pC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-Tsydnhre.js → RewardsRoutes-ButYppoj.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-C9PA5RE5.js → RoleWithToolTip-Ct3_VuDM-DkEEDwR-.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-P3n6us6f.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-DBiyLnZa.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-BWZmqAgS.js → ScheduleDetailsPage-5FWpLRtd-DgH3FQ8n.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-DKWBlbjs.js → ScheduleSequenceTable-R3-PsXES-KZ9zYu75.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-BshWKT8L.js → ScreenRoutes-EzM6Ydd3.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-s5rUPVRP.js → SetUpAccountSection-CctbMmoK-DwjJ4BtJ.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-D0MoVRRP.js → SettingsRoutes-lh5vJ2OM.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-ClrT9x-n.js → SetupPagesScreen-CukmySbN.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-DafJ0myc.js → SignIn-CmgmnRm4-DeaLljBV.js} +8 -8
  189. package/dist/assets/{SignInScreen-B0MWBUA7.js → SignInScreen-DjoZN01f.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BHQQUANt.js → SignOutScreen-CFmU8CDy.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-CZg1c21r.js → SpendManagementListViewPage-CFUxCqkU-DMTuDWWy.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DYiWnXoY.js → SpendManagementPerTabPage-C-kqNTci-DiLv13YG.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-CppRRTDr.js → SpendManagementSection-CIz4nE_w-jXzilgM5.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-D9Qua-97.js → StatementItem-vVtoBN2w-DVgkdNDz.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-D6FL0knM.js → StatementsPage-As5WOnMR-BfTMWiRj.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-wXJw_ZNb.js → StatusSwitcher-Bv-ozN6U-CgcpvjW-.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-PE6NJvqU.js → SubTabSwitcher-D7QeM6nb-BELJXk0-.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-BdMSXfoJ.js → SuccessAnimation-hijccO_0-UZ7dm-9w.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CKrqyyU_.js → SummaryCard-C2qoTsAY-Dz9k02Eh.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-i9Sljen6.js → TaskDetailPage-QMk4DTDK-Cs17FA2j.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DFbIcDmb.js → TaskListScreen-CkfRpdj8.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-BIKNCgym.js → TaskManagementPage-BJwp32Ph-CAO7CWbo.js} +30 -30
  203. package/dist/assets/{TaskRoutes-Co5GAtGe.js → TaskRoutes-CcB-Q1zz.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-CAiWb64s.js → TimeRangeSwitcher-D00bDDhP-b1dqxIeB.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--DbavpCXX.js → TimeframeSwitcher-DA99HdHt-C3Ujx8M-.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D7lbyLQ0.js → TimeframeSwitcherWithToggle-DyggDIQj-B_YzsezY.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BtE5RMXD.js → TopExCard-Z1WabZ8c-zJcPxoJa.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-ClCuoO0K.js → TopExDetailPage-CzHG4f9E-CZKu_hb8.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-BsaJX_wW.js → TransactionActivityLogPage-CGKnjNfU-iVhAyVkn.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-4K6JYgr_.js → TransactionDetailPage-1-mLOWSz-ie5urORO.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-CHu8_uXM.js → TransactionDetailRoutes-C5jgxPON.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-8ecVGvyF.js → TransactionDetailScreen-DvcKecE2.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-mPHBoCgm.js → TransactionList-BB-xoIGm-YJbrjnEY.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-BvX9nmmr.js → TransactionListBig-C5Sf5Xh--CRJPqIxU.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-BAS0ZQP4.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-BH0onuUu.js → TransactionListRoutes-DBB1bltM.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-INYYwexD.js → TransactionVendorDetailPage-SsrSOk3O-BzjiNCrH.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-DvswHDCp.js → TransferDrawerPage-BvKZ7vHF-CUzOXKi1.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-B8HEv02z.js → TreasuryOverviewPage-DwvjMR4_-C5WtCTwF.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-7ZtCK_x2.js → TreasuryPromoPage-CtTFvSQW-CyA0L_cp.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-DjIaFsbd.js → TreasuryRoutes-B7tar3cp.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-DvEtKvI_.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-q3-mZZiq.js → TreasuryTaxLetterPage-D8hzCL5o-CohSb0PE.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-BUN7WqwY.js → TrendChart-Bnp4Pcdf-DCChqqGN.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-DhBJ4ja-.js → TrendWithTransactions-3D1FvM8G-D7Q5CpQR.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BEadu1px.js → UncategorizedAccountsMappingPage-DbyY-dYB-CgK9m6hH.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-pBfy0J4D.js → UnitIntegrationPage-CTzme1te-BCEDVEN2.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-km4_SH9P.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BODbkPHU.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BX6NPq24.js → Vendor2FAPopup-D0zYKkIv-DyWWDryQ.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DQuZG9gT.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-BzpOC2Af.js → VendorDetailPage-Br9wIOnI-DP6KP6Ut.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-B-GCojoe.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-aKmowmhJ.js → VendorFiling1099EditablePage-himC7iD3-ClxIgwRL.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DK2E4A2j.js → VendorFirstReviewPage-BbknTCBD-RovDaIDG.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-COfy135o.js → VendorInternationalWireDetailsPage-CS595Xgc-ERuJR75i.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-fCMVA3J1.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-BhbRW82b.js → VendorsAccountsSection-CgSJu8wq-BQS4fhZH.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CDhATRU9.js → VendorsRoutes-DcygMIZA.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-eGBtSBPS.js → VerifyDevice-Dvf0JsNN-CB8BcwMO.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-FvFO3heV.js → VideoPlayer-VAzOGCDL-wDuMRrNt.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-TOybjXu5.js → VideoPopup-BqvZ-XIh-CcupyBnf.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-C1RA1Ldj.js → WiseConfirmationScreen-vXn0bv1e.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-Dui1mjq_.js → ZeniAccountDetailPage-GcwTJdB8-BH1p5Exo.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-CkMXwzu4.js → ZeniAccountListViewPage-CdwO0Duy-chh0GNPr.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-Dl7I8K_B.js → ZeniAccountNavBarPieces-BrSIfL36-C8M5a-Xl.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-DbrBCcxq.js → ZeniAccountPromoPage-JrcedQYB-C9OxetFj.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CE8jZq_j.js → ZeniAccountRoutes-BzEN8rYp.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-Dn-mOjTr.js → ZeniAccountSetupPage-TKBfbgzJ-SmuqHJrQ.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-DDPrZzz9.js → ZeniAccountStatementScreen-DNnNKmyq.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-ByE5Nx_e.js → ZeniAvatar-Bzhq25CU-BxvzIJer.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-BLgnKSEe.js → ZeniCopyright-DglqrTpl-CP7BZGoe.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-D5GIgjl0.js → ZeniDatePicker-BHXPxPnI-BI0pX8OM.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-BwjTfvmr.js → ZeniTransferAmountSlider-BcaZZuAw-u6ZS6yfX.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-DnytOxBh.js → accountMappingHelper-BjmwXnMU.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BDS4bqaK.js → add-to-wallet-DgdBD8_G-XHgsfW1I.js} +1 -1
  256. package/dist/assets/{analytics-lZopEqtI.js → analytics-BmL_Mqn9.js} +1 -1
  257. package/dist/assets/{analyticsHelper-sSJGGzsr.js → analyticsHelper-BtjSH59c.js} +1 -1
  258. package/dist/assets/{analyticsHelper-AeOsAjMK-9GsVy5uR.js → analyticsHelper-CAYdbjhS-BnnKI2y0.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-PZQhaHEw.js → arrow-south-east-round-PEovUgvH-BdWzIcGx.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BJqlTaL4.js → auto-transfer-rule-mbafm5D3-BAdtTROp.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-D-qe2ybq.js → avatar-Dz7aEm3d-MxMPiump.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-BAI3BcgX.js → bank-letter-BOcVjN6J-rIPdgfrX.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-H8aFTaA8.js → calculateSize-B2w5JPEU-B2193rmC.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-BTfpmJqx.js → chartTypes-CD3vrBsI-FkvIOOpd.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-Aj8yCCM3.js → clock-CJkylEKt-ERYnohhO.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-C27avmxt.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-LC7HUPCB.js → commonDimensions-Oz1tdAcx-CfFEyvRP.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-bGKW9_Lf.js → commonTypes-5tEXwrX4-vaDEJyz_.js} +1 -1
  269. package/dist/assets/{core-CbpF8wW5.js → core-DuAc0oH1.js} +1 -1
  270. package/dist/assets/{dash.all.min-8b6mRaf1.js → dash.all.min-BzamULic.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-CqkAxC0p.js → decodeURIComponentSafe-BqKl1gNh.js} +1 -1
  272. package/dist/assets/{dnd-PN_2LgQk.js → dnd-C4MpAW48.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BhSn6DYS.js → dollar-round-D18u7nlm-BE7BByQ1.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-DumpN6AC.js → downloadPdf-Dsuxeias-Cexusisr.js} +1 -1
  275. package/dist/assets/{empty-BvRt8sTu.js → empty-C78V83Pd.js} +1 -1
  276. package/dist/assets/{empty-Ccpah3HZ.js → empty-YHOSZjbJ.js} +1 -1
  277. package/dist/assets/{epic-G4Y_asZ_.js → epic-CXPZHXyZ.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CAMGerao.js → filter-cZIFUNvj-COBOGQ-F.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-BAdWD_sf.js → getLocaleForTenant-BvZsYiJJ.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CxU0MaIs.js → gift-box-Cmt9OgIZ-BjYV9BWl.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DMougQJz.js → graphic-no-data-l-DU4J8fDt-B33QXo27.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Q8dYUrIm.js → graphic-no-data-net-burn-l-CzmycA0m-lURz_iBc.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DJv997hY.js → handshake-BPg58FML-PXK0cnyp.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--BSBoxTwN.js → helper-Ckm10Uko-Cc4naTj-.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-ByO7QjF0.js → hyperlink-DQyCeXx2-Cu6UNYTo.js} +1 -1
  286. package/dist/assets/{index-C5NS4k1k.js → index-BBHMk1WY.js} +6 -6
  287. package/dist/assets/{index-bFwDyqSe.js → index-Bi4ZzIhY.js} +1 -1
  288. package/dist/assets/{index-CtaVzrbN.js → index-BpucRcXX.js} +1 -1
  289. package/dist/assets/{index-Ir5iePqW.js → index-Cb3Lx8nN.js} +1 -1
  290. package/dist/assets/{index-BScUKNNV.js → index-Dcgkc5Uw.js} +1 -1
  291. package/dist/assets/{index-C2kgfwQ0.js → index-GCvrHOxC.js} +1 -1
  292. package/dist/assets/{lexical-wFFjFeQS.js → lexical-C-PBbg8f.js} +1 -1
  293. package/dist/assets/{liveblocks-DAzt4XWX.js → liveblocks-Bpp30XUG.js} +1 -1
  294. package/dist/assets/{lottie-DCpFrhzh.js → lottie-gxzZnsHo.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-Byx1Srtx.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CYHAjMYB.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CH-BVZKz.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CzikBZEb.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-CNnw8Wla.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-BCdK4cAS.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-Df6749Xj.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-D3MVK9I-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-D1Xb-9er.js} +1 -1
  301. package/dist/assets/{media-player-CfnH7IPR.js → media-player-CWWFLNbp.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DfhxL46u.js → money-2cg1MuG4-DWYsTA72.js} +1 -1
  303. package/dist/assets/{mui-CsJjaFS3.js → mui-dGxW217w.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BqAM7jrq.js → page-detail-CWX5S47F-BWn2WsT0.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BEqozVIp.js → page-summary-D7_VQHwN-4LeFKTgY.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-_TcaqYgi.js → panelSelectedMixin-Cddsb26L-C9S2YMFT.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BfqJ0YlJ.js → pathToGoBack-DwmMyQdy.js} +1 -1
  308. package/dist/assets/{pdf-CotdgJU1.js → pdf-DjWcNDdq.js} +3 -3
  309. package/dist/assets/{pdf-lib-D_D0fjcQ.js → pdf-lib-CB_AtnKr.js} +1 -1
  310. package/dist/assets/{plaid-BTCtHWVp.js → plaid-LGb0iu_7.js} +1 -1
  311. package/dist/assets/{pusher-BQ8DKEaa.js → pusher-loHOXAjv.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-Bf3NugY4.js → radio-default-CiSgisfh-DhEizgYr.js} +1 -1
  313. package/dist/assets/{react-BBeDYsAV.js → react-B5CCxyo8.js} +1 -1
  314. package/dist/assets/{react-BqQ4cQqX.js → react-BFrkFTnv.js} +1 -1
  315. package/dist/assets/{react-DPwINmE2.js → react-CIp0Yw0U.js} +1 -1
  316. package/dist/assets/{react-DXQJSc1U.js → react-DlnoroXE.js} +1 -1
  317. package/dist/assets/{react-DqT05IJk.js → react-DonvuThB.js} +1 -1
  318. package/dist/assets/{react-BUIAuHwU.js → react-Dvfu-jiD.js} +3 -3
  319. package/dist/assets/{react-qeQ53cUY.js → react-NMWrA8Xh.js} +1 -1
  320. package/dist/assets/{react-D_8V1wyK.js → react-zRFF7aUz.js} +1 -1
  321. package/dist/assets/{recharts-Z1H4NIT9.js → recharts-CNVQrnca.js} +1 -1
  322. package/dist/assets/{routePaths-Canmm7cj.js → routePaths-D4MJQpeF.js} +1 -1
  323. package/dist/assets/{sentry-B7C9wEq0.js → sentry-BHW-o2_3.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-Bj4akX0-.js → shield-DOlUxcFf-CmaA04GF.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BgiUCsPc.js → spend-limit-D6SyboD4-MYaa6js9.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-hl6knpCK.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-Dqms1_zM.js → toChartData-DUL6vnzJ-Bfkqesey.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-C1Qe8Rh2.js → transaction-placeholder-CpOwZAMG-BxMvgbSM.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-eTBdG90-.js → undo-b_3XZ5CX-zHeOXoYp.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-Bw2sQZ5n.js → unlock-BPWn2I5L-CM_x1_IF.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CnNIPHqW.js → upload-reimbursement-receipt-O2N8vcO7-CsOkkjaO.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-FsVc9-o9.js → uploadAttachment-Ck4wivBR-Cq4Hbbxz.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-w07yQGh1.js → uploadReceipts-CIgkuVpu-BsH_IJrm.js} +1 -1
  334. package/dist/assets/{url-B_60JuDM.js → url-9ygz9Slk.js} +1 -1
  335. package/dist/assets/{url-BvfHN6gt.js → url-B9FYGPSg.js} +1 -1
  336. package/dist/assets/{useDeviceId-BrDKA5Dy.js → useDeviceId-DejDIbww.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-CpkcHK8z.js → useInitialThreadRequest-B7i_KMco.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-nY-Uopy3.js → useLongPress-GCK2COYQ-BldzqPkV.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DadTGyfk.js → usp-line-BBd1wKwW-bSCjhzHC.js} +1 -1
  340. package/dist/assets/{utils-DSKkIaRb.js → utils-BAYl7YTg.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BJJbIkbE.js → withTransactionSidePanel-uSCjZtP0.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CjUXhad7.js → zeni-epic-state-DhC3A3VG.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DmigVd7z.js → zeni-icon-only-qq9leULW.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-2cCezdu3.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-tY3-Fkrr.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-D-eeATAS.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-B6A43An0.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-B2lt5fG2.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BbB2fOP5.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-_LZsKMKD.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BXzJ0B3q.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-DKgp0Chf.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-hgGDkayb.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-9PxBYnWw.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-Cg71CfBs.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-xqt4JjCQ.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bcfg0w4a.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-Ds0ralM2.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DxxL_aBl.js +0 -1
  362. package/dist/assets/common-CAmBErdt-gt_uFFPU.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BiIcVS7d.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-DaSaAPgD.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-qKxAkbp_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-DXg0RqcA.js +0 -1
@@ -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-C5NS4k1k.js";import{a as S}from"./sentry-B7C9wEq0.js";import{n}from"./mui-CsJjaFS3.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-C5NS4k1k.js";import{a as b}from"./sentry-B7C9wEq0.js";import{n as t}from"./mui-CsJjaFS3.js";import"./pdf-CotdgJU1.js";import"./zeni-epic-state-CjUXhad7.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.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-C5NS4k1k.js";import{n as r}from"./mui-CsJjaFS3.js";import{b as S}from"./sentry-B7C9wEq0.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 fe,e as Se,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 X,l as Le,m as $}from"./index-C5NS4k1k.js";import{n as c}from"./mui-CsJjaFS3.js";import{a as O}from"./sentry-B7C9wEq0.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-kM5f4mlx.js";import"./pdf-CotdgJU1.js";import"./zeni-epic-state-CjUXhad7.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-B3mnx2x_-bGKW9_Lf.js";import"./SetUpAccountSection-CxjYbrXu-s5rUPVRP.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]="8315585f-6d7d-40a4-929d-246522a70f93",e._sentryDebugIdIdentifier="sentry-dbid-8315585f-6d7d-40a4-929d-246522a70f93")}catch{}})();const ee="onboardingPaymentAccountSetupSection",re="customerOnboardingNoStepsDetailPage",t="onboardingSubscriptionBillingAddress",Y={titleWidth:new X(343,580,726,826),subTitlePaddingTop:new X($[3],$[3]),subTitlePaddingBottom:new X($[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=Se(),M=de(),{analytics:C}=M,{onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:N,onUpdatePaymentAccountLoginStatus:G,onEstablishConnectionClick:P,onEstablishConnectionSuccess:Z,handleLogOutClick:q,onZeniLogoClick:H,onAddressEditHandler:I}=K,J=Ce(),o=Pe({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:le,saveStatus:g,paymentAccount:A,paymentAccountStatus:ce,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(le).findIndex(d=>d?.isSelectedForVerification===!0)??0,ye=`Officer_${ie<0?1:ie+1}`;O.useEffect(()=>{const d=o.watch((l,{name:i})=>{i!=null&&l!=null&&we(()=>(async(r,s)=>{if(r.includes(t)&&s[t]!=null){const f=o.getValues(`${t}`).country;let S=s[t];if(r.includes(`${t}.street`)&&s[t].street!=null){const{addressValue:b}=s[t].street,W=Ve(b?.country);S={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},f.selectedOption!==W.selectedOption&&(S={...S,country:W})}else(r===`${t}.country`&&f.selectedOption!=null||f.selectedOption!=null&&r.includes(`${t}.street`)===!1)&&(S={...S,countryCode:je(f.selectedOption)});I(S)}})(i,l))});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"),l=A?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,r=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return d&&l||!l&&!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:H})})}),n.jsx(Ie,{...o,children:n.jsx(Re,{id:Ee(re),children:n.jsxs(Me,{children:[n.jsx(qe,{windowSize:m,children:ae.sectionSubTitle}),n.jsx(_e,{connectedAccountProvider:u,paymentAccount:A,accountStatus:ce,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:q})}),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),l=await o.trigger(ee);d&&l&&((()=>{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),l=y?.street.join("").trim(),i=y?.city,r=y?.state,s=y?.country,f=y?.postalCode!=null&&y.postalCode||d.postalCode||h.strings.empty;return!!(l&&i&&r&&s&&f)}()&&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=c.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;
@@ -6,7 +6,7 @@ import{h as de,V as n,f0 as fe,e as Se,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
6
6
  width: 100%;
7
7
  padding-left: ${a.sp0};
8
8
  }
9
- `,Ke=c.div`
9
+ `,Ke=l.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
@@ -23,15 +23,15 @@ import{h as de,V as n,f0 as fe,e as Se,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
23
23
  ${e=>e.theme.breakpoints.down("lg")} {
24
24
  background-size: cover;
25
25
  }
26
- `,Me=c.div`
26
+ `,Me=l.div`
27
27
  display: flex;
28
28
  height: 100%;
29
29
  flex-direction: column;
30
30
  padding-bottom: ${a.sp0};
31
- `,Re=c.form`
31
+ `,Re=l.form`
32
32
  padding-top: ${a.sp0};
33
33
  flex: 1;
34
- `,Ne=c.div`
34
+ `,Ne=l.div`
35
35
  display: flex;
36
36
  height: ${a.sp7};
37
37
  left: ${a.sp4};
@@ -40,25 +40,25 @@ import{h as de,V as n,f0 as fe,e as Se,y as Ce,T as Pe,a7 as be,c8 as we,a_ as x
40
40
  justify-content: center;
41
41
  align-items: center;
42
42
  cursor: default;
43
- `,Ge=c.div`
43
+ `,Ge=l.div`
44
44
  display: flex;
45
- `,Ze=c(Te)`
45
+ `,Ze=l(Te)`
46
46
  height: ${a.sp4};
47
47
  width: 102px;
48
48
  color: ${e=>e.theme.colors.primary};
49
49
  cursor: pointer;
50
50
  flex-shrink: 0;
51
51
  margin-left: -${a.sp4};
52
- `,qe=c(Le)`
52
+ `,He=l(Le)`
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  display: flex;
55
55
  justify-content: center;
56
- width: ${e=>Y.titleWidth.valuePx(e.windowSize)};
57
- padding-top: ${e=>Y.subTitlePaddingTop.valuePx(e.windowSize)};
58
- padding-bottom: ${e=>Y.subTitlePaddingBottom.valuePx(e.windowSize)};
56
+ width: ${e=>X.titleWidth.valuePx(e.windowSize)};
57
+ padding-top: ${e=>X.subTitlePaddingTop.valuePx(e.windowSize)};
58
+ padding-bottom: ${e=>X.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,V=e=>({[ee]:{account:{allOptions:[],selectedOption:void 0}},[t]:$e(t,e?.subscriptionBillingAddress)[t]}),mt=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:j,currentTenant:T,isOnAddressPage:w,stripeKey:L,googleAPIKey:_,meetingUrl:z,onUpdateStep:B,onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,handleFetchPaymentSources:F,updateCardPaymentModalState:K,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}=e,{allSteps:N,currentStep:G,fetchStatus:P}=u,Z=de(),{analytics:q}=Z,H={allSteps:N,isOnAddressPage:w,currentStep:G,fetchStatus:P,signedInUser:j,currentTenant:T,onUpdateStep:J=>{B(J)},onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,redirectToProductSuitePage:C},I=P.fetchState==="In-Progress"||P.fetchState==="Not-Started";return n.jsxs(He,{isOnAddressPage:w,children:[I?n.jsx(Be,{isNoStepsPage:!0}):n.jsx(De,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,updateCardPaymentModalState:K,handleFetchPaymentSources:F,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:L,googleAPIKey:_,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}),I?null:n.jsx(fe,{isFooterRendered:!0,meetingUrl:z,analytics:q,productType:"onboarding"})]})},He=c.div`
61
+ `,V=e=>({[ee]:{account:{allOptions:[],selectedOption:void 0}},[t]:$e(t,e?.subscriptionBillingAddress)[t]}),mt=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:j,currentTenant:T,isOnAddressPage:w,stripeKey:L,googleAPIKey:_,meetingUrl:z,onUpdateStep:B,onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,handleFetchPaymentSources:F,updateCardPaymentModalState:K,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}=e,{allSteps:N,currentStep:G,fetchStatus:P}=u,Z=de(),{analytics:H}=Z,q={allSteps:N,isOnAddressPage:w,currentStep:G,fetchStatus:P,signedInUser:j,currentTenant:T,onUpdateStep:J=>{B(J)},onZeniLogoClick:x,handleLogOutClick:E,handleCockpitClick:U,redirectToProductSuitePage:C},I=P.fetchState==="In-Progress"||P.fetchState==="Not-Started";return n.jsxs(qe,{isOnAddressPage:w,children:[I?n.jsx(Be,{isNoStepsPage:!0}):n.jsx(De,{...q,onboardingCustomerView:u,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:k,updateCardPaymentModalState:K,handleFetchPaymentSources:F,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:L,googleAPIKey:_,handleResetCardPaymentErrorStatuses:M,redirectToProductSuitePage:C,...R}),I?null:n.jsx(Se,{isFooterRendered:!0,meetingUrl:z,analytics:H,productType:"onboarding"})]})},qe=l.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,8 +1,8 @@
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-C5NS4k1k.js";import{a as m}from"./sentry-B7C9wEq0.js";import{n as x,k as xt}from"./mui-CsJjaFS3.js";import{bQ as B,FH as rn,FI as cn}from"./zeni-epic-state-CjUXhad7.js";import{r as Ct,t as ln}from"./PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js";import{b as bt,f as dn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CWNyUuRp-kM5f4mlx.js";import{z as pn,r as un}from"./CompanyOfficerDetailsSection-BSFNYauO-D850YK66.js";import{t as mn}from"./QBOSetupSection-DDoUJ7L6-ChX7ka6s.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./stripe-DMRn4zHo.js";import"./commonTypes-B3mnx2x_-bGKW9_Lf.js";import"./SetUpAccountSection-CxjYbrXu-s5rUPVRP.js";import"./helper-BVESv00--BSBoxTwN.js";import"./LabeledAddressValueField-Dl3atH92-C9wYUqfv.js";import"./LabeledCountryMultiSelectField-BnljZpX0-BbXC-8fZ.js";import"./LabeledCreatableSingleSelectField-CiInq9yD-DRsosHBZ.js";import"./LabeledDocumentField-Ceb8vgVH-BZkKKAqB.js";import"./LabeledNameField-BdVztq_8-D10OpiZc.js";import"./avatar-Dz7aEm3d-D-qe2ybq.js";import"./QBOConnectionDialog-BIg9Iais-Bu7slYzO.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]="fccbbf10-c418-495c-9c55-2e83941625b1",a._sentryDebugIdIdentifier="sentry-dbid-fccbbf10-c418-495c-9c55-2e83941625b1")}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:V}=d,D=a?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(fn,{children:l.jsx(un,{companyOfficerData:C,allOfficers:T??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,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;
5
- `,gn=({allNationalityCountries:a,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:_,isCompleted:w,isDisabled:h,style:k,onCompanyAddressClick:f,onRegisteredAddressClick:T})=>{const d=Ye(),{company_details:V}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=V;return l.jsx(hn,{children:l.jsx(pn,{fileProps:C,companyDetails:r,sectionId:_,isDisabled:h,style:k,sectionHeader:D,productType:"onboarding",showInfoTooltip:d!=="small",showCompletedIcon:d==="small",isCompleted:w,allIndustries:g,allNationalityCountries:a,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:T})})},hn=x.div`
5
+ `,gn=({allNationalityCountries:a,fileProps:C,companyDetails:r,companyIndustries:g,sectionId:_,isCompleted:w,isDisabled:h,style:k,onCompanyAddressClick:f,onRegisteredAddressClick:T})=>{const d=Ye(),{company_details:N}=Ge.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=N;return l.jsx(hn,{children:l.jsx(pn,{fileProps:C,companyDetails:r,sectionId:_,isDisabled:h,style:k,sectionHeader:V,productType:"onboarding",showInfoTooltip:d!=="small",showCompletedIcon:d==="small",isCompleted:w,allIndustries:g,allNationalityCountries:a,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:T})})},hn=x.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
@@ -10,7 +10,7 @@ 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
10
10
  display: flex;
11
11
  `,Cn=x.input`
12
12
  display: none;
13
- `,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},z="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),Pn=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),Ne=m.useRef(null),Ve=m.useRef(null),G=m.useRef(null),De=m.useRef(null),[be,R]=m.useState(!1),[q,H]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Pe]=m.useState(!1),[ne,Z]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:N,onDeleteFile:Ze,onEditFileName:Je,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:K,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Nt,onUpdateStep:$e,onAddressEditHandler:Vt}=_e,Dt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();F?.(e)},[M,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=M();F?.(c)})});return()=>e.unsubscribe()},[s,M,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:Oe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),ze=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],Re=S.length,re=Me(v.fetchState),j=Me(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&n||!n&&!Q&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),n=J?.city,o=J?.state,c=J?.country,P=J?.postalCode!=null&&J.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&P)}const dt=Me(Q?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(z))A?.(c[z]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const P=s.getValues(`${y}`).country;let O=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,Ke=Ot(W?.country);O={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:Ke,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},P.selectedOption!==Ke.selectedOption&&(O={...O,country:Ke})}else(o===`${y}.country`&&P.selectedOption!=null||P.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(O={...O,countryCode:tn(P.selectedOption)});Vt(O)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,Oe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,Oe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(Z(null),K(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,K]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===Re-1&&S.indexOf(i)===0?q!=="next"&&H("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===Re-1)&&q!=="previous"&&H("previous"))},[S,i,j,q,Re]);const pt=()=>{const e=L[$];return!!(e?.firstName||e?.lastName||e?.email||e?.nationalityCountryCode||e?.birthday||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0)},Bt=!Qe(ot!=null?B(ot):null,ze!=null?B(ze):null),zt=!Qe(it!=null?B(it):null,we!=null?B(we):null),Ut=!Qe(st!=null?B(st):null,Ue!=null?B(Ue):null),Rt=s.getFieldState(z).isDirty||zt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,P=X<0?0:X;let O=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${P}.name.firstName`,`${b}.${P}.name.lastName`],{shouldFocus:i==="company_officer"}),O=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${P}.email`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${P}.phone`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!0&&w==="unit"&&(xe.current!==""&&n===xe.current||(W=!0,s.setError(`${b}.${P}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),O=!1)),c!=null&&c>100&&(s.trigger(`${b}.${P}.ownership`,{shouldFocus:i==="company_officer"}),O=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${P}.ssn`,{shouldFocus:i==="company_officer"}),O=!1),{isValid:O,needsOtp:W,phoneNumber:n}},Ht=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${z}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${z}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${z}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${z}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Kt=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Mt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Dt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Nn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Zt,{...s,children:l.jsx(Dn,{id:In(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let n=Ne;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:N,updateCardPaymentModalState:D,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:He,googleAPIKey:T,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Nt}),n=Ve;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:Oe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,ze?.addressId),updateFilesEntity:Xe,onEditFileName:Je,onDeleteFile:Ze,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=De;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Je,onDeleteFile:Ze,updateFilesEntity:Xe},allNationalityCountries:Oe,sectionId:z,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Vn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Jt,{formId:`${Pt}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Pe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=M();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):K(i,"next",!0)},200):K(i,"next",!0);break;case"qbo_connection":K(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=M();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else K(i,"next",!0);break;case"company_details":Pe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=M();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(Rt||qe||!ke?.email){const e=Ht(),t=qe?mt():{isValid:!0};ye(()=>{const n=M();F?.(n)}),e&&t.isValid?(Ee&&(R(!0),Kt()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():K(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{K(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:V,updateCardPaymentModalState:D,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:He,setCardSetupInProgress:Mt})]})},On=xt`
13
+ `,bn=({isValid:a,sectionId:C="onboardingQboConnection",...r})=>{const{register:g}=nn();return l.jsxs(Sn,{children:[l.jsx(Cn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:a?"true":"false"}),l.jsx(mn,{isValid:a,...r})]})},z="companyDetails",b="companyOfficer",ee="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",he="onboardingQboConnection",Se={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Y[5],Y[9],112),subTitlePaddingTop:new fe(Y[3],Y[3]),subTitlePaddingBottom:new fe(Y[3],Y[3])},In=a=>`${a}_form`,le=Ge.getLocalizedStrings(),Pn=({fileProps:a,isRefreshingViewInBackground:C,isAdmin:r,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:w,analytics:h,cardPaymentView:k,stripeKey:f,googleAPIKey:T,handleCreateCardSetupIntent:d,handleConfirmCardSetupIntent:N,updateCardPaymentModalState:V,handleAddCardPaymentSource:I,resetCardPaymentViewState:te,handleResetCardPaymentErrorStatuses:ve,redirectToProductSuitePage:Ce,onFormErrorsChange:F,..._e})=>{const U=Ye(),De=m.useRef(null),Ne=m.useRef(null),G=m.useRef(null),Ve=m.useRef(null),[be,R]=m.useState(!1),[q,K]=m.useState("next"),[E,Ie]=m.useState(!1),[de,Pe]=m.useState(!1),[ne,Z]=m.useState(null),{onAddressClick:ae,onCompanyDetailsChanged:A,onCompanyOfficerUpdated:Ae,onFetchLinkTokenClick:pe,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionClick:ie,onEstablishConnectionSuccess:D,onDeleteFile:Ze,onEditFileName:Je,updateFilesEntity:Xe,onGetOtp:wt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:vt,handleOnConnectClick:_t,updateQBOPopupState:Dt,onUpdateStep:$e,onAddressEditHandler:Nt}=_e,Vt=Wt(),s=Yt({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(ee).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(he).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();F?.(e)},[M,F]),m.useEffect(()=>{const e=s.watch((t,{name:n,type:o})=>{n!=null&&(o==="change"||o==="blur")&&ye(()=>{const c=M();F?.(c)})});return()=>e.unsubscribe()},[s,M,F]);const et=e=>{at(e)},{companyView:se,companyDetailsLocalData:p,companyOfficerLocalData:L,currentStep:i,completedSteps:tt,saveStatus:v,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:nt,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:Oe,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(o=>o?.isSelectedForVerification===!0)??0,n=t<0?0:t;s.clearErrors(`${b}.${n}.phone`)},at=e=>{e==null||ge(e)?wt(e):s.trigger(`${b}.${X}.phone`)},X=Object.values(L).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${X<0?1:X+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),ze=L[$]?.userId!=null?$t?.find(e=>e.user.userId===L[$]?.userId)?.address:null,ot=L[$]?.addressStatus?.addressToCreate,we=se?.companyAddress,it=p?.addressStatus?.addressToCreate,Ue=se?.registeredAddress,st=p?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:u}=le,{footer:Lt,steps:jt}=Et,{buttons:rt}=Lt,ct=jt[i],Re=S.length,re=Me(v.fetchState),j=Me(i),me=()=>{const e=Object.values(je).some(c=>c.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,n=k.cardsList.length>0,o=k.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&n||!n&&!Q&&o};function lt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),n=J?.city,o=J?.state,c=J?.country,P=J?.postalCode!=null&&J.postalCode||e.postalCode||u.strings.empty;return!!(t&&n&&o&&c&&P)}const dt=Me(Q?.providerVerificationStatus?.code);m.useEffect(()=>{dt==="pending_manual_verification"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,dt]),m.useEffect(()=>{const e=s.watch((t,{name:n})=>{n!=null&&t!=null&&ye(()=>(async(o,c)=>{if(o.includes(z))A?.(c[z]);else if(o.includes(b))Ae?.(c[b]);else if(o.includes(y)&&c[y]!=null){const P=s.getValues(`${y}`).country;let O=c[y];if(o.includes(`${y}.street`)&&c[y].street!=null){const{addressValue:W}=c[y].street,He=Ot(W?.country);O={street:c[y].street??u.strings.empty,city:W?.locality??u.strings.empty,state:W?.administrativeAreaLevel1??u.strings.empty,country:He,countryCode:W?.countryCode??u.strings.empty,postalCode:W?.postalCode??u.strings.empty,secondaryInfo:c[y].secondaryInfo,suite:c[y].suite},P.selectedOption!==He.selectedOption&&(O={...O,country:He})}else(o===`${y}.country`&&P.selectedOption!=null||P.selectedOption!=null&&o.includes(`${y}.street`)===!1)&&(O={...O,countryCode:tn(P.selectedOption)});Nt(O)}})(n,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{re==="In-Progress"&&v.fetchState==="Completed"&&(s.reset(We(g,Oe),{keepDirtyValues:!1}),j==="company_details"&&i==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Ce())},[s,g,re,v.fetchState,Oe,j,i,S,Ce]),m.useEffect(()=>{be&&re==="In-Progress"&&v.fetchState==="Completed"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},[re,be,v.fetchState,Te]),m.useEffect(()=>{ne?.shouldNavigate===!0&&re==="In-Progress"&&v.fetchState==="Completed"&&(Z(null),H(ne.fromStep,ne.stepDirection,!0))},[ne,re,v.fetchState,H]),m.useLayoutEffect(()=>{j!=null&&j!==i&&(S.indexOf(j)===S.indexOf(i)-1||S.indexOf(j)===Re-1&&S.indexOf(i)===0?q!=="next"&&K("next"):(S.indexOf(j)-1===S.indexOf(i)||S.indexOf(j)===0&&S.indexOf(i)===Re-1)&&q!=="previous"&&K("previous"))},[S,i,j,q,Re]);const pt=()=>{const e=L[$];return!!(e?.firstName||e?.lastName||e?.email||e?.nationalityCountryCode||e?.birthday||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0)},Bt=!Qe(ot!=null?B(ot):null,ze!=null?B(ze):null),zt=!Qe(it!=null?B(it):null,we!=null?B(we):null),Ut=!Qe(st!=null?B(st):null,Ue!=null?B(Ue):null),Rt=s.getFieldState(z).isDirty||zt||Ut||At,qe=s.getFieldState(b).isDirty&&pt()||Bt||Tt,ut=s.getFieldState(`${y}`).isDirty,ke=p?.primaryContactLocalData,qt=()=>{v.fetchState!=="In-Progress"&&(Te(),h.track(ft.Event.onboardingSkipAndSave))},mt=()=>{const e=L[$],t=e?.email??u.strings.empty,n=e?.phone??u.strings.empty,o=e?.ssn??u.strings.empty,c=e?.ownershipInCompany,P=X<0?0:X;let O=!0,W=!1;return t&&!(e?.firstName&&e?.lastName)&&(s.trigger([`${b}.${P}.name.firstName`,`${b}.${P}.name.lastName`],{shouldFocus:i==="company_officer"}),O=!1),(!t&&pt()||St.test(t)===!1)&&(s.trigger(`${b}.${P}.email`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!1&&(s.trigger(`${b}.${P}.phone`,{shouldFocus:i==="company_officer"}),O=!1),n&&ge(n)===!0&&w==="unit"&&(xe.current!==""&&n===xe.current||(W=!0,s.setError(`${b}.${P}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:i==="company_officer"}),O=!1)),c!=null&&c>100&&(s.trigger(`${b}.${P}.ownership`,{shouldFocus:i==="company_officer"}),O=!1),o&&sn.test(o)===!1&&(s.trigger(`${b}.${P}.ssn`,{shouldFocus:i==="company_officer"}),O=!1),{isValid:O,needsOtp:W,phoneNumber:n}},Kt=()=>{const e=p?.website?.toString()??u.strings.empty,t=p?.phone??u.strings.empty,n=p?.taxIdOrEIN??u.strings.empty,o=p?.primaryContactLocalData?.email??u.strings.empty;let c=!0;return e&&ht.test(e)===!1&&(s.trigger(`${z}.companyWebsite`,{shouldFocus:i==="company_details"}),c=!1),ht.lastIndex=0,t&&ge(t)===!1&&(s.trigger(`${z}.companyPhone`,{shouldFocus:i==="company_details"}),c=!1),(!o||St.test(o)===!1)&&(s.trigger(`${z}.primaryContactEmail`,{shouldFocus:i==="company_details"}),c=!1),n&&on.test(n)===!1&&(s.trigger(`${z}.companyTaxId`,{shouldFocus:i==="company_details"}),c=!1),c},yt=()=>{const e=L[$];return{email:e?.email??u.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?B(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Ht=()=>{const e=p?.primaryContactLocalData;h.trackBusinessVerificationSave(yt(),{companyDescription:p?.companyDescription,legalName:p?.companyLegalName,phone:p?.phone,website:p?.website?.toString(),industry:p?.companyIndustry??u.strings.empty,formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[Ke,Mt]=m.useState(!1);return l.jsxs(wn,{children:[l.jsxs(kn,{windowSize:U,children:[S.indexOf(i)>=0?l.jsx(Gt,{title:ct.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:U!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:ce.sp0,paddingBottom:ce.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(vn,{windowSize:U,children:l.jsx(Dn,{windowSize:U,children:l.jsx(_n,{})})}),l.jsx(Zt,{...s,children:l.jsx(Vn,{id:In(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:D,cardPaymentView:k,resetCardPaymentViewState:te,updateCardPaymentModalState:V,cardSetupInProgress:Ke,subscriptionBillingAddressSectionId:y});let n=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:w,paymentAccount:Q,accountStatus:nt,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:ee,hasError:s.getFieldState(ee).error!=null||de&&!me(),isValid:me(),analytics:h,onFetchLinkTokenClick:pe,onEstablishConnectionClick:ie,onUpdatePaymentAccountStatus:oe,onUpdatePaymentAccountLoginStatus:ue,onEstablishConnectionSuccess:D,updateCardPaymentModalState:V,cardPaymentView:k,resetCardPaymentViewState:te,cardSetupInProgress:Ke,googleAPIKey:T,subscriptionBillingAddress:J});break;case"qbo_connection":t=l.jsx(bn,{sectionId:he,hasError:s.getFieldState(he).error!=null,isAdmin:r,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:_t,updateQBOPopupState:Dt}),n=Ne;break;case"company_officer":t=l.jsx(yn,{companyOfficerLocalData:L,allNationalityCountries:Oe,isCompleted:tt.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:a.filesEndPoint,authParams:a.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:E,setIsVerificationPopupOpen:Ie,onGetOtp:et,onVerifyOtp:kt,onResendOtp:vt,onOfficerAddressClick:o=>ae(o,ze?.addressId),updateFilesEntity:Xe,onEditFileName:Je,onDeleteFile:Ze,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,triggerError:at}),n=Ve;break;case"company_details":t=l.jsx(gn,{fileProps:{...a,onEditFileName:Je,onDeleteFile:Ze,updateFilesEntity:Xe},allNationalityCountries:Oe,sectionId:z,companyIndustries:g.companyIndustries,companyDetails:p,isDisabled:v.fetchState==="In-Progress"?"readonly":void 0,isCompleted:tt.includes("company_details"),onCompanyAddressClick:o=>{const c=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ae(o,we?.addressId==null&&c!=null?c:we?.addressId)},onRegisteredAddressClick:o=>ae(o,Ue?.addressId)}),n=G}return l.jsxs(Nn,{ref:n,isVisible:i===e,includeAnimation:i==="link_payment_account"||i==="qbo_connection"?!Be.isQBOPopupOpen:i!=="company_officer"||!E,paddingBottom:e==="company_details"||e==="company_officer"?Y[6]:Y[0],stepAnimationDirection:q,children:[S.indexOf(i)>=0?l.jsx(An,{windowSize:U,children:ct.sectionSubTitle}):null,t]},e)})})}),l.jsx(Jt,{formId:`${Pt}`,style:{width:U==="small"?"auto":"100%",paddingTop:ce.sp2,paddingBottom:ce.sp2},primaryBtn:{onClick:()=>{switch(Pe(!1),i){case"link_payment_account":ut?setTimeout(()=>{const e=M();F?.(e),lt()&&ut?((()=>{const t=s.getValues(y),n={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??u.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(n)})(),Fe($,!1,!0),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):H(i,"next",!0)},200):H(i,"next",!0);break;case"qbo_connection":H(i,"next",!0);break;case"company_officer":if(qe){const e=mt();if(ye(()=>{const t=M();F?.(t)}),e.needsOtp&&e.phoneNumber&&ge(e.phoneNumber)){const t=s.formState.errors[b]?.[X<0?0:X],n=t?.phone,o=t!=null&&Object.keys(t).some(c=>c!=="phone"&&t[c]!=null);if(n!=null&&!o)return void et(e.phoneNumber)}e.isValid&&(Fe($,!1,!1),h.trackOnboardingCompanyOfficerSave(yt(),{legalName:p?.companyLegalName},(()=>{const t=L[$],n=[];return t?.firstName!=null&&t.firstName!==u.strings.empty&&n.push("first_name"),t?.lastName!=null&&t.lastName!==u.strings.empty&&n.push("last_name"),t?.birthday!=null&&n.push("dob"),t?.nationalityCountryCode!=null&&n.push("nationality"),t?.addressStatus?.addressToCreate!=null&&n.push("address"),t?.phone!=null&&t.phone!==u.strings.empty&&t.isPhoneVerified===!0&&n.push("phone"),t?.titleAtCompany!=null&&t.titleAtCompany!==u.strings.empty&&n.push("company_role"),t?.ownershipInCompany!=null&&n.push("ownership"),t?.ssn!=null&&t.ssn!==u.strings.empty&&n.push("ssn"),t?.documentTypeSelectedForVerification!=null&&n.push("document_type"),t?.fileIds!=null&&t.fileIds.length>0&&n.push("document_uploaded"),{completedFields:n,status:n.length===11?"complete":n.length>0?"partially_complete":"incomplete"}})()),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"}))}else H(i,"next",!0);break;case"company_details":Pe(!0);{const e=!(lt()&&me()),t=!Le?.accounting[0]?.isValid&&S.includes("qbo_connection");if(e||t)return e&&(s.trigger(`${ee}`),s.trigger(`${y}`)),t&&s.trigger(he),ye(()=>{const n=M();F?.(n)}),void(e?$e("link_payment_account"):t&&$e("qbo_connection"))}if(Rt||qe||!ke?.email){const e=Kt(),t=qe?mt():{isValid:!0};ye(()=>{const n=M();F?.(n)}),e&&t.isValid?(Ee&&(R(!0),Ht()),Fe($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:p?.companyDescription,legalName:p?.companyLegalName,industry:p?.companyIndustry??u.strings.empty,incDate:p?.incDate?.toString(),phone:p?.phone,website:p?.website?.toString(),formattedAddress:p?.addressStatus?.addressToCreate!=null?B(p?.addressStatus?.addressToCreate):void 0},(()=>{const n=p,o=[];return n?.companyLegalName!=null&&o.push("legal_name"),n?.companyDescription!=null&&n?.companyDescription!==u.strings.empty&&o.push("company_description"),n?.addressStatus?.addressToCreate!=null&&o.push("company_address"),n?.registeredAddressStatus?.addressToCreate!=null&&o.push("registered_address"),n?.website!=null&&o.push("website"),n?.companyIndustry!=null&&n?.companyIndustry!==u.strings.empty&&o.push("industry"),n?.typeOfIncorporation!=null&&n?.typeOfIncorporation!==u.strings.empty&&o.push("type_of_incorporation"),n?.incDate!=null&&o.push("inc_date"),n?.phone!=null&&o.push("phone"),n?.primaryContactLocalData?.firstName!=null&&n?.primaryContactLocalData?.lastName!=null&&o.push("primary_contact_name"),n?.primaryContactLocalData?.email!=null&&o.push("primary_contact_email"),n?.taxIdOrEIN!=null&&o.push("tax_id_or_ein"),n?.companyFiles.find(c=>c.documentType==="certificate_of_incorporation")!=null&&o.push("certificate_of_incorporation"),n?.companyFiles.find(c=>c.documentType==="tax_ein")!=null&&o.push("ein"),{completedFields:o,status:o.length===14?"complete":o.length>0?"partially_complete":"incomplete"}})(),{firstName:ke?.firstName,lastName:ke?.lastName,email:ke?.email}),Z({fromStep:i,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?qt():H(i,"next",!0)}},label:i==="company_details"?u.footer.submit:rt.next,isLoading:v.fetchState==="In-Progress",isDisabled:v.fetchState==="In-Progress"},cancelBtn:{onClick:()=>{H(i,"previous",!0)},label:rt.back,isDisabled:v.fetchState==="In-Progress"||S.indexOf(i)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(ln,{handleConfirmCardSetupIntent:N,updateCardPaymentModalState:V,handleCreateCardSetupIntent:d,handleAddCardPaymentSource:I,cardPaymentView:k,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ve,cardSetupInProgress:Ke,setCardSetupInProgress:Mt})]})},On=xt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -63,13 +63,13 @@ 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
63
63
  align-items: center;
64
64
  text-align: center;
65
65
  width: ${a=>`calc(100% - ${Se.topNavBarLeftRightSpace.valuePx(a.windowSize)})`};
66
- `,_n=x.div``,Nn=x.div`
66
+ `,_n=x.div``,Dn=x.div`
67
67
  display: flex;
68
68
  align-items: center;
69
69
  justify-content: space-between;
70
70
  width: 100%;
71
71
  min-height: ${a=>Se.topNavBarHeight.valuePx(a.windowSize)};
72
- `,Vn=x.div`
72
+ `,Nn=x.div`
73
73
  min-height: 100%;
74
74
  display: ${a=>a.isVisible?"flex":"none"};
75
75
  flex-direction: column;
@@ -81,7 +81,7 @@ 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
81
81
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
82
82
  animation-fill-mode: both;
83
83
  `:null}
84
- `,Dn=x.form`
84
+ `,Vn=x.form`
85
85
  padding-top: ${ce.sp0};
86
86
  flex: 1;
87
87
  `,An=x(an)`
@@ -94,7 +94,7 @@ 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
94
94
  text-align: ${a=>a.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[z]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,V=en(d?.documentTypeSelectedForVerification);return{userId:d?.userId,officerType:d?.officerType??`Officer_${T+1}`,name:{firstName:d?.firstName,lastName:d?.lastName},email:d?.email,fileIds:d?.fileIds??[],dob:d?.birthday?.toDate(),nationalityCountryCode:Ot(d?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:d?.ssn,role:{selectedOption:d?.titleAtCompany,allOptions:w.allTypesOfRoles},phone:d?.phone,ownership:d?.ownershipInCompany,officerAddress:d?.addressStatus?.addressToCreate,selectDocument:{front:gt(!0,d?.userFiles??[],V),back:gt(!1,d?.userFiles??[],V),selectDocumentType:V},isSelectedForVerification:!k&&T===0||(d?.isSelectedForVerification??!1),userVerificationStatus:d?.userVerificationStatus,syncToken:d?.syncToken,isPhoneVerified:d?.isPhoneVerified,otpChallenge:d?.otpChallenge}}),[ee]:{account:{allOptions:[],selectedOption:void 0}},[y]:Xt(y,a?.subscriptionBillingAddress)[y],[he]:{connected:a.externalConnections?.accounting[0]?.isValid??!1}}},la=a=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:_,isOnAddressPage:w,stripeKey:h,googleAPIKey:k,onUpdateStep:f,onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Ce,updateCardPaymentModalState:F,resetCardPaymentViewState:_e,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,...Ve}=a,{allSteps:G,completedSteps:De,halfCompletedSteps:be,currentStep:R,fetchStatus:q}=C,H=m.useRef(R),E=m.useRef(G),[Ie,de]=m.useState(!1),[Pe,ne]=m.useState([]),Z={allSteps:G,isOnAddressPage:w,completedSteps:De,halfCompletedSteps:be,errorSteps:Pe,currentStep:R,fetchStatus:q,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:V,setIsStepClicked:de};m.useEffect(()=>{if(H.current!==R){const A=H.current;Ie===!0&&(I?.trackOnboardingCurrentStep(R,A),de(!1)),H.current=R}},[R,Ie,I]),m.useEffect(()=>{G.length!==E.current.length&&(E.current=G)},[G]);const ae=q.fetchState==="In-Progress"||q.fetchState==="Not-Started";return l.jsx(Tn,{isOnAddressPage:w,children:w?l.jsx(bt,{...Z}):l.jsxs(Fn,{children:[l.jsx(bt,{...Z}),ae?l.jsx(dn,{isNoStepsPage:!1}):l.jsx(Pn,{onboardingCustomerView:C,analytics:I,updateStepHandler:(A,Ae,pe)=>{const oe=E.current.length,ue=E.current.indexOf(A);switch(Ae){case"next":{const ie=(ue+1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const ie=(ue+oe-1)%oe,N=E.current[ie];H.current=N,f(N),pe===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},onUpdateStep:f,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:F,handleFetchPaymentSources:Ce,cardPaymentView:r,resetCardPaymentViewState:_e,stripeKey:h,googleAPIKey:k,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:Ne,onFormErrorsChange:ne,...Ve}),ae?null:l.jsx(Qt,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Tn=x.div`
97
+ `,We=(a,C)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:g,companyView:_}=a,w=le.commonSetUp.businessVerification,h=le.companyPassport,k=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[z]:{companyDescription:r?.companyDescription??le.common.strings.empty,ein:r?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:r?.companyId,syncToken:r?.syncToken,companyLegalName:r?.companyLegalName,companyWebsite:r?.website?.toString()??le.common.strings.empty,companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:a.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:r?.companyIndustryType,allOptions:[...rn]},companySubIndustry:{selectedOption:r?.companySubIndustry,allOptions:cn(r?.companyIndustryType)},companyPhone:r?.phone,companyTaxId:r?.taxIdOrEIN,primaryContactName:{firstName:r?.primaryContactLocalData?.firstName,lastName:r?.primaryContactLocalData?.lastName},primaryContactEmail:r?.primaryContactLocalData?.email,primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,T)=>{const d=f,N=en(d?.documentTypeSelectedForVerification);return{userId:d?.userId,officerType:d?.officerType??`Officer_${T+1}`,name:{firstName:d?.firstName,lastName:d?.lastName},email:d?.email,fileIds:d?.fileIds??[],dob:d?.birthday?.toDate(),nationalityCountryCode:Ot(d?.nationalityCountryCode,C.map(V=>V.countryCode)),ssn:d?.ssn,role:{selectedOption:d?.titleAtCompany,allOptions:w.allTypesOfRoles},phone:d?.phone,ownership:d?.ownershipInCompany,officerAddress:d?.addressStatus?.addressToCreate,selectDocument:{front:gt(!0,d?.userFiles??[],N),back:gt(!1,d?.userFiles??[],N),selectDocumentType:N},isSelectedForVerification:!k&&T===0||(d?.isSelectedForVerification??!1),userVerificationStatus:d?.userVerificationStatus,syncToken:d?.syncToken,isPhoneVerified:d?.isPhoneVerified,otpChallenge:d?.otpChallenge}}),[ee]:{account:{allOptions:[],selectedOption:void 0}},[y]:Xt(y,a?.subscriptionBillingAddress)[y],[he]:{connected:a.externalConnections?.accounting[0]?.isValid??!1}}},la=a=>{const{onboardingCustomerView:C,cardPaymentView:r,signedInUser:g,currentTenant:_,isOnAddressPage:w,stripeKey:h,googleAPIKey:k,onUpdateStep:f,onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:N,meetingUrl:V,analytics:I,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,handleFetchPaymentSources:Ce,updateCardPaymentModalState:F,resetCardPaymentViewState:_e,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:De,...Ne}=a,{allSteps:G,completedSteps:Ve,halfCompletedSteps:be,currentStep:R,fetchStatus:q}=C,K=m.useRef(R),E=m.useRef(G),[Ie,de]=m.useState(!1),[Pe,ne]=m.useState([]),Z={allSteps:G,isOnAddressPage:w,completedSteps:Ve,halfCompletedSteps:be,errorSteps:Pe,currentStep:R,fetchStatus:q,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:T,handleLogOutClick:d,handleCockpitClick:N,setIsStepClicked:de};m.useEffect(()=>{if(K.current!==R){const A=K.current;Ie===!0&&(I?.trackOnboardingCurrentStep(R,A),de(!1)),K.current=R}},[R,Ie,I]),m.useEffect(()=>{G.length!==E.current.length&&(E.current=G)},[G]);const ae=q.fetchState==="In-Progress"||q.fetchState==="Not-Started";return l.jsx(Tn,{isOnAddressPage:w,children:w?l.jsx(bt,{...Z}):l.jsxs(Fn,{children:[l.jsx(bt,{...Z}),ae?l.jsx(dn,{isNoStepsPage:!1}):l.jsx(Pn,{onboardingCustomerView:C,analytics:I,updateStepHandler:(A,Ae,pe)=>{const oe=E.current.length,ue=E.current.indexOf(A);switch(Ae){case"next":{const ie=(ue+1)%oe,D=E.current[ie];K.current=D,f(D),pe===!0?I.trackOnboardingNext(A,D):I.trackOnboardingCurrentStep(D,A);break}case"previous":{const ie=(ue+oe-1)%oe,D=E.current[ie];K.current=D,f(D),pe===!0?I.trackOnboardingBack(A,D):I.trackOnboardingCurrentStep(D,A);break}}},onUpdateStep:f,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ve,updateCardPaymentModalState:F,handleFetchPaymentSources:Ce,cardPaymentView:r,resetCardPaymentViewState:_e,stripeKey:h,googleAPIKey:k,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:De,onFormErrorsChange:ne,...Ne}),ae?null:l.jsx(Qt,{isFooterRendered:!0,meetingUrl:V,analytics:I,productType:"onboarding"})]})})},Tn=x.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${a=>a.isOnAddressPage?"fit-content":"100%"};
@@ -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-C5NS4k1k.js";import{a as n}from"./sentry-B7C9wEq0.js";import{n as o}from"./mui-CsJjaFS3.js";import{Gk as q}from"./zeni-epic-state-CjUXhad7.js";import K from"./ConfettiBurst-CeAc4Ily-C--23SuA.js";import{T as Q}from"./ProductsCarousel-BRo0P4GW-CYg74cXu.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.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]="1a0cdc27-1683-43b4-8c36-329f2208369c",i._sentryDebugIdIdentifier="sentry-dbid-1a0cdc27-1683-43b4-8c36-329f2208369c")}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-CotdgJU1.js";import{t as $e,A as Ce}from"./AddressScreen-CfU0pxqN.js";import ze from"./NotFoundScreen-DXnaOvLy.js";import{a as g}from"./sentry-B7C9wEq0.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-CbpF8wW5.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-C5NS4k1k.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-CjUXhad7.js";import{n as ye}from"./mui-CsJjaFS3.js";import{g as Pt,h as Ft,q as ne}from"./QBOConnectionScreen-CMTxTGLB.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./empty-Ccpah3HZ.js";import"./pdf-lib-D_D0fjcQ.js";import"./index-bFwDyqSe.js";import"./url-B_60JuDM.js";import"./index-BScUKNNV.js";import"./decodeURIComponentSafe-CqkAxC0p.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};