@zeniai/web-cockpit-ui 1.15.47-dev → 1.15.48-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 (344) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-Bfz777OP.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DJBLMHvs-iLI9KDLf.js → AIPerformancePage-DlTdGosv-C-O0nWEk.js} +105 -105
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-BK55XEFQ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js → AccountInfoPageContent-BS2TBUSE-yixZKJJd.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-Cy1ahm9k-BxoMcyLt.js → AccountLockedInfoModal-aukulrV7-BghUJRSx.js} +11 -11
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DQdf3Wk4-CbpITftp.js → AccountReconDetailsDrawerPage-kQJld6_N-CTXzE170.js} +19 -19
  7. package/dist/assets/AccountRow-BiEYR4Y1-CNf1wUw2.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Vwu9llOu-CnOXSXsq.js → AccountsPromoCardStack-DBQnDPXQ-BsmcJo7C.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BnQvSUBa.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C6oLCkE7-C3vtPZC0.js → AddToWalletPage-C4EwdLZJ-DPPfaq4h.js} +18 -18
  11. package/dist/assets/{AgingReportsPage-DAe2E6ey-BAsTv0B2.js → AgingReportsPage-vAvkUfOS-eLupiUU4.js} +7 -7
  12. package/dist/assets/{AllUserItems-6sLrlL8E-DpxFsjkv.js → AllUserItems-qrYg6Gdx-CexfoJXZ.js} +11 -11
  13. package/dist/assets/ApAgingDetailPage-BRYQMwo2-s_dBzDV6.js +46 -0
  14. package/dist/assets/{AppBasePage-CtA9oCF7-D92abhWD.js → AppBasePage-DrE-W6d7-Bq2ai-ng.js} +8 -8
  15. package/dist/assets/{AppDrawerContent-BBkCJjf8-BybjdyD6.js → AppDrawerContent-ATbZG_cu-C_LUaX21.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BnQPq9AM.js +47 -0
  17. package/dist/assets/{ArAgingChart-zTqy57EG-Dm-WcY4b.js → ArAgingChart-CuzG9AZY-CBzkLPD8.js} +6 -6
  18. package/dist/assets/ArAgingDetailPage-DwRkcLEu-BW0txT0n.js +46 -0
  19. package/dist/assets/{AttachmentView-DAEi6O2i-CRQnb5l5.js → AttachmentView-BrQRChzc-gMo83IaQ.js} +6 -6
  20. package/dist/assets/{BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js → BankAccountSection-hcKEMs80-C67in8I4.js} +6 -6
  21. package/dist/assets/BankAccountWarningSection-CpxVDMSZ-Ch8LfSH9.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-D8V4bq-1-wYDIpQQB.js → BankConnectionsSettingsPage-Bdw1K00m-CZPCyWyx.js} +30 -30
  23. package/dist/assets/BillDetailPage-D0NLFZXA-B588FQUy.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-fsIdZfeP-CA1hTToh.js → BillPayApprovalRuleDetailPage-DkpCvYvo-D8q32jGy.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CawYbj9Y-C8NzV5so.js → BillPayApprovalRulesPage-BEqZD0GU-CAnnaIQP.js} +19 -19
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-Bsnvs3ku.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-BiMDn7ZO-Bk6vBQAJ.js → BillPaySetUpPage-WdEdbf16-BT3nFT0U.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-C4t1HRnl.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DtA8Ct8E.js +1 -0
  30. package/dist/assets/{BoxItem-mA2l070e-DKIWhdy7.js → BoxItem-CACRFWG2-ByiTZQgF.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-9gZbBDL6-CHA00m4Y.js +138 -0
  32. package/dist/assets/{CardNumberSubText-H4wtwe6R-CVi7j9Nt.js → CardNumberSubText-C-oVdziK-Cq3VPImW.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-Bo_bsGqF-ButLTwgN.js → CashbackDetailPage-BhFKSl4p-ewrE6dWH.js} +28 -28
  34. package/dist/assets/{ChargeCardDetailPage-DKWkYV7Z-CddIMjKt.js → ChargeCardDetailPage-D8J6HINu-CzxUCqhO.js} +20 -20
  35. package/dist/assets/{ChargeCardListPage-Dfa_PX3G-CgibIpQD.js → ChargeCardListPage-tdUKyHdz--1Qr1SRx.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-GyVhj7uY-DDdTqmU3.js → ChargeCardListTable-CByk3iqX-BeCD5LdA.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-7dGO_5iu-lPBFnLZd.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CkVYMc70.js} +34 -34
  38. package/dist/assets/{ChargeCardPromoPage-CdWji5S5-BrnExXgk.js → ChargeCardPromoPage-C4cgx2gm-CkQvUCt_.js} +30 -30
  39. package/dist/assets/{ChargeCardSetupPage-vwbBIYjC-BAacWjKb.js → ChargeCardSetupPage-DtwiTNKA-WssSZZMh.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-wAqoDc2D-BFeCByOF.js → ChargeCardStatementsPage-B0KPw52e-CjOL8QcR.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-C3wR53BH-B78xbDtI.js → CheckDepositDrawerPage-DKNAXI77-CwWWbDuR.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-D2dtXfS_-BdWkgbsB.js → CollapsableReportTable-Cq8bhaYC-sMsxrigZ.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js → CompanyOfficerDetailsSection-Rk0B5cB5-JGxyR29X.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-BZ_FCAKT-Cwwjpb-3.js → CompanyPassportCard-CHaKk74P-B2_ZiFli.js} +9 -9
  45. package/dist/assets/{CompanyPassportPage-Cq6S4mp6-UdzUDRuj.js → CompanyPassportPage-DXWXFFKM-BSWnHzV_.js} +36 -36
  46. package/dist/assets/{CompleteProfile-CBT17ax6-DYIsbIsy.js → CompleteProfile-ChaWsK6t-BWU7y1Ur.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-BpKzQcdE.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js → ConstrainedInnerElement-BeIpAPjB-DNicMQ8z.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-ClqI4j2U-BHL0P8Te.js → CreateOrEditVendorPage-C_8Jqubo-Dp_EGm5j.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CtM4-nS0-BKJTmcZU.js → CreditCardPaymentDrawerPage-lOjOtk28-DUDc8hji.js} +15 -15
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-C2JVgM83.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-DejhV7FX-8Rok_hOE.js → CustomerOnboardingActivationPage-DO6NCakm-DJ0wwxyO.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-3rxX8yl4.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DzZiwltK.js} +17 -17
  55. package/dist/assets/CustomerOnboardingNoStepsPage-CbG5WshV-Ih9fR2Ck.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js → CustomerOnboardingPage-DyVyf8oK-BPk9Ux7h.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CniahiZc-DWeQdDUe.js → CustomerOnboardingProductSuitePage-1F3JfCRp-8xZH_qGW.js} +13 -13
  58. package/dist/assets/{Dashboard-CnwoksS9-Cj6x2TqP.js → Dashboard-Csggwob0-BEFQIWvp.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-qKhiq9te-FT01lDlD.js → DashboardReportPage-DFIdi_I0-CkaE8ALl.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BQ7iP2W9.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-CIY2jU_O-CNSGbCvC.js → DepositAccTransactionItem-CZ7v1T4S-DmLfirr4.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-DfhVFXvq-B738llu8.js → DepositAccTransactionListPage-FldPGX6K-B5JNFWiD.js} +4 -4
  63. package/dist/assets/{DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js → DomesticWireDetailsPage-C--eZ-UG-UT6ULanE.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-DLbD0wMn-DFyBDJuM.js → DownloadOverlay-4f9deyJS-BVIQGklQ.js} +26 -26
  65. package/dist/assets/{DrawerPage-CCZXoj1F-DCS5WSNv.js → DrawerPage-roO3xvRT-BOp9n67_.js} +11 -11
  66. package/dist/assets/EditPeoplePage-pi5RclAj-aeWIx4uA.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-CIUcImns-mFlw6SLO.js +865 -0
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-D-mJ3GEZ.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BVG0N8QO-B29acNJ9.js → EntitySummarySection-fBL4TZpT-Do-s3IXr.js} +32 -32
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DDTNyUiN-C6hbKIHH.js → ExpenseAutomationOverviewPage-CnhNINCc-kjQ2nbJ0.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-CupfErQE.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-DBxaDfRz-CvEgT1Dz.js → ExpressPayPage-c8oTCnBR-B1eI11Un.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-ezX4YJ8n-DZlh_My6.js → FeaturePreviewPage-DkiAajs2-DbJCCTbJ.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-BCWwwk1I-Dr0Igucn.js → FollowStepsSection-GaWu1kt9-BRvlMtUk.js} +44 -44
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-BBBmhZlV.js +291 -0
  76. package/dist/assets/{InformationCardStack-Czrqxdi_-DFscx6Un.js → InformationCardStack-dMFbHUWM-C-FgUaQe.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-B50r1AKc-Fu1xeA5s.js → InsightsCardStack-BlXkyuyz-DfwZenu8.js} +10 -10
  78. package/dist/assets/InsightsSection-D-oCmrir-wvwFdRQ1.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-BMSATQJz-pQzp159S.js → IntegrationsSettingsPage-D-hfghuq-2m6MIXGG.js} +11 -11
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js → InternationalWireSwiftDetailsPage-DxdKE300-Cc24FhVA.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-CaFCfg4n.js +65 -0
  82. package/dist/assets/{InviteFormPage-DlqcSLWX-NYU1sZxR.js → InviteFormPage-BCdalqtP-CWNB58up.js} +21 -21
  83. package/dist/assets/{InvitePageListView--BKiq1KG-ChG4UMr4.js → InvitePageListView-B88FW48q-DLYg-1DF.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-1iMjMN9Y.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-CTpYBdkI.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-kFsPFGzp-XYgLhons.js → IssueChargeCardPage-B6wmvbEr-VuO_1ug1.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-COZsPbp0-DczoqRAG.js → LabeledAddressValue-CQrDCgNs-DLETXjJP.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-BoHS44YO-35DxIth1.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js → LabeledControlledCheckBoxField-BsFqjCpn-Drc3Qnd9.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js → LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js → LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-DcxblEUp.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js → LabeledDropDownFormattedTextField-ChgtJqPr-BuWBYrn7.js} +7 -7
  94. package/dist/assets/LabeledText-2EDpuXZ4-BVmqJGFx.js +42 -0
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-QFZXJ5Cv.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js → LabeledZeniRolesDropDownField-CpH0eDWO-CJTlz3Mt.js} +28 -28
  97. package/dist/assets/{LinkJETransactionPage-DwNoJ7YB-DNfE-nTn.js → LinkJETransactionPage-BhV2MnCY-OOF2_Kqe.js} +16 -16
  98. package/dist/assets/{LockCardPage-L5EAfQK5-CrxGoWXN.js → LockCardPage-CHv1xi2J-CdU6oKR8.js} +217 -217
  99. package/dist/assets/{LowBalancePopup-CIN_PWxf-CcAZgcPw.js → LowBalancePopup-Cb55PGLc-D5jF-boV.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-BFHG0jRe.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DcnN13AA.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-BAtejZPN.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DFIfT_H_.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-B33mBOG9-35QrlIpm.js → MagicLinkTitleSection-BA-i6vzA-CcuMLSrK.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BHY-JTcx.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Br6kJVpd-CbTGDrzB.js → MyBankConnectionsSettingsPage-Aer6AWxY-ImakKrC1.js} +14 -14
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-fdzETguQ.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-IpwM4wHQ.js +85 -0
  109. package/dist/assets/NavBarWithPicker-D8WNahg--CFu9mkBL.js +30 -0
  110. package/dist/assets/{NavigationArrow-2B-EgvgC-BK9qtbBJ.js → NavigationArrow-kQWS5Pzb-CpYsSVtE.js} +7 -7
  111. package/dist/assets/{NavigationDots-BrWdpJ3R-DuPdXi3_.js → NavigationDots-BQb_Fodq-C4MvpAYN.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-BSX2ajAh-B0IxS0GP.js → NewGlobalMerchantPage-z86XZorn-MrP90led.js} +40 -40
  113. package/dist/assets/NoDataChart-CyYJ6icu-CuklCFBU.js +26 -0
  114. package/dist/assets/{NoDataTable-CX24L0oK-DtsfPk0l.js → NoDataTable-DVe7sQhD-B4Won1bo.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Brtxr86A-Bnm1jjAT.js → NotFoundPage-B1XCmhSe-BbSR46rN.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BV3iZaL6-CCJncOdH.js → NotificationSettingsPage-BaN20EGV-BApCLVwG.js} +20 -20
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-BGtwKQH4.js +1 -0
  118. package/dist/assets/NotificationsPage-C9efAgjo-CFPf0lT0.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-F-6uCCSP.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BsMR9Xyx.js → OverlayContainerPage-D4QU0p4o-ZCgtvNt_.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BrBPv1Bg-Du_wsqJx.js → PandLWithForecastPage-CXtJhnA_-BuxPvuJl.js} +10 -10
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-D78UP0fJ.js} +13 -13
  123. package/dist/assets/PeoplePage-DXC2CtOt-DkUGvRPZ.js +675 -0
  124. package/dist/assets/{Preview-CngKNrtz.js → Preview-D0sjWWj-.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CYHholgU-BXEP4AT5.js → ProductsCarousel-ufZlh7Rx-CeYUIWta.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-CT84iiQE-BQw_xgzZ.js → PromoBaseCards-D2UbhBhT-Bd7EQvVS.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js → QBOConnectionDialog-BrQ71F06-SmKPuRPN.js} +6 -6
  128. package/dist/assets/QBOSetupSection-EOFscEW--B1BK3OKQ.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-p0TDyMiG-CZeD0AHX.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BAJOw6TG.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-B_EfFwpz-_OWCEpKq.js → ReimbursementApprovalRulesPage-CMpYn5y_-DkCRmTkh.js} +18 -18
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-Cf4HY_lZ.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-DCiu630p-D5gOb-J0.js → ReimbursementPromoPage-DXTAY8c7-DX5gy_0D.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-BbtZutE2-DuU_ZUl9.js → ReimbursementSetUpPage-KrGPXTCb-B1V8RiyF.js} +10 -10
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-wbpm_uz3.js +1 -0
  135. package/dist/assets/{ReloadCard-CU39OBXS-B7fXlVdj.js → ReloadCard-vAhL7B8U-t1zAQv25.js} +8 -8
  136. package/dist/assets/ReportTableViewSelector-Y97ney3W-Dg_MzkQZ.js +150 -0
  137. package/dist/assets/{ReportsPage-gqc75ljk-7NT5JGPF.js → ReportsPage-DKM0gVzR-Bx9Ahq8r.js} +6 -6
  138. package/dist/assets/{RevenueChart-CtFVmX84-uni5BcG_.js → RevenueChart-BEjDS1u4-CJFUFXPf.js} +18 -18
  139. package/dist/assets/{ReviewDetailsPage-Kew5uZCA-Mv30WXv0.js → ReviewDetailsPage-BlQLrN9z-Dd93PdNx.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-f-2s-XBM-D-MuCoTz.js → ReviewOverlay-Bn3TFqfi-Cm7uPP59.js} +24 -24
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-kKwCSQso.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DjjYlUtf-D-MjZ88W.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BeDlaHIk.js} +13 -13
  143. package/dist/assets/ScheduleDetailsPage-BP0wdtoP-DST5i2IG.js +37 -0
  144. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-C0RmvNPI.js +324 -0
  145. package/dist/assets/{ScreenRoutes-BOS_ZMWh.js → ScreenRoutes-B2hsHPEr.js} +48 -48
  146. package/dist/assets/{SetUpAccountSection-6NXF_yfU-BamPpzSM.js → SetUpAccountSection-CoVrSSYL-7U497n--.js} +7 -7
  147. package/dist/assets/SignIn-BoAejo7r-n6KjQ5Ul.js +491 -0
  148. package/dist/assets/SignInScreen-DeJvfsin.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-D3eISFuA-BPINZ7i2.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-BpguVSB_-Lttm8QGO.js → SpendManagementPerTabPage-BWDjZyLp-VDOF69nw.js} +114 -114
  151. package/dist/assets/{SpendManagementSection-DOQIJFeZ-ivgPfXva.js → SpendManagementSection-D8rBpC-y-FHAIQmms.js} +22 -22
  152. package/dist/assets/StatementItem-Cu6dlAsl-DRYmB2mf.js +31 -0
  153. package/dist/assets/{StatementsPage-BgsnClLk-8ec-Me8v.js → StatementsPage-DiY2BOcu-APBz42WN.js} +5 -5
  154. package/dist/assets/{StatusSwitcher-CmZuoA5C-CAazKXUL.js → StatusSwitcher-B9MARTyR-P7RIwFRO.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-DnAcWm4k-BiidkdTF.js → SubTabSwitcher-C3rtSwro-DGcZkDgz.js} +2 -2
  156. package/dist/assets/{SummaryCard-DiwOZob1-BzF2DJC-.js → SummaryCard-CShVbqhj-D8ckNEht.js} +1 -1
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-B2vVJK8U.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-BnA1fDfm-DKZWrMD_.js → TimeRangeSwitcher-DFnX6_WT-CF5mv12I.js} +13 -13
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-kAXguHFR.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BsIrdDc5.js +31 -0
  161. package/dist/assets/{TopExCard-8Ddo4t8T-CqjPXnoc.js → TopExCard-dI_WEGWb-Dg0iyuar.js} +12 -12
  162. package/dist/assets/{TopExDetailPage-B6xtk1Bx-Dvdbf_Im.js → TopExDetailPage-BWy5E8Lp-z65VL4y3.js} +14 -14
  163. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-BaKCdH85.js +195 -0
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-CcjegigH.js +903 -0
  165. package/dist/assets/{TransactionList-C4_0d8Yi-D_b8rDHf.js → TransactionList-80KjM8Kg-CGTGojKw.js} +16 -16
  166. package/dist/assets/{TransactionListBig-hJjsZlZZ-BQM8cKJz.js → TransactionListBig-DWQXH4ID-BXeSpaXE.js} +20 -20
  167. package/dist/assets/TransactionListPage-DC08rCC9-DlnDb8ev.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-DGcg2hX5-BY5R8KAA.js → TransactionVendorDetailPage-CzfJ5b_3-5A99k1pe.js} +15 -15
  169. package/dist/assets/{TransferDrawerPage-CqMRBO0T-DRSuLibB.js → TransferDrawerPage-6z-MoZZP-BDrE92fY.js} +29 -29
  170. package/dist/assets/{TreasuryOverviewPage-DkwHC8f4-Bn0V9kOv.js → TreasuryOverviewPage-CF_ter0o-C1Xt_81i.js} +42 -42
  171. package/dist/assets/{TreasuryPromoPage-DSF3PsLc-CzfjJZli.js → TreasuryPromoPage-Do-PTcjI-CNI9ltkm.js} +27 -27
  172. package/dist/assets/TreasuryStatementsPage-l_HC4zsb-B6l_d1_x.js +58 -0
  173. package/dist/assets/{TreasuryTaxLetterPage-DVLliaXS-BaPntd_i.js → TreasuryTaxLetterPage-B8YxWytK-4a2peJ00.js} +3 -3
  174. package/dist/assets/{TrendChart-DjYTskVA-gHskLbo_.js → TrendChart-C6B61CAm-DSOogQNb.js} +4 -4
  175. package/dist/assets/{TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js → TrendWithTransactions-Bp3vhaPa-ltcNaAHT.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CZLuQw-9-BWV6B4bF.js → UncategorizedAccountsMappingPage-cbFqKAv4-CYzZB7up.js} +18 -18
  177. package/dist/assets/{UnitIntegrationPage-DRwdsemz--LS2beFi.js → UnitIntegrationPage-DZ0ZpE5p-DeFm36Ch.js} +5 -5
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-EpFUtbZq.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DezpDfp8-Y9jdKibf.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-uTPUEvcG.js +1 -0
  181. package/dist/assets/{VendorDetailPage-Ck-kEx6Y-DlVLyDuR.js → VendorDetailPage-C4g_Gfsl-PDTA30fp.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-CVY3V18u.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-BMAc4Y0L-swSK5unq.js → VendorFiling1099EditablePage-Ckt2MiVN-DkK-z8t4.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DYL9Vnpu.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Bp-fiJYj-kdX1GwW6.js → VendorInternationalWireDetailsPage-Dz8mMD8d-gzpiXQNr.js} +22 -22
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BeZ-zVI3.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js → VendorsAccountsSection-BT-RADSV-DmS6BFzF.js} +4 -4
  188. package/dist/assets/{VerifyDevice-CkbL9enV-JKJb0VZk.js → VerifyDevice-Cxc9CVMi-Brvk1hge.js} +13 -13
  189. package/dist/assets/{VideoPlayer-zSNzleMo-B3Hzh9ni.js → VideoPlayer-9UkKMhGy-QE0dUH77.js} +2 -2
  190. package/dist/assets/{VideoPopup-BTjM2GvI-CfrQhQ9p.js → VideoPopup-rfiYmtio-CZD9BvVe.js} +3 -3
  191. package/dist/assets/{WarningsDrawerPage-C_3XLtV5-DXtwxZOZ.js → WarningsDrawerPage-DrUA4asI-BplyTtEg.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-BlqcQ5a_-C6V_463T.js → ZeniAccountDetailPage-K016HgQt-AvGfMJEL.js} +24 -24
  193. package/dist/assets/{ZeniAccountListViewPage-_jeL_k5F-BYvSnCDl.js → ZeniAccountListViewPage-1oZZynB1-i09iw6my.js} +17 -17
  194. package/dist/assets/{ZeniAccountNavBarPieces-BeWOH_VI-D3WeJkvf.js → ZeniAccountNavBarPieces-C6Oicpue-BKtADLa5.js} +3 -3
  195. package/dist/assets/{ZeniAccountPromoPage-BUDBWd8m-CIMCfIY6.js → ZeniAccountPromoPage-BCgys-YM-COB-XAgg.js} +22 -22
  196. package/dist/assets/{ZeniAccountSetupPage-BD0OhX5Z-CotZyeZ5.js → ZeniAccountSetupPage-BubBgkoa-CqgM5g3P.js} +3 -3
  197. package/dist/assets/ZeniCopyright-BxIwmms--CqjNcAjr.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-BM8wKUEY-DlBYyOPL.js → ZeniTransferAmountSlider-DVJ0puXA-eVW41JkY.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-D4tNYjqP.js → add-to-wallet-DgdBD8_G-Cs3ZFbTn.js} +1 -1
  200. package/dist/assets/{analytics-BTo2lvc5.js → analytics-hCfYtzJT.js} +30 -30
  201. package/dist/assets/{analyticsHelper-BOam8HWk-DTVMIEqW.js → analyticsHelper-CT5zOInj-Du0DTPF_.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BeNcAjzu.js → analyticsHelper-DKGNBdrX.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-BpAbcXNu.js → arrow-south-east-round-PEovUgvH-CzrrwgSg.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DUd0RNlG.js → auto-transfer-rule-mbafm5D3-B_xw5P5j.js} +1 -1
  205. package/dist/assets/{chartTypes-DWf4SAOE-BXMQEiqd.js → chartTypes-Ddw_3-6f-BMc10nJG.js} +1 -1
  206. package/dist/assets/commonDimensions-ClmbdehE-KHSo1WEP.js +1 -0
  207. package/dist/assets/{commonTypes-B6f3YP8V-CbYlRzb2.js → commonTypes-B-foaEwJ-DqsczfuL.js} +1 -1
  208. package/dist/assets/{constants-CfG3jptV.js → constants-y09M8DFT.js} +1 -1
  209. package/dist/assets/{core-CDOHNO2G.js → core-Ce1HnmCU.js} +1 -1
  210. package/dist/assets/{dash.all.min-C7dNtldN.js → dash.all.min-BLN3VaU-.js} +1 -1
  211. package/dist/assets/{detailCommon-ceDAo_fs-K8aKPC4G.js → detailCommon-Cpgf9GLg-CC3Vv-5k.js} +9 -9
  212. package/dist/assets/downloadPdf-DfRYmfsd-0BtHMfPn.js +1 -0
  213. package/dist/assets/{empty-EVjF_gMV.js → empty-BjLibp41.js} +1 -1
  214. package/dist/assets/{empty-hw3sN7vf.js → empty-CHvpDZ25.js} +1 -1
  215. package/dist/assets/epic-CIKGU6HT.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-C8C7NLZp.js → gift-box-Cmt9OgIZ-tPfmdYN9.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DrMXjgQT.js → graphic-no-data-l-DU4J8fDt-DgWqYmly.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bc0Qno8i.js → graphic-no-data-net-burn-l-CzmycA0m-X9wgEFDB.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-1LlZ_i0d.js → handshake-BPg58FML-CvblpTUh.js} +1 -1
  220. package/dist/assets/{helper-C1Mwnd6M-CNavDJqc.js → helper-DP3YY99s-D6TxHUGT.js} +3 -3
  221. package/dist/assets/{index-DE_CqoFx.js → index-BMSo18eq.js} +1 -1
  222. package/dist/assets/{index-Bp4xtOn5.js → index-BWlQ-rZN.js} +1 -1
  223. package/dist/assets/{index-CGTxoCJp.js → index-CbBDw148.js} +4530 -4535
  224. package/dist/assets/{index-DHoIuE2i.js → index-CnMDhZ-z.js} +1 -1
  225. package/dist/assets/{index-B6ONklHc.js → index-DV0-LoHG.js} +1 -1
  226. package/dist/assets/{index-MbFkHHWb.js → index-DXatjVel.js} +1 -1
  227. package/dist/assets/{index-DyMFy4lV.js → index-Dwr9jsgf.js} +1 -1
  228. package/dist/assets/{lexical-BeF2ZgkW.js → lexical-Dk2CPrxk.js} +1 -1
  229. package/dist/assets/{liveblocks-Dn-9djA8.js → liveblocks-ivZsDCw2.js} +1 -1
  230. package/dist/assets/{lottie-BYfhMHcn.js → lottie-solWV_WO.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CktDojF3.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DfVKFmO9.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-NSXq93HU.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-qlQ8jZsM.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-BWh1BdCI.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DB6zUXCA-CmA6qGT1.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BsKSlOwq.js} +1 -1
  237. package/dist/assets/{mui-CD7xFf2d.js → mui-BLUOobNq.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CEsHow4e.js → page-detail-CWX5S47F-mLiSYxOb.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-BwkAFvgw.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-CmFHLU8c.js → radio-default-CiSgisfh-BwLFYKqj.js} +1 -1
  241. package/dist/assets/{react-DtCoLsdE.js → react-BR1Eke5i.js} +1 -1
  242. package/dist/assets/{react-B6PWZDXX.js → react-BZ0TRoDf.js} +1 -1
  243. package/dist/assets/{react-BVvI-Vbl.js → react-ChJntTSM.js} +1 -1
  244. package/dist/assets/{react-BLzPWySR.js → react-DiVyX7it.js} +1 -1
  245. package/dist/assets/{react-CRe95M2Y.js → react-DwW_czRA.js} +3 -3
  246. package/dist/assets/{react-Cxxg-6rQ.js → react-OybbRboE.js} +1 -1
  247. package/dist/assets/{react-DJKM9DI1.js → react-gwEklu5z.js} +2 -2
  248. package/dist/assets/{react-Dc3Fbg1h.js → react-nPRE2jd8.js} +1 -1
  249. package/dist/assets/{recharts-CeYsUNdm.js → recharts-J8hRG6fl.js} +1 -1
  250. package/dist/assets/{sentry-CuNQ_GI9.js → sentry-ClS5bwGc.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BIELJ6pj.js → shield-DOlUxcFf-DyyzcGvz.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B-XUgDD0.js +1 -0
  253. package/dist/assets/toChartData-BEjMhb7--BmOva86j.js +1 -0
  254. package/dist/assets/{uploadAttachment-DiB8ywoD-CoooZKCI.js → uploadAttachment-DUpHzqMe-BojPE85u.js} +21 -21
  255. package/dist/assets/uploadReceipts-Dge0cNF1-B2u8Ku84.js +1 -0
  256. package/dist/assets/{url-CLDcbK8W.js → url-VN-yF4_H.js} +1 -1
  257. package/dist/assets/{url-DvLmNXM-.js → url-ckMdLfnk.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-D_m3f9kb.js → useLongPress-GCK2COYQ-BBsdk_o7.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BHWavx9j.js → usp-line-BBd1wKwW-DYPeqq64.js} +1 -1
  260. package/dist/assets/{utils-i_tuliLj.js → utils-DG8PAOHO.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-BJYsNVul.js → zeni-epic-state-W0HMFHDj.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-qOWGYckl-DjJAccbn.js +0 -21
  265. package/dist/assets/AccountInfoPage-BulzquHY-COb5jSNJ.js +0 -18
  266. package/dist/assets/AccountRow-D1Jqgk7o-DewC0XFv.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-DK5lnDS9-Ctbcl8_3.js +0 -6
  268. package/dist/assets/ApAgingDetailPage-4SahVbGx-ZM0Bqd_F.js +0 -46
  269. package/dist/assets/ApprovalRulesSettingsPage-XgvVBRfh-DhsteiN3.js +0 -47
  270. package/dist/assets/ArAgingDetailPage-DohpExH8-CLRbt3qX.js +0 -46
  271. package/dist/assets/BankAccountWarningSection-BR28A3L4-D_D37qnN.js +0 -51
  272. package/dist/assets/BillDetailPage-BxfrpUM5-DDyFcvs1.js +0 -266
  273. package/dist/assets/BillPayPromoPage-DmRx1E8m-Busj2ugi.js +0 -84
  274. package/dist/assets/BillingSettingsPage-Co8Gw-go-BVCxX7gI.js +0 -44
  275. package/dist/assets/BillsBulkReviewDrawerPage-CfqxLPzs-BaPIvRkm.js +0 -1
  276. package/dist/assets/BusinessVerificationPage-iHBNaf7w-DrLXb-Iq.js +0 -138
  277. package/dist/assets/ConfettiBurst-DgE_527a-D7rXkSFC.js +0 -1
  278. package/dist/assets/CurrencySelectField-CP7MSQnS-BpXGyUMj.js +0 -139
  279. package/dist/assets/CustomerOnboardingContainerPage-B1gZ-xOx-BCHT9pOT.js +0 -1
  280. package/dist/assets/CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js +0 -66
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js +0 -12
  282. package/dist/assets/EditPeoplePage-CDUEfjvF-CJoR5dq4.js +0 -55
  283. package/dist/assets/EditReimbursementDetailPage-BopPLndD-Dub2o4ld.js +0 -865
  284. package/dist/assets/EntityDetailPage-C8mC_pOt-DoBBFGRj.js +0 -18
  285. package/dist/assets/ExpenseAutomationPage-DG1EbsCZ-Cpa7UC9R.js +0 -3001
  286. package/dist/assets/GlobalReviewListPage-C1Tf-wcw-PWdcxabv.js +0 -291
  287. package/dist/assets/InsightsSection-BJeBGbPg-Bqi1LIqW.js +0 -27
  288. package/dist/assets/InternationalWireVerificationPage-CqRSwMQj-e_Ufmweg.js +0 -65
  289. package/dist/assets/InvitePeoplePage-i3nljXL1-BmSEgqup.js +0 -12
  290. package/dist/assets/InvoiceUploadSection-BTcYpKEd-Di1o68Bp.js +0 -140
  291. package/dist/assets/LabeledAddressValueField-ig7qAURp-BZ_M96P1.js +0 -45
  292. package/dist/assets/LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js +0 -41
  293. package/dist/assets/LabeledText-wJQ0djD--Dnw-us69.js +0 -42
  294. package/dist/assets/MagicLinkACHDetailsPage-DGLKqo6T-DNpDGuyV.js +0 -1
  295. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cvp9N2Q2-CSBjjhkO.js +0 -1
  296. package/dist/assets/MagicLinkInternationalWireDetailsPage-CB_rrPUd-Dl0YcL-A.js +0 -1
  297. package/dist/assets/MagicLinkSuccessPage-Da-ZSMMO-DzPXDbZC.js +0 -31
  298. package/dist/assets/MailingDetailsSection-qtLrrSYF-CTuCvSpe.js +0 -21
  299. package/dist/assets/MyPendingActivationChargeCardListPage-DkhJVWBZ-Bfy4AAuw.js +0 -6
  300. package/dist/assets/MyProfileSettingsPage-CSY7ZEU4-BWI8MuR_.js +0 -85
  301. package/dist/assets/NavBarWithPicker-Csqyzu5C-DIH1ugF7.js +0 -30
  302. package/dist/assets/NoDataChart-CggIXqiK-C19sXnTb.js +0 -26
  303. package/dist/assets/NotificationsListConfig-DWL6JqJ8-BmoQcL7E.js +0 -1
  304. package/dist/assets/NotificationsPage-CMVuwCT_-BEJSVcvU.js +0 -685
  305. package/dist/assets/OpExByVendorPage-CbcnZ2ea-Di7lgu5r.js +0 -100
  306. package/dist/assets/PeoplePage-BruWpkMP-BXfRWFlI.js +0 -727
  307. package/dist/assets/QBOSetupSection-DWIulUc2-DlIiV7jG.js +0 -79
  308. package/dist/assets/ReimbursementDetailPage-CK_qij-l-D-oREEKY.js +0 -314
  309. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CyLz0tNA-CsTtoUoK.js +0 -1
  310. package/dist/assets/ReportTableViewSelector-YjVuyNWv-DzbC_6W1.js +0 -150
  311. package/dist/assets/RoleWithToolTip-Cw9gD3N5-ConmKNG4.js +0 -22
  312. package/dist/assets/ScheduleDetailsPage-BzJS3UZ5-DmfXVQSd.js +0 -37
  313. package/dist/assets/ScheduleSequenceTable-CVDT5FaP-B8HlWODo.js +0 -324
  314. package/dist/assets/SignIn-C81zFae4-Dea-gjSZ.js +0 -491
  315. package/dist/assets/SignInScreen-m5WxZ3Sy.js +0 -1
  316. package/dist/assets/SpendManagementListViewPage-BXVWjBXG-BD6dR01P.js +0 -134
  317. package/dist/assets/StatementItem-Pie3qV6--QBqzedQj.js +0 -31
  318. package/dist/assets/TaskManagementPage-Bf7M2Lb4-4_bmrGgs.js +0 -508
  319. package/dist/assets/TimeframeSwitcher-B-jhZqzy-C0mIaCAr.js +0 -31
  320. package/dist/assets/TimeframeSwitcherWithToggle-uBvB9Y4U-DEm424X-.js +0 -31
  321. package/dist/assets/TransactionActivityLogPage-DD1J0Vka-DWx7bBrg.js +0 -195
  322. package/dist/assets/TransactionDetailPage-B5jASgT3-CgTo1hvB.js +0 -903
  323. package/dist/assets/TransactionListPage-BzIAUEs8-MKD80iuh.js +0 -35
  324. package/dist/assets/TreasuryStatementsPage-Dw1TLve3-B04-8PQ3.js +0 -58
  325. package/dist/assets/UploadAdditionalDocumentOverlay-N-_Kdezc-3iy-UCwO.js +0 -38
  326. package/dist/assets/Vendor2FAPopup-CvMY6aLD-DqZVC04g.js +0 -1
  327. package/dist/assets/VendorACHDetailsPage-Dj1SW5L_-CF6jGaAx.js +0 -1
  328. package/dist/assets/VendorDomesticWireDetailsPage-LJc1Pntx-BkWcT3Mq.js +0 -1
  329. package/dist/assets/VendorFirstReviewPage-Cv0DMrBa-D-qTdl-e.js +0 -730
  330. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CG6w1RiA-mOhQd5bG.js +0 -1
  331. package/dist/assets/ZeniCopyright-DPQzZYUR-KHcq5VOQ.js +0 -1
  332. package/dist/assets/commonDimensions-BgUllk7Z-mJRWeU7K.js +0 -1
  333. package/dist/assets/downloadPdf-CKymFYOO-BOWpMv5t.js +0 -1
  334. package/dist/assets/epic-CaPascl_.js +0 -2
  335. package/dist/assets/mapLoadingInProgressToTreeNode-9nfc1Ewm-CsweZHn5.js +0 -1
  336. package/dist/assets/mapSectionWithAcOnlyToTreeNode-Bi6hurdk-xVLnW0yh.js +0 -1
  337. package/dist/assets/mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js +0 -1
  338. package/dist/assets/mapTimeframeBalancesToTreeNode-B9QHM6dt-Be8Q8L2y.js +0 -1
  339. package/dist/assets/mapTimeframeBalancesToTreeNode-EhyCSWUM-BVeTsmlg.js +0 -1
  340. package/dist/assets/panelSelectedMixin-Cddsb26L-ChVQUbpx.js +0 -3
  341. package/dist/assets/toCOABalancesWithID-BHpR5IjE-BC__zjt5.js +0 -1
  342. package/dist/assets/toChartData-wLoMfnuk-B5A976Ge.js +0 -1
  343. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js +0 -1
  344. package/dist/assets/uploadReceipts-Dge0cNF1-DYfDjXeu.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct,cJ as Nt,aT as Tt,x,cK as ot,cL as kt,d as Lt,o as a,an as xe,cM as lt,cN as P,cO as Re,cP as W,cQ as ee,p as T,cR as ge,b3 as ue,cS as st,cT as Pt,cU as Et,cV as it,ay as zt,cW as Vt,cX as nt,cY as At,cZ as _t,c_ as Mt,c$ as Wt,d0 as Bt,bu as Rt,aV as Yt,bb as Q,ak as be,u as I,a as Ye,d1 as Ut,aG as qt,d2 as Gt,ck as Ht,d3 as Xt,ao as Zt,d4 as Jt}from"./index-CGTxoCJp.js";import{a as q,P as Qt}from"./sentry-CuNQ_GI9.js";import{n as i,a as Kt,k as ea}from"./mui-CD7xFf2d.js";import{G1 as ta,G2 as rt,G3 as dt,G4 as ct,G5 as pt,G6 as ut,bj as mt,G7 as Ne,bL as aa,bh as Te,bC as oa,G8 as la}from"./zeni-epic-state-BJYsNVul.js";import{I as ft}from"./LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js";import{Y as ht}from"./LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js";import{p as sa,i as ia,t as na}from"./commonTypes-B6f3YP8V-CbYlRzb2.js";import{b as ra}from"./LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-C1Mwnd6M-CNavDJqc.js";import{$ as gt}from"./LabeledAddressValue-COZsPbp0-DczoqRAG.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="699640ec-cf6d-44f6-8627-ad79e4707b56",e._sentryDebugIdIdentifier="sentry-dbid-699640ec-cf6d-44f6-8627-ad79e4707b56")}catch{}})();const xt={maxWidth:new x(280,340),contentMaxWidth:new x(200,255)},ha=ea`
1
+ import{J as _,d as St,aR as jt,a9 as Dt,cG as vt,F as E,V as t,bD as Ft,ac as Ct,cH as Tt,aS as Nt,y as b,cI as ot,cJ as kt,x as Lt,o as a,al as be,cK as lt,cL as P,cM as Re,cN as W,cO as ee,p as N,cP as ge,b2 as ue,cQ as st,cR as Pt,cS as Et,cT as it,aw as zt,cU as Vt,cV as nt,cW as At,cX as _t,cY as Mt,cZ as Wt,c_ as Bt,bt as Rt,aU as Yt,ba as Q,ai as xe,u as I,i as Ye,c$ as Ut,aE as qt,d0 as Gt,cj as Ht,d1 as Xt,am as Zt,d2 as Jt}from"./index-CbBDw148.js";import{a as q,P as Qt}from"./sentry-ClS5bwGc.js";import{n as i,a as Kt,k as ea}from"./mui-BLUOobNq.js";import{Fk as ta,Fl as rt,Fm as dt,Fn as ct,Fo as pt,Fp as ut,bj as mt,Fq as Te,bL as aa,bh as Ne,bC as oa,Fr as la}from"./zeni-epic-state-W0HMFHDj.js";import{I as ft}from"./LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js";import{Y as ht}from"./LabeledDocumentField-CnRk5aKZ-DcxblEUp.js";import{p as sa,i as ia,t as na}from"./commonTypes-B-foaEwJ-DqsczfuL.js";import{b as ra}from"./LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js";import{x as da,f as ca,p as pa,h as ua,m as yt,b as ma,g as fa}from"./helper-DP3YY99s-D6TxHUGT.js";import{$ as gt}from"./LabeledAddressValue-CQrDCgNs-DLETXjJP.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ef687baf-c5ca-4486-ae66-317bc19afb30",e._sentryDebugIdIdentifier="sentry-dbid-ef687baf-c5ca-4486-ae66-317bc19afb30")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -11,7 +11,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
11
11
  right: ${a.sp3};
