@zeniai/web-app-ui 4.14.34-prod → 4.14.35-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 (366) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-DOdcnea1.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-GiPvCRJA.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-DyFOkn-g.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-Dv2VQ_UN.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-0u2oxgMR.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-Cy_UpDhS.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-BWdxQBZs.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-xvXEX-Ux.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
  11. package/dist/assets/{AddressRoutes-ffTj4-XE.js → AddressRoutes-BOfIecri.js} +1 -1
  12. package/dist/assets/{AddressScreen-CwbSwP2P.js → AddressScreen-BL1pptQ5.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-C-s9DGYa.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-ky7GYy31.js → AiCfoScreen-B5nbVKeh.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-Dadr9Gec.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-CXso1m5Y.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-N8in2lu3.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-HEzUvQD5.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-6E84O9sA.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-BSFQLwWJ.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-CcwxPD_r.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-C2YzlN6Z.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-BSkB04b8.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-vpE8xbp3.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-DfeZIMEg.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-OBPhlcth.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-a4bc14UJ.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRqEGV5h.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-CDGGBdw4.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-C2T9b-Vq.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-IwCLBQ4C.js → BillPayRoutes-CBS2uwsj.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--hKXnXW7y.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-BYPEX6n6.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-DETAm1nH.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-CNFx_qzU.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-ZRSnva4Q.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-CBtz2-zR.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-DaOngyN9.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-DUYxvvHo.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DvaMlHNq.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-CIu-TGGw.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-B-StV0nu.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-DZi3AnCd.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-BCsrr76G.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-qFs5VmEt.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-CcQz84BS.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-4SSCFPQ4.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-SmPvhIJ-.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-BHE5m01A.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-CLhqGMI2.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-Djs-y_lF.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c-CfshBdbX.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-CfkYFhOH.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-BkCkkFbF.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-DA7b9h73.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-Bt9nVDvl.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DpAfq4d_.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-BjR4IlX5.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-BWbFgsjF.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-CnRANTg2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-BUv4wnWa.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-zXc9wagp.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-C-ExaFC2.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-D6-04E6_.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-BzG7cQxy.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DtIuxucw.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-CVWpnSBo.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-CYxNkh7v.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-ChFJ7MHp.js → DashboardRoutes-C-92-XEq.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CgiNswdF.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DpbVQ8O_.js → DefaultTenantHome-Bim9etFd.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DRNN1br-.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-KiHqHADW.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-mFjAiqsH.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-D5dltjE3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BTRZen3n.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-Dw-wONp5.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CnU-VoMe.js → DrawerScreen-MxSrrJrd.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DqbQfjtE.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-DZUd4Itz.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-Bl0VaL7D.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-BoOr8fVU.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-CwsDMrKO.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-xnjjT-mx.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-D8OIvCDd.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-SeZBy6gS.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-C0P6i02u.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-CcjSI5cK.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-CY3KrJG7.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-QDZIOJkv.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-Bxjmly9q.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-Bb1JSXvK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-CHqlcKsY.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-Bd8qZ6Sn.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-DTdizezB.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-CfPz5aLZ.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-BoGyyI8-.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-DW8tQqHU.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BVfacopw.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-B7H94Qr_.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-D1NZ5n0C.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-DQcySL2B.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-9Bh85cZL.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-C7uKsE8n.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-fV4URX6J.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-CkFXu9dG.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-DOZ2ED2j.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-CpanQxt-.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-WYjBLL4Z.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CmNHahAF.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-dj-ud4dM.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-mjp3UwWz.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-Ckqd1b8v.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-CQO3ycRf.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-DaX13Is3.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-Je-xXgqt.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-BgAj_Mic.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-8WWnBNb8.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Bcyem12-.js → MobileAppDrawer-C3TNoouV.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-CmGmYM-R.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BmGEKHOY.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-QySvTesc.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CUAB-1K_.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DsUaY4v0.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-BB9rS2z2.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-DmJjA0eC.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-BRwtqbdY.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-CJGJMrLD.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-CqL87o0B.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-Ceul2a4k.js → NotFoundScreen-CubXCR1V.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BjIV5PW8.js → NotificationRoutes-C2SuMmMM.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--gxJ4ef8p.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-DvchCo1R.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BMiLOKv6.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-CSTc2zF7.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-7YT_HLI5.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-CYrlYxiW.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-D46AftWd.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-BXInRRHh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CYTf-n47.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B6Hh54SM.js → PeopleRoutes-CAoitlRn.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-CZK-MKEJ.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
  156. package/dist/assets/{Preview-Dz6VBJ2u.js → Preview-B3lHkBD5.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-Bx79qkz1.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-wliyWMwp.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-BhNTbLuP.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Dyzyd1p0.js → QBOConnectionScreen-W61uspBL.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-DQnE3KzF.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-BOWr342j.js → ReferralListScreen-CFqALHvq.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-m5L8sFJ5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-Cd-uHeUo.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CC5sxHbJ.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-NVHIG-OE.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BpFwxhjT.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-L-8yyH_M.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-LUt3h9UV.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-B07qbUkS.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-uzEFRQ-S.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-DBPBbgAk.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-CPsb7qgs.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-DMFsqd7C.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-o9bGTZG2.js → ReportsRoutes-DCqEshJz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-BKAB0VPm.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-BuMU9buw.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-T1Rt0JTi.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BgoAL3gc.js → RewardsRoutes-CSIVaJxq.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-DNDpwGYk.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-CrubqPOA.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-w_YgKqjP.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-TOE80oct.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-DQJqTTcH.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-DiQAnQke.js → SettingsRoutes-D3PUQXPp.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-B44zrHwc.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-CXpuQZF7.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
  189. package/dist/assets/{SignInScreen-C2qODMhD.js → SignInScreen-BDFrycHi.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BuY2-rDM.js → SignOutScreen-CGJ8k7ri.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-Bnkn6BRU.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-BbdiQcvt.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-C5fgGVtc.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-BDI0UE9q.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-CpFQ2fm7.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-esyU6zat.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-DY-WyLZ7.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-Ct3YtoCE.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CoLCJfe-.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-NTfqA0n4.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
  201. package/dist/assets/{TaskListScreen-pLglWsFm.js → TaskListScreen-BN0d0a63.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-CpLCNkk4.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
  203. package/dist/assets/{TaskRoutes-DnaScSH0.js → TaskRoutes-DEMuiHnC.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-D8_bwHZK.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--WBWh3QNc.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BU77sN9h.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-DtCTyGEZ.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-Dt9C7u25.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-CdI1Sif1.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-LeQoOoop.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DmniS92w.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-BZXHb6ne.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-CwuevZBI.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-B0NbfJGc.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-BAGVAnze.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-BoniTEmb.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-DKLiFiZv.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-CSsspYlY.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-RdusD-Rs.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-DtzjbSZs.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-fE4rL1gs.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-CoxM2wed.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BjS9g3RO.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-BAgYpBnA.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-Pa5hfJ1q.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BNROU96t.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-CdHY7Z8F.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-D7-yK69r.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DkVJi06p.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-Bjr44b-O.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-Bo3Iqcup.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-SOKeFy8n.js → VendorsRoutes-05ainu55.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-DgLDroCx.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-u3_il_Y_.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-DAIfDEuP.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-DH4LFnlh.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-D5t6KpKy.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-BoKhHVdj.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-w44Ezq7c.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-Clp7jZPs.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-DFjwyu_L.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-CIYZ11Sw.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-C6QxYG3m.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-aNjy2A_h.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-CiSnJmIZ.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-CeeUTfjC.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-ssTMZPmj.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BiN37Afq.js → accountMappingHelper-GPi0oD1D.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-CPiuqV_c.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
  256. package/dist/assets/{analytics-wdo9XAAq.js → analytics-B2Q_uKwH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-AeOsAjMK-BGRykG4C.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
  258. package/dist/assets/{analyticsHelper-DCVh2Q2D.js → analyticsHelper-eqJrrWmY.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cha4vEKb.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BOscmwTD.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-Cy0EjR0N.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-Dipf9hW8.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-DzScwWaZ.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-Da9uYAcr.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CnqntmQY.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-BvbgEdIW.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-DYgG7K13.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
  269. package/dist/assets/{core-BcVj2gTX.js → core-D9P6lLF-.js} +1 -1
  270. package/dist/assets/{dash.all.min-C98tiWV1.js → dash.all.min-CrF9T_sg.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-ClJHrrjv.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
  272. package/dist/assets/{dnd-eXDjf6Lj.js → dnd-nSkfhkrX.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-B8-M7Nzo.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-CyBUyeC8.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
  275. package/dist/assets/{empty-wYUB3tSo.js → empty-BM1tlym1.js} +1 -1
  276. package/dist/assets/{empty-C4qv3p9z.js → empty-DqDGRwQI.js} +1 -1
  277. package/dist/assets/{epic-BQcpQKad.js → epic-C-GRNY0z.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-BvpfZxhV.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-Cgh9LbcE.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-DmzAN1Y2.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C2w81gyO.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B9Kj_9xA.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-C5EsxlDc.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--CCWSdc0u.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-B8GMs2Qi.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
  286. package/dist/assets/{index-Lqpf6Iwl.js → index-BGoNZK9J.js} +1 -1
  287. package/dist/assets/{index-DlrbNfLu.js → index-BHx-AV13.js} +1 -1
  288. package/dist/assets/{index-DxRPAtdN.js → index-BoyH9PC5.js} +1 -1
  289. package/dist/assets/{index-Bnlx-O7K.js → index-C6CSTWn-.js} +1 -1
  290. package/dist/assets/{index-CDsOcKsG.js → index-CAltUZe8.js} +6 -6
  291. package/dist/assets/{index-CHxhGC-k.js → index-D3FWjv6R.js} +1 -1
  292. package/dist/assets/{lexical-DEeAev9O.js → lexical-Ct6cBwR8.js} +1 -1
  293. package/dist/assets/{liveblocks-BAIL303h.js → liveblocks-DxIK6Zp5.js} +1 -1
  294. package/dist/assets/{lottie-DP5A4Fs7.js → lottie-BEhoArVd.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-BSyDfjzw.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-_jPUKmdI.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-n_XJX95T.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
  301. package/dist/assets/{media-player-Bc98lKB5.js → media-player-CsDObYZE.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DIu_vl7e.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
  303. package/dist/assets/{mui-hn9thxzh.js → mui-CMSRVFAm.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-6zbdwm2S.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BOxy1JzR.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-B7PwrSV9.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
  307. package/dist/assets/{pathToGoBack-CQ5L4Qtj.js → pathToGoBack-Blub25Cp.js} +1 -1
  308. package/dist/assets/{pdf-Cs-mh77O.js → pdf-Be2WBqYM.js} +3 -3
  309. package/dist/assets/{pdf-lib-sBkKqPTU.js → pdf-lib-CnVZquuu.js} +1 -1
  310. package/dist/assets/{plaid-NpQK5k22.js → plaid-BfI3x5Cu.js} +1 -1
  311. package/dist/assets/{pusher-DWT0gMh9.js → pusher-B6_CsVbZ.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CFx63U5w.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
  313. package/dist/assets/{react-CDpJbt9S.js → react-BHFS79hd.js} +1 -1
  314. package/dist/assets/{react-C6SHTtsh.js → react-BU_9CVSX.js} +3 -3
  315. package/dist/assets/{react-D2TGyR4z.js → react-BpE8-YB1.js} +1 -1
  316. package/dist/assets/{react-xLLMyMiK.js → react-C0Y1QuQQ.js} +1 -1
  317. package/dist/assets/{react-D8Ql5Ir3.js → react-C8t61nFI.js} +1 -1
  318. package/dist/assets/{react-GYK8-ald.js → react-D-1D0x0x.js} +1 -1
  319. package/dist/assets/{react-BTmu8DG-.js → react-Df07f_EQ.js} +1 -1
  320. package/dist/assets/{react-D7EJTKAr.js → react-DoqYYGGT.js} +1 -1
  321. package/dist/assets/{recharts-B4dFoR35.js → recharts-gT6BOz1b.js} +1 -1
  322. package/dist/assets/{routePaths-C-_oCckx.js → routePaths-C2kSZwVH.js} +1 -1
  323. package/dist/assets/{sentry-BkPUuNvL.js → sentry-DQeYyYXx.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-aMF7hqRR.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-C-17E3uX.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-CRAS8Brl.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-B2H47PYQ.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-DnfqwuXr.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-PO6XR31-.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CkquQ_GZ.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-w-CpO5ZH.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-DItV8z0n.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
  334. package/dist/assets/{url-Bagborol.js → url-DabKyEXg.js} +1 -1
  335. package/dist/assets/{url-DmgUP0mV.js → url-Doy-Mf6X.js} +1 -1
  336. package/dist/assets/{useDeviceId-eLv7tFR4.js → useDeviceId-Dx8RlRsA.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BQU3Jo1E.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Cftpm8Z6.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D_M71co8.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
  340. package/dist/assets/{utils-DkgigH7S.js → utils-BAO5KfNy.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-H3IbO2pr.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CsRsIUwY.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-QItZ_P8a.js → zeni-icon-only-4nFle2Fz.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-i4SdDCSW.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-DeBCdl3d.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-B1_RM9n8.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DW3UNOti.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-D7hLcvD9.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-t-Qqzm11.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-a6QKQbsr.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-yzbitn8u.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CyHS18r2.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-EDVvFAle.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-BxMdrzgd.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-3dryvOZg.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-rl7Xwq3o.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bd-GOuTM.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B_msRt77.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DHmy9Qnb.js +0 -1
  362. package/dist/assets/common-CAmBErdt-mQeN1s1o.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CqHpAmA4.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-BqlDWqT_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-COMd_TR_.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl,s as Je,fw as Qe,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as J,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Xe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,z as Gl,fF as Hl,C as Ke,H as Yl,fG as Zl,b4 as Pe,ap as Jl,M as $l,cq as Ql,$ as Xl,b2 as Kl}from"./index-CDsOcKsG.js";import{a as h}from"./sentry-BkPUuNvL.js";import{d as ei,n as r}from"./mui-hn9thxzh.js";import{bs as Ll,FH as li,FI as ol,bG as ii,FG as oi,FF as ti,FD as ai,FE as ri}from"./zeni-epic-state-CsRsIUwY.js";import{x as ni,p as si,h as di,g as ci,m as pi,b as ui,f as mi}from"./helper-BVESv00--CCWSdc0u.js";import{C as Ye}from"./LabeledAddressValueField-Dl3atH92-9Bh85cZL.js";import{b as hi}from"./LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js";import{D as tl}from"./LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js";import{Y as al}from"./LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js";import{Z as Fl}from"./LabeledNameField-BdVztq_8-DOZ2ED2j.js";import{p as fi,i as yi,t as bi}from"./commonTypes-B3mnx2x_-DYgG7K13.js";import{r as Cl}from"./avatar-Dz7aEm3d-Cy0EjR0N.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="129d47e5-0289-49f8-a5ab-83dde9478e56",l._sentryDebugIdIdentifier="sentry-dbid-129d47e5-0289-49f8-a5ab-83dde9478e56")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new _(q[6],q[10]),gap:new _(q[2],q[3])},_l={title:new Ee("smallSemiBold","standardSemiBold"),description:new Ee("smallRegular","standardRegular")},Dl=()=>{const[l]=Gl("Secure"),u=Ze();return e.jsxs(gi,{windowSize:u,children:[l!=null?e.jsx(wi,{windowSize:u,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Si,{windowSize:u}),e.jsxs(Ii,{children:[e.jsx(Oi,{windowSize:u,children:rl.securityMessageTitle}),e.jsx(ji,{windowSize:u,children:rl.securityMessageDescription})]})]})},gi=r.div`
1
+ import{e as Ye,y as bl,cc as xl,O as se,x as _,a7 as kl,V as e,bo as gl,f9 as wl,s as Je,fw as Ke,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as J,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Xe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,z as Gl,fF as Hl,C as Qe,H as Zl,fG as Yl,b4 as Pe,ap as Jl,M as $l,cq as Kl,$ as Xl,b2 as Ql}from"./index-CAltUZe8.js";import{a as h}from"./sentry-DQeYyYXx.js";import{d as ei,n as r}from"./mui-CMSRVFAm.js";import{bs as Ll,FH as li,FI as ol,bG as ii,FG as oi,FF as ti,FD as ai,FE as ri}from"./zeni-epic-state-CHpO1ZKT.js";import{x as ni,p as si,h as di,g as ci,m as pi,b as ui,f as mi}from"./helper-Ckm10Uko-Cft993Iq.js";import{C as Ze}from"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js";import{b as hi}from"./LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js";import{D as tl}from"./LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js";import{Y as al}from"./LabeledDocumentField-C_bcFxdY-CD1TCntt.js";import{Z as Fl}from"./LabeledNameField-mxSNQk3k-BpAc_tNL.js";import{p as fi,i as yi,t as bi}from"./commonTypes-5tEXwrX4-0afSAZ02.js";import{r as Cl}from"./avatar-Dz7aEm3d-ZI3JCtk7.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="bfd23068-b423-47e9-8d13-5a5f9413ecf7",l._sentryDebugIdIdentifier="sentry-dbid-bfd23068-b423-47e9-8d13-5a5f9413ecf7")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new _(q[6],q[10]),gap:new _(q[2],q[3])},_l={title:new Ee("smallSemiBold","standardSemiBold"),description:new Ee("smallRegular","standardRegular")},Dl=()=>{const[l]=Gl("Secure"),u=Ye();return e.jsxs(gi,{windowSize:u,children:[l!=null?e.jsx(wi,{windowSize:u,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Si,{windowSize:u}),e.jsxs(Ii,{children:[e.jsx(Oi,{windowSize:u,children:rl.securityMessageTitle}),e.jsx(ji,{windowSize:u,children:rl.securityMessageDescription})]})]})},gi=r.div`
2
2
  display: flex;
3
3
  align-items: ${l=>l.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${l=>Oe.gap.valuePx(l.windowSize)};
@@ -26,7 +26,7 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
26
26
  ${l=>`${_l.description.style(l.windowSize)}`};
27
27
  color: ${l=>l.theme.colors.primary};
28
28
  margin: 0;
29
- `,El=({text:l})=>e.jsx($i,{children:e.jsx(vi,{children:l})}),vi=r(Zl)`
29
+ `,El=({text:l})=>e.jsx($i,{children:e.jsx(vi,{children:l})}),vi=r(Yl)`
30
30
  display: flex;
31
31
  align-items: center;
32
32
  color: ${l=>l.theme.colors.hero};
@@ -36,20 +36,20 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
36
36
  align-items: flex-end;
37
37
  margin-left: ${o.sp2};
38
38
  margin-top: ${o.sp1};
39
- `,U={width:new _(343,580,726),labelWidth:new _(115,145,155),mediumLabelWidth:new _(140,160,170),largeLabelWidth:new _(150,210,244),extraLargeLabelWidth:new _(160,240,292),largeLabelDocumentWidth:new _(150,210,252),paddingBottom:new _(q[3],q[2]),containerRowGap:new _(12,q[3])},Li={title:new Ee("standardMedium","largeMedium")},Fi=se.getLocalizedStrings(),{dateFormat:{visual:Ci},commonSetUp:_i,companyPassport:nl,common:{documents:sl,optional:Di,yes:dl,no:cl}}=Fi,t=_i.businessVerification,Ei=h.forwardRef(({allIndustries:l,fileProps:u,productType:j,companyDetails:f,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:G,isDisabled:i,style:te,sectionId:a,showInfoTooltip:de=!0,isCompleted:ce=!1,showCompletedIcon:ae=!1,hideNewOnboardingFields:re=!1,showTreasuryFields:g=!1,sectionHeader:Q,optionalFields:c=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},X)=>{const b=Ze(),w=ei(),{watch:k,setValue:ue,formState:{errors:y}}=xl(),m=k(p(a,"companySourceOfFunds")),S=k(p(a,"transactionVolume")),H=k(p(a,"purposeOfAccount")),me=k(p(a,"regulatedStatus")),ke=k(p(a,"usNexus")),K=k(p(a,"companyIndustryType")),V=U.labelWidth.value(b),E=U.mediumLabelWidth.value(b),v=U.largeLabelWidth.value(b),ee=U.extraLargeLabelWidth.value(b),he=U.largeLabelDocumentWidth.value(b),x=t.productType[j],je=f?.companyFiles.find(n=>n.documentType==="certificate_of_incorporation"),ve=f?.companyFiles.find(n=>n.documentType==="tax_ein"),le=f?.companyDescription,Y=f?.companyLegalName,$=f?.website,Z=f?.typeOfIncorporation,W=f?.stateOfIncorporation,P=f?.countriesOfOperations,Ve=f?.incDate,Te=f?.companyIndustry,fe=f?.companyIndustryType,ze=f?.companySubIndustry,ye=f?.companySourceOfFunds,$e=f?.transactionVolume,s=f?.purposeOfAccount,Ne=f?.regulatedStatus,Ae=f?.usNexus,T=f?.phone,ie=f?.taxIdOrEIN,be=f?.primaryContactLocalData,oe=f?.deleteFileStatusById??{},Le=f?.updateFileStatusById??{},Be=f?.addressStatus?.addressToCreate,F=f?.registeredAddressStatus?.addressToCreate,[xe,qe]=h.useState(!1),[ge,Re]=h.useState(!1),z=n=>!(i!=null&&!n||re),Fe=z(fe),We=(i==null||Array.isArray(P)&&P.length>0)&&!re,Me=z(W),d=z(ye),C=z($e),ne=z(s),we=z(Ne),O=z(Ae),kl=t.sourceOfFundOptions,Ue=K?.selectedOption??fe;return e.jsxs(Pi,{style:te,ref:X,windowSize:b,children:[e.jsx(ki,{children:e.jsxs(Ri,{children:[e.jsxs(Ti,{children:[ae===!0?e.jsx(zi,{children:ce?e.jsx(Ni,{}):e.jsx(Ai,{})}):null,e.jsx(Vi,{windowSize:b,children:Q??t.confirmCompanyDetails})]}),de?e.jsx(Bi,{children:e.jsx(gl,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:b==="small"||j==="onboarding"?"bottom":"right",children:e.jsx(qi,{})})}):null,j==="onboarding"&&Q!=null?e.jsx(El,{text:Di}):null,G?.companyVerificationStatus!=null?e.jsx(Mi,{tagTitle:G.companyVerificationStatus.name,textColor:wl(G.companyVerificationStatus.code),showLoader:G?.isRefreshingViewInBackground}):null]})}),e.jsxs(Wi,{children:[e.jsx(Dl,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:p(a,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Y,options:{required:i==null&&c.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:E},text:{type:"text",name:p(a,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:le,options:{required:i==null&&c.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Ye,{isDisabled:i,label:{label:t.registeredAddressLabel,width:E},addressValueField:{name:p(a,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:F,registerOptions:{validate:n=>c.includes("registeredAddress")!==!1||!(i==null&&n==null)},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(Ye,{isDisabled:i,label:{label:t.companyAddressLabel,width:E},addressValueField:{name:p(a,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Be,registerOptions:{validate:n=>c.includes("companyAddress")!==!1||!(i==null&&n==null)},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:V},text:{type:"url",name:p(a,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:$?.toString()??"",options:{required:i==null&&c.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Gi,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:Fe?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustryType"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ni,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:fe,allOptions:[...li]},registerOptions:{required:i==null&&c.includes("companyIndustryType")===!1,validate:n=>c.includes("companyIndustryType")!==!1||!(i==null&&!n?.selectedOption)},onSelectChange:n=>{ue(p(a,"companySubIndustry"),{selectedOption:null,allOptions:ol(n)})}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),Ue!=null&&e.jsx(J,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(a,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>mi(n,Ue),isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ze,allOptions:ol(Ue)},registerOptions:{required:i==null&&c.includes("companySubIndustry")===!1,validate:n=>c.includes("companySubIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:o.sp0,paddingRight:o.sp0,width:"100%"}})]}):e.jsx(J,{label:{label:t.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>l.find(Ce=>Ce.code===n)?.name??n,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Te,allOptions:l?.map(n=>n.code)??[]},registerOptions:{required:i==null&&c.includes("companyIndustry")===!1,validate:n=>c.includes("companyIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}})}),e.jsx(I,{}),e.jsx(tl,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Z,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:i==null&&c.includes("typeOfIncorporation")===!1,validate:n=>c.includes("typeOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Sl,{isDisabled:i,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:U.paddingBottom.valuePx(b)},dateField:{name:p(a,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:Ve,dateFormat:Ci.defaultInput,maxDate:Ll(),minDate:ii("01 Jan 1900"),autoComplete:"off",registerOptions:{required:i==null&&c.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",x)}),e.jsx(I,{}),Me?e.jsxs(e.Fragment,{children:[e.jsx(tl,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:i==null&&c.includes("stateOfIncorporation")===!1,validate:n=>c.includes("stateOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{})]}):null,We?e.jsxs(e.Fragment,{children:[e.jsx(hi,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:i,additionalInfoLabel:i==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(a,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:ql(P,(R??[]).map(n=>n.countryCode)),registerOptions:{validate:n=>!!c.includes("countriesOfOperations")||!(i==null&&n.selectedOptions.length===0)}}}),e.jsx(I,{})]}):null,d?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:si,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ye,allOptions:[...oi]},registerOptions:{required:i==null&&c.includes("companySourceOfFunds")===!1,validate:n=>c.includes("companySourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",x),additionalContent:fi.includes(m?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,C?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.transactionVolumeLabel,width:ee},singleSelectField:{singleSelect:{name:p(a,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:di,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:[...ti]},registerOptions:{required:i==null&&c.includes("transactionVolume")===!1,validate:n=>c.includes("transactionVolume")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",x),additionalContent:yi.includes(S?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.transactionVolumeDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ee,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,ne?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ci,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s,allOptions:[...ai]},registerOptions:{required:i==null&&c.includes("purposeOfAccount")===!1,validate:n=>c.includes("purposeOfAccount")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",x),additionalContent:bi.includes(H?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,we?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.regulatedStatusLabel,htmlFor:p(a,"regulatedStatus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),me==="yes"&&e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(a,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.regulatedStatusDescription!=null?B.importantLight:w.colors.background},options:{required:i==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[a]!=null&&y[a]?.regulatedStatus!=null?e.jsx(Ge,{windowSize:b,children:t.regulatedStatusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.regulatedStatusDescription!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.regulatedStatusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,O?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.usNexusLabel,htmlFor:p(a,"usNexus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),ke==="yes"&&e.jsxs(e.Fragment,{children:[e.jsx(Ui,{hasError:y[a]!=null&&y[a]?.usNexusTypes!=null,children:e.jsx(pi,{isDisabled:i,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(a,"usNexusTypes"),placeholder:t.usNexusPlaceholder,getOptionLabel:ui,defaultValue:{selectedOptions:f?.usNexusTypes??[],allOptions:[...ri]},registerOptions:{required:i==null,shouldUnregister:!0,validate:n=>{const Ce=n?.selectedOptions;return Ce!=null&&Ce.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[a]!=null&&y[a]?.usNexusTypes!=null&&e.jsx(Ge,{windowSize:b,children:t.usNexusTypesError})]}),y[a]!=null&&y[a]?.usNexus!=null?e.jsx(Ge,{windowSize:b,children:t.usNexusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.usNexusTypes!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.usNexusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:V},text:{type:"text",name:p(a,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ie,options:{required:i==null&&c.includes("companyTaxId")===!1,pattern:Rl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Il,{isDisabled:i,label:{label:t.companyPhoneLabel,width:V},text:{name:p(a,"companyPhone"),placeholder:Se(t.companyPhoneLabel),defaultValue:T,autoComplete:"new-password",options:{required:i==null&&c.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Fl,{isDisabled:i,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:p(a,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:be?.firstName??"",lastName:be?.lastName??""},registerOptions:{required:i==null&&c.includes("primaryContactName")===!1,validate:n=>!!n||i!=null||c.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:p(a,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:be?.email,options:{required:i==null&&c.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(al,{name:p(a,"certificateOfIncorporation"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.certificateOfIncorporation,width:he},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:i==null&&c.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>qe(n)}),xe||i==null&&je==null?e.jsx(pl,{windowSize:b,isError:xe,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),e.jsx(al,{name:p(a,"ein"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.einDocument,width:he},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:i==null&&c.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",x),hasError:ge,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>Re(n)}),ge||i==null&&ve==null?e.jsx(pl,{windowSize:b,isError:ge,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),g===!0?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.sourceOfFundsLabel,width:V},singleSelectField:{singleSelect:{name:p(a,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>kl[n]??n,isDisabled:i,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:i==null&&c.includes("sourceOfFunds")===!1,validate:n=>c.includes("sourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",x)}),e.jsx(I,{})]}):null]})]})});Ei.displayName="Company Details Section";const p=(l,u)=>`${l}.${u}`,Pi=r.div`
39
+ `,U={width:new _(343,580,726),labelWidth:new _(115,145,155),mediumLabelWidth:new _(140,160,170),largeLabelWidth:new _(150,210,244),extraLargeLabelWidth:new _(160,240,292),largeLabelDocumentWidth:new _(150,210,252),paddingBottom:new _(q[3],q[2]),containerRowGap:new _(12,q[3])},Li={title:new Ee("standardMedium","largeMedium")},Fi=se.getLocalizedStrings(),{dateFormat:{visual:Ci},commonSetUp:_i,companyPassport:nl,common:{documents:sl,optional:Di,yes:dl,no:cl}}=Fi,t=_i.businessVerification,Ei=h.forwardRef(({allIndustries:l,fileProps:u,productType:j,companyDetails:f,allNationalityCountries:R,connectedAccountProvider:L,businessVerificationProps:G,isDisabled:i,style:te,sectionId:a,showInfoTooltip:de=!0,isCompleted:ce=!1,showCompletedIcon:ae=!1,hideNewOnboardingFields:re=!1,showTreasuryFields:g=!1,sectionHeader:K,optionalFields:c=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},X)=>{const b=Ye(),w=ei(),{watch:V,setValue:ue,formState:{errors:y}}=xl(),m=V(p(a,"companySourceOfFunds")),S=V(p(a,"transactionVolume")),H=V(p(a,"purposeOfAccount")),me=V(p(a,"regulatedStatus")),Ve=V(p(a,"usNexus")),Q=V(p(a,"companyIndustryType")),k=U.labelWidth.value(b),E=U.mediumLabelWidth.value(b),v=U.largeLabelWidth.value(b),ee=U.extraLargeLabelWidth.value(b),he=U.largeLabelDocumentWidth.value(b),x=t.productType[j],je=f?.companyFiles.find(n=>n.documentType==="certificate_of_incorporation"),ve=f?.companyFiles.find(n=>n.documentType==="tax_ein"),le=f?.companyDescription,Z=f?.companyLegalName,$=f?.website,Y=f?.typeOfIncorporation,W=f?.stateOfIncorporation,P=f?.countriesOfOperations,ke=f?.incDate,Te=f?.companyIndustry,fe=f?.companyIndustryType,ze=f?.companySubIndustry,ye=f?.companySourceOfFunds,$e=f?.transactionVolume,s=f?.purposeOfAccount,Ne=f?.regulatedStatus,Ae=f?.usNexus,T=f?.phone,ie=f?.taxIdOrEIN,be=f?.primaryContactLocalData,oe=f?.deleteFileStatusById??{},Le=f?.updateFileStatusById??{},Be=f?.addressStatus?.addressToCreate,F=f?.registeredAddressStatus?.addressToCreate,[xe,qe]=h.useState(!1),[ge,Re]=h.useState(!1),z=n=>!(i!=null&&!n||re),Fe=z(fe),We=(i==null||Array.isArray(P)&&P.length>0)&&!re,Me=z(W),d=z(ye),C=z($e),ne=z(s),we=z(Ne),O=z(Ae),Vl=t.sourceOfFundOptions,Ue=Q?.selectedOption??fe;return e.jsxs(Pi,{style:te,ref:X,windowSize:b,children:[e.jsx(Vi,{children:e.jsxs(Ri,{children:[e.jsxs(Ti,{children:[ae===!0?e.jsx(zi,{children:ce?e.jsx(Ni,{}):e.jsx(Ai,{})}):null,e.jsx(ki,{windowSize:b,children:K??t.confirmCompanyDetails})]}),de?e.jsx(Bi,{children:e.jsx(gl,{variant:"small-description",display:"flex",maxWidth:"280px",data:t.confirmCompanyDetailsTooltip,placement:b==="small"||j==="onboarding"?"bottom":"right",children:e.jsx(qi,{})})}):null,j==="onboarding"&&K!=null?e.jsx(El,{text:Di}):null,G?.companyVerificationStatus!=null?e.jsx(Mi,{tagTitle:G.companyVerificationStatus.name,textColor:wl(G.companyVerificationStatus.code),showLoader:G?.isRefreshingViewInBackground}):null]})}),e.jsxs(Wi,{children:[e.jsx(Dl,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyLegalNameLabel,width:v},text:{type:"text",name:p(a,"companyLegalName"),placeholder:t.companyLegalNamePlaceholder,defaultValue:Z,options:{required:i==null&&c.includes("companyLegalName")===!1}},additionalInfoLabel:t.companyLegalNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyDescriptionLabel,width:E},text:{type:"text",name:p(a,"companyDescription"),placeholder:t.addProductPlaceholder,defaultValue:le,options:{required:i==null&&c.includes("companyDescription")===!1}},additionalInfoLabel:t.companyDescriptionError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.registeredAddressLabel,width:E},addressValueField:{name:p(a,"registeredAddress"),placeholder:t.registeredAddressPlaceholder,defaultValue:F,registerOptions:{validate:n=>c.includes("registeredAddress")!==!1||!(i==null&&n==null)},onClick:()=>{D?.("company_registered_address")}},additionalInfoLabel:t.registeredAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(Ze,{isDisabled:i,label:{label:t.companyAddressLabel,width:E},addressValueField:{name:p(a,"companyAddress"),placeholder:t.companyAddressPlaceholder,defaultValue:Be,registerOptions:{validate:n=>c.includes("companyAddress")!==!1||!(i==null&&n==null)},onClick:()=>{pe?.("company_address")}},additionalInfoLabel:t.companyAddressError.replace("_product_type_",x),showAdditionalInfoLabel:!1}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyWebsiteLabel,width:k},text:{type:"url",name:p(a,"companyWebsite"),placeholder:t.companyWebsitePlaceholder,defaultValue:$?.toString()??"",options:{required:i==null&&c.includes("companyWebsite")===!1}},additionalInfoLabel:t.companyWebsiteError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Gi,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:Fe?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companyIndustryLabel,width:k},singleSelectField:{singleSelect:{name:p(a,"companyIndustryType"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ni,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:fe,allOptions:[...li]},registerOptions:{required:i==null&&c.includes("companyIndustryType")===!1,validate:n=>c.includes("companyIndustryType")!==!1||!(i==null&&!n?.selectedOption)},onSelectChange:n=>{ue(p(a,"companySubIndustry"),{selectedOption:null,allOptions:ol(n)})}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),Ue!=null&&e.jsx(J,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:p(a,"companySubIndustry"),placeholder:t.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>mi(n,Ue),isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ze,allOptions:ol(Ue)},registerOptions:{required:i==null&&c.includes("companySubIndustry")===!1,validate:n=>c.includes("companySubIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:t.companySubIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{outline:"none",paddingBottom:o.sp0,paddingRight:o.sp0,width:"100%"}})]}):e.jsx(J,{label:{label:t.companyIndustryLabel,width:k},singleSelectField:{singleSelect:{name:p(a,"companyIndustry"),placeholder:t.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>l.find(Ce=>Ce.code===n)?.name??n,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:Te,allOptions:l?.map(n=>n.code)??[]},registerOptions:{required:i==null&&c.includes("companyIndustry")===!1,validate:n=>c.includes("companyIndustry")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companyIndustryError.replace("_product_type_",x),additionalInfoLabel:i==null?t.companyIndustryAdditionalInfo:void 0,style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}})}),e.jsx(I,{}),e.jsx(tl,{label:{label:t.companyTypeOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"typeOfIncorporation"),placeholder:t.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:Y,allOptions:nl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:i==null&&c.includes("typeOfIncorporation")===!1,validate:n=>c.includes("typeOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyTypeOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Sl,{isDisabled:i,label:{label:t.companyIncDateLabel,width:v},style:{paddingBottom:U.paddingBottom.valuePx(b)},dateField:{name:p(a,"incDate"),placeholder:t.companyIncDatePlaceholder,defaultValue:ke,dateFormat:Ci.defaultInput,maxDate:Ll(),minDate:ii("01 Jan 1900"),autoComplete:"off",registerOptions:{required:i==null&&c.includes("incDate")===!1}},additionalInfoLabel:t.companyIncDateError.replace("_product_type_",x)}),e.jsx(I,{}),Me?e.jsxs(e.Fragment,{children:[e.jsx(tl,{label:{label:t.companyStateOfIncorporationLabel,width:v},isDisabled:i,creatableSingleSelectField:{name:p(a,"stateOfIncorporation"),placeholder:t.companyStateOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:nl.companyIncInfo.allStatesOfIncorporation},registerOptions:{required:i==null&&c.includes("stateOfIncorporation")===!1,validate:n=>c.includes("stateOfIncorporation")!==!1||!(i==null&&!n?.selectedOption)}},errorInfoLabel:t.companyStateOfIncorporationError.replace("_product_type_",x)}),e.jsx(I,{})]}):null,We?e.jsxs(e.Fragment,{children:[e.jsx(hi,{label:{label:t.countriesOfOperationsLabel,width:v},isDisabled:i,additionalInfoLabel:i==null?t.countriesOfOperationsAdditionalInfo:void 0,errorInfoLabel:t.countriesOfOperationsError.replace("_product_type_",x),multiSelectField:{name:p(a,"countriesOfOperations"),placeholder:t.countriesOfOperationsPlaceholder,defaultValue:ql(P,(R??[]).map(n=>n.countryCode)),registerOptions:{validate:n=>!!c.includes("countriesOfOperations")||!(i==null&&n.selectedOptions.length===0)}}}),e.jsx(I,{})]}):null,d?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.companySourceOfFundsLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"companySourceOfFunds"),placeholder:t.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:si,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:ye,allOptions:[...oi]},registerOptions:{required:i==null&&c.includes("companySourceOfFunds")===!1,validate:n=>c.includes("companySourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.companySourceOfFundsError.replace("_product_type_",x),additionalContent:fi.includes(m?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"companySourceOfFundsDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.companySourceOfFundsDescription!=null?void 0:t.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,C?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.transactionVolumeLabel,width:ee},singleSelectField:{singleSelect:{name:p(a,"transactionVolume"),placeholder:t.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:di,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:$e,allOptions:[...ti]},registerOptions:{required:i==null&&c.includes("transactionVolume")===!1,validate:n=>c.includes("transactionVolume")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.transactionVolumeError.replace("_product_type_",x),additionalContent:yi.includes(S?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"transactionVolumeDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.transactionVolumeDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-ee,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.transactionVolumeDescription!=null?void 0:t.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,ne?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.purposeOfAccountLabel,width:v},singleSelectField:{singleSelect:{name:p(a,"purposeOfAccount"),placeholder:t.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ci,isDisabled:i,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:s,allOptions:[...ai]},registerOptions:{required:i==null&&c.includes("purposeOfAccount")===!1,validate:n=>c.includes("purposeOfAccount")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.purposeOfAccountError.replace("_product_type_",x),additionalContent:bi.includes(H?.selectedOption)?e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:p(a,"purposeOfAccountDescription"),placeholder:t.descriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?B.importantLight:w.colors.background},options:{required:i==null}},additionalInfoLabel:t.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-v,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:i!=null||y[a]!=null&&y[a]?.purposeOfAccountDescription!=null?void 0:t.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:w.colors.hero}}),e.jsx(I,{})]}):null,we?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.regulatedStatusLabel,htmlFor:p(a,"regulatedStatus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"regulatedStatus"),id:`${p(a,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("regulatedStatus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),me==="yes"&&e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:p(a,"regulatedStatusDescription"),placeholder:t.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:y[a]!=null&&y[a]?.regulatedStatusDescription!=null?B.importantLight:w.colors.background},options:{required:i==null,shouldUnregister:!0}},additionalInfoLabel:t.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),y[a]!=null&&y[a]?.regulatedStatus!=null?e.jsx(Ge,{windowSize:b,children:t.regulatedStatusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.regulatedStatusDescription!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.regulatedStatusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,O?e.jsxs(e.Fragment,{children:[e.jsxs(ul,{windowSize:b,"data-suppress-hover":i!=null||void 0,children:[e.jsxs(ml,{children:[e.jsx(il,{label:t.usNexusLabel,htmlFor:p(a,"usNexus"),isDisabled:i,style:{width:v,color:i==="disabled"?w.colors.grey1:w.colors.hero}}),e.jsxs(hl,{labelWidth:v,windowSize:b,children:[e.jsx(_e,{label:{label:dl},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0}),e.jsx(_e,{label:{label:cl},style:{width:"auto"},radioField:{name:p(a,"usNexus"),id:`${p(a,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small",registerOptions:{required:i==null&&c.includes("usNexus")===!1}},isDisabled:i,isContainerClickable:!0})]})]}),Ve==="yes"&&e.jsxs(e.Fragment,{children:[e.jsx(Ui,{hasError:y[a]!=null&&y[a]?.usNexusTypes!=null,children:e.jsx(pi,{isDisabled:i,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:p(a,"usNexusTypes"),placeholder:t.usNexusPlaceholder,getOptionLabel:ui,defaultValue:{selectedOptions:f?.usNexusTypes??[],allOptions:[...ri]},registerOptions:{required:i==null,shouldUnregister:!0,validate:n=>{const Ce=n?.selectedOptions;return Ce!=null&&Ce.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),y[a]!=null&&y[a]?.usNexusTypes!=null&&e.jsx(Ge,{windowSize:b,children:t.usNexusTypesError})]}),y[a]!=null&&y[a]?.usNexus!=null?e.jsx(Ge,{windowSize:b,children:t.usNexusError.replace("_product_type_",x)}):y[a]!=null&&y[a]?.usNexusTypes!=null?null:i==null?e.jsx(fl,{windowSize:b,children:t.usNexusAdditionalInfo}):null]}),e.jsx(I,{})]}):null,e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyTaxIdLabel,width:k},text:{type:"text",name:p(a,"companyTaxId"),placeholder:t.companyTaxIdPlaceholder,defaultValue:ie,options:{required:i==null&&c.includes("companyTaxId")===!1,pattern:Rl},autoComplete:"new-password"},additionalInfoLabel:t.companyTaxIdError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Il,{isDisabled:i,label:{label:t.companyPhoneLabel,width:k},text:{name:p(a,"companyPhone"),placeholder:Se(t.companyPhoneLabel),defaultValue:T,autoComplete:"new-password",options:{required:i==null&&c.includes("companyPhone")===!1}},errorInfoLabel:t.companyPhoneError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(Fl,{isDisabled:i,label:{label:t.companyPrimaryContactNameLabel,width:v},nameField:{name:p(a,"primaryContactName"),placeHolder:{firstName:t.firstNamePlaceholder,lastName:t.lastNamePlaceholder,name:t.namePlaceholder},defaultValue:{firstName:be?.firstName??"",lastName:be?.lastName??""},registerOptions:{required:i==null&&c.includes("primaryContactName")===!1,validate:n=>!!n||i!=null||c.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:t.companyPrimaryContactNameError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(A,{isDisabled:i,showAdditionalInfoLabel:!1,label:{label:t.companyPrimaryContactEmailLabel,width:v},text:{type:"email",name:p(a,"primaryContactEmail"),placeholder:t.companyPrimaryContactEmailPlaceholder,defaultValue:be?.email,options:{required:i==null&&c.includes("primaryContactEmail")===!1}},additionalInfoLabel:t.companyPrimaryContactEmailError.replace("_product_type_",x)}),e.jsx(I,{}),e.jsx(al,{name:p(a,"certificateOfIncorporation"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.certificateOfIncorporation,width:he},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:i==null&&c.includes("certificateOfIncorporation")===!1&&L==="unit"},additionalInfoLabel:t.certOfIncopDocumentError.replace("_product_type_",x),hasError:xe,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>qe(n)}),xe||i==null&&je==null?e.jsx(pl,{windowSize:b,isError:xe,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),e.jsx(al,{name:p(a,"ein"),isDisabled:i,sizeLimit:He,deleteFileStatusById:oe,updateFileStatusById:Le,filesEndPoint:u.filesEndPoint,authParams:u.authParams,label:{label:t.einDocument,width:he},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:i==null&&c.includes("ein")===!1},additionalInfoLabel:t.einDocumentError.replace("_product_type_",x),hasError:ge,updateFilesEntity:u.updateFilesEntity,onEditFileName:u.onEditFileName,onDeleteFile:u.onDeleteFile,onFileSizeError:n=>Re(n)}),ge||i==null&&ve==null?e.jsx(pl,{windowSize:b,isError:ge,children:sl.formatDocumentText10MB}):null,e.jsx(I,{}),g===!0?e.jsxs(e.Fragment,{children:[e.jsx(J,{label:{label:t.sourceOfFundsLabel,width:k},singleSelectField:{singleSelect:{name:p(a,"sourceOfFunds"),placeholder:t.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:n=>Vl[n]??n,isDisabled:i,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(t.sourceOfFundOptions)},registerOptions:{required:i==null&&c.includes("sourceOfFunds")===!1,validate:n=>c.includes("sourceOfFunds")!==!1||!(i==null&&!n?.selectedOption)}},isFunctional:!0,errorInfoLabel:t.sourceOfFundsError.replace("_product_type_",x)}),e.jsx(I,{})]}):null]})]})});Ei.displayName="Company Details Section";const p=(l,u)=>`${l}.${u}`,Pi=r.div`
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  row-gap: ${l=>U.containerRowGap.valuePx(l.windowSize)};
43
- `,ki=r.div`
43
+ `,Vi=r.div`
44
44
  display: flex;
45
45
  justify-content: space-between;
46
- `,pl=r(Yl)`
46
+ `,pl=r(Zl)`
47
47
  padding: ${o.sp1} ${o.sp4};
48
48
  background: ${l=>l.theme.colors.grey4};
49
49
  border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
50
50
  text-align: ${l=>l.windowSize==="small"?"initial":"right"};
51
51
  color: ${l=>l.isError?B.important:l.theme.colors.grey1};
52
- `,Vi=r.div`
52
+ `,ki=r.div`
53
53
  ${l=>`${Li.title.style(l.windowSize)}`};
54
54
  display: flex;
55
55
  align-items: center;
@@ -131,11 +131,11 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
131
131
  justify-content: flex-end;
132
132
  flex-grow: 1;
133
133
  padding-right: ${o.sp3};
134
- `,fl=r(Ke)`
134
+ `,fl=r(Qe)`
135
135
  color: ${l=>l.theme.colors.hero};
136
136
  text-align: right;
137
137
  padding-right: ${o.sp3};
138
- `,Ge=r(Ke)`
138
+ `,Ge=r(Qe)`
139
139
  color: ${B.important};
140
140
  text-align: right;
141
141
  padding-right: ${o.sp3};
@@ -173,12 +173,12 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
173
173
  display: flex;
174
174
  align-items: center;
175
175
  justify-content: flex-end;
176
- `;function Yi({allUsers:l,onSelectedUserChanged:u,selectedUser:j,disable:f=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:G,titleTextStyle:i,backgroundColor:te,titleTextAlignment:a,selectedOptionColor:de,customStyleConfig:ce}={},customization:{placeholderLabel:ae}={},showAddUser:re=!0}){const g=bl(),[Q,c]=h.useState(!1),pe=(m=>m.map(S=>({...S,value:S.userId,label:S.firstName!=""||S.lastName!=""?`${S.firstName} ${S.lastName}`:S.email})))(l).sort((m,S)=>m.label.localeCompare(S.label)),D=j!=null?(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email}))(j):void 0,X=R??g.colors.grey5,b=te??g.colors.grey5,w=L??g.colors.grey3,k=G??De.smallRegular.cssObject,ue=i??k,y={control:(m,S)=>({...m,border:0,height:"100%",backgroundColor:b,fill:S.selectProps.menuIsOpen===!0?g.colors.primary:g.colors.grey1,boxShadow:b,">div:last-child":{color:Q?g.colors.primary:g.colors.grey1},":active":{backgroundColor:b},":hover":{fill:g.colors.primary,">div:last-child":{color:g.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:g.colors.grey1,">path":{color:g.colors.grey5,fill:"currentcolor"}}}),container:m=>({...m,backgroundColor:b,height:"100%"}),singleValue:m=>({...m,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:o.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:g.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...De.standardRegular.cssObject}}),valueContainer:m=>({...m,maxWidth:"100%",cursor:"pointer",height:"100%",...ue,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:a??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(m,S)=>({...m,backgroundColor:X,borderRadius:q[1],boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${o.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:o.sp1,padding:`${o.sp1} ${o.sp0}`,">div":{width:"-webkit-fill-available"}},...ce?.menu?.(m,S)}),menuList:m=>({...m,borderRadius:q[1]}),placeholder:(m,S)=>({...m,margin:0,width:"100%",color:S.isFocused?g.colors.primary:"currentColor",paddingRight:o.sp2,...De.standardRegular.cssObject,">div>div>svg>circle":{fill:g.colors.grey1}}),noOptionsMessage:m=>({...m,...De.smallRegular.cssObject,padding:`10px ${o.sp3} 9px ${o.sp3}`,color:g.colors.hero}),option:(m,{isDisabled:S,isSelected:H,isFocused:me})=>({...m,...k,color:H?de??g.colors.champion:g.colors.hero,backgroundColor:H?w:me?g.colors.background:X,cursor:S?"not-allowed":H?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:g.colors.background,color:g.colors.primary},"& label":{paddingRight:"10px",cursor:S?"not-allowed":H?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})};return e.jsx(Wl,{onClickAway:()=>{c(!1)},children:e.jsx(Hi,{children:e.jsx(Ml,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:Q,menuShouldScrollIntoView:!1,defaultValue:D,value:D,noOptionsMessage:()=>se.getLocalizedStrings().cockpit.management.noPerson,onInputChange:m=>{m!==""&&c(!0)},onMenuOpen:()=>{c(!0)},placeholder:e.jsx(Ji,{children:e.jsx("div",{children:ae??"Select..."})}),components:{Option:to,DropdownIndicator:uo,IndicatorSeparator:mo,SingleValue:so,ValueContainer:co,MenuList:({children:m,...S})=>e.jsxs(Pe.ValueContainer,{...S,children:[m,re===!0?e.jsxs(po,{hasSelectedUser:!!j,onClick:()=>{u(void 0),c(!1)},children:[e.jsx(eo,{}),e.jsx("div",{children:ae??"Add User"})]}):null]})},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:y,options:pe,isDisabled:f,onChange:m=>{u(m),c(!1)},isClearable:!1,isSearchable:!1},Ul())})})}const Zi=r.div``,Ji=r.div`
176
+ `;function Zi({allUsers:l,onSelectedUserChanged:u,selectedUser:j,disable:f=!1,pickerStyles:{optionBackgroundColor:R,selectedOptionBackgroundColor:L,optionTextStyle:G,titleTextStyle:i,backgroundColor:te,titleTextAlignment:a,selectedOptionColor:de,customStyleConfig:ce}={},customization:{placeholderLabel:ae}={},showAddUser:re=!0}){const g=bl(),[K,c]=h.useState(!1),pe=(m=>m.map(S=>({...S,value:S.userId,label:S.firstName!=""||S.lastName!=""?`${S.firstName} ${S.lastName}`:S.email})))(l).sort((m,S)=>m.label.localeCompare(S.label)),D=j!=null?(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email}))(j):void 0,X=R??g.colors.grey5,b=te??g.colors.grey5,w=L??g.colors.grey3,V=G??De.smallRegular.cssObject,ue=i??V,y={control:(m,S)=>({...m,border:0,height:"100%",backgroundColor:b,fill:S.selectProps.menuIsOpen===!0?g.colors.primary:g.colors.grey1,boxShadow:b,">div:last-child":{color:K?g.colors.primary:g.colors.grey1},":active":{backgroundColor:b},":hover":{fill:g.colors.primary,">div:last-child":{color:g.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:g.colors.grey1,">path":{color:g.colors.grey5,fill:"currentcolor"}}}),container:m=>({...m,backgroundColor:b,height:"100%"}),singleValue:m=>({...m,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:o.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:g.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...De.standardRegular.cssObject}}),valueContainer:m=>({...m,maxWidth:"100%",cursor:"pointer",height:"100%",...ue,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:a??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(m,S)=>({...m,backgroundColor:X,borderRadius:q[1],boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${o.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:o.sp1,padding:`${o.sp1} ${o.sp0}`,">div":{width:"-webkit-fill-available"}},...ce?.menu?.(m,S)}),menuList:m=>({...m,borderRadius:q[1]}),placeholder:(m,S)=>({...m,margin:0,width:"100%",color:S.isFocused?g.colors.primary:"currentColor",paddingRight:o.sp2,...De.standardRegular.cssObject,">div>div>svg>circle":{fill:g.colors.grey1}}),noOptionsMessage:m=>({...m,...De.smallRegular.cssObject,padding:`10px ${o.sp3} 9px ${o.sp3}`,color:g.colors.hero}),option:(m,{isDisabled:S,isSelected:H,isFocused:me})=>({...m,...V,color:H?de??g.colors.champion:g.colors.hero,backgroundColor:H?w:me?g.colors.background:X,cursor:S?"not-allowed":H?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:g.colors.background,color:g.colors.primary},"& label":{paddingRight:"10px",cursor:S?"not-allowed":H?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})};return e.jsx(Wl,{onClickAway:()=>{c(!1)},children:e.jsx(Hi,{children:e.jsx(Ml,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:D,value:D,noOptionsMessage:()=>se.getLocalizedStrings().cockpit.management.noPerson,onInputChange:m=>{m!==""&&c(!0)},onMenuOpen:()=>{c(!0)},placeholder:e.jsx(Ji,{children:e.jsx("div",{children:ae??"Select..."})}),components:{Option:to,DropdownIndicator:uo,IndicatorSeparator:mo,SingleValue:so,ValueContainer:co,MenuList:({children:m,...S})=>e.jsxs(Pe.ValueContainer,{...S,children:[m,re===!0?e.jsxs(po,{hasSelectedUser:!!j,onClick:()=>{u(void 0),c(!1)},children:[e.jsx(eo,{}),e.jsx("div",{children:ae??"Add User"})]}):null]})},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:y,options:pe,isDisabled:f,onChange:m=>{u(m),c(!1)},isClearable:!1,isSearchable:!1},Ul())})})}const Yi=r.div``,Ji=r.div`
177
177
  display: flex;
178
178
  align-items: center;
179
179
  color: ${l=>l.theme.colors.grey1};
180
180
  fill: ${l=>l.theme.colors.grey1};
181
- `,Qi=r.div`
181
+ `,Ki=r.div`
182
182
  display: flex;
183
183
  align-items: center;
184
184
  margin-right: ${o.sp2};
@@ -186,12 +186,12 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
186
186
  width: ${o.sp4};
187
187
  height: ${o.sp4};
188
188
  color: ${l=>l.theme.colors.hero};
189
- `,Ki=r.div`
189
+ `,Qi=r.div`
190
190
  display: flex;
191
191
  flex-direction: row;
192
192
  align-items: center;
193
193
  justify-content: space-between;
194
- `,eo=r(Ql)`
194
+ `,eo=r(Kl)`
195
195
  height: ${o.sp4};
196
196
  width: ${o.sp4};
197
197
  margin-right: ${o.sp2};
@@ -200,7 +200,7 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
200
200
  height: 12px;
201
201
  width: 12px;
202
202
  color: ${l=>l.theme.colors.hero};
203
- `,io=r.div``,oo=r(Kl)`
203
+ `,io=r.div``,oo=r(Ql)`
204
204
  width: 12px;
205
205
  height: 12px;
206
206
  color: ${l=>l.theme.colors.primary};
@@ -209,7 +209,7 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
209
209
  width: ${o.sp4};
210
210
  border-radius: 50%;
211
211
  justify-content: center;
212
- `,to=l=>{const{data:u,options:j,isSelected:f}=l,R=j.findIndex(L=>L.value===u.value);return e.jsx(Zi,{children:e.jsx(Pe.Option,{...l,children:e.jsxs(Ki,{children:[e.jsxs(ao,{children:[e.jsx(ro,{children:u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Qe,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R})}),e.jsx("label",{children:l.label})]}),!!f&&e.jsx(io,{children:e.jsx(oo,{})})]})})})},ao=r.div`
212
+ `,to=l=>{const{data:u,options:j,isSelected:f}=l,R=j.findIndex(L=>L.value===u.value);return e.jsx(Yi,{children:e.jsx(Pe.Option,{...l,children:e.jsxs(Qi,{children:[e.jsxs(ao,{children:[e.jsx(ro,{children:u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Ke,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R})}),e.jsx("label",{children:l.label})]}),!!f&&e.jsx(io,{children:e.jsx(oo,{})})]})})})},ao=r.div`
213
213
  width: 100%;
214
214
  display: flex;
215
215
  align-items: center;
@@ -222,7 +222,7 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
222
222
  white-space: nowrap;
223
223
  overflow: hidden;
224
224
  text-overflow: ellipsis;
225
- `,so=({children:l,data:u,...j})=>{const{options:f}=j.selectProps,R=f.findIndex(L=>L.value===u.value);return e.jsx(Pe.MultiValueLabel,{...j,children:e.jsxs(ho,{children:[u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Qe,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R}),e.jsx(no,{children:l})]})})},co=({children:l,...u})=>e.jsxs(Pe.ValueContainer,{...u,children:[u.selectProps.value==null?e.jsx(Qi,{children:e.jsx(Xi,{})}):null,l]}),po=r(Ke)`
225
+ `,so=({children:l,data:u,...j})=>{const{options:f}=j.selectProps,R=f.findIndex(L=>L.value===u.value);return e.jsx(Pe.MultiValueLabel,{...j,children:e.jsxs(ho,{children:[u?.photo!==void 0?e.jsx(Pl,{src:u?.photo.href,alt:se.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:L})=>{L.onerror=null,L.src=Je},loading:"lazy"}):e.jsx(Ke,{firstName:u?.firstName??"",lastName:u?.lastName??"",size:`${o.sp4}`,index:R}),e.jsx(no,{children:l})]})})},co=({children:l,...u})=>e.jsxs(Pe.ValueContainer,{...u,children:[u.selectProps.value==null?e.jsx(Ki,{children:e.jsx(Xi,{})}):null,l]}),po=r(Qe)`
226
226
  color: ${l=>l.hasSelectedUser?l.theme.colors.hero:l.theme.colors.primary};
227
227
  display: flex;
228
228
  padding: ${o.sp2} 12px;
@@ -237,7 +237,7 @@ import{e as Ze,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bo as gl,f9 as wl
237
237
  display: flex;
238
238
  flex-direction: row;
239
239
  cursor: pointer;
240
- `,Ie={width:new _(343,580,726),labelWidth:new _(115,145,155),largeLabelWidth:new _(160,240,240),veryLargeLabelWidth:new _(150,240,245),containerRowGap:new _(12,q[3])},fo={title:new Ee("standardMedium","largeMedium")};function Go({companyOfficerData:l,isDisabled:u,allOfficers:j,allNationalityCountries:f,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:G,isPopupOpen:i,sectionId:te,filesEndPoint:a,authParams:de,showInfoTooltip:ce=!0,isCompleted:ae=!1,showCompletedIcon:re=!1,showOfficerSelect:g=!0,showVerificationTag:Q=!0,isForTreasury:c=!1,isOverlay:pe=!1,productType:D,companyTitles:X,sectionHeader:b,optionalFields:w=[],onOfficerAddressClick:k,onDeleteFile:ue,onEditFileName:y,updateFilesEntity:m,openPopup:S,onGetOtp:H,onVerifyOtp:me,onResendOtp:ke,verifiedPhoneNumber:K,onPhoneVerified:V}){const E=Ze(),v=bl(),{getValues:ee,setValue:he}=xl(),x=j.length>0,[je,ve]=h.useState(!1),le=x?Object.values(l).findIndex(d=>d?.isSelectedForVerification===!0):0,Y=`Officer_${le<0?1:le+1}`;h.useEffect(()=>{V!=null&&l[Y]?.phone!=null&&l[Y].isPhoneVerified===!0&&V(l[Y]?.phone??"")},[]);const $=`${te}.${le}`,Z=l[Y],W=c?Z?.treasuryUserVerificationStatus:Z?.userVerificationStatus,P=j.find(d=>d.userId===Z?.userId),Ve=j.sort((d,C)=>(d.firstName||d.lastName?`${d.firstName} ${d.lastName}`:d.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),Te=x?Ve.findIndex(d=>d.userId===Z?.userId):0,fe=l[Y]?.deleteFileStatusById??{},ze=l[Y]?.updateFileStatusById??{},ye=ee(`${$}.selectDocument.selectDocumentType`),{common:{optional:$e},commonSetUp:{businessVerification:s},dateFormat:{visual:Ne},cockpit:Ae}=se.getLocalizedStrings(),T=D==="onboarding"?s.productType.business_verification:s.productType[D],ie=Ie.labelWidth.value(E),be=Ie.veryLargeLabelWidth.value(E),oe=Ie.largeLabelWidth.value(E),Le=E==="small"?s.companyRolePlaceholderSmall:s.companyRolePlaceholder,Be=E==="small"?s.protectedSsnTextSmall:s.protectedSsnText,F=W?.code==="pending_review"||W?.code==="verified"?"readonly":u,xe=F!=null||!x||W?.code==="require_info",qe=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:s.addOfficer,ge=Z?.userId!=null?s.confirmIdentityDetails:s.confirmIdentityDetailsNewOfficer,Re=d=>X.find(C=>C.code===d)?.name??d,z=Z?.otpverificationStatus?.fetchState,Fe=Vl(z);h.useEffect(()=>{V!=null&&Fe==="In-Progress"&&z==="Completed"&&V(ee(`${$}.phone`))},[Fe,z]);const We=(d,C)=>{me(d,C)},Me=()=>{const d=ee(`${$}.phone`);return d==null||Hl(d)?s.phoneError.replace("_product_type_",T):s.phoneErrorForOnboarding};return e.jsxs(yo,{style:G,windowSize:E,children:[e.jsxs(bo,{windowSize:E,isOverlay:pe,children:[e.jsxs(Lo,{children:[e.jsxs(go,{children:[re===!0?e.jsx(wo,{children:ae?e.jsx(So,{}):e.jsx(Io,{})}):null,e.jsx(xo,{windowSize:E,children:b??ge})]}),ce?e.jsx(Oo,{children:e.jsx(gl,{variant:"small-description",maxWidth:"275px",data:s.confirmIdentityDetailsTooltip,display:"flex",placement:E==="small"||D==="onboarding"?"bottom":"right",children:e.jsx(jo,{})})}):null,D==="onboarding"&&b!=null?e.jsx(El,{text:$e}):null,W!=null&&Q?e.jsx(_o,{tagTitle:W?.name,textColor:wl(W.code),showLoader:R}):null]}),g?xe?x?e.jsxs(Co,{children:[P?.photo!==void 0?e.jsx(vo,{src:P?.photo.href,alt:Ae.userProfileAltText,onError:({currentTarget:d})=>{d.onerror=null,d.src=Je},loading:"lazy"}):e.jsx(Qe,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${o.sp4}`,index:Te}),e.jsx(yl,{children:`${qe}`})]}):e.jsxs(Do,{children:[e.jsx(Eo,{children:e.jsx(Po,{})}),e.jsx(yl,{children:`${s.addOfficer}`})]}):e.jsx($o,{children:e.jsx(Yi,{selectedUser:P,allUsers:j,onSelectedUserChanged:d=>{const C=Object.values(l).findIndex(ne=>ne?.userId===d?.userId);he(`${$}.isSelectedForVerification`,!1),he(`${te}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:s.addOfficer},showAddUser:j.length<=9,pickerStyles:{backgroundColor:v.colors.grey5,selectedOptionBackgroundColor:v.colors.background,customStyleConfig:E==="small"?{menu:()=>({right:"initial",left:0})}:void 0}})}):null]}),Object.values(l).map((d,C)=>{if(le!==C)return null;const ne=Tl(d?.documentTypeSelectedForVerification),we=d?.userFiles??[];return e.jsxs(Fo,{children:[e.jsx(Dl,{}),e.jsx(Fl,{isDisabled:F,label:{label:s.name,width:ie},nameField:{name:N($,"name"),placeHolder:{firstName:s.firstNamePlaceholder,lastName:s.lastNamePlaceholder,name:s.namePlaceholder},defaultValue:{firstName:d?.firstName??"",lastName:d?.lastName??""},registerOptions:{required:w.includes("name")===!1,validate:O=>w.includes("name")!==!1||!!O},showFullNameError:!0},errorInfoLabel:s.nameError.replace("_product_type_",T)}),e.jsx(M,{}),d?.userId==null?e.jsxs(e.Fragment,{children:[e.jsx(A,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.email,width:ie},text:{type:"email",name:N($,"email"),placeholder:Se(s.email),defaultValue:d?.email,options:{required:w.includes("email")===!1}},additionalInfoLabel:s.emailDescription.replace("_product_type_",T)}),e.jsx(M,{})]}):null,e.jsx(Sl,{isDisabled:F,label:{label:s.dobLabel,width:oe},dateField:{name:N($,"dob"),type:"text",defaultValue:d?.birthday,placeholder:Se(s.dobLabel),dateFormat:Ne.defaultInput,maxDate:Ll().subtract(L==="unit"?18:13,"years"),registerOptions:{required:w.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:s.dobDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(zl,{isDisabled:F,label:{label:s.nationalityLabel,width:ie},showAdditionalInfoLabel:D!=="onboarding",additionalInfoLabel:s.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:N($,"nationalityCountryCode"),placeholder:s.nationalityPlaceholder,defaultValue:Nl(d?.nationalityCountryCode,f.map(O=>O.countryCode)),registerOptions:{validate:O=>!(O==null||!O.selectedOption)}}}),e.jsx(M,{}),e.jsx(Ye,{isDisabled:F,label:{label:s.address,width:ie},addressValueField:{name:N($,"officerAddress"),placeholder:Se(s.address),defaultValue:d?.addressStatus?.addressToCreate,registerOptions:{validate:O=>w.includes("officerAddress")!==!1||!(F==null&&O==null)},onClick:()=>{k(d?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:D==="onboarding"?s.addressAdditionInfo:s.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),e.jsx(M,{}),e.jsx(Il,{isDisabled:F,label:{label:s.phone,width:ie},text:{name:N($,"phone"),placeholder:Se(s.phone),defaultValue:d?.phone,autoComplete:"new-password",options:{required:w.includes("phone")===!1}},errorInfoLabel:Me(),verificationErrorInfoLabel:s.phoneValidationError,isPopupOpen:i,phoneVerifyButtonProps:{otpChallenge:d?.otpChallenge,showOtpButton:L==="unit",onGetOtp:H,onVerifyOtp:We,onResendOtp:ke,isPhoneVerified:K!=""&&D==="onboarding"?K!=null&&K!==""&&ee(`${$}.phone`)===K:d?.isPhoneVerified??!1,phoneVerificationStatus:d?.otpverificationStatus,getOtpStatus:d?.sendOtpStatus,openPopup:S,verifiedPhoneNumber:K,focusNotRequired:!0}}),e.jsx(M,{}),e.jsx(J,{label:{label:s.companyRoleLabel,width:oe},singleSelectField:{singleSelect:{name:N($,"role"),placeholder:Le,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Re,isDisabled:F,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:d?.titleAtCompany,allOptions:X?.map(O=>O.code)??[]},registerOptions:{required:w.includes("role")===!1,validate:O=>w.includes("role")!==!1||!(F==null&&!O?.selectedOption)}},isFunctional:!0,errorInfoLabel:s.companyRoleDescription.replace("_product_type_",T)}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.companyOwnershipLabel,width:oe},formattedTextField:{type:"number",name:N($,"ownership"),defaultValue:d?.ownershipInCompany,placeholder:s.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:w.includes("ownership")===!1,validate:O=>O==null||O>0&&O<=100,max:100},autoComplete:"new-password"},additionalInfoLabel:D==="onboarding"?s.companyOwnershipDescriptionForOnboarding:s.companyOwnershipDescription}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.ssnLabel,width:oe},formattedTextField:{type:"text",name:N($,"ssn"),placeholder:s.addSSNPlaceholder,defaultValue:d?.ssn,format:"###-##-####",registerOptions:{required:w.includes("ssn")===!1,pattern:Al},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:F!=null&&d?.ssn?Be:void 0,additionalInfoLabel:s.ssnDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(Bl,{name:N($,"selectDocument"),officerIndex:le,sizeLimit:He,filesEndPoint:a,authParams:de,onEditFileName:y,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:be},allFiles:we,updateFilesEntity:m,deleteFileStatusById:fe,updateFileStatusById:ze,onDeleteFile:ue,isDisabled:F,menuPlacement:D==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ll(!0,we,ye),back:ll(!1,we,ye)}},registerOptions:{required:w.includes("selectDocument")===!1},hasError:je,additionalInfoLabel:s.companyIdDescription.replace("_product_type_",T),onFileSizeError:O=>ve(O),isPopupOpen:i,openPopup:S,companyOfficerName:{firstName:d?.firstName??"",lastName:d?.lastName??""}})]},$)})]})}const N=(l,u)=>`${l}.${u}`,yo=r.div`
240
+ `,Ie={width:new _(343,580,726),labelWidth:new _(115,145,155),largeLabelWidth:new _(160,240,240),veryLargeLabelWidth:new _(150,240,245),containerRowGap:new _(12,q[3])},fo={title:new Ee("standardMedium","largeMedium")};function Go({companyOfficerData:l,isDisabled:u,allOfficers:j,allNationalityCountries:f,isRefreshingViewInBackground:R,connectedAccountProvider:L,style:G,isPopupOpen:i,sectionId:te,filesEndPoint:a,authParams:de,showInfoTooltip:ce=!0,isCompleted:ae=!1,showCompletedIcon:re=!1,showOfficerSelect:g=!0,showVerificationTag:K=!0,isForTreasury:c=!1,isOverlay:pe=!1,productType:D,companyTitles:X,sectionHeader:b,optionalFields:w=[],onOfficerAddressClick:V,onDeleteFile:ue,onEditFileName:y,updateFilesEntity:m,openPopup:S,onGetOtp:H,onVerifyOtp:me,onResendOtp:Ve,verifiedPhoneNumber:Q,onPhoneVerified:k}){const E=Ye(),v=bl(),{getValues:ee,setValue:he}=xl(),x=j.length>0,[je,ve]=h.useState(!1),le=x?Object.values(l).findIndex(d=>d?.isSelectedForVerification===!0):0,Z=`Officer_${le<0?1:le+1}`;h.useEffect(()=>{k!=null&&l[Z]?.phone!=null&&l[Z].isPhoneVerified===!0&&k(l[Z]?.phone??"")},[]);const $=`${te}.${le}`,Y=l[Z],W=c?Y?.treasuryUserVerificationStatus:Y?.userVerificationStatus,P=j.find(d=>d.userId===Y?.userId),ke=j.sort((d,C)=>(d.firstName||d.lastName?`${d.firstName} ${d.lastName}`:d.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),Te=x?ke.findIndex(d=>d.userId===Y?.userId):0,fe=l[Z]?.deleteFileStatusById??{},ze=l[Z]?.updateFileStatusById??{},ye=ee(`${$}.selectDocument.selectDocumentType`),{common:{optional:$e},commonSetUp:{businessVerification:s},dateFormat:{visual:Ne},cockpit:Ae}=se.getLocalizedStrings(),T=D==="onboarding"?s.productType.business_verification:s.productType[D],ie=Ie.labelWidth.value(E),be=Ie.veryLargeLabelWidth.value(E),oe=Ie.largeLabelWidth.value(E),Le=E==="small"?s.companyRolePlaceholderSmall:s.companyRolePlaceholder,Be=E==="small"?s.protectedSsnTextSmall:s.protectedSsnText,F=W?.code==="pending_review"||W?.code==="verified"?"readonly":u,xe=F!=null||!x||W?.code==="require_info",qe=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:s.addOfficer,ge=Y?.userId!=null?s.confirmIdentityDetails:s.confirmIdentityDetailsNewOfficer,Re=d=>X.find(C=>C.code===d)?.name??d,z=Y?.otpverificationStatus?.fetchState,Fe=kl(z);h.useEffect(()=>{k!=null&&Fe==="In-Progress"&&z==="Completed"&&k(ee(`${$}.phone`))},[Fe,z]);const We=(d,C)=>{me(d,C)},Me=()=>{const d=ee(`${$}.phone`);return d==null||Hl(d)?s.phoneError.replace("_product_type_",T):s.phoneErrorForOnboarding};return e.jsxs(yo,{style:G,windowSize:E,children:[e.jsxs(bo,{windowSize:E,isOverlay:pe,children:[e.jsxs(Lo,{children:[e.jsxs(go,{children:[re===!0?e.jsx(wo,{children:ae?e.jsx(So,{}):e.jsx(Io,{})}):null,e.jsx(xo,{windowSize:E,children:b??ge})]}),ce?e.jsx(Oo,{children:e.jsx(gl,{variant:"small-description",maxWidth:"275px",data:s.confirmIdentityDetailsTooltip,display:"flex",placement:E==="small"||D==="onboarding"?"bottom":"right",children:e.jsx(jo,{})})}):null,D==="onboarding"&&b!=null?e.jsx(El,{text:$e}):null,W!=null&&K?e.jsx(_o,{tagTitle:W?.name,textColor:wl(W.code),showLoader:R}):null]}),g?xe?x?e.jsxs(Co,{children:[P?.photo!==void 0?e.jsx(vo,{src:P?.photo.href,alt:Ae.userProfileAltText,onError:({currentTarget:d})=>{d.onerror=null,d.src=Je},loading:"lazy"}):e.jsx(Ke,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${o.sp4}`,index:Te}),e.jsx(yl,{children:`${qe}`})]}):e.jsxs(Do,{children:[e.jsx(Eo,{children:e.jsx(Po,{})}),e.jsx(yl,{children:`${s.addOfficer}`})]}):e.jsx($o,{children:e.jsx(Zi,{selectedUser:P,allUsers:j,onSelectedUserChanged:d=>{const C=Object.values(l).findIndex(ne=>ne?.userId===d?.userId);he(`${$}.isSelectedForVerification`,!1),he(`${te}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:s.addOfficer},showAddUser:j.length<=9,pickerStyles:{backgroundColor:v.colors.grey5,selectedOptionBackgroundColor:v.colors.background,customStyleConfig:E==="small"?{menu:()=>({right:"initial",left:0})}:void 0}})}):null]}),Object.values(l).map((d,C)=>{if(le!==C)return null;const ne=Tl(d?.documentTypeSelectedForVerification),we=d?.userFiles??[];return e.jsxs(Fo,{children:[e.jsx(Dl,{}),e.jsx(Fl,{isDisabled:F,label:{label:s.name,width:ie},nameField:{name:N($,"name"),placeHolder:{firstName:s.firstNamePlaceholder,lastName:s.lastNamePlaceholder,name:s.namePlaceholder},defaultValue:{firstName:d?.firstName??"",lastName:d?.lastName??""},registerOptions:{required:w.includes("name")===!1,validate:O=>w.includes("name")!==!1||!!O},showFullNameError:!0},errorInfoLabel:s.nameError.replace("_product_type_",T)}),e.jsx(M,{}),d?.userId==null?e.jsxs(e.Fragment,{children:[e.jsx(A,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.email,width:ie},text:{type:"email",name:N($,"email"),placeholder:Se(s.email),defaultValue:d?.email,options:{required:w.includes("email")===!1}},additionalInfoLabel:s.emailDescription.replace("_product_type_",T)}),e.jsx(M,{})]}):null,e.jsx(Sl,{isDisabled:F,label:{label:s.dobLabel,width:oe},dateField:{name:N($,"dob"),type:"text",defaultValue:d?.birthday,placeholder:Se(s.dobLabel),dateFormat:Ne.defaultInput,maxDate:Ll().subtract(L==="unit"?18:13,"years"),registerOptions:{required:w.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:s.dobDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(zl,{isDisabled:F,label:{label:s.nationalityLabel,width:ie},showAdditionalInfoLabel:D!=="onboarding",additionalInfoLabel:s.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:N($,"nationalityCountryCode"),placeholder:s.nationalityPlaceholder,defaultValue:Nl(d?.nationalityCountryCode,f.map(O=>O.countryCode)),registerOptions:{validate:O=>!(O==null||!O.selectedOption)}}}),e.jsx(M,{}),e.jsx(Ze,{isDisabled:F,label:{label:s.address,width:ie},addressValueField:{name:N($,"officerAddress"),placeholder:Se(s.address),defaultValue:d?.addressStatus?.addressToCreate,registerOptions:{validate:O=>w.includes("officerAddress")!==!1||!(F==null&&O==null)},onClick:()=>{V(d?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:D==="onboarding"?s.addressAdditionInfo:s.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),e.jsx(M,{}),e.jsx(Il,{isDisabled:F,label:{label:s.phone,width:ie},text:{name:N($,"phone"),placeholder:Se(s.phone),defaultValue:d?.phone,autoComplete:"new-password",options:{required:w.includes("phone")===!1}},errorInfoLabel:Me(),verificationErrorInfoLabel:s.phoneValidationError,isPopupOpen:i,phoneVerifyButtonProps:{otpChallenge:d?.otpChallenge,showOtpButton:L==="unit",onGetOtp:H,onVerifyOtp:We,onResendOtp:Ve,isPhoneVerified:Q!=""&&D==="onboarding"?Q!=null&&Q!==""&&ee(`${$}.phone`)===Q:d?.isPhoneVerified??!1,phoneVerificationStatus:d?.otpverificationStatus,getOtpStatus:d?.sendOtpStatus,openPopup:S,verifiedPhoneNumber:Q,focusNotRequired:!0}}),e.jsx(M,{}),e.jsx(J,{label:{label:s.companyRoleLabel,width:oe},singleSelectField:{singleSelect:{name:N($,"role"),placeholder:Le,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:Re,isDisabled:F,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:d?.titleAtCompany,allOptions:X?.map(O=>O.code)??[]},registerOptions:{required:w.includes("role")===!1,validate:O=>w.includes("role")!==!1||!(F==null&&!O?.selectedOption)}},isFunctional:!0,errorInfoLabel:s.companyRoleDescription.replace("_product_type_",T)}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.companyOwnershipLabel,width:oe},formattedTextField:{type:"number",name:N($,"ownership"),defaultValue:d?.ownershipInCompany,placeholder:s.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:w.includes("ownership")===!1,validate:O=>O==null||O>0&&O<=100,max:100},autoComplete:"new-password"},additionalInfoLabel:D==="onboarding"?s.companyOwnershipDescriptionForOnboarding:s.companyOwnershipDescription}),e.jsx(M,{}),e.jsx(el,{isDisabled:F,showAdditionalInfoLabel:!1,label:{label:s.ssnLabel,width:oe},formattedTextField:{type:"text",name:N($,"ssn"),placeholder:s.addSSNPlaceholder,defaultValue:d?.ssn,format:"###-##-####",registerOptions:{required:w.includes("ssn")===!1,pattern:Al},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:F!=null&&d?.ssn?Be:void 0,additionalInfoLabel:s.ssnDescription.replace("_product_type_",T),isMasked:!0}),e.jsx(M,{}),e.jsx(Bl,{name:N($,"selectDocument"),officerIndex:le,sizeLimit:He,filesEndPoint:a,authParams:de,onEditFileName:y,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:be},allFiles:we,updateFilesEntity:m,deleteFileStatusById:fe,updateFileStatusById:ze,onDeleteFile:ue,isDisabled:F,menuPlacement:D==="onboarding"&&ne==null?"top":"auto",defaultValue:{defaultSelectDocumentType:ne,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ll(!0,we,ye),back:ll(!1,we,ye)}},registerOptions:{required:w.includes("selectDocument")===!1},hasError:je,additionalInfoLabel:s.companyIdDescription.replace("_product_type_",T),onFileSizeError:O=>ve(O),isPopupOpen:i,openPopup:S,companyOfficerName:{firstName:d?.firstName??"",lastName:d?.lastName??""}})]},$)})]})}const N=(l,u)=>`${l}.${u}`,yo=r.div`
241
241
  display: flex;
242
242
  flex-direction: column;
243
243
  row-gap: ${l=>Ie.containerRowGap.valuePx(l.windowSize)};
@@ -1,4 +1,4 @@
1
- import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-CDsOcKsG.js";import{n as o}from"./mui-hn9thxzh.js";import{c as j}from"./SummaryCard-HW-1WXN9-CoLCJfe-.js";import{a as t}from"./sentry-BkPUuNvL.js";import"./pdf-Cs-mh77O.js";import"./zeni-epic-state-CsRsIUwY.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";import"./ReloadCard-DIFXZM9U-DBPBbgAk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8e75aed7-b632-4d23-9a86-9ee1d74d1d93",e._sentryDebugIdIdentifier="sentry-dbid-8e75aed7-b632-4d23-9a86-9ee1d74d1d93")}catch{}})();const y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon: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}))},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon: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"}))},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon: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"}))}],B=o(w)`
1
+ import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-CAltUZe8.js";import{n as o}from"./mui-CMSRVFAm.js";import{c as j}from"./SummaryCard-C2qoTsAY-DD3uQEFW.js";import{a as t}from"./sentry-DQeYyYXx.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./ReloadCard-Bdoo0XiI-DQ7zH5_b.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]="3545698a-d00e-4269-9a7e-9ae03d9d13da",e._sentryDebugIdIdentifier="sentry-dbid-3545698a-d00e-4269-9a7e-9ae03d9d13da")}catch{}})();const y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon: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}))},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon: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"}))},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon: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"}))}],B=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
4
  `,D=o.div`
