@zeniai/web-cockpit-ui 1.15.63-qa → 1.15.64-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 (368) hide show
  1. package/dist/assets/ACHDetailsPage-fOu5grd7-BdSVzP6f.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BHB45mP--CJ7SlrBq.js → AIPerformancePage-Da3gFo8A-CckgxOO_.js} +22 -22
  3. package/dist/assets/AccountInfoPage-o7hTXtgZ-zH78FLFW.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-C83hBUz9.js → AccountInfoPageContent-DqErO8FH-Dmzn6pIA.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-BJjCuLHa-DrT3dsPq.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-kXNr--5k.js → AccountReconDetailsDrawerPage-CVjH1p0d-BxBrHwo0.js} +18 -18
  7. package/dist/assets/AccountRow-CpftykFx-oOdBXU8G.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DUGNuaMw.js → AccountsPromoCardStack-D7xvgmOH-D3-ZzkOb.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-vecchYEf-CGSqzhVX.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-lZdSVI5f.js → AddToWalletPage-zJy9QCjx-C_qfE17G.js} +17 -17
  11. package/dist/assets/{AgingReportsPage-xBFff3BM-BoR0hRbB.js → AgingReportsPage-wAvQb1d8-C15jlpMU.js} +7 -7
  12. package/dist/assets/{AllUserItems-BJf6WPDo-BK6B5dDc.js → AllUserItems-DEv_CXOA-B5fCEIiV.js} +8 -8
  13. package/dist/assets/ApAgingDetailPage-BOV1WFVF-Dp8s2FuX.js +46 -0
  14. package/dist/assets/{AppBasePage-CqDm-hnV-CBNeETIZ.js → AppBasePage-DMlomvFS-CGojLnOO.js} +13 -13
  15. package/dist/assets/AppDrawerContent-Dc2sHnR3--YF7Xqpp.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-qsIqsWa1.js +47 -0
  17. package/dist/assets/{ArAgingChart-CBsqOd-4-BTXylDMy.js → ArAgingChart-m-Xp3HAW-NCxV7iBs.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-b_NpDpWj-z4UOMnMu.js +46 -0
  19. package/dist/assets/{AttachmentView-CzC4skJ3-BCDnapXA.js → AttachmentView-DB_V1qT1-BBS5lFy5.js} +9 -9
  20. package/dist/assets/{BankAccountSection-Di4sF52j-D4IfCjd3.js → BankAccountSection-BabhrBM7-AYC21fpT.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-Cled-2cR-CPMJAwOm.js → BankAccountWarningSection-yT2UAd12-C1lPi6To.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DAZKodd6.js → BankConnectionsSettingsPage-CbxXykMM-C4x6xhVH.js} +19 -19
  23. package/dist/assets/BillDetailPage-7TMkWo3V-CAz7q8si.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-PsPHznl4.js → BillPayApprovalRuleDetailPage-COyDRpaF-DAcMEAnT.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-HIhyZ3nR.js → BillPayApprovalRulesPage-9pxkgFAT-DPJx3hcv.js} +15 -15
  26. package/dist/assets/BillPayPromoPage-AGffhbY3-C_QscQuJ.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-BCJbZDsV-DVe6WBI9.js → BillPaySetUpPage-Cs5rkWBu-GrPc_Ghq.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-CQ117tT9-czyNT2CA.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-BQuQWEvp.js → BillsBulkReviewDrawerPage-DRkGQQAe-B4jJeKlF.js} +1 -1
  30. package/dist/assets/{BoxItem-Bxa1M4QU-D1vE9QhE.js → BoxItem-DRwx0M5a-DCS0EEq5.js} +11 -11
  31. package/dist/assets/{BusinessVerificationPage-DSuJFoW1-XlBss24U.js → BusinessVerificationPage-1h0z3N9u-Bz-00d77.js} +12 -12
  32. package/dist/assets/{CardNumberSubText-_ZZbaz_k-BlVD6y8J.js → CardNumberSubText-DqtLT1w5-DO6jyw3h.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-DAZXitLt-Fk0YDW9d.js → CashbackDetailPage-ChdQcvkC-C57bRmfy.js} +26 -26
  34. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-BDSXs13_.js → ChargeCardDetailPage-DFOKlPNG-xcGq1wRM.js} +34 -34
  35. package/dist/assets/{ChargeCardListPage-BOBepN-x-D1jyw6xp.js → ChargeCardListPage-DhLUsUhd-DuclyBke.js} +24 -24
  36. package/dist/assets/{ChargeCardListTable-YznzSsJo-BzgBrEEG.js → ChargeCardListTable-DE72YU_i-DcBJaKK3.js} +38 -38
  37. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-CGXOOx2m.js → ChargeCardPaymentHistoryPage-CbGR18s--BFbYhOSS.js} +42 -42
  38. package/dist/assets/ChargeCardPromoPage-CPpNh89o-CBfHtaX_.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-CpLnoFoy.js → ChargeCardSetupPage-ITi25kUD-DfzvZRO7.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-CRQIlgKD.js → ChargeCardStatementsPage-CTJc1BCc-DxoD4bYi.js} +7 -7
  41. package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-C9SGaV72.js → CheckDepositDrawerPage-BrzeSj-3-DtRI-uAH.js} +23 -23
  42. package/dist/assets/CollapsableReportTable-CDEe9s_E-CMF0RoW1.js +2844 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-CoAoKnrR.js → CompanyOfficerDetailsSection-BaPhFsLx-B9Snu63L.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CkzYFTrp-xxbgyzmF.js → CompanyPassportCard-B9ymV6Az-38EEl60M.js} +9 -9
  45. package/dist/assets/{CompanyPassportPage-FE6yli6h-BWozhrFp.js → CompanyPassportPage-BQ68t7oK-Co1NqIiB.js} +30 -30
  46. package/dist/assets/{CompleteProfile-Cb8i1XgZ-BTm92KCu.js → CompleteProfile-C5n9b8gQ-DwcNt9_I.js} +1 -1
  47. package/dist/assets/ConfettiBurst-BizTW0hz-CvR9oZ5e.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-hVukCBkN.js → ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-tk0pxMXW.js → CreateOrEditVendorPage-BIfOA5Nr-Dlpym0z2.js} +20 -20
  50. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-BNl8osW_.js → CreditCardPaymentDrawerPage-CCpS-31h-C4-ObiYa.js} +18 -18
  51. package/dist/assets/CurrencySelectField-KvKyemY6-CmY2_QR6.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-C0GXlCyT.js → CustomerOnboardingActivationPage-6VlMI4oY-DDFamjuz.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-BpoLCE54.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-BpVuCl4e.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-sEi6CC-2.js} +8 -8
  55. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-BRYus2iF.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DKVxJK_g.js → CustomerOnboardingPage-DkW66A-p-GBHzS2sL.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-BF68GGbG.js → CustomerOnboardingProductSuitePage-Ba0yotpP-kvF0C_U3.js} +12 -12
  58. package/dist/assets/{Dashboard-BJ_oIHab-CXqiG1Rq.js → Dashboard-bX3cWkmP-CshB3AQ6.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-BemzMw2e-BipdyVWe.js → DashboardReportPage-DuZ4d4CE-WPRTD4S1.js} +41 -41
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-4yePe-Xl.js +12 -0
  61. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-1GMqn4-W.js +76 -0
  62. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-CMJCJXrJ.js +66 -0
  63. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-9o5TrTj8.js +21 -0
  64. package/dist/assets/DownloadOverlay-DqiL3-FB-D2yDQ3WD.js +439 -0
  65. package/dist/assets/{DrawerPage-DesxXhZk-BvvDI7JV.js → DrawerPage-CaG-xx5d-D9_lXenJ.js} +13 -13
  66. package/dist/assets/EditPeoplePage-BcsdEp_d-IwV_edCq.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B0QXso1w.js +865 -0
  68. package/dist/assets/EntityDetailPage-DtX5TjBc-YkJZ_Dja.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BwX0a4JL-Cb_9slBS.js → EntitySummarySection-LEA5m6mN-CLLkbTp6.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-B4ZwTaZV.js → ExpenseAutomationOverviewPage-Dmhn7gfp-BnYLctJS.js} +51 -51
  71. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-DWGhFpVk.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-EMP6inpX-_cx1Ylt6.js → ExpressPayPage-C-nqret2-CxxwTtu9.js} +16 -16
  73. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-CG1XGdAN.js → FeaturePreviewPage-BHjUZ7s6-_5C6_vtm.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BxESVqJD-YzcVHL8n.js → FollowStepsSection-0eFMS0c5-DiNXhybo.js} +11 -11
  75. package/dist/assets/GlobalReviewListPage-4eiopkzw-DKMz-KY4.js +291 -0
  76. package/dist/assets/{InformationCardStack-B_qQUEYD-BwcTguLM.js → InformationCardStack-C7XJCUlh-CHYlGlZV.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-BsQzoVzj-Bd69AHav.js → InsightsCardStack-fBAbQwhK-GOQwmuqO.js} +9 -9
  78. package/dist/assets/InsightsSection-De9zu_me-VPfN5Xo7.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Bl2SFLoD.js → IntegrationsSettingsPage-BD5jqAv8-BskPS73Y.js} +7 -7
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-C5RGyBg8.js → InternationalWireSwiftDetailsPage-BftrE612-CKiFI9UY.js} +27 -27
  81. package/dist/assets/InternationalWireVerificationPage-CDf7equc-1WYEjkVV.js +65 -0
  82. package/dist/assets/InviteFormPage-E2igwKEh-BzkLo-m1.js +312 -0
  83. package/dist/assets/{InvitePageListView-CP4K9tJi-BWdxcvn6.js → InvitePageListView-Cuq9dlgu-BNjoQI0P.js} +43 -43
  84. package/dist/assets/InvitePeoplePage-Db4P4ZEq-B9OMfSrr.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-DYCjz9CI-DkR29XTT.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CVfuvGey-DZxiAxJX.js → IssueChargeCardPage-CK6fnO24-bch7HeIs.js} +21 -21
  87. package/dist/assets/{LabeledAddressValue-DDrQcHIE-CeJ3ym3G.js → LabeledAddressValue-Ma1WURjK-BjRcNAyc.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-BwOVpc3z.js → LabeledCountryMultiSelectField-sj8p7Rne-DmVlXwHY.js} +4 -4
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-CMb8Wj3I.js → LabeledCreatableSingleSelectField-DUTQh416-DtIYGO-z.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-Bp9m-OrP-Di2DVQR8.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-CBuG_XHQ.js +59 -0
  94. package/dist/assets/{LabeledText-C8Y7EOsX-bc31OQDU.js → LabeledText-DvzVOku6-CI8IYs0J.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-DEITvxaX.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BoHfD7aR.js} +21 -21
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-BbSQyIfJ.js → LabeledZeniRolesDropDownField-kWC0ShEy-rvx0SYJG.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-mvMHwOvE.js → LinkJETransactionPage-WufhDGDQ-B3rjsU0T.js} +12 -12
  98. package/dist/assets/{LockCardPage-CZENNby7-XsIHG8ps.js → LockCardPage-BBIVLYVD-B0YOZXXr.js} +234 -234
  99. package/dist/assets/{LowBalancePopup-1727S1ri-n2U-sV_W.js → LowBalancePopup-ScEqPY9J-CQJroj6z.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-BXL5Oo5F.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-CLIxJIug.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-f3s55HDr.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-BVQIDzU9.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-CVNZ8iK2.js → MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-DZT7JPlI-C6Z2pagF.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-BeRsdTPg.js → MyBankConnectionsSettingsPage-aQDVaEG1-DhCXDcNN.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-8UK9qZGK.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-4YifN_2G.js +85 -0
  109. package/dist/assets/{NavBarWithPicker-CGGEvLwe-s3u-yB3H.js → NavBarWithPicker-zmvBmWS1-A5yL3hW1.js} +5 -5
  110. package/dist/assets/{NavigationArrow-CTNkKUtV-C8bJKxdd.js → NavigationArrow-D26UG3p--DAuEEyBJ.js} +7 -7
  111. package/dist/assets/{NavigationDots-Dvce3gHt-BbZlp8zJ.js → NavigationDots-Bv4tBDN3-Dko875eO.js} +3 -3
  112. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DQOfu_Nl.js → NewGlobalMerchantPage-vOn2O6B9-DskrKIYE.js} +35 -35
  113. package/dist/assets/{NoDataChart-CrKeqWSr-CH-XvPH0.js → NoDataChart-CgT19fV7-Dq-PS5iw.js} +4 -4
  114. package/dist/assets/NoDataTable-CPjJmo4s-B0gXcJxM.js +8 -0
  115. package/dist/assets/{NotFoundPage-BLWPU1wU-BG7NJ9El.js → NotFoundPage-CP2i3FTm-B2Tx_Zo3.js} +3 -3
  116. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-6RPc-bUn.js → NotificationSettingsPage-CT9Dnb03-CqwjgM73.js} +17 -17
  117. package/dist/assets/NotificationsListConfig-Bn1zmx6b-xLvRbIc5.js +1 -0
  118. package/dist/assets/NotificationsPage-DDwdR_Jq-CdZxB2zM.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DukFYlqO-CuXBR-rW.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-BG9y5C0t-BPG2pCUp.js → OverlayContainerPage-D4QU0p4o-CVPkUlN6.js} +1 -1
  121. package/dist/assets/PandLWithForecastPage-Bgflh9Om-Dmxi28fl.js +107 -0
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-D4Qtjsvw.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-CHgpZYyo.js} +16 -16
  123. package/dist/assets/PeoplePage-CDvKreQl-CRlr1EmV.js +675 -0
  124. package/dist/assets/{Preview-DWskpWXP.js → Preview-spWMBI70.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-C3M0ocdF-BSyoNQFy.js → ProductsCarousel-7R3cvGiS-DlBhSe7D.js} +8 -8
  126. package/dist/assets/{PromoBaseCards-BOGJI2ws-Ck95GU5B.js → PromoBaseCards-DdCMZIc7-B6Z1nEXM.js} +2 -2
  127. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-CpIqU0WF.js → QBOConnectionDialog-Ca36jKz2-CfdvU0-0.js} +7 -7
  128. package/dist/assets/QBOSetupSection-CzBfIVqR-B4kKrGkW.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C7yuUziG.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-D3bDi2Ta.js → ReimbursementApprovalRulesPage-B48x1gPM-Bmxf9Hlc.js} +17 -17
  131. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-CRxw2XKK.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-BKgsJieE-D41M31h1.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-z2afpDkn.js → ReimbursementSetUpPage-B_c-ZgFT-nyStFOEL.js} +8 -8
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CPHh3h5l.js +1 -0
  135. package/dist/assets/{ReloadCard-Bdoo0XiI-BGa0MgX0.js → ReloadCard-DKGn1uxF-CHnWO982.js} +6 -6
  136. package/dist/assets/ReportTableViewSelector-CXDvZEbR-DVKFHMpg.js +150 -0
  137. package/dist/assets/ReportsPage-BoUyXSBC-DqEgIltZ.js +121 -0
  138. package/dist/assets/{RevenueChart-DvyZ3aO7-PpJFTbOd.js → RevenueChart-SvdhwBcE-CclStxKG.js} +18 -18
  139. package/dist/assets/{ReviewDetailsPage-BIMg1n2e-D2dTaNpr.js → ReviewDetailsPage-tT1l4R2r-D31xag1Q.js} +26 -26
  140. package/dist/assets/{ReviewOverlay-CxwoiOLC-vRTfwGwR.js → ReviewOverlay-BoM41t8W-B3q95pxr.js} +10 -10
  141. package/dist/assets/{RoleWithToolTip-Ct3_VuDM-BEnLHz0N.js → RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js} +4 -4
  142. package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CXNO-V0F.js +37 -0
  143. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DX2cGcR8.js +37 -0
  144. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-C4pj46PF.js +324 -0
  145. package/dist/assets/{ScreenRoutes-CUuAiKAj.js → ScreenRoutes-Djen5Qso.js} +51 -29
  146. package/dist/assets/{SetUpAccountSection-CctbMmoK-DeDFJbvz.js → SetUpAccountSection-sfIB1h4i-ChZ6V5QM.js} +14 -14
  147. package/dist/assets/SignIn-Cu2nzuEC-CMzKn_tC.js +491 -0
  148. package/dist/assets/SignInScreen-OAq50V8E.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-CmDrIGYQ.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-AeTDFXX6.js → SpendManagementPerTabPage-COvEPq7V-Do4O10gl.js} +96 -96
  151. package/dist/assets/{SpendManagementSection-CIz4nE_w-8YBkABuz.js → SpendManagementSection-dT-N4bSQ-BiovZfwW.js} +21 -21
  152. package/dist/assets/{StatementItem-vVtoBN2w-BdiJO-U-.js → StatementItem-g5tfNBjV-C9Hg8CS4.js} +4 -4
  153. package/dist/assets/StatementsPage-DaFrVUeK-DSTw3UAU.js +58 -0
  154. package/dist/assets/{StatusSwitcher-Bv-ozN6U-CzLNn0tR.js → StatusSwitcher-CaoFw0cf-C3lxp9pU.js} +5 -5
  155. package/dist/assets/SubTabSwitcher-zrkVj1aP-_xN0-uG5.js +58 -0
  156. package/dist/assets/SummaryCard-B9wqNSwM-n1ImzaFb.js +1 -0
  157. package/dist/assets/TaskManagementPage-dAK9tl2b-CTG2_KMv.js +508 -0
  158. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DCJluex4.js +64 -0
  159. package/dist/assets/TimeframeSwitcher-DHfHCTa4-B2FI2qD3.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-DxV9Vm6A.js +31 -0
  161. package/dist/assets/{TopExCard-Z1WabZ8c-4au0Kuzy.js → TopExCard-BUjnGDUB-ILeRndVt.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-CzHG4f9E-CctLNvo_.js → TopExDetailPage-CNDkfc3u-BPGQHHhh.js} +16 -16
  163. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-B3NDQc80.js → TransactionActivityLogPage-kSQqJVpX-CN_Bd6XL.js} +20 -20
  164. package/dist/assets/TransactionDetailPage-f7vWtXWL-B6Z3KQcQ.js +903 -0
  165. package/dist/assets/TransactionList-3-mUZOsw-BOqEjROc.js +153 -0
  166. package/dist/assets/{TransactionListBig-C5Sf5Xh--BuYJgRaG.js → TransactionListBig-Bx_Rm9ho-B9vgR37B.js} +19 -19
  167. package/dist/assets/TransactionListPage-q6x4_jni-ByWLrriF.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-BRnviJtL.js → TransactionVendorDetailPage-MjSH5hfq-BauD225P.js} +5 -5
  169. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-CVsBbyAK.js → TransferDrawerPage-BayVa6po-DOmgo5bD.js} +45 -45
  170. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-WjxiYw-Z.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-DUHPkkLd.js → TreasuryPromoPage-BCjz1EKX-B5KDWi07.js} +131 -131
  172. package/dist/assets/TreasuryStatementsPage-CGr00SXF-C60wRmKc.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DjBNSdh0.js +58 -0
  174. package/dist/assets/{TrendChart-Bnp4Pcdf-D4cgVp3g.js → TrendChart-JTOG0a7B-DpgA2voA.js} +4 -4
  175. package/dist/assets/TrendWithTransactions-CTJhTpAM-BQk6HV-p.js +116 -0
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-sq3wEY9K.js → UncategorizedAccountsMappingPage-TGKYpC5A-RvK9bcxw.js} +14 -14
  177. package/dist/assets/{UnitIntegrationPage-CTzme1te-BHLJji8u.js → UnitIntegrationPage-mt2IjA5X-sxJ5WITz.js} +10 -10
  178. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-DW-djX7x.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DAOf5cJD-BPBPmB6-.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CBSNIh8C.js +1 -0
  181. package/dist/assets/VendorDetailPage-DufNphGD-CYmhQiv4.js +257 -0
  182. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-Bv9GXuwg.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-k-hAzNY6.js → VendorFiling1099EditablePage-CRnO7Ubw-D8TJzbQY.js} +13 -13
  184. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-B1EJ16cd.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-kwJW4_b9.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DME8KQvf.js} +22 -22
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-WaJ_bb27.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-C7Nrepld.js → VendorsAccountsSection-D6Qa1zf9-uVFUNuqq.js} +4 -4
  188. package/dist/assets/{VerifyDevice-Dvf0JsNN-LsnrX91W.js → VerifyDevice-B6B_nk3v-Bdkrxio0.js} +12 -12
  189. package/dist/assets/{VideoPlayer-VAzOGCDL-DVi19FXq.js → VideoPlayer-BRAgZThr-DjmJcTCC.js} +2 -2
  190. package/dist/assets/{VideoPopup-BqvZ-XIh-BO-XUiUq.js → VideoPopup-C_SkBI9U-BcIEWeMW.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-DeNonoNp-BWZkdUzm.js → WarningsDrawerPage-B3gB3wW7-D2GIDjbZ.js} +8 -8
  192. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-Bhjoyj-p.js +300 -0
  193. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-DifvzT-q.js +441 -0
  194. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-Cs_0mVt4.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-XleDnhH3.js → ZeniAccountPromoPage-BgYCHYLO-Cw7mPD8B.js} +33 -33
  196. package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-UG3h63JG.js +36 -0
  197. package/dist/assets/{ZeniCopyright-DglqrTpl-DjLwp-EZ.js → ZeniCopyright-BlLvlGZV-oWH5-_QG.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-Dq1i7GHR.js → ZeniTransferAmountSlider-BNYgPwHs-BkFdMOqg.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-CMYG7KBd.js → add-to-wallet-DgdBD8_G-CQY6YDIS.js} +1 -1
  200. package/dist/assets/{analytics-Dn0Lw8Hl.js → analytics-Bkw5onLf.js} +1 -1
  201. package/dist/assets/{analyticsHelper-C_ff58Ox.js → analyticsHelper-BrCWxqsP.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CAYdbjhS-CSS_jWKh.js → analyticsHelper-CYr5V2MV-D117boEZ.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-0FDs3KeW.js → arrow-south-east-round-PEovUgvH-Bjmr6TY7.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-BKhloLeM.js → auto-transfer-rule-mbafm5D3-CNNhiF_u.js} +1 -1
  205. package/dist/assets/chartTypes-40RenddT-C3e8npm6.js +1 -0
  206. package/dist/assets/commonDimensions-BMnB1-xU-BEplFlGz.js +1 -0
  207. package/dist/assets/{commonTypes-5tEXwrX4-Bo-DjnLD.js → commonTypes-DsWS6Ccc-DEEa_Sk5.js} +1 -1
  208. package/dist/assets/{constants-BEwjLQPo.js → constants-BjwuG-sL.js} +1 -1
  209. package/dist/assets/{core-DEFUIdDG.js → core-ChNxRm0V.js} +53 -3
  210. package/dist/assets/{dash.all.min-BID_vSFD.js → dash.all.min-CPWXIJa3.js} +1 -1
  211. package/dist/assets/detailCommon-CrcyqWtZ-Y-btcKvT.js +38 -0
  212. package/dist/assets/downloadPdf-CUUx8PWn-CpeF1exC.js +1 -0
  213. package/dist/assets/{empty-3lnGe8CJ.js → empty-CbUW6a7c.js} +1 -1
  214. package/dist/assets/{empty-Bz_9XWq0.js → empty-DB2fqLbL.js} +1 -1
  215. package/dist/assets/epic-D8ilA7L4.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-aVxGZy29.js → gift-box-Cmt9OgIZ-CAEsBxF-.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-x243rVSC.js → graphic-no-data-l-DU4J8fDt-5QBY0UXm.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-fGjKD-Ct.js → graphic-no-data-net-burn-l-CzmycA0m-hdaFlp9y.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-ubRH-wiz.js → handshake-BPg58FML-ChCbIa55.js} +1 -1
  220. package/dist/assets/{helper-Ckm10Uko-D3EJmxEw.js → helper-BMiMbXMj-Dmh6E349.js} +5 -5
  221. package/dist/assets/{index-j3sWBTP6.js → index-B7L93Ji9.js} +1 -1
  222. package/dist/assets/{index-BTOXr4d7.js → index-DVyniIKO.js} +1 -1
  223. package/dist/assets/{index-E_BIvVEB.js → index-DlObXRGr.js} +8 -2
  224. package/dist/assets/{index-Dh51gnjs.js → index-Dpyv5L0j.js} +1 -1
  225. package/dist/assets/{index-CurP1SOA.js → index-DqZ19at7.js} +4883 -4818
  226. package/dist/assets/{index-yi6exDCI.js → index-cdfRDhK8.js} +1 -1
  227. package/dist/assets/{index-C_4SXTa-.js → index-ioI1xYoQ.js} +1 -1
  228. package/dist/assets/{lexical-C3dXI-1S.js → lexical-1Ygrq4RW.js} +1 -1
  229. package/dist/assets/{liveblocks-Dud0zcBr.js → liveblocks-BTMi-6jm.js} +15 -2
  230. package/dist/assets/lottie-DePu4yCn.js +9 -0
  231. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BYse0ozL.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-BBFpEXmY.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-hihXzy98.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DeFN34g2.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-CSygkCSn.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-R-95BHOA.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DCo-Luqt.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-27M6rUwe.js} +1 -1
  237. package/dist/assets/{mui-BxEa6oIz.js → mui-ZYC_cKE8.js} +9 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DOLPp-eb.js → page-detail-CWX5S47F-DC8jxm5B.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-DL8BJVml.js → radio-default-CiSgisfh-BxCWoZze.js} +1 -1
  241. package/dist/assets/{react-BsuKrOi4.js → react--xqujLHa.js} +12 -2
  242. package/dist/assets/{react-DM147Gxs.js → react-BKZXD5Oc.js} +12 -2
  243. package/dist/assets/{react-BNTdaAOY.js → react-BYslFEBJ.js} +12 -2
  244. package/dist/assets/{react-a0DWg95U.js → react-BwmLfOl6.js} +12 -2
  245. package/dist/assets/{react-yelseDIT.js → react-C9KgujEQ.js} +13 -3
  246. package/dist/assets/{react-DPVtQSsy.js → react-IIMWUaFV.js} +12 -2
  247. package/dist/assets/react-Z0_odY1k.js +37 -0
  248. package/dist/assets/{react-B5siMDaA.js → react-d6rMgZIK.js} +12 -2
  249. package/dist/assets/{recharts-CucZZnV5.js → recharts-CPKKNFMD.js} +27 -19
  250. package/dist/assets/{sentry-CDHeVBhK.js → sentry-DO9J0OD9.js} +17 -2
  251. package/dist/assets/{shield-DOlUxcFf-BCrG7e7-.js → shield-DOlUxcFf-K7yJVGAq.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DkMGvlEt-BttuYM2L.js +1 -0
  253. package/dist/assets/toChartData-C6s-eBzE-DfNWG1EA.js +1 -0
  254. package/dist/assets/{uploadAttachment-Ck4wivBR-D2sssPbg.js → uploadAttachment-BlLqRIXe-BrI0Dxy9.js} +32 -32
  255. package/dist/assets/uploadReceipts-Dge0cNF1-C53BLsXO.js +1 -0
  256. package/dist/assets/{url-DAJ1NKPS.js → url-Brmd3733.js} +1 -1
  257. package/dist/assets/{url-Dz3bE-6e.js → url-VhWKyQz6.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-cX6DxOpZ.js → useLongPress-GCK2COYQ-BBNJdZmN.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BiUwSUGW.js → usp-line-BBd1wKwW-BjY16bQv.js} +1 -1
  260. package/dist/assets/{utils-B2bXCuaD.js → utils-CXoyjNuY.js} +38 -4
  261. package/dist/assets/zeni-epic-state-C5Hzx540.js +151 -0
  262. package/dist/index.html +1 -1
  263. package/package.json +6 -6
  264. package/dist/assets/ACHDetailsPage-B5qIuZya-BmmOKNKt.js +0 -21
  265. package/dist/assets/AccountInfoPage-Cd5xYT1g-BjYVbnMy.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-Dox7IuAX-H_pRx6Xf.js +0 -59
  267. package/dist/assets/AccountRow-D1cjRJJD-CnHGmlKi.js +0 -298
  268. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-CTlBkwH6.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-CjBrPyi8-DNYyKLZY.js +0 -46
  270. package/dist/assets/AppDrawerContent-CVVWj66i-BfqcrITU.js +0 -92
  271. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CKQBzdAB.js +0 -47
  272. package/dist/assets/ArAgingDetailPage-i7JObt60-x2wHZEQK.js +0 -46
  273. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DFyn5DU2.js +0 -38
  274. package/dist/assets/BillDetailPage-XXOwBfO1-CW90EiFi.js +0 -266
  275. package/dist/assets/BillPayPromoPage-DOE2YIqC-eMf19kde.js +0 -84
  276. package/dist/assets/BillingSettingsPage-iImtlEmO-NkTGKevj.js +0 -44
  277. package/dist/assets/ChargeCardPromoPage-DIfakIOK-Bt_RFZVL.js +0 -222
  278. package/dist/assets/CollapsableReportTable-DNfFkAts-BXskWmz4.js +0 -2982
  279. package/dist/assets/ConfettiBurst-BZCXEGYA-BuT0DNIg.js +0 -1
  280. package/dist/assets/CurrencySelectField-BAh7SHrG-C0eRIjkk.js +0 -139
  281. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DApxSm4l.js +0 -1
  282. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-DAVz68Sy.js +0 -66
  283. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-BE0eZrrp.js +0 -12
  284. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-B5_uXo_7.js +0 -76
  285. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DEAnKryS.js +0 -66
  286. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-g4hbj-K1.js +0 -21
  287. package/dist/assets/DownloadOverlay-D_lL1sPW-DOw4m1yt.js +0 -439
  288. package/dist/assets/EditPeoplePage-QvPy_Six-anrdd6es.js +0 -55
  289. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-1LZFYwiw.js +0 -865
  290. package/dist/assets/EntityDetailPage-l7nXIsyF-BWeJETf7.js +0 -18
  291. package/dist/assets/ExpenseAutomationPage-DA22Qofw-DO_fqdZH.js +0 -3001
  292. package/dist/assets/GlobalReviewListPage-D5_ACa-q-DgPiQmby.js +0 -291
  293. package/dist/assets/InsightsSection-B6CNlTNH-CLcBLG7W.js +0 -27
  294. package/dist/assets/InternationalWireVerificationPage-COC6lZml-CP2ZasSF.js +0 -65
  295. package/dist/assets/InviteFormPage-DN02jRy5-BtKUOX8b.js +0 -312
  296. package/dist/assets/InvitePeoplePage-VTM6kM1u-G3Ul_pWm.js +0 -12
  297. package/dist/assets/InvoiceUploadSection-it-ZYl1N-BO7KOyKX.js +0 -140
  298. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-BhvAMjBe.js +0 -45
  299. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-DrHMqRca.js +0 -16
  300. package/dist/assets/LabeledDocumentField-C_bcFxdY-DD0gr-bC.js +0 -41
  301. package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-D-kv_bCg.js +0 -59
  302. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-B1jvyROC.js +0 -1
  303. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-RgVjNAqp.js +0 -1
  304. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-tnKyOj1K.js +0 -1
  305. package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-D-HowjcM.js +0 -31
  306. package/dist/assets/MailingDetailsSection-ByOPaJ05-Ct12OUY5.js +0 -21
  307. package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-CFKFaD81.js +0 -6
  308. package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-BtcIqQ7N.js +0 -85
  309. package/dist/assets/NoDataTable-4vPXmPYF-CwZdP9nM.js +0 -8
  310. package/dist/assets/NotificationsListConfig-B5pDa4cJ-BswJOyvx.js +0 -1
  311. package/dist/assets/NotificationsPage-Ccl7Dny1-BlIM0WaT.js +0 -685
  312. package/dist/assets/OpExByVendorPage-spd-nKV4-DL88DIG2.js +0 -100
  313. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-D4kqBVQ1.js +0 -123
  314. package/dist/assets/PeoplePage-b5_I0qOw-C1yNgQZU.js +0 -727
  315. package/dist/assets/QBOSetupSection-DjnN9dgv-ISynvMy-.js +0 -79
  316. package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-D9uPP3dw.js +0 -32
  317. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-0loMmewR.js +0 -314
  318. package/dist/assets/ReimbursementPromoPage-CyEgwqcf-CgriiA9d.js +0 -84
  319. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Bhe1TAsD.js +0 -1
  320. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-Cq7HHLUo.js +0 -151
  321. package/dist/assets/ReportsPage-BOTHMLWh-W09uRSHp.js +0 -269
  322. package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-CCcAk0g0.js +0 -37
  323. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-oIb8NDEV.js +0 -37
  324. package/dist/assets/ScheduleSequenceTable-R3-PsXES-ClyCeUfL.js +0 -326
  325. package/dist/assets/SignIn-CmgmnRm4-CTHQKiMt.js +0 -491
  326. package/dist/assets/SignInScreen-D6DML_Ge.js +0 -1
  327. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-BAqTaSS5.js +0 -134
  328. package/dist/assets/StatementsPage-As5WOnMR-k_kQpGjl.js +0 -58
  329. package/dist/assets/SubTabSwitcher-D7QeM6nb-qtx8MdsY.js +0 -58
  330. package/dist/assets/SummaryCard-C2qoTsAY-DDjCmaHn.js +0 -1
  331. package/dist/assets/TaskManagementPage-BJwp32Ph-DovQ5Y6P.js +0 -508
  332. package/dist/assets/TimeRangeSwitcher-D00bDDhP-DYi-s0cU.js +0 -64
  333. package/dist/assets/TimeframeSwitcher-DA99HdHt-NQjsVR_-.js +0 -31
  334. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-yshKro9r.js +0 -53
  335. package/dist/assets/TransactionDetailPage-1-mLOWSz-DT3B6GWp.js +0 -903
  336. package/dist/assets/TransactionList-BB-xoIGm-WH6cmyEO.js +0 -153
  337. package/dist/assets/TransactionListPage-Cj7h1Ros-D83WnCkA.js +0 -35
  338. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-DY1oE8mV.js +0 -725
  339. package/dist/assets/TreasuryStatementsPage-Catz8shX-jQUbirVv.js +0 -58
  340. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-6uZaRuCs.js +0 -58
  341. package/dist/assets/TrendWithTransactions-3D1FvM8G-C__bS1bm.js +0 -116
  342. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-CbLtbJQH.js +0 -38
  343. package/dist/assets/Vendor2FAPopup-D0zYKkIv-BygCz9U8.js +0 -1
  344. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-Dd_Yp7Po.js +0 -1
  345. package/dist/assets/VendorDetailPage-Br9wIOnI-D7IvjenZ.js +0 -257
  346. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-3VolPNUI.js +0 -1
  347. package/dist/assets/VendorFirstReviewPage-BbknTCBD-CXQ3X7Oj.js +0 -730
  348. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-QYQGZ34-.js +0 -1
  349. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-CbR031ng.js +0 -300
  350. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-DHL8XcBW.js +0 -443
  351. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-rP8-LNeM.js +0 -33
  352. package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-LpNGhMSo.js +0 -36
  353. package/dist/assets/chartTypes-CD3vrBsI--X3YDFNJ.js +0 -1
  354. package/dist/assets/commonDimensions-Oz1tdAcx-DcNBG7HB.js +0 -1
  355. package/dist/assets/downloadPdf-Dsuxeias-Cm2qRseb.js +0 -1
  356. package/dist/assets/epic-DmCiRuzo.js +0 -2
  357. package/dist/assets/lottie-Cne2KPqn.js +0 -2
  358. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CGykrO8u.js +0 -1
  359. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CG1HpWw1.js +0 -1
  360. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-CoJtwaHe.js +0 -1
  361. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BEXH0Sn-.js +0 -1
  362. package/dist/assets/panelSelectedMixin-Cddsb26L-BYkFfnSr.js +0 -3
  363. package/dist/assets/react-Bug7UPVd.js +0 -19
  364. package/dist/assets/toCOABalancesWithID-aLNB35t7-a6z4p0gt.js +0 -1
  365. package/dist/assets/toChartData-DUL6vnzJ-DBy9U-ty.js +0 -1
  366. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CTAMYaR4.js +0 -1
  367. package/dist/assets/uploadReceipts-CIgkuVpu-CJ8IdAY6.js +0 -1
  368. package/dist/assets/zeni-epic-state-B4EHkeVq.js +0 -14
@@ -1,4 +1,4 @@
1
- import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct,cR as Tt,aT as Nt,x as b,cS as ot,cT as kt,b as Lt,o as a,an as be,cU as lt,cV as P,cW as Re,cX as W,cY as ee,d as N,cZ as ge,b3 as ue,c_ as st,c$ as Pt,d0 as Et,d1 as it,ay as zt,d2 as Vt,d3 as nt,d4 as At,d5 as _t,d6 as Mt,d7 as Wt,d8 as Bt,bu as Rt,aV as Yt,bb as Q,ak as xe,u as I,a as Ye,d9 as Ut,aG as qt,da as Gt,cq as Ht,db as Xt,ao as Zt,dc as Jt}from"./index-CurP1SOA.js";import{a as q,P as Qt}from"./sentry-CDHeVBhK.js";import{n as i,a as Kt,k as ea}from"./mui-BxEa6oIz.js";import{G7 as ta,G8 as rt,G9 as dt,Ga as ct,Gb as pt,Gc as ut,bj as mt,Gd as Te,bL as aa,bh as Ne,bC as oa,Ge as la}from"./zeni-epic-state-B4EHkeVq.js";import{D as ft}from"./LabeledCreatableSingleSelectField-CISYMojq-CMb8Wj3I.js";import{Y as ht}from"./LabeledDocumentField-C_bcFxdY-DD0gr-bC.js";import{p as sa,i as ia,t as na}from"./commonTypes-5tEXwrX4-Bo-DjnLD.js";import{b as ra}from"./LabeledCountryMultiSelectField-BYYjzwUG-BwOVpc3z.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-Ckm10Uko-D3EJmxEw.js";import{$ as gt}from"./LabeledAddressValue-DDrQcHIE-CeJ3ym3G.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.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]="6e447271-257b-4075-8e89-e57bc57f0ccb",e._sentryDebugIdIdentifier="sentry-dbid-6e447271-257b-4075-8e89-e57bc57f0ccb")}catch{}})();const bt={maxWidth:new b(280,340),contentMaxWidth:new b(200,255)},ha=ea`
1
+ import{J as _,d as St,aS as jt,aa as Dt,cH as vt,O as E,V as t,bE as Ft,ad as Ct,cI as Tt,aT as Nt,y as x,cJ as ot,cK as kt,x as Lt,o as a,am as xe,cL as lt,cM as P,cN as Re,cO as W,cP as ee,p as N,cQ as ge,b3 as ue,cR as st,cS as Pt,cT as Et,cU as it,ax as zt,cV as Vt,cW as nt,cX as At,cY as _t,cZ as Mt,c_ as Wt,c$ as Bt,bu as Rt,aV as Yt,bb as Q,aj as be,u as I,i as Ye,d0 as Ut,aF as qt,d1 as Ht,ck as Jt,d2 as Xt,an as Zt,d3 as Gt}from"./index-DqZ19at7.js";import{a as q,P as Qt}from"./sentry-DO9J0OD9.js";import{n as i,a as Kt,k as ea}from"./mui-ZYC_cKE8.js";import{Fl as ta,Fm as rt,Fn as dt,Fo as ct,Fp as pt,Fq as ut,bj as mt,Fr as Te,bL as aa,bh as Ne,bC as oa,Fs as la}from"./zeni-epic-state-C5Hzx540.js";import{I as ft}from"./LabeledCreatableSingleSelectField-DUTQh416-DtIYGO-z.js";import{Y as ht}from"./LabeledDocumentField-Bp9m-OrP-Di2DVQR8.js";import{p as sa,i as ia,t as na}from"./commonTypes-DsWS6Ccc-DEEa_Sk5.js";import{b as ra}from"./LabeledCountryMultiSelectField-sj8p7Rne-DmVlXwHY.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-BMiMbXMj-Dmh6E349.js";import{$ as gt}from"./LabeledAddressValue-Ma1WURjK-BjRcNAyc.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="c3d35190-c023-4160-bef7-c1b72a27339c",e._sentryDebugIdIdentifier="sentry-dbid-c3d35190-c023-4160-bef7-c1b72a27339c")}catch{}})();const xt={maxWidth:new x(280,340),contentMaxWidth:new x(200,255)},ha=ea`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -11,7 +11,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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=>bt.maxWidth.valuePx(e.windowSize)};
14
+ max-width: ${e=>xt.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}`};
@@ -25,17 +25,17 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct
25
25
  width: ${a.sp4};
26
26
  height: ${a.sp4};
27
27
  color: ${N.successDark};
28
- `,ba=i(Bt)`
28
+ `,xa=i(Bt)`
29
29
  margin-top: 2px;
30
30
  width: ${a.sp4};
31
31
  height: ${a.sp4};
32
32
  color: ${N.important};
33
- `,xa=i.div`
33
+ `,ba=i.div`
34
34
  margin-top: ${a.sp1};
35
35
  `,wa=i(Yt)`
36
36
  color: ${N.neutralGrey2Light};
37
37
  `,Ia=i.div`
38
- max-width: ${e=>bt.contentMaxWidth.valuePx(e.windowSize)};
38
+ max-width: ${e=>xt.contentMaxWidth.valuePx(e.windowSize)};
39
39
  margin: ${a.sp0} ${a.sp3};
40
40
  `,$a=i(Rt)`
41
41
  color: ${e=>e.isSuccess?N.success:N.important};
@@ -47,7 +47,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct
47
47
  &:hover {
48
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(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`
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(H=>H.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:Ne(),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:H=>s(H)}),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,7 +68,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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
- `,Ta=i(xe)`
71
+ `,Ta=i(be)`
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};
@@ -91,7 +91,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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(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`
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 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`
95
95
  display: flex;
96
96
  flex-direction: row;
97
97
  align-items: flex-start;
@@ -112,7 +112,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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 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`
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:T,dateFormat:{analytics:Ue},common:{yes:qe,no:He}}=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"),H=h("transactionVolume"),we=h("regulatedStatus"),Ie=h("usNexus"),J=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:b},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: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: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:b},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}})]}),H&&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(Je,{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:He},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(Ge,{windowSize:r,children:y.regulatedStatusAdditionalInfo}):null]})]}),Ie&&t.jsxs(t.Fragment,{children:[t.jsx(z,{}),t.jsxs(Je,{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:He},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(Ge,{windowSize:r,children:y.usNexusAdditionalInfo}):null]})]}),J&&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:b},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:b},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:b},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};
@@ -153,7 +153,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct
153
153
  outline: none;
154
154
  background-color: inherit;
155
155
  }
156
- `,He=i.div`
156
+ `,Je=i.div`
157
157
  display: flex;
158
158
  flex-direction: column;
159
159
  width: ${e=>se.regulatedStatusMaxWidth.valuePx(e.windowSize)};
@@ -187,11 +187,11 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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(xe)`
190
+ `,Ge=i(be)`
191
191
  color: ${e=>e.theme.colors.hero};
192
192
  text-align: right;
193
193
  padding-right: ${a.sp3};
194
- `,De=i(xe)`
194
+ `,De=i(be)`
195
195
  color: ${N.important};
196
196
  text-align: right;
197
197
  padding-right: ${a.sp3};
@@ -203,12 +203,12 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct
203
203
  & .select-control {
204
204
  background-color: ${e=>e.hasError===!0?N.importantLight:e.theme.colors.background} !important;
205
205
  }
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`
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(Ja,{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(Ha,{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(Ga,{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}`,Ha=i.div`
207
207
  display: flex;
208
208
  flex-direction: column;
209
209
  padding-top: ${a.sp3};
210
210
  width: 100%;
211
- `,Ha=i.div`
211
+ `,Ja=i.div`
212
212
  display: flex;
213
213
  flex-direction: column;
214
214
  background-color: ${e=>e.theme.colors.grey5};
@@ -227,7 +227,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct
227
227
  display: flex;
228
228
  }
229
229
  }
230
- `,Ja=i(Q)`
230
+ `,Ga=i(Q)`
231
231
  display: flex;
232
232
  align-items: center;
233
233
  justify-content: space-between;
@@ -238,7 +238,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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(be)``,Ka=i.div`
241
+ `,Qa=i(xe)``,Ka=i.div`
242
242
  padding: ${a.sp3};
243
243
  display: flex;
244
244
  align-items: center;
@@ -258,12 +258,12 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O as E,V as t,bE as Ft,ae as Ct
258
258
  color: ${e=>e.theme.colors.primary};
259
259
  border: 1px solid ${e=>e.theme.colors.primary};
260
260
  }
