@zeniai/web-cockpit-ui 1.15.33-qa → 1.15.34-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/assets/{ACHDetailsPage-tTJc_EMP-caRMekFL.js → ACHDetailsPage-DSufuSEI-BugcK5ko.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-ByUb4gCe-DnyMWJRD.js → AIPerformancePage-Df0tJkyd-C5l4T96t.js} +104 -104
  3. package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BHD9tOzB-Uj2_GKGo.js → AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BEfA1bsG-C2Js1Jvp.js → AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js} +19 -19
  7. package/dist/assets/AccountRow-DtE1mQFq-sRlcgWT1.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-CaTnaSn3-DsNszPEx.js → AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BSzuByT6-CYM78gIb.js → AddToWalletPage-B_7pqvLH-CAYlL9WC.js} +18 -18
  11. package/dist/assets/{AgingReportsPage-D2gPAJKw-Dy3mQZBS.js → AgingReportsPage-CRFlM3H1-DhYuRisV.js} +15 -15
  12. package/dist/assets/{AllUserItems-BIf1v0a5-Bm00AqDS.js → AllUserItems-LlhM8bBU-N-OwUUn2.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js +46 -0
  14. package/dist/assets/{AppBasePage-BGPY0zrb-DlmkLc3V.js → AppBasePage-DRQ76rXe-BbmVnMJF.js} +4 -4
  15. package/dist/assets/{AppDrawerContent-6AX5Y5tK-Cu3-m-Sw.js → AppDrawerContent-CIXhnJBJ-DkcT-gQA.js} +4 -4
  16. package/dist/assets/ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js +47 -0
  17. package/dist/assets/{ArAgingChart-Dx8jVL0O-Cgykn0Lt.js → ArAgingChart-BwEspm7G-DNjHaENA.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BcrHD5zT-jubV7JhU.js → ArAgingDetailPage-Dy9woFr0-Dwalts78.js} +6 -6
  19. package/dist/assets/{AttachmentView-CdIA5zLk-DSnv4ijm.js → AttachmentView-CF6Tiq1u-ScD4RZ91.js} +5 -5
  20. package/dist/assets/{BankAccountSection-Qe9eRUmE-Bn_DzMKl.js → BankAccountSection-DyPS4RZK-Bc2VKdEG.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-BfN1KiTF-EK89qrtq.js → BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-Dmub7xxp-CxXqCMiF.js → BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js} +12 -12
  23. package/dist/assets/{BillDetailPage-DHCP-PUd-DOIZox9o.js → BillDetailPage-KSkeLjtu-DDizjGfx.js} +2 -2
  24. package/dist/assets/BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-Cc3wkV9k-D4lNrc1G.js → BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-DslCxm8f-BojuKuTk.js → BillPayPromoPage-CZ34fQRr-h45OCD6V.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-DnabCnSI-B95-H6hC.js → BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-DNmOo0mj-BgBv8nRa.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BOulFH2M-BrY_zcFs.js → BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js} +1 -1
  30. package/dist/assets/{BoxItem-Dhk2kQlB-DGHihy-b.js → BoxItem-Dy41mKN9-CZiGGLPk.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BU2b5oF1-DDgS913g.js → BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js} +2 -2
  32. package/dist/assets/{CardNumberSubText-CRjU8jZf-DScDbHaS.js → CardNumberSubText--wffxyL2-Dzc9wag1.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-GNwtsA01-CtZrxwJV.js → CashbackDetailPage-BuywSIvA-Dj0FTjqV.js} +15 -15
  34. package/dist/assets/{ChargeCardDetailPage-DspeEPRm-BfTzI1rp.js → ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js} +36 -36
  35. package/dist/assets/{ChargeCardListPage-C4N76196-B9kR7T8Y.js → ChargeCardListPage-CkqWU4gN-CkHuHVFN.js} +23 -23
  36. package/dist/assets/{ChargeCardListTable-ObawcMuP-BOdm2f4H.js → ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js} +46 -46
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-NBxH70YE-CMrKxZA5.js → ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js} +34 -34
  38. package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-DSUakLyb-BH8qt4Dj.js → ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-BK6iLLEA-DIHMuA3p.js → CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-vwzu1AgW-DuMTLVG4.js → CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js} +93 -93
  43. package/dist/assets/{CompanyOfficerDetailsSection-CtptCfIN-E-ghNZwQ.js → CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js} +12 -12
  44. package/dist/assets/{CompanyPassportCard-DyasR99R-Bjmhc2hR.js → CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-Xp8Bn6ev-AJr1CYjl.js → CompanyPassportPage-DtEQ7a68-BZL6spEi.js} +34 -34
  46. package/dist/assets/{CompleteProfile-CyoPiiWR-Byv8MIAx.js → CompleteProfile-DLNtc5N7-B7HW7ybq.js} +1 -1
  47. package/dist/assets/ConfettiBurst-B4gz9uC9-BhJEyb5s.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CQqzwvu_.js → ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CecROHGm-BZLYQbR8.js → CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js} +8 -8
  50. package/dist/assets/{CreditCardPaymentDrawerPage-C6Tx5HFf-BMs8YRTm.js → CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js} +15 -15
  51. package/dist/assets/CurrencySelectField-CaQgbP8P-Cqqb_KBc.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-CsBXicnS-D_30tSZo.js → CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js} +8 -8
  53. package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BrWGFePj-D9A4KVB4.js → CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-EIhXr3Tb-ht8ezlDG.js → CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-DXoS8Lvh-BvBWTMTM.js → CustomerOnboardingPage-CSSgj26J-N4cabpr0.js} +9 -9
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BRXSZWKm-CVZJxXfP.js → CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js} +6 -6
  58. package/dist/assets/{Dashboard-Bd774Cwk-CPneZsx_.js → Dashboard-DPXzM2TM-6t8lQHvd.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-CdyFzIwd-CCBZJf2V.js → DashboardReportPage-CWgH0Bn9-BvMXyb8g.js} +13 -13
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DZk4h7x--XEEIsEL6.js → DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-CKgbbZOW-BAUa4FHC.js → DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js} +7 -7
  63. package/dist/assets/{DomesticWireDetailsPage-CY2Pv6jd-DtTjZ_4V.js → DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-BflHtA84-BO7fMgnW.js → DownloadOverlay--ICWviQz-Q6tZiS37.js} +24 -24
  65. package/dist/assets/{DrawerPage-5Q_xvjmz-BOmiDfaX.js → DrawerPage-DoJkjp69-BGpDDN7R.js} +10 -10
  66. package/dist/assets/EditPeoplePage-B-zEdQqt-BrFyNgmY.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CYnqM-2--_UDSzYfF.js → EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js} +72 -72
  68. package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BUjGJmFT-Dha8JbEH.js → EntitySummarySection-BYP9LNlh-CHZV8J2r.js} +19 -19
  70. package/dist/assets/{ExpenseAutomationOverviewPage-D7_-NOLq-C2FHNQ42.js → ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js} +60 -60
  71. package/dist/assets/ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js +1803 -0
  72. package/dist/assets/{ExpressPayPage-gyFQBzLO-DD1bcU9s.js → ExpressPayPage-BaLCnmxC-DyZ_NbAE.js} +15 -15
  73. package/dist/assets/{FeaturePreviewPage-BT-WJozX-BmNFqaDN.js → FeaturePreviewPage-DJvcim4v-B-0y2hox.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Du2gzmC6-ITy1BuM4.js → FollowStepsSection-DiAM2oU9-DVhX1hhq.js} +42 -42
  75. package/dist/assets/{GlobalReviewListPage-B0MxdV0g-ByEyisM3.js → GlobalReviewListPage-DFhcVK4y-DV_nZHys.js} +14 -14
  76. package/dist/assets/{InformationCardStack-rAU0N5_N-18U34zdq.js → InformationCardStack-bDJV8MEl-DKR8Zvn9.js} +7 -7
  77. package/dist/assets/{InsightsCardStack-CEkmuCB6-CogwYtZb.js → InsightsCardStack-Ba7C5_Ql-1E6nbw33.js} +7 -7
  78. package/dist/assets/InsightsSection-BFviX80K-CRFJKeH_.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-Do41V6J0-drB79PfG.js → IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BnsnrM3q-BIaoCuMc.js → InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js} +28 -28
  81. package/dist/assets/InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js +65 -0
  82. package/dist/assets/{InviteFormPage-x40AE2Pw-DB6GwgFB.js → InviteFormPage-D3FNgm9B-BwvxtcvY.js} +1 -1
  83. package/dist/assets/{InvitePageListView-CiVNaN8z-VSoPDSqk.js → InvitePageListView-D4wRSwJW-DPbFsvfR.js} +35 -35
  84. package/dist/assets/InvitePeoplePage-DSFk8lEF-DpuHc0lh.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BVmxvrlx-CM3PsR0k.js → IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js} +20 -20
  87. package/dist/assets/{LabeledAddressValue-aejn380k-9KAs-vw8.js → LabeledAddressValue-CUr2BnHq-DfiyDPyB.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-DL3wJoZC-CMggf1RU.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1bMiaZj-ColeHqz7.js → LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js} +3 -3
  91. package/dist/assets/{LabeledCreatableSingleSelectField-amXDv508-6VO0EsbY.js → LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js} +6 -6
  92. package/dist/assets/{LabeledDocumentField-2_VcrmJN-BD9gdLcR.js → LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js} +2 -2
  93. package/dist/assets/{LabeledDropDownFormattedTextField-C6sW-5j7-DoZ1Clel.js → LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js} +5 -5
  94. package/dist/assets/{LabeledText-CrAhx4_P-mWwgzY-e.js → LabeledText-H1pSTEtd-BHLnDTFr.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BVZg_rlX-DQAVipT_.js → LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js} +12 -12
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DS1icRVA-DRmTnd0N.js → LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js} +23 -23
  97. package/dist/assets/{LinkJETransactionPage-VdBxLFQc-DSmzcgL3.js → LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js} +9 -9
  98. package/dist/assets/{LockCardPage-Bs8xkpNa-BH5dabGf.js → LockCardPage-lTzQY_pw-BYsKWV6j.js} +34 -34
  99. package/dist/assets/{LowBalancePopup-B0-WExEI-BnZMJ9oZ.js → LowBalancePopup-DXPPHYS1-CB0hADnS.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-DRcOlHnh-PPiAarWW.js → MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js} +5 -5
  104. package/dist/assets/{MagicLinkTitleSection-vMBVJSVF-BDFTafOR.js → MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-vydT4UOr-DSxQiRSi.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D6Gjqgv2-tzV_zUUq.js → MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js} +6 -6
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-y9U4DJm9-kjsb7Oyt.js → MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js} +2 -2
  108. package/dist/assets/MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js +85 -0
  109. package/dist/assets/NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js +30 -0
  110. package/dist/assets/{NavigationArrow-suk7KbA1-Bl28QDCF.js → NavigationArrow-CeYvXgly-CXWFEDMQ.js} +1 -1
  111. package/dist/assets/{NavigationDots-Dqcv5rrC-wx3TUAOM.js → NavigationDots-CXAszOHQ-HtQg6iz5.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-CRg1E4PG-BbGF32Sj.js → NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js} +33 -33
  113. package/dist/assets/NoDataChart-BQdJyfHh-BLmune73.js +26 -0
  114. package/dist/assets/{NoDataTable-B2CS7NPq-DRIt6CHH.js → NoDataTable-B__TVPte-CetA5lza.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DGMaZUli-B_ZJJm7V.js → NotFoundPage-Cs25xsWz-DnZv-DIM.js} +4 -4
  116. package/dist/assets/{NotificationSettingsPage-CMkB3Lv2-C-VPd7Lp.js → NotificationSettingsPage-Dm3zOscr-DKDyywX2.js} +19 -19
  117. package/dist/assets/NotificationsListConfig-D0knaijJ-NyDzwfbC.js +1 -0
  118. package/dist/assets/{NotificationsPage-D7bHfgsd-HWWWcHyi.js → NotificationsPage-czQmfW2r-DksNFGUv.js} +31 -31
  119. package/dist/assets/{OpExByVendorPage-PfMkiQRt-D6dvXvh-.js → OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js} +20 -20
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-2A5VsoQR.js → OverlayContainerPage-D4QU0p4o-li8hzYjf.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CtFnhBki-8h68Lmy6.js → PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js} +9 -9
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-gaNLv-zU-C5-av3XE.js → PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js} +13 -13
  123. package/dist/assets/PeoplePage-DNTbzljs-Bfp0W5JF.js +727 -0
  124. package/dist/assets/{Preview-DnmPaacA.js → Preview-BsIYoVSv.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BPUh4FO7-C-quXntD.js → ProductsCarousel-CTiD9zA7-D7cEl2bl.js} +3 -3
  126. package/dist/assets/{PromoBaseCards-Dmg5PtKw-Cdh1PPvI.js → PromoBaseCards-BmtlcPBm-DdDmICph.js} +3 -3
  127. package/dist/assets/{QBOConnectionDialog-CLBqmpI8-DKi8GIOA.js → QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js} +4 -4
  128. package/dist/assets/QBOSetupSection-DevcmmCv-C2NxYIUb.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BrfP2xcW-CD61A2zN.js → ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BmVVfYZD-DSikDWDV.js → ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js} +5 -5
  131. package/dist/assets/{ReimbursementDetailPage-j-kNxeWY-DMAXhIU9.js → ReimbursementDetailPage-CMplGhml--7oTvGch.js} +8 -8
  132. package/dist/assets/{ReimbursementPromoPage-D2kh5AHM-DnfYr255.js → ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js} +20 -20
  133. package/dist/assets/{ReimbursementSetUpPage-D2890NEZ-C42V01mT.js → ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js} +15 -15
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-qXtPaXjg-BcU2vD5u.js → ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js} +1 -1
  135. package/dist/assets/{ReloadCard-IEyjck4Y-Bx172wbs.js → ReloadCard-CI-iJa1w-CU7osnQb.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-CQjyJkzR-BMiZfuRK.js → ReportTableViewSelector-CM11mXKF-DKJl505X.js} +31 -31
  137. package/dist/assets/{ReportsPage-Bzz6If8N-CRC9kTRL.js → ReportsPage-DzuQNoMA-ORn4o7l_.js} +5 -5
  138. package/dist/assets/{RevenueChart-B00OufPH-BQ-fm7T5.js → RevenueChart-iDdrXSzX-BD1q5u9E.js} +22 -22
  139. package/dist/assets/{ReviewDetailsPage-NnD1LDcO-oQteze57.js → ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CFouRoKn-Bx0_gW0Y.js → ReviewOverlay-D39FMx3p-DPQk54i4.js} +24 -24
  141. package/dist/assets/RoleWithToolTip-BMEgXHWf-CYv1exk7.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-B5gQXUI9-D6BCK7Im.js → ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-B1Kb9usK-B8mUNpar.js → ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js +324 -0
  145. package/dist/assets/{ScreenRoutes-DKxBGhTW.js → ScreenRoutes-Bkl-MWfY.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-D6dn2jSD-30yvmE7W.js → SetUpAccountSection-o86ErvD_-Celwp-jA.js} +5 -5
  147. package/dist/assets/SignIn-BEJNYyp4-O46sF-k3.js +491 -0
  148. package/dist/assets/SignInScreen-Dm8Ez_qK.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-DOkp7pHa-CRzzuy9l.js → SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js} +10 -10
  150. package/dist/assets/{SpendManagementPerTabPage-D_LO55uU-BNZNJM2O.js → SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js} +25 -25
  151. package/dist/assets/{SpendManagementSection-CEMNFPRO-CJtpae8W.js → SpendManagementSection-DiQ2QBwA-CGsThSZ0.js} +11 -11
  152. package/dist/assets/StatementItem-DGRjrvUi-C8hx1_Sf.js +31 -0
  153. package/dist/assets/{StatementsPage-CgbyzDo5-BBvhOOcU.js → StatementsPage-QqtqM0qv-BBLWtN99.js} +6 -6
  154. package/dist/assets/{StatusSwitcher-BjvUftXD-DSbt2dze.js → StatusSwitcher-CfZOeqZf-Bq7fUYSl.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-CqTYhJ6K-Cc8NgEnD.js → SubTabSwitcher-Be1lLunR-CsxeYIuC.js} +4 -4
  156. package/dist/assets/SummaryCard-DgBWIctW-CRmTCkt0.js +1 -0
  157. package/dist/assets/TaskManagementPage-CpjN2Ver-BJrGG5WR.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-BR-bT1hY-CwHrTBmo.js → TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-B7EXKmdi-B7wC4ZTm.js → TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js} +6 -6
  160. package/dist/assets/TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js +31 -0
  161. package/dist/assets/{TopExCard-l-xo9Vzj-CzV3ots3.js → TopExCard-Do6O7snc-DLvwuAod.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-DJlHcjKS-B7xZPI_B.js → TopExDetailPage-DFil6Qwx-BWbjM88A.js} +13 -13
  163. package/dist/assets/{TransactionActivityLogPage-HLwrGJCG-jOI5M6vb.js → TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js} +14 -14
  164. package/dist/assets/TransactionDetailPage-CyTyj91G-B7vb07HE.js +903 -0
  165. package/dist/assets/{TransactionList-BFD8ZfJ--B_2P6NgX.js → TransactionList-BFDau1I7-BXGXYBFK.js} +15 -15
  166. package/dist/assets/{TransactionListBig-Cd05cE1H-DHIWBrzi.js → TransactionListBig-CVBiekZl-DrGGpH9X.js} +13 -13
  167. package/dist/assets/TransactionListPage-LGgMtr7O-CsGWQiN-.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-D93V6PtT-ASEgt-oH.js → TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js} +16 -16
  169. package/dist/assets/{TransferDrawerPage-B_Hy3gOY-CZNjh4dq.js → TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js} +26 -26
  170. package/dist/assets/{TreasuryOverviewPage-CJrfTwBd-DGoUzRq5.js → TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-BRwTbEqr-DD0NB9Np.js → TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js} +12 -12
  172. package/dist/assets/{TreasuryStatementsPage-CpVaxZhO-D8_pdQ6V.js → TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js} +1 -1
  173. package/dist/assets/TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js +58 -0
  174. package/dist/assets/{TrendChart-DLex57el-D9IGJHV4.js → TrendChart-JHlBVwXJ-p0u3PrEr.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-CwB4wDSN-Ci246WOZ.js → TrendWithTransactions-Bh619hxZ-B7JEOzSv.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CO7p4-Kx-CKzXNOia.js → UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js} +10 -10
  177. package/dist/assets/{UnitIntegrationPage-BDUTrQY0-BeNpWs1d.js → UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js} +10 -10
  178. package/dist/assets/UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-ANEIs-J6-BItEW5IN.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +1 -0
  181. package/dist/assets/{VendorDetailPage-DRgwiRee-F7uBXNWL.js → VendorDetailPage-BLZ1wOuB-t2P37a0b.js} +28 -28
  182. package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-CtReDQX3-ZEq2UHS3.js → VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-BGVFKcId-HzfS-8-K.js → VendorFirstReviewPage-DJap4HA2-DP0KML1b.js} +8 -8
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DtFlzIWc-BSJvfDFE.js → VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js} +14 -14
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-DlCCF8w7-B2R9WWyu.js → VendorsAccountsSection-lmuNbtLw-BehIg0cT.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CDChzTa5-Dn7AcZPE.js → VerifyDevice-vhZNITmO-B_CyFx_O.js} +3 -3
  189. package/dist/assets/{VideoPlayer-D6snpLby-DtDMVXQN.js → VideoPlayer-DIXs3y0r-C0i3s9oa.js} +2 -2
  190. package/dist/assets/{VideoPopup-SylQ4T6l-CTWGJick.js → VideoPopup-CYL6r3Cb-B0pmnpWo.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D67GprmZ-IPWpf2-0.js → WarningsDrawerPage-CJ9a931n-DAFMV5EF.js} +6 -6
  192. package/dist/assets/{ZeniAccountDetailPage-BfYIZPob-6XUVvcAt.js → ZeniAccountDetailPage-P86nU628-RfL02yuR.js} +14 -14
  193. package/dist/assets/{ZeniAccountListViewPage-B5luRVEl-CVXVmDiV.js → ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js} +23 -23
  194. package/dist/assets/ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-CHCmIfff-DyZFPn28.js → ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js} +12 -12
  196. package/dist/assets/{ZeniAccountSetupPage-BzCqTug2-b7-ybj6-.js → ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js} +3 -3
  197. package/dist/assets/{ZeniCopyright-CiZTMpf7-BZTmiNMr.js → ZeniCopyright-Baiyxesc-CHFltgTl.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-C--qNr-a-B80xXrhL.js → ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-D09GVq9M.js → add-to-wallet-DgdBD8_G-DdT9Rn3y.js} +1 -1
  200. package/dist/assets/{analytics-Df2mJ1lX.js → analytics-Dm6Rdmk5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DEOt00qX-DLlhyFKe.js → analyticsHelper-B32z3Cdy-Dk9sCdyO.js} +1 -1
  202. package/dist/assets/analyticsHelper-DPMmqDhf.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-DzQV9eJa.js → arrow-south-east-round-PEovUgvH-Cy4oQH64.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-D4yr6H5z.js → auto-transfer-rule-mbafm5D3-B6gY8maM.js} +1 -1
  205. package/dist/assets/{chartTypes-BqKhmkSG-CgQV-TUL.js → chartTypes-DL1AC5R1-CSQ4LZOa.js} +1 -1
  206. package/dist/assets/commonDimensions-BNYeCJ44-DwWQhbOM.js +1 -0
  207. package/dist/assets/{commonTypes-TAIHQ3fk-DQoSEEvg.js → commonTypes-DwuUdRAc-CVoF2D5n.js} +1 -1
  208. package/dist/assets/{constants-DG7AuAVl.js → constants-MHF6sRcJ.js} +1 -1
  209. package/dist/assets/{core-BE_Z31V1.js → core-XAP_yXKl.js} +1 -1
  210. package/dist/assets/{dash.all.min-DDJXzvDP.js → dash.all.min-DatMhMWc.js} +1 -1
  211. package/dist/assets/{detailCommon-BEEE23XQ-BD_Mk7je.js → detailCommon-CzjlHNNr-OLPVPNMD.js} +7 -7
  212. package/dist/assets/downloadPdf-CPfBtFli-C5o4QyFD.js +1 -0
  213. package/dist/assets/{empty-M69JX_rT.js → empty-Cs2gdmIo.js} +1 -1
  214. package/dist/assets/{empty-CRPcZP1j.js → empty-vcyFM9nz.js} +1 -1
  215. package/dist/assets/epic-B8nKq-i6.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-Deoc5oar.js → gift-box-Cmt9OgIZ-RzjSa1iy.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdDmkNr4.js → graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fmWTttVF.js → graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B0P5ObqQ.js → handshake-BPg58FML-FDeEnKd2.js} +1 -1
  220. package/dist/assets/{helper-Cl1NuKS2-GEpi-XmM.js → helper-T710NLca-BU35xGXS.js} +2 -2
  221. package/dist/assets/{index-DQj8IFZB.js → index-C9hDAJ7o.js} +4039 -4061
  222. package/dist/assets/{index-Qi-3x-ZJ.js → index-CrlTOcjY.js} +1 -1
  223. package/dist/assets/{index-B1UWDNYH.js → index-D9vmx-FC.js} +1 -1
  224. package/dist/assets/{index-CtuKpkPR.js → index-DIT7C2zP.js} +1 -1
  225. package/dist/assets/{index-CuuLV5Ja.js → index-DSJ6HKL8.js} +1 -1
  226. package/dist/assets/{index-5swzSU-P.js → index-LuFlN8FP.js} +1 -1
  227. package/dist/assets/{index-DV0An2Zv.js → index-t-uTuAYw.js} +1 -1
  228. package/dist/assets/{lexical-aqmLQuMS.js → lexical-CgNStNGD.js} +1 -1
  229. package/dist/assets/{liveblocks-C1mHPmJS.js → liveblocks-NP7ye8lf.js} +1 -1
  230. package/dist/assets/{lottie-DyTfNQDx.js → lottie-DhXcx4Hv.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-CBq8hzRN-fxI2JqXr.js → mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtYXgw-F-oAphex73.js → mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +1 -0
  237. package/dist/assets/{mui-BU7efdfo.js → mui-BQR0Ruo4.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CtnTIFRc.js → page-detail-CWX5S47F-BBbQvoIw.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-Cddsb26L-V1yMMv-q.js +3 -0
  240. package/dist/assets/{radio-default-CiSgisfh-4z6Camq9.js → radio-default-CiSgisfh-OYLDx768.js} +1 -1
  241. package/dist/assets/{react-3qpqyaOU.js → react-72w_Kluy.js} +1 -1
  242. package/dist/assets/{react-CWsZgXSV.js → react-BL2s-aF_.js} +1 -1
  243. package/dist/assets/{react-BemuwBnj.js → react-CUdUBRF6.js} +1 -1
  244. package/dist/assets/{react-Bom9bczX.js → react-CX9OzKa9.js} +1 -1
  245. package/dist/assets/{react-B4itwZHV.js → react-Cp-6oWln.js} +1 -1
  246. package/dist/assets/{react-CN_MK9F3.js → react-CvT9aEmE.js} +1 -1
  247. package/dist/assets/{react-ctGSvN4G.js → react-DcMbwERn.js} +2 -2
  248. package/dist/assets/{react-BFU7EV8v.js → react-Du36QLI3.js} +1 -1
  249. package/dist/assets/{recharts-wrfDO0AQ.js → recharts-DkFolWRg.js} +1 -1
  250. package/dist/assets/{sentry-CmSZxGiC.js → sentry-Ckvw8Zf1.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DkXtzp4a.js → shield-DOlUxcFf-rM_NpNHL.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +1 -0
  253. package/dist/assets/toChartData-8r0AvOIP-Dhy8B0ZL.js +1 -0
  254. package/dist/assets/{uploadAttachment-CLjjVoJ0-G44pYEnV.js → uploadAttachment-CTXeI85v-BVATkq8k.js} +25 -25
  255. package/dist/assets/uploadReceipts-Dge0cNF1-nRZK_a0M.js +1 -0
  256. package/dist/assets/{url-Dh6RHozD.js → url-D8pFj_Ts.js} +1 -1
  257. package/dist/assets/{url-Y0e70W7v.js → url-DCwOBFCk.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-CTF1V7Dp.js → useLongPress-GCK2COYQ-BkrNXw3e.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CAUsjG1o.js → usp-line-BBd1wKwW-54Q8nh58.js} +1 -1
  260. package/dist/assets/{utils-4HiCQfG5.js → utils-B4eJ0QQL.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-4hreDbys.js → zeni-epic-state-BnsQ52n7.js} +4 -4
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-VLhd4vnL-I5Lr2n0M.js +0 -18
  265. package/dist/assets/AccountLockedInfoModal-DNjLeZYt-LNUXwZM-.js +0 -59
  266. package/dist/assets/AccountRow-CK5HLVrf-DXJZ_sEO.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-DmajBqRK-nxIYPo1E.js +0 -6
  268. package/dist/assets/ApAgingDetailPage-pfP6vTc2-BpIJBEds.js +0 -46
  269. package/dist/assets/ApprovalRulesSettingsPage-BurRfT7n-DRTxj05J.js +0 -47
  270. package/dist/assets/BillPayApprovalRuleDetailPage-DS31MPI0-4xXvJcm0.js +0 -27
  271. package/dist/assets/BillingSettingsPage-B91NuvxJ-D_FEm3L1.js +0 -44
  272. package/dist/assets/ChargeCardPromoPage-CN9d98ht-CvggjDIQ.js +0 -222
  273. package/dist/assets/ChargeCardSetupPage-Cie4HjPR-DCzfspb8.js +0 -36
  274. package/dist/assets/ConfettiBurst-BWYsiO3O-4BlId3h5.js +0 -1
  275. package/dist/assets/CurrencySelectField-DAmYUy85-DMDmUadH.js +0 -139
  276. package/dist/assets/CustomerOnboardingContainerPage-CNJZIVlJ-BJUaNX44.js +0 -1
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-NYtLjb5A-C_ZMV7U-.js +0 -12
  278. package/dist/assets/EditPeoplePage-Dq02jvsi-1vFBiR26.js +0 -55
  279. package/dist/assets/EntityDetailPage-s91tl4Wk-D9-Khkld.js +0 -18
  280. package/dist/assets/ExpenseAutomationPage-CFxbvTbd-BAfLqXb6.js +0 -1700
  281. package/dist/assets/InsightsSection-CK6L0ggh-CEIo4wru.js +0 -27
  282. package/dist/assets/InternationalWireVerificationPage-C3EEqPT--C-SNZ09B.js +0 -65
  283. package/dist/assets/InvitePeoplePage-DGTYEet3-ww7dc8Ap.js +0 -12
  284. package/dist/assets/InvoiceUploadSection-C4K602QO-DQ0TMvgE.js +0 -140
  285. package/dist/assets/LabeledAddressValueField-DSU3b6xx-Do3zHmCW.js +0 -45
  286. package/dist/assets/LabeledControlledCheckBoxField-CKE6Nln6-D3D8TfOs.js +0 -16
  287. package/dist/assets/MagicLinkACHDetailsPage-BitHcc3I-DPdZjBrF.js +0 -1
  288. package/dist/assets/MagicLinkDomesticWireDetailsPage-BFfxbnHp-DgnH4Uml.js +0 -1
  289. package/dist/assets/MagicLinkInternationalWireDetailsPage-BncWaxsb-D5zfuNtc.js +0 -1
  290. package/dist/assets/MailingDetailsSection-CKtLfBik-B4Pa39ev.js +0 -21
  291. package/dist/assets/MyProfileSettingsPage-D7btjvQI-D2DR3yb7.js +0 -85
  292. package/dist/assets/NavBarWithPicker-B_vr1zc6-CdH-de-A.js +0 -30
  293. package/dist/assets/NoDataChart-CGab-TiT-BBfAYwSH.js +0 -26
  294. package/dist/assets/NotificationsListConfig-8zpkH26L-DDuzcyo-.js +0 -1
  295. package/dist/assets/PeoplePage-3Fux2UtP-DZR4BINj.js +0 -675
  296. package/dist/assets/QBOSetupSection-DwqXfi9i-Dmc0UPaw.js +0 -79
  297. package/dist/assets/RoleWithToolTip-BBbrv_x_-B3Cv90ZD.js +0 -22
  298. package/dist/assets/ScheduleSequenceTable-B973PTTc-DWRrpKit.js +0 -324
  299. package/dist/assets/SignIn-CUOfBh48-wGxg0FBZ.js +0 -491
  300. package/dist/assets/SignInScreen-Cwd6Qtqw.js +0 -1
  301. package/dist/assets/StatementItem-BDCdJuBz-C-uwkj2X.js +0 -31
  302. package/dist/assets/SummaryCard-BrsOKcrF-DrLZV6Qo.js +0 -1
  303. package/dist/assets/TaskManagementPage-C5vXcK0R-CZ850Y5X.js +0 -508
  304. package/dist/assets/TimeframeSwitcherWithToggle-D265f15Y-_axA0W9R.js +0 -31
  305. package/dist/assets/TransactionDetailPage-63dqDjgt-D8KEE6zE.js +0 -903
  306. package/dist/assets/TransactionListPage-klQ0oBzv-e1BZ0UAD.js +0 -35
  307. package/dist/assets/TreasuryTaxLetterPage-CUHNWUy--DhNnA2rA.js +0 -58
  308. package/dist/assets/UploadAdditionalDocumentOverlay-DID6dcux-D1ONPT0t.js +0 -38
  309. package/dist/assets/Vendor2FAPopup-DySyuG4R-BF3S6gEn.js +0 -1
  310. package/dist/assets/VendorACHDetailsPage-CS0fu-kk-Cuvu_0OU.js +0 -1
  311. package/dist/assets/VendorDomesticWireDetailsPage-B3mJqOdK-BNC9Fid9.js +0 -1
  312. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CfWP7ILx-BiRtjzPd.js +0 -1
  313. package/dist/assets/ZeniAccountNavBarPieces-BQXOnqhc-6j8hLlJi.js +0 -14
  314. package/dist/assets/analyticsHelper-Dri1zWcx.js +0 -1
  315. package/dist/assets/commonDimensions-DbvjFx29-D9IHQgGS.js +0 -1
  316. package/dist/assets/downloadPdf-CDTl_Ev--DcUV3a6w.js +0 -1
  317. package/dist/assets/epic-DitwVTZc.js +0 -2
  318. package/dist/assets/mapSpacerToTreeNode-ycecmJKa-DGUz2Bon.js +0 -1
  319. package/dist/assets/mapTimeframeBalancesToTreeNode-ByLaAQOt-DvcBmYb-.js +0 -1
  320. package/dist/assets/mapTimeframeBalancesToTreeNode-C8E1dOPs-CX71VW8Z.js +0 -1
  321. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-v8qXI-n8-DBxf8ZEY.js +0 -1
  322. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DuSq5GIk.js +0 -4
  323. package/dist/assets/toCOABalancesWithID-DKhXdLyk-DNK_OJ2b.js +0 -1
  324. package/dist/assets/toChartData-B3G_wqcy-WplUF94r.js +0 -1
  325. package/dist/assets/uploadReceipts-Dge0cNF1-OrsZovci.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,fA as Ce,J as Pe,d as be,a9 as we,aR as xe,cG as ke,bD as Ie,o as i,aQ as Ae,ac as $e,aS as Oe,bo as Ve,hO as ve,F as Te,f0 as je,f1 as oe,af as Le,y as J,al as Ue,u as A}from"./index-DQj8IFZB.js";import{n as c}from"./mui-BU7efdfo.js";import{a as $}from"./sentry-CmSZxGiC.js";import{r as _e,t as ze}from"./PaymentAccountSetupBillingAddressSection-gaNLv-zU-C5-av3XE.js";import{f as De}from"./CustomerOnboardingDetailPageSkeleton-BrWGFePj-D9A4KVB4.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./zeni-epic-state-4hreDbys.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.js";import"./commonTypes-TAIHQ3fk-DQoSEEvg.js";import"./SetUpAccountSection-D6dn2jSD-30yvmE7W.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]="a713c371-ef1d-4e4c-903a-3ad8d647715c",e._sentryDebugIdIdentifier="sentry-dbid-a713c371-ef1d-4e4c-903a-3ad8d647715c")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Ee=e=>`${e}_form`,Be=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:v,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleAddCardPaymentSource:_,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:w,onUpdateCustomerView:E,...B})=>{const m=Pe(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:H,onAddressEditHandler:x}=B,W=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=Be,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),E(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ge,{id:Ee(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(_e,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:m,children:o.jsx(Ve,{signedInUser:P,currentTenant:T,onLogOutClick:N})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:_,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:D,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
1
+ import{a8 as se,V as o,fB as Ce,J as be,y as Pe,a9 as we,aR as xe,cH as ke,bD as Ie,o as i,ab as Ae,ad as $e,aS as Ve,bo as ve,hP as Oe,F as Te,f1 as je,f2 as oe,ag as Le,x as J,am as Be,u as A}from"./index-C9hDAJ7o.js";import{n as c}from"./mui-BQR0Ruo4.js";import{a as $}from"./sentry-Ckvw8Zf1.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./commonTypes-DwuUdRAc-CVoF2D5n.js";import"./SetUpAccountSection-o86ErvD_-Celwp-jA.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]="3a7b9aad-6159-4dd8-a893-050aa3e730ea",e._sentryDebugIdIdentifier="sentry-dbid-3a7b9aad-6159-4dd8-a893-050aa3e730ea")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},De=e=>`${e}_form`,Ee=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:O,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:D,...E})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=E,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:V(e),values:V(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=Ee,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(V(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),D(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(V(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:De(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(Ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(ve,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -28,10 +28,10 @@ import{a8 as se,V as o,fA as Ce,J as Pe,d as be,a9 as we,aR as xe,cG as ke,bD as
28
28
  height: 100%;
29
29
  flex-direction: column;
30
30
  padding-bottom: ${i.sp0};
31
- `,Ge=c.form`
31
+ `,Ne=c.form`
32
32
  padding-top: ${i.sp0};
33
33
  flex: 1;
34
- `,Ne=c.div`
34
+ `,Ge=c.div`
35
35
  display: flex;
36
36
  height: ${i.sp7};
37
37
  left: ${i.sp4};
@@ -49,7 +49,7 @@ import{a8 as se,V as o,fA as Ce,J as Pe,d as be,a9 as we,aR as xe,cG as ke,bD as
49
49
  cursor: pointer;
50
50
  flex-shrink: 0;
51
51
  margin-left: -${i.sp4};
52
- `,Ze=c(Ue)`
52
+ `,Ze=c(Be)`
53
53
  color: ${e=>e.theme.colors.hero};
54
54
  display: flex;
55
55
  justify-content: center;
@@ -58,7 +58,7 @@ import{a8 as se,V as o,fA as Ce,J as Pe,d as be,a9 as we,aR as xe,cG as ke,bD as
58
58
  padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,O=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:ve(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:V,currentTenant:v,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:b,handleLogOutClick:_,handleCockpitClick:z,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:E,updateCardPaymentModalState:B,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,G=se(),{analytics:N}=G,H={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:V,currentTenant:v,onUpdateStep:W=>{U(W)},onZeniLogoClick:b,handleLogOutClick:_,handleCockpitClick:z,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(De,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:D,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:B,handleFetchPaymentSources:E,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:N,productType:"onboarding"})]})},Je=c.div`
61
+ `,V=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:v,currentTenant:O,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:B,onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:D,updateCardPaymentModalState:E,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:O,onUpdateStep:W=>{B(W)},onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:b,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:E,handleFetchPaymentSources:D,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.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,fA as tn,J as Ye,d as nn,a9 as an,cG as me,aR as Qe,w as yt,aE as We,bD as on,o as re,ac as sn,u as K,aS as rn,hO as ln,ge as cn,fB as ft,f0 as Ot,F as Me,f1 as gt,y as ye,gh as fe,cK as dn,al as pn,hP as ht,ad as St,cU as un,gg as mn}from"./index-DQj8IFZB.js";import{a as m}from"./sentry-CmSZxGiC.js";import{n as P,k as wt}from"./mui-BU7efdfo.js";import{bi as j,Fp as yn,Fq as fn}from"./zeni-epic-state-4hreDbys.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-gaNLv-zU-C5-av3XE.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-BrWGFePj-D9A4KVB4.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-CtptCfIN-E-ghNZwQ.js";import{t as bn}from"./QBOSetupSection-DwqXfi9i-Dmc0UPaw.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.js";import"./commonTypes-TAIHQ3fk-DQoSEEvg.js";import"./SetUpAccountSection-D6dn2jSD-30yvmE7W.js";import"./helper-Cl1NuKS2-GEpi-XmM.js";import"./LabeledAddressValueField-DSU3b6xx-Do3zHmCW.js";import"./LabeledCountryMultiSelectField-D1bMiaZj-ColeHqz7.js";import"./LabeledCreatableSingleSelectField-amXDv508-6VO0EsbY.js";import"./LabeledDocumentField-2_VcrmJN-BD9gdLcR.js";import"./QBOConnectionDialog-CLBqmpI8-DKi8GIOA.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="c810179f-1c1f-42e8-8780-56efc9b142ec",n._sentryDebugIdIdentifier="sentry-dbid-c810179f-1c1f-42e8-8780-56efc9b142ec")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const f=Ye(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Me.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=c,v=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(Pn,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:D,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:v,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},Pn=P.div`
1
+ import{V as l,fB as tn,J as Ke,y as nn,a9 as an,cH as me,aR as Qe,A as yt,aF as Me,bD as on,o as re,ad as sn,u as W,aS as rn,hP as ln,gf as cn,fC as ft,f1 as Ot,F as Ye,f2 as gt,x as ye,gi as fe,cL as dn,am as pn,hQ as ht,ae as St,cV as un,gh as mn}from"./index-C9hDAJ7o.js";import{a as m}from"./sentry-Ckvw8Zf1.js";import{n as P,k as wt}from"./mui-BQR0Ruo4.js";import{bi as j,Fr as yn,Fs as fn}from"./zeni-epic-state-BnsQ52n7.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js";import{t as bn}from"./QBOSetupSection-DevcmmCv-C2NxYIUb.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./commonTypes-DwuUdRAc-CVoF2D5n.js";import"./SetUpAccountSection-o86ErvD_-Celwp-jA.js";import"./helper-T710NLca-BU35xGXS.js";import"./LabeledAddressValueField-DL3wJoZC-CMggf1RU.js";import"./LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js";import"./LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js";import"./LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js";import"./QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="a54f14f4-2b64-4d70-83a2-f7933cab8a52",n._sentryDebugIdIdentifier="sentry-dbid-a54f14f4-2b64-4d70-83a2-f7933cab8a52")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const f=Ke(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(Pn,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},Pn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
- `,On=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:O,isDisabled:h,style:w,onCompanyAddressClick:f,onRegisteredAddressClick:V})=>{const c=Ye(),{company_details:D}=Me.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=D;return l.jsx(wn,{children:l.jsx(Sn,{fileProps:C,companyDetails:i,sectionId:_,isDisabled:h,style:w,sectionHeader:v,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:O,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:V})})},wn=P.div`
5
+ `,On=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:O,isDisabled:h,style:w,onCompanyAddressClick:f,onRegisteredAddressClick:A})=>{const c=Ke(),{company_details:v}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=v;return l.jsx(wn,{children:l.jsx(Sn,{fileProps:C,companyDetails:i,sectionId:_,isDisabled:h,style:w,sectionHeader:D,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:O,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:A})})},wn=P.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
@@ -10,7 +10,7 @@ import{V as l,fA as tn,J as Ye,d as nn,a9 as an,cG as me,aR as Qe,w as yt,aE as
10
10
  display: flex;
11
11
  `,kn=P.input`
12
12
  display: none;
13
- `,_n=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new ye(343,580,726,826),topNavBarHeight:new ye(52,52,63),topNavBarLeftRightSpace:new ye(K[5],K[9],112),subTitlePaddingTop:new ye(K[3],K[3]),subTitlePaddingBottom:new ye(K[3],K[3])},Nn=n=>`${n}_form`,le=Me.getLocalizedStrings(),Dn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:f,googleAPIKey:V,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:D,updateCardPaymentModalState:v,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...De})=>{const R=Ye(),ve=m.useRef(null),Ae=m.useRef(null),Y=m.useRef(null),Ve=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,M]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:Dt,onUpdateStep:Fe,onAddressEditHandler:vt}=De,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Ke(g,g.allNationalityCountries),values:Ke(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),Q=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=Q();T?.(e)},[Q,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=Q();T?.(u)})});return()=>e.unsubscribe()},[s,Q,T]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Ze,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:W,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:Vt,officer:Tt},subscriptionBillingAddress:G}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(r=>r?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!fe(e)?s.trigger(`${b}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${J<0?1:J+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=Qe(x.fetchState),L=Qe(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=W?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,r=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!W&&a||!a&&!W&&r};function rt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=G?.street.join("").trim(),a=G?.city,r=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!r&&!!u&&!!k}const lt=Qe(W?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[$],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&W?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,W?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))A?.(t[b]);else if(e.includes(y)&&t[y]!=null){const a=s.getValues(`${y}`).country;let r=t[y];if(e.includes(`${y}.street`)&&t[y].street!=null){const{addressValue:u}=t[y].street,k=Ot(u?.country);r={street:t[y].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[y].secondaryInfo,suite:t[y].suite},a.selectedOption!==k.selectedOption&&(r={...r,country:k})}else e===`${y}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${y}.street`)===!1&&(r={...r,countryCode:gt(a.selectedOption)});vt(r)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Ke(g,we),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,we,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(M(null),H(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,H]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[$];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!We(nt!=null?j(nt):null,Re!=null?j(Re):null),Ht=!We(at!=null?j(at):null,ke!=null?j(ke):null),Qt=!We(ot!=null?j(ot):null,ze!=null?j(ze):null),Wt=s.getFieldState(B).isDirty||Ht||Qt||Vt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${y}`).isDirty,_e=d?.primaryContactLocalData,Kt=()=>{H(o,"previous",!0)},Yt=()=>{const e=s.getValues(y),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Mt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=Q();T?.(e),rt()&&dt?(Yt(),$e($,!1,!0),M({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):H(o,"next",!0)},200):H(o,"next",!0);break;case"qbo_connection":H(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=Q();T?.(t)}),e.needsOtp&&e.phoneNumber&&fe(e.phoneNumber)){const t=s.formState.errors[b]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),M({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else H(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${Z}`),s.trigger(`${y}`)),t&&s.trigger(ge),me(()=>{const a=Q();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Wt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=Q();T?.(a)}),e&&t.isValid?(Ee&&(z(!0),Xt()),$e($,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:_e?.firstName,lastName:_e?.lastName,email:_e?.email}),M({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Gt():H(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,r=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=J<0?0:J,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!0&&O==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&fe(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!r||St.test(r)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[$];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Zt]=m.useState(!1);return l.jsxs(Vn,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:At.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx($n,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx(Fn,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:v,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let a=ve;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:v,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:He,googleAPIKey:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:Dt}),a=Ae;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ve;break;case"company_details":t=l.jsx(On,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=Y;break}return l.jsxs(Ln,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?K[6]:K[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Mt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Kt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(gn,{handleConfirmCardSetupIntent:D,updateCardPaymentModalState:v,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:He,setCardSetupInProgress:Zt})]})},vn=wt`
13
+ `,_n=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new ye(343,580,726,826),topNavBarHeight:new ye(52,52,63),topNavBarLeftRightSpace:new ye(W[5],W[9],112),subTitlePaddingTop:new ye(W[3],W[3]),subTitlePaddingBottom:new ye(W[3],W[3])},Nn=n=>`${n}_form`,le=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:f,googleAPIKey:A,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Ke(),De=m.useRef(null),Ve=m.useRef(null),K=m.useRef(null),Ae=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[$,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:V,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:Fe,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:vt,onUpdateStep:$e,onAddressEditHandler:Dt}=ve,Vt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),Q=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).error!=null||s.getFieldState(y).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=Q();T?.(e)},[Q,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=Q();T?.(u)})});return()=>e.unsubscribe()},[s,Q,T]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Ze,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:M,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:G}=g,xe=m.useRef(""),Ft=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(r=>r?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!fe(e)?s.trigger(`${b}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,F=`Officer_${J<0?1:J+1}`,$t=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[F]?.userId!=null?$t?.find(e=>e.user.userId===E[F]?.userId)?.address:null,nt=E[F]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=Qe(x.fetchState),L=Qe(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=M?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,r=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!M&&a||!a&&!M&&r};function rt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=G?.street.join("").trim(),a=G?.city,r=G?.state,u=G?.country,k=G?.postalCode!=null&&G.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!r&&!!u&&!!k}const lt=Qe(M?.providerVerificationStatus?.code),Rt=()=>{const e=d,t=[];return e?.companyLegalName!=null&&t.push("legal_name"),e?.companyDescription!=null&&e?.companyDescription!==p.strings.empty&&t.push("company_description"),e?.addressStatus?.addressToCreate!=null&&t.push("company_address"),e?.registeredAddressStatus?.addressToCreate!=null&&t.push("registered_address"),e?.website!=null&&t.push("website"),e?.companyIndustry!=null&&e?.companyIndustry!==p.strings.empty&&t.push("industry"),e?.typeOfIncorporation!=null&&e?.typeOfIncorporation!==p.strings.empty&&t.push("type_of_incorporation"),e?.incDate!=null&&t.push("inc_date"),e?.phone!=null&&t.push("phone"),e?.primaryContactLocalData?.firstName!=null&&e?.primaryContactLocalData?.lastName!=null&&t.push("primary_contact_name"),e?.primaryContactLocalData?.email!=null&&t.push("primary_contact_email"),e?.taxIdOrEIN!=null&&t.push("tax_id_or_ein"),e?.companyFiles.find(a=>a.documentType==="certificate_of_incorporation")!=null&&t.push("certificate_of_incorporation"),e?.companyFiles.find(a=>a.documentType==="tax_ein")!=null&&t.push("ein"),{completedFields:t,status:t.length===14?"complete":t.length>0?"partially_complete":"incomplete"}},zt=()=>{const e=E[F],t=[];return e?.firstName!=null&&e.firstName!==p.strings.empty&&t.push("first_name"),e?.lastName!=null&&e.lastName!==p.strings.empty&&t.push("last_name"),e?.birthday!=null&&t.push("dob"),e?.nationalityCountryCode!=null&&t.push("nationality"),e?.addressStatus?.addressToCreate!=null&&t.push("address"),e?.phone!=null&&e.phone!==p.strings.empty&&e.isPhoneVerified===!0&&t.push("phone"),e?.titleAtCompany!=null&&e.titleAtCompany!==p.strings.empty&&t.push("company_role"),e?.ownershipInCompany!=null&&t.push("ownership"),e?.ssn!=null&&e.ssn!==p.strings.empty&&t.push("ssn"),e?.documentTypeSelectedForVerification!=null&&t.push("document_type"),e?.fileIds!=null&&e.fileIds.length>0&&t.push("document_uploaded"),{completedFields:t,status:t.length===11?"complete":t.length>0?"partially_complete":"incomplete"}};m.useEffect(()=>{lt==="pending_manual_verification"&&M?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,M?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))V?.(t[b]);else if(e.includes(y)&&t[y]!=null){const a=s.getValues(`${y}`).country;let r=t[y];if(e.includes(`${y}.street`)&&t[y].street!=null){const{addressValue:u}=t[y].street,k=Ot(u?.country);r={street:t[y].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[y].secondaryInfo,suite:t[y].suite},a.selectedOption!==k.selectedOption&&(r={...r,country:k})}else e===`${y}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${y}.street`)===!1&&(r={...r,countryCode:gt(a.selectedOption)});Dt(r)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(We(g,we),{keepDirtyValues:!1}),L==="company_details"&&o==="link_payment_account"&&!S.includes("qbo_connection")&&!g.qboConnected&&Se())},[s,g,ie,x.fetchState,we,L,o,S,Se]),m.useEffect(()=>{Ce&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},[ie,Ce,x.fetchState,Te]),m.useEffect(()=>{te?.shouldNavigate===!0&&ie==="In-Progress"&&x.fetchState==="Completed"&&(Y(null),H(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,H]),m.useLayoutEffect(()=>{L!=null&&L!==o&&(S.indexOf(L)===S.indexOf(o)-1||S.indexOf(L)===Ue-1&&S.indexOf(o)===0?U!=="next"&&q("next"):(S.indexOf(L)-1===S.indexOf(o)||S.indexOf(L)===0&&S.indexOf(o)===Ue-1)&&U!=="previous"&&q("previous"))},[S,o,L,U,Ue]);const ct=()=>{const e=E[F];return!!e?.firstName||!!e?.lastName||!!e?.email||!!e?.nationalityCountryCode||!!e?.birthday||!!e?.ownershipInCompany||!!e?.phone||!!e?.ssn||!!e?.titleAtCompany||!!e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0},qt=!Me(nt!=null?j(nt):null,Re!=null?j(Re):null),Ht=!Me(at!=null?j(at):null,ke!=null?j(ke):null),Qt=!Me(ot!=null?j(ot):null,ze!=null?j(ze):null),Mt=s.getFieldState(B).isDirty||Ht||Qt||At,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${y}`).isDirty,_e=d?.primaryContactLocalData,Wt=()=>{H(o,"previous",!0)},Kt=()=>{const e=s.getValues(y),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=Q();T?.(e),rt()&&dt?(Kt(),Fe(F,!1,!0),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):H(o,"next",!0)},200):H(o,"next",!0);break;case"qbo_connection":H(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=Q();T?.(t)}),e.needsOtp&&e.phoneNumber&&fe(e.phoneNumber)){const t=s.formState.errors[b]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&(Fe(F,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else H(o,"next",!0);break;case"company_details":Ie(!0);{const e=!(rt()&&ue()),t=!Bt()&&S.includes("qbo_connection");if(e||t){e&&(s.trigger(`${Z}`),s.trigger(`${y}`)),t&&s.trigger(ge),me(()=>{const a=Q();T?.(a)}),e?$e("link_payment_account"):t&&$e("qbo_connection");return}}if(Mt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=Q();T?.(a)}),e&&t.isValid?(Ee&&(z(!0),Xt()),Fe(F,!Ee,!1),h.trackOnboardingCompanyDetailsSave({companyDescription:d?.companyDescription,legalName:d?.companyLegalName,industry:d?.companyIndustry??p.strings.empty,incDate:d?.incDate?.toString(),phone:d?.phone,website:d?.website?.toString(),formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},Rt(),{firstName:_e?.firstName,lastName:_e?.lastName,email:_e?.email}),Y({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||$e("company_officer")}else Ee?Gt():H(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},pt=()=>{const e=E[F],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,r=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=J<0?0:J,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!0&&O==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&fe(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!r||St.test(r)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[F];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[He,Zt]=m.useState(!1);return l.jsxs(An,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx(Fn,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx($n,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:M,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:D,cardSetupInProgress:He,subscriptionBillingAddressSectionId:y});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:M,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Oe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:D,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:He,googleAPIKey:A,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:vt}),a=Ve;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:$,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:Ft,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=l.jsx(On,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=K;break}return l.jsxs(Ln,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!$:!0,paddingBottom:e==="company_details"||e==="company_officer"?W[6]:W[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Pt}`,style:{width:R==="small"?"auto":"100%",paddingTop:re.sp2,paddingBottom:re.sp2},primaryBtn:{onClick:Yt,label:o==="company_details"?p.footer.submit:st.next,isLoading:x.fetchState==="In-Progress",isDisabled:x.fetchState==="In-Progress"},cancelBtn:{onClick:Wt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(gn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:He,setCardSetupInProgress:Zt})]})},Dn=wt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -19,7 +19,7 @@ import{V as l,fA as tn,J as Ye,d as nn,a9 as an,cG as me,aR as Qe,w as yt,aE as
19
19
  transform: translateY(0);
20
20
  opacity: 1;
21
21
  }
