@zeniai/web-app-ui 4.14.30-qa → 4.14.31-qa

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 (372) hide show
  1. package/dist/assets/{ACHDetailsPage-CQdbfxHV-CVfdxX3S.js → ACHDetailsPage-CFhoboVe-DcRe2nTt.js} +2 -2
  2. package/dist/assets/{AIPerformancePage-jyNXVGMj-Df3oatFx.js → AIPerformancePage-DB-fTWME-DYZeuOnD.js} +1 -1
  3. package/dist/assets/AccountInfoPage-pEEhPqOb-B-Hd8VtG.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-eYEsv7ac-DDYvpmDy.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-EbQpyRJx-CBjiURZ4.js → AccountLockedInfoModal-jYWr_8TD-DcOOzUkE.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CK1QV13E-DZmItK8g.js → AccountReconDetailsDrawerPage-3Q0EPYhL-27wJMTjD.js} +2 -2
  7. package/dist/assets/{AccountRow-B3Sz6a-V-CTAgoDt8.js → AccountRow-CdgvnPG8-BR1hQ4Zy.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DJtz56-u-DZZMgyeG.js → AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js} +13 -13
  9. package/dist/assets/{AddAddressForCardDrawer-BDtxj9h6-CGRCP-Ov.js → AddAddressForCardDrawer-BzO1FXUa-kLdLeGkd.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Czepun8f-BSrXEfN0.js → AddToWalletPage-BfXFbHjk-CYPGe181.js} +1 -1
  11. package/dist/assets/{AddressRoutes-TFWvRoK1.js → AddressRoutes-XcDMlDlS.js} +1 -1
  12. package/dist/assets/{AddressScreen-TV5gX_gl.js → AddressScreen-DPPx0MfK.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-DzAVDq_i-ym_LOlxy.js → AgingReportsPage-C1hFq4KH-DN--gN3O.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-D6K-vpzr.js → AiCfoScreen-30SW2q3w.js} +1 -1
  15. package/dist/assets/{AllUserItems-BEoRQT-v-B0L7dc_f.js → AllUserItems-B6pnKByY-DyP7v-cA.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-55JdoIHh-DrarMtyY.js → ApAgingDetailPage-CxLVGnpY-BYGcfd1t.js} +8 -8
  17. package/dist/assets/{AppBasePage-CLye29uw-XKxIMpL1.js → AppBasePage-DiVxF606-AXI0aqhJ.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CDawrmfz-CIsX5yBE.js → AppDrawerContent-B_EWsf8O-CMysKcTU.js} +5 -5
  19. package/dist/assets/{ApprovalRulesSettingsPage-BHUZdWCO-Dwb34rZQ.js → ApprovalRulesSettingsPage-HHjDp_NQ-jrLhlHCF.js} +1 -1
  20. package/dist/assets/{ArAgingChart-DeL9nNI7-jiARVqmw.js → ArAgingChart-Ba4A-i2N-PODxdvyn.js} +4 -4
  21. package/dist/assets/{ArAgingDetailPage-CuG65EQs-DJsQVyGf.js → ArAgingDetailPage-prgcvsS4-BsTAVwTa.js} +1 -1
  22. package/dist/assets/{AttachmentView-C5anq6-B-B0oKrwit.js → AttachmentView-SsWJw4A8-RJr9hQhO.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-1PK_fwhP-DTycoTBO.js → BalancesInsightWithToolTip-DE6gDjGA-e_65zoZY.js} +4 -4
  24. package/dist/assets/{BankAccountSection-BUJoSOk8-CktP5_6B.js → BankAccountSection-B4jmT0lb-zwPodZbw.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-BQaoV2yQ-D2dPrb3a.js → BankAccountWarningSection-Bz2itMx0-BfZtVATK.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-DRDS5xzS-sJm12Xpi.js → BankConnectionsSettingsPage-BcVk7bTt-C3Wp_iZl.js} +9 -9
  27. package/dist/assets/{BillDetailPage-CtVVaqTN-Cs2maBN6.js → BillDetailPage-Dkqmi4H1-C6mDNSc2.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-BcknH4As.js → BillPayApprovalRoutes-CaSA1uSR.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-6GHCsDkX-BhEokdj1.js → BillPayApprovalRuleDetailPage-Blxlv3pa-BYAGbgwQ.js} +4 -4
  30. package/dist/assets/{BillPayApprovalRulesPage-QKjq-qVP-bPrJjJ_n.js → BillPayApprovalRulesPage-B_QwggJS-BveqhBul.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-_n9uoXTN-C-ItO23h.js → BillPayPromoPage-Bx2AXpWe-BrIbmhut.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-CrujOQ7A.js → BillPayRoutes-CMdKHc5T.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-DNYX24VA-xlmRW4oi.js → BillPaySetUpPage-CM7_DkHC-Bt5CjJNs.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-Btv3yiNs-8WC50UDB.js → BillingSettingsPage-DM0OIfxa-CKHUmPAw.js} +3 -3
  35. package/dist/assets/{BillsBulkReviewDrawerPage-BiLLeGke-JyRoZ7s-.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Cf_j4N1J.js} +1 -1
  36. package/dist/assets/{BoxItem-Dqp4SNlI-CnJYfmyU.js → BoxItem-CvCo0wr6-BAtsmvg4.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-_8Wg_S5G-CBDfKOCi.js → BusinessVerificationPage-BAZmkR4a-BbYTLnZH.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-BSkh5puj.js → BusinessVerificationPageScreen-DVGxc_kT.js} +1 -1
  39. package/dist/assets/{BusyIndication-BZLVwIo8-D7x09Syx.js → BusyIndication-Cp8KWKB2-paVspSd6.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-12zyW5qQ-CZArd4_p.js → CardNumberSubText-DHtSIcZZ-CJNkVpEB.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-B8-TDuv8-BtBdmaco.js → CashbackDetailPage-CNS1FA6b-DNPbsy8R.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Bdz5L2ko-B9HW8VJu.js → ChargeCardDetailPage-C4NeG7IM-Bqzrs3Tx.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-EuJ1VXck-C9ILrDfC.js → ChargeCardListPage-DNYiWaEf-D4WPR4qJ.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-SgjwYd8W-D2X3nHhv.js → ChargeCardListTable-DdnyzdFf-BLIVQeNK.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-BC2DkmZT-z-BJ1TRl.js → ChargeCardPaymentHistoryPage-CXlqzaUt-nlgSDdhG.js} +10 -10
  46. package/dist/assets/ChargeCardPromoPage-D4canPX9-CjFFR5oK.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-DtXgeUrQ.js → ChargeCardRoutes-DipRg107.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-ByLoLZE_-D5yhBe12.js → ChargeCardSetupPage-BtikPFOq-Ci06zFqY.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-C4XdqPO1-B4JvhC1B.js → ChargeCardStatementsPage-RepWBbvJ-qZhzfjJs.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-D5X61CKc-DCVEIWOd.js → CheckDepositDrawerPage-BCqg3irO-CU861UMl.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-D7zD4-h0-CXEJdn3k.js → CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js} +2 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-w86_5FXJ-BVS8U2VI.js → CompanyOfficerDetailsSection-BsCx7q-g-Bqu05vNe.js} +11 -11
  53. package/dist/assets/{CompanyPassportCard-tpE1lXug-aG1e_v_p.js → CompanyPassportCard-BbUWOs1U-CQapOMzG.js} +6 -6
  54. package/dist/assets/{CompanyPassportPage-bND99CJN-51EM3BS8.js → CompanyPassportPage-BnP2oA1U-DG-ray3n.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DNHzvh3T.js → CompanyPassportScreen-Bsk4iSLd.js} +1 -1
  56. package/dist/assets/{CompleteProfile-B5W07hcs-BYS2Cw7x.js → CompleteProfile-TiRsm2Fm-Dmw9B9gd.js} +1 -1
  57. package/dist/assets/ConfettiBurst-D7J36hZf-DAmXS8qh.js +1 -0
  58. package/dist/assets/{ConnectionAuthScreen-C1ACdx6M.js → ConnectionAuthScreen-CdbJnza-.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-C96GWvku.js → ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-CrQh8JCh-CdARK_ay.js → CreateOrEditVendorPage-Dihzr1D5-Df0a--du.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-BoVmLCHh-ClmStU3s.js → CreditCardPaymentDrawerPage-CZGzDuxC-CG7xBUFZ.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-D2azwi1T-Yce6ywvM.js → CurrencySelectField-BTAmIqPa-BOvsicp3.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-DxuEGe6X-DOVYYini.js → CustomerOnboardingActivationPage-MVI7kqIh-B52EVUog.js} +3 -3
  64. package/dist/assets/CustomerOnboardingAuthScreen-DO7d0gIb.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--CSEqEIM8.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DRGKainD-DRHsfYAC.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-Dx2c__Yb.js} +8 -8
  67. package/dist/assets/CustomerOnboardingNoStepsPage-CO_c2COV-CcNi7DUF.js +66 -0
  68. package/dist/assets/{CustomerOnboardingPage-BXZSl2im-CdR09mXQ.js → CustomerOnboardingPage-BF0vuYaJ-CpeT13Rn.js} +16 -16
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-BJmYX0kI-DgmtQLkO.js → CustomerOnboardingProductSuitePage-BGFdLX1i-C7qSBsYV.js} +3 -3
  70. package/dist/assets/{CustomerOnboardingRoutes-BNk50EBa.js → CustomerOnboardingRoutes-BqTX1iyW.js} +1 -1
  71. package/dist/assets/{Dashboard-yhqyXPbZ-DD3l1FY2.js → Dashboard-Qjedd4r--DdmcDs7e.js} +26 -26
  72. package/dist/assets/{DashboardReportPage-BG4StCjY-BqArxOAD.js → DashboardReportPage-Deith_ON-BYNIuWwI.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-sZ-hP0Lz.js → DashboardRoutes-C3tqy16Q.js} +1 -1
  74. package/dist/assets/DashboardSidebarBackgroundAnimation-C7DfUDio-CXRw7JSP.js +12 -0
  75. package/dist/assets/{DefaultTenantHome-BZ1C0pHF.js → DefaultTenantHome-DTL7QcJH.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-5ZEPnNxa-5QBvNOk0.js → DepositAccTransactionItem-7kYotKov-C07q_etT.js} +7 -7
  77. package/dist/assets/{DepositAccTransactionListPage-BR8d0Kun-DoTQr_rp.js → DepositAccTransactionListPage-Bop4Uj5w-DYSx2RBP.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-H_WuL4rG.js → DomesticWireDetailScreen-D_BfoPLh.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-wGIWvhgQ-uEZDY48j.js → DomesticWireDetailsPage-_TyXsqEx-jkwnoEUE.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-SLvxfa6B-BbI1muq1.js → DownloadOverlay-Cmd727bN-CUU7ZY9L.js} +14 -14
  81. package/dist/assets/{DrawerPage-CFdTV10k-BDAq-J1m.js → DrawerPage-DmGwfnGp-LTv4sDcy.js} +1 -1
  82. package/dist/assets/{DrawerScreen-DokbcyFi.js → DrawerScreen-DtF71b7B.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-C-Y62PJ0-OR5daMys.js → EditPeoplePage-YyluIC6R-CXdaDa7G.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BYpXof8e-DpqR0TKa.js → EditReimbursementDetailPage-DeMid2Ko-Bv-8Xabp.js} +14 -14
  85. package/dist/assets/EntityDetailPage-DPTSSZdS-oHoyHWu0.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-DPf_I5PV.js → EntityDetailRoutes-DYnivlwX.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-B2uG3-Zh-BNN-XEhG.js → EntitySummarySection-5NbutA8l-CQbl1YIH.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-CrtNuarm-DCl80aVX.js → ExpenseAutomationOverviewPage-CQ_3WluW-CLWld5W7.js} +6 -6
  89. package/dist/assets/{ExpenseAutomationPage-CWPnIMSu-DYb4-i2t.js → ExpenseAutomationPage-VuU4acYd-B7T-Dg4p.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DUWDjNay.js → ExpenseAutomationRoutes-BlW2sTwn.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-CsI_DUc6-DXAWujAE.js → ExpressPayPage-DhoNmyC2-Bd-YVNzq.js} +10 -10
  92. package/dist/assets/{FeaturePreviewPage-B67a68N9-D61ej93i.js → FeaturePreviewPage-GSwhPxgP-CXXTQoUA.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Bcvg8Bfv.js → FeaturePreviewScreen-CpHWA-St.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CgjzMm02-glrhNO5E.js → FollowStepsSection-DaueHRo4-FQso0zsG.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-CIfK-0rd-COml45hA.js → GlobalReviewListPage-DG7_1HOT-_eh0o3Lh.js} +1 -1
  96. package/dist/assets/{InformationCardStack-qKld10kr-0nHm6M6u.js → InformationCardStack-zc-BxR7F-CH328-RF.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-Bbh77o6f-D3KyjkmI.js → InsightsCardStack-DxCA5sFh-Y8l4503l.js} +5 -5
  98. package/dist/assets/{InsightsSection-DgfCOO4F-D4slzBMJ.js → InsightsSection-BdFG3j3R-DjHyJY78.js} +7 -7
  99. package/dist/assets/{IntegrationsSettingsPage-BRQFeOLt-PsXcQlIc.js → IntegrationsSettingsPage-CaiL3kqS-CiO2l-pg.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DPemNncS-DLnjaRZK.js → InternationalWireSwiftDetailsPage-BrQVSzeS-B8g9fXts.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-BOxXfIY5-B_1WnyJ0.js → InternationalWireVerificationPage-NaLnhW9C-Be5m5GNN.js} +10 -10
  102. package/dist/assets/{InviteFormPage-BbbPCdh--NZBdztJE.js → InviteFormPage-fjqv2l7h-CLLSBMJ2.js} +1 -1
  103. package/dist/assets/{InvitePageListView-DqfrAulo-DhRBOiF7.js → InvitePageListView-CQecQhxr-DHxSXSin.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-CgTpZp4M-BUUsiiJF.js → InvitePeoplePage-DAEBuOnk-CNuAu3aA.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-DZOzTShz-CcOswv0c.js → InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js} +8 -8
  106. package/dist/assets/{IssueChargeCardPage-x6dLcd-P-w04y_5jk.js → IssueChargeCardPage-Bkxqsgax-B2E0w7s1.js} +8 -8
  107. package/dist/assets/{LabeledAddressValue-CY4Fn72d-eGI6rz6c.js → LabeledAddressValue-CZfFV97h-D0qxrk9o.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D47ofJFV-vxJBVafU.js → LabeledAddressValueField-D66XOhMx-BL2wLyLH.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-C_c8Rs-i-BHT9Wulx.js → LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js → LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js → LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Dn25Ru1C-B_WMp98N.js → LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-C2sZjA-q-Ct_5ILId.js → LabeledDropDownFormattedTextField-CJ7ncCzH-B0WjHFnN.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-DzAdekQn-C8rbJEKG.js → LabeledEmailInputField-CSfzMDYO-CWt52Wcv.js} +1 -1
  115. package/dist/assets/{LabeledNameField-Dxx0xwMv-q011DeE8.js → LabeledNameField-DZJXGYR9-BrTXKAba.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-EO8TA_z_-C5J3CIRA.js → LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js} +1 -1
  117. package/dist/assets/{LabeledText-Bo7B-LrF-XkdNglCy.js → LabeledText-A1h_ionS-CFl8s8G-.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DD11_Map-Cz77QBp-.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-Q6YssO3g.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-BJ99uBt1-DRxN007k.js → LabeledZeniRolesDropDownField-DmynBXbJ-B4T-A7Cu.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-BiDoUKQW-DfQfBCux.js → LinkJETransactionPage-D6-fL4a6-tCaqs9Yj.js} +13 -13
  121. package/dist/assets/{LockCardPage-B1QOSByp-DoXf8Ddb.js → LockCardPage-BDlnh_zf-cKP8zIxD.js} +10 -10
  122. package/dist/assets/{LowBalancePopup-Bl_PaIUx-Cz8COji5.js → LowBalancePopup-CBPl_udd-BorudEL4.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-C2vI5jVH.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-BcNOhJgL-mWcNcIhr.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-bsxOE2QI.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-26mPfcBZ.js → MagicLinkRoutes-CcsKjkce.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BZrsQ5lk.js → MagicLinkSignInScreen-Dw8ViAP-.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-CuL-7CWN-CPURwwOW.js → MagicLinkSuccessPage-Cl461HWp-01GdAVLj.js} +6 -6
  129. package/dist/assets/{MagicLinkTitleSection-RYhrN820-C7Vcy8B4.js → MagicLinkTitleSection-DoIMYrRv-wUyCV4b7.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-NdwWGQ88-ChhAh-Lq.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-CVmbFUtl.js → MobileAppDrawer-D7V2koAX.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-5MZl4h9B-zFBR8G0C.js → MoreMenuButton-CkkW1atP-CT7ietod.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CBw6kNsm-CLFKHbI6.js → MyBankConnectionsSettingsPage-BU6TBzI1-DURfzXrx.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-BC4YjZtP-DazHEsal.js → MyPendingActivationChargeCardListPage-DcunCDU6-CQIAZ-Ax.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DZ5M2BUN-CgmWIcfU.js → MyProfileSettingsPage-DF7ahyXE-BEXIytCm.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-C6FiaLu5-CpPmiX85.js → NavBarWithPicker-D2v1fhLS-CGpIi67k.js} +1 -1
  137. package/dist/assets/{NavigationArrow-BnAgR0wH-BHMKW5N7.js → NavigationArrow-CWUL-6kN-CRVEGy5S.js} +1 -1
  138. package/dist/assets/{NavigationDots-WUDG_g8M-DDdWfUW3.js → NavigationDots-c-XSrFzE-Bl0Sm_Ng.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-gAsCusVw-Dq-IWGpb.js → NewGlobalMerchantPage-FGEO68I8-BKtwnvr_.js} +1 -1
  140. package/dist/assets/{NoDataChart-BBYUjdKn-CRdzJbNp.js → NoDataChart-DJhSgtLu-BO4-72hz.js} +1 -1
  141. package/dist/assets/{NoDataTable-D3750d25-DG2oQDdM.js → NoDataTable-BZiwo2qK-CJLZnBQL.js} +1 -1
  142. package/dist/assets/{NotFoundPage-C4D8Rn9E-CwNmDrN1.js → NotFoundPage-BN5unYX8-B80hQ8eO.js} +3 -3
  143. package/dist/assets/{NotFoundScreen-B8XFlejE.js → NotFoundScreen-BBbILNsa.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-N8MRrxNI.js → NotificationRoutes-BH_Amwk1.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-CD-t91ia-m4MxTTW4.js → NotificationSettingsPage-d8kHDj0M-2vIf0BRe.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-C7JSE-eQ-KxVFUV3z.js → NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Be1v8niA-VHkbcX-a.js → NotificationsPage-Uvu6XESA-D1y42vLB.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-D1f1lQbs-DLXANeGq.js → OpExByVendorPage-QyqRkD2_-h8x1NnCW.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-B0J4P0vh.js → OverlayContainerPage-BG9y5C0t-B8rQHhtN.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-DIYb7BWp-eRZ2xhPy.js → PandLWithForecastPage-DJ2v5qbE-BgEHjFpy.js} +2 -2
  151. package/dist/assets/{PandLWithForecastRoutes-DV3lwMtf.js → PandLWithForecastRoutes-CCN_Dopf.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-tGkjxbjY-DHB-KR0X.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-IYhUlGT-.js} +6 -6
  153. package/dist/assets/{PeoplePage-xwAOX4Jk-cobVcrYv.js → PeoplePage-C5ZdpVyR-DA1lsmrN.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-0VPcCQMG.js → PeopleRoutes-BLNrKR-x.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-DWL6I_M2.js → PerformanceRoutes-BBydKp8A.js} +1 -1
  156. package/dist/assets/{Preview-k4ohm46R.js → Preview-C2UYzTeJ.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-OHbYasaa-DyO10mDE.js → ProductsCarousel-CXjLTOLy-2QbHSm9u.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-B_0dccCZ-Cll52Aug.js → PromoBaseCards-CN9uZfG4-CB2JkJIv.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-5ItNvdCA-B93tYXoX.js → QBOConnectionDialog-CXSi1Pd9-CSvewQW2.js} +2 -2
  160. package/dist/assets/{QBOConnectionScreen-CIFlgaXj.js → QBOConnectionScreen-tSJfFhQn.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-CHZgQppe-Boi15f5H.js → QBOSetupSection-BrtLMvEP-D5Os1BGx.js} +3 -3
  162. package/dist/assets/{ReferralListScreen-OXcIgRf5.js → ReferralListScreen-CJqU7RxZ.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-CoU_u8MQ.js → ReimbursementApprovalRoutes-BHsHN-u_.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CqZT111l-BQrCKR9A.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-_lY11RDq.js} +6 -6
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CPkYjm-o.js → ReimbursementApprovalRuleDetailScreen-Bs2ple33.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BzTe2nqd-CnRJV-7t.js → ReimbursementApprovalRulesPage-aLRkhkZB-CV07eSYp.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-DM650uCR-CfT7lIQy.js → ReimbursementDetailPage-Dr5BTvEq-DM2tEzQB.js} +7 -7
  168. package/dist/assets/{ReimbursementPromoPage-CitTg9s4-C0IJS9C3.js → ReimbursementPromoPage-C5Z0mVhQ-Dq3UPRZ3.js} +10 -10
  169. package/dist/assets/{ReimbursementRoutes-CexK6hr3.js → ReimbursementRoutes-iv71wb2Z.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-qphyaCoX-DoGJ3Yjs.js → ReimbursementSetUpPage-CXhOBErm-BnZZWQ1W.js} +5 -5
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CCJvQKip-DJZoHiHh.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-Bq7X2QJa.js} +1 -1
  172. package/dist/assets/{ReloadCard-DMNbI6QE-C_0_5wQl.js → ReloadCard-Bjp8ygC2-DsEbxw3o.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-CUG4hVI9-BizHpKUG.js → ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js} +5 -5
  174. package/dist/assets/{ReportsPage-nuM-ub1p-B6rPi-ib.js → ReportsPage-DrjOGopt-xwTAFZ82.js} +4 -4
  175. package/dist/assets/{ReportsRoutes-Cp6mze8I.js → ReportsRoutes-BhpH3vEG.js} +1 -1
  176. package/dist/assets/{RevenueChart-BL5Wb2UT-33eDsujQ.js → RevenueChart-CqGvXDr4-BDXPrwnC.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-CUolLJ6s-D-zhUoA6.js → ReviewDetailsPage-CWBP7FBN-XuXg3BcA.js} +17 -17
  178. package/dist/assets/{ReviewOverlay-A1OYNSqG-9s_1ZdtP.js → ReviewOverlay-Cxkp85Kw-BxuvLEpC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BSovi6wQ.js → RewardsRoutes-CGI6v1LD.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-VOllzDDB-BYsZPBtm.js → RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-By3U1RYU-DKJcrnu_.js → ScheduleDetailsFixedAssetsPage-CYvlB3Nf-DLsNuhIe.js} +3 -3
  182. package/dist/assets/{ScheduleDetailsPage-ButJHPUw-QIDoDzfq.js → ScheduleDetailsPage-CZXJ15tN-DK-Vvm5e.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-Dv831gVJ-DAMs3BZ5.js → ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js} +14 -14
  184. package/dist/assets/{ScreenRoutes-Dbhh2QOI.js → ScreenRoutes-B0gKACTz.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BcNG0nDh-wr_b4Gnf.js → SetUpAccountSection-_WPR-q2V-BVzNpUbf.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-DsoaaeGm.js → SettingsRoutes-BrokioTP.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-C8L8QqMz.js → SetupPagesScreen-BiJM7znn.js} +1 -1
  188. package/dist/assets/{SignIn-D80UITQm-DIIeYnW9.js → SignIn-CDEsZw_T-BhKsIiWi.js} +7 -7
  189. package/dist/assets/{SignInScreen-CWsG4Mxf.js → SignInScreen-CRHQkOWq.js} +1 -1
  190. package/dist/assets/{SignOutScreen-Cs9C3-Pe.js → SignOutScreen-CSmP5G0L.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DSG6Son_-kr01Gbhc.js → SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-DiSu0RS1-DHuUoD95.js → SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-BXU3RGG8-BYhx4BvA.js → SpendManagementSection-DZFPfKNi-DT0rYb2P.js} +14 -14
  194. package/dist/assets/StatementItem-DjvU5wiI-DmQsj9gw.js +31 -0
  195. package/dist/assets/{StatementsPage-Ck1xzA0w-ClPKQbtk.js → StatementsPage-DYLp_e7W-CYuAqH_I.js} +1 -1
  196. package/dist/assets/{StatusSwitcher-_Cs3CzJl-Dgp2ChlN.js → StatusSwitcher-jxaonB4S-Cxq2Q9_V.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D3ltE_yc-CnL7Gxp8.js → SubTabSwitcher-CudjNlsi-D6kvvomf.js} +1 -1
  198. package/dist/assets/SuccessAnimation-DE_x1Zz_-AQ5Y5JIA.js +13 -0
  199. package/dist/assets/SummaryCard-DPOhBmkr-Cv-w5fsm.js +1 -0
  200. package/dist/assets/{TaskDetailPage-CJKga1vr-C9aggkuO.js → TaskDetailPage-CXexRKAY-BOPspi-s.js} +1 -1
  201. package/dist/assets/{TaskListScreen--R6ZRUkx.js → TaskListScreen-B0RVzFet.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BMwMSG1j-H5G6dYbH.js → TaskManagementPage-CTMoHv0R-BGb6WsaA.js} +28 -28
  203. package/dist/assets/{TaskRoutes-DYzJiY4s.js → TaskRoutes-vmd5uItQ.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-B1Wx03tG-BWIrI-Q6.js → TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-Dmtsdwi9-Cw7Bi58F.js → TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-P5CfgTUd-Dktx47QV.js → TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js} +2 -2
  207. package/dist/assets/{TopExCard-DQkr9Xhh-BRnZbxyD.js → TopExCard-CG8YLsYe-B5wqJJSw.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-5Di6WUfV-BUXw1BOA.js → TopExDetailPage-TvYCbzSP-CTOCVsET.js} +5 -5
  209. package/dist/assets/{TransactionActivityLogPage-R9LoW4DL-D_EoHZ59.js → TransactionActivityLogPage-BL3vEAdU-Bk3OacNa.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-B-blHtkn-DCMnh0nU.js → TransactionDetailPage-DUouBL0o-DkOa5f2H.js} +32 -32
  211. package/dist/assets/{TransactionDetailRoutes-Ct3Dbt4h.js → TransactionDetailRoutes-D5_-HF2Q.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-BI8wXwWu.js → TransactionDetailScreen-DHwJH1ZP.js} +1 -1
  213. package/dist/assets/{TransactionList-FQvTXSzy-B5IF52jl.js → TransactionList-B16NONME-xM0VK0uD.js} +9 -9
  214. package/dist/assets/{TransactionListBig-CNDw7zRw-TaxjiJ28.js → TransactionListBig-CItPbTRV-BpUwrWyu.js} +1 -1
  215. package/dist/assets/TransactionListPage-DNecYY8M-ptahFcY0.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-B3byuAak.js → TransactionListRoutes-DIJ_fkWS.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-Ch2UUF1f-BrGjAHyI.js → TransactionVendorDetailPage-DpqisXN8-wU2wHv2K.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C1Ly_xKj-fiBb4oDE.js → TransferDrawerPage-Dsmbswu0-DFQDwnPy.js} +21 -21
  219. package/dist/assets/{TreasuryOverviewPage-Zt5w8zfp-Ch3HnWvf.js → TreasuryOverviewPage-BcRpcYmB-DwdLr4Xt.js} +21 -21
  220. package/dist/assets/{TreasuryPromoPage-BsP73kf7-CL2gh8Up.js → TreasuryPromoPage-DOO_OMRa-uzWYBUzW.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-CiZ9sTKP.js → TreasuryRoutes-BfRwxvKx.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-A_U7bEy5-C1uv8XvN.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-tHkQvX2V-DC4DIUK0.js → TreasuryTaxLetterPage-BsJn-BgX-Dcdm_qTO.js} +3 -3
  224. package/dist/assets/TrendChart-GMMat-NG-BewK0MCc.js +16 -0
  225. package/dist/assets/{TrendWithTransactions-DP1jZL1i-DLC5jL9Q.js → TrendWithTransactions-CrA4opNV-B_vQq65J.js} +7 -7
  226. package/dist/assets/{UncategorizedAccountsMappingPage-4mHyt2P6-CaPpF27u.js → UncategorizedAccountsMappingPage-CrzbFGOi-BDtcuYej.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-BymmWe1G-c3FxOZsw.js → UnitIntegrationPage-XZY6zJa7-D8B46vcm.js} +3 -3
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DUO2ZoU--C5vn0EeB.js → UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-8kpMx5RI-B6wz9ehO.js → Vendor2FAPopup-BHDivuPB-D7ySxcXF.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-BgbOpk55.js +1 -0
  231. package/dist/assets/{VendorDetailPage-C-JJfR0u-xsJdXYgh.js → VendorDetailPage-DEu-yS8w-BhFmuJot.js} +7 -7
  232. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-DCXCuX-V.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-B4vFgSwb-BhTGj51T.js → VendorFiling1099EditablePage-C461SzO0-CCIZoPU6.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-CUwdrbjH-C8NXBWTw.js → VendorFirstReviewPage-klbCHS04-UP-04u7X.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-BzP1zqhw-BApkoCPp.js → VendorInternationalWireDetailsPage-DY0V-VbO-Dl3hBhoD.js} +1 -1
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-h6qnY29-.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Drue-Lvz-BCNmsP23.js → VendorsAccountsSection-Cqcr-ArD-CzW5lMfP.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CKhkv2e_.js → VendorsRoutes-DLnvF6hR.js} +1 -1
  239. package/dist/assets/{VerifyDevice-B_NNzkjT-DssvqA1v.js → VerifyDevice-Dhu5iywf-cUES-VE2.js} +9 -9
  240. package/dist/assets/{VideoPlayer-Bc4tAd79-1S5ggZVm.js → VideoPlayer-ZGjx_Hp7-CjY3r1rL.js} +1 -1
  241. package/dist/assets/VideoPopup-R3u0N_if-CaG3EJQq.js +31 -0
  242. package/dist/assets/{WiseConfirmationScreen-DJuJvNzv.js → WiseConfirmationScreen-CT86mZ0i.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BW6G2voE-DG228Rrt.js → ZeniAccountDetailPage-DQB7sXU9-CZEM5xVV.js} +12 -12
  244. package/dist/assets/{ZeniAccountListViewPage-gNszI2XV-vz3h67sw.js → ZeniAccountListViewPage-BwXKgf6g-FfpOzmd6.js} +1 -1
  245. package/dist/assets/{ZeniAccountNavBarPieces-BP1IxZ18-D8VlWC64.js → ZeniAccountNavBarPieces-CHUTFAWG-v671evv-.js} +4 -4
  246. package/dist/assets/{ZeniAccountPromoPage-LsZxIdX9-BS_EkGM_.js → ZeniAccountPromoPage-BkfJuMNV-CmI6f_1i.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-1i5H0-IW.js → ZeniAccountRoutes-bnzTspvl.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-BExQA9Cz-xecz4xSG.js → ZeniAccountSetupPage-C3drM4Zs-CvpINFn4.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-YmdFA__8.js → ZeniAccountStatementScreen-B5KsFobU.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-5wP6sb3W-CwxwTkTA.js → ZeniAvatar-C38T0-5--BM3XjRcp.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CMjFbDBQ-Ck2DhCCZ.js → ZeniCopyright-CznSgVJF-BhclYMa4.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-C_YQpGe--B6o5NtIP.js → ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-CIu35Xz9-CbkYbuv-.js → ZeniTransferAmountSlider-C77DEl-C-CYKYiLaT.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-Ctd7yuH3.js → accountMappingHelper-B1SwIfFo.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-q_ZatOIu.js → add-to-wallet-DgdBD8_G-2vbkyqzY.js} +1 -1
  256. package/dist/assets/{analytics-Ci5SIN4_.js → analytics-Qgv3Fhaa.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CG-L3dO7-BuQ3dQan.js → analyticsHelper-Bh8o1v3y-erbhoWbk.js} +1 -1
  258. package/dist/assets/{analyticsHelper-BkUpwFP4.js → analyticsHelper-CsyUSML_.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-BXAmISmi.js → arrow-south-east-round-PEovUgvH-CHgaZ-yo.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-Qtr813uy.js → auto-transfer-rule-mbafm5D3-BdBsn5Ol.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-lVrrjTFE.js → avatar-Dz7aEm3d-CxU8IzEu.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-a5lcVCZG.js → bank-letter-BOcVjN6J-DhC6VHDB.js} +1 -1
  263. package/dist/assets/{calculateSize-CAxK0dN_-CtindZTL.js → calculateSize-QoQyn_Ku-j5kLdf_t.js} +1 -1
  264. package/dist/assets/{chartTypes-_AEkJ5Cg-BoLLmK-7.js → chartTypes-C14YY2Rq-mIXPNQxz.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CBVPxBka.js → clock-CJkylEKt-BBrb7jeK.js} +1 -1
  266. package/dist/assets/common-Cu5K0AJk-BihNw_Do.js +1 -0
  267. package/dist/assets/{commonDimensions-_Dpm4Anv-JKxakvSV.js → commonDimensions-CVpc-NCw-xOjrok2-.js} +1 -1
  268. package/dist/assets/{commonTypes-C64XobC6-zWzHHgag.js → commonTypes-Ec-PxfpT-DZ1xbinn.js} +1 -1
  269. package/dist/assets/{core-oEkj6b51.js → core-CaikJZHD.js} +1 -1
  270. package/dist/assets/{dash.all.min-DZu0W7MW.js → dash.all.min-CteFsaah.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-AFO0vA4L.js → decodeURIComponentSafe-DcEFJStp.js} +1 -1
  272. package/dist/assets/{dnd-DwLm2ZWc.js → dnd-CzsffKNn.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BxzwYsJa.js → dollar-round-D18u7nlm-BF4Thvjs.js} +1 -1
  274. package/dist/assets/{downloadPdf-BAZhe2iR-XXbzTfDj.js → downloadPdf-BuPJ6cfr-Cy2ZBk4z.js} +1 -1
  275. package/dist/assets/{empty-fwRWXj2G.js → empty-B5B-FKq1.js} +1 -1
  276. package/dist/assets/{empty-CpgB6ACX.js → empty-CTO6rJhq.js} +1 -1
  277. package/dist/assets/{epic-qeTSmk29.js → epic-DtTDCbBB.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-Cn5LR_-W.js → filter-cZIFUNvj-CWbeOwgA.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-gFC-Rnfp.js → getLocaleForTenant-DLrlmQCo.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CByaMYJG.js → gift-box-Cmt9OgIZ-BfzCBGHZ.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-bzI3_a8w.js → graphic-no-data-l-DU4J8fDt-DEuKmvBU.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js → graphic-no-data-net-burn-l-CzmycA0m-CIA_wKU3.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-BxWewJRH.js → handshake-BPg58FML-Z_I5plJl.js} +1 -1
  284. package/dist/assets/{helper-D3UIpXq7-k6HHkxTA.js → helper-AgH8nJln-DNDXfXpF.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-Dt5l5kWs.js → hyperlink-DQyCeXx2-Bwqrw7ES.js} +1 -1
  286. package/dist/assets/{index-Cpbn6-TN.js → index-B7wRNic7.js} +1 -1
  287. package/dist/assets/{index-DRNExedw.js → index-B9eknY8q.js} +1 -1
  288. package/dist/assets/{index-B5c5iTId.js → index-B9myuWEH.js} +1 -1
  289. package/dist/assets/{index-BE_133so.js → index-BL34svil.js} +1 -1
  290. package/dist/assets/{index-CjBlNHKF.js → index-CLf01Vy8.js} +1 -1
  291. package/dist/assets/{index-ByqexAVU.js → index-mhb15COx.js} +2726 -2726
  292. package/dist/assets/{lexical-BLFyyXBr.js → lexical-CXNTSpM4.js} +1 -1
  293. package/dist/assets/{liveblocks-Ia5FU_Xu.js → liveblocks--AdozwCz.js} +1 -1
  294. package/dist/assets/{lottie-DEK510sX.js → lottie-D86WIi_0.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-C_DjhqLk-Cbs7Of5h.js → mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B5H-460G.js → mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-C6nWwAzP.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode--FHVcIix-DC7cXapm.js → mapTimeframeBalancesToTreeNode-Drhl_lnP-BDA52mbW.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-CPa7R1do.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js} +1 -1
  301. package/dist/assets/{media-player-uto_Jl5G.js → media-player-OnsEq_AY.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-BmcWx6In.js → money-2cg1MuG4-CfgKOIyt.js} +1 -1
  303. package/dist/assets/{mui-Cni6P-fz.js → mui-G2MlMTlr.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-B9qcUnuN.js → page-detail-CWX5S47F-CWJ8fnGp.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-ZSqDN0WI.js → page-summary-D7_VQHwN-CaK_VLEF.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-BCo5ICo2.js → panelSelectedMixin-Cddsb26L-XfdQwEMM.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BpMzEQ5A.js → pathToGoBack-Dh6AhADv.js} +1 -1
  308. package/dist/assets/{pdf-CTJ16aEe.js → pdf-DwfifS04.js} +3 -3
  309. package/dist/assets/{pdf-lib-BZoHbIry.js → pdf-lib-CuGtb6jg.js} +1 -1
  310. package/dist/assets/{plaid-B2vW8NaN.js → plaid-CcxzSXZd.js} +1 -1
  311. package/dist/assets/{pusher-DFtcQaPW.js → pusher-BNSVRSP_.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh--JwnmKdf.js → radio-default-CiSgisfh-CF7OSKL1.js} +1 -1
  313. package/dist/assets/{react-C70tWLg5.js → react-BEcxr4nX.js} +1 -1
  314. package/dist/assets/{react-cn6O__9s.js → react-BUDcsgZo.js} +1 -1
  315. package/dist/assets/{react-DZ1_qQub.js → react-C0Whd_8a.js} +1 -1
  316. package/dist/assets/{react-B0u9lmTz.js → react-Chqt_ss-.js} +1 -1
  317. package/dist/assets/{react-DKkpOD3_.js → react-Cobj-_wp.js} +3 -3
  318. package/dist/assets/{react-Cohr3oKl.js → react-DOvM9ag3.js} +1 -1
  319. package/dist/assets/{react-BxE_BeY2.js → react-V3TERlfD.js} +1 -1
  320. package/dist/assets/{react-jjkPSe6Z.js → react-WpjiT9jD.js} +1 -1
  321. package/dist/assets/{recharts-LlOU9oLm.js → recharts-3tylCZU1.js} +1 -1
  322. package/dist/assets/{routePaths-BnaAtOOM.js → routePaths-CDVBEe6a.js} +1 -1
  323. package/dist/assets/{sentry-CY6wsJT-.js → sentry-Cm8I7E9J.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-CGZqPLdL.js → shield-DOlUxcFf-tt-dORuJ.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-DAZsY_K2.js → spend-limit-D6SyboD4-d-tIWfnn.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-wh35N3no-2SjovFHm.js +1 -0
  327. package/dist/assets/{toChartData-BODe4y2V-C6JFTy1O.js → toChartData-G5y-N82I-HPFXqzd4.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-B7lzeBRq.js → transaction-placeholder-CpOwZAMG-CXIruzlf.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-okXLDguZ.js → undo-b_3XZ5CX-5VNbpbUY.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-BcwMx3a4.js → unlock-BPWn2I5L-8UNw8MhM.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js → upload-reimbursement-receipt-O2N8vcO7-BhCuFTsT.js} +1 -1
  332. package/dist/assets/{uploadAttachment-Dbumcc_g-Dxdg1PHe.js → uploadAttachment-RbkIBMGO-BHEoxgsX.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-BX0LuAuH.js → uploadReceipts-CIgkuVpu-BPECKX43.js} +1 -1
  334. package/dist/assets/{url-Cv3aJ--T.js → url-BMzuxPwA.js} +1 -1
  335. package/dist/assets/{url-B5kkbwRv.js → url-CvhemPUG.js} +1 -1
  336. package/dist/assets/{useDeviceId-BWAR3Wtl.js → useDeviceId-BzlY8kf5.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-D1CqutXV.js → useInitialThreadRequest-Dldme96o.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BX_5sahW.js → useLongPress-GCK2COYQ-BgmUYGJ7.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-CuU9mWQv.js → usp-line-BBd1wKwW-BqojtCEK.js} +1 -1
  340. package/dist/assets/{utils-ChLimP28.js → utils-BhOlvYO8.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BzduT6UI.js → withTransactionSidePanel-DBF40Qih.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-cFF_NqwA.js → zeni-epic-state-lC5X-sam.js} +7 -7
  343. package/dist/assets/{zeni-icon-only-jOM3nMPU.js → zeni-icon-only-DZ6h0uLr.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +3 -3
  346. package/dist/assets/AccountInfoPage-CiPtog_o-DPWdb5xr.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-Bj0kaRHv-B0-iD3mG.js +0 -149
  348. package/dist/assets/ChargeCardPromoPage-C-z0xtuN-Cj9Xh0NF.js +0 -222
  349. package/dist/assets/ConfettiBurst-C0DFgWJj-BGxc90V2.js +0 -1
  350. package/dist/assets/CustomerOnboardingAuthScreen-voIng-Gb.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CbCO9XOL.js +0 -1
  352. package/dist/assets/CustomerOnboardingNoStepsPage-C--jDBQq-D1RWdf29.js +0 -66
  353. package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BKVS4wpr.js +0 -12
  354. package/dist/assets/EntityDetailPage-CgDHg6g5-DEy7q7j7.js +0 -18
  355. package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-BRaxCag1.js +0 -1
  356. package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-C4Uhpu4B.js +0 -1
  357. package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-BhCxcHkI.js +0 -1
  358. package/dist/assets/MailingDetailsSection-D9_I-DTk-CH2kzcO6.js +0 -21
  359. package/dist/assets/StatementItem-B1M65xN--GeNfVEEV.js +0 -31
  360. package/dist/assets/SuccessAnimation-RuQd1S4B-Bm3TMOLx.js +0 -13
  361. package/dist/assets/SummaryCard-buadhnmc-D_ubT5UT.js +0 -1
  362. package/dist/assets/TransactionListPage-BkZLtwmQ-DMj8aMnI.js +0 -35
  363. package/dist/assets/TreasuryStatementsPage-DhXESeOi-D1GmDTaA.js +0 -58
  364. package/dist/assets/TrendChart-B7Pox_TQ-CaG-s4IC.js +0 -16
  365. package/dist/assets/VendorACHDetailsPage-BODHiiUQ-CbkmGhf7.js +0 -1
  366. package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-Bq6iA8BG.js +0 -1
  367. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CIw7ERg3.js +0 -1
  368. package/dist/assets/VideoPopup-BYo5bzpU-DUVlPGQp.js +0 -31
  369. package/dist/assets/common-B74Sb4iG-wPHt407r.js +0 -1
  370. package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-Dqbo2uhz.js +0 -1
  371. package/dist/assets/mapTimeframeBalancesToTreeNode-BP0iF3Of-DbCZ7i8N.js +0 -1
  372. package/dist/assets/toCOABalancesWithID-CuxwOBs0-BNfZJE4p.js +0 -1
@@ -1,10 +1,10 @@
1
- import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl,s as Ye,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 Y,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,v as Gl,fF as Hl,C as Ke,H as Zl,fG as Jl,b4 as Pe,ap as Yl,M as $l,cq as Ql,$ as Xl,b2 as Kl}from"./index-ByqexAVU.js";import{a as h}from"./sentry-CY6wsJT-.js";import{d as ei,n as r}from"./mui-Cni6P-fz.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-cFF_NqwA.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-D3UIpXq7-k6HHkxTA.js";import{C as Ze}from"./LabeledAddressValueField-D47ofJFV-vxJBVafU.js";import{b as hi}from"./LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js";import{D as tl}from"./LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js";import{Y as al}from"./LabeledDocumentField-Dn25Ru1C-B_WMp98N.js";import{Z as Fl}from"./LabeledNameField-Dxx0xwMv-q011DeE8.js";import{p as fi,i as yi,t as bi}from"./commonTypes-C64XobC6-zWzHHgag.js";import{r as Cl}from"./avatar-Dz7aEm3d-lVrrjTFE.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]="ec3dafba-5b67-4aff-9897-f527c1b33b42",l._sentryDebugIdIdentifier="sentry-dbid-ec3dafba-5b67-4aff-9897-f527c1b33b42")}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=Je();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 Vl,V as e,bn 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 Pl,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 Zl,fG as Yl,b4 as Ne,ap as Jl,M as $l,cq as Ql,$ as Xl,b2 as Kl}from"./index-mhb15COx.js";import{a as h}from"./sentry-Cm8I7E9J.js";import{d as ei,n as r}from"./mui-G2MlMTlr.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-lC5X-sam.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-AgH8nJln-DNDXfXpF.js";import{C as Ze}from"./LabeledAddressValueField-D66XOhMx-BL2wLyLH.js";import{b as hi}from"./LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js";import{D as tl}from"./LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js";import{Y as al}from"./LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js";import{Z as Fl}from"./LabeledNameField-DZJXGYR9-BrTXKAba.js";import{p as fi,i as yi,t as bi}from"./commonTypes-Ec-PxfpT-DZ1xbinn.js";import{r as Cl}from"./avatar-Dz7aEm3d-CxU8IzEu.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]="f87fa3cb-1c9d-482c-8400-7d932667ea4f",l._sentryDebugIdIdentifier="sentry-dbid-f87fa3cb-1c9d-482c-8400-7d932667ea4f")}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)};
5
5
  background-color: ${l=>l.theme.colors.background};
