@zeniai/web-app-ui 4.14.29-dev → 4.14.30-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/dist/assets/ACHDetailsPage-CQdbfxHV-BW88pIYa.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BCxF5hNI-DwsSzcsx.js → AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js} +13 -13
  3. package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js → AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js → AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js} +3 -3
  7. package/dist/assets/{AccountRow-G9Hw9KCo-CT1w9ZhF.js → AccountRow-B3Sz6a-V-GlNhkavB.js} +7 -7
  8. package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js → AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js} +6 -6
  9. package/dist/assets/AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BLdfTvYw-1DCwK82d.js → AddToWalletPage-Czepun8f-MGSdB8OM.js} +4 -4
  11. package/dist/assets/{AddressRoutes-BQkJFfvp.js → AddressRoutes-CmvRhhab.js} +1 -1
  12. package/dist/assets/{AddressScreen-Dl895CZ9.js → AddressScreen-Cb00RwYZ.js} +2 -2
  13. package/dist/assets/{AgingReportsPage-C6aasTzQ-C63SyJmI.js → AgingReportsPage-DzAVDq_i-BP-WG6Wy.js} +5 -5
  14. package/dist/assets/{AiCfoScreen-IdwAAJXG.js → AiCfoScreen-CZVtCrsQ.js} +2 -2
  15. package/dist/assets/{AllUserItems-CjeF5SWi-CeRsiH4z.js → AllUserItems-BEoRQT-v-9OnCgvS-.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js → ApAgingDetailPage-55JdoIHh-kk28-9yG.js} +8 -8
  17. package/dist/assets/{AppBasePage-MKRsDpmx-DMLcxkrr.js → AppBasePage-CLye29uw-B08L49eb.js} +2 -2
  18. package/dist/assets/{AppDrawerContent-DN2hf6ff-5NhbUBos.js → AppDrawerContent-CDawrmfz-DqagnYqP.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js → ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js} +1 -1
  20. package/dist/assets/{ArAgingChart-DSx_E9ZM-RnIrRkZm.js → ArAgingChart-DeL9nNI7-Bj8y0fT6.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-C8h1id5v-HwBRgj9f.js → ArAgingDetailPage-CuG65EQs-CXt16x8B.js} +3 -3
  22. package/dist/assets/{AttachmentView-CqKnI6Xt-AOGCu7iZ.js → AttachmentView-C5anq6-B-BkQi2I92.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js → BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js} +6 -6
  24. package/dist/assets/{BankAccountSection-Dhp7GLZA-FNVqovjK.js → BankAccountSection-BUJoSOk8-BG4ByPDH.js} +2 -2
  25. package/dist/assets/BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js +51 -0
  26. package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js → BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js} +14 -14
  27. package/dist/assets/{BillDetailPage-BWBGE0pg-CYoOWtCP.js → BillDetailPage-CtVVaqTN-BwEQZwAf.js} +4 -4
  28. package/dist/assets/{BillPayApprovalRoutes-BvnC9SqN.js → BillPayApprovalRoutes-DwRul1Fq.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js → BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js} +4 -4
  30. package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js → BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js} +6 -6
  31. package/dist/assets/{BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js → BillPayPromoPage-_n9uoXTN-DW34nsnh.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-DqZf2rOO.js → BillPayRoutes-D22Q6pQL.js} +8 -8
  33. package/dist/assets/{BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js → BillPaySetUpPage-DNYX24VA-DLV9gKNt.js} +6 -6
  34. package/dist/assets/{BillingSettingsPage-AjSQYumd-GqgYiFI4.js → BillingSettingsPage-Btv3yiNs-M_OusRvc.js} +6 -6
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js → BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js} +1 -1
  36. package/dist/assets/{BoxItem-BWNurtfc-J9WJ61G4.js → BoxItem-Dqp4SNlI-EUjyx5Zm.js} +1 -1
  37. package/dist/assets/BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js +138 -0
  38. package/dist/assets/{BusinessVerificationPageScreen-CJ17INUy.js → BusinessVerificationPageScreen-B_00ICvM.js} +2 -2
  39. package/dist/assets/{BusyIndication-H_iNZOWd-BNmJKxof.js → BusyIndication-BZLVwIo8-6s8wSi7T.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-BAWc12F9-CekGLfjU.js → CardNumberSubText-12zyW5qQ-c22fv1fM.js} +8 -8
  41. package/dist/assets/{CashbackDetailPage-BhCHvGxj-nllESilf.js → CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js} +11 -11
  42. package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js → ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js} +44 -44
  43. package/dist/assets/{ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js → ChargeCardListPage-EuJ1VXck-BU5r2hWM.js} +19 -19
  44. package/dist/assets/{ChargeCardListTable-DiJUp9-c-hw3gHlrw.js → ChargeCardListTable-SgjwYd8W-EVdaCbR4.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js → ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-CiZDV925-B7JK6cJL.js → ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js} +6 -6
  47. package/dist/assets/{ChargeCardRoutes-BumOjc7r.js → ChargeCardRoutes-DV8TKacG.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js → ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js → ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js → CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js} +8 -8
  51. package/dist/assets/{CollapsableReportTable-BhbPzkAB-C83Y_pXv.js → CollapsableReportTable-D7zD4-h0-CdsTnLhf.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js → CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js} +93 -93
  53. package/dist/assets/{CompanyPassportCard-DImW2Dm8-pP6x_qCR.js → CompanyPassportCard-tpE1lXug-CLl-IbcU.js} +9 -9
  54. package/dist/assets/{CompanyPassportPage-DT2W9QE1-DJLwOOR3.js → CompanyPassportPage-bND99CJN-D7hjvVvQ.js} +23 -23
  55. package/dist/assets/{CompanyPassportScreen-Ckk3Aa0n.js → CompanyPassportScreen-DR-zdvAJ.js} +1 -1
  56. package/dist/assets/{CompleteProfile-BOabRQRQ-Cdf3T9vg.js → CompleteProfile-B5W07hcs-mOeGRg8M.js} +1 -1
  57. package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +1 -0
  58. package/dist/assets/{ConnectionAuthScreen-CJIuvxwT.js → ConnectionAuthScreen-D4VaoAIy.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js → ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js → CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js} +6 -6
  61. package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js → CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BsuzTGXR-DG4V_Nis.js → CurrencySelectField-D2azwi1T-CSrQI1j0.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js → CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js} +5 -5
  64. package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js} +7 -7
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js → CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js} +10 -10
  68. package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js → CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js} +6 -6
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js → CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-GPk7JXLd.js → CustomerOnboardingRoutes-DqfIHwc7.js} +4 -4
  71. package/dist/assets/{Dashboard-DdAePVSx-CyfCOyra.js → Dashboard-yhqyXPbZ-CPcltsfF.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-ccn0JYfk-DfPZgIh7.js → DashboardReportPage-BG4StCjY-CzFGaujV.js} +8 -8
  73. package/dist/assets/{DashboardRoutes-DbCVxvoA.js → DashboardRoutes-Bawz4pw0.js} +3 -3
  74. package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +12 -0
  75. package/dist/assets/{DefaultTenantHome-DnjlKX8o.js → DefaultTenantHome-B10KVon4.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js → DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js} +6 -6
  77. package/dist/assets/DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js +66 -0
  78. package/dist/assets/{DomesticWireDetailScreen-CMHXbUdU.js → DomesticWireDetailScreen-CMEoUywc.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js → DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BiIbEvq6-DkggD5hU.js → DownloadOverlay-SLvxfa6B-CQ7BxjF9.js} +16 -16
  81. package/dist/assets/{DrawerPage-4aE01eRo-CbGkLlgW.js → DrawerPage-CFdTV10k-BenpSUGv.js} +4 -4
  82. package/dist/assets/{DrawerScreen-Bqlol_ka.js → DrawerScreen-B7BWNi51.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BWjOJqch-DMjcjWgK.js → EditPeoplePage-C-Y62PJ0-BgijqRCf.js} +7 -7
  84. package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js → EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js} +14 -14
  85. package/dist/assets/{EntityDetailPage-DseDMalq-D030AWbJ.js → EntityDetailPage-CgDHg6g5-B_vQblwz.js} +2 -2
  86. package/dist/assets/{EntityDetailRoutes-DKPg6KvF.js → EntityDetailRoutes-nFrPna9t.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-D1o-WKT9-B4D8PhFo.js → EntitySummarySection-B2uG3-Zh-DoF2hAYB.js} +4 -4
  88. package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js → ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js} +7 -7
  89. package/dist/assets/{ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js → ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CFAuM0iq.js → ExpenseAutomationRoutes-DxRmXEnL.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-BKpxo5VW-BeZ2tWeR.js → ExpressPayPage-CsI_DUc6-BKAOKKa9.js} +8 -8
  92. package/dist/assets/{FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js → FeaturePreviewPage-B67a68N9-BPSn99tM.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Ctx49exK.js → FeaturePreviewScreen-D_cOMPjM.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CJzIGe2N-q0pn7uac.js → FollowStepsSection-CgjzMm02-DPMc3VYJ.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-B4qWm75N-BekP71Yj.js → GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js} +5 -5
  96. package/dist/assets/{InformationCardStack-BXWxFJnm-DZneOpmz.js → InformationCardStack-qKld10kr-IVC5wYc5.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-iUppdWya-IGcayZ6m.js → InsightsCardStack-Bbh77o6f-Dr_8r9pW.js} +8 -8
  98. package/dist/assets/InsightsSection-DgfCOO4F-rd7xZxVI.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js → IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js} +2 -2
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js → InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js} +4 -4
  101. package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js → InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js} +3 -3
  102. package/dist/assets/{InviteFormPage-BC1PH63r-DAB3gVVK.js → InviteFormPage-BbbPCdh--Cb0-_CQ6.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BJDfCvno-Sk3rc3V-.js → InvitePageListView-DqfrAulo-BtCqgsIl.js} +13 -13
  104. package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DagADS45.js → InvitePeoplePage-CgTpZp4M-CYe0nmg8.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BgVvYytR-DjoTneQr.js → InvoiceUploadSection-DZOzTShz-BFwyUvOT.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DLK0riSj.js → IssueChargeCardPage-x6dLcd-P-D7R8buXv.js} +17 -17
  107. package/dist/assets/{LabeledAddressValue-BCsadhSu-lscFDQOa.js → LabeledAddressValue-CY4Fn72d-VdKSkT_l.js} +1 -1
  108. package/dist/assets/LabeledAddressValueField-D47ofJFV-CGqdgTnp.js +45 -0
  109. package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js → LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js → LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js → LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js} +3 -3
  112. package/dist/assets/{LabeledDocumentField-DxUq-7nr-DAyGmAsR.js → LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js → LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js} +6 -6
  114. package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js → LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js} +3 -3
  115. package/dist/assets/{LabeledNameField-364jsrFK-CaN5hIDf.js → LabeledNameField-Dxx0xwMv-DBRkdNqp.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js → LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js} +6 -6
  117. package/dist/assets/{LabeledText-uFTi1qOo-Dh31QRqg.js → LabeledText-Bo7B-LrF-DECCi3EJ.js} +2 -2
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js} +8 -8
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js → LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js} +18 -18
  120. package/dist/assets/{LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js → LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js} +9 -9
  121. package/dist/assets/{LockCardPage-DN2dvQA9-ptj6YCPt.js → LockCardPage-B1QOSByp-BfsUhZIZ.js} +25 -25
  122. package/dist/assets/{LowBalancePopup-CXTWwEyb-DHi-7FjF.js → LowBalancePopup-Bl_PaIUx-yOClgIGf.js} +2 -2
  123. package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +1 -0
  126. package/dist/assets/MagicLinkRoutes-B-WHuq25.js +72 -0
  127. package/dist/assets/{MagicLinkSignInScreen-hqZFIhM7.js → MagicLinkSignInScreen-BBwmXYDm.js} +1 -1
  128. package/dist/assets/MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js +31 -0
  129. package/dist/assets/{MagicLinkTitleSection-BnzImXCX-DsNqMADc.js → MagicLinkTitleSection-RYhrN820-BbeWYlVu.js} +10 -10
  130. package/dist/assets/{MailingDetailsSection-aNMVpaF0-Mi3ceriD.js → MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-CXepfp6e.js → MobileAppDrawer-CTcTm5tx.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-C_jqM-Ix-D5fFt93A.js → MoreMenuButton-5MZl4h9B-BympoCwa.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js → MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js} +4 -4
  134. package/dist/assets/MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js +6 -0
  135. package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js → MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-BYosIzfk-CHzZbup1.js → NavBarWithPicker-C6FiaLu5-BVvTIBUE.js} +5 -5
  137. package/dist/assets/{NavigationArrow-CMLkPq47-BPg7he64.js → NavigationArrow-BnAgR0wH-BYYktF7B.js} +1 -1
  138. package/dist/assets/{NavigationDots-maxhYltq-IyF42HyI.js → NavigationDots-WUDG_g8M-CSwlLBTM.js} +3 -3
  139. package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js → NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js} +1 -1
  140. package/dist/assets/{NoDataChart-CKqR_T30-DZpYrIq4.js → NoDataChart-BBYUjdKn-CaszePO0.js} +3 -3
  141. package/dist/assets/{NoDataTable-BQLSA76V-CA1kwcWh.js → NoDataTable-D3750d25-CC_2gGkK.js} +1 -1
  142. package/dist/assets/{NotFoundPage-rtS33FV3-CW80Ae7U.js → NotFoundPage-C4D8Rn9E--AJk-xer.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-86VjMapP.js → NotFoundScreen-SRDW4_mE.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-WpVyAd3n.js → NotificationRoutes-BSrkx0LD.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js → NotificationSettingsPage-CD-t91ia-DJoX_UtT.js} +4 -4
  146. package/dist/assets/NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js +1 -0
  147. package/dist/assets/{NotificationsPage-9vgLoVxJ-CqhoB5mC.js → NotificationsPage-Be1v8niA-BlgDo9nE.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js → OpExByVendorPage-D1f1lQbs-BnyzfFJz.js} +7 -7
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-o9B6MYdd.js → OverlayContainerPage-BG9y5C0t-DTorHW75.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-D-V3dD71-2GY3G9_S.js → PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js} +11 -11
  151. package/dist/assets/{PandLWithForecastRoutes-NKWly9at.js → PandLWithForecastRoutes-CsL0r0I3.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js} +6 -6
  153. package/dist/assets/{PeoplePage-B9bxxtaC-BUc8a2C6.js → PeoplePage-xwAOX4Jk-BnzId5aB.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-LIAWa-ry.js → PeopleRoutes-D-yY-A49.js} +3 -3
  155. package/dist/assets/PerformanceRoutes-DUxeAB_T.js +1 -0
  156. package/dist/assets/{Preview-C63MOKlS.js → Preview-k4ohm46R.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BnezAuLA-CWNs-1wI.js → ProductsCarousel-OHbYasaa-Bps9QCYO.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-B5vRjrOp-DZnXvun2.js → PromoBaseCards-B_0dccCZ-BeKRkhdX.js} +3 -3
  159. package/dist/assets/{QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js → QBOConnectionDialog-5ItNvdCA-D1LNYclF.js} +13 -13
  160. package/dist/assets/{QBOConnectionScreen-DPXluGT3.js → QBOConnectionScreen-BDwso3KZ.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-Co4tc3sO-UEf5y5yj.js → QBOSetupSection-CHZgQppe-Fu_QXCEh.js} +14 -14
  162. package/dist/assets/ReferralListScreen-DPkRtA1r.js +5 -0
  163. package/dist/assets/{ReimbursementApprovalRoutes-DBPigEkQ.js → ReimbursementApprovalRoutes-DyX9YlA9.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js → ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js → ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js → ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-oD88KyGk-Z26luXjw.js → ReimbursementDetailPage-DM650uCR-BZojPp4W.js} +7 -7
  168. package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js → ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js} +7 -7
  169. package/dist/assets/{ReimbursementRoutes-DP3Zyw9z.js → ReimbursementRoutes-C4Yz_jbS.js} +3 -3
  170. package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js → ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js} +5 -5
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js} +1 -1
  172. package/dist/assets/{ReloadCard-DcyZqZO5-CwUMwJXU.js → ReloadCard-DMNbI6QE-C1j_tgy-.js} +4 -4
  173. package/dist/assets/{ReportTableViewSelector-Be_385i6-D1d1hisQ.js → ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js} +5 -5
  174. package/dist/assets/{ReportsPage-Dp_uEJ2H-DsQqyldd.js → ReportsPage-nuM-ub1p-CKOT47VZ.js} +8 -8
  175. package/dist/assets/{ReportsRoutes-CQDTEzwi.js → ReportsRoutes-DohAZqsL.js} +1 -1
  176. package/dist/assets/{RevenueChart-B-iMe_PD-Bi6Ok69j.js → RevenueChart-BL5Wb2UT-JQVA4c7e.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage--0ZUpEVp-CQmlT2je.js → ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js} +21 -21
  178. package/dist/assets/{ReviewOverlay-D_JI48L0-CyNlOwFh.js → ReviewOverlay-A1OYNSqG-DCeKL3J7.js} +6 -6
  179. package/dist/assets/RewardsRoutes-BjB7FD9l.js +1 -0
  180. package/dist/assets/{RoleWithToolTip-Bqdsc31P-CNmkPW05.js → RoleWithToolTip-VOllzDDB-BXr_ucO6.js} +2 -2
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js} +3 -3
  182. package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js → ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js} +3 -3
  183. package/dist/assets/ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js +326 -0
  184. package/dist/assets/{ScreenRoutes-IYIFGbR5.js → ScreenRoutes-B6WQ9uqs.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-Bk3RGJCY-2x7H96z3.js → SetUpAccountSection-BcNG0nDh-C2x0keC_.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-CEWrZV9M.js → SettingsRoutes-U8aLQkxi.js} +5 -5
  187. package/dist/assets/{SetupPagesScreen-BFZeWYvZ.js → SetupPagesScreen-KLzrKq5d.js} +1 -1
  188. package/dist/assets/{SignIn-DbvYG8OW-DIGSru0r.js → SignIn-D80UITQm-CVsAto0V.js} +22 -22
  189. package/dist/assets/{SignInScreen-B27QEE_5.js → SignInScreen-g1CD9jiJ.js} +1 -1
  190. package/dist/assets/SignOutScreen-Cclrjb6Y.js +9 -0
  191. package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js → SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js} +6 -6
  192. package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js → SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js} +13 -13
  193. package/dist/assets/{SpendManagementSection-CZ_i360S-BWGL8ndc.js → SpendManagementSection-BXU3RGG8-BwEQ7fN8.js} +12 -12
  194. package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +31 -0
  195. package/dist/assets/{StatementsPage-BMFYpAPA-D3BvQu9P.js → StatementsPage-Ck1xzA0w-CdWUN6DK.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-CDnarHSf-meshGWkH.js → StatusSwitcher-_Cs3CzJl-D1XlTHt5.js} +6 -6
  197. package/dist/assets/{SubTabSwitcher-DhIXVTVI-Dm-A1aML.js → SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js} +3 -3
  198. package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +13 -0
  199. package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +1 -0
  200. package/dist/assets/{TaskDetailPage-rWt-QUEv-DH6XgxNN.js → TaskDetailPage-CJKga1vr-ciDskCCR.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CWIPHTTl.js → TaskListScreen-ksTObC06.js} +2 -2
  202. package/dist/assets/{TaskManagementPage-D3YvKWVJ-DM0xoyo4.js → TaskManagementPage-BMwMSG1j-D-VvypFm.js} +27 -27
  203. package/dist/assets/TaskRoutes-C_cjp_9o.js +9 -0
  204. package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js → TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js → TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js} +6 -6
  206. package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js → TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js} +3 -3
  207. package/dist/assets/{TopExCard-ByF-svYM-Ctw9EYS9.js → TopExCard-DQkr9Xhh-CEMSG53J.js} +3 -3
  208. package/dist/assets/{TopExDetailPage-ABVezwCx-DzhDJZA8.js → TopExDetailPage-5Di6WUfV-hilBOr7-.js} +9 -9
  209. package/dist/assets/{TransactionActivityLogPage-B8ytNODX-DVytAoU9.js → TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-CunkyIXB-CNc17TsU.js → TransactionDetailPage-B-blHtkn-CbeGtCIa.js} +34 -34
  211. package/dist/assets/{TransactionDetailRoutes-CK-34SUt.js → TransactionDetailRoutes-CG9Ya3UI.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DDeYMLmN.js → TransactionDetailScreen-DG1rRYuu.js} +1 -1
  213. package/dist/assets/{TransactionList-CEPVnfZD-ClBHZqTs.js → TransactionList-FQvTXSzy-oI0UZGJM.js} +13 -13
  214. package/dist/assets/{TransactionListBig-BYFv0irc-pAbEVbC_.js → TransactionListBig-CNDw7zRw-DTLpPxaS.js} +6 -6
  215. package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-DCJ5Lweu.js → TransactionListRoutes-BbWNwfVS.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js → TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js} +3 -3
  218. package/dist/assets/{TransferDrawerPage-gDUiIE-g-Bvvjaklx.js → TransferDrawerPage-C1Ly_xKj-DX3atlS9.js} +21 -21
  219. package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js → TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js} +21 -21
  220. package/dist/assets/{TreasuryPromoPage-oERSujnm-ClN1OTf6.js → TreasuryPromoPage-BsP73kf7-etf9xlFS.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-BjolvDGd.js → TreasuryRoutes-CuQ3uJ15.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-_h3417p3.js → TreasuryStatementsPage-DhXESeOi-uJElEPeD.js} +4 -4
  223. package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js → TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js} +4 -4
  224. package/dist/assets/{TrendChart-B2oLQN05-BkrG4BVH.js → TrendChart-B7Pox_TQ-7BkibFBY.js} +4 -4
  225. package/dist/assets/{TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js → TrendWithTransactions-DP1jZL1i-2bOe0VtV.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js → UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js} +7 -7
  227. package/dist/assets/{UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js → UnitIntegrationPage-BymmWe1G-DFsBuiFb.js} +3 -3
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js → UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-DwTNfggI-QO3FNLHc.js → Vendor2FAPopup-8kpMx5RI-CGazITGN.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +1 -0
  231. package/dist/assets/{VendorDetailPage-k42A_Pv1-C-eMTgO6.js → VendorDetailPage-C-JJfR0u-DCJ_f7dN.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js → VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js → VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js} +7 -7
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js → VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js} +4 -4
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js → VendorsAccountsSection-Drue-Lvz-DQRReXtk.js} +4 -4
  238. package/dist/assets/{VendorsRoutes-Dh458IQK.js → VendorsRoutes-Buw6G1yr.js} +1 -1
  239. package/dist/assets/{VerifyDevice-VPfuXUzH-AU1zuQlS.js → VerifyDevice-B_NNzkjT-BkggAu3P.js} +9 -9
  240. package/dist/assets/VideoPlayer-Bc4tAd79-Crbsq9LQ.js +77 -0
  241. package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +31 -0
  242. package/dist/assets/WiseConfirmationScreen-CEIT9jMF.js +12 -0
  243. package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js → ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js} +19 -19
  244. package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js → ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js} +30 -30
  245. package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js → ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js → ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js} +5 -5
  247. package/dist/assets/{ZeniAccountRoutes-CAAxW9JY.js → ZeniAccountRoutes-Bp_1In61.js} +5 -5
  248. package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js → ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-BaoiJX5h.js → ZeniAccountStatementScreen-6LzJoR1o.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-C2LxBTZ4-YOmVMm4j.js → ZeniAvatar-5wP6sb3W-CKgtWCng.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-BTIaEGE9-Di2RxJTA.js → ZeniCopyright-CMjFbDBQ-So_Gi_8l.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-9JxwH7J5-CcV9D7gC.js → ZeniDatePicker-C_YQpGe--CXBBhIwN.js} +4 -4
  253. package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js → ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-CZHlLVR_.js → accountMappingHelper-Ctd7yuH3.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BgQLRlhS.js → add-to-wallet-DgdBD8_G-q_ZatOIu.js} +1 -1
  256. package/dist/assets/{analytics-CDQ7tGpV.js → analytics-Ci5SIN4_.js} +1 -1
  257. package/dist/assets/{analyticsHelper-jTnRtCKB.js → analyticsHelper-CBcY8lmv.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CYp9h-KW-6KJErEZC.js → analyticsHelper-CG-L3dO7-WIHh4rd-.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CvfiHTRY.js → arrow-south-east-round-PEovUgvH-BXAmISmi.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-8rMpx5do.js → auto-transfer-rule-mbafm5D3-Qtr813uy.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-BdKWS97a.js → avatar-Dz7aEm3d-lVrrjTFE.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-ydWr7ZOI.js → bank-letter-BOcVjN6J-a5lcVCZG.js} +1 -1
  263. package/dist/assets/{calculateSize-DecSvt-d-CIfCbqel.js → calculateSize-CAxK0dN_-6AyeRPo8.js} +1 -1
  264. package/dist/assets/{chartTypes-D2s_Hwo9-BbhqSw8p.js → chartTypes-_AEkJ5Cg-CVupoc41.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CjcyjUt4.js → clock-CJkylEKt-CBVPxBka.js} +1 -1
  266. package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +1 -0
  267. package/dist/assets/{commonDimensions-u85vL09f-D9VH5FSj.js → commonDimensions-_Dpm4Anv-BHT-EeW2.js} +1 -1
  268. package/dist/assets/{commonTypes-DKKiPW4t-BlYaUk1n.js → commonTypes-C64XobC6-BTobasZR.js} +1 -1
  269. package/dist/assets/{core-B0nKoasK.js → core-oEkj6b51.js} +1 -1
  270. package/dist/assets/{dash.all.min-CXMi5GlA.js → dash.all.min-DZu0W7MW.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-CHDtTf3Z.js → decodeURIComponentSafe-AFO0vA4L.js} +1 -1
  272. package/dist/assets/{dnd-NNN-4w0O.js → dnd-DwLm2ZWc.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CQw1tD8J.js → dollar-round-D18u7nlm-BxzwYsJa.js} +1 -1
  274. package/dist/assets/{downloadPdf-CnXPMbwm-BjEW_jtg.js → downloadPdf-BAZhe2iR-C4ju3Lqh.js} +1 -1
  275. package/dist/assets/{empty-DA-JSLu3.js → empty-CpgB6ACX.js} +1 -1
  276. package/dist/assets/{empty-CVZTZ-q9.js → empty-fwRWXj2G.js} +1 -1
  277. package/dist/assets/{epic-D0yDPv8O.js → epic-qeTSmk29.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-DAakc3sS.js → filter-cZIFUNvj-Cn5LR_-W.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-DGG0tVFT.js → getLocaleForTenant-DZi5Q22y.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-C6pLHK0s.js → gift-box-Cmt9OgIZ-CByaMYJG.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js → graphic-no-data-l-DU4J8fDt-bzI3_a8w.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js → graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-C47iPdmd.js → handshake-BPg58FML-BxWewJRH.js} +1 -1
  284. package/dist/assets/{helper-C7sZs2qJ-DE63clA9.js → helper-D3UIpXq7-DCH1HBMI.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-BOSMM7uX.js → hyperlink-DQyCeXx2-Dt5l5kWs.js} +1 -1
  286. package/dist/assets/{index-CEBFS-eA.js → index-B5c5iTId.js} +1 -1
  287. package/dist/assets/{index-DrsMeyfs.js → index-BE_133so.js} +1 -1
  288. package/dist/assets/{index-ByxsQZNo.js → index-BHAcVHeH.js} +643 -641
  289. package/dist/assets/{index-CQJQXzZY.js → index-CjBlNHKF.js} +1 -1
  290. package/dist/assets/{index-BIjZljJR.js → index-Cpbn6-TN.js} +1 -1
  291. package/dist/assets/{index-zhMcpxMF.js → index-DRNExedw.js} +1 -1
  292. package/dist/assets/{lexical-Fl-AogKa.js → lexical-BLFyyXBr.js} +1 -1
  293. package/dist/assets/{liveblocks-DskTqGyX.js → liveblocks-Ia5FU_Xu.js} +1 -1
  294. package/dist/assets/{lottie-BzV8yd9z.js → lottie-DEK510sX.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js} +1 -1
  301. package/dist/assets/{media-player-eLGyvMHZ.js → media-player-uto_Jl5G.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-rv31fLm6.js → money-2cg1MuG4-BmcWx6In.js} +1 -1
  303. package/dist/assets/{mui-40xepic5.js → mui-Cni6P-fz.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BrbO3gtI.js → page-detail-CWX5S47F-B9qcUnuN.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-bNTaLAow.js → page-summary-D7_VQHwN-ZSqDN0WI.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-DgahycaC.js → panelSelectedMixin-Cddsb26L-BCo5ICo2.js} +1 -1
  307. package/dist/assets/{pathToGoBack-D0UTUGlT.js → pathToGoBack-BpMzEQ5A.js} +1 -1
  308. package/dist/assets/{pdf-A8jRKyoC.js → pdf-CTJ16aEe.js} +3 -3
  309. package/dist/assets/{pdf-lib-mQnebn-k.js → pdf-lib-BZoHbIry.js} +1 -1
  310. package/dist/assets/{plaid-cfgjTkr8.js → plaid-B2vW8NaN.js} +1 -1
  311. package/dist/assets/{pusher-1O2fsDZq.js → pusher-DFtcQaPW.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-Cy5-Jl8l.js → radio-default-CiSgisfh--JwnmKdf.js} +1 -1
  313. package/dist/assets/{react-BEctO-ia.js → react-B0u9lmTz.js} +1 -1
  314. package/dist/assets/{react-D8s_m7Vn.js → react-BxE_BeY2.js} +1 -1
  315. package/dist/assets/{react-QF7HiPHo.js → react-C70tWLg5.js} +1 -1
  316. package/dist/assets/{react-CidUU4N9.js → react-Cohr3oKl.js} +1 -1
  317. package/dist/assets/{react-DcRcFJEU.js → react-DKkpOD3_.js} +3 -3
  318. package/dist/assets/{react-C6o6ScF5.js → react-DZ1_qQub.js} +1 -1
  319. package/dist/assets/{react-BEcUyG01.js → react-cn6O__9s.js} +1 -1
  320. package/dist/assets/{react-CQm7lU_-.js → react-jjkPSe6Z.js} +1 -1
  321. package/dist/assets/{recharts-Bbdho9Pi.js → recharts-LlOU9oLm.js} +1 -1
  322. package/dist/assets/{routePaths-CpPoI1xs.js → routePaths-WWdcktge.js} +1 -1
  323. package/dist/assets/{sentry-COYnhuxW.js → sentry-CY6wsJT-.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-wVomU2ew.js → shield-DOlUxcFf-CGZqPLdL.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BruIkKZj.js → spend-limit-D6SyboD4-DAZsY_K2.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +1 -0
  327. package/dist/assets/{toChartData-DrYGpr_j-D2GR-55Z.js → toChartData-BODe4y2V-CHAJ4Jnp.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-C-J0dsgn.js → transaction-placeholder-CpOwZAMG-B7lzeBRq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Chu3klyO.js → undo-b_3XZ5CX-okXLDguZ.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-BGatCFPm.js → unlock-BPWn2I5L-BcwMx3a4.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js → upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js} +1 -1
  332. package/dist/assets/{uploadAttachment-DPYv4udq-CXZc-rXm.js → uploadAttachment-Dbumcc_g-LXlwbhth.js} +5 -5
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-Mr0MhYx1.js → uploadReceipts-CIgkuVpu-FU2oOS1s.js} +1 -1
  334. package/dist/assets/{url-XCmE-JaB.js → url-B5kkbwRv.js} +1 -1
  335. package/dist/assets/{url-C27bOf0k.js → url-Cv3aJ--T.js} +1 -1
  336. package/dist/assets/{useDeviceId-UXlBHXyB.js → useDeviceId-BWAR3Wtl.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BIFRjZze.js → useInitialThreadRequest-DTIHWJqF.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-CqE4OIEm.js → useLongPress-GCK2COYQ-BX_5sahW.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-vz296XX2.js → usp-line-BBd1wKwW-CuU9mWQv.js} +1 -1
  340. package/dist/assets/{utils-DMEPgX6w.js → utils-ChLimP28.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BDgDxNYJ.js → withTransactionSidePanel-X05Jc0ej.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-DCforPdM.js → zeni-epic-state-cFF_NqwA.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-BkUYNged.js → zeni-icon-only-jOM3nMPU.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js +0 -21
  347. package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +0 -18
  348. package/dist/assets/AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js +0 -149
  349. package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +0 -6
  350. package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +0 -51
  351. package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +0 -138
  352. package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +0 -1
  353. package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +0 -1
  354. package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +0 -1
  355. package/dist/assets/DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js +0 -12
  356. package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +0 -66
  357. package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +0 -27
  358. package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +0 -45
  359. package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +0 -1
  360. package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +0 -1
  361. package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +0 -1
  362. package/dist/assets/MagicLinkRoutes-0gOcNpgv.js +0 -72
  363. package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +0 -31
  364. package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +0 -6
  365. package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +0 -1
  366. package/dist/assets/PerformanceRoutes-647LNvtJ.js +0 -1
  367. package/dist/assets/ReferralListScreen-C9t9-uma.js +0 -5
  368. package/dist/assets/RewardsRoutes-BiuOGirU.js +0 -1
  369. package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +0 -324
  370. package/dist/assets/SignOutScreen-DfH6txYx.js +0 -9
  371. package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +0 -31
  372. package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +0 -13
  373. package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +0 -1
  374. package/dist/assets/TaskRoutes-CgARLANx.js +0 -9
  375. package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +0 -35
  376. package/dist/assets/VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js +0 -1
  377. package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +0 -1
  378. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +0 -1
  379. package/dist/assets/VideoPlayer-2MQyZqi6-DqklpbYT.js +0 -77
  380. package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +0 -31
  381. package/dist/assets/WiseConfirmationScreen-Bat277PD.js +0 -12
  382. package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +0 -1
  383. package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +0 -1
  384. package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +0 -1
  385. package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +0 -1
  386. package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +0 -1
@@ -1,21 +1,21 @@
1
- import{V as r,a3 as E,a4 as x,O as p,o as l,P as M,aa as w,C as f,ab as H}from"./index-ByxsQZNo.js";import{n as o}from"./mui-40xepic5.js";import{c as j}from"./SummaryCard-4S9PQQ5W-B2YKQ_55.js";import{a as t}from"./sentry-COYnhuxW.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./ReloadCard-DcyZqZO5-CwUMwJXU.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]="f6c4fdfc-a7f5-4435-859e-6fa82a1cc154",e._sentryDebugIdIdentifier="sentry-dbid-f6c4fdfc-a7f5-4435-859e-6fa82a1cc154")}catch{}})();const g=[{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-BHAcVHeH.js";import{n as o}from"./mui-Cni6P-fz.js";import{c as j}from"./SummaryCard-buadhnmc-COTvxgGf.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-C1j_tgy-.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)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
- `,D=o.div`
4
+ `,b=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
- `,v=o(f)`
10
+ `,D=o(g)`
11
11
  color: ${e=>e.theme.colors.champion};
12
- `,L=o.div`
12
+ `,v=o.div`
13
13
  display: flex;
14
14
  width: 100%;
15
15
  flex-direction: column;
16
- `,W=o.div`
16
+ `,L=o.div`
17
17
  color: ${e=>e.theme.colors.primary};
18
- `,b=o.div`
18
+ `,W=o.div`
19
19
  display: flex;
20
20
  flex-direction: row;
21
21
  align-items: center;
@@ -27,9 +27,9 @@ import{V as r,a3 as E,a4 as x,O as p,o as l,P as M,aa as w,C as f,ab as H}from".
27
27
  width: 100%;
28
28
  flex-direction: column;
29
29
  text-align: left;
30
- `,V=o(f)`
30
+ `,V=o(g)`
31
31
  color: ${e=>e.theme.colors.hero};
32
- `,k=o(f)`
32
+ `,k=o(g)`
33
33
  color: ${e=>e.theme.colors.primary};
34
34
  display: -webkit-box;
35
35
  -webkit-box-orient: vertical;
@@ -39,4 +39,4 @@ import{V as r,a3 as E,a4 as x,O as p,o as l,P as M,aa as w,C as f,ab as H}from".
39
39
  width: 100%;
40
40
  height: 1px;
41
41
  background-color: ${e=>e.theme.colors.grey3};
42
- `;function X({card:e,actions:a,data:d,dndProps:s}){return r.jsx(E,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>s?.onDragStart(e.cardType,i),onDragOver:i=>s?.onDragOver(i,e.cardType),onDragLeave:i=>s?.onDragLeave(i),onDrop:i=>s?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:a,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>a.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(B,{children:[r.jsx(D,{children:r.jsx(v,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:n,Icon:h}=i;return r.jsxs(L,{children:[r.jsxs(b,{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!==g.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(W,{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((y,u)=>y.user.createTime?.isAfter(u.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: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};
@@ -1,4 +1,4 @@
1
- import{e as V,V as t,c6 as ne,x as m,c7 as vt,k 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,d 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 K,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Kt,cs as Qt}from"./index-ByxsQZNo.js";import{a as Y,b as ea}from"./sentry-COYnhuxW.js";import{n,d as ta,k as aa}from"./mui-40xepic5.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-DCforPdM.js";import{D as yt}from"./LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js";import{Y as gt}from"./LabeledDocumentField-DxUq-7nr-DAyGmAsR.js";import{e as sa}from"./LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js";import{p as ra,i as da,t as ca}from"./commonTypes-DKKiPW4t-BlYaUk1n.js";import{b as pa}from"./LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js";import{x as ma,f as ua,p as ha,h as fa,m as bt,b as ya,g as ga}from"./helper-C7sZs2qJ-DE63clA9.js";import{$ as xt}from"./LabeledAddressValue-BCsadhSu-lscFDQOa.js";import{Z as wt}from"./LabeledNameField-364jsrFK-CaN5hIDf.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="3ba1bfd8-8f0d-44dc-9042-b9cda57c7107",e._sentryDebugIdIdentifier="sentry-dbid-3ba1bfd8-8f0d-44dc-9042-b9cda57c7107")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function ba({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(xa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const xa=n.div`
1
+ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-BHAcVHeH.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-DTrzefeb.js";import{Y as gt}from"./LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js";import{e as sa}from"./LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js";import{p as ra,i as da,t as ca}from"./commonTypes-C64XobC6-BTobasZR.js";import{b as pa}from"./LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.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-DCH1HBMI.js";import{$ as bt}from"./LabeledAddressValue-CY4Fn72d-VdKSkT_l.js";import{Z as wt}from"./LabeledNameField-Dxx0xwMv-DBRkdNqp.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`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -67,7 +67,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
67
67
  &:hover {
68
68
  color: ${L.primaryDark};
69
69
  }
70
- `,Ca=e=>{const o=z.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ta(e){const o=V(),{fetchState:p,onRemoveSnackbar:i}=e;Y.useEffect(()=>{setTimeout(i,5e3)});const r=z.getLocalizedStrings().companyPassport.snackBar,l=p==="Completed";return t.jsxs(Ia,{windowSize:o,children:[l?t.jsx($a,{}):t.jsx(Sa,{}),t.jsxs(Da,{windowSize:o,children:[t.jsx(va,{isSuccess:l,children:l?r.success:r.error}),t.jsx(Oa,{children:t.jsx(ja,{children:Ca(p)})})]}),t.jsx(Fa,{onClick:i,children:t.jsx(Vt,{})})]})}const ye={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(h[3],h[2])};function ka(e){const o=V(),[p,i]=Y.useState(!1),{companyPassport:r,commonSetUp:{businessVerification:l},common:{documents:s}}=z.getLocalizedStrings(),{fileProps:f,companyFiles:y,deleteFileStatusById:u,updateFileStatusById:d,sectionId:I,isDisabled:O,companyIncInfo:$,style:j}=e,S=ye.labelWidth.value(o),g=ye.largeLabelWidth.value(o),C=ye.largeLabelDocumentWidth.value(o),{dateFormat:{visual:c},companyPassport:T}=z.getLocalizedStrings(),b=y.find(q=>q.documentType==="certificate_of_incorporation"),U=o==="small"?r.companyIncInfo.stateOfIncPlaceholderSmall:r.companyIncInfo.stateOfIncPlaceholder,le=o==="small"?r.companyIncInfo.typeOfIncPlaceholderSmall:r.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(La,{style:j,children:[t.jsx(Pa,{children:r.companyIncInfo.title}),t.jsxs(Na,{children:[t.jsx(yt,{label:{label:T.companyIncInfo.typeOfInc,width:g},isDisabled:O,creatableSingleSelectField:{name:ge(I,"typeOfInc"),placeholder:le,defaultValue:{selectedOption:$?.typeOfInc,allOptions:r.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(De,{}),t.jsx(sa,{label:{label:T.companyIncInfo.stateOfInc,width:g},isDisabled:O,singleSelectField:{name:ge(I,"stateOfInc"),placeholder:U,defaultValue:{selectedOption:$?.stateOfInc,allOptions:r.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(De,{}),t.jsx(Mt,{isDisabled:O,label:{label:r.companyIncInfo.incDate,width:S},style:{paddingBottom:ye.paddingBottom.valuePx(o)},dateField:{name:ge(I,"incDate"),placeholder:A(r.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:c.defaultInput,maxDate:Le(),minDate:oa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(De,{}),t.jsx(gt,{name:ge(I,"certificateOfIncorporation"),isDisabled:O,sizeLimit:dt,deleteFileStatusById:u,updateFileStatusById:d,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:l.certificateOfIncorporation,width:C},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:b,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:p,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:q=>i(q)}),t.jsx(za,{windowSize:o,isError:p,children:s.formatDocumentText10MB})]})]})}const ge=(e,o)=>`${e}.${o}`,La=n.div`
70
+ `,Ca=e=>{const o=z.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ta(e){const o=V(),{fetchState:p,onRemoveSnackbar:i}=e;Y.useEffect(()=>{setTimeout(i,5e3)});const r=z.getLocalizedStrings().companyPassport.snackBar,l=p==="Completed";return t.jsxs(Ia,{windowSize:o,children:[l?t.jsx($a,{}):t.jsx(Sa,{}),t.jsxs(Da,{windowSize:o,children:[t.jsx(va,{isSuccess:l,children:l?r.success:r.error}),t.jsx(Oa,{children:t.jsx(ja,{children:Ca(p)})})]}),t.jsx(Fa,{onClick:i,children:t.jsx(Vt,{})})]})}const ye={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(h[3],h[2])};function ka(e){const o=V(),[p,i]=Y.useState(!1),{companyPassport:r,commonSetUp:{businessVerification:l},common:{documents:s}}=z.getLocalizedStrings(),{fileProps:f,companyFiles:y,deleteFileStatusById:u,updateFileStatusById:d,sectionId:I,isDisabled:O,companyIncInfo:$,style:j}=e,S=ye.labelWidth.value(o),g=ye.largeLabelWidth.value(o),C=ye.largeLabelDocumentWidth.value(o),{dateFormat:{visual:c},companyPassport:T}=z.getLocalizedStrings(),x=y.find(q=>q.documentType==="certificate_of_incorporation"),U=o==="small"?r.companyIncInfo.stateOfIncPlaceholderSmall:r.companyIncInfo.stateOfIncPlaceholder,le=o==="small"?r.companyIncInfo.typeOfIncPlaceholderSmall:r.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(La,{style:j,children:[t.jsx(Pa,{children:r.companyIncInfo.title}),t.jsxs(Na,{children:[t.jsx(yt,{label:{label:T.companyIncInfo.typeOfInc,width:g},isDisabled:O,creatableSingleSelectField:{name:ge(I,"typeOfInc"),placeholder:le,defaultValue:{selectedOption:$?.typeOfInc,allOptions:r.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(De,{}),t.jsx(sa,{label:{label:T.companyIncInfo.stateOfInc,width:g},isDisabled:O,singleSelectField:{name:ge(I,"stateOfInc"),placeholder:U,defaultValue:{selectedOption:$?.stateOfInc,allOptions:r.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(De,{}),t.jsx(Mt,{isDisabled:O,label:{label:r.companyIncInfo.incDate,width:S},style:{paddingBottom:ye.paddingBottom.valuePx(o)},dateField:{name:ge(I,"incDate"),placeholder:A(r.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:c.defaultInput,maxDate:Le(),minDate:oa("01 Jan 1900"),autoComplete:"off"}}),t.jsx(De,{}),t.jsx(gt,{name:ge(I,"certificateOfIncorporation"),isDisabled:O,sizeLimit:dt,deleteFileStatusById:u,updateFileStatusById:d,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:l.certificateOfIncorporation,width:C},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:p,updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,onFileSizeError:q=>i(q)}),t.jsx(za,{windowSize:o,isError:p,children:s.formatDocumentText10MB})]})]})}const ge=(e,o)=>`${e}.${o}`,La=n.div`
71
71
  display: flex;
72
72
  flex-direction: column;
73
73
  padding-top: ${a.sp3};
@@ -79,7 +79,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
79
79
  border: 1px solid ${e=>e.theme.colors.grey3};
80
80
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
81
81
  border-radius: ${a.sp2};
82
- `,Pa=n(K)`
82
+ `,Pa=n(Q)`
83
83
  color: ${e=>e.theme.colors.champion};
84
84
  margin-bottom: ${a.sp3};
85
85
  `,De=n.div`
@@ -103,7 +103,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
103
103
  list-style-position: inside;
104
104
  `,Va=n.li`
105
105
  text-decoration: ${e=>e.isCancelled?"line-through":"unset"};
106
- `,Ma=n(Kt)`
106
+ `,Ma=n(Qt)`
107
107
  color: ${e=>e.theme.colors.grey1};
108
108
  border-radius: ${a.sp1};
109
109
  border: 1px solid ${e=>e.theme.colors.grey2};
@@ -111,7 +111,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
111
111
  width: fit-content;
112
112
  margin-left: auto;
113
113
  margin-bottom: ${a.sp2};
114
- `,Aa=e=>{const{labels:o,style:p,listStyleType:i="disc"}=e;return t.jsx(Ea,{style:{...p,listStyleType:i},children:o.filter(r=>r!=null&&r.text!="").map((r,l)=>t.jsxs(Va,{isCancelled:r.status==="cancelled",children:[r.text,r.subText!=null?t.jsxs(Ma,{children:["Started: ",r.subText]}):null]},`${r.text}_${l}`))})},ae={width:new m(343,580,726),paddingTopBottom:new m(h[3],h[3]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4])};function xe({isDisabled:e,label:o,bullettedLabels:p,style:i}){const r=V();return p.labels.length>0?t.jsxs(Wa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:ae.labelMarginLeft.value(r),marginRight:ae.labelMarginRight.value(r),width:o.width??"auto"}}),t.jsx(Aa,{...p,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const Wa=n.div`
114
+ `,Aa=e=>{const{labels:o,style:p,listStyleType:i="disc"}=e;return t.jsx(Ea,{style:{...p,listStyleType:i},children:o.filter(r=>r!=null&&r.text!="").map((r,l)=>t.jsxs(Va,{isCancelled:r.status==="cancelled",children:[r.text,r.subText!=null?t.jsxs(Ma,{children:["Started: ",r.subText]}):null]},`${r.text}_${l}`))})},ae={width:new m(343,580,726),paddingTopBottom:new m(h[3],h[3]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4])};function be({isDisabled:e,label:o,bullettedLabels:p,style:i}){const r=V();return p.labels.length>0?t.jsxs(Wa,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:ae.labelMarginLeft.value(r),marginRight:ae.labelMarginRight.value(r),width:o.width??"auto"}}),t.jsx(Aa,{...p,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const Wa=n.div`
115
115
  display: flex;
116
116
  flex-direction: row;
117
117
  align-items: flex-start;
@@ -132,7 +132,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
132
132
  border-bottom-left-radius: inherit;
133
133
  border-bottom-right-radius: inherit;
134
134
  }
135
- `,ie={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180),extraLargeLabelWidth:new m(200,250,300),regulatedStatusMaxWidth:new m(343,580,726)},$t=z.getLocalizedStrings(),x=$t.commonSetUp.businessVerification,{companyPassport:F,dateFormat:{analytics:Ge},common:{yes:Ze,no:Je}}=$t;function Ba({companyViewData:e,allIndustries:o,allNationalityCountries:p,companyInfo:i,companyAddress:r,sectionId:l,isDisabled:s,isCompanyVerified:f,onCompanyAddressClick:y,style:u}){const d=V(),I=ie.labelWidth.value(d),O=ie.mediumLabelWidth.value(d),$=ie.largeLabelWidth.value(d),j=ie.extraLargeLabelWidth.value(d),S=ta(),{watch:g,setValue:C,formState:{errors:c}}=st(),T=e.company.company.companyInfo,b=k=>{const D=i?.[k];return D!=null&&(!(typeof D=="string"&&D===""||Array.isArray(D)&&D.length===0)||f===!1)},U=b("companySubIndustry"),le=b("countriesOfOperations"),q=b("transactionVolume"),$e=b("regulatedStatus"),Se=b("usNexus"),H=b("purposeOfAccount"),_=b("companySourceOfFunds"),se=g(w(l,"companySourceOfFunds")),re=g(w(l,"transactionVolume")),Q=g(w(l,"regulatedStatus")),de=g(w(l,"usNexus")),G=g(w(l,"purposeOfAccount")),Z=g(w(l,"companyIndustryType")),ce=Z?.selectedOption??i?.companyIndustryType,Oe=d==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder;return t.jsxs(Ra,{style:u,children:[t.jsx(Ua,{children:F.companyInfo.title}),t.jsxs(Ya,{children:[t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.companyName,width:$},text:{type:"text",name:w(l,"companyName"),placeholder:A(F.companyInfo.companyName),defaultValue:i?.companyName,autoComplete:"new-password",options:{required:!!T.name,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.legalName,width:O},text:{type:"text",name:w(l,"legalName"),placeholder:A(F.companyInfo.legalName),defaultValue:i?.legalName,autoComplete:"new-password",options:{required:!!T.companyLegalName,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.website,width:I},text:{type:"url",name:w(l,"website"),placeholder:A(F.companyInfo.website),defaultValue:i?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(E,{}),U?t.jsx(t.Fragment,{children:t.jsxs(qa,{"data-suppress-hover":s!=null||void 0,children:[t.jsx(ee,{label:{label:x.companyIndustryLabel,width:I},singleSelectField:{singleSelect:{name:w(l,"companyIndustryType"),placeholder:x.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ma,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companyIndustryType,allOptions:[...ht]},onSelectChange:k=>{C(w(l,"subIndustry"),{selectedOption:void 0,allOptions:ke(k)})}},isFunctional:!0,errorInfoLabel:x.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),ce!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:w(l,"subIndustry"),placeholder:x.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>ua(k,ce),isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySubIndustry,allOptions:ke(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:x.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:s==null?x.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:S.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:F.companyInfo.industry,width:I},singleSelectField:{singleSelect:{name:w(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>o.find(D=>D.code===k)?.name??k,isDisabled:s,showTickMark:!0},defaultValue:{selectedOption:i?.industry,allOptions:o?.map(k=>k.code)??[]}},isFunctional:!0}),t.jsx(E,{}),t.jsx(yt,{isDisabled:s,label:{label:F.companyInfo.businessModel,width:$},creatableSingleSelectField:{name:w(l,"businessModel"),placeholder:Oe,defaultValue:{selectedOption:i?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),le&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(pa,{label:{label:x.countriesOfOperationsLabel,width:$},isDisabled:s,additionalInfoLabel:s==null?x.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:w(l,"countriesOfOperations"),placeholder:x.countriesOfOperationsPlaceholder,defaultValue:nt(i?.countriesOfOperations,(p??[]).map(k=>k.countryCode))}})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.companySourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:w(l,"companySourceOfFunds"),placeholder:x.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ha,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySourceOfFunds,allOptions:[...ut]}},isFunctional:!0,additionalContent:ra.includes(se?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"companySourceOfFundsDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-$,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?void 0:x.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),q&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.transactionVolumeLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"transactionVolume"),placeholder:x.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.transactionVolume,allOptions:[...mt]}},isFunctional:!0,additionalContent:da.includes(re?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"transactionVolumeDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.transactionVolumeDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.transactionVolumeDescription!=null?void 0:x.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),$e&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Ke,{children:[t.jsx(ne,{label:x.regulatedStatusLabel,htmlFor:w(l,"regulatedStatus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Qe,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),Q==="yes"&&t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:w(l,"regulatedStatusDescription"),placeholder:x.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.regulatedStatusDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[l]!=null&&c[l]?.regulatedStatus!=null?t.jsx(ve,{windowSize:d,children:x.regulatedStatusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.regulatedStatusDescription!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.regulatedStatusAdditionalInfo}):null]})]}),Se&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Ke,{children:[t.jsx(ne,{label:x.usNexusLabel,htmlFor:w(l,"usNexus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Qe,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),de==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ha,{hasError:c[l]!=null&&c[l]?.usNexusTypes!=null,children:t.jsx(bt,{isDisabled:s,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:w(l,"usNexusTypes"),placeholder:x.usNexusPlaceholder,getOptionLabel:ya,defaultValue:{selectedOptions:i?.usNexusTypes??[],allOptions:[...pt]},registerOptions:{required:s==null,shouldUnregister:!0,validate:k=>{const D=k?.selectedOptions;return D!=null&&D.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[l]!=null&&c[l]?.usNexusTypes!=null&&t.jsx(ve,{windowSize:d,children:x.usNexusTypesError})]}),c[l]!=null&&c[l]?.usNexus!=null?t.jsx(ve,{windowSize:d,children:x.usNexusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.usNexusTypes!=null?null:s==null?t.jsx(et,{windowSize:d,children:x.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:x.purposeOfAccountLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"purposeOfAccount"),placeholder:x.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ga,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.purposeOfAccount,allOptions:[...ct]}},isFunctional:!0,additionalContent:ca.includes(G?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"purposeOfAccountDescription"),placeholder:x.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:x.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?void 0:x.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),t.jsx(E,{}),t.jsx(xt,{isDisabled:s,label:{label:F.companyInfo.address,width:I},addressValue:{placeholder:A(F.companyInfo.address),address:r?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(E,{}),t.jsx(rt,{isDisabled:s,label:{label:F.companyInfo.phone,width:I},text:{name:w(l,"phone"),placeholder:A(F.companyInfo.phone),defaultValue:i?.phone,autoComplete:"new-password"}}),t.jsx(E,{}),t.jsx(xe,{label:{label:F.companyInfo.fiscalYear,width:I},bullettedLabels:{labels:[{text:_a(i?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const _a=e=>{const{fiscalYearMonths:o}=na(e);return`${Le().month(o[0]-1).format(Ge.MMMFormat)} to ${Le().month(o[11]-1).format(Ge.MMMFormat)}`},w=(e,o)=>`${e}.${o}`,Ra=n.div`
135
+ `,ie={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180),extraLargeLabelWidth:new m(200,250,300),regulatedStatusMaxWidth:new m(343,580,726)},$t=z.getLocalizedStrings(),b=$t.commonSetUp.businessVerification,{companyPassport:F,dateFormat:{analytics:Ge},common:{yes:Ze,no:Je}}=$t;function Ba({companyViewData:e,allIndustries:o,allNationalityCountries:p,companyInfo:i,companyAddress:r,sectionId:l,isDisabled:s,isCompanyVerified:f,onCompanyAddressClick:y,style:u}){const d=V(),I=ie.labelWidth.value(d),O=ie.mediumLabelWidth.value(d),$=ie.largeLabelWidth.value(d),j=ie.extraLargeLabelWidth.value(d),S=ta(),{watch:g,setValue:C,formState:{errors:c}}=st(),T=e.company.company.companyInfo,x=k=>{const D=i?.[k];return D!=null&&(!(typeof D=="string"&&D===""||Array.isArray(D)&&D.length===0)||f===!1)},U=x("companySubIndustry"),le=x("countriesOfOperations"),q=x("transactionVolume"),$e=x("regulatedStatus"),Se=x("usNexus"),H=x("purposeOfAccount"),_=x("companySourceOfFunds"),se=g(w(l,"companySourceOfFunds")),re=g(w(l,"transactionVolume")),K=g(w(l,"regulatedStatus")),de=g(w(l,"usNexus")),G=g(w(l,"purposeOfAccount")),Z=g(w(l,"companyIndustryType")),ce=Z?.selectedOption??i?.companyIndustryType,Oe=d==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder;return t.jsxs(Ra,{style:u,children:[t.jsx(Ua,{children:F.companyInfo.title}),t.jsxs(Ya,{children:[t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.companyName,width:$},text:{type:"text",name:w(l,"companyName"),placeholder:A(F.companyInfo.companyName),defaultValue:i?.companyName,autoComplete:"new-password",options:{required:!!T.name,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.legalName,width:O},text:{type:"text",name:w(l,"legalName"),placeholder:A(F.companyInfo.legalName),defaultValue:i?.legalName,autoComplete:"new-password",options:{required:!!T.companyLegalName,pattern:qe}}}),t.jsx(E,{}),t.jsx(P,{isDisabled:s,label:{label:F.companyInfo.website,width:I},text:{type:"url",name:w(l,"website"),placeholder:A(F.companyInfo.website),defaultValue:i?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(E,{}),U?t.jsx(t.Fragment,{children:t.jsxs(qa,{"data-suppress-hover":s!=null||void 0,children:[t.jsx(ee,{label:{label:b.companyIndustryLabel,width:I},singleSelectField:{singleSelect:{name:w(l,"companyIndustryType"),placeholder:b.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ma,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companyIndustryType,allOptions:[...ht]},onSelectChange:k=>{C(w(l,"subIndustry"),{selectedOption:void 0,allOptions:ke(k)})}},isFunctional:!0,errorInfoLabel:b.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:a.sp2}}),ce!=null&&t.jsx(ee,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:w(l,"subIndustry"),placeholder:b.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>ua(k,ce),isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySubIndustry,allOptions:ke(Z?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:b.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:s==null?b.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:S.colors.hero},style:{outline:"none",paddingBottom:a.sp0,width:"100%"}})]})}):t.jsx(ee,{label:{label:F.companyInfo.industry,width:I},singleSelectField:{singleSelect:{name:w(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:k=>o.find(D=>D.code===k)?.name??k,isDisabled:s,showTickMark:!0},defaultValue:{selectedOption:i?.industry,allOptions:o?.map(k=>k.code)??[]}},isFunctional:!0}),t.jsx(E,{}),t.jsx(yt,{isDisabled:s,label:{label:F.companyInfo.businessModel,width:$},creatableSingleSelectField:{name:w(l,"businessModel"),placeholder:Oe,defaultValue:{selectedOption:i?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),le&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(pa,{label:{label:b.countriesOfOperationsLabel,width:$},isDisabled:s,additionalInfoLabel:s==null?b.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:w(l,"countriesOfOperations"),placeholder:b.countriesOfOperationsPlaceholder,defaultValue:nt(i?.countriesOfOperations,(p??[]).map(k=>k.countryCode))}})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:b.companySourceOfFundsLabel,width:$},singleSelectField:{singleSelect:{name:w(l,"companySourceOfFunds"),placeholder:b.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ha,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.companySourceOfFunds,allOptions:[...ut]}},isFunctional:!0,additionalContent:ra.includes(se?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"companySourceOfFundsDescription"),placeholder:b.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-$,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.companySourceOfFundsDescription!=null?void 0:b.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),q&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:b.transactionVolumeLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"transactionVolume"),placeholder:b.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fa,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.transactionVolume,allOptions:[...mt]}},isFunctional:!0,additionalContent:da.includes(re?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"transactionVolumeDescription"),placeholder:b.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.transactionVolumeDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.transactionVolumeDescription!=null?void 0:b.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),$e&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Qe,{children:[t.jsx(ne,{label:b.regulatedStatusLabel,htmlFor:w(l,"regulatedStatus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"regulatedStatus"),id:`${w(l,"regulatedStatus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),K==="yes"&&t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:w(l,"regulatedStatusDescription"),placeholder:b.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.regulatedStatusDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),c[l]!=null&&c[l]?.regulatedStatus!=null?t.jsx(ve,{windowSize:d,children:b.regulatedStatusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.regulatedStatusDescription!=null?null:s==null?t.jsx(et,{windowSize:d,children:b.regulatedStatusAdditionalInfo}):null]})]}),Se&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsxs(Xe,{windowSize:d,"data-suppress-hover":s!=null||void 0,children:[t.jsxs(Qe,{children:[t.jsx(ne,{label:b.usNexusLabel,htmlFor:w(l,"usNexus"),isDisabled:s,style:{width:$,color:s==="disabled"?S.colors.grey1:S.colors.hero}}),t.jsxs(Ke,{labelWidth:$,windowSize:d,children:[t.jsx(fe,{label:{label:Ze},style:{paddingRight:`${a.sp4}`,width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.yes`,value:"yes",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0}),t.jsx(fe,{label:{label:Je},style:{width:"auto"},radioField:{name:w(l,"usNexus"),id:`${w(l,"usNexus")}.no`,value:"no",style:{height:`${a.sp3}`,width:`${a.sp3}`},radioSize:"small"},isDisabled:s,isContainerClickable:!0})]})]}),de==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Ha,{hasError:c[l]!=null&&c[l]?.usNexusTypes!=null,children:t.jsx(xt,{isDisabled:s,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:w(l,"usNexusTypes"),placeholder:b.usNexusPlaceholder,getOptionLabel:ya,defaultValue:{selectedOptions:i?.usNexusTypes??[],allOptions:[...pt]},registerOptions:{required:s==null,shouldUnregister:!0,validate:k=>{const D=k?.selectedOptions;return D!=null&&D.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),c[l]!=null&&c[l]?.usNexusTypes!=null&&t.jsx(ve,{windowSize:d,children:b.usNexusTypesError})]}),c[l]!=null&&c[l]?.usNexus!=null?t.jsx(ve,{windowSize:d,children:b.usNexusError.replace("_product_type_","company details")}):c[l]!=null&&c[l]?.usNexusTypes!=null?null:s==null?t.jsx(et,{windowSize:d,children:b.usNexusAdditionalInfo}):null]})]}),H&&t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(ee,{label:{label:b.purposeOfAccountLabel,width:j},singleSelectField:{singleSelect:{name:w(l,"purposeOfAccount"),placeholder:b.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ga,isDisabled:s,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:i?.purposeOfAccount,allOptions:[...ct]}},isFunctional:!0,additionalContent:ca.includes(G?.selectedOption)?t.jsx(P,{isDisabled:s,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:w(l,"purposeOfAccountDescription"),placeholder:b.descriptionPlaceholder,style:{backgroundColor:c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?L.importantLight:S.colors.background},options:{}},additionalInfoLabel:b.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-j,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:s!=null||c[l]!=null&&c[l]?.purposeOfAccountDescription!=null?void 0:b.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:S.colors.hero}})]}),t.jsx(E,{}),t.jsx(bt,{isDisabled:s,label:{label:F.companyInfo.address,width:I},addressValue:{placeholder:A(F.companyInfo.address),address:r?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(E,{}),t.jsx(rt,{isDisabled:s,label:{label:F.companyInfo.phone,width:I},text:{name:w(l,"phone"),placeholder:A(F.companyInfo.phone),defaultValue:i?.phone,autoComplete:"new-password"}}),t.jsx(E,{}),t.jsx(be,{label:{label:F.companyInfo.fiscalYear,width:I},bullettedLabels:{labels:[{text:_a(i?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const _a=e=>{const{fiscalYearMonths:o}=na(e);return`${Le().month(o[0]-1).format(Ge.MMMFormat)} to ${Le().month(o[11]-1).format(Ge.MMMFormat)}`},w=(e,o)=>`${e}.${o}`,Ra=n.div`
136
136
  display: flex;
137
137
  flex-direction: column;
138
138
  padding-top: ${a.sp3};
@@ -144,7 +144,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
144
144
  border: 1px solid ${e=>e.theme.colors.grey3};
145
145
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
146
146
  border-radius: ${a.sp2};
147
- `,Ua=n(K)`
147
+ `,Ua=n(Q)`
148
148
  color: ${e=>e.theme.colors.champion};
149
149
  margin-bottom: ${a.sp3};
150
150
  `,E=n.div`
@@ -193,13 +193,13 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
193
193
  outline: none;
194
194
  background-color: inherit;
195
195
  }
196
- `,Ke=n.div`
196
+ `,Qe=n.div`
197
197
  display: flex;
198
198
  flex-direction: row;
199
199
  align-items: center;
200
200
  margin-top: ${a.sp2};
201
201
  margin-bottom: ${a.sp2};
202
- `,Qe=n.div`
202
+ `,Ke=n.div`
203
203
  display: flex;
204
204
  flex-direction: row;
205
205
  width: ${e=>`calc(100% - ${e.labelWidth}px)`};
@@ -223,12 +223,12 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
223
223
  & .select-control {
224
224
  background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background} !important;
225
225
  }
226
- `,Ne={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function Ga({sectionId:e,isDisabled:o,style:p,officer:i,officerAddress:r,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:s}){const f=V(),y=z.getLocalizedStrings().companyPassport,u=Ne.labelWidth.value(f),d=l&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!r),I=i?.userId==null||i?.userId==="";return t.jsxs(Qa,{style:p,children:[t.jsx(wt,{isDisabled:o,label:{label:y.companyOfficer.name,width:u},nameField:{name:Fe(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),t.jsx(Ce,{}),t.jsx(P,{isDisabled:I?o:"readonly",label:{label:y.companyOfficer.email,width:u},text:{type:"email",name:Fe(e,"email"),placeholder:A(y.companyOfficer.email),options:{required:d!==!0&&I},defaultValue:i?.email,autoComplete:"new-password"}}),t.jsx(Ce,{}),t.jsx(xt,{isDisabled:o,label:{label:y.companyInfo.address,width:u},addressValue:{placeholder:A(y.companyOfficer.address),address:r?.addressToCreate,onClick:()=>{s(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Ce,{}),t.jsx(rt,{isDisabled:o,label:{label:y.companyOfficer.phone,width:u},text:{name:Fe(e,"phone"),placeholder:A(y.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function Za({companyOfficers:e,sectionId:o,style:p,isDisabled:i,onOfficerAddressClick:r}){const{setValue:l,getValues:s}=st(),[f,y]=Y.useState(-1),u=z.getLocalizedStrings().companyPassport,d=e.length,I=e.length===1&&e[0].localData?.userId==null,O=s(o),$=g=>{if(e[g].localData!=null&&(e[g].localData?.firstName||e[g].localData?.lastName||e[g].localData?.phone||e[g].localData?.email||e[g].addressStatus?.addressToCreate))y(g);else{const C=O.filter((c,T)=>T!==f);l(o,C),y(-1)}},j=()=>{y(-1)},S=()=>{const g=O.filter((C,c)=>c!==f);l(o,g),y(-1)};return t.jsxs(Ka,{style:p,children:[t.jsx(el,{children:u.companyOfficer.title}),e.map((g,C)=>{const c=g.localData,T=g.addressStatus,b=c?.userId==null||c?.userId==="";return t.jsxs(tl,{children:[(d>1||b)&&!I?t.jsx(Ja,{curIndex:C,isNewUser:b,numberOfOfficers:d,deleteConfirmationIndex:f,isDisabled:i,onDeleteClick:$,onCancelClick:j,onRemoveOfficerSection:S}):null,t.jsx(Ga,{sectionId:`${o}.${C}`,officer:c,officerAddress:T,isDisabled:i,isEmptyCompanyOfficerSection:I,onOfficerAddressClick:r})]},c?.officerType)}),d<=9&&!I?t.jsx(Xa,{isSectionDisabled:i,onAddOfficerSection:()=>{const g={userId:void 0,officerType:`Officer_${d+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(o,[...O,g])}}):t.jsx(Pe,{})]})}const Ja=({curIndex:e,isNewUser:o,numberOfOfficers:p,deleteConfirmationIndex:i,isDisabled:r,onDeleteClick:l,onCancelClick:s,onRemoveOfficerSection:f})=>{const y=V(),u=z.getLocalizedStrings().companyPassport;return t.jsxs(al,{children:[t.jsx(ll,{children:p>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&r==null?i===e?t.jsx(rl,{children:t.jsxs(dl,{children:[u.companyOfficer.deleteConfirmation,t.jsx(He,{label:u.cancel,onClick:s,style:{width:Ne.buttonWidth.value(y),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(He,{label:u.remove,onClick:f,style:{width:Ne.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(sl,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(Ht,{width:h[3],height:h[3],color:L.important})}):null]})},Xa=({isSectionDisabled:e,onAddOfficerSection:o})=>{const p=z.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Pe,{}):t.jsxs(t.Fragment,{children:[t.jsxs(ol,{onClick:o,children:[t.jsx(il,{}),t.jsx(nl,{children:p.companyOfficer.addOfficer})]}),t.jsx(Pe,{})]})},Fe=(e,o)=>`${e}.${o}`,Ka=n.div`
226
+ `,Ne={labelWidth:new m(110,110,140),buttonWidth:new m(70,70)};function Ga({sectionId:e,isDisabled:o,style:p,officer:i,officerAddress:r,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:s}){const f=V(),y=z.getLocalizedStrings().companyPassport,u=Ne.labelWidth.value(f),d=l&&(i==null||!i.firstName&&!i.lastName&&!i.phone&&!i.email&&!r),I=i?.userId==null||i?.userId==="";return t.jsxs(Ka,{style:p,children:[t.jsx(wt,{isDisabled:o,label:{label:y.companyOfficer.name,width:u},nameField:{name:Fe(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},autoComplete:"new-password",registerOptions:{required:d!==!0},showFullNameError:!0}}),t.jsx(Ce,{}),t.jsx(P,{isDisabled:I?o:"readonly",label:{label:y.companyOfficer.email,width:u},text:{type:"email",name:Fe(e,"email"),placeholder:A(y.companyOfficer.email),options:{required:d!==!0&&I},defaultValue:i?.email,autoComplete:"new-password"}}),t.jsx(Ce,{}),t.jsx(bt,{isDisabled:o,label:{label:y.companyInfo.address,width:u},addressValue:{placeholder:A(y.companyOfficer.address),address:r?.addressToCreate,onClick:()=>{s(i?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Ce,{}),t.jsx(rt,{isDisabled:o,label:{label:y.companyOfficer.phone,width:u},text:{name:Fe(e,"phone"),placeholder:A(y.companyOfficer.phone),defaultValue:i?.phone,autoComplete:"new-password"}})]})}function Za({companyOfficers:e,sectionId:o,style:p,isDisabled:i,onOfficerAddressClick:r}){const{setValue:l,getValues:s}=st(),[f,y]=Y.useState(-1),u=z.getLocalizedStrings().companyPassport,d=e.length,I=e.length===1&&e[0].localData?.userId==null,O=s(o),$=g=>{if(e[g].localData!=null&&(e[g].localData?.firstName||e[g].localData?.lastName||e[g].localData?.phone||e[g].localData?.email||e[g].addressStatus?.addressToCreate))y(g);else{const C=O.filter((c,T)=>T!==f);l(o,C),y(-1)}},j=()=>{y(-1)},S=()=>{const g=O.filter((C,c)=>c!==f);l(o,g),y(-1)};return t.jsxs(Qa,{style:p,children:[t.jsx(el,{children:u.companyOfficer.title}),e.map((g,C)=>{const c=g.localData,T=g.addressStatus,x=c?.userId==null||c?.userId==="";return t.jsxs(tl,{children:[(d>1||x)&&!I?t.jsx(Ja,{curIndex:C,isNewUser:x,numberOfOfficers:d,deleteConfirmationIndex:f,isDisabled:i,onDeleteClick:$,onCancelClick:j,onRemoveOfficerSection:S}):null,t.jsx(Ga,{sectionId:`${o}.${C}`,officer:c,officerAddress:T,isDisabled:i,isEmptyCompanyOfficerSection:I,onOfficerAddressClick:r})]},c?.officerType)}),d<=9&&!I?t.jsx(Xa,{isSectionDisabled:i,onAddOfficerSection:()=>{const g={userId:void 0,officerType:`Officer_${d+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(o,[...O,g])}}):t.jsx(Pe,{})]})}const Ja=({curIndex:e,isNewUser:o,numberOfOfficers:p,deleteConfirmationIndex:i,isDisabled:r,onDeleteClick:l,onCancelClick:s,onRemoveOfficerSection:f})=>{const y=V(),u=z.getLocalizedStrings().companyPassport;return t.jsxs(al,{children:[t.jsx(ll,{children:p>1?`${u.companyOfficer.officer} ${e+1}`:""}),o&&r==null?i===e?t.jsx(rl,{children:t.jsxs(dl,{children:[u.companyOfficer.deleteConfirmation,t.jsx(He,{label:u.cancel,onClick:s,style:{width:Ne.buttonWidth.value(y),marginLeft:a.sp4,marginRight:a.sp3},size:"small",variant:"secondary"}),t.jsx(He,{label:u.remove,onClick:f,style:{width:Ne.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(sl,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(Ht,{width:h[3],height:h[3],color:L.important})}):null]})},Xa=({isSectionDisabled:e,onAddOfficerSection:o})=>{const p=z.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Pe,{}):t.jsxs(t.Fragment,{children:[t.jsxs(ol,{onClick:o,children:[t.jsx(il,{}),t.jsx(nl,{children:p.companyOfficer.addOfficer})]}),t.jsx(Pe,{})]})},Fe=(e,o)=>`${e}.${o}`,Qa=n.div`
227
227
  display: flex;
228
228
  flex-direction: column;
229
229
  padding-top: ${a.sp3};
230
230
  width: 100%;
231
- `,Qa=n.div`
231
+ `,Ka=n.div`
232
232
  display: flex;
233
233
  flex-direction: column;
234
234
  background-color: ${e=>e.theme.colors.grey5};
@@ -238,7 +238,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
238
238
  margin-bottom: ${a.sp4};
239
239
  `,Pe=n.div`
240
240
  padding-bottom: ${a.sp6};
241
- `,el=n(K)`
241
+ `,el=n(Q)`
242
242
  color: ${e=>e.theme.colors.champion};
243
243
  margin-bottom: ${a.sp4};
244
244
  `,tl=n.div`
@@ -247,7 +247,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
247
247
  display: flex;
248
248
  }
249
249
  }
250
- `,al=n(K)`
250
+ `,al=n(Q)`
251
251
  display: flex;
252
252
  align-items: center;
253
253
  justify-content: space-between;
@@ -299,7 +299,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
299
299
  background-color: ${e=>e.theme.colors.grey3};
300
300
  min-height: 1px;
301
301
  max-height: 1px;
302
- `,tt={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function cl(e){const o=V(),p=At(),[i,r]=Y.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:s},common:{documents:f}}=z.getLocalizedStrings(),{fileProps:y,companyFiles:u,deleteFileStatusById:d,updateFileStatusById:I,sectionId:O,isDisabled:$,companyTaxInfo:j,style:S}=e,g=tt.labelWidth.value(o),C=tt.largeLabelWidth.value(o),c=!ia(p.loggedInUserRole??[]),T=u.find(b=>b.documentType==="tax_ein");return t.jsxs(pl,{style:S,children:[t.jsx(ul,{children:l.companyTaxInfo.title}),t.jsxs(ml,{children:[t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.taxIdOrEIN,width:g},text:{type:"text",name:te(O,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?l.protectedContent:j?.taxIdOrEIN,options:{pattern:Wt},autoComplete:"new-password"},protectedInfoText:c===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.dunsNumber,width:g},text:{type:"text",name:te(O,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:j?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.naicsCode,width:g},text:{type:"text",name:te(O,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:j?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.sicCode,width:g},text:{type:"text",name:te(O,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:j?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(bt,{isDisabled:$,label:{label:l.companyTaxInfo.taxesFiledYears,width:g},multiSelectField:{name:te(O,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:j?.taxesFiledYears.map(b=>b.toString())??[],allOptions:ft().map(b=>b.toString())}}}),t.jsx(oe,{}),t.jsx(gt,{name:te(O,"einDocument"),isDisabled:$,sizeLimit:dt,deleteFileStatusById:d,updateFileStatusById:I,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:s.einDocument,width:C},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:b=>r(b)}),t.jsx(hl,{windowSize:o,isError:i,children:f.formatDocumentText10MB})]})]})}const te=(e,o)=>`${e}.${o}`,pl=n.div`
302
+ `,tt={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function cl(e){const o=V(),p=At(),[i,r]=Y.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:s},common:{documents:f}}=z.getLocalizedStrings(),{fileProps:y,companyFiles:u,deleteFileStatusById:d,updateFileStatusById:I,sectionId:O,isDisabled:$,companyTaxInfo:j,style:S}=e,g=tt.labelWidth.value(o),C=tt.largeLabelWidth.value(o),c=!ia(p.loggedInUserRole??[]),T=u.find(x=>x.documentType==="tax_ein");return t.jsxs(pl,{style:S,children:[t.jsx(ul,{children:l.companyTaxInfo.title}),t.jsxs(ml,{children:[t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.taxIdOrEIN,width:g},text:{type:"text",name:te(O,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:c===!0?l.protectedContent:j?.taxIdOrEIN,options:{pattern:Wt},autoComplete:"new-password"},protectedInfoText:c===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.dunsNumber,width:g},text:{type:"text",name:te(O,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:j?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.naicsCode,width:g},text:{type:"text",name:te(O,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:j?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(P,{isDisabled:$,label:{label:l.companyTaxInfo.sicCode,width:g},text:{type:"text",name:te(O,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:j?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(oe,{}),t.jsx(xt,{isDisabled:$,label:{label:l.companyTaxInfo.taxesFiledYears,width:g},multiSelectField:{name:te(O,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:j?.taxesFiledYears.map(x=>x.toString())??[],allOptions:ft().map(x=>x.toString())}}}),t.jsx(oe,{}),t.jsx(gt,{name:te(O,"einDocument"),isDisabled:$,sizeLimit:dt,deleteFileStatusById:d,updateFileStatusById:I,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:s.einDocument,width:C},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:x=>r(x)}),t.jsx(hl,{windowSize:o,isError:i,children:f.formatDocumentText10MB})]})]})}const te=(e,o)=>`${e}.${o}`,pl=n.div`
303
303
  display: flex;
304
304
  flex-direction: column;
305
305
  padding-top: ${a.sp3};
@@ -311,7 +311,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
311
311
  border: 1px solid ${e=>e.theme.colors.grey3};
312
312
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
313
313
  border-radius: ${a.sp2};
314
- `,ul=n(K)`
314
+ `,ul=n(Q)`
315
315
  color: ${e=>e.theme.colors.champion};
316
316
  margin-bottom: ${a.sp3};
317
317
  `,oe=n.div`
@@ -326,19 +326,19 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
326
326
  border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
327
327
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
328
328
  color: ${e=>e.isError?L.important:e.theme.colors.grey1};
329
- `,fl={labelWidth:new m(100,100,140)};function yl({sectionId:e,isDisabled:o,primaryContact:p,style:i}){const r=V(),l=z.getLocalizedStrings().companyPassport,s=fl.labelWidth.value(r),f=p==null;return t.jsxs(gl,{style:i,children:[t.jsx(xl,{children:l.primaryContact.title}),t.jsxs(bl,{children:[t.jsx(wt,{isDisabled:o,label:{label:l.primaryContact.name,width:s},nameField:{name:at(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:p?.firstName??"",lastName:p?.lastName??""},autoComplete:"new-password",registerOptions:{required:f!==!0},showFullNameError:!0}}),t.jsx(wl,{}),t.jsx(P,{isDisabled:o,label:{label:l.primaryContact.email,width:s},text:{type:"email",name:at(e,"email"),placeholder:A(l.primaryContact.email),defaultValue:p?.email,autoComplete:"new-password",options:{required:f!==!0}}})]})]})}const at=(e,o)=>`${e}.${o}`,gl=n.div`
329
+ `,fl={labelWidth:new m(100,100,140)};function yl({sectionId:e,isDisabled:o,primaryContact:p,style:i}){const r=V(),l=z.getLocalizedStrings().companyPassport,s=fl.labelWidth.value(r),f=p==null;return t.jsxs(gl,{style:i,children:[t.jsx(bl,{children:l.primaryContact.title}),t.jsxs(xl,{children:[t.jsx(wt,{isDisabled:o,label:{label:l.primaryContact.name,width:s},nameField:{name:at(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:p?.firstName??"",lastName:p?.lastName??""},autoComplete:"new-password",registerOptions:{required:f!==!0},showFullNameError:!0}}),t.jsx(wl,{}),t.jsx(P,{isDisabled:o,label:{label:l.primaryContact.email,width:s},text:{type:"email",name:at(e,"email"),placeholder:A(l.primaryContact.email),defaultValue:p?.email,autoComplete:"new-password",options:{required:f!==!0}}})]})]})}const at=(e,o)=>`${e}.${o}`,gl=n.div`
330
330
  display: flex;
331
331
  flex-direction: column;
332
332
  padding-top: ${a.sp3};
333
333
  padding-bottom: ${a.sp9};
334
- `,bl=n.div`
334
+ `,xl=n.div`
335
335
  display: flex;
336
336
  flex-direction: column;
337
337
  background-color: ${e=>e.theme.colors.grey5};
338
338
  border: 1px solid ${e=>e.theme.colors.grey3};
339
339
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
340
340
  border-radius: ${a.sp2};
341
- `,xl=n(K)`
341
+ `,bl=n(Q)`
342
342
  color: ${e=>e.theme.colors.champion};
343
343
  margin-bottom: ${a.sp3};
344
344
  `,wl=n.div`
@@ -372,7 +372,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
372
372
  justify-content: flex-end;
373
373
  display: flex;
374
374
  padding: 0 ${a.sp3};
375
- `,Dl=e=>{const{users:o,style:p}=e;return t.jsx(jl,{style:p,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>t.jsxs(Il,{children:[t.jsx(Ol,{children:`${i.firstName} ${i.lastName}`}),t.jsx(Qt,{name:`${i.firstName} ${i.lastName}`,size:a.sp4})]},i.userId)):t.jsx(Sl,{})})},B={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])},vl=ea.memo(function({isDisabled:e,label:o,avatarLabels:p,style:i}){const r=V();return t.jsxs(Fl,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(r),marginRight:B.labelMarginRight.value(r),marginTop:B.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(Dl,{users:p.users,style:{minHeight:B.controlHeight.value(r),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...p.style}})]})},Gt),Fl=n.div`
375
+ `,Dl=e=>{const{users:o,style:p}=e;return t.jsx(jl,{style:p,children:o.length!==0?o.filter(i=>!!i.firstName||!!i.lastName).map(i=>t.jsxs(Il,{children:[t.jsx(Ol,{children:`${i.firstName} ${i.lastName}`}),t.jsx(Kt,{name:`${i.firstName} ${i.lastName}`,size:a.sp4})]},i.userId)):t.jsx(Sl,{})})},B={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])},vl=ea.memo(function({isDisabled:e,label:o,avatarLabels:p,style:i}){const r=V();return t.jsxs(Fl,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(r),marginRight:B.labelMarginRight.value(r),marginTop:B.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(Dl,{users:p.users,style:{minHeight:B.controlHeight.value(r),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",...p.style}})]})},Gt),Fl=n.div`
376
376
  display: flex;
377
377
  flex-direction: row;
378
378
  align-items: flex-start;
@@ -392,7 +392,7 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
392
392
  border-bottom-left-radius: inherit;
393
393
  border-bottom-right-radius: inherit;
394
394
  }
395
- `,Te={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Cl({data:e,companyInfo:o,sectionId:p,isDisabled:i,isZeniUser:r,onScheduleClick:l}){const s=V(),{companyPassport:f,dateFormat:{visual:y}}=z.getLocalizedStrings(),u=Te.labelWidth.value(s),d=Te.mediumLabelWidth.value(s),I=Te.largeLabelWidth.value(s),O=e.company.company,{controllers:$,subscriptions:j}=e,{managementInfo:S}=O,g=s==="small"?f.zeniFinanceTeam.scheduleCallPlaceholderSmall:f.zeniFinanceTeam.scheduleCallPlaceholder,C=j.filter(b=>b.plan?.plan.name!=null).map(b=>({text:b.plan?.plan.name,subText:b.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),c=Bt(j.map(b=>b.addOns.map(U=>({text:U.addOn.name,subText:b.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),T=S.receiverEmails.map(b=>({text:b}));return t.jsxs(kl,{children:[t.jsx(Nl,{children:f.zeniFinanceTeam.title}),t.jsxs(Ll,{children:[t.jsx(vl,{label:{label:f.zeniFinanceTeam.controller,width:d},avatarLabels:{users:$.map(b=>b.user)}}),t.jsx(be,{}),r===!0?t.jsx(P,{isDisabled:i,label:{label:f.zeniFinanceTeam.scheduleCall,width:d},text:{type:"text",name:Tl(p,"meetingLink"),placeholder:g,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):o?.meetingLink!=null?t.jsx(ba,{label:{label:f.zeniFinanceTeam.scheduleCall,width:d},button:{buttonTitle:f.zeniFinanceTeam.schedule,onClick:()=>l(o.meetingLink)}}):null,T.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:T,listStyleType:"none"}})]}):null,C.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.subscriptionPlans,width:I},bullettedLabels:{labels:C,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(xe,{label:{label:f.zeniFinanceTeam.addons,width:d},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const Tl=(e,o)=>`${e}.${o}`,kl=n.div`
395
+ `,Te={labelWidth:new m(100,100,140),mediumLabelWidth:new m(140,150,160),largeLabelWidth:new m(160,180,180)};function Cl({data:e,companyInfo:o,sectionId:p,isDisabled:i,isZeniUser:r,onScheduleClick:l}){const s=V(),{companyPassport:f,dateFormat:{visual:y}}=z.getLocalizedStrings(),u=Te.labelWidth.value(s),d=Te.mediumLabelWidth.value(s),I=Te.largeLabelWidth.value(s),O=e.company.company,{controllers:$,subscriptions:j}=e,{managementInfo:S}=O,g=s==="small"?f.zeniFinanceTeam.scheduleCallPlaceholderSmall:f.zeniFinanceTeam.scheduleCallPlaceholder,C=j.filter(x=>x.plan?.plan.name!=null).map(x=>({text:x.plan?.plan.name,subText:x.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),c=Bt(j.map(x=>x.addOns.map(U=>({text:U.addOn.name,subText:x.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),T=S.receiverEmails.map(x=>({text:x}));return t.jsxs(kl,{children:[t.jsx(Nl,{children:f.zeniFinanceTeam.title}),t.jsxs(Ll,{children:[t.jsx(vl,{label:{label:f.zeniFinanceTeam.controller,width:d},avatarLabels:{users:$.map(x=>x.user)}}),t.jsx(xe,{}),r===!0?t.jsx(P,{isDisabled:i,label:{label:f.zeniFinanceTeam.scheduleCall,width:d},text:{type:"text",name:Tl(p,"meetingLink"),placeholder:g,defaultValue:o?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:_t}}}):o?.meetingLink!=null?t.jsx(xa,{label:{label:f.zeniFinanceTeam.scheduleCall,width:d},button:{buttonTitle:f.zeniFinanceTeam.schedule,onClick:()=>l(o.meetingLink)}}):null,T.length>0?t.jsxs(t.Fragment,{children:[t.jsx(xe,{}),t.jsx(be,{label:{label:f.zeniFinanceTeam.emailUs,width:u},bullettedLabels:{labels:T,listStyleType:"none"}})]}):null,C.length>0?t.jsxs(t.Fragment,{children:[t.jsx(xe,{}),t.jsx(be,{label:{label:f.zeniFinanceTeam.subscriptionPlans,width:I},bullettedLabels:{labels:C,listStyleType:"none"}})]}):null,c.length>0?t.jsxs(t.Fragment,{children:[t.jsx(xe,{}),t.jsx(be,{label:{label:f.zeniFinanceTeam.addons,width:d},bullettedLabels:{labels:c,listStyleType:"none"}})]}):null]})]})}const Tl=(e,o)=>`${e}.${o}`,kl=n.div`
396
396
  display: flex;
397
397
  flex-direction: column;
398
398
  padding-top: ${a.sp3};
@@ -404,16 +404,16 @@ import{e as V,V as t,c6 as ne,x as m,c7 as vt,k as h,y as Ft,a7 as Ct,T as Tt,c8
404
404
  border: 1px solid ${e=>e.theme.colors.grey3};
405
405
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
406
406
  border-radius: ${a.sp2};
407
- `,Nl=n(K)`
407
+ `,Nl=n(Q)`
408
408
  color: ${e=>e.theme.colors.champion};
409
409
  margin-bottom: ${a.sp3};
410
- `,be=n.div`
410
+ `,xe=n.div`
411
411
  display: flex;
412
412
  flex: 1;
413
413
  background-color: ${e=>e.theme.colors.grey3};
414
414
  min-height: 1px;
415
415
  max-height: 1px;
416
- `,ze={width:new m(343,580,726),buttonWidth:new m(85,85)},lt="companyPassportPage",Ee="companyInfo",Ve="companyIncInfo",Me="companyTaxInfo",Ae="primaryContact",We="companyOfficer",Be="zeniFinanceTeam";function oo(e){const o=V(),p=Ft(),{companyPassportView:i,isZeniUser:r,filesEndPoint:l,authParams:s,allIndustries:f,allNationalityCountries:y,isCompanyVerified:u,isDisabled:d,isSettings:I=!1,onCompanyDetailsChanged:O,onCompanyOfficerUpdated:$,onNewCompanyOfficerAdded:j,onPrimaryContactDetailsUpdated:S,onNewCompanyOfficerRemoved:g,onSaveAll:C,onAddressClick:c,onScheduleClick:T,onBackClick:b,onResetClick:U,onEditFileName:le,updateFilesEntity:q,onDeleteFile:$e,onClickMenuIcon:Se}=e,{companyView:H,localData:_,deleteFileStatusById:se,updateFileStatusById:re}=i,{companyFiles:Q}=_,de={authParams:s,filesEndPoint:l,onEditFileName:le,onDeleteFile:$e,updateFilesEntity:q},[G,Z]=Y.useState(void 0),{companyDetails:ce,primaryContact:Oe,companyOfficerUpdateStatus:k,updateStatus:D}=_,{localData:pe,addressStatus:St}=ce,_e=Ct(D.fetchState),me=Object.values(k).filter(he=>he.localData!=null),R=Tt({mode:"all",defaultValues:it(_,f,y)});Y.useEffect(()=>()=>{Z(void 0)},[]),Y.useEffect(()=>{_e==="In-Progress"&&(D.fetchState==="Completed"||D.fetchState==="Error")&&(R.reset(it(_,f,y)),G!==D.fetchState&&Z(D.fetchState))},[G,R,_e,D,_,H,f,y,Q]),Y.useEffect(()=>{const he=R.watch((Re,{name:Ye})=>{Ye!=null&&Re!=null&&kt(()=>(async(J,v)=>{if(J.includes(Ee)||J.includes(Ve)||J.includes(Me)||J.includes(Be)){const{companyInfo:M,companyIncInfo:N,companyTaxInfo:X,zeniFinanceTeam:je}=v;O({companyInfo:M,incInfo:N,taxDetails:X,zeniFinanceTeam:je})}else if(J.includes(Ae)){S(v.primaryContact);const M=v.companyOfficer.map(N=>N.userId);if(v.primaryContact.userId!=null&&M.includes(v.primaryContact.userId)){const N=M.findIndex(X=>X===v.primaryContact.userId);N>=0&&$({...v.companyOfficer[N],name:v.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(J.includes(We)){const M=parseInt(J.split(".")[1]);if(M>=0)$({...v.companyOfficer[M],officerType:`Officer_${M+1}`}),v.companyOfficer[M].userId!=null&&v.companyOfficer[M].userId===v.primaryContact.userId&&S({...v.primaryContact,name:v.companyOfficer[M].name});else if(v.companyOfficer.length>me.length){const N=v.companyOfficer[v.companyOfficer.length-1];j(N)}else{const N=v.companyOfficer.filter(X=>X.officerType!=null);if(N.length<me.length){const X=N.map((je,Dt)=>{const Ue={...je,officerType:`Officer_${Dt+1}`};return $(Ue),Ue});N.length<me.length&&(g(`Officer_${N.length+1}`),R.reset({companyOfficer:X}))}}}})(Ye,Re))});return()=>{he.unsubscribe()}});const Ot=R.handleSubmit(he=>{G!=null&&Z(void 0),C()}),{companyPassport:ue,common:{settings:jt}}=z.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(Pl,{children:[t.jsx(Lt,{title:ue.title,backgroundColor:p.colors.grey4,style:{zIndex:3},onBackClick:b,showBackButton:!I,showMenuIcon:!!I&&(o==="medium-compact"||o==="small"),source:"CompanyPassportPage",onClickMenuIcon:Se}),G!=null?t.jsx(Ta,{fetchState:G,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(zl,{children:[t.jsx(El,{windowSize:o,children:I?jt.infoText.companyDetails:ue.quickAccessInfo}),t.jsx(Nt,{...R,children:t.jsxs("form",{id:ot(lt),onSubmit:Ot,children:[t.jsx(Ba,{sectionId:Ee,companyInfo:pe?.companyInfo,companyViewData:H,companyAddress:St,isDisabled:d,isCompanyVerified:u,onCompanyAddressClick:c,allIndustries:f,allNationalityCountries:y}),t.jsx(ka,{sectionId:Ve,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:Q,companyIncInfo:pe?.incInfo,fileProps:de,isDisabled:d}),t.jsx(cl,{sectionId:Me,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:Q,companyTaxInfo:pe?.taxDetails,fileProps:de,isDisabled:d}),t.jsx(yl,{sectionId:Ae,primaryContact:Oe.localData,isDisabled:d}),t.jsx(Za,{companyOfficers:me,sectionId:We,isDisabled:d,onOfficerAddressClick:c}),t.jsx(Cl,{data:H,companyInfo:pe?.companyInfo,isDisabled:d,isZeniUser:r,sectionId:Be,onScheduleClick:T})]})})]}),Pt(R.formState.dirtyFields)||la(_,H,Q)?t.jsx(zt,{formId:ot(lt),primaryBtn:{label:ue.save,isLoading:D.fetchState==="In-Progress",style:{width:ze.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ue.cancel,style:{width:ze.buttonWidth.value(o)},onClick:()=>{R.reset(),U()}}}):null]})}const ot=e=>`${e}_form`,it=(e,o,p)=>{const{companyDetails:i,primaryContact:r,companyOfficerUpdateStatus:l}=e,s=z.getLocalizedStrings().companyPassport,f=i.localData?.incInfo.fileId!=null?[i.localData?.incInfo.fileId]:[],y=i.localData?.taxDetails.fileId!=null?[i.localData?.taxDetails.fileId]:[],u=i.localData?.companyInfo;return{[Ee]:{...Et(i.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:u?.businessModel,allOptions:s.companyInfo.allBusinessModels},website:u?.website?.toString()??"",industry:{selectedOption:u?.industry,allOptions:o?.map(d=>d.code)},companyIndustryType:{selectedOption:u?.companyIndustryType,allOptions:[...ht]},subIndustry:{selectedOption:u?.companySubIndustry,allOptions:ke(u?.companyIndustryType)},firstMonthOfFY:u?.firstMonthOfFY,companySourceOfFunds:{selectedOption:u?.companySourceOfFunds,allOptions:[...ut]},companySourceOfFundsDescription:u?.companySourceOfFundsDescription,countriesOfOperations:nt(u?.countriesOfOperations,(p??[]).map(d=>d.countryCode)),transactionVolume:{selectedOption:u?.transactionVolume,allOptions:[...mt]},transactionVolumeDescription:u?.transactionVolumeDescription,regulatedStatus:u?.regulatedStatus??"",regulatedStatusDescription:u?.regulatedStatusDescription,usNexus:u?.usNexus??"",usNexusTypes:{selectedOptions:u?.usNexusTypes??[],allOptions:[...pt]},purposeOfAccount:{selectedOption:u?.purposeOfAccount,allOptions:[...ct]},purposeOfAccountDescription:u?.purposeOfAccountDescription},[Me]:{...i.localData?.taxDetails,taxesFiledYears:{selectedOptions:i.localData?.taxDetails.taxesFiledYears.map(d=>d.toString())??[],allOptions:ft().map(d=>d.toString())},einDocument:e.companyFiles.find(d=>d.documentType==="tax_ein"),fileIds:y},[Ve]:{typeOfInc:{selectedOption:i.localData?.incInfo?.typeOfInc,allOptions:s.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:i.localData?.incInfo?.stateOfInc,allOptions:s.companyIncInfo.allStatesOfIncorporation},incDate:i.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),fileIds:f},[Ae]:{userId:r.localData?.userId,name:{firstName:r.localData?.firstName,lastName:r.localData?.lastName},email:r.localData?.email},[We]:Object.values(l).filter(d=>d.localData!=null).map(d=>{const I=d.localData;return{userId:I.userId,officerType:I.officerType,name:{firstName:I.firstName,lastName:I.lastName},email:I.email,phone:I.phone}}),[Be]:{meetingLink:i.localData?.companyInfo.meetingLink?.toString()??""}}},Pl=n.div`
416
+ `,ze={width:new m(343,580,726),buttonWidth:new m(85,85)},lt="companyPassportPage",Ee="companyInfo",Ve="companyIncInfo",Me="companyTaxInfo",Ae="primaryContact",We="companyOfficer",Be="zeniFinanceTeam";function oo(e){const o=V(),p=Ft(),{companyPassportView:i,isZeniUser:r,filesEndPoint:l,authParams:s,allIndustries:f,allNationalityCountries:y,isCompanyVerified:u,isDisabled:d,isSettings:I=!1,onCompanyDetailsChanged:O,onCompanyOfficerUpdated:$,onNewCompanyOfficerAdded:j,onPrimaryContactDetailsUpdated:S,onNewCompanyOfficerRemoved:g,onSaveAll:C,onAddressClick:c,onScheduleClick:T,onBackClick:x,onResetClick:U,onEditFileName:le,updateFilesEntity:q,onDeleteFile:$e,onClickMenuIcon:Se}=e,{companyView:H,localData:_,deleteFileStatusById:se,updateFileStatusById:re}=i,{companyFiles:K}=_,de={authParams:s,filesEndPoint:l,onEditFileName:le,onDeleteFile:$e,updateFilesEntity:q},[G,Z]=Y.useState(void 0),{companyDetails:ce,primaryContact:Oe,companyOfficerUpdateStatus:k,updateStatus:D}=_,{localData:pe,addressStatus:St}=ce,_e=Ct(D.fetchState),me=Object.values(k).filter(he=>he.localData!=null),R=Tt({mode:"all",defaultValues:it(_,f,y)});Y.useEffect(()=>()=>{Z(void 0)},[]),Y.useEffect(()=>{_e==="In-Progress"&&(D.fetchState==="Completed"||D.fetchState==="Error")&&(R.reset(it(_,f,y)),G!==D.fetchState&&Z(D.fetchState))},[G,R,_e,D,_,H,f,y,K]),Y.useEffect(()=>{const he=R.watch((Re,{name:Ye})=>{Ye!=null&&Re!=null&&kt(()=>(async(J,v)=>{if(J.includes(Ee)||J.includes(Ve)||J.includes(Me)||J.includes(Be)){const{companyInfo:M,companyIncInfo:N,companyTaxInfo:X,zeniFinanceTeam:je}=v;O({companyInfo:M,incInfo:N,taxDetails:X,zeniFinanceTeam:je})}else if(J.includes(Ae)){S(v.primaryContact);const M=v.companyOfficer.map(N=>N.userId);if(v.primaryContact.userId!=null&&M.includes(v.primaryContact.userId)){const N=M.findIndex(X=>X===v.primaryContact.userId);N>=0&&$({...v.companyOfficer[N],name:v.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(J.includes(We)){const M=parseInt(J.split(".")[1]);if(M>=0)$({...v.companyOfficer[M],officerType:`Officer_${M+1}`}),v.companyOfficer[M].userId!=null&&v.companyOfficer[M].userId===v.primaryContact.userId&&S({...v.primaryContact,name:v.companyOfficer[M].name});else if(v.companyOfficer.length>me.length){const N=v.companyOfficer[v.companyOfficer.length-1];j(N)}else{const N=v.companyOfficer.filter(X=>X.officerType!=null);if(N.length<me.length){const X=N.map((je,Dt)=>{const Ue={...je,officerType:`Officer_${Dt+1}`};return $(Ue),Ue});N.length<me.length&&(g(`Officer_${N.length+1}`),R.reset({companyOfficer:X}))}}}})(Ye,Re))});return()=>{he.unsubscribe()}});const Ot=R.handleSubmit(he=>{G!=null&&Z(void 0),C()}),{companyPassport:ue,common:{settings:jt}}=z.getLocalizedStrings();if(H==null)throw new Error("Company View is null");return t.jsxs(Pl,{children:[t.jsx(Lt,{title:ue.title,backgroundColor:p.colors.grey4,style:{zIndex:3},onBackClick:x,showBackButton:!I,showMenuIcon:!!I&&(o==="medium-compact"||o==="small"),source:"CompanyPassportPage",onClickMenuIcon:Se}),G!=null?t.jsx(Ta,{fetchState:G,onRemoveSnackbar:()=>Z(void 0)}):null,t.jsxs(zl,{children:[t.jsx(El,{windowSize:o,children:I?jt.infoText.companyDetails:ue.quickAccessInfo}),t.jsx(Nt,{...R,children:t.jsxs("form",{id:ot(lt),onSubmit:Ot,children:[t.jsx(Ba,{sectionId:Ee,companyInfo:pe?.companyInfo,companyViewData:H,companyAddress:St,isDisabled:d,isCompanyVerified:u,onCompanyAddressClick:c,allIndustries:f,allNationalityCountries:y}),t.jsx(ka,{sectionId:Ve,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:K,companyIncInfo:pe?.incInfo,fileProps:de,isDisabled:d}),t.jsx(cl,{sectionId:Me,updateFileStatusById:re,deleteFileStatusById:se,companyFiles:K,companyTaxInfo:pe?.taxDetails,fileProps:de,isDisabled:d}),t.jsx(yl,{sectionId:Ae,primaryContact:Oe.localData,isDisabled:d}),t.jsx(Za,{companyOfficers:me,sectionId:We,isDisabled:d,onOfficerAddressClick:c}),t.jsx(Cl,{data:H,companyInfo:pe?.companyInfo,isDisabled:d,isZeniUser:r,sectionId:Be,onScheduleClick:T})]})})]}),Pt(R.formState.dirtyFields)||la(_,H,K)?t.jsx(zt,{formId:ot(lt),primaryBtn:{label:ue.save,isLoading:D.fetchState==="In-Progress",style:{width:ze.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:ue.cancel,style:{width:ze.buttonWidth.value(o)},onClick:()=>{R.reset(),U()}}}):null]})}const ot=e=>`${e}_form`,it=(e,o,p)=>{const{companyDetails:i,primaryContact:r,companyOfficerUpdateStatus:l}=e,s=z.getLocalizedStrings().companyPassport,f=i.localData?.incInfo.fileId!=null?[i.localData?.incInfo.fileId]:[],y=i.localData?.taxDetails.fileId!=null?[i.localData?.taxDetails.fileId]:[],u=i.localData?.companyInfo;return{[Ee]:{...Et(i.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription","companyIndustryType","companySubIndustry"]),businessModel:{selectedOption:u?.businessModel,allOptions:s.companyInfo.allBusinessModels},website:u?.website?.toString()??"",industry:{selectedOption:u?.industry,allOptions:o?.map(d=>d.code)},companyIndustryType:{selectedOption:u?.companyIndustryType,allOptions:[...ht]},subIndustry:{selectedOption:u?.companySubIndustry,allOptions:ke(u?.companyIndustryType)},firstMonthOfFY:u?.firstMonthOfFY,companySourceOfFunds:{selectedOption:u?.companySourceOfFunds,allOptions:[...ut]},companySourceOfFundsDescription:u?.companySourceOfFundsDescription,countriesOfOperations:nt(u?.countriesOfOperations,(p??[]).map(d=>d.countryCode)),transactionVolume:{selectedOption:u?.transactionVolume,allOptions:[...mt]},transactionVolumeDescription:u?.transactionVolumeDescription,regulatedStatus:u?.regulatedStatus??"",regulatedStatusDescription:u?.regulatedStatusDescription,usNexus:u?.usNexus??"",usNexusTypes:{selectedOptions:u?.usNexusTypes??[],allOptions:[...pt]},purposeOfAccount:{selectedOption:u?.purposeOfAccount,allOptions:[...ct]},purposeOfAccountDescription:u?.purposeOfAccountDescription},[Me]:{...i.localData?.taxDetails,taxesFiledYears:{selectedOptions:i.localData?.taxDetails.taxesFiledYears.map(d=>d.toString())??[],allOptions:ft().map(d=>d.toString())},einDocument:e.companyFiles.find(d=>d.documentType==="tax_ein"),fileIds:y},[Ve]:{typeOfInc:{selectedOption:i.localData?.incInfo?.typeOfInc,allOptions:s.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:i.localData?.incInfo?.stateOfInc,allOptions:s.companyIncInfo.allStatesOfIncorporation},incDate:i.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),fileIds:f},[Ae]:{userId:r.localData?.userId,name:{firstName:r.localData?.firstName,lastName:r.localData?.lastName},email:r.localData?.email},[We]:Object.values(l).filter(d=>d.localData!=null).map(d=>{const I=d.localData;return{userId:I.userId,officerType:I.officerType,name:{firstName:I.firstName,lastName:I.lastName},email:I.email,phone:I.phone}}),[Be]:{meetingLink:i.localData?.companyInfo.meetingLink?.toString()??""}}},Pl=n.div`
417
417
  display: flex;
418
418
  min-height: 100%;
419
419
  flex-direction: column;
@@ -1 +1 @@
1
- import{j as l}from"./pdf-A8jRKyoC.js";import{a as g}from"./sentry-COYnhuxW.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-B0nKoasK.js";import{y as E,js as C,jQ as P,k_ as F,bj as V,jz as A,I as L,ki as b,k$ as U,kv as _,ev as B,jO as M}from"./index-ByxsQZNo.js";import{ct as N,dl as G,oD as R,dg as z,bE as K,Kl as Y,bm as $,mK as H,my as J,hj as Q,iP as S,Km as X,bG as Z,bJ as D,iX as q,i_ as W}from"./zeni-epic-state-DCforPdM.js";import"./mui-40xepic5.js";import{c as ee}from"./routePaths-CpPoI1xs.js";import{M as te}from"./MobileAppDrawer-CXepfp6e.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]="f9e18e1f-4366-4c3b-972f-1ccd9a70d592",n._sentryDebugIdIdentifier="sentry-dbid-f9e18e1f-4366-4c3b-972f-1ccd9a70d592")}catch{}})();const ne=j(function(n){const s=z(n),r=C.getSignedInUser(),p=N(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=Y(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:$(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?D(c):void 0,meetingLink:m!=""&&m!=null?D(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(J(e))},onEditFileName:(e,t)=>{n(H(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>N(i)),c=I.companyId??C.getSignedInUserTenant(p)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,b(r)?"Settings":"Company Passport")}),b(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:b(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
1
+ import{j as l}from"./pdf-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-BHAcVHeH.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-WWdcktge.js";import{M as te}from"./MobileAppDrawer-CTcTm5tx.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-ByxsQZNo.js";import{a as B,b as c}from"./sentry-COYnhuxW.js";import{n as o}from"./mui-40xepic5.js";import{bs as Z}from"./zeni-epic-state-DCforPdM.js";import{Z as z}from"./LabeledNameField-364jsrFK-CaN5hIDf.js";import{$ as X}from"./LabeledAddressValue-BCsadhSu-lscFDQOa.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="118e3964-c34a-4233-a526-95f6d8dbad33",A._sentryDebugIdIdentifier="sentry-dbid-118e3964-c34a-4233-a526-95f6d8dbad33")}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,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBg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gIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),e=G.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(A,i)=>`${A}.${i}`,SA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:S,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:y,onResendOtp:f})=>{const[I,a]=B.useState(!1),[k,Y]=B.useState(!1),t=P({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=O({control:t.control,name:`${Q}.address`}),{dateFormat:F}=G.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=t.handleSubmit(C=>{C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone?h():D&&D(C)}),{sendOtpStatus:R,otpVerificationStatus:s,otpChallenge:U,phone:K}=r,b=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:b,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)=>{y(C,d)},onResendOtp:C=>{C!=null&&C.trim().length>0&&f(C)},isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:R,verifiedPhoneNumber:s.fetchState==="Completed"?K: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-BHAcVHeH.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-DBRkdNqp.js";import{$ as X}from"./LabeledAddressValue-CY4Fn72d-VdKSkT_l.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,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQI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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`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -0,0 +1 @@
1
+ import{cx as c,v as f,V as a,ap as d,o as r}from"./index-BHAcVHeH.js";import{a as n}from"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6288b3a2-8f8c-4b95-bcb2-caa10942c799",t._sentryDebugIdIdentifier="sentry-dbid-6288b3a2-8f8c-4b95-bcb2-caa10942c799")}catch{}})();const C=({showConfetti:t})=>{const[e,o]=n.useState(t),[s,i]=c("https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",t),[p]=f("ConfettiSuccess");return n.useEffect(()=>{t&&o(!0)},[t]),n.useEffect(()=>{e&&s===!1&&i(!0)},[e,s,i]),a.jsx(a.Fragment,{children:e&&s&&p!=null?a.jsx(d,{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{C as default};
@@ -1,4 +1,4 @@
1
- import{j as I}from"./pdf-A8jRKyoC.js";import{a}from"./sentry-COYnhuxW.js";import{i as x,u as c,N as S}from"./core-B0nKoasK.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-DCforPdM.js";import{jr as O,js as u,jt as C,O as A,o as U}from"./index-ByxsQZNo.js";import{n as _}from"./mui-40xepic5.js";import{t as H}from"./getLocaleForTenant-DGG0tVFT.js";import{Q as F}from"./QBOConnectionScreen-DPXluGT3.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./empty-DA-JSLu3.js";import"./pdf-lib-mQnebn-k.js";import"./index-CEBFS-eA.js";import"./url-XCmE-JaB.js";import"./index-zhMcpxMF.js";import"./decodeURIComponentSafe-CHDtTf3Z.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-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-BHAcVHeH.js";import{n as _}from"./mui-Cni6P-fz.js";import{t as H}from"./getLocaleForTenant-DZi5Q22y.js";import{Q as F}from"./QBOConnectionScreen-BDwso3KZ.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`
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-ByxsQZNo.js";import{a as i}from"./sentry-COYnhuxW.js";import{n}from"./mui-40xepic5.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-BHAcVHeH.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`
2
2
  width: auto;
3
3
  max-width: var(--side-panel-list-width, 100%);
4
4
  position: relative;