@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-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 (357) hide show
  1. package/dist/assets/{ACHDetailsPage-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
  3. package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
  7. package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
  9. package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
  11. package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
  12. package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
  14. package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
  15. package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
  17. package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
  19. package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
  20. package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
  21. package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
  22. package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
  23. package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
  26. package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
  29. package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
  30. package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
  32. package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
  34. package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
  36. package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
  38. package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
  40. package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
  44. package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
  46. package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
  50. package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
  51. package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
  55. package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
  58. package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
  62. package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
  64. package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
  65. package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
  66. package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
  68. package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
  71. package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
  75. package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
  76. package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
  78. package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
  79. package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
  81. package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
  82. package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
  83. package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
  84. package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
  87. package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
  94. package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
  97. package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
  98. package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
  99. package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
  109. package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
  110. package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
  111. package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
  112. package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
  113. package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
  114. package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
  115. package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
  116. package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
  117. package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
  118. package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
  123. package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
  124. package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
  126. package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
  128. package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
  131. package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
  135. package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
  136. package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
  137. package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
  138. package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
  139. package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
  140. package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
  141. package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
  145. package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
  146. package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
  147. package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
  148. package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
  151. package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
  152. package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
  153. package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
  154. package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
  155. package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
  156. package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
  157. package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
  158. package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
  159. package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
  161. package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
  163. package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
  164. package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
  165. package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
  166. package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
  167. package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
  169. package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
  170. package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
  172. package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
  174. package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
  175. package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
  176. package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
  177. package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
  179. package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
  181. package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
  182. package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
  184. package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
  188. package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
  189. package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
  190. package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
  192. package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
  193. package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
  194. package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
  196. package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
  197. package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
  200. package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
  201. package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
  205. package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
  206. package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
  207. package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
  208. package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
  209. package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
  210. package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
  211. package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
  212. package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
  213. package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
  214. package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
  215. package/dist/assets/epic-CLSKdGkp.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
  220. package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
  221. package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
  222. package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
  223. package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
  224. package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
  225. package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
  226. package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
  227. package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
  228. package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
  229. package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
  230. package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
  237. package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
  241. package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
  242. package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
  243. package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
  244. package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
  245. package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
  246. package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
  247. package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
  248. package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
  249. package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
  250. package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
  253. package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
  254. package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
  255. package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
  256. package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
  257. package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
  260. package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
  261. package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
  265. package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
  266. package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
  267. package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
  268. package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
  269. package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
  270. package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
  271. package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
  272. package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
  273. package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
  274. package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
  275. package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
  276. package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
  277. package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
  278. package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
  279. package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
  280. package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
  282. package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
  283. package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
  284. package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
  285. package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
  286. package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
  287. package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
  288. package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
  289. package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
  290. package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
  291. package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
  292. package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
  293. package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
  294. package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
  295. package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
  296. package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
  297. package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
  298. package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
  299. package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
  300. package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
  301. package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
  302. package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
  303. package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
  304. package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
  305. package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
  306. package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
  307. package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
  308. package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
  309. package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
  310. package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
  311. package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
  312. package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
  313. package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
  314. package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
  315. package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
  316. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
  317. package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
  318. package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
  319. package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
  320. package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
  321. package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
  322. package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
  323. package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
  324. package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
  325. package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
  326. package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
  327. package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
  328. package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
  329. package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
  330. package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
  331. package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
  332. package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
  333. package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
  334. package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
  335. package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
  336. package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
  337. package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
  338. package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
  339. package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
  340. package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
  341. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
  342. package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
  343. package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
  344. package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
  345. package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
  346. package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
  347. package/dist/assets/epic-B0RIAA2R.js +0 -2
  348. package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
  349. package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
  350. package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
  351. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
  352. package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
  353. package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
  354. package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
  355. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
  356. package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
  357. package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
@@ -0,0 +1,66 @@
1
+ import{a9 as se,V as o,fB as Ce,J as be,d as Pe,aa as we,aS as xe,cH as ke,bE as Ie,o as i,aR as Ae,ad as $e,aT as Oe,bp as Ve,hP as ve,O as Te,f1 as je,f2 as oe,ag as Le,y as Z,am as Be,u as A}from"./index-sotzB3Mx.js";import{n as c}from"./mui-CWqpJBOf.js";import{a as $}from"./sentry-2bqpslFP.js";import{r as Ee,t as Ue}from"./PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js";import{f as _e}from"./CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./zeni-epic-state-DM-Ak8Gv.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./commonTypes-CGdrM7wg-Dv-NGJZV.js";import"./SetUpAccountSection-DBuoMbxP-u5yk_3Is.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]="6950a1c1-487b-46f2-b625-83bbb5c7f905",e._sentryDebugIdIdentifier="sentry-dbid-6950a1c1-487b-46f2-b625-83bbb5c7f905")}catch{}})();const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new Z(343,580,726,826),subTitlePaddingTop:new Z(A[3],A[3]),subTitlePaddingBottom:new Z(A[3],A[3])},ze=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:v,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleAddCardPaymentSource:E,resetCardPaymentViewState:U,handleResetCardPaymentErrorStatuses:_,redirectToProductSuitePage:w,onUpdateCustomerView:z,...D})=>{const m=be(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:H,onAddressEditHandler:x}=D,J=Pe(),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}=De,{footer:ue,steps:pe}=ce,{buttons:W}=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"),z(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(Fe,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:J.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(Je,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ge,{id:ze(ie),children:o.jsxs(Re,{children:[o.jsx(We,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ee,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:U,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:b,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:W.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:W.submitText.replace("__action__",W.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ue,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:E,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ min-width: 100% ${e=>e.theme.breakpoints.down("md")} {
6
+ width: 100%;
7
+ padding-left: ${i.sp0};
8
+ }
9
+ `,Me=c.div`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ flex: 1;
14
+ width: 100%;
15
+ height: 100%;
16
+ background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="dark"?"d":"l"}.svg)`};
17
+ background-color: ${e=>e.theme.colors.grey4};
18
+ background-size: inherit;
19
+ background-attachment: fixed;
20
+ background-position: ${e=>e.windowSize==="small"?"center center":"right center"};
21
+ background-repeat: no-repeat;
22
+
23
+ ${e=>e.theme.breakpoints.down("lg")} {
24
+ background-size: cover;
25
+ }
26
+ `,Re=c.div`
27
+ display: flex;
28
+ height: 100%;
29
+ flex-direction: column;
30
+ padding-bottom: ${i.sp0};
31
+ `,Ge=c.form`
32
+ padding-top: ${i.sp0};
33
+ flex: 1;
34
+ `,Ne=c.div`
35
+ display: flex;
36
+ height: ${i.sp7};
37
+ left: ${i.sp4};
38
+ bottom: ${i.sp3};
39
+ position: fixed;
40
+ justify-content: center;
41
+ align-items: center;
42
+ cursor: default;
43
+ `,He=c.div`
44
+ display: flex;
45
+ `,Je=c(Le)`
46
+ height: ${i.sp4};
47
+ width: 102px;
48
+ color: ${e=>e.theme.colors.primary};
49
+ cursor: pointer;
50
+ flex-shrink: 0;
51
+ margin-left: -${i.sp4};
52
+ `,We=c(Be)`
53
+ color: ${e=>e.theme.colors.hero};
54
+ display: flex;
55
+ justify-content: center;
56
+ width: ${e=>q.titleWidth.valuePx(e.windowSize)};
57
+ padding-top: ${e=>q.subTitlePaddingTop.valuePx(e.windowSize)};
58
+ padding-bottom: ${e=>q.subTitlePaddingBottom.valuePx(e.windowSize)};
59
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
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:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:B,onZeniLogoClick:P,handleLogOutClick:E,handleCockpitClick:U,handleCreateCardSetupIntent:_,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:z,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,G=se(),{analytics:N}=G,H={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:V,currentTenant:v,onUpdateStep:J=>{B(J)},onZeniLogoClick:P,handleLogOutClick:E,handleCockpitClick:U,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Ze,{isOnAddressPage:b,children:[x?o.jsx(_e,{isNoStepsPage:!0}):o.jsx(Ke,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:_,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:z,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:K,redirectToProductSuitePage:h,...F}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:N,productType:"onboarding"})]})},Ze=c.div`
62
+ display: flex;
63
+ flex-direction: column;
64
+ width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
65
+ height: 100vh;
66
+ `;export{ut as default};
@@ -1,8 +1,8 @@
1
- import{V as l,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG as We,bE as on,o as re,ae as sn,u as Q,aT as rn,hW as ln,gh as cn,fE as yt,f3 as Ot,b as Ye,f4 as gt,x as fe,gk as ye,cN as dn,an as pn,hX as ht,af as St,cX as un,gj as mn}from"./index-DceSoL0X.js";import{a as m}from"./sentry-DSwgNZrO.js";import{n as P,k as wt}from"./mui-B9ZZxqGv.js";import{bi as j,Ga as fn,Gb as yn}from"./zeni-epic-state-BKQAT3eK.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js";import{t as bn}from"./QBOSetupSection-CzvyO3jT-MFHCmvJY.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./commonTypes-BqXyygFE-CnF1i8TV.js";import"./SetUpAccountSection-Bx30O5Ml-WH4usOA9.js";import"./helper-C6wE3mOs-ygxajmnJ.js";import"./LabeledAddressValueField-BJl_17nw-BoellP6H.js";import"./LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js";import"./LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js";import"./LabeledDocumentField-De9s68TP-Cri5KHGX.js";import"./QBOConnectionDialog-DkBwI8ar-CHNOORcZ.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]="52c12389-bf82-4017-bc94-dfb1b4f588a1",n._sentryDebugIdIdentifier="sentry-dbid-52c12389-bf82-4017-bc94-dfb1b4f588a1")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:N,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Ke(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(Pn,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:N,...w})})},Pn=P.div`
1
+ import{V as l,fB as tn,J as Ye,d as nn,aa as an,cH as me,aS as Me,w as yt,aF as Qe,bE as on,o as re,ad as sn,u as W,aT as rn,hP as ln,gf as cn,fC as ft,f1 as Ot,O as Ke,f2 as gt,y 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-sotzB3Mx.js";import{a as m}from"./sentry-2bqpslFP.js";import{n as P,k as wt}from"./mui-CWqpJBOf.js";import{bi as j,Fq as yn,Fr as fn}from"./zeni-epic-state-DM-Ak8Gv.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js";import{t as bn}from"./QBOSetupSection-BsFbgysY-CxagA6VQ.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./commonTypes-CGdrM7wg-Dv-NGJZV.js";import"./SetUpAccountSection-DBuoMbxP-u5yk_3Is.js";import"./helper-kGYJRbxq-D4mxVura.js";import"./LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js";import"./LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js";import"./LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js";import"./LabeledDocumentField-B7TETIva-DaOKO-m5.js";import"./QBOConnectionDialog-CGH6M1BO-BTEhQpDo.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]="ab910ffc-5e9c-45a7-9b18-5233c600d3e5",n._sentryDebugIdIdentifier="sentry-dbid-ab910ffc-5e9c-45a7-9b18-5233c600d3e5")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const f=Ye(),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}=Ke.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=c,v=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: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`
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:N,isCompleted:O,isDisabled:h,style:w,onCompanyAddressClick:y,onRegisteredAddressClick:V})=>{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:N,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:y,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=Ye(),{company_details:V}=Ke.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=V;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: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,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG as
10
10
  display: flex;
11
11
  `,kn=P.input`
12
12
  display: none;
13
- `,Nn=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:N=>N==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",X="onboardingPaymentAccountSetupSection",Pt="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(Q[5],Q[9],112),subTitlePaddingTop:new fe(Q[3],Q[3]),subTitlePaddingBottom:new fe(Q[3],Q[3])},_n=n=>`${n}_form`,le=Ye.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:N,connectedAccountProvider:O,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:V,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:_e,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Ke(),De=m.useRef(null),Ae=m.useRef(null),K=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,Y]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:A,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:_,onEditFileName:Ge,updateFilesEntity:Ze,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:Nt,handleOnConnectClick:_t,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Dt}=ve,At=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Qe(g,g.allNationalityCountries),values:Qe(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(X).error!=null||s.getFieldState(f).error!=null)&&e.push("link_payment_account"),s.getFieldState(ge).error!=null&&e.push("qbo_connection"),e},[s]);m.useEffect(()=>{const e=M();T?.(e)},[M,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=M();T?.(u)})});return()=>e.unsubscribe()},[s,M,T]);const Je=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Xe,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&&!ye(e)?s.trigger(`${b}.${Z}.phone`):xt(e)},Z=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${Z<0?1:Z+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.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=Me(x.fetchState),L=Me(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(f).error)return!1;const e=s.getValues(f),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=Me(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(f)&&t[f]!=null){const a=s.getValues(`${f}`).country;let r=t[f];if(e.includes(`${f}.street`)&&t[f].street!=null){const{addressValue:u}=t[f].street,k=Ot(u?.country);r={street:t[f].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[f].secondaryInfo,suite:t[f].suite},a.selectedOption!==k.selectedOption&&(r={...r,country:k})}else e===`${f}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${f}.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(Qe(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(ft.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[$];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),Mt=!We(ot!=null?j(ot):null,ze!=null?j(ze):null),Wt=s.getFieldState(B).isDirty||Ht||Mt||Vt,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,Ne=d?.primaryContactLocalData,Qt=()=>{H(o,"previous",!0)},Kt=()=>{const e=s.getValues(f),t={street:e.street.addressString,suite:e.suite,city:e.city,state:e.state,postalCode:e.postalCode,country:e.country.selectedOption??p.strings.empty,secondaryInfo:e.secondaryInfo};h.trackOnboardingBillingAddressSave(t)},Yt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=M();T?.(e),rt()&&dt?(Kt(),$e($,!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=M();T?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[Z<0?0:Z],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Je(e.phoneNumber);return}}e.isValid&&($e($,!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(`${X}`),s.trigger(`${f}`)),t&&s.trigger(ge),me(()=>{const a=M();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Wt||qe||!Ne?.email){const e=Zt(),t=qe?pt():{isValid:!0};me(()=>{const a=M();T?.(a)}),e&&t.isValid?(Ee&&(z(!0),Jt()),$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:Ne?.firstName,lastName:Ne?.lastName,email:Ne?.email}),Y({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(ft.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=Z<0?0:Z,en=!!e?.firstName&&!!e?.lastName;let J=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),J=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),J=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),J=!1),a&&ye(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"}),J=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),J=!1),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),J=!1),{isValid:J,needsOtp:mt,phoneNumber:a}},Zt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,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&&ye(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}},Jt=()=>{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,Xt]=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:_n(Pt),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,sectionId:X,hasError:s.getFieldState(X).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:f});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:O,paymentAccount:W,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:f,sectionId:X,hasError:s.getFieldState(X).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:V,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(Nn,{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:_t,updateQBOPopupState:vt}),a=Ae;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Xe.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:N,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Je,onVerifyOtp:kt,onResendOtp:Nt,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Ze,onEditFileName:Ge,onDeleteFile:_,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:_,updateFilesEntity:Ze},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Xe.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"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?Q[6]:Q[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:Qt,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:y,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_e,cardSetupInProgress:He,setCardSetupInProgress:Xt})]})},Dn=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=Ke.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:v,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...Ve})=>{const R=Ye(),ve=m.useRef(null),De=m.useRef(null),Y=m.useRef(null),Ae=m.useRef(null),[Ce,z]=m.useState(!1),[U,q]=m.useState("next"),[F,be]=m.useState(!1),[ce,Ie]=m.useState(!1),[te,K]=m.useState(null),{onAddressClick:ne,onCompanyDetailsChanged:Pe,onCompanyOfficerUpdated:D,onFetchLinkTokenClick:Oe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Je,updateFilesEntity:Ge,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:H,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:Vt,onUpdateStep:Fe,onAddressEditHandler:vt}=Ve,Dt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:We(g,g.allNationalityCountries),values:We(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),M=m.useCallback(()=>{const e=[];return(s.getFieldState(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=M();T?.(e)},[M,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=M();T?.(u)})});return()=>e.unsubscribe()},[s,M,T]);const Xe=e=>{tt(e)},{companyView:se,companyDetailsLocalData:d,companyOfficerLocalData:E,currentStep:o,completedSteps:Ze,saveStatus:x,allSteps:S,allRequiredStepsCompleted:Ee,paymentAccount:Q,paymentAccountStatus:et,externalConnections:Le,plaidConnectionDetails:je,uiState:Be,allNationalityCountries:we,pendingSaveDetails:{companyDetails:At,officer:Tt},subscriptionBillingAddress:J}=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}.${G}.phone`):xt(e)},G=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${G<0?1:G+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=Me(x.fetchState),L=Me(o);function Bt(){return Le?.accounting[0]?.isValid??!1}const ue=()=>{const e=Object.values(je).some(u=>u.fetchStatus.fetchState==="Completed"),t=Q?.providerVerificationStatus?.code?.includes("verified")??!1,a=w.cardsList.length>0,r=w.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return e&&t||!t&&!Q&&a||!a&&!Q&&r};function rt(){if(s.getFieldState(y).error)return!1;const e=s.getValues(y),t=J?.street.join("").trim(),a=J?.city,r=J?.state,u=J?.country,k=J?.postalCode!=null&&J.postalCode||e.postalCode||p.strings.empty;return!!t&&!!a&&!!r&&!!u&&!!k}const lt=Me(Q?.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"&&Q?.providerVerificationStatus?.code==="manually_verified"&&h.trackOnboardingBankAccountVerified("manual")},[h,Q?.providerVerificationStatus?.code,lt]);const Ut=async(e,t)=>{if(e.includes(B))Pe?.(t[B]);else if(e.includes(b))D?.(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(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"&&(K(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=!Qe(nt!=null?j(nt):null,Re!=null?j(Re):null),Ht=!Qe(at!=null?j(at):null,ke!=null?j(ke):null),Mt=!Qe(ot!=null?j(ot):null,ze!=null?j(ze):null),Qt=s.getFieldState(B).isDirty||Ht||Mt||At,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${y}`).isDirty,_e=d?.primaryContactLocalData,Wt=()=>{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)},Kt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=M();T?.(e),rt()&&dt?(Yt(),$e($,!1,!0),K({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=M();T?.(t)}),e.needsOtp&&e.phoneNumber&&fe(e.phoneNumber)){const t=s.formState.errors[b]?.[G<0?0:G],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()),K({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=M();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Qt||qe||!_e?.email){const e=Gt(),t=qe?pt():{isValid:!0};me(()=>{const a=M();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}),K({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):t.isValid||Fe("company_officer")}else Ee?Jt():H(o,"next",!0);break}},Jt=()=>{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=G<0?0:G,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}},Gt=()=>{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(An,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Dt.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:Q,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:Q,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:A,subscriptionBillingAddress:J});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=De;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:Ge,onEditFileName:Je,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=l.jsx(On,{fileProps:{...n,onEditFileName:Je,onDeleteFile:N,updateFilesEntity:Ge},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"?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:Kt,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:v,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:He,setCardSetupInProgress:Zt})]})},vn=wt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -19,7 +19,7 @@ import{V as l,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG as
19
19
  transform: translateY(0);
20
20
  opacity: 1;
21
21
  }
22
- `,An=wt`
22
+ `,Dn=wt`
23
23
  from {
24
24
  transform: translateY(-100%);
25
25
  opacity: 0;
@@ -28,7 +28,7 @@ import{V as l,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG 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;
@@ -74,7 +74,7 @@ import{V as l,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG 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"?Dn:An};
77
+ animation-name: ${n=>n.stepAnimationDirection==="next"?vn:Dn};
78
78
  ${n=>n.includeAnimation?`
79
79
  animation-duration: 0.6s;
80
80
  animation-delay: 0s;
@@ -94,7 +94,7 @@ import{V as l,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG as
94
94
  text-align: ${n=>n.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,Qe=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:N}=n,O=le.commonSetUp.businessVerification,h=le.companyPassport,w=N?.companyOfficers!=null&&N?.companyOfficers.length>0;return{[B]:{companyDescription:i?.companyDescription??le.common.strings.empty,ein:i?.companyFiles.find(y=>y.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(y=>y.code)},companyIndustryType:{selectedOption:i?.companyIndustryType,allOptions:[...fn]},companySubIndustry:{selectedOption:i?.companySubIndustry,allOptions:yn(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(y=>y.fileId)??[],certificateOfIncorporation:i?.companyFiles.find(y=>y.documentType==="certificate_of_incorporation"),incDate:i?.incDate?.toDate(),typeOfIncorporation:{selectedOption:i?.typeOfIncorporation,allOptions:h.companyIncInfo.allTypesOfIncorporation}},[b]:Object.values(g).map((y,V)=>{const c=y,v=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(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:yt(!0,c?.userFiles??[],v),back:yt(!1,c?.userFiles??[],v),selectDocumentType:v},isSelectedForVerification:!w&&V===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[X]:{account:{allOptions:[],selectedOption:void 0}},[f]:ln(f,n?.subscriptionBillingAddress)[f],[ge]:{connected:n.externalConnections?.accounting[0]?.isValid??!1}}},pa=n=>{const{onboardingCustomerView:C,cardPaymentView:i,signedInUser:g,currentTenant:N,isOnAddressPage:O,stripeKey:h,googleAPIKey:w,onUpdateStep:y,onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:_e,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,...Ae}=n,{allSteps:K,completedSteps:Ve,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(K),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),Y={allSteps:K,isOnAddressPage:O,completedSteps:Ve,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:N,onUpdateStep:A=>{y(A)},onZeniLogoClick:V,handleLogOutClick:c,handleCockpitClick:v,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(()=>{K.length!==F.current.length&&(F.current=K)},[K]);const ne=(A,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(A);switch(Oe){case"next":{const oe=(pe+1)%ae,_=F.current[oe];q.current=_,y(_),de===!0?I.trackOnboardingNext(A,_):I.trackOnboardingCurrentStep(_,A);break}case"previous":{const oe=(pe+ae-1)%ae,_=F.current[oe];q.current=_,y(_),de===!0?I.trackOnboardingBack(A,_):I.trackOnboardingCurrentStep(_,A);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:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:_e,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,onFormErrorsChange:te,...Ae}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:D,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(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??[],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:v,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:Ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:ve,...De}=n,{allSteps:Y,completedSteps:Ae,halfCompletedSteps:Ce,currentStep:z,fetchStatus:U}=C,q=m.useRef(z),F=m.useRef(Y),[be,ce]=m.useState(!1),[Ie,te]=m.useState([]),K={allSteps:Y,isOnAddressPage:O,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:D=>{f(D)},onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:V,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const D=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,D),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{Y.length!==F.current.length&&(F.current=Y)},[Y]);const ne=(D,Oe,de)=>{const ae=F.current.length,pe=F.current.indexOf(D);switch(Oe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingNext(D,N):I.trackOnboardingCurrentStep(N,D);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingBack(D,N):I.trackOnboardingCurrentStep(N,D);break}}},Pe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:O,children:O?l.jsx(bt,{...K}):l.jsxs(zn,{children:[l.jsx(bt,{...K}),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:ve,onFormErrorsChange:te,...De}),Pe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:v,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{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as V,b as A,an as H,ah as N,p as l,w as k,ai as R,n as J,e as Z,as as G,b1 as Q}from"./index-DceSoL0X.js";import{a as n}from"./sentry-DSwgNZrO.js";import{n as o}from"./mui-B9ZZxqGv.js";import{GO as q}from"./zeni-epic-state-BKQAT3eK.js";import K from"./ConfettiBurst-JdjFQWmA-B1zUAlBC.js";import{T as X}from"./ProductsCarousel-Bp3BA6jn-Dq3g70sD.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="6743da94-6ab5-408e-b051-435aab5f7411",i._sentryDebugIdIdentifier="sentry-dbid-6743da94-6ab5-408e-b051-435aab5f7411")}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,...L})=>{const d=F(),f=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,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",f.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:T})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(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(W,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
1
+ import{J as I,a9 as F,ax as M,d as U,V as e,bE as _,o as t,aR as b,bp as V,fB as W,O as R,am as A,ag as H,p as l,b as k,ah as J,a as N,R as G,ar as Z,b1 as q}from"./index-sotzB3Mx.js";import{a as n}from"./sentry-2bqpslFP.js";import{n as o}from"./mui-CWqpJBOf.js";import{G2 as K}from"./zeni-epic-state-DM-Ak8Gv.js";import Q from"./ConfettiBurst-CVLXMknu-C5dtBbFy.js";import{T as X}from"./ProductsCarousel-Bq0uDCW7-BchAY2K0.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="27329e87-bd27-4f16-ad7c-ff720bdc30bd",i._sentryDebugIdIdentifier="sentry-dbid-27329e87-bd27-4f16-ad7c-ff720bdc30bd")}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=R.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=I(),x=F().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,B=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]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.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:B.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(X,{scale:1,showUpdatePaymentDetailButton:f,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(V,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -88,11 +88,11 @@ import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as
88
88
  border-radius: 50%;
89
89
  outline: 1px solid ${l.brandColorJadeDark};
90
90
  background-color: ${l.brandColorPearl};
91
- `,le=o(R)`
91
+ `,le=o(J)`
92
92
  width: ${t.sp3};
93
93
  height: ${t.sp3};
94
94
  color: ${l.brandColorSapphire};
95
- `,j=o(J)`
95
+ `,j=o(N)`
96
96
  color: ${l.brandColorSapphire};
97
97
  text-align: center;
98
98
  margin-left: ${t.sp2};
@@ -103,7 +103,7 @@ import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as
103
103
  width: 100%;
104
104
  margin-bottom: ${t.sp4};
105
105
  cursor: default;
106
- `,ce=o(Z)`
106
+ `,ce=o(G)`
107
107
  color: ${i=>i.theme.colors.primary};
108
108
  text-align: center;
109
109
  margin-left: ${t.sp2};
@@ -129,10 +129,10 @@ import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as
129
129
  color: ${i=>i.theme.colors.primary};
130
130
  }
131
131
  }
132
- `,ge=o(G)`
132
+ `,ge=o(Z)`
133
133
  color: inherit;
134
134
  text-align: center;
135
- `,ue=o(Q)`
135
+ `,ue=o(q)`
136
136
  width: ${t.sp3};
137
137
  height: ${t.sp3};
138
138
  color: inherit;
@@ -150,13 +150,13 @@ import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as
150
150
  justify-content: space-between;
151
151
  align-items: center;
152
152
  flex-direction: column;
153
- `,xe=o.div`
153
+ `,fe=o.div`
154
154
  display: flex;
155
155
  position: relative;
156
156
  justify-content: space-between;
157
157
  width: 100%;
158
158
  align-items: center;
159
- `,fe=o.div`
159
+ `,xe=o.div`
160
160
  display: flex;
161
161
  left: ${t.sp4};
162
162
  bottom: ${t.sp3};
@@ -166,7 +166,7 @@ import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as
166
166
  cursor: default;
167
167
  `,we=o.div`
168
168
  display: flex;
169
- `,ye=o(N)`
169
+ `,ye=o(H)`
170
170
  height: ${t.sp4};
171
171
  width: 102px;
172
172
  color: ${i=>i.theme.colors.primary};
@@ -194,7 +194,7 @@ import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as
194
194
  }
195
195
  }
196
196
  margin-right: ${t.sp2};
197
- `,Ce=o(H)`
197
+ `,Ce=o(A)`
198
198
  margin-left: ${t.sp2};
199
199
  `,je=o.div`
200
200
  width: 200px;
@@ -1,4 +1,4 @@
1
- import{ax as OA,Q as V,ay as Ee,V as e,az as qt,b as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,J as UA,p as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,d as qe,ae as Cr,aT as sr,x as eA,aU as z,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,y as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,O as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,g as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-DceSoL0X.js";import{a as t,P as k}from"./sentry-DSwgNZrO.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-B9ZZxqGv.js";import{L as Rr}from"./lottie-DHSNlrty.js";import{bg as Lr,bh as ot,FA as at}from"./zeni-epic-state-BKQAT3eK.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js";import{L as Jr,k as Pr}from"./ArAgingChart-CW-BCqsC-D14dt6qa.js";import{E as Ur,T as de,I as it}from"./ReloadCard-CqhIfBOB-BY0vX67l.js";import{L as Or,O as YA,c as QA}from"./TopExCard-CcmlvV2E-DQ9im9Ri.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-SOIqJqC1-C9wQDXwd.js";import zr from"./InsightsCardStack-cCxIT64L-CUFk6OxI.js";import{a as Gr}from"./AccountsPromoCardStack-94l6cw3--BqluiECW.js";import{c as Z}from"./SummaryCard-CzpKllZ9-BcAcs1DO.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-CRAkJ5eu.js";import{N as iA}from"./NavigationArrow-DJQDYzJE-BC_4c0HP.js";import{x as Ae}from"./NavigationDots-C2ylmmp9-BUZFmr7S.js";import Xr from"./CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DgonOPJx.js";import Zr from"./InformationCardStack-DNqDhetv-CczzYoVw.js";import{p as gt}from"./chartTypes-Bka0fHvt-LIfMG0zS.js";import{h as $r}from"./toCOABalancesWithID-D45JW5mT-zLfAfLgo.js";import{V as _r}from"./toChartData-C9xZuC9A-cKZFGcPF.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js";import{N as to,J as ro}from"./PromoBaseCards-BJngCLC1-D1D3BuDF.js";import{r as oo}from"./core-CddRDKK5.js";import{N as ao,I as io}from"./VideoPlayer-D7qtpMP6-DY2DpB0L.js";import go from"./ConfettiBurst-JdjFQWmA-B1zUAlBC.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-Df6P8LTk.js";import"./liveblocks-C3olwiFW.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./graphic-no-data-l-DU4J8fDt-CyoR0rrV.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="252a4265-e03d-462c-9072-5313d9e3cf3b",A._sentryDebugIdIdentifier="sentry-dbid-252a4265-e03d-462c-9072-5313d9e3cf3b")}catch{}})();const lo=g(tA)`
1
+ import{aw as OA,J as V,ax as Ee,V as e,ay as qt,O as Q,az as Xt,aA as Vt,o as r,aB as Zt,aC as $t,w as UA,p as m,aD as _t,aE as Ar,aF as er,aG as Ie,aH as tr,aI as rr,aJ as or,aK as ar,aL as ir,aM as gr,aN as P,aO as N,aP as Y,aQ as X,aR as D,aa as nr,aS as We,x as qe,ad as Cr,aT as sr,y as eA,aU as z,aV as tA,an as rA,aW as Xe,aX as J,aY as U,aZ as VA,ap as Er,d as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,aj as F,b2 as TA,u as S,ar as ZA,am as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,H as cr,B as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,T as At,b as Dr,bh as yr,h as jr,bi as et,bj as tt,ao as vr,bk as br,ah as Mr,at as rt}from"./index-sotzB3Mx.js";import{a as t,P as k}from"./sentry-2bqpslFP.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-CWqpJBOf.js";import{L as Rr}from"./lottie-D7_uSTtS.js";import{bg as Lr,bh as ot,EQ as at}from"./zeni-epic-state-DM-Ak8Gv.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js";import{L as Jr,k as Pr}from"./ArAgingChart-B0wn2vDP-ClJ7YwbK.js";import{E as Ur,T as de,I as it}from"./ReloadCard-DvIzOHkJ-SNPzaiS7.js";import{L as Or,O as YA,c as QA}from"./TopExCard-Bc812PB9-Cgf0i8AY.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-VvZ0y1TP-qC_rkSgA.js";import zr from"./InsightsCardStack-CwBBEkZ7-DJcXHozK.js";import{a as Gr}from"./AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js";import{c as Z}from"./SummaryCard-BTnU1LYd-5Er4BGPP.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-CRc8KuMa.js";import{N as iA}from"./NavigationArrow-BpKepWMa-Bn4FAyCA.js";import{k as Ae}from"./NavigationDots-CxV99fd--CAgGp2GQ.js";import Xr from"./CompanyPassportCard-BHFj9sK6-DN_eKmT3.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DP-cJLna.js";import Zr from"./InformationCardStack-B4z6RgwP-DRH43WQx.js";import{p as gt}from"./chartTypes-DcNGo46a-CqMbbGUL.js";import{h as $r}from"./toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js";import{V as _r}from"./toChartData-N0pkfSXY-BNdgZ-va.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js";import{N as to,J as ro}from"./PromoBaseCards-Bs1TPBeA-C7sFMDVT.js";import{r as oo}from"./core-D2KcXy_y.js";import{N as ao,I as io}from"./VideoPlayer-XhlPd-AK-BJf7SfgL.js";import go from"./ConfettiBurst-CVLXMknu-C5dtBbFy.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-H7gIkfSf.js";import"./liveblocks-DezulwOD.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="55d02c22-0495-40db-9baa-33678919d4d5",A._sentryDebugIdIdentifier="sentry-dbid-55d02c22-0495-40db-9baa-33678919d4d5")}catch{}})();const lo=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ce=g.div`
4
4
  display: flex;