6
6
  padding: ${l=>l.windowSize==="small"?o.sp3:`${o.sp3} ${o.sp4}`};
7
- `,wi=r(Yl)`
7
+ `,wi=r(Jl)`
8
8
  width: ${l=>Oe.iconSize.valuePx(l.windowSize)};
9
9
  height: ${l=>Oe.iconSize.valuePx(l.windowSize)};
10
10
  display: block;
@@ -26,7 +26,7 @@ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn 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(Jl)`
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,7 +36,7 @@ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn 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=Je(),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,Z=f?.companyLegalName,$=f?.website,J=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: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: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(Y,{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(Y,{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(Y,{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:J,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(Y,{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(Y,{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(Y,{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(Y,{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:Q,optionalFields:c=[],onCompanyAddressClick:pe,onRegisteredAddressClick:D},X)=>{const b=Ye(),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,Z=f?.companyLegalName,$=f?.website,Y=f?.typeOfIncorporation,W=f?.stateOfIncorporation,N=f?.countriesOfOperations,Ve=f?.incDate,Te=f?.companyIndustry,fe=f?.companyIndustryType,ze=f?.companySubIndustry,ye=f?.companySourceOfFunds,$e=f?.transactionVolume,s=f?.purposeOfAccount,Pe=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(N)&&N.length>0)&&!re,Me=z(W),d=z(ye),C=z($e),ne=z(s),we=z(Pe),O=z(Ae),kl=t.sourceOfFundOptions,Ue=K?.selectedOption??fe;return e.jsxs(Ni,{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(Pi,{}):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: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: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: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: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(N,(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}`,Ni=r.div`
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  row-gap: ${l=>U.containerRowGap.valuePx(l.windowSize)};
@@ -60,7 +60,7 @@ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
60
60
  align-items: center;
61
61
  `,zi=r.div`
62
62
  margin-right: ${o.sp2};
63
- `,Ni=r(Ol)`
63
+ `,Pi=r(Ol)`
64
64
  width: ${o.sp3};
65
65
  height: ${o.sp3};
66
66
  color: ${B.success};
@@ -173,7 +173,7 @@ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
173
173
  display: flex;
174
174
  align-items: center;
175
175
  justify-content: flex-end;
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(),[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(Yi,{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 Ji=r.div``,Yi=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(),[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(Ne.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};
@@ -204,12 +204,12 @@ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
204
204
  width: 12px;
205
205
  height: 12px;
206
206
  color: ${l=>l.theme.colors.primary};
207
- `,Pl=r.img`
207
+ `,Nl=r.img`
208
208
  height: ${o.sp4};
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(Ji,{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=Ye},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(Ne.Option,{...l,children:e.jsxs(Ki,{children:[e.jsxs(ao,{children:[e.jsx(ro,{children:u?.photo!==void 0?e.jsx(Nl,{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`
213
213
  width: 100%;