12
12
  z-index: 1400;
13
13
  padding: ${a.sp3} ${a.sp4};
14
- max-width: ${e=>xt.maxWidth.valuePx(e.windowSize)};
14
+ max-width: ${e=>bt.maxWidth.valuePx(e.windowSize)};
15
15
  background: ${e=>e.theme.colors.black};
16
16
  border-radius: 12px;
17
17
  box-shadow: ${e=>`${a.sp0} ${a.sp1} ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
@@ -24,30 +24,30 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
24
24
  margin-top: 2px;
25
25
  width: ${a.sp4};
26
26
  height: ${a.sp4};
27
- color: ${T.successDark};
28
- `,xa=i(Bt)`
27
+ color: ${N.successDark};
28
+ `,ba=i(Bt)`
29
29
  margin-top: 2px;
30
30
  width: ${a.sp4};
31
31
  height: ${a.sp4};
32
- color: ${T.important};
33
- `,ba=i.div`
32
+ color: ${N.important};
33
+ `,xa=i.div`
34
34
  margin-top: ${a.sp1};
35
35
  `,wa=i(Yt)`
36
- color: ${T.neutralGrey2Light};
36
+ color: ${N.neutralGrey2Light};
37
37
  `,Ia=i.div`
38
- max-width: ${e=>xt.contentMaxWidth.valuePx(e.windowSize)};
38
+ max-width: ${e=>bt.contentMaxWidth.valuePx(e.windowSize)};
39
39
  margin: ${a.sp0} ${a.sp3};
40
40
  `,$a=i(Rt)`
41
- color: ${e=>e.isSuccess?T.success:T.important};
41
+ color: ${e=>e.isSuccess?N.success:N.important};
42
42
  `,Oa=i.div`
43
43
  width: ${a.sp3};
44
44
  height: ${a.sp3};
45
45
  cursor: pointer;
46
46
  color: ${e=>e.theme.colors.hero};
47
47
  &:hover {
48
- color: ${T.primaryDark};
48
+ color: ${N.primaryDark};
49
49
  }
50
- `,Sa=e=>{const l=E.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function ja(e){const l=_(),{fetchState:u,onRemoveSnackbar:s}=e;q.useEffect(()=>{setTimeout(s,5e3)});const d=E.getLocalizedStrings().companyPassport.snackBar,o=u==="Completed";return t.jsxs(ya,{windowSize:l,children:[o?t.jsx(ga,{}):t.jsx(xa,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(ba,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new x(110,145,180),largeLabelWidth:new x(150,215,215),largeLabelDocumentWidth:new x(150,210,252),paddingBottom:new x(I[3],I[2])};function Da(e){const l=_(),[u,s]=q.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:o},common:{documents:n}}=E.getLocalizedStrings(),{fileProps:m,companyFiles:f,deleteFileStatusById:p,updateFileStatusById:r,sectionId:b,isDisabled:S,companyIncInfo:w,style:F}=e,O=me.labelWidth.value(l),j=me.largeLabelWidth.value(l),$=me.largeLabelDocumentWidth.value(l),{dateFormat:{visual:c},companyPassport:v}=E.getLocalizedStrings(),h=f.find(G=>G.documentType==="certificate_of_incorporation"),M=l==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,oe=l==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(va,{style:F,children:[t.jsx(Ca,{children:d.companyIncInfo.title}),t.jsxs(Fa,{children:[t.jsx(ft,{label:{label:v.companyIncInfo.typeOfInc,width:j},isDisabled:S,creatableSingleSelectField:{name:fe(b,"typeOfInc"),placeholder:oe,defaultValue:{selectedOption:w?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Pt,{label:{label:v.companyIncInfo.stateOfInc,width:j},isDisabled:S,singleSelectField:{name:fe(b,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:w?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Et,{isDisabled:S,label:{label:d.companyIncInfo.incDate,width:O},style:{paddingBottom:me.paddingBottom.valuePx(l)},dateField:{name:fe(b,"incDate"),placeholder:W(d.companyIncInfo.incDate),defaultValue:w?.incDate,dateFormat:c.defaultInput,maxDate:Te(),minDate:aa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(je,{}),t.jsx(ht,{name:fe(b,"certificateOfIncorporation"),isDisabled:S,sizeLimit:it,deleteFileStatusById:p,updateFileStatusById:r,filesEndPoint:m.filesEndPoint,authParams:m.authParams,label:{label:o.certificateOfIncorporation,width:$},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:h,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:u,updateFilesEntity:m.updateFilesEntity,onEditFileName:m.onEditFileName,onDeleteFile:m.onDeleteFile,onFileSizeError:G=>s(G)}),t.jsx(Na,{windowSize:l,isError:u,children:n.formatDocumentText10MB})]})]})}const fe=(e,l)=>`${e}.${l}`,va=i.div`
50
+ `,Sa=e=>{const l=E.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?l.failedText:l.successText};function ja(e){const l=_(),{fetchState:u,onRemoveSnackbar:s}=e;q.useEffect(()=>{setTimeout(s,5e3)});const d=E.getLocalizedStrings().companyPassport.snackBar,o=u==="Completed";return t.jsxs(ya,{windowSize:l,children:[o?t.jsx(ga,{}):t.jsx(ba,{}),t.jsxs(Ia,{windowSize:l,children:[t.jsx($a,{isSuccess:o,children:o?d.success:d.error}),t.jsx(xa,{children:t.jsx(wa,{children:Sa(u)})})]}),t.jsx(Oa,{onClick:s,children:t.jsx(Lt,{})})]})}const me={labelWidth:new b(110,145,180),largeLabelWidth:new b(150,215,215),largeLabelDocumentWidth:new b(150,210,252),paddingBottom:new b(I[3],I[2])};function Da(e){const l=_(),[u,s]=q.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:o},common:{documents:n}}=E.getLocalizedStrings(),{fileProps:m,companyFiles:f,deleteFileStatusById:p,updateFileStatusById:r,sectionId:x,isDisabled:S,companyIncInfo:w,style:F}=e,O=me.labelWidth.value(l),j=me.largeLabelWidth.value(l),$=me.largeLabelDocumentWidth.value(l),{dateFormat:{visual:c},companyPassport:v}=E.getLocalizedStrings(),h=f.find(G=>G.documentType==="certificate_of_incorporation"),M=l==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,oe=l==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(va,{style:F,children:[t.jsx(Ca,{children:d.companyIncInfo.title}),t.jsxs(Fa,{children:[t.jsx(ft,{label:{label:v.companyIncInfo.typeOfInc,width:j},isDisabled:S,creatableSingleSelectField:{name:fe(x,"typeOfInc"),placeholder:oe,defaultValue:{selectedOption:w?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Pt,{label:{label:v.companyIncInfo.stateOfInc,width:j},isDisabled:S,singleSelectField:{name:fe(x,"stateOfInc"),placeholder:M,defaultValue:{selectedOption:w?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(je,{}),t.jsx(Et,{isDisabled:S,label:{label:d.companyIncInfo.incDate,width:O},style:{paddingBottom:me.paddingBottom.valuePx(l)},dateField:{name:fe(x,"incDate"),placeholder:W(d.companyIncInfo.incDate),defaultValue:w?.incDate,dateFormat:c.defaultInput,maxDate:Ne(),minDate:aa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(je,{}),t.jsx(ht,{name:fe(x,"certificateOfIncorporation"),isDisabled:S,sizeLimit:it,deleteFileStatusById:p,updateFileStatusById:r,filesEndPoint:m.filesEndPoint,authParams:m.authParams,label:{label:o.certificateOfIncorporation,width:$},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:h,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:u,updateFilesEntity:m.updateFilesEntity,onEditFileName:m.onEditFileName,onDeleteFile:m.onDeleteFile,onFileSizeError:G=>s(G)}),t.jsx(Ta,{windowSize:l,isError:u,children:n.formatDocumentText10MB})]})]})}const fe=(e,l)=>`${e}.${l}`,va=i.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  padding-top: ${a.sp3};
@@ -68,13 +68,13 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
68
68
  background-color: ${e=>e.theme.colors.grey3};
69
69
  min-height: 1px;
70
70
  max-height: 1px;
71
- `,Na=i(be)`
71
+ `,Ta=i(xe)`
72
72
  padding: ${a.sp1} ${a.sp4};
73
73
  background: ${e=>e.theme.colors.grey4};
74
74
  border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
75
75
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
76
- color: ${e=>e.isError?T.important:e.theme.colors.grey1};
77
- `,Ta=i(Xt)`
76
+ color: ${e=>e.isError?N.important:e.theme.colors.grey1};
77
+ `,Na=i(Xt)`
78
78
  color: ${e=>e.theme.colors.primary};
79
79
  margin-block-start: ${a.sp0};
80
80
  margin-block-end: ${a.sp0};
@@ -91,7 +91,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
91
91
  width: fit-content;
92
92
  margin-left: auto;
93
93
  margin-bottom: ${a.sp2};
94
- `,Pa=e=>{const{labels:l,style:u,listStyleType:s="disc"}=e;return t.jsx(Ta,{style:{...u,listStyleType:s},children:l.filter(d=>d!=null&&d.text!="").map((d,o)=>t.jsxs(ka,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(La,{children:["Started: ",d.subText]}):null]},`${d.text}_${o}`))})},ae={width:new x(343,580,726),paddingTopBottom:new x(I[3],I[3]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(I[3],I[4])};function ye({isDisabled:e,label:l,bullettedLabels:u,style:s}){const d=_();return u.labels.length>0?t.jsxs(Ea,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:ae.labelMarginLeft.value(d),marginRight:ae.labelMarginRight.value(d),width:l.width??"auto"}}),t.jsx(Pa,{...u,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const Ea=i.div`
94
+ `,Pa=e=>{const{labels:l,style:u,listStyleType:s="disc"}=e;return t.jsx(Na,{style:{...u,listStyleType:s},children:l.filter(d=>d!=null&&d.text!="").map((d,o)=>t.jsxs(ka,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(La,{children:["Started: ",d.subText]}):null]},`${d.text}_${o}`))})},ae={width:new b(343,580,726),paddingTopBottom:new b(I[3],I[3]),marginRight:new b(I[2],I[2]),labelMarginLeft:new b(I[3],I[4]),labelMarginRight:new b(I[3],I[4])};function ye({isDisabled:e,label:l,bullettedLabels:u,style:s}){const d=_();return u.labels.length>0?t.jsxs(Ea,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:ae.labelMarginLeft.value(d),marginRight:ae.labelMarginRight.value(d),width:l.width??"auto"}}),t.jsx(Pa,{...u,style:{maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto"}})]}):null}const Ea=i.div`
95
95
  display: flex;
96
96
  flex-direction: row;
97
97
  align-items: flex-start;
@@ -112,7 +112,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
112
112
  border-bottom-left-radius: inherit;
113
113
  border-bottom-right-radius: inherit;
114
114
  }
115
- `,se={labelWidth:new x(110,110,140),mediumLabelWidth:new x(140,140,160),largeLabelWidth:new x(170,170,180),extraLargeLabelWidth:new x(200,250,300),regulatedStatusMaxWidth:new x(343,580,726)},bt=E.getLocalizedStrings(),y=bt.commonSetUp.businessVerification,{companyPassport:N,dateFormat:{analytics:Ue},common:{yes:qe,no:Ge}}=bt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),b=se.labelWidth.value(r),S=se.mediumLabelWidth.value(r),w=se.largeLabelWidth.value(r),F=se.extraLargeLabelWidth.value(r),O=Kt(),{watch:j,setValue:$,formState:{errors:c}}=lt(),v=e.company.company.companyInfo,h=C=>{const V=s?.[C];return V==null?!1:typeof V=="string"&&V===""||Array.isArray(V)&&V.length===0?m===!1:!0},M=h("companySubIndustry"),oe=h("countriesOfOperations"),G=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),H=h("purposeOfAccount"),Y=h("companySourceOfFunds"),ie=j(g(o,"companySourceOfFunds")),ne=j(g(o,"transactionVolume")),K=j(g(o,"regulatedStatus")),re=j(g(o,"usNexus")),X=j(g(o,"purposeOfAccount")),Z=j(g(o,"companyIndustryType")),de=Z?.selectedOption??s?.companyIndustryType,$e=r==="small"?N.companyInfo.businessModelPlaceholderSmall:N.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Ne(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:N.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(N.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(N.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:N.companyInfo.website,width:b},text:{type:"url",name:g(o,"website"),placeholder:W(N.companyInfo.website),defaultValue:s?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(z,{}),M?t.jsx(t.Fragment,{children:t.jsxs(Wa,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ee,{label:{label:y.companyIndustryLabel,width:b},singleSelectField:{singleSelect:{name:g(o,"companyIndustryType"),placeholder:y.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:da,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companyIndustryType,allOptions:[...ut]},onSelectChange:B},isFunctional:!0,errorInfoLabel:y.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),de!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:g(o,"subIndustry"),placeholder:y.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:C=>ca(C,de),isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySubIndustry,allOptions:Ne(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:y.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?y.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:N.companyInfo.industry,width:b},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:N.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Oe,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:s?.industry,allOptions:l?.map(C=>C.code)??[]}},isFunctional:!0}),t.jsx(z,{}),t.jsx(ft,{isDisabled:n,label:{label:N.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:N.companyInfo.allBusinessModels}}}),oe&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ra,{label:{label:y.countriesOfOperationsLabel,width:w},isDisabled:n,additionalInfoLabel:n==null?y.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:g(o,"countriesOfOperations"),placeholder:y.countriesOfOperationsPlaceholder,defaultValue:ot(s?.countriesOfOperations,(u??[]).map(C=>C.countryCode))}})]}),Y&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.companySourceOfFundsLabel,width:w},singleSelectField:{singleSelect:{name:g(o,"companySourceOfFunds"),placeholder:y.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySourceOfFunds,allOptions:[...pt]}},isFunctional:!0,additionalContent:sa.includes(ie?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"companySourceOfFundsDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-w,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?void 0:y.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),G&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.transactionVolumeLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"transactionVolume"),placeholder:y.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ua,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.transactionVolume,allOptions:[...ct]}},isFunctional:!0,additionalContent:ia.includes(ne?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"transactionVolumeDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.transactionVolumeDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.transactionVolumeDescription!=null?void 0:y.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),we&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.regulatedStatusLabel,htmlFor:g(o,"regulatedStatus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:g(o,"regulatedStatusDescription"),placeholder:y.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.regulatedStatusDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[o]!=null&&c[o]?.regulatedStatus!=null?t.jsx(De,{windowSize:r,children:y.regulatedStatusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.regulatedStatusDescription!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.usNexusLabel,htmlFor:g(o,"usNexus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),re==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ba,{hasError:c[o]!=null&&c[o]?.usNexusTypes!=null,children:t.jsx(yt,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:g(o,"usNexusTypes"),placeholder:y.usNexusPlaceholder,getOptionLabel:ma,defaultValue:{selectedOptions:s?.usNexusTypes??[],allOptions:[...dt]},registerOptions:{required:n==null,shouldUnregister:!0,validate:C=>{const V=C?.selectedOptions;return V!=null&&V.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[o]!=null&&c[o]?.usNexusTypes!=null&&t.jsx(De,{windowSize:r,children:y.usNexusTypesError})]}),c[o]!=null&&c[o]?.usNexus!=null?t.jsx(De,{windowSize:r,children:y.usNexusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.usNexusTypes!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.purposeOfAccountLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"purposeOfAccount"),placeholder:y.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.purposeOfAccount,allOptions:[...rt]}},isFunctional:!0,additionalContent:na.includes(X?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"purposeOfAccountDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?T.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?void 0:y.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(z,{}),t.jsx(gt,{isDisabled:n,label:{label:N.companyInfo.address,width:b},addressValue:{placeholder:W(N.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:N.companyInfo.phone,width:b},text:{name:g(o,"phone"),placeholder:W(N.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:N.companyInfo.fiscalYear,width:b},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Te().month(l[0]-1).format(Ue.MMMFormat)} to ${Te().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
115
+ `,se={labelWidth:new b(110,110,140),mediumLabelWidth:new b(140,140,160),largeLabelWidth:new b(170,170,180),extraLargeLabelWidth:new b(200,250,300),regulatedStatusMaxWidth:new b(343,580,726)},xt=E.getLocalizedStrings(),y=xt.commonSetUp.businessVerification,{companyPassport:T,dateFormat:{analytics:Ue},common:{yes:qe,no:Ge}}=xt;function za({companyViewData:e,allIndustries:l,allNationalityCountries:u,companyInfo:s,companyAddress:d,sectionId:o,isDisabled:n,isCompanyVerified:m,onCompanyAddressClick:f,style:p}){const r=_(),x=se.labelWidth.value(r),S=se.mediumLabelWidth.value(r),w=se.largeLabelWidth.value(r),F=se.extraLargeLabelWidth.value(r),O=Kt(),{watch:j,setValue:$,formState:{errors:c}}=lt(),v=e.company.company.companyInfo,h=C=>{const V=s?.[C];return V==null?!1:typeof V=="string"&&V===""||Array.isArray(V)&&V.length===0?m===!1:!0},M=h("companySubIndustry"),oe=h("countriesOfOperations"),G=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),H=h("purposeOfAccount"),Y=h("companySourceOfFunds"),ie=j(g(o,"companySourceOfFunds")),ne=j(g(o,"transactionVolume")),K=j(g(o,"regulatedStatus")),re=j(g(o,"usNexus")),X=j(g(o,"purposeOfAccount")),Z=j(g(o,"companyIndustryType")),de=Z?.selectedOption??s?.companyIndustryType,$e=r==="small"?T.companyInfo.businessModelPlaceholderSmall:T.companyInfo.businessModelPlaceholder,Oe=C=>l.find(V=>V.code===C)?.name??C,B=C=>{$(g(o,"subIndustry"),{selectedOption:void 0,allOptions:Te(C)})};return t.jsxs(Aa,{style:p,children:[t.jsx(Ma,{children:T.companyInfo.title}),t.jsxs(_a,{children:[t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.companyName,width:w},text:{type:"text",name:g(o,"companyName"),placeholder:W(T.companyInfo.companyName),defaultValue:s?.companyName,autoComplete:"new-password",options:{required:!!v.name,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.legalName,width:S},text:{type:"text",name:g(o,"legalName"),placeholder:W(T.companyInfo.legalName),defaultValue:s?.legalName,autoComplete:"new-password",options:{required:!!v.companyLegalName,pattern:Re}}}),t.jsx(z,{}),t.jsx(P,{isDisabled:n,label:{label:T.companyInfo.website,width:x},text:{type:"url",name:g(o,"website"),placeholder:W(T.companyInfo.website),defaultValue:s?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(z,{}),M?t.jsx(t.Fragment,{children:t.jsxs(Wa,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ee,{label:{label:y.companyIndustryLabel,width:x},singleSelectField:{singleSelect:{name:g(o,"companyIndustryType"),placeholder:y.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:da,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companyIndustryType,allOptions:[...ut]},onSelectChange:B},isFunctional:!0,errorInfoLabel:y.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),de!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:g(o,"subIndustry"),placeholder:y.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:C=>ca(C,de),isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySubIndustry,allOptions:Te(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:y.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?y.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:O.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:T.companyInfo.industry,width:x},singleSelectField:{singleSelect:{name:g(o,"industry"),placeholder:T.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Oe,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:s?.industry,allOptions:l?.map(C=>C.code)??[]}},isFunctional:!0}),t.jsx(z,{}),t.jsx(ft,{isDisabled:n,label:{label:T.companyInfo.businessModel,width:w},creatableSingleSelectField:{name:g(o,"businessModel"),placeholder:$e,defaultValue:{selectedOption:s?.businessModel,allOptions:T.companyInfo.allBusinessModels}}}),oe&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ra,{label:{label:y.countriesOfOperationsLabel,width:w},isDisabled:n,additionalInfoLabel:n==null?y.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:g(o,"countriesOfOperations"),placeholder:y.countriesOfOperationsPlaceholder,defaultValue:ot(s?.countriesOfOperations,(u??[]).map(C=>C.countryCode))}})]}),Y&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.companySourceOfFundsLabel,width:w},singleSelectField:{singleSelect:{name:g(o,"companySourceOfFunds"),placeholder:y.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.companySourceOfFunds,allOptions:[...pt]}},isFunctional:!0,additionalContent:sa.includes(ie?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"companySourceOfFundsDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-w,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.companySourceOfFundsDescription!=null?void 0:y.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),G&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.transactionVolumeLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"transactionVolume"),placeholder:y.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ua,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.transactionVolume,allOptions:[...ct]}},isFunctional:!0,additionalContent:ia.includes(ne?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"transactionVolumeDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.transactionVolumeDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.transactionVolumeDescription!=null?void 0:y.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),we&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.regulatedStatusLabel,htmlFor:g(o,"regulatedStatus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"regulatedStatus"),id:`${g(o,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:g(o,"regulatedStatusDescription"),placeholder:y.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.regulatedStatusDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[o]!=null&&c[o]?.regulatedStatus!=null?t.jsx(De,{windowSize:r,children:y.regulatedStatusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.regulatedStatusDescription!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(He,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Xe,{children:[t.jsx(ge,{label:y.usNexusLabel,htmlFor:g(o,"usNexus"),isDisabled:n,style:{width:w,color:n==="disabled"?O.colors.grey1:O.colors.hero}}),t.jsxs(Ze,{labelWidth:w,windowSize:r,children:[t.jsx(ue,{label:{label:qe},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ue,{label:{label:Ge},style:{width:"auto"},radioField:{name:g(o,"usNexus"),id:`${g(o,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),re==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ba,{hasError:c[o]!=null&&c[o]?.usNexusTypes!=null,children:t.jsx(yt,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:g(o,"usNexusTypes"),placeholder:y.usNexusPlaceholder,getOptionLabel:ma,defaultValue:{selectedOptions:s?.usNexusTypes??[],allOptions:[...dt]},registerOptions:{required:n==null,shouldUnregister:!0,validate:C=>{const V=C?.selectedOptions;return V!=null&&V.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[o]!=null&&c[o]?.usNexusTypes!=null&&t.jsx(De,{windowSize:r,children:y.usNexusTypesError})]}),c[o]!=null&&c[o]?.usNexus!=null?t.jsx(De,{windowSize:r,children:y.usNexusError.replace("_product_type_","company details")}):c[o]!=null&&c[o]?.usNexusTypes!=null?null:n==null?t.jsx(Je,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsx(ee,{label:{label:y.purposeOfAccountLabel,width:F},singleSelectField:{singleSelect:{name:g(o,"purposeOfAccount"),placeholder:y.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s?.purposeOfAccount,allOptions:[...rt]}},isFunctional:!0,additionalContent:na.includes(X?.selectedOption)?t.jsx(P,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:g(o,"purposeOfAccountDescription"),placeholder:y.descriptionPlaceholder,style:{backgroundColor:c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?N.importantLight:O.colors.background},options:{}},additionalInfoLabel:y.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-F,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||c[o]!=null&&c[o]?.purposeOfAccountDescription!=null?void 0:y.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:O.colors.hero}})]}),t.jsx(z,{}),t.jsx(gt,{isDisabled:n,label:{label:T.companyInfo.address,width:x},addressValue:{placeholder:W(T.companyInfo.address),address:d?.addressToCreate,onClick:()=>f("company_address")}}),t.jsx(z,{}),t.jsx(st,{isDisabled:n,label:{label:T.companyInfo.phone,width:x},text:{name:g(o,"phone"),placeholder:W(T.companyInfo.phone),defaultValue:s?.phone,autoComplete:"new-password"}}),t.jsx(z,{}),t.jsx(ye,{label:{label:T.companyInfo.fiscalYear,width:x},bullettedLabels:{labels:[{text:Va(s?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const Va=e=>{const{fiscalYearMonths:l}=la(e);return`${Ne().month(l[0]-1).format(Ue.MMMFormat)} to ${Ne().month(l[11]-1).format(Ue.MMMFormat)}`},g=(e,l)=>`${e}.${l}`,Aa=i.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${a.sp3};
@@ -187,23 +187,23 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
187
187
  justify-content: flex-end;
188
188
  flex-grow: 1;
189
189
  padding-right: ${a.sp3};
190
- `,Je=i(be)`
190
+ `,Je=i(xe)`
191
191
  color: ${e=>e.theme.colors.hero};
192
192
  text-align: right;
193
193
  padding-right: ${a.sp3};
194
- `,De=i(be)`
195
- color: ${T.important};
194
+ `,De=i(xe)`
195
+ color: ${N.important};
196
196
  text-align: right;
197
197
  padding-right: ${a.sp3};
198
198
  `,Ba=i.div`
199
199
  width: 100%;
200
200
  & > div {
201
- background-color: ${e=>e.hasError===!0?T.importantLight:e.theme.colors.background};
201
+ background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background};
202
202
  }
203
203
  & .select-control {
204
- background-color: ${e=>e.hasError===!0?T.importantLight:e.theme.colors.background} !important;
204
+ background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
205
205
  }
206
- `,ke={labelWidth:new x(110,110,140),buttonWidth:new x(70,70)};function Ra({sectionId:e,isDisabled:l,style:u,officer:s,officerAddress:d,isEmptyCompanyOfficerSection:o,onOfficerAddressClick:n}){const m=_(),f=E.getLocalizedStrings().companyPassport,p=ke.labelWidth.value(m),r=o&&(s==null||!s.firstName&&!s.lastName&&!s.phone&&!s.email&&!d),b=s?.userId==null||s?.userId==="";return t.jsxs(Ha,{style:u,children:[t.jsx(nt,{isDisabled:l,label:{label:f.companyOfficer.name,width:p},nameField:{name:ve(e,"name"),placeHolder:{firstName:f.companyOfficer.firstNamePlaceholder,lastName:f.companyOfficer.lastNamePlaceholder,name:f.companyOfficer.namePlaceholder},defaultValue:{firstName:s?.firstName??"",lastName:s?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Fe,{}),t.jsx(P,{isDisabled:b?l:"readonly",label:{label:f.companyOfficer.email,width:p},text:{type:"email",name:ve(e,"email"),placeholder:W(f.companyOfficer.email),options:{required:r===!0?!1:b},defaultValue:s?.email,autoComplete:"new-password"}}),t.jsx(Fe,{}),t.jsx(gt,{isDisabled:l,label:{label:f.companyInfo.address,width:p},addressValue:{placeholder:W(f.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(s?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Fe,{}),t.jsx(st,{isDisabled:l,label:{label:f.companyOfficer.phone,width:p},text:{name:ve(e,"phone"),placeholder:W(f.companyOfficer.phone),defaultValue:s?.phone,autoComplete:"new-password"}})]})}function Ya({companyOfficers:e,sectionId:l,style:u,isDisabled:s,onOfficerAddressClick:d}){const{setValue:o,getValues:n}=lt(),[m,f]=q.useState(-1),p=E.getLocalizedStrings().companyPassport,r=e.length,b=e.length===1&&e[0].localData?.userId==null,S=n(l),w=()=>{const $={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};o(l,[...S,$])},F=$=>{if(e[$].localData==null||!e[$].localData?.firstName&&!e[$].localData?.lastName&&!e[$].localData?.phone&&!e[$].localData?.email&&!e[$].addressStatus?.addressToCreate){const c=S.filter((v,h)=>h!==m);o(l,c),f(-1)}else f($)},O=()=>{f(-1)},j=()=>{const $=S.filter((c,v)=>v!==m);o(l,$),f(-1)};return t.jsxs(Ga,{style:u,children:[t.jsx(Xa,{children:p.companyOfficer.title}),e.map(($,c)=>{const v=$.localData,h=$.addressStatus,M=v?.userId==null||v?.userId==="";return t.jsxs(Za,{children:[(r>1||M)&&!b?t.jsx(Ua,{curIndex:c,isNewUser:M,numberOfOfficers:r,deleteConfirmationIndex:m,isDisabled:s,onDeleteClick:F,onCancelClick:O,onRemoveOfficerSection:j}):null,t.jsx(Ra,{sectionId:`${l}.${c}`,officer:v,officerAddress:h,isDisabled:s,isEmptyCompanyOfficerSection:b,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!b?t.jsx(qa,{isSectionDisabled:s,onAddOfficerSection:w}):t.jsx(Le,{})]})}const Ua=({curIndex:e,isNewUser:l,numberOfOfficers:u,deleteConfirmationIndex:s,isDisabled:d,onDeleteClick:o,onCancelClick:n,onRemoveOfficerSection:m})=>{const f=_(),p=E.getLocalizedStrings().companyPassport;return t.jsxs(Ja,{children:[t.jsx(Qa,{children:u>1?`${p.companyOfficer.officer} ${e+1}`:""}),l&&d==null?s===e?t.jsx(oo,{children:t.jsxs(lo,{children:[p.companyOfficer.deleteConfirmation,t.jsx(Ye,{label:p.cancel,onClick:n,style:{width:ke.buttonWidth.value(f),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Ye,{label:p.remove,onClick:m,style:{width:ke.buttonWidth.value(f)},size:"small",variant:"danger"})]})}):t.jsx(ao,{className:"delete-icon-wrapper",onClick:()=>o(e),children:t.jsx(Ut,{width:I[3],height:I[3],color:T.important})}):null]})},qa=({isSectionDisabled:e,onAddOfficerSection:l})=>{const u=E.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Le,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{onClick:l,children:[t.jsx(eo,{}),t.jsx(to,{children:u.companyOfficer.addOfficer})]}),t.jsx(Le,{})]})},ve=(e,l)=>`${e}.${l}`,Ga=i.div`
206
+ `,ke={labelWidth:new b(110,110,140),buttonWidth:new b(70,70)};function Ra({sectionId:e,isDisabled:l,style:u,officer:s,officerAddress:d,isEmptyCompanyOfficerSection:o,onOfficerAddressClick:n}){const m=_(),f=E.getLocalizedStrings().companyPassport,p=ke.labelWidth.value(m),r=o&&(s==null||!s.firstName&&!s.lastName&&!s.phone&&!s.email&&!d),x=s?.userId==null||s?.userId==="";return t.jsxs(Ha,{style:u,children:[t.jsx(nt,{isDisabled:l,label:{label:f.companyOfficer.name,width:p},nameField:{name:ve(e,"name"),placeHolder:{firstName:f.companyOfficer.firstNamePlaceholder,lastName:f.companyOfficer.lastNamePlaceholder,name:f.companyOfficer.namePlaceholder},defaultValue:{firstName:s?.firstName??"",lastName:s?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Fe,{}),t.jsx(P,{isDisabled:x?l:"readonly",label:{label:f.companyOfficer.email,width:p},text:{type:"email",name:ve(e,"email"),placeholder:W(f.companyOfficer.email),options:{required:r===!0?!1:x},defaultValue:s?.email,autoComplete:"new-password"}}),t.jsx(Fe,{}),t.jsx(gt,{isDisabled:l,label:{label:f.companyInfo.address,width:p},addressValue:{placeholder:W(f.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(s?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Fe,{}),t.jsx(st,{isDisabled:l,label:{label:f.companyOfficer.phone,width:p},text:{name:ve(e,"phone"),placeholder:W(f.companyOfficer.phone),defaultValue:s?.phone,autoComplete:"new-password"}})]})}function Ya({companyOfficers:e,sectionId:l,style:u,isDisabled:s,onOfficerAddressClick:d}){const{setValue:o,getValues:n}=lt(),[m,f]=q.useState(-1),p=E.getLocalizedStrings().companyPassport,r=e.length,x=e.length===1&&e[0].localData?.userId==null,S=n(l),w=()=>{const $={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};o(l,[...S,$])},F=$=>{if(e[$].localData==null||!e[$].localData?.firstName&&!e[$].localData?.lastName&&!e[$].localData?.phone&&!e[$].localData?.email&&!e[$].addressStatus?.addressToCreate){const c=S.filter((v,h)=>h!==m);o(l,c),f(-1)}else f($)},O=()=>{f(-1)},j=()=>{const $=S.filter((c,v)=>v!==m);o(l,$),f(-1)};return t.jsxs(Ga,{style:u,children:[t.jsx(Xa,{children:p.companyOfficer.title}),e.map(($,c)=>{const v=$.localData,h=$.addressStatus,M=v?.userId==null||v?.userId==="";return t.jsxs(Za,{children:[(r>1||M)&&!x?t.jsx(Ua,{curIndex:c,isNewUser:M,numberOfOfficers:r,deleteConfirmationIndex:m,isDisabled:s,onDeleteClick:F,onCancelClick:O,onRemoveOfficerSection:j}):null,t.jsx(Ra,{sectionId:`${l}.${c}`,officer:v,officerAddress:h,isDisabled:s,isEmptyCompanyOfficerSection:x,onOfficerAddressClick:d})]},v?.officerType)}),r<=9&&!x?t.jsx(qa,{isSectionDisabled:s,onAddOfficerSection:w}):t.jsx(Le,{})]})}const Ua=({curIndex:e,isNewUser:l,numberOfOfficers:u,deleteConfirmationIndex:s,isDisabled:d,onDeleteClick:o,onCancelClick:n,onRemoveOfficerSection:m})=>{const f=_(),p=E.getLocalizedStrings().companyPassport;return t.jsxs(Ja,{children:[t.jsx(Qa,{children:u>1?`${p.companyOfficer.officer} ${e+1}`:""}),l&&d==null?s===e?t.jsx(oo,{children:t.jsxs(lo,{children:[p.companyOfficer.deleteConfirmation,t.jsx(Ye,{label:p.cancel,onClick:n,style:{width:ke.buttonWidth.value(f),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(Ye,{label:p.remove,onClick:m,style:{width:ke.buttonWidth.value(f)},size:"small",variant:"danger"})]})}):t.jsx(ao,{className:"delete-icon-wrapper",onClick:()=>o(e),children:t.jsx(Ut,{width:I[3],height:I[3],color:N.important})}):null]})},qa=({isSectionDisabled:e,onAddOfficerSection:l})=>{const u=E.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Le,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ka,{onClick:l,children:[t.jsx(eo,{}),t.jsx(to,{children:u.companyOfficer.addOfficer})]}),t.jsx(Le,{})]})},ve=(e,l)=>`${e}.${l}`,Ga=i.div`
207
207
  display: flex;
208
208
  flex-direction: column;
209
209
  padding-top: ${a.sp3};
@@ -238,7 +238,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
238
238
  .delete-icon-wrapper {
239
239
  display: none;
240
240
  }
241
- `,Qa=i(xe)``,Ka=i.div`
241
+ `,Qa=i(be)``,Ka=i.div`
242
242
  padding: ${a.sp3};
243
243
  display: flex;
244
244
  align-items: center;
@@ -271,7 +271,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
271
271
  cursor: pointer;
272
272
  `,oo=i.div`
273
273
  display: flex;
274
- `,lo=i(xe)`
274
+ `,lo=i(be)`
275
275
  color: ${e=>e.theme.colors.hero};
276
276
  `,Fe=i.div`
277
277
  display: flex;
@@ -279,7 +279,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
279
279
  background-color: ${e=>e.theme.colors.grey3};
280
280
  min-height: 1px;
281
281
  max-height: 1px;
282
- `,Qe={labelWidth:new x(160,160,160),largeLabelWidth:new x(150,215,215)};function so(e){const l=_(),u=zt(),[s,d]=q.useState(!1),{companyPassport:o,commonSetUp:{businessVerification:n},common:{documents:m}}=E.getLocalizedStrings(),{fileProps:f,companyFiles:p,deleteFileStatusById:r,updateFileStatusById:b,sectionId:S,isDisabled:w,companyTaxInfo:F,style:O}=e,j=Qe.labelWidth.value(l),$=Qe.largeLabelWidth.value(l),c=!oa(u.loggedInUserRole??[]),v=p.find(h=>h.documentType==="tax_ein");return t.jsxs(io,{style:O,children:[t.jsx(ro,{children:o.companyTaxInfo.title}),t.jsxs(no,{children:[t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:te(S,"taxIdOrEIN"),placeholder:o.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?o.protectedContent:F?.taxIdOrEIN,options:{pattern:Vt},autoComplete:"new-password"},protectedInfoText:c===!0?o.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:te(S,"dunsNumber"),placeholder:o.companyTaxInfo.dunsNumberPlaceholder,defaultValue:F?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:te(S,"naicsCode"),placeholder:o.companyTaxInfo.naicsCodePlaceholder,defaultValue:F?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.sicCode,width:j},text:{type:"text",name:te(S,"sicCode"),placeholder:o.companyTaxInfo.sicCodePlaceholder,defaultValue:F?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(yt,{isDisabled:w,label:{label:o.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:te(S,"taxesFiledYears"),placeholder:o.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:F?.taxesFiledYears.map(h=>h.toString())??[],allOptions:mt().map(h=>h.toString())}}}),t.jsx(le,{}),t.jsx(ht,{name:te(S,"einDocument"),isDisabled:w,sizeLimit:it,deleteFileStatusById:r,updateFileStatusById:b,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:n.einDocument,width:$},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:v,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:s,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:h=>d(h)}),t.jsx(co,{windowSize:l,isError:s,children:m.formatDocumentText10MB})]})]})}const te=(e,l)=>`${e}.${l}`,io=i.div`
282
+ `,Qe={labelWidth:new b(160,160,160),largeLabelWidth:new b(150,215,215)};function so(e){const l=_(),u=zt(),[s,d]=q.useState(!1),{companyPassport:o,commonSetUp:{businessVerification:n},common:{documents:m}}=E.getLocalizedStrings(),{fileProps:f,companyFiles:p,deleteFileStatusById:r,updateFileStatusById:x,sectionId:S,isDisabled:w,companyTaxInfo:F,style:O}=e,j=Qe.labelWidth.value(l),$=Qe.largeLabelWidth.value(l),c=!oa(u.loggedInUserRole??[]),v=p.find(h=>h.documentType==="tax_ein");return t.jsxs(io,{style:O,children:[t.jsx(ro,{children:o.companyTaxInfo.title}),t.jsxs(no,{children:[t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:te(S,"taxIdOrEIN"),placeholder:o.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?o.protectedContent:F?.taxIdOrEIN,options:{pattern:Vt},autoComplete:"new-password"},protectedInfoText:c===!0?o.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:te(S,"dunsNumber"),placeholder:o.companyTaxInfo.dunsNumberPlaceholder,defaultValue:F?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:te(S,"naicsCode"),placeholder:o.companyTaxInfo.naicsCodePlaceholder,defaultValue:F?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(P,{isDisabled:w,label:{label:o.companyTaxInfo.sicCode,width:j},text:{type:"text",name:te(S,"sicCode"),placeholder:o.companyTaxInfo.sicCodePlaceholder,defaultValue:F?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(le,{}),t.jsx(yt,{isDisabled:w,label:{label:o.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:te(S,"taxesFiledYears"),placeholder:o.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:F?.taxesFiledYears.map(h=>h.toString())??[],allOptions:mt().map(h=>h.toString())}}}),t.jsx(le,{}),t.jsx(ht,{name:te(S,"einDocument"),isDisabled:w,sizeLimit:it,deleteFileStatusById:r,updateFileStatusById:x,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:n.einDocument,width:$},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:v,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:s,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:h=>d(h)}),t.jsx(co,{windowSize:l,isError:s,children:m.formatDocumentText10MB})]})]})}const te=(e,l)=>`${e}.${l}`,io=i.div`
283
283
  display: flex;
284
284
  flex-direction: column;
285
285
  padding-top: ${a.sp3};
@@ -300,13 +300,13 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
300
300
  background-color: ${e=>e.theme.colors.grey3};
301
301
  min-height: 1px;
302
302
  max-height: 1px;
303
- `,co=i(be)`
303
+ `,co=i(xe)`
304
304
  padding: ${a.sp1} ${a.sp4};
305
305
  background: ${e=>e.theme.colors.grey4};
306
306
  border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
307
307
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
308
- color: ${e=>e.isError?T.important:e.theme.colors.grey1};
309
- `,po={labelWidth:new x(100,100,140)};function uo({sectionId:e,isDisabled:l,primaryContact:u,style:s}){const d=_(),o=E.getLocalizedStrings().companyPassport,n=po.labelWidth.value(d),m=u==null;return t.jsxs(mo,{style:s,children:[t.jsx(ho,{children:o.primaryContact.title}),t.jsxs(fo,{children:[t.jsx(nt,{isDisabled:l,label:{label:o.primaryContact.name,width:n},nameField:{name:Ke(e,"name"),placeHolder:{firstName:o.primaryContact.firstNamePlaceholder,lastName:o.primaryContact.lastNamePlaceholder,name:o.primaryContact.namePlaceholder},defaultValue:{firstName:u?.firstName??"",lastName:u?.lastName??""},autoComplete:"new-password",registerOptions:{required:m!==!0},showFullNameError:!0}}),t.jsx(yo,{}),t.jsx(P,{isDisabled:l,label:{label:o.primaryContact.email,width:n},text:{type:"email",name:Ke(e,"email"),placeholder:W(o.primaryContact.email),defaultValue:u?.email,autoComplete:"new-password",options:{required:m!==!0}}})]})]})}const Ke=(e,l)=>`${e}.${l}`,mo=i.div`
308
+ color: ${e=>e.isError?N.important:e.theme.colors.grey1};
309
+ `,po={labelWidth:new b(100,100,140)};function uo({sectionId:e,isDisabled:l,primaryContact:u,style:s}){const d=_(),o=E.getLocalizedStrings().companyPassport,n=po.labelWidth.value(d),m=u==null;return t.jsxs(mo,{style:s,children:[t.jsx(ho,{children:o.primaryContact.title}),t.jsxs(fo,{children:[t.jsx(nt,{isDisabled:l,label:{label:o.primaryContact.name,width:n},nameField:{name:Ke(e,"name"),placeHolder:{firstName:o.primaryContact.firstNamePlaceholder,lastName:o.primaryContact.lastNamePlaceholder,name:o.primaryContact.namePlaceholder},defaultValue:{firstName:u?.firstName??"",lastName:u?.lastName??""},autoComplete:"new-password",registerOptions:{required:m!==!0},showFullNameError:!0}}),t.jsx(yo,{}),t.jsx(P,{isDisabled:l,label:{label:o.primaryContact.email,width:n},text:{type:"email",name:Ke(e,"email"),placeholder:W(o.primaryContact.email),defaultValue:u?.email,autoComplete:"new-password",options:{required:m!==!0}}})]})]})}const Ke=(e,l)=>`${e}.${l}`,mo=i.div`
310
310
  display: flex;
311
311
  flex-direction: column;
312
312
  padding-top: ${a.sp3};
@@ -335,24 +335,24 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
335
335
  :not(:first-of-type) {
336
336
  margin-left: ${a.sp3};
337
337
  }
338
- `,xo=i.div`
338
+ `,bo=i.div`
339
339
  display: flex;
340
340
  flex-direction: row;
341
341
  justify-content: flex-end;
342
342
  align-items: center;
343
343
  color: ${e=>e.theme.colors.primary};
344
- `,bo=()=>t.jsx(xo,{children:"–"}),wo=i.div`
344
+ `,xo=()=>t.jsx(bo,{children:"–"}),wo=i.div`
345
345
  padding: 6px ${a.sp2};
346
346
  white-space: nowrap;
347
347
  overflow: hidden;
348
348
  text-overflow: ellipsis;
349
- `,Io=i(xe)`
349
+ `,Io=i(be)`
350
350
  color: ${e=>e.theme.colors.primary};
351
351
  align-items: center;
352
352
  justify-content: flex-end;
353
353
  display: flex;
354
354
  padding: 0 ${a.sp3};
355
- `,$o=e=>{const{users:l,style:u}=e;return t.jsx(Io,{style:u,children:l.length!==0?l.filter(s=>!!s.firstName||!!s.lastName).map(s=>t.jsxs(go,{children:[t.jsx(wo,{children:`${s.firstName} ${s.lastName}`}),t.jsx(Jt,{name:`${s.firstName} ${s.lastName}`,size:a.sp4})]},s.userId)):t.jsx(bo,{})})},R={width:new x(343,580,726),height:new x(I[6],I[6]),controlHeight:new x(I[6],I[6]),paddingTopBottom:new x(I[2],I[2]),marginRight:new x(I[2],I[2]),labelMarginLeft:new x(I[3],I[4]),labelMarginRight:new x(I[3],I[4]),labelMarginTop:new x(I[2],I[2])};function Oo({isDisabled:e,label:l,avatarLabels:u,style:s}){const d=_();return t.jsxs(jo,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:R.labelMarginLeft.value(d),marginRight:R.labelMarginRight.value(d),marginTop:R.labelMarginTop.value(d),width:l.width??"auto"}}),t.jsx($o,{users:u.users,style:{minHeight:R.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto",...u.style}})]})}const So=Qt.memo(Oo,qt),jo=i.div`
355
+ `,$o=e=>{const{users:l,style:u}=e;return t.jsx(Io,{style:u,children:l.length!==0?l.filter(s=>!!s.firstName||!!s.lastName).map(s=>t.jsxs(go,{children:[t.jsx(wo,{children:`${s.firstName} ${s.lastName}`}),t.jsx(Jt,{name:`${s.firstName} ${s.lastName}`,size:a.sp4})]},s.userId)):t.jsx(xo,{})})},R={width:new b(343,580,726),height:new b(I[6],I[6]),controlHeight:new b(I[6],I[6]),paddingTopBottom:new b(I[2],I[2]),marginRight:new b(I[2],I[2]),labelMarginLeft:new b(I[3],I[4]),labelMarginRight:new b(I[3],I[4]),labelMarginTop:new b(I[2],I[2])};function Oo({isDisabled:e,label:l,avatarLabels:u,style:s}){const d=_();return t.jsxs(jo,{size:d,style:s,children:[t.jsx(ge,{isDisabled:e,label:l.label,style:{marginLeft:R.labelMarginLeft.value(d),marginRight:R.labelMarginRight.value(d),marginTop:R.labelMarginTop.value(d),width:l.width??"auto"}}),t.jsx($o,{users:u.users,style:{minHeight:R.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:l.width!=null?`calc(100% - ${l.width}px)`:"auto",...u.style}})]})}const So=Qt.memo(Oo,qt),jo=i.div`
356
356
  display: flex;
357
357
  flex-direction: row;
358
358
  align-items: flex-start;
@@ -372,7 +372,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
372
372
  border-bottom-left-radius: inherit;
373
373
  border-bottom-right-radius: inherit;
374
374
  }
375
- `,Ce={labelWidth:new x(100,100,140),mediumLabelWidth:new x(140,150,160),largeLabelWidth:new x(160,180,180)};function Do({data:e,companyInfo:l,sectionId:u,isDisabled:s,isZeniUser:d,onScheduleClick:o}){const n=_(),{companyPassport:m,dateFormat:{visual:f}}=E.getLocalizedStrings(),p=Ce.labelWidth.value(n),r=Ce.mediumLabelWidth.value(n),b=Ce.largeLabelWidth.value(n),S=e.company.company,{controllers:w,subscriptions:F}=e,{managementInfo:O}=S,j=n==="small"?m.zeniFinanceTeam.scheduleCallPlaceholderSmall:m.zeniFinanceTeam.scheduleCallPlaceholder,$=F.filter(h=>h.plan?.plan.name!=null).map(h=>({text:h.plan?.plan.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})),c=At(F.map(h=>h.addOns.map(M=>({text:M.addOn.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})))),v=O.receiverEmails.map(h=>({text:h}));return t.jsxs(Fo,{children:[t.jsx(No,{children:m.zeniFinanceTeam.title}),t.jsxs(Co,{children:[t.jsx(So,{label:{label:m.zeniFinanceTeam.controller,width:r},avatarLabels:{users:w.map(h=>h.user)}}),t.jsx(he,{}),d===!0?t.jsx(P,{isDisabled:s,label:{label:m.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:vo(u,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):l?.meetingLink!=null?t.jsx(Mt,{label:{label:m.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:m.zeniFinanceTeam.schedule,onClick:()=>o(l.meetingLink)}}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.emailUs,width:p},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null,$.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.subscriptionPlans,width:b},bullettedLabels:{labels:$,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const vo=(e,l)=>`${e}.${l}`,Fo=i.div`
375
+ `,Ce={labelWidth:new b(100,100,140),mediumLabelWidth:new b(140,150,160),largeLabelWidth:new b(160,180,180)};function Do({data:e,companyInfo:l,sectionId:u,isDisabled:s,isZeniUser:d,onScheduleClick:o}){const n=_(),{companyPassport:m,dateFormat:{visual:f}}=E.getLocalizedStrings(),p=Ce.labelWidth.value(n),r=Ce.mediumLabelWidth.value(n),x=Ce.largeLabelWidth.value(n),S=e.company.company,{controllers:w,subscriptions:F}=e,{managementInfo:O}=S,j=n==="small"?m.zeniFinanceTeam.scheduleCallPlaceholderSmall:m.zeniFinanceTeam.scheduleCallPlaceholder,$=F.filter(h=>h.plan?.plan.name!=null).map(h=>({text:h.plan?.plan.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})),c=At(F.map(h=>h.addOns.map(M=>({text:M.addOn.name,subText:h.subscription.subscription.startDate.format(f.MMMDCommaYYYYformat)})))),v=O.receiverEmails.map(h=>({text:h}));return t.jsxs(Fo,{children:[t.jsx(To,{children:m.zeniFinanceTeam.title}),t.jsxs(Co,{children:[t.jsx(So,{label:{label:m.zeniFinanceTeam.controller,width:r},avatarLabels:{users:w.map(h=>h.user)}}),t.jsx(he,{}),d===!0?t.jsx(P,{isDisabled:s,label:{label:m.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:vo(u,"meetingLink"),placeholder:j,defaultValue:l?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):l?.meetingLink!=null?t.jsx(Mt,{label:{label:m.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:m.zeniFinanceTeam.schedule,onClick:()=>o(l.meetingLink)}}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.emailUs,width:p},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null,$.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.subscriptionPlans,width:x},bullettedLabels:{labels:$,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(he,{}),t.jsx(ye,{label:{label:m.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const vo=(e,l)=>`${e}.${l}`,Fo=i.div`
376
376
  display: flex;
377
377
  flex-direction: column;
378
378
  padding-top: ${a.sp3};
@@ -384,7 +384,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
384
384
  border: 1px solid ${e=>e.theme.colors.grey3};
385
385
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
386
386
  border-radius: ${a.sp2};
387
- `,No=i(Q)`
387
+ `,To=i(Q)`
388
388
  color: ${e=>e.theme.colors.champion};
389
389
  margin-bottom: ${a.sp3};
390
390
  `,he=i.div`
@@ -393,7 +393,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
393
393
  background-color: ${e=>e.theme.colors.grey3};
394
394
  min-height: 1px;
395
395
  max-height: 1px;
396
- `,Pe={width:new x(343,580,726),buttonWidth:new x(85,85)},et="companyPassportPage",Ee="companyInfo",ze="companyIncInfo",Ve="companyTaxInfo",Ae="primaryContact",_e="companyOfficer",Me="zeniFinanceTeam";function Jo(e){const l=_(),u=St(),{companyPassportView:s,isZeniUser:d,filesEndPoint:o,authParams:n,allIndustries:m,allNationalityCountries:f,isCompanyVerified:p,isDisabled:r,isSettings:b=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:G,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:H,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:G},[X,Z]=q.useState(void 0),{companyDetails:de,primaryContact:$e,companyOfficerUpdateStatus:Oe,updateStatus:B}=Y,{localData:C,addressStatus:V}=de,We=jt(B.fetchState),ce=Object.values(Oe).filter(A=>A.localData!=null),U=Dt({mode:"all",defaultValues:at(Y,m,f)});q.useEffect(()=>()=>{Z(void 0)},[]),q.useEffect(()=>{We==="In-Progress"&&(B.fetchState==="Completed"||B.fetchState==="Error")&&(U.reset(at(Y,m,f)),X!==B.fetchState&&Z(B.fetchState))},[X,U,We,B,Y,H,m,f,K]);const wt=async(A,D)=>{if(A.includes(Ee)||A.includes(ze)||A.includes(Ve)||A.includes(Me)){const{companyInfo:k,companyIncInfo:L,companyTaxInfo:J,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:J,zeniFinanceTeam:Se})}else if(A.includes(Ae)){O(D.primaryContact);const k=D.companyOfficer.map(L=>L.userId);if(D.primaryContact.userId!=null&&k.includes(D.primaryContact.userId)){const L=k.findIndex(J=>J===D.primaryContact.userId);L>=0&&w({...D.companyOfficer[L],name:D.primaryContact.name,officerType:`Officer_${L+1}`})}}else if(A.includes(_e)){const k=parseInt(A.split(".")[1]);if(k>=0)w({...D.companyOfficer[k],officerType:`Officer_${k+1}`}),D.companyOfficer[k].userId!=null&&D.companyOfficer[k].userId===D.primaryContact.userId&&O({...D.primaryContact,name:D.companyOfficer[k].name});else if(D.companyOfficer.length>ce.length){const L=D.companyOfficer[D.companyOfficer.length-1];F(L)}else{const L=D.companyOfficer.filter(J=>J.officerType!=null);if(L.length<ce.length){const J=L.map((Se,Ot)=>{const Be={...Se,officerType:`Officer_${Ot+1}`};return w(Be),Be});L.length<ce.length&&(j(`Officer_${L.length+1}`),U.reset({companyOfficer:J}))}}}};q.useEffect(()=>{const A=U.watch((D,{name:k})=>{k!=null&&D!=null&&vt(()=>wt(k,D))});return()=>{A.unsubscribe()}});const It=U.handleSubmit(A=>{X!=null&&Z(void 0),$()}),{companyPassport:pe,common:{settings:$t}}=E.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(To,{children:[t.jsx(Ft,{title:pe.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:h,showBackButton:!b,showMenuIcon:b?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:Ie}),X!=null?t.jsx(ja,{fetchState:X,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(ko,{children:[t.jsx(Lo,{windowSize:l,children:b?$t.infoText.companyDetails:pe.quickAccessInfo}),t.jsx(Ct,{...U,children:t.jsxs("form",{id:tt(et),onSubmit:It,children:[t.jsx(za,{sectionId:Ee,companyInfo:C?.companyInfo,companyViewData:H,companyAddress:V,isDisabled:r,isCompanyVerified:p,onCompanyAddressClick:c,allIndustries:m,allNationalityCountries:f}),t.jsx(Da,{sectionId:ze,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyIncInfo:C?.incInfo,fileProps:re,isDisabled:r}),t.jsx(so,{sectionId:Ve,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyTaxInfo:C?.taxDetails,fileProps:re,isDisabled:r}),t.jsx(uo,{sectionId:Ae,primaryContact:$e.localData,isDisabled:r}),t.jsx(Ya,{companyOfficers:ce,sectionId:_e,isDisabled:r,onOfficerAddressClick:c}),t.jsx(Do,{data:H,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Nt(U.formState.dirtyFields)||ta(Y,H,K)?t.jsx(Tt,{formId:tt(et),primaryBtn:{label:pe.save,isLoading:B.fetchState==="In-Progress",style:{width:Pe.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:pe.cancel,style:{width:Pe.buttonWidth.value(l)},onClick:()=>{U.reset(),M()}}}):null]})}const tt=e=>`${e}_form`,at=(e,l,u)=>{const{companyDetails:s,primaryContact:d,companyOfficerUpdateStatus:o}=e,n=E.getLocalizedStrings().companyPassport,m=s.localData?.incInfo.fileId!=null?[s.localData?.incInfo.fileId]:[],f=s.localData?.taxDetails.fileId!=null?[s.localData?.taxDetails.fileId]:[],p=s.localData?.companyInfo;return{[Ee]:{...kt(s.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:p?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:p?.website?.toString()??"",industry:{selectedOption:p?.industry,allOptions:l?.map(r=>r.code)},companyIndustryType:{selectedOption:p?.companyIndustryType,allOptions:[...ut]},subIndustry:{selectedOption:p?.companySubIndustry,allOptions:Ne(p?.companyIndustryType)},firstMonthOfFY:p?.firstMonthOfFY,companySourceOfFunds:{selectedOption:p?.companySourceOfFunds,allOptions:[...pt]},companySourceOfFundsDescription:p?.companySourceOfFundsDescription,countriesOfOperations:ot(p?.countriesOfOperations,(u??[]).map(r=>r.countryCode)),transactionVolume:{selectedOption:p?.transactionVolume,allOptions:[...ct]},transactionVolumeDescription:p?.transactionVolumeDescription,regulatedStatus:p?.regulatedStatus??"",regulatedStatusDescription:p?.regulatedStatusDescription,usNexus:p?.usNexus??"",usNexusTypes:{selectedOptions:p?.usNexusTypes??[],allOptions:[...dt]},purposeOfAccount:{selectedOption:p?.purposeOfAccount,allOptions:[...rt]},purposeOfAccountDescription:p?.purposeOfAccountDescription},[Ve]:{...s.localData?.taxDetails,taxesFiledYears:{selectedOptions:s.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:mt().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:f},[ze]:{typeOfInc:{selectedOption:s.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:s.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:s.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:m},[Ae]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(o).filter(r=>r.localData!=null).map(r=>{const b=r.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Me]:{meetingLink:s.localData?.companyInfo.meetingLink?.toString()??""}}},To=i.div`
396
+ `,Pe={width:new b(343,580,726),buttonWidth:new b(85,85)},et="companyPassportPage",Ee="companyInfo",ze="companyIncInfo",Ve="companyTaxInfo",Ae="primaryContact",_e="companyOfficer",Me="zeniFinanceTeam";function Jo(e){const l=_(),u=St(),{companyPassportView:s,isZeniUser:d,filesEndPoint:o,authParams:n,allIndustries:m,allNationalityCountries:f,isCompanyVerified:p,isDisabled:r,isSettings:x=!1,onCompanyDetailsChanged:S,onCompanyOfficerUpdated:w,onNewCompanyOfficerAdded:F,onPrimaryContactDetailsUpdated:O,onNewCompanyOfficerRemoved:j,onSaveAll:$,onAddressClick:c,onScheduleClick:v,onBackClick:h,onResetClick:M,onEditFileName:oe,updateFilesEntity:G,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:H,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:G},[X,Z]=q.useState(void 0),{companyDetails:de,primaryContact:$e,companyOfficerUpdateStatus:Oe,updateStatus:B}=Y,{localData:C,addressStatus:V}=de,We=jt(B.fetchState),ce=Object.values(Oe).filter(A=>A.localData!=null),U=Dt({mode:"all",defaultValues:at(Y,m,f)});q.useEffect(()=>()=>{Z(void 0)},[]),q.useEffect(()=>{We==="In-Progress"&&(B.fetchState==="Completed"||B.fetchState==="Error")&&(U.reset(at(Y,m,f)),X!==B.fetchState&&Z(B.fetchState))},[X,U,We,B,Y,H,m,f,K]);const wt=async(A,D)=>{if(A.includes(Ee)||A.includes(ze)||A.includes(Ve)||A.includes(Me)){const{companyInfo:k,companyIncInfo:L,companyTaxInfo:J,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:J,zeniFinanceTeam:Se})}else if(A.includes(Ae)){O(D.primaryContact);const k=D.companyOfficer.map(L=>L.userId);if(D.primaryContact.userId!=null&&k.includes(D.primaryContact.userId)){const L=k.findIndex(J=>J===D.primaryContact.userId);L>=0&&w({...D.companyOfficer[L],name:D.primaryContact.name,officerType:`Officer_${L+1}`})}}else if(A.includes(_e)){const k=parseInt(A.split(".")[1]);if(k>=0)w({...D.companyOfficer[k],officerType:`Officer_${k+1}`}),D.companyOfficer[k].userId!=null&&D.companyOfficer[k].userId===D.primaryContact.userId&&O({...D.primaryContact,name:D.companyOfficer[k].name});else if(D.companyOfficer.length>ce.length){const L=D.companyOfficer[D.companyOfficer.length-1];F(L)}else{const L=D.companyOfficer.filter(J=>J.officerType!=null);if(L.length<ce.length){const J=L.map((Se,Ot)=>{const Be={...Se,officerType:`Officer_${Ot+1}`};return w(Be),Be});L.length<ce.length&&(j(`Officer_${L.length+1}`),U.reset({companyOfficer:J}))}}}};q.useEffect(()=>{const A=U.watch((D,{name:k})=>{k!=null&&D!=null&&vt(()=>wt(k,D))});return()=>{A.unsubscribe()}});const It=U.handleSubmit(A=>{X!=null&&Z(void 0),$()}),{companyPassport:pe,common:{settings:$t}}=E.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(No,{children:[t.jsx(Ft,{title:pe.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:h,showBackButton:!x,showMenuIcon:x?l==="medium-compact"||l==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:Ie}),X!=null?t.jsx(ja,{fetchState:X,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(ko,{children:[t.jsx(Lo,{windowSize:l,children:x?$t.infoText.companyDetails:pe.quickAccessInfo}),t.jsx(Ct,{...U,children:t.jsxs("form",{id:tt(et),onSubmit:It,children:[t.jsx(za,{sectionId:Ee,companyInfo:C?.companyInfo,companyViewData:H,companyAddress:V,isDisabled:r,isCompanyVerified:p,onCompanyAddressClick:c,allIndustries:m,allNationalityCountries:f}),t.jsx(Da,{sectionId:ze,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyIncInfo:C?.incInfo,fileProps:re,isDisabled:r}),t.jsx(so,{sectionId:Ve,updateFileStatusById:ne,deleteFileStatusById:ie,companyFiles:K,companyTaxInfo:C?.taxDetails,fileProps:re,isDisabled:r}),t.jsx(uo,{sectionId:Ae,primaryContact:$e.localData,isDisabled:r}),t.jsx(Ya,{companyOfficers:ce,sectionId:_e,isDisabled:r,onOfficerAddressClick:c}),t.jsx(Do,{data:H,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Tt(U.formState.dirtyFields)||ta(Y,H,K)?t.jsx(Nt,{formId:tt(et),primaryBtn:{label:pe.save,isLoading:B.fetchState==="In-Progress",style:{width:Pe.buttonWidth.value(l)},isDisabled:e.isDisabled!=null},cancelBtn:{label:pe.cancel,style:{width:Pe.buttonWidth.value(l)},onClick:()=>{U.reset(),M()}}}):null]})}const tt=e=>`${e}_form`,at=(e,l,u)=>{const{companyDetails:s,primaryContact:d,companyOfficerUpdateStatus:o}=e,n=E.getLocalizedStrings().companyPassport,m=s.localData?.incInfo.fileId!=null?[s.localData?.incInfo.fileId]:[],f=s.localData?.taxDetails.fileId!=null?[s.localData?.taxDetails.fileId]:[],p=s.localData?.companyInfo;return{[Ee]:{...kt(s.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:p?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:p?.website?.toString()??"",industry:{selectedOption:p?.industry,allOptions:l?.map(r=>r.code)},companyIndustryType:{selectedOption:p?.companyIndustryType,allOptions:[...ut]},subIndustry:{selectedOption:p?.companySubIndustry,allOptions:Te(p?.companyIndustryType)},firstMonthOfFY:p?.firstMonthOfFY,companySourceOfFunds:{selectedOption:p?.companySourceOfFunds,allOptions:[...pt]},companySourceOfFundsDescription:p?.companySourceOfFundsDescription,countriesOfOperations:ot(p?.countriesOfOperations,(u??[]).map(r=>r.countryCode)),transactionVolume:{selectedOption:p?.transactionVolume,allOptions:[...ct]},transactionVolumeDescription:p?.transactionVolumeDescription,regulatedStatus:p?.regulatedStatus??"",regulatedStatusDescription:p?.regulatedStatusDescription,usNexus:p?.usNexus??"",usNexusTypes:{selectedOptions:p?.usNexusTypes??[],allOptions:[...dt]},purposeOfAccount:{selectedOption:p?.purposeOfAccount,allOptions:[...rt]},purposeOfAccountDescription:p?.purposeOfAccountDescription},[Ve]:{...s.localData?.taxDetails,taxesFiledYears:{selectedOptions:s.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:mt().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:f},[ze]:{typeOfInc:{selectedOption:s.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:s.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:s.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:m},[Ae]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(o).filter(r=>r.localData!=null).map(r=>{const x=r.localData;return{userId:x.userId,officerType:x.officerType,name:{firstName:x.firstName,lastName:x.lastName},email:x.email,phone:x.phone}}),[Me]:{meetingLink:s.localData?.companyInfo.meetingLink?.toString()??""}}},No=i.div`
397
397
  display: flex;
398
398
  min-height: 100%;
399
399
  flex-direction: column;
@@ -407,7 +407,7 @@ import{J as _,y as St,aS as jt,aa as Dt,cI as vt,b as E,V as t,bE as Ft,ae as Ct
407
407
  overflow-y: auto;
408
408
  flex-direction: column;
409
409
  align-items: center;
410
- `,Lo=i(xe)`
410
+ `,Lo=i(be)`
411
411
  color: ${e=>e.theme.colors.hero};
412
412
  display: flex;
413
413
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{aa as $,g$ as V,b as S,V as g,h0 as v,ab as l,an as q,ae as J,cN as _,cX as W,cU as T,o as E,h1 as Z,cS as z,aT as X,e as AA,c4 as gA,h2 as BA}from"./index-CGTxoCJp.js";import{a as B,P as c}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{bh as eA}from"./zeni-epic-state-BJYsNVul.js";import{$ as EA}from"./LabeledAddressValue-COZsPbp0-DczoqRAG.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var 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]="d749ecf2-e94d-4ca2-bb88-985f17b2ada6",A._sentryDebugIdIdentifier="sentry-dbid-d749ecf2-e94d-4ca2-bb88-985f17b2ada6")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMO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gEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=$({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=V({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{f(C,d)},b=C=>{C!=null&&C.trim().length>0&&y(C)},R=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.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(v,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(J,{...I,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:t===!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:R},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!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:I.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:b,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:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a9 as V,gV as v,F as S,V as g,gW as $,aa as l,al as q,ac as J,cL as _,cV as W,cS as T,o as E,gX as Z,cQ as z,aS as X,R as AA,c3 as gA,gY as BA}from"./index-CbBDw148.js";import{a as B,P as c}from"./sentry-ClS5bwGc.js";import{n as o}from"./mui-BLUOobNq.js";import{bh as eA}from"./zeni-epic-state-W0HMFHDj.js";import{$ as EA}from"./LabeledAddressValue-CQrDCgNs-DLETXjJP.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.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]="cf2d771e-19c8-4f72-9e5a-7c8360f27471",A._sentryDebugIdIdentifier="sentry-dbid-cf2d771e-19c8-4f72-9e5a-7c8360f27471")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQ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AAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=I.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&f(C)},L=(C,d)=>{M(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},K=()=>{a(!0)},U=()=>{a(!1)},b=()=>{const C=I.getValues(`${m}`);if(C!=null){const d=BA(C);I.setValue(`${Q}.address`,d)}a(!1)},P=I.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($,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(J,{...I,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:t===!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:K},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!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:I.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:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?b: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;
@@ -49,4 +49,4 @@ import{aa as $,g$ as V,b as S,V as g,h0 as v,ab as l,an as q,ae as J,cN as _,cX
49
49
  width: ${E.sp3};
50
50
  height: ${E.sp3};
51
51
  color: ${A=>A.theme.colors.success};
52
- `;export{fA as default};
52
+ `;export{MA as default};
@@ -0,0 +1 @@
1
+ import{d7 as p,av as f,V as r,b6 as l,o as d}from"./index-CbBDw148.js";import{a as n}from"./sentry-ClS5bwGc.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./zeni-epic-state-W0HMFHDj.js";import"./mui-BLUOobNq.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.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]="1530f760-ad6b-4480-81de-d2898d02eb18",e._sentryDebugIdIdentifier="sentry-dbid-1530f760-ad6b-4480-81de-d2898d02eb18")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",_=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=p(u,e),[a]=f("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:d.sp0,left:d.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:a,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{_ as default};
@@ -1,4 +1,4 @@
1
- import{V as n}from"./index-CGTxoCJp.js";import{a as r}from"./sentry-CuNQ_GI9.js";import{n as s}from"./mui-CD7xFf2d.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-CbBDw148.js";import{a as r}from"./sentry-ClS5bwGc.js";import{n as s}from"./mui-BLUOobNq.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;