22
- `,An=wt`
22
+ `,Vn=wt`
23
23
  from {
24
24
  transform: translateY(-100%);
25
25
  opacity: 0;
@@ -28,7 +28,7 @@ import{V as l,fA as tn,J as Ye,d as nn,a9 as an,cG as me,aR as Qe,w as yt,aE as
28
28
  transform: translateY(0);
29
29
  opacity: 1;
30
30
  }
31
- `,Vn=P.div`
31
+ `,An=P.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  align-items: center;
@@ -57,13 +57,13 @@ import{V as l,fA as tn,J as Ye,d as nn,a9 as an,cG as me,aR as Qe,w as yt,aE as
57
57
  ${n=>n.theme.breakpoints.down("lg")} {
58
58
  background-size: cover;
59
59
  }
60
- `,$n=P.div`
60
+ `,Fn=P.div`
61
61
  display: flex;
62
62
  flex-direction: column;
63
63
  align-items: center;
64
64
  text-align: center;
65
65
  width: ${n=>`calc(100% - ${he.topNavBarLeftRightSpace.valuePx(n.windowSize)})`};
66
- `,Fn=P.div``,En=P.div`
66
+ `,$n=P.div``,En=P.div`
67
67
  display: flex;
68
68
  align-items: center;
69
69
  justify-content: space-between;
@@ -74,7 +74,7 @@ import{V as l,fA as tn,J as Ye,d as nn,a9 as an,cG as me,aR as Qe,w as yt,aE as
74
74
  display: ${n=>n.isVisible?"flex":"none"};
75
75
  flex-direction: column;
76
76
  padding-bottom: ${n=>n.paddingBottom+"px"};
77
- animation-name: ${n=>n.stepAnimationDirection==="next"?vn:An};
77
+ animation-name: ${n=>n.stepAnimationDirection==="next"?Dn:Vn};
78
78
  ${n=>n.includeAnimation?`
79
79
  animation-duration: 0.6s;
80
80
  animation-delay: 0s;
@@ -94,7 +94,7 @@ import{V as l,fA as tn,J as Ye,d as nn,a9 as an,cG as me,aR as Qe,w as yt,aE as
94
94
  text-align: ${n=>n.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,Ke=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[B]:{companyDescription:i?.companyDescription??le.common.strings.empty,ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId,syncToken:i?.syncToken,companyLegalName:i?.companyLegalName,companyWebsite:i?.website?.toString()??le.common.strings.empty,companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:n.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:i?.companyIndustryType,allOptions:[...yn]},companySubIndustry:{selectedOption:i?.companySubIndustry,allOptions:fn(i?.companyIndustryType)},companyPhone:i?.phone,companyTaxId:i?.taxIdOrEIN,primaryContactName:{firstName:i?.primaryContactLocalData?.firstName,lastName:i?.primaryContactLocalData?.lastName},primaryContactEmail:i?.primaryContactLocalData?.email,primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,V)=>{const c=f,D=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${V+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Ot(c?.nationalityCountryCode,C.map(v=>v.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,c?.userFiles??[],D),back:ft(!1,c?.userFiles??[],D),selectDocumentType:D},isSelectedForVerification:!w&&V===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[y]:ln(y,n?.subscriptionBillingAddress)[y],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},pa=n=>{const{onboardingCustomerView:C,cardPaymentView:i,signedInUser:g,currentTenant:_,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:f,onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:D,meetingUrl:v,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:De,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:ve,...Ae}=n,{allSteps:Y,completedSteps:Ve,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(Y),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),M={allSteps:Y,isOnAddressPage:O,completedSteps:Ve,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:A=>{f(A)},onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:D,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const A=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,A),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{Y.length!==F.current.length&&(F.current=Y)},[Y]);const ne=(A,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(A);switch(Oe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingNext(A,N):I.trackOnboardingCurrentStep(N,A);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingBack(A,N):I.trackOnboardingCurrentStep(N,A);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:O,children:O?l.jsx(bt,{...M}):l.jsxs(zn,{children:[l.jsx(bt,{...M}),Pe?l.jsx(hn,{isNoStepsPage:!1}):l.jsx(Dn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:f,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:De,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:ve,onFormErrorsChange:te,...Ae}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:v,analytics:I,productType:"onboarding"})]})})},Rn=P.div`
97
+ `,We=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=_?.companyOfficers!=null&&_?.companyOfficers.length>0;return{[B]:{companyDescription:i?.companyDescription??le.common.strings.empty,ein:i?.companyFiles.find(f=>f.documentType==="tax_ein"),companyId:i?.companyId,syncToken:i?.syncToken,companyLegalName:i?.companyLegalName,companyWebsite:i?.website?.toString()??le.common.strings.empty,companyAddress:i?.addressStatus?.addressToCreate,registeredAddress:i?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:i?.companyIndustry,allOptions:n.companyIndustries.map(f=>f.code)},companyIndustryType:{selectedOption:i?.companyIndustryType,allOptions:[...yn]},companySubIndustry:{selectedOption:i?.companySubIndustry,allOptions:fn(i?.companyIndustryType)},companyPhone:i?.phone,companyTaxId:i?.taxIdOrEIN,primaryContactName:{firstName:i?.primaryContactLocalData?.firstName,lastName:i?.primaryContactLocalData?.lastName},primaryContactEmail:i?.primaryContactLocalData?.email,primaryContactUserId:i?.primaryContactLocalData?.userId,primaryContactSyncToken:i?.primaryContactLocalData?.syncToken,fileIds:i?.companyFiles.map(f=>f.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(f=>f.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((f,A)=>{const c=f,v=cn(c?.documentTypeSelectedForVerification);return{userId:c?.userId,officerType:c?.officerType??`Officer_${A+1}`,name:{firstName:c?.firstName,lastName:c?.lastName},email:c?.email,fileIds:c?.fileIds??[],dob:c?.birthday?.toDate(),nationalityCountryCode:Ot(c?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:O.allTypesOfRoles},phone:c?.phone,ownership:c?.ownershipInCompany,officerAddress:c?.addressStatus?.addressToCreate,selectDocument:{front:ft(!0,c?.userFiles??[],v),back:ft(!1,c?.userFiles??[],v),selectDocumentType:v},isSelectedForVerification:!w&&A===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[Z]:{account:{allOptions:[],selectedOption:void 0}},[y]:ln(y,n?.subscriptionBillingAddress)[y],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},pa=n=>{const{onboardingCustomerView:C,cardPaymentView:i,signedInUser:g,currentTenant:_,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:f,onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,...Ve}=n,{allSteps:K,completedSteps:Ae,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),$=m.useRef(K),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:K,isOnAddressPage:O,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:V=>{f(V)},onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const V=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,V),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{K.length!==$.current.length&&($.current=K)},[K]);const ne=(V,Oe,de)=>{const ae=$.current.length,pe=$.current.indexOf(V);switch(Oe){case"next":{const oe=(pe+1)%ae,N=$.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingNext(V,N):I.trackOnboardingCurrentStep(N,V);break}case"previous":{const oe=(pe+ae-1)%ae,N=$.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingBack(V,N):I.trackOnboardingCurrentStep(N,V);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:O,children:O?l.jsx(bt,{...Y}):l.jsxs(zn,{children:[l.jsx(bt,{...Y}),Pe?l.jsx(hn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:f,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,onFormErrorsChange:te,...Ve}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Rn=P.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{J as F,a8 as I,aw as M,d as U,V as e,bD as _,o as t,aQ as b,bo as A,fA as V,F as W,al as H,af as R,p as l,b as k,ag as J,c as N,R as Z,aq as q,b0 as G}from"./index-DQj8IFZB.js";import{a as n}from"./sentry-CmSZxGiC.js";import{n as o}from"./mui-BU7efdfo.js";import{G1 as Q}from"./zeni-epic-state-4hreDbys.js";import Y from"./ConfettiBurst-BWYsiO3O-4BlId3h5.js";import{T as K}from"./ProductsCarousel-BPUh4FO7-C-quXntD.js";import"./liveblocks-C1mHPmJS.js";import"./core-BE_Z31V1.js";import"./recharts-wrfDO0AQ.js";import"./lottie-DyTfNQDx.js";import"./analytics-Df2mJ1lX.js";import"./lexical-aqmLQuMS.js";import"./utils-4HiCQfG5.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]="04ab98d8-a855-47b0-a130-0f9e31f82d20",i._sentryDebugIdIdentifier="sentry-dbid-04ab98d8-a855-47b0-a130-0f9e31f82d20")}catch{}})();const X=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=W.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),x=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,Q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(K,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(A,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Y,{showConfetti:$})]})},te=o.div`
1
+ import{J as F,a8 as I,ax as M,y as U,V as e,bD as _,o as t,ab as b,bo as V,fB as W,F as A,am as H,ag as R,p as l,w as k,ah as J,c as N,R as Z,ar as G,b0 as q}from"./index-C9hDAJ7o.js";import{a as n}from"./sentry-Ckvw8Zf1.js";import{n as o}from"./mui-BQR0Ruo4.js";import{G3 as K}from"./zeni-epic-state-BnsQ52n7.js";import Q from"./ConfettiBurst-B4gz9uC9-BhJEyb5s.js";import{T as X}from"./ProductsCarousel-CTiD9zA7-D7cEl2bl.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="b1047e3e-eed0-4e26-9518-227c2a57e18a",i._sentryDebugIdIdentifier="sentry-dbid-b1047e3e-eed0-4e26-9518-227c2a57e18a")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),f=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,O=U(),{customerOnboardingPage:c}=ee,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]},B=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor: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(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(V,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -129,10 +129,10 @@ import{J as F,a8 as I,aw as M,d as U,V as e,bD as _,o as t,aQ as b,bo as A,fA as
129
129
  color: ${i=>i.theme.colors.primary};
130
130
  }
131
131
  }
132
- `,ge=o(q)`
132
+ `,ge=o(G)`
133
133
  color: inherit;
134
134
  text-align: center;
135
- `,ue=o(G)`
135
+ `,ue=o(q)`
136
136
  width: ${t.sp3};
137
137
  height: ${t.sp3};
138
138
  color: inherit;
@@ -150,13 +150,13 @@ import{J as F,a8 as I,aw as M,d as U,V as e,bD as _,o as t,aQ as b,bo as A,fA as
150
150
  justify-content: space-between;
151
151
  align-items: center;
152
152
  flex-direction: column;
153
- `,fe=o.div`
153
+ `,xe=o.div`
154
154
  display: flex;
155
155
  position: relative;
156
156
  justify-content: space-between;
157
157
  width: 100%;
158
158
  align-items: center;
159
- `,xe=o.div`
159
+ `,fe=o.div`
160
160
  display: flex;
161
161
  left: ${t.sp4};
162
162
  bottom: ${t.sp3};
@@ -173,7 +173,7 @@ import{J as F,a8 as I,aw as M,d as U,V as e,bD as _,o as t,aQ as b,bo as A,fA as
173
173
  cursor: pointer;
174
174
  flex-shrink: 0;
175
175
  margin-left: -${t.sp5};
176
- `,be=o(X)`
176
+ `,be=o(Y)`
177
177
  width: ${t.sp4};
178
178
  min-width: ${t.sp4};
179
179
  height: ${t.sp4};