@zeniai/web-cockpit-ui 1.15.46-dev → 1.15.47-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 (286) hide show
  1. package/dist/assets/{ACHDetailsPage-D87WwXK_-CBHF5jjP.js → ACHDetailsPage-qOWGYckl-DjJAccbn.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DNhHi_BA-DVKmGARz.js → AIPerformancePage-DJBLMHvs-iLI9KDLf.js} +18 -18
  3. package/dist/assets/AccountInfoPage-BulzquHY-COb5jSNJ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-WRX3aOoA-BND3wWTU.js → AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js} +12 -12
  5. package/dist/assets/{AccountLockedInfoModal-hM0l2JoS-BM4SnK9N.js → AccountLockedInfoModal-Cy1ahm9k-BxoMcyLt.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D6AdnAnF-BP-45utn.js → AccountReconDetailsDrawerPage-DQdf3Wk4-CbpITftp.js} +1 -1
  7. package/dist/assets/{AccountRow-kn3U0JbW-CqKCifJj.js → AccountRow-D1Jqgk7o-DewC0XFv.js} +15 -15
  8. package/dist/assets/{AccountsPromoCardStack-D5XHZwyh-DkX-4Lp4.js → AccountsPromoCardStack-Vwu9llOu-CnOXSXsq.js} +1 -1
  9. package/dist/assets/AddAddressForCardDrawer-DK5lnDS9-Ctbcl8_3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-D7DeS_0t-DEAoUKiM.js → AddToWalletPage-C6oLCkE7-C3vtPZC0.js} +3 -3
  11. package/dist/assets/{AgingReportsPage-bssKBslp-BzwEfw-z.js → AgingReportsPage-DAe2E6ey-BAsTv0B2.js} +1 -1
  12. package/dist/assets/{AllUserItems-DodKPXrb-CcYwQFSA.js → AllUserItems-6sLrlL8E-DpxFsjkv.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-NVrKyHd2-Bw462lTM.js → ApAgingDetailPage-4SahVbGx-ZM0Bqd_F.js} +3 -3
  14. package/dist/assets/{AppBasePage-8vs83psd-DYOlChcn.js → AppBasePage-CtA9oCF7-D92abhWD.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D_del0Ko-C7wcXF5_.js → AppDrawerContent-BBkCJjf8-BybjdyD6.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-GZSj0TP5-DNVzaP3v.js → ApprovalRulesSettingsPage-XgvVBRfh-DhsteiN3.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DPWhkZ92-C-OV2nhV.js → ArAgingChart-zTqy57EG-Dm-WcY4b.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-60QCPZos-BlpsMiLT.js → ArAgingDetailPage-DohpExH8-CLRbt3qX.js} +1 -1
  19. package/dist/assets/{AttachmentView-CbtcWV-6-CFsaig-u.js → AttachmentView-DAEi6O2i-CRQnb5l5.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CNsbo5NW-D5-9rntY.js → BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js} +13 -13
  21. package/dist/assets/{BankAccountWarningSection-DNsentDt-DXrUqr4R.js → BankAccountWarningSection-BR28A3L4-D_D37qnN.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-CLotTlUf-Cr8Fvyc2.js → BankConnectionsSettingsPage-D8V4bq-1-wYDIpQQB.js} +9 -9
  23. package/dist/assets/{BillDetailPage-Cg3qZdsc-Bu00bZom.js → BillDetailPage-BxfrpUM5-DDyFcvs1.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DbA9lF8v-D3H9v0x8.js → BillPayApprovalRuleDetailPage-fsIdZfeP-CA1hTToh.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-D5H-E5f4-Cy9lWX0_.js → BillPayApprovalRulesPage-CawYbj9Y-C8NzV5so.js} +10 -10
  26. package/dist/assets/{BillPayPromoPage-x2Q3c9G9-CVZuA77d.js → BillPayPromoPage-DmRx1E8m-Busj2ugi.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-CwRy-Uno-xx3edT5K.js → BillPaySetUpPage-BiMDn7ZO-Bk6vBQAJ.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D7PgDMId-BnPPtdGW.js → BillingSettingsPage-Co8Gw-go-BVCxX7gI.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DStkOLXt-BhfIlk7A.js → BillsBulkReviewDrawerPage-CfqxLPzs-BaPIvRkm.js} +1 -1
  30. package/dist/assets/{BoxItem-djG6IQ4o-2WZ3HHBU.js → BoxItem-mA2l070e-DKIWhdy7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-fTHIGXBy-a0eiadoT.js → BusinessVerificationPage-iHBNaf7w-DrLXb-Iq.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BNT6moWK-CsPKCw8x.js → CardNumberSubText-H4wtwe6R-CVi7j9Nt.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-G5wL_XNp-CJEFraK5.js → CashbackDetailPage-Bo_bsGqF-ButLTwgN.js} +5 -5
  34. package/dist/assets/{ChargeCardDetailPage-CSPeag3v-BP9bsRfj.js → ChargeCardDetailPage-DKWkYV7Z-CddIMjKt.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BqN-1uhQ-rbpM72ul.js → ChargeCardListPage-Dfa_PX3G-CgibIpQD.js} +5 -5
  36. package/dist/assets/{ChargeCardListTable-Bii0Wthf-T5JYYMDA.js → ChargeCardListTable-GyVhj7uY-DDdTqmU3.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-jnLm7dsX-BCjpKu7L.js → ChargeCardPaymentHistoryPage-7dGO_5iu-lPBFnLZd.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-CdWji5S5-BrnExXgk.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CORgMz4D-B3XpYA3g.js → ChargeCardSetupPage-vwbBIYjC-BAacWjKb.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-CyFh62V3-CVApFNSe.js → ChargeCardStatementsPage-wAqoDc2D-BFeCByOF.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-4OsC9vnS-C8KgAtNZ.js → CheckDepositDrawerPage-C3wR53BH-B78xbDtI.js} +4 -4
  42. package/dist/assets/{CollapsableReportTable-BBZQoM0P-CNldMsB_.js → CollapsableReportTable-D2dtXfS_-BdWkgbsB.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BxcbL0xy-CPql_B00.js → CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DZkmzhcF-DdwaCSTK.js → CompanyPassportCard-BZ_FCAKT-Cwwjpb-3.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-FbqUpLTv-C5g27TMH.js → CompanyPassportPage-Cq6S4mp6-UdzUDRuj.js} +24 -24
  46. package/dist/assets/{CompleteProfile-CHAiqldO-Bdzud2Sl.js → CompleteProfile-CBT17ax6-DYIsbIsy.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D44X4kyc-CoZYKMrw.js → ConfettiBurst-DgE_527a-D7rXkSFC.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js → ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DDLhdHIQ-DkYXq-0b.js → CreateOrEditVendorPage-ClqI4j2U-BHL0P8Te.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cqp3cX11-Ch0fJLe_.js → CreditCardPaymentDrawerPage-CtM4-nS0-BKJTmcZU.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-BsReHqXI-Cpmmr7ON.js → CurrencySelectField-CP7MSQnS-BpXGyUMj.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-COSoNwiL-XcudDVcs.js → CustomerOnboardingActivationPage-DejhV7FX-8Rok_hOE.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-B1gZ-xOx-BCHT9pOT.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js → CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js} +6 -6
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-g9MUens3-BHwD_Moa.js → CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-BMwDeAmg-Dk5C_vBC.js → CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-cfTmZUUq-DFjdDHbL.js → CustomerOnboardingProductSuitePage-CniahiZc-DWeQdDUe.js} +10 -10
  58. package/dist/assets/{Dashboard-CIMGd6vk-C9Y8AV96.js → Dashboard-CnwoksS9-Cj6x2TqP.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-C4vCCh_n-BRXPWSt1.js → DashboardReportPage-qKhiq9te-FT01lDlD.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DAlY419Q-DP9sfj2H.js → DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BerAtS0--BKjebtYX.js → DepositAccTransactionItem-CIY2jU_O-CNSGbCvC.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CZ1vmnPr-B4TVnkzE.js → DepositAccTransactionListPage-DfhVFXvq-B738llu8.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-E4qLX6pw-Bw3PSNwc.js → DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Boa6Fcbv-D-65-zcn.js → DownloadOverlay-DLbD0wMn-DFyBDJuM.js} +1 -1
  65. package/dist/assets/{DrawerPage-Cb-dsS3c-DReTV4LX.js → DrawerPage-CCZXoj1F-DCS5WSNv.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CndPSw44-DxRcWXPA.js → EditPeoplePage-CDUEfjvF-CJoR5dq4.js} +4 -4
  67. package/dist/assets/{EditReimbursementDetailPage-wT1IlD4U-Va_HPFVw.js → EditReimbursementDetailPage-BopPLndD-Dub2o4ld.js} +1 -1
  68. package/dist/assets/EntityDetailPage-C8mC_pOt-DoBBFGRj.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BOEYtn_o-CPte8tJh.js → EntitySummarySection-BVG0N8QO-B29acNJ9.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DXZjyYrU-ShMVKnR0.js → ExpenseAutomationOverviewPage-DDTNyUiN-C6hbKIHH.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-B8ptcdZd-BOgjzwCH.js → ExpenseAutomationPage-DG1EbsCZ-Cpa7UC9R.js} +73 -73
  72. package/dist/assets/{ExpressPayPage-DitysgOF-CIeBsr4O.js → ExpressPayPage-DBxaDfRz-CvEgT1Dz.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-G9whxotT-BiSE24Wc.js → FeaturePreviewPage-ezX4YJ8n-DZlh_My6.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BERdmvvn-UqgRbJ9-.js → FollowStepsSection-BCWwwk1I-Dr0Igucn.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DXH3le_Z-jpZIGute.js → GlobalReviewListPage-C1Tf-wcw-PWdcxabv.js} +1 -1
  76. package/dist/assets/{InformationCardStack-CXqr6wgh-ChZD3ssd.js → InformationCardStack-Czrqxdi_-DFscx6Un.js} +2 -2
  77. package/dist/assets/{InsightsCardStack-DHmkYfCM-wxboA7g4.js → InsightsCardStack-B50r1AKc-Fu1xeA5s.js} +5 -5
  78. package/dist/assets/{InsightsSection-o1r7-jTU-BEvpe3bJ.js → InsightsSection-BJeBGbPg-Bqi1LIqW.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-BngX4y9j-DAbz7zwm.js → IntegrationsSettingsPage-BMSATQJz-pQzp159S.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-B6OWKscw-Ami9wVCG.js → InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-D-h205ua-C2Fi9WeW.js → InternationalWireVerificationPage-CqRSwMQj-e_Ufmweg.js} +3 -3
  82. package/dist/assets/{InviteFormPage-Cpx6GKXE-BjzkKS1U.js → InviteFormPage-DlqcSLWX-NYU1sZxR.js} +1 -1
  83. package/dist/assets/{InvitePageListView-R9GI99rG-Lu6_t1J3.js → InvitePageListView--BKiq1KG-ChG4UMr4.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-nhoOZCwu-CevGBmSS.js → InvitePeoplePage-i3nljXL1-BmSEgqup.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-IRD6N1t0-e8npmlKC.js → InvoiceUploadSection-BTcYpKEd-Di1o68Bp.js} +4 -4
  86. package/dist/assets/{IssueChargeCardPage-ztNdugMI-ni4X5-nS.js → IssueChargeCardPage-kFsPFGzp-XYgLhons.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CTGbS3xZ-BV3lWB3L.js → LabeledAddressValue-COZsPbp0-DczoqRAG.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js → LabeledAddressValueField-ig7qAURp-BZ_M96P1.js} +8 -8
  89. package/dist/assets/LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-BQNPVmeO-w6euYfRf.js → LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BaooQYnP-CHclcBym.js → LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-13QPp-85-BBjOcC33.js → LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js → LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js} +1 -1
  94. package/dist/assets/{LabeledText-DNr87c0J-DsOX7s5A.js → LabeledText-wJQ0djD--Dnw-us69.js} +4 -4
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js → LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js} +4 -4
  96. package/dist/assets/{LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.js → LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-KzSZJjAE-D1T5_exi.js → LinkJETransactionPage-DwNoJ7YB-DNfE-nTn.js} +1 -1
  98. package/dist/assets/{LockCardPage-_gavDDon-Blle7NDi.js → LockCardPage-L5EAfQK5-CrxGoWXN.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DLIUSW0S-B-zpTP7v.js → LowBalancePopup-CIN_PWxf-CcAZgcPw.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-DGLKqo6T-DNpDGuyV.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cvp9N2Q2-CSBjjhkO.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CB_rrPUd-Dl0YcL-A.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-C_-bPKst-D0jsLGP2.js → MagicLinkSuccessPage-Da-ZSMMO-DzPXDbZC.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CL4kaSh4-CQQBDKMG.js → MagicLinkTitleSection-B33mBOG9-35QrlIpm.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-qtLrrSYF-CTuCvSpe.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BRZy0odC-BOBb3itW.js → MyBankConnectionsSettingsPage-Br6kJVpd-CbTGDrzB.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CpKTrDUb-CccCbcXy.js → MyPendingActivationChargeCardListPage-DkhJVWBZ-Bfy4AAuw.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BblMMN2f-ckIUFFkd.js → MyProfileSettingsPage-CSY7ZEU4-BWI8MuR_.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DqS6nFbq-DgwLutRx.js → NavBarWithPicker-Csqyzu5C-DIH1ugF7.js} +5 -5
  110. package/dist/assets/{NavigationArrow-DIFM2upZ-Dnb7czTw.js → NavigationArrow-2B-EgvgC-BK9qtbBJ.js} +1 -1
  111. package/dist/assets/{NavigationDots-Db1I_vts-Bg46VZRN.js → NavigationDots-BrWdpJ3R-DuPdXi3_.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-CC8HJjFw-HIuSKnJN.js → NewGlobalMerchantPage-BSX2ajAh-B0IxS0GP.js} +1 -1
  113. package/dist/assets/{NoDataChart-BpVOzQOW-DKnao5o4.js → NoDataChart-CggIXqiK-C19sXnTb.js} +1 -1
  114. package/dist/assets/{NoDataTable-BfkONzLU--qJ2Vge1.js → NoDataTable-CX24L0oK-DtsfPk0l.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DOlS4ELp-8diqNBZH.js → NotFoundPage-Brtxr86A-Bnm1jjAT.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BdWAxlcA-FUERqOBl.js → NotificationSettingsPage-BV3iZaL6-CCJncOdH.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-DEVHMfQH-Dgi-054y.js → NotificationsListConfig-DWL6JqJ8-BmoQcL7E.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DpnFQdLV-CIDAlFuB.js → NotificationsPage-CMVuwCT_-BEJSVcvU.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-CQxchyEe-CO-1QL4H.js → OpExByVendorPage-CbcnZ2ea-Di7lgu5r.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-B4ZkmBb9.js → OverlayContainerPage-D4QU0p4o-BsMR9Xyx.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B3RkfhSi-Dsp_T8tg.js → PandLWithForecastPage-BrBPv1Bg-Du_wsqJx.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js → PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js} +7 -7
  123. package/dist/assets/{PeoplePage-koDszqCP-CWui0d4h.js → PeoplePage-BruWpkMP-BXfRWFlI.js} +1 -1
  124. package/dist/assets/{Preview-yyD_tsB_.js → Preview-CngKNrtz.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-DLd90FFJ-BgsIDisq.js → ProductsCarousel-CYHholgU-BXEP4AT5.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-QcN1Q7jq-J94-Tlmy.js → PromoBaseCards-CT84iiQE-BQw_xgzZ.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CdkgNo4F-DpPxxrHx.js → QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DqsDS8kk-DVOL9KAa.js → QBOSetupSection-DWIulUc2-DlIiV7jG.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-5hcvF_79--V70BOOS.js → ReimbursementApprovalRuleDetailPage-p0TDyMiG-CZeD0AHX.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-D2S6QByB-BzvCV9yX.js → ReimbursementApprovalRulesPage-B_EfFwpz-_OWCEpKq.js} +9 -9
  131. package/dist/assets/{ReimbursementDetailPage-DUzei4Rg-9uRBue4P.js → ReimbursementDetailPage-CK_qij-l-D-oREEKY.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-GXdDXSVY-DHkphGMK.js → ReimbursementPromoPage-DCiu630p-D5gOb-J0.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-CNWWhLUf-CNnBxBJq.js → ReimbursementSetUpPage-BbtZutE2-DuU_ZUl9.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C-1xyI7u-Bz3-f1Cr.js → ReimbursementsBulkReviewDrawerPage-CyLz0tNA-CsTtoUoK.js} +1 -1
  135. package/dist/assets/{ReloadCard-CKhoNNOP-CkJThvIh.js → ReloadCard-CU39OBXS-B7fXlVdj.js} +6 -6
  136. package/dist/assets/{ReportTableViewSelector-BOX3zhPs-DuwxGH5U.js → ReportTableViewSelector-YjVuyNWv-DzbC_6W1.js} +26 -26
  137. package/dist/assets/{ReportsPage-CnYVgGpw-C9lM7ze2.js → ReportsPage-gqc75ljk-7NT5JGPF.js} +1 -1
  138. package/dist/assets/{RevenueChart-BXDE5rdI-C91Sl-p2.js → RevenueChart-CtFVmX84-uni5BcG_.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-Dsh7uv3t-BTN4xADy.js → ReviewDetailsPage-Kew5uZCA-Mv30WXv0.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-BL4VJPxb-D6vjuRhs.js → ReviewOverlay-f-2s-XBM-D-MuCoTz.js} +17 -17
  141. package/dist/assets/RoleWithToolTip-Cw9gD3N5-ConmKNG4.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Tx2QB7zA-BWh0cJz3.js → ScheduleDetailsFixedAssetsPage-DjjYlUtf-D-MjZ88W.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-2-cPD7pl-BswK6aMa.js → ScheduleDetailsPage-BzJS3UZ5-DmfXVQSd.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CffdpR_k-C5zU_dG9.js → ScheduleSequenceTable-CVDT5FaP-B8HlWODo.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-BdAMCIyo.js → ScreenRoutes-BOS_ZMWh.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Tadm9fSr-BLYLZVyR.js → SetUpAccountSection-6NXF_yfU-BamPpzSM.js} +1 -1
  147. package/dist/assets/{SignIn-CycvPOGI-yT6O4yeb.js → SignIn-C81zFae4-Dea-gjSZ.js} +7 -7
  148. package/dist/assets/{SignInScreen-DxWsWFRM.js → SignInScreen-m5WxZ3Sy.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BPxaXJqk-DXMLFfi6.js → SpendManagementListViewPage-BXVWjBXG-BD6dR01P.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-CalVz_KS-CFkJlE5z.js → SpendManagementPerTabPage-BpguVSB_-Lttm8QGO.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CP-KDJ9X-Dxdtv7cA.js → SpendManagementSection-DOQIJFeZ-ivgPfXva.js} +1 -1
  152. package/dist/assets/{StatementItem-BAgGJRW5-h7PpQoEN.js → StatementItem-Pie3qV6--QBqzedQj.js} +5 -5
  153. package/dist/assets/{StatementsPage-048VbBNB-CIAI8-Iv.js → StatementsPage-BgsnClLk-8ec-Me8v.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-DNe-TFW4-DzQawzTp.js → StatusSwitcher-CmZuoA5C-CAazKXUL.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-CWofxHNl-pctfLicv.js → SubTabSwitcher-DnAcWm4k-BiidkdTF.js} +1 -1
  156. package/dist/assets/SummaryCard-DiwOZob1-BzF2DJC-.js +1 -0
  157. package/dist/assets/{TaskManagementPage-sIeRkoyx-CqhyR_rs.js → TaskManagementPage-Bf7M2Lb4-4_bmrGgs.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-CYfi7lfO-C8IVJ8KX.js → TimeRangeSwitcher-BnA1fDfm-DKZWrMD_.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-B9NumYID-CA44AiEF.js → TimeframeSwitcher-B-jhZqzy-C0mIaCAr.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DJL42rcY-4fJfrmHh.js → TimeframeSwitcherWithToggle-uBvB9Y4U-DEm424X-.js} +2 -2
  161. package/dist/assets/{TopExCard-GHdLZwGT-BhuLE57u.js → TopExCard-8Ddo4t8T-CqjPXnoc.js} +2 -2
  162. package/dist/assets/{TopExDetailPage-CIlBZ2oX-BaF6_sM0.js → TopExDetailPage-B6xtk1Bx-Dvdbf_Im.js} +8 -8
  163. package/dist/assets/{TransactionActivityLogPage-C2Jr7QHc-SAiLB9JP.js → TransactionActivityLogPage-DD1J0Vka-DWx7bBrg.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-RfrmUngB-Dci0je89.js → TransactionDetailPage-B5jASgT3-CgTo1hvB.js} +1 -1
  165. package/dist/assets/TransactionList-C4_0d8Yi-D_b8rDHf.js +153 -0
  166. package/dist/assets/{TransactionListBig-D-kOZVLs-B-ad9ErK.js → TransactionListBig-hJjsZlZZ-BQM8cKJz.js} +1 -1
  167. package/dist/assets/{TransactionListPage-BRF55dM4-DYeZNtak.js → TransactionListPage-BzIAUEs8-MKD80iuh.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-Bsk6E8Zm-7lohsHvf.js → TransactionVendorDetailPage-DGcg2hX5-BY5R8KAA.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-CPUqGXjs-Cm1krXS2.js → TransferDrawerPage-CqMRBO0T-DRSuLibB.js} +12 -12
  170. package/dist/assets/{TreasuryOverviewPage-DfYRAHE1-CizOCyjr.js → TreasuryOverviewPage-DkwHC8f4-Bn0V9kOv.js} +15 -15
  171. package/dist/assets/{TreasuryPromoPage-F1X4qcwd-BHd14a_i.js → TreasuryPromoPage-DSF3PsLc-CzfjJZli.js} +8 -8
  172. package/dist/assets/{TreasuryStatementsPage-CGbvRTgR-Dmch4a9K.js → TreasuryStatementsPage-Dw1TLve3-B04-8PQ3.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-BMDJFFj--CncIwwwI.js → TreasuryTaxLetterPage-DVLliaXS-BaPntd_i.js} +1 -1
  174. package/dist/assets/{TrendChart-DQwanU50-BV-_y5G5.js → TrendChart-DjYTskVA-gHskLbo_.js} +5 -5
  175. package/dist/assets/{TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js → TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DDBZnuaT-D87xZWEc.js → UncategorizedAccountsMappingPage-CZLuQw-9-BWV6B4bF.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-6gZ_g7Zz-DL7Eef_0.js → UnitIntegrationPage-DRwdsemz--LS2beFi.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CcTFuMyK-D2kgY2Ed.js → UploadAdditionalDocumentOverlay-N-_Kdezc-3iy-UCwO.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DnG7s1Ks-D9O6BUwp.js → Vendor2FAPopup-CvMY6aLD-DqZVC04g.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-Dj1SW5L_-CF6jGaAx.js +1 -0
  181. package/dist/assets/{VendorDetailPage-D7zN9Vtl-BBAI0eRq.js → VendorDetailPage-Ck-kEx6Y-DlVLyDuR.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-LJc1Pntx-BkWcT3Mq.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Rslpct1I-cPFmgRgW.js → VendorFiling1099EditablePage-BMAc4Y0L-swSK5unq.js} +4 -4
  184. package/dist/assets/{VendorFirstReviewPage-CGye9HoK-D-UUNB_d.js → VendorFirstReviewPage-Cv0DMrBa-D-qTdl-e.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage--CSkHPFy-DdqJlqoM.js → VendorInternationalWireDetailsPage-Bp-fiJYj-kdX1GwW6.js} +8 -8
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CG6w1RiA-mOhQd5bG.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-ziR6oNlY-CZuH9lY0.js → VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js} +1 -1
  188. package/dist/assets/{VerifyDevice-C-zisSaI-L64KEJ3l.js → VerifyDevice-CkbL9enV-JKJb0VZk.js} +9 -9
  189. package/dist/assets/{VideoPlayer-CQQljSJC-Ckm25ZkZ.js → VideoPlayer-zSNzleMo-B3Hzh9ni.js} +2 -2
  190. package/dist/assets/{VideoPopup-BgqoT4JJ-BIfkB45X.js → VideoPopup-BTjM2GvI-CfrQhQ9p.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D5OicOK4-BvVf8AIm.js → WarningsDrawerPage-C_3XLtV5-DXtwxZOZ.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-C_lM66OT-G87IDGZW.js → ZeniAccountDetailPage-BlqcQ5a_-C6V_463T.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-CQvrxw6f-CqVpV0PW.js → ZeniAccountListViewPage-_jeL_k5F-BYvSnCDl.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-8VXHXUPK-CX9FAlJO.js → ZeniAccountNavBarPieces-BeWOH_VI-D3WeJkvf.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-Cr-MnJVm-tTwQCBew.js → ZeniAccountPromoPage-BUDBWd8m-CIMCfIY6.js} +12 -12
  196. package/dist/assets/{ZeniAccountSetupPage-Bpqw-wqp-BvxvHEo0.js → ZeniAccountSetupPage-BD0OhX5Z-CotZyeZ5.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-Hh9chHJi-RwVTsccT.js → ZeniCopyright-DPQzZYUR-KHcq5VOQ.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-sf0kghb5-n3R2asqM.js → ZeniTransferAmountSlider-BM8wKUEY-DlBYyOPL.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-Db5fod9i.js → add-to-wallet-DgdBD8_G-D4tNYjqP.js} +1 -1
  200. package/dist/assets/{analytics-CQziHS33.js → analytics-BTo2lvc5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DQHFgahw-Cp99KaIG.js → analyticsHelper-BOam8HWk-DTVMIEqW.js} +1 -1
  202. package/dist/assets/{analyticsHelper-OLJ9to1y.js → analyticsHelper-BeNcAjzu.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cxk5-yTi.js → arrow-south-east-round-PEovUgvH-BpAbcXNu.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CNtOqhU-.js → auto-transfer-rule-mbafm5D3-DUd0RNlG.js} +1 -1
  205. package/dist/assets/{chartTypes-B53kfwdO-BhCsc3sU.js → chartTypes-DWf4SAOE-BXMQEiqd.js} +1 -1
  206. package/dist/assets/{commonDimensions-Om-6fiMl-CN-97Hnw.js → commonDimensions-BgUllk7Z-mJRWeU7K.js} +1 -1
  207. package/dist/assets/{commonTypes-DXJEXDhr-CsYzRDog.js → commonTypes-B6f3YP8V-CbYlRzb2.js} +1 -1
  208. package/dist/assets/{constants-Dg8hvPMb.js → constants-CfG3jptV.js} +1 -1
  209. package/dist/assets/{core-BPh6D8v5.js → core-CDOHNO2G.js} +1 -1
  210. package/dist/assets/{dash.all.min-Cz3Fm_5M.js → dash.all.min-C7dNtldN.js} +1 -1
  211. package/dist/assets/{detailCommon-ufPAtMvc-DhnVaCE8.js → detailCommon-ceDAo_fs-K8aKPC4G.js} +6 -6
  212. package/dist/assets/{downloadPdf-sghpXX-r-hphDTF7O.js → downloadPdf-CKymFYOO-BOWpMv5t.js} +1 -1
  213. package/dist/assets/{empty-DbW3pZ4D.js → empty-EVjF_gMV.js} +1 -1
  214. package/dist/assets/{empty-CwSMnfMr.js → empty-hw3sN7vf.js} +1 -1
  215. package/dist/assets/{epic-Chew0UQN.js → epic-CaPascl_.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ--Zu0Eh-z.js → gift-box-Cmt9OgIZ-C8C7NLZp.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CIZ3GcrY.js → graphic-no-data-l-DU4J8fDt-DrMXjgQT.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B95c8T1V.js → graphic-no-data-net-burn-l-CzmycA0m-Bc0Qno8i.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Dbohbn58.js → handshake-BPg58FML-1LlZ_i0d.js} +1 -1
  220. package/dist/assets/{helper-BBJS-iD4-DcHpxRaM.js → helper-C1Mwnd6M-CNavDJqc.js} +1 -1
  221. package/dist/assets/{index-DrZJrwI9.js → index-B6ONklHc.js} +1 -1
  222. package/dist/assets/{index-Dzi9AcqX.js → index-Bp4xtOn5.js} +1 -1
  223. package/dist/assets/{index-CZZQCAd2.js → index-CGTxoCJp.js} +7 -7
  224. package/dist/assets/{index-C8B9pQsQ.js → index-DE_CqoFx.js} +1 -1
  225. package/dist/assets/{index-Bvx6EJi7.js → index-DHoIuE2i.js} +1 -1
  226. package/dist/assets/{index-Di5sPRAu.js → index-DyMFy4lV.js} +1 -1
  227. package/dist/assets/{index-dJzBovkm.js → index-MbFkHHWb.js} +1 -1
  228. package/dist/assets/{lexical-CO_PvSmH.js → lexical-BeF2ZgkW.js} +1 -1
  229. package/dist/assets/{liveblocks-DYmELrdC.js → liveblocks-Dn-9djA8.js} +1 -1
  230. package/dist/assets/{lottie-BRpRA-Un.js → lottie-BYfhMHcn.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-9nfc1Ewm-CsweZHn5.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-Bi6hurdk-xVLnW0yh.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B9QHM6dt-Be8Q8L2y.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-fbKpuzss-DR9K1lqX.js → mapTimeframeBalancesToTreeNode-EhyCSWUM-BVeTsmlg.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DB6zUXCA-CmA6qGT1.js +1 -0
  237. package/dist/assets/{mui-1V4DDk1u.js → mui-CD7xFf2d.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-B4o0uLRm.js → page-detail-CWX5S47F-CEsHow4e.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-DCdVDlSE.js → panelSelectedMixin-Cddsb26L-ChVQUbpx.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-DveETCoH.js → radio-default-CiSgisfh-CmFHLU8c.js} +1 -1
  241. package/dist/assets/{react-DAYLTVXK.js → react-B6PWZDXX.js} +1 -1
  242. package/dist/assets/{react-CwXZyl3z.js → react-BLzPWySR.js} +1 -1
  243. package/dist/assets/{react-CTTbIL85.js → react-BVvI-Vbl.js} +1 -1
  244. package/dist/assets/{react-BGRZeN4_.js → react-CRe95M2Y.js} +2 -2
  245. package/dist/assets/{react-BfMx9RWN.js → react-Cxxg-6rQ.js} +1 -1
  246. package/dist/assets/{react-DvMoib_r.js → react-DJKM9DI1.js} +1 -1
  247. package/dist/assets/{react-BhKvphZC.js → react-Dc3Fbg1h.js} +1 -1
  248. package/dist/assets/{react-DrvHBxOA.js → react-DtCoLsdE.js} +1 -1
  249. package/dist/assets/{recharts-W_ILlOEk.js → recharts-CeYsUNdm.js} +1 -1
  250. package/dist/assets/{sentry-KKNtqb_g.js → sentry-CuNQ_GI9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DYMhAzvU.js → shield-DOlUxcFf-BIELJ6pj.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BHpR5IjE-BC__zjt5.js +1 -0
  253. package/dist/assets/{toChartData-DJeOVqss-Ckap6Mgt.js → toChartData-wLoMfnuk-B5A976Ge.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DHlUSExT.js → upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js} +1 -1
  255. package/dist/assets/{uploadAttachment-BjSr5jfA-5o3rK0wU.js → uploadAttachment-DiB8ywoD-CoooZKCI.js} +4 -4
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-BxDjc4Mk.js → uploadReceipts-Dge0cNF1-DYfDjXeu.js} +1 -1
  257. package/dist/assets/{url-BOcnt56d.js → url-CLDcbK8W.js} +1 -1
  258. package/dist/assets/{url-DpR8Zh5r.js → url-DvLmNXM-.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BWV9Umwr.js → useLongPress-GCK2COYQ-D_m3f9kb.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-DkxZf2LY.js → usp-line-BBd1wKwW-BHWavx9j.js} +1 -1
  261. package/dist/assets/{utils-DuPmVt2f.js → utils-i_tuliLj.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BIDncbwZ.js → zeni-epic-state-BJYsNVul.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/AccountInfoPage-rFTZmOvo-DL0RDmZu.js +0 -18
  266. package/dist/assets/AddAddressForCardDrawer-BmEFIMt4-CVY0gF8P.js +0 -6
  267. package/dist/assets/ChargeCardPromoPage-CR7Jo6Il-OQWmOWWv.js +0 -222
  268. package/dist/assets/CustomerOnboardingContainerPage-DD9nA6Bu-Bp08bFX-.js +0 -1
  269. package/dist/assets/EntityDetailPage-BdsjHAh4-D2cQRotr.js +0 -18
  270. package/dist/assets/LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js +0 -16
  271. package/dist/assets/MagicLinkACHDetailsPage-D9dtxxoU-CUE02Q_7.js +0 -1
  272. package/dist/assets/MagicLinkDomesticWireDetailsPage-BakTLi7l-DD27DPrq.js +0 -1
  273. package/dist/assets/MagicLinkInternationalWireDetailsPage-BeRb8gxx-DwqfWI26.js +0 -1
  274. package/dist/assets/MailingDetailsSection-DXKO0Y-W-Ds1E0EkO.js +0 -21
  275. package/dist/assets/RoleWithToolTip-BIBVAADS-DMOgVdZw.js +0 -22
  276. package/dist/assets/SummaryCard-63rY1JXk-BoPHME_4.js +0 -1
  277. package/dist/assets/TransactionList-4mJl7knT-DqG87PM9.js +0 -153
  278. package/dist/assets/VendorACHDetailsPage-CF8jFtK9-Bo23tOjB.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BeqW1jo4-D9Dx30c9.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-z04tKP7M-CcKSJMfU.js +0 -1
  281. package/dist/assets/mapLoadingInProgressToTreeNode-Wii9H08B-DMwkFEgt.js +0 -1
  282. package/dist/assets/mapSectionWithAcOnlyToTreeNode-9zuQ7sNi-Wfqd9hcz.js +0 -1
  283. package/dist/assets/mapSpacerToTreeNode-BAzbdSwd-DpMVDymh.js +0 -1
  284. package/dist/assets/mapTimeframeBalancesToTreeNode-CtMEj9WJ-CRNATqeg.js +0 -1
  285. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DIE9gcY0-BMQnsLW7.js +0 -1
  286. package/dist/assets/toCOABalancesWithID-shajGRBP-BsWBm72Q.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,J as he,a9 as ye,ac as ae,hE as ea,aQ as aa,a as ta,L as na,aT as ze,o as a,b as K,x as m,d as Me,h as oa,aj as ia,y as Be,bV as ra,fm as _e,c as G,p as J,gv as ce,w as la,as as Oe,e as ca,aS as we,aa as sa,fF as da,cI as ma,ae as pa,f5 as ua,fJ as ha,cP as ya,hP as De,hQ as ga,gh as fa,u as r,c4 as Ca,bb as ba,ft as xa,ck as wa,an as Ne,h4 as Da,c2 as Sa,aW as $a,hR as ka,d2 as Aa,h5 as La,fV as va,fR as Ia}from"./index-CZZQCAd2.js";import{n as i}from"./mui-1V4DDk1u.js";import{a as p}from"./sentry-KKNtqb_g.js";import{bL as pe,bZ as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-BIDncbwZ.js";import{x as Pa}from"./LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="cdcb2ea6-f33f-42cf-8986-bfb6e19d505d",e._sentryDebugIdIdentifier="sentry-dbid-cdcb2ea6-f33f-42cf-8986-bfb6e19d505d")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new G("h6Regular","h5Regular"),integerAmountInput:new G("h5Regular","largeMedium"),decimalAmountInput:new G("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Ha,{children:t.jsxs(Va,{children:[t.jsxs(Ga,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Za,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:Da(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
1
+ import{V as t,J as he,a9 as ye,ac as ae,hE as ea,aQ as aa,a as ta,L as na,aT as ze,o as a,b as K,x as m,d as Me,h as oa,aj as ia,y as Be,bV as ra,fm as _e,c as G,p as J,gv as ce,w as la,as as Oe,e as ca,aS as we,aa as sa,fF as da,cI as ma,ae as pa,f5 as ua,fJ as ha,cP as ya,hP as De,hQ as ga,gh as fa,u as r,c4 as Ca,bb as ba,ft as xa,ck as wa,an as Ne,h4 as Da,c2 as Sa,aW as ka,hR as $a,d2 as Aa,h5 as La,fV as va,fR as Ia}from"./index-CGTxoCJp.js";import{n as i}from"./mui-CD7xFf2d.js";import{a as p}from"./sentry-CuNQ_GI9.js";import{bL as pe,bZ as Fa,bh as Se,bJ as Ra,bK as ke,bI as Ta}from"./zeni-epic-state-BJYsNVul.js";import{x as Pa}from"./LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="944482a0-517e-4294-b507-8bd2b60bf98f",e._sentryDebugIdIdentifier="sentry-dbid-944482a0-517e-4294-b507-8bd2b60bf98f")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new G("h6Regular","h5Regular"),integerAmountInput:new G("h5Regular","largeMedium"),decimalAmountInput:new G("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:$e}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format($e),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Ha,{children:t.jsxs(Va,{children:[t.jsxs(Ga,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Za,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format($e)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:Da(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -129,10 +129,10 @@ import{V as t,J as he,a9 as ye,ac as ae,hE as ea,aQ as aa,a as ta,L as na,aT as
129
129
  margin-right: 12px;
130
130
  margin-left: ${a.sp1};
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,{common:me,spendManagement:{zeniAccounts:{zeniAccountList:dt},billPay:{insufficientFunds:mt},chargeCard:{payEarly:X}},commonSetUp:{setUp:{accountsPlg:ie}}}=K.getLocalizedStrings(),Ue="amount",pt="withdrawFrom",V="paymentDetails",Ve="creditCardPaymentPage",re=(e,o)=>`${e}.${o}`,Ye=e=>`${e}_form`,D={largeLabelWidth:new m(120,120,160),labelMarginLeftPicker:new m(r[3],r[4]),labelMarginRightPicker:new m(r[3],r[4]),labelMarginTopPicker:new m(r[2],r[2]),labeledFieldPaddingLeft:new m(r[2],r[0]),labeledFieldPaddingRight:new m(r[2],r[2]),labeledFieldPaddingTop:new m(r[2],r[2]),labeledFieldPaddingBottom:new m(r[2],r[2]),infoLabelPaddingRight:new m(r[0],r[3]),infoLabelMarginTop:new m(r[1],r[0]),checkBoxTop:new m(r[1],r[0])},ve={integerAmountInput:new G("h5Regular","h2Regular"),decimalAmountInput:new G("largeSemiBold","h5Medium")};function ut({autoPayThreshold:e,plaidConnectionDetails:o,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:f,paymentAccount:c,isAccountsEnabled:y,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:C,onEstablishConnectionClick:g,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:b,setShowReviewLoading:d,onSignUpAccountClick:S,onMoveMoneyClick:v,isCashbackInfoFetchStateCompleted:B,isCreditCardInfoFetchStateCompleted:I,isDebitCardInfoFetchStateCompleted:F,controllerEmails:R,productInformation:T,cashbackInformation:P,paymentSourceInformation:_,creditAccountInformation:O,debitAccountInformation:Q}){const s=he(),ee=Be(),oe=D.largeLabelWidth.value(s),$=ye().analytics,N=p.useRef(null),[W,U]=p.useState(!1),[A,Y]=p.useState(void 0),w=o.link_account,Z=o.update_account,k=A==="update_account"?Z:w,[q,ge]=p.useState(k.linkToken??null),fe=we(w.updateStatus.fetchState),H=sa({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>Ie(n),[n]),values:p.useMemo(()=>Ie(n),[n])}),Ce=c?.isLoginRequired??!1,j=c?.providerVerificationStatus?.code,be=we(Z.updateStatus.fetchState),Ze=p.useCallback((l,u)=>{const E=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&A==="update_account"&&E?.verification_status!=null&&!Ce?C(E?.verification_status,c.paymentAccountId,"update_account"):g?.(l,A),Y(void 0),U(!1)},[c?.paymentAccountId,c?.providerAccountId,A,Ce,C,g]),qe=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&C("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),Y(void 0),U(!1)},[c?.paymentAccountId,C]),{open:le,ready:xe}=da({token:q,onSuccess:Ze,onExit:qe});p.useEffect(()=>{(fe==="In-Progress"&&w.updateStatus.fetchState==="Completed"||be==="In-Progress"&&Z.updateStatus.fetchState==="Completed")&&(Ra(j??"")||(b?.("link_account"),x()))},[w.updateStatus.fetchState,x,b,fe,be,Z.updateStatus.fetchState,j]),p.useEffect(()=>{($e(j??"")||j==="verification_failed")&&!W&&A!=null&&k.linkToken===q&&k.fetchStatus.fetchState==="Completed"&&xe&&U(!0)},[xe,q,k.fetchStatus.fetchState,k.linkToken,j,A,W]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==q&&ge(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,q]),p.useEffect(()=>{W&&le()},[W,le]),p.useEffect(()=>{(j==null||j==="verification_failed"||j==="verification_expired"||$e(j))&&(pe(new Date().toISOString()).isAfter(w.expiration)||w.linkToken==null)&&b?.("link_account")},[]);const{isValid:He}=H.formState,Xe=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const E=Fe(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(E)}},Ge=l=>{if(f!=null)return f;const u=n.transferFromAccounts.find(E=>E.id===l);return u?.accountBalance?.available!=null&&Ta(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?mt.addMoney:""};p.useEffect(()=>{const l=H.watch((u,{name:E})=>{E!=null&&u!=null&&ma(()=>Xe(E,u))});return()=>{l.unsubscribe()}});const Ke=H.watch("paymentDetails.amount"),Je=H.handleSubmit(()=>{if(He){const l=H.getValues(),u=Fe(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),d(!0),B&&I&&F&&P!=null&&$.trackCardsPayEarlyFormClick(R,T,P,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},_,O,Q)}});return t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:t.jsx(_e,{amount:{amount:Ke??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:ve.integerAmountInput.styleObject(s),decimalStyles:ve.decimalAmountInput.styleObject(s)})}),t.jsx(pa,{...H,children:t.jsx(ft,{id:Ye(Ve),onSubmit:Je,children:t.jsxs(bt,{children:[t.jsx(ua,{selectRef:N,label:{label:me.labels.transferFrom,width:oe,style:{marginLeft:D.labelMarginLeftPicker.valuePx(s),marginTop:D.labelMarginTopPicker.valuePx(s),marginRight:D.labelMarginRightPicker.valuePx(s),width:D.largeLabelWidth.value(s)}},style:{paddingTop:D.labeledFieldPaddingTop.valuePx(s),paddingBottom:D.labeledFieldPaddingBottom.valuePx(s),paddingLeft:D.labeledFieldPaddingLeft.valuePx(s),paddingRight:D.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:D.infoLabelPaddingRight.valuePx(s),marginTop:D.infoLabelMarginTop.valuePx(s),color:J.brandColorGoldDark},bottomComponent:t.jsx(Pa,{label:{label:X.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:ee.colors.primary}},style:{width:"unset",marginRight:a.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(V,"enableAutoPay"),checkBoxValue:re(V,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:D.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(V,pt),placeholder:ya(me.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>We(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>ha(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{Y("link_account"),w.linkToken==null||pe(new Date().toISOString()).isAfter(w.expiration)?b?.("link_account"):q!==w.linkToken?ge(w.linkToken):W?le():U(!0)}},valueToAdditionalLabel:Ge}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?t.jsx(De,{maxInsuredAmount:h,heading:t.jsxs(ht,{windowSize:s,children:[X.earn,t.jsx(yt,{children:X.percentageCashback.replace("__percentage__",ga)}),X.whenYouPayViaZeniChecking]}),buttonText:y?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:y,pageName:X.creditCardPayment,onSignUpClick:S,onSwitchClick:()=>{N.current!=null&&N.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?t.jsx(De,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:y,pageName:X.creditCardPayment,onMoveMoneyClick:v}):t.jsx(gt,{}),t.jsx(fa,{showAdditionalInfoLabel:!1,label:{label:me.labels.amount,width:oe},formattedTextField:{type:"number",name:re(V,Ue),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:dt.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:D.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ht=i($a)`
132
+ `,{common:me,spendManagement:{zeniAccounts:{zeniAccountList:dt},billPay:{insufficientFunds:mt},chargeCard:{payEarly:X}},commonSetUp:{setUp:{accountsPlg:ie}}}=K.getLocalizedStrings(),Ue="amount",pt="withdrawFrom",V="paymentDetails",Ve="creditCardPaymentPage",re=(e,o)=>`${e}.${o}`,Ye=e=>`${e}_form`,D={largeLabelWidth:new m(120,120,160),labelMarginLeftPicker:new m(r[3],r[4]),labelMarginRightPicker:new m(r[3],r[4]),labelMarginTopPicker:new m(r[2],r[2]),labeledFieldPaddingLeft:new m(r[2],r[0]),labeledFieldPaddingRight:new m(r[2],r[2]),labeledFieldPaddingTop:new m(r[2],r[2]),labeledFieldPaddingBottom:new m(r[2],r[2]),infoLabelPaddingRight:new m(r[0],r[3]),infoLabelMarginTop:new m(r[1],r[0]),checkBoxTop:new m(r[1],r[0])},ve={integerAmountInput:new G("h5Regular","h2Regular"),decimalAmountInput:new G("largeSemiBold","h5Medium")};function ut({autoPayThreshold:e,plaidConnectionDetails:o,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:f,paymentAccount:c,isAccountsEnabled:y,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:C,onEstablishConnectionClick:g,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:b,setShowReviewLoading:d,onSignUpAccountClick:S,onMoveMoneyClick:v,isCashbackInfoFetchStateCompleted:B,isCreditCardInfoFetchStateCompleted:I,isDebitCardInfoFetchStateCompleted:F,controllerEmails:R,productInformation:T,cashbackInformation:P,paymentSourceInformation:_,creditAccountInformation:O,debitAccountInformation:Q}){const s=he(),ee=Be(),oe=D.largeLabelWidth.value(s),k=ye().analytics,N=p.useRef(null),[W,U]=p.useState(!1),[A,Y]=p.useState(void 0),w=o.link_account,Z=o.update_account,$=A==="update_account"?Z:w,[q,ge]=p.useState($.linkToken??null),fe=we(w.updateStatus.fetchState),H=sa({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>Ie(n),[n]),values:p.useMemo(()=>Ie(n),[n])}),Ce=c?.isLoginRequired??!1,j=c?.providerVerificationStatus?.code,be=we(Z.updateStatus.fetchState),Ze=p.useCallback((l,u)=>{const E=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&A==="update_account"&&E?.verification_status!=null&&!Ce?C(E?.verification_status,c.paymentAccountId,"update_account"):g?.(l,A),Y(void 0),U(!1)},[c?.paymentAccountId,c?.providerAccountId,A,Ce,C,g]),qe=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&C("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),Y(void 0),U(!1)},[c?.paymentAccountId,C]),{open:le,ready:xe}=da({token:q,onSuccess:Ze,onExit:qe});p.useEffect(()=>{(fe==="In-Progress"&&w.updateStatus.fetchState==="Completed"||be==="In-Progress"&&Z.updateStatus.fetchState==="Completed")&&(Ra(j??"")||(b?.("link_account"),x()))},[w.updateStatus.fetchState,x,b,fe,be,Z.updateStatus.fetchState,j]),p.useEffect(()=>{(ke(j??"")||j==="verification_failed")&&!W&&A!=null&&$.linkToken===q&&$.fetchStatus.fetchState==="Completed"&&xe&&U(!0)},[xe,q,$.fetchStatus.fetchState,$.linkToken,j,A,W]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==q&&ge($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,q]),p.useEffect(()=>{W&&le()},[W,le]),p.useEffect(()=>{(j==null||j==="verification_failed"||j==="verification_expired"||ke(j))&&(pe(new Date().toISOString()).isAfter(w.expiration)||w.linkToken==null)&&b?.("link_account")},[]);const{isValid:He}=H.formState,Xe=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const E=Fe(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(E)}},Ge=l=>{if(f!=null)return f;const u=n.transferFromAccounts.find(E=>E.id===l);return u?.accountBalance?.available!=null&&Ta(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?mt.addMoney:""};p.useEffect(()=>{const l=H.watch((u,{name:E})=>{E!=null&&u!=null&&ma(()=>Xe(E,u))});return()=>{l.unsubscribe()}});const Ke=H.watch("paymentDetails.amount"),Je=H.handleSubmit(()=>{if(He){const l=H.getValues(),u=Fe(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),d(!0),B&&I&&F&&P!=null&&k.trackCardsPayEarlyFormClick(R,T,P,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},_,O,Q)}});return t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:t.jsx(_e,{amount:{amount:Ke??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:ve.integerAmountInput.styleObject(s),decimalStyles:ve.decimalAmountInput.styleObject(s)})}),t.jsx(pa,{...H,children:t.jsx(ft,{id:Ye(Ve),onSubmit:Je,children:t.jsxs(bt,{children:[t.jsx(ua,{selectRef:N,label:{label:me.labels.transferFrom,width:oe,style:{marginLeft:D.labelMarginLeftPicker.valuePx(s),marginTop:D.labelMarginTopPicker.valuePx(s),marginRight:D.labelMarginRightPicker.valuePx(s),width:D.largeLabelWidth.value(s)}},style:{paddingTop:D.labeledFieldPaddingTop.valuePx(s),paddingBottom:D.labeledFieldPaddingBottom.valuePx(s),paddingLeft:D.labeledFieldPaddingLeft.valuePx(s),paddingRight:D.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:D.infoLabelPaddingRight.valuePx(s),marginTop:D.infoLabelMarginTop.valuePx(s),color:J.brandColorGoldDark},bottomComponent:t.jsx(Pa,{label:{label:X.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:ee.colors.primary}},style:{width:"unset",marginRight:a.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(V,"enableAutoPay"),checkBoxValue:re(V,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:D.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(V,pt),placeholder:ya(me.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>We(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>ha(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{Y("link_account"),w.linkToken==null||pe(new Date().toISOString()).isAfter(w.expiration)?b?.("link_account"):q!==w.linkToken?ge(w.linkToken):W?le():U(!0)}},valueToAdditionalLabel:Ge}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?t.jsx(De,{maxInsuredAmount:h,heading:t.jsxs(ht,{windowSize:s,children:[X.earn,t.jsx(yt,{children:X.percentageCashback.replace("__percentage__",ga)}),X.whenYouPayViaZeniChecking]}),buttonText:y?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:y,pageName:X.creditCardPayment,onSignUpClick:S,onSwitchClick:()=>{N.current!=null&&N.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?t.jsx(De,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:y,pageName:X.creditCardPayment,onMoveMoneyClick:v}):t.jsx(gt,{}),t.jsx(fa,{showAdditionalInfoLabel:!1,label:{label:me.labels.amount,width:oe},formattedTextField:{type:"number",name:re(V,Ue),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:dt.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:D.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ht=i(ka)`
133
133
  color: ${e=>e.theme.colors.primary};
134
134
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
135
- `,yt=i(ka)`
135
+ `,yt=i($a)`
136
136
  color: ${e=>e.theme.colors.primary};
137
137
  `,gt=i.div`
138
138
  display: flex;
@@ -157,7 +157,7 @@ import{V as t,J as he,a9 as ye,ac as ae,hE as ea,aQ as aa,a as ta,L as na,aT as
157
157
  border: 1px solid ${e=>e.theme.colors.grey3};
158
158
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
159
159
  border-radius: ${a.sp2};
160
- `,Fe=(e,o,h)=>({amount:{amount:e[V].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:o.find(n=>n.id===e[V].withdrawFrom.selectedOption),isAutoRepayment:e[V].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(16,40,56),containerPaddingRight:new m(16,40,56),successContentMargin:new m(r[3],r[12]),buttonTrayGap:new m(r[4],r[5])},xt={sectionTitle:new G("h6Regular","h5Regular")},Re=K.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,M=K.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Te}=K.getLocalizedStrings(),wt=({autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:f,controllerEmails:c,creditAccountInformation:y,creditAccountSpentAmount:L,debitAccountInformation:C,cashbackInformation:g,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,paymentInitiatedDate:v,onSaveChangesToLocalStore:B,onTransferClick:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onFetchLinkTokenClick:_,plaidConnectionDetails:O,onSignUpAccountClick:Q,onMoveMoneyClick:s,onUpdatePaymentAccountStatus:ee,onEstablishConnectionSuccess:oe})=>{const $=he(),N=ye().analytics,[W,U]=p.useState(!1),[A,Y]=p.useState(!1);p.useEffect(()=>{A&&setTimeout(()=>{Y(!1),U(!0)},1e3)},[A]);const w=o.chargeCardRepaymentDetailLocalData.amount.amount===L,Z=o.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount";return t.jsx(Dt,{windowSize:$,children:o.updateStatus==="Completed"?t.jsxs(Pe,{windowSize:$,isTransferCompleted:!0,children:[t.jsx(je,{windowSize:$,children:t.jsx(Ee,{"data-testid":ae("cross-credit-card-payment-success-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}})}),t.jsxs(At,{windowSize:$,children:[t.jsx(ea,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(St,{children:t.jsxs(t.Fragment,{children:[M.youvePaid,t.jsx($t,{children:aa("0,0.[00]",o.chargeCardRepaymentDetailLocalData.amount)}),Re.transferDrawer.internal.transferSuccessMsgMidfix,`"${o.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,Z?w?M.theCreditLimitWillResetWithin1BusinessDay:M.theCreditLimitWillUpdateWithin1BusinessDay:w?M.theCreditLimitWillResetWithin23BusinessDays:M.theCreditLimitWillUpdateWithin23BusinessDays]})}),t.jsx(kt,{windowSize:$,children:t.jsx(ta,{variant:"primary",label:F==="cardPaymentHistory"?M.goToPaymentHistory:M.goToCards,"data-testid":ae("back-to-cards-button"),onClick:R})})]})]}):W?t.jsx(_a,{paymentDetails:o,setShowReviewContent:U,onTransferClick:I,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsxs(t.Fragment,{children:[t.jsxs(Pe,{windowSize:$,isTransferCompleted:!1,children:[t.jsx(je,{windowSize:$,children:t.jsx(Ee,{"data-testid":ae("cross-amount-details-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:v?.add(3,"day").format(Te.visual.MMMDCommaYYYYformat),paymentInitiatedDate:v?.format(Te.visual.MMMDCommaYYYYformat)},x,y,C),T?.()}})}),$==="small"?t.jsx(Lt,{windowSize:$,children:M.payCreditCardBalance}):t.jsx(vt,{children:M.payCreditCardBalance}),o.fetchState==="Completed"?t.jsx(ut,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:B,plaidConnectionDetails:O,paymentDetails:o,setShowReviewLoading:Y,onEstablishConnectionSuccess:oe,isAccountsEnabled:n,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:ee,onEstablishConnectionClick:P,onSignUpAccountClick:Q,onMoveMoneyClick:s,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsx(na,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ye(Ve),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:K.getLocalizedStrings().common.review,isLoading:A},cancelBtn:{label:Re.transferDrawer.cancelBtn,onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cancel",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}}})]})})},Dt=i.div`
160
+ `,Fe=(e,o,h)=>({amount:{amount:e[V].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:o.find(n=>n.id===e[V].withdrawFrom.selectedOption),isAutoRepayment:e[V].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(16,40,56),containerPaddingRight:new m(16,40,56),successContentMargin:new m(r[3],r[12]),buttonTrayGap:new m(r[4],r[5])},xt={sectionTitle:new G("h6Regular","h5Regular")},Re=K.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,M=K.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Te}=K.getLocalizedStrings(),wt=({autoPayThreshold:e,paymentDetails:o,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:f,controllerEmails:c,creditAccountInformation:y,creditAccountSpentAmount:L,debitAccountInformation:C,cashbackInformation:g,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,paymentInitiatedDate:v,onSaveChangesToLocalStore:B,onTransferClick:I,sourcePage:F,onBackNavigation:R,onDismissClick:T,onEstablishConnectionClick:P,onFetchLinkTokenClick:_,plaidConnectionDetails:O,onSignUpAccountClick:Q,onMoveMoneyClick:s,onUpdatePaymentAccountStatus:ee,onEstablishConnectionSuccess:oe})=>{const k=he(),N=ye().analytics,[W,U]=p.useState(!1),[A,Y]=p.useState(!1);p.useEffect(()=>{A&&setTimeout(()=>{Y(!1),U(!0)},1e3)},[A]);const w=o.chargeCardRepaymentDetailLocalData.amount.amount===L,Z=o.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount";return t.jsx(Dt,{windowSize:k,children:o.updateStatus==="Completed"?t.jsxs(Pe,{windowSize:k,isTransferCompleted:!0,children:[t.jsx(je,{windowSize:k,children:t.jsx(Ee,{"data-testid":ae("cross-credit-card-payment-success-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}})}),t.jsxs(At,{windowSize:k,children:[t.jsx(ea,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(St,{children:t.jsxs(t.Fragment,{children:[M.youvePaid,t.jsx(kt,{children:aa("0,0.[00]",o.chargeCardRepaymentDetailLocalData.amount)}),Re.transferDrawer.internal.transferSuccessMsgMidfix,`"${o.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,Z?w?M.theCreditLimitWillResetWithin1BusinessDay:M.theCreditLimitWillUpdateWithin1BusinessDay:w?M.theCreditLimitWillResetWithin23BusinessDays:M.theCreditLimitWillUpdateWithin23BusinessDays]})}),t.jsx($t,{windowSize:k,children:t.jsx(ta,{variant:"primary",label:F==="cardPaymentHistory"?M.goToPaymentHistory:M.goToCards,"data-testid":ae("back-to-cards-button"),onClick:R})})]})]}):W?t.jsx(_a,{paymentDetails:o,setShowReviewContent:U,onTransferClick:I,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsxs(t.Fragment,{children:[t.jsxs(Pe,{windowSize:k,isTransferCompleted:!1,children:[t.jsx(je,{windowSize:k,children:t.jsx(Ee,{"data-testid":ae("cross-amount-details-close-button"),onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cross Icon",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:v?.add(3,"day").format(Te.visual.MMMDCommaYYYYformat),paymentInitiatedDate:v?.format(Te.visual.MMMDCommaYYYYformat)},x,y,C),T?.()}})}),k==="small"?t.jsx(Lt,{windowSize:k,children:M.payCreditCardBalance}):t.jsx(vt,{children:M.payCreditCardBalance}),o.fetchState==="Completed"?t.jsx(ut,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:B,plaidConnectionDetails:O,paymentDetails:o,setShowReviewLoading:Y,onEstablishConnectionSuccess:oe,isAccountsEnabled:n,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:ee,onEstablishConnectionClick:P,onSignUpAccountClick:Q,onMoveMoneyClick:s,isCashbackInfoFetchStateCompleted:b,isCreditCardInfoFetchStateCompleted:d,isDebitCardInfoFetchStateCompleted:S,controllerEmails:c,productInformation:f,cashbackInformation:g,paymentSourceInformation:x,creditAccountInformation:y,debitAccountInformation:C}):t.jsx(na,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ye(Ve),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:K.getLocalizedStrings().common.review,isLoading:A},cancelBtn:{label:Re.transferDrawer.cancelBtn,onClick:()=>{b&&d&&S&&g!=null&&N.trackCardsPayEarlyFormClick(c,f,g,"Cancel",o.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:o.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:o.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:o.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:o.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,y,C),T?.()}}})]})})},Dt=i.div`
161
161
  display: flex;
162
162
  flex-direction: column;
163
163
  background-color: ${e=>e.theme.colors.grey4};
@@ -168,14 +168,14 @@ import{V as t,J as he,a9 as ye,ac as ae,hE as ea,aQ as aa,a as ta,L as na,aT as
168
168
  color: ${e=>e.theme.colors.primary};
169
169
  text-align: center;
170
170
  white-space: pre-line;
171
- `,$t=i(ia)`
171
+ `,kt=i(ia)`
172
172
  display: inline;
173
173
  `,Pe=i.div`
174
174
  height: ${e=>e.isTransferCompleted?"100%":"auto"};
175
175
  padding-left: ${e=>`${ne.containerPaddingLeft.valuePx(e.windowSize)}`};
176
176
  padding-right: ${e=>`${ne.containerPaddingRight.valuePx(e.windowSize)}`};
177
177
  margin-bottom: auto;
178
- `,kt=i.div`
178
+ `,$t=i.div`
179
179
  display: flex;
180
180
  justify-content: center;
181
181
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
@@ -1,4 +1,4 @@
1
- import{cM as M,y as N,ey as _,b as H,V as l,eH as P,bJ as L,o,dp as z,ac as x,cw as T,bK as b,an as B,w,f6 as K,f7 as Q,f8 as W,ak as X,bI as J,d as Y,p as m}from"./index-CZZQCAd2.js";import{a as S}from"./sentry-KKNtqb_g.js";import{n}from"./mui-1V4DDk1u.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="30b7f994-ab0d-48d8-8767-5c7bb8a74046",e._sentryDebugIdIdentifier="sentry-dbid-30b7f994-ab0d-48d8-8767-5c7bb8a74046")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=_(y,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(P,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:G,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},G=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),U=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
1
+ import{cM as M,y as N,ey as P,b as _,V as l,eH as H,bJ as L,o,dp as z,ac as x,cw as T,bK as b,an as B,w,f6 as K,f7 as Q,f8 as W,ak as X,bI as J,d as Y,p as m}from"./index-CGTxoCJp.js";import{a as S}from"./sentry-CuNQ_GI9.js";import{n}from"./mui-CD7xFf2d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e67188c5-e82f-443e-af6a-f61591b9a0b4",e._sentryDebugIdIdentifier="sentry-dbid-e67188c5-e82f-443e-af6a-f61591b9a0b4")}catch{}})();const $e=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=P(y,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:G,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:A},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:t[f]})})},G=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),U=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&K(e)===!1)return l.jsx(l.Fragment,{});{const r=Q[`${W(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as b,V as t,b as c,aS as l,ac as p,L as g,o as i,ah as h,e as x,h as m}from"./index-CZZQCAd2.js";import{a as u}from"./sentry-KKNtqb_g.js";import{n as o}from"./mui-1V4DDk1u.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8c4d9772-24eb-44c4-8fd8-893c83e76d20",e._sentryDebugIdIdentifier="sentry-dbid-8c4d9772-24eb-44c4-8fd8-893c83e76d20")}catch{}})();const f=o.div`
1
+ import{J as u,V as t,b as c,aS as l,ac as p,L as g,o as i,ah as h,e as x,h as m}from"./index-CGTxoCJp.js";import{a as b}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="02a0119e-12c3-4b45-971f-75e73acdb7e3",e._sentryDebugIdIdentifier="sentry-dbid-02a0119e-12c3-4b45-971f-75e73acdb7e3")}catch{}})();const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -44,7 +44,7 @@ import{J as b,V as t,b as c,aS as l,ac as p,L as g,o as i,ah as h,e as x,h as m}
44
44
  text-align: center;
45
45
  `,k=o.div`
46
46
  margin-top: ${i.sp3};
47
- `,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(f,{children:[t.jsx($,{children:t.jsx(y,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})}),t.jsxs(j,{children:[t.jsx(w,{children:d}),t.jsx(v,{children:a}),t.jsx(k,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},I=o.div`
47
+ `,z=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:a,subTitle:d}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return b.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(f,{children:[t.jsx($,{children:t.jsx(y,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})}),t.jsxs(j,{children:[t.jsx(w,{children:a}),t.jsx(v,{children:d}),t.jsx(k,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},I=o.div`
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  height: 100vh;
@@ -85,4 +85,4 @@ import{J as b,V as t,b as c,aS as l,ac as p,L as g,o as i,ah as h,e as x,h as m}
85
85
  width: 100%;
86
86
  `,E=o.div`
87
87
  margin-top: ${i.sp3};
88
- `,F=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:d,subTitle:a}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(I,{children:[t.jsx(L,{children:t.jsx(D,{children:t.jsx(P,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})})}),t.jsxs(S,{children:[t.jsx(C,{children:d}),t.jsx(T,{children:a}),t.jsx(E,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},G=e=>b()==="small"?t.jsx(F,{...e}):t.jsx(z,{...e});export{G as default};
88
+ `,F=({dashboardFetchState:e,onZeniLogoClick:r,onDashboardFetchDone:n})=>{const{title:a,subTitle:d}=c.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return b.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&n()},[e,s,n]),t.jsxs(I,{children:[t.jsx(L,{children:t.jsx(D,{children:t.jsx(P,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:r})})}),t.jsxs(S,{children:[t.jsx(C,{children:a}),t.jsx(T,{children:d}),t.jsx(E,{children:t.jsx(g,{size:"Large",start:!0})})]})]})},G=e=>u()==="small"?t.jsx(F,{...e}):t.jsx(z,{...e});export{G as default};
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-CGTxoCJp.js";import i from"./CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js";import e from"./CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js";import"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js";import"./commonTypes-B6f3YP8V-CbYlRzb2.js";import"./SetUpAccountSection-6NXF_yfU-BamPpzSM.js";import"./CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js";import"./CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js";import"./helper-C1Mwnd6M-CNavDJqc.js";import"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.js";import"./LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js";import"./LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js";import"./LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js";import"./QBOSetupSection-DWIulUc2-DlIiV7jG.js";import"./QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="e3970927-201d-4d55-b30e-2425b23a1082",t._sentryDebugIdIdentifier="sentry-dbid-e3970927-201d-4d55-b30e-2425b23a1082")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{P as default};
@@ -1,4 +1,4 @@
1
- import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R,b as N,p as g,n as P,hX as U,fU as L,au as J,ao as O,hY as W}from"./index-CZZQCAd2.js";import{n as r}from"./mui-1V4DDk1u.js";import{P as S}from"./sentry-KKNtqb_g.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="36906dca-326e-4c2d-8109-7a12410a7d3e",e._sentryDebugIdIdentifier="sentry-dbid-36906dca-326e-4c2d-8109-7a12410a7d3e")}catch{}})();const _=r(W)`
1
+ import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R,b as N,p as g,n as P,hX as U,fU as L,au as J,ao as O,hY as W}from"./index-CGTxoCJp.js";import{n as r}from"./mui-CD7xFf2d.js";import{P as S}from"./sentry-CuNQ_GI9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4a5fd11b-dbbc-48d8-9a09-745dd3eaacf3",e._sentryDebugIdIdentifier="sentry-dbid-4a5fd11b-dbbc-48d8-9a09-745dd3eaacf3")}catch{}})();const _=r(W)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,V=r.div`
4
4
  position: relative;
@@ -22,7 +22,7 @@ import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,F=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{d(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(l)})},X=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(V,{theme:i,children:s.jsx(_,{value:o,strokeWidth:50,circleRatio:1,styles:{...U({pathColor:g.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:n})=>e||i||d||l?l?g.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,Y=r.div`
25
+ `,F=({valueEnd:e,valueStart:i,children:o})=>{const[d,l]=S.useState(i);return S.useEffect(()=>{const n=setTimeout(()=>{l(e)},100);return()=>clearTimeout(n)},[e]),s.jsx(s.Fragment,{children:o(d)})},X=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(V,{theme:i,children:s.jsx(_,{value:o,strokeWidth:50,circleRatio:1,styles:{...U({pathColor:g.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},w=({isActive:e,isCompleted:i,isDisabled:o,isError:d,isHalfCompleted:l,theme:n})=>e||i||l||d?d?g.runwayRed:n.colors.primary:o?n.colors.grey1:n.colors.hero,k=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:d,theme:l})=>e||i||d?l.colors.primary:o?l.colors.grey1:l.colors.hero,Y=r.div`
26
26
  width: 100%;
27
27
  display: flex;
28
28
  background: ${e=>e.isActive?e.theme.colors.grey5:null};
@@ -65,7 +65,7 @@ import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R
65
65
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
66
  `,Q=r(O)`
67
67
  color: ${e=>k({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
68
- `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:n,stepText:h,stepSubText:m,onUpdateStep:u,setIsStepClicked:p,disabledSteps:a}){const c=d||a.includes(e)&&i===!1;return s.jsxs(Y,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:n,onClick:d===!1?()=>{a.includes(e)&&i===!1||(p(!0),u(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(Z,{children:n?s.jsx(B,{}):l?s.jsx(X,{}):o?s.jsx(q,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(K,{children:[s.jsx(M,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:n,children:h}),s.jsx(Q,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
68
+ `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:d,isDisabled:l,isError:n,stepText:h,stepSubText:m,onUpdateStep:u,setIsStepClicked:p,disabledSteps:a}){const c=l||a.includes(e)&&i===!1;return s.jsxs(Y,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:d,isError:n,onClick:l===!1?()=>{a.includes(e)&&i===!1||(p(!0),u(e))}:void 0,"data-testid":v("step-box",e),children:[s.jsx(Z,{children:n?s.jsx(B,{}):d?s.jsx(X,{}):o?s.jsx(q,{}):s.jsx(G,{isActive:i,disabledStep:c})}),s.jsxs(K,{children:[s.jsx(M,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,isError:n,children:h}),s.jsx(Q,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:d,disabledStep:c,children:m})]})]})}const te=r.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  margin-top: 84px;
@@ -75,7 +75,7 @@ import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R
75
75
  width: 198px;
76
76
  `,se=r.div`
77
77
  width: 100%;
78
- `;function ie({allSteps:e,completedSteps:i,halfCompletedSteps:o,errorSteps:l,currentStep:d,isDisabled:n,onUpdateStep:h,setIsStepClicked:m,disabledSteps:u}){const p=N.getLocalizedStrings().customerOnboardingPage.steps;return s.jsx(te,{children:e.map(a=>s.jsx(se,{children:s.jsx(ee,{isActive:a===d,isCompleted:i.includes(a),isHalfCompleted:o.includes(a),isError:l.includes(a),isDisabled:n,onboardingStep:a,stepText:p[a].stepText,stepSubText:p[a].stepSubText,onUpdateStep:h,setIsStepClicked:m,disabledSteps:u})},a))})}const oe=r.div`
78
+ `;function ie({allSteps:e,completedSteps:i,halfCompletedSteps:o,errorSteps:d,currentStep:l,isDisabled:n,onUpdateStep:h,setIsStepClicked:m,disabledSteps:u}){const p=N.getLocalizedStrings().customerOnboardingPage.steps;return s.jsx(te,{children:e.map(a=>s.jsx(se,{children:s.jsx(ee,{isActive:a===l,isCompleted:i.includes(a),isHalfCompleted:o.includes(a),isError:d.includes(a),isDisabled:n,onboardingStep:a,stepText:p[a].stepText,stepSubText:p[a].stepSubText,onUpdateStep:h,setIsStepClicked:m,disabledSteps:u})},a))})}const oe=r.div`
79
79
  display: flex;
80
80
  flex: 1 1 auto;
81
81
  margin-top: 84px;
@@ -89,7 +89,7 @@ import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R
89
89
  width: 100%;
90
90
  display: flex;
91
91
  box-sizing: border-box;
92
- `,le=()=>{const e=f();return s.jsx(oe,{children:[...Array(2)].map((i,o)=>s.jsx(re,{children:s.jsx(b,{width:198,height:89,backgroundColor:e.colors.grey3,style:{borderRadius:t.sp2}})},o))})},x=240,de=r.div`
92
+ `,de=()=>{const e=f();return s.jsx(oe,{children:[...Array(2)].map((i,o)=>s.jsx(re,{children:s.jsx(b,{width:198,height:89,backgroundColor:e.colors.grey3,style:{borderRadius:t.sp2}})},o))})},x=240,le=r.div`
93
93
  display: flex;
94
94
  flex: 1 1 auto;
95
95
  flex-direction: column;
@@ -115,7 +115,7 @@ import{V as s,ac as v,bp as E,y as f,J as I,bR as b,o as t,u as T,x as $,ah as R
115
115
  color: ${e=>e.theme.colors.primary};
116
116
  cursor: pointer;
117
117
  flex-shrink: 0;
118
- `,be=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:u,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:j,handleCockpitClick:A,setIsStepClicked:D}=e,H=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",z=[];return s.jsxs(de,{children:[s.jsx(ae,{"data-testid":v("zeni-logo-customer-onboarding-drawer"),onClick:c}),H?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:z,completedSteps:l,halfCompletedSteps:d,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:D}),s.jsx(ne,{children:s.jsx(E,{signedInUser:m,currentTenant:u,onLogOutClick:j,onCockpitClick:A})})]})},y={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
118
+ `,be=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,signedInUser:m,currentTenant:u,fetchStatus:p,onUpdateStep:a,onZeniLogoClick:c,handleLogOutClick:j,handleCockpitClick:A,setIsStepClicked:D}=e,H=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",z=[];return s.jsxs(le,{children:[s.jsx(ae,{"data-testid":v("zeni-logo-customer-onboarding-drawer"),onClick:c}),H?s.jsx(de,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:z,completedSteps:d,halfCompletedSteps:l,errorSteps:n,currentStep:h,onUpdateStep:a,setIsStepClicked:D}),s.jsx(ne,{children:s.jsx(E,{signedInUser:m,currentTenant:u,onLogOutClick:j,onCockpitClick:A})})]})},y={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
119
119
  display: flex;
120
120
  flex-direction: column;
121
121
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{a9 as se,V as o,fC as Ce,J as be,y as Pe,aa as we,aS as xe,cI as ke,bE as Ie,o as i,ac as Ae,ae as Ve,aT as $e,bp as ve,hV as Oe,b as Te,f2 as je,f3 as oe,ah as Le,x as Z,an as Ee,u as A}from"./index-CZZQCAd2.js";import{n as l}from"./mui-1V4DDk1u.js";import{a as V}from"./sentry-KKNtqb_g.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./commonTypes-DXJEXDhr-CsYzRDog.js";import"./SetUpAccountSection-Tadm9fSr-BLYLZVyR.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]="cc592867-4e0e-499a-9bcf-1cc9b2dd2895",e._sentryDebugIdIdentifier="sentry-dbid-cc592867-4e0e-499a-9bcf-1cc9b2dd2895")}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])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:v,googleAPIKey:O,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,J=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:$(e),values:$(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:ce,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:le,common:f}=De,{footer:ue,steps:pe}=le,{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:c}=a[n].street,C=je(c?.country);d={street:a[n].street??f.strings.empty,city:c?.locality??f.strings.empty,state:c?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:c?.countryCode??f.strings.empty,postalCode:c?.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)}};V.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset($(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(c=>c.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,c=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!c&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset($(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=V.useState(!1);return o.jsxs(Ke,{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(Ve,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(We,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx($e,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(ve,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label: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(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:v,isCardPaymentOpen:ce.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=l.div`
1
+ import{a9 as se,V as o,fC as Ce,J as be,y as Pe,aa as we,aS as xe,cI as ke,bE as Ie,o as i,ac as Ae,ae as Ve,aT as ve,bp as $e,hV as Oe,b as Te,f2 as je,f3 as oe,ah as Le,x as Z,an as Ee,u as A}from"./index-CGTxoCJp.js";import{n as l}from"./mui-CD7xFf2d.js";import{a as V}from"./sentry-CuNQ_GI9.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./commonTypes-B6f3YP8V-CbYlRzb2.js";import"./SetUpAccountSection-6NXF_yfU-BamPpzSM.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]="76a4ccc5-c41d-4d8f-8b1c-b4bf7e63abf7",e._sentryDebugIdIdentifier="sentry-dbid-76a4ccc5-c41d-4d8f-8b1c-b4bf7e63abf7")}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])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:$,googleAPIKey:O,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,J=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:ce,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:le,common:f}=De,{footer:ue,steps:pe}=le,{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:c}=a[n].street,C=je(c?.country);d={street:a[n].street??f.strings.empty,city:c?.locality??f.strings.empty,state:c?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:c?.countryCode??f.strings.empty,postalCode:c?.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)}};V.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(c=>c.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,c=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!c&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};V.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=V.useState(!1);return o.jsxs(Ke,{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(Ve,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(We,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx($e,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label: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(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:$,isCardPaymentOpen:ce.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -58,7 +58,7 @@ import{a9 as se,V as o,fC as Ce,J as be,y as Pe,aa as we,aS as xe,cI as ke,bE as
58
58
  padding-bottom: ${e=>Q.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,$=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:v,currentTenant:O,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:E,onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:B,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:O,onUpdateStep:J=>{E(J)},onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Ze,{isOnAddressPage:b,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:B,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Ze=l.div`
61
+ `,v=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ut=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:$,currentTenant:O,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:E,onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:B,updateCardPaymentModalState:D,resetCardPaymentViewState:m,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=se(),{analytics:G}=N,H={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:$,currentTenant:O,onUpdateStep:J=>{E(J)},onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:_,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Ze,{isOnAddressPage:b,children:[x?o.jsx(ze,{isNoStepsPage:!0}):o.jsx(Fe,{...H,onboardingCustomerView:u,handleCreateCardSetupIntent:z,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:B,cardPaymentView:p,resetCardPaymentViewState:m,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Ze=l.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,8 +1,8 @@
1
- import{V as l,fC as tn,J as Ye,y as nn,aa as an,cI as me,aS as He,D as yt,aG as Qe,bE as on,o as re,ae as sn,u as M,aT as rn,hV as ln,gg as cn,fD as ft,f2 as Pt,b as Ke,f3 as gt,x as ye,gj as fe,cM as dn,an as pn,hW as ht,af as St,cW as un,gi as mn}from"./index-CZZQCAd2.js";import{a as m}from"./sentry-KKNtqb_g.js";import{n as O,k as wt}from"./mui-1V4DDk1u.js";import{bi as j,G6 as yn,G7 as fn}from"./zeni-epic-state-BIDncbwZ.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-BxcbL0xy-CPql_B00.js";import{t as bn}from"./QBOSetupSection-DqsDS8kk-DVOL9KAa.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./commonTypes-DXJEXDhr-CsYzRDog.js";import"./SetUpAccountSection-Tadm9fSr-BLYLZVyR.js";import"./helper-BBJS-iD4-DcHpxRaM.js";import"./LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js";import"./LabeledCountryMultiSelectField-BQNPVmeO-w6euYfRf.js";import"./LabeledCreatableSingleSelectField-BaooQYnP-CHclcBym.js";import"./LabeledDocumentField-13QPp-85-BBjOcC33.js";import"./QBOConnectionDialog-CdkgNo4F-DpPxxrHx.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]="291b8092-c75f-4c05-aa23-38ff517b8574",n._sentryDebugIdIdentifier="sentry-dbid-291b8092-c75f-4c05-aa23-38ff517b8574")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,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,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
1
+ import{V as l,fC as tn,J as Ye,y as nn,aa as an,cI as me,aS as He,D as ft,aG as Qe,bE as on,o as re,ae as sn,u as M,aT as rn,hV as ln,gg as cn,fD as yt,f2 as Pt,b as Ke,f3 as gt,x as fe,gj as ye,cM as dn,an as pn,hW as ht,af as St,cW as un,gi as mn}from"./index-CGTxoCJp.js";import{a as m}from"./sentry-CuNQ_GI9.js";import{n as O,k as wt}from"./mui-CD7xFf2d.js";import{bi as j,G6 as fn,G7 as yn}from"./zeni-epic-state-BJYsNVul.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js";import{t as bn}from"./QBOSetupSection-DWIulUc2-DlIiV7jG.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./commonTypes-B6f3YP8V-CbYlRzb2.js";import"./SetUpAccountSection-6NXF_yfU-BamPpzSM.js";import"./helper-C1Mwnd6M-CNavDJqc.js";import"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.js";import"./LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js";import"./LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js";import"./LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js";import"./QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.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]="49c6f7fd-bfdb-4fe8-a764-78333cfae186",n._sentryDebugIdIdentifier="sentry-dbid-49c6f7fd-bfdb-4fe8-a764-78333cfae186")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const y=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,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
- `,Pn=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:P,isDisabled:h,style:w,onCompanyAddressClick:f,onRegisteredAddressClick:A})=>{const c=Ye(),{company_details:v}=Ke.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=v;return l.jsx(wn,{children:l.jsx(Sn,{fileProps:C,companyDetails:i,sectionId:_,isDisabled:h,style:w,sectionHeader:D,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:P,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:f,onRegisteredAddressClick:A})})},wn=O.div`
5
+ `,Pn=({allNationalityCountries:n,fileProps:C,companyDetails:i,companyIndustries:g,sectionId:_,isCompleted:P,isDisabled:h,style:w,onCompanyAddressClick:y,onRegisteredAddressClick:A})=>{const c=Ye(),{company_details:v}=Ke.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=v;return l.jsx(wn,{children:l.jsx(Sn,{fileProps:C,companyDetails:i,sectionId:_,isDisabled:h,style:w,sectionHeader:D,productType:"onboarding",showInfoTooltip:c!=="small",showCompletedIcon:c==="small",isCompleted:P,allIndustries:g,allNationalityCountries:n,optionalFields:["companyLegalName","companyDescription","companyAddress","companyIndustry","typeOfIncorporation","stateOfIncorporation","countriesOfOperations","incDate","certificateOfIncorporation","ein","companyPhone","primaryContactName"],onCompanyAddressClick:y,onRegisteredAddressClick:A})})},wn=O.div`
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
@@ -10,7 +10,7 @@ import{V as l,fC as tn,J as Ye,y as nn,aa as an,cI as me,aS as He,D as yt,aG as
10
10
  display: flex;
11
11
  `,kn=O.input`
12
12
  display: none;
13
- `,_n=({isValid:n,sectionId:C="onboardingQboConnection",...i})=>{const{register:g}=dn();return l.jsxs(xn,{children:[l.jsx(kn,{type:"hidden",...g(`${C}.connected`,{validate:_=>_==="true"}),value:n?"true":"false"}),l.jsx(bn,{isValid:n,...i})]})},B="companyDetails",b="companyOfficer",Z="onboardingPaymentAccountSetupSection",Ot="customerOnboardingDetailPage",y="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new ye(343,580,726,826),topNavBarHeight:new ye(52,52,63),topNavBarLeftRightSpace:new ye(M[5],M[9],112),subTitlePaddingTop:new ye(M[3],M[3]),subTitlePaddingBottom:new ye(M[3],M[3])},Nn=n=>`${n}_form`,le=Ke.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:P,analytics:h,cardPaymentView:w,stripeKey:f,googleAPIKey:A,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Ye(),De=m.useRef(null),Ve=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:Oe,onCompanyOfficerUpdated:V,onFetchLinkTokenClick:Pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:W,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Dt}=ve,Vt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Me(g,g.allNationalityCountries),values:Me(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),H=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=H();T?.(e)},[H,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=H();T?.(u)})});return()=>e.unsubscribe()},[s,H,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:G}=g,xe=m.useRef(""),$t=e=>{xe.current=e;const t=Object.values(g.companyOfficerLocalData).findIndex(r=>r?.isSelectedForVerification===!0)??0,a=t<0?0:t;s.clearErrors(`${b}.${a}.phone`)},tt=e=>{e!=null&&!fe(e)?s.trigger(`${b}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${J<0?1:J+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=He(x.fetchState),L=He(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=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=He(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))Oe?.(t[B]);else if(e.includes(b))V?.(t[b]);else if(e.includes(y)&&t[y]!=null){const a=s.getValues(`${y}`).country;let r=t[y];if(e.includes(`${y}.street`)&&t[y].street!=null){const{addressValue:u}=t[y].street,k=Pt(u?.country);r={street:t[y].street??p.strings.empty,city:u?.locality??p.strings.empty,state:u?.administrativeAreaLevel1??p.strings.empty,country:k,countryCode:u?.countryCode??p.strings.empty,postalCode:u?.postalCode??p.strings.empty,secondaryInfo:t[y].secondaryInfo,suite:t[y].suite},a.selectedOption!==k.selectedOption&&(r={...r,country:k})}else e===`${y}.country`&&a.selectedOption!=null?r={...r,countryCode:gt(a.selectedOption)}:a.selectedOption!=null&&e.includes(`${y}.street`)===!1&&(r={...r,countryCode:gt(a.selectedOption)});Dt(r)}};m.useEffect(()=>{const e=s.watch((t,{name:a})=>{a!=null&&t!=null&&me(()=>Ut(a,t))});return()=>{e.unsubscribe()}}),m.useEffect(()=>{ie==="In-Progress"&&x.fetchState==="Completed"&&(s.reset(Me(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),W(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,W]),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),Wt=!Qe(at!=null?j(at):null,ke!=null?j(ke):null),Ht=!Qe(ot!=null?j(ot):null,ze!=null?j(ze):null),Qt=s.getFieldState(B).isDirty||Wt||Ht||At,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${y}`).isDirty,_e=d?.primaryContactLocalData,Mt=()=>{W(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=H();T?.(e),rt()&&dt?(Yt(),$e($,!1,!0),K({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):W(o,"next",!0)},200):W(o,"next",!0);break;case"qbo_connection":W(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=H();T?.(t)}),e.needsOtp&&e.phoneNumber&&fe(e.phoneNumber)){const t=s.formState.errors[b]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),K({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else W(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=H();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Qt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=H();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?Gt():W(o,"next",!0);break}},Gt=()=>{x.fetchState!=="In-Progress"&&(Te(),h.track(yt.Event.onboardingSkipAndSave))},pt=()=>{const e=E[$],t=e?.email??p.strings.empty,a=e?.phone??p.strings.empty,r=e?.ssn??p.strings.empty,u=e?.ownershipInCompany,k=J<0?0:J,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&fe(a)===!0&&P==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&fe(t)===!1&&(s.trigger(`${B}.companyPhone`,{shouldFocus:o==="company_details"}),u=!1),(!r||St.test(r)===!1)&&(s.trigger(`${B}.primaryContactEmail`,{shouldFocus:o==="company_details"}),u=!1),a&&un.test(a)===!1&&(s.trigger(`${B}.companyTaxId`,{shouldFocus:o==="company_details"}),u=!1),u},ut=()=>{const e=E[$];return{email:e?.email??p.strings.empty,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?j(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification}},Xt=()=>{const e=d?.primaryContactLocalData;h.trackBusinessVerificationSave(ut(),{companyDescription:d?.companyDescription,legalName:d?.companyLegalName,phone:d?.phone,website:d?.website?.toString(),industry:d?.companyIndustry??p.strings.empty,formattedAddress:d?.addressStatus?.addressToCreate!=null?j(d?.addressStatus?.addressToCreate):void 0},{firstName:e?.firstName,lastName:e?.lastName,email:e?.email},"onboarding")},[We,Zt]=m.useState(!1);return l.jsxs(An,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx($n,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx(Fn,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Ot),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:D,cardSetupInProgress:We,subscriptionBillingAddressSectionId:y});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:y,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:D,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:We,googleAPIKey:A,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:vt}),a=Ve;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=l.jsx(Pn,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=Y;break}return l.jsxs(Ln,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?M[6]:M[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Ot}`,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:Mt,label:st.back,isDisabled:x.fetchState==="In-Progress"||S.indexOf(o)===0},containerStyle:{width:"auto",justifyContent:"center"},showCancel:!0})]}),l.jsx(gn,{handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleCreateCardSetupIntent:c,handleAddCardPaymentSource:I,cardPaymentView:w,stripeKey:f,isCardPaymentOpen:Be.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:Ne,cardSetupInProgress:We,setCardSetupInProgress:Zt})]})},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",Ot="customerOnboardingDetailPage",f="onboardingSubscriptionBillingAddress",ge="onboardingQboConnection",he={titleWidth:new fe(343,580,726,826),topNavBarHeight:new fe(52,52,63),topNavBarLeftRightSpace:new fe(M[5],M[9],112),subTitlePaddingTop:new fe(M[3],M[3]),subTitlePaddingBottom:new fe(M[3],M[3])},Nn=n=>`${n}_form`,le=Ke.getLocalizedStrings(),vn=({fileProps:n,isRefreshingViewInBackground:C,isAdmin:i,onboardingCustomerView:g,companyTitles:_,connectedAccountProvider:P,analytics:h,cardPaymentView:w,stripeKey:y,googleAPIKey:A,handleCreateCardSetupIntent:c,handleConfirmCardSetupIntent:v,updateCardPaymentModalState:D,handleAddCardPaymentSource:I,resetCardPaymentViewState:ee,handleResetCardPaymentErrorStatuses:Ne,redirectToProductSuitePage:Se,onFormErrorsChange:T,...ve})=>{const R=Ye(),De=m.useRef(null),Ve=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:Oe,onCompanyOfficerUpdated:V,onFetchLinkTokenClick:Pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionClick:pe,onEstablishConnectionSuccess:oe,onDeleteFile:N,onEditFileName:Ge,updateFilesEntity:Je,onGetOtp:xt,onSkipSetupClick:Te,onUpdateCustomerView:$e,updateStepHandler:W,onVerifyOtp:kt,onResendOtp:_t,handleOnConnectClick:Nt,updateQBOPopupState:vt,onUpdateStep:Fe,onAddressEditHandler:Dt}=ve,Vt=nn(),s=an({mode:"onSubmit",reValidateMode:"onChange",defaultValues:Me(g,g.allNationalityCountries),values:Me(g,g.allNationalityCountries),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),H=m.useCallback(()=>{const e=[];return(s.getFieldState(Z).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=H();T?.(e)},[H,T]),m.useEffect(()=>{const e=s.watch((t,{name:a,type:r})=>{a!=null&&(r==="change"||r==="blur")&&me(()=>{const u=H();T?.(u)})});return()=>e.unsubscribe()},[s,H,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: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}.${J}.phone`):xt(e)},J=Object.values(E).findIndex(e=>e?.isSelectedForVerification===!0)??0,$=`Officer_${J<0?1:J+1}`,Ft=se?.companyOfficers.slice(0,10).sort((e,t)=>e.user.createTime?.isAfter(t.user.createTime)===!0?1:-1),Re=E[$]?.userId!=null?Ft?.find(e=>e.user.userId===E[$]?.userId)?.address:null,nt=E[$]?.addressStatus?.addressToCreate,ke=se?.companyAddress,at=d?.addressStatus?.addressToCreate,ze=se?.registeredAddress,ot=d?.registeredAddressStatus?.addressToCreate,{customerOnboardingPage:Et,common:p}=le,{footer:Lt,steps:jt}=Et,{buttons:st}=Lt,it=jt[o],Ue=S.length,ie=He(x.fetchState),L=He(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(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=He(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))Oe?.(t[B]);else if(e.includes(b))V?.(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=Pt(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(Me(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"&&(K(null),W(te.fromStep,te.stepDirection,!0))},[te,ie,x.fetchState,W]),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),Wt=!Qe(at!=null?j(at):null,ke!=null?j(ke):null),Ht=!Qe(ot!=null?j(ot):null,ze!=null?j(ze):null),Qt=s.getFieldState(B).isDirty||Wt||Ht||At,qe=s.getFieldState(b).isDirty&&ct()||qt||Tt,dt=s.getFieldState(`${f}`).isDirty,_e=d?.primaryContactLocalData,Mt=()=>{W(o,"previous",!0)},Yt=()=>{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)},Kt=()=>{switch(Ie(!1),o){case"link_payment_account":dt?setTimeout(()=>{const e=H();T?.(e),rt()&&dt?(Yt(),$e($,!1,!0),K({fromStep:o,shouldNavigate:!0,stepDirection:"next"})):W(o,"next",!0)},200):W(o,"next",!0);break;case"qbo_connection":W(o,"next",!0);break;case"company_officer":if(qe){const e=pt();if(me(()=>{const t=H();T?.(t)}),e.needsOtp&&e.phoneNumber&&ye(e.phoneNumber)){const t=s.formState.errors[b]?.[J<0?0:J],a=t?.phone,r=t!=null&&Object.keys(t).some(u=>u!=="phone"&&t[u]!=null);if(a!=null&&!r){Xe(e.phoneNumber);return}}e.isValid&&($e($,!1,!1),h.trackOnboardingCompanyOfficerSave(ut(),{legalName:d?.companyLegalName},zt()),K({fromStep:o,shouldNavigate:!0,stepDirection:"next"}))}else W(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(`${f}`)),t&&s.trigger(ge),me(()=>{const a=H();T?.(a)}),e?Fe("link_payment_account"):t&&Fe("qbo_connection");return}}if(Qt||qe||!_e?.email){const e=Jt(),t=qe?pt():{isValid:!0};me(()=>{const a=H();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?Gt():W(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=J<0?0:J,en=!!e?.firstName&&!!e?.lastName;let X=!0,mt=!1;return t&&!en&&(s.trigger([`${b}.${k}.name.firstName`,`${b}.${k}.name.lastName`],{shouldFocus:o==="company_officer"}),X=!1),(!t&&ct()||St.test(t)===!1)&&(s.trigger(`${b}.${k}.email`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!1&&(s.trigger(`${b}.${k}.phone`,{shouldFocus:o==="company_officer"}),X=!1),a&&ye(a)===!0&&P==="unit"&&(xe.current!==""&&a===xe.current||(mt=!0,s.setError(`${b}.${k}.phone`,{type:"custom",message:le.commonSetUp.businessVerification.phoneValidationError},{shouldFocus:o==="company_officer"}),X=!1)),u!=null&&u>100&&(s.trigger(`${b}.${k}.ownership`,{shouldFocus:o==="company_officer"}),X=!1),r&&mn.test(r)===!1&&(s.trigger(`${b}.${k}.ssn`,{shouldFocus:o==="company_officer"}),X=!1),{isValid:X,needsOtp:mt,phoneNumber:a}},Jt=()=>{const e=d?.website?.toString()??p.strings.empty,t=d?.phone??p.strings.empty,a=d?.taxIdOrEIN??p.strings.empty,r=d?.primaryContactLocalData?.email??p.strings.empty;let u=!0;return e&&ht.test(e)===!1&&(s.trigger(`${B}.companyWebsite`,{shouldFocus:o==="company_details"}),u=!1),ht.lastIndex=0,t&&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}},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")},[We,Zt]=m.useState(!1);return l.jsxs(An,{children:[l.jsxs(Tn,{windowSize:R,children:[S.indexOf(o)>=0?l.jsx(on,{title:it.sectionTitle,showBackButton:!1,backgroundColor:Vt.colors.grey4,style:{zIndex:4},showLeftSection:R!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:re.sp0,paddingBottom:re.sp0},source:"CustomerOnboardingDetailPage"}):l.jsx($n,{windowSize:R,children:l.jsx(En,{windowSize:R,children:l.jsx(Fn,{})})}),l.jsx(sn,{...s,children:l.jsx(jn,{id:Nn(Ot),children:S.map(e=>{let t;t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:je,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,cardPaymentView:w,resetCardPaymentViewState:ee,updateCardPaymentModalState:D,cardSetupInProgress:We,subscriptionBillingAddressSectionId:f});let a=De;switch(e){case"link_payment_account":t=l.jsx(Ct,{connectedAccountProvider:P,paymentAccount:Q,accountStatus:et,plaidConnectionDetails:je,subscriptionBillingAddressSectionId:f,sectionId:Z,hasError:s.getFieldState(Z).error!=null||ce&&!ue(),isValid:ue(),analytics:h,onFetchLinkTokenClick:Pe,onEstablishConnectionClick:pe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ae,onEstablishConnectionSuccess:oe,updateCardPaymentModalState:D,cardPaymentView:w,resetCardPaymentViewState:ee,cardSetupInProgress:We,googleAPIKey:A,subscriptionBillingAddress:G});break;case"qbo_connection":t=l.jsx(_n,{sectionId:ge,hasError:s.getFieldState(ge).error!=null,isAdmin:i,isValid:Le?.accounting[0]?.isValid??!1,companyName:se?.company.company.companyInfo.companyLegalName,saveConnectionState:Le?.saveConnectionState,isQBOPopupOpen:Be.isQBOPopupOpen,handleOnConnectClick:Nt,updateQBOPopupState:vt}),a=Ve;break;case"company_officer":t=l.jsx(In,{companyOfficerLocalData:E,allNationalityCountries:we,isCompleted:Ze.includes("company_officer"),companyView:se,sectionId:b,filesEndPoint:n.filesEndPoint,authParams:n.authParams,isRefreshingViewInBackground:C,companyTitles:_,isVerificationPopupOpen:F,setIsVerificationPopupOpen:be,onGetOtp:Xe,onVerifyOtp:kt,onResendOtp:_t,onOfficerAddressClick:r=>ne(r,Re?.addressId),updateFilesEntity:Je,onEditFileName:Ge,onDeleteFile:N,verifiedPhoneNumber:xe.current,onPhoneVerified:$t,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,triggerError:tt}),a=Ae;break;case"company_details":t=l.jsx(Pn,{fileProps:{...n,onEditFileName:Ge,onDeleteFile:N,updateFilesEntity:Je},allNationalityCountries:we,sectionId:B,companyIndustries:g.companyIndustries,companyDetails:d,isDisabled:x.fetchState==="In-Progress"?"readonly":void 0,isCompleted:Ze.includes("company_details"),onCompanyAddressClick:r=>{const u=se?.company.company.companyOnboardingInfo.subscriptionBillingAddressId;ke?.addressId==null&&u!=null?ne(r,u):ne(r,ke?.addressId)},onRegisteredAddressClick:r=>ne(r,ze?.addressId)}),a=Y;break}return l.jsxs(Ln,{ref:a,isVisible:o===e,includeAnimation:o==="link_payment_account"||o==="qbo_connection"?!Be.isQBOPopupOpen:o==="company_officer"?!F:!0,paddingBottom:e==="company_details"||e==="company_officer"?M[6]:M[0],stepAnimationDirection:U,children:[S.indexOf(o)>=0?l.jsx(Bn,{windowSize:R,children:it.sectionSubTitle}):null,t]},e)})})}),l.jsx(rn,{formId:`${Ot}`,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:Mt,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:Ne,cardSetupInProgress:We,setCardSetupInProgress:Zt})]})},Dn=wt`
14
14
  from {
15
15
  transform: translateY(100%);
16
16
  opacity: 0;
@@ -94,7 +94,7 @@ import{V as l,fC as tn,J as Ye,y as nn,aa as an,cI as me,aS as He,D as yt,aG as
94
94
  text-align: ${n=>n.windowSize==="small"?"initial":"center"};
95
95
  width: 100%;
96
96
  white-space: pre-line;
97
- `,Me=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,P=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:Pt(c?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:P.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:P,stripeKey:h,googleAPIKey:w,onUpdateStep:f,onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,...Ve}=n,{allSteps: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:P,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:V=>{f(V)},onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const V=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,V),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{Y.length!==F.current.length&&(F.current=Y)},[Y]);const ne=(V,Pe,de)=>{const ae=F.current.length,pe=F.current.indexOf(V);switch(Pe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingNext(V,N):I.trackOnboardingCurrentStep(N,V);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,f(N),de===!0?I.trackOnboardingBack(V,N):I.trackOnboardingCurrentStep(N,V);break}}},Oe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:P,children:P?l.jsx(bt,{...K}):l.jsxs(zn,{children:[l.jsx(bt,{...K}),Oe?l.jsx(hn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:f,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,onFormErrorsChange:te,...Ve}),Oe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Rn=O.div`
97
+ `,Me=(n,C)=>{const{companyDetailsLocalData:i,companyOfficerLocalData:g,companyView:_}=n,P=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(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,A)=>{const c=y,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:Pt(c?.nationalityCountryCode,C.map(D=>D.countryCode)),ssn:c?.ssn,role:{selectedOption:c?.titleAtCompany,allOptions:P.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&&A===0?!0:c?.isSelectedForVerification??!1,userVerificationStatus:c?.userVerificationStatus,syncToken:c?.syncToken,isPhoneVerified:c?.isPhoneVerified,otpChallenge:c?.otpChallenge}}),[Z]:{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:_,isOnAddressPage:P,stripeKey:h,googleAPIKey:w,onUpdateStep:y,onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,meetingUrl:D,analytics:I,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,handleFetchPaymentSources:Se,updateCardPaymentModalState:T,resetCardPaymentViewState:ve,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,...Ve}=n,{allSteps: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:P,completedSteps:Ae,halfCompletedSteps:Ce,errorSteps:Ie,currentStep:z,fetchStatus:U,signedInUser:g,currentTenant:_,onUpdateStep:V=>{y(V)},onZeniLogoClick:A,handleLogOutClick:c,handleCockpitClick:v,setIsStepClicked:ce};m.useEffect(()=>{if(q.current!==z){const V=q.current;be===!0&&(I?.trackOnboardingCurrentStep(z,V),ce(!1)),q.current=z}},[z,be,I]),m.useEffect(()=>{Y.length!==F.current.length&&(F.current=Y)},[Y]);const ne=(V,Pe,de)=>{const ae=F.current.length,pe=F.current.indexOf(V);switch(Pe){case"next":{const oe=(pe+1)%ae,N=F.current[oe];q.current=N,y(N),de===!0?I.trackOnboardingNext(V,N):I.trackOnboardingCurrentStep(N,V);break}case"previous":{const oe=(pe+ae-1)%ae,N=F.current[oe];q.current=N,y(N),de===!0?I.trackOnboardingBack(V,N):I.trackOnboardingCurrentStep(N,V);break}}},Oe=U.fetchState==="In-Progress"||U.fetchState==="Not-Started";return l.jsx(Rn,{isOnAddressPage:P,children:P?l.jsx(bt,{...K}):l.jsxs(zn,{children:[l.jsx(bt,{...K}),Oe?l.jsx(hn,{isNoStepsPage:!1}):l.jsx(vn,{onboardingCustomerView:C,analytics:I,updateStepHandler:ne,onUpdateStep:y,handleCreateCardSetupIntent:ee,handleConfirmCardSetupIntent:Ne,updateCardPaymentModalState:T,handleFetchPaymentSources:Se,cardPaymentView:i,resetCardPaymentViewState:ve,stripeKey:h,googleAPIKey:w,handleResetCardPaymentErrorStatuses:R,redirectToProductSuitePage:De,onFormErrorsChange:te,...Ve}),Oe?null:l.jsx(tn,{isFooterRendered:!0,meetingUrl:D,analytics:I,productType:"onboarding"})]})})},Rn=O.div`
98
98
  display: flex;
99
99
  flex-direction: column;
100
100
  width: ${n=>n.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{J as I,a9 as _,ay as F,y as M,V as e,bE as U,o as t,ac as b,bp as V,fC as W,b as A,an as H,ah as J,p as l,w as k,ai as N,h as R,e as Z,as as G,b1 as K}from"./index-CZZQCAd2.js";import{a as n}from"./sentry-KKNtqb_g.js";import{n as o}from"./mui-1V4DDk1u.js";import{GK as q}from"./zeni-epic-state-BIDncbwZ.js";import Q from"./ConfettiBurst-D44X4kyc-CoZYKMrw.js";import{T as X}from"./ProductsCarousel-DLd90FFJ-BgsIDisq.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="9085746b-0a20-4996-9a41-83fe3c3c9c5e",i._sentryDebugIdIdentifier="sentry-dbid-9085746b-0a20-4996-9a41-83fe3c3c9c5e")}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(),Fe=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=I(),f=_().analytics,w=F(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,O=M(),{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]},D=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(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(V,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(W,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
1
+ import{J as _,a9 as F,ay as I,y as M,V as e,bE as U,o as t,ac as k,bp as V,fC as W,b as A,an as H,ah as J,p as l,w as C,ai as N,h as R,e as Z,as as G,b1 as K}from"./index-CGTxoCJp.js";import{a as n}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{GK as q}from"./zeni-epic-state-BJYsNVul.js";import Q from"./ConfettiBurst-DgE_527a-D7rXkSFC.js";import{T as X}from"./ProductsCarousel-CYHholgU-BXEP4AT5.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="dfe9d415-fc25-4901-9d5c-c06004e8cf75",i._sentryDebugIdIdentifier="sentry-dbid-dfe9d415-fc25-4901-9d5c-c06004e8cf75")}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(),Ie=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=_(),x=F().analytics,w=I(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,O=M(),{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]},D=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>D(a),children:[e.jsx(ke,{}),e.jsx(be,{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(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{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:S,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;
@@ -75,7 +75,7 @@ import{J as I,a9 as _,ay as F,y as M,V as e,bE as U,o as t,ac as b,bp as V,fC as
75
75
  justify-content: center;
76
76
  width: 100%;
77
77
  height: 100%;
78
- `,C=o.div`
78
+ `,b=o.div`
79
79
  display: flex;
80
80
  align-items: flex-start;
81
81
  justify-content: center;
@@ -83,8 +83,8 @@ import{J as I,a9 as _,ay as F,y as M,V as e,bE as U,o as t,ac as b,bp as V,fC as
83
83
  display: flex;
84
84
  align-items: center;
85
85
  justify-content: center;
86
- width: ${k.largeRegular.lineHeight};
87
- height: ${k.largeRegular.lineHeight};
86
+ width: ${C.largeRegular.lineHeight};
87
+ height: ${C.largeRegular.lineHeight};
88
88
  border-radius: 50%;
89
89
  outline: 1px solid ${l.brandColorJadeDark};
90
90
  background-color: ${l.brandColorPearl};
@@ -150,13 +150,13 @@ import{J as I,a9 as _,ay as F,y as M,V as e,bE as U,o as t,ac as b,bp as V,fC 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};
@@ -173,11 +173,11 @@ import{J as I,a9 as _,ay as F,y as M,V as e,bE as U,o as t,ac as b,bp as V,fC as
173
173
  cursor: pointer;
174
174
  flex-shrink: 0;
175
175
  margin-left: -${t.sp5};
176
- `,be=o(Y)`
176
+ `,ke=o(Y)`
177
177
  width: ${t.sp4};
178
178
  min-width: ${t.sp4};
179
179
  height: ${t.sp4};
180
- `,ke=o.div`
180
+ `,Ce=o.div`
181
181
  display: flex;
182
182
  flex-direction: row;
183
183
  align-items: center;
@@ -194,9 +194,9 @@ import{J as I,a9 as _,ay as F,y as M,V as e,bE as U,o as t,ac as b,bp as V,fC as
194
194
  }
195
195
  }
196
196
  margin-right: ${t.sp2};
197
- `,Ce=o(H)`
197
+ `,be=o(H)`
198
198
  margin-left: ${t.sp2};
199
199
  `,je=o.div`
200
200
  width: 200px;
201
201
  height: ${t.sp4};
202
- `;export{Fe as CustomerOnboardingProductSuitePage,Fe as default};
202
+ `;export{Ie as CustomerOnboardingProductSuitePage,Ie as default};