@@ -39,4 +39,4 @@ import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from".
39
39
  width: 100%;
40
40
  height: 1px;
41
41
  background-color: ${e=>e.theme.colors.grey3};
42
- `;function X({card:e,actions:a,data:d,dndProps:s}){return r.jsx(E,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>s?.onDragStart(e.cardType,i),onDragOver:i=>s?.onDragOver(i,e.cardType),onDragLeave:i=>s?.onDragLeave(i),onDrop:i=>s?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:a,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>a.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(B,{children:[r.jsx(D,{children:r.jsx(v,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,c)=>{const{title:m,key:n,Icon:h}=i;return r.jsxs(L,{children:[r.jsxs(W,{children:[r.jsx(I,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(T,{children:[r.jsx(V,{children:m}),r.jsx($,{data:d?.companyView,itemKey:n})]})]}),c!==y.length-1?r.jsx(_,{}):null]},i.key)})]})})})},e.cardIndex)}const $=({itemKey:e,data:a})=>{const d=a?.companyOfficers,s=a?.company,i=s?.company.companyInfo,c=s?.company.incInfo,m=()=>r.jsx(b,{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 n=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[n[0].user.firstName,n[0].user.lastName].join("").trim();return r.jsxs(k,{children:[n[0].user.firstName!=null&&n[0].user.firstName!==""?r.jsxs(C,{children:[n[0].user.firstName," "]}):null,r.jsx(C,{children:n[0].user.lastName}),n[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${n[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{X as default};
42
+ `;function X({card:e,actions:s,data:d,dndProps:a}){return r.jsx(E,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>a?.onDragStart(e.cardType,i),onDragOver:i=>a?.onDragOver(i,e.cardType),onDragLeave:i=>a?.onDragLeave(i),onDrop:i=>a?.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(B,{children:[r.jsx(D,{children:r.jsx(v,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,c)=>{const{title:m,key:n,Icon:h}=i;return r.jsxs(L,{children:[r.jsxs(W,{children:[r.jsx(I,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(T,{children:[r.jsx(V,{children:m}),r.jsx($,{data:d?.companyView,itemKey:n})]})]}),c!==y.length-1?r.jsx(_,{}):null]},i.key)})]})})})},e.cardIndex)}const $=({itemKey:e,data:s})=>{const d=s?.companyOfficers,a=s?.company,i=a?.company.companyInfo,c=a?.company.incInfo,m=()=>r.jsx(b,{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 n=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[n[0].user.firstName,n[0].user.lastName].join("").trim();return r.jsxs(k,{children:[n[0].user.firstName!=null&&n[0].user.firstName!==""?r.jsxs(C,{children:[n[0].user.firstName," "]}):null,r.jsx(C,{children:n[0].user.lastName}),n[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${n[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{X as default};
@@ -1,4 +1,4 @@
1
- import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-CDsOcKsG.js";import{a as Y,b as ea}from"./sentry-BkPUuNvL.js";import{n,d as ta,k as aa}from"./mui-hn9thxzh.js";import{FC as la,FD as ct,FE as pt,FF as mt,FG as ut,FH as ht,bR as ft,FI as ke,bG as oa,bs as Le,bE as ia,FJ as na}from"./zeni-epic-state-CsRsIUwY.js";import{D as yt}from"./LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js";import{Y as gt}from"./LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js";import{e as sa}from"./LabeledSingleSelectField-sjDjhxfQ-CpanQxt-.js";import{p as ra,i as da,t as ca}from"./commonTypes-B3mnx2x_-DYgG7K13.js";import{b as pa}from"./LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js";import{x as ma,f as ua,p as ha,h as fa,m as bt,b as ya,g as ga}from"./helper-BVESv00--CCWSdc0u.js";import{$ as xt}from"./LabeledAddressValue-Czt7QvSJ-DQcySL2B.js";import{Z as wt}from"./LabeledNameField-BdVztq_8-DOZ2ED2j.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6f0ad195-56ea-4870-ad05-b520bafa0f09",e._sentryDebugIdIdentifier="sentry-dbid-6f0ad195-56ea-4870-ad05-b520bafa0f09")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function ba({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(xa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const xa=n.div`
1
+ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-CAltUZe8.js";import{a as Y,b as ea}from"./sentry-DQeYyYXx.js";import{n,d as ta,k as aa}from"./mui-CMSRVFAm.js";import{FC as la,FD as ct,FE as pt,FF as mt,FG as ut,FH as ht,bR as ft,FI as ke,bG as oa,bs as Le,bE as ia,FJ as na}from"./zeni-epic-state-CHpO1ZKT.js";import{D as yt}from"./LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js";import{Y as gt}from"./LabeledDocumentField-C_bcFxdY-CD1TCntt.js";import{e as sa}from"./LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js";import{p as ra,i as da,t as ca}from"./commonTypes-5tEXwrX4-0afSAZ02.js";import{b as pa}from"./LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js";import{x as ma,f as ua,p as ha,h as fa,m as bt,b as ya,g as ga}from"./helper-Ckm10Uko-Cft993Iq.js";import{$ as xt}from"./LabeledAddressValue-DDrQcHIE-BQQnm587.js";import{Z as wt}from"./LabeledNameField-mxSNQk3k-BpAc_tNL.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="28b712e2-7c5c-4b86-bd26-9a41119fb60d",e._sentryDebugIdIdentifier="sentry-dbid-28b712e2-7c5c-4b86-bd26-9a41119fb60d")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function ba({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(xa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const xa=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./pdf-Cs-mh77O.js";import{a as g}from"./sentry-BkPUuNvL.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-BcVj2gTX.js";import{y as E,js as C,jQ as P,k_ as F,bk as V,jz as A,J as L,ki as b,k$ as U,kv as _,ev as B,jO as M}from"./index-CDsOcKsG.js";import{ct as N,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as D,iX as q,i_ as W}from"./zeni-epic-state-CsRsIUwY.js";import"./mui-hn9thxzh.js";import{c as ee}from"./routePaths-C-_oCckx.js";import{M as te}from"./MobileAppDrawer-Bcyem12-.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a",n._sentryDebugIdIdentifier="sentry-dbid-cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a")}catch{}})();const ne=j(function(n){const s=z(n),r=C.getSignedInUser(),p=N(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?D(c):void 0,meetingLink:m!=""&&m!=null?D(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>N(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
1
+ import{j as l}from"./pdf-Be2WBqYM.js";import{a as g}from"./sentry-DQeYyYXx.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-D9P6lLF-.js";import{y as E,js as C,jQ as P,k_ as F,bk as V,jz as A,J as L,ki as b,k$ as U,kv as _,ev as B,jO as M}from"./index-CAltUZe8.js";import{ct as N,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as D,iX as q,i_ as W}from"./zeni-epic-state-CHpO1ZKT.js";import"./mui-CMSRVFAm.js";import{c as ee}from"./routePaths-C2kSZwVH.js";import{M as te}from"./MobileAppDrawer-C3TNoouV.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a",n._sentryDebugIdIdentifier="sentry-dbid-cd11c1cd-f7b1-4c92-8b8a-1ee6e1b4759a")}catch{}})();const ne=j(function(n){const s=z(n),r=C.getSignedInUser(),p=N(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?D(c):void 0,meetingLink:m!=""&&m!=null?D(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>N(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
@@ -1,4 +1,4 @@
1
- import{T as P,gf as O,O as G,V as g,gg as j,E as n,l as H,A as N,cd as q,ci as v,o as E,gh as J,ch as V,a9 as $,c2 as _,bx as W,gi as T}from"./index-CDsOcKsG.js";import{a as B,b as c}from"./sentry-BkPUuNvL.js";import{n as o}from"./mui-hn9thxzh.js";import{bs as Z}from"./zeni-epic-state-CsRsIUwY.js";import{Z as z}from"./LabeledNameField-BdVztq_8-DOZ2ED2j.js";import{$ as X}from"./LabeledAddressValue-Czt7QvSJ-DQcySL2B.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="3a4bf098-87e7-46ca-8df0-a63b1cc3bcce",A._sentryDebugIdIdentifier="sentry-dbid-3a4bf098-87e7-46ca-8df0-a63b1cc3bcce")}catch{}})();const AA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:f})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:b,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(z,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(X,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:b,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&f(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
1
+ import{T as P,gf as O,O as G,V as g,gg as j,E as n,l as H,A as N,cd as q,ci as v,o as E,gh as J,ch as V,a9 as $,c2 as _,bx as W,gi as T}from"./index-CAltUZe8.js";import{a as B,b as c}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{bs as Z}from"./zeni-epic-state-CHpO1ZKT.js";import{Z as z}from"./LabeledNameField-mxSNQk3k-BpAc_tNL.js";import{$ as X}from"./LabeledAddressValue-DDrQcHIE-BQQnm587.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new A.Error().stack;i&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[i]="840c8b2b-c638-4174-98de-1a82a0589be8",A._sentryDebugIdIdentifier="sentry-dbid-840c8b2b-c638-4174-98de-1a82a0589be8")}catch{}})();const AA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:k})=>{const[I,a]=B.useState(!1),[f,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:b,phone:U}=r,K=g.jsxs(CA,{children:[g.jsx(AA,{}),g.jsxs(QA,{children:[g.jsxs(oA,{children:[g.jsx(j,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(n,{controller:s.fetchState==="Completed",children:g.jsx(IA,{})})]}),g.jsx(H,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(gA,{children:[g.jsxs(BA,{children:[g.jsxs(eA,{children:[I&&g.jsx(EA,{onClick:()=>{a(!1)}}),e.completeProfile.title]}),g.jsx(N,{...t,children:g.jsxs("form",{id:`${p}_form`,onSubmit:L,children:[g.jsx(n,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(n,{controller:I===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),g.jsx(z,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(v,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z().subtract(18,"year")}}),g.jsx(X,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:()=>{a(!0)}},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(n,{controller:I===!0,children:g.jsx(c.Fragment,{children:g.jsx(J,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(V,{infoBox:K,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:f,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:b,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&k(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?U:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx($,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?()=>{const C=t.getValues(`${m}`);if(C!=null){const d=T(C);t.setValue(`${Q}.address`,d)}a(!1)}:void 0,isLoading:S.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},gA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{cx as a,z as f,V as d,ap as l,o as r}from"./index-CDsOcKsG.js";import{a as n}from"./sentry-BkPUuNvL.js";import"./pdf-Cs-mh77O.js";import"./zeni-epic-state-CsRsIUwY.js";import"./core-BcVj2gTX.js";import"./mui-hn9thxzh.js";import"./recharts-B4dFoR35.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d15d4434-d032-478d-9e53-2fe60deee7d5",e._sentryDebugIdIdentifier="sentry-dbid-d15d4434-d032-478d-9e53-2fe60deee7d5")}catch{}})();const z=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=a("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",e),[p]=f("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),d.jsx(d.Fragment,{children:t&&s&&p!=null?d.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:r.sp0,left:r.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:p,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{z as default};
1
+ import{cx as a,z as f,V as d,ap as l,o as r}from"./index-CAltUZe8.js";import{a as n}from"./sentry-DQeYyYXx.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d15d4434-d032-478d-9e53-2fe60deee7d5",e._sentryDebugIdIdentifier="sentry-dbid-d15d4434-d032-478d-9e53-2fe60deee7d5")}catch{}})();const z=({showConfetti:e})=>{const[t,o]=n.useState(e),[s,i]=a("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",e),[p]=f("ConfettiSuccess");return n.useEffect(()=>{e&&o(!0)},[e]),n.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),d.jsx(d.Fragment,{children:t&&s&&p!=null?d.jsx(l,{style:{position:"absolute",width:"100%",height:"100vh",top:r.sp0,left:r.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:p,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{z as default};
@@ -1,4 +1,4 @@
1
- import{j as I}from"./pdf-Cs-mh77O.js";import{a}from"./sentry-BkPUuNvL.js";import{i as x,u as c,N as S}from"./core-BcVj2gTX.js";import{H7 as y,ct as N,d0 as T,jC as D,ds as h,c$ as j,cu as v,Hh as w}from"./zeni-epic-state-CsRsIUwY.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-CDsOcKsG.js";import{n as _}from"./mui-hn9thxzh.js";import{t as H}from"./getLocaleForTenant-Cgh9LbcE.js";import{Q as F}from"./QBOConnectionScreen-Dyzyd1p0.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";import"./empty-wYUB3tSo.js";import"./pdf-lib-sBkKqPTU.js";import"./index-DxRPAtdN.js";import"./url-DmgUP0mV.js";import"./index-Lqpf6Iwl.js";import"./decodeURIComponentSafe-ClJHrrjv.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="874cc0a1-81b7-4c02-a61b-43c62defb135",t._sentryDebugIdIdentifier="sentry-dbid-874cc0a1-81b7-4c02-a61b-43c62defb135")}catch{}})();const $=_.div`
1
+ import{j as I}from"./pdf-Be2WBqYM.js";import{a}from"./sentry-DQeYyYXx.js";import{i as x,u as c,N as S}from"./core-D9P6lLF-.js";import{H7 as y,ct as N,d0 as T,jC as D,ds as h,c$ as j,cu as v,Hh as w}from"./zeni-epic-state-CHpO1ZKT.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-CAltUZe8.js";import{n as _}from"./mui-CMSRVFAm.js";import{t as H}from"./getLocaleForTenant-D_kHTEKc.js";import{Q as F}from"./QBOConnectionScreen-W61uspBL.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./empty-BM1tlym1.js";import"./pdf-lib-CnVZquuu.js";import"./index-BoyH9PC5.js";import"./url-Doy-Mf6X.js";import"./index-BGoNZK9J.js";import"./decodeURIComponentSafe-BA7ebd4J.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="874cc0a1-81b7-4c02-a61b-43c62defb135",t._sentryDebugIdIdentifier="sentry-dbid-874cc0a1-81b7-4c02-a61b-43c62defb135")}catch{}})();const $=_.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{V as d}from"./index-CDsOcKsG.js";import{a as i}from"./sentry-BkPUuNvL.js";import{n}from"./mui-hn9thxzh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
1
+ import{V as d}from"./index-CAltUZe8.js";import{a as i}from"./sentry-DQeYyYXx.js";import{n}from"./mui-CMSRVFAm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="87455e39-86a6-4ca5-9a52-0eaaa23d834c",e._sentryDebugIdIdentifier="sentry-dbid-87455e39-86a6-4ca5-9a52-0eaaa23d834c")}catch{}})();const s=n.div`
2
2
  width: auto;
3
3
  max-width: var(--side-panel-list-width, 100%);
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-CDsOcKsG.js";import{a as g}from"./sentry-BkPUuNvL.js";import{n as r}from"./mui-hn9thxzh.js";import"./pdf-Cs-mh77O.js";import"./zeni-epic-state-CsRsIUwY.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(et,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
1
+ import{y as We,e as v,S as W,cb as _e,V as t,a_ as He,b as $,L as Ye,bR as re,bS as ne,bT as ae,ct as qe,a9 as Ge,x as _,O as x,bx as Je,o,cu as Ke,bo as S,bH as ie,m as w,ar as se,C as le,l as Y,aR as Qe,cq as de,cv as Xe,f as z,cw as ce,cp as pe}from"./index-CAltUZe8.js";import{a as g}from"./sentry-DQeYyYXx.js";import{n as r}from"./mui-CMSRVFAm.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8035d80c-48e4-4903-8eb9-c528bf0a3eaf",e._sentryDebugIdIdentifier="sentry-dbid-8035d80c-48e4-4903-8eb9-c528bf0a3eaf")}catch{}})();const Ze=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const b=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(et,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?Xe(l.toLowerCase()):l??""})]})]});return t.jsxs(nt,{size:b,children:[t.jsxs(ot,{children:[t.jsxs(Y,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(S,{title:C,placement:"top",children:t.jsx(it,{children:t.jsx(st,{})})})]}),t.jsx(tt,{children:f??h.emptyPlaceholderString})]}),t.jsx(rt,{children:t.jsx(S,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(at,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(lt,{})})})})]})},et=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bo as ra,eO as Oe,d as Z,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bx as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bv as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-CDsOcKsG.js";import{n as i}from"./mui-hn9thxzh.js";import{a as p}from"./sentry-BkPUuNvL.js";import{u as Ia}from"./plaid-NpQK5k22.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-CsRsIUwY.js";import{x as Pa}from"./LabeledControlledCheckBoxField-DT_nxhPN-C7uKsE8n.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./utils-DkgigH7S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f6dcb2de-f55b-4189-8c99-07da2291014b",e._sentryDebugIdIdentifier="sentry-dbid-f6dcb2de-f55b-4189-8c99-07da2291014b")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},he={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Ga,{children:t.jsxs(Ya,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
1
+ import{V as t,e as ge,h as ye,b as ae,gT as ea,a5 as aa,a as ta,L as na,a9 as Me,o as a,O as K,x as m,a8 as Be,n as oa,R as ia,y as _e,bo as ra,eO as Oe,d as Z,f as J,fP as se,w as la,D as Ne,c2 as ca,a7 as De,T as sa,c8 as da,A as ma,ex as pa,f6 as ua,cf as ha,h4 as Se,h5 as ga,fD as ya,m as r,bx as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bv as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-CAltUZe8.js";import{n as i}from"./mui-CMSRVFAm.js";import{a as p}from"./sentry-DQeYyYXx.js";import{u as Ia}from"./plaid-BfI3x5Cu.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-CHpO1ZKT.js";import{x as Pa}from"./LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ecc3ed25-da47-4ff0-8e22-3a54286700a6",e._sentryDebugIdIdentifier="sentry-dbid-ecc3ed25-da47-4ff0-8e22-3a54286700a6")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},he={pageTitle:new Z("h6Regular","h5Regular"),integerAmountInput:new Z("h5Regular","largeMedium"),decimalAmountInput:new Z("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Ae}},common:{edit:ja,labels:de,navBar:{back:za},to:Ea,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=K.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:u,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:l,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=ge(),S=_e(),v=ye().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const R=te.largeLabelWidth.value(d),F=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=F?1:3,P=ue(Ra($e().toDate(),[0,6],T).toDateString()).format(Ae),B=F?z.timeline01BusinessDay:z.timeline23BusinessDays,_=F?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",B);return t.jsxs(t.Fragment,{children:[t.jsxs(Xa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:za,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Le,{children:t.jsx(Oe,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:he.integerAmountInput.styleObject(d),decimalStyles:he.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",Ea," ",t.jsx(Le,{children:Ma})]}),M?t.jsx(Ga,{children:t.jsxs(Ya,{children:[t.jsxs(Za,{children:[t.jsx(Ja,{}),t.jsxs(Va,{children:[t.jsx(Ha,{children:e.error?.title}),t.jsx(qa,{children:e.error?.message})]})]}),t.jsx(Ka,{children:t.jsx(Qa,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(se,{label:{label:de.paymentMethod,width:R},text:t.jsx(me,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.sourceAccount,width:R},text:t.jsxs(me,{windowSize:d,children:[Ue(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(ve,{}),t.jsx(se,{label:{label:de.paymentDate,width:R},showAdditionalInfoLabel:!0,additionalInfoLabel:_,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(me,{windowSize:d,children:$e().format(Ae)}),style:{width:"auto"}})]})})]}),t.jsx(Me,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&u&&n&&h!=null&&v.trackCardsPayEarlyFormClick(f,l,h,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ue=(e,o,u)=>{if(o==="")return t.jsx(st,{});const n=e.find(l=>l.id===o),f=e.findIndex(l=>l.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:u,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:u,loading:"lazy"}):t.jsx(it,{isOptionSelected:u,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${La}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(Ca)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;