261
- `,eo=i(Gt)`
261
+ `,eo=i(Ht)`
262
262
  margin-right: ${a.sp2};
263
263
  width: ${a.sp4};
264
264
  height: ${a.sp4};
265
265
  color: ${e=>e.theme.colors.grey1};
266
- `,to=i(Ht)`
266
+ `,to=i(Jt)`
267
267
  color: inherit;
268
268
  `,ao=i.div`
269
269
  width: ${a.sp4};
@@ -271,7 +271,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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(be)`
274
+ `,lo=i(xe)`
275
275
  color: ${e=>e.theme.colors.hero};
276
276
  `,Fe=i.div`
277
277
  display: flex;
@@ -279,7 +279,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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 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`
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`
283
283
  display: flex;
284
284
  flex-direction: column;
285
285
  padding-top: ${a.sp3};
@@ -300,13 +300,13 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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(xe)`
303
+ `,co=i(be)`
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
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`
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`
310
310
  display: flex;
311
311
  flex-direction: column;
312
312
  padding-top: ${a.sp3};
@@ -335,24 +335,24 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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
- `,bo=i.div`
338
+ `,xo=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
- `,xo=()=>t.jsx(bo,{children:"–"}),wo=i.div`
344
+ `,bo=()=>t.jsx(xo,{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(be)`
349
+ `,Io=i(xe)`
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(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`
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(Gt,{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`
356
356
  display: flex;
357
357
  flex-direction: row;
358
358
  align-items: flex-start;
@@ -372,7 +372,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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 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`
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(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: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`
376
376
  display: flex;
377
377
  flex-direction: column;
378
378
  padding-top: ${a.sp3};
@@ -393,7 +393,7 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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 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`
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 Go(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:H,onDeleteFile:we,onClickMenuIcon:Ie}=e,{companyView:J,localData:Y,deleteFileStatusById:ie,updateFileStatusById:ne}=s,{companyFiles:K}=Y,re={authParams:n,filesEndPoint:o,onEditFileName:oe,onDeleteFile:we,updateFilesEntity:H},[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,J,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:G,zeniFinanceTeam:Se}=D;S({companyInfo:k,incInfo:L,taxDetails:G,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(G=>G===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(G=>G.officerType!=null);if(L.length<ce.length){const G=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:G}))}}}};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(J==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:!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:J,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:J,companyInfo:C?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Me,onScheduleClick:v})]})})]}),Tt(U.formState.dirtyFields)||ta(Y,J,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 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()??""}}},No=i.div`
397
397
  display: flex;
398
398
  min-height: 100%;
399
399
  flex-direction: column;
@@ -407,11 +407,11 @@ import{e as _,g as St,aS as jt,aa as Dt,cQ as vt,O 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(be)`
410
+ `,Lo=i(xe)`
411
411
  color: ${e=>e.theme.colors.hero};
