@zeniai/web-cockpit-ui 1.15.9-dev → 1.15.10-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 (281) hide show
  1. package/dist/assets/{ACHDetailsPage-BVkQ4K87-2mUod8Ze.js → ACHDetailsPage-BtE9TY6d-C9maaZu_.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BRTJZGiA-Uj0zJbS1.js → AIPerformancePage-BkDJ2ST0-Dzxt81Gg.js} +12 -12
  3. package/dist/assets/AccountInfoPage-CTbeJLI7-C29oNV5j.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js → AccountInfoPageContent-BUTcEduM-DVKpBXHq.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js → AccountLockedInfoModal-v6aQO7JB-xH0-ZPkG.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js → AccountReconDetailsDrawerPage-DIAg-5PN-B1-bYNLU.js} +1 -1
  7. package/dist/assets/{AccountRow-DvTUqeYB-Coj4ZTWN.js → AccountRow-BVKk7u7h-CDJSAP1l.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js → AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js} +17 -17
  9. package/dist/assets/{AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js → AddAddressForCardDrawer-DDTSYpDb-gu3pix_O.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DuHNwXF4-B3zEKxpl.js → AddToWalletPage-D2Qg0MR_-DL2aRvxj.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BK1LaJ_w-yS7wx6wk.js → AgingReportsPage-_mSqD2hW-Boesp-Ca.js} +1 -1
  12. package/dist/assets/{AllUserItems-CH9ybX41-BtFVBAV4.js → AllUserItems-CLsMcXeg-B7yfRaza.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js → ApAgingDetailPage-BsJuvMuy-C0lGm0Hq.js} +4 -4
  14. package/dist/assets/{AppBasePage-DhCn4MFY-D-3ZnoCB.js → AppBasePage-BxGd2ny5-CxKcTkZB.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-oxbBkFJu-CMnZN7jn.js → AppDrawerContent-DzQ2jw8d-B8p2K7qi.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js → ApprovalRulesSettingsPage-6n8xLG5c-9HDMDjw5.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DDYQFnOL-BvAsGOBT.js → ArAgingChart-B3T4qk8t-CVyLgEv4.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js → ArAgingDetailPage-pdf0VjeI-BUmI9Ihk.js} +5 -5
  19. package/dist/assets/{AttachmentView-BreMzQ_m-BNxecg_Q.js → AttachmentView-BJfqJ9hP-BtlO-7I1.js} +1 -1
  20. package/dist/assets/{BankAccountSection-1WOCLgt5-BoGJh_uP.js → BankAccountSection-Cd_h3co--DCzIyA5D.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js → BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js → BankConnectionsSettingsPage-P-hobvq_-BOnK_glB.js} +1 -1
  23. package/dist/assets/{BillDetailPage-NeZduyMi-6p7P1QOU.js → BillDetailPage-B-_gbDGZ-BtpvnzvD.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js → BillPayApprovalRuleDetailPage-CyoqtTu1-C1sdR4PX.js} +4 -4
  25. package/dist/assets/BillPayApprovalRulesPage-CTRvfoZN-BLcwl2yw.js +241 -0
  26. package/dist/assets/{BillPayPromoPage-DFXybg0r-B5uuR3JI.js → BillPayPromoPage-OYlocjA7-7DEWsR0V.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CP6gsxaz-BVI06dHo.js → BillPaySetUpPage-B8_IEgff-CAWPUMJX.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D6BmklmO-DmihnPn_.js → BillingSettingsPage-DqO-9dDI-7RCoKyM1.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js → BillsBulkReviewDrawerPage-B-nfpiM2-CiONs4dM.js} +1 -1
  30. package/dist/assets/{BoxItem-CjZDlBaw-C6EB-mJ-.js → BoxItem-C-LLQ7NS-CyKsGaF0.js} +5 -5
  31. package/dist/assets/{BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js → BusinessVerificationPage-BD-G0QbW-BuRfqr04.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BFe7Gawq-B8S1I_DT.js → CardNumberSubText-CPcuTV6V-CmAy0kVV.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-4R2WSvUG-DpCyR1av.js → CashbackDetailPage-CzEHO7NM-DhooXBnW.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js → ChargeCardDetailPage-DpA9C48D-Cg9lUs5_.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js → ChargeCardListPage-igseWp-z-CgO4ULTe.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BZVA1znA-1HTc8EZK.js → ChargeCardListTable-C-nM1SEM-CukpO46W.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js → ChargeCardPaymentHistoryPage-TCuBt2Cv-BDmH-kNH.js} +13 -13
  38. package/dist/assets/{ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js → ChargeCardPromoPage-DEjWh0Ax-DtQMu7KS.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js → ChargeCardSetupPage-zdLpdeJV-CBsuPE8U.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js → ChargeCardStatementsPage-D42XfAtE-RchDbumz.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js → CheckDepositDrawerPage-DC1L83fB-BCa5n7-H.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CpOmWQO--CCW_jG6A.js → CollapsableReportTable-BWfFYJbH-BIiPdpTy.js} +74 -74
  43. package/dist/assets/{CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js → CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BPpSNcXb-DiAvuMuN.js → CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js → CompanyPassportPage-CrqL6_wm-C8yNeeq6.js} +12 -12
  46. package/dist/assets/{CompleteProfile-BPllbFai-CKGTWhqU.js → CompleteProfile-BP-MRXpZ-BD6u4U_v.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-DweZPNXH-B1074GKy.js → ConfettiBurst-D2FdlxTA-BPfMfLCc.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js → CreateOrEditVendorPage-D2Cuyhtu-CjSilO-g.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js → CreditCardPaymentDrawerPage-LQiWqyEO-5RaHGm67.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DoUpgUNU-D3sxrlik.js → CurrencySelectField-Dpcv7_rA-DStJFuSr.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js → CustomerOnboardingActivationPage-BRWiLUVc-B8_ST9_b.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-DSwc8Dwv.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js → CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js → CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js} +2 -2
  55. package/dist/assets/{CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js → CustomerOnboardingPage-DKcr5stz-DRi352cJ.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-CoEVNP5O.js +202 -0
  57. package/dist/assets/{Dashboard-C1UoKVNa-DwZITN_K.js → Dashboard-DMAOn7Hi-CGGVivU9.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-b0pHN0Cw-BW6hDiSR.js → DashboardReportPage-UUd1-ITz-DMCD3HWG.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js → DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js → DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js → DepositAccTransactionListPage-DyH-aZDX-DTHKAa1Z.js} +2 -2
  62. package/dist/assets/{DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js → DomesticWireDetailsPage-Bk5AZOQt-CMcHRFaW.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CxtxqO0q-Dz3uXEue.js → DownloadOverlay-BOYOF8Po-BwD6Afat.js} +1 -1
  64. package/dist/assets/{DrawerPage-iKzWhzfT-CLN7Nqu9.js → DrawerPage-BGGHNo0X-DCBr8o9E.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-CjM-4H28-mYmRRYC8.js → EditPeoplePage-CEiwvizd-D-zbL-nU.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js → EditReimbursementDetailPage-DBLDLvqO-C54aQF5d.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-B0W-V9jY-CqJeONU8.js → EntityDetailPage-Cd3eku5o-D0l7oH4S.js} +2 -2
  68. package/dist/assets/{EntitySummarySection--ty3w4lI-o5ULFAtA.js → EntitySummarySection-Ddaj1RmO-DBcpL5Yc.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js → ExpenseAutomationOverviewPage-B_BlqiWf-CaFabiLU.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js → ExpenseAutomationPage-DfUf0zEN-B6VJ2UJy.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DITkk_1c-BtyionmY.js → ExpressPayPage-Da8lLZso-Cwv7Clar.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js → FeaturePreviewPage-CmrPDUFU-5rcSl0eb.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-CaSXYy6M-CzewjFd_.js → FollowStepsSection-DbxSUIzC-BaXmlzKU.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-D1MK5CDU-DobUC1e8.js → GlobalReviewListPage-Du_3tupM--fNfq6rW.js} +1 -1
  75. package/dist/assets/{InformationCardStack-WI0CkBUF-D7YCWLUH.js → InformationCardStack-Bx_9X95v-xPOrStCv.js} +3 -3
  76. package/dist/assets/{InsightsCardStack-28f145Lw-BuefuxqU.js → InsightsCardStack-Xn2rGwX0-BAx1TkHE.js} +1 -1
  77. package/dist/assets/{InsightsSection-iq6BFe-O-DA4Jx3vy.js → InsightsSection-CwyGEE7C-BgS40gth.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js → IntegrationsSettingsPage-CEL26-eE-DfibyIun.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js → InternationalWireSwiftDetailsPage-IUz-DwAH-CGr6Gc70.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js → InternationalWireVerificationPage-C66rHdsi-fqJ5C72A.js} +1 -1
  81. package/dist/assets/{InviteFormPage-CZ9su_ZA-CsfVdhXE.js → InviteFormPage-Do-6PG8h-C-rzmYCh.js} +1 -1
  82. package/dist/assets/{InvitePageListView-Db5vL4dK-NFzFyNlR.js → InvitePageListView-DYKcMtIL-nvuj34Qe.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js → InvitePeoplePage-C2SmS7y8-BN_wFYgu.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-DEchJrtp-C92WVr8V.js → InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js → IssueChargeCardPage-DZvVosb3-C2W1gOfV.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-jMXXok9a-C_alXtK_.js → LabeledAddressValue-CAX5YTSE-BfVvpzvP.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js → LabeledAddressValueField-BraOMDrG-CfBm_XIY.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js → LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js → LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js → LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DtsIRcRg-LgfBBRyq.js → LabeledDocumentField-BdQjt44W-EnLXAA71.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js → LabeledDropDownFormattedTextField-BheK7sFg-D0D4XYai.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js → LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js} +1 -1
  94. package/dist/assets/{LabeledText-Deyr6isW-Cw3u4ojj.js → LabeledText-C6M4paXi-dAFR23d7.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js → LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js → LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js → LinkJETransactionPage--sqluuih-VivXIc5D.js} +2 -2
  98. package/dist/assets/{LockCardPage-CXZAffaX-CqLS5XfJ.js → LockCardPage-Bq0Tu8g8-C6m1-JJ1.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BRxiaGRC-CJ9ANz96.js → LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-Dk0xalTl.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-Dbss_Tqv.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-BkDmu3l4.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js → MagicLinkSuccessPage-D6ZDRs5F-DQNiPx3u.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js → MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js} +1 -1
  105. package/dist/assets/MailingDetailsSection--Lx7QBGW-BxmiDkr6.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js → MyBankConnectionsSettingsPage-Bb7UZRJf-B5XKMom_.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js → MyPendingActivationChargeCardListPage-BToJWGM8-CjAx4TXN.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js → MyProfileSettingsPage-CGxf42bP-Cc5RApxz.js} +5 -5
  109. package/dist/assets/{NavBarWithPicker-C4ExxFQW-CBeQSmTW.js → NavBarWithPicker-DcDs1pe7-RUEHjYNa.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CJOSZIEx-Vi5xYiOy.js → NavigationArrow-DGSdnTKQ-CgfnFgIs.js} +1 -1
  111. package/dist/assets/{NavigationDots-DgfBVlG5-Begp91rh.js → NavigationDots-BPsFQiss-Dqh0y0c_.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js → NewGlobalMerchantPage-od2IF__o-BUeowAQW.js} +1 -1
  113. package/dist/assets/{NoDataChart-Bwc_xftR-BPirwt2c.js → NoDataChart-qG0jmc8Z-Dctec7eR.js} +1 -1
  114. package/dist/assets/{NoDataTable-D_VKD0kA-DmQluo-I.js → NoDataTable-CgKT7NGU-CuzMQ4sx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CLkfFo_R-C8j5B2Ga.js → NotFoundPage-CdUJ7M5p-DbLXvN2b.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-CC1kNoTw-DotH2NS5.js → NotificationSettingsPage-D1PKq-ED-ChTF7VDn.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CEDk57Lr-DAddVQQW.js → NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DR_MVYdY-CTDJJoO4.js → NotificationsPage-_5Yn9uTy-mxWdg1FN.js} +33 -33
  119. package/dist/assets/{OpExByVendorPage-CRkTiAd5-C0As_oOM.js → OpExByVendorPage-Dqr805s1-CqYYgxC3.js} +5 -5
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-CRFgbke2.js → OverlayContainerPage-IDTUbuAC-YfbThdai.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BCEjC9iA-DALj3dPN.js → PandLWithForecastPage-CQ5IMW_B-BHtqAaTy.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js → PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js} +7 -7
  123. package/dist/assets/{PeoplePage-D7D1SrW0-QS6a-b0Q.js → PeoplePage-DEp24LGx-BkYkgzLW.js} +1 -1
  124. package/dist/assets/Preview-XG6ky5VX.js +1 -0
  125. package/dist/assets/{ProductsCarousel-CSUU4sEb-_cwSUdhx.js → ProductsCarousel-Dgwws_g9-_dPrFjDV.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-CSisWvqE-flcR83jC.js → PromoBaseCards-wfvFaqMw-CY2jDhRy.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js → QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-B2c7ZErC-C8usnCBc.js → QBOSetupSection--FQKYLxN-LYuddynp.js} +7 -7
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js → ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-BdMg1RhW.js} +5 -5
  130. package/dist/assets/ReimbursementApprovalRulesPage-eyZWsjXs-Du4OL-aC.js +243 -0
  131. package/dist/assets/{ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js → ReimbursementDetailPage-DnSo6uTd-B2fnQcOh.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js → ReimbursementPromoPage-0st3rBmg-BJkFCzXz.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js → ReimbursementSetUpPage-DCMgwGAM-CVZuk20s.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js → ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-BW2L-YXt.js} +1 -1
  135. package/dist/assets/{ReloadCard-DQ8-0JyV-DB-bkjWN.js → ReloadCard-8Tiu9Mq9-WidMrFBg.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js → ReportTableViewSelector-BwBEG73W-D23xRsEe.js} +7 -7
  137. package/dist/assets/{ReportsPage-fjTk3JSs-DUY58vJz.js → ReportsPage-BxXxsNBv-dsPUH8v1.js} +5 -5
  138. package/dist/assets/{RevenueChart-BAlErS9A-BXzh7yRj.js → RevenueChart-D13bncyo-DisVSBsZ.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js → ReviewDetailsPage-C5q0Abn_-DCYfD4eU.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-Zcv9Vljd-hWfuTO7b.js → ReviewOverlay-BNnNWFdW-Dc8TbL95.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-D4abtguM-CazMvZo7.js → RoleWithToolTip-DvYf0VUz-DfyQTHhc.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js → ScheduleDetailsFixedAssetsPage-DqrwF4kG-YxjHzQUp.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js → ScheduleDetailsPage-CH2lKmlN-Db_nhPQU.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js → ScheduleSequenceTable-BzDIvZ9H-BagpGi8M.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-esZWtP8Y.js → ScreenRoutes-l2ZSRE3X.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-DHNGWTAX-B_r28Ehm.js → SetUpAccountSection-DOvqcC8t-DxYvNTsg.js} +1 -1
  147. package/dist/assets/{SignIn-8lCVuAse-CHvndysC.js → SignIn-CBRwaiPC-DSZbn4tf.js} +12 -12
  148. package/dist/assets/SignInScreen-DA-QJIMK.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js +134 -0
  150. package/dist/assets/SpendManagementPerTabPage-S5zX9fWg-B69ncWCU.js +754 -0
  151. package/dist/assets/{SpendManagementSection-p_rbwPsi-DexNllt-.js → SpendManagementSection-vo9WEGWQ-DV0kvnxH.js} +1 -1
  152. package/dist/assets/{StatementItem-BrFonWga-DiqKGCh-.js → StatementItem-BxnOzchG-C1vR7F9V.js} +5 -5
  153. package/dist/assets/StatementsPage-0BpH6B2F-c3HeY-pH.js +58 -0
  154. package/dist/assets/{StatusSwitcher-BWCVuAz5-D3jo7wqm.js → StatusSwitcher-Cj2oyfqn-GHqh8PSV.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-W-flws9A-BTelX8y_.js → SubTabSwitcher-B-gfkK-k-9khtx1-k.js} +1 -1
  156. package/dist/assets/{SummaryCard-Cy_49HY6-B5IOHtbz.js → SummaryCard-D92z4WU0-Dk2J87_c.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-CgcgC28Q-DPD0nZtS.js → TaskManagementPage-DND-MEly-DfQOsUTI.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js → TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CJnjD8oY-C839RlNd.js → TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js → TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js} +2 -2
  161. package/dist/assets/{TopExCard-CK7rIKlo-BNMHqp-4.js → TopExCard-B4CpuO-v-CxDodwtl.js} +3 -3
  162. package/dist/assets/{TopExDetailPage-Dc310wcN-BBhzZoVz.js → TopExDetailPage-BWdJnu-c-DDcIl_DR.js} +6 -6
  163. package/dist/assets/{TransactionDetailPage-BsSYhKxb-BeUI9jq4.js → TransactionDetailPage-CL_VbaJy-BG7mpSq_.js} +1 -1
  164. package/dist/assets/{TransactionList-CKgtf7lj-CeKhT4wB.js → TransactionList-CSfzB0gM-Dw6vqliW.js} +6 -6
  165. package/dist/assets/{TransactionListBig-DY6b3Ezl-DffujAvB.js → TransactionListBig-Dkdt0pvn-BZrDL6CH.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CDc30p4A-D4rmxF8E.js → TransactionListPage-DBAqpKkc-SGyXtVgm.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js → TransactionVendorDetailPage-BPb6IGMd-D5zJvpum.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-xTOs2aDo-Cdu71p0I.js → TransferDrawerPage-oyNu_G0D-C-dL6Rya.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js → TreasuryOverviewPage-DIPEykKC-C5rL0Wer.js} +9 -9
  170. package/dist/assets/{TreasuryPromoPage-PW6ExJSX-C2E-AneM.js → TreasuryPromoPage-wmxtzW1N-BB1K5PqR.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js → TreasuryStatementsPage-vHS-mb3R-Ddrpn04Q.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js → TreasuryTaxLetterPage-3fiYxv2D-Dg0xbQQQ.js} +1 -1
  173. package/dist/assets/{TrendChart-DGkb9XC6-TghRUAyK.js → TrendChart-dVd4QdGQ-CLKuTzb2.js} +2 -2
  174. package/dist/assets/{TrendWithTransactions-BhIw1vzx-DxHaizu4.js → TrendWithTransactions-zZUv_Qrs-BElxtx49.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js → UncategorizedAccountsMappingPage-CcyG64pA-0yQuhcbM.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js → UnitIntegrationPage-BL6g4XY0-fYnhKg75.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js → UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js → Vendor2FAPopup-CF5AV8a5-BsgzaDOa.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-B_wVoMw5-D4XhjcJ1.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DRLUdE3F-D_wc_LO2.js → VendorDetailPage-C168zV-E-B3dEwSOF.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-CosrcI_S.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js → VendorFiling1099EditablePage-DVrk7af6-wOFW-4Wi.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js → VendorFirstReviewPage-kiMBuYID-CtvtJJUg.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js → VendorInternationalWireDetailsPage-CtGJurq9-CCXwNCAZ.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-vnefUABQ.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js → VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BLi9cbRT-CwhVwlo_.js → VerifyDevice-DfX9VA7b-BdOPIyEo.js} +9 -9
  188. package/dist/assets/{VideoPlayer-BDCZd8K1-B6XIA6Sy.js → VideoPlayer-_FcQClfH-cuN5RcOe.js} +2 -2
  189. package/dist/assets/{VideoPopup-Cni9gWLX-Db1l5e36.js → VideoPopup-D0XTfD6q-CZBktelE.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js → WarningsDrawerPage-DIwWkX4B-B-UdjfAF.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js → ZeniAccountDetailPage-mo0trXHB-B20udciT.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js → ZeniAccountListViewPage-CVzyx1Sx-CoJhvG_N.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js → ZeniAccountNavBarPieces-CbXVnnp9-Dnxyvh_X.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js → ZeniAccountPromoPage-gZMYr_Ux-DJicJ7wt.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js → ZeniAccountSetupPage-DPOLAjZV-DJVpJ_Nd.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-D_tc-vwm-DQ7m38Jq.js → ZeniCopyright-BDUQdaKP-B6B-IB0N.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js → ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DMQostt2.js → add-to-wallet-DgdBD8_G-BBEivBdQ.js} +1 -1
  199. package/dist/assets/{analytics-YsywGP0I.js → analytics-DO1unY4G.js} +1 -1
  200. package/dist/assets/{analyticsHelper-Bv2VSRHR-D5TeO7Fb.js → analyticsHelper-7cF4XxuH-_xEf-TSd.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CM3pI6rO.js → analyticsHelper-ZZI8M_53.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-BwMp8Z1R.js → arrow-south-east-round-PEovUgvH-CV7FSM6U.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CCCTiB9K.js → auto-transfer-rule-mbafm5D3-CJUhOMj-.js} +1 -1
  204. package/dist/assets/{chartTypes-CiiHHtlc-DhZqwiAZ.js → chartTypes-DjzTOuyH-BFNN0c4F.js} +1 -1
  205. package/dist/assets/{commonDimensions-B94VpAp0-CDUYcayo.js → commonDimensions-CtIrih5r-CfslRtQI.js} +1 -1
  206. package/dist/assets/{commonTypes-CG4vvGyc-CziHlkCE.js → commonTypes-9h2Y-L4i-CJG-nO2R.js} +1 -1
  207. package/dist/assets/{constants-D9J3MLx1.js → constants-pYZADjo8.js} +1 -1
  208. package/dist/assets/{core-mVc5WAnu.js → core-B9Znwqny.js} +1 -1
  209. package/dist/assets/{dash.all.min-DEG4Ymx5.js → dash.all.min-CS5kHJkT.js} +1 -1
  210. package/dist/assets/{detailCommon-D84jR8Js-CvDn1aAe.js → detailCommon-CEOeZl26-CdFIe8qF.js} +6 -6
  211. package/dist/assets/{downloadPdf-CU0hwe3m-B1XwfpLd.js → downloadPdf-Pyk_BhF7-WEbr68vS.js} +1 -1
  212. package/dist/assets/{empty-5WWfUuj_.js → empty-ChJVx-YB.js} +1 -1
  213. package/dist/assets/{empty-DgV33Jfm.js → empty-CpGZk5F5.js} +1 -1
  214. package/dist/assets/{epic-BDbWyMmO.js → epic-C_GKKQik.js} +2 -2
  215. package/dist/assets/{gift-box-Cmt9OgIZ-DkfKk8Ub.js → gift-box-Cmt9OgIZ-DNEMczKk.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdD14QZ1.js → graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js → graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BtKj2QSx.js → handshake-BPg58FML-C6X_P0qB.js} +1 -1
  219. package/dist/assets/{index-DfP1TP46.js → index-1k0W8uO3.js} +1 -1
  220. package/dist/assets/{index-DBHzoy-Y.js → index-BFgzVTwo.js} +1 -1
  221. package/dist/assets/{index-AqGiWrum.js → index-BhvUwV_v.js} +8 -8
  222. package/dist/assets/{index-B0WS5HXc.js → index-CPEwTrV2.js} +1 -1
  223. package/dist/assets/{index-0lgepYHN.js → index-CfJ2tiIp.js} +1 -1
  224. package/dist/assets/{index-CneahQyi.js → index-DpdT_X0L.js} +1 -1
  225. package/dist/assets/{index-s8Qql19x.js → index-POT-Iy9l.js} +1 -1
  226. package/dist/assets/{lexical-D1NyDz9G.js → lexical-DSIpBzCF.js} +1 -1
  227. package/dist/assets/{liveblocks-D8QW-YrN.js → liveblocks-BqcT5iTZ.js} +1 -1
  228. package/dist/assets/{lottie-CoVfqInY.js → lottie-oQfNS8l-.js} +2 -2
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js → mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js → mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js} +1 -1
  235. package/dist/assets/{mui-C_Pjuwl5.js → mui-DqYnCiYu.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-CwgQ04Z1.js → page-detail-CWX5S47F-C4YmGfRe.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-DOAN6MGR.js → radio-default-CiSgisfh-C5tnzklf.js} +1 -1
  238. package/dist/assets/{react-UmTxIL5W.js → react-B-LXbQdG.js} +2 -2
  239. package/dist/assets/{react-B4qkP2kJ.js → react-BPazyT0C.js} +1 -1
  240. package/dist/assets/{react-B1uWJZNI.js → react-Bu5BHG8O.js} +2 -2
  241. package/dist/assets/{react-COMbZ_ke.js → react-CBiOQOL3.js} +2 -2
  242. package/dist/assets/{react-CYpEpWLK.js → react-D2eQzOPv.js} +1 -1
  243. package/dist/assets/{react-CzW7TnV7.js → react-DEOv3QaS.js} +3 -3
  244. package/dist/assets/{react-Dk6KMPxp.js → react-DbRD5tNt.js} +2 -2
  245. package/dist/assets/{react-VqVdlbBp.js → react-xLrt57tQ.js} +3 -3
  246. package/dist/assets/{recharts-BGj_NTVO.js → recharts-D7E0WJGk.js} +1 -1
  247. package/dist/assets/{sentry-CTKU7CLc.js → sentry-DgGQRl6g.js} +2 -2
  248. package/dist/assets/{shield-DOlUxcFf-Chnu35pG.js → shield-DOlUxcFf-DK1OxwF6.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js +1 -0
  250. package/dist/assets/{toChartData-DShY1WZ8-5FxZpBKl.js → toChartData-BFuIgA2L-C4IkmCYG.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DKMAkDBt-BNugFjMC.js → uploadAttachment-ux9baWqa-BwjN4G2_.js} +1 -1
  252. package/dist/assets/{uploadReceipts-DJRtId-4-Bz9k1YgZ.js → uploadReceipts-DJRtId-4-xnWXJPvb.js} +1 -1
  253. package/dist/assets/{url-QugEHHKq.js → url-CW650CMO.js} +1 -1
  254. package/dist/assets/{url-CQ0hVJlH.js → url-DxcM52GB.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-B-Cv7oJI.js → useLongPress-GCK2COYQ-D9KvmRO7.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-DQyOXy13.js → usp-line-BBd1wKwW-EmNWFdhU.js} +1 -1
  257. package/dist/assets/{utils-DJxCyxGL.js → utils-C_quS4m3.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Cl3KIlic.js → zeni-epic-state-WWg2r7iB.js} +31 -31
  259. package/dist/index.html +1 -1
  260. package/package.json +3 -3
  261. package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +0 -18
  262. package/dist/assets/BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js +0 -241
  263. package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +0 -1
  264. package/dist/assets/CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js +0 -202
  265. package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +0 -1
  266. package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +0 -1
  267. package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +0 -1
  268. package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +0 -21
  269. package/dist/assets/Preview-o2DriYSg.js +0 -1
  270. package/dist/assets/ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js +0 -243
  271. package/dist/assets/SignInScreen-4muhcIyV.js +0 -1
  272. package/dist/assets/SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js +0 -134
  273. package/dist/assets/SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js +0 -785
  274. package/dist/assets/StatementsPage-1LjLplay-CRMJqr5z.js +0 -58
  275. package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +0 -1
  277. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +0 -1
  278. package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +0 -1
  279. package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +0 -1
  280. package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +0 -1
  281. package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il,ap as Ke,f$ as Xe,o as i,g9 as Hl,cT as Sl,cJ as $,cL as Oe,cQ as jl,eZ as Gl,eX as Zl,cO as vl,cM as K,ga as tl,gb as Ql,fx as Yl,cR as Qe,fw as al,gc as Jl,p as B,cN as il,b1 as De,cS as Kl,fN as Ll,a as Ne,bJ as _l,fE as Cl,al as el,f_ as Fl,b as Ee,ao as Xl,bG as et,u as R,dj as lt,av as tt,gd as at,ai as ll,am as it,ge as ot,bH as Pe,b5 as rt,d as Dl,c_ as st,at as nt,bF as dt}from"./index-AqGiWrum.js";import{a as h}from"./sentry-CTKU7CLc.js";import{a as ct,n as s}from"./mui-C_Pjuwl5.js";import{bh as El,bL as ut}from"./zeni-epic-state-Cl3KIlic.js";import{W as Ye}from"./LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js";import{b as pt}from"./LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js";import{I as ol}from"./LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js";import{Y as rl}from"./LabeledDocumentField-DtsIRcRg-LgfBBRyq.js";import{d as mt}from"./LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js";import{p as ht,i as ft,t as yt}from"./commonTypes-CG4vvGyc-CziHlkCE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="18890f6c-8846-43f5-9b40-75f6cebe80d5",e._sentryDebugIdIdentifier="sentry-dbid-18890f6c-8846-43f5-9b40-75f6cebe80d5")}catch{}})();const gt=e=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,Se={iconSize:new E(R[6],R[10]),gap:new E(R[2],R[3])},Nl={title:new Ne("smallSemiBold","standardSemiBold"),description:new Ne("smallRegular","standardRegular")},Pl=()=>{const[e]=tt("Secure"),c=Je();return l.jsxs(xt,{windowSize:c,children:[e!=null?l.jsx(wt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ot,{windowSize:c}),l.jsxs(It,{children:[l.jsx(St,{windowSize:c,children:sl.securityMessageTitle}),l.jsx(jt,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
