@zeniai/web-cockpit-ui 1.15.19-qa → 1.15.20-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 (274) hide show
  1. package/dist/assets/{ACHDetailsPage-Bj4J02PO-5bQVeLTZ.js → ACHDetailsPage-NT6Enz2K-BFEAACm5.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-kqP-8GTq-C5zqFr_Q.js → AIPerformancePage-DGkOApsY-DosUzsUh.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Bl-lXVdR-IEIg0T6L.js → AccountInfoPage-zFNrlfdY-CaSempyt.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-BfoA1Gse-CjIP4Ajb.js → AccountInfoPageContent-Cc_ou_Ce-Cw17-IpX.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-CapmN1xL-Dn645V6y.js → AccountLockedInfoModal-CXu84Ky4-0OS0lGFZ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-y7iV6_PQ-fsG7lU7e.js → AccountReconDetailsDrawerPage-BecyMBvC-BlsPG8Gb.js} +3 -3
  7. package/dist/assets/{AccountRow-BNdGXZbT-Er5W8HNt.js → AccountRow-D9RFsvgP-CL6TykEf.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BxQc3Ksg-DZSwCIoI.js → AccountsPromoCardStack-69-pb14d-DC6JE7NT.js} +8 -8
  9. package/dist/assets/{AddAddressForCardDrawer-DAcT8-PD-jYlWAGap.js → AddAddressForCardDrawer-DLk1fTT7-C9wyxygo.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CY-2tfXj-RZn_83kH.js → AddToWalletPage-BY_IniJ7-Y2LBDzYE.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-DG-IzhqU-DIcJWrHJ.js → AgingReportsPage-BroFDSmq-CrlHHtRJ.js} +1 -1
  12. package/dist/assets/{AllUserItems-BLdx0SLb-Djqenjam.js → AllUserItems-v6JpT0CS-Dm0TbfDw.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-UhXmkAke-BMohrdFu.js → ApAgingDetailPage-BAIU_dPa-DcF9ZDOD.js} +5 -5
  14. package/dist/assets/{AppBasePage-BdqHkxAE-BKPDVP16.js → AppBasePage-D4hhPQP--Tg8_tlBp.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DLLABFVO-B4Gb2IdT.js → AppDrawerContent-BNHIYc2R-B3kbUXGA.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-2Xy362hA-CV4PTAjc.js → ApprovalRulesSettingsPage-Cmfja-jh-Gch7lnwP.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DUyxm4oV-Kin5PKbj.js → ArAgingChart-B-4CGh62-XpR5XtXN.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BtKh2Y7T-B8OjrDzg.js → ArAgingDetailPage-Dccqp1bb-DUA5VUQY.js} +4 -4
  19. package/dist/assets/{AttachmentView-gjYAbjdi-B5NfVW4t.js → AttachmentView-BFg-facO-CaH95CKg.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DQcfhQLN-B1I159-x.js → BankAccountSection-ClVZgEVM-BYvuLqED.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-XMpgCYBF-D_LpOiCY.js → BankAccountWarningSection-CgbmC-_k-DRjfmmhF.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Bi5QjRHp-CWKicHqa.js → BankConnectionsSettingsPage-CglsQLlv-BkMA4WY9.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CgEXd2T5-KSdeK2Va.js → BillDetailPage-D0LDeogI-B0GFLGjl.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CPKMjF0R-BUetF8W6.js → BillPayApprovalRuleDetailPage-BboDRhU8-CHHsqIzK.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CFJpmXE7-D6OhW1zd.js → BillPayApprovalRulesPage-k7yZT6Aa-Dmy-J3wx.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-nRHevclA-7ZGtQxPK.js → BillPayPromoPage-BRnUu-kE-qD9_C1aE.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-ynmgaK8Y-CORY4suE.js → BillPaySetUpPage-B8PBBo-b-CCrGF_RA.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BNEvt1HK-MPw_we_5.js → BillingSettingsPage-ow2vqc0J-BPnhAyIC.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D6tbE3BQ-Bx9Vx78q.js → BillsBulkReviewDrawerPage-CrlrKA86-CTNrdpPx.js} +1 -1
  30. package/dist/assets/{BoxItem-BdgRTwgI-DoT4J95B.js → BoxItem-G87i4jj9-DJ_JzOgf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CU38xCol-Bn2eHWOj.js → BusinessVerificationPage-4fFmKc7t-CviKNENT.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-g2_GoH9f-DiToEVOL.js → CardNumberSubText-CtZArtEN-C5CUm4jT.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-SvujpPEs-CDMEUeDC.js → CashbackDetailPage-CfvxIALP-YVdLFEPO.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-oaVwvFKq-C2cEkUPw.js → ChargeCardDetailPage-BZ71Xjy0-Dr7BA2Y3.js} +26 -26
  35. package/dist/assets/{ChargeCardListPage-CGyxQ8Dx-CBZ97kKZ.js → ChargeCardListPage-DhpsoPyr-CQficcQE.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DKQnkAJ7-IgvFayNj.js → ChargeCardListTable-CX3OTq9R-DFN6XBHD.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-JxdV2F32-COvpL0UK.js → ChargeCardPaymentHistoryPage-C8A6B2vX-DBRPNkuj.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-BM7oOdWh-Cv83KpJa.js → ChargeCardPromoPage-CZthMv9O-DdJWmcwN.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-DqjFBKb_-Bw8Uyiv_.js → ChargeCardSetupPage-BAuI0rqI-Ct_o3o4L.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-DKicQRml-DkEWhu4y.js → ChargeCardStatementsPage-Dx8lKcHY-_MpRJ-V8.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BoMMC-PD-MwEdvxt0.js → CheckDepositDrawerPage-W5m8Sw63-Bc1AhysG.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CvAF66CY-CXkB4BYQ.js → CollapsableReportTable-DSbtzMAj-BNPGZhUx.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-ClnGjHwL-BuwPPb5G.js → CompanyOfficerDetailsSection-xhVDV0e_-DEf_Firo.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-De1ZqCMC-DIpTTQj9.js → CompanyPassportCard-DZxcLBPK-DrtLWy69.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-6281ivzv-C1npzaak.js → CompanyPassportPage-C4ETRbuP-CipEAdPV.js} +13 -13
  46. package/dist/assets/{CompleteProfile-C4YhvWhe-BGPioJRA.js → CompleteProfile-DxWzl2v_-CbMERFrJ.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CR98FGfH-5bJmFmHv.js → ConfettiBurst-iwBXc7h4-DqRUbadc.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-B52Kecnv.js → ConstrainedInnerElement-BeIpAPjB-DFqe1Ody.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Dfq0ydKc-D9FBZgAJ.js → CreateOrEditVendorPage-BqMLkILR-HOHmDZqL.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-D8Rs6j9F-Cp2TW8rU.js → CreditCardPaymentDrawerPage-CeysykKv-Cc468Xy8.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-dqih82Wa-n9112nND.js → CurrencySelectField-D3T5Kpep-C5BdxaCJ.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CPhBnk1y-BV7ak8uY.js → CustomerOnboardingActivationPage-IoLmmpzZ-Cn81rLeI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-W9rUXP8--BVBBW0hX.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D92o0cYb-CEZfYP62.js → CustomerOnboardingDetailPageSkeleton-CQ_jMnjx-DPLd4ivQ.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D-TyXZjQ-e32UrLvs.js → CustomerOnboardingNoStepsPage-9EVXNqI--PzWflH9h.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-D8s20fEH-DGEI9jfd.js → CustomerOnboardingPage-B66vhEZb-D7HPTDFT.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-B7v5nYAw-B73EIEqt.js → CustomerOnboardingProductSuitePage-C_gpLXB6-BoYezZa2.js} +9 -9
  58. package/dist/assets/{Dashboard-DLhx6D0s-CfOkjovb.js → Dashboard-YE9mF9nk-VMfoaBug.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-G-hbFFVd-eKEs3T3P.js → DashboardReportPage-DVB5rnu_-FOBpKxeo.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dhb4iV2T-HdhAaAGg.js → DashboardSidebarBackgroundAnimation-Dpqnzw8--XocrKeDA.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-6BPvYynA-BAoN274S.js → DepositAccTransactionItem-C15CMLyX-DMeXzVr4.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CYqVm1Rm-CZ7qEOqK.js → DepositAccTransactionListPage-BqWQ7Hs2-GqUsfhiu.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BOza2O-8-CkYl73ce.js → DomesticWireDetailsPage-D5Eeex8I-2tlxNeUv.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-cbNihDeI-CWW1V8Fm.js → DownloadOverlay-BDyXP4Jc-CuzjJPQn.js} +1 -1
  65. package/dist/assets/{DrawerPage-DhT58SBb-U_OZUaqD.js → DrawerPage-BfT7DpjC-B8oVqkwG.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BLNgVf-0-CS_yjigp.js → EditPeoplePage-DAJZWSBW-B5eie5iw.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DmApxq-q-CL9ZUxyd.js → EditReimbursementDetailPage-DjgB82b7-CC8cas6H.js} +1 -1
  68. package/dist/assets/EntityDetailPage-DxiU9_5p-BJ1ITQ_q.js +18 -0
  69. package/dist/assets/{EntitySummarySection-C82U-rtJ-CLXbwOFr.js → EntitySummarySection-BOXgFv27-DKuOq1RS.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Bgibjb2E-BrXiSVUS.js → ExpenseAutomationOverviewPage-CBH6RxR6-ca6D6gHD.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Be5-Yt8w-DJTe-iN8.js → ExpenseAutomationPage-ZcrtYJn8-DtxnBLVT.js} +1 -1
  72. package/dist/assets/{ExpressPayPage--mCSxEVH-CAOsgzYN.js → ExpressPayPage-BAkWRXjv-CGLCftHD.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CFVDZyby-C7y50bY9.js → FeaturePreviewPage-CiwptZF9-TCjWAgRd.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CVWuuidV-DuYwNg3j.js → FollowStepsSection-BM_fxalw-1p8dzh40.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-vkNEl7d8-CLg0RZ3E.js → GlobalReviewListPage-BsACt_VJ-CVzuhybj.js} +1 -1
  76. package/dist/assets/{InformationCardStack-LF_aKhhL-ByqoCmBT.js → InformationCardStack-BHE0IlOx-CJJlej3H.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BIcK-jeU-sQRlAmC0.js → InsightsCardStack-GJuFdS2m-D9NpL9wt.js} +2 -2
  78. package/dist/assets/{InsightsSection-CIpbIEbv-CXKtXxcq.js → InsightsSection-BxPB_NJF-D7HFTV9p.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-CjP_3pkI-PLnu82uT.js → IntegrationsSettingsPage-BQ8vCNaC-B7cP6IZ4.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage--xhtyYY7-DTuZgaJ3.js → InternationalWireSwiftDetailsPage-ChpsNwAV-Eet7AXz5.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-BpvZr-WI-CWDfpLWx.js → InternationalWireVerificationPage-6_EZwOrK-BJ2iAZe5.js} +1 -1
  82. package/dist/assets/{InviteFormPage-9NFX-MhQ-YfJU6s0W.js → InviteFormPage-Cm52PFv9-DRNfTdUu.js} +1 -1
  83. package/dist/assets/{InvitePageListView-B-cAYAEj-B5HeRpYl.js → InvitePageListView-QUZg8U6W-DzAfqMB3.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-_lENDcHE-DKccpE94.js → InvitePeoplePage-CF19kbHd-DQqJP-yV.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-Md8EHqPI-CXX_X8iC.js → InvoiceUploadSection-4uu3l-_9-CxlUEph1.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-DlBHg90l-B9JcphgO.js → IssueChargeCardPage-CykqTbZn-7nCw30B_.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-BRVf6Gy8-C-XtTcW7.js → LabeledAddressValue-BIa72RS0-BkLBulUT.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-Dm962nbv-BOwcKSVw.js → LabeledAddressValueField-B8vUdw5X-CDbumss_.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-AuHfNy1--DWGEcsrr.js → LabeledControlledCheckBoxField-DUkmWHyZ-D2AqhRim.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CZzPQt4P-Cw36ioKI.js → LabeledCreatableSingleSelectField-7qh_QQuc-BNteaTC5.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Cj3wNN-j-DJGYRs8N.js → LabeledDocumentField-wddWSnmD-LvMwzwRA.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-DKi8UjgP-OB7c9IT9.js → LabeledDropDownFormattedTextField-BrGwb_uK-BRXsgq-s.js} +1 -1
  93. package/dist/assets/{LabeledText-C-8itgDI-BAbxCJfJ.js → LabeledText-QOAkVa8J-DSSDVMXd.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CyEiLq7_-D9R8iyTE.js → LabeledUserSingleSelectWithSubtitlesField-DzN0zQ-n-Dm58NOUb.js} +3 -3
  95. package/dist/assets/{LabeledZeniRolesDropDownField-CoQcMW_--DmmEJP7I.js → LabeledZeniRolesDropDownField-Clh9Cjuk-CwnowspI.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-aTmlEn-Z-B0y8NGqt.js → LinkJETransactionPage-CwPv0nlT-BuUaF1zQ.js} +1 -1
  97. package/dist/assets/{LockCardPage-nJeB0vKv-C3oBQOpt.js → LockCardPage-CHh1vxsi-BCBXWEYk.js} +6 -6
  98. package/dist/assets/{LowBalancePopup-aFCQSDc_-BXgUP9qb.js → LowBalancePopup-CmlabBgd-HAAcIAfk.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-CqShsw_Q-CQLvpS1B.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dld6KNDY-CY3FmODl.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-tM0F2Ss6-CJrfT-sY.js +1 -0
  102. package/dist/assets/{MagicLinkSuccessPage-RxCflvAg-DffG8Rs_.js → MagicLinkSuccessPage-D0XJzDBe-FWa1vlXB.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CYaOQsiQ-CW0ARL7g.js → MagicLinkTitleSection-FdcDRHnN-CN2sc8vg.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-KUvjhmZC-DoiGHr2V.js → MailingDetailsSection-BcNpk0Ce-D2xEGQpy.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-SlfAD_ec-z7TeEZOF.js → MyBankConnectionsSettingsPage-Doi9tH5g-CtDAS2HS.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-BShzFR0m-D-1kMBzB.js → MyPendingActivationChargeCardListPage-BIapHyrw-BsKgOhK-.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-CzGU1Gx7-2EW8MhJi.js → MyProfileSettingsPage-B2PcUlKr-l2N1ioTO.js} +1 -1
  108. package/dist/assets/{NavBarWithPicker-NJ3tm2MI-yKglVIWG.js → NavBarWithPicker-47lGnOUJ-CvIv4Jtp.js} +1 -1
  109. package/dist/assets/{NavigationArrow-B145tYV_-acY_dLzm.js → NavigationArrow-Bc98mDow-BllcuW5O.js} +1 -1
  110. package/dist/assets/{NavigationDots-DaOFOsFA-CZ9NLt89.js → NavigationDots-B6QtTUea-NrUSmXgc.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-YTsNL6iu-Ded87fmb.js → NewGlobalMerchantPage-l7vvjRRM-nZxCHS27.js} +1 -1
  112. package/dist/assets/{NoDataChart-C7YUwwui-CX1xSHk3.js → NoDataChart-C-dDAIve-DUTyXvqs.js} +1 -1
  113. package/dist/assets/{NoDataTable-DolCx6QR-DbxRhQ4P.js → NoDataTable-DyEdbkM0-B5A6BGGn.js} +1 -1
  114. package/dist/assets/{NotFoundPage-BBnisozE-B6jPSXAV.js → NotFoundPage-CnaP1ABc-B75DHkxN.js} +4 -4
  115. package/dist/assets/{NotificationSettingsPage-DPg3FvvD-7TnktAEa.js → NotificationSettingsPage-ClE6Laa0-zUgqxUna.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-BkOX8iIv-CZGvbpSf.js → NotificationsListConfig-CbLnZa67-DUB7vpqM.js} +1 -1
  117. package/dist/assets/{NotificationsPage-BUhLO_r9-_a3Jfw-7.js → NotificationsPage-0kHd1Zz8-DcutPzRe.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CHY5zg69-DROFxHuS.js → OpExByVendorPage-OglN_NyF-CkDGZBsO.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BdcL3nS4.js → OverlayContainerPage-D4QU0p4o-CBtAcoXU.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-CeQr3WjJ-CIvhBp-o.js → PandLWithForecastPage-ChSngwUR-C1MQJhQs.js} +2 -2
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B6xSczs6-C5ilR7We.js → PaymentAccountSetupBillingAddressSection-BBcI6orE-DjXEkCuw.js} +1 -1
  122. package/dist/assets/{PeoplePage-fCF4vkUp-Dk5XV0UZ.js → PeoplePage-C65TAG6F-xV6gMmPM.js} +1 -1
  123. package/dist/assets/{Preview-DdGpXRcB.js → Preview-DoXXNXUO.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-rA-O8_7D-CHTHsFrv.js → ProductsCarousel-MWJmuQG1-DlT772qO.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-C37GX90J-BURsxOIg.js → PromoBaseCards-DG-4_luF-BJ1gMZoU.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-Dwog9AYZ-Dsd5As8K.js → QBOConnectionDialog-Ay4Pfbb9-Bb72NtKE.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-uV3w7rHW-WTbx1d6-.js → QBOSetupSection-C7bKopiw-DrpQB1LR.js} +3 -3
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-C510NusC-FjR-UqRb.js +32 -0
  129. package/dist/assets/{ReimbursementApprovalRulesPage-IGpmh9zA-CP-7P45H.js → ReimbursementApprovalRulesPage-CwmSBeim-B3AFHPfu.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-CnzK17M4-tLBpVpG4.js → ReimbursementDetailPage-D9ycauwA-CUwfcZuF.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-DSfL54Md-B19_3Fi5.js → ReimbursementPromoPage-Cg4eTjln-B_BSUbh2.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-BoTn3JKw-UDZfM1E_.js → ReimbursementSetUpPage-DfQHDiFr-Ber4hKRG.js} +5 -5
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DBc7LS-n-C6hEoccM.js → ReimbursementsBulkReviewDrawerPage-45yy6zu5-Dq06_x7t.js} +1 -1
  134. package/dist/assets/{ReloadCard-B5rmmfva-DqI42rd1.js → ReloadCard-By3AowEq-x562gX6W.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-0OEScWmm-Db01I5Ia.js → ReportTableViewSelector-C7jqqd0a-BBPHQp30.js} +26 -26
  136. package/dist/assets/{ReportsPage-BTkakKPX-BBpPwAtD.js → ReportsPage-E_2EHKAE-C8Ln5-KA.js} +1 -1
  137. package/dist/assets/{RevenueChart-Ba8ZLje8-CCNpfivj.js → RevenueChart-DK5_X8cX-CFe4Dnip.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-BQDrm2yR-Dmxv17uo.js → ReviewDetailsPage-CdG4Jkv2-XGKGSq3K.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-8tBBKn9R-DDscqGLO.js → ReviewOverlay-DFC79g0A-n-a_Q4hL.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-YZusZfiJ-Y7On6DHT.js → RoleWithToolTip-B0JWC_SV-CXgbdRFg.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BN9hFnGC-D6cKDMw2.js → ScheduleDetailsFixedAssetsPage-DMks3oWk-DGkrvK3-.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-DAr4tXe_-0wK5xHaK.js → ScheduleDetailsPage-DIjRnKIE-CFDh1Nql.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-DUfu-c6e-D0UXUw9v.js → ScheduleSequenceTable-BjPKuQfH-DD-mnEb5.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-DegllDrt.js → ScreenRoutes-BpALuK49.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-DqW4vmsx-CbQD91uP.js → SetUpAccountSection-CFVDUb2a-COF_GK-Y.js} +1 -1
  146. package/dist/assets/{SignIn-CCqNj3tG-DGClXSCH.js → SignIn-CGySLsg7-DOc2ezkS.js} +6 -6
  147. package/dist/assets/{SignInScreen-kCKCzAZl.js → SignInScreen-DR9HfecL.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-s4dPd5hE-DGFIomhx.js → SpendManagementListViewPage-dO6dKd5h-CJ1bhZ9x.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-NWc7uqw6-C30PV9Mi.js → SpendManagementPerTabPage-B39fFZko-BEVPOiP7.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-eYrLZK1E-CeI74JmT.js → SpendManagementSection-BiaaUF2E-yH0f2tK1.js} +1 -1
  151. package/dist/assets/StatementItem-DOPVBhGk-CYoCEo6a.js +31 -0
  152. package/dist/assets/{StatementsPage-C0wI_tRw-CIs4UekQ.js → StatementsPage-R0eHwHJ9-Cl59Sg99.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-DFluM61E-C_oGgir6.js → StatusSwitcher-DSYj3PS_-CAzhtczP.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-Cin8x7wg-C6dfLDyE.js → SubTabSwitcher-OqdKA7V1-DlEB8bkr.js} +1 -1
  155. package/dist/assets/{SummaryCard-Bcw6fQTD-De1Q7pOh.js → SummaryCard-DhRtJkhC-BhArQLhg.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-B9qW2lvP-BsO7Xkki.js → TaskManagementPage-BvGD5ccB-siLavhfb.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-u57rzf78-Cxjrr9VH.js → TimeRangeSwitcher-DDWfAebm-DQjeGwWr.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-ClE4GOKf-DlXQUzBt.js → TimeframeSwitcher-DNA6_eZb-C1spVBmO.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-COre57iX-fIr5NJWO.js → TimeframeSwitcherWithToggle-Bd5xmXK7-Bm0Sa4yg.js} +2 -2
  160. package/dist/assets/{TopExCard-DF3x7jLh-adV6z_sb.js → TopExCard-En4ylTQ3-CRpZgtTx.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-DmFsRNbY-5xgu1-_x.js → TopExDetailPage-Coive81d-CvqmO-2K.js} +6 -6
  162. package/dist/assets/{TransactionActivityLogPage-BJWKx4q0-BIHIekKU.js → TransactionActivityLogPage-WE28x9RN-BJcJOUa8.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-mtNlJQ2B-CL-YUF8i.js → TransactionDetailPage-BbqIgtCd-DiFMNiBg.js} +1 -1
  164. package/dist/assets/{TransactionList-CLb6vsAw-B4dsXaKw.js → TransactionList-CSBjcmxc-EtkATca3.js} +1 -1
  165. package/dist/assets/{TransactionListBig-BzBXZp6s-CY8oV57P.js → TransactionListBig-CI1FCFcx-DrdC9u_z.js} +4 -4
  166. package/dist/assets/{TransactionListPage-DoQrIKK0-Cy3_CMrL.js → TransactionListPage-CJcrJoU2-BQLZ1fl5.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-D-wSEk3k-Cx9Dgf5r.js → TransactionVendorDetailPage-CVWvfI3Q-DNCMY0hE.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-j8FDHpig-Dk-6O3eE.js → TransferDrawerPage-CZXa0mUe-BwYl6Xys.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-2U807bhy-npsOrqEU.js → TreasuryOverviewPage-C2u69t4N-DORj6VI0.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-BYXuV9oH-CFpHw-iR.js → TreasuryPromoPage-DrKVhiah-B771x0k3.js} +1 -1
  171. package/dist/assets/TreasuryStatementsPage-Cvg6I5NA-3DfYgqTM.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-BrBEeHG1-CpNgrmJX.js → TreasuryTaxLetterPage-JZLtzp98-zu6vU_D3.js} +2 -2
  173. package/dist/assets/{TrendChart-D0GWCIs5-BaUK0mmy.js → TrendChart-BxOwX5Tl-CLxo4QA6.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-DcCilwfx-Ph-o990t.js → TrendWithTransactions-D3y_WfC9-DTwRkgjx.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-D5oo8UHa-DUAXpb5R.js → UncategorizedAccountsMappingPage-BzZzsKfP-CKa7H3J0.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-BQp7NQLB-DsdV_oG1.js → UnitIntegrationPage-bFoq6Dzc-C9OTzoR8.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-DvAwuTYB-Da3Sxorn.js → UploadAdditionalDocumentOverlay-DHgW1eCQ-eDz3OZIL.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BVuTJ4jh-PFjgFjDb.js → Vendor2FAPopup-BNA5iCDk-DURrAQXU.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-DO9DY2FM-D5QMZmyt.js +1 -0
  180. package/dist/assets/{VendorDetailPage-BNr0Z5jN-C6L5nArY.js → VendorDetailPage-CUMB0ybc-Cz2stk3Z.js} +86 -86
  181. package/dist/assets/VendorDomesticWireDetailsPage-DAFX-_x0-dnuKk_FW.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-D2_NM9OH-BwvgrAC0.js → VendorFiling1099EditablePage-Dc5f2rQI-5zyTApsP.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-DxhhgmEm-D-s1WA1i.js → VendorFirstReviewPage-DJ2xe-qP-D-sxUwEs.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CUIOT8vU-BfhdFUn5.js → VendorInternationalWireDetailsPage-CA9piyEU-DHqdWGBP.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dq9K171L-DMrht_UW.js → VendorInternationalWireSwiftDetailsPage-BUBLa4v4-bSUc0oan.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-eef70mQn-DDcjHC_W.js → VendorsAccountsSection-CsgH89wG-DET-7-Fb.js} +1 -1
  187. package/dist/assets/{VerifyDevice-CMvsjley-Cy7ekRjJ.js → VerifyDevice-I0fcetOo-CAPq5qjt.js} +1 -1
  188. package/dist/assets/{VideoPlayer-DKSZUXeK-G-DVqLJ8.js → VideoPlayer-DJKEc9Gu-Cc5wpx11.js} +2 -2
  189. package/dist/assets/{VideoPopup-BG0G1trN-D7T8_Pf_.js → VideoPopup-DQ01Zj2Y-zyTi_sd6.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-g_KTQdH7-BKyfhwAU.js → WarningsDrawerPage-NqQ8xPhM-HeekJwAM.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-LkheAcW_-NndZJLXF.js → ZeniAccountDetailPage-B-Pet9D--Cimk8WQa.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-DVQHT8ma-CI_py4gJ.js → ZeniAccountListViewPage-CXvP0AhF-B_EmDoan.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-_Xr6q9sA-DDhqjUr7.js → ZeniAccountNavBarPieces-CseOYdtS-DLMIhkCm.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-C3LR6klI-BF-6T8Q6.js → ZeniAccountPromoPage-B7rXcypc-BO6-Rl5f.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-BtWnNkH7-DEBlNhU6.js → ZeniAccountSetupPage-CTRzzDrC-YkomMuQT.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-D36dbFYs-xb8aml_t.js → ZeniCopyright-bBciVtsI-DjjBYCfV.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-BYbDaVKJ-Cb4YqbaB.js → ZeniTransferAmountSlider-prBenc10-BnMP7OqZ.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DZHQ2GJs.js → add-to-wallet-DgdBD8_G-C_RtDila.js} +1 -1
  199. package/dist/assets/{analytics-CwsxjKn5.js → analytics-CzRVJ6MY.js} +1 -1
  200. package/dist/assets/{analyticsHelper-6iEbPbsu.js → analyticsHelper-CIcWitH5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-C4PZ1Adh-CH5jBJ37.js → analyticsHelper-bMQRPNSm-DckzEJTg.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-lp1GYKjJ.js → arrow-south-east-round-PEovUgvH-B-J6VULs.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-BgyZ4Mwm.js → auto-transfer-rule-mbafm5D3-irLOnk7B.js} +1 -1
  204. package/dist/assets/{chartTypes-Bf1-edD8-BBCxOnX-.js → chartTypes-B6Rsb0Zj-OBtFn3Lg.js} +1 -1
  205. package/dist/assets/{commonDimensions-B60Qkfnz-B_54f5Yz.js → commonDimensions-C6cMfD5y-ldvdnaDh.js} +1 -1
  206. package/dist/assets/{constants-DnCXmy9l.js → constants-Cvfi3rvc.js} +1 -1
  207. package/dist/assets/{core-Bicy8isU.js → core-ngENxsSR.js} +1 -1
  208. package/dist/assets/{dash.all.min-DvkW41v4.js → dash.all.min-C6R1sF3z.js} +1 -1
  209. package/dist/assets/{detailCommon-B4aI_98A-B-4Wmp4Z.js → detailCommon-DjIYoB2z-BtvDTiC9.js} +5 -5
  210. package/dist/assets/{downloadPdf-DVqVkV_p-BLg53H6Z.js → downloadPdf-D0z4UUom-u-PDbPBK.js} +1 -1
  211. package/dist/assets/{empty-Bgc1xSLA.js → empty-AgePHH9k.js} +1 -1
  212. package/dist/assets/{empty-CDOW32Ka.js → empty-l2WFMsmR.js} +1 -1
  213. package/dist/assets/{epic-6iGEU228.js → epic-bicvu32R.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-C9u-qVC8.js → gift-box-Cmt9OgIZ-DpDi_0xd.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Ue71iNme.js → graphic-no-data-l-DU4J8fDt-BuXYRb4U.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-MgxSSLSd.js → graphic-no-data-net-burn-l-CzmycA0m-ByqmOND0.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-CeRDoPq9.js → handshake-BPg58FML-3kNIzZCa.js} +1 -1
  218. package/dist/assets/{index-TyJdDaBU.js → index-BBFuqt84.js} +1 -1
  219. package/dist/assets/{index-Vf6xU9wg.js → index-DCZwBQKq.js} +1 -1
  220. package/dist/assets/{index-DicT0te1.js → index-DGlL4HjS.js} +1 -1
  221. package/dist/assets/{index-BJX6xSch.js → index-DJv_Rbuz.js} +7 -7
  222. package/dist/assets/{index-HVTAjkUK.js → index-Gn3bmjPa.js} +1 -1
  223. package/dist/assets/{index-Dx0repSC.js → index-Olo2pX0z.js} +1 -1
  224. package/dist/assets/{index-BmUOO3Ag.js → index-vWk_2SsD.js} +1 -1
  225. package/dist/assets/{lexical-BrOuRfla.js → lexical-B7Utywn0.js} +1 -1
  226. package/dist/assets/{liveblocks-C9oVfUgj.js → liveblocks-CCMpOb9V.js} +1 -1
  227. package/dist/assets/{lottie-CflL2Iap.js → lottie-BuGJfGlI.js} +1 -1
  228. package/dist/assets/{mapLoadingInProgressToTreeNode-DuPcSiT5-wvvyOxzL.js → mapLoadingInProgressToTreeNode-C1l0d99B-98tg8j4A.js} +1 -1
  229. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BHrFv_df-DKCLi29L.js +1 -0
  230. package/dist/assets/mapSpacerToTreeNode-BYWr2mnE-Cet1B3G8.js +1 -0
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-9dsEoKql-BSn2Kn5C.js → mapTimeframeBalancesToTreeNode-C7w_Pv68-CqQEodHU.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CUioWHuY-fSxUB0yV.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BMNyeJt9-q0Lh1BHn.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dt7Y9K0I-DMS8id7q.js} +1 -1
  234. package/dist/assets/{mui-Bx0ZSN8G.js → mui-vpVhZoFp.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-C4A3Ww3p.js → page-detail-CWX5S47F-BBqQ9hel.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-CI26Dg7x.js → panelSelectedMixin-CzfD5-Zs-D4PkbE95.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-BYJAnyna.js → radio-default-CiSgisfh-DiqpiNhm.js} +1 -1
  238. package/dist/assets/{react-D5A07FEZ.js → react-B0vTZ6LL.js} +1 -1
  239. package/dist/assets/{react-BG7bS9U5.js → react-B4FV8YGQ.js} +1 -1
  240. package/dist/assets/{react-CLnn1pju.js → react-B7-MyUGd.js} +1 -1
  241. package/dist/assets/{react-B0jD2Wxq.js → react-D-iCv7iD.js} +2 -2
  242. package/dist/assets/{react-ap60pWrZ.js → react-DfctpYqe.js} +1 -1
  243. package/dist/assets/{react-BzJB6lLk.js → react-Duxca6t4.js} +1 -1
  244. package/dist/assets/{react-Bh9_PAoD.js → react-Rd_Y3DMY.js} +1 -1
  245. package/dist/assets/{react-C9k5QsKr.js → react-vvBk2zvV.js} +1 -1
  246. package/dist/assets/{recharts-KaIzybkv.js → recharts-DVV1zL4K.js} +1 -1
  247. package/dist/assets/{sentry-Csr1LH3q.js → sentry-BAZEeDR7.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-a1d5jGFt.js → shield-DOlUxcFf-XcL46H7b.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-LVMDIpDR-LI6Qd7JP.js +1 -0
  250. package/dist/assets/{toChartData-CcG8i49E-AVGV3FG7.js → toChartData-BUT_vwbW-BbFVGs8l.js} +1 -1
  251. package/dist/assets/{uploadAttachment-B-y1--ww-Dzd5D1mo.js → uploadAttachment-B1aivsLg-CDTrk-3w.js} +1 -1
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-BCJzNJUL.js → uploadReceipts-Dge0cNF1-BGR9kJVp.js} +1 -1
  253. package/dist/assets/{url-GnyOgKen.js → url-B_JPZzNH.js} +1 -1
  254. package/dist/assets/{url-dEEA4PaA.js → url-CniQbZJn.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BiPwM_9y.js → useLongPress-GCK2COYQ-DmHXzxyt.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-Dp0DkidC.js → usp-line-BBd1wKwW-COokDSR0.js} +1 -1
  257. package/dist/assets/{utils-BWjQF7TZ.js → utils-Db3Jmqbx.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-BET3Hr2o.js → zeni-epic-state-p-hirlWD.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/CustomerOnboardingContainerPage-Dn7vOa-2-03HK_DtS.js +0 -1
  262. package/dist/assets/EntityDetailPage-CvgcTamk-C3MvjVDe.js +0 -18
  263. package/dist/assets/MagicLinkACHDetailsPage-CkEC7bfy-FfljbMRI.js +0 -1
  264. package/dist/assets/MagicLinkDomesticWireDetailsPage-DXqRDZvA-CzCAshO2.js +0 -1
  265. package/dist/assets/MagicLinkInternationalWireDetailsPage-CegOSNsV-QVO9JvfG.js +0 -1
  266. package/dist/assets/ReimbursementApprovalRuleDetailPage-CPZfTMx--C43EETXP.js +0 -32
  267. package/dist/assets/StatementItem-CKK9vnC7-CL5kzv2P.js +0 -31
  268. package/dist/assets/TreasuryStatementsPage-CeaExx3z-D9kx1ij_.js +0 -58
  269. package/dist/assets/VendorACHDetailsPage-DkXoubZC-DUH9JX4U.js +0 -1
  270. package/dist/assets/VendorDomesticWireDetailsPage-CaaOskIa-Cqlerukj.js +0 -1
  271. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BZsGUDKa-CzYAGIhQ.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-br_rslOm--fF6r-75.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-BpOPNyk--BfsZjet4.js +0 -1
  274. package/dist/assets/toCOABalancesWithID-DOquK-Sn-B8W_ovMr.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha,cG as fa,aR as xa,y as m,cH as ya,C as Ce,o as t,al as ee,cI as z,cJ as ze,cK as L,cL as ba,cM as qe,cN as ga,cO as $a,cP as Ue,aw as wa,cQ as Ia,cR as He,cS as Ge,cT as ja,cU as va,cV as Da,p as P,cW as Sa,cX as Oa,bs as Ca,aT as Fa,b9 as q,cY as Fe,u as p,ai as Ze,r as Me,cZ as ka,aD as Ta,c_ as Pa,c$ as Na,bH as La,d0 as za,ci as Ma,d1 as Ea,am as Va,bI as W,d2 as Ba,b as ce,bG as _a}from"./index-BJX6xSch.js";import{a as _,P as Wa}from"./sentry-Csr1LH3q.js";import{n as s,k as Ra}from"./mui-Bx0ZSN8G.js";import{Fk as Ya,bj as Je,bL as Aa,bh as be,bC as qa,Fl as Ua}from"./zeni-epic-state-BET3Hr2o.js";import{I as Xe}from"./LabeledCreatableSingleSelectField-CZzPQt4P-Cw36ioKI.js";import{Y as Qe}from"./LabeledDocumentField-Cj3wNN-j-DJGYRs8N.js";import{$ as Ke}from"./LabeledAddressValue-BRVf6Gy8-C-XtTcW7.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.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]="97a04024-e015-4fc0-a687-a341704678ea",e._sentryDebugIdIdentifier="sentry-dbid-97a04024-e015-4fc0-a687-a341704678ea")}catch{}})();const ea={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ha=Ra`