412
412
  display: flex;
413
413
  justify-content: center;
414
414
  width: ${e=>Pe.width.valuePx(e.windowSize)};
415
415
  margin-top: ${a.sp3};
416
416
  margin-bottom: ${a.sp4};
417
- `;export{Jo as default,tt as uniqueName};
417
+ `;export{Go as default,tt as uniqueName};
@@ -1,4 +1,4 @@
1
- import{aa as V,h4 as v,O as S,V as g,h5 as $,ab as l,an as q,ae as J,cV as _,d3 as W,d0 as T,o as E,h6 as Z,c_ as z,aT as X,c as AA,cc as gA,h7 as BA}from"./index-CurP1SOA.js";import{a as B,P as c}from"./sentry-CDHeVBhK.js";import{n as o}from"./mui-BxEa6oIz.js";import{bh as eA}from"./zeni-epic-state-B4EHkeVq.js";import{$ as EA}from"./LabeledAddressValue-DDrQcHIE-CeJ3ym3G.js";import"./liveblocks-Dud0zcBr.js";import"./core-DEFUIdDG.js";import"./recharts-CucZZnV5.js";import"./lottie-Cne2KPqn.js";import"./analytics-Dn0Lw8Hl.js";import"./lexical-C3dXI-1S.js";import"./utils-B2bXCuaD.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]="ab11a0be-2b54-4682-8e01-0fd6b0950902",A._sentryDebugIdIdentifier="sentry-dbid-ab11a0be-2b54-4682-8e01-0fd6b0950902")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAg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AgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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=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&&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($,{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{aa as V,gW as $,O as S,V as g,gX as v,ab as l,am as q,ad as J,cM as _,cW as W,cT as T,o as E,gY as Z,cR as X,aT as z,R as AA,c4 as gA,gZ as BA}from"./index-DqZ19at7.js";import{a as B,P as c}from"./sentry-DO9J0OD9.js";import{n as o}from"./mui-ZYC_cKE8.js";import{bh as eA}from"./zeni-epic-state-C5Hzx540.js";import{$ as EA}from"./LabeledAddressValue-Ma1WURjK-BjRcNAyc.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="706c6d9d-f70c-400a-9099-74063be181b4",A._sentryDebugIdIdentifier="sentry-dbid-706c6d9d-f70c-400a-9099-74063be181b4")}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/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAA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AgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),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=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=$({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)},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(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: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(X,{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(z,{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;
@@ -0,0 +1 @@
1
+ import{d8 as p,aw as f,V as r,b7 as l,o as d}from"./index-DqZ19at7.js";import{a}from"./sentry-DO9J0OD9.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./mui-ZYC_cKE8.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="de23d72d-d363-4e93-b1fb-a8ef7247b2da",e._sentryDebugIdIdentifier="sentry-dbid-de23d72d-d363-4e93-b1fb-a8ef7247b2da")}catch{}})();const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",E=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=p(u,e),[n]=f("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=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:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{E as default};
@@ -1,4 +1,4 @@
1
- import{V as n}from"./index-CurP1SOA.js";import{a as r}from"./sentry-CDHeVBhK.js";import{n as s}from"./mui-BxEa6oIz.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-DqZ19at7.js";import{a as r}from"./sentry-DO9J0OD9.js";import{n as s}from"./mui-ZYC_cKE8.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;