214
214
  display: flex;
215
215
  align-items: center;
@@ -222,7 +222,7 @@ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn 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=Ye},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(Ne.MultiValueLabel,{...j,children:e.jsxs(ho,{children:[u?.photo!==void 0?e.jsx(Nl,{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(Ne.ValueContainer,{...u,children:[u.selectProps.value==null?e.jsx(Qi,{children:e.jsx(Xi,{})}):null,l]}),po=r(Ke)`
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 Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn 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=Je(),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(()=>{V!=null&&l[Z]?.phone!=null&&l[Z].isPhoneVerified===!0&&V(l[Z]?.phone??"")},[]);const $=`${te}.${le}`,J=l[Z],W=c?J?.treasuryUserVerificationStatus:J?.userVerificationStatus,P=j.find(d=>d.userId===J?.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===J?.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=J?.userId!=null?s.confirmIdentityDetails:s.confirmIdentityDetailsNewOfficer,Re=d=>X.find(C=>C.code===d)?.name??d,z=J?.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=Ye},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(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:()=>{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(Y,{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: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=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(()=>{V!=null&&l[Z]?.phone!=null&&l[Z].isPhoneVerified===!0&&V(l[Z]?.phone??"")},[]);const $=`${te}.${le}`,Y=l[Z],W=c?Y?.treasuryUserVerificationStatus:Y?.userVerificationStatus,N=j.find(d=>d.userId===Y?.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===Y?.userId):0,fe=l[Z]?.deleteFileStatusById??{},ze=l[Z]?.updateFileStatusById??{},ye=ee(`${$}.selectDocument.selectDocumentType`),{common:{optional:$e},commonSetUp:{businessVerification:s},dateFormat:{visual:Pe},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=N?.firstName||N?.lastName?`${N?.firstName} ${N?.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=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:[N?.photo!==void 0?e.jsx(vo,{src:N?.photo.href,alt:Ae.userProfileAltText,onError:({currentTarget:d})=>{d.onerror=null,d.src=Je},loading:"lazy"}):e.jsx(Qe,{firstName:N?.firstName??"",lastName:N?.lastName??"",size:`${o.sp4}`,index:Te}),e.jsx(yl,{children:`${qe}`})]}):e.jsxs(Do,{children:[e.jsx(Eo,{children:e.jsx(No,{})}),e.jsx(yl,{children:`${s.addOfficer}`})]}):e.jsx($o,{children:e.jsx(Zi,{selectedUser:N,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:P($,"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:P($,"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:P($,"dob"),type:"text",defaultValue:d?.birthday,placeholder:Se(s.dobLabel),dateFormat:Pe.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:P($,"nationalityCountryCode"),placeholder:s.nationalityPlaceholder,defaultValue:Pl(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:P($,"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:P($,"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:P($,"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:P($,"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:P($,"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:P($,"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 P=(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)};
@@ -324,7 +324,7 @@ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl
324
324
  `,Eo=r.div`
325
325
  display: flex;
326
326
  align-items: center;
327
- `,Po=r(Cl)`
327
+ `,No=r(Cl)`
328
328
  width: ${o.sp4};
329
329
  height: ${o.sp4};
330
330
  color: ${l=>l.theme.colors.hero};
@@ -1,19 +1,19 @@
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-ByqexAVU.js";import{n as o}from"./mui-Cni6P-fz.js";import{c as j}from"./SummaryCard-buadhnmc-D_ubT5UT.js";import{a as t}from"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./ReloadCard-DMNbI6QE-C_0_5wQl.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]="a58b7242-08c2-4129-8539-75ba74bf5626",e._sentryDebugIdIdentifier="sentry-dbid-a58b7242-08c2-4129-8539-75ba74bf5626")}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-mhb15COx.js";import{n as o}from"./mui-G2MlMTlr.js";import{c as j}from"./SummaryCard-DPOhBmkr-Cv-w5fsm.js";import{a as t}from"./sentry-Cm8I7E9J.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./ReloadCard-Bjp8ygC2-DsEbxw3o.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]="1ff6aa39-06bd-4d04-8092-00592ae3a969",e._sentryDebugIdIdentifier="sentry-dbid-1ff6aa39-06bd-4d04-8092-00592ae3a969")}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
- `,b=o.div`
4
+ `,D=o.div`
5
5
  display: flex;
6
6
  flex: 0 1 auto;
7
7
  flex-direction: row;
8
8
  align-items: center;
9
9
  margin-bottom: ${l.sp3};
10
- `,D=o(g)`
10
+ `,v=o(g)`
11
11
  color: ${e=>e.theme.colors.champion};
12
- `,v=o.div`
12
+ `,L=o.div`
13
13
  display: flex;
14
14
  width: 100%;
15
15
  flex-direction: column;
16
- `,L=o.div`
16
+ `,b=o.div`
17
17
  color: ${e=>e.theme.colors.primary};
18
18
  `,W=o.div`
19
19
  display: flex;
@@ -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(b,{children:r.jsx(D,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,c)=>{const{title:m,key:n,Icon:h}=i;return r.jsxs(v,{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(L,{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-ByqexAVU.js";import{a as Y,b as ea}from"./sentry-CY6wsJT-.js";import{n,d as ta,k as aa}from"./mui-Cni6P-fz.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-cFF_NqwA.js";import{D as yt}from"./LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js";import{Y as gt}from"./LabeledDocumentField-Dn25Ru1C-B_WMp98N.js";import{e as sa}from"./LabeledSingleSelectField-EO8TA_z_-C5J3CIRA.js";import{p as ra,i as da,t as ca}from"./commonTypes-C64XobC6-zWzHHgag.js";import{b as pa}from"./LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js";import{x as ma,f as ua,p as ha,h as fa,m as xt,b as ya,g as ga}from"./helper-D3UIpXq7-k6HHkxTA.js";import{$ as bt}from"./LabeledAddressValue-CY4Fn72d-eGI6rz6c.js";import{Z as wt}from"./LabeledNameField-Dxx0xwMv-q011DeE8.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="3c3f97fc-1dbc-4947-8484-f8f0917ec700",e._sentryDebugIdIdentifier="sentry-dbid-3c3f97fc-1dbc-4947-8484-f8f0917ec700")}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 xa({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(ba,{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 ba=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-mhb15COx.js";import{a as Y,b as ea}from"./sentry-Cm8I7E9J.js";import{n,d as ta,k as aa}from"./mui-G2MlMTlr.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-lC5X-sam.js";import{D as yt}from"./LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js";import{Y as gt}from"./LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js";import{e as sa}from"./LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js";import{p as ra,i as da,t as ca}from"./commonTypes-Ec-PxfpT-DZ1xbinn.js";import{b as pa}from"./LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js";import{x as ma,f as ua,p as ha,h as fa,m as xt,b as ya,g as ga}from"./helper-AgH8nJln-DNDXfXpF.js";import{$ as bt}from"./LabeledAddressValue-CZfFV97h-D0qxrk9o.js";import{Z as wt}from"./LabeledNameField-DZJXGYR9-BrTXKAba.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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]="ac54dacf-bd90-447d-9e9f-9115855a4195",e._sentryDebugIdIdentifier="sentry-dbid-ac54dacf-bd90-447d-9e9f-9115855a4195")}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 xa({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(ba,{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 ba=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-CTJ16aEe.js";import{a as g}from"./sentry-CY6wsJT-.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-oEkj6b51.js";import{y as E,js as D,jQ as P,k_ as F,bj as V,jz as A,J as L,ki as C,k$ as U,kv as _,ev as B,jO as M}from"./index-ByqexAVU.js";import{ct as b,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 N,iX as q,i_ as W}from"./zeni-epic-state-cFF_NqwA.js";import"./mui-Cni6P-fz.js";import{c as ee}from"./routePaths-BnaAtOOM.js";import{M as te}from"./MobileAppDrawer-CVmbFUtl.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]="22f89154-3fed-48e3-8add-8c144958e088",n._sentryDebugIdIdentifier="sentry-dbid-22f89154-3fed-48e3-8add-8c144958e088")}catch{}})();const ne=j(function(n){const s=z(n),r=D.getSignedInUser(),p=b(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?N(c):void 0,meetingLink:m!=""&&m!=null?N(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=>b(i)),c=I.companyId??D.getSignedInUserTenant(p)?.companyId;if(D.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,C(r)?"Settings":"Company Passport")}),C(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:C(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
1
+ import{j as l}from"./pdf-DwfifS04.js";import{a as g}from"./sentry-Cm8I7E9J.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-CaikJZHD.js";import{y as E,js as D,jQ as P,k_ as F,bj as V,jz as A,J as L,ki as C,k$ as U,kv as _,ev as B,jO as M}from"./index-mhb15COx.js";import{ct as b,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 N,iX as q,i_ as W}from"./zeni-epic-state-lC5X-sam.js";import"./mui-G2MlMTlr.js";import{c as ee}from"./routePaths-CDVBEe6a.js";import{M as te}from"./MobileAppDrawer-D7V2koAX.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]="22f89154-3fed-48e3-8add-8c144958e088",n._sentryDebugIdIdentifier="sentry-dbid-22f89154-3fed-48e3-8add-8c144958e088")}catch{}})();const ne=j(function(n){const s=z(n),r=D.getSignedInUser(),p=b(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?N(c):void 0,meetingLink:m!=""&&m!=null?N(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=>b(i)),c=I.companyId??D.getSignedInUserTenant(p)?.companyId;if(D.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,C(r)?"Settings":"Company Passport")}),C(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:C(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 _,bw as W,gi as T}from"./index-ByqexAVU.js";import{a as B,b as c}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{bs as Z}from"./zeni-epic-state-cFF_NqwA.js";import{Z as z}from"./LabeledNameField-Dxx0xwMv-q011DeE8.js";import{$ as X}from"./LabeledAddressValue-CY4Fn72d-eGI6rz6c.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="4afc16af-02ea-4e00-b32a-8b334a6f03a8",A._sentryDebugIdIdentifier="sentry-dbid-4afc16af-02ea-4e00-b32a-8b334a6f03a8")}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:f,onResendOtp:y})=>{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:U,phone:b}=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:U,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,d)=>{f(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&y(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?b: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 _,bw as W,gi as T}from"./index-mhb15COx.js";import{a as B,b as c}from"./sentry-Cm8I7E9J.js";import{n as o}from"./mui-G2MlMTlr.js";import{bs as Z}from"./zeni-epic-state-lC5X-sam.js";import{Z as z}from"./LabeledNameField-DZJXGYR9-BrTXKAba.js";import{$ as X}from"./LabeledAddressValue-CZfFV97h-D0qxrk9o.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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]="0b71e8a6-ad3d-445b-bdf7-43a3d868bf07",A._sentryDebugIdIdentifier="sentry-dbid-0b71e8a6-ad3d-445b-bdf7-43a3d868bf07")}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,d]=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:b,otpVerificationStatus:s,otpChallenge:R,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:()=>{d(!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:()=>{d(!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:R,showOtpButton:!0,onGetOtp:h,onVerifyOtp:(C,a)=>{y(C,a)},onResendOtp:C=>{C!=null&&C.trim().length>0&&f(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:b,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 a=T(C);t.setValue(`${Q}.address`,a)}d(!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;
@@ -0,0 +1 @@
1
+ import{cx as a,z as f,V as d,ap as l,o as r}from"./index-mhb15COx.js";import{a as n}from"./sentry-Cm8I7E9J.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./mui-G2MlMTlr.js";import"./recharts-3tylCZU1.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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-CTJ16aEe.js";import{a}from"./sentry-CY6wsJT-.js";import{i as x,u as c,N as S}from"./core-oEkj6b51.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-cFF_NqwA.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-ByqexAVU.js";import{n as _}from"./mui-Cni6P-fz.js";import{t as H}from"./getLocaleForTenant-gFC-Rnfp.js";import{Q as F}from"./QBOConnectionScreen-CIFlgaXj.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./empty-CpgB6ACX.js";import"./pdf-lib-BZoHbIry.js";import"./index-B5c5iTId.js";import"./url-B5kkbwRv.js";import"./index-DRNExedw.js";import"./decodeURIComponentSafe-AFO0vA4L.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-DwfifS04.js";import{a}from"./sentry-Cm8I7E9J.js";import{i as x,u as c,N as S}from"./core-CaikJZHD.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-lC5X-sam.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-mhb15COx.js";import{n as _}from"./mui-G2MlMTlr.js";import{t as H}from"./getLocaleForTenant-DLrlmQCo.js";import{Q as F}from"./QBOConnectionScreen-tSJfFhQn.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./empty-CTO6rJhq.js";import"./pdf-lib-CuGtb6jg.js";import"./index-B9myuWEH.js";import"./url-CvhemPUG.js";import"./index-B9eknY8q.js";import"./decodeURIComponentSafe-DcEFJStp.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-ByqexAVU.js";import{a as i}from"./sentry-CY6wsJT-.js";import{n}from"./mui-Cni6P-fz.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-mhb15COx.js";import{a as i}from"./sentry-Cm8I7E9J.js";import{n}from"./mui-G2MlMTlr.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,bw as Je,o,cu as Ke,bn 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-ByqexAVU.js";import{a as g}from"./sentry-CY6wsJT-.js";import{n as r}from"./mui-Cni6P-fz.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="a984a6e7-d4d1-4d6a-bf23-6775f0ac01ac",e._sentryDebugIdIdentifier="sentry-dbid-a984a6e7-d4d1-4d6a-bf23-6775f0ac01ac")}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,bw as Je,o,cu as Ke,bn 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-mhb15COx.js";import{a as g}from"./sentry-Cm8I7E9J.js";import{n as r}from"./mui-G2MlMTlr.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.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]="a984a6e7-d4d1-4d6a-bf23-6775f0ac01ac",e._sentryDebugIdIdentifier="sentry-dbid-a984a6e7-d4d1-4d6a-bf23-6775f0ac01ac")}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,bn 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,bw as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bu as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-ByqexAVU.js";import{n as i}from"./mui-Cni6P-fz.js";import{a as p}from"./sentry-CY6wsJT-.js";import{u as Ia}from"./plaid-B2vW8NaN.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-cFF_NqwA.js";import{x as Pa}from"./LabeledControlledCheckBoxField-C_c8Rs-i-BHT9Wulx.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.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]="1309240b-f591-4098-a5de-5f45dd428d99",e._sentryDebugIdIdentifier="sentry-dbid-1309240b-f591-4098-a5de-5f45dd428d99")}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,bn 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,bw as fa,at as Ca,eT as ba,bH as xa,l as We,gk as wa,bu as Da,ac as Sa,h6 as $a,cq as ka,gl as Aa,fi as La,fe as va}from"./index-mhb15COx.js";import{n as i}from"./mui-G2MlMTlr.js";import{a as p}from"./sentry-Cm8I7E9J.js";import{u as Ia}from"./plaid-CcxzSXZd.js";import{bG as ue,c6 as Ra,bs as $e,cg as Fa,ch as ke,bY as Ta}from"./zeni-epic-state-lC5X-sam.js";import{x as Pa}from"./LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./utils-BhOlvYO8.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]="57bc925d-c8a6-4ce2-aa27-c4a6ae02345b",e._sentryDebugIdIdentifier="sentry-dbid-57bc925d-c8a6-4ce2-aa27-c4a6ae02345b")}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;