1
+ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha,cG as fa,aR as xa,y as m,cH as ba,C as Ce,o as t,al as ee,cI as z,cJ as ze,cK as L,cL as ya,cM as qe,cN as ga,cO as $a,cP as Ue,aw as wa,cQ as Ia,cR as He,cS as Ge,cT as ja,cU as va,cV as Da,p as P,cW as Sa,cX as Oa,bs as Ca,aT as Fa,b9 as q,cY as Fe,u as p,ai as Ze,r as Me,cZ as ka,aD as Ta,c_ as Pa,c$ as Na,bH as La,d0 as za,ci as Ma,d1 as Ea,am as Va,bI as W,d2 as Ba,b as ce,bG as _a}from"./index-DJv_Rbuz.js";import{a as _,P as Wa}from"./sentry-BAZEeDR7.js";import{n as s,k as Ra}from"./mui-vpVhZoFp.js";import{Fk as Ya,bj as Je,bL as Aa,bh as ye,bC as qa,Fl as Ua}from"./zeni-epic-state-p-hirlWD.js";import{I as Xe}from"./LabeledCreatableSingleSelectField-7qh_QQuc-BNteaTC5.js";import{Y as Qe}from"./LabeledDocumentField-wddWSnmD-LvMwzwRA.js";import{$ as Ke}from"./LabeledAddressValue-BIa72RS0-BkLBulUT.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="e6a7bd38-216b-4ba0-a2e8-3b8a989f2692",e._sentryDebugIdIdentifier="sentry-dbid-e6a7bd38-216b-4ba0-a2e8-3b8a989f2692")}catch{}})();const ea={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ha=Ra`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -47,7 +47,7 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
47
47
  &:hover {
48
48
  color: ${P.primaryDark};
49
49
  }