1
+ import{Q as Je,g as xl,cI as wl,F as de,y as E,aQ as Ul,V as l,bS as Ol,fF as Il,ap as Ke,f$ as Xe,o as i,g9 as Hl,cT as Sl,cJ as $,cL as Oe,cQ as jl,eZ as Gl,eX as Zl,cO as vl,cM as K,ga as tl,gb as Ql,fx as Yl,cR as Qe,fw as al,gc as Jl,p as B,cN as il,b1 as De,cS as Kl,fN as Ll,a as Ne,bJ as _l,fE as Cl,al as el,f_ as Fl,b as Ee,ao as Xl,bG as et,u as R,dj as lt,av as tt,gd as at,ai as ll,am as it,ge as ot,bH as Pe,b5 as rt,d as Dl,c_ as st,at as nt,bF as dt}from"./index-BhvUwV_v.js";import{a as h}from"./sentry-DgGQRl6g.js";import{a as ct,n as s}from"./mui-DqYnCiYu.js";import{bh as El,bL as ut}from"./zeni-epic-state-WWg2r7iB.js";import{W as Ye}from"./LabeledAddressValueField-BraOMDrG-CfBm_XIY.js";import{b as pt}from"./LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js";import{I as ol}from"./LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js";import{Y as rl}from"./LabeledDocumentField-BdQjt44W-EnLXAA71.js";import{d as mt}from"./LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js";import{p as ht,i as ft,t as yt}from"./commonTypes-9h2Y-L4i-CJG-nO2R.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="085a5344-5022-44de-b550-148ce3c17650",e._sentryDebugIdIdentifier="sentry-dbid-085a5344-5022-44de-b550-148ce3c17650")}catch{}})();const gt=e=>h.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),h.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("g",{clipPath:"url(#clip0_1350_23850)"},h.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip1_1350_23850)"},h.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip2_1350_23850)"},h.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),h.createElement("g",{clipPath:"url(#clip3_1350_23850)"},h.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),h.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),h.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),h.createElement("defs",null,h.createElement("clipPath",{id:"clip0_1350_23850"},h.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),h.createElement("clipPath",{id:"clip1_1350_23850"},h.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),h.createElement("clipPath",{id:"clip2_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),h.createElement("clipPath",{id:"clip3_1350_23850"},h.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:bt}=de.getLocalizedStrings(),{businessVerification:sl}=bt,Se={iconSize:new E(R[6],R[10]),gap:new E(R[2],R[3])},Nl={title:new Ne("smallSemiBold","standardSemiBold"),description:new Ne("smallRegular","standardRegular")},Pl=()=>{const[e]=tt("Secure"),c=Je();return l.jsxs(xt,{windowSize:c,children:[e!=null?l.jsx(wt,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ot,{windowSize:c}),l.jsxs(It,{children:[l.jsx(St,{windowSize:c,children:sl.securityMessageTitle}),l.jsx(jt,{windowSize:c,children:sl.securityMessageDescription})]})]})},xt=s.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>Se.gap.valuePx(e.windowSize)};
@@ -1,13 +1,13 @@
1
- import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-AqGiWrum.js";import{n as o}from"./mui-C_Pjuwl5.js";import{c as j}from"./SummaryCard-Cy_49HY6-B5IOHtbz.js";import{a as t}from"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./ReloadCard-DQ8-0JyV-DB-bkjWN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6f4d696e-8d0a-4ce8-b3cd-dca9a2ebe448",e._sentryDebugIdIdentifier="sentry-dbid-6f4d696e-8d0a-4ce8-b3cd-dca9a2ebe448")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
1
+ import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from"./index-BhvUwV_v.js";import{n as o}from"./mui-DqYnCiYu.js";import{c as j}from"./SummaryCard-D92z4WU0-Dk2J87_c.js";import{a as t}from"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d4ef010e-feb3-4dca-8072-cd3d2329f3d5",e._sentryDebugIdIdentifier="sentry-dbid-d4ef010e-feb3-4dca-8072-cd3d2329f3d5")}catch{}})();const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],L=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
- `,b=o.div`
4
+ `,W=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
- `,W=o(y)`
10
+ `,b=o(y)`
11
11
  color: ${e=>e.theme.colors.champion};
12
12
  `,I=o.div`
13
13
  display: flex;
@@ -39,4 +39,4 @@ import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as H}from
39
39
  width: 100%;
40
40
  height: 1px;
41
41
  background-color: ${e=>e.theme.colors.grey3};
42
- `;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(b,{children:r.jsx(W,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(S,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((u,f)=>u.user.createTime?.isAfter(f.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{Y as default};
42
+ `;function Y({card:e,actions:s,data:d,dndProps:n}){return r.jsx(E,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(j,{card:e,actions:s,children:r.jsx(x,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>s.onCardClick(e.cardIndex,e.cardType),"data-testid":M("dashboard",e.cardType),children:r.jsxs(L,{children:[r.jsx(W,{children:r.jsx(b,{children:p.getLocalizedStrings().companyPassportCard.title})}),g.map((i,c)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(I,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:l.sp5,width:l.sp5})}),r.jsxs(_,{children:[r.jsx(N,{children:m}),r.jsx(S,{data:d?.companyView,itemKey:a})]})]}),c!==g.length-1?r.jsx(A,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:s})=>{const d=s?.companyOfficers,n=s?.company,i=n?.company.companyInfo,c=n?.company.incInfo,m=()=>r.jsx(V,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(d==null||d?.length===0)return r.jsx(m,{});const a=d.slice(0,10).sort((f,u)=>f.user.createTime?.isAfter(u.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return c?.companyIncType==null||c.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:c?.companyIncType});default:return null}};export{Y as default};
@@ -1,4 +1,4 @@
1
- import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot,cF as St,aR as jt,y as g,cG as nt,cH as Dt,x as vt,o,al as Ie,cI as st,cJ as E,cK as Ue,cL as Y,cM as ae,p as L,cN as $e,b1 as ye,cO as rt,cP as Ft,cQ as Ct,cR as ct,aw as kt,cS as Nt,cT as dt,cU as Lt,cV as Tt,cW as Pt,cX as zt,cY as Vt,bs as Et,aT as Mt,b9 as J,ai as Oe,u as I,r as qe,cZ as At,aD as Wt,c_ as Bt,ch as _t,c$ as Rt,am as Yt,d0 as Ut}from"./index-AqGiWrum.js";import{a as G,S as qt}from"./sentry-CTKU7CLc.js";import{n as s,a as Gt,k as Ht}from"./mui-C_Pjuwl5.js";import{Fg as Qt,bj as pt,bL as Xt,bh as Pe,bC as Zt,Fh as Jt}from"./zeni-epic-state-Cl3KIlic.js";import{I as ut}from"./LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js";import{Y as mt}from"./LabeledDocumentField-DtsIRcRg-LgfBBRyq.js";import{p as Kt,i as eo,t as to}from"./commonTypes-CG4vvGyc-CziHlkCE.js";import{b as oo}from"./LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js";import{d as ft}from"./LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js";import{$ as ht}from"./LabeledAddressValue-jMXXok9a-C_alXtK_.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="a167057e-1ca0-4bb6-af2c-59e416820d5c",e._sentryDebugIdIdentifier="sentry-dbid-a167057e-1ca0-4bb6-af2c-59e416820d5c")}catch{}})();const yt={maxWidth:new g(280,340),contentMaxWidth:new g(200,255)},lo=Ht`
1
+ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot,cF as St,aR as jt,y as g,cG as nt,cH as Dt,x as vt,o,al as Ie,cI as st,cJ as E,cK as Ue,cL as Y,cM as ae,p as L,cN as $e,b1 as ye,cO as rt,cP as Ft,cQ as Ct,cR as dt,aw as kt,cS as Nt,cT as ct,cU as Lt,cV as Tt,cW as Pt,cX as zt,cY as Vt,bs as Et,aT as Mt,b9 as J,ai as Oe,u as I,r as qe,cZ as At,aD as Wt,c_ as Bt,ch as _t,c$ as Rt,am as Yt,d0 as Ut}from"./index-BhvUwV_v.js";import{a as G,P as qt}from"./sentry-DgGQRl6g.js";import{n as s,a as Gt,k as Ht}from"./mui-DqYnCiYu.js";import{Fg as Qt,bj as pt,bL as Xt,bh as Pe,bC as Zt,Fh as Jt}from"./zeni-epic-state-WWg2r7iB.js";import{I as ut}from"./LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js";import{Y as mt}from"./LabeledDocumentField-BdQjt44W-EnLXAA71.js";import{p as Kt,i as eo,t as to}from"./commonTypes-9h2Y-L4i-CJG-nO2R.js";import{b as oo}from"./LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js";import{d as ft}from"./LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js";import{$ as ht}from"./LabeledAddressValue-CAX5YTSE-BfVvpzvP.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="fd628c96-bd26-4ff3-8bf2-971b5dc8517a",e._sentryDebugIdIdentifier="sentry-dbid-fd628c96-bd26-4ff3-8bf2-971b5dc8517a")}catch{}})();const yt={maxWidth:new g(280,340),contentMaxWidth:new g(200,255)},lo=Ht`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -47,7 +47,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
47
47
  &:hover {
48
48
  color: ${L.primaryDark};
49
49
  }
50
- `,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;G.useEffect(()=>{setTimeout(a,5e3)});const c=T.getLocalizedStrings().companyPassport.snackBar,l=h==="Completed";return t.jsxs(ao,{windowSize:i,children:[l?t.jsx(io,{}):t.jsx(no,{}),t.jsxs(co,{windowSize:i,children:[t.jsx(po,{isSuccess:l,children:l?c.success:c.error}),t.jsx(so,{children:t.jsx(ro,{children:mo(h)})})]}),t.jsx(uo,{onClick:a,children:t.jsx(vt,{})})]})}const xe={labelWidth:new g(110,145,180),largeLabelWidth:new g(150,215,215),largeLabelDocumentWidth:new g(150,210,252),paddingBottom:new g(I[3],I[2])};function ho(e){const i=B(),[h,a]=G.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:l},common:{documents:n}}=T.getLocalizedStrings(),{fileProps:p,companyFiles:y,deleteFileStatusById:$,updateFileStatusById:r,sectionId:d,isDisabled:b,companyIncInfo:j,style:u}=e,M=xe.labelWidth.value(i),C=xe.largeLabelWidth.value(i),O=xe.largeLabelDocumentWidth.value(i),{dateFormat:{visual:v},companyPassport:D}=T.getLocalizedStrings(),w=y.find(H=>H.documentType==="certificate_of_incorporation"),_=i==="small"?c.companyIncInfo.stateOfIncPlaceholderSmall:c.companyIncInfo.stateOfIncPlaceholder,se=i==="small"?c.companyIncInfo.typeOfIncPlaceholderSmall:c.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(yo,{style:u,children:[t.jsx(go,{children:c.companyIncInfo.title}),t.jsxs(xo,{children:[t.jsx(ut,{label:{label:D.companyIncInfo.typeOfInc,width:C},isDisabled:b,creatableSingleSelectField:{name:ge(d,"typeOfInc"),placeholder:se,defaultValue:{selectedOption:j?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ft,{label:{label:D.companyIncInfo.stateOfInc,width:C},isDisabled:b,singleSelectField:{name:ge(d,"stateOfInc"),placeholder:_,defaultValue:{selectedOption:j?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ct,{isDisabled:b,label:{label:c.companyIncInfo.incDate,width:M},style:{paddingBottom:xe.paddingBottom.valuePx(i)},dateField:{name:ge(d,"incDate"),placeholder:Y(c.companyIncInfo.incDate),defaultValue:j?.incDate,dateFormat:v.defaultInput,maxDate:Pe(),minDate:Xt("01 Jan 1900"),autoComplete:"off"}}),t.jsx(Ce,{}),t.jsx(mt,{name:ge(d,"certificateOfIncorporation"),isDisabled:b,sizeLimit:ct,deleteFileStatusById:$,updateFileStatusById:r,filesEndPoint:p.filesEndPoint,authParams:p.authParams,label:{label:l.certificateOfIncorporation,width:O},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:w,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:h,updateFilesEntity:p.updateFilesEntity,onEditFileName:p.onEditFileName,onDeleteFile:p.onDeleteFile,onFileSizeError:H=>a(H)}),t.jsx(bo,{windowSize:i,isError:h,children:n.formatDocumentText10MB})]})]})}const ge=(e,i)=>`${e}.${i}`,yo=s.div`
50
+ `,mo=e=>{const i=T.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?i.failedText:i.successText};function fo(e){const i=B(),{fetchState:h,onRemoveSnackbar:a}=e;G.useEffect(()=>{setTimeout(a,5e3)});const d=T.getLocalizedStrings().companyPassport.snackBar,l=h==="Completed";return t.jsxs(ao,{windowSize:i,children:[l?t.jsx(io,{}):t.jsx(no,{}),t.jsxs(co,{windowSize:i,children:[t.jsx(po,{isSuccess:l,children:l?d.success:d.error}),t.jsx(so,{children:t.jsx(ro,{children:mo(h)})})]}),t.jsx(uo,{onClick:a,children:t.jsx(vt,{})})]})}const xe={labelWidth:new g(110,145,180),largeLabelWidth:new g(150,215,215),largeLabelDocumentWidth:new g(150,210,252),paddingBottom:new g(I[3],I[2])};function ho(e){const i=B(),[h,a]=G.useState(!1),{companyPassport:d,commonSetUp:{businessVerification:l},common:{documents:n}}=T.getLocalizedStrings(),{fileProps:p,companyFiles:y,deleteFileStatusById:$,updateFileStatusById:r,sectionId:c,isDisabled:b,companyIncInfo:j,style:u}=e,M=xe.labelWidth.value(i),C=xe.largeLabelWidth.value(i),O=xe.largeLabelDocumentWidth.value(i),{dateFormat:{visual:v},companyPassport:D}=T.getLocalizedStrings(),w=y.find(H=>H.documentType==="certificate_of_incorporation"),_=i==="small"?d.companyIncInfo.stateOfIncPlaceholderSmall:d.companyIncInfo.stateOfIncPlaceholder,se=i==="small"?d.companyIncInfo.typeOfIncPlaceholderSmall:d.companyIncInfo.typeOfIncPlaceholder;return t.jsxs(yo,{style:u,children:[t.jsx(go,{children:d.companyIncInfo.title}),t.jsxs(xo,{children:[t.jsx(ut,{label:{label:D.companyIncInfo.typeOfInc,width:C},isDisabled:b,creatableSingleSelectField:{name:ge(c,"typeOfInc"),placeholder:se,defaultValue:{selectedOption:j?.typeOfInc,allOptions:d.companyIncInfo.allTypesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ft,{label:{label:D.companyIncInfo.stateOfInc,width:C},isDisabled:b,singleSelectField:{name:ge(c,"stateOfInc"),placeholder:_,defaultValue:{selectedOption:j?.stateOfInc,allOptions:d.companyIncInfo.allStatesOfIncorporation}}}),t.jsx(Ce,{}),t.jsx(Ct,{isDisabled:b,label:{label:d.companyIncInfo.incDate,width:M},style:{paddingBottom:xe.paddingBottom.valuePx(i)},dateField:{name:ge(c,"incDate"),placeholder:Y(d.companyIncInfo.incDate),defaultValue:j?.incDate,dateFormat:v.defaultInput,maxDate:Pe(),minDate:Xt("01 Jan 1900"),autoComplete:"off"}}),t.jsx(Ce,{}),t.jsx(mt,{name:ge(c,"certificateOfIncorporation"),isDisabled:b,sizeLimit:dt,deleteFileStatusById:$,updateFileStatusById:r,filesEndPoint:p.filesEndPoint,authParams:p.authParams,label:{label:l.certificateOfIncorporation,width:O},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:w,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:h,updateFilesEntity:p.updateFilesEntity,onEditFileName:p.onEditFileName,onDeleteFile:p.onDeleteFile,onFileSizeError:H=>a(H)}),t.jsx(bo,{windowSize:i,isError:h,children:n.formatDocumentText10MB})]})]})}const ge=(e,i)=>`${e}.${i}`,yo=s.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  padding-top: ${o.sp3};
@@ -91,7 +91,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
91
91
  width: fit-content;
92
92
  margin-left: auto;
93
93
  margin-bottom: ${o.sp2};
94
- `,Oo=e=>{const{labels:i,style:h,listStyleType:a="disc"}=e;return t.jsx(wo,{style:{...h,listStyleType:a},children:i.filter(c=>c!=null&&c.text!="").map((c,l)=>t.jsxs($o,{isCancelled:c.status==="cancelled",children:[c.text,c.subText!=null?t.jsxs(Io,{children:["Started: ",c.subText]}):null]},`${c.text}_${l}`))})},ne={width:new g(343,580,726),paddingTopBottom:new g(I[3],I[3]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4])};function we({isDisabled:e,label:i,bullettedLabels:h,style:a}){const c=B();return h.labels.length>0?t.jsxs(So,{size:c,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:ne.labelMarginLeft.value(c),marginRight:ne.labelMarginRight.value(c),width:i.width??"auto"}}),t.jsx(Oo,{...h,style:{maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto"}})]}):null}const So=s.div`
94
+ `,Oo=e=>{const{labels:i,style:h,listStyleType:a="disc"}=e;return t.jsx(wo,{style:{...h,listStyleType:a},children:i.filter(d=>d!=null&&d.text!="").map((d,l)=>t.jsxs($o,{isCancelled:d.status==="cancelled",children:[d.text,d.subText!=null?t.jsxs(Io,{children:["Started: ",d.subText]}):null]},`${d.text}_${l}`))})},ne={width:new g(343,580,726),paddingTopBottom:new g(I[3],I[3]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4])};function we({isDisabled:e,label:i,bullettedLabels:h,style:a}){const d=B();return h.labels.length>0?t.jsxs(So,{size:d,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:ne.labelMarginLeft.value(d),marginRight:ne.labelMarginRight.value(d),width:i.width??"auto"}}),t.jsx(Oo,{...h,style:{maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto"}})]}):null}const So=s.div`
95
95
  display: flex;
96
96
  flex-direction: row;
97
97
  align-items: flex-start;
@@ -112,7 +112,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
112
112
  border-bottom-left-radius: inherit;
113
113
  border-bottom-right-radius: inherit;
114
114
  }
115
- `,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ge=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Qe,no:Xe}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:c,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),d=Gt(),{watch:b,setValue:j,formState:{errors:u}}=st(),M=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),Q=b(x(l,"usNexus")),q=b(x(l,"purposeOfAccount")),me=m=>Ge[m]??m,re=f.transactionVolumeOptions,K=m=>re[m]??m,ce=f.usNexusOptions,X=m=>ce[m]??m,ee=Object.values(ce),De=(a?.usNexusTypes??[]).map(X),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),Z=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,de=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=de?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=de?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!M.name,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!M.companyLegalName,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(A,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(de?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:d.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(A,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ge)}},isFunctional:!0,additionalContent:Kt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:K,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?d.colors.grey1:d.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),Q==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(q?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:d.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:d.colors.hero}})]}),t.jsx(A,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:c?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(A,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(A,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Jt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
115
+ `,ue={labelWidth:new g(110,110,140),mediumLabelWidth:new g(140,140,160),largeLabelWidth:new g(170,170,180),extraLargeLabelWidth:new g(200,250,300),regulatedStatusMaxWidth:new g(343,580,726)},f=T.getLocalizedStrings().commonSetUp.businessVerification,Ge=f.companySourceOfFundOptions,jo=T.getLocalizedStrings(),{companyPassport:F,dateFormat:{analytics:He},common:{yes:Qe,no:Xe}}=jo;function Do({companyViewData:e,allIndustries:i,allNationalityCountries:h,companyInfo:a,companyAddress:d,sectionId:l,isDisabled:n,isCompanyVerified:p,onCompanyAddressClick:y,style:$}){const r=B(),c=Gt(),{watch:b,setValue:j,formState:{errors:u}}=st(),M=e.company.company.companyInfo,C=!(p===!0&&a?.companySubIndustry==null)&&!(n!=null&&a?.companySubIndustry==null),O=!(p===!0&&(a?.countriesOfOperations==null||a?.countriesOfOperations.length===0))&&!(n!=null&&a?.countriesOfOperations==null),v=!(p===!0&&a?.transactionVolume==null)&&!(n!=null&&a?.transactionVolume==null),D=!(p===!0&&a?.regulatedStatus==null)&&!(n!=null&&a?.regulatedStatus==null),w=!(p===!0&&a?.usNexus==null)&&!(n!=null&&a?.usNexus==null),_=!(p===!0&&(a?.purposeOfAccount==null||a?.purposeOfAccount.length===0))&&!(n!=null&&a?.purposeOfAccount==null),se=!(p===!0&&(a?.companySourceOfFunds==null||a?.companySourceOfFunds.length===0))&&!(n!=null&&a?.companySourceOfFunds==null),H=b(x(l,"companySourceOfFunds")),Se=b(x(l,"transactionVolume")),je=b(x(l,"regulatedStatus")),Q=b(x(l,"usNexus")),q=b(x(l,"purposeOfAccount")),me=m=>Ge[m]??m,re=f.transactionVolumeOptions,K=m=>re[m]??m,de=f.usNexusOptions,X=m=>de[m]??m,ee=Object.values(de),De=(a?.usNexusTypes??[]).map(X),fe=f.purposeOfAccountOptions,ve=m=>fe[m]??m,V=ue.labelWidth.value(r),te=ue.mediumLabelWidth.value(r),W=ue.largeLabelWidth.value(r),Z=ue.extraLargeLabelWidth.value(r),oe=r==="small"?F.companyInfo.businessModelPlaceholderSmall:F.companyInfo.businessModelPlaceholder,R=m=>i.find(z=>z.code===m)?.name??m,ce=b(x(l,"industry")),Fe=f.companyIndustryOptions??{},le=m=>Fe[m]??m,he=f.companySubIndustryOptions??{},P=m=>{if(m==null||m==="")return[];const z=he[m];return z!=null?Object.keys(z):[]},S=m=>{const z=ce?.selectedOption;return z==null||z===""?m:he[z]?.[m]??m},k=m=>{j(x(l,"subIndustry"),{selectedOption:void 0,allOptions:P(m)})},N=ce?.selectedOption??a?.industry;return t.jsxs(Fo,{style:$,children:[t.jsx(ko,{children:F.companyInfo.title}),t.jsxs(Co,{children:[t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.companyName,width:W},text:{type:"text",name:x(l,"companyName"),placeholder:Y(F.companyInfo.companyName),defaultValue:a?.companyName,autoComplete:"new-password",options:{required:!!M.name,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.legalName,width:te},text:{type:"text",name:x(l,"legalName"),placeholder:Y(F.companyInfo.legalName),defaultValue:a?.legalName,autoComplete:"new-password",options:{required:!!M.companyLegalName,pattern:Ue}}}),t.jsx(A,{}),t.jsx(E,{isDisabled:n,label:{label:F.companyInfo.website,width:V},text:{type:"url",name:x(l,"website"),placeholder:Y(F.companyInfo.website),defaultValue:a?.website?.toString()??"",autoComplete:"new-password"}}),t.jsx(A,{}),C?t.jsx(t.Fragment,{children:t.jsxs(No,{"data-suppress-hover":n!=null?!0:void 0,children:[t.jsx(ae,{label:{label:f.companyIndustryLabel,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:f.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:le,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.industry,allOptions:Object.keys(f.companyIndustryOptions)},onSelectChange:k},isFunctional:!0,errorInfoLabel:f.companyIndustryError.replace("_product_type_","company"),style:{padding:0,margin:0,outline:"none",paddingRight:o.sp2}}),N!=null&&t.jsx(ae,{label:{label:"",width:0,style:{marginRight:0}},singleSelectField:{singleSelect:{name:x(l,"subIndustry"),placeholder:f.companySubIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:S,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySubIndustry,allOptions:P(ce?.selectedOption)}},isFunctional:!0,keepFocusedStyle:!0,errorInfoLabel:f.companySubIndustryError.replace("_product_type_","company"),additionalInfoLabel:n==null?f.companyIndustryAdditionalInfo:void 0,additionalInfoStyle:{color:c.colors.hero},style:{outline:"none",paddingBottom:o.sp0,width:"100%"}})]})}):t.jsx(ae,{label:{label:F.companyInfo.industry,width:V},singleSelectField:{singleSelect:{name:x(l,"industry"),placeholder:F.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!0},defaultValue:{selectedOption:a?.industry,allOptions:i?.map(m=>m.code)??[]}},isFunctional:!0}),t.jsx(A,{}),t.jsx(ut,{isDisabled:n,label:{label:F.companyInfo.businessModel,width:W},creatableSingleSelectField:{name:x(l,"businessModel"),placeholder:oe,defaultValue:{selectedOption:a?.businessModel,allOptions:F.companyInfo.allBusinessModels}}}),O&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(oo,{label:{label:f.countriesOfOperationsLabel,width:W},isDisabled:n,additionalInfoLabel:n==null?f.countriesOfOperationsAdditionalInfo:void 0,multiSelectField:{name:x(l,"countriesOfOperations"),placeholder:f.countriesOfOperationsPlaceholder,defaultValue:nt(a?.countriesOfOperations,(h??[]).map(m=>m.countryCode))}})]}),se&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.companySourceOfFundsLabel,width:W},singleSelectField:{singleSelect:{name:x(l,"companySourceOfFunds"),placeholder:f.companySourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:me,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.companySourceOfFunds,allOptions:Object.keys(Ge)}},isFunctional:!0,additionalContent:Kt.includes(H?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"companySourceOfFundsDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.companySourceOfFundsDescriptionError,style:{position:"relative",top:0,left:-W,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.companySourceOfFundsDescription!=null?void 0:f.companySourceOfFundsAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),v&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.transactionVolumeLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"transactionVolume"),placeholder:f.transactionVolumePlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:K,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.transactionVolume,allOptions:Object.keys(re)}},isFunctional:!0,additionalContent:eo.includes(Se?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"transactionVolumeDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.transactionVolumeDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.transactionVolumeDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.transactionVolumeDescription!=null?void 0:f.transactionVolumeAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),D&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.regulatedStatusLabel,htmlFor:x(l,"regulatedStatus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"regulatedStatus"),id:`${x(l,"regulatedStatus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),je==="yes"&&t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},text:{type:"text",name:x(l,"regulatedStatusDescription"),placeholder:f.regulatedStatusDescriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.regulatedStatusDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.regulatedStatusDescriptionError,style:{outline:"none",width:"100%",padding:0}}),u[l]!=null&&u[l]?.regulatedStatus!=null?t.jsx(ke,{windowSize:r,children:f.regulatedStatusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.regulatedStatusDescription!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.regulatedStatusAdditionalInfo}):null]})]}),w&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsxs(Ze,{windowSize:r,"data-suppress-hover":n!=null?!0:void 0,children:[t.jsxs(Je,{children:[t.jsx($e,{label:f.usNexusLabel,htmlFor:x(l,"usNexus"),isDisabled:n,style:{width:W,color:n==="disabled"?c.colors.grey1:c.colors.hero}}),t.jsxs(Ke,{labelWidth:W,windowSize:r,children:[t.jsx(ye,{label:{label:Qe},style:{paddingRight:`${o.sp4}`,width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.yes`,value:"yes",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0}),t.jsx(ye,{label:{label:Xe},style:{width:"auto"},radioField:{name:x(l,"usNexus"),id:`${x(l,"usNexus")}.no`,value:"no",style:{height:`${o.sp3}`,width:`${o.sp3}`},radioSize:"small"},isDisabled:n,isContainerClickable:!0})]})]}),Q==="yes"&&t.jsxs(t.Fragment,{children:[t.jsx(Lo,{hasError:u[l]!=null&&u[l]?.usNexusTypes!=null,children:t.jsx(ft,{isDisabled:n,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0,marginLeft:0}},multiSelectField:{name:x(l,"usNexusTypes"),placeholder:f.usNexusPlaceholder,defaultValue:{selectedOptions:De,allOptions:ee},registerOptions:{required:n==null,shouldUnregister:!0,validate:m=>{const z=m?.selectedOptions;return z!=null&&z.length>0}}},style:{outline:"none",margin:0,padding:0,width:"100%"}})}),u[l]!=null&&u[l]?.usNexusTypes!=null&&t.jsx(ke,{windowSize:r,children:f.usNexusTypesError})]}),u[l]!=null&&u[l]?.usNexus!=null?t.jsx(ke,{windowSize:r,children:f.usNexusError.replace("_product_type_","company details")}):u[l]!=null&&u[l]?.usNexusTypes!=null?null:n==null?t.jsx(et,{windowSize:r,children:f.usNexusAdditionalInfo}):null]})]}),_&&t.jsxs(t.Fragment,{children:[t.jsx(A,{}),t.jsx(ae,{label:{label:f.purposeOfAccountLabel,width:Z},singleSelectField:{singleSelect:{name:x(l,"purposeOfAccount"),placeholder:f.purposeOfAccountPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:ve,isDisabled:n,showTickMark:!0,sortOptions:!1},defaultValue:{selectedOption:a?.purposeOfAccount,allOptions:Object.keys(fe)}},isFunctional:!0,additionalContent:to.includes(q?.selectedOption)?t.jsx(E,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:"",width:0,style:{marginRight:0,marginTop:0,marginBottom:0}},text:{type:"text",name:x(l,"purposeOfAccountDescription"),placeholder:f.descriptionPlaceholder,style:{backgroundColor:u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?L.importantLight:c.colors.background},options:{}},additionalInfoLabel:f.purposeOfAccountDescriptionError,style:{position:"relative",top:0,left:-Z,marginLeft:0,outline:"none"}}):null,additionalInfoLabel:n!=null||u[l]!=null&&u[l]?.purposeOfAccountDescription!=null?void 0:f.purposeOfAccountAdditionalInfo,additionalInfoStyle:{color:c.colors.hero}})]}),t.jsx(A,{}),t.jsx(ht,{isDisabled:n,label:{label:F.companyInfo.address,width:V},addressValue:{placeholder:Y(F.companyInfo.address),address:d?.addressToCreate,onClick:()=>y("company_address")}}),t.jsx(A,{}),t.jsx(rt,{isDisabled:n,label:{label:F.companyInfo.phone,width:V},text:{name:x(l,"phone"),placeholder:Y(F.companyInfo.phone),defaultValue:a?.phone,autoComplete:"new-password"}}),t.jsx(A,{}),t.jsx(we,{label:{label:F.companyInfo.fiscalYear,width:V},bullettedLabels:{labels:[{text:vo(a?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const vo=e=>{const{fiscalYearMonths:i}=Jt(e);return`${Pe().month(i[0]-1).format(He.MMMFormat)} to ${Pe().month(i[11]-1).format(He.MMMFormat)}`},x=(e,i)=>`${e}.${i}`,Fo=s.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${o.sp3};
@@ -203,7 +203,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
203
203
  & .select-control {
204
204
  background-color: ${e=>e.hasError===!0?L.importantLight:e.theme.colors.background} !important;
205
205
  }
206
- `,ze={labelWidth:new g(110,110,140),buttonWidth:new g(70,70)};function To({sectionId:e,isDisabled:i,style:h,officer:a,officerAddress:c,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:n}){const p=B(),y=T.getLocalizedStrings().companyPassport,$=ze.labelWidth.value(p),r=l&&(a==null||!a.firstName&&!a.lastName&&!a.phone&&!a.email&&!c),d=a?.userId==null||a?.userId==="";return t.jsxs(Mo,{style:h,children:[t.jsx(dt,{isDisabled:i,label:{label:y.companyOfficer.name,width:$},nameField:{name:Ne(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:a?.firstName??"",lastName:a?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Le,{}),t.jsx(E,{isDisabled:d?i:"readonly",label:{label:y.companyOfficer.email,width:$},text:{type:"email",name:Ne(e,"email"),placeholder:Y(y.companyOfficer.email),options:{required:r===!0?!1:d},defaultValue:a?.email,autoComplete:"new-password"}}),t.jsx(Le,{}),t.jsx(ht,{isDisabled:i,label:{label:y.companyInfo.address,width:$},addressValue:{placeholder:Y(y.companyOfficer.address),address:c?.addressToCreate,onClick:()=>{n(a?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Le,{}),t.jsx(rt,{isDisabled:i,label:{label:y.companyOfficer.phone,width:$},text:{name:Ne(e,"phone"),placeholder:Y(y.companyOfficer.phone),defaultValue:a?.phone,autoComplete:"new-password"}})]})}function Po({companyOfficers:e,sectionId:i,style:h,isDisabled:a,onOfficerAddressClick:c}){const{setValue:l,getValues:n}=st(),[p,y]=G.useState(-1),$=T.getLocalizedStrings().companyPassport,r=e.length,d=e.length===1&&e[0].localData?.userId==null,b=n(i),j=()=>{const O={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(i,[...b,O])},u=O=>{if(e[O].localData==null||!e[O].localData?.firstName&&!e[O].localData?.lastName&&!e[O].localData?.phone&&!e[O].localData?.email&&!e[O].addressStatus?.addressToCreate){const v=b.filter((D,w)=>w!==p);l(i,v),y(-1)}else y(O)},M=()=>{y(-1)},C=()=>{const O=b.filter((v,D)=>D!==p);l(i,O),y(-1)};return t.jsxs(Eo,{style:h,children:[t.jsx(Ao,{children:$.companyOfficer.title}),e.map((O,v)=>{const D=O.localData,w=O.addressStatus,_=D?.userId==null||D?.userId==="";return t.jsxs(Wo,{children:[(r>1||_)&&!d?t.jsx(zo,{curIndex:v,isNewUser:_,numberOfOfficers:r,deleteConfirmationIndex:p,isDisabled:a,onDeleteClick:u,onCancelClick:M,onRemoveOfficerSection:C}):null,t.jsx(To,{sectionId:`${i}.${v}`,officer:D,officerAddress:w,isDisabled:a,isEmptyCompanyOfficerSection:d,onOfficerAddressClick:c})]},D?.officerType)}),r<=9&&!d?t.jsx(Vo,{isSectionDisabled:a,onAddOfficerSection:j}):t.jsx(Ve,{})]})}const zo=({curIndex:e,isNewUser:i,numberOfOfficers:h,deleteConfirmationIndex:a,isDisabled:c,onDeleteClick:l,onCancelClick:n,onRemoveOfficerSection:p})=>{const y=B(),$=T.getLocalizedStrings().companyPassport;return t.jsxs(Bo,{children:[t.jsx(_o,{children:h>1?`${$.companyOfficer.officer} ${e+1}`:""}),i&&c==null?a===e?t.jsx(Go,{children:t.jsxs(Ho,{children:[$.companyOfficer.deleteConfirmation,t.jsx(qe,{label:$.cancel,onClick:n,style:{width:ze.buttonWidth.value(y),marginLeft:o.sp4,marginRight:o.sp3},size:"small",variant:"secondary"}),t.jsx(qe,{label:$.remove,onClick:p,style:{width:ze.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(qo,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(At,{width:I[3],height:I[3],color:L.important})}):null]})},Vo=({isSectionDisabled:e,onAddOfficerSection:i})=>{const h=T.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Ve,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ro,{onClick:i,children:[t.jsx(Yo,{}),t.jsx(Uo,{children:h.companyOfficer.addOfficer})]}),t.jsx(Ve,{})]})},Ne=(e,i)=>`${e}.${i}`,Eo=s.div`
206
+ `,ze={labelWidth:new g(110,110,140),buttonWidth:new g(70,70)};function To({sectionId:e,isDisabled:i,style:h,officer:a,officerAddress:d,isEmptyCompanyOfficerSection:l,onOfficerAddressClick:n}){const p=B(),y=T.getLocalizedStrings().companyPassport,$=ze.labelWidth.value(p),r=l&&(a==null||!a.firstName&&!a.lastName&&!a.phone&&!a.email&&!d),c=a?.userId==null||a?.userId==="";return t.jsxs(Mo,{style:h,children:[t.jsx(ct,{isDisabled:i,label:{label:y.companyOfficer.name,width:$},nameField:{name:Ne(e,"name"),placeHolder:{firstName:y.companyOfficer.firstNamePlaceholder,lastName:y.companyOfficer.lastNamePlaceholder,name:y.companyOfficer.namePlaceholder},defaultValue:{firstName:a?.firstName??"",lastName:a?.lastName??""},autoComplete:"new-password",registerOptions:{required:r!==!0},showFullNameError:!0}}),t.jsx(Le,{}),t.jsx(E,{isDisabled:c?i:"readonly",label:{label:y.companyOfficer.email,width:$},text:{type:"email",name:Ne(e,"email"),placeholder:Y(y.companyOfficer.email),options:{required:r===!0?!1:c},defaultValue:a?.email,autoComplete:"new-password"}}),t.jsx(Le,{}),t.jsx(ht,{isDisabled:i,label:{label:y.companyInfo.address,width:$},addressValue:{placeholder:Y(y.companyOfficer.address),address:d?.addressToCreate,onClick:()=>{n(a?.officerType.toLocaleLowerCase().concat("_address"))}}}),t.jsx(Le,{}),t.jsx(rt,{isDisabled:i,label:{label:y.companyOfficer.phone,width:$},text:{name:Ne(e,"phone"),placeholder:Y(y.companyOfficer.phone),defaultValue:a?.phone,autoComplete:"new-password"}})]})}function Po({companyOfficers:e,sectionId:i,style:h,isDisabled:a,onOfficerAddressClick:d}){const{setValue:l,getValues:n}=st(),[p,y]=G.useState(-1),$=T.getLocalizedStrings().companyPassport,r=e.length,c=e.length===1&&e[0].localData?.userId==null,b=n(i),j=()=>{const O={userId:void 0,officerType:`Officer_${r+1}`,name:{firstName:"",lastName:""},email:"",phone:""};l(i,[...b,O])},u=O=>{if(e[O].localData==null||!e[O].localData?.firstName&&!e[O].localData?.lastName&&!e[O].localData?.phone&&!e[O].localData?.email&&!e[O].addressStatus?.addressToCreate){const v=b.filter((D,w)=>w!==p);l(i,v),y(-1)}else y(O)},M=()=>{y(-1)},C=()=>{const O=b.filter((v,D)=>D!==p);l(i,O),y(-1)};return t.jsxs(Eo,{style:h,children:[t.jsx(Ao,{children:$.companyOfficer.title}),e.map((O,v)=>{const D=O.localData,w=O.addressStatus,_=D?.userId==null||D?.userId==="";return t.jsxs(Wo,{children:[(r>1||_)&&!c?t.jsx(zo,{curIndex:v,isNewUser:_,numberOfOfficers:r,deleteConfirmationIndex:p,isDisabled:a,onDeleteClick:u,onCancelClick:M,onRemoveOfficerSection:C}):null,t.jsx(To,{sectionId:`${i}.${v}`,officer:D,officerAddress:w,isDisabled:a,isEmptyCompanyOfficerSection:c,onOfficerAddressClick:d})]},D?.officerType)}),r<=9&&!c?t.jsx(Vo,{isSectionDisabled:a,onAddOfficerSection:j}):t.jsx(Ve,{})]})}const zo=({curIndex:e,isNewUser:i,numberOfOfficers:h,deleteConfirmationIndex:a,isDisabled:d,onDeleteClick:l,onCancelClick:n,onRemoveOfficerSection:p})=>{const y=B(),$=T.getLocalizedStrings().companyPassport;return t.jsxs(Bo,{children:[t.jsx(_o,{children:h>1?`${$.companyOfficer.officer} ${e+1}`:""}),i&&d==null?a===e?t.jsx(Go,{children:t.jsxs(Ho,{children:[$.companyOfficer.deleteConfirmation,t.jsx(qe,{label:$.cancel,onClick:n,style:{width:ze.buttonWidth.value(y),marginLeft:o.sp4,marginRight:o.sp3},size:"small",variant:"secondary"}),t.jsx(qe,{label:$.remove,onClick:p,style:{width:ze.buttonWidth.value(y)},size:"small",variant:"danger"})]})}):t.jsx(qo,{className:"delete-icon-wrapper",onClick:()=>l(e),children:t.jsx(At,{width:I[3],height:I[3],color:L.important})}):null]})},Vo=({isSectionDisabled:e,onAddOfficerSection:i})=>{const h=T.getLocalizedStrings().companyPassport;return e!=null?t.jsx(Ve,{}):t.jsxs(t.Fragment,{children:[t.jsxs(Ro,{onClick:i,children:[t.jsx(Yo,{}),t.jsx(Uo,{children:h.companyOfficer.addOfficer})]}),t.jsx(Ve,{})]})},Ne=(e,i)=>`${e}.${i}`,Eo=s.div`
207
207
  display: flex;
208
208
  flex-direction: column;
209
209
  padding-top: ${o.sp3};
@@ -279,7 +279,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
279
279
  background-color: ${e=>e.theme.colors.grey3};
280
280
  min-height: 1px;
281
281
  max-height: 1px;
282
- `,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function Qo(e){const i=B(),h=kt(),[a,c]=G.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:n},common:{documents:p}}=T.getLocalizedStrings(),{fileProps:y,companyFiles:$,deleteFileStatusById:r,updateFileStatusById:d,sectionId:b,isDisabled:j,companyTaxInfo:u,style:M}=e,C=tt.labelWidth.value(i),O=tt.largeLabelWidth.value(i),v=!Zt(h.loggedInUserRole??[]),D=$.find(w=>w.documentType==="tax_ein");return t.jsxs(Xo,{style:M,children:[t.jsx(Jo,{children:l.companyTaxInfo.title}),t.jsxs(Zo,{children:[t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.taxIdOrEIN,width:C},text:{type:"text",name:ie(b,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:v===!0?l.protectedContent:u?.taxIdOrEIN,options:{pattern:Nt},autoComplete:"new-password"},protectedInfoText:v===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.dunsNumber,width:C},text:{type:"text",name:ie(b,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:u?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.naicsCode,width:C},text:{type:"text",name:ie(b,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:u?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.sicCode,width:C},text:{type:"text",name:ie(b,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:u?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(ft,{isDisabled:j,label:{label:l.companyTaxInfo.taxesFiledYears,width:C},multiSelectField:{name:ie(b,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:u?.taxesFiledYears.map(w=>w.toString())??[],allOptions:pt().map(w=>w.toString())}}}),t.jsx(pe,{}),t.jsx(mt,{name:ie(b,"einDocument"),isDisabled:j,sizeLimit:ct,deleteFileStatusById:r,updateFileStatusById:d,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:n.einDocument,width:O},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:a,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:w=>c(w)}),t.jsx(Ko,{windowSize:i,isError:a,children:p.formatDocumentText10MB})]})]})}const ie=(e,i)=>`${e}.${i}`,Xo=s.div`
282
+ `,tt={labelWidth:new g(160,160,160),largeLabelWidth:new g(150,215,215)};function Qo(e){const i=B(),h=kt(),[a,d]=G.useState(!1),{companyPassport:l,commonSetUp:{businessVerification:n},common:{documents:p}}=T.getLocalizedStrings(),{fileProps:y,companyFiles:$,deleteFileStatusById:r,updateFileStatusById:c,sectionId:b,isDisabled:j,companyTaxInfo:u,style:M}=e,C=tt.labelWidth.value(i),O=tt.largeLabelWidth.value(i),v=!Zt(h.loggedInUserRole??[]),D=$.find(w=>w.documentType==="tax_ein");return t.jsxs(Xo,{style:M,children:[t.jsx(Jo,{children:l.companyTaxInfo.title}),t.jsxs(Zo,{children:[t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.taxIdOrEIN,width:C},text:{type:"text",name:ie(b,"taxIdOrEIN"),placeholder:l.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:v===!0?l.protectedContent:u?.taxIdOrEIN,options:{pattern:Nt},autoComplete:"new-password"},protectedInfoText:v===!0?l.companyTaxInfo.adminPrivilegeRequired:void 0}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.dunsNumber,width:C},text:{type:"text",name:ie(b,"dunsNumber"),placeholder:l.companyTaxInfo.dunsNumberPlaceholder,defaultValue:u?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.naicsCode,width:C},text:{type:"text",name:ie(b,"naicsCode"),placeholder:l.companyTaxInfo.naicsCodePlaceholder,defaultValue:u?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(E,{isDisabled:j,label:{label:l.companyTaxInfo.sicCode,width:C},text:{type:"text",name:ie(b,"sicCode"),placeholder:l.companyTaxInfo.sicCodePlaceholder,defaultValue:u?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),t.jsx(pe,{}),t.jsx(ft,{isDisabled:j,label:{label:l.companyTaxInfo.taxesFiledYears,width:C},multiSelectField:{name:ie(b,"taxesFiledYears"),placeholder:l.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:u?.taxesFiledYears.map(w=>w.toString())??[],allOptions:pt().map(w=>w.toString())}}}),t.jsx(pe,{}),t.jsx(mt,{name:ie(b,"einDocument"),isDisabled:j,sizeLimit:dt,deleteFileStatusById:r,updateFileStatusById:c,filesEndPoint:y.filesEndPoint,authParams:y.authParams,label:{label:n.einDocument,width:O},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:a,updateFilesEntity:y.updateFilesEntity,onEditFileName:y.onEditFileName,onDeleteFile:y.onDeleteFile,onFileSizeError:w=>d(w)}),t.jsx(Ko,{windowSize:i,isError:a,children:p.formatDocumentText10MB})]})]})}const ie=(e,i)=>`${e}.${i}`,Xo=s.div`
283
283
  display: flex;
284
284
  flex-direction: column;
285
285
  padding-top: ${o.sp3};
@@ -306,7 +306,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
306
306
  border-radius: ${o.sp0} ${o.sp0} ${o.sp2} ${o.sp2};
307
307
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
308
308
  color: ${e=>e.isError?L.important:e.theme.colors.grey1};
309
- `,el={labelWidth:new g(100,100,140)};function tl({sectionId:e,isDisabled:i,primaryContact:h,style:a}){const c=B(),l=T.getLocalizedStrings().companyPassport,n=el.labelWidth.value(c),p=h==null;return t.jsxs(ol,{style:a,children:[t.jsx(al,{children:l.primaryContact.title}),t.jsxs(ll,{children:[t.jsx(dt,{isDisabled:i,label:{label:l.primaryContact.name,width:n},nameField:{name:ot(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:h?.firstName??"",lastName:h?.lastName??""},autoComplete:"new-password",registerOptions:{required:p!==!0},showFullNameError:!0}}),t.jsx(il,{}),t.jsx(E,{isDisabled:i,label:{label:l.primaryContact.email,width:n},text:{type:"email",name:ot(e,"email"),placeholder:Y(l.primaryContact.email),defaultValue:h?.email,autoComplete:"new-password",options:{required:p!==!0}}})]})]})}const ot=(e,i)=>`${e}.${i}`,ol=s.div`
309
+ `,el={labelWidth:new g(100,100,140)};function tl({sectionId:e,isDisabled:i,primaryContact:h,style:a}){const d=B(),l=T.getLocalizedStrings().companyPassport,n=el.labelWidth.value(d),p=h==null;return t.jsxs(ol,{style:a,children:[t.jsx(al,{children:l.primaryContact.title}),t.jsxs(ll,{children:[t.jsx(ct,{isDisabled:i,label:{label:l.primaryContact.name,width:n},nameField:{name:ot(e,"name"),placeHolder:{firstName:l.primaryContact.firstNamePlaceholder,lastName:l.primaryContact.lastNamePlaceholder,name:l.primaryContact.namePlaceholder},defaultValue:{firstName:h?.firstName??"",lastName:h?.lastName??""},autoComplete:"new-password",registerOptions:{required:p!==!0},showFullNameError:!0}}),t.jsx(il,{}),t.jsx(E,{isDisabled:i,label:{label:l.primaryContact.email,width:n},text:{type:"email",name:ot(e,"email"),placeholder:Y(l.primaryContact.email),defaultValue:h?.email,autoComplete:"new-password",options:{required:p!==!0}}})]})]})}const ot=(e,i)=>`${e}.${i}`,ol=s.div`
310
310
  display: flex;
311
311
  flex-direction: column;
312
312
  padding-top: ${o.sp3};
@@ -341,18 +341,18 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
341
341
  justify-content: flex-end;
342
342
  align-items: center;
343
343
  color: ${e=>e.theme.colors.primary};
344
- `,rl=()=>t.jsx(sl,{children:"–"}),cl=s.div`
344
+ `,rl=()=>t.jsx(sl,{children:"–"}),dl=s.div`
345
345
  padding: 6px ${o.sp2};
346
346
  white-space: nowrap;
347
347
  overflow: hidden;
348
348
  text-overflow: ellipsis;
349
- `,dl=s(Ie)`
349
+ `,cl=s(Ie)`
350
350
  color: ${e=>e.theme.colors.primary};
351
351
  align-items: center;
352
352
  justify-content: flex-end;
353
353
  display: flex;
354
354
  padding: 0 ${o.sp3};
355
- `,pl=e=>{const{users:i,style:h}=e;return t.jsx(dl,{style:h,children:i.length!==0?i.filter(a=>!!a.firstName||!!a.lastName).map(a=>t.jsxs(nl,{children:[t.jsx(cl,{children:`${a.firstName} ${a.lastName}`}),t.jsx(Ut,{name:`${a.firstName} ${a.lastName}`,size:o.sp4})]},a.userId)):t.jsx(rl,{})})},U={width:new g(343,580,726),height:new g(I[6],I[6]),controlHeight:new g(I[6],I[6]),paddingTopBottom:new g(I[2],I[2]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4]),labelMarginTop:new g(I[2],I[2])};function ul({isDisabled:e,label:i,avatarLabels:h,style:a}){const c=B();return t.jsxs(fl,{size:c,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:U.labelMarginLeft.value(c),marginRight:U.labelMarginRight.value(c),marginTop:U.labelMarginTop.value(c),width:i.width??"auto"}}),t.jsx(pl,{users:h.users,style:{minHeight:U.controlHeight.value(c),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto",...h.style}})]})}const ml=qt.memo(ul,Wt),fl=s.div`
355
+ `,pl=e=>{const{users:i,style:h}=e;return t.jsx(cl,{style:h,children:i.length!==0?i.filter(a=>!!a.firstName||!!a.lastName).map(a=>t.jsxs(nl,{children:[t.jsx(dl,{children:`${a.firstName} ${a.lastName}`}),t.jsx(Ut,{name:`${a.firstName} ${a.lastName}`,size:o.sp4})]},a.userId)):t.jsx(rl,{})})},U={width:new g(343,580,726),height:new g(I[6],I[6]),controlHeight:new g(I[6],I[6]),paddingTopBottom:new g(I[2],I[2]),marginRight:new g(I[2],I[2]),labelMarginLeft:new g(I[3],I[4]),labelMarginRight:new g(I[3],I[4]),labelMarginTop:new g(I[2],I[2])};function ul({isDisabled:e,label:i,avatarLabels:h,style:a}){const d=B();return t.jsxs(fl,{size:d,style:a,children:[t.jsx($e,{isDisabled:e,label:i.label,style:{marginLeft:U.labelMarginLeft.value(d),marginRight:U.labelMarginRight.value(d),marginTop:U.labelMarginTop.value(d),width:i.width??"auto"}}),t.jsx(pl,{users:h.users,style:{minHeight:U.controlHeight.value(d),display:"flex",flexGrow:1,flexFlow:"row wrap",maxWidth:i.width!=null?`calc(100% - ${i.width}px)`:"auto",...h.style}})]})}const ml=qt.memo(ul,Wt),fl=s.div`
356
356
  display: flex;
357
357
  flex-direction: row;
358
358
  align-items: flex-start;
@@ -372,7 +372,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
372
372
  border-bottom-left-radius: inherit;
373
373
  border-bottom-right-radius: inherit;
374
374
  }
375
- `,Te={labelWidth:new g(100,100,140),mediumLabelWidth:new g(140,150,160),largeLabelWidth:new g(160,180,180)};function hl({data:e,companyInfo:i,sectionId:h,isDisabled:a,isZeniUser:c,onScheduleClick:l}){const n=B(),{companyPassport:p,dateFormat:{visual:y}}=T.getLocalizedStrings(),$=Te.labelWidth.value(n),r=Te.mediumLabelWidth.value(n),d=Te.largeLabelWidth.value(n),b=e.company.company,{controllers:j,subscriptions:u}=e,{managementInfo:M}=b,C=n==="small"?p.zeniFinanceTeam.scheduleCallPlaceholderSmall:p.zeniFinanceTeam.scheduleCallPlaceholder,O=u.filter(w=>w.plan?.plan.name!=null).map(w=>({text:w.plan?.plan.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),v=Lt(u.map(w=>w.addOns.map(_=>({text:_.addOn.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),D=M.receiverEmails.map(w=>({text:w}));return t.jsxs(xl,{children:[t.jsx(bl,{children:p.zeniFinanceTeam.title}),t.jsxs(gl,{children:[t.jsx(ml,{label:{label:p.zeniFinanceTeam.controller,width:r},avatarLabels:{users:j.map(w=>w.user)}}),t.jsx(be,{}),c===!0?t.jsx(E,{isDisabled:a,label:{label:p.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:yl(h,"meetingLink"),placeholder:C,defaultValue:i?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:Tt}}}):i?.meetingLink!=null?t.jsx(Pt,{label:{label:p.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:p.zeniFinanceTeam.schedule,onClick:()=>l(i.meetingLink)}}):null,D.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.emailUs,width:$},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,O.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.subscriptionPlans,width:d},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null]})]})}const yl=(e,i)=>`${e}.${i}`,xl=s.div`
375
+ `,Te={labelWidth:new g(100,100,140),mediumLabelWidth:new g(140,150,160),largeLabelWidth:new g(160,180,180)};function hl({data:e,companyInfo:i,sectionId:h,isDisabled:a,isZeniUser:d,onScheduleClick:l}){const n=B(),{companyPassport:p,dateFormat:{visual:y}}=T.getLocalizedStrings(),$=Te.labelWidth.value(n),r=Te.mediumLabelWidth.value(n),c=Te.largeLabelWidth.value(n),b=e.company.company,{controllers:j,subscriptions:u}=e,{managementInfo:M}=b,C=n==="small"?p.zeniFinanceTeam.scheduleCallPlaceholderSmall:p.zeniFinanceTeam.scheduleCallPlaceholder,O=u.filter(w=>w.plan?.plan.name!=null).map(w=>({text:w.plan?.plan.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})),v=Lt(u.map(w=>w.addOns.map(_=>({text:_.addOn.name,subText:w.subscription.subscription.startDate.format(y.MMMDCommaYYYYformat)})))),D=M.receiverEmails.map(w=>({text:w}));return t.jsxs(xl,{children:[t.jsx(bl,{children:p.zeniFinanceTeam.title}),t.jsxs(gl,{children:[t.jsx(ml,{label:{label:p.zeniFinanceTeam.controller,width:r},avatarLabels:{users:j.map(w=>w.user)}}),t.jsx(be,{}),d===!0?t.jsx(E,{isDisabled:a,label:{label:p.zeniFinanceTeam.scheduleCall,width:r},text:{type:"text",name:yl(h,"meetingLink"),placeholder:C,defaultValue:i?.meetingLink?.toString()??"",autoComplete:"new-password",options:{pattern:Tt}}}):i?.meetingLink!=null?t.jsx(Pt,{label:{label:p.zeniFinanceTeam.scheduleCall,width:r},button:{buttonTitle:p.zeniFinanceTeam.schedule,onClick:()=>l(i.meetingLink)}}):null,D.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.emailUs,width:$},bullettedLabels:{labels:D,listStyleType:"none"}})]}):null,O.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.subscriptionPlans,width:c},bullettedLabels:{labels:O,listStyleType:"none"}})]}):null,v.length>0?t.jsxs(t.Fragment,{children:[t.jsx(be,{}),t.jsx(we,{label:{label:p.zeniFinanceTeam.addons,width:r},bullettedLabels:{labels:v,listStyleType:"none"}})]}):null]})]})}const yl=(e,i)=>`${e}.${i}`,xl=s.div`
376
376
  display: flex;
377
377
  flex-direction: column;
378
378
  padding-top: ${o.sp3};
@@ -393,7 +393,7 @@ import{Q as B,g as gt,aQ as bt,a9 as wt,cE as $t,F as T,V as t,bB as It,ac as Ot
393
393
  background-color: ${e=>e.theme.colors.grey3};
394
394
  min-height: 1px;
395
395
  max-height: 1px;
396
- `,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Me="companyInfo",Ae="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:c,filesEndPoint:l,authParams:n,allIndustries:p,allNationalityCountries:y,isCompanyVerified:$,isDisabled:r,isSettings:d=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:j,onNewCompanyOfficerAdded:u,onPrimaryContactDetailsUpdated:M,onNewCompanyOfficerRemoved:C,onSaveAll:O,onAddressClick:v,onScheduleClick:D,onBackClick:w,onResetClick:_,onEditFileName:se,updateFilesEntity:H,onDeleteFile:Se,onClickMenuIcon:je}=e,{companyView:Q,localData:q,deleteFileStatusById:me,updateFileStatusById:re}=a,{companyFiles:K}=q,ce={authParams:n,filesEndPoint:l,onEditFileName:se,onDeleteFile:Se,updateFilesEntity:H},[X,ee]=G.useState(void 0),{companyDetails:De,primaryContact:fe,companyOfficerUpdateStatus:ve,updateStatus:V}=q,{localData:te,addressStatus:W}=De,Z=bt(V.fetchState),oe=Object.values(ve).filter(P=>P.localData!=null),R=wt({mode:"all",defaultValues:it(q,p,y)});G.useEffect(()=>()=>{ee(void 0)},[]),G.useEffect(()=>{Z==="In-Progress"&&(V.fetchState==="Completed"||V.fetchState==="Error")&&(R.reset(it(q,p,y)),X!==V.fetchState&&ee(V.fetchState))},[X,R,Z,V,q,Q,p,y,K]);const de=async(P,S)=>{if(P.includes(Me)||P.includes(Ae)||P.includes(We)||P.includes(Re)){const{companyInfo:k,companyIncInfo:N,companyTaxInfo:m,zeniFinanceTeam:z}=S;b({companyInfo:k,incInfo:N,taxDetails:m,zeniFinanceTeam:z})}else if(P.includes(Be)){M(S.primaryContact);const k=S.companyOfficer.map(N=>N.userId);if(S.primaryContact.userId!=null&&k.includes(S.primaryContact.userId)){const N=k.findIndex(m=>m===S.primaryContact.userId);N>=0&&j({...S.companyOfficer[N],name:S.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(P.includes(_e)){const k=parseInt(P.split(".")[1]);if(k>=0)j({...S.companyOfficer[k],officerType:`Officer_${k+1}`}),S.companyOfficer[k].userId!=null&&S.companyOfficer[k].userId===S.primaryContact.userId&&M({...S.primaryContact,name:S.companyOfficer[k].name});else if(S.companyOfficer.length>oe.length){const N=S.companyOfficer[S.companyOfficer.length-1];u(N)}else{const N=S.companyOfficer.filter(m=>m.officerType!=null);if(N.length<oe.length){const m=N.map((z,xt)=>{const Ye={...z,officerType:`Officer_${xt+1}`};return j(Ye),Ye});N.length<oe.length&&(C(`Officer_${N.length+1}`),R.reset({companyOfficer:m}))}}}};G.useEffect(()=>{const P=R.watch((S,{name:k})=>{k!=null&&S!=null&&$t(()=>de(k,S))});return()=>{P.unsubscribe()}});const Fe=R.handleSubmit(P=>{X!=null&&ee(void 0),O()}),{companyPassport:le,common:{settings:he}}=T.getLocalizedStrings();if(Q==null)throw new Error("Company View is null");return t.jsxs(wl,{children:[t.jsx(It,{title:le.title,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:w,showBackButton:!d,showMenuIcon:d?i==="medium-compact"||i==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:je}),X!=null?t.jsx(fo,{fetchState:X,onRemoveSnackbar:()=>ee(void 0)}):null,t.jsxs($l,{children:[t.jsx(Il,{windowSize:i,children:d?he.infoText.companyDetails:le.quickAccessInfo}),t.jsx(Ot,{...R,children:t.jsxs("form",{id:at(lt),onSubmit:Fe,children:[t.jsx(Do,{sectionId:Me,companyInfo:te?.companyInfo,companyViewData:Q,companyAddress:W,isDisabled:r,isCompanyVerified:$,onCompanyAddressClick:v,allIndustries:p,allNationalityCountries:y}),t.jsx(ho,{sectionId:Ae,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyIncInfo:te?.incInfo,fileProps:ce,isDisabled:r}),t.jsx(Qo,{sectionId:We,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyTaxInfo:te?.taxDetails,fileProps:ce,isDisabled:r}),t.jsx(tl,{sectionId:Be,primaryContact:fe.localData,isDisabled:r}),t.jsx(Po,{companyOfficers:oe,sectionId:_e,isDisabled:r,onOfficerAddressClick:v}),t.jsx(hl,{data:Q,companyInfo:te?.companyInfo,isDisabled:r,isZeniUser:c,sectionId:Re,onScheduleClick:D})]})})]}),St(R.formState.dirtyFields)||Qt(q,Q,K)?t.jsx(jt,{formId:at(lt),primaryBtn:{label:le.save,isLoading:V.fetchState==="In-Progress",style:{width:Ee.buttonWidth.value(i)},isDisabled:e.isDisabled!=null},cancelBtn:{label:le.cancel,style:{width:Ee.buttonWidth.value(i)},onClick:()=>{R.reset(),_()}}}):null]})}const at=e=>`${e}_form`,it=(e,i,h)=>{const{companyDetails:a,primaryContact:c,companyOfficerUpdateStatus:l}=e,n=T.getLocalizedStrings().companyPassport,p=a.localData?.incInfo.fileId!=null?[a.localData?.incInfo.fileId]:[],y=a.localData?.taxDetails.fileId!=null?[a.localData?.taxDetails.fileId]:[],$=T.getLocalizedStrings().commonSetUp.businessVerification,r=a.localData?.companyInfo;return{[Me]:{...Dt(a.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription"]),businessModel:{selectedOption:r?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:r?.website?.toString()??"",industry:{selectedOption:r?.industry,allOptions:i?.map(d=>d.code)},firstMonthOfFY:r?.firstMonthOfFY,companySourceOfFunds:{selectedOption:r?.companySourceOfFunds,allOptions:Object.keys($.companySourceOfFundOptions)},companySourceOfFundsDescription:r?.companySourceOfFundsDescription,countriesOfOperations:nt(r?.countriesOfOperations,(h??[]).map(d=>d.countryCode)),transactionVolume:{selectedOption:r?.transactionVolume,allOptions:Object.keys($.transactionVolumeOptions??{})},transactionVolumeDescription:r?.transactionVolumeDescription,regulatedStatus:r?.regulatedStatus??"",regulatedStatusDescription:r?.regulatedStatusDescription,usNexus:r?.usNexus??"",usNexusTypes:{selectedOptions:r?.usNexusTypes??[],allOptions:Object.values($.usNexusOptions??{})},purposeOfAccount:{selectedOption:r?.purposeOfAccount,allOptions:Object.keys($.purposeOfAccountOptions??{})},purposeOfAccountDescription:r?.purposeOfAccountDescription},[We]:{...a.localData?.taxDetails,taxesFiledYears:{selectedOptions:a.localData?.taxDetails.taxesFiledYears.map(d=>d.toString())??[],allOptions:pt().map(d=>d.toString())},einDocument:e.companyFiles.find(d=>d.documentType==="tax_ein"),fileIds:y},[Ae]:{typeOfInc:{selectedOption:a.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:a.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:a.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),fileIds:p},[Be]:{userId:c.localData?.userId,name:{firstName:c.localData?.firstName,lastName:c.localData?.lastName},email:c.localData?.email},[_e]:Object.values(l).filter(d=>d.localData!=null).map(d=>{const b=d.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Re]:{meetingLink:a.localData?.companyInfo.meetingLink?.toString()??""}}},wl=s.div`
396
+ `,Ee={width:new g(343,580,726),buttonWidth:new g(85,85)},lt="companyPassportPage",Me="companyInfo",Ae="companyIncInfo",We="companyTaxInfo",Be="primaryContact",_e="companyOfficer",Re="zeniFinanceTeam";function Wl(e){const i=B(),h=gt(),{companyPassportView:a,isZeniUser:d,filesEndPoint:l,authParams:n,allIndustries:p,allNationalityCountries:y,isCompanyVerified:$,isDisabled:r,isSettings:c=!1,onCompanyDetailsChanged:b,onCompanyOfficerUpdated:j,onNewCompanyOfficerAdded:u,onPrimaryContactDetailsUpdated:M,onNewCompanyOfficerRemoved:C,onSaveAll:O,onAddressClick:v,onScheduleClick:D,onBackClick:w,onResetClick:_,onEditFileName:se,updateFilesEntity:H,onDeleteFile:Se,onClickMenuIcon:je}=e,{companyView:Q,localData:q,deleteFileStatusById:me,updateFileStatusById:re}=a,{companyFiles:K}=q,de={authParams:n,filesEndPoint:l,onEditFileName:se,onDeleteFile:Se,updateFilesEntity:H},[X,ee]=G.useState(void 0),{companyDetails:De,primaryContact:fe,companyOfficerUpdateStatus:ve,updateStatus:V}=q,{localData:te,addressStatus:W}=De,Z=bt(V.fetchState),oe=Object.values(ve).filter(P=>P.localData!=null),R=wt({mode:"all",defaultValues:it(q,p,y)});G.useEffect(()=>()=>{ee(void 0)},[]),G.useEffect(()=>{Z==="In-Progress"&&(V.fetchState==="Completed"||V.fetchState==="Error")&&(R.reset(it(q,p,y)),X!==V.fetchState&&ee(V.fetchState))},[X,R,Z,V,q,Q,p,y,K]);const ce=async(P,S)=>{if(P.includes(Me)||P.includes(Ae)||P.includes(We)||P.includes(Re)){const{companyInfo:k,companyIncInfo:N,companyTaxInfo:m,zeniFinanceTeam:z}=S;b({companyInfo:k,incInfo:N,taxDetails:m,zeniFinanceTeam:z})}else if(P.includes(Be)){M(S.primaryContact);const k=S.companyOfficer.map(N=>N.userId);if(S.primaryContact.userId!=null&&k.includes(S.primaryContact.userId)){const N=k.findIndex(m=>m===S.primaryContact.userId);N>=0&&j({...S.companyOfficer[N],name:S.primaryContact.name,officerType:`Officer_${N+1}`})}}else if(P.includes(_e)){const k=parseInt(P.split(".")[1]);if(k>=0)j({...S.companyOfficer[k],officerType:`Officer_${k+1}`}),S.companyOfficer[k].userId!=null&&S.companyOfficer[k].userId===S.primaryContact.userId&&M({...S.primaryContact,name:S.companyOfficer[k].name});else if(S.companyOfficer.length>oe.length){const N=S.companyOfficer[S.companyOfficer.length-1];u(N)}else{const N=S.companyOfficer.filter(m=>m.officerType!=null);if(N.length<oe.length){const m=N.map((z,xt)=>{const Ye={...z,officerType:`Officer_${xt+1}`};return j(Ye),Ye});N.length<oe.length&&(C(`Officer_${N.length+1}`),R.reset({companyOfficer:m}))}}}};G.useEffect(()=>{const P=R.watch((S,{name:k})=>{k!=null&&S!=null&&$t(()=>ce(k,S))});return()=>{P.unsubscribe()}});const Fe=R.handleSubmit(P=>{X!=null&&ee(void 0),O()}),{companyPassport:le,common:{settings:he}}=T.getLocalizedStrings();if(Q==null)throw new Error("Company View is null");return t.jsxs(wl,{children:[t.jsx(It,{title:le.title,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:w,showBackButton:!c,showMenuIcon:c?i==="medium-compact"||i==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:je}),X!=null?t.jsx(fo,{fetchState:X,onRemoveSnackbar:()=>ee(void 0)}):null,t.jsxs($l,{children:[t.jsx(Il,{windowSize:i,children:c?he.infoText.companyDetails:le.quickAccessInfo}),t.jsx(Ot,{...R,children:t.jsxs("form",{id:at(lt),onSubmit:Fe,children:[t.jsx(Do,{sectionId:Me,companyInfo:te?.companyInfo,companyViewData:Q,companyAddress:W,isDisabled:r,isCompanyVerified:$,onCompanyAddressClick:v,allIndustries:p,allNationalityCountries:y}),t.jsx(ho,{sectionId:Ae,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyIncInfo:te?.incInfo,fileProps:de,isDisabled:r}),t.jsx(Qo,{sectionId:We,updateFileStatusById:re,deleteFileStatusById:me,companyFiles:K,companyTaxInfo:te?.taxDetails,fileProps:de,isDisabled:r}),t.jsx(tl,{sectionId:Be,primaryContact:fe.localData,isDisabled:r}),t.jsx(Po,{companyOfficers:oe,sectionId:_e,isDisabled:r,onOfficerAddressClick:v}),t.jsx(hl,{data:Q,companyInfo:te?.companyInfo,isDisabled:r,isZeniUser:d,sectionId:Re,onScheduleClick:D})]})})]}),St(R.formState.dirtyFields)||Qt(q,Q,K)?t.jsx(jt,{formId:at(lt),primaryBtn:{label:le.save,isLoading:V.fetchState==="In-Progress",style:{width:Ee.buttonWidth.value(i)},isDisabled:e.isDisabled!=null},cancelBtn:{label:le.cancel,style:{width:Ee.buttonWidth.value(i)},onClick:()=>{R.reset(),_()}}}):null]})}const at=e=>`${e}_form`,it=(e,i,h)=>{const{companyDetails:a,primaryContact:d,companyOfficerUpdateStatus:l}=e,n=T.getLocalizedStrings().companyPassport,p=a.localData?.incInfo.fileId!=null?[a.localData?.incInfo.fileId]:[],y=a.localData?.taxDetails.fileId!=null?[a.localData?.taxDetails.fileId]:[],$=T.getLocalizedStrings().commonSetUp.businessVerification,r=a.localData?.companyInfo;return{[Me]:{...Dt(a.localData?.companyInfo??{},["meetingLink","companySourceOfFunds","companySourceOfFundsDescription","countriesOfOperations","transactionVolume","transactionVolumeDescription","regulatedStatus","regulatedStatusDescription","usNexus","usNexusTypes","purposeOfAccount","purposeOfAccountDescription"]),businessModel:{selectedOption:r?.businessModel,allOptions:n.companyInfo.allBusinessModels},website:r?.website?.toString()??"",industry:{selectedOption:r?.industry,allOptions:i?.map(c=>c.code)},firstMonthOfFY:r?.firstMonthOfFY,companySourceOfFunds:{selectedOption:r?.companySourceOfFunds,allOptions:Object.keys($.companySourceOfFundOptions)},companySourceOfFundsDescription:r?.companySourceOfFundsDescription,countriesOfOperations:nt(r?.countriesOfOperations,(h??[]).map(c=>c.countryCode)),transactionVolume:{selectedOption:r?.transactionVolume,allOptions:Object.keys($.transactionVolumeOptions??{})},transactionVolumeDescription:r?.transactionVolumeDescription,regulatedStatus:r?.regulatedStatus??"",regulatedStatusDescription:r?.regulatedStatusDescription,usNexus:r?.usNexus??"",usNexusTypes:{selectedOptions:r?.usNexusTypes??[],allOptions:Object.values($.usNexusOptions??{})},purposeOfAccount:{selectedOption:r?.purposeOfAccount,allOptions:Object.keys($.purposeOfAccountOptions??{})},purposeOfAccountDescription:r?.purposeOfAccountDescription},[We]:{...a.localData?.taxDetails,taxesFiledYears:{selectedOptions:a.localData?.taxDetails.taxesFiledYears.map(c=>c.toString())??[],allOptions:pt().map(c=>c.toString())},einDocument:e.companyFiles.find(c=>c.documentType==="tax_ein"),fileIds:y},[Ae]:{typeOfInc:{selectedOption:a.localData?.incInfo?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:a.localData?.incInfo?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation},incDate:a.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(c=>c.documentType==="certificate_of_incorporation"),fileIds:p},[Be]:{userId:d.localData?.userId,name:{firstName:d.localData?.firstName,lastName:d.localData?.lastName},email:d.localData?.email},[_e]:Object.values(l).filter(c=>c.localData!=null).map(c=>{const b=c.localData;return{userId:b.userId,officerType:b.officerType,name:{firstName:b.firstName,lastName:b.lastName},email:b.email,phone:b.phone}}),[Re]:{meetingLink:a.localData?.companyInfo.meetingLink?.toString()??""}}},wl=s.div`
397
397
  display: flex;
398
398
  min-height: 100%;
399
399
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a9 as V,gR as v,F as S,V as g,gS as J,aa as l,al as $,ac as q,cJ as _,cT as W,cQ as T,o as E,gT as Z,cO as z,aR as X,M as AA,c1 as gA,gU as BA}from"./index-AqGiWrum.js";import{a as B,S as c}from"./sentry-CTKU7CLc.js";import{n as o}from"./mui-C_Pjuwl5.js";import{bh as eA}from"./zeni-epic-state-Cl3KIlic.js";import{$ as EA}from"./LabeledAddressValue-jMXXok9a-C_alXtK_.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="f820bf14-36ec-49ab-8278-e98f6bd9f5bf",A._sentryDebugIdIdentifier="sentry-dbid-f820bf14-36ec-49ab-8278-e98f6bd9f5bf")}catch{}})();const QA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),CA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",C="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,MA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:f,onVerifyOtp:M,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${C}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const Q=I.getValues(`${C}.phone`);Q!=null&&Q.trim().length>0&&f(Q)},L=(Q,d)=>{M(Q,d)},R=Q=>{Q!=null&&Q.trim().length>0&&y(Q)},b=()=>{a(!0)},U=()=>{a(!1)},K=()=>{const Q=I.getValues(`${m}`);if(Q!=null){const d=BA(Q);I.setValue(`${C}.address`,d)}a(!1)},P=I.handleSubmit(Q=>{if(Q[C].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&Q[C].phone!=r.phone){h();return}D&&D(Q)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(QA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:U}),e.completeProfile.title]}),g.jsx(q,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(C,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(C,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(C,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:b},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(C,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${C}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a9 as V,gR as v,F as S,V as g,gS as J,aa as l,al as $,ac as q,cJ as _,cT as W,cQ as T,o as E,gT as Z,cO as z,aR as X,M as AA,c1 as gA,gU as BA}from"./index-BhvUwV_v.js";import{a as B,P as c}from"./sentry-DgGQRl6g.js";import{n as o}from"./mui-DqYnCiYu.js";import{bh as eA}from"./zeni-epic-state-WWg2r7iB.js";import{$ as EA}from"./LabeledAddressValue-CAX5YTSE-BfVvpzvP.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="5a2c30fa-d5af-4258-9298-b37e8225b72d",A._sentryDebugIdIdentifier="sentry-dbid-5a2c30fa-d5af-4258-9298-b37e8225b72d")}catch{}})();const QA=A=>B.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...A},B.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),B.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("g",{style:{mixBlendMode:"darken"}},B.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),B.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),B.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("defs",null,B.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),B.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},B.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),B.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),CA=A=>B.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...A},B.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),B.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",C="basicDetailsSection",m="addressSection",n=(A,i)=>`${A}.${i}`,fA=({userEmail:A,googleAPIKey:i,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:f,onResendOtp:y})=>{const[t,a]=B.useState(!1),[k,Y]=B.useState(!1),I=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:A,dateOfBirth:void 0,phone:"",address:void 0}}}),x=v({control:I.control,name:`${C}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const Q=I.getValues(`${C}.phone`);Q!=null&&Q.trim().length>0&&M(Q)},L=(Q,d)=>{f(Q,d)},R=Q=>{Q!=null&&Q.trim().length>0&&y(Q)},U=()=>{a(!0)},b=()=>{a(!1)},K=()=>{const Q=I.getValues(`${m}`);if(Q!=null){const d=BA(Q);I.setValue(`${C}.address`,d)}a(!1)},P=I.handleSubmit(Q=>{if(Q[C].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&Q[C].phone!=r.phone){h();return}D&&D(Q)}),{sendOtpStatus:O,otpVerificationStatus:s,otpChallenge:H,phone:j}=r,N=g.jsxs(rA,{children:[g.jsx(QA,{}),g.jsxs(sA,{children:[g.jsxs(lA,{children:[g.jsx(J,{children:s.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(l,{controller:s.fetchState==="Completed",children:g.jsx(nA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(oA,{children:[g.jsxs(tA,{children:[g.jsxs(IA,{children:[t&&g.jsx(iA,{onClick:b}),e.completeProfile.title]}),g.jsx(q,{...I,children:g.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[g.jsx(l,{controller:w===!1,children:g.jsxs(u,{children:[g.jsx(l,{controller:t===!1,children:g.jsxs(c.Fragment,{children:[g.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:n(C,"email")}}),g.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:n(C,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:n(C,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),g.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(l,{controller:t===!0,children:g.jsx(c.Fragment,{children:g.jsx(Z,{sectionId:m,googleAPIKey:i,isSubPage:!0})})})]})}),g.jsx(u,{children:g.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:n(C,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:I.getValues(`${C}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:k,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:H,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:s.fetchState==="Completed",phoneVerificationStatus:s,getOtpStatus:O,verifiedPhoneNumber:s.fetchState==="Completed"?j:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:s.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(X,{formId:t?void 0:`${p}_form`,primaryBtn:{label:t?e.companyPassport.address.saveAddress:e.common.footer.save,type:t?"button":"submit",onClick:t?K:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -49,4 +49,4 @@ import{a9 as V,gR as v,F as S,V as g,gS as J,aa as l,al as $,ac as q,cJ as _,cT
49
49
  width: ${E.sp3};
50
50
  height: ${E.sp3};
51
51
  color: ${A=>A.theme.colors.success};
52
- `;export{MA as default};
52
+ `;export{fA as default};
@@ -1 +1 @@
1
- import{d5 as f,av as l,V as r,b5 as c,o as p}from"./index-AqGiWrum.js";import{a}from"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./mui-C_Pjuwl5.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9c77c3fc-28ec-4429-9e29-a2e366e5b14f",e._sentryDebugIdIdentifier="sentry-dbid-9c77c3fc-28ec-4429-9e29-a2e366e5b14f")}catch{}})();const d="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=f(d,e),[n]=l("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(c,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
1
+ import{d5 as f,av as l,V as r,b5 as c,o as p}from"./index-BhvUwV_v.js";import{a}from"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./mui-DqYnCiYu.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9c77c3fc-28ec-4429-9e29-a2e366e5b14f",e._sentryDebugIdIdentifier="sentry-dbid-9c77c3fc-28ec-4429-9e29-a2e366e5b14f")}catch{}})();const d="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:e})=>{const[t,o]=a.useState(e),[s,i]=f(d,e),[n]=l("ConfettiSuccess");return a.useEffect(()=>{e&&o(!0)},[e]),a.useEffect(()=>{t&&s===!1&&i(!0)},[t,s,i]),r.jsx(r.Fragment,{children:t&&s&&n!=null?r.jsx(c,{style:{position:"absolute",width:"100%",height:"100vh",top:p.sp0,left:p.sp0,zIndex:5},onComplete:()=>{i(!1),o(!1)},animationData:n,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
@@ -1,4 +1,4 @@
1
- import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,cp as se,cq as le,d1 as qe,aR as Ke,y as J,F as x,c1 as Xe,o,d2 as Ze,bS as D,ch as ce,u as w,b7 as de,ai as pe,al as q,bt as Ge,c_ as me,d3 as et,p as B,d4 as ue,cZ as he}from"./index-AqGiWrum.js";import{a as g}from"./sentry-CTKU7CLc.js";import{n as r}from"./mui-C_Pjuwl5.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="31184eaf-9ef6-404f-9e05-cf2051ae9c8e",e._sentryDebugIdIdentifier="sentry-dbid-31184eaf-9ef6-404f-9e05-cf2051ae9c8e")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const y=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:y,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(ct,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(dt,{})})})})]})},ot=r.div`
1
+ import{g as He,Q as v,aD as Y,cH as Ye,V as t,bB as Je,aP as $,T as Qe,co as ie,cp as se,cq as le,d1 as qe,aR as Ke,y as J,F as x,c1 as Xe,o,d2 as Ze,bS as D,ch as ce,u as w,b7 as de,ai as pe,al as q,bt as Ge,c_ as me,d3 as et,p as B,d4 as ue,cZ as he}from"./index-BhvUwV_v.js";import{a as g}from"./sentry-DgGQRl6g.js";import{n as r}from"./mui-DqYnCiYu.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="31184eaf-9ef6-404f-9e05-cf2051ae9c8e",e._sentryDebugIdIdentifier="sentry-dbid-31184eaf-9ef6-404f-9e05-cf2051ae9c8e")}catch{}})();const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:s,accountType:l,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const y=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(I,{children:[t.jsx(N,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(I,{children:[t.jsx(N,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(I,{children:[t.jsx(N,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(I,{children:[t.jsx(N,{children:s}),t.jsx(T,{children:typeof l=="string"&&l!==""?et(l.toLowerCase()):l??""})]})]});return t.jsxs(it,{size:y,children:[t.jsxs(nt,{children:[t.jsxs(q,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(ct,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":$("delete-vendor-account-section",f),children:t.jsx(dt,{})})})})]})},ot=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{V as t,Q as he,a8 as ye,aP as ae,ht as ea,aN as aa,r as ta,T as na,aR as ze,o as a,F as X,y as m,x as Me,f as oa,ah as ia,g as Be,bS as ra,ff as _e,a as H,p as Q,go as ce,b as la,aq as Oe,M as ca,aQ as De,a9 as sa,fy as da,cE as ma,ac as pa,e_ as ua,fC as ha,cL as ya,hE as we,hF as ga,ga as fa,u as r,c1 as Ca,b9 as ba,fm as xa,ch as Da,al as Ne,gW as wa,b$ as Sa,aU as $a,hG as ka,c_ as Aa,gX as La,fO as va,fK as Ia}from"./index-AqGiWrum.js";import{n as i}from"./mui-C_Pjuwl5.js";import{a as p}from"./sentry-CTKU7CLc.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-Cl3KIlic.js";import{x as Pa}from"./LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="c24f4a74-3eaa-45df-8c15-fd55d4a4231f",e._sentryDebugIdIdentifier="sentry-dbid-c24f4a74-3eaa-45df-8c15-fd55d4a4231f")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new H("h6Regular","h5Regular"),integerAmountInput:new H("h5Regular","largeMedium"),decimalAmountInput:new H("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=X.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(qa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Za,{children:t.jsxs(Va,{children:[t.jsxs(Ha,{children:[t.jsx(Qa,{}),t.jsxs(Ya,{children:[t.jsx(Ka,{children:e.error?.title}),t.jsx(Ga,{children:e.error?.message})]})]}),t.jsx(Xa,{children:t.jsx(Ja,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
1
+ import{V as t,Q as he,a8 as ye,aP as ae,ht as ea,aN as aa,r as ta,T as na,aR as ze,o as a,F as X,y as m,x as Me,f as oa,ah as ia,g as Be,bS as ra,ff as _e,a as H,p as Q,go as ce,b as la,aq as Oe,M as ca,aQ as De,a9 as sa,fy as da,cE as ma,ac as pa,e_ as ua,fC as ha,cL as ya,hE as we,hF as ga,ga as fa,u as r,c1 as Ca,b9 as ba,fm as xa,ch as Da,al as Ne,gW as wa,b$ as Sa,aU as $a,hG as ka,c_ as Aa,gX as La,fO as va,fK as Ia}from"./index-BhvUwV_v.js";import{n as i}from"./mui-DqYnCiYu.js";import{a as p}from"./sentry-DgGQRl6g.js";import{bL as pe,bP as Fa,bh as Se,bJ as Ra,bK as $e,bI as Ta}from"./zeni-epic-state-WWg2r7iB.js";import{x as Pa}from"./LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="e6bb3f03-8be5-4b13-8fbd-1c227640f52a",e._sentryDebugIdIdentifier="sentry-dbid-e6bb3f03-8be5-4b13-8fbd-1c227640f52a")}catch{}})();const te={largeLabelWidth:new m(120,120,160),navBarContainerPaddingXaxis:new m(10,19),containerPaddingLeft:new m(r[3],r[6],r[8]),containerPaddingRight:new m(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new m(r[5],r[8])},ue={pageTitle:new H("h6Regular","h5Regular"),integerAmountInput:new H("h5Regular","largeMedium"),decimalAmountInput:new H("largeSemiBold","largeMedium")},{dateFormat:{visual:{MMMDCommaYYYYformat:ke}},common:{edit:ja,labels:se,navBar:{back:Ea},to:za,zeniInc:Ma},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:Ba}},chargeCard:{payEarly:z}}}=X.getLocalizedStrings(),_a=({paymentDetails:e,isCashbackInfoFetchStateCompleted:o,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:y,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b})=>{const d=he(),S=Be(),v=ye().analytics,[B,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const F=te.largeLabelWidth.value(d),R=e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount",T=R?1:3,P=pe(Fa(Se().toDate(),[0,6],T).toDateString()).format(ke),_=R?z.timeline01BusinessDay:z.timeline23BusinessDays,O=R?z.estimatedPaymentCompleteWithoutTimeline.replace("__date__",P):z.estimatedPaymentCompleteWithTimeline.replace("__date__",P).replace("__timeline__",_);return t.jsxs(t.Fragment,{children:[t.jsxs(qa,{windowSize:d,children:[t.jsx(tt,{windowSize:d,children:t.jsx(ra,{title:Ea,enterTouchDelay:600,placement:"bottom",display:"flex",children:t.jsx(at,{"data-testid":ae("nav-bar-back-credit-card-payment-review"),onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)}})})}),t.jsx(nt,{windowSize:d,children:Ba.reviewAndConfirm}),t.jsxs(Na,{children:[z.pay," ",t.jsx(Ae,{children:t.jsx(_e,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:ue.integerAmountInput.styleObject(d),decimalStyles:ue.decimalAmountInput.styleObject(d),style:{display:"inline-flex"}})})," ",za," ",t.jsx(Ae,{children:Ma})]}),B?t.jsx(Za,{children:t.jsxs(Va,{children:[t.jsxs(Ha,{children:[t.jsx(Qa,{}),t.jsxs(Ya,{children:[t.jsx(Ka,{children:e.error?.title}),t.jsx(Ga,{children:e.error?.message})]})]}),t.jsx(Xa,{children:t.jsx(Ja,{"data-testid":ae("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(et,{windowSize:d,children:t.jsxs(Ua,{children:[t.jsx(ce,{label:{label:se.paymentMethod,width:F},text:t.jsx(de,{windowSize:d,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"?z.bookPayment:z.sameDayACH}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.sourceAccount,width:F},text:t.jsxs(de,{windowSize:d,children:[We(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),t.jsxs(Wa,{windowSize:d,children:[e.chargeCardRepaymentDetailLocalData.transferFrom?.label,e.chargeCardRepaymentDetailLocalData.transferFrom?.maskedAccountNumber!=null?` ${e.chargeCardRepaymentDetailLocalData.transferFrom.maskedAccountNumber}`:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4!=null?` •••• ${e.chargeCardRepaymentDetailLocalData.transferFrom.accountLast4}`:null]})]}),style:{width:"auto"}}),t.jsx(Le,{}),t.jsx(ce,{label:{label:se.paymentDate,width:F},showAdditionalInfoLabel:!0,additionalInfoLabel:O,additionalInfoLabelStyles:{color:S.colors.hero,...la.smallRegular.cssObject},text:t.jsx(de,{windowSize:d,children:Se().format(ke)}),style:{width:"auto"}})]})})]}),t.jsx(ze,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp0},helperText:z.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${a.sp0} ${a.sp0} ${a.sp3} ${a.sp0}`},cancelBtn:{label:ja,onClick:()=>{o&&h&&n&&y!=null&&v.trackCardsPayEarlyFormClick(f,c,y,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:z.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},We=(e,o,h)=>{if(o==="")return t.jsx(st,{});const n=e.find(c=>c.id===o),f=e.findIndex(c=>c.id===o);if(n!=null){if(n.accType==="depositAccount")return t.jsx(lt,{isOptionSelected:h,children:t.jsx(ct,{color:wa(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?t.jsx(ot,{src:Oa(n.logo),isOptionSelected:h,loading:"lazy"}):t.jsx(it,{isOptionSelected:h,children:t.jsx(rt,{})})}return null},Oa=e=>e.base64!==void 0?`${va}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Na=i(ba)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  padding-top: ${a.sp3};
4
4
  white-space: nowrap;
@@ -1,4 +1,4 @@
1
- import{cI as M,g as N,er as P,F as _,V as l,eA as H,bG as L,o,dj as z,aP as x,cs as B,bH as b,al as Q,b as w,e$ as T,f0 as X,f1 as A,ai as G,bF as U,x as W,p as m}from"./index-AqGiWrum.js";import{a as S}from"./sentry-CTKU7CLc.js";import{n}from"./mui-C_Pjuwl5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2ee70c5b-d702-44c7-b1fa-b25caf9bdc05",e._sentryDebugIdIdentifier="sentry-dbid-2ee70c5b-d702-44c7-b1fa-b25caf9bdc05")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=P(y,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:f,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Y,Option:Z,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:q},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Y=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},Z=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},q=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:r[f]})})},J=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(Q)`
1
+ import{cI as M,g as N,er as P,F as _,V as l,eA as H,bG as L,o,dj as z,aP as x,cs as B,bH as b,al as Q,b as w,e$ as T,f0 as X,f1 as A,ai as G,bF as U,x as W,p as m}from"./index-BhvUwV_v.js";import{a as S}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2ee70c5b-d702-44c7-b1fa-b25caf9bdc05",e._sentryDebugIdIdentifier="sentry-dbid-2ee70c5b-d702-44c7-b1fa-b25caf9bdc05")}catch{}})();const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:f,formState:{errors:y}}=M(),g=N(),[j,k]=S.useState(!1),C=P(y,e??""),I=_.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:g.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${g.colors.dropShadowHover}`,border:`1px solid ${g.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:g.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:f,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return S.createElement(L,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Y,Option:Z,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:be,MenuList:q},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},Y=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(b.Control,{...e,className:"select-control",children:e.children})})},Z=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(b.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},q=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(B,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:f,style:y})=>l.jsx(ce,{style:y,children:r[f]})})},J=e=>l.jsx(b.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(b.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(b.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(Q)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&T(e)===!1)return l.jsx(l.Fragment,{});{const t=X[`${A(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{Q as u,V as t,F as c,aQ as l,aP as p,T as g,o,af as h,M as x,f}from"./index-AqGiWrum.js";import{a as m}from"./sentry-CTKU7CLc.js";import{n as i}from"./mui-C_Pjuwl5.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="97178c33-0a96-4451-8a5f-b1f14d879931",e._sentryDebugIdIdentifier="sentry-dbid-97178c33-0a96-4451-8a5f-b1f14d879931")}catch{}})();const b=i.div`
1
+ import{Q as u,V as t,F as c,aQ as l,aP as p,T as g,o,af as h,M as x,f}from"./index-BhvUwV_v.js";import{a as m}from"./sentry-DgGQRl6g.js";import{n as i}from"./mui-DqYnCiYu.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="97178c33-0a96-4451-8a5f-b1f14d879931",e._sentryDebugIdIdentifier="sentry-dbid-97178c33-0a96-4451-8a5f-b1f14d879931")}catch{}})();const b=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as o}from"./index-BhvUwV_v.js";import i from"./CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js";import e from"./CustomerOnboardingPage-DKcr5stz-DRi352cJ.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./mui-DqYnCiYu.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js";import"./commonTypes-9h2Y-L4i-CJG-nO2R.js";import"./SetUpAccountSection-DOvqcC8t-DxYvNTsg.js";import"./CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js";import"./CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js";import"./LabeledAddressValueField-BraOMDrG-CfBm_XIY.js";import"./LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js";import"./LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js";import"./LabeledDocumentField-BdQjt44W-EnLXAA71.js";import"./LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js";import"./QBOSetupSection--FQKYLxN-LYuddynp.js";import"./QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="4825a06c-d642-42ad-8f72-5df6f4734cd6",t._sentryDebugIdIdentifier="sentry-dbid-4825a06c-d642-42ad-8f72-5df6f4734cd6")}catch{}})();const P=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?o.jsx(i,{...t}):o.jsx(e,{...t});export{P as default};