@zeniai/web-cockpit-ui 1.15.8-dev → 1.15.9-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 (320) hide show
  1. package/dist/assets/ACHDetailsPage-BVkQ4K87-2mUod8Ze.js +21 -0
  2. package/dist/assets/{AIPerformancePage-nAXYlFHx-B-yNLxsI.js → AIPerformancePage-BRTJZGiA-Uj0zJbS1.js} +47 -47
  3. package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C6fN_njt-BfclYIhc.js → AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js → AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js} +47 -47
  7. package/dist/assets/{AccountRow-C0plHrDu-BlMGnWxc.js → AccountRow-DvTUqeYB-Coj4ZTWN.js} +16 -16
  8. package/dist/assets/{AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js → AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js} +35 -35
  9. package/dist/assets/AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CKPw3FXG-D61c3n-w.js → AddToWalletPage-DuHNwXF4-B3zEKxpl.js} +28 -28
  11. package/dist/assets/{AgingReportsPage-BLYXtrbx-DW-1ybPL.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js} +14 -14
  12. package/dist/assets/{AllUserItems-CIuKSRs--B0618Ye4.js → AllUserItems-CH9ybX41-BtFVBAV4.js} +5 -5
  13. package/dist/assets/ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js +46 -0
  14. package/dist/assets/{AppBasePage-zQkWIZIS-COyO76Q-.js → AppBasePage-DhCn4MFY-D-3ZnoCB.js} +11 -11
  15. package/dist/assets/AppDrawerContent-oxbBkFJu-CMnZN7jn.js +92 -0
  16. package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js → ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js} +2 -2
  17. package/dist/assets/{ArAgingChart-Dv9GPrlk-1IjLiFwv.js → ArAgingChart-DDYQFnOL-BvAsGOBT.js} +7 -7
  18. package/dist/assets/{ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js → ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js} +2 -2
  19. package/dist/assets/{AttachmentView-CHgDKLit-BOkUOxft.js → AttachmentView-BreMzQ_m-BNxecg_Q.js} +5 -5
  20. package/dist/assets/{BankAccountSection-danXlJW--Ci61_HQI.js → BankAccountSection-1WOCLgt5-BoGJh_uP.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js → BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js} +27 -27
  23. package/dist/assets/{BillDetailPage-BD2IX-iP-C1AsdsRK.js → BillDetailPage-NeZduyMi-6p7P1QOU.js} +11 -11
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js → BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js} +5 -5
  25. package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js → BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js} +5 -5
  26. package/dist/assets/{BillPayPromoPage-C7PX-EVL-RrQTQk3r.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js} +11 -11
  27. package/dist/assets/{BillPaySetUpPage-Czno3Zre-B54xXO94.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js} +4 -4
  28. package/dist/assets/{BillingSettingsPage-DwBAvbyP-BA7TOSu8.js → BillingSettingsPage-D6BmklmO-DmihnPn_.js} +7 -7
  29. package/dist/assets/BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js +1 -0
  30. package/dist/assets/{BoxItem-CQn8-mlp-3WaKvXCN.js → BoxItem-CjZDlBaw-C6EB-mJ-.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js → BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js} +11 -11
  32. package/dist/assets/CardNumberSubText-BFe7Gawq-B8S1I_DT.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js → CashbackDetailPage-4R2WSvUG-DpCyR1av.js} +25 -25
  34. package/dist/assets/{ChargeCardDetailPage-draAZn9S-DVIwh9R-.js → ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js} +59 -59
  35. package/dist/assets/{ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js → ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-DVFpdT9f-BEElVTwC.js → ChargeCardListTable-BZVA1znA-1HTc8EZK.js} +29 -29
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js → ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js} +31 -31
  38. package/dist/assets/ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js → ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js → ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js → CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js} +25 -25
  42. package/dist/assets/{CollapsableReportTable-D9EGRkFb-DwhLMO0b.js → CollapsableReportTable-CpOmWQO--CCW_jG6A.js} +60 -60
  43. package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js → CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js} +24 -24
  44. package/dist/assets/{CompanyPassportCard--3g9aidd-CxwOeh5K.js → CompanyPassportCard-BPpSNcXb-DiAvuMuN.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-BhF3zWN0-Cn2clYh0.js → CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js} +22 -22
  46. package/dist/assets/{CompleteProfile-iee5HgiC-iD1IzEAE.js → CompleteProfile-BPllbFai-CKGTWhqU.js} +3 -3
  47. package/dist/assets/ConfettiBurst-DweZPNXH-B1074GKy.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js → CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js} +17 -17
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js → CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js} +14 -14
  50. package/dist/assets/{CurrencySelectField-CcU9PAOW-u3CiOTPH.js → CurrencySelectField-DoUpgUNU-D3sxrlik.js} +4 -4
  51. package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js → CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js} +8 -8
  52. package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js → CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js} +9 -9
  54. package/dist/assets/CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js +66 -0
  55. package/dist/assets/{CustomerOnboardingPage-CP969grW-CLGTaPd5.js → CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js} +7 -7
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js → CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js} +7 -7
  57. package/dist/assets/{Dashboard-CKSEolZn-B8UGwGX2.js → Dashboard-C1UoKVNa-DwZITN_K.js} +35 -35
  58. package/dist/assets/{DashboardReportPage-JLORU_HF-JuRm0_l-.js → DashboardReportPage-b0pHN0Cw-BW6hDiSR.js} +18 -18
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js → DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js} +2 -2
  60. package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js → DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js} +8 -8
  61. package/dist/assets/DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js → DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-D7AI3CGS-DY9OdGrk.js → DownloadOverlay-CxtxqO0q-Dz3uXEue.js} +35 -35
  64. package/dist/assets/{DrawerPage-BiQurb8Q-CEeTnVDp.js → DrawerPage-iKzWhzfT-CLN7Nqu9.js} +16 -16
  65. package/dist/assets/EditPeoplePage-CjM-4H28-mYmRRYC8.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js → EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js} +13 -13
  67. package/dist/assets/EntityDetailPage-B0W-V9jY-CqJeONU8.js +18 -0
  68. package/dist/assets/{EntitySummarySection-dbyZ3ZMD-WaXS93t5.js → EntitySummarySection--ty3w4lI-o5ULFAtA.js} +11 -11
  69. package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js → ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js} +29 -29
  70. package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js → ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js} +30 -30
  71. package/dist/assets/{ExpressPayPage-CaBFl4M3-N5saqSFG.js → ExpressPayPage-DITkk_1c-BtyionmY.js} +11 -11
  72. package/dist/assets/FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js +11 -0
  73. package/dist/assets/{FollowStepsSection-BGZ3rzSO-DAxx1unm.js → FollowStepsSection-CaSXYy6M-CzewjFd_.js} +11 -11
  74. package/dist/assets/{GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js → GlobalReviewListPage-D1MK5CDU-DobUC1e8.js} +13 -13
  75. package/dist/assets/{InformationCardStack-BZIU9Bwm-DWOE8xSt.js → InformationCardStack-WI0CkBUF-D7YCWLUH.js} +5 -5
  76. package/dist/assets/{InsightsCardStack-BZ6yws_x-DiUvTias.js → InsightsCardStack-28f145Lw-BuefuxqU.js} +8 -8
  77. package/dist/assets/InsightsSection-iq6BFe-O-DA4Jx3vy.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js → IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js} +11 -11
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js → InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js} +24 -24
  80. package/dist/assets/InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js +65 -0
  81. package/dist/assets/{InviteFormPage-C-_fbwpS-DFnpH_Sg.js → InviteFormPage-CZ9su_ZA-CsfVdhXE.js} +24 -24
  82. package/dist/assets/{InvitePageListView-DX3LFpcZ-wgARDxxe.js → InvitePageListView-Db5vL4dK-NFzFyNlR.js} +75 -75
  83. package/dist/assets/InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js +12 -0
  84. package/dist/assets/InvoiceUploadSection-DEchJrtp-C92WVr8V.js +140 -0
  85. package/dist/assets/{IssueChargeCardPage-BSax9G6t-Ccz8TXME.js → IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js} +26 -26
  86. package/dist/assets/{LabeledAddressValue-kz4tRnLH-XbapS3ut.js → LabeledAddressValue-jMXXok9a-C_alXtK_.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-D950JjHi-B7-ZxMwG.js → LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js} +3 -3
  88. package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js → LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js → LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js} +12 -12
  90. package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js → LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js} +7 -7
  91. package/dist/assets/LabeledDocumentField-DtsIRcRg-LgfBBRyq.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js +59 -0
  93. package/dist/assets/{LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js → LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js} +1 -1
  94. package/dist/assets/{LabeledText-D0g7m29R-CGPY2mDY.js → LabeledText-Deyr6isW-Cw3u4ojj.js} +4 -4
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js → LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js} +14 -14
  96. package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js → LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js} +19 -19
  97. package/dist/assets/LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js +98 -0
  98. package/dist/assets/{LockCardPage-XgZwsozn-B7KEhFgG.js → LockCardPage-CXZAffaX-CqLS5XfJ.js} +41 -41
  99. package/dist/assets/LowBalancePopup-BRxiaGRC-CJ9ANz96.js +34 -0
  100. package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js → MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-DmElUYen.js → MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js} +8 -8
  105. package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js → MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js} +11 -11
  107. package/dist/assets/MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js +85 -0
  109. package/dist/assets/NavBarWithPicker-C4ExxFQW-CBeQSmTW.js +30 -0
  110. package/dist/assets/{NavigationArrow-BuPVGh38-C7FStd2H.js → NavigationArrow-CJOSZIEx-Vi5xYiOy.js} +7 -7
  111. package/dist/assets/{NavigationDots-CLd0nZZT-DkTweDHl.js → NavigationDots-DgfBVlG5-Begp91rh.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js → NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js} +43 -43
  113. package/dist/assets/{NoDataChart-VrW0gNeK-CoKQWY6y.js → NoDataChart-Bwc_xftR-BPirwt2c.js} +2 -2
  114. package/dist/assets/NoDataTable-D_VKD0kA-DmQluo-I.js +8 -0
  115. package/dist/assets/{NotFoundPage-CvuhMeh3-DzAU1c1V.js → NotFoundPage-CLkfFo_R-C8j5B2Ga.js} +4 -4
  116. package/dist/assets/{NotificationSettingsPage-612cyOPa-BDov0Or2.js → NotificationSettingsPage-CC1kNoTw-DotH2NS5.js} +19 -19
  117. package/dist/assets/NotificationsListConfig-CEDk57Lr-DAddVQQW.js +1 -0
  118. package/dist/assets/{NotificationsPage-DOq8YY_K-B5AJl0PR.js → NotificationsPage-DR_MVYdY-CTDJJoO4.js} +29 -29
  119. package/dist/assets/{OpExByVendorPage-JhAQyVWO-CgqLDeMB.js → OpExByVendorPage-CRkTiAd5-C0As_oOM.js} +20 -20
  120. package/dist/assets/OverlayContainerPage-IDTUbuAC-CRFgbke2.js +11 -0
  121. package/dist/assets/{PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js → PandLWithForecastPage-BCEjC9iA-DALj3dPN.js} +12 -12
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js → PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js} +11 -11
  123. package/dist/assets/{PeoplePage-BJui-Wgk-Blym3c87.js → PeoplePage-D7D1SrW0-QS6a-b0Q.js} +25 -25
  124. package/dist/assets/{Preview-CWOI4w-4.js → Preview-o2DriYSg.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CGhEa82h-Bt-P-vzg.js → ProductsCarousel-CSUU4sEb-_cwSUdhx.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-1PF_kyGP-DnK5w4Qj.js → PromoBaseCards-CSisWvqE-flcR83jC.js} +3 -3
  127. package/dist/assets/{QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js → QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js} +7 -7
  128. package/dist/assets/QBOSetupSection-B2c7ZErC-C8usnCBc.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js → ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js} +6 -6
  130. package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js → ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js} +29 -29
  131. package/dist/assets/ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js → ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js} +11 -11
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js → ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js} +1 -1
  135. package/dist/assets/{ReloadCard-crbWeOPP-CkioU763.js → ReloadCard-DQ8-0JyV-DB-bkjWN.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-KXoOW677-Cxk4-6kw.js → ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js} +8 -8
  137. package/dist/assets/{ReportsPage-C3Jj54B2-CJg2yyXf.js → ReportsPage-fjTk3JSs-DUY58vJz.js} +10 -10
  138. package/dist/assets/{RevenueChart-B2lwdex1-DM-m44Ax.js → RevenueChart-BAlErS9A-BXzh7yRj.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-BzJuymlx-B43bDwEk.js → ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CXHcM5J8-Z1A7mqWB.js → ReviewOverlay-Zcv9Vljd-hWfuTO7b.js} +17 -17
  141. package/dist/assets/RoleWithToolTip-D4abtguM-CazMvZo7.js +22 -0
  142. package/dist/assets/ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js +37 -0
  143. package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js → ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js → ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js} +54 -54
  145. package/dist/assets/{ScreenRoutes-BGG-33kI.js → ScreenRoutes-esZWtP8Y.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Drp97o6h-xxM8m8_w.js → SetUpAccountSection-DHNGWTAX-B_r28Ehm.js} +7 -7
  147. package/dist/assets/SignIn-8lCVuAse-CHvndysC.js +491 -0
  148. package/dist/assets/SignInScreen-4muhcIyV.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js → SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js} +11 -11
  150. package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js → SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js} +33 -33
  151. package/dist/assets/{SpendManagementSection-WqBeexgm-D6ZHNQRi.js → SpendManagementSection-p_rbwPsi-DexNllt-.js} +14 -14
  152. package/dist/assets/StatementItem-BrFonWga-DiqKGCh-.js +31 -0
  153. package/dist/assets/{StatementsPage-ProqQbaP-BB4Fbh50.js → StatementsPage-1LjLplay-CRMJqr5z.js} +2 -2
  154. package/dist/assets/{StatusSwitcher-CWQs9lpu-RXB7-04g.js → StatusSwitcher-BWCVuAz5-D3jo7wqm.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-B2uBojsp-DZNkw8WS.js → SubTabSwitcher-W-flws9A-BTelX8y_.js} +2 -2
  156. package/dist/assets/{SummaryCard-Dcd_VUph-BV3h5iTx.js → SummaryCard-Cy_49HY6-B5IOHtbz.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-BM9VR6Lt-C4YfHc_A.js → TaskManagementPage-CgcgC28Q-DPD0nZtS.js} +36 -36
  158. package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js → TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js} +2 -2
  159. package/dist/assets/{TimeframeSwitcher--oC4RNb6-CvfDTC-U.js → TimeframeSwitcher-CJnjD8oY-C839RlNd.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js → TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js} +2 -2
  161. package/dist/assets/{TopExCard-DQ50kCvS-_2HPPX6t.js → TopExCard-CK7rIKlo-BNMHqp-4.js} +5 -5
  162. package/dist/assets/{TopExDetailPage-iwv1KNmn-sj6nj5zr.js → TopExDetailPage-Dc310wcN-BBhzZoVz.js} +13 -13
  163. package/dist/assets/{TransactionDetailPage-dcUFs9xb-CrNRbBcr.js → TransactionDetailPage-BsSYhKxb-BeUI9jq4.js} +37 -37
  164. package/dist/assets/{TransactionList-1g-61_2b-CWHQyly8.js → TransactionList-CKgtf7lj-CeKhT4wB.js} +14 -14
  165. package/dist/assets/{TransactionListBig-CSrLWjaV-BtYTXkmc.js → TransactionListBig-DY6b3Ezl-DffujAvB.js} +17 -17
  166. package/dist/assets/{TransactionListPage-CKkWpoxH-CDqG5M4K.js → TransactionListPage-CDc30p4A-D4rmxF8E.js} +6 -6
  167. package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js → TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js} +15 -15
  168. package/dist/assets/{TransferDrawerPage-nyepeege-Tib1D3Ko.js → TransferDrawerPage-xTOs2aDo-Cdu71p0I.js} +28 -28
  169. package/dist/assets/{TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js → TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js} +26 -26
  170. package/dist/assets/{TreasuryPromoPage-B55rqmLO-BovduQF3.js → TreasuryPromoPage-PW6ExJSX-C2E-AneM.js} +18 -18
  171. package/dist/assets/TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js +58 -0
  172. package/dist/assets/TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js +58 -0
  173. package/dist/assets/{TrendChart-BsSVNJm5-CngvRWQH.js → TrendChart-DGkb9XC6-TghRUAyK.js} +4 -4
  174. package/dist/assets/{TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js → TrendWithTransactions-BhIw1vzx-DxHaizu4.js} +6 -6
  175. package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js → UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js} +15 -15
  176. package/dist/assets/{UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js → UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js} +11 -11
  177. package/dist/assets/UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js +38 -0
  178. package/dist/assets/{Vendor2FAPopup-BPoFrkoj-DQVyS_En.js → Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +1 -0
  180. package/dist/assets/{VendorDetailPage-C0qX459r-CReufchw.js → VendorDetailPage-DRLUdE3F-D_wc_LO2.js} +94 -94
  181. package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js → VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js → VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js} +54 -54
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js → VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js} +6 -6
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js → VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js} +2 -2
  187. package/dist/assets/{VerifyDevice-B23jU0_c-B85D_w3i.js → VerifyDevice-BLi9cbRT-CwhVwlo_.js} +6 -6
  188. package/dist/assets/{VideoPlayer-CylTUX4X-BEZtED7z.js → VideoPlayer-BDCZd8K1-B6XIA6Sy.js} +2 -2
  189. package/dist/assets/{VideoPopup-C9x0ntQ5-C94oLuE1.js → VideoPopup-Cni9gWLX-Db1l5e36.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js → WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js} +5 -5
  191. package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js → ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js} +19 -19
  192. package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js → ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js} +14 -14
  193. package/dist/assets/ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js → ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js} +21 -21
  195. package/dist/assets/{ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js → ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-eB9rNuZ3-BNyg83Vo.js → ZeniCopyright-D_tc-vwm-DQ7m38Jq.js} +1 -1
  197. package/dist/assets/ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js +63 -0
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DHrWYIzW.js → add-to-wallet-DgdBD8_G-DMQostt2.js} +1 -1
  199. package/dist/assets/{analytics-g5EpLRud.js → analytics-YsywGP0I.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CLY1vV_E-BemgqSJF.js → analyticsHelper-Bv2VSRHR-D5TeO7Fb.js} +1 -1
  201. package/dist/assets/{analyticsHelper-D-tLilsz.js → analyticsHelper-CM3pI6rO.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-Clrgdbmr.js → arrow-south-east-round-PEovUgvH-BwMp8Z1R.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-DfhOF4oT.js → auto-transfer-rule-mbafm5D3-CCCTiB9K.js} +1 -1
  204. package/dist/assets/{chartTypes-BjaXr-A2-DXtLo4Yx.js → chartTypes-CiiHHtlc-DhZqwiAZ.js} +1 -1
  205. package/dist/assets/{commonDimensions-C0X17W9N-BSrHO4N_.js → commonDimensions-B94VpAp0-CDUYcayo.js} +1 -1
  206. package/dist/assets/{commonTypes-BN7Uh_8W-pfbkHgmN.js → commonTypes-CG4vvGyc-CziHlkCE.js} +1 -1
  207. package/dist/assets/{constants-BnWgOytJ.js → constants-D9J3MLx1.js} +1 -1
  208. package/dist/assets/{core-hVMF2uNa.js → core-mVc5WAnu.js} +1 -1
  209. package/dist/assets/{dash.all.min-DDFTHNwM.js → dash.all.min-DEG4Ymx5.js} +1 -1
  210. package/dist/assets/{detailCommon-D9PsnkY1-BuBcpPrC.js → detailCommon-D84jR8Js-CvDn1aAe.js} +5 -5
  211. package/dist/assets/downloadPdf-CU0hwe3m-B1XwfpLd.js +1 -0
  212. package/dist/assets/{empty-B0DaVBWz.js → empty-5WWfUuj_.js} +1 -1
  213. package/dist/assets/{empty-BNJPHWFv.js → empty-DgV33Jfm.js} +1 -1
  214. package/dist/assets/{epic-BVJNtCg8.js → epic-BDbWyMmO.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-CLwRJG71.js → gift-box-Cmt9OgIZ-DkfKk8Ub.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C7rs195d.js → graphic-no-data-l-DU4J8fDt-DdD14QZ1.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js → graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BW29_pZa.js → handshake-BPg58FML-BtKj2QSx.js} +1 -1
  219. package/dist/assets/{index-rCukSMbs.js → index-0lgepYHN.js} +1 -1
  220. package/dist/assets/{index-CRNmezJu.js → index-AqGiWrum.js} +4262 -4259
  221. package/dist/assets/{index-BAImUaY2.js → index-B0WS5HXc.js} +1 -1
  222. package/dist/assets/{index-B3faO1JB.js → index-CneahQyi.js} +1 -1
  223. package/dist/assets/{index-C_w5gZ8Z.js → index-DBHzoy-Y.js} +1 -1
  224. package/dist/assets/{index-lOJEokPl.js → index-DfP1TP46.js} +1 -1
  225. package/dist/assets/{index-6pOBrRlk.js → index-s8Qql19x.js} +1 -1
  226. package/dist/assets/{lexical-DYQnWL1V.js → lexical-D1NyDz9G.js} +1 -1
  227. package/dist/assets/{liveblocks-BKvkleJ3.js → liveblocks-D8QW-YrN.js} +1 -1
  228. package/dist/assets/{lottie-N_bekW9H.js → lottie-CoVfqInY.js} +1 -1
  229. package/dist/assets/mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js +1 -0
  230. package/dist/assets/mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js +1 -0
  231. package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +1 -0
  234. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js +1 -0
  235. package/dist/assets/{mui-mhzAEcDs.js → mui-C_Pjuwl5.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-C7t8NOxn.js → page-detail-CWX5S47F-CwgQ04Z1.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-j32Y6uZn.js → radio-default-CiSgisfh-DOAN6MGR.js} +1 -1
  238. package/dist/assets/{react-DtZ57b9E.js → react-B1uWJZNI.js} +1 -1
  239. package/dist/assets/{react-CQNyoV6B.js → react-B4qkP2kJ.js} +1 -1
  240. package/dist/assets/{react-DmkejrPd.js → react-COMbZ_ke.js} +1 -1
  241. package/dist/assets/{react-d4G_qR0V.js → react-CYpEpWLK.js} +1 -1
  242. package/dist/assets/{react-CYwBg0du.js → react-CzW7TnV7.js} +2 -2
  243. package/dist/assets/{react-BcEP-SPV.js → react-Dk6KMPxp.js} +1 -1
  244. package/dist/assets/{react-3qVVe610.js → react-UmTxIL5W.js} +1 -1
  245. package/dist/assets/{react-Dvjzsiej.js → react-VqVdlbBp.js} +1 -1
  246. package/dist/assets/{recharts-BErFcng5.js → recharts-BGj_NTVO.js} +1 -1
  247. package/dist/assets/{sentry-Dla7mstv.js → sentry-CTKU7CLc.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-CJdp4Bi9.js → shield-DOlUxcFf-Chnu35pG.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +1 -0
  250. package/dist/assets/toChartData-DShY1WZ8-5FxZpBKl.js +1 -0
  251. package/dist/assets/{uploadAttachment-BLADYUsp-BO1TVLxu.js → uploadAttachment-DKMAkDBt-BNugFjMC.js} +19 -19
  252. package/dist/assets/{uploadReceipts-CLN2DLHQ-CHihhpL-.js → uploadReceipts-DJRtId-4-Bz9k1YgZ.js} +1 -1
  253. package/dist/assets/{url-B3SdXouN.js → url-CQ0hVJlH.js} +1 -1
  254. package/dist/assets/{url-HFFKPU2S.js → url-QugEHHKq.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-km9xaFy6.js → useLongPress-GCK2COYQ-B-Cv7oJI.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-C5eOwLOD.js → usp-line-BBd1wKwW-DQyOXy13.js} +1 -1
  257. package/dist/assets/{utils-D6NmQd1Q.js → utils-DJxCyxGL.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-CSmiPBaP.js → zeni-epic-state-Cl3KIlic.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/ACHDetailsPage-C4kSZtcW-DXbi1tk_.js +0 -21
  262. package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +0 -59
  264. package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +0 -6
  265. package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +0 -46
  266. package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +0 -91
  267. package/dist/assets/BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js +0 -51
  268. package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +0 -1
  269. package/dist/assets/CardNumberSubText-2Tw37MOu-DLENhMmY.js +0 -21
  270. package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +0 -222
  271. package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +0 -1
  272. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +0 -1
  273. package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +0 -66
  274. package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +0 -66
  275. package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +0 -55
  276. package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +0 -18
  277. package/dist/assets/FeaturePreviewPage-BY7VDaUB-C72FE9k5.js +0 -11
  278. package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +0 -27
  279. package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +0 -65
  280. package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +0 -12
  281. package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +0 -140
  282. package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +0 -41
  283. package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +0 -59
  284. package/dist/assets/LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js +0 -98
  285. package/dist/assets/LowBalancePopup-ChBTdcM2-CwIZnZTi.js +0 -34
  286. package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +0 -1
  289. package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +0 -21
  290. package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +0 -6
  291. package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +0 -85
  292. package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +0 -30
  293. package/dist/assets/NoDataTable-CZaHTbXi-BvRSGEWZ.js +0 -8
  294. package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +0 -1
  295. package/dist/assets/OverlayContainerPage-CEiw6dk7-DNyrAeAy.js +0 -11
  296. package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +0 -79
  297. package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +0 -314
  298. package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +0 -84
  299. package/dist/assets/RoleWithToolTip-q4rQTPKj-BeUt86oC.js +0 -22
  300. package/dist/assets/ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js +0 -37
  301. package/dist/assets/SignIn-YqQXhCUb-BOeW8x0h.js +0 -491
  302. package/dist/assets/SignInScreen-D-bsy2_u.js +0 -1
  303. package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +0 -31
  304. package/dist/assets/TreasuryStatementsPage-DA72LRB2-COfX6A9q.js +0 -58
  305. package/dist/assets/TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js +0 -58
  306. package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +0 -38
  307. package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +0 -1
  308. package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +0 -1
  309. package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +0 -1
  310. package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +0 -14
  311. package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +0 -63
  312. package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +0 -1
  313. package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +0 -1
  314. package/dist/assets/mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js +0 -1
  315. package/dist/assets/mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js +0 -1
  316. package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +0 -1
  317. package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +0 -1
  318. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +0 -1
  319. package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +0 -1
  320. package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il,ap as Ke,g0 as Xe,o as i,ga as Hl,cU as Sl,cK as A,cM as Oe,cR as jl,e_ as Gl,eY as Zl,cP as vl,cN as K,gb as tl,gc as Yl,fy as Jl,cS as Ye,fx as al,gd as Ql,p as B,cO as il,b2 as Ee,cT as Kl,fO as Ll,F as Pe,bK as _l,fF as Cl,al as el,f$ as Fl,b as De,ao as Xl,bH as et,c as R,dk as lt,aw as tt,ge as at,ai as ll,am as it,gf as ot,bI as Ne,b6 as rt,M as El,c$ as st,au as nt,bG as dt}from"./index-CRNmezJu.js";import{a as h}from"./sentry-Dla7mstv.js";import{a as ct,n as s}from"./mui-mhzAEcDs.js";import{bh as Dl,bL as ut}from"./zeni-epic-state-CSmiPBaP.js";import{W as Je}from"./LabeledAddressValueField-D950JjHi-B7-ZxMwG.js";import{b as pt}from"./LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js";import{I as ol}from"./LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js";import{Y as rl}from"./LabeledDocumentField-y5kqHnHe-CmBeTY2E.js";import{d as mt}from"./LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js";import{p as ht,i as ft,t as gt}from"./commonTypes-BN7Uh_8W-pfbkHgmN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="d4c3a97b-e59e-4df1-8f80-142b8ea7f29f",e._sentryDebugIdIdentifier="sentry-dbid-d4c3a97b-e59e-4df1-8f80-142b8ea7f29f")}catch{}})();const yt=e=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,Se={iconSize:new D(R[6],R[10]),gap:new D(R[2],R[3])},Pl={title:new Pe("smallSemiBold","standardSemiBold"),description:new Pe("smallRegular","standardRegular")},Nl=()=>{const[e]=tt("Secure"),c=Qe();return l.jsxs(xt,{windowSize:c,children:[e!=null?l.jsx(wt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ot,{windowSize:c}),l.jsxs(It,{children:[l.jsx(St,{windowSize:c,children:sl.securityMessageTitle}),l.jsx(jt,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
1
+ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il,ap as Ke,f$ as Xe,o as i,g9 as Hl,cT as Sl,cJ as $,cL as Oe,cQ as jl,eZ as Gl,eX as Zl,cO as vl,cM as K,ga as tl,gb as Ql,fx as Yl,cR as Qe,fw as al,gc as Jl,p as B,cN as il,b1 as De,cS as Kl,fN as Ll,a as Ne,bJ as _l,fE as Cl,al as el,f_ as Fl,b as Ee,ao as Xl,bG as et,u as R,dj as lt,av as tt,gd as at,ai as ll,am as it,ge as ot,bH as Pe,b5 as rt,d as Dl,c_ as st,at as nt,bF as dt}from"./index-AqGiWrum.js";import{a as h}from"./sentry-CTKU7CLc.js";import{a as ct,n as s}from"./mui-C_Pjuwl5.js";import{bh as El,bL as ut}from"./zeni-epic-state-Cl3KIlic.js";import{W as Ye}from"./LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js";import{b as pt}from"./LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js";import{I as ol}from"./LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js";import{Y as rl}from"./LabeledDocumentField-DtsIRcRg-LgfBBRyq.js";import{d as mt}from"./LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js";import{p as ht,i as ft,t as yt}from"./commonTypes-CG4vvGyc-CziHlkCE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="18890f6c-8846-43f5-9b40-75f6cebe80d5",e._sentryDebugIdIdentifier="sentry-dbid-18890f6c-8846-43f5-9b40-75f6cebe80d5")}catch{}})();const gt=e=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,Se={iconSize:new E(R[6],R[10]),gap:new E(R[2],R[3])},Nl={title:new Ne("smallSemiBold","standardSemiBold"),description:new Ne("smallRegular","standardRegular")},Pl=()=>{const[e]=tt("Secure"),c=Je();return l.jsxs(xt,{windowSize:c,children:[e!=null?l.jsx(wt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ot,{windowSize:c}),l.jsxs(It,{children:[l.jsx(St,{windowSize:c,children:sl.securityMessageTitle}),l.jsx(jt,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>Se.gap.valuePx(e.windowSize)};
@@ -8,7 +8,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
8
8
  width: ${e=>Se.iconSize.valuePx(e.windowSize)};