50
- `,tt=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function ot(e){const o=N(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ga,{windowSize:o,children:[c?a.jsx(Za,{}):a.jsx(Ja,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Xa,{children:a.jsx(Qa,{children:tt(l)})})]}),a.jsx(at,{onClick:i,children:a.jsx(Ce,{})})]})}const se={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function lt(e){const o=N(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:g,isDisabled:h,companyIncInfo:$,style:I}=e,S=se.labelWidth.value(o),j=se.largeLabelWidth.value(o),b=se.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(J=>J.documentType==="certificate_of_incorporation"),V=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,pe=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(it,{style:I,children:[a.jsx(nt,{children:n.companyIncInfo.title}),a.jsxs(st,{children:[a.jsx(Xe,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:ne(g,"typeOfInc"),placeholder:pe,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(ue,{}),a.jsx(ga,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:ne(g,"stateOfInc"),placeholder:V,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(ue,{}),a.jsx($a,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:S},style:{paddingBottom:se.paddingBottom.valuePx(o)},dateField:{name:ne(g,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:be(),minDate:Aa("01 Jan 1900"),autoComplete:"off"}}),a.jsx(ue,{}),a.jsx(Qe,{name:ne(g,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:b},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:J=>i(J)}),a.jsx(rt,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const ne=(e,o)=>`${e}.${o}`,it=s.div`
50
+ `,tt=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function ot(e){const o=N(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ga,{windowSize:o,children:[c?a.jsx(Za,{}):a.jsx(Ja,{}),a.jsxs(Ka,{windowSize:o,children:[a.jsx(et,{isSuccess:c,children:c?n.success:n.error}),a.jsx(Xa,{children:a.jsx(Qa,{children:tt(l)})})]}),a.jsx(at,{onClick:i,children:a.jsx(Ce,{})})]})}const se={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function lt(e){const o=N(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:b,sectionId:g,isDisabled:h,companyIncInfo:$,style:I}=e,S=se.labelWidth.value(o),j=se.largeLabelWidth.value(o),y=se.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(J=>J.documentType==="certificate_of_incorporation"),V=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,pe=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(it,{style:I,children:[a.jsx(nt,{children:n.companyIncInfo.title}),a.jsxs(st,{children:[a.jsx(Xe,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:ne(g,"typeOfInc"),placeholder:pe,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(ue,{}),a.jsx(ga,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:ne(g,"stateOfInc"),placeholder:V,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(ue,{}),a.jsx($a,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:S},style:{paddingBottom:se.paddingBottom.valuePx(o)},dateField:{name:ne(g,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:ye(),minDate:Aa("01 Jan 1900"),autoComplete:"off"}}),a.jsx(ue,{}),a.jsx(Qe,{name:ne(g,"certificateOfIncorporation"),isDisabled:h,sizeLimit:Ue,deleteFileStatusById:u,updateFileStatusById:b,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:y},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:J=>i(J)}),a.jsx(rt,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const ne=(e,o)=>`${e}.${o}`,it=s.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  padding-top: ${t.sp3};
@@ -112,19 +112,19 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
112
112
  border-bottom-left-radius: inherit;
113
113
  border-bottom-right-radius: inherit;
114
114
  }
115
- `,he={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ht({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=N(),u=e.company.company.companyInfo,y=he.labelWidth.value(r),g=he.mediumLabelWidth.value(r),h=he.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;return a.jsxs(xt,{style:d,children:[a.jsx(bt,{children:v.companyInfo.title}),a.jsxs(yt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:H(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:g},text:{type:"text",name:H(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:H(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(ba,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:H(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(S=>S.code)??[]}},isFunctional:!0}),a.jsx(A,{}),a.jsx(Xe,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:H(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(A,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(A,{}),a.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:H(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(de,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:ft(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const ft=e=>{const{fiscalYearMonths:o}=Ua(e);return`${be().month(o[0]-1).format(Ee.MMMFormat)} to ${be().month(o[11]-1).format(Ee.MMMFormat)}`},H=(e,o)=>`${e}.${o}`,xt=s.div`
115
+ `,he={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ht({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=N(),u=e.company.company.companyInfo,b=he.labelWidth.value(r),g=he.mediumLabelWidth.value(r),h=he.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;return a.jsxs(xt,{style:d,children:[a.jsx(yt,{children:v.companyInfo.title}),a.jsxs(bt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:H(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:g},text:{type:"text",name:H(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(A,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:b},text:{type:"url",name:H(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(ya,{label:{label:v.companyInfo.industry,width:b},singleSelectField:{singleSelect:{name:H(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(S=>S.code)??[]}},isFunctional:!0}),a.jsx(A,{}),a.jsx(Xe,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:H(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(A,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.address,width:b},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(A,{}),a.jsx(qe,{isDisabled:c,label:{label:v.companyInfo.phone,width:b},text:{name:H(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(A,{}),a.jsx(de,{label:{label:v.companyInfo.fiscalYear,width:b},bullettedLabels:{labels:[{text:ft(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const ft=e=>{const{fiscalYearMonths:o}=Ua(e);return`${ye().month(o[0]-1).format(Ee.MMMFormat)} to ${ye().month(o[11]-1).format(Ee.MMMFormat)}`},H=(e,o)=>`${e}.${o}`,xt=s.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${t.sp3};
119
119
  padding-bottom: ${t.sp9};
120
- `,yt=s.div`
120
+ `,bt=s.div`
121
121
  display: flex;
122
122
  flex-direction: column;
123
123
  background-color: ${e=>e.theme.colors.grey5};
124
124
  border: 1px solid ${e=>e.theme.colors.grey3};
125
125
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
126
126
  border-radius: ${t.sp2};
127
- `,bt=s(q)`
127
+ `,yt=s(q)`
128
128
  color: ${e=>e.theme.colors.champion};
129
129
  margin-bottom: ${t.sp3};
130
130
  `,A=s.div`
@@ -133,7 +133,7 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
133
133
  background-color: ${e=>e.theme.colors.grey3};
134
134
  min-height: 1px;
135
135
  max-height: 1px;
136
- `,ge={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function gt({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=N(),r=k.getLocalizedStrings().companyPassport,u=ge.labelWidth.value(d),y=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),g=i?.userId==null||i?.userId==="";return a.jsxs(vt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:fe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:y!==!0},showFullNameError:!0}}),a.jsx(xe,{}),a.jsx(z,{isDisabled:g?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:fe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:y===!0?!1:g},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(xe,{}),a.jsx(Ke,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(xe,{}),a.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:fe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function $t({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,y=e.length,g=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const b={userId:void 0,officerType:`Officer_${y+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,b])},I=b=>{if(e[b].localData==null||!e[b].localData?.firstName&&!e[b].localData?.lastName&&!e[b].localData?.phone&&!e[b].localData?.email&&!e[b].addressStatus?.addressToCreate){const O=h.filter((D,x)=>x!==d);c(o,O),r(-1)}else r(b)},S=()=>{r(-1)},j=()=>{const b=h.filter((O,D)=>D!==d);c(o,b),r(-1)};return a.jsxs(jt,{style:l,children:[a.jsx(Dt,{children:u.companyOfficer.title}),e.map((b,O)=>{const D=b.localData,x=b.addressStatus,V=D?.userId==null||D?.userId==="";return a.jsxs(St,{children:[(y>1||V)&&!g?a.jsx(wt,{curIndex:O,isNewUser:V,numberOfOfficers:y,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:S,onRemoveOfficerSection:j}):null,a.jsx(gt,{sectionId:`${o}.${O}`,officer:D,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:g,onOfficerAddressClick:n})]},D?.officerType)}),y<=9&&!g?a.jsx(It,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const wt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=N(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(Ot,{children:[a.jsx(Ct,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Nt,{children:a.jsxs(Lt,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:ge.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:ge.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Pt,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(ka,{width:p[3],height:p[3],color:P.important})}):null]})},It=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(Ft,{onClick:o,children:[a.jsx(kt,{}),a.jsx(Tt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},fe=(e,o)=>`${e}.${o}`,jt=s.div`
136
+ `,ge={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function gt({sectionId:e,isDisabled:o,style:l,officer:i,officerAddress:n,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:f}){const d=N(),r=k.getLocalizedStrings().companyPassport,u=ge.labelWidth.value(d),b=c&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!n),g=i?.userId==null||i?.userId==="";return a.jsxs(vt,{style:l,children:[a.jsx(He,{isDisabled:o,label:{label:r.companyOfficer.name,width:u},nameField:{name:fe(e,"name"),placeHolder:{firstName:r.companyOfficer.firstNamePlaceholder,lastName:r.companyOfficer.lastNamePlaceholder,name:r.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:b!==!0},showFullNameError:!0}}),a.jsx(xe,{}),a.jsx(z,{isDisabled:g?o:"readonly",label:{label:r.companyOfficer.email,width:u},text:{type:"email",name:fe(e,"email"),placeholder:L(r.companyOfficer.email),options:{required:b===!0?!1:g},defaultValue:i?.email,autoComplete:"new-password"}}),a.jsx(xe,{}),a.jsx(Ke,{isDisabled:o,label:{label:r.companyInfo.address,width:u},addressValue:{placeholder:L(r.companyOfficer.address),address:n?.addressToCreate,onClick:()=>{f(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),a.jsx(xe,{}),a.jsx(qe,{isDisabled:o,label:{label:r.companyOfficer.phone,width:u},text:{name:fe(e,"phone"),placeholder:L(r.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function $t({companyOfficers:e,sectionId:o,style:l,isDisabled:i,onOfficerAddressClick:n}){const{setValue:c,getValues:f}=Ge(),[d,r]=_.useState(-1),u=k.getLocalizedStrings().companyPassport,b=e.length,g=e.length===1&&e[0].localData?.userId==null,h=f(o),$=()=>{const y={userId:void 0,officerType:`Officer_${b+1}`,name:{firstName:"",lastName:""},email:"",phone:""};c(o,[...h,y])},I=y=>{if(e[y].localData==null||!e[y].localData?.firstName&&!e[y].localData?.lastName&&!e[y].localData?.phone&&!e[y].localData?.email&&!e[y].addressStatus?.addressToCreate){const O=h.filter((D,x)=>x!==d);c(o,O),r(-1)}else r(y)},S=()=>{r(-1)},j=()=>{const y=h.filter((O,D)=>D!==d);c(o,y),r(-1)};return a.jsxs(jt,{style:l,children:[a.jsx(Dt,{children:u.companyOfficer.title}),e.map((y,O)=>{const D=y.localData,x=y.addressStatus,V=D?.userId==null||D?.userId==="";return a.jsxs(St,{children:[(b>1||V)&&!g?a.jsx(wt,{curIndex:O,isNewUser:V,numberOfOfficers:b,deleteConfirmationIndex:d,isDisabled:i,onDeleteClick:I,onCancelClick:S,onRemoveOfficerSection:j}):null,a.jsx(gt,{sectionId:`${o}.${O}`,officer:D,officerAddress:x,isDisabled:i,isEmptyCompanyOfficerSection:g,onOfficerAddressClick:n})]},D?.officerType)}),b<=9&&!g?a.jsx(It,{isSectionDisabled:i,onAddOfficerSection:$}):a.jsx($e,{})]})}const wt=({curIndex:e,isNewUser:o,numberOfOfficers:l,deleteConfirmationIndex:i,isDisabled:n,onDeleteClick:c,onCancelClick:f,onRemoveOfficerSection:d})=>{const r=N(),u=k.getLocalizedStrings().companyPassport;return a.jsxs(Ot,{children:[a.jsx(Ct,{children:l>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&n==null?i===e?a.jsx(Nt,{children:a.jsxs(Lt,{children:[u.companyOfficer.deleteConfirmation,a.jsx(Me,{label:u.cancel,onClick:f,style:{width:ge.buttonWidth.value(r),marginLeft:t.sp4,marginRight:t.sp3},size:"small",variant:"secondary"}),a.jsx(Me,{label:u.remove,onClick:d,style:{width:ge.buttonWidth.value(r)},size:"small",variant:"danger"})]})}):a.jsx(Pt,{className:"delete-icon-wrapper",onClick:()=>c(e),children:a.jsx(ka,{width:p[3],height:p[3],color:P.important})}):null]})},It=({isSectionDisabled:e,onAddOfficerSection:o})=>{const l=k.getLocalizedStrings().companyPassport;return e!=null?a.jsx($e,{}):a.jsxs(a.Fragment,{children:[a.jsxs(Ft,{onClick:o,children:[a.jsx(kt,{}),a.jsx(Tt,{children:l.companyOfficer.addOfficer})]}),a.jsx($e,{})]})},fe=(e,o)=>`${e}.${o}`,jt=s.div`
137
137
  display: flex;
138
138
  flex-direction: column;
139
139
  padding-top: ${t.sp3};
@@ -209,7 +209,7 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
209
209
  background-color: ${e=>e.theme.colors.grey3};
210
210
  min-height: 1px;
211
211
  max-height: 1px;
212
- `,zt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Pa(d,e??""),y={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},g={hasError:u};return a.jsx(Na,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:S}})=>a.jsx(La,{...g,ref:S,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(b=>b.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Mt,Option:At,Input:Vt,MultiValue:Bt,MultiValueLabel:_t,MultiValueRemove:Wt,ValueContainer:Et,DropdownIndicator:Kt,IndicatorSeparator:eo,Placeholder:Yt,ClearIndicator:Rt},hideSelectedOptions:!1,styles:y,isDisabled:i!=null})})},Mt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(qt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(W.Control,{...e,className:"select-control",children:e.children})})},Et=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(W.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(Ut,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Vt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(W.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Bt=e=>a.jsx(W.MultiValue,{...e,children:e.children}),_t=e=>{const{data:o}=e;return a.jsx(W.MultiValueLabel,{...e,children:o.value})},Wt=e=>a.jsx(W.MultiValueRemove,{...e,children:a.jsx(aa,{style:{marginTop:"2px"}})}),Rt=e=>a.jsx(W.ClearIndicator,{...e,children:a.jsx(aa,{})}),Yt=()=>null,At=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Ht,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(W.Option,{...e,className:"select-option",children:a.jsxs(Gt,{children:[a.jsx(Jt,{children:a.jsx(Zt,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Xt,{children:[a.jsx(Qt,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},qt=s.div`
212
+ `,zt=({name:e,registerOptions:o,defaultValue:l,isDisabled:i,style:n,placeholder:c})=>{const{control:f,formState:{errors:d}}=Ge(),r=Ae(),u=Pa(d,e??""),b={container:h=>({...h,width:"100%",...n}),menu:h=>({...h,backgroundColor:r.colors.grey5,borderRadius:t.sp1,boxShadow:`${t.sp0} 2px ${t.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:h=>({...h,borderRadius:0})},g={hasError:u};return a.jsx(Na,{name:e,control:f,defaultValue:l,rules:o,render:({field:{onChange:h,onBlur:$,value:I,ref:S}})=>a.jsx(La,{...g,ref:S,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:c,value:Ve(I.selectedOptions),options:Ve(I.allOptions),onChange:j=>{h({selectedOptions:j.map(y=>y.value),allOptions:I.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:$,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:Mt,Option:At,Input:Vt,MultiValue:Bt,MultiValueLabel:_t,MultiValueRemove:Wt,ValueContainer:Et,DropdownIndicator:Kt,IndicatorSeparator:eo,Placeholder:Yt,ClearIndicator:Rt},hideSelectedOptions:!1,styles:b,isDisabled:i!=null})})},Mt=e=>{const{menuIsOpen:o,isFocused:l,isDisabled:i,selectProps:n}=e,{value:c,hasError:f}=n;return a.jsx(qt,{menuIsOpen:o,isFocused:l,isDisabled:i,optionsLen:c.length,hasError:f,children:a.jsx(W.Control,{...e,className:"select-control",children:e.children})})},Et=e=>{const{selectProps:o}=e,{value:l}=o;return a.jsxs(W.ValueContainer,{...e,className:"select-value-container",children:[e.children,a.jsx(Ut,{className:"selected-options",children:l.map(i=>i.value).join(", ")})]})},Vt=e=>{const{selectProps:o}=e,{placeholder:l,value:i}=o;return a.jsx(W.Input,{...e,autoComplete:"new-password",placeholder:i.length===0?l:void 0,children:e.children})},Bt=e=>a.jsx(W.MultiValue,{...e,children:e.children}),_t=e=>{const{data:o}=e;return a.jsx(W.MultiValueLabel,{...e,children:o.value})},Wt=e=>a.jsx(W.MultiValueRemove,{...e,children:a.jsx(aa,{style:{marginTop:"2px"}})}),Rt=e=>a.jsx(W.ClearIndicator,{...e,children:a.jsx(aa,{})}),Yt=()=>null,At=e=>{const{isSelected:o,isDisabled:l,isFocused:i}=e;return a.jsx(Ht,{isFocused:i,isSelected:o,isDisabled:l,children:a.jsx(W.Option,{...e,className:"select-option",children:a.jsxs(Gt,{children:[a.jsx(Jt,{children:a.jsx(Zt,{isSelected:o,isDisabled:l,children:e.label})}),o?a.jsxs(Xt,{children:[a.jsx(Qt,{className:"right-tick-icon"}),a.jsx(Ce,{className:"close-tick-icon"})]}):null]})})})},qt=s.div`
213
213
  width: 100%;
214
214
  background-color: ${e=>e.theme.colors.grey5};
215
215
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -436,7 +436,7 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
436
436
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
437
437
  }
438
438
  }
439
- `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function lo(e){const o=N(),l=wa(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:g,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),b=Be.largeLabelWidth.value(o),O=!qa(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(io,{style:S,children:[a.jsx(no,{children:c.companyTaxInfo.title}),a.jsxs(so,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:G(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:Ia},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:G(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:G(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:G(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(to,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:G(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:Je().map(x=>x.toString())}}}),a.jsx(K,{}),a.jsx(Qe,{name:G(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:y,updateFileStatusById:g,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:b},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(ro,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const G=(e,o)=>`${e}.${o}`,io=s.div`
439
+ `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function lo(e){const o=N(),l=wa(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:b,updateFileStatusById:g,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),y=Be.largeLabelWidth.value(o),O=!qa(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(io,{style:S,children:[a.jsx(no,{children:c.companyTaxInfo.title}),a.jsxs(so,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:G(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:Ia},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:G(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:G(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:G(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(K,{}),a.jsx(to,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:G(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:Je().map(x=>x.toString())}}}),a.jsx(K,{}),a.jsx(Qe,{name:G(h,"einDocument"),isDisabled:$,sizeLimit:Ue,deleteFileStatusById:b,updateFileStatusById:g,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:y},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(ro,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const G=(e,o)=>`${e}.${o}`,io=s.div`
440
440
  display: flex;
441
441
  flex-direction: column;
442
442
  padding-top: ${t.sp3};
@@ -492,13 +492,13 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
492
492
  :not(:first-of-type) {
493
493
  margin-left: ${t.sp3};
494
494
  }
495
- `,yo=s.div`
495
+ `,bo=s.div`
496
496
  display: flex;
497
497
  flex-direction: row;
498
498
  justify-content: flex-end;
499
499
  align-items: center;
500
500
  color: ${e=>e.theme.colors.primary};
501
- `,bo=()=>a.jsx(yo,{children:"–"}),go=s.div`
501
+ `,yo=()=>a.jsx(bo,{children:"–"}),go=s.div`
502
502
  padding: 6px ${t.sp2};
503
503
  white-space: nowrap;
504
504
  overflow: hidden;
@@ -509,7 +509,7 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
509
509
  justify-content: flex-end;
510
510
  display: flex;
511
511
  padding: 0 ${t.sp3};
512
- `,wo=e=>{const{users:o,style:l}=e;return a.jsx($o,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(xo,{children:[a.jsx(go,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Ba,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(bo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Io({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=N();return a.jsxs(vo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(wo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const jo=Wa.memo(Io,Ta),vo=s.div`
512
+ `,wo=e=>{const{users:o,style:l}=e;return a.jsx($o,{style:l,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>a.jsxs(xo,{children:[a.jsx(go,{children:`${i.firstName} ${i.lastName}`}),a.jsx(Ba,{name:`${i.firstName} ${i.lastName}`,size:t.sp4})]},i.userId)):a.jsx(yo,{})})},E={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Io({isDisabled:e,label:o,avatarLabels:l,style:i}){const n=N();return a.jsxs(vo,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:E.labelMarginLeft.value(n),marginRight:E.labelMarginRight.value(n),marginTop:E.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(wo,{users:l.users,style:{minHeight:E.controlHeight.value(n),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...l.style}})]})}const jo=Wa.memo(Io,Ta),vo=s.div`
513
513
  display: flex;
514
514
  flex-direction: row;
515
515
  align-items: flex-start;
@@ -529,7 +529,7 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
529
529
  border-bottom-left-radius: inherit;
530
530
  border-bottom-right-radius: inherit;
531
531
  }
532
- `,ye={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Do({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=N(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=ye.labelWidth.value(f),y=ye.mediumLabelWidth.value(f),g=ye.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:S}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,b=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=ja(I.map(x=>x.addOns.map(V=>({text:V.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),D=S.receiverEmails.map(x=>({text:x}));return a.jsxs(Oo,{children:[a.jsx(Fo,{children:d.zeniFinanceTeam.title}),a.jsxs(Co,{children:[a.jsx(jo,{label:{label:d.zeniFinanceTeam.controller,width:y},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(re,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:y},text:{type:"text",name:So(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:va}}}):o?.meetingLink!=null?a.jsx(Da,{label:{label:d.zeniFinanceTeam.scheduleCall,width:y},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,D.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,b.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:g},bullettedLabels:{labels:b,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.addons,width:y},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const So=(e,o)=>`${e}.${o}`,Oo=s.div`
532
+ `,be={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Do({data:e,companyInfo:o,sectionId:l,isDisabled:i,isZeniUser:n,onScheduleClick:c}){const f=N(),{companyPassport:d,dateFormat:{visual:r}}=k.getLocalizedStrings(),u=be.labelWidth.value(f),b=be.mediumLabelWidth.value(f),g=be.largeLabelWidth.value(f),h=e.company.company,{controllers:$,subscriptions:I}=e,{managementInfo:S}=h,j=f==="small"?d.zeniFinanceTeam.scheduleCallPlaceholderSmall:d.zeniFinanceTeam.scheduleCallPlaceholder,y=I.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})),O=ja(I.map(x=>x.addOns.map(V=>({text:V.addOn.name,subText:x.subscription.subscription.startDate.format(r.MMMDCommaYYYYformat)})))),D=S.receiverEmails.map(x=>({text:x}));return a.jsxs(Oo,{children:[a.jsx(Fo,{children:d.zeniFinanceTeam.title}),a.jsxs(Co,{children:[a.jsx(jo,{label:{label:d.zeniFinanceTeam.controller,width:b},avatarLabels:{users:$.map(x=>x.user)}}),a.jsx(re,{}),n===!0?a.jsx(z,{isDisabled:i,label:{label:d.zeniFinanceTeam.scheduleCall,width:b},text:{type:"text",name:So(l,"meetingLink"),placeholder:j,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:va}}}):o?.meetingLink!=null?a.jsx(Da,{label:{label:d.zeniFinanceTeam.scheduleCall,width:b},button:{buttonTitle:d.zeniFinanceTeam.schedule,onClick:()=>c(o.meetingLink)}}):null,D.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,y.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.subscriptionPlans,width:g},bullettedLabels:{labels:y,listStyleType:"none"}})]}):null,O.length>0?a.jsxs(a.Fragment,{children:[a.jsx(re,{}),a.jsx(de,{label:{label:d.zeniFinanceTeam.addons,width:b},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null]})]})}const So=(e,o)=>`${e}.${o}`,Oo=s.div`
533
533
  display: flex;
534
534
  flex-direction: column;
535
535
  padding-top: ${t.sp3};
@@ -550,7 +550,7 @@ import{J as N,g as Ae,aQ as da,a9 as pa,cF as ma,F as k,V as a,bC as ua,ac as ha
550
550
  background-color: ${e=>e.theme.colors.grey3};
551
551
  min-height: 1px;
552
552
  max-height: 1px;
553
- `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},We="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Ho(e){const o=N(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:g,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:b,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:V,onDeleteFile:pe,onClickMenuIcon:J}=e,{companyView:X,localData:U,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:ae}=U,Pe={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:pe,updateFilesEntity:V},[Q,te]=_.useState(void 0),{companyDetails:ta,primaryContact:oa,companyOfficerUpdateStatus:la,updateStatus:R}=U,{localData:oe,addressStatus:ia}=ta,Ne=da(R.fetchState),le=Object.values(la).filter(T=>T.localData!=null),B=pa({mode:"all",defaultValues:Ye(U,d)});_.useEffect(()=>()=>{te(void 0)},[]),_.useEffect(()=>{Ne==="In-Progress"&&(R.fetchState==="Completed"||R.fetchState==="Error")&&(B.reset(Ye(U,d)),Q!==R.fetchState&&te(R.fetchState))},[Q,B,Ne,R,U,X,d,ae]);const sa=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:Y,zeniFinanceTeam:me}=w;y({companyInfo:C,incInfo:F,taxDetails:Y,zeniFinanceTeam:me})}else if(T.includes(De)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(Y=>Y===w.primaryContact.userId);F>=0&&g({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(Se)){const C=parseInt(T.split(".")[1]);if(C>=0)g({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>le.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(Y=>Y.officerType!=null);if(F.length<le.length){const Y=F.map((me,ca)=>{const Le={...me,officerType:`Officer_${ca+1}`};return g(Le),Le});F.length<le.length&&(I(`Officer_${F.length+1}`),B.reset({companyOfficer:Y}))}}}};_.useEffect(()=>{const T=B.watch((w,{name:C})=>{C!=null&&w!=null&&ma(()=>sa(C,w))});return()=>{T.unsubscribe()}});const na=B.handleSubmit(T=>{Q!=null&&te(void 0),S()}),{companyPassport:ie,common:{settings:ra}}=k.getLocalizedStrings();if(X==null)throw new Error("Company View is null");return a.jsxs(ko,{children:[a.jsx(ua,{title:ie.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:J}),Q!=null?a.jsx(ot,{fetchState:Q,onRemoveSnackbar:()=>te(void 0)}):null,a.jsxs(To,{children:[a.jsx(Po,{windowSize:o,children:u?ra.infoText.companyDetails:ie.quickAccessInfo}),a.jsx(ha,{...B,children:a.jsxs("form",{id:Re(We),onSubmit:na,children:[a.jsx(ht,{sectionId:Ie,companyInfo:oe?.companyInfo,companyViewData:X,companyAddress:ia,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(lt,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyIncInfo:oe?.incInfo,fileProps:Pe,isDisabled:r}),a.jsx(lo,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyTaxInfo:oe?.taxDetails,fileProps:Pe,isDisabled:r}),a.jsx(po,{sectionId:De,primaryContact:oa.localData,isDisabled:r}),a.jsx($t,{companyOfficers:le,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx(Do,{data:X,companyInfo:oe?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:b})]})})]}),fa(B.formState.dirtyFields)||Ya(U,X,ae)?a.jsx(xa,{formId:Re(We),primaryBtn:{label:ie.save,isLoading:R.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ie.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{B.reset(),D()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...ya(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:Je().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[De]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[Se]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},ko=s.div`
553
+ `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},We="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Ho(e){const o=N(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:g,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:y,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:V,onDeleteFile:pe,onClickMenuIcon:J}=e,{companyView:X,localData:U,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:ae}=U,Pe={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:pe,updateFilesEntity:V},[Q,te]=_.useState(void 0),{companyDetails:ta,primaryContact:oa,companyOfficerUpdateStatus:la,updateStatus:R}=U,{localData:oe,addressStatus:ia}=ta,Ne=da(R.fetchState),le=Object.values(la).filter(T=>T.localData!=null),B=pa({mode:"all",defaultValues:Ye(U,d)});_.useEffect(()=>()=>{te(void 0)},[]),_.useEffect(()=>{Ne==="In-Progress"&&(R.fetchState==="Completed"||R.fetchState==="Error")&&(B.reset(Ye(U,d)),Q!==R.fetchState&&te(R.fetchState))},[Q,B,Ne,R,U,X,d,ae]);const sa=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:Y,zeniFinanceTeam:me}=w;b({companyInfo:C,incInfo:F,taxDetails:Y,zeniFinanceTeam:me})}else if(T.includes(De)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(Y=>Y===w.primaryContact.userId);F>=0&&g({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(Se)){const C=parseInt(T.split(".")[1]);if(C>=0)g({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>le.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(Y=>Y.officerType!=null);if(F.length<le.length){const Y=F.map((me,ca)=>{const Le={...me,officerType:`Officer_${ca+1}`};return g(Le),Le});F.length<le.length&&(I(`Officer_${F.length+1}`),B.reset({companyOfficer:Y}))}}}};_.useEffect(()=>{const T=B.watch((w,{name:C})=>{C!=null&&w!=null&&ma(()=>sa(C,w))});return()=>{T.unsubscribe()}});const na=B.handleSubmit(T=>{Q!=null&&te(void 0),S()}),{companyPassport:ie,common:{settings:ra}}=k.getLocalizedStrings();if(X==null)throw new Error("Company View is null");return a.jsxs(ko,{children:[a.jsx(ua,{title:ie.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:J}),Q!=null?a.jsx(ot,{fetchState:Q,onRemoveSnackbar:()=>te(void 0)}):null,a.jsxs(To,{children:[a.jsx(Po,{windowSize:o,children:u?ra.infoText.companyDetails:ie.quickAccessInfo}),a.jsx(ha,{...B,children:a.jsxs("form",{id:Re(We),onSubmit:na,children:[a.jsx(ht,{sectionId:Ie,companyInfo:oe?.companyInfo,companyViewData:X,companyAddress:ia,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(lt,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyIncInfo:oe?.incInfo,fileProps:Pe,isDisabled:r}),a.jsx(lo,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:ae,companyTaxInfo:oe?.taxDetails,fileProps:Pe,isDisabled:r}),a.jsx(po,{sectionId:De,primaryContact:oa.localData,isDisabled:r}),a.jsx($t,{companyOfficers:le,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx(Do,{data:X,companyInfo:oe?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:y})]})})]}),fa(B.formState.dirtyFields)||Ya(U,X,ae)?a.jsx(xa,{formId:Re(We),primaryBtn:{label:ie.save,isLoading:R.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ie.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{B.reset(),D()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...ba(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:Je().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[De]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[Se]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},ko=s.div`
554
554
  display: flex;
555
555
  min-height: 100%;
556
556
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a9 as V,gS as v,F as S,V as g,gT as J,aa as l,al as $,ac as q,cI as _,cR as W,cO as T,o as E,gU as Z,cM as z,aR as X,d as AA,c2 as gA,gV as BA}from"./index-BJX6xSch.js";import{a as B,P as c}from"./sentry-Csr1LH3q.js";import{n as o}from"./mui-Bx0ZSN8G.js";import{bh as eA}from"./zeni-epic-state-BET3Hr2o.js";import{$ as EA}from"./LabeledAddressValue-BRVf6Gy8-C-XtTcW7.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="7381ed1f-2ddb-46cc-8206-854213b76fc6",A._sentryDebugIdIdentifier="sentry-dbid-7381ed1f-2ddb-46cc-8206-854213b76fc6")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAg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QgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},U=()=>{a(!0)},K=()=>{a(!1)},b=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:K}),e.completeProfile.title]}),g.jsx(q,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?b:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a9 as V,gS as v,F as S,V as g,gT as J,aa as l,al as $,ac as q,cI as _,cR as W,cO as T,o as E,gU as Z,cM as z,aR as X,d as AA,c2 as gA,gV as BA}from"./index-DJv_Rbuz.js";import{a as B,P as c}from"./sentry-BAZEeDR7.js";import{n as o}from"./mui-vpVhZoFp.js";import{bh as eA}from"./zeni-epic-state-p-hirlWD.js";import{$ as EA}from"./LabeledAddressValue-BIa72RS0-BkLBulUT.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="9b44b148-2631-42b8-8b31-0af15f0d3e64",A._sentryDebugIdIdentifier="sentry-dbid-9b44b148-2631-42b8-8b31-0af15f0d3e64")}catch{}})();const CA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAEC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IECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),QA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(CA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(IA,{children:[g.jsxs(tA,{children:[I&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(q,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(Q,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d7 as f,av as d,V as r,b5 as l,o as p}from"./index-BJX6xSch.js";import{a as n}from"./sentry-Csr1LH3q.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./zeni-epic-state-BET3Hr2o.js";import"./mui-Bx0ZSN8G.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="28ee69bd-ab32-4790-9f88-6829e67e5004",e._sentryDebugIdIdentifier="sentry-dbid-28ee69bd-ab32-4790-9f88-6829e67e5004")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=f(u,e),[a]=d("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&a!=null?r.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:a,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
1
+ import{d7 as f,av as d,V as r,b5 as l,o as p}from"./index-DJv_Rbuz.js";import{a as n}from"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./mui-vpVhZoFp.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="28ee69bd-ab32-4790-9f88-6829e67e5004",e._sentryDebugIdIdentifier="sentry-dbid-28ee69bd-ab32-4790-9f88-6829e67e5004")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=f(u,e),[a]=d("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&a!=null?r.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:a,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
@@ -1,4 +1,4 @@
1
- import{V as n}from"./index-BJX6xSch.js";import{a as r}from"./sentry-Csr1LH3q.js";import{n as s}from"./mui-Bx0ZSN8G.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
1
+ import{V as n}from"./index-DJv_Rbuz.js";import{a as r}from"./sentry-BAZEeDR7.js";import{n as s}from"./mui-vpVhZoFp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c117742-f646-4198-bee3-9e4fd8a5d2d7",e._sentryDebugIdIdentifier="sentry-dbid-8c117742-f646-4198-bee3-9e4fd8a5d2d7")}catch{}})();const i=s.div`
2
2
  width: auto;
3
3
  max-width: var(--side-panel-list-width, 100%);
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{g as _e,J as v,aD as q,cH as qe,V as t,bC as Ye,aP as $,T as Ge,cp as ie,cq as se,cr as le,d3 as Ke,aR as Ze,y as Y,F as x,c2 as Je,o,d4 as Qe,bT as S,ci as de,u as w,b7 as ce,ai as pe,al as K,bt as Xe,d0 as me,d5 as et,p as B,d6 as ue,cZ as he}from"./index-BJX6xSch.js";import{a as g}from"./sentry-Csr1LH3q.js";import{n as r}from"./mui-Bx0ZSN8G.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./zeni-epic-state-BET3Hr2o.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1242ce0c-2d56-4f91-87a3-36500f63bed2",e._sentryDebugIdIdentifier="sentry-dbid-1242ce0c-2d56-4f91-87a3-36500f63bed2")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const y=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:y,children:[t.jsxs(nt,{children:[t.jsxs(K,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
1
+ import{g as _e,J as v,aD as q,cH as qe,V as t,bC as Ye,aP as $,T as Ge,cp as ie,cq as se,cr as le,d3 as Ke,aR as Ze,y as Y,F as x,c2 as Je,o,d4 as Qe,bT as S,ci as de,u as w,b7 as ce,ai as pe,al as K,bt as Xe,d0 as me,d5 as et,p as B,d6 as ue,cZ as he}from"./index-DJv_Rbuz.js";import{a as g}from"./sentry-BAZEeDR7.js";import{n as r}from"./mui-vpVhZoFp.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1242ce0c-2d56-4f91-87a3-36500f63bed2",e._sentryDebugIdIdentifier="sentry-dbid-1242ce0c-2d56-4f91-87a3-36500f63bed2")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const y=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:y,children:[t.jsxs(nt,{children:[t.jsxs(K,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(dt,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(ct,{})})})})]})},ot=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{V as t,J as he,a8 as ye,aP as ae,hu as ea,aN as aa,r as ta,T as na,aR as ze,o as a,F as Z,y as m,C as Be,e as oa,ah as ia,g as Me,bT as ra,fh as _e,R as X,p as J,gp as ce,b as la,aq as Oe,d as ca,aQ as De,a9 as sa,fA as da,cF as ma,ac as pa,f0 as ua,fE as ha,cK as ya,hF as xe,hG as ga,gc as fa,u as r,c2 as Ca,b9 as ba,fo as wa,ci as Da,al as Ne,gX as xa,c0 as Sa,aU as $a,hH as ka,d0 as Aa,gY as La,fQ as va,fM as Ia}from"./index-BJX6xSch.js";import{n as i}from"./mui-Bx0ZSN8G.js";import{a as p}from"./sentry-Csr1LH3q.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-BET3Hr2o.js";import{u as Pa}from"./LabeledControlledCheckBoxField-AuHfNy1--DWGEcsrr.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.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]="1d69d08a-153d-4cb1-b150-790aba5e2160",e._sentryDebugIdIdentifier="sentry-dbid-1d69d08a-153d-4cb1-b150-790aba5e2160")}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 X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ba},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ma}},chargeCard:{payEarly:z}}}=Z.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:w,onTransferClick:b})=>{const d=he(),S=Me(),v=ye().analytics,[M,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(Ha,{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),w(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ma.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:Ba})]}),M?t.jsx(qa,{children:t.jsxs(Va,{children:[t.jsxs(Xa,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ga,{children:e.error?.title}),t.jsx(Ka,{children:e.error?.message})]})]}),t.jsx(Za,{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(Wa,{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:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Ua,{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),w(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(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:xa(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,a8 as ye,aP as ae,hu as ea,aN as aa,r as ta,T as na,aR as ze,o as a,F as Z,y as m,C as Be,e as oa,ah as ia,g as Me,bT as ra,fh as _e,R as X,p as J,gp as ce,b as la,aq as Oe,d as ca,aQ as De,a9 as sa,fA as da,cF as ma,ac as pa,f0 as ua,fE as ha,cK as ya,hF as xe,hG as ga,gc as fa,u as r,c2 as Ca,b9 as ba,fo as wa,ci as Da,al as Ne,gX as xa,c0 as Sa,aU as $a,hH as ka,d0 as Aa,gY as La,fQ as va,fM as Ia}from"./index-DJv_Rbuz.js";import{n as i}from"./mui-vpVhZoFp.js";import{a as p}from"./sentry-BAZEeDR7.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-p-hirlWD.js";import{u as Pa}from"./LabeledControlledCheckBoxField-DUkmWHyZ-D2AqhRim.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="433c2e85-ba2b-474f-901f-d9cbaf615c91",e._sentryDebugIdIdentifier="sentry-dbid-433c2e85-ba2b-474f-901f-d9cbaf615c91")}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 X("h6Regular","h5Regular"),integerAmountInput:new X("h5Regular","largeMedium"),decimalAmountInput:new X("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ba},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ma}},chargeCard:{payEarly:z}}}=Z.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:w,onTransferClick:b})=>{const d=he(),S=Me(),v=ye().analytics,[M,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(Ha,{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),w(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ma.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:Ba})]}),M?t.jsx(qa,{children:t.jsxs(Va,{children:[t.jsxs(Xa,{children:[t.jsx(Ja,{}),t.jsxs(Ya,{children:[t.jsx(Ga,{children:e.error?.title}),t.jsx(Ka,{children:e.error?.message})]})]}),t.jsx(Za,{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(Wa,{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:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Ua,{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),w(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(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:xa(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;
@@ -1,4 +1,4 @@
1
- import{cS as _,g as M,c_ as N,F as P,V as l,c$ as H,bH as L,o,dm as z,aP as x,ct as B,bI as g,al as Q,b as w,f1 as T,f2 as X,f3 as G,ai as J,bG as W,C as Y,p as m}from"./index-BJX6xSch.js";import{a as v}from"./sentry-Csr1LH3q.js";import{n}from"./mui-Bx0ZSN8G.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]="083f7449-dd96-4331-899a-3224ac071b73",e._sentryDebugIdIdentifier="sentry-dbid-083f7449-dd96-4331-899a-3224ac071b73")}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}}=_(),b=M(),[j,C]=v.useState(!1),k=N(y,e??""),I=P.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:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const S=R;return v.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(S.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&S?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:K,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,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(g.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(g.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(B,{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]})})},K=e=>l.jsx(g.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(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(Q)`
1
+ import{cS as _,g as M,c_ as N,F as P,V as l,c$ as H,bH as L,o,dm as z,aP as x,ct as B,bI as g,al as Q,b as w,f1 as T,f2 as X,f3 as G,ai as J,bG as W,C as Y,p as m}from"./index-DJv_Rbuz.js";import{a as v}from"./sentry-BAZEeDR7.js";import{n}from"./mui-vpVhZoFp.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]="083f7449-dd96-4331-899a-3224ac071b73",e._sentryDebugIdIdentifier="sentry-dbid-083f7449-dd96-4331-899a-3224ac071b73")}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}}=_(),b=M(),[j,C]=v.useState(!1),k=N(y,e??""),I=P.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:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:f,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const S=R;return v.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(S.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&S?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:U,SingleValue:ee,ValueContainer:K,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,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(g.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(g.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(B,{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]})})},K=e=>l.jsx(g.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(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(Q)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&T(e)===!1)return l.jsx(l.Fragment,{});{const r=X[`${G(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 u,V as t,F as c,aQ as l,aP as p,T as g,o,af as h,d as x,e as m}from"./index-BJX6xSch.js";import{a as f}from"./sentry-Csr1LH3q.js";import{n as i}from"./mui-Bx0ZSN8G.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./zeni-epic-state-BET3Hr2o.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.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]="e1db48d4-6741-4cd8-a1f6-813dad19d401",e._sentryDebugIdIdentifier="sentry-dbid-e1db48d4-6741-4cd8-a1f6-813dad19d401")}catch{}})();const b=i.div`
1
+ import{J as u,V as t,F as c,aQ as l,aP as p,T as g,o,af as h,d as x,e as m}from"./index-DJv_Rbuz.js";import{a as f}from"./sentry-BAZEeDR7.js";import{n as i}from"./mui-vpVhZoFp.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="e1db48d4-6741-4cd8-a1f6-813dad19d401",e._sentryDebugIdIdentifier="sentry-dbid-e1db48d4-6741-4cd8-a1f6-813dad19d401")}catch{}})();const b=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-DJv_Rbuz.js";import i from"./CustomerOnboardingNoStepsPage-9EVXNqI--PzWflH9h.js";import e from"./CustomerOnboardingPage-B66vhEZb-D7HPTDFT.js";import"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./mui-vpVhZoFp.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./PaymentAccountSetupBillingAddressSection-BBcI6orE-DjXEkCuw.js";import"./SetUpAccountSection-CFVDUb2a-COF_GK-Y.js";import"./CustomerOnboardingDetailPageSkeleton-CQ_jMnjx-DPLd4ivQ.js";import"./CompanyOfficerDetailsSection-xhVDV0e_-DEf_Firo.js";import"./LabeledAddressValueField-B8vUdw5X-CDbumss_.js";import"./LabeledCreatableSingleSelectField-7qh_QQuc-BNteaTC5.js";import"./LabeledDocumentField-wddWSnmD-LvMwzwRA.js";import"./QBOSetupSection-C7bKopiw-DrpQB1LR.js";import"./QBOConnectionDialog-Ay4Pfbb9-Bb72NtKE.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]="0fb12074-633e-4047-9da5-2d218b7e3524",t._sentryDebugIdIdentifier="sentry-dbid-0fb12074-633e-4047-9da5-2d218b7e3524")}catch{}})();const k=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{k as default};
@@ -1,4 +1,4 @@
1
- import{V as s,aP as v,bn as E,g as f,J as T,bP as b,o as t,u as I,y as $,af as N,F as P,p as u,a as R,hN as U,fP as L,as as O,am as W,hO as _}from"./index-BJX6xSch.js";import{n as r}from"./mui-Bx0ZSN8G.js";import{P as S}from"./sentry-Csr1LH3q.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]="8c5eda13-62e0-4b82-8611-4ba36a0c8d96",e._sentryDebugIdIdentifier="sentry-dbid-8c5eda13-62e0-4b82-8611-4ba36a0c8d96")}catch{}})();const F=r(_)`
1
+ import{V as s,aP as v,bn as E,g as f,J as T,bP as b,o as t,u as I,y as $,af as N,F as P,p as u,a as R,hN as U,fP as L,as as O,am as W,hO as _}from"./index-DJv_Rbuz.js";import{n as r}from"./mui-vpVhZoFp.js";import{P as S}from"./sentry-BAZEeDR7.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]="8c5eda13-62e0-4b82-8611-4ba36a0c8d96",e._sentryDebugIdIdentifier="sentry-dbid-8c5eda13-62e0-4b82-8611-4ba36a0c8d96")}catch{}})();const F=r(_)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,J=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{a8 as ie,V as o,fx as Ce,J as Pe,g as be,a9 as we,aQ as xe,cF as ke,bC as Ie,o as s,aP as Ae,ac as $e,aR as ve,bn as Ve,hL as Oe,F as Te,eZ as je,e_ as oe,af as Le,y as J,al as _e,u as A}from"./index-BJX6xSch.js";import{n as c}from"./mui-Bx0ZSN8G.js";import{a as $}from"./sentry-Csr1LH3q.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-B6xSczs6-C5ilR7We.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-D92o0cYb-CEZfYP62.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./zeni-epic-state-BET3Hr2o.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.js";import"./SetUpAccountSection-DqW4vmsx-CbQD91uP.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]="822d4eed-9d4f-4262-8925-3deee574aa82",e._sentryDebugIdIdentifier="sentry-dbid-822d4eed-9d4f-4262-8925-3deee574aa82")}catch{}})();const q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:_,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const g=Pe(),F=ie(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:m,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(m.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,ge=`Officer_${te<0?1:te+1}`,me=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&ke(()=>me(i,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,m.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),i=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),E(ge,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,m.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:g,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:g!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Ee(se),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:g,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:b,cardPaymentView:p,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${se}`,leftSideComponent:o.jsx(Ge,{windowSize:g,children:o.jsx(Ve,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),style:{width:g==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:m.fetchState==="In-Progress",isDisabled:m.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:_,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
1
+ import{a8 as ie,V as o,fx as Ce,J as be,g as Pe,a9 as we,aQ as xe,cF as ke,bC as Ie,o as s,aP as Ae,ac as $e,aR as ve,bn as Ve,hL as Oe,F as Te,eZ as je,e_ as oe,af as Le,y as J,al as _e,u as A}from"./index-DJv_Rbuz.js";import{n as c}from"./mui-vpVhZoFp.js";import{a as $}from"./sentry-BAZEeDR7.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-BBcI6orE-DjXEkCuw.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CQ_jMnjx-DPLd4ivQ.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./SetUpAccountSection-CFVDUb2a-COF_GK-Y.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]="54462b33-ac3b-4811-a076-16840c14855d",e._sentryDebugIdIdentifier="sentry-dbid-54462b33-ac3b-4811-a076-16840c14855d")}catch{}})();const q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Ee=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:O,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:_,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:E,...D})=>{const g=be(),F=ie(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:m,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(m.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,ge=`Officer_${te<0?1:te+1}`,me=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&ke(()=>me(i,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,m.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),i=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),E(ge,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&m.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,m.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:g,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:g!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Ee(se),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:g,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:z,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${se}`,leftSideComponent:o.jsx(Ge,{windowSize:g,children:o.jsx(Ve,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:g==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:m.fetchState==="In-Progress",isDisabled:m.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:_,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -58,7 +58,7 @@ import{a8 as ie,V as o,fx as Ce,J as Pe,g as be,a9 as we,aQ as xe,cF as ke,bC 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
- `,v=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ct=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:V,currentTenant:O,isOnAddressPage:P,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:_,onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:z,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:E,updateCardPaymentModalState:D,resetCardPaymentViewState:g,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=ie(),{analytics:G}=N,W={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:V,currentTenant:O,onUpdateStep:Z=>{_(Z)},onZeniLogoClick:b,handleLogOutClick:U,handleCockpitClick:z,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(Fe,{...W,onboardingCustomerView:u,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:E,cardPaymentView:p,resetCardPaymentViewState:g,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
61
+ `,v=e=>({[q]:{account:{allOptions:[],selectedOption:void 0}},[n]:Oe(n,e?.subscriptionBillingAddress)[n]}),ct=e=>{const{onboardingCustomerView:u,cardPaymentView:p,signedInUser:V,currentTenant:O,isOnAddressPage:b,stripeKey:T,googleAPIKey:j,meetingUrl:L,onUpdateStep:_,onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:z,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,handleFetchPaymentSources:E,updateCardPaymentModalState:D,resetCardPaymentViewState:g,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=u,N=ie(),{analytics:G}=N,W={allSteps:M,isOnAddressPage:b,currentStep:R,fetchStatus:S,signedInUser:V,currentTenant:O,onUpdateStep:Z=>{_(Z)},onZeniLogoClick:P,handleLogOutClick:U,handleCockpitClick:z,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:b,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(Fe,{...W,onboardingCustomerView:u,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:w,updateCardPaymentModalState:D,handleFetchPaymentSources:E,cardPaymentView:p,resetCardPaymentViewState:g,stripeKey:T,googleAPIKey:j,handleResetCardPaymentErrorStatuses:F,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ce,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};
@@ -1,4 +1,4 @@
1
- import{V as l,fx as tn,J as Ke,g as nn,a9 as an,cF as me,aQ as Me,H as ft,aD as Qe,bC as on,o as re,ac as sn,u as W,aR as rn,hL as ln,gb as cn,fy as yt,eZ as xt,F as Ye,e_ as gt,y as fe,ge as ye,cS as dn,al as pn,hM as ht,ad as St,cQ as un,gd as mn}from"./index-BJX6xSch.js";import{a as m}from"./sentry-Csr1LH3q.js";import{n as P,k as Ot}from"./mui-Bx0ZSN8G.js";import{bi as j}from"./zeni-epic-state-BET3Hr2o.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-B6xSczs6-C5ilR7We.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-D92o0cYb-CEZfYP62.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-ClnGjHwL-BuwPPb5G.js";import{t as Sn}from"./QBOSetupSection-uV3w7rHW-WTbx1d6-.js";import"./liveblocks-C9oVfUgj.js";import"./core-Bicy8isU.js";import"./recharts-KaIzybkv.js";import"./lottie-CflL2Iap.js";import"./analytics-CwsxjKn5.js";import"./lexical-BrOuRfla.js";import"./utils-BWjQF7TZ.js";import"./SetUpAccountSection-DqW4vmsx-CbQD91uP.js";import"./LabeledAddressValueField-Dm962nbv-BOwcKSVw.js";import"./LabeledCreatableSingleSelectField-CZzPQt4P-Cw36ioKI.js";import"./LabeledDocumentField-Cj3wNN-j-DJGYRs8N.js";import"./QBOConnectionDialog-Dwog9AYZ-Dsd5As8K.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]="5bdbbd21-b1c5-42c3-b90d-08201887f8f7",n._sentryDebugIdIdentifier="sentry-dbid-5bdbbd21-b1c5-42c3-b90d-08201887f8f7")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:D,verifiedPhoneNumber:x,onPhoneVerified:h,...O})=>{const y=Ke(),_=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=c,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:_??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:D,...O})})},bn=P.div`
1
+ import{V as l,fx as tn,J as Ke,g as nn,a9 as an,cF as me,aQ as Me,H as ft,aD as Qe,bC as on,o as re,ac as sn,u as W,aR as rn,hL as ln,gb as cn,fy as yt,eZ as xt,F as Ye,e_ as gt,y as fe,ge as ye,cS as dn,al as pn,hM as ht,ad as St,cQ as un,gd as mn}from"./index-DJv_Rbuz.js";import{a as m}from"./sentry-BAZEeDR7.js";import{n as P,k as Ot}from"./mui-vpVhZoFp.js";import{bi as j}from"./zeni-epic-state-p-hirlWD.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-BBcI6orE-DjXEkCuw.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-CQ_jMnjx-DPLd4ivQ.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-xhVDV0e_-DEf_Firo.js";import{t as Sn}from"./QBOSetupSection-C7bKopiw-DrpQB1LR.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./SetUpAccountSection-CFVDUb2a-COF_GK-Y.js";import"./LabeledAddressValueField-B8vUdw5X-CDbumss_.js";import"./LabeledCreatableSingleSelectField-7qh_QQuc-BNteaTC5.js";import"./LabeledDocumentField-wddWSnmD-LvMwzwRA.js";import"./QBOConnectionDialog-Ay4Pfbb9-Bb72NtKE.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]="3ed3958a-da08-413e-9f1c-cce7bdfbaa37",n._sentryDebugIdIdentifier="sentry-dbid-3ed3958a-da08-413e-9f1c-cce7bdfbaa37")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:D,verifiedPhoneNumber:x,onPhoneVerified:h,...O})=>{const y=Ke(),_=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:V}=c,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:_??[],allNationalityCountries:r,sectionHeader:V,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:D,...O})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;