9
9
  height: ${e=>Se.iconSize.valuePx(e.windowSize)};
10
10
  display: block;
11
- `,Ot=s(yt)`
11
+ `,Ot=s(gt)`
12
12
  width: ${e=>Se.iconSize.valuePx(e.windowSize)};
13
13
  height: ${e=>Se.iconSize.valuePx(e.windowSize)};
14
14
  color: ${e=>e.theme.colors.success};
@@ -18,12 +18,12 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
18
18
  justify-content: center;
19
19
  align-items: flex-start;
20
20
  flex: 1;
21
- `,St=s(El)`
22
- ${e=>`${Pl.title.style(e.windowSize)}`};
21
+ `,St=s(Dl)`
22
+ ${e=>`${Nl.title.style(e.windowSize)}`};
23
23
  color: ${e=>e.theme.colors.primary};
24
24
  margin: 0;
25
- `,jt=s(El)`
26
- ${e=>`${Pl.description.style(e.windowSize)}`};
25
+ `,jt=s(Dl)`
26
+ ${e=>`${Nl.description.style(e.windowSize)}`};
27
27
  color: ${e=>e.theme.colors.primary};
28
28
  margin: 0;
29
29
  `,Vl=({text:e})=>l.jsx(Lt,{children:l.jsx(vt,{children:e})}),vt=s(ot)`
@@ -36,11 +36,11 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
36
36
  align-items: flex-end;
37
37
  margin-left: ${i.sp2};
38
38
  margin-top: ${i.sp1};
39
- `,G={width:new D(343,580,726),labelWidth:new D(115,145,155),mediumLabelWidth:new D(140,160,170),largeLabelWidth:new D(150,210,244),extraLargeLabelWidth:new D(160,240,292),largeLabelDocumentWidth:new D(150,210,252),paddingBottom:new D(R[3],R[2]),containerRowGap:new D(12,R[3])},_t={title:new Pe("standardMedium","largeMedium")},Ct=de.getLocalizedStrings(),{dateFormat:{visual:Ft},commonSetUp:Et,companyPassport:nl,common:{documents:dl,optional:Dt,yes:cl,no:ul}}=Ct,t=Et.businessVerification,Pt=t.sourceOfFundOptions,Nt=t.companySourceOfFundOptions,Vt=t.transactionVolumeOptions,kt=t.purposeOfAccountOptions,pl=t.usNexusOptions,Tt=t.companyIndustryOptions,zt=h.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:m,allNationalityCountries:M,connectedAccountProvider:C,businessVerificationProps:W,isDisabled:a,style:ae,sectionId:o,showInfoTooltip:ce=!0,isCompleted:ue=!1,showCompletedIcon:ie=!1,showTreasuryFields:pe=!1,sectionHeader:w,optionalFields:p=[],onCompanyAddressClick:q,onRegisteredAddressClick:me},P)=>{const x=Qe(),j=ct(),{watch:S,setValue:oe,formState:{errors:g}}=wl(),he=S(u(o,"companySourceOfFunds")),fe=S(u(o,"transactionVolume")),f=S(u(o,"purposeOfAccount")),F=S(u(o,"regulatedStatus")),Z=S(u(o,"usNexus")),X=S(u(o,"companyIndustry")),ee=r=>{oe(u(o,"companySubIndustry"),{selectedOption:null,allOptions:I(r)})},T=G.labelWidth.value(x),N=G.mediumLabelWidth.value(x),v=G.largeLabelWidth.value(x),le=G.extraLargeLabelWidth.value(x),ge=G.largeLabelDocumentWidth.value(x),y=t.productType[b],je=m?.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),ve=m?.companyFiles.find(r=>r.documentType==="tax_ein"),te=m?.companyDescription,Y=m?.companyLegalName,L=m?.website,J=m?.typeOfIncorporation,U=m?.stateOfIncorporation,V=m?.countriesOfOperations,Ve=m?.incDate,re=m?.companyIndustry,Le=m?.companySubIndustry,ke=W?.companyVerificationStatus?.code==="verified",_e=Le!=null||!ke,Te=X?.selectedOption??re,d=m?.phone,ze=m?.taxIdOrEIN,ye=m?.primaryContactLocalData,k=m?.deleteFileStatusById??{},Q=m?.updateFileStatusById??{},$e=m?.addressStatus?.addressToCreate,se=m?.registeredAddressStatus?.addressToCreate,[be,Ae]=h.useState(!1),[_,Be]=h.useState(!1),Re=m?.companySourceOfFunds,Me=m?.transactionVolume,We=m?.purposeOfAccount,qe=m?.regulatedStatus,xe=m?.usNexus,Ce=a==null||!!U,Ue=a==null||Array.isArray(V)&&V.length>0,He=a==null||!!Re,Ge=a==null||!!Me,n=a==null||!!We,E=a==null||!!qe,ne=a==null||!!xe,we=r=>Tt[r]??r,Fe=t.companySubIndustryOptions,I=r=>{if(r==null||r==="")return[];const z=Fe[r];return z!=null?Object.keys(z):[]},Tl=r=>{const z=X?.selectedOption;return z==null||z===""?r:Fe[z]?.[r]??r},zl=r=>Pt[r]??r,$l=r=>Nt[r]??r,Al=r=>Vt[r]??r,Bl=r=>kt[r]??r,Rl=r=>pl[r]??r,Ml=Object.values(pl),Wl=(m?.usNexusTypes??[]).map(Rl),ql=r=>e.find(z=>z.code===r)?.name??r;return l.jsxs($t,{style:ae,ref:P,windowSize:x,children:[l.jsx(At,{children:l.jsxs(Gt,{children:[l.jsxs(Rt,{children:[ie===!0?l.jsx(Mt,{children:ue?l.jsx(Wt,{}):l.jsx(qt,{})}):null,l.jsx(Bt,{windowSize:x,children:w??t.confirmCompanyDetails})]}),ce?l.jsx(Ut,{children:l.jsx(Ol,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:x==="small"||b==="onboarding"?"bottom":"right",children:l.jsx(Ht,{})})}):null,b==="onboarding"&&w!=null?l.jsx(Vl,{text:Dt}):null,W?.companyVerificationStatus!=null?l.jsx(Yt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Zt,{children:[l.jsx(Nl,{}),l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:u(o,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Y,options:{required:a==null&&p.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:N},text:{type:"text",name:u(o,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:te,options:{required:a==null&&p.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(Je,{isDisabled:a,label:{label:t.registeredAddressLabel,width:N},addressValueField:{name:u(o,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:se,registerOptions:{validate:r=>p.includes("registeredAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{me?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(Je,{isDisabled:a,label:{label:t.companyAddressLabel,width:N},addressValueField:{name:u(o,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:$e,registerOptions:{validate:r=>p.includes("companyAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{q?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:T},text:{type:"url",name:u(o,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:L?.toString()??"",options:{required:a==null&&p.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(Qt,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:_e?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:Object.keys(t.companyIndustryOptions)},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0},onSelectChange:ee},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",y),style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}}),Te!=null&&l.jsx(K,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:u(o,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:I(X?.selectedOption??re)},registerOptions:{required:a==null&&p.includes("companySubIndustry")===!1,validate:r=>p.includes("companySubIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",y),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:i.sp0,paddingRight:i.sp0,width:"100%"}})]}):l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ql,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:e?.map(r=>r.code)??[]},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",y),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}})}),l.jsx(O,{}),l.jsx(ol,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:J,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:a==null&&p.includes("typeOfIncorporation")===!1,validate:r=>p.includes("typeOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(jl,{isDisabled:a,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:G.paddingBottom.valuePx(x)},dateField:{name:u(o,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ft.defaultInput,maxDate:Dl(),minDate:ut("01 Jan 1900"),autoComplete:"off",registerOptions:{required:a==null&&p.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",y)}),l.jsx(O,{}),Ce?l.jsxs(l.Fragment,{children:[l.jsx(ol,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:U,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:a==null&&p.includes("stateOfIncorporation")===!1,validate:r=>p.includes("stateOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",y)}),l.jsx(O,{})]}):null,Ue?l.jsxs(l.Fragment,{children:[l.jsx(pt,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:a,additionalInfoLabel:a==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",y),multiSelectField:{name:u(o,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:Ql(V,(M??[]).map(r=>r.countryCode)),registerOptions:{validate:r=>p.includes("countriesOfOperations")?!0:!(a==null&&r.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:$l,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.companySourceOfFunds,allOptions:Object.keys(t.companySourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("companySourceOfFunds")===!1,validate:r=>p.includes("companySourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",y),additionalContent:ht.includes(he?.selectedOption)?l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.companySourceOfFundsDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||g[o]!=null&&g[o]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,Ge?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.transactionVolumeLabel,width:le},singleSelectField:{singleSelect:{name:u(o,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Al,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.transactionVolume,allOptions:Object.keys(t.transactionVolumeOptions)},registerOptions:{required:a==null&&p.includes("transactionVolume")===!1,validate:r=>p.includes("transactionVolume")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",y),additionalContent:ft.includes(fe?.selectedOption)?l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.transactionVolumeDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-le,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||g[o]!=null&&g[o]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,n?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Bl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.purposeOfAccount,allOptions:Object.keys(t.purposeOfAccountOptions)},registerOptions:{required:a==null&&p.includes("purposeOfAccount")===!1,validate:r=>p.includes("purposeOfAccount")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",y),additionalContent:gt.includes(f?.selectedOption)?l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.purposeOfAccountDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||g[o]!=null&&g[o]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,E?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.regulatedStatusLabel,htmlFor:u(o,"regulatedStatus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(gl,{labelWidth:v,windowSize:x,children:[l.jsx(Ee,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(Ee,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),F==="yes"&&l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:u(o,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:g[o]!=null&&g[o]?.regulatedStatusDescription!=null?B.importantLight:j.colors.background},options:{required:a==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),g[o]!=null&&g[o]?.regulatedStatus!=null?l.jsx(Ze,{windowSize:x,children:t.regulatedStatusError.replace("_product_type_",y)}):g[o]!=null&&g[o]?.regulatedStatusDescription!=null?null:a==null?l.jsx(yl,{windowSize:x,children:t.regulatedStatusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,ne?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.usNexusLabel,htmlFor:u(o,"usNexus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(gl,{labelWidth:v,windowSize:x,children:[l.jsx(Ee,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(Ee,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),Z==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Jt,{hasError:g[o]!=null&&g[o]?.usNexusTypes!=null,children:l.jsx(mt,{isDisabled:a,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:u(o,"usNexusTypes"),placeholder:t.usNexusPlaceholder,defaultValue:{selectedOptions:Wl,allOptions:Ml},registerOptions:{required:a==null,shouldUnregister:!0,validate:r=>{const z=r?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),g[o]!=null&&g[o]?.usNexusTypes!=null&&l.jsx(Ze,{windowSize:x,children:t.usNexusTypesError})]}),g[o]!=null&&g[o]?.usNexus!=null?l.jsx(Ze,{windowSize:x,children:t.usNexusError.replace("_product_type_",y)}):g[o]!=null&&g[o]?.usNexusTypes!=null?null:a==null?l.jsx(yl,{windowSize:x,children:t.usNexusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:T},text:{type:"text",name:u(o,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ze,options:{required:a==null&&p.includes("companyTaxId")===!1,pattern:Kl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:a,label:{label:t.companyPhoneLabel,width:T},text:{name:u(o,"companyPhone"),placeholder:Oe(t.companyPhoneLabel),defaultValue:d,autoComplete:"new-password",options:{required:a==null&&p.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(Sl,{isDisabled:a,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:u(o,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:ye?.firstName??"",lastName:ye?.lastName??""},registerOptions:{required:a==null&&p.includes("primaryContactName")===!1,validate:r=>!!r||a!=null||p.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(A,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:u(o,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:ye?.email,options:{required:a==null&&p.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",y)}),l.jsx(O,{}),l.jsx(rl,{name:u(o,"certificateOfIncorporation"),isDisabled:a,sizeLimit:Ye,deleteFileStatusById:k,updateFileStatusById:Q,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.certificateOfIncorporation,width:ge},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:je,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:a==null&&p.includes("certificateOfIncorporation")===!1&&C==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",y),hasError:be,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>Ae(r)}),be||!(a!=null||je!=null)?l.jsx(ml,{windowSize:x,isError:be,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(rl,{name:u(o,"ein"),isDisabled:a,sizeLimit:Ye,deleteFileStatusById:k,updateFileStatusById:Q,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.einDocument,width:ge},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:a==null&&p.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",y),hasError:_,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>Be(r)}),_||!(a!=null||ve!=null)?l.jsx(ml,{windowSize:x,isError:_,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),pe===!0?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.sourceOfFundsLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:zl,isDisabled:a,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("sourceOfFunds")===!1,validate:r=>p.includes("sourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",y)}),l.jsx(O,{})]}):null]})]})});zt.displayName="Company Details Section";const u=(e,c)=>`${e}.${c}`,$t=s.div`
39
+ `,G={width:new E(343,580,726),labelWidth:new E(115,145,155),mediumLabelWidth:new E(140,160,170),largeLabelWidth:new E(150,210,244),extraLargeLabelWidth:new E(160,240,292),largeLabelDocumentWidth:new E(150,210,252),paddingBottom:new E(R[3],R[2]),containerRowGap:new E(12,R[3])},_t={title:new Ne("standardMedium","largeMedium")},Ct=de.getLocalizedStrings(),{dateFormat:{visual:Ft},commonSetUp:Dt,companyPassport:nl,common:{documents:dl,optional:Et,yes:cl,no:ul}}=Ct,t=Dt.businessVerification,Nt=t.sourceOfFundOptions,Pt=t.companySourceOfFundOptions,Vt=t.transactionVolumeOptions,kt=t.purposeOfAccountOptions,pl=t.usNexusOptions,Tt=t.companyIndustryOptions,zt=h.forwardRef(({allIndustries:e,fileProps:c,productType:b,companyDetails:m,allNationalityCountries:M,connectedAccountProvider:C,businessVerificationProps:W,isDisabled:a,style:ae,sectionId:o,showInfoTooltip:ce=!0,isCompleted:ue=!1,showCompletedIcon:ie=!1,showTreasuryFields:pe=!1,sectionHeader:w,optionalFields:p=[],onCompanyAddressClick:q,onRegisteredAddressClick:me},N)=>{const x=Je(),j=ct(),{watch:S,setValue:oe,formState:{errors:y}}=wl(),he=S(u(o,"companySourceOfFunds")),fe=S(u(o,"transactionVolume")),f=S(u(o,"purposeOfAccount")),F=S(u(o,"regulatedStatus")),Z=S(u(o,"usNexus")),X=S(u(o,"companyIndustry")),ee=r=>{oe(u(o,"companySubIndustry"),{selectedOption:null,allOptions:I(r)})},T=G.labelWidth.value(x),P=G.mediumLabelWidth.value(x),v=G.largeLabelWidth.value(x),le=G.extraLargeLabelWidth.value(x),ye=G.largeLabelDocumentWidth.value(x),g=t.productType[b],je=m?.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),ve=m?.companyFiles.find(r=>r.documentType==="tax_ein"),te=m?.companyDescription,Q=m?.companyLegalName,L=m?.website,Y=m?.typeOfIncorporation,U=m?.stateOfIncorporation,V=m?.countriesOfOperations,Ve=m?.incDate,re=m?.companyIndustry,Le=m?.companySubIndustry,ke=W?.companyVerificationStatus?.code==="verified",_e=Le!=null||!ke,Te=X?.selectedOption??re,d=m?.phone,ze=m?.taxIdOrEIN,ge=m?.primaryContactLocalData,k=m?.deleteFileStatusById??{},J=m?.updateFileStatusById??{},Ae=m?.addressStatus?.addressToCreate,se=m?.registeredAddressStatus?.addressToCreate,[be,$e]=h.useState(!1),[_,Be]=h.useState(!1),Re=m?.companySourceOfFunds,Me=m?.transactionVolume,We=m?.purposeOfAccount,qe=m?.regulatedStatus,xe=m?.usNexus,Ce=a==null||!!U,Ue=a==null||Array.isArray(V)&&V.length>0,He=a==null||!!Re,Ge=a==null||!!Me,n=a==null||!!We,D=a==null||!!qe,ne=a==null||!!xe,we=r=>Tt[r]??r,Fe=t.companySubIndustryOptions,I=r=>{if(r==null||r==="")return[];const z=Fe[r];return z!=null?Object.keys(z):[]},Tl=r=>{const z=X?.selectedOption;return z==null||z===""?r:Fe[z]?.[r]??r},zl=r=>Nt[r]??r,Al=r=>Pt[r]??r,$l=r=>Vt[r]??r,Bl=r=>kt[r]??r,Rl=r=>pl[r]??r,Ml=Object.values(pl),Wl=(m?.usNexusTypes??[]).map(Rl),ql=r=>e.find(z=>z.code===r)?.name??r;return l.jsxs(At,{style:ae,ref:N,windowSize:x,children:[l.jsx($t,{children:l.jsxs(Gt,{children:[l.jsxs(Rt,{children:[ie===!0?l.jsx(Mt,{children:ue?l.jsx(Wt,{}):l.jsx(qt,{})}):null,l.jsx(Bt,{windowSize:x,children:w??t.confirmCompanyDetails})]}),ce?l.jsx(Ut,{children:l.jsx(Ol,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:x==="small"||b==="onboarding"?"bottom":"right",children:l.jsx(Ht,{})})}):null,b==="onboarding"&&w!=null?l.jsx(Vl,{text:Et}):null,W?.companyVerificationStatus!=null?l.jsx(Qt,{tagTitle:W.companyVerificationStatus.name,textColor:Il(W.companyVerificationStatus.code),showLoader:W?.isRefreshingViewInBackground}):null]})}),l.jsxs(Zt,{children:[l.jsx(Pl,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:u(o,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Q,options:{required:a==null&&p.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:P},text:{type:"text",name:u(o,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:te,options:{required:a==null&&p.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(Ye,{isDisabled:a,label:{label:t.registeredAddressLabel,width:P},addressValueField:{name:u(o,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:se,registerOptions:{validate:r=>p.includes("registeredAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{me?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",g),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx(Ye,{isDisabled:a,label:{label:t.companyAddressLabel,width:P},addressValueField:{name:u(o,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Ae,registerOptions:{validate:r=>p.includes("companyAddress")===!1?!(a==null&&r==null):!0},onClick:()=>{q?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",g),showAdditionalInfoLabel:!1}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:T},text:{type:"url",name:u(o,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:L?.toString()??"",options:{required:a==null&&p.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(Jt,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:_e?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:Object.keys(t.companyIndustryOptions)},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0},onSelectChange:ee},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",g),style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}}),Te!=null&&l.jsx(K,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:u(o,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Tl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Le,allOptions:I(X?.selectedOption??re)},registerOptions:{required:a==null&&p.includes("companySubIndustry")===!1,validate:r=>p.includes("companySubIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",g),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:i.sp0,paddingRight:i.sp0,width:"100%"}})]}):l.jsx(K,{label:{label:t.companyIndustryLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ql,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:re,allOptions:e?.map(r=>r.code)??[]},registerOptions:{required:a==null&&p.includes("companyIndustry")===!1,validate:r=>p.includes("companyIndustry")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",g),additionalInfoLabel:a==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:i.sp2}})}),l.jsx(O,{}),l.jsx(ol,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:a==null&&p.includes("typeOfIncorporation")===!1,validate:r=>p.includes("typeOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(jl,{isDisabled:a,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:G.paddingBottom.valuePx(x)},dateField:{name:u(o,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ft.defaultInput,maxDate:El(),minDate:ut("01 Jan 1900"),autoComplete:"off",registerOptions:{required:a==null&&p.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",g)}),l.jsx(O,{}),Ce?l.jsxs(l.Fragment,{children:[l.jsx(ol,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:a,creatableSingleSelectField:{name:u(o,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:U,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:a==null&&p.includes("stateOfIncorporation")===!1,validate:r=>p.includes("stateOfIncorporation")===!1?!(a==null&&!r?.selectedOption):!0}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",g)}),l.jsx(O,{})]}):null,Ue?l.jsxs(l.Fragment,{children:[l.jsx(pt,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:a,additionalInfoLabel:a==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",g),multiSelectField:{name:u(o,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:Jl(V,(M??[]).map(r=>r.countryCode)),registerOptions:{validate:r=>p.includes("countriesOfOperations")?!0:!(a==null&&r.selectedOptions.length===0)}}}),l.jsx(O,{})]}):null,He?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Al,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.companySourceOfFunds,allOptions:Object.keys(t.companySourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("companySourceOfFunds")===!1,validate:r=>p.includes("companySourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",g),additionalContent:ht.includes(he?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.companySourceOfFundsDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||y[o]!=null&&y[o]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,Ge?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.transactionVolumeLabel,width:le},singleSelectField:{singleSelect:{name:u(o,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:$l,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.transactionVolume,allOptions:Object.keys(t.transactionVolumeOptions)},registerOptions:{required:a==null&&p.includes("transactionVolume")===!1,validate:r=>p.includes("transactionVolume")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",g),additionalContent:ft.includes(fe?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.transactionVolumeDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-le,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||y[o]!=null&&y[o]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,n?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:u(o,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Bl,isDisabled:a,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:m?.purposeOfAccount,allOptions:Object.keys(t.purposeOfAccountOptions)},registerOptions:{required:a==null&&p.includes("purposeOfAccount")===!1,validate:r=>p.includes("purposeOfAccount")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",g),additionalContent:yt.includes(f?.selectedOption)?l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:u(o,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.purposeOfAccountDescription!=null?B.importantLight:j.colors.background},options:{required:a==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:a!=null||y[o]!=null&&y[o]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:j.colors.hero}}),l.jsx(O,{})]}):null,D?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.regulatedStatusLabel,htmlFor:u(o,"regulatedStatus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(yl,{labelWidth:v,windowSize:x,children:[l.jsx(De,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(De,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"regulatedStatus"),id:`${u(o,"regulatedStatus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("regulatedStatus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),F==="yes"&&l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:u(o,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[o]!=null&&y[o]?.regulatedStatusDescription!=null?B.importantLight:j.colors.background},options:{required:a==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[o]!=null&&y[o]?.regulatedStatus!=null?l.jsx(Ze,{windowSize:x,children:t.regulatedStatusError.replace("_product_type_",g)}):y[o]!=null&&y[o]?.regulatedStatusDescription!=null?null:a==null?l.jsx(gl,{windowSize:x,children:t.regulatedStatusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,ne?l.jsxs(l.Fragment,{children:[l.jsxs(hl,{windowSize:x,"data-suppress-hover":a!=null?!0:void 0,children:[l.jsxs(fl,{children:[l.jsx(il,{label:t.usNexusLabel,htmlFor:u(o,"usNexus"),isDisabled:a,style:{width:v,color:a==="disabled"?j.colors.grey1:j.colors.hero}}),l.jsxs(yl,{labelWidth:v,windowSize:x,children:[l.jsx(De,{label:{label:cl},style:{paddingRight:`${i.sp4}`,width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.yes`,value:"yes",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0}),l.jsx(De,{label:{label:ul},style:{width:"auto"},radioField:{name:u(o,"usNexus"),id:`${u(o,"usNexus")}.no`,value:"no",style:{height:`${i.sp3}`,width:`${i.sp3}`},radioSize:"small",registerOptions:{required:a==null&&p.includes("usNexus")===!1}},isDisabled:a,isContainerClickable:!0})]})]}),Z==="yes"&&l.jsxs(l.Fragment,{children:[l.jsx(Yt,{hasError:y[o]!=null&&y[o]?.usNexusTypes!=null,children:l.jsx(mt,{isDisabled:a,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:u(o,"usNexusTypes"),placeholder:t.usNexusPlaceholder,defaultValue:{selectedOptions:Wl,allOptions:Ml},registerOptions:{required:a==null,shouldUnregister:!0,validate:r=>{const z=r?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[o]!=null&&y[o]?.usNexusTypes!=null&&l.jsx(Ze,{windowSize:x,children:t.usNexusTypesError})]}),y[o]!=null&&y[o]?.usNexus!=null?l.jsx(Ze,{windowSize:x,children:t.usNexusError.replace("_product_type_",g)}):y[o]!=null&&y[o]?.usNexusTypes!=null?null:a==null?l.jsx(gl,{windowSize:x,children:t.usNexusAdditionalInfo}):null]}),l.jsx(O,{})]}):null,l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:T},text:{type:"text",name:u(o,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ze,options:{required:a==null&&p.includes("companyTaxId")===!1,pattern:Kl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(vl,{isDisabled:a,label:{label:t.companyPhoneLabel,width:T},text:{name:u(o,"companyPhone"),placeholder:Oe(t.companyPhoneLabel),defaultValue:d,autoComplete:"new-password",options:{required:a==null&&p.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(Sl,{isDisabled:a,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:u(o,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:ge?.firstName??"",lastName:ge?.lastName??""},registerOptions:{required:a==null&&p.includes("primaryContactName")===!1,validate:r=>!!r||a!=null||p.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx($,{isDisabled:a,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:u(o,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:ge?.email,options:{required:a==null&&p.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",g)}),l.jsx(O,{}),l.jsx(rl,{name:u(o,"certificateOfIncorporation"),isDisabled:a,sizeLimit:Qe,deleteFileStatusById:k,updateFileStatusById:J,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.certificateOfIncorporation,width:ye},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:je,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:a==null&&p.includes("certificateOfIncorporation")===!1&&C==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",g),hasError:be,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>$e(r)}),be||!(a!=null||je!=null)?l.jsx(ml,{windowSize:x,isError:be,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),l.jsx(rl,{name:u(o,"ein"),isDisabled:a,sizeLimit:Qe,deleteFileStatusById:k,updateFileStatusById:J,filesEndPoint:c.filesEndPoint,authParams:c.authParams,label:{label:t.einDocument,width:ye},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:ve,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:a==null&&p.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",g),hasError:_,updateFilesEntity:c.updateFilesEntity,onEditFileName:c.onEditFileName,onDeleteFile:c.onDeleteFile,onFileSizeError:r=>Be(r)}),_||!(a!=null||ve!=null)?l.jsx(ml,{windowSize:x,isError:_,children:dl.formatDocumentText10MB}):null,l.jsx(O,{}),pe===!0?l.jsxs(l.Fragment,{children:[l.jsx(K,{label:{label:t.sourceOfFundsLabel,width:T},singleSelectField:{singleSelect:{name:u(o,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:zl,isDisabled:a,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:a==null&&p.includes("sourceOfFunds")===!1,validate:r=>p.includes("sourceOfFunds")===!1?!(a==null&&!r?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",g)}),l.jsx(O,{})]}):null]})]})});zt.displayName="Company Details Section";const u=(e,c)=>`${e}.${c}`,At=s.div`
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  row-gap: ${e=>G.containerRowGap.valuePx(e.windowSize)};
43
- `,At=s.div`
43
+ `,$t=s.div`
44
44
  display: flex;
45
45
  justify-content: space-between;
46
46
  `,ml=s(it)`
@@ -94,7 +94,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
94
94
  background-color: ${e=>e.theme.colors.grey3};
95
95
  min-height: 1px;
96
96
  max-height: 1px;
97
- `,Yt=s(Cl)`
97
+ `,Qt=s(Cl)`
98
98
  width: max-content;
99
99
  margin-left: ${i.sp3};
100
100
  `,hl=s.div`
@@ -123,7 +123,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
123
123
  align-items: center;
124
124
  margin-top: ${i.sp2};
125
125
  margin-bottom: ${i.sp2};
126
- `,gl=s.div`
126
+ `,yl=s.div`
127
127
  display: flex;
128
128
  flex-direction: row;
129
129
  width: ${e=>`calc(100% - ${e.labelWidth}px)`};
@@ -131,7 +131,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
131
131
  justify-content: flex-end;
132
132
  flex-grow: 1;
133
133
  padding-right: ${i.sp3};
134
- `,yl=s(ll)`
134
+ `,gl=s(ll)`
135
135
  color: ${e=>e.theme.colors.hero};
136
136
  text-align: right;
137
137
  padding-right: ${i.sp3};
@@ -139,7 +139,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
139
139
  color: ${B.important};
140
140
  text-align: right;
141
141
  padding-right: ${i.sp3};
142
- `,Jt=s.div`
142
+ `,Yt=s.div`
143
143
  width: 100%;
144
144
  & > div {
145
145
  background-color: ${e=>e.hasError===!0?B.importantLight:e.theme.colors.background};
@@ -147,7 +147,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
147
147
  & .select-control {
148
148
  background-color: ${e=>e.hasError===!0?B.importantLight:e.theme.colors.background} !important;
149
149
  }
150
- `,Qt=s.div`
150
+ `,Jt=s.div`
151
151
  display: flex;
152
152
  flex-direction: column;
153
153
  padding: ${i.sp2} ${i.sp2} ${i.sp2} ${i.sp0};
@@ -173,7 +173,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
173
173
  display: flex;
174
174
  align-items: center;
175
175
  justify-content: flex-end;
176
- `,Xt=(e,c)=>e.map(b=>({...b,value:b.userId,label:b.firstName!=""||b.lastName!=""?`${b.firstName} ${b.lastName}`:b.email})),ea=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function la({allUsers:e,onSelectedUserChanged:c,selectedUser:b,disable:m=!1,pickerStyles:{optionBackgroundColor:M,selectedOptionBackgroundColor:C,optionTextStyle:W,titleTextStyle:a,backgroundColor:ae,titleTextAlignment:o,selectedOptionColor:ce,customStyleConfig:ue}={},customization:{placeholderLabel:ie}={},showAddUser:pe=!0}){const w=xl(),[p,q]=h.useState(!1),me=Xt(e).sort((f,F)=>f.label.localeCompare(F.label)),P=b!=null?ea(b):void 0,x=M??w.colors.grey5,j=ae??w.colors.grey5,S=C??w.colors.grey3,oe=W??De.smallRegular.cssObject,g=a??oe,he={control:(f,F)=>({...f,border:0,height:"100%",backgroundColor:j,fill:F.selectProps.menuIsOpen===!0?w.colors.primary:w.colors.grey1,boxShadow:j,">div:last-child":{color:p?w.colors.primary:w.colors.grey1},":active":{backgroundColor:j},":hover":{fill:w.colors.primary,">div:last-child":{color:w.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:w.colors.grey1,">path":{color:w.colors.grey5,fill:"currentcolor"}}}),container:f=>({...f,backgroundColor:j,height:"100%"}),singleValue:f=>({...f,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:i.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:w.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...De.standardRegular.cssObject}}),valueContainer:f=>({...f,maxWidth:"100%",cursor:"pointer",height:"100%",...g,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:o??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(f,F)=>({...f,backgroundColor:x,borderRadius:R[1],boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${i.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:i.sp1,padding:`${i.sp1} ${i.sp0}`,">div":{width:"-webkit-fill-available"}},...ue?.menu?.(f,F)}),menuList:f=>({...f,borderRadius:R[1]}),placeholder:(f,F)=>({...f,margin:0,width:"100%",color:F.isFocused?w.colors.primary:"currentColor",paddingRight:i.sp2,...De.standardRegular.cssObject,">div>div>svg>circle":{fill:w.colors.grey1}}),noOptionsMessage:f=>({...f,...De.smallRegular.cssObject,padding:`10px ${i.sp3} 9px ${i.sp3}`,color:w.colors.hero}),option:(f,{isDisabled:F,isSelected:Z,isFocused:X})=>({...f,...oe,color:Z?ce??w.colors.champion:w.colors.hero,backgroundColor:Z?S:X?w.colors.background:x,cursor:F?"not-allowed":Z?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:w.colors.background,color:w.colors.primary},"& label":{paddingRight:"10px",cursor:F?"not-allowed":Z?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},fe=({children:f,...F})=>l.jsxs(Ne.ValueContainer,{...F,children:[f,pe===!0?l.jsxs(ya,{hasSelectedUser:!!b,onClick:()=>{c(void 0),q(!1)},children:[l.jsx(sa,{}),l.jsx("div",{children:ie??"Add User"})]}):null]});return l.jsx(Xl,{onClickAway:()=>{q(!1)},children:l.jsx(Kt,{children:l.jsx(et,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:p,menuShouldScrollIntoView:!1,defaultValue:P,value:P,noOptionsMessage:()=>de.getLocalizedStrings().cockpit.management.noPerson,onInputChange:f=>{f!==""&&q(!0)},onMenuOpen:()=>{q(!0)},placeholder:l.jsx(aa,{children:l.jsx("div",{children:ie??"Select..."})}),components:{Option:ua,DropdownIndicator:ba,IndicatorSeparator:xa,SingleValue:fa,ValueContainer:ga,MenuList:fe},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:he,options:me,isDisabled:m,onChange:f=>{c(f),q(!1)},isClearable:!1,isSearchable:!1},lt())})})}const ta=s.div``,aa=s.div`
176
+ `,Xt=(e,c)=>e.map(b=>({...b,value:b.userId,label:b.firstName!=""||b.lastName!=""?`${b.firstName} ${b.lastName}`:b.email})),ea=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function la({allUsers:e,onSelectedUserChanged:c,selectedUser:b,disable:m=!1,pickerStyles:{optionBackgroundColor:M,selectedOptionBackgroundColor:C,optionTextStyle:W,titleTextStyle:a,backgroundColor:ae,titleTextAlignment:o,selectedOptionColor:ce,customStyleConfig:ue}={},customization:{placeholderLabel:ie}={},showAddUser:pe=!0}){const w=xl(),[p,q]=h.useState(!1),me=Xt(e).sort((f,F)=>f.label.localeCompare(F.label)),N=b!=null?ea(b):void 0,x=M??w.colors.grey5,j=ae??w.colors.grey5,S=C??w.colors.grey3,oe=W??Ee.smallRegular.cssObject,y=a??oe,he={control:(f,F)=>({...f,border:0,height:"100%",backgroundColor:j,fill:F.selectProps.menuIsOpen===!0?w.colors.primary:w.colors.grey1,boxShadow:j,">div:last-child":{color:p?w.colors.primary:w.colors.grey1},":active":{backgroundColor:j},":hover":{fill:w.colors.primary,">div:last-child":{color:w.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:w.colors.grey1,">path":{color:w.colors.grey5,fill:"currentcolor"}}}),container:f=>({...f,backgroundColor:j,height:"100%"}),singleValue:f=>({...f,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:i.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:w.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...Ee.standardRegular.cssObject}}),valueContainer:f=>({...f,maxWidth:"100%",cursor:"pointer",height:"100%",...y,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:o??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(f,F)=>({...f,backgroundColor:x,borderRadius:R[1],boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${i.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:i.sp1,padding:`${i.sp1} ${i.sp0}`,">div":{width:"-webkit-fill-available"}},...ue?.menu?.(f,F)}),menuList:f=>({...f,borderRadius:R[1]}),placeholder:(f,F)=>({...f,margin:0,width:"100%",color:F.isFocused?w.colors.primary:"currentColor",paddingRight:i.sp2,...Ee.standardRegular.cssObject,">div>div>svg>circle":{fill:w.colors.grey1}}),noOptionsMessage:f=>({...f,...Ee.smallRegular.cssObject,padding:`10px ${i.sp3} 9px ${i.sp3}`,color:w.colors.hero}),option:(f,{isDisabled:F,isSelected:Z,isFocused:X})=>({...f,...oe,color:Z?ce??w.colors.champion:w.colors.hero,backgroundColor:Z?S:X?w.colors.background:x,cursor:F?"not-allowed":Z?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:w.colors.background,color:w.colors.primary},"& label":{paddingRight:"10px",cursor:F?"not-allowed":Z?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},fe=({children:f,...F})=>l.jsxs(Pe.ValueContainer,{...F,children:[f,pe===!0?l.jsxs(ga,{hasSelectedUser:!!b,onClick:()=>{c(void 0),q(!1)},children:[l.jsx(sa,{}),l.jsx("div",{children:ie??"Add User"})]}):null]});return l.jsx(Xl,{onClickAway:()=>{q(!1)},children:l.jsx(Kt,{children:l.jsx(et,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:p,menuShouldScrollIntoView:!1,defaultValue:N,value:N,noOptionsMessage:()=>de.getLocalizedStrings().cockpit.management.noPerson,onInputChange:f=>{f!==""&&q(!0)},onMenuOpen:()=>{q(!0)},placeholder:l.jsx(aa,{children:l.jsx("div",{children:ie??"Select..."})}),components:{Option:ua,DropdownIndicator:ba,IndicatorSeparator:xa,SingleValue:fa,ValueContainer:ya,MenuList:fe},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:he,options:me,isDisabled:m,onChange:f=>{c(f),q(!1)},isClearable:!1,isSearchable:!1},lt())})})}const ta=s.div``,aa=s.div`
177
177
  display: flex;
178
178
  align-items: center;
179
179
  color: ${e=>e.theme.colors.grey1};
@@ -209,7 +209,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
209
209
  width: ${i.sp4};
210
210
  border-radius: 50%;
211
211
  justify-content: center;
212
- `,ua=e=>{const{data:c,options:b,isSelected:m}=e,M=b.findIndex(C=>C.value===c.value);return l.jsx(ta,{children:l.jsx(Ne.Option,{...e,children:l.jsxs(ra,{children:[l.jsxs(pa,{children:[l.jsx(ma,{children:c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:C})=>{C.onerror=null,C.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${i.sp4}`,index:M})}),l.jsx("label",{children:e.label})]}),!!m&&l.jsx(da,{children:l.jsx(ca,{})})]})})})},pa=s.div`
212
+ `,ua=e=>{const{data:c,options:b,isSelected:m}=e,M=b.findIndex(C=>C.value===c.value);return l.jsx(ta,{children:l.jsx(Pe.Option,{...e,children:l.jsxs(ra,{children:[l.jsxs(pa,{children:[l.jsx(ma,{children:c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:C})=>{C.onerror=null,C.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${i.sp4}`,index:M})}),l.jsx("label",{children:e.label})]}),!!m&&l.jsx(da,{children:l.jsx(ca,{})})]})})})},pa=s.div`
213
213
  width: 100%;
214
214
  display: flex;
215
215
  align-items: center;
@@ -222,7 +222,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
222
222
  white-space: nowrap;
223
223
  overflow: hidden;
224
224
  text-overflow: ellipsis;
225
- `,fa=({children:e,data:c,...b})=>{const{options:m}=b.selectProps,M=m.findIndex(C=>C.value===c.value);return l.jsx(Ne.MultiValueLabel,{...b,children:l.jsxs(wa,{children:[c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:C})=>{C.onerror=null,C.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${i.sp4}`,index:M}),l.jsx(ha,{children:e})]})})},ga=({children:e,...c})=>l.jsxs(Ne.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(ia,{children:l.jsx(oa,{})}):null,e]}),ya=s(ll)`
225
+ `,fa=({children:e,data:c,...b})=>{const{options:m}=b.selectProps,M=m.findIndex(C=>C.value===c.value);return l.jsx(Pe.MultiValueLabel,{...b,children:l.jsxs(wa,{children:[c?.photo!==void 0?l.jsx(kl,{src:c?.photo.href,alt:de.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:C})=>{C.onerror=null,C.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${i.sp4}`,index:M}),l.jsx(ha,{children:e})]})})},ya=({children:e,...c})=>l.jsxs(Pe.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(ia,{children:l.jsx(oa,{})}):null,e]}),ga=s(ll)`
226
226
  color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
227
227
  display: flex;
228
228
  padding: ${i.sp2} 12px;
@@ -237,7 +237,7 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
237
237
  display: flex;
238
238
  flex-direction: row;
239
239
  cursor: pointer;
240
- `,Ie={width:new D(343,580,726),labelWidth:new D(115,145,155),largeLabelWidth:new D(160,240,240),veryLargeLabelWidth:new D(150,240,245),containerRowGap:new D(12,R[3])},Oa={title:new Pe("standardMedium","largeMedium")};function Ja({companyOfficerData:e,isDisabled:c,allOfficers:b,allNationalityCountries:m,isRefreshingViewInBackground:M,connectedAccountProvider:C,style:W,isPopupOpen:a,sectionId:ae,filesEndPoint:o,authParams:ce,showInfoTooltip:ue=!0,isCompleted:ie=!1,showCompletedIcon:pe=!1,showOfficerSelect:w=!0,showVerificationTag:p=!0,isForTreasury:q=!1,isOverlay:me=!1,productType:P,companyTitles:x,sectionHeader:j,optionalFields:S=[],onOfficerAddressClick:oe,onDeleteFile:g,onEditFileName:he,updateFilesEntity:fe,openPopup:f,onGetOtp:F,onVerifyOtp:Z,onResendOtp:X,verifiedPhoneNumber:ee,onPhoneVerified:T}){const N=Qe(),v=xl(),{getValues:le,setValue:ge}=wl(),y=b.length>0,[je,ve]=h.useState(!1),te=y?Object.values(e).findIndex(n=>n?.isSelectedForVerification===!0):0,Y=`Officer_${te<0?1:te+1}`;h.useEffect(()=>{T!=null&&e[Y]?.phone!=null&&e[Y].isPhoneVerified===!0&&T(e[Y]?.phone??"")},[]);const L=`${ae}.${te}`,J=e[Y],U=q?J?.treasuryUserVerificationStatus:J?.userVerificationStatus,V=b.find(n=>n.userId===J?.userId),Ve=b.sort((n,E)=>(n.firstName||n.lastName?`${n.firstName} ${n.lastName}`:n.email).localeCompare(E.firstName||E.lastName?`${E.firstName} ${E.lastName}`:E.email)),re=y?Ve.findIndex(n=>n.userId===J?.userId):0,Le=e[Y]?.deleteFileStatusById??{},ke=e[Y]?.updateFileStatusById??{},_e=le(`${L}.selectDocument.selectDocumentType`),{common:{optional:Te},commonSetUp:{businessVerification:d},dateFormat:{visual:ze},cockpit:ye}=de.getLocalizedStrings(),k=P==="onboarding"?d.productType.business_verification:d.productType[P],Q=Ie.labelWidth.value(N),$e=Ie.veryLargeLabelWidth.value(N),se=Ie.largeLabelWidth.value(N),be=N==="small"?d.companyRolePlaceholderSmall:d.companyRolePlaceholder,Ae=N==="small"?d.protectedSsnTextSmall:d.protectedSsnText,_=U?.code==="pending_review"||U?.code==="verified"?"readonly":c,Be=_!=null||!y||U?.code==="require_info",Re=V?.firstName||V?.lastName?`${V?.firstName} ${V?.lastName}`:d.addOfficer,Me=J?.userId!=null?d.confirmIdentityDetails:d.confirmIdentityDetailsNewOfficer,We={menu:()=>({right:"initial",left:0})},qe=n=>x.find(E=>E.code===n)?.name??n,xe=J?.otpverificationStatus?.fetchState,Ce=Ul(xe);h.useEffect(()=>{T!=null&&Ce==="In-Progress"&&xe==="Completed"&&T(le(`${L}.phone`))},[Ce,xe]);const Ue=(n,E)=>{Z(n,E)},He=()=>ee==null||ee===""?!1:le(`${L}.phone`)===ee,Ge=()=>{const n=le(`${L}.phone`);return n!=null&&!at(n)?d.phoneErrorForOnboarding:d.phoneError.replace("_product_type_",k)};return l.jsxs(Ia,{style:W,windowSize:N,children:[l.jsxs(Sa,{windowSize:N,isOverlay:me,children:[l.jsxs(Na,{children:[l.jsxs(va,{children:[pe===!0?l.jsx(La,{children:ie?l.jsx(_a,{}):l.jsx(Ca,{})}):null,l.jsx(ja,{windowSize:N,children:j??Me})]}),ue?l.jsx(Fa,{children:l.jsx(Ol,{variant:"small-description",maxWidth:"275px",data:d.confirmIdentityDetailsTooltip,display:"flex",placement:N==="small"||P==="onboarding"?"bottom":"right",children:l.jsx(Ea,{})})}):null,P==="onboarding"&&j!=null?l.jsx(Vl,{text:Te}):null,U!=null&&p?l.jsx(Ta,{tagTitle:U?.name,textColor:Il(U.code),showLoader:M}):null]}),w?Be?y?l.jsxs(ka,{children:[V?.photo!==void 0?l.jsx(Da,{src:V?.photo.href,alt:ye.userProfileAltText,onError:({currentTarget:n})=>{n.onerror=null,n.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:V?.firstName??"",lastName:V?.lastName??"",size:`${i.sp4}`,index:re}),l.jsx(bl,{children:`${Re}`})]}):l.jsxs(za,{children:[l.jsx($a,{children:l.jsx(Aa,{})}),l.jsx(bl,{children:`${d.addOfficer}`})]}):l.jsx(Pa,{children:l.jsx(la,{selectedUser:V,allUsers:b,onSelectedUserChanged:n=>{const E=Object.values(e).findIndex(ne=>ne?.userId===n?.userId);ge(`${L}.isSelectedForVerification`,!1),ge(`${ae}.${E}.isSelectedForVerification`,!0)},customization:{placeholderLabel:d.addOfficer},showAddUser:b.length<=9,pickerStyles:{backgroundColor:v.colors.grey5,selectedOptionBackgroundColor:v.colors.background,customStyleConfig:N==="small"?We:void 0}})}):null]}),Object.values(e).map((n,E)=>{if(te!==E)return null;const ne=Hl(n?.documentTypeSelectedForVerification),we=n?.userFiles??[],Fe=()=>ee!=""&&P==="onboarding"?He():n?.isPhoneVerified??!1;return l.jsxs(Va,{children:[l.jsx(Nl,{}),l.jsx(Sl,{isDisabled:_,label:{label:d.name,width:Q},nameField:{name:$(L,"name"),placeHolder:{firstName:d.firstNamePlaceholder,lastName:d.lastNamePlaceholder,name:d.namePlaceholder},defaultValue:{firstName:n?.firstName??"",lastName:n?.lastName??""},registerOptions:{required:S.includes("name")===!1,validate:I=>S.includes("name")===!1?!!I:!0},showFullNameError:!0},errorInfoLabel:d.nameError.replace("_product_type_",k)}),l.jsx(H,{}),n?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(A,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.email,width:Q},text:{type:"email",name:$(L,"email"),placeholder:Oe(d.email),defaultValue:n?.email,options:{required:S.includes("email")===!1}},additionalInfoLabel:d.emailDescription.replace("_product_type_",k)}),l.jsx(H,{})]}):null,l.jsx(jl,{isDisabled:_,label:{label:d.dobLabel,width:se},dateField:{name:$(L,"dob"),type:"text",defaultValue:n?.birthday,placeholder:Oe(d.dobLabel),dateFormat:ze.defaultInput,maxDate:Dl().subtract(C==="unit"?18:13,"years"),registerOptions:{required:S.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:d.dobDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(H,{}),l.jsx(Gl,{isDisabled:_,label:{label:d.nationalityLabel,width:Q},showAdditionalInfoLabel:P!=="onboarding",additionalInfoLabel:d.nationalityDescription.replace("_product_type_",k),countrySelectField:{name:$(L,"nationalityCountryCode"),placeholder:d.nationalityPlaceholder,defaultValue:Zl(n?.nationalityCountryCode,m.map(I=>I.countryCode)),registerOptions:{validate:I=>!!(I!=null&&I.selectedOption)}}}),l.jsx(H,{}),l.jsx(Je,{isDisabled:_,label:{label:d.address,width:Q},addressValueField:{name:$(L,"officerAddress"),placeholder:Oe(d.address),defaultValue:n?.addressStatus?.addressToCreate,registerOptions:{validate:I=>S.includes("officerAddress")===!1?!(_==null&&I==null):!0},onClick:()=>{oe(n?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:P==="onboarding"?d.addressAdditionInfo:d.addressError.replace("_product_type_",k),showAdditionalInfoLabel:!0}),l.jsx(H,{}),l.jsx(vl,{isDisabled:_,label:{label:d.phone,width:Q},text:{name:$(L,"phone"),placeholder:Oe(d.phone),defaultValue:n?.phone,autoComplete:"new-password",options:{required:S.includes("phone")===!1}},errorInfoLabel:Ge(),verificationErrorInfoLabel:d.phoneValidationError,isPopupOpen:a,phoneVerifyButtonProps:{otpChallenge:n?.otpChallenge,showOtpButton:C==="unit",onGetOtp:F,onVerifyOtp:Ue,onResendOtp:X,isPhoneVerified:Fe(),phoneVerificationStatus:n?.otpverificationStatus,getOtpStatus:n?.sendOtpStatus,openPopup:f,verifiedPhoneNumber:ee,focusNotRequired:!0}}),l.jsx(H,{}),l.jsx(K,{label:{label:d.companyRoleLabel,width:se},singleSelectField:{singleSelect:{name:$(L,"role"),placeholder:be,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:qe,isDisabled:_,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:n?.titleAtCompany,allOptions:x?.map(I=>I.code)??[]},registerOptions:{required:S.includes("role")===!1,validate:I=>S.includes("role")===!1?!(_==null&&!I?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:d.companyRoleDescription.replace("_product_type_",k)}),l.jsx(H,{}),l.jsx(tl,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.companyOwnershipLabel,width:se},formattedTextField:{type:"number",name:$(L,"ownership"),defaultValue:n?.ownershipInCompany,placeholder:d.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:S.includes("ownership")===!1,validate:I=>I!=null?I>0&&I<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:P==="onboarding"?d.companyOwnershipDescriptionForOnboarding:d.companyOwnershipDescription}),l.jsx(H,{}),l.jsx(tl,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.ssnLabel,width:se},formattedTextField:{type:"text",name:$(L,"ssn"),placeholder:d.addSSNPlaceholder,defaultValue:n?.ssn,format:"###-##-####",registerOptions:{required:S.includes("ssn")===!1,pattern:Yl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:_!=null&&n?.ssn?Ae:void 0,additionalInfoLabel:d.ssnDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(H,{}),l.jsx(Jl,{name:$(L,"selectDocument"),officerIndex:te,sizeLimit:Ye,filesEndPoint:o,authParams:ce,onEditFileName:he,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:$e},allFiles:we,updateFilesEntity:fe,deleteFileStatusById:Le,updateFileStatusById:ke,onDeleteFile:g,isDisabled:_,menuPlacement:P==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:al(!0,we,_e),back:al(!1,we,_e)}},registerOptions:{required:S.includes("selectDocument")===!1},hasError:je,additionalInfoLabel:d.companyIdDescription.replace("_product_type_",k),onFileSizeError:I=>ve(I),isPopupOpen:a,openPopup:f,companyOfficerName:{firstName:n?.firstName??"",lastName:n?.lastName??""}})]},L)})]})}const $=(e,c)=>`${e}.${c}`,Ia=s.div`
240
+ `,Ie={width:new E(343,580,726),labelWidth:new E(115,145,155),largeLabelWidth:new E(160,240,240),veryLargeLabelWidth:new E(150,240,245),containerRowGap:new E(12,R[3])},Oa={title:new Ne("standardMedium","largeMedium")};function Ya({companyOfficerData:e,isDisabled:c,allOfficers:b,allNationalityCountries:m,isRefreshingViewInBackground:M,connectedAccountProvider:C,style:W,isPopupOpen:a,sectionId:ae,filesEndPoint:o,authParams:ce,showInfoTooltip:ue=!0,isCompleted:ie=!1,showCompletedIcon:pe=!1,showOfficerSelect:w=!0,showVerificationTag:p=!0,isForTreasury:q=!1,isOverlay:me=!1,productType:N,companyTitles:x,sectionHeader:j,optionalFields:S=[],onOfficerAddressClick:oe,onDeleteFile:y,onEditFileName:he,updateFilesEntity:fe,openPopup:f,onGetOtp:F,onVerifyOtp:Z,onResendOtp:X,verifiedPhoneNumber:ee,onPhoneVerified:T}){const P=Je(),v=xl(),{getValues:le,setValue:ye}=wl(),g=b.length>0,[je,ve]=h.useState(!1),te=g?Object.values(e).findIndex(n=>n?.isSelectedForVerification===!0):0,Q=`Officer_${te<0?1:te+1}`;h.useEffect(()=>{T!=null&&e[Q]?.phone!=null&&e[Q].isPhoneVerified===!0&&T(e[Q]?.phone??"")},[]);const L=`${ae}.${te}`,Y=e[Q],U=q?Y?.treasuryUserVerificationStatus:Y?.userVerificationStatus,V=b.find(n=>n.userId===Y?.userId),Ve=b.sort((n,D)=>(n.firstName||n.lastName?`${n.firstName} ${n.lastName}`:n.email).localeCompare(D.firstName||D.lastName?`${D.firstName} ${D.lastName}`:D.email)),re=g?Ve.findIndex(n=>n.userId===Y?.userId):0,Le=e[Q]?.deleteFileStatusById??{},ke=e[Q]?.updateFileStatusById??{},_e=le(`${L}.selectDocument.selectDocumentType`),{common:{optional:Te},commonSetUp:{businessVerification:d},dateFormat:{visual:ze},cockpit:ge}=de.getLocalizedStrings(),k=N==="onboarding"?d.productType.business_verification:d.productType[N],J=Ie.labelWidth.value(P),Ae=Ie.veryLargeLabelWidth.value(P),se=Ie.largeLabelWidth.value(P),be=P==="small"?d.companyRolePlaceholderSmall:d.companyRolePlaceholder,$e=P==="small"?d.protectedSsnTextSmall:d.protectedSsnText,_=U?.code==="pending_review"||U?.code==="verified"?"readonly":c,Be=_!=null||!g||U?.code==="require_info",Re=V?.firstName||V?.lastName?`${V?.firstName} ${V?.lastName}`:d.addOfficer,Me=Y?.userId!=null?d.confirmIdentityDetails:d.confirmIdentityDetailsNewOfficer,We={menu:()=>({right:"initial",left:0})},qe=n=>x.find(D=>D.code===n)?.name??n,xe=Y?.otpverificationStatus?.fetchState,Ce=Ul(xe);h.useEffect(()=>{T!=null&&Ce==="In-Progress"&&xe==="Completed"&&T(le(`${L}.phone`))},[Ce,xe]);const Ue=(n,D)=>{Z(n,D)},He=()=>ee==null||ee===""?!1:le(`${L}.phone`)===ee,Ge=()=>{const n=le(`${L}.phone`);return n!=null&&!at(n)?d.phoneErrorForOnboarding:d.phoneError.replace("_product_type_",k)};return l.jsxs(Ia,{style:W,windowSize:P,children:[l.jsxs(Sa,{windowSize:P,isOverlay:me,children:[l.jsxs(Pa,{children:[l.jsxs(va,{children:[pe===!0?l.jsx(La,{children:ie?l.jsx(_a,{}):l.jsx(Ca,{})}):null,l.jsx(ja,{windowSize:P,children:j??Me})]}),ue?l.jsx(Fa,{children:l.jsx(Ol,{variant:"small-description",maxWidth:"275px",data:d.confirmIdentityDetailsTooltip,display:"flex",placement:P==="small"||N==="onboarding"?"bottom":"right",children:l.jsx(Da,{})})}):null,N==="onboarding"&&j!=null?l.jsx(Vl,{text:Te}):null,U!=null&&p?l.jsx(Ta,{tagTitle:U?.name,textColor:Il(U.code),showLoader:M}):null]}),w?Be?g?l.jsxs(ka,{children:[V?.photo!==void 0?l.jsx(Ea,{src:V?.photo.href,alt:ge.userProfileAltText,onError:({currentTarget:n})=>{n.onerror=null,n.src=Ke},loading:"lazy"}):l.jsx(Xe,{firstName:V?.firstName??"",lastName:V?.lastName??"",size:`${i.sp4}`,index:re}),l.jsx(bl,{children:`${Re}`})]}):l.jsxs(za,{children:[l.jsx(Aa,{children:l.jsx($a,{})}),l.jsx(bl,{children:`${d.addOfficer}`})]}):l.jsx(Na,{children:l.jsx(la,{selectedUser:V,allUsers:b,onSelectedUserChanged:n=>{const D=Object.values(e).findIndex(ne=>ne?.userId===n?.userId);ye(`${L}.isSelectedForVerification`,!1),ye(`${ae}.${D}.isSelectedForVerification`,!0)},customization:{placeholderLabel:d.addOfficer},showAddUser:b.length<=9,pickerStyles:{backgroundColor:v.colors.grey5,selectedOptionBackgroundColor:v.colors.background,customStyleConfig:P==="small"?We:void 0}})}):null]}),Object.values(e).map((n,D)=>{if(te!==D)return null;const ne=Hl(n?.documentTypeSelectedForVerification),we=n?.userFiles??[],Fe=()=>ee!=""&&N==="onboarding"?He():n?.isPhoneVerified??!1;return l.jsxs(Va,{children:[l.jsx(Pl,{}),l.jsx(Sl,{isDisabled:_,label:{label:d.name,width:J},nameField:{name:A(L,"name"),placeHolder:{firstName:d.firstNamePlaceholder,lastName:d.lastNamePlaceholder,name:d.namePlaceholder},defaultValue:{firstName:n?.firstName??"",lastName:n?.lastName??""},registerOptions:{required:S.includes("name")===!1,validate:I=>S.includes("name")===!1?!!I:!0},showFullNameError:!0},errorInfoLabel:d.nameError.replace("_product_type_",k)}),l.jsx(H,{}),n?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx($,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.email,width:J},text:{type:"email",name:A(L,"email"),placeholder:Oe(d.email),defaultValue:n?.email,options:{required:S.includes("email")===!1}},additionalInfoLabel:d.emailDescription.replace("_product_type_",k)}),l.jsx(H,{})]}):null,l.jsx(jl,{isDisabled:_,label:{label:d.dobLabel,width:se},dateField:{name:A(L,"dob"),type:"text",defaultValue:n?.birthday,placeholder:Oe(d.dobLabel),dateFormat:ze.defaultInput,maxDate:El().subtract(C==="unit"?18:13,"years"),registerOptions:{required:S.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:d.dobDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(H,{}),l.jsx(Gl,{isDisabled:_,label:{label:d.nationalityLabel,width:J},showAdditionalInfoLabel:N!=="onboarding",additionalInfoLabel:d.nationalityDescription.replace("_product_type_",k),countrySelectField:{name:A(L,"nationalityCountryCode"),placeholder:d.nationalityPlaceholder,defaultValue:Zl(n?.nationalityCountryCode,m.map(I=>I.countryCode)),registerOptions:{validate:I=>!!(I!=null&&I.selectedOption)}}}),l.jsx(H,{}),l.jsx(Ye,{isDisabled:_,label:{label:d.address,width:J},addressValueField:{name:A(L,"officerAddress"),placeholder:Oe(d.address),defaultValue:n?.addressStatus?.addressToCreate,registerOptions:{validate:I=>S.includes("officerAddress")===!1?!(_==null&&I==null):!0},onClick:()=>{oe(n?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:N==="onboarding"?d.addressAdditionInfo:d.addressError.replace("_product_type_",k),showAdditionalInfoLabel:!0}),l.jsx(H,{}),l.jsx(vl,{isDisabled:_,label:{label:d.phone,width:J},text:{name:A(L,"phone"),placeholder:Oe(d.phone),defaultValue:n?.phone,autoComplete:"new-password",options:{required:S.includes("phone")===!1}},errorInfoLabel:Ge(),verificationErrorInfoLabel:d.phoneValidationError,isPopupOpen:a,phoneVerifyButtonProps:{otpChallenge:n?.otpChallenge,showOtpButton:C==="unit",onGetOtp:F,onVerifyOtp:Ue,onResendOtp:X,isPhoneVerified:Fe(),phoneVerificationStatus:n?.otpverificationStatus,getOtpStatus:n?.sendOtpStatus,openPopup:f,verifiedPhoneNumber:ee,focusNotRequired:!0}}),l.jsx(H,{}),l.jsx(K,{label:{label:d.companyRoleLabel,width:se},singleSelectField:{singleSelect:{name:A(L,"role"),placeholder:be,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:qe,isDisabled:_,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:n?.titleAtCompany,allOptions:x?.map(I=>I.code)??[]},registerOptions:{required:S.includes("role")===!1,validate:I=>S.includes("role")===!1?!(_==null&&!I?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:d.companyRoleDescription.replace("_product_type_",k)}),l.jsx(H,{}),l.jsx(tl,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.companyOwnershipLabel,width:se},formattedTextField:{type:"number",name:A(L,"ownership"),defaultValue:n?.ownershipInCompany,placeholder:d.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:S.includes("ownership")===!1,validate:I=>I!=null?I>0&&I<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:N==="onboarding"?d.companyOwnershipDescriptionForOnboarding:d.companyOwnershipDescription}),l.jsx(H,{}),l.jsx(tl,{isDisabled:_,showAdditionalInfoLabel:!1,label:{label:d.ssnLabel,width:se},formattedTextField:{type:"text",name:A(L,"ssn"),placeholder:d.addSSNPlaceholder,defaultValue:n?.ssn,format:"###-##-####",registerOptions:{required:S.includes("ssn")===!1,pattern:Ql},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:_!=null&&n?.ssn?$e:void 0,additionalInfoLabel:d.ssnDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(H,{}),l.jsx(Yl,{name:A(L,"selectDocument"),officerIndex:te,sizeLimit:Qe,filesEndPoint:o,authParams:ce,onEditFileName:he,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:Ae},allFiles:we,updateFilesEntity:fe,deleteFileStatusById:Le,updateFileStatusById:ke,onDeleteFile:y,isDisabled:_,menuPlacement:N==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:al(!0,we,_e),back:al(!1,we,_e)}},registerOptions:{required:S.includes("selectDocument")===!1},hasError:je,additionalInfoLabel:d.companyIdDescription.replace("_product_type_",k),onFileSizeError:I=>ve(I),isPopupOpen:a,openPopup:f,companyOfficerName:{firstName:n?.firstName??"",lastName:n?.lastName??""}})]},L)})]})}const A=(e,c)=>`${e}.${c}`,Ia=s.div`
241
241
  display: flex;
242
242
  flex-direction: column;
243
243
  row-gap: ${e=>Ie.containerRowGap.valuePx(e.windowSize)};
@@ -274,18 +274,18 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
274
274
  &:hover {
275
275
  color: ${e=>e.theme.colors.primary};
276
276
  }
277
- `,Ea=s(_l)`
277
+ `,Da=s(_l)`
278
278
  width: ${i.sp3};
279
279
  height: ${i.sp3};
280
- `,Da=s.img`
280
+ `,Ea=s.img`
281
281
  height: ${i.sp4};
282
282
  width: ${i.sp4};
283
283
  border-radius: 50%;
284
284
  justify-content: center;
285
- `,Pa=s.div`
285
+ `,Na=s.div`
286
286
  margin-right: 14px;
287
287
  color: ${e=>e.theme.colors.primary};
288
- `,Na=s.div`
288
+ `,Pa=s.div`
289
289
  display: flex;
290
290
  align-items: center;
291
291
  `,Va=s.div`
@@ -321,11 +321,11 @@ import{J as Qe,e as xl,cJ as wl,O as de,y as D,aR as Ul,V as l,bT as Ol,fG as Il
321
321
  justify-content: flex-end;
322
322
  align-items: center;
323
323
  color: ${e=>e.theme.colors.hero};
324
- `,$a=s.div`
324
+ `,Aa=s.div`
325
325
  display: flex;
326
326
  align-items: center;
327
- `,Aa=s(Fl)`
327
+ `,$a=s(Fl)`
328
328
  width: ${i.sp4};
329
329
  height: ${i.sp4};
330
330
  color: ${e=>e.theme.colors.hero};
331
- `;export{Ja as n,zt as z};
331
+ `;export{Ya as n,zt as z};
@@ -1,4 +1,4 @@
1
- import{V as r,aM as E,aN as x,O as p,o as l,aQ as M,aT as w,ai as y,aU as H}from"./index-CRNmezJu.js";import{n as o}from"./mui-mhzAEcDs.js";import{c as j}from"./SummaryCard-Dcd_VUph-BV3h5iTx.js";import{a as t}from"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./ReloadCard-crbWeOPP-CkioU763.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="391af0b4-4e5a-4496-abc3-1083572c23d9",e._sentryDebugIdIdentifier="sentry-dbid-391af0b4-4e5a-4496-abc3-1083572c23d9")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
1
+ import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-AqGiWrum.js";import{n as o}from"./mui-C_Pjuwl5.js";import{c as j}from"./SummaryCard-Cy_49HY6-B5IOHtbz.js";import{a as t}from"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./ReloadCard-DQ8-0JyV-DB-bkjWN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6f4d696e-8d0a-4ce8-b3cd-dca9a2ebe448",e._sentryDebugIdIdentifier="sentry-dbid-6f4d696e-8d0a-4ce8-b3cd-dca9a2ebe448")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
4
  `,b=o.div`
@@ -13,21 +13,21 @@ import{V as r,aM as E,aN as x,O as p,o as l,aQ as M,aT as w,ai as y,aU as H}from
13
13
  display: flex;
14
14
  width: 100%;
15
15
  flex-direction: column;
16
- `,T=o.div`
17
- color: ${e=>e.theme.colors.primary};
18
16
  `,V=o.div`
17
+ color: ${e=>e.theme.colors.primary};
18
+ `,T=o.div`
19
19
  display: flex;
20
20
  flex-direction: row;
21
21
  align-items: center;
22
22
  margin: ${l.sp3} ${l.sp0};
23
23
  `,$=o.div`
24
24
  margin-right: ${l.sp3};
25
- `,N=o.div`
25
+ `,_=o.div`
26
26
  display: flex;
27
27
  width: 100%;
28
28
  flex-direction: column;
29
29
  text-align: left;
30
- `,_=o(y)`
30
+ `,N=o(y)`
31
31
  color: ${e=>e.theme.colors.hero};
32
32
  `,k=o(y)`
33
33
  color: ${e=>e.theme.colors.primary};
@@ -35,8 +35,8 @@ import{V as r,aM as E,aN as x,O as p,o as l,aQ as M,aT as w,ai as y,aU as H}from
35
35
  -webkit-box-orient: vertical;
36
36
  -webkit-line-clamp: 2;
37
37
  overflow: hidden;
38
- `,C=o(H)``,O=o.div`
38
+ `,C=o(H)``,A=o.div`
39
39
  width: 100%;
40
40
  height: 1px;
41
41
  background-color: ${e=>e.theme.colors.grey3};
42
- `;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(b,{children:r.jsx(W,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(V,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(N,{children:[r.jsx(_,{children:m}),r.jsx(A,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(O,{}):null]},i.key)})]})})})},e.cardIndex)}const A=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(T,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{Y as default};
42
+ `;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(b,{children:r.jsx(W,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(S,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{Y as default};