{"version":3,"sources":["logo.svg","GlobalContexts/UserContext.js","Routes/AuthenticatedRoute.js","Routes/UnAuthenticatedRoute.js","Routes/ClientRoute.js","Components/GlobalComponents/EllipseDropdown/EllipseDropdown.js","Components/GlobalComponents/Header.js","host-config.js","GlobalFunctions/RequestHeaders.js","Api/PortfolioApi.js","Components/GlobalComponents/DownArrowCircleButton/DownArrowCircleButton.js","Pages/User/PortfolioPage/PhoneInvestmentGrid/PhoneInvestmentCard/PhoneInvestmentCardMainSection/PhoneInvestmentCardMainSection.js","Pages/User/PortfolioPage/PhoneInvestmentGrid/PhoneInvestmentCard/PhoneInvestmentCardDetailedInvestmentSection/PhoneInvestmentCardDetailedInvestmentSection.js","Pages/User/PortfolioPage/PhoneInvestmentGrid/PhoneInvestmentCard/PhoneInvestmentCard.js","Pages/User/PortfolioPage/PhoneInvestmentGrid/PhoneInvestmentGrid.js","GlobalComponents/Button/Button.js","Pages/User/PortfolioPage/InvestmentTable.js","Components/GlobalComponents/DateFilters/FromFilter.js","Components/GlobalComponents/DateFilters/ToFilter.js","Components/GlobalComponents/SingleSelectDropdown/SingleSelectDropdown.js","Pages/User/PortfolioPage/PortfolioFilterRow.js","Adapters/GlobalAdapters/FormatData.js","Pages/User/PortfolioPage/PortfolioGraphSection.js","atoms.js","Pages/User/PortfolioPage/PortfolioPage.js","Api/GlobalFunctions/RequestHeaders.js","Api/ConfirmInvestmentApi/ConfirmInvestmentApi.js","Adapters/GetAccountQualificationVerification.js","Components/GlobalComponents/CompleteAccountComponent/CompleteAccountComponent.js","GlobalComponents/AccountPicker/AccountPicker.js","Api/ProfileApi.js","Adapters/GetAccountListAdapter.js","Pages/Fund/InvestPage/InvestPageHeader/InvestPageHeader.js","Components/GlobalComponents/SearchBar.js","Components/GlobalComponents/MinInvestmentDropdown/MinInvestmentDropdown.js","Components/GlobalComponents/CheckBox.js","Components/GlobalComponents/StageFilter/StageFilter.js","Components/GlobalComponents/StrategyFilter/StrategyFilter.js","Pages/Fund/InvestPage/FilterRow/FilterRow.js","Pages/Fund/InvestPage/FundCard/StageSection/StageSection.js","Pages/Fund/InvestPage/FundCard/FundNameSection/FundNameSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/TargetPerformanceSection.js","Pages/Fund/InvestPage/ProgressBar.js","Pages/Fund/InvestPage/FundCard/AllocationGraphSection/AllocationGraphSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/FlorenceCapTargetPerformanceSection.js/FlorenceCapTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/QvinTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/LVTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/WandTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/AssemblyTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/SunshineLakeTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/NscaleTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/JukeboxTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/DOrbitTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/HOFTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/EVCITargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/TargetPerformanceSection/AxiomTargetPerformanceSection.js","Pages/Fund/InvestPage/FundCard/FundCard.js","CustomHooks/useDebounce.js","Api/GlobalFunctions/SignedURL.js","Api/GlobalFunctions/useFundSearch.js","Components/GlobalComponents/LoadingAnimation/LoadingAnimation.js","Pages/Fund/InvestPage/FundCard/NoFundsFoundCard/NoFundsFoundCard.js","GlobalComponents/AlertSnackBar/AlertSnackBar.js","Api/FundCardApi.js","Pages/Fund/InvestPage/InvestPage.js","Pages/Fund/FundDetailsPage/NavLinksSection/NavLinksSection.js","Components/GlobalComponents/WindowDimensions/useWindowDimensions.js","Components/GlobalComponents/GreyBorderWidgetRow/GreyBorderWidget.js","Components/GlobalComponents/GreyBorderWidgetRow/GreyBorderWidgetRow.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/OverviewSection/FundOverviewReferenceSection.js","Components/GlobalComponents/DropdownContent/DropdownContent.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/OverviewSection/OverviewSection.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/DocsSection/DocumentBox/DocumentBox.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/DocsSection/DocsSection.js","Adapters/DocsSectionAdapter.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/DeckSection/DeckSection.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/StructureSection/StructureSection.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/LearnMoreSection/SendQuestionSection/SendQuestionSection.js","Components/GlobalComponents/Tabs/TabTitle.js","Components/GlobalComponents/Tabs/Tabs.js","Components/GlobalComponents/Tabs/Tab.js","Pages/Fund/FundDetailsPage/FundDetailsPageMainContentSection/FundDetailsPageMainContentSection.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/NewFundDetailsPageTopSection.js","Api/FundDetailsApi/FundDetailsApi.js","Adapters/FundDetailsPageAdapters.js","Components/GlobalComponents/ProgressBar.js","Pages/Fund/FundDetailsPage/FundDetailsPageTopSection/PhoneFundDetailsPageTopSection/PhoneFundDetailsPageTopSection.js","Components/GlobalComponents/PageLoading/PageLoading.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/FlorenceCapDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/LVDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/QvinDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/WandDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/AssemblyDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/SunshineLakeDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/NscaleDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/JukeboxDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/DOrbitDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/HOFDetails.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/EVC1Details.js","Pages/Fund/FundDetailsPage/NewFundDetailsPageTopSection/AxiomDetails.js","Pages/Fund/FundDetailsPage/FundDetailsPage.js","GlobalFunctions/globalFunctions.js","GlobalComponents/InputField/StyledPasswordInputField/StyledPasswordInputField.js","GlobalComponents/InputField/StyledTextInputField/StyledTextInputField.js","Pages/User/LoginPage/LoginPage.js","GlobalComponents/Button/StateBasedButton/StateBasedButton.js","Api/SignupApi.js","Pages/User/SignupPage/QualifiedPurchaserQuestionnaireSection/QualifiedPurchaserQuestionnaireSection.js","Adapters/ConfidentialityAgreementAdapters.js","Adapters/TermsOfAgreementAdapters.js","Components/GlobalComponents/SignatureInputField/SignatureInputField.js","Pages/User/SignupPage/ConfidentialityAgreementSection/ConfidentialityAgreementSection.js","Pages/User/SignupPage/TermsAndAgreementSection/TermsAndAgreementSection.js","GlobalComponents/InputField/InputField.js","GlobalComponents/InputField/PasswordField/PasswordField.js","Components/GlobalComponents/StateButtonLoading/StateButtonLoading.js","Pages/User/SignupPage/VerificationSection/VerificationSection.js","Pages/User/SignupPage/AccountTypeSection/AccountTypeSection.js","Pages/User/SignupPage/QualificationSection/IndividualQualificationSection/IndividualQualificationSection.js","Pages/User/SignupPage/QualificationSection/TrustQualificationSection/TrustQualificationSection.js","Pages/User/SignupPage/QualificationSection/EntityQualificationSection/EntityQualificationSection.js","Pages/User/SignupPage/QualificationSection/QualificationSection.js","Components/GlobalComponents/CountryInput/shared.js","Components/GlobalComponents/CountryInput/CountryInput.js","Components/EntityAccountType/shared.js","Components/EntityAccountType/EntityAccountType.js","Pages/User/SignupPage/AccountSignupFormSection/IndividualSignupForm/IndividualSignupForm.js","Components/GlobalComponents/TrustAccountType/shared.js","Components/GlobalComponents/TrustAccountType/TrustAccountType.js","Components/GlobalComponents/StateInput/shared.js","Components/GlobalComponents/StateInput/StateInput.js","Pages/User/SignupPage/AccountSignupFormSection/TrustSignupForm/TrustSignupForm.js","Pages/User/SignupPage/AccountSignupFormSection/EntitySignupForm/EntitySignupForm.js","Pages/User/SignupPage/AccountSignupFormSection/AccountSignupFormSection.js","Pages/User/SignupPage/SignupPage.js","Pages/User/Profile/ProfileHeader.js","Functions/functions.js","Pages/User/Profile/ProfileBasicInfo.js","Components/GlobalComponents/ProfileInputFields/ProfileInputField.js","Pages/User/Profile/DeliverableAddressSection/DeliverableAddressSection.js","GlobalComponents/InputField/StyledDateInputField/StyledDateInputField.js","Components/GlobalComponents/stateList.js","Components/countryList.js","Components/reducedCountryList.js","GlobalComponents/InputField/SelectField/SelectField.js","Pages/User/Profile/InvestorInformation.js","Components/GlobalComponents/ProfileInputFields/ProfilePasswordField/ProfilePasswordField.js","Pages/User/Profile/ProfilePassword.js","Components/GlobalComponents/VerticalTabs/VerticalTabTitle.js","Components/GlobalComponents/VerticalTabs/VerticalTabs.js","Components/GlobalComponents/VerticalTabs/VerticalTab.js","Pages/User/Profile/Profile.js","Api/BlogPostApi.js","Pages/User/Learn/BlogPostPage/BlogPostPage.js","Adapters/GetBlogPostByLinkAdapter.js","Components/GlobalComponents/VerticalTabs/LargeVerticalTabs.js","Pages/User/DocumentsPage/AccountStatements.js","Pages/User/DocumentsPage/TaxDocuments.js","Pages/User/DocumentsPage/UserFundDocuments.js","Api/DocumentsApi.js","Components/GlobalComponents/DocumentTypeFilter/DocumentTypeFilter.js","Pages/User/DocumentsPage/MobileDocumentsSection/MobileDocumentCard/MobileDocumentCard.js","Pages/User/DocumentsPage/MobileDocumentsSection/MobileDocumentsSection.js","Pages/User/DocumentsPage/DocumentsPage.js","Adapters/AccountStatementAdapters.js","Adapters/TaxDocumentsAdapter.js","Adapters/UserFundDocuments.js","Components/GlobalComponents/DisbursementDepostFilter/DisbursementDepositFilter.js","Components/GlobalComponents/StatusByDropdown/StatusByDropdown.js","Api/TransactionsApi.js","Pages/User/TransactionsPage/MobileTransactionSection/MobileTransactionCard/MobileTransactionCard.js","Pages/User/TransactionsPage/MobileTransactionSection/MobileTransactionSection.js","Pages/User/TransactionsPage/TransactionsPage.js","Pages/User/ForgotPasswordPage/ForgotPasswordPage.js","Components/GlobalComponents/InvestmentAmountField/InvestmentAmountField.js","Components/GlobalComponents/InvestmentTabs/TabTitle.js","Components/GlobalComponents/InvestmentTabs/Tabs.js","Components/GlobalComponents/InvestmentTabs/Tab.js","Pages/User/ConfirmInvestment/ConfirmInvestmentButtonSection/ConfirmInvestmentButtonSection.js","Pages/User/ConfirmInvestment/ConfirmInvestmentProfileIncompleteSection/ConfirmInvestmentProfileIncompleteSection.js","GlobalComponents/ConfirmInvestmentAccountDropdown/ConfirmInvestmentAccountDropdown.js","Pages/User/ConfirmInvestment/KycInProgressModal/KycInProgressModal.js","Pages/User/ConfirmInvestment/WireInstructions/WireInstructions.js","Pages/User/ConfirmInvestment/SubDocs/SubDocs.js","Pages/User/ConfirmInvestment/SydecarMessagingModal/SydecarMessagingModal.js","Pages/User/ConfirmInvestment/InvestmentConfirmationModal/InvestmentConfirmationModal.js","Pages/User/ConfirmInvestment/ConfirmInvestment.js","Adapters/GetFundSubscriptionInfo.js","Adapters/GetInvestorFundInvestmentAdapter.js","Pages/User/Messages/Messages.js","Pages/User/Learn/BlogPostCardSection/BlogPostCard/BlogPostCard.js","Pages/User/Learn/BlogPostCardSection/NoBlogPostsFoundCard/NoBlogPostsFoundCard.js","Pages/User/Learn/BlogPostCardSection/BlogPostCardSection.js","Pages/User/Learn/Learn.js","Adapters/BlogPostAdapter.js","Components/GlobalComponents/Accordion/AccordionItem.js","Components/GlobalComponents/Accordion/Accordion.js","Components/GlobalComponents/Accordion/AccordionCard.js","Api/FaqsApi.js","Pages/User/FAQs/FAQs.js","Adapters/FaqsAdapter.js","Pages/404/PageNotFound.js","Pages/User/ContactUs/ContactUs.js","Components/GlobalComponents/InfiniteInputFields/InfiniteCountryInputField/shared.js","Components/GlobalComponents/InfiniteInputFields/InfiniteTextInputField/InfiniteTextInputField.js","Components/GlobalComponents/InfiniteInputFields/InfiniteStateInputField/shared.js","Components/GlobalComponents/InfiniteInputFields/InfiniteIDInputField/InfiniteIDInputField.js","Pages/User/InvestmentAccountsPage/InvestmentAccountsPage.js","Adapters/GlobalAdapters/GetInvestmentAccountsAdapter.js","CustomHooks/useDelayUnmount.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformationButton/IndividualAccountBasicInformationButton.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformationQualificationSection/IndividualAccountBasicInformationQualificationQuestion/IndividualAccountBasicInformationQualificationQuestion.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformationQualificationSection/IndividualAccountBasicInformationQPModal/IndividualAccountBasicInformationQPModal.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformationQualificationSection/IndividualAccountBasicInformationQualificationErrorSection/IndividualAccountBasicInformationQualificationErrorSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformationQualificationSection/IndividualAccountBasicInformationQualificationSection.js","GlobalComponents/InputField/StyledPhoneInputField/StyledPhoneInputField.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/TrustAccountBasicInformation/TrustAccountBasicInformationQualificationSection/TrustAccountBasicInformationQualificationQuestion/TrustAccountBasicInformationQualificationQuestion.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/TrustAccountBasicInformation/TrustAccountBasicInformationQualificationSection/TrustAccountBasicInformationQPModal/TrustAccountBasicInformationQPModal.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/TrustAccountBasicInformation/TrustAccountBasicInformationQualificationSection/TrustAccountBasicInformationQualificationError/TrustAccountBasicInformationQualificationError.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/TrustAccountBasicInformation/TrustAccountBasicInformationQualificationSection/TrustAccountBasicInformationQualificationSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/TrustAccountBasicInformation/TrustAccountBasicInformationButton/TrustAccountBasicInformationButton.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/TrustAccountBasicInformation/TrustAccountBasicInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/EntityAccountBasicInformation/EntityAccountBasicInformationQualificationSection/EntityAccountBasicInformationQualificationQuestion/EntityAccountBasicInformationQualificationQuestion.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/EntityAccountBasicInformation/EntityAccountBasicInformationQualificationSection/EntityAccountBasicInformationQPModal/EntityAccountBasicInformationQPModal.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/EntityAccountBasicInformation/EntityAccountBasicInformationQualificationSection/EntityAccountBasicInformationQualificationError/EntityAccountBasicInformationQualificationError.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/EntityAccountBasicInformation/EntityAccountBasicInformationQualificationSection/EntityAccountBasicInformationQualificationSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/EntityAccountBasicInformation/EntityAccountBasicInformationButton/EntityAccountBasicInformationButton.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/EntityAccountBasicInformation/EntityAccountBasicInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountBasicInformation/AccountBasicInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/IndividualAccountPersonalInformation/IndividualAccountPersonalInformationTaxSection/IndividualAccountPersonalInformationTaxSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/IndividualAccountPersonalInformation/IndividualAccountPersonalInformationAddressSection/IndividualAccountPersonalInformationAddressSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/IndividualAccountPersonalInformation/IndividualAccountPersonalInformationButton/IndividualAccountPersonalInformationButton.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/IndividualAccountPersonalInformation/IndividualAccountPersonalInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/TrustAccountLegalInformation/TrustAccountLegalInformationTaxSection/TrustAccountLegalInformationTaxSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/TrustAccountLegalInformation/TrustAccountLegalInformationAddressSection/TrustAccountLegalInformationAddressSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/TrustAccountLegalInformation/TrustAccountLegalInformationButton/TrustAccountLegalInformationButton.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/TrustAccountLegalInformation/TrustAccountLegalInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/EntityAccountLegalInformation/EntityAccountLegalInformationTaxSection/EntityAccountLegalInformationTaxSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/EntityAccountLegalInformation/EntityAccountLegalInformationAddressSection/EntityAccountLegalInformationAddressSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/EntityAccountLegalInformation/EntityAccountLegalInformationButton/EntityAccountLegalInformationButton.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/EntityAccountLegalInformation/EntityAccountLegalInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountLegalInformation/AccountLegalInformation.js","Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput.js","GlobalComponents/InputFields/PhoneInputField/PhoneInputField.js","GlobalComponents/Button/UploadButton/UploadButton.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/InfiniteInputComponent/EntityInputInformation/IrrevocableTrustRelatedPartyInputInformation/IrrevocableTrustRelatedPartyInputInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/InfiniteInputComponent/EntityInputInformation/EntityInputInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/InfiniteInputComponent/InfiniteInputComponent.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/EntityAccountRelatedPartyInformation/BeneficialOwnerSection/BeneficialOwnerQuestion/BeneficialOwnerQuestion.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/EntityAccountRelatedPartyInformation/BeneficialOwnerSection/BeneficialOwnerInfiniteInput/BeneficialOwnerInfiniteInput.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/EntityAccountRelatedPartyInformation/BeneficialOwnerSection/BeneficialOwnerSection.js","utilities/functions/functions.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/EntityAccountRelatedPartyInformation/EntityAccountRelatedPartyInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/TrusteeSection/TrusteeQuestion/TrusteeQuestion.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/TrusteeSection/TrusteeInfiniteInput/TrusteeInfiniteInput.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/TrusteeSection/TrusteeSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/TrusteeSection/GrantorInformation/GrantorInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/BeneficialOwnerSection/BeneficialOwnerQuestion/BeneficialOwnerQuestion.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/BeneficialOwnerSection/BeneficialOwnerInfiniteInput/BeneficialOwnerInfiniteInput.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/BeneficialOwnerSection/BeneficialOwnerSection.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/TrustAccountRelatedPartyInformation/TrustAccountRelatedPartyInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountRelatedPartyInformation/AccountRelatedPartyInformation.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AdditionalQuestionsEntQuestion.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AdditionalQuestionsEnt.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AccountComplete/AccountComplete.js","Pages/User/InvestmentAccountsPage/AddInvestmentAccount/AddInvestmentAccount.js","Adapters/GetIncompleteInvestmentAccountAdapter.js","Components/GlobalComponents/TabsV2/TabV2.js","Components/GlobalComponents/TabsV2/TabV2Title.js","Components/GlobalComponents/TabsV2/TabsV2.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsHeader/IndividualAccountDetailsHeader.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsBasicInfo/AccountQualification/AccountQualification.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsBasicInfo/AccountContactInfo/AccountContactInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsBasicInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsBasicInfo/IndividualAccountDetailsBasicInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsPersonalInfo/IndividualAccountDetailsPII/IndividualAccountDetailsPII.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsPersonalInfo/IndividualAccountDetailsAddress/IndividualAccountDetailsAddress.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsPersonalInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsPersonalInfo/IndividualAccountDetailsPersonalInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetailsInfoSection/IndividualAccountDetailsInfoSection.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/IndividualAccountDetails/IndividualAccountDetails.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsHeader/TrustAccountDetailsHeader.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGeneralInfo/AccountQualification/AccountQualification.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGeneralInfo/AccountLegalStructure/AccountLegalStructure.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGeneralInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGeneralInfo/TrustAccountDetailsGeneralInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsTaxInfo/TaxNumber/TaxNumber.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsTaxInfo/MailingAddress/MailingAddress.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsTaxInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsTaxInfo/TrustAccountDetailsTaxInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGrantorInfo/ContactInfo/ContactInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGrantorInfo/MailingAddress/MailingAddress.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGrantorInfo/PII/PII.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGrantorInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsGrantorInfo/TrustAccountDetailsGrantorInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/NoRelatedParties/NoRelatedParties.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsTrusteeInfo/Trustees/Trustees.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsTrusteeInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsTrusteeInfo/TrustAccountDetailsTrusteeInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsBeneficialOwnerInfo/BeneficialOwners/BeneficialOwners.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsBeneficialOwnerInfo/TrustAccountDetailsBeneficialOwnerInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetailsInfoSection/TrustAccountDetailsInfoSection.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/TrustAccountDetails/TrustAccountDetails.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsHeader/EntityAccountDetailsHeader.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsGeneralInfo/AccountQualification/AccountQualification.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsGeneralInfo/AccountLegalStructure/AccountLegalStructure.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsGeneralInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsGeneralInfo/EntityAccountDetailsGeneralInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsTaxInfo/TaxNumber/TaxNumber.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsTaxInfo/MailingAddress/MailingAddress.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsTaxInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsTaxInfo/EntityAccountDetailsTaxInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsBeneficialOwnerInfo/BeneficialOwners/BeneficialOwners.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsBeneficialOwnerInfo/UpdateInfoInstructions/UpdateInfoInstructions.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsBeneficialOwnerInfo/EntityAccountDetailsBeneficialOwnerInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetailsInfo/EntityAccountDetailsInfo.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/EntityAccountDetails/EntityAccountDetails.js","Pages/User/InvestmentAccountsPage/AccountDetailsPage/AccountDetailsPage.js","Pages/User/LoginPage/ConfirmCode/ConfirmCode.js","Pages/User/SubDocs.js","Api/CapitalCallApi.js","Pages/User/CapitalCalls.js","Pages/User/FeederFundSignup/CoverImage/CoverImage.js","Pages/User/FeederFundSignup/SignupContent/LogoContainer/LogoContainer.js","Api/FeederFundSignupApi.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/FlowNotAccessible/FlowNotAccessible.js","Components/GlobalComponents/TextInputField/TextInputField.js","GlobalComponents/Button/MuiButton/MuiButton.js","GlobalContexts/AccesCodeContext.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccessCode/AccessCode.js","GlobalComponents/PasswordInputField/PasswordInputField.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/VerifyEmail/VerifyEmail.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/VerifyEmail/VerifyCitizenship.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/TermsOfUse/TermsOfUse.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountTypeSelection/AccountTypeSelection.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/IndividualQualification/IndividualQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/JointQualification/JointQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/SMLLCQualification/SMLLCQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/TrustQualification/TrustQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/EntityQualification/EntityQualification.js","Components/GlobalComponents/RadioInputs/RadioInputGroup.js","Components/GlobalComponents/RadioInputs/RadioInput/RadioInput.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/IndividualQualification/AccreditedInvestorModal/AccreditedInvestorModal.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/IndividualQualification/AccreditationQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/JointQualification/JointAccreditationQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/SMLLCQualification/SMLLCAccreditationQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/TrustQualification/TrustAccreditationQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/EntityQualification/EntityAccreditedQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountQualification/AccountQualification.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountSignupForm/IndividualSignup/IndividualSignup.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountSignupForm/JointSignup/JointSignup.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountSignupForm/TrustSignup/TrustSignup.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountSignupForm/EntitySignup/EntitySignup.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountSignupForm/SMLLCSignup/SMLLCSignup.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/AccountSignupForm/AccountSignupForm.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/VerificationCode/VerificationCode.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/SignupSteps/SignupSteps.js","Pages/User/FeederFundSignup/SignupContent/FirmAuthorizedSignup/FirmAuthorizedSignup.js","Adapters/FeederFundSignupAdapters.js","Pages/User/FeederFundSignup/SignupContent/SignupContent.js","Pages/User/FeederFundSignup/FeederFundSignup.js","Routes/AdminDashboard.js","Routes/Routes.js","App.js","reportWebVitals.js","aws-exports.js","index.js"],"names":["UserContext","React","createContext","AuthenticatedRoute","children","rest","useLocation","pathname","search","user","useContext","isAuthenticated","to","UnAuthenticatedRoute","redirect","name","url","window","location","href","replace","results","RegExp","exec","decodeURIComponent","querystring","ClientRoute","console","log","id","endsWith","EllipseDropdown","text","setText","defaultKey","setUser","history","useHistory","useState","positionText","setPositionText","isMobile","useMediaQuery","query","useEffect","logoutUser","a","Auth","signOut","process","push","menu","style","paddingTop","paddingBottom","selectable","onClick","e","key","defaultSelectedKeys","Item","className","src","alt","loading","Divider","overlay","placement","icon","height","width","shape","backgroundColor","outline","border","boxShadow","Header","activePage","investSelected","setInvestSelected","portfolioSelected","setPortfolioSelected","setMessagesSelected","setLearnSelected","setFaqSelected","pageSelected","setPageSelected","investmentAccountSelected","setInvestmentAccountSelected","setDashboardSelected","setDefaultKey","items","hostname","split","startsWith","type","queries","large","minWidth","matches","investorSummaryData","first_name","last_name","class","HOST","getRequestHeaders","config","headers","currentSession","then","response","accessToken","jwtToken","undefined","getUserInvestments","active","accountId","requestParams","params","active_funds_only","account_id","Authorization","axios","get","getUserDistributions","DownArrowCircleButton","selected","setSelected","rotateIcon","Fragment","PhoneInvestmentCardMainSection","amount","investment","fundName","investmentAmount","parseInt","toString","toLocaleString","opportunityStatus","investmentStatus","P","A","R","investmentStatusFormatter","investmentStage","require","PhoneInvestmentCardDetailedInvestmentSection","strategy","firmName","STRUCTURED_CREDIT","CLO_MANAGEMENT","DIRECT_ACCESS","PRIVATE_EQUITY","CO_INVESTMENT","FUND_OF_FUNDS","dayjs","fundClosingDate","format","investmentDate","lastDistributionDate","PhoneInvestmentCard","PhoneInvestmentGrid","fundInvestments","length","map","index","Button","buttonText","setButtonText","InvestmentTable","investments","distributions","setFundInvestments","sortedInvestments","sort","b","investment_date","localeCompare","hashedFundInvestment","Map","forEach","investment_amount","status","fund","account_name","capital_call","marked_value","unixInvestmentDateNoTime","unixInvestmentDate","unix","toISOString","fund_closing_date","unixFundClosingDateNoTime","has","set","investment_status","accountName","markedValue","capitalCall","originator_firm","link","logoLink","logo_link","strategy_type","targetFundLength","lastDistributionAmount","totalDistributed","newInvestment","hashedAccountFundInvestment","distribution_date","distribution_amount","unixDistributionDateNoTime","unixDistributionDate","newDistributed","flattenedArray","Array","from","keys","keyElement","values","value","idx","reduce","acc","val","concat","elem","moneyFormatter","cell","newColumns","dataField","classes","headerClasses","formatter","PD","PF","F","expandRow","parentClassName","isExpanded","row","rowIndex","onExpand","isExpand","onlyOneExpanding","renderer","expanded","medium","maxWidth","keyField","data","columns","bordered","rowClasses","FromFilter","selectedDay","setSelectedDay","onChange","colorPrimary","renderInput","ref","readOnly","placeholder","month","day","year","renderFooter","clasName","calendarPopperPosition","ToFilter","SingleSelectDropdown","paddingLeft","paddingRight","PortfolioFilterRow","fromDate","setFromDate","toDate","setToDate","numFormatter","num","toFixed","PortfolioGraphSection","accountCreationDate","filterInvestments","setFilterInvestments","filterDistributions","setFilterDistributions","cumulativePortfolio","setCumulativePortfolio","createdAccountDate","setCreatedAccountDate","created_at","substring","filteredArray","distribution","hashedPortfolio","defaultPortfolio","unixAccountCreationDate","currentDate","Date","currentDateNoTime","unixCurrentDate","priorDate","getTime","capitalCallAmount","markedValueAmount","distributionAmount","filteredInvestments","currFund","investDate","todayDate","prevDate","days","unixDateNoTime","unixDate","unixDateISO","filteredDistributions","unixDistributionDateISO","orderedPortfolio","Object","entries","processedPortfolio","constructedDate","constructedUnixDateNoTime","startDate","endDate","startIndex","endIndex","previousInvestmentTotal","previousCapitalCallTotal","previousMarkedValueTotal","previousDistributionTotal","pushEnd","f","investmentRunSum","distributionRunSum","capitalCallRunSum","markedValueRunSum","i","previousDate","firstInvestmentDate","lastInvestDate","AxisFormatter","number","ResponsiveContainer","LineChart","margin","top","right","left","bottom","CartesianGrid","strokeDasharray","stroke","strokeWidth","hidden","XAxis","domain","dataKey","interval","tickLine","hide","allowDataOverflow","YAxis","tickFormatter","fontFamily","color","fontWeight","fontStyle","fontSize","Tooltip","labelFormatter","date","labelStyle","contentStyle","wrapperStyle","borderRadius","background","Line","activeDot","r","dot","accessCodeVal","atom","default","termsAgreedVal","termsAgreementIdVal","confidentialityAgreedIdVal","nameVal","accountTypeIndividualVal","accountTypeTrustVal","accountTypeEntityVal","accountTypeJointVal","accountTypeSMLLCVal","indQpQ1Yes","indQpQ1No","qualificationDateVal","jointQpQ1Yes","jointQpQ1No","smLLCQpQ1Yes","smLLCQpQ1No","trustQpQ1","trustQpQ2","trustQpQ3","trustQpQ4","entityQpQ1","entityQpQ2","entityQpQ3","entityQpQ4","entityQpQ5","emailVal","userIDVal","indNetWorth1M","indIncomeAccredited","indInvestmentProfessional","indAssets5M","jointNetWorth1M","jointIncomeAccredited","jointInvestmentProfessional","jointAssets5M","smLLCAssets5M","smLLCOwnerAccredited","trustAssets5M","trustSophisticatedInvestor","trustFormationNotSpecificInvestment","trustGrantorsAccredited","trustOwnedByFamily","trustGrantorQP","entityAssets5M","entityNotFormedForInvestment","entityOwnersAccredited","entityOwnedByFamily","entityAssets25M","entityOwnersQP","accreditedInvestorsAllowed","utc","PortfolioPage","setAccountCreationDate","setTotalInvested","setTotalDistributed","setInvestments","setDistributions","local","selectedAccountID","getInvestments","getDistributions","totalInvestments","totalDistributions","getFundSubscriptionStats","fundLink","accountID","createInvestment","fundId","iraPartnerName","ira_partner_name","fund_id","post","getInvestorFundInvestment","getAccountQualificationVerification","pollKYC","requestCount","request_num","GetAccountQualificationVerification","refresh","setLoading","accountQualificationVerification","setAccountQualificationVerification","accountQualificationVerificationData","entityComplete","entity_complete","investorProfileComplete","investor_profile_complete","accountType","account_type","qualificationType","account_qualifications","qualification_type","verificationStatus","account_verifications","getAccountQualificationVerificationInfo","CompleteAccountComponent","investmentAccountsPage","checked","setChecked","checked2","setChecked2","disabled","size","borderWidth","borderColor","display","flex","cursor","marginLeft","StyledMenu","styled","props","Menu","AccountMenuItem","account","primary","Avatar","sx","accountNumberObscured","AccountPicker","accounts","anchorElem","setAnchorElem","selectedAccount","setSelectedAccount","handleClose","accountListData","accountInfo","event","currentTarget","anchorEl","open","onClose","MenuItem","disableRipple","getInvestorProfile","getInvestorSummary","getAccountList","getAccountSummary","newAccount","payload","updateIdentityId","identityId","userParams","identity_id","updateInvestorAddress","investorAddress","updateInvestorPII","investorPII","additionalEntityInformation","entityInformation","updateEntityInformation","updateRelatedPartyInformation","relatedPartyInformation","GetAccountListAdapter","setAccounts","accountTypes","IND","TRT","ENT","JOINT","tempCell","repeat","prev","getAccountListInfo","InvestPageHeader","showProgressBar","setShowProgressBar","setAccountID","accountPickerLoading","setAccountPickerLoading","setAccountType","setInvestorProfileComplete","setEntityComplete","show","SearchBar","setValue","target","MinInvestmentDropdown","CheckBox","divClass","setDivClass","viewBox","fill","xmlns","d","StageFilter","StrategyFilter","FilterRow","setQuery","minInvestment","setMinInvestment","defaultMinInvestment","strategyType","setStrategyType","defaultStrategyType","setStatus","defaultStatus","StageSection","stage","stageBoxDiv","setStageBoxDiv","FundNameSection","firmLogoLoading","setFirmLogoLoading","marginTop","marginBottom","marginRight","onLoad","TargetPerformanceSection","targetIRR","targetReturnMultiple","minimum","ProgressBar","bgcolor","completed","containerStyles","bgColor","fillerStyles","zIndex","textAlign","AllocationGraphSection","allocationLeft","FlorenceCapTargetPerformanceSection","QvinTargetPerformanceSection","LVTargetPerformanceSection","WandTargetPerformanceSection","AssemblyTargetPerformanceSection","SunshineLakeTargetPerformanceSection","NscaleTargetPerformanceSection","JukeboxTargetPerformanceSection","DOrbitTargetPerformanceSection","HOFTargetPerformanceSection","EVCITargetPerformanceSection","AxiomTargetPerformanceSection","FundCard","isFeeder","stageMap","DIRECT_LANDING","BUYOUT","GROWTH","CREDIT","VENTURE_CAPITAL","fundRef","useRef","JSON","stringify","includes","fundInvestmentStatus","enableRequestAllocation","firm","fundLogoLink","fundTerms","target_return_multiple","minimumInvestment","amountInvested","fundSize","useDebounce","delay","debouncedValue","setDebouncedValue","handler","setTimeout","clearTimeout","getSignedURL","level","path","signedURL","CancelToken","useFundSearch","searchKeywords","fundMinimumAllocation","funds","setFunds","cancelSource","debouncedSearchTerm","current","source","queryParams","endPoint","tempObject","fundInfo","fund_logo","investorInterested","investor_fund_interested","fundRestrictions","restrictions","fund_terms","fund_size","fundLength","fund_subscription_stats","committed_allocation_amount","minimum_allocation_amount","target_return_upper_percent","prevFunds","getUsableURLs","catch","error","search_keyword","fund_investment_status","fund_minimum_allocation","Buyout","Growth","Credit","cancelToken","token","getFunds","cancel","LoadingAnimation","NoFundsFoundCard","AlertSnackBar","snackbarState","setSnackbarState","vertical","horizontal","duration","sxProps","severity","message","reason","action","IconButton","Close","Snackbar","anchorOrigin","autoHideDuration","Alert","isFeederAPI","InvestPage","searchKeyWords","setSearchKeyWords","setFundMinimumAllocation","setDefaultMinInvestment","setDefaultStrategyType","setDefaultStatus","feeder","setFeeder","state","accountLinked","accountLinkSuccessful","setAccountLinkSuccessful","initialVal","msg","minInvestmentFilterItems","defaultSelected","defaultItems","NavLinksSection","useWindowDimensions","hasWindow","getWindowDimensions","innerHeight","innerWidth","windowDimensions","setWindowDimensions","handleResize","addEventListener","removeEventListener","GreyBorderWidget","cardItem","term","definition","GreyBorderWidgetRow","cardItems","rowClass","setRowClass","itemsRow","item","FundOverviewReferenceSection","referenceTerms","displayTerms","setDisplayTerms","terms","filter","display_term","DropdownContent","dropdownPreview","dropdownDetailedContent","arrowRef","handleSetState","rotate","WebkitTransform","dangerouslySetInnerHTML","__html","OverviewSection","tagline","hostName","fundOverviewContent","fundOverview","fundDueDiligenceQuestions","element","question","answer","DocumentBox","documentName","signedLink","displayDocument","focus","DocsSection","deckOnly","fundDocs","setFundDocs","deckDoc","s3_document_link","deckLink","display_document","doc","prevState","documentLink","getFundDocs","GetFundDocs","setAllDocs","document","PDFDocument","numPages","setNumPages","loadedDocument","setLoadedDocument","onLoadSuccess","PDFDocumentProxy","_pdfInfo","file","PDFPage","ArrowButton","direction","page","setPage","canvas","canvasRef","onRenderSuccess","context","getContext","globalAlpha","font","fillStyle","translate","fillText","save","pageNumber","DeckSection","StructureSection","SendQuestionSection","TabTitle","title","setSelectedTab","useCallback","Tabs","selectedTab","Tab","FundDetailsPageMainContentSection","overviewSelected","setOverviewSelected","deckSelected","setDeckSelected","structureSelected","setStructureSelected","docsSelected","setDocsSelected","learnMoreSelected","setLearnMoreSelected","NewFundDetailsPageTopSection","stageTextDiv","setStageTextDiv","colRef","rowRef","targetPerformanceRowRef","setLogoLink","fundLogo","registrationType","fundStrategy","getFund","GetFundInfo","setFund","fundData","firmLogoLinkUrl","fundLogoLinkUrl","sydecar","sydecar_eligibility","firmAUM","firm_aum","originating_fund","originating_fund_terms","registration_type","display_flag","short_description","fund_documents","target_length_months","upfront_management_fee_percent","ongoing_distribution_fee_percent","deck_link","incorporation_country","maximum_allocation_amount","fund_subscriptions_stats","extension_categories","fund_reference_terms","legacy_pricing_structure","fund_due_diligence_questions","getFundInfo","PhoneFundDetailsPageTopSection","targetInvestmentPeriod","Math","round","allocationSize","Number","EPSILON","PageLoading","FlorenceCapDetails","LVDetails","QvinDetails","WandDetails","AssemblyDetails","SunshineLakeDetails","NscaleDetails","JukeboxDetails","DOrbitDetails","HOFDetails","EVC1Details","AxiomDetails","FundDetailsPage","useParams","dbFund","setDBFund","initialNum","isEmailValid","email","test","String","toLowerCase","isPasswordValid","password","formatSSN","ssn","ssnLength","slice","getDateUTC","now_utc","UTC","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","formatInvestmentAmount","Intl","NumberFormat","currency","isValidState","stateChoice","isValidCountry","country","isValidCountryChoice","countryChoice","isValidTrustType","isValid","typeChoice","isValidEntityType","StyledPasswordInputField","valueError","setValueError","label","required","fullWidth","shrink","isMasked","setIsMasked","Box","TextField","helperText","InputProps","endAdornment","InputAdornment","position","onMouseDown","preventDefault","edge","InputLabelProps","StyledTextInputField","mask","shouldMaskSSN","maskPattern","maskChar","maskFormatter","onBlur","substr","LoginPage","setEmail","emailError","setEmailError","setPassword","passwordError","setPasswordError","setLoginError","accountCreationSuccessful","setAccountCreationSuccessful","passwordResetSuccessful","setPasswordResetSuccessful","emailConfirmationSuccessful","setEmailConfirmationSuccessful","errorSnackBarState","setErrorSnackbarState","invalidDomainError","setInvalidDomainError","domains","setDomains","signIn","isDataValid","currentCredentials","userID","userProfile","valid_domains","ind_platform_domain","join","investorSummary","accountList","investorPrimaryAddressLine1","investorPrimaryAddressLine2","investorPrimaryCity","investorPrimaryState","investorPrimaryCountry","investorPrimaryPostalCode","investorPrimaryAddressType","investorSecondaryAddressLine1","investorSecondaryAddressLine2","investorSecondaryCity","investorSecondaryState","investorSecondaryCountry","investorSecondaryPostalCode","investorSecondaryAddressType","investor_addresses","address_line_1","address_line_2","city","postal_code","address_type","investor_address","userProfileData","DEBUG","code","resendSignUp","listener","backgroundSize","opacity","role","StateBasedButton","proceed","textClass","setTextClass","create","baseUrl","QualifiedPurchaserQuestionnaireSection","signupUser","getInvestorConfidentialityAgreement","getInvestorTermsOfAgreement","GetInvestorConfidentialityAgreement","time","investorConfidentialityAgreement","setInvestorConfidentialityAgreement","investorConfidentialityAgreementData","version","agreement","getInvestorConfidentialityAgreementObject","GetInvestorTermsOfAgreement","investorTermsOfAgreement","setInvestorTermsOfAgreement","investorTermsOfAgreementData","getInvestorTermsOfAgreementObject","SignatureInputField","fieldValueChange","initialValue","inputPlaceholder","setInputPlaceholder","setFocus","fieldValue","setFieldValue","onFocus","ConfidentialityAgreementSection","navigation","confidentialityAgreed","setConfidentialityAgreed","setConfidentialityAgreementId","setName","documentHasBeenRead","setDocumentHasBeenRead","setProceed","timeStamp","now","nameError","setNameError","nameInvalid","setNameInvalid","word","scrollBasedSubmitButton","scrollWarning","previous","fillRule","clipRule","onScroll","scrollHeight","scrollTop","clientHeight","handleScroll","trim","next","TermsAndAgreementSection","termsAgreed","setTermsAgreed","setTermsAgreementId","InputField","fieldInitialVal","PasswordField","StateButtonLoading","VerificationSection","userId","verificationCode","setVerificationCode","verificationCodeError","setVerificationCodeError","resendCodeLoading","setResendCodeLoading","resendCodeSuccess","setResendCodeSuccess","resendCodeError","setResendCodeError","userEmail","setUserEmail","resendConfirmationCode","verifyUser","confirmSignUp","AccountTypeSection","accountTypeIndividual","accountTypeTrust","accountTypeEntity","accountTypeJoint","setAccountTypeJoint","accountTypeRetirement","setAccountTypeIndividual","setAccountTypeTrust","setAccountTypeEntity","setAccountTypeRetirement","accountTypeIndividualFocus","setAccountTypeIndividualFocus","accountTypeTrustFocus","setAccountTypeTrustFocus","accountTypeEntityFocus","setAccountTypeEntityFocus","accountTypeRetirementFocus","setAccountTypeRetirementFocus","accountTypeJointFocus","setAccountTypeJointFocus","accountTypeIndividualDivClass","setAccountTypeIndividualDivClass","accountTypeTrustDivClass","setAccountTypeTrustDivClass","accountTypeEntityDivClass","setAccountTypeEntityDivClass","setAccountTypeRetirementDivClass","accountTypeJointDivClass","setAccountTypeJointDivClass","accountSelectionError","setAccountSelectionError","validateAccountSelection","QualifiedPurchaserModal","setShowModal","Modal","centered","onHide","closeButton","Title","Body","Footer","QualifiedPurchaserLink","verticalAlign","textDecoration","AccreditedInvestorLink","IndividualQualificationSection","selection1","selection2","setSelection1","setSelection2","setQualificationDate","showModal","selection1Focus","setSelection1Focus","selection2Focus","setSelection2Focus","divClass1","setDivClass1","divClass2","setDivClass2","qpError","setQPError","isQP","utcDate","validateQPStatus","TrustQualificationSection","trustQualificationQ1","trustQualificationQ2","trustQualificationQ3","trustQualificationQ4","setTrustQualificationQ1","setTrustQualificationQ2","setTrustQualificationQ3","setTrustQualificationQ4","trustQualificationError","setTrustQualificationError","q1Yes","setQ1Yes","setQ1Empty","q1No","setQ1No","q2Yes","setQ2Yes","setQ2Empty","q2No","setQ2No","q3Yes","setQ3Yes","setQ3Empty","q3No","setQ3No","q4Yes","setQ4Yes","setQ4Empty","q4No","setQ4No","for","validateTrustQPStatus","EntityQualificationSection","entityQualificationQ1","entityQualificationQ2","entityQualificationQ3","entityQualificationQ4","entityQualificationQ5","setEntityQualificationQ1","setEntityQualificationQ2","setEntityQualificationQ3","setEntityQualificationQ4","setEntityQualificationQ5","entityQualificationError","setEntityQualificationError","q5Yes","setQ5Yes","setQ5Empty","q5No","setQ5No","validateEntityQPStatus","QualificationSection","individual5mInvestments","setIndividual5mInvestments","individualNot5mInvestments","setIndividualNot5mInvestments","listOfCountries","newcss","starWarsNames","all","s","css","emoCSS","borderTop","lineHeight","textTransform","padding","whiteSpace","wordWrap","isActive","isSelected","styles","onAttention","TransparentInput","minHeight","transition","isOpen","borderBottomLeftRadius","borderBottomRightRadius","Input","BaseMenu","maxHeight","overflowY","overflowX","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","forwardRef","innerRef","ControllerButton","flexDirection","justifyContent","alignItems","ArrowIcon","preserveAspectRatio","transform","XIcon","getItems","matchSorter","CountryInput","selectedItem","onStateChange","changes","hasOwnProperty","inputValue","getLabelProps","getInputProps","getToggleButtonProps","getMenuProps","getItemProps","clearSelection","highlightedIndex","listOfEntityTypes","listOfJointTypes","joint","getStringItems","EntityAccountType","IndividualSignupForm","setUserId","qualificationDate","confidentialityAgreementId","confidentialityAgreementDateSigned","termsAgreementId","termsAgreementDateSigned","docSignatureName","signUpError","setSignUpError","firstNameError","setFirstNameError","lastNameError","setLastNameError","secFirstNameError","setSecFirstNameError","secLastNameError","setSecLastNameError","secEmailError","setSecEmailError","secFirstName","setSecFirstName","secLastName","setSecLastName","secEmail","setSecEmail","confirmPassword","setConfirmPassword","confirmPasswordError","setConfirmPasswordError","phoneNumberError","setPhoneNumberError","firstName","setFirstName","lastName","setLastName","phoneNumber","setPhoneNumber","countryOfResidence","setCountryOfResidence","countryOfResidenceError","setCountryOfResidenceError","isUSCitizen","setIsUSCitizen","isUSCitizenError","setIsUSCitizenError","entityAccountType","setEntityAccountType","entityAccountTypeError","submit","fullName","signUp","username","attributes","clientMetadata","cognitoUser","userSub","newUser","phone_number","signer_name","confidentiality_agreement_id","confidentiality_agreement_date_signed","terms_of_agreement_id","terms_of_agreement_date_signed","individual_q1_qp_5m_investments","qualification_date","joint_email","joint_first","joint_last","joint_account_type","is_us_citizen","phone","containerStyle","listOfTrustTypes","TrustAccountType","listOfStates","StateInput","setErrorState","TrustSignupForm","trustAccountNameError","setTrustAccountNameError","trustAccountTypeError","setTrustAccountTypeError","countryOfFormationError","setCountryOfFormationError","trustAccountName","setTrustAccountName","trustAccountType","setTrustAccountType","countryOfFormation","setCountryOfFormation","stateOfIncorporation","setStateOfIncorporation","stateOfIncorporationError","setStateOfIncorporationError","trust_q1_qp_5m_investments","trust_q2_qp_owned_by_family","trust_q3_qp_specific_purpose_invest_fund","trust_q4_qp_trustee_grantor_qp","entity_legal_name","entity_type","country_of_formation","EntitySignupForm","entityAccountNameError","setEntityAccountNameError","setEntityAccountTypeError","entityAccountName","setEntityAccountName","entity_q1_qp_specific_purpose_invest_fund","entity_q2_qp_5m_investments","entity_q3_qp_owned_by_family","entity_q4_qp_25m_investments","entity_q5_qp_all_owners_qp","AccountSignupFormSection","SignupPage","setDocSignatureName","setConfidentialityAgreementDateSigned","setTermsAgreementDateSigned","useStep","steps","initialStep","step","ProfileHeader","isDobValid","dob","toLocaleLowerCase","isValidSSN","ProfileBasicInfo","ProfileInputField","DeliverableAddressSection","deliverableAddressLine1","deliverableAddressLine2","deliverableCity","deliverableState","deliverableCountry","deliverablePostalCode","deliverableAddressLine1Error","deliverableAddressLine2Error","deliverableCityError","deliverableStateError","deliverableCountryError","deliverablePostalCodeError","setDeliverableAddressLine1","setDeliverableAddressLine2","setDeliverableCity","setDeliverableState","setDeliverableCountry","setDeliverablePostalCode","StyledDateInputField","formatDate","formatDateInverse","stateList","countryList","reducedCountryList","SelectField","selectOptions","select","option","InvestorInformation","accountSummaryData","setAccountSummaryData","piiLoading","setPIILoading","addressError","setAddressError","setDeliverableSelectionError","primaryAddressDeliverable","addressLine2Error","setAddressLine2Error","cityError","setCityError","countryStateError","setCountryStateError","countryError","setCountryError","postalCodeError","setPostalCodeError","nationalIdError","setNationalIdError","dobError","setDobError","address","setAddress","addressLine2","setAddressLine2","setCity","countryState","setCountryState","setCountry","postalCode","setPostalCode","setAddressType","setHideDeliverableQuestion","setDeliverableAddressLine1Error","setDeliverableAddressLine2Error","citizenship","setCitizenship","citizenshipError","setCitizenshipError","setDeliverableCityError","setDeliverableStateError","setDeliverableCountryError","setDeliverablePostalCodeError","nationalId","setNationalId","passportNumber","setPassportNumber","passportNumberError","setPassportNumberError","idType","setIDType","setDob","list","investor_pii","id_type","id_num","date_of_birth","submitAddressPII","investorInformation","errorPresent","addressInformation","updatedUser","updateInvestorPIIArray","updateInvestorAddressArray","address_complete","pii_complete","ProfilePasswordField","ProfilePassword","resetPassword","setResetPassword","oldPassword","setOldPassword","oldPasswordError","setOldPasswordError","newPassword","setNewPassword","confirmNewPassword","setConfirmNewPassword","newPasswordError","setNewPasswordError","confirmNewPasswordError","setConfirmNewPasswordError","resetPasswordError","setResetPasswordError","errorsDetected","currentAuthenticatedUser","currentUser","changePassword","VerticalTabTitle","VerticalTabs","initial","VerticalTab","Profile","basicInfoSelected","setBasicInfoSelected","investorInformationSelected","setInvestorInformationSelected","identityVerificationSelected","setIdentityVerificationSelected","qualifiedPurchaserSelected","setQualifiedPurchaserSelected","trustInformationSelected","setTrustInformationSelected","initialState","setInitialState","passwordSelected","setPasswordSelected","setCompleted","verified","setVerified","setProfileData","accountSummaryDataRespUnformatted","accountSummaryDataResp","entities","tax_info_complete","related_party_complete","fetchAccountSummary","completeProfile","verifyProfile","getBlogPostByLink","blogPostLink","searchBlogPosts","BlogPostPage","postImageLoading","setPostImageLoading","authorPicLoading","setAuthorPicLoading","blogPost","setBlogPost","postTitle","postSubtitle","subtitle","postContent","content","postImageLink","thumbnail","authorName","author","authorEmail","authorProfilePicLink","image","GetBlogPostByLinkAdapter","separator","LargeVerticalTabs","AccountStatements","accountStatements","rowEvents","TaxDocuments","taxDocuments","UserFundDocuments","userFundDocuments","getUserStatements","getUserTaxDocuments","getUserFundDocuments","resendMagicLink","call","clickToSign","getSubdocLinkFromCode","getSubdocSignature","attempts","tryCount","DocumentTypeFilter","MobileDocumentCard","documentType","documentDate","MobileDocumentsSection","setDocumentType","closingDocuments","documents","setDocuments","DocumentsPage","retrieveInfo","setAccountStatements","userAccountStatementsData","sortableStatementData","formattedDate","category","upload_date","viewed","uploadDate","getUserAccountStatementsObject","GetAccountStatement","setTaxDocuments","userTaxDocumentsData","sortableTaxDocumentsData","Y","Z","indexOf","intermediaryUrl","Storage","getUserTaxDocumentsObject","GetUserTaxDocuments","setUserFundDocuments","userFundDocumentsData","sortableUserFundDocumentsData","unixUserFundDocumentDateNoTime","unixUserFundDocumentDate","getUserFundDocumentsObject","GetUserFundDocuments","accountStatementsSelected","setAccountStatementsSelected","closingDocumentsSelected","setClosingDocumentsSelected","taxDocumentsSelected","setTaxDocumentsSelected","DisbursementDepositFilter","StatusByDropdown","getUserTransactions","transactionType","constructedFromDate","start_date","date2","constructedToDate","end_date","statuses","Pending","Processing","Completed","Failed","transaction_status","types","Deposit","Disbursement","transaction_type","MobileTransactionCard","itemNum","transaction","transactionTypeDiv","setTransactionTypeDiv","transactionAquaAccount","transactionStatus","transactionMethod","transactionAmount","MobileTransactionSection","transactions","TransactionsPage","setTransactions","statusText","setStatusText","colIndex","transactionsArray","mappedTransactions","dateNoTime","DEPOSIT","DISBURSEMENT","PENDING","IN_PROCESS","COMPLETED","FAILED","transactionDate","ACH","WIRE","ELECTRONIC_CHEQUE","MAIL_CHEQUE","method","transactionDateUnix","transactionAccount","bank_account","transactionInstitution","institution","getTransactions","ForgotPasswordPage","nextStep","setNextStep","lastStep","setLastStep","confirmCode","setConfirmCode","confirmCodeError","setConfirmCodeError","sendCodeError","setSendCodeError","confirmCodeLoading","setConfirmCodeLoading","resendCodeInProgress","setResendCodeInProgress","sendCode","forgotPassword","resetPasswordErrorDetected","submitPasswordUpdate","forgotPasswordSubmit","InvestmentAmountField","maxInput","ConfirmInvestmentButtonSection","confirmInvestment","submitInvestment","setInitial","setInvestmentConfirmationSelected","setSpecifyInvestmentAmountSelected","investorQualificationError","investorVerificationError","investmentConfirmationSelected","allowIraInvestments","confirmAltoIRAInvestment","ConfirmInvestmentProfileIncompleteSection","ConfirmInvestmentAccountDropdown","newAnchorElem","setNewAnchorElem","LoadingSpinnerAnimation","PendingReviewMessage","SuccessfulVerificationMessage","FailedVerificationMessage","RetrievalErrorMessage","ResponseTakingTooLongMessage","KycInProgressModal","showKycInProgress","setShowKycInProgress","setRefresh","pollKYCResponse","setPollKYCResponse","pollKycEndpoint","runPolling","fn","maxAttempts","setResultState","executePoll","resolve","reject","result","Promise","poll","backdrop","onEntered","onExited","WireInstructions","ErrorRenderingSubscriptionDocumentsMessage","setShowSignatureModal","ErrorConfirmingSignature","SubDocs","summary","fundSubscriptionInfo","signatureLoading","setSignatureLoading","showSignatureModal","showSigButton","setShowSigButton","HelloSign","clientId","testMode","getElementById","skipDomainVerification","on","pollSubDocsResponse","pollSubDocsSignatureResponse","setPollSubDocsSignatureResponse","pollSignatureEndpoint","runSignaturePolling","pollSignatureCompletion","secondary_investor_profile","SydecarMessagingModal","showSydecarMessagingModal","setShowSydecarMessagingModal","InvestmentConfirmationModal","showInvestmentConfirmationModal","setShowInvestmentConfirmationModal","ConfirmInvestment","MAXIMUM_INPUT","specifyInvestmentAmountSelected","subDocsSelected","setSubDocsSelected","setallowIraInvestments","setInvestmentAmount","investmentAmountError","setInvestmentAmountError","setFundName","setFundSubscriptionInfo","fundSubscriptionData","maximumInvestment","remainingAllocation","subscription_stats","remaining_allocation_amount","allow_ira_investments","legacyPricingStructure","getFundSubscriptionInfo","GetFundSubscriptionInfo","showInvestmentConfirmation","setShowInvestmentConfirmation","investorFundInvestmentInfo","setInvestorFundInvestmentInfo","investorFundInvestmentData","subdocs_signed","getInvestorFundInvestmentInfo","GetInvestorFundInvestment","canInvest","setCanInvest","setSummary","pending","setPending","sydecarOpportunity","showSydecarMessaging","setShowSydecarMessaging","accountSummary","loadingInvestmentData","setLoadingInvestmentData","stringArray","charAt","toUpperCase","investmentAmountNumbersOnly","errors","detail","OverlayTrigger","copy","renderTooltip","placementFee","Messages","BlogPostCard","isLargeScreen","isExtraSmallScreen","isSmallScreen","thumbnailLoading","setThumbnailLoading","thumbnailLink","NoBlogPostsFoundCard","BlogPostPreviewSection","blogPosts","Learn","searchQuery","setSearchQuery","setBlogPosts","debouncedSearchKeywords","blog_post","getUsableURLS","BlogPostAdapter","AccordionItem","itemid","idCollapseSource","idCollapseTarget","stackParent","Accordion","accordionid","accordionItems","AccordionCard","getFaqs","FAQs","initialApiRequest","generalFaqs","setGeneralFaqs","platformFaqs","setPlatformFaqs","peBasicsFaqs","setPEBasicsFaqs","glossaryFaqs","setGlossaryFaqs","faqResponse","displayFaqResponse","faq","display_faq","generalFAQS","displayfaq","platformFAQS","peBasicsFAQS","glossaryFAQS","getAllFaqs","GetFaqsAdapter","faqCards","dynamicFAQ","PageNotFound","ContactUs","subject","setSubject","setMessage","subjectError","setSubjectError","messageError","setMessageError","init","submitMessage","emailjs","send","subject_line","from_name","reply_to","rows","pageSettings","hideEventTypeDetails","hideLandingPageDetails","primaryColor","textColor","prefill","InfiniteTextInputField","InfiniteIDInputField","InvestmentAccountsPage","investmentAccounts","setInvestmentAccounts","statusCodes","I","S","primaryAccount","accountNumber","dateAdded","date_added","indIncomplete","getInvestmentAccountsInfo","GetInvestmentAccountsAdapter","AccountDetailsButton","CompleteAccountButton","isDummyField","cellContent","variant","useDelayUnmount","isMounted","delayTime","delayMount","shouldRender","setShouldRender","timeoutId","IndividualAccountBasicInformationButton","showIndividualQualificationSection","mountedStyle","unmountedStyle","IndividualAccountBasicInformationQualificationQuestion","questionNumber","questionText","setAnswer","answerYes","setAnswerYes","answerNo","setAnswerNo","IndividualAccountBasicInformationQPModal","IndividualAccountBasicInformationQualificationErrorSection","individualAccountBasicInformationError","IndividualAccountBasicInformationQualificationSection","individualQualificationQ1","setIndividualQualificationQ1","StyledPhoneInputField","inputStyle","inputComponent","IndividualAccountBasicInformation","processedCountryList","legalAccountName","setLegalAccountNameError","shouldRenderIndividualQualificationSection","setActiveSlide","setIndividualAccountBasicInformationError","jointAccountType","setJointAccountType","jointAccountTypeError","setJointAccountTypeError","submissionInProgress","setSubmissionInProgress","setPhone","phoneError","setPhoneError","submitEntityAccountBasicInformation","legal_name","newAccountResp","submitJointAccountBasicInformation","submitIndividualAccountBasicInformation","TrustAccountBasicInformationQualificationQuestion","showTrustQualificationSection","TrustAccountBasicInformationQPModal","TrustAccountBasicInformationQualificationError","trustAccountBasicInformationQualificationQuestionError","TrustAccountBasicInformationQualificationSection","TrustAccountBasicInformationButton","TrustAccountBasicInformation","shouldRenderTrustQualificationSection","setTrustAccountBasicInformationQualificationQuestionError","isTrustAccountQualifiedPurchaser","q1","q2","q3","q4","isQualifiedPurchaser","submitTrustAccountBasicInformation","EntityAccountBasicInformationQualificationQuestion","showEntityQualificationSection","EntityAccountBasicInformationQPModal","EntityAccountBasicInformationQualificationError","entityAccountBasicInformationQualificationQuestionError","EntityAccountBasicInformationQualificationSection","EntityAccountBasicInformationButton","EntityAccountBasicInformation","shouldRenderEntityQualificationSection","setEntityAccountBasicInformationQualificationQuestionError","isEntityAccountQualifiedPurchaser","q5","AccountBasicInformation","accountTypeError","setAccountTypeError","accountTypeOptions","showLegalAccountNameField","setLegalAccountName","legalAccountNameError","IndividualAccountPersonalInformationTaxSection","domicileCountry","idNumber","setIDNumber","idNumberError","setIDNumberError","IndividualAccountPersonalInformationAddressSection","addressLine1","setAddressLine1","addressLine1Error","setAddressLine1Error","setState","stateError","setStateError","processedStateList","IndividualAccountPersonalInformationButton","IndividualAccountPersonalInformation","setDomicileCountry","secIdNumber","setSecIDNumber","secDomicileCountry","secIdNumberError","setSecIDNumberError","secIdType","setSecIDType","secDob","setSecDob","secDobError","setSecDobError","secAddressLine1","setSecAddressLine1","secAddressLine1Error","setSecAddressLine1Error","secAddressLine2","setSecAddressLine2","secAddressLine2Error","setSecAddressLine2Error","secCity","setSecCity","secCityError","setSecCityError","secState","setSecState","secStateError","setSecStateError","secCountry","setSecCountry","secCountryError","setSecCountryError","secPostalCode","setSecPostalCode","secPostalCodeError","setSecPostalCodeError","getAgeFromDob","today","todayUnix","userDob","age","getFullYear","monthDif","getMonth","getDate","submitIndividualAccountPersonalInformation","id_number","entity_id","submitJointAccountPersonalInformation","TrustAccountLegalInformationTaxSection","idTypeError","setIDTypeError","idTypeOptions","TrustAccountLegalInformationAddressSection","TrustAccountLegalInformationButton","TrustAccountLegalInformation","trustType","submitTrustAccountLegalInformation","address2_type","address2_line_1","address2_line_2","address2_city","address2_state","address2_country","address2_postal_code","EntityAccountLegalInformationTaxSection","EntityAccountLegalInformationAddressSection","EntityAccountLegalInformationButton","EntityAccountLegalInformation","componentAccountType","submitEntityAccountLegalInformation","AccountLegalInformation","setComponentAccountType","setTrustType","InfiniteTabInput","tabs","addNewTab","activeTab","setActiveTab","newTab","indicatorColor","scrollButtons","tab","PhoneInputField","primaryFontFamily","primaryBlack2","primaryBlue","secondaryOffWhite","secondaryRed","fontSize3","defaultCountry","updatedValue","UploadButton","inputField","accept","multiple","htmlFor","component","IrrevocableTrustRelatedPartyInputInformation","relatedPartyType","handleChangeInput","handleFileUpload","yesNoOptions","entityNestedControlEntityTrusteeType","entityNestedControlEntityTrusteeTypeError","entityControlPersonFirstName","entityControlPersonFirstNameError","entityControlPersonLastName","entityControlPersonLastNameError","entityControlPersonEmail","entityControlPersonEmailError","entityControlPersonPhoneNumber","entityControlPersonPhoneNumberError","entityControlPersonIsUSBased","entityControlPersonIsUSBasedError","entityControlPersonIsUSCitizen","entityControlPersonIsUSCitizenError","entityControlPersonAddressLine1","entityControlPersonAddressLine1Error","entityControlPersonAddressLine2","entityControlPersonAddressLine2Error","entityControlPersonCity","entityControlPersonCityError","entityControlPersonState","entityControlPersonStateError","entityControlPersonPostalCode","entityControlPersonPostalCodeError","entityControlPersonDOB","entityControlPersonDOBError","entityControlPersonTaxIDNumber","entityControlPersonTaxIDNumberError","entityCertificateOfFormation","entityCertificateOfFormationError","entityProofOfAddress","entityProofOfAddressError","entityControlPersonPassportDocument","entityControlPersonPassportDocumentError","entityControlPersonProofOfAddress","entityControlPersonProofOfAddressError","entityNestedControlEntityType","entityNestedControlEntityTypeError","entityNestedControlEntityName","entityNestedControlEntityNameError","entityNestedControlEntityPercentOwned","entityNestedControlEntityPercentOwnedError","entityNestedControlEntityStateOfIncorporation","entityNestedControlEntityStateOfIncorporationError","entityNestedControlEntityPhoneNumber","entityNestedControlEntityPhoneNumberError","entityNestedControlEntityTaxIDNumber","entityNestedControlEntityTaxIDNumberError","entityNestedControlEntityAddressLine1","entityNestedControlEntityAddressLine1Error","entityNestedControlEntityAddressLine2","entityNestedControlEntityAddressLine2Error","entityNestedControlEntityCity","entityNestedControlEntityCityError","entityNestedControlEntityState","entityNestedControlEntityStateError","entityNestedControlEntityPostalCode","entityNestedControlEntityPostalCodeError","entityNestedControlEntityIsTrustManagementCompany","entityNestedControlEntityIsTrustManagementCompanyError","entityNestedControlEntityControlPersonFirstName","entityNestedControlEntityControlPersonFirstNameError","entityNestedControlEntityControlPersonLastName","entityNestedControlEntityControlPersonLastNameError","entityNestedControlEntityControlPersonEmail","entityNestedControlEntityControlPersonEmailError","entityNestedControlEntityControlPersonPhoneNumber","entityNestedControlEntityControlPersonPhoneNumberError","entityNestedControlEntityControlPersonIsUSBased","entityNestedControlEntityControlPersonIsUSBasedError","entityNestedControlEntityControlPersonIsUSCitizen","entityNestedControlEntityControlPersonIsUSCitizenError","entityNestedControlEntityControlPersonPIIAvailable","entityNestedControlEntityControlPersonPIIAvailableError","entityNestedControlEntityControlPersonTaxIDNumber","entityNestedControlEntityControlPersonTaxIDNumberError","entityNestedControlEntityControlPersonDOB","entityNestedControlEntityControlPersonDOBError","entityNestedControlEntityControlPersonAddressLine1","entityNestedControlEntityControlPersonAddressLine1Error","entityNestedControlEntityControlPersonAddressLine2","entityNestedControlEntityControlPersonAddressLine2Error","entityNestedControlEntityControlPersonCity","entityNestedControlEntityControlPersonCityError","entityNestedControlEntityControlPersonState","entityNestedControlEntityControlPersonStateError","entityNestedControlEntityControlPersonPostalCode","entityNestedControlEntityControlPersonPostalCodeError","entityNestedControlEntityControlPersonPassportDocument","entityNestedControlEntityControlPersonPassportDocumentError","entityNestedControlEntityControlPersonProofOfAddress","entityNestedControlEntityControlPersonProofOfAddressError","entityNestedControlEntityCertificateOfFormation","entityNestedControlEntityCertificateOfFormationError","entityNestedControlEntityProofOfAddress","entityNestedControlEntityProofOfAddressError","EntityInputInformation","inputName","reader","FileReader","onloadend","b64","b64_string","readAsDataURL","files","entityType","entityTypeError","entityName","entityNameError","entityPercentOwned","entityPercentOwnedError","entityStateOfIncorporation","entityStateOfIncorporationError","entityTaxIDNumber","entityTaxIDNumberError","setEntityTaxIDNumberError","entityPhoneNumber","entityPhoneNumberError","entityAddressLine1","entityAddressLine1Error","entityAddressLine2","entityAddressLine2Error","entityCity","entityCityError","entityState","entityStateError","entityPostalCode","entityPostalCodeError","entityMailingAddressDifferent","entityMailingAddressDifferentError","entityMailingAddressLine1","entityMailingAddressLine1Error","entityMailingAddressLine2","entityMailingAddressLine2Error","entityMailingCity","entityMailingCityError","entityMailingState","entityMailingStateError","entityMailingPostalCode","entityMailingPostalCodeError","entityIsTrustManagementCompany","entityIsTrustManagementCompanyError","entityControlPersonPIIAvailable","entityControlPersonPIIAvailableError","InfiniteInputComponent","inputFields","setInputFields","handleRemoveFields","supplyPercentOwned","setHideButton","hideButton","hideAlterButtons","setHideAlterButtons","relatedPartyTypeError","domicileCountryError","dateOfBirth","dateOfBirthError","idNum","idNumError","percentOwned","percentOwnedError","BeneficialOwnerQuestion","hasBeneficialOwnersError","BeneficialOwnerInfiniteInput","shouldRenderBeneficialOwnerSection","showBeneficialOwnerSection","relatedAccounts","setRelatedAccounts","accountSummaryResp","related_parties","relatedParty","addresses","pii","domicile_country","popRelatedParties","match","BeneficialOwnerSection","stripOutDigits","input","EntityAccountRelatedPartyInformation","hasBeneficialOwners","setHasBeneficialOwners","setHasBeneficialOwnersError","setShowBeneficialOwnerSection","entityHasAlternateSignatory","entityHasAlternateSignatoryError","entityAlternateSignatoryFullName","entityAlternateSignatoryFullNameError","entityAlternateSignatoryEmail","entityAlternateSignatoryEmailError","entityAlternateSignatoryTitle","entityAlternateSignatoryTitleError","entityControlPersonRole","entityControlPersonRoleError","entityNestedControlEntityAddressType","entityNestedControlEntityAddressTypeError","entityNestedControlEntityControlPersonAddressType","entityNestedControlEntityControlPersonAddressTypeError","addressType","deliverableAddressType","deliverableSelectionError","requestData","percent_ownership","rp_type","entity_name","entity_percent_owned","entity_state_of_incorporation","entity_tax_id_number","entity_phone_number","entity_address_line_1","entity_address_line_2","entity_city","entity_state","entity_postal_code","entity_mailing_address_line_1","entity_mailing_address_line_2","entity_mailing_city","entity_mailing_state","entity_mailing_postal_code","entity_control_person_first_name","entity_control_person_last_name","entity_control_person_email","entity_control_person_phone_number","entity_control_person_is_us_based","entity_control_person_is_us_citizen","entity_control_person_address_line_1","entity_control_person_address_line_2","entity_control_person_city","entity_control_person_state","entity_control_person_postal_code","entity_control_person_dob","entity_control_person_tax_id_number","nested_rp_type","nested_role","nested_entity_type","nested_entity_name","nested_entity_state_of_incorporation","nested_entity_percent_owned","nested_entity_phone_number","nested_entity_tax_id_number","nested_entity_address_type","nested_entity_address_line_1","nested_entity_address_line_2","nested_entity_city","nested_entity_state","nested_entity_postal_code","nested_entity_is_trust_management_company","nested_entity_mailing_address_line_1","nested_entity_mailing_address_line_2","nested_entity_mailing_city","nested_entity_mailing_state","nested_entity_mailing_postal_code","nested_entity_control_person_first_name","nested_entity_control_person_last_name","nested_entity_control_person_email","nested_entity_control_person_phone_number","nested_entity_control_person_is_us_based","nested_entity_control_person_is_us_citizen","nested_entity_control_person_address_line_1","nested_entity_control_person_address_line_2","nested_entity_control_person_city","nested_entity_control_person_state","nested_entity_control_person_postal_code","nested_entity_control_person_dob","nested_entity_control_person_tax_id_number","nested_documents","requestInformation","has_related_party","TrusteeQuestion","hasTrusteesError","TrusteeInfiniteInput","showTrusteeSection","shouldRenderTrusteeSection","addMore","TrusteeSection","setShowTrusteeSection","setHasTrusteesError","GrantorInformation","grantorFirstName","setGrantorFirstName","grantorFirstNameError","setGrantorFirstNameError","grantorLastName","setGrantorLastName","grantorLastNameError","setGrantorLastNameError","grantorEmail","setGrantorEmail","grantorEmailError","setGrantorEmailError","grantorPhoneNumber","setGrantorPhoneNumber","grantorPhoneNumberError","setGrantorPhoneNumberError","grantorDomicileCountry","setGrantorDomicileCountry","grantorDomicileCountryError","setGrantorDomicileCountryError","grantorAddressLine1","setGrantorAddressLine1","grantorAddressLine1Error","setGrantorAddressLine1Error","grantorAddressLine2","setGrantorAddressLine2","grantorAddressLine2Error","setGrantorAddressLine2Error","grantorState","setGrantorState","grantorStateError","setGrantorStateError","grantorCity","setGrantorCity","grantorCityError","setGrantorCityError","grantorCountry","setGrantorCountry","grantorCountryError","setGrantorCountryError","grantorPostalCode","setGrantorPostalCode","grantorPostalCodeError","setGrantorPostalCodeError","grantorDOB","setGrantorDOB","grantorDOBError","setGrantorDOBError","grantorIDNumber","setGrantorIDNumber","grantorIDNumberError","setGrantorIDNumberError","grantorCitizenship","setGrantorCitizenship","grantorCitizenshipError","setGrantorCitizenshipError","grantorPercentOwned","setGrantorPercentOwned","grantorPercentOwnedError","setGrantorPercentOwnedError","ac","grantorData","populateData","TrustAccountRelatedPartyInformation","hasAlternateSignatory","setHasAlternateSignatory","hasAlternateSignatoryError","setHasAlternateSignatoryError","alternateSignatoryFullName","setAlternateSignatoryFullName","alternateSignatoryFullNameError","setAlternateSignatoryFullNameError","alternateSignatoryEmail","setAlternateSignatoryEmail","alternateSignatoryEmailError","setAlternateSignatoryEmailError","alternateSignatoryTitle","setAlternateSignatoryTitle","alternateSignatoryTitleError","setAlternateSignatoryTitleError","beneficialOwnerRelatedAccounts","setBeneficialOwnerRelatedAccounts","hasTrustees","setHasTrustees","activeBeneficialOwnerTab","setActiveBeneficialOwnerTab","beneficialOwnerHideButton","setBeneficialOwnerHideButton","beneficialOwnerRequestData","trusteeRequestData","entity_is_trust_management_company","beneficialOwnerValues","grantorInformation","signer_information","AccountRelatedPartyInformation","AdditionalQuestionsEntQuestion","AdditionalQuestionsEnt","setError","businessPhone","setBusinessPhone","businessPhoneError","setBusinessPhoneError","stateOfIncorp","setStateOfIncorp","stateOfIncorpError","setStateOfIncorpError","qualQ1","setQualQ1","qualError","setQualError","grantorUSCitizen","setGrantorError","setGrantorUSCitizen","grantorError","is_sm_llc","business_phone","qual_question","grantor_us_citizen","state_of_incorporation","AccountComplete","AddInvestmentAccount","activeSlide","alertError","setAlertError","smLlc","setSmLlc","smLlcError","setSmLlcError","setSupplyPercentOwned","investmentAccountID","getIncompleteInvestmentAccountInfo","investor_address_complete","investor_pii_complete","some","GetIncompleteInvestmentAccountAdapter","investmentAccountData","setShowIndividualQualificationSection","hasIndividualAcct","setShowTrustQualificationSection","setShowEntityQualificationSection","Carousel","indicators","controls","activeIndex","TabV2","TabV2Title","TabsV2","axis","onChangeIndex","IndividualAccountDetailsHeader","colorAdjust","AccountQualification","qualificationLevel","AccountContactInfo","setDomicileCountryError","UpdateInfoInstructions","IndividualAccountDetailsBasicInfo","jointInfo","jointFirstName","setJointFirstName","jointLastName","jointPhoneNumber","jointEmail","jointCountry","IndividualAccountDetailsPII","IndividualAccountDetailsAddress","IndividualAccountDetailsPersonalInfo","jointDob","jointIDNumber","jointAddressLine1","jointAddressLine2","jointCity","jointState","jointPostalCode","IndividualAccountDetailsInfoSection","basicInformationSelected","setBasicInformationSelected","personalInformationSelected","setPersonalInformationSelected","IndividualAccountDetails","setAccountNumber","setDateAdded","TrustAccountDetailsHeader","AccountLegalStructure","trustTypeError","setTrustTypeError","setAccountName","accountNameError","setAccountNameError","TrustAccountDetailsGeneralInfo","TaxNumber","MailingAddress","TrustAccountDetailsTaxInfo","ContactInfo","PII","grantorDob","setGrantorDob","grantorDobError","setGrantorDobError","TrustAccountDetailsGrantorInfo","NoRelatedParties","Trustees","TrustAccountDetailsTrusteeInfo","setEntityType","setEntityTypeError","BeneficialOwners","TrustAccountDetailsBeneficialOwnerInfo","TrustAccountDetailsInfoSection","generalInformationSelected","setGeneralInformationSelected","taxInformationSelected","setTaxInformationSelected","grantorInformationSelected","setGrantorInformationSelected","trusteeInformationSelected","setTrusteeInformationSelected","beneficialOwnerInformationSelected","setBeneficialOwnerInformationSelected","TrustAccountDetails","EntityAccountDetailsHeader","EntityAccountDetailsGeneralInfo","EntityAccountDetailsTaxInfo","EntityAccountDetailsBeneficialOwnerInfo","EntityAccountDetailsInfo","EntityAccountDetails","AccountDetailsPage","setQualificationLevel","setVerificationStatus","setJointLastName","setJointEmail","jointDomicileCountry","setJointDomicileCountry","setJointAddressLine1","setJointAddressLine2","setJointCity","setJointCountry","setJointState","setJointPostalCode","setJointIDNumber","jointIDType","setJointIDType","setJointDob","setJointPhoneNumber","qualCodes","AC","QP","NA","find","addressEntry","tax_info","FTID","EIN","ITIN","TRUST","LT","accountTrustees","percent_owned","accountTrusteeEntities","related_parties_entities","accountBeneficialOwnerPersons","accountBeneficialOwnerEntities","nested_related_party_type","LLC","LP","GP","FE","mailing","parseAccountSummaryData","ConfirmCode","codeSendSuccessSnackbarState","setCodeSendSuccessSnackbarState","codeSendErrorSnackbarState","setCodeSendErrorSnackbarState","clickSign","SydecarSigModal","embeddedLink","setDocsSigned","host","sigId","setLinkResent","setEmbeddedLink","docsSigned","setSydecar","client","callSubDocsEndpoint","resp","container","close","openModal","resend","investmentData","setInvestmentData","investment_details","getInvData","subscriber","fetchCapitalCalls","MuiButton","disableElevation","CircularProgress","statusFormatter","X","D","O","L","CapitalCallsTable","setModalOpen","modalOpen","apiRef","useGridApiRef","field","headerName","headerClassName","filterable","hideSortIcons","sortable","hideable","pinnable","editable","renderCell","toggleDetailPanel","DataGridPro","columnVisibilityModel","GRID_DETAIL_PANEL_TOGGLE_FIELD","pagination","paginationModel","pageSize","pageSizeOptions","WireCard","Chip","accNum","routNum","bankName","bankAddress","beneficiaryName","beneficiaryAddress","CapitalCalls","setData","formattedRowData","capitalPaidIn","fulfillBy","fulfilledOn","fetchData","CoverImage","LogoContainer","aquaLogoLoading","setAquaLogoLoading","verifyFeederSignupAccess","verifyMagicCode","bodyParams","verifySignupUser","linkFeederUser","accessCode","access_code","signupLinkIndividualFeederAccount","getAccreditedInvestorPermissions","wmUserCheck","encodeURIComponent","FlowNotAccessible","TextInputField","AccessCodeContext","AccessCode","setAccessCode","accessCodeError","setAccessCodeError","codeNotProvidedError","setCodeNotProvidedError","codeInvalidError","setCodeInvalidError","useRecoilState","setAccessCodeValue","submitCode","curSlide","memo","PasswordInputField","VerifySignupEmail","noEmailError","setNoEmailError","accountExists","setAccountExists","showSignIn","setShowSignIn","loginError","erMsg","setErMsg","wm","setWm","accessCodeValue","useRecoilValue","verifyEmail","isWm","authenticateAndLink","localErrors","VerifyCitizenship","citizenshipQuestionNotAnsweredError","setCitizenshipQuestionNotAnsweredError","validateCitizenshipResponse","TermsOfUse","readAgreementError","setReadAgreementError","AccountTypeSelection","accountTypeSMLLC","setAccountTypeSMLLC","accountTypeSMLLCFocus","setAccountTypeSMLLCFocus","accountTypeSMLLCDivClass","setAccountTypeSMLLCDivClass","IndividualQualification","notQPError","setNotQPError","noSelectionMadeError","setNoSelectionMadeError","JointQualification","SMLLCQualification","TrustQualification","notAllQuestionsAnsweredError","setNotAllQuestionsAnsweredError","EntityQualification","RadioInputGroup","radioText","child","RadioInput","radioValue","AccreditedInvestorModal","AccreditationQualification","showQPModal","setShowQPModal","showAccreditedModal","setShowAccreditedModal","netWorth1M","setNetWorth1M","incomeAccredited","setIncomeAccredited","investmentProfessional","setInvestmentProfessional","qualifiedPurchaser","setQualifiedPurchaser","questionsIncompleteError","setQuestionsIncompleteError","notAccreditedError","setNotAccreditedError","isAccredited","validateAccreditationStatus","JointAccreditationQualification","SMLLCAccreditationQualification","smLLCAssets","setSMLLCAssets","smLLCAccreditedOwners","setSMLLCAccreditedOwners","TrustAccreditationQualification","trust5MAssets","setTrust5MAssets","hasSophisticatedInvestor","setHasSophisticatedInvestor","notFormedForInvestment","setNotFormedForInvestment","grantorsAccredited","setGrantorsAccredited","ownedByFamily","setOwnedByFamily","grantorQP","setGrantorQP","EntityAccreditedQualification","entity5MInvestments","setEntity5MInvestments","ownersAccredited","setOwnersAccredited","entity25MInvestments","setEntity25MInvestments","ownersQP","setOwnersQP","validateAccreditedStatus","accreditedAllowed","IndividualSignup","assets5M","accredited_signup","individual_net_worth_1m","individual_income_accredited","individual_investment_professional","JointSignup","joint_net_worth_1m","joint_income_accredited","joint_investment_professional","joint_assets_5m","overflow","TrustSignup","sophisticatedInvestor","formationNotSpecificInvestment","trust_sophisticated_investor","trust_grantors_accredited","EntitySignup","assets25M","entity_owners_accredited","SMLLCSignup","entityLegalName","setEntityLegalName","entityLegalNameError","setEntityLegalNameError","entityCountryOfFormation","setEntityCountryOfFormation","entityCountryOfFormationError","setEntityCountryOfFormationError","setEntityStateOfIncorporation","setEntityStateOfIncorporationError","ownerAccredited","entity_country_of_formation","sm_llc_assets_5m_not_specific_purpose_invest_fund","sm_llc_owners_accredited","AccountSignupForm","VerificationCode","SignupSteps","useMemo","Provider","slides","slide","cloneElement","FirmAuthorizedSignup","linkVerificationLoading","setLinkVerificationLoading","accreditedInvestorPermissionsLoading","setAccreditedInvestorPermissionsLoading","newTime","feederSignupAccess","setFeederSignupAccess","feederSignupAccessData","verifyAccess","VerifyFeederSignupAccess","setAccreditedAllowed","domainError","setDomainError","accreditedInvestorPermissionsData","Error","getPermissions","GetAccreditedInvestorPermissions","SignupContent","FeederFundSignup","formatDateTime","dateString","AdminDashboard","humanReadableDate","rowsPerPage","setRowsPerPage","deal","dealData","setDealData","formatBank","obj","addr","street","street_2","zip","htmlString","fund_name","options","agg_data","signed","funded","TableContainer","Paper","Table","TableHead","TableRow","TableCell","TableBody","investor_name","investor_email","ent_type","sydecar_wire_ins","subdoc_link","magic_link","TablePagination","count","onPageChange","newPage","onRowsPerPageChange","Routes","isLoading","sessionInfo","idToken","loadUser","matchMedia","exact","LicenseInfo","setLicenseKey","App","setIsLoading","getProfileStartTime","getProfileEndTime","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","awsmobile","Amplify","configure","ReactDOM","render","StrictMode"],"mappings":"82FAAe,I,qCCEFA,EAAcC,IAAMC,cAAc,I,sBCGhC,SAASC,EAAT,GAAoD,IAAtBC,EAAqB,EAArBA,SAAaC,EAAQ,iBAChE,EAA6BC,wBAArBC,EAAR,EAAQA,SAAUC,EAAlB,EAAkBA,OACVC,EAASC,qBAAWV,GAApBS,KAER,OACE,cAAC,QAAD,2BAAWJ,GAAX,aAGa,OAATI,GAAiBA,EAAKE,gBACpBP,EAEA,cAAC,WAAD,CAAUQ,GAAE,0BAAqBL,GAArB,OAAgCC,Q,mBCZvC,SAASK,EAAT,GAAsD,IAAtBT,EAAqB,EAArBA,SAAaC,EAAQ,iBAC1DI,EAASC,qBAAWV,GAApBS,KAEFK,EAoBR,SAAqBC,GAAmC,IAA7BC,EAA4B,uDAAtBC,OAAOC,SAASC,KAC/CJ,EAAOA,EAAKK,QAAQ,QAAS,QAE7B,IACMC,EADQ,IAAIC,OAAO,OAASP,EAAO,oBAAqB,KACxCQ,KAAKP,GAE3B,IAAKK,EACH,OAAO,KAET,IAAKA,EAAQ,GACX,MAAO,GAGT,OAAOG,mBAAmBH,EAAQ,GAAGD,QAAQ,MAAO,MAjCnCK,CAAY,YAE7B,OACE,cAAC,QAAD,2BAAWpB,GAAX,aAEY,OAATI,GACEA,EAAKE,gBAGJ,cAAC,WAAD,CACEC,GAAiB,KAAbE,GAAgC,OAAbA,EAAoB,UAAYA,IAI3DV,K,mBCfO,SAASsB,EAAT,GAA6C,IAAtBtB,EAAqB,EAArBA,SAAaC,EAAQ,iBACzD,EAA6BC,wBAArBC,EAAR,EAAQ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N,GAAe,EAOnB,MArEW,CACT,UACA,SACA,iBACA,UACA,WACA,aACA,WACA,cACA,WACA,uBACA,iCACA,UACA,UACA,OACA,SACA,QACA,WACA,UACA,OACA,SACA,WACA,YACA,QACA,mBACA,WACA,gBACA,WACA,YACA,cACA,WACA,UACA,WACA,SACA,gBACA,aACA,aACA,WACA,iBACA,eACA,2BACA,OACA,WACA,SACA,QACA,eACA,cACA,eACA,iBACA,eACA,YACA,QACA,OACA,UACA,gBACA,WACA,aACA,gBACA,YACA,WAIG/uB,SAAQ,SAACgvB,GACRlN,IAAUkN,IACZD,GAAe,MAIZA,GAGIE,GAAiB,SAACC,GAC7B,IA0PIC,GAAuB,EAO3B,MAjQkB,CAChB,cACA,mBAGA,UACA,UACA,iBACA,UACA,SACA,WACA,aACA,sBACA,YACA,UACA,QACA,YACA,UACA,aACA,UACA,UAEA,WAEA,UACA,SACA,QACA,UACA,SACA,kCACA,mCACA,yBACA,WACA,gBACA,SACA,iCACA,oBACA,WACA,eACA,UACA,WACA,WACA,SACA,aACA,iBAEA,OACA,QAEA,mBACA,0BACA,WACA,UACA,QAEA,eACA,aACA,mBACA,UAEA,aACA,SACA,iBACA,UACA,WACA,WACA,qBACA,UACA,QACA,cACA,oBAEA,UACA,WACA,8BACA,gBACA,OACA,UACA,SACA,gBACA,mBACA,8BACA,QACA,SACA,UACA,UACA,QACA,YACA,SACA,YACA,UACA,aACA,OACA,YACA,WACA,SACA,gBACA,SACA,QACA,oCACA,gCACA,WAEA,UACA,UACA,QACA,YAGA,UACA,cACA,SACA,QACA,UACA,QACA,SACA,SACA,aACA,QACA,WACA,qBACA,SACA,aACA,mCACA,SAEA,UAEA,QACA,gBACA,YACA,aACA,QACA,4CACA,aACA,SACA,WACA,WAEA,QACA,mBACA,aACA,aACA,YACA,UACA,SACA,kCACA,uBACA,SACA,WACA,aACA,aACA,UACA,aAEA,UACA,QACA,QACA,cACA,gBACA,cAEA,QACA,UACA,OACA,iBACA,2BACA,SACA,OACA,WACA,QACA,sBACA,SACA,mBACA,WACA,OACA,cACA,WACA,SACA,WACA,cACA,QACA,aACA,UACA,SACA,sBACA,+CACA,wBACA,cACA,6BACA,4BACA,mCACA,QACA,aACA,wBACA,eACA,UACA,SACA,aACA,eACA,YACA,4BACA,WACA,WACA,kBAEA,eACA,+CAEA,QACA,YACA,QACA,WACA,yBACA,YACA,SACA,cACA,4BACA,aACA,+BACA,WACA,cACA,OACA,UACA,QACA,sBACA,UACA,eACA,2BACA,SACA,SAEA,uBACA,iBACA,gBACA,uCACA,UACA,aACA,UAEA,WACA,0BACA,uBACA,oBACA,iBAEA,UAKUnvB,SAAQ,SAACovB,GACfF,IAAYE,IACdD,GAAuB,MAIpBA,GAGIE,GAAmB,SAAC10B,GAC/B,IACI20B,GAAU,EAQd,MATiB,CAAC,oBAAqB,mBAG5BtvB,SAAQ,SAACuvB,GACd50B,IAAS40B,IACXD,GAAU,MAIPA,GAGIE,GAAoB,SAAC70B,GAChC,IASI20B,GAAU,EAQd,MAjBkB,CAChB,MACA,sBACA,gBACA,gBACA,sBACA,iBACA,qBAIUtvB,SAAQ,SAACuvB,GACf50B,IAAS40B,IACXD,GAAU,MAIPA,G,8FC/YMG,OAtFf,YAYI,IAXFjtB,EAWC,EAXDA,MACAqV,EAUC,EAVDA,SACA6X,EASC,EATDA,WACAC,EAQC,EARDA,cACAC,EAOC,EAPDA,MACAC,EAMC,EANDA,SACAC,EAKC,EALDA,UACA3c,EAIC,EAJDA,KACA1c,EAGC,EAHDA,GACAyc,EAEC,EAFDA,SACA6c,EACC,EADDA,OAEAv4B,qBAAU,WACRm4B,EAAc,MACb,CAACntB,IAEJ,MAAgCtL,oBAAS,GAAzC,mBAAO84B,EAAP,KAAiBC,EAAjB,KAEA,OACE,cAACC,GAAA,EAAD,CAAKhc,GAAI,CAAEpZ,SAAU,KAArB,SACE,cAACq1B,GAAA,EAAD,CACE7Q,MAAsB,KAAfoQ,EACP/0B,KAAMq1B,EAAW,WAAa,OAC9Bv5B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oBAAoBC,WACzB,IACA5F,EAAK2F,oBAAoBE,UACzB,iC,wBC9Mb+mC,aAAH,wRAeDC,KAAcC,IAAInjC,KAAI,SAACojC,GAAD,MAAQ,CAC7CzsC,KAAMysC,EACN3rC,GAAI2rC,EAAEzU,kBAEY,CAClB,cACA,mBAGA,UACA,UACA,iBACA,UACA,SACA,WACA,aACA,sBACA,YACA,UACA,QACA,YACA,UACA,aACA,UACA,UAEA,WAEA,UACA,SACA,QACA,UACA,SACA,kCACA,mCACA,yBACA,WACA,gBACA,SACA,iCACA,oBACA,WACA,eACA,UACA,WACA,WACA,SACA,aACA,iBAEA,OACA,QAEA,mBACA,0BACA,WACA,UACA,QAEA,eACA,aACA,mBACA,UAEA,aACA,SACA,iBACA,UACA,WACA,WACA,qBACA,UACA,QACA,cACA,oBAEA,UACA,WACA,8BACA,gBACA,OACA,UACA,SACA,gBACA,mBACA,8BACA,QACA,SACA,UACA,UACA,QACA,YACA,SACA,YACA,UACA,aACA,OACA,YACA,WACA,SACA,gBACA,SACA,QACA,oCACA,gCACA,WAEA,UACA,UACA,QACA,YAGA,UACA,cACA,SACA,QACA,UACA,QACA,SACA,SACA,aACA,QACA,WACA,qBACA,SACA,aACA,mCACA,SAEA,UAEA,QACA,gBACA,YACA,aACA,QACA,4CACA,aACA,SACA,WACA,WAEA,QACA,mBACA,aACA,aACA,YACA,UACA,SACA,kCACA,uBACA,SACA,WACA,aACA,aACA,UACA,aAEA,UACA,QACA,QACA,cACA,gBACA,cAEA,QACA,UACA,OACA,iBACA,2BACA,SACA,OACA,WACA,QACA,sBACA,SACA,mBACA,WACA,OACA,cACA,WACA,SACA,WACA,cACA,QACA,aACA,UACA,SACA,sBACA,+CACA,wBACA,cACA,6BACA,4BACA,mCACA,QACA,aACA,wBACA,eACA,UACA,SACA,aACA,eACA,YACA,4BACA,WACA,WACA,kBAEA,eACA,+CAEA,QACA,YACA,QACA,WACA,yBACA,YACA,SACA,cACA,4BACA,aACA,+BACA,WACA,cACA,O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b,CAAsB5qF,MAAOA,EAA7B,SACE,cAAC2uF,GAAD,CAAQC,UAAWA,SCtNZY,GAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,+BAAqBz2F,MAAK,YAAkD,IAA/C02F,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCsCCO,GA1CG,CACd,mBAAsB,YACtB,6BAAgC,iDAChC,mBAAsB,YACtB,kBAAqB,sBACrB,6BAAgC,6BAChC,MAAS,GACT,gCAAmC,CAC/B,SAEJ,6BAAgC,GAChC,8BAAiC,CAC7B,SAEJ,8BAAiC,MACjC,sBAAyB,CACrB,OAEJ,yCAA4C,CACxC,wBAA2B,KAC3B,yBAA4B,CACxB,qBACA,qBACA,mBACA,qBAGR,oCAAuC,CACnC,SAEJ,uBAA0B,CACtB,CACI,KAAQ,eACR,SAAY,8DACZ,OAAU,cAGlB,yBAA4B,uBAC5B,gCAAmC,a,OCzBvCC,EAAQC,UAAUF,IAclBG,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,GAAD,MAEFrsE,SAAS0+B,eAAe,SAM1B8sC,M","file":"static/js/main.8048d342.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/logo.6ce24c58.svg\";","import React, { createContext } from \"react\";\n\nexport const UserContext = React.createContext({});\n","import React, { useContext } from \"react\";\nimport { Route, Redirect, useLocation } from \"react-router-dom\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\n// import { Auth } from \"aws-amplify\";\n\nexport default function AuthenticatedRoute({ children, ...rest }) {\n const { pathname, search } = useLocation();\n const { user } = useContext(UserContext);\n\n return (\n \n {\n // user !== null ? (\n user !== null && user.isAuthenticated ? (\n children\n ) : (\n \n )\n // ) : null\n // \n }\n \n );\n}\n","import React, { useContext } from \"react\";\nimport { Route, Redirect } from \"react-router-dom\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\n\nexport default function UnAuthenticatedRoute({ children, ...rest }) {\n const { user } = useContext(UserContext);\n\n const redirect = querystring(\"redirect\");\n\n return (\n \n {/* {children} */}\n {user !== null ? (\n !user.isAuthenticated ? (\n children\n ) : (\n \n )\n ) : (\n children\n )}\n \n );\n}\n\nfunction querystring(name, url = window.location.href) {\n name = name.replace(/[[]]/g, \"\\\\$&\");\n\n const regex = new RegExp(\"[?&]\" + name + \"(=([^&#]*)|&|#|$)\", \"i\");\n const results = regex.exec(url);\n\n if (!results) {\n return null;\n }\n if (!results[2]) {\n return \"\";\n }\n\n return decodeURIComponent(results[2].replace(/\\+/g, \" \"));\n}\n","import React, { useContext } from \"react\";\nimport { Route, Redirect, useLocation } from \"react-router-dom\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\nimport { ConsoleSqlOutlined } from \"@ant-design/icons\";\n// import { Auth } from \"aws-amplify\";\n\nexport default function ClientRoute({ children, ...rest }) {\n const { pathname, search } = useLocation();\n const { user } = useContext(UserContext);\n\n console.log(user);\n \n return (\n \n {\n // user !== null ? (\n (user !== null && (user.id === 'ghersh@florencecapital.com' || user.id.endsWith('@investwithaqua.com') || user.id.endsWith('sunshinelake.vc'))) ? (\n children\n ) : (\n \n )\n // ) : null\n // \n }\n \n );\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { Auth } from \"aws-amplify\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\nimport { Menu, Dropdown, Button, Space } from \"antd\";\nimport { Select } from \"antd\";\nimport \"./EllipseDropdownStyles/EllipseDropdownStyles.css\";\nimport \"antd/dist/antd.css\";\nimport { DownCircleFilled } from \"@ant-design/icons\";\nimport { Link } from \"react-router-dom\";\nimport { useMediaQuery } from \"react-responsive\";\n\nfunction EllipseDropdown({ text, setText, defaultKey }) {\n const { user, setUser } = useContext(UserContext);\n let history = useHistory();\n\n const [positionText, setPositionText] = useState(\"\");\n\n const isMobile = useMediaQuery({ query: `(max-width: 991px)` });\n\n useEffect(() => {\n isMobile ? setPositionText(\"bottomCenter\") : setPositionText(\"bottomRight\");\n }, [isMobile]);\n\n const logoutUser = async () => {\n try {\n await Auth.signOut();\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"Successful logout.\");\n }\n setUser(null);\n } catch (error) {\n if (process.env.REACT_APP_DEBUG === \"1\")\n console.error(\"error signing out: \", error);\n return;\n }\n history.push(\"/login\");\n };\n\n const menu = (\n setText(e.key)}\n defaultSelectedKeys={defaultKey}\n >\n \n \n
\n \n Profile\n
\n \n
\n \n \n \n
\n \n Documents\n
\n \n
\n \n \n
\n \n Transactions\n
\n \n
\n {/* \n \n
\n \"users\"\n Referrals\n
\n \n
*/}\n \n \n
\n \n Contact Us\n
\n \n
\n \n \n logoutUser()}\n >\n \n Logout\n \n \n \n );\n\n return (\n \n \n \n \n }\n shape=\"circle\"\n style={{\n backgroundColor: \"#ffffff\",\n outline: \"none !important\",\n border: \"none !important\",\n boxShadow: \"none !important\",\n paddingTop: \"0px !important\",\n paddingBottom: \"0px !important\",\n }}\n >\n \n );\n}\nexport default EllipseDropdown;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { UserContext } from \"../../GlobalContexts/UserContext.js\";\nimport \"../../Styles/Components/Header/Header.css\";\n// import { Auth } from \"aws-amplify\";\n// import Navbar from \"react-bootstrap/Navbar\";\n// import Nav from \"react-bootstrap/Nav\";\n// import NavDropdown from \"react-bootstrap/NavDropdown\";\n// import Container from \"react-bootstrap/Container\";\nimport { Link } from \"react-router-dom\";\nimport EllipseDropdown from \"./EllipseDropdown/EllipseDropdown.js\";\nimport Media from \"react-media\";\nimport { useMediaQuery } from \"react-responsive\";\n\nfunction Header({ activePage }) {\n const [loggedInUser, setLoggedInUser] = useState(null);\n const { user, setUser } = useContext(UserContext);\n\n const [investSelected, setInvestSelected] = useState(false);\n const [portfolioSelected, setPortfolioSelected] = useState(false);\n const [messagesSelected, setMessagesSelected] = useState(false);\n const [learnSelected, setLearnSelected] = useState(false);\n const [faqSelected, setFaqSelected] = useState(false);\n const [pageSelected, setPageSelected] = useState(\"\");\n const [investmentAccountSelected, setInvestmentAccountSelected] =\n useState(false);\n const [dashboardSelected, setDashboardSelected] =\n useState(false);\n // const [showDropdown, setShowDropdown] = useState(false);\n const [text, setText] = useState(\"\");\n const [defaultKey, setDefaultKey] = useState([]);\n\n const isMobile = useMediaQuery({ query: `(max-width: 768px)` });\n\n // let history = useHistory();\n useEffect(() => {\n var items = [];\n items.push(text);\n setDefaultKey(items);\n }, [text]);\n\n useEffect(() => {\n if (activePage === \"invest\") {\n setPortfolioSelected(false);\n setMessagesSelected(false);\n setLearnSelected(false);\n setFaqSelected(false);\n // setInvestmentAccountsSelected(false);\n setInvestSelected(true);\n setInvestmentAccountSelected(false);\n setDashboardSelected(false);\n setDefaultKey([]);\n } else if (activePage === \"portfolio\") {\n setInvestSelected(false);\n setMessagesSelected(false);\n setLearnSelected(false);\n setFaqSelected(false);\n // setInvestmentAccountsSelected(false);\n setPortfolioSelected(true);\n setDashboardSelected(false);\n setInvestmentAccountSelected(false);\n setDefaultKey([]);\n } else if (activePage === \"messages\") {\n setInvestSelected(false);\n setLearnSelected(false);\n setPortfolioSelected(false);\n setFaqSelected(false);\n setDashboardSelected(false);\n // setInvestmentAccountsSelected(false);\n setMessagesSelected(true);\n setInvestmentAccountSelected(false);\n setDefaultKey([]);\n } else if (activePage === \"learn\") {\n setInvestSelected(false);\n setPortfolioSelected(false);\n setMessagesSelected(false);\n setFaqSelected(false);\n setDashboardSelected(false);\n // setInvestmentAccountsSelected(false);\n setLearnSelected(true);\n setInvestmentAccountSelected(false);\n setDefaultKey([]);\n } else if (activePage === \"faq\") {\n setInvestSelected(false);\n setPortfolioSelected(false);\n setMessagesSelected(false);\n setLearnSelected(false);\n setDashboardSelected(false);\n // setInvestmentAccountsSelected(false);\n setFaqSelected(true);\n setInvestmentAccountSelected(false);\n setDefaultKey([]);\n } else if (activePage === \"investment-accounts\") {\n setInvestSelected(false);\n setPortfolioSelected(false);\n setMessagesSelected(false);\n setLearnSelected(false);\n setFaqSelected(false);\n setDashboardSelected(false);\n setInvestmentAccountSelected(true);\n // setInvestmentAccountsSelected(true);\n setDefaultKey([]);\n }\n else if (activePage === \"dashboard\") {\n setInvestSelected(false);\n setPortfolioSelected(false);\n setMessagesSelected(false);\n setLearnSelected(false);\n setFaqSelected(false);\n setDashboardSelected(true);\n setInvestmentAccountSelected(false);\n // setInvestmentAccountsSelected(true);\n setDefaultKey([]);\n }\n setPageSelected(activePage)\n }, [activePage]);\n\n return (\n <>\n \n
\n \n
\n
\n \n
\n
\n \n \n \n \n\n
\n
    \n
    \n
    \n
    \n
    \n
  • \n
    \n
    \n \n
    \n \n Invest\n \n
    \n \n
    \n {!isMobile && (\n
    \n )}\n
  • \n \n
    \n
    \n
  • \n
    \n
    \n \n
    \n \n Portfolio\n \n
    \n \n
    \n {!isMobile && (\n
    \n )}\n
  • \n \n
    \n
    \n
  • \n
    \n \n
    \n \n Investment Accounts\n \n
    \n \n {!isMobile && (\n
    \n )}\n
  • \n \n
    \n {/* (user !== null && (user.id.endsWith('@sunshinelake.vc') || user.id.endsWith('@investwithaqua.com'))) &&
    \n
  • \n
    \n \n
    \n \n Dashboard\n \n
    \n \n {!isMobile && (\n
    \n )}\n
  • \n \n
*/}\n
\n
  • \n
    \n \n
    \n \n Capital Calls\n \n
    \n \n {!isMobile && (\n
    \n )}\n
  • \n \n
    \n {/*
    \n
  • \n
    \n
    \n \n
    \n \n Messages\n \n
    \n \n
    \n {!isMobile && (\n
    \n )}\n
  • \n \n */}\n {/*
    \n
  • \n
    \n
    \n \n
    \n \n Learn\n \n
    \n \n
    \n {!isMobile && (\n
    \n )}\n
  • \n \n */}\n {/*
    \n
  • \n
    \n \n
    \n \n FAQs\n \n
    \n \n {!isMobile && (\n
    \n )}\n
  • \n \n */}\n \n \n \n \n \n {(matches) =>\n matches.large ? (\n
    \n \n {user\n ? user.investorSummaryData.first_name +\n \" \" +\n user.investorSummaryData.last_name\n : \"\"}\n \n
    \n ) : null\n }\n
    \n\n
    \n
    \n {/* */}\n
    \n \n
    \n {/* setShowDropdown(!showDropdown)}\n >\n \"ellipse\"\n
    */}\n {/* \n \n
    \n \"user\"\n Profile\n
    \n \n
    \n \n
    \n \"File\"\n Documents\n
    \n \n \n
    \n \n Transactions\n
    \n \n \n
    \n \n Referrals\n
    \n \n \n
    \n \n Contact Us\n
    \n \n
    \n logoutUser()}\n >\n \n Logout\n
    \n */}\n \n {/* */}\n \n \n \n \n \n );\n}\nexport default Header;\n","// export const HOST = \"https://yee78zfatm.us-east-1.awsapprunner.com\";\n//export const HOST = \"https://api.staging.investwithaqua.com\";\n// run local server\n//export const HOST = \"http://127.0.0.1:8000\";\nexport const HOST = process.env.REACT_APP_API_ENDPOINT;\n","import { Auth } from \"aws-amplify\";\n\n/**\n *\n */\nexport const getRequestHeaders = async () => {\n const config = {\n headers: {},\n };\n\n const accessToken = await Auth.currentSession().then(\n (response) => response.accessToken.jwtToken\n );\n if (accessToken !== undefined && accessToken !== null) {\n config.headers[\"Authorization\"] = `Bearer ${accessToken}`;\n }\n\n return config;\n};\n","import axios from \"axios\";\nimport { HOST } from \"../host-config.js\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders.js\";\n\n//Dev environment endpoint\nexport const getUserInvestments = async (active, accountId) => {\n const config = await getRequestHeaders();\n\n const requestParams = {\n params: {\n active_funds_only: active,\n account_id: accountId,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(HOST + \"/investor-fund-investments-by-date/\", requestParams);\n};\n\n//Dev environment endpoint\nexport const getUserDistributions = async (active, accountId) => {\n const config = await getRequestHeaders();\n\n const requestParams = {\n params: {\n active_funds_only: active,\n account_id: accountId,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n\n return axios.get(\n HOST + \"/investor-fund-distributions-by-date/\",\n requestParams\n );\n};\n","import React from \"react\";\n\nfunction DownArrowCircleButton({selected, setSelected}) {\n const rotateIcon = () => {\n setSelected(!selected);\n }\n return (\n \n {selected ? (
    \n \"Down rotateIcon()}>\n
    ) : (
    \n \"Down rotateIcon()}>\n
    )}\n {/*
    \n \"Down rotateIcon()}>\n
    */}\n {/* {selected ? (\n
    \n \"Down rotateIcon()}>\n
    ) : (\n
    \n \"Down onClick={() => rotateIcon()}\n
    \n ) } */}\n {/* Something to show here. */}\n
    \n )\n}\nexport default DownArrowCircleButton;","import React from \"react\";\nimport DownArrowCircleButton from \"../../../../../../Components/GlobalComponents/DownArrowCircleButton/DownArrowCircleButton\";\nimport \"./PhoneInvestmentCardMainSectionStyles/PhoneInvestmentCardMainSectionStyles.css\";\n\nfunction PhoneInvestmentCardMainSection({selected, setSelected, investment}) {\n function investmentStatusFormatter(investmentStatus) {\n if (investmentStatus !== undefined && investmentStatus !== null) {\n let investmentStatusMap = {\n P: \"Pending Approval\",\n A: \"Approved\",\n R: \"Rejected\",\n };\n return investmentStatusMap[investmentStatus];\n }\n return \"\";\n }\n \n function moneyFormatter(amount) {\n if (amount === undefined || amount === null) {\n return \"$ 0\";\n }\n var integer = parseInt(amount.toString(), 10);\n return \"$ \" + integer.toLocaleString(\"en-US\");\n }\n\n return (\n \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n {investment ? investment.fundName : \"\"}\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n Investment:\n
    \n
    \n {investment ? moneyFormatter(investment.investmentAmount) : \"\"}\n
    \n
    \n
    \n
    \n Distributed:\n
    \n
    \n {\"$0\"}\n
    \n
    \n
    \n
    \n Opportunity Stage:\n
    \n
    \n {investment ? investment.opportunityStatus : \"\"}\n
    \n
    \n
    \n
    \n Investment Stage:\n
    \n
    \n {investment ? investmentStatusFormatter(investment.investmentStage) : \"\"}\n
    \n
    \n
    \n
    \n Returns:\n
    \n
    \n {\"N/A%\"}\n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\nexport default PhoneInvestmentCardMainSection;","import React from \"react\";\nimport \"./PhoneInvestmentCardDetailedInvestmentSectionStyles/PhoneInvestmentCardDetailedInvestmentSectionStyles.css\";\nimport * as dayjs from \"dayjs\";\nvar utc = require(\"dayjs/plugin/utc\");\n\nfunction PhoneInvestmentCardDetailedInvestmentSection({\n selected,\n investment,\n}) {\n function fundStrategyFormatter(strategy) {\n let stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_ACCESS: \"Direct Access\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n };\n return stageMap[strategy];\n }\n\n return (\n \n {selected && (\n
    \n
    \n
    \n
    \n
    \n
    \n \n Firm Name:{\" \"}\n \n
    \n
    \n \n {investment ? investment.firmName : \"\"}\n \n
    \n
    \n
    \n
    \n \n Strategy:{\" \"}\n \n
    \n
    \n \n {investment\n ? fundStrategyFormatter(investment.strategy)\n : \"\"}\n \n
    \n
    \n
    \n
    \n \n Closing Date:{\" \"}\n \n
    \n
    \n \n {investment\n ? dayjs\n .unix(investment.fundClosingDate)\n .format(\"MMM D, YYYY\")\n : \"N/A\"}\n \n
    \n
    \n
    \n
    \n \n Target Fund Length:{\" \"}\n \n
    \n
    \n \n {\"8 years\"}\n \n
    \n
    \n
    \n
    \n \n Investment Date:{\" \"}\n \n
    \n
    \n \n {investment\n ? dayjs\n .unix(investment.investmentDate)\n .format(\"MMM D, YYYY\")\n : \"N/A\"}\n \n
    \n
    \n
    \n
    \n \n Last Distribution Date:{\" \"}\n \n
    \n
    \n \n {investment.lastDistributionDate === \"N/A\" || investment.lastDistributionDate === undefined\n ? \"N/A\"\n : dayjs\n .unix(investment.lastDistributionDate)\n .format(\"MMM D, YYYY\")}\n \n
    \n
    \n
    \n
    \n \n Last Distribution Amount:{\" \"}\n \n
    \n
    \n \n {\"$ 0\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n )}\n
    \n );\n}\nexport default PhoneInvestmentCardDetailedInvestmentSection;\n","import React, { useEffect, useState } from \"react\";\nimport PhoneInvestmentCardMainSection from \"./PhoneInvestmentCardMainSection/PhoneInvestmentCardMainSection\";\nimport PhoneInvestmentCardDetailedInvestmentSection from \"./PhoneInvestmentCardDetailedInvestmentSection/PhoneInvestmentCardDetailedInvestmentSection\";\nimport \"./PhoneInvestmentCardStyles/PhoneInvestmentCardStyles.css\";\n\nfunction PhoneInvestmentCard ({investment}) {\n const [selected, setSelected] = useState(false);\n \n return (\n \n
    \n \n
    \n \n
    \n
    \n
    \n )\n}\nexport default PhoneInvestmentCard;","import React from \"react\";\nimport PhoneInvestmentCard from \"./PhoneInvestmentCard/PhoneInvestmentCard\";\nimport \"./PhoneInvestmentGridStyles/PhoneInvestmentGridStyles.css\";\n\nfunction PhoneInvestmentGrid({fundInvestments}) {\n\n return (\n \n
    \n
    \n
    \n {fundInvestments.length !== 0 && (fundInvestments !== null || fundInvestments !== undefined) && (\n fundInvestments.map((investment, index) => {\n return \n })\n )}\n
    \n
    \n
    \n
    \n )\n}\nexport default PhoneInvestmentGrid;","import React, { useState, useEffect } from \"react\";\nimport \"./Button.css\";\n\nfunction Button({ text }) {\n const [buttonText, setButtonText] = useState(\"\");\n\n useEffect(() => {\n setButtonText(text);\n }, [text]);\n return (\n
    \n {buttonText}\n
    \n );\n}\nexport default Button;\n","import React, { useEffect, useState } from \"react\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\nimport Media from \"react-media\";\nimport PhoneInvestmentGrid from \"./PhoneInvestmentGrid/PhoneInvestmentGrid\";\nimport \"./InvestmentTableStyles/InvestmentTableStyles.css\";\nimport Button from \"../../../GlobalComponents/Button/Button.js\";\nimport { useHistory } from \"react-router-dom\";\nimport * as dayjs from \"dayjs\";\nvar utc = require(\"dayjs/plugin/utc\");\n\nfunction InvestmentTable({ investments, distributions }) {\n const [fundInvestments, setFundInvestments] = useState([]);\n\n useEffect(() => {\n if (\n investments !== null &&\n investments !== undefined &&\n investments.length !== 0\n ) {\n const sortedInvestments = investments.sort((a, b) =>\n a.investment_date.localeCompare(b.investment_date)\n );\n let hashedFundInvestment = new Map();\n\n sortedInvestments.forEach(\n ({\n investment_date,\n investment_amount,\n status,\n fund,\n account_name,\n capital_call,\n marked_value\n }) => {\n let unixInvestmentDateNoTime = dayjs(\n dayjs(investment_date).format(\"MMM D, YYYY\")\n );\n let unixInvestmentDate = dayjs(unixInvestmentDateNoTime).unix();\n let unixInvestmentDateISO = dayjs\n .unix(unixInvestmentDate)\n .toISOString();\n let fundClosingDate = \"N/A\";\n\n if (\n fund.fund_closing_date !== null &&\n fund.fund_closing_date !== undefined &&\n fund.fund_closing_date !== \"\"\n ) {\n let unixFundClosingDateNoTime = dayjs(\n dayjs(fund.fund_closing_date).format(\"MMM D, YYYY\")\n );\n let unixFundClosingDate = dayjs(unixFundClosingDateNoTime).unix();\n fundClosingDate = unixFundClosingDate;\n }\n\n if (!hashedFundInvestment.has(fund.name)) {\n let hashedAccountFundInvestment = new Map();\n hashedAccountFundInvestment.set(account_name, {\n investmentAmount: investment_amount,\n investmentDate: unixInvestmentDate,\n markedValue: marked_value,\n capitalCall: capital_call,\n opportunityStatus: fund.investment_status,\n accountName: account_name,\n investmentStage: status,\n firmName: fund.originator_firm.name,\n link: fund.link,\n logoLink: fund.originator_firm.logo_link,\n strategy: fund.strategy_type.type,\n fundClosingDate:\n fundClosingDate !== \"N/A\" ? fundClosingDate : \"N/A\",\n targetFundLength: \"N/A\",\n lastDistributionAmount: 0,\n totalDistributed: 0,\n });\n\n hashedFundInvestment.set(fund.name, hashedAccountFundInvestment);\n } else if (\n hashedFundInvestment.has(fund.name) &&\n !hashedFundInvestment.get(fund.name).has(account_name)\n ) {\n hashedFundInvestment.get(fund.name).set(account_name, {\n investmentAmount: investment_amount,\n investmentDate: unixInvestmentDate,\n opportunityStatus: fund.investment_status,\n accountName: account_name,\n investmentStage: status,\n markedValue: marked_value,\n capitalCall: capital_call,\n firmName: fund.originator_firm.name,\n link: fund.link,\n logoLink: fund.originator_firm.logo_link,\n strategy: fund.strategy_type.type,\n fundClosingDate:\n fundClosingDate !== \"N/A\" ? fundClosingDate : \"N/A\",\n targetFundLength: \"N/A\",\n lastDistributionAmount: 0,\n totalDistributed: 0,\n });\n } else {\n var currentAccountFundInvestment = hashedFundInvestment\n .get(fund.name)\n .get(account_name).investmentAmount;\n var newInvestment =\n currentAccountFundInvestment + investment_amount;\n hashedFundInvestment\n .get(fund.name)\n .get(account_name).investmentAmount = newInvestment;\n }\n\n // if (\n // hashedFundInvestment[fund.name][account_name] === null ||\n // hashedFundInvestment[fund.name][account_name] === undefined\n // ) {\n // hashedFundInvestment[fund.name][account_name] = {\n // investmentAmount: 0,\n // investmentDate: \"\",\n // lastDistributionDate: \"N/A\",\n // lastDistributionAmount: 0,\n // opportunityStatus: \"N/A\",\n // accountName: account_name,\n // investmentStage: \"N/A\",\n // fundClosingDate: \"N/A\",\n // firmName: \"\",\n // link: \"\",\n // logoLink: \"\",\n // strategy: \"\",\n // targetFundLength: \"N/A\",\n // };\n // }\n // hashedFundInvestment[fund.name][account_name].investmentAmount +=\n // investment_amount;\n // hashedFundInvestment[fund.name][account_name].investmentDate =\n // unixInvestmentDate;\n // hashedFundInvestment[fund.name][account_name].opportunityStatus =\n // fund.investment_status;\n // hashedFundInvestment[fund.name][account_name].investmentStage =\n // status;\n // hashedFundInvestment[fund.name][account_name].firmName =\n // fund.originator_firm.name;\n // hashedFundInvestment[fund.name][account_name].logoLink =\n // fund.originator_firm.logo_link;\n // hashedFundInvestment[fund.name][account_name].strategy =\n // fund.strategy_type.type;\n // hashedFundInvestment[fund.name][account_name].fundClosingDate =\n // fundClosingDate !== \"N/A\" ? fundClosingDate : \"N/A\";\n // hashedFundInvestment[fund.name][account_name].link = fund.link;\n }\n );\n\n if (\n distributions !== null &&\n distributions !== undefined &&\n distributions.length !== 0\n ) {\n const sortedDistributions = distributions.sort((a, b) =>\n a.distribution_date.localeCompare(b.distribution_date)\n );\n\n sortedDistributions.forEach(\n ({ distribution_date, distribution_amount, fund, account_name }) => {\n let unixDistributionDateNoTime = dayjs(\n dayjs(distribution_date).format(\"MMM D, YYYY\")\n );\n let unixDistributionDate = dayjs(unixDistributionDateNoTime).unix();\n let unixDistributionDateISO = dayjs\n .unix(unixDistributionDate)\n .toISOString();\n let fundClosingDate = null;\n\n if (\n fund.fund_closing_date !== null &&\n fund.fund_closing_date !== undefined &&\n fund.fund_closing_date !== \"\"\n ) {\n let unixFundClosingDateNoTime = dayjs(\n dayjs(fund.fund_closing_date).format(\"MMM D, YYYY\")\n );\n let unixFundClosingDate = dayjs(unixFundClosingDateNoTime).unix();\n fundClosingDate = unixFundClosingDate;\n }\n\n //Replicate the logic that was used for the investment array\n\n if (!hashedFundInvestment.has(fund.name)) {\n let hashedAccountFundDistribution = new Map();\n hashedAccountFundDistribution.set(account_name, {\n investmentAmount: 0,\n investmentDate: \"\",\n accountName: account_name,\n lastDistributionDate: unixDistributionDate,\n lastDistributionAmount: distribution_amount,\n opportunityStatus: fund.investment_status,\n investmentStage: \"N/A\",\n fundClosingDate:\n fundClosingDate !== null ? fundClosingDate : \"N/A\",\n firmName: fund.originator_firm.name,\n link: fund.link,\n logoLink: fund.originator_firm.logo_link,\n strategy: fund.strategy_type.type,\n targetFundLength: \"N/A\",\n totalDistributed: distribution_amount,\n });\n } else if (\n hashedFundInvestment.has(fund.name) &&\n !hashedFundInvestment.get(fund.name).has(account_name)\n ) {\n hashedFundInvestment.get(fund.name).set(account_name, {\n investmentAmount: 0,\n investmentDate: \"\",\n accountName: account_name,\n lastDistributionDate: unixDistributionDate,\n lastDistributionAmount: distribution_amount,\n opportunityStatus: fund.investment_status,\n investmentStage: \"N/A\",\n fundClosingDate:\n fundClosingDate !== null ? fundClosingDate : \"N/A\",\n firmName: fund.originator_firm.name,\n link: fund.link,\n logoLink: fund.originator_firm.logo_link,\n strategy: fund.strategy_type.type,\n targetFundLength: \"N/A\",\n totalDistributed: distribution_amount,\n });\n } else {\n var currentAccountFundDistribution = hashedFundInvestment\n .get(fund.name)\n .get(account_name).totalDistributed;\n var newDistributed =\n currentAccountFundDistribution + distribution_amount;\n hashedFundInvestment\n .get(fund.name)\n .get(account_name).totalDistributed = newDistributed;\n hashedFundInvestment\n .get(fund.name)\n .get(account_name).lastDistributionAmount = distribution_amount;\n hashedFundInvestment\n .get(fund.name)\n .get(account_name).lastDistributionDate = unixDistributionDate;\n }\n\n // if (\n // hashedFundInvestment[fund.name][account_name] === null ||\n // hashedFundInvestment[fund.name][account_name] === undefined\n // ) {\n // hashedFundInvestment[fund.name][account_name] = {\n // investmentAmount: 0,\n // investmentDate: \"\",\n // accountName: account_name,\n // lastDistributionDate: \"N/A\",\n // lastDistributionAmount: 0,\n // opportunityStatus: \"N/A\",\n // investmentStage: \"N/A\",\n // fundClosingDate: \"N/A\",\n // firmName: \"\",\n // link: \"\",\n // logoLink: \"\",\n // strategy: \"\",\n // targetFundLength: \"N/A\",\n // };\n // }\n // hashedFundInvestment[fund.name][account_name].totalDistributed +=\n // distribution_amount;\n // hashedFundInvestment[fund.name][\n // account_name\n // ].lastDistributionAmount = distribution_amount;\n // hashedFundInvestment[fund.name][account_name].lastDistributionDate =\n // unixDistributionDate;\n // hashedFundInvestment[fund.name][account_name].opportunityStatus =\n // fund.investment_status;\n // hashedFundInvestment[fund.name][account_name].firmName =\n // fund.originator_firm.name;\n // hashedFundInvestment[fund.name][account_name].link = fund.link;\n // hashedFundInvestment[fund.name][account_name].logoLink =\n // fund.originator_firm.logo_link;\n // hashedFundInvestment[fund.name][account_name].strategy =\n // fund.strategy_type.type;\n // hashedFundInvestment[fund.name][account_name].fundClosingDate =\n // fundClosingDate !== null ? fundClosingDate : \"\";\n }\n );\n }\n\n let keyArray = Array.from(hashedFundInvestment.keys());\n\n const valueArr = keyArray.map((keyElement) => {\n let valuesArray = Array.from(\n hashedFundInvestment.get(keyElement).values()\n );\n\n let resultantArray = valuesArray.map((value, idx) => {\n return {\n id: idx,\n fundName: keyElement,\n ...value,\n };\n });\n\n return resultantArray;\n });\n\n let flattenedArray = valueArr.reduce((acc, val) => acc.concat(val), []);\n\n // const userInvestments = Object.entries(hashedFundInvestment).map(\n // (\n // [\n // key,\n // {\n // investmentAmount,\n // investmentDate,\n // lastDistributionDate,\n // lastDistributionAmount,\n // totalDistributed,\n // accountName,\n // opportunityStatus,\n // investmentStage,\n // fundClosingDate,\n // firmName,\n // link,\n // logoLink,\n // strategy,\n // targetFundLength,\n // },\n // ],\n // index\n // ) => {\n // return {\n // id: index,\n // fundName: key,\n // investmentAmount: investmentAmount,\n // investmentDate: investmentDate,\n // lastDistributionDate: lastDistributionDate,\n // accountName: accountName,\n // lastDistributionAmount: lastDistributionAmount,\n // totalDistributed: totalDistributed,\n // opportunityStatus: opportunityStatus,\n // investmentStage: investmentStage,\n // fundClosingDate: fundClosingDate,\n // firmName: firmName,\n // link: link,\n // logoLink: logoLink,\n // strategy: strategy,\n // targetFundLength: targetFundLength,\n // };\n // }\n // );\n\n setFundInvestments(\n flattenedArray.map((elem, idx) => ({ ...elem, id: idx }))\n );\n }\n }, [investments, distributions]);\n\n let history = useHistory();\n\n function moneyFormatter(cell) {\n if (cell === undefined || cell === null) {\n return \"$ 0\";\n }\n var integer = parseInt(cell.toString(), 10);\n return \"$ \" + integer.toLocaleString(\"en-US\");\n }\n\n function fundStrategyFormatter(cell) {\n let fundStrategies = {\n \"Private Equity\": \"PRIVATE_EQUITY\",\n \"Direct Landing\": \"DIRECT_LANDING\",\n \"CLO Management\": \"CLO_MANAGEMENT\",\n \"Structured Credit\": \"STRUCTURED_CREDIT\",\n \"Co-Investment\": \"CO_INVESTMENT\",\n \"Fund of Funds\": \"FUND_OF_FUNDS\",\n \"Buyout\": \"BUYOUT\",\n \"Credit\": \"CREDIT\",\n \"Growth\": \"GROWTH\",\n\n };\n return fundStrategies[cell];\n }\n\n function investmentStatusFormatter(cell) {\n if (cell !== undefined && cell !== null) {\n let investmentStatusMap = {\n P: \"Pending Approval\",\n PD: \"Pending Sub Docs\",\n PF: \"Pending Funding\",\n F: \"Funded\",\n A: \"Approved\",\n R: \"Rejected\",\n };\n return investmentStatusMap[cell.toString()];\n }\n return \"\";\n }\n\n const newColumns = [\n {\n dataField: \"fundName\",\n text: \"Opportunity Name\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"investmentAmount\",\n text: \"Investment Amount\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n formatter: moneyFormatter,\n },\n {\n dataField: \"totalDistributed\",\n text: \"Total Distributed\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n formatter: moneyFormatter,\n },\n {\n dataField: \"opportunityStatus\",\n text: \"Opportunity Status\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"investmentStage\",\n text: \"Investment Stage\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n formatter: investmentStatusFormatter,\n },\n {\n dataField: \"accountName\",\n text: \"Account\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"markedValue\",\n text: \"Marked Value\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n formatter: moneyFormatter,\n },\n {\n dataField: \"capitalCall\",\n text: \"Capital Called\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n formatter: moneyFormatter\n },\n ];\n\n const expandRow = {\n parentClassName: (isExpanded, row, rowIndex) => {\n if (isExpanded) return \"table-row-style-focus\";\n return \"table-row-style\";\n },\n onExpand: (row, isExpand, rowIndex, e) => {\n if (isExpand) {\n // setExpanded([row.id]);\n // expanded: [...expanded, row.id];\n //setFundName(row.fundName);\n } else if (!isExpand) {\n // this.setState(() => ({\n // expanded: [],\n // }));\n //setExpanded([]);\n //setFundName(\"All\");\n }\n },\n onlyOneExpanding: true,\n renderer: (row, isExpanded, expanded) => (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Firm Name\n \n
    \n
    \n \n {row.firmName}\n \n
    \n
    \n
    \n
    \n \n Fund Close Date\n \n
    \n
    \n \n {row.fundClosingDate === \"N/A\"\n ? \"N/A\"\n : dayjs\n .unix(row.fundClosingDate)\n .format(\"MMM D, YYYY\")}\n \n
    \n
    \n
    \n
    \n \n Target Fund Length\n \n
    \n
    \n \n 10 years\n \n
    \n
    \n
    \n
    \n \n Fund Strategy\n \n
    \n
    \n \n {fundStrategyFormatter(row.strategy)}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Investment Date\n \n
    \n
    \n \n {dayjs.unix(row.investmentDate).format(\"MMM D, YYYY\")}\n \n
    \n
    \n
    \n
    \n \n Last Distribution Date\n \n
    \n
    \n \n {row.lastDistributionDate === \"N/A\" ||\n row.lastDistributionDate === undefined\n ? \"N/A\"\n : dayjs\n .unix(row.lastDistributionDate)\n .format(\"MMM D, YYYY\")}\n \n
    \n
    \n
    \n
    \n \n Last Distribution Amount\n \n
    \n
    \n \n {\"$ \" +\n row.lastDistributionAmount.toLocaleString(\"en-US\")}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n history.push(\"/invest/\" + row.link)}\n >\n
    \n {/*
    \n \n Close\n
    \n
    */}\n
    \n
    \n
    \n \n \n ),\n };\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n Investments\n
    \n
    \n \n {(matches) =>\n matches.medium ? (\n \n ) : (\n
    \n
    \n
    \n \n {fundInvestments.length === 0 && (\n
    \n \n You don't have any investments to show.\n \n
    \n )}\n
    \n
    \n
    \n )\n }\n \n
    \n
    \n
    \n
    \n );\n}\nexport default InvestmentTable;\n","import React from \"react\";\nimport \"@hassanmojab/react-modern-calendar-datepicker/lib/DatePicker.css\";\nimport DatePicker, {\n utils,\n} from \"@hassanmojab/react-modern-calendar-datepicker\";\nimport \"./FromFilterStyles/FromFilterStyles.css\";\n\nfunction FromFilter({ selectedDay, setSelectedDay }) {\n const renderCustomInput = ({ ref }) => (\n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n );\n\n const clearDateSelection = () => {\n return (\n
    \n
    \n
    \n
    \n setSelectedDay(null)}\n >\n Clear Selection\n \n
    \n
    \n
    \n
    \n );\n };\n\n return (\n \n );\n}\nexport default FromFilter;\n","import React from \"react\";\nimport \"@hassanmojab/react-modern-calendar-datepicker/lib/DatePicker.css\";\nimport DatePicker, {\n utils,\n} from \"@hassanmojab/react-modern-calendar-datepicker\";\nimport \"./ToFilterStyles/ToFilterStyles.css\";\n\nfunction ToFilter({ selectedDay, setSelectedDay }) {\n const renderCustomInput = ({ ref }) => (\n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n );\n\n const clearDateSelection = () => {\n return (\n
    \n
    \n
    \n
    \n setSelectedDay(null)}\n >\n Clear Selection\n \n
    \n
    \n
    \n
    \n );\n };\n\n return (\n \n );\n}\nexport default ToFilter;\n","import React, { useState, useEffect } from \"react\";\nimport { Menu, Dropdown, Button, Space } from \"antd\";\nimport { Select } from \"antd\";\nimport \"./SingleSelectDropdownStyles/SingleSelectDropdownStyles.css\";\nimport \"antd/dist/antd.css\";\nfunction SingleSelectDropdown({ text, setText, defaultKey }) {\n const menu = (\n setText(e.key)}\n defaultSelectedKeys={defaultKey}\n >\n \n Current\n \n \n Lifetime\n \n \n );\n\n return (\n \n \n
    \n
    \n \n {\"Performance: \" + text}\n \n
    \n
    \n \"portfolio-arrow\"\n {/* \n I\n */}\n
    \n
    \n \n
    \n );\n}\nexport default SingleSelectDropdown;\n","import React from \"react\";\nimport FromFilter from \"../../../Components/GlobalComponents/DateFilters/FromFilter.js\";\nimport ToFilter from \"../../../Components/GlobalComponents/DateFilters/ToFilter.js\";\nimport SingleSelectDropdown from \"../../../Components/GlobalComponents/SingleSelectDropdown/SingleSelectDropdown.js\";\nimport \"./PortfolioFilterRowStyles/PortfolioFilterRowStyles.css\";\n\nfunction PortfolioFilterRow({\n fromDate,\n setFromDate,\n toDate,\n setToDate,\n text,\n setText,\n defaultKey,\n}) {\n return (\n
    \n
    \n
    \n
    \n Portfolio\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default PortfolioFilterRow;\n","// import React from \"react\";\n\nexport const numFormatter = (num) => {\n if (num > 999 && num < 1000000) {\n return (num / 1000).toFixed(1) + \"K\"; // convert to K for number from > 1000 < 1 million\n } else if (num >= 1000000 && num < 1000000000) {\n return (num / 1000000).toFixed(1) + \"M\"; // convert to M for number from > 1 million\n } else if (num >= 1000000000) {\n return (num / 1000000000).toFixed(1) + \"B\";\n } else if (num < 900) {\n return num; // if value < 1000, nothing to do\n }\n};\n","import React, { useState, useEffect, useContext } from \"react\";\nimport {\n // AreaChart,\n // Area,\n LineChart,\n Line,\n XAxis,\n YAxis,\n CartesianGrid,\n Tooltip,\n ResponsiveContainer,\n // Legend,\n} from \"recharts\";\nimport \"./PortfolioGraphSectionStyles/PortfolioGraphSectionStyles.css\";\nimport { numFormatter } from \"../../../Adapters/GlobalAdapters/FormatData.js\";\nimport * as dayjs from \"dayjs\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext\";\n\n// var utc = require(\"dayjs/plugin/utc\");\n\nfunction PortfolioGraphSection({\n fundName,\n investments,\n distributions,\n fromDate,\n toDate,\n accountCreationDate,\n}) {\n const [filterInvestments, setFilterInvestments] = useState([]);\n const [filterDistributions, setFilterDistributions] = useState([]);\n const [cumulativePortfolio, setCumulativePortfolio] = useState([]);\n const [createdAccountDate, setCreatedAccountDate] = useState(\"\");\n\n const { user } = useContext(UserContext);\n\n useEffect(() => {\n if (user && user.investorSummaryData) {\n setCreatedAccountDate(\n user.investorSummaryData.created_at.substring(0, 10)\n );\n }\n }, [user]);\n\n useEffect(() => {\n var dated = dayjs(createdAccountDate).format(\"MMM D, YYYY\");\n }, [createdAccountDate]);\n\n useEffect(() => {\n if (investments !== undefined && investments !== null) {\n let filteredArray = [];\n investments.forEach((investment) => {\n if (investment.status === \"F\") {\n filteredArray.push(investment);\n }\n });\n setFilterInvestments(filteredArray);\n }\n }, [investments]);\n\n useEffect(() => {\n if (distributions !== undefined && distributions !== null) {\n let filteredArray = [];\n distributions.forEach((distribution) => {\n if (distribution.status === \"C\") {\n filteredArray.push(distribution);\n }\n });\n setFilterDistributions(filteredArray);\n }\n }, [distributions]);\n\n useEffect(() => {\n const hashedPortfolio = {};\n if (\n filterInvestments.length === 0 &&\n filterDistributions.length === 0 &&\n accountCreationDate !== \"\"\n ) {\n var defaultPortfolio = [];\n var inputAccountCreationDate = accountCreationDate.substring(0, 10);\n\n var unixAccountCreationDate = dayjs(createdAccountDate).unix();\n\n var currentDate = new Date();\n var currentDateNoTime = dayjs(dayjs(currentDate).format(\"MMM D, YYYY\"));\n var unixCurrentDate = dayjs(currentDateNoTime).unix();\n\n let priorDate = new Date(currentDate.getTime() - 24 * 60 * 60 * 1000);\n\n defaultPortfolio.push({\n investmentAmount: 0,\n capitalCallAmount: 0,\n markedValueAmount: 0, \n distributionAmount: 0,\n investmentDate:\n unixCurrentDate === unixAccountCreationDate\n ? dayjs(priorDate).unix()\n : unixAccountCreationDate,\n });\n\n defaultPortfolio.push({\n investmentAmount: 0,\n capitalCallAmount: 0,\n markedValueAmount: 0, \n distributionAmount: 0,\n investmentDate: dayjs(new Date()).unix(),\n });\n\n setCumulativePortfolio(defaultPortfolio);\n } else if (\n filterInvestments !== null &&\n filterInvestments !== undefined &&\n filterInvestments.length === 1\n ) {\n let filteredInvestments = [];\n\n let currFund = filterInvestments[0].fund;\n let currInvestmentAmount = filterInvestments[0].investment_amount;\n let investDate = new Date(filterInvestments[0].investment_date);\n let todayDate = new Date();\n let days = 1;\n let prevDate = new Date(\n investDate.getTime() - days * 24 * 60 * 60 * 1000\n );\n\n filteredInvestments.push({\n investment_date: prevDate.toISOString(),\n investment_amount: 0,\n capital_call: 0,\n marked_value: 0,\n fund: currFund,\n });\n\n if (todayDate > investDate) {\n filteredInvestments.push({\n investment_date: todayDate.toISOString(),\n investment_amount: 0,\n capital_call: 0,\n marked_value: 0,\n fund: currFund,\n });\n }\n\n filterInvestments.forEach(\n ({ investment_date, fund, investment_amount, status, capital_call, marked_value }) => {\n if (\n (fund.name === fundName || fundName === \"All\") &&\n status === \"F\"\n ) {\n filteredInvestments.push({\n investment_date: investment_date,\n investment_amount: investment_amount,\n marked_value: marked_value,\n capital_call: capital_call\n });\n }\n }\n );\n filteredInvestments.forEach(({ investment_date, investment_amount, capital_call, marked_value}) => {\n var unixDateNoTime = dayjs(\n dayjs(investment_date).format(\"MMM D, YYYY\")\n );\n var unixDate = dayjs(unixDateNoTime).unix();\n var unixDateISO = dayjs.unix(unixDate).toISOString();\n\n if (\n hashedPortfolio[unixDate] === null ||\n hashedPortfolio[unixDate] === undefined\n ) {\n hashedPortfolio[unixDate] = {\n investmentAmount: 0,\n distributionAmount: 0,\n capitalCallAmount: 0,\n markedValueAmount: 0,\n investmentDate: unixDateISO,\n };\n }\n hashedPortfolio[unixDate].investmentAmount += investment_amount;\n hashedPortfolio[unixDate].capitalCallAmount += capital_call;\n hashedPortfolio[unixDate].markedValueAmount += marked_value;\n });\n\n if (\n filterDistributions !== undefined &&\n filterDistributions !== null &&\n filterDistributions.length !== 0\n ) {\n let filteredDistributions = [];\n filterDistributions.forEach(\n ({ distribution_date, distribution_amount, fund, status }) => {\n if (\n (fund.name === fundName || fundName === \"All\") &&\n status === \"C\"\n ) {\n filteredDistributions.push({\n distribution_amount: distribution_amount,\n distribution_date: distribution_date,\n });\n }\n }\n );\n filteredDistributions.forEach(\n ({ distribution_date, distribution_amount }) => {\n var unixDistributionDateNoTime = dayjs(\n dayjs(distribution_date).format(\"MMM D, YYYY\")\n );\n var unixDistributionDate = dayjs(unixDistributionDateNoTime).unix();\n var unixDistributionDateISO = dayjs\n .unix(unixDistributionDate)\n .toISOString();\n\n if (\n hashedPortfolio[unixDistributionDate] === null ||\n hashedPortfolio[unixDistributionDate] === undefined\n ) {\n hashedPortfolio[unixDistributionDate] = {\n investmentAmount: 0,\n distributionAmount: 0,\n investmentDate: unixDistributionDateISO,\n };\n }\n hashedPortfolio[unixDistributionDate].distributionAmount +=\n distribution_amount;\n }\n );\n }\n\n const orderedPortfolio = Object.entries(hashedPortfolio)\n .map(\n ([key, { investmentAmount, investmentDate, distributionAmount, capitalCallAmount, markedValueAmount }]) => {\n return {\n unixDate: key,\n investmentAmount: investmentAmount,\n distributionAmount: distributionAmount,\n investmentDate: investmentDate,\n capitalCallAmount: capitalCallAmount,\n markedValueAmount: markedValueAmount\n };\n }\n )\n .sort((a, b) => a.investmentDate.localeCompare(b.investmentDate));\n \n console.log(orderedPortfolio)\n var processedPortfolio = [];\n\n if (fromDate !== null) {\n let constructedDate = new Date(\n fromDate.year,\n fromDate.month - 1,\n fromDate.day\n );\n let constructedUnixDateNoTime = dayjs(\n dayjs(constructedDate).format(\"MMM D, YYYY\")\n );\n let constructedUnixDate = dayjs(constructedUnixDateNoTime).unix();\n var startDate = constructedUnixDate;\n }\n if (toDate !== null) {\n let constructedDate = new Date(\n toDate.year,\n toDate.month - 1,\n toDate.day\n );\n let constructedUnixDateNoTime = dayjs(\n dayjs(constructedDate).format(\"MMM D, YYYY\")\n );\n let constructedUnixDate = dayjs(constructedUnixDateNoTime).unix();\n var endDate = constructedUnixDate;\n }\n var startIndex = 0;\n var endIndex = orderedPortfolio.length - 1;\n var previousInvestmentTotal = 0;\n var previousCapitalCallTotal = 0;\n var previousMarkedValueTotal = 0; \n var previousDistributionTotal = 0;\n var pushEnd = false;\n\n for (let f = 0; f < orderedPortfolio.length; f++) {\n if (\n startDate !== undefined &&\n startDate !== null &&\n startDate >= orderedPortfolio[f].unixDate\n ) {\n startIndex = f;\n previousInvestmentTotal += orderedPortfolio[f].investmentAmount;\n previousDistributionTotal += orderedPortfolio[f].distributionAmount;\n previousCapitalCallTotal += orderedPortfolio[f].capitalCallAmount;\n previousMarkedValueTotal += orderedPortfolio[f].markedValueAmount;\n }\n if (\n endDate !== undefined &&\n endDate !== null &&\n endDate >= orderedPortfolio[f].unixDate\n ) {\n endIndex = f;\n }\n }\n\n if (\n endDate !== undefined &&\n endDate !== null &&\n endDate > orderedPortfolio[endIndex].unixDate\n ) {\n pushEnd = true;\n }\n\n if (startDate !== undefined && startDate !== null) {\n processedPortfolio.push({\n investmentDate: startDate,\n investmentAmount: previousInvestmentTotal,\n distributionAmount: previousDistributionTotal,\n });\n }\n\n var investmentRunSum = previousInvestmentTotal;\n var distributionRunSum = previousDistributionTotal;\n var capitalCallRunSum = previousCapitalCallTotal;\n var markedValueRunSum = previousMarkedValueTotal;\n\n for (\n let i =\n startDate === undefined || startDate === null ? 0 : startIndex + 1;\n i <= endIndex;\n i++\n ) {\n investmentRunSum += orderedPortfolio[i].investmentAmount;\n distributionRunSum += orderedPortfolio[i].distributionAmount;\n capitalCallRunSum += orderedPortfolio[i].capitalCallAmount;\n markedValueRunSum += orderedPortfolio[i].markedValueAmount;\n processedPortfolio.push({\n investmentDate: orderedPortfolio[i].unixDate,\n investmentAmount: investmentRunSum,\n distributionAmount: distributionRunSum,\n capitalCallAmount: capitalCallRunSum,\n markedValueAmount: markedValueRunSum,\n });\n }\n if (pushEnd) {\n var lastEntry =\n processedPortfolio[processedPortfolio.length - 1].investmentAmount;\n processedPortfolio.push({\n investmentDate: endDate,\n investmentAmount:\n processedPortfolio[processedPortfolio.length - 1].investmentAmount,\n distributionAmount:\n processedPortfolio[processedPortfolio.length - 1]\n .distributionAmount,\n });\n }\n\n setCumulativePortfolio(processedPortfolio);\n } else if (\n filterInvestments !== null &&\n filterInvestments !== undefined &&\n filterInvestments.length !== 0\n ) {\n let filteredInvestments = [];\n\n var formattedAccountCreationDate = dayjs(\n dayjs(accountCreationDate).format(\"MMM D, YYYY\")\n );\n var unixAccountCreationDate = dayjs(createdAccountDate).unix();\n var investDate = dayjs(\n dayjs(filterInvestments[0].investment_date).format(\"MMM D, YYYY\")\n );\n var unixInvestDate = dayjs(investDate).unix();\n\n var previousDate = \"\";\n\n if (unixInvestDate === unixAccountCreationDate) {\n let days = 1;\n let firstInvestmentDate = new Date(\n filterInvestments[0].investment_date\n );\n previousDate = new Date(\n firstInvestmentDate.getTime() - days * 24 * 60 * 60 * 1000\n );\n } else {\n previousDate = new Date(createdAccountDate);\n }\n\n filterInvestments.forEach(\n ({ investment_date, fund, investment_amount, status }) => {\n if (\n (fund.name === fundName || fundName === \"All\") &&\n status === \"F\"\n ) {\n filteredInvestments.push({\n investment_date: investment_date,\n investment_amount: investment_amount,\n });\n }\n }\n );\n\n filteredInvestments.push({\n investment_date: previousDate,\n investment_amount: 0,\n });\n\n var lastInvestDate = dayjs(\n filterInvestments[filterInvestments.length - 1].investment_date\n ).unix();\n var todayDate = dayjs(new Date().toISOString()).format(\"MMM D, YYYY\");\n var unixTodayDate = dayjs(todayDate).unix();\n\n if (unixTodayDate > lastInvestDate) {\n filteredInvestments.push({\n investment_date: new Date(),\n investment_amount: 0,\n });\n }\n\n filteredInvestments.forEach(({ investment_date, investment_amount }) => {\n var unixDateNoTime = dayjs(\n dayjs(investment_date).format(\"MMM D, YYYY\")\n );\n var unixDate = dayjs(unixDateNoTime).unix();\n var unixDateISO = dayjs.unix(unixDate).toISOString();\n\n if (\n hashedPortfolio[unixDate] === null ||\n hashedPortfolio[unixDate] === undefined\n ) {\n hashedPortfolio[unixDate] = {\n investmentAmount: 0,\n distributionAmount: 0,\n investmentDate: unixDateISO,\n };\n }\n hashedPortfolio[unixDate].investmentAmount += investment_amount;\n });\n\n if (\n filterDistributions !== undefined &&\n filterDistributions !== null &&\n filterDistributions.length !== 0\n ) {\n let filteredDistributions = [];\n filterDistributions.forEach(\n ({ distribution_date, distribution_amount, fund, status }) => {\n if (\n (fund.name === fundName || fundName === \"All\") &&\n status === \"C\"\n ) {\n filteredDistributions.push({\n distribution_amount: distribution_amount,\n distribution_date: distribution_date,\n });\n }\n }\n );\n\n filteredDistributions.forEach(\n ({ distribution_date, distribution_amount }) => {\n var unixDistributionDateNoTime = dayjs(\n dayjs(distribution_date).format(\"MMM D, YYYY\")\n );\n var unixDistributionDate = dayjs(unixDistributionDateNoTime).unix();\n var unixDistributionDateISO = dayjs\n .unix(unixDistributionDate)\n .toISOString();\n\n if (\n hashedPortfolio[unixDistributionDate] === null ||\n hashedPortfolio[unixDistributionDate] === undefined\n ) {\n hashedPortfolio[unixDistributionDate] = {\n investmentAmount: 0,\n distributionAmount: 0,\n investmentDate: unixDistributionDateISO,\n };\n }\n hashedPortfolio[unixDistributionDate].distributionAmount +=\n distribution_amount;\n }\n );\n }\n\n const orderedPortfolio = Object.entries(hashedPortfolio)\n .map(\n ([key, { investmentAmount, investmentDate, distributionAmount, capitalCallAmount, markedValueAmount }]) => {\n return {\n unixDate: key,\n investmentAmount: investmentAmount,\n distributionAmount: distributionAmount,\n capitalCallAmount: capitalCallAmount,\n markedValueAmount: markedValueAmount,\n investmentDate: investmentDate,\n };\n }\n )\n .sort((a, b) => a.investmentDate.localeCompare(b.investmentDate));\n \n \n var processedPortfolio = [];\n\n if (fromDate !== null) {\n let constructedDate = new Date(\n fromDate.year,\n fromDate.month - 1,\n fromDate.day\n );\n let constructedUnixDateNoTime = dayjs(\n dayjs(constructedDate).format(\"MMM D, YYYY\")\n );\n let constructedUnixDate = dayjs(constructedUnixDateNoTime).unix();\n var startDate = constructedUnixDate;\n }\n if (toDate !== null) {\n let constructedDate = new Date(\n toDate.year,\n toDate.month - 1,\n toDate.day\n );\n let constructedUnixDateNoTime = dayjs(\n dayjs(constructedDate).format(\"MMM D, YYYY\")\n );\n let constructedUnixDate = dayjs(constructedUnixDateNoTime).unix();\n var endDate = constructedUnixDate;\n }\n var startIndex = 0;\n var endIndex = orderedPortfolio.length - 1;\n var previousInvestmentTotal = 0;\n var previousDistributionTotal = 0;\n var pushEnd = false;\n\n for (let f = 0; f < orderedPortfolio.length; f++) {\n if (\n startDate !== undefined &&\n startDate !== null &&\n startDate >= orderedPortfolio[f].unixDate\n ) {\n startIndex = f;\n previousInvestmentTotal += orderedPortfolio[f].investmentAmount;\n previousDistributionTotal += orderedPortfolio[f].distributionAmount;\n }\n if (\n endDate !== undefined &&\n endDate !== null &&\n endDate >= orderedPortfolio[f].unixDate\n ) {\n endIndex = f;\n }\n }\n\n if (\n endDate !== undefined &&\n endDate !== null &&\n endDate > orderedPortfolio[endIndex].unixDate\n ) {\n pushEnd = true;\n }\n\n if (startDate !== undefined && startDate !== null) {\n processedPortfolio.push({\n investmentDate: startDate,\n investmentAmount: previousInvestmentTotal,\n distributionAmount: previousDistributionTotal,\n });\n }\n\n var investmentRunSum = previousInvestmentTotal;\n var distributionRunSum = previousDistributionTotal;\n\n for (\n let i =\n startDate === undefined || startDate === null ? 0 : startIndex + 1;\n i <= endIndex;\n i++\n ) {\n investmentRunSum += orderedPortfolio[i].investmentAmount;\n distributionRunSum += orderedPortfolio[i].distributionAmount;\n processedPortfolio.push({\n investmentDate: orderedPortfolio[i].unixDate,\n investmentAmount: investmentRunSum,\n distributionAmount: distributionRunSum,\n });\n }\n if (pushEnd) {\n var lastEntry =\n processedPortfolio[processedPortfolio.length - 1].investmentAmount;\n processedPortfolio.push({\n investmentDate: endDate,\n investmentAmount:\n processedPortfolio[processedPortfolio.length - 1].investmentAmount,\n distributionAmount:\n processedPortfolio[processedPortfolio.length - 1]\n .distributionAmount,\n });\n }\n\n setCumulativePortfolio(processedPortfolio);\n }\n }, [\n createdAccountDate,\n filterInvestments,\n filterDistributions,\n fromDate,\n fundName,\n toDate,\n accountCreationDate,\n ]);\n const AxisFormatter = (number) => {\n return \"$ \" + numFormatter(number);\n };\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Activity •\n \n {fundName}\n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default PortfolioGraphSection;\n","import { atom } from \"recoil\";\n\nexport const userAuthenticatedState = atom({\n key: \"userAuthenticatedState\",\n default: false,\n});\n\nexport const accessCodeVal = atom({\n key: \"accessCodeVal\",\n default: \"\",\n});\n\nexport const termsAgreedVal = atom({\n key: \"termsAgreed\",\n default: false,\n});\n\nexport const termsAgreementIdVal = atom({\n key: \"termsAgreementId\",\n default: \"\",\n});\n\nexport const confidentialityAgreedVal = atom({\n key: \"confidentialityAgreedVal\",\n default: false,\n});\n\nexport const confidentialityAgreedIdVal = atom({\n key: \"confidentialityAgreementIdVal\",\n default: \"\",\n});\n\nexport const nameVal = atom({\n key: \"nameVal\",\n default: \"\",\n});\n\nexport const accountTypeIndividualVal = atom({\n key: \"accountTypeIndividualVal\",\n default: false,\n});\n\nexport const accountTypeTrustVal = atom({\n key: \"accountTypeTrustVal\",\n default: false,\n});\n\nexport const accountTypeEntityVal = atom({\n key: \"accountTypeEntityVal\",\n default: false,\n});\n\nexport const accountTypeJointVal = atom({\n key: \"accountTypeJointVal\",\n default: false,\n});\n\nexport const accountTypeSMLLCVal = atom({\n key: \"accountTypeSMLLCVal\",\n default: false,\n});\n\nexport const indQpQ1Yes = atom({\n key: \"indQpQ1Yes\",\n default: false,\n});\n\nexport const indQpQ1No = atom({\n key: \"indQpQ1No\",\n default: false,\n});\n\nexport const qualificationDateVal = atom({\n key: \"qualificationDateVal\",\n default: \"\",\n});\n\nexport const jointQpQ1Yes = atom({\n key: \"jointQpQ1Yes\",\n default: false,\n});\n\nexport const jointQpQ1No = atom({\n key: \"jointQpQ1No\",\n default: false,\n});\n\nexport const smLLCQpQ1Yes = atom({\n key: \"smLLCQpQ1Yes\",\n default: false,\n});\n\nexport const smLLCQpQ1No = atom({\n key: \"smLLCQpQ1No\",\n default: false,\n});\n\nexport const trustQpQ1 = atom({\n key: \"trustQpQ1\",\n default: \"\",\n});\n\nexport const trustQpQ2 = atom({\n key: \"trustQpQ2\",\n default: \"\",\n});\n\nexport const trustQpQ3 = atom({\n key: \"trustQpQ3\",\n default: \"\",\n});\n\nexport const trustQpQ4 = atom({\n key: \"trustQpQ4\",\n default: \"\",\n});\n\nexport const entityQpQ1 = atom({\n key: \"entityQpQ1\",\n default: \"\",\n});\n\nexport const entityQpQ2 = atom({\n key: \"entityQpQ2\",\n default: \"\",\n});\n\nexport const entityQpQ3 = atom({\n key: \"entityQpQ3\",\n default: \"\",\n});\n\nexport const entityQpQ4 = atom({\n key: \"entityQpQ4\",\n default: \"\",\n});\n\nexport const entityQpQ5 = atom({\n key: \"entityQpQ5\",\n default: \"\",\n});\n\nexport const emailVal = atom({\n key: \"emailVal\",\n default: \"\",\n});\n\nexport const userIDVal = atom({\n key: \"userIDVal\",\n default: \"\",\n});\n\nexport const indNetWorth1M = atom({\n key: \"indNetWorth1M\",\n default: \"\",\n});\n\nexport const indIncomeAccredited = atom({\n key: \"indIncomeAccredited\",\n default: \"\",\n});\n\nexport const indInvestmentProfessional = atom({\n key: \"indInvestmentProfessional\",\n default: \"\",\n});\n\nexport const indAssets5M = atom({\n key: \"indAssets5M\",\n default: \"\",\n});\n\nexport const jointNetWorth1M = atom({\n key: \"jointNetWorth1M\",\n default: \"\",\n});\n\nexport const jointIncomeAccredited = atom({\n key: \"jointIncomeAccredited\",\n default: \"\",\n});\n\nexport const jointInvestmentProfessional = atom({\n key: \"jointInvestmentProfessional\",\n default: \"\",\n});\n\nexport const jointAssets5M = atom({\n key: \"jointAssets5M\",\n default: \"\",\n});\n\nexport const smLLCAssets5M = atom({\n key: \"smLLCAssets5M\",\n default: \"\",\n});\n\nexport const smLLCOwnerAccredited = atom({\n key: \"smLLCOwnerAccredited\",\n default: \"\",\n});\n\nexport const trustAssets5M = atom({\n key: \"trustAssets5M\",\n default: \"\",\n});\n\nexport const trustSophisticatedInvestor = atom({\n key: \"trustSophisticatedInvestor\",\n default: \"\",\n});\n\nexport const trustFormationNotSpecificInvestment = atom({\n key: \"trustFormationNotSpecificInvestment\",\n default: \"\",\n});\n\nexport const trustGrantorsAccredited = atom({\n key: \"trustGrantorsAccredited\",\n default: \"\",\n});\n\nexport const trustOwnedByFamily = atom({\n key: \"trustOwnedByFamily\",\n default: \"\",\n});\n\nexport const trustGrantorQP = atom({\n key: \"trustGrantorQP\",\n default: \"\",\n});\n\nexport const entityAssets5M = atom({\n key: \"entityAssets5M\",\n default: \"\",\n});\n\nexport const entityNotFormedForInvestment = atom({\n key: \"entityNotFormedForInvestment\",\n default: \"\",\n});\n\nexport const entityOwnersAccredited = atom({\n key: \"entityOwnersAccredited\",\n default: \"\",\n});\n\nexport const entityOwnedByFamily = atom({\n key: \"entityOwnedByFamily\",\n default: \"\",\n});\n\nexport const entityAssets25M = atom({\n key: \"entityAssets25M\",\n default: \"\",\n});\n\nexport const entityOwnersQP = atom({\n key: \"entityOwnersQP\",\n default: \"\",\n});\n\nexport const accreditedInvestorsAllowed = atom({\n key: \"accreditedInvestorsAllowed\",\n default: false,\n});\n","import React, { useState, useEffect, useContext } from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport \"./PortfolioPageStyles/PortfolioPageStyles.css\";\n// import FromFilter from \"../../../Components/GlobalComponents/DateFilters/FromFilter.js\";\n// import ToFilter from \"../../../Components/GlobalComponents/DateFilters/ToFilter.js\";\n// import SingleSelectDropdown from \"../../../Components/GlobalComponents/SingleSelectDropdown/SingleSelectDropdown.js\";\nimport {\n getUserInvestments,\n getUserDistributions,\n} from \"../../../Api/PortfolioApi.js\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\n// import { numFormatter } from \"../../../Adapters/GlobalAdapters/FormatData.js\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\n// import BootstrapTable from \"react-bootstrap-table-next\";\n// import Button from \"../../../GlobalComponents/Button/Button.js\";\n// import { useHistory } from \"react-router-dom\";\nimport InvestmentTable from \"./InvestmentTable.js\";\nimport PortfolioFilterRow from \"./PortfolioFilterRow.js\";\n// import TotalInvestmentDistributionSection from \"./TotalInvestmentDistributionSection.js\";\nimport PortfolioGraphSection from \"./PortfolioGraphSection.js\";\n// import {\n// AreaChart,\n// Area,\n// LineChart,\n// Line,\n// XAxis,\n// YAxis,\n// CartesianGrid,\n// Tooltip,\n// ResponsiveContainer,\n// Legend,\n// } from \"recharts\";\nimport { userAuthenticatedState } from \"../../../atoms\";\nimport { useRecoilValue } from \"recoil\";\n// import Media from \"react-media\";\n// import PhoneInvestmentGrid from \"./PhoneInvestmentGrid/PhoneInvestmentGrid.js\";\nimport * as dayjs from \"dayjs\";\nvar utc = require(\"dayjs/plugin/utc\");\n\nfunction PortfolioPage() {\n dayjs.extend(utc);\n const [fromDate, setFromDate] = useState(null);\n const [fundName, setFundName] = useState(\"All\");\n const [toDate, setToDate] = useState(null);\n const { user, setUser } = useContext(UserContext);\n const [accountCreationDate, setAccountCreationDate] = useState(\"\");\n const [totalInvested, setTotalInvested] = useState(0);\n const [totalDistributed, setTotalDistributed] = useState(0);\n const [investments, setInvestments] = useState([]);\n const [distributions, setDistributions] = useState([]);\n const [text, setText] = useState(\"Current\");\n const [defaultKey, setDefaultKey] = useState(\"\");\n // const userAuthenticated = useRecoilValue(userAuthenticatedState);\n\n useEffect(() => {\n if (user !== undefined && user !== null) {\n setAccountCreationDate(\n dayjs(user.investorSummaryData.created_at)\n .utc(\"Z\")\n .local()\n .format(\"MMM D, YYYY\")\n );\n }\n }, [user]);\n\n useEffect(() => {\n async function getInvestments() {\n try {\n const response = await getUserInvestments(\n true,\n user ? user.selectedAccountID : null\n );\n\n setInvestments(response.data);\n // console.log(\"Investments are: \" + JSON.stringify(response.data));\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n getInvestments();\n }, []);\n\n useEffect(() => {\n async function getDistributions() {\n try {\n const response = await getUserDistributions(\n true,\n user ? user.selectedAccountID : null\n );\n setDistributions(response.data);\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n getDistributions();\n }, []);\n\n useEffect(() => {\n var totalInvestments = 0;\n var totalDistributions = 0;\n\n investments.forEach(({ investment_amount }) => {\n totalInvestments += investment_amount;\n });\n\n distributions.forEach(({ distribution_amount }) => {\n totalDistributions += distribution_amount;\n });\n\n setTotalInvested(totalInvestments);\n setTotalDistributed(totalDistributions);\n }, [investments, distributions]);\n\n useEffect(() => {\n var items = [];\n items.push(text);\n setDefaultKey(items);\n }, [text]);\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n {/*
    \n
    \n Portfolio\n
    \n
    */}\n
    \n
    \n {/* */}\n \n \n \n
    \n
    \n
    \n
    \n
    \n \n );\n}\nexport default PortfolioPage;\n","import { Auth } from \"aws-amplify\";\n\n/**\n *\n */\nexport const getRequestHeaders = async () => {\n const config = {\n headers: {},\n };\n\n const accessToken = await Auth.currentSession().then(\n (response) => response.accessToken.jwtToken\n );\n if (accessToken !== undefined && accessToken !== null) {\n config.headers[\"Authorization\"] = `Bearer ${accessToken}`;\n }\n\n return config;\n};\n","import axios from \"axios\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders.js\";\nimport { HOST } from \"../../host-config.js\";\n// const backendApi = axios.create({\n// baseUrl: HOST,\n// });\n\n//Dev environment endpoint\nexport const getFundSubscriptionStats = async (fundLink, accountID) => {\n const link = fundLink.toString();\n const config = await getRequestHeaders();\n const requestParams = {\n params: {\n account_id: accountID,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(\n HOST + \"/fund/\" + link + \"/subscription-info/\",\n requestParams\n );\n};\n\n//Dev environment endpoint\nexport const createInvestment = async (\n fundId,\n investmentAmount,\n accountId,\n iraPartnerName = null\n) => {\n const config = await getRequestHeaders();\n\n const params = {\n ...(iraPartnerName && { ira_partner_name: iraPartnerName }),\n ...{ fund_id: fundId, amount: investmentAmount, account_id: accountId },\n };\n\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\n \"Create investment request made with parameters: \" +\n JSON.stringify(params)\n );\n }\n return axios.post(\n HOST + \"/create-update-investor-fund-investment/\",\n params,\n config\n );\n};\n\n//Dev environment endpoint\nexport const getInvestorFundInvestment = async (fundId, accountId) => {\n const config = await getRequestHeaders();\n const requestParams = {\n params: {\n fund_id: fundId,\n account_id: accountId,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(HOST + \"/investor-fund-investment/\", requestParams);\n};\n\nexport const getAccountQualificationVerification = async (accountId) => {\n const config = await getRequestHeaders();\n const requestParams = {\n params: {\n account_id: accountId,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(\n HOST + \"/investor-profile-account-qualification-verification/\",\n requestParams\n );\n};\n\nexport const pollKYC = async (accountID, requestCount) => {\n const config = await getRequestHeaders();\n\n const requestParams = {\n params: {\n account_id: accountID,\n request_num: requestCount,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n\n return axios.get(HOST + \"/poll-kyc\", requestParams);\n};\n\nexport const getInvestorWireInstructions = async (fundId) => {\n const config = await getRequestHeaders();\n\n const requestParams = {\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n\n return axios.get(\n HOST + \"/get-wire-instructions/\" + fundId + \"/\",\n requestParams\n );\n};\n","import { useState, useEffect, useContext } from \"react\";\nimport { UserContext } from \"../GlobalContexts/UserContext\";\nimport { getAccountQualificationVerification } from \"../Api/ConfirmInvestmentApi/ConfirmInvestmentApi.js\";\n\nexport default function GetAccountQualificationVerification(\n refresh,\n setLoading\n) {\n const [\n accountQualificationVerification,\n setAccountQualificationVerification,\n ] = useState({});\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\n \"User within the get account qualification verification is: \" +\n JSON.stringify(user)\n );\n }\n }, [user]);\n\n useEffect(() => {\n async function getAccountQualificationVerificationInfo() {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"Call occurred here.\");\n }\n setLoading(true);\n try {\n const response = await getAccountQualificationVerification(\n user ? user.selectedAccountID : null\n );\n // console.log(\"Call within adapter is successful.\");\n // console.log(\n // \"Data from within the adapter is: \" + JSON.stringify(response.data)\n // );\n const accountQualificationVerificationData = response.data;\n setAccountQualificationVerification({\n id:\n accountQualificationVerificationData.length !== 0\n ? accountQualificationVerificationData[0].id\n : \"\",\n number:\n accountQualificationVerificationData.length !== 0\n ? accountQualificationVerificationData[0].number\n : \"\",\n entityComplete:\n accountQualificationVerificationData.length !== 0\n ? accountQualificationVerificationData[0].entity_complete\n : \"\",\n investorProfileComplete:\n accountQualificationVerificationData.length !== 0\n ? accountQualificationVerificationData[0]\n .investor_profile_complete\n : \"\",\n accountType:\n accountQualificationVerificationData.length !== 0\n ? accountQualificationVerificationData[0].account_type\n : \"\",\n qualificationType:\n accountQualificationVerificationData.length !== 0\n ? accountQualificationVerificationData[0]\n .account_qualifications[0].qualification_type\n : \"\",\n verificationStatus:\n accountQualificationVerificationData.length !== 0\n ? accountQualificationVerificationData[0].account_verifications[0]\n .status\n : \"\",\n });\n setLoading(false);\n // console.log(\n // \"Function complete. Loading should be set to correct state now.\"\n // );\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(err);\n }\n }\n getAccountQualificationVerificationInfo();\n }, [refresh, user]);\n\n return { accountQualificationVerification };\n}\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router\";\nimport \"./CompleteAccountComponentStyles/CompleteAccountComponentStyles.scss\";\nimport * as Icon from \"react-icons/fi\";\nimport Checkbox from \"react-custom-checkbox\";\n\nfunction CompleteAccountComponent({\n accountType,\n investorProfileComplete,\n entityComplete,\n id,\n investmentAccountsPage\n}) {\n let history = useHistory();\n const [checked, setChecked] = useState(false);\n const [checked2, setChecked2] = useState(false);\n\n useEffect(() => {\n if (accountType === \"IND\") {\n setChecked(investorProfileComplete);\n setChecked2(investorProfileComplete);\n } else {\n setChecked(investorProfileComplete);\n setChecked2(entityComplete);\n }\n }, [accountType]);\n\n return (\n //
    \n
    \n
    \n \n To invest in a fund, please complete the following steps:\n \n
    \n
    \n
    \n \n \n
    \n }\n />\n \n Complete your{\" \"}\n \n Investor Information\n \n \n {!checked && (\n history.push(\"/profile\")}\n >\n \n Complete\n \n \n
    \n )}\n
    \n
    \n {!investmentAccountsPage && checked && \n \n
    \n }\n /> }\n \n {! (investmentAccountsPage) &&(checked) ? <>Complete your Account :<>Complete an account before investing. } \n \n {!checked2 && (!investmentAccountsPage) && checked && (\n history.push(\"/investment-accounts/add/\" + id)}\n >\n \n Complete{\" \"}\n \n \n
    \n )}\n \n \n \n );\n}\nexport default CompleteAccountComponent;","import React, { useState, useContext, useEffect } from \"react\";\nimport { styled } from \"@mui/material/styles\";\nimport Menu from \"@mui/material/Menu\";\nimport KeyboardArrowDownIcon from \"@mui/icons-material/KeyboardArrowDown\";\nimport KeyboardArrowUpIcon from \"@mui/icons-material/KeyboardArrowUp\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport Avatar from \"@mui/material/Avatar\";\nimport \"./AccountPicker.css\";\nimport { UserContext } from \"../../GlobalContexts/UserContext\";\n\nconst StyledMenu = styled((props) => )(({}) => ({\n \"& .MuiPaper-root\": {\n width: 350,\n borderRadius: 4,\n // top: \"200px !important\",\n },\n}));\n\nconst AccountMenuItem = ({ account }) => (\n <>\n
    \n {account.accountName}\n {account.primary && (\n \n P\n \n )}\n
    \n
    \n {account.accountNumberObscured} • {account.accountType}{\" \"}\n
    \n \n);\n\nexport default function AccountPicker({ width, accounts }) {\n const [anchorElem, setAnchorElem] = useState(null);\n const [selectedAccount, setSelectedAccount] = useState(0);\n\n const handleClick = (event) => {\n setAnchorElem(event.currentTarget);\n };\n\n const handleClose = () => {\n setAnchorElem(false);\n };\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n if (\n user &&\n user.selectedAccountID !== \"\" &&\n user.accountListData.length !== 0\n ) {\n user.accountListData.forEach((accountInfo, index) => {\n if (accountInfo.id === user.selectedAccountID) {\n setSelectedAccount(index);\n }\n });\n }\n }, [user]);\n\n const handleSelectedAccountUpdate = (selectedAccountID) => {\n setUser((user) => ({ ...user, selectedAccountID: selectedAccountID }));\n };\n\n return (\n <>\n \n
    \n
    \n \n \n You are currently viewing funds as:\n \n
    \n \n \n Account:{\" \"}\n \n {accounts.length > selectedAccount\n ? accounts[selectedAccount].accountName\n : \"\"}\n \n \n {anchorElem ? (\n \n ) : (\n \n )}\n \n \n
    \n \n \n \n {accounts.map((account, index) => (\n {\n handleClose();\n setSelectedAccount(index);\n handleSelectedAccountUpdate(account.id);\n }}\n selected={index === selectedAccount}\n disableRipple\n >\n \n \n ))}\n \n \n );\n}\n","import axios from \"axios\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders.js\";\nimport { HOST } from \"../host-config.js\";\n// const backendApi = axios.create({\n// baseUrl: HOST,\n// });\n\n//Dev environment endpoint\n// export const getUserProfile = async () => {\n// const config = await getRequestHeaders();\n// return axios.get(HOST + \"/investor-profile-details/\", config);\n// };\nexport const getInvestorProfile = async () => {\n const config = await getRequestHeaders();\n // return axios.get(HOST + \"/investor-profile-fast/\", config);\n return axios.get(HOST + \"/profile-pii\", config);\n};\n\nexport const getInvestorSummary = async () => {\n const config = await getRequestHeaders();\n return axios.get(HOST + \"/investor-summary\", config);\n};\n\nexport const getAccountList = async () => {\n const config = await getRequestHeaders();\n return axios.get(HOST + \"/account-list\", config);\n};\n\nexport const getAccountSummary = async (accountId) => {\n const config = await getRequestHeaders();\n const requestParams = {\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(HOST + `/account-summary?account_id=${accountId}`, requestParams);\n \n};\n\nexport const newAccount = async (payload) => {\n const config = await getRequestHeaders();\n\n return axios.post(\n HOST + \"/new-account\",\n payload,\n config\n );\n};\n\n//Dev environment endpoint\nexport const updateIdentityId = async (identityId) => {\n const config = await getRequestHeaders();\n\n const userParams = {\n identity_id: identityId,\n };\n return axios.post(\n HOST + \"/investor-profile/identity-id/\",\n userParams,\n config\n );\n};\n\n//Dev environment endpoint\nexport const updateBasicProfileInfo = async (basicProfileInfo) => {\n const config = await getRequestHeaders();\n\n return axios.post(\n HOST + \"/investor-profile/update-basic-profile-info/\",\n basicProfileInfo,\n config\n );\n};\n\nexport const updateInvestorAddress = async (investorAddress) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/update-investor-address/\",\n investorAddress,\n config\n );\n};\n\nexport const updateInvestorPII = async (investorPII) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/update-investor-pii/\",\n investorPII,\n config\n );\n};\n\n//Dev environment endpoint\nexport const updateInvestorInformation = async (investorInformation) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/update-investor-info\",\n investorInformation,\n config\n );\n};\n\nexport const updateTrustInformation = async (trustInformation) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/update-entity-information/\",\n trustInformation,\n config\n );\n};\n\nexport const additionalEntityInformation = async (entityInformation) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/additional-entity-information/\",\n entityInformation,\n config\n );\n};\n\nexport const updateEntityInformation = async (entityInformation) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/update-entity-information/\",\n entityInformation,\n config\n );\n};\n\nexport const addGrantorInformation = async (grantorInformation) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/add-trust-grantor/\",\n grantorInformation,\n config\n );\n};\n\nexport const updateRelatedPartyInformation = async (\n relatedPartyInformation\n) => {\n const config = await getRequestHeaders();\n return axios.post(\n HOST + \"/investor-profile/update-related-party-information/\",\n relatedPartyInformation,\n config\n );\n};\n\n//Dev environment endpoint\nexport const updateIsQualifiedPurchaser = async (isQualifiedPurchaser) => {\n const config = await getRequestHeaders();\n\n const params = {\n q1_qp_5m_investments: isQualifiedPurchaser,\n };\n\n return axios.post(\n HOST + \"/investor-profile/update-is-qualified-purchaser/\",\n params,\n config\n );\n};\n\n//Dev environment endpoint\nexport const completeInvestorProfile = async (completed) => {\n const config = await getRequestHeaders();\n const params = {\n completed: completed,\n };\n\n return axios.post(HOST + \"/investor-profile/complete/\", params, config);\n};\n\n//Dev environment endpoint\nexport const verifyUserProfile = async (verified, token) => {\n const config = await getRequestHeaders();\n\n var params = { verified: verified };\n\n if (token !== \"\") {\n params.token = token;\n }\n\n return axios.post(HOST + \"/investor-profile/verify/\", params, config);\n};\n","import { useState, useEffect, useContext } from \"react\";\nimport { getAccountList } from \"../Api/ProfileApi\";\nimport { UserContext } from \"../GlobalContexts/UserContext\";\n\nexport default function GetAccountListAdapter(refresh, setLoading) {\n const [accounts, setAccounts] = useState([]);\n\n const { user } = useContext(UserContext);\n\n useEffect(() => {\n async function getAccountListInfo() {\n setLoading(true);\n try {\n const response = await getAccountList();\n const accountListData = response.data;\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\"Data is: \" + JSON.stringify(accountListData));\n setAccounts([]);\n let tempAccounts = accountListData.forEach((account, index) => {\n let accountTypes = {\n IND: \"Individual\",\n TRT: \"Trust\",\n ENT: \"Entity\",\n JOINT: \"Joint\"\n };\n var tempCell = account.number;\n var copyString = \"X\".repeat(tempCell.length - 4);\n // copyString += tempCell.slice(-4);\n setAccounts((prev) => [\n ...prev,\n {\n id: account.id,\n accountName: account.name,\n accountType: accountTypes[account.account_type],\n accountNumberObscured: account.number,\n primary: index === 0,\n },\n ]);\n setLoading(false);\n });\n // setAccounts(tempAccounts);\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(err);\n }\n }\n getAccountListInfo();\n }, [refresh]);\n\n return { accounts };\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"./InvestPageHeaderStyles/InvestPageHeaderStyles.css\";\nimport Stepper from \"react-stepper-horizontal\";\nimport GetAccountQualificationVerification from \"../../../../Adapters/GetAccountQualificationVerification\";\nimport CompleteAccountComponent from \"../../../../Components/GlobalComponents/CompleteAccountComponent/CompleteAccountComponent\";\nimport AccountPicker from \"../../../../GlobalComponents/AccountPicker/AccountPicker\";\nimport GetAccountListAdapter from \"../../../../Adapters/GetAccountListAdapter\";\nimport { UserContext } from \"../../../../GlobalContexts/UserContext\";\n\nfunction InvestPageHeader() {\n let history = useHistory();\n const [activeStep, setActiveStep] = useState(0);\n\n const [showProgressBar, setShowProgressBar] = useState(false);\n const [accountID, setAccountID] = useState(\"\");\n const [steps, setSteps] = useState([]);\n const [progressMessage, setProgressMessage] = useState(\"\");\n const [refresh, setRefresh] = useState(0);\n const [loading, setLoading] = useState(false);\n const [accountPickerLoading, setAccountPickerLoading] = useState(true);\n const { accountQualificationVerification } =\n GetAccountQualificationVerification(refresh, setLoading);\n\n const { accounts } = GetAccountListAdapter(refresh, setAccountPickerLoading);\n\n const [accountType, setAccountType] = useState(\"\");\n const [investorProfileComplete, setInvestorProfileComplete] = useState(\"\");\n const [entityComplete, setEntityComplete] = useState(\"\");\n\n const { user } = useContext(UserContext);\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\"Accounts are: \" + JSON.stringify(accounts));\n }, [accounts]);\n\n useEffect(() => {\n if (Object.keys(accountQualificationVerification).length === 0) {\n return;\n } else {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\n \"Account qualification verification is: \" +\n JSON.stringify(accountQualificationVerification)\n );\n var show = false;\n setAccountID(accountQualificationVerification.id);\n setAccountType(accountQualificationVerification.accountType);\n\n setInvestorProfileComplete(\n accountQualificationVerification.investorProfileComplete\n );\n setEntityComplete(accountQualificationVerification.entityComplete);\n\n if (\n accountQualificationVerification.accountType === \"IND\" &&\n !accountQualificationVerification.investorProfileComplete\n ) {\n show = true;\n } else if (\n accountQualificationVerification.accountType !== \"IND\" &&\n (!accountQualificationVerification.investorProfileComplete ||\n !accountQualificationVerification.entityComplete)\n ) {\n show = true;\n }\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\"Show is: \" + show);\n setShowProgressBar(show);\n }\n }, [accountQualificationVerification, user]);\n\n return (\n \n {showProgressBar && (\n
    \n {!loading && (\n \n )}\n
    \n )}\n \n
    \n
    \n Invest\n
    \n
    \n Browse Current Opportunities\n
    \n
    \n
    \n {!accountPickerLoading && (\n
    \n \n
    \n )}\n
    \n \n
    \n );\n}\nexport default InvestPageHeader;\n","import React from \"react\";\nimport \"../../Styles/Components/GlobalComponents/SearchBar/SearchBar.css\";\nfunction SearchBar({ setValue, placeholder }) {\n return (\n
    \n
    \n \"Magnifier\"\n
    \n setValue(event.target.value)}\n >\n
    \n );\n}\nexport default SearchBar;\n","import React, { useState, useEffect } from \"react\";\nimport { Menu, Dropdown, Button, Space } from \"antd\";\nimport { Select } from \"antd\";\nimport \"./MinInvestmentDropdownStyles/MinInvestmentDropdownStyles.css\";\nimport \"antd/dist/antd.css\";\n\nfunction MinInvestmentDropdown({ text, setText, defaultKey }) {\n\tconst menu = (\n\t\t setText(e.key)}\n\t\t\tdefaultSelectedKeys={defaultKey}\n\t\t>\n\t\t\t\n\t\t\t\t$10,000\n\t\t\t\n\t\t\t\n\t\t\t\t$50,000\n\t\t\t\n\t\t\t\n\t\t\t\t$100,000\n\t\t\t\n\t\t\t\n\t\t\t\tAll\n\t\t\t\n\t\t
    \n\t);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{\"Min. Investment: \"}\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\n\t\t
    \n\t);\n}\nexport default MinInvestmentDropdown;\n","import React, { useEffect, useState } from \"react\";\nimport \"../../Styles/Components/GlobalComponents/CheckBox/CheckBox.css\";\n\nfunction CheckBox({ selected }) {\n const [divClass, setDivClass] = useState(\"checkBox-border-unselected\");\n const [checked, setChecked] = useState(false);\n useEffect(() => {\n setDivClass(\n selected ? \"checkBox-border-selected\" : \"checkBox-border-unselected\"\n );\n setChecked(selected);\n }, [selected]);\n\n return (\n
    \n {checked && (\n \n \n \n )}\n
    \n );\n}\nexport default CheckBox;\n","import React, { useState, useEffect } from \"react\";\nimport { Menu, Dropdown, Button, Space } from \"antd\";\nimport { Select } from \"antd\";\nimport CheckBox from \"../CheckBox.js\";\nimport \"./StageFilterStyles/StageFilterStyles.css\";\nimport \"antd/dist/antd.css\";\n\nfunction StageFilter({ text, setText, defaultKey }) {\n const menu = (\n setText(e.key)}\n defaultSelectedKeys={defaultKey}\n >\n \n Upcoming\n \n \n Fundraising\n \n \n Pending Closing\n \n \n Closed\n \n \n All\n \n \n );\n\n return (\n \n \n
    \n
    \n \n {\"Stage: \" + text}\n \n
    \n
    \n \"portfolio-arrow\"\n
    \n
    \n \n
    \n );\n}\nexport default StageFilter;\n","import React from \"react\";\nimport { Menu, Dropdown, Button } from \"antd\";\nimport \"./StrategyFilterStyles/StrategyFilterStyles.css\";\nimport \"antd/dist/antd.css\";\n\nfunction StrategyFilter({ text, setText, defaultKey }) {\n const menu = (\n setText(e.key)}\n defaultSelectedKeys={defaultKey}\n >\n \n Private Equity\n \n {/* \n Direct Landing\n */}\n {/* \n CLO Management\n */}\n \n Private Credit\n \n \n Co-Investment\n \n \n Fund of Funds\n \n {/* Complete this with rest of the strategies */}\n \n Buyout \n \n \n Growth\n \n \n Credit\n \n \n All\n \n \n );\n\n return (\n \n \n
    \n
    \n \n {\"Strategy: \"}\n \n
    \n
    \n \n
    \n
    \n \n
    \n );\n}\nexport default StrategyFilter;\n","import React from \"react\";\nimport SearchBar from \"../../../../Components/GlobalComponents/SearchBar.js\";\nimport \"./FilterRowStyles/FilterRowStyles.css\";\nimport MinInvestmentDropdown from \"../../../../Components/GlobalComponents/MinInvestmentDropdown/MinInvestmentDropdown.js\";\nimport StageFilter from \"../../../../Components/GlobalComponents/StageFilter/StageFilter.js\";\nimport StrategyFilter from \"../../../../Components/GlobalComponents/StrategyFilter/StrategyFilter.js\";\nfunction FilterRow({\n setQuery,\n minInvestment,\n setMinInvestment,\n defaultMinInvestment,\n strategyType,\n setStrategyType,\n defaultStrategyType,\n status,\n setStatus,\n defaultStatus,\n}) {\n return (\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n );\n}\nexport default FilterRow;\n","import React, { useEffect, useState } from \"react\";\nimport \"./StageSectionStyles/StageSectionStyles.css\";\n\nfunction StageSection({ stage }) {\n const [stageBoxDiv, setStageBoxDiv] = useState(\"col-12 pt-0 pb-0 rounded-bottom\");\n const [stageTextDiv, setStageTextDiv] = useState(\"col-12 stage-text\");\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(stageBoxDiv + \" new-upcoming-stage\")\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(stageBoxDiv + \" new-fundraising-stage\")\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(stageBoxDiv + \" new-pending-closing-stage\")\n } else if (stage === \"Closed\") {\n setStageBoxDiv(stageBoxDiv + \" new-closed-stage\")\n } else if (stage === \"Past\") {\n setStageBoxDiv(stageBoxDiv + \" new-past-stage\")\n }\n }, [stage]);\n\n return (\n
    \n
    \n
    \n Stage: {stage}\n
    \n
    \n
    \n
    \n );\n}\nexport default StageSection;\n","import React, { useEffect, useState } from \"react\";\n//import \"./FundNameSectionStyles/FundNameSectionStyles.css\";\n\nfunction FundNameSection({ fundName, firmName, logoLink }) {\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n console.log(logoLink);\n const firmLogoOnLoad = () => {\n setFirmLogoLoading(false);\n };\n\n useEffect(() => {\n console.log(\"Logo link is: \" + logoLink);\n }, [logoLink]);\n\n return (\n
    \n \n
    \n \n \n
    \n \n
    {fundName}
    \n
    \n {firmName}\n
    \n
    \n \n \n );\n}\nexport default FundNameSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction TargetPerformanceSection({\n targetIRR,\n strategy,\n targetReturnMultiple,\n minimum,\n stage,\n}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    Target IRR
    {\" \"}\n {targetIRR + \"%\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n {strategy}\n
    \n
    \n
    \n
    \n
    Target Net Multiple
    \n {targetReturnMultiple + \"x\"}\n
    \n
    \n
    Minimum
    \n \n {\"$\" + minimum.toLocaleString(\"en-US\")}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default TargetPerformanceSection;\n","import React from \"react\";\n\nconst ProgressBar = (props) => {\n const { bgcolor, completed } = props;\n const containerStyles = {\n height: \"100%\",\n width: \"100%\",\n backgroundColor: props\n ? props.bgColor === \"variables.$secondary-red\"\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgb(0,145,234, 0.1)\"\n : \"rgb(0,145,234, 0.1)\",\n borderRadius: 10,\n margin: 0,\n };\n\n const fillerStyles = {\n height: \"100%\",\n width: `${completed}%`,\n backgroundColor: props ? props.bgColor : \"#0091EA\",\n borderRadius: \"inherit\",\n zIndex: 2,\n textAlign: \"right\",\n };\n\n const labelStyles = {\n padding: 5,\n color: \"white\",\n fontWeight: \"bold\",\n };\n\n return (\n
    \n
    \n
    \n );\n};\n\nexport default ProgressBar;\n","import React from \"react\";\nimport ProgressBar from \"../../ProgressBar.js\";\nimport \"./Styles.scss\";\n\nfunction AllocationGraphSection({ stage, allocationLeft }) {\n return stage !== \"Upcoming\" ? (\n
    \n
    \n
    \n = 25 ? \"block\" : \"none\" }}\n >\n \n
    \n
    \n
    \n Allocation Filled:{\" \"}\n = 75\n ? \"variables.$secondary-red\"\n : \"#000000\",\n fontWeight: allocationLeft >= 75 ? 700 : 500,\n }}\n >\n {allocationLeft}%\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n ) : (\n \n );\n}\n\nexport default AllocationGraphSection;\n","import React from \"react\";\nimport \"../TargetPerformanceSectionStyles/TargetPerformanceSectionStyles.scss\";\n\nfunction FlorenceCapTargetPerformanceSection({\n targetIRR,\n strategy,\n targetReturnMultiple,\n minimum,\n stage,\n}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    \n Target Net Multiple\n
    {\" \"}\n {\"3.0x\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n PortCo\n
    \n
    \n
    \n
    \n
    Round Size
    \n {\"$88M\"}\n
    \n
    \n
    Minimum
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default FlorenceCapTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction QvinTargetPerformanceSection({\n targetIRR,\n strategy,\n targetReturnMultiple,\n minimum,\n stage,\n}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    \n Target Net Multiple\n
    {\" \"}\n {\"15.0x\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Venture\n
    \n
    \n
    \n
    \n
    Round Size
    \n {\"$5M\"}\n
    \n
    \n
    Minimum
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default QvinTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction LVTargetPerformanceSection({}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    \n Past Funds IRR\n
    {\" \"}\n {\"25%\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Venture\n
    \n
    \n
    \n
    \n
    Fund Size
    \n {\"$75M\"}\n
    \n
    \n
    Minimum
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default LVTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction WandTargetPerformanceSection({\n}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    \n Pre-Money Valuation\n
    {\" \"}\n {\"$300M\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Venture\n
    \n
    \n
    \n
    \n
    Projected 3-Year ARR
    \n {\"$100M\"}\n
    \n
    \n
    Minimum
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default WandTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction AssemblyTargetPerformanceSection({}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    Round Size
    {\" \"}\n {\"$8M\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Venture\n
    \n
    \n
    \n
    \n
    Pipeline Interest
    \n {\"$1B\"}\n
    \n
    \n
    \n Minimum Investment\n
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default AssemblyTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction SunshineLakeTargetPerformanceSection({minimum}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    \n Unicorns backed\n
    {\" \"}\n {\"10\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Venture\n
    \n
    \n
    \n
    \n
    Target Fund Size
    \n {\"$50M\"}\n
    \n
    \n
    Minimum
    \n {\"$\" + minimum.toLocaleString(\"en-US\")}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default SunshineLakeTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction NscaleTargetPerformanceSection({}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    Round Size
    {\" \"}\n {\"$125M\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Growth\n
    \n
    \n
    \n
    \n
    PF Revenue
    \n {\"$88 Million\"}\n
    \n
    \n
    \n Minimum Investment\n
    \n {\"$10,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default NscaleTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction JukeboxTargetPerformanceSection({}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    Round Size
    {\" \"}\n {\"$10M\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Seed\n
    \n
    \n
    \n
    \n
    PF Revenue
    \n {\"$47.9 Million\"}\n
    \n
    \n
    \n Minimum Investment\n
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default JukeboxTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction DOrbitTargetPerformanceSection({}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    \n Target Net Multiple\n
    {\" \"}\n {\"6.0X (Projected)\"}\n
    \n
    \n {\" \"}\n
    Round Size
    {\" \"}\n Up to €80M\n
    \n
    \n
    \n
    \n
    Valuation
    \n {\"€600 Million\"}\n
    \n
    \n
    \n Minimum Investment\n
    \n {\"$10,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default DOrbitTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction HOFTargetPerformanceSection({ minimum }) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    \n Target Net IRR\n
    {\" \"}\n {\"30%+\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Growth-stage VC\n
    \n
    \n
    \n
    \n
    Fund Size
    \n {\"$250M\"}\n
    \n
    \n
    \n Minimum Investment\n
    \n \n {\" \"}\n {\"$\" + minimum.toLocaleString(\"en-US\")}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default HOFTargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction EVCITargetPerformanceSection({\n targetIRR,\n strategy,\n targetReturnMultiple,\n minimum,\n stage,\n}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    Track Record
    {\" \"}\n {\"13.6x MOIC\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Venture\n
    \n
    \n
    \n
    \n
    Target Fund Size
    \n {\"$15M\"}\n
    \n
    \n
    Minimum
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default EVCITargetPerformanceSection;\n","import React from \"react\";\nimport \"./Styles.scss\";\n\nfunction AxiomTargetPerformanceSection({\n targetIRR,\n strategy,\n targetReturnMultiple,\n minimum,\n stage,\n}) {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n
    Track Record
    {\" \"}\n {\"8.7x MOIC\"}\n
    \n
    \n {\" \"}\n
    Strategy
    {\" \"}\n Venture\n
    \n
    \n
    \n
    \n
    Fund Size
    \n {\"$35M - $50M\"}\n
    \n
    \n
    Minimum
    \n {\"$25,000\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default AxiomTargetPerformanceSection;\n","import React, { useEffect, useRef } from \"react\";\nimport \"./Styles.scss\";\nimport StageSection from \"./StageSection/StageSection.js\";\nimport FundNameSection from \"./FundNameSection/FundNameSection.js\";\nimport TargetPerformanceSection from \"./TargetPerformanceSection/TargetPerformanceSection.js\";\nimport AllocationGraphSection from \"./AllocationGraphSection/AllocationGraphSection.js\";\nimport { useHistory } from \"react-router-dom\";\nimport FlorenceCapTargetPerformanceSection from \"./TargetPerformanceSection/FlorenceCapTargetPerformanceSection.js/FlorenceCapTargetPerformanceSection.js\";\nimport QvinTargetPerformanceSection from \"./TargetPerformanceSection/QvinTargetPerformanceSection.js\";\nimport LVTargetPerformanceSection from \"./TargetPerformanceSection/LVTargetPerformanceSection.js\";\nimport WandTargetPerformanceSection from \"./TargetPerformanceSection/WandTargetPerformanceSection.js\";\nimport AssemblyTargetPerformanceSection from \"./TargetPerformanceSection/AssemblyTargetPerformanceSection.js\";\nimport SunshineLakeTargetPerformanceSection from \"./TargetPerformanceSection/SunshineLakeTargetPerformanceSection.js\";\nimport NscaleTargetPerformanceSection from \"./TargetPerformanceSection/NscaleTargetPerformanceSection.js\";\nimport JukeboxTargetPerformanceSection from \"./TargetPerformanceSection/JukeboxTargetPerformanceSection.js\";\nimport DOrbitTargetPerformanceSection from \"./TargetPerformanceSection/DOrbitTargetPerformanceSection.js\";\nimport HOFTargetPerformanceSection from \"./TargetPerformanceSection/HOFTargetPerformanceSection.js\";\nimport EVCITargetPerformanceSection from \"./TargetPerformanceSection/EVCITargetPerformanceSection.js\";\nimport AxiomTargetPerformanceSection from \"./TargetPerformanceSection/AxiomTargetPerformanceSection.js\";\n\nfunction FundCard({ fund, isFeeder }) {\n let history = useHistory();\n const hostName = window.location.hostname;\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n const fundRef = useRef(null);\n console.log(fund.link);\n\n useEffect(() => {\n console.log(\"Is feeder is: \" + isFeeder);\n }, [isFeeder]);\n\n useEffect(() => {\n console.log(\"Fund is: \" + JSON.stringify(fund));\n }, [fund]);\n\n return (\n
    \n
    \n {\n if (\n ![\"Closed\"].includes(fund.fundInvestmentStatus) ||\n fund.enableRequestAllocation === true\n ) {\n history.push(\"/invest/\" + fund.link);\n }\n }}\n >\n
    \n \n {fund && fund.link === \"evc_i\" ? (\n \n ) : fund && fund.link === \"axiom\" ? (\n \n ) : fund && fund.link === \"spv_vii\" ? (\n \n ) : fund && fund.link === \"spv_viii\" ? (\n \n ) : fund && fund.link === \"laude_venture_i\" ? (\n \n ) : fund && fund.link === \"wand_ai\" ? (\n \n ) : fund && fund.link === \"spv_xi\" ? (\n \n ) : fund && fund.link === \"spv_x\" ? (\n \n ) : fund && fund.link === \"slai_i\" ? (\n \n ) : fund && fund.link === \"spv_xii\" ? (\n \n ) : fund && fund.link === \"icp\" ? (\n \n ) : fund && fund.link === \"hcsof\" ? (\n \n ) : (\n \n )}\n \n \n
    \n
    \n
    \n \n );\n}\nexport default FundCard;\n","import { useState, useEffect, useRef } from \"react\";\n\nexport default function useDebounce(value, delay) {\n // State and setters for debounced value\n const [debouncedValue, setDebouncedValue] = useState(value);\n\n useEffect(\n () => {\n // Update debounced value after delay\n const handler = setTimeout(() => {\n setDebouncedValue(value);\n }, delay);\n\n // Cancel the timeout if value changes (also on delay change or unmount)\n // This is how we prevent debounced value from updating if value is changed ...\n // .. within the delay period. Timeout gets cleared and restarted.\n return () => {\n clearTimeout(handler);\n };\n },\n [value, delay] // Only re-call effect if value or delay changes\n );\n\n return debouncedValue;\n}\n","import { useState, useEffect } from \"react\";\nimport { Storage } from \"aws-amplify\";\n\nexport const getSignedURL = async (level, path) => {\n return path;\n // Below code is obseleted by backend changes\n let tempPath = path;\n let levelSpecification = level + \"/\";\n let cleanedPath = tempPath.slice(\n path.indexOf(levelSpecification) + levelSpecification.length\n );\n var signedURL = await Storage.get(cleanedPath, {\n level: level,\n });\n return signedURL;\n};\n","import { useState, useEffect, useRef, useContext } from \"react\";\nimport axios from \"axios\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders.js\";\nimport useDebounce from \"../../CustomHooks/useDebounce.js\";\nimport { HOST } from \"../../host-config.js\";\nimport { getSignedURL } from \"./SignedURL.js\";\nimport { UserContext } from \"../../GlobalContexts/UserContext.js\";\n\nconst CancelToken = axios.CancelToken;\n\n//Dev environment function\nexport default function useFundSearch(\n searchKeywords,\n fundMinimumAllocation,\n status,\n strategyType,\n setLoading\n) {\n const [funds, setFunds] = useState([]);\n const cancelSource = useRef(null);\n const debouncedSearchTerm = useDebounce(searchKeywords, 200);\n const { user } = useContext(UserContext);\n\n useEffect(() => {\n setFunds([]);\n }, []);\n\n useEffect(() => {\n setFunds([]);\n }, [debouncedSearchTerm]);\n\n useEffect(() => {\n setFunds([]);\n }, [status]);\n\n useEffect(() => {\n setFunds([]);\n }, [fundMinimumAllocation]);\n\n useEffect(() => {\n setFunds([]);\n }, [strategyType]);\n\n useEffect(() => {\n cancelSource.current = CancelToken.source();\n setFunds([]);\n setLoading(true);\n const queryParams = {};\n let fundStrategies = {\n \"Private Equity\": \"PRIVATE_EQUITY\",\n \"Direct Landing\": \"DIRECT_LANDING\",\n \"CLO Management\": \"CLO_MANAGEMENT\",\n \"Structured Credit\": \"STRUCTURED_CREDIT\",\n \"Co-Investment\": \"CO_INVESTMENT\",\n \"Fund of Funds\": \"FUND_OF_FUNDS\",\n Buyout: \"BUYOUT\",\n Growth: \"GROWTH\",\n Credit: \"CREDIT\",\n };\n queryParams.search_keyword = debouncedSearchTerm;\n\n if (status !== \"All\") {\n queryParams.fund_investment_status = status;\n }\n\n if (fundMinimumAllocation !== \"\") {\n queryParams.fund_minimum_allocation = fundMinimumAllocation;\n }\n\n if (\n user &&\n user.accountListData.length !== 0 &&\n user.selectedAccountID !== \"\"\n ) {\n queryParams.account_id = user.selectedAccountID;\n }\n\n if (strategyType !== \"All\") {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(fundStrategies[strategyType]);\n }\n queryParams.strategy_type = fundStrategies[strategyType];\n }\n\n async function getFunds(endPoint, queryParams, config) {\n setLoading(true);\n return axios\n .post(endPoint, queryParams, config)\n .then((response) => {\n const tempObject = response.data;\n\n if (response.data === null) {\n setFunds([]);\n setLoading(false);\n } else {\n setFunds([]);\n tempObject.map((fund) => {\n async function getUsableURLs() {\n console.log(\"Fund to get is: \" + JSON.stringify(fund));\n\n\n const fundInfo = {\n id: fund.id,\n link: fund.link,\n fundName: fund.name ? fund.name : \"ABCDE Fund IV\",\n logoLink: fund ? (fund.logo_link ? fund.logo_link : \"\") : \"\",\n fundLogoLink: fund.fund_logo ? fund.fund_logo : \"\",\n investorInterested:\n fund.investor_fund_interested === null\n ? false\n : fund.investor_fund_interested,\n firm: fund.firm ? fund.firm : \"Thamesville Securities\",\n strategy: fund.strategy_type\n ? fund.strategy_type\n : \"PRIVATE_EQUITY\",\n fundRestrictions: fund.restrictions\n ? fund.restrictions\n : \"Nothing\",\n fundTerms: fund.fund_terms[0],\n fundSize: fund.fund_terms[0].fund_size\n ? fund.fund_terms[0].fund_size\n : 2000000,\n fundLength: 120,\n fundInvestmentStatus: fund.investment_status,\n amountInvested: fund.fund_subscription_stats[0]\n .committed_allocation_amount\n ? fund.fund_subscription_stats[0]\n .committed_allocation_amount\n : 0,\n minimumInvestment: fund.fund_terms[0]\n .minimum_allocation_amount\n ? fund.fund_terms[0].minimum_allocation_amount\n : 0,\n targetIRR: fund.fund_terms[0].target_return_upper_percent\n ? fund.fund_terms[0].target_return_upper_percent\n : 19,\n };\n setFunds((prevFunds) => [...prevFunds, fundInfo]);\n setLoading(false);\n }\n getUsableURLs();\n });\n }\n })\n .catch((error) => {\n setFunds([]);\n setLoading(false);\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(error);\n });\n }\n getRequestHeaders().then((config) => {\n config.cancelToken = cancelSource.current.token;\n getFunds(HOST + \"/ultra-fast-search-funds/\", queryParams, config).then();\n });\n\n return () => {\n cancelSource.current.cancel();\n };\n }, [debouncedSearchTerm, status, fundMinimumAllocation, strategyType, user]);\n\n return { funds };\n}\n","import React from \"react\";\nimport \"./LoadingAnimationStyles/LoadingAnimationStyles.css\";\n\nfunction LoadingAnimation(props) {\n return (\n \n {props.loading === true ? (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ) : (\n props.children\n )}\n
    \n );\n}\nexport default LoadingAnimation;\n","import React from \"react\";\nimport \"./NoFundsFoundCardStyles/NoFundsFoundCardStyles.css\";\n\nfunction NoFundsFoundCard() {\n return (\n
    \n \n Sorry, there were no funds that matched your search criteria. Please try\n a different search.\n \n
    \n );\n}\nexport default NoFundsFoundCard;\n","import React from \"react\";\nimport { Snackbar } from \"@mui/material\";\nimport { Alert } from \"@mui/material\";\nimport { Button } from \"@mui/material\";\nimport { IconButton } from \"@mui/material\";\nimport { Close } from \"@material-ui/icons\";\n\nfunction AlertSnackBar({\n snackbarState,\n setSnackbarState,\n vertical,\n horizontal,\n duration,\n sxProps,\n severity,\n message,\n}) {\n const handleClose = (event, reason) => {\n if (reason === \"clickaway\") {\n return;\n }\n setSnackbarState(false);\n };\n\n const action = (\n \n \n \n \n \n \n );\n\n return (\n \n \n {message}\n \n \n );\n}\nexport default AlertSnackBar;\n","import axios from \"axios\";\nimport { HOST } from \"../host-config.js\";\nimport { getRequestHeaders } from \"./GlobalFunctions/RequestHeaders.js\";\n\nexport const createUpdateInvestorFundInterest = async (fundId, interested) => {\n const config = await getRequestHeaders();\n\n return axios.post(\n HOST + \"/create-update-investor-fund-interest/\",\n {\n fund_id: fundId,\n interested: interested,\n },\n config\n );\n};\n\nexport const isFeederAPI = async () => {\n //const config = await getRequestHeaders();\n return axios.get(HOST + \"/is-feeder\");\n};\n","import React, { useState, useEffect } from \"react\";\nimport \"./InvestPageStyles/InvestPageStyles.css\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport InvestPageHeader from \"./InvestPageHeader/InvestPageHeader.js\";\nimport FilterRow from \"./FilterRow/FilterRow.js\";\nimport FundCard from \"./FundCard/FundCard.js\";\nimport useFundSearch from \"../../../Api/GlobalFunctions/useFundSearch.js\";\nimport LoadingAnimation from \"../../../Components/GlobalComponents/LoadingAnimation/LoadingAnimation.js\";\nimport NoFundsFoundCard from \"./FundCard/NoFundsFoundCard/NoFundsFoundCard.js\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom\";\nimport AlertSnackBar from \"../../../GlobalComponents/AlertSnackBar/AlertSnackBar\";\nimport { isFeederAPI } from \"../../../Api/FundCardApi.js\";\n\nfunction InvestPage() {\n const [searchKeyWords, setSearchKeyWords] = useState(\"\");\n const [fundMinimumAllocation, setFundMinimumAllocation] = useState(\"\");\n const [minInvestment, setMinInvestment] = useState(\"All\");\n const [defaultMinInvestment, setDefaultMinInvestment] = useState([]);\n const [strategyType, setStrategyType] = useState(\"All\");\n const [defaultStrategyType, setDefaultStrategyType] = useState(\"All\");\n const [status, setStatus] = useState(\"All\");\n const [defaultStatus, setDefaultStatus] = useState([\"All\"]);\n const [loading, setLoading] = useState(false);\n const [feeder, setFeeder] = useState(null);\n\n const location = useLocation();\n\n const [accountLinkSuccessful, setAccountLinkSuccessful] = useState(\n location !== null &&\n location !== undefined &&\n location.state !== null &&\n location.state !== undefined &&\n location.state.accountLinked !== null &&\n location.state.accountLinked !== undefined\n ? location.state.accountLinked\n : false\n );\n\n const [initialVal, setInitialVal] = useState(0);\n\n useEffect(() => {\n async function isFeeder() {\n var value = await isFeederAPI();\n if (value.data.msg === true) {\n setFeeder(true);\n } else if (value.data.msg === false) {\n setFeeder(false);\n }\n // isFeeder.data.msg === true && setFeeder(true);\n }\n isFeeder();\n }, [initialVal]);\n\n useEffect(() => {\n let minInvestmentFilterItems = \"\";\n let defaultSelected = [];\n if (minInvestment !== \"\") {\n defaultSelected.push(minInvestment);\n }\n if (minInvestment === \"$10,000\") {\n minInvestmentFilterItems = 10000;\n } else if (minInvestment === \"$50,000\") {\n minInvestmentFilterItems = 50000;\n } else if (minInvestment === \"$100,000\") {\n minInvestmentFilterItems = 100000;\n }\n setDefaultMinInvestment(defaultSelected);\n setFundMinimumAllocation(minInvestmentFilterItems);\n }, [minInvestment]);\n\n useEffect(() => {\n let defaultItems = [];\n let statusArray = [];\n if (status !== \"All\") {\n statusArray.push(status);\n }\n defaultItems.push(status);\n setDefaultStatus(defaultItems);\n }, [status]);\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"Strategy type is: \" + strategyType);\n }\n setDefaultStrategyType(strategyType);\n }, [strategyType]);\n\n const { funds } = useFundSearch(\n searchKeyWords,\n fundMinimumAllocation,\n status,\n strategyType,\n setLoading\n );\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n {!loading && funds.length === 0 ? (\n \n ) : (\n
    \n {funds.map((fund) => {\n return (\n \n );\n })}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n );\n}\nexport default InvestPage;\n","import React from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"./NavLinksSectionStyles/NavLinksSectionStyles.css\";\n\nfunction NavLinksSection() {\n let history = useHistory();\n return (\n
    \n
    \n history.push(\"/invest\")}\n style={{ cursor: \"pointer\" }}\n >\n Invest\n \n\n \"sidearrow\"\n \n Fund\n \n
    \n
    \n );\n}\nexport default NavLinksSection;\n","import React, { useState, useEffect } from 'react';\n\nconst useWindowDimensions = () => {\n const hasWindow = typeof window !== 'undefined';\n\n function getWindowDimensions() {\n \n const height = hasWindow ? window.innerHeight : null;\n const width = hasWindow ? window.innerWidth : null;\n return {\n width,\n height,\n };\n }\n \n const [windowDimensions, setWindowDimensions] = useState(getWindowDimensions());\n \n useEffect(() => {\n if (hasWindow) {\n function handleResize() {\n setWindowDimensions(getWindowDimensions());\n }\n \n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }\n }, [hasWindow]);\n \n return windowDimensions;\n};\n\nexport default useWindowDimensions;\n","import React from 'react';\n\nconst GreyBorderWidget = ({cardItem}) => {\n return (<>\n
    \n
    \n
    \n
    {cardItem.term}
    \n

    {cardItem.definition}

    \n
    \n
    \n
    \n );\n};\n\nexport default GreyBorderWidget;\n","import React, {useEffect, useState} from 'react';\nimport GreyBorderWidget from './GreyBorderWidget';\nimport useWindowDimensions from '../WindowDimensions/useWindowDimensions';\n\n/* Display cards/widgets with border spacing in rows of 3\n-- Input: Array of objects\n objects must include:\n -id\n -definition\n -term\n-- output: row with sets of 3 or less cards\n*/\nconst GreyBorderWidgetRow = ({cardItems}) => {\n const [rowClass, setRowClass] = useState(\"row content row-cols-3\")\n let { width } = useWindowDimensions();\n \n useEffect(() => {\n //let viewWidth = {width}\n if(cardItems.length == 1 || width <= 1030) {\n setRowClass(\"row content row-cols-1\")\n }\n\n if(cardItems.length%3==0){\n setRowClass(\"row content row-cols-3\")\n }\n },[])\n\n let mobileClass = \"row content row-cols-1 \"\n \n let itemsRow = (\n <>\n {cardItems.length > 0 ? (\n <>\n {width <=1030 ? (\n
    \n {cardItems.map(item => \n \n )}\n
    \n ) : (\n
    \n {cardItems.map(item => \n \n )}\n
    \n )}\n \n ): null}\n \n )\n \n return (\n <> \n
    \n {itemsRow}\n
    \n ) ;\n};\n\nexport default GreyBorderWidgetRow;\n","import React, {useEffect, useState} from 'react';\n// import useWindowDimensions from '../../../../../Components/GlobalComponents/WindowDimensions/useWindowDimensions';\n// import FundOverviewReferenceCard from './FundOverviewReferenceCard';\nimport GreyBorderBoxRow from '../../../../../Components/GlobalComponents/GreyBorderBoxRow/GreyBorderBoxRow';\nimport GreyBorderWidgetRow from '../../../../../Components/GlobalComponents/GreyBorderWidgetRow/GreyBorderWidgetRow';\nimport './OverviewSectionStyles/OverviewSectionStyles.scss';\n\nconst FundOverviewReferenceSection = ({referenceTerms}) => {\n const [displayTerms, setDisplayTerms] = useState([])\n\n useEffect(() => {\n //console.log('Reference Terms section: ', referenceTerms)\n let terms = referenceTerms.filter(term => term.display_term === true) \n setDisplayTerms(terms);\n },[])\n\n return (\n <> \n {/* */}\n \n ) ;\n};\n\nexport default FundOverviewReferenceSection;\n","import React, { useRef, useState } from \"react\";\nimport \"./DropdownContentStyles/DropdownContentStyles.scss\";\n\nfunction DropdownContent({ dropdownPreview, dropdownDetailedContent }) {\n const [selected, setSelected] = useState(false);\n const arrowRef = useRef(null);\n\n const handleSetState = (state) => {\n setSelected(state);\n };\n\n const rotate = () => {\n if (\n arrowRef !== null &&\n arrowRef !== undefined &&\n arrowRef.current !== null &&\n arrowRef.current !== undefined &&\n arrowRef.current.style !== null &&\n arrowRef.current.style !== undefined\n ) {\n if (!selected) {\n arrowRef.current.style.WebkitTransform = \"rotate(\" + 180 + \"deg)\";\n handleSetState(true);\n } else {\n arrowRef.current.style.WebkitTransform = \"rotate(\" + 90 + \"deg)\";\n handleSetState(false);\n }\n }\n };\n\n return (\n \n
    \n
    \n \n {dropdownPreview}\n \n
    \n {selected && (\n Loading...

    \n ),\n }}\n >
    \n )}\n
    \n );\n}\nexport default DropdownContent;\n","import React from \"react\";\nimport \"./OverviewSectionStyles/OverviewSectionStyles.scss\";\nimport FundOverviewReferenceSection from \"./FundOverviewReferenceSection\";\nimport DropdownContent from \"../../../../../Components/GlobalComponents/DropdownContent/DropdownContent\";\n\nfunction OverviewSection({ fund }) {\n const classes =\n fund && fund.tagline\n ? \"row g-0 ms-4 me-4 mt-4 mb-2\"\n : \"row g-0 ms-4 me-4 mb-2\";\n const hostName = window.location.hostname;\n\n let fundOverviewContent = fund ? (\n \n
    \n
    \n {fund && fund.tagline ? (\n fund.tagline\n ) : !fund ? (\n Fund Not Found\n ) : (\n <>\n )}\n
    \n {fund && fund.fundOverview ? (\n Loading...

    ,\n }}\n >
    \n ) : null}\n {fund.referenceTerms.length > 0 ? (\n \n ) : null}\n \n {fund.fundDueDiligenceQuestions !== null &&\n fund.fundDueDiligenceQuestions !== undefined &&\n fund.fundDueDiligenceQuestions.length !== 0 && (\n \n
    \n
    \n \n Due Diligence Questions\n \n
    \n
    \n
    \n
    \n {fund.fundDueDiligenceQuestions.map((element, index) => {\n console.log(\"Element is: \" + JSON.stringify(element));\n return index === fund.fundDueDiligenceQuestions.length - 1 ? (\n
    \n \n
    \n ) : (\n
    \n \n
    \n );\n })}\n
    \n
    \n
    \n )}\n {hostName !== null &&\n hostName !== undefined &&\n (hostName === \"localhost\" ||\n hostName === \"localhost:3000\" ||\n hostName === \"accollective.investwithaqua.com\" ||\n hostName === \"abcollective.investwithaqua.com\") && \n ( fund && fund.link && fund.link === 'aix_ventures_fund_ii' ) &&\n (\n \n
    \n
    \n Vehicle Fees:\n
    \n
    \n
    \n
    \n
    \n
    \n One-time management fee:\n
    \n
    \n 1.0%\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n Carry:\n
    \n
    \n 5.0%\n
    \n
    \n
    \n
    \n
    \n )}\n
    \n ) : (\n \n Overview Not Found. Please check again later.\n \n );\n\n let fundOverviewCard = fund ? (\n fundOverviewContent\n ) : (\n \n Fund overview not found. Please check again later.\n \n );\n return fundOverviewCard;\n}\nexport default OverviewSection;\n","import React from \"react\";\nimport \"./DocumentBoxStyles/DocumentBoxStyles.css\";\n\nfunction DocumentBox({ documentName, signedLink, displayDocument }) {\n return (\n
    \n window.open(signedLink, \"_blank\").focus()}\n >\n
    \n
    \n {documentName}\n
    \n
    \n \"download\"\n
    \n
    \n
    \n \n );\n}\nexport default DocumentBox;\n","import React, { useState, useEffect } from \"react\";\nimport \"./DocsSectionStyles/DocsSectionStyles.css\";\nimport DocumentBox from \"./DocumentBox/DocumentBox.js\";\nimport GetFundDocs from \"../../../../../Adapters/DocsSectionAdapter.js\";\nrequire(\"dayjs/plugin/utc\");\n\nfunction DocsSection({ fund, deckOnly }) {\n const {fundDocs} = GetFundDocs(fund, deckOnly);\n const [allDocs, setAllDocs] = useState([]);\n\n useEffect(() => {\n setAllDocs(fundDocs);\n }, [fundDocs]);\n\n return (\n
    \n {!deckOnly &&
    Docs
    }\n
    \n
    \n {fundDocs.map((document, index) => {\n return (\n \n );\n })}\n
    \n
    \n
    \n );\n}\nexport default DocsSection;\n","import { useState, useEffect } from \"react\";\nimport { Storage } from \"aws-amplify\";\n\nexport default function GetFundDocs(fund, deckOnly) {\n const [fundDocs, setFundDocs] = useState([]);\n\n useEffect(() => {\n if (fund !== null && fund !== undefined) {\n\n async function getFundDocs() {\n if (\n fund.fundDocs !== [] &&\n fund.fundDocs !== null &&\n fund.fundDocs !== undefined\n ) {\n const deckDoc = {\n id: \"deck\",\n name: \"Fund Deck\",\n s3_document_link: fund.deckLink,\n display_document: true,\n };\n\n const unprocessedDocs = deckOnly ? [deckDoc] : fund.fundDocs;\n unprocessedDocs.map((doc) => {\n setFundDocs((prevState) => [\n ...prevState,\n {\n id: doc.id,\n documentName: doc.name,\n documentLink: doc.s3_document_link,\n display: doc.display_document,\n },\n ]);\n }\n );\n }\n }\n getFundDocs();\n }\n }, [fund]);\n\n return { fundDocs };\n}\n","import React, { useRef, useState, useEffect, useContext } from \"react\";\nimport { Document, Page } from \"react-pdf/dist/esm/entry.webpack\";\nimport \"./DeckSectionStyles/DeckSectionStyles.css\";\nimport { UserContext } from \"../../../../../GlobalContexts/UserContext\";\nimport { useMediaQuery } from \"react-responsive\";\nimport GetFundDocs from \"../../../../../Adapters/DocsSectionAdapter\";\nimport DocsSection from \"../DocsSection/DocsSection.js\";\n\nfunction PDFDocument({ fund, url }) {\n const [numPages, setNumPages] = useState(null);\n const [loadedDocument, setLoadedDocument] = useState(false);\n\n const hostName = window.location.hostname;\n\n useEffect(() => {\n console.log(\"Host name at this point is: \" + hostName);\n }, []);\n\n return (\n
    \n {\n setNumPages(PDFDocumentProxy._pdfInfo.numPages);\n setLoadedDocument(true);\n }}\n file={!url ? fund.deckLink : url}\n >\n {\" \"}\n {\" \"}\n \n {loadedDocument === true &&\n hostName !== null &&\n hostName !== undefined &&\n (hostName === \"localhost\" ||\n hostName === \"localhost:3000\" ||\n hostName === \"accollective.investwithaqua.com\" ||\n hostName === \"abcollective.investwithaqua.com\") && \n ( fund && fund.link && fund.link !== 'laude_venture_i' ) && \n (\n
    \n \n
    \n \n \n You can find the PDF version of the deck above with clickable\n hyperlinks in the docs section.\n \n
    \n
    \n
    \n )}\n \n );\n}\n\n// We can move this to a folder containing common components\nfunction ArrowButton({ direction, onClick }) {\n const DIRECTIONS = { left: \"Left-Arrow.svg\", right: \"Right-Arrow.svg\" };\n\n return (\n \n );\n}\n\nfunction PDFPage({ numPages }) {\n const [page, setPage] = useState(1);\n const canvas = useRef();\n const { user } = useContext(UserContext);\n\n function onRenderSuccess() {\n if (canvas.current) {\n const context = canvas.current.getContext(\"2d\");\n\n const { height } = canvas.current;\n\n context.globalAlpha = 0.5;\n context.textAlign = \"left\";\n context.font = height / 35 + \"px sans-serif\";\n\n // Watermark displaying full name and email\n context.fillStyle = \"rgba(255, 255, 255, 0.5)\";\n context.translate(0, -15);\n context.fillText(\n `${user.investorSummaryData.first_name} ${user.investorSummaryData.last_name} / ${user.id}`,\n 0,\n height / 16\n );\n\n // context.translate(-2, -2);\n\n context.fillStyle = \"rgba(0,0,0,0.5)\";\n context.translate(0, 0);\n context.fillText(\n `${user.investorSummaryData.first_name} ${user.investorSummaryData.last_name} / ${user.id}`,\n 0,\n height / 16\n );\n context.save();\n\n // Page numbering\n context.font = height / 40 + \"px sans-serif\";\n context.translate(0, (height * 9) / 10);\n context.fillText(`Page ${page} of ${numPages}`, 0, height / 16);\n context.fillStyle = \"white\";\n context.translate(-2, -2);\n context.fillText(`Page ${page} of ${numPages}`, 0, height / 16);\n }\n }\n\n return (\n
    \n
    \n {page > 1 && (\n {\n setPage(page - 1);\n }}\n />\n )}\n
    \n
    \n \n
    \n
    \n {page < numPages && (\n {\n setPage(page + 1);\n }}\n />\n )}\n
    \n
    \n );\n}\n\nfunction DeckSection({ fund }) {\n // Screens exceeding this width will be provided a signed URL to the deck pdf\n const isMobile = useMediaQuery({ query: `(max-width: 1280px)` });\n\n return (\n
    \n
    Deck Preview
    \n
    \n
    \n {!isMobile ? (\n \n ) : (\n \n )}\n
    \n
    \n
    \n );\n}\nexport { PDFDocument, PDFPage };\nexport default DeckSection;\n","import React, { useEffect } from \"react\";\nimport \"./StructureSectionStyles/StructureSectionStyles.css\";\nimport OverlayTrigger from \"react-bootstrap/OverlayTrigger\";\nimport Tooltip from \"react-bootstrap/Tooltip\";\n\nfunction StructureSection({ fund }) {\n const PLACEMENT_COPY = `\n \n Administrative Fee\n \n
    \n This is a 1%, one-time, fee that we charge on top of the amount that an investor invests. For example, if Investor A wants to invest $300K into Opportunity Z on Aqua, their administrative fee would be $3k. When wiring funds to us, the total that the investor would wire is the investment amount + administrative fee = $300K + $3k = $303K\n`;\n const MANAGEMENT_COPY = `\n \n Annual Management Fee\n \n
    \n This is a 0.5% annual fee that we collect for managing your capital in an opportunity. This fee is calculated based on your investment amount and is collected anually.\n`;\n\n const CARRIED_INTEREST_COPY = `\n \n Carried Interest\n \n
    \n This is a 1% fee on carry (i.e. profits from the investment). This fee is automatically deducted from distributions that an investor receives after the investor’s principal investment amount has been recouped.\n`;\n\n const renderTooltip = (copy, props) => (\n \n
    \n \n );\n\n useEffect(() => {\n console.log(\"Fund is: \" + JSON.stringify(fund));\n }, [fund]);\n return (\n
    \n
    \n
    \n Structure\n
    \n
    \n \n Investor Restrictions\n \n
    \n
    \n \n {fund\n ? fund.registrationType\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"\n : \"\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {fund && fund.legacyPricingStructure === true\n ? \"Administrative Fee \"\n : \"Annual Management Fee \"}\n \n
    \n {\n if (fund && fund.legacyPricingStructure === true) {\n return renderTooltip(PLACEMENT_COPY, props);\n } else {\n return renderTooltip(MANAGEMENT_COPY, props);\n }\n }}\n >\n \n \n
    \n
    \n \n {fund ? fund.placementFee + \"%\" : \"\"}\n \n
    \n
    \n
    \n
    \n
    \n \n Carried Interest{\" \"}\n \n
    \n \n renderTooltip(CARRIED_INTEREST_COPY, props)\n }\n >\n \n \n
    \n
    \n \n {fund ? fund.distributionFee + \"%\" : \"\"}\n \n
    \n
    \n
    \n
    \n
    \n \n Target Fund Length\n \n
    \n\n \n {fund ? fund.targetFundLength / 12 + \" years\" : \"\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default StructureSection;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport \"./SendQuestionSectionStyles/SendQuestionSectionStyles.css\";\nimport { init } from \"emailjs-com\";\nimport emailjs from \"emailjs-com\";\nimport { UserContext } from \"../../../../../../GlobalContexts/UserContext.js\";\n\nfunction SendQuestionSection({ fund }) {\n const [subject, setSubject] = useState(\"\");\n const [subjectError, setSubjectError] = useState(\"\");\n const [message, setMessage] = useState(\"\");\n const [messageError, setMessageError] = useState(\"\");\n const { user } = useContext(UserContext);\n init(process.env.REACT_APP_EMAILJS_USER_ID);\n\n useEffect(() => {\n setSubjectError(\"\");\n }, [subject]);\n\n useEffect(() => {\n setMessageError(\"\");\n }, [message]);\n\n const submitMessage = async () => {\n var errorsDetected = false;\n\n if (subject.length === 0) {\n setSubjectError(\"Subject is required.\");\n errorsDetected = true;\n }\n\n if (message.length === 0) {\n setMessageError(\"Message is required.\");\n errorsDetected = true;\n }\n\n if (errorsDetected) {\n return;\n } else {\n try {\n await emailjs.send(\"service_kyyw60a\", \"template_2b08rzj\", {\n subject_line: subject,\n fund_name: fund ? fund.fundName : \"\",\n from_name: user\n ? user.investorSummaryData.first_name +\n \" \" +\n user.investorSummaryData.last_name\n : \"\",\n message: message,\n reply_to: user ? user.id : \"aquaplatformbeta@gmail.com\",\n });\n setSubject(\"\");\n setMessage(\"\");\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n };\n\n return (\n
    \n
    \n
    \n Do you have any additional questions?\n
    \n
    \n Please email us using the form below\n
    \n
    \n Subject\n
    \n
    \n
    \n
    \n setSubject(e.target.value)}\n />\n {subjectError && subjectError !== \"This field is required.\" && (\n
    \n {subjectError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \n Message\n \n setMessage(e.target.value)}\n >\n {messageError && messageError !== \"This field is required.\" && (\n
    \n {messageError}\n
    \n )}\n
    \n
    \n
    \n submitMessage()}\n >\n Submit\n \n
    \n
    \n
    \n );\n}\nexport default SendQuestionSection;\n","import React, { useState, useCallback } from \"react\";\nimport \"./TabTitleStyles/TabTitleStyles.css\";\n\nfunction TabTitle({ title, setSelectedTab, index, setSelected, selected }) {\n const onClick = useCallback(() => {\n setSelectedTab(index);\n }, [setSelectedTab, index]);\n\n return (\n setSelected(true)}\n >\n \n {title}\n \n
    \n \n );\n}\nexport default TabTitle;\n","import React, { useState } from \"react\";\nimport TabTitle from \"./TabTitle.js\";\nimport \"./TabsStyles/TabsStyles.css\";\nfunction Tabs(props) {\n const [selectedTab, setSelectedTab] = useState(0);\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {props.children.map((item, index) => (\n
    \n \n
    \n ))}\n
    \n
    \n
    \n
    \n
    {props.children[selectedTab]}
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default Tabs;\n","import React from \"react\";\n\nfunction Tab(props) {\n return
    {props.children}
    ;\n}\nexport default Tab;\n","import React, { useEffect, useState } from \"react\";\nimport \"./FundDetailsPageMainContentSectionStyles/FundDetailsPageMainContentSectionStyles.css\";\nimport OverviewSection from \"./OverviewSection/OverviewSection.js\";\nimport DeckSection from \"./DeckSection/DeckSection.js\";\nimport StructureSection from \"./StructureSection/StructureSection.js\";\nimport DocsSection from \"./DocsSection/DocsSection.js\";\nimport LearnMoreSection from \"./LearnMoreSection/LearnMoreSection.js\";\nimport Tabs from \"../../../../Components/GlobalComponents/Tabs/Tabs.js\";\nimport Tab from \"../../../../Components/GlobalComponents/Tabs/Tab.js\";\n\nfunction FundDetailsPageMainContentSection({ fund }) {\n const [overviewSelected, setOverviewSelected] = useState(true);\n const [deckSelected, setDeckSelected] = useState(false);\n const [structureSelected, setStructureSelected] = useState(false);\n const [docsSelected, setDocsSelected] = useState(false);\n const [learnMoreSelected, setLearnMoreSelected] = useState(false);\n\n useEffect(() => {\n if (overviewSelected) {\n setDeckSelected(false);\n setStructureSelected(false);\n setDocsSelected(false);\n setLearnMoreSelected(false);\n }\n }, [overviewSelected]);\n\n useEffect(() => {\n if (deckSelected) {\n setOverviewSelected(false);\n setStructureSelected(false);\n setDocsSelected(false);\n setLearnMoreSelected(false);\n }\n }, [deckSelected]);\n\n useEffect(() => {\n if (structureSelected) {\n setDeckSelected(false);\n setOverviewSelected(false);\n setDocsSelected(false);\n setLearnMoreSelected(false);\n }\n }, [structureSelected]);\n\n useEffect(() => {\n if (docsSelected) {\n setDeckSelected(false);\n setStructureSelected(false);\n setOverviewSelected(false);\n setLearnMoreSelected(false);\n }\n }, [docsSelected]);\n\n useEffect(() => {\n if (learnMoreSelected) {\n setDeckSelected(false);\n setStructureSelected(false);\n setDocsSelected(false);\n setOverviewSelected(false);\n }\n }, [learnMoreSelected]);\n\n return (\n \n {fund && (fund.link === \"axiom\" || fund.link === \"evc_i\") ? (\n \n \n \n \n {/* \n \n */}\n {/* \n \n */}\n \n \n \n {/* \n \n */}\n \n ) : (\n \n \n \n \n \n \n \n {/* \n \n */}\n \n \n \n {/* \n \n */}\n \n )}\n \n );\n}\nexport default FundDetailsPageMainContentSection;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction NewFundDetailsPageTopSection({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Target IRR\n
    \n
    \n {fund ? fund.targetIRR : \"~\"}%\n
    \n
    \n
    \n
    \n
    \n
    \n Target Net Multiple\n
    \n
    \n {fund ? fund.targetReturnMultiple : \"-\"}x\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n {fund\n ? \"$ \" + fund.minimumInvestment.toLocaleString(\"en-US\")\n : \"~\"}\n
    \n
    \n
    \n
    \n
    \n
    \n Fund Size\n
    \n
    \n $ {fund ? numFormatter(fund.fundSize) : \"-\"}\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n {fund ? stageMap[fund.fundStrategy.type] : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default NewFundDetailsPageTopSection;\n","import axios from \"axios\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders.js\";\nimport { HOST } from \"../../host-config.js\";\n\n// const backendApi = axios.create({\n// baseUrl: HOST,\n// });\n\n//Dev environment endpoint\nexport const getFund = async (fundLink, accountID) => {\n const link = fundLink.toString();\n const config = await getRequestHeaders();\n\n const requestParams = {\n params: {\n account_id: accountID,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(HOST + \"/fund/\" + link + \"/\", requestParams);\n};\n","import { useState, useEffect, useContext } from \"react\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\nimport { getFund } from \"../Api/FundDetailsApi/FundDetailsApi.js\";\nimport { getSignedURL } from \"../Api/GlobalFunctions/SignedURL.js\";\n\nexport default function GetFundInfo(fundLink, setLoading) {\n const [fund, setFund] = useState(null);\n\n const { user } = useContext(UserContext);\n\n useEffect(() => {\n async function getFundInfo() {\n try {\n const response = await getFund(\n fundLink,\n user && user.selectedAccountID !== \"\" ? user.selectedAccountID : \"\"\n );\n\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(response.data);\n }\n const fundData = response.data;\n var firmLogoLinkUrl = \"\";\n var fundLogoLinkUrl = \"\";\n async function getUsableURLs() {\n firmLogoLinkUrl = await getSignedURL(\n \"public\",\n fundData.originator_firm.logo_link\n );\n\n if (fundData.logo_link !== null && fundData.logo_link !== undefined) {\n fundLogoLinkUrl = await getSignedURL(\"public\", fundData.logo_link);\n console.log(\"Fund Logo link url is: \" + fundLogoLinkUrl);\n }\n\n setFund({\n id: fundData.id,\n sydecar: fundData.sydecar_eligibility,\n firmName: fundData.originator_firm.name,\n logoLink: firmLogoLinkUrl,\n fundLogo: fundLogoLinkUrl ? fundLogoLinkUrl : \"\",\n link: fundData.link,\n fundName: fundData.name,\n firmAUM: fundData.originator_firm.firm_aum,\n fundSize:\n fundData.originating_fund.originating_fund_terms[0].fund_size,\n tagline: fundData.tagline,\n investmentStatus: fundData.investment_status,\n registrationType: fundData.registration_type.type,\n display: fundData.display_flag,\n fundStrategy: fundData.strategy_type,\n fundSize: fundData.originating_fund.originating_fund_terms[0].fund_size,\n fundOverview: fundData.short_description,\n fundDocs: fundData.fund_documents,\n targetFundLength: fundData.fund_terms[0].target_length_months,\n targetIRR: fundData.fund_terms[0].target_return_upper_percent,\n placementFee: fundData.fund_terms[0].upfront_management_fee_percent,\n distributionFee:\n fundData.fund_terms[0].ongoing_distribution_fee_percent,\n deckLink: fundData.deck_link,\n // fundraisingStartDate: fundData.funding_start_date,\n // fundraisingEndDate: fundData.funding_end_date,\n // fundStartDate: fundData.fund_start_date,\n // fundEndDate: fundData.fund_end_date,\n // targetInvestmentPeriod: fundData.investment_period_months,\n incorporationCountry: fundData.incorporation_country,\n targetInvestmentPeriod: 120,\n minimumInvestment: fundData.fund_terms[0].minimum_allocation_amount,\n maximumInvestment: fundData.fund_terms[0].maximum_allocation_amount,\n amountInvested:\n fundData.fund_subscriptions_stats !== undefined\n ? fundData.fund_subscriptions_stats[0]\n .committed_allocation_amount\n : 0,\n allocationSize: fundData.fund_terms[0].fund_size,\n extensionCategories: fundData.extension_categories\n ? fundData.extension_categories\n : [],\n referenceTerms: fundData.fund_reference_terms\n ? fundData.fund_reference_terms\n : [],\n targetReturnMultiple: fundData.fund_terms[0].target_return_multiple,\n legacyPricingStructure:\n fundData.fund_terms[0].legacy_pricing_structure,\n fundDueDiligenceQuestions:\n fundData.fund_due_diligence_questions !== null &&\n fundData.fund_due_diligence_questions !== undefined\n ? fundData.fund_due_diligence_questions\n : [],\n });\n setLoading(false);\n }\n getUsableURLs();\n } catch (err) {\n if (process.env.REACT_APP_DEBUG) console.error(err);\n setLoading(false);\n // console.log(err);\n }\n // setLoading(false);\n }\n getFundInfo();\n }, [fundLink, setFund]);\n\n return { fund };\n}\n","import React from \"react\";\n\nconst ProgressBar = (props) => {\n const { bgcolor, completed } = props;\n const containerStyles = {\n height: \"100%\",\n width: \"100%\",\n backgroundColor: props\n ? props.bgColor === \"#DD2447\"\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgb(0,145,234, 0.1)\"\n : \"rgb(0,145,234, 0.1)\",\n borderRadius: 10,\n margin: 0,\n };\n\n const fillerStyles = {\n height: \"100%\",\n width: `${completed}%`,\n backgroundColor: props ? props.bgColor : \"#0091EA\",\n borderRadius: \"inherit\",\n zIndex: 2,\n textAlign: \"right\",\n };\n\n const labelStyles = {\n padding: 5,\n color: \"white\",\n fontWeight: \"bold\",\n };\n\n return (\n
    \n
    \n
    \n );\n};\n\nexport default ProgressBar;\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"./PhoneFundDetailsPageTopSectionStyles/PhoneFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../../Components/GlobalComponents/ProgressBar.js\";\nimport { BoldOutlined } from \"@ant-design/icons\";\n\nfunction PhoneFundDetailsPageTopSection({ fund, stage }) {\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n\n const firmLogoOnLoad = () => {\n setFirmLogoLoading(false);\n };\n\n let history = useHistory();\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"US Qualified Purchasers Only\"\n : \"US Accredited Investors\"\n : \"\"}\n \n
    \n
    \n \n {fund ? fund.firmName : \"\"}\n \n
    \n
    \n \n {fund ? fund.fundName : \"\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Target IRR\n \n
    \n
    \n \n {fund ? fund.targetIRR : \"~\"}%\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Target Length\n \n
    \n
    \n \n {fund\n ? fund.targetInvestmentPeriod / 12\n : \"-\"}{\" \"}\n years\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Strategy\n \n
    \n
    \n \n {fund\n ? fund.fundStrategy.type === \"STRUCTURED_CREDIT\"\n ? \"Private Credit\"\n : fund.fundStrategy.type === \"CLO_MANAGEMENT\"\n ? \"CLO Management\"\n : fund.fundStrategy.type === \"DIRECT_LANDING\"\n ? \"Direct Landing\"\n : fund.fundStrategy.type === \"PRIVATE_EQUITY\"\n ? \"Private Equity\"\n : fund.fundStrategy.type === \"CO_INVESTMENT\"\n ? \"Co-Investment\"\n : fund.fundStrategy.type === \"FUND_OF_FUNDS\"\n ? \"Fund of Funds\"\n : fund.fundStrategy.type === \"BUYOUT\"\n ? \"Buyout\"\n : fund.fundStrategy.type === \"GROWTH\"\n ? \"Growth\"\n : fund.fundStrategy.type === \"CREDIT\"\n ? \"Credit\"\n : \"\"\n : \"\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Min. Investment\n \n
    \n
    \n \n {fund\n ? \"$ \" +\n fund.minimumInvestment.toLocaleString(\n \"en-US\"\n )\n : \"~\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Fund Size\n \n
    \n
    \n \n $ {fund ? numFormatter(fund.fundSize) : \"-\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n Allocation Filled:{\" \"}\n =\n 75\n ? \"#DD2447\"\n : \"#000000\"\n : \"#000000\",\n fontWeight: fund\n ? Math.round(\n ((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 75\n ? 700\n : 500\n : 500,\n }}\n >\n {fund\n ? Math.round(\n ((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100\n ) / 100\n : 0}\n %\n \n
    \n
    \n
    \n
    \n
    \n =\n 75\n ? \"#DD2447\"\n : \"#0091EA\"\n : \"#0091EA\"\n }\n completed={\n fund\n ? Math.round(\n ((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100\n ) / 100\n : 0\n }\n />\n
    \n
    \n
    \n
    \n )}\n {stage === \"Fundraising\" && (\n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : null}\n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default PhoneFundDetailsPageTopSection;\n","import React from \"react\";\nimport \"./PageLoadingStyles/PageLoadingStyles.scss\";\nimport { WaveTopBottomLoading } from \"react-loadingg\";\n\nconst PageLoading = () => {\n return ;\n};\n\nexport default PageLoading;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction FlorenceCapDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n PF Revenue\n
    \n
    \n $180 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Target Net Multiple\n
    \n
    \n 3.0x\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n {fund\n ? \"$ \" + fund.minimumInvestment.toLocaleString(\"en-US\")\n : \"~\"}\n
    \n
    \n
    \n
    \n
    \n
    \n PF EBITDA\n
    \n
    \n $ 63 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Round Size\n
    \n
    \n $ 88 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n PortCo\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default FlorenceCapDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction LVDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Historic TVPI:\n
    \n
    \n 4.8x\n
    \n
    \n
    \n
    \n
    \n
    \n Past Funds IRR\n
    \n
    \n 15.0x\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n $ 25,000\n
    \n
    \n
    \n
    \n
    \n
    \n Fund Size\n
    \n
    \n $ 75 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Venture\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default LVDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction QvinDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n 2028P Revenue\n
    \n
    \n $180 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Target Net Multiple\n
    \n
    \n 15.0x\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n $ 25,000\n
    \n
    \n
    \n
    \n
    \n
    \n 2028P EBITDA\n
    \n
    \n $ 143 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Round Size\n
    \n
    \n $ 5 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Venture\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default QvinDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction WandDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Pre-Money Valuation\n
    \n
    \n $300 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Projected 3-Year ARR\n
    \n
    \n $100 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n $ 25,000\n
    \n
    \n
    \n
    \n
    \n
    \n Round Size\n
    \n
    \n $ 100 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Venture\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default WandDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction AssemblyDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Pipeline Interest\n
    \n
    \n $1 Billion\n
    \n
    \n
    \n
    \n
    \n
    \n Pipeline Earning Potential\n
    \n
    \n $250 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n $25,000\n
    \n
    \n
    \n
    \n
    \n
    \n Round Size\n
    \n
    \n $8 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Venture\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default AssemblyDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction SunshineLakeDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Unicorns backed\n
    \n
    \n 10\n
    \n
    \n
    \n
    \n
    \n
    \n Fund Length\n
    \n
    \n 10 Years\n
    \n
    \n
    \n
    \n
    \n
    \n Target Fund Size\n
    \n
    \n $50 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n {(fund && fund.minimumInvestment)\n ? (\"$\" + fund.minimumInvestment.toLocaleString(\"en-US\"))\n : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Venture\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default SunshineLakeDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction NscaleDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n PF Revenue:\n
    \n
    \n $88 Million\n
    \n
    \n
    \n
    \n
    \n
    \n PF EBITDA:\n
    \n
    \n $33.1 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n $10,000\n
    \n
    \n
    \n
    \n
    \n
    \n Round Size\n
    \n
    \n $125 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Growth\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default NscaleDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction JukeboxDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n PF Revenue\n
    \n
    \n $47.9 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Live Assets\n
    \n
    \n $50 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n $25,000\n
    \n
    \n
    \n
    \n
    \n
    \n Round Size\n
    \n
    \n $10 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Seed\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default JukeboxDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction DOrbitDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Target Net Multiple\n
    \n
    \n 6.0X (Projected)\n
    \n
    \n
    \n
    \n
    \n
    \n Net IRR\n
    \n
    \n 73.4% (Projected)\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n {fund\n ? \"$ \" + fund.minimumInvestment.toLocaleString(\"en-US\")\n : \"~\"}\n
    \n
    \n
    \n
    \n
    \n
    \n Valuation\n
    \n
    \n €600 Million (Post-Money, Series C)\n
    \n
    \n
    \n
    \n
    \n
    \n Exit Timeline\n
    \n
    \n 2028 (Targeted IPO)\n
    \n
    \n
    \n
    \n
    \n
    \n Investment Structure\n
    \n
    \n Special Purpose Vehicle (SPV)\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default DOrbitDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction HOFDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Target Net IRR\n
    \n
    \n 30%+\n
    \n
    \n
    \n
    \n
    \n
    \n Investment Period\n
    \n
    \n 8 Years\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n {fund\n ? \"$ \" + fund.minimumInvestment.toLocaleString(\"en-US\")\n : \"~\"}\n
    \n
    \n
    \n
    \n
    \n
    \n Fund Size\n
    \n
    \n $250 Million\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Growth-stage VC\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default HOFDetails;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction EVC1Details({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Track Record\n
    \n
    \n 13.6x MOIC\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Venture\n
    \n
    \n
    \n
    \n
    \n
    \n Target Fund Size\n
    \n
    \n $15M\n
    \n
    \n
    \n
    \n
    \n
    \n Min. Investment\n
    \n
    \n $25,000\n
    \n
    \n
    \n {/*
    \n
    \n
    \n Strategy\n
    \n
    \n Growth-stage VC\n
    \n
    \n
    */}\n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default EVC1Details;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport \"./NewFundDetailsPageTopSectionStyles/NewFundDetailsPageTopSectionStyles.css\";\nimport { numFormatter } from \"../../../../Adapters/GlobalAdapters/FormatData.js\";\nimport ProgressBar from \"../../../../Components/GlobalComponents/ProgressBar/ProgressBar.js\";\n\nfunction AxiomDetails({ fund, stage, isFeeder }) {\n let history = useHistory();\n const [stageBoxDiv, setStageBoxDiv] = useState(\"\");\n const [stageTextDiv, setStageTextDiv] = useState(\"\");\n const colRef = useRef(null);\n const rowRef = useRef(null);\n const targetPerformanceRowRef = useState(null);\n const [firmLogoLoading, setFirmLogoLoading] = useState(true);\n const firmLogoPicOnLoad = () => {\n setFirmLogoLoading(false);\n };\n const [logoLink, setLogoLink] = useState(\"\");\n\n // useEffect(() => {\n // if (\n // fund !== null &&\n // fund !== undefined &&\n // fund.amountInvested !== null &&\n // fund.amountInvested !== undefined &&\n // fund.allocationSize !== null &&\n // fund.allocationSize !== undefined\n // ) {\n // let allocationFilled =\n // Math.round(\n // ((fund.amountInvested / fund.allocationSize) * 100 + Number.EPSILON) *\n // 100\n // ) / 100;\n // if (allocationFilled >= 25) {\n // colRef.current.className =\n // \"col-xxl col-xl-10 col-lg-10 col-md-10 col-sm-12 col-xs-12 pe-sm-0\";\n // rowRef.current.className = \"row bottom-border bottom-divider g-0\";\n // targetPerformanceRowRef.current.className =\n // \"row right-border g-0 d-flex justify-content-center\";\n // }\n // }\n // }, [fund]);\n\n useEffect(() => {\n if (\n fund !== null &&\n fund !== undefined &&\n fund.logoLink !== null &&\n fund.logoLink !== undefined\n ) {\n if (isFeeder) {\n setLogoLink(fund.fundLogo);\n } else if (isFeeder !== null && isFeeder !== undefined && !isFeeder) {\n setLogoLink(fund.logoLink);\n }\n }\n }, [fund]);\n\n const stageMap = {\n STRUCTURED_CREDIT: \"Private Credit\",\n CLO_MANAGEMENT: \"CLO Management\",\n DIRECT_LANDING: \"Direct Landing\",\n PRIVATE_EQUITY: \"Private Equity\",\n CO_INVESTMENT: \"Co-Investment\",\n FUND_OF_FUNDS: \"Fund of Funds\",\n BUYOUT: \"Buyout\",\n GROWTH: \"Growth\",\n CREDIT: \"Credit\",\n VENTURE_CAPITAL: \"Venture\",\n };\n\n useEffect(() => {\n if (stage === \"Upcoming\") {\n setStageBoxDiv(\"upcoming-stage-box ms-3\");\n setStageTextDiv(\"upcoming-stage-text\");\n } else if (stage === \"Fundraising\") {\n setStageBoxDiv(\"currently-fundraising-stage-box ms-3\");\n setStageTextDiv(\"currently-fundraising-stage-text\");\n } else if (stage === \"Pending Closing\") {\n setStageBoxDiv(\"fundraising-complete-stage-box ms-3\");\n setStageTextDiv(\"fundraising-complete-stage-text\");\n } else if (stage === \"Closed\") {\n setStageBoxDiv(\"closed-stage-box ms-3\");\n setStageTextDiv(\"closed-stage-text\");\n } else if (stage === \"Past\") {\n setStageBoxDiv(\"past-stage-box ms-3\");\n setStageTextDiv(\"past-stage-text\");\n }\n }, [stage]);\n\n // console.log(fund);\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {fund\n ? fund.registrationType === \"3C7\"\n ? \"Qualified Purchasers Only\"\n : \"Accredited Investors\"\n : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.fundName : \"\"}\n
    \n
    \n \n
    \n {fund ? fund.firmName : \"\"}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {stage}
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {stage === \"Fundraising\" ? (\n \n history.push(\"/invest/\" + fund.link + \"/confirm\")\n }\n >\n Invest\n \n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Track Record\n
    \n
    \n 8.7x MOIC\n
    \n
    \n
    \n
    \n
    \n
    \n Strategy\n
    \n
    \n Venture\n
    \n
    \n
    \n
    \n
    \n
    \n Fund Size\n
    \n
    \n $35M - $50M\n
    \n
    \n
    \n {/*
    \n
    \n
    \n Fund Size\n
    \n
    \n $250 Million\n
    \n
    \n
    */}\n
    \n
    \n
    \n Minimum\n
    \n
    \n $25,000\n
    \n
    \n
    \n
    \n
    \n
    \n {/* {fund &&\n Math.round(\n ((fund.amountInvested / fund.allocationSize) * 100 +\n Number.EPSILON) *\n 100\n ) /\n 100 >=\n 25 && (\n
    \n
    \n
    \n
    \n
    \n = 75\n ? \"rgb(221, 36, 71, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n : \"rgba(13, 71, 161, 0.1)\"\n }\n circleTwoStroke={\n fund\n ? Math.round(\n (((fund.amountInvested /\n fund.allocationSize) *\n 100 +\n Number.EPSILON) *\n 100) /\n 100\n ) >= 75\n ? \"#DD2447\"\n : \"#0D47A1\"\n : \"#0D47A1\"\n }\n />\n
    \n
    \n Committed\n
    \n
    \n
    \n
    \n
    \n )} */}\n \n \n \n );\n}\nexport default AxiomDetails;\n","import React, { useState, useEffect } from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport \"./FundDetailsPageStyles/FundDetailsPageStyles.css\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport NavLinksSection from \"./NavLinksSection/NavLinksSection.js\";\n//import FundDetailsPageTopSection from \"./FundDetailsPageTopSection/FundDetailsPageTopSection.js\";\nimport FundDetailsPageMainContentSection from \"./FundDetailsPageMainContentSection/FundDetailsPageMainContentSection.js\";\nimport NewFundDetailsPageTopSection from \"./NewFundDetailsPageTopSection/NewFundDetailsPageTopSection.js\";\nimport { useParams } from \"react-router-dom\";\nimport GetFundInfo from \"../../../Adapters/FundDetailsPageAdapters.js\";\nimport Media from \"react-media\";\nimport PhoneFundDetailsPageTopSection from \"./FundDetailsPageTopSection/PhoneFundDetailsPageTopSection/PhoneFundDetailsPageTopSection.js\";\nimport PageLoading from \"../../../Components/GlobalComponents/PageLoading/PageLoading.js\";\nimport AccountPicker from \"../../../GlobalComponents/AccountPicker/AccountPicker.js\";\nimport GetAccountListAdapter from \"../../../Adapters/GetAccountListAdapter.js\";\nimport { isFeederAPI } from \"../../../Api/FundCardApi.js\";\nimport FlorenceCapDetails from \"./NewFundDetailsPageTopSection/FlorenceCapDetails.js\";\nimport LVDetails from \"./NewFundDetailsPageTopSection/LVDetails.js\";\nimport QvinDetails from \"./NewFundDetailsPageTopSection/QvinDetails.js\";\nimport WandDetails from \"./NewFundDetailsPageTopSection/WandDetails.js\";\nimport AssemblyDetails from \"./NewFundDetailsPageTopSection/AssemblyDetails.js\";\nimport SunshineLakeDetails from \"./NewFundDetailsPageTopSection/SunshineLakeDetails.js\";\nimport NscaleDetails from \"./NewFundDetailsPageTopSection/NscaleDetails.js\";\nimport JukeboxDetails from \"./NewFundDetailsPageTopSection/JukeboxDetails.js\";\nimport DOrbitDetails from \"./NewFundDetailsPageTopSection/DOrbitDetails.js\";\nimport HOFDetails from \"./NewFundDetailsPageTopSection/HOFDetails.js\";\nimport EVC1Details from \"./NewFundDetailsPageTopSection/EVC1Details.js\";\nimport AxiomDetails from \"./NewFundDetailsPageTopSection/AxiomDetails.js\";\n\nfunction FundDetailsPage() {\n const { id } = useParams();\n const [loading, setLoading] = useState(true);\n const { fund } = GetFundInfo(id, setLoading);\n const [dbFund, setDBFund] = useState(null);\n const [refresh, setRefresh] = useState(0);\n const { accounts } = GetAccountListAdapter(refresh, setLoading);\n const [feeder, setFeeder] = useState(null);\n const [initialNum, setInitialNum] = useState(0);\n const hostName = window.location.hostname;\n\n useEffect(() => {\n setDBFund(fund);\n }, [fund]);\n\n useEffect(() => {\n console.log(\"Host name is: \" + hostName);\n }, []);\n\n useEffect(() => {\n async function isFeeder() {\n var response = await isFeederAPI();\n\n console.log(\"Response is: \" + JSON.stringify(response.data));\n\n if (response.data.msg === true) {\n setFeeder(true);\n } else if (response.data.msg === false) {\n setFeeder(false);\n }\n }\n isFeeder();\n // console.log(accountLinkSuccessful);\n }, [initialNum]);\n\n return loading ? (\n \n ) : (\n \n
    \n
    \n
    \n {!loading && (\n
    \n \n
    \n )}\n \n \n {(matches) =>\n matches.medium ? (\n \n ) : fund && fund.link === \"spv_vii\" ? (\n \n ) : fund && fund.link === \"wand_ai\" ? (\n \n ) : fund && fund.link === \"evc_i\" ? (\n \n ) : fund && fund.link === \"axiom\" ? (\n \n ) : fund && fund.link === \"spv_viii\" ? (\n \n ) : fund && fund.link === \"laude_venture_i\" ? (\n \n ) : fund && fund.link === \"spv_xi\" ? (\n \n ) : fund && fund.link === \"slai_i\" ? (\n \n ) : fund && fund.link === \"spv_x\" ? (\n \n ) : fund && fund.link === \"spv_xii\" ? (\n \n ) : fund && fund.link === \"icp\" ? (\n \n ) : fund && fund.link === \"hcsof\" ? (\n \n ) : (\n \n )\n }\n \n \n
    \n
    \n );\n}\nexport default FundDetailsPage;\n","import { isValidElement } from \"react\";\n\nexport const isEmailValid = (email) => {\n const re =\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(String(email).toLowerCase());\n};\n\nexport const isPasswordValid = (password) => {\n const re =\n /^(?=.{10,})(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[ !\"#$%&'()*+,-.\\/:;<=>?@[\\]^_`{|}~]).*$/;\n return re.test(String(password));\n};\n\nexport const isPhoneNumberValid = (phoneNumber) => {\n const re = /^(\\+0?1\\s)?\\(?\\d{3}\\)?[\\s.-]\\d{3}[\\s.-]\\d{4}$/;\n return re.test(String(phoneNumber));\n};\n\nexport const formatPhoneNumber = (value) => {\n // if input value is falsy eg if the user deletes the input, then just return\n if (!value) return value;\n\n // clean the input for any non-digit values.\n const phoneNumber = value.replace(/[^\\d]/g, \"\");\n\n // phoneNumberLength is used to know when to apply our formatting for the phone number\n const phoneNumberLength = phoneNumber.length;\n\n // we need to return the value with no formatting if its less then four digits\n // this is to avoid weird behavior that occurs if you format the area code to early\n if (phoneNumberLength < 4) return phoneNumber;\n\n // if phoneNumberLength is greater than 4 and less the 7 we start to return\n // the formatted number\n if (phoneNumberLength < 7) {\n return `(${phoneNumber.slice(0, 3)}) ${phoneNumber.slice(3)}`;\n }\n\n // finally, if the phoneNumberLength is greater then seven, we add the last\n // bit of formatting and return it.\n return `(${phoneNumber.slice(0, 3)}) ${phoneNumber.slice(\n 3,\n 6\n )}-${phoneNumber.slice(6, 10)}`;\n};\n\nexport const formatDateOfBirth = (value) => {\n if (!value) return value;\n\n const dob = value.replace(/[^\\d]/g, \"\");\n\n const dobLength = dob.length;\n\n if (dobLength < 3) return dob;\n\n if (dobLength < 5) {\n return `${dob.slice(0, 2)}-${dob.slice(2)}`;\n }\n return `${dob.slice(0, 2)}-${dob.slice(2, 4)}-${dob.slice(4, 8)}`;\n};\n\nexport const formatSSN = (value) => {\n if (!value) return value;\n\n const ssn = value.replace(/[^\\d]/g, \"\");\n\n const ssnLength = ssn.length;\n\n if (ssnLength < 4) return ssn;\n\n if (ssnLength < 6) {\n return `${ssn.slice(0, 3)}-${ssn.slice(3)}`;\n }\n return `${ssn.slice(0, 3)}-${ssn.slice(3, 5)}-${ssn.slice(5, 9)}`;\n};\n\nexport const getDateUTC = () => {\n var date = new Date();\n var now_utc = Date.UTC(\n date.getUTCFullYear(),\n date.getUTCMonth(),\n date.getUTCDate(),\n date.getUTCHours(),\n date.getUTCMinutes(),\n date.getUTCSeconds()\n );\n\n return new Date(now_utc);\n};\n\nexport const formatInvestmentAmount = (value) => {\n if (!value) return value;\n if (value === \"\" || value === \"$\") {\n return \"\";\n }\n if (\n value.length === 1 &&\n value !== \"0\" &&\n value !== \"1\" &&\n value !== \"2\" &&\n value !== \"3\" &&\n value !== \"4\" &&\n value !== \"5\" &&\n value !== \"6\" &&\n value !== \"7\" &&\n value !== \"8\" &&\n value !== \"9\"\n ) {\n return \"\";\n }\n\n var investmentAmount = value.replace(/[^\\d]/g, \"\");\n var formatter = new Intl.NumberFormat(\"en-US\", {\n style: \"currency\",\n currency: \"USD\",\n });\n\n return \"$\" + parseInt(investmentAmount).toLocaleString(\"en-US\");\n};\n\nexport const reverseFormatNumber = (val, locale) => {\n var group = new Intl.NumberFormat(locale).format(1111).replace(/1/g, \"\");\n var decimal = new Intl.NumberFormat(locale).format(1.1).replace(/1/g, \"\");\n var reversedVal = val.replace(new RegExp(\"\\\\\" + group, \"g\"), \"\");\n reversedVal = reversedVal.replace(new RegExp(\"\\\\\" + decimal, \"g\"), \".\");\n return Number.isNaN(reversedVal) ? 0 : reversedVal;\n};\n\nexport const isValidState = (state) => {\n let list = [\n \"Alabama\",\n \"Alaska\",\n \"American Samoa\",\n \"Arizona\",\n \"Arkansas\",\n \"California\",\n \"Colorado\",\n \"Connecticut\",\n \"Delaware\",\n \"District of Columbia\",\n \"Federated States of Micronesia\",\n \"Florida\",\n \"Georgia\",\n \"Guam\",\n \"Hawaii\",\n \"Idaho\",\n \"Illinois\",\n \"Indiana\",\n \"Iowa\",\n \"Kansas\",\n \"Kentucky\",\n \"Louisiana\",\n \"Maine\",\n \"Marshall Islands\",\n \"Maryland\",\n \"Massachusetts\",\n \"Michigan\",\n \"Minnesota\",\n \"Mississippi\",\n \"Missouri\",\n \"Montana\",\n \"Nebraska\",\n \"Nevada\",\n \"New Hampshire\",\n \"New Jersey\",\n \"New Mexico\",\n \"New York\",\n \"North Carolina\",\n \"North Dakota\",\n \"Northern Mariana Islands\",\n \"Ohio\",\n \"Oklahoma\",\n \"Oregon\",\n \"Palau\",\n \"Pennsylvania\",\n \"Puerto Rico\",\n \"Rhode Island\",\n \"South Carolina\",\n \"South Dakota\",\n \"Tennessee\",\n \"Texas\",\n \"Utah\",\n \"Vermont\",\n \"Virgin Island\",\n \"Virginia\",\n \"Washington\",\n \"West Virginia\",\n \"Wisconsin\",\n \"Wyoming\",\n ];\n\n let isValidState = false;\n list.forEach((stateChoice) => {\n if (state === stateChoice) {\n isValidState = true;\n }\n });\n\n return isValidState;\n};\n\nexport const isValidCountry = (country) => {\n let countryList = [\n \"Afghanistan\",\n \"Åland Islands\",\n // ('Afghanistan', 'Afghanistan'),\n // ('Åland Islands', 'Åland Islands'),\n \"Albania\",\n \"Algeria\",\n \"American Samoa\",\n \"Andorra\",\n \"Angola\",\n \"Anguilla\",\n \"Antarctica\",\n \"Antigua And Barbuda\",\n \"Argentina\",\n \"Armenia\",\n \"Aruba\",\n \"Australia\",\n \"Austria\",\n \"Azerbaijan\",\n \"Bahamas\",\n \"Bahrain\",\n // \"Bangladesh\",\n \"Barbados\",\n // \"Belarus\",\n \"Belgium\",\n \"Belize\",\n \"Benin\",\n \"Bermuda\",\n \"Bhutan\",\n \"Bolivia, Plurinational State Of\",\n \"Bonaire, Sint Eustatius And Saba\",\n \"Bosnia And Herzegovina\",\n \"Botswana\",\n \"Bouvet Island\",\n \"Brazil\",\n \"British Indian Ocean Territory\",\n \"Brunei Darussalam\",\n \"Bulgaria\",\n \"Burkina Faso\",\n \"Burundi\",\n \"Cambodia\",\n \"Cameroon\",\n \"Canada\",\n \"Cape Verde\",\n \"Cayman Islands\",\n // \"Central African Republic\",\n \"Chad\",\n \"Chile\",\n // \"China\",\n \"Christmas Island\",\n \"Cocos (keeling) Islands\",\n \"Colombia\",\n \"Comoros\",\n \"Congo\",\n // \"Congo, The Democratic Republic Of The\",\n \"Cook Islands\",\n \"Costa Rica\",\n \"Côte D'ivoire\",\n \"Croatia\",\n // \"Cuba\",\n \"Curaçao\",\n \"Cyprus\",\n \"Czech Republic\",\n \"Denmark\",\n \"Djibouti\",\n \"Dominica\",\n \"Dominican Republic\",\n \"Ecuador\",\n \"Egypt\",\n \"El Salvador\",\n \"Equatorial Guinea\",\n // \"Eritrea\",\n \"Estonia\",\n \"Ethiopia\",\n \"Falkland Islands (malvinas)\",\n \"Faroe Islands\",\n \"Fiji\",\n \"Finland\",\n \"France\",\n \"French Guiana\",\n \"French Polynesia\",\n \"French Southern Territories\",\n \"Gabon\",\n \"Gambia\",\n \"Georgia\",\n \"Germany\",\n \"Ghana\",\n \"Gibraltar\",\n \"Greece\",\n \"Greenland\",\n \"Grenada\",\n \"Guadeloupe\",\n \"Guam\",\n \"Guatemala\",\n \"Guernsey\",\n \"Guinea\",\n \"Guinea-bissau\",\n \"Guyana\",\n \"Haiti\",\n \"Heard Island And Mcdonald Islands\",\n \"Holy See (vatican City State)\",\n \"Honduras\",\n // \"Hong Kong\",\n \"Hungary\",\n \"Iceland\",\n \"India\",\n \"Indonesia\",\n // \"Iran, Islamic Republic Of\",\n // \"Iraq\",\n \"Ireland\",\n \"Isle Of Man\",\n \"Israel\",\n \"Italy\",\n \"Jamaica\",\n \"Japan\",\n \"Jersey\",\n \"Jordan\",\n \"Kazakhstan\",\n \"Kenya\",\n \"Kiribati\",\n \"Korea, Republic Of\",\n \"Kuwait\",\n \"Kyrgyzstan\",\n \"Lao People's Democratic Republic\",\n \"Latvia\",\n // \"Lebanon\",\n \"Lesotho\",\n // \"Liberia\",\n \"Libya\",\n \"Liechtenstein\",\n \"Lithuania\",\n \"Luxembourg\",\n \"Macao\",\n \"Macedonia, TheFormer Yugoslav Republic Of\",\n \"Madagascar\",\n \"Malawi\",\n \"Malaysia\",\n \"Maldives\",\n // \"Mali\",\n \"Malta\",\n \"Marshall Islands\",\n \"Martinique\",\n \"Mauritania\",\n \"Mauritius\",\n \"Mayotte\",\n \"Mexico\",\n \"Micronesia, Federated States Of\",\n \"Moldova, Republic Of\",\n \"Monaco\",\n \"Mongolia\",\n \"Montenegro\",\n \"Montserrat\",\n \"Morocco\",\n \"Mozambique\",\n // \"Myanmar\",\n \"Namibia\",\n \"Nauru\",\n \"Nepal\",\n \"Netherlands\",\n \"New Caledonia\",\n \"New Zealand\",\n // \"Nicaragua\",\n \"Niger\",\n \"Nigeria\",\n \"Niue\",\n \"Norfolk Island\",\n \"Northern Mariana Islands\",\n \"Norway\",\n \"Oman\",\n \"Pakistan\",\n \"Palau\",\n \"Palestine, State Of\",\n \"Panama\",\n \"Papua New Guinea\",\n \"Paraguay\",\n \"Peru\",\n \"Philippines\",\n \"Pitcairn\",\n \"Poland\",\n \"Portugal\",\n \"Puerto Rico\",\n \"Qatar\",\n \"Réunion\",\n \"Romania\",\n \"Rwanda\",\n \"Saint Barthélemy\",\n \"Saint Helena, Ascension And Tristan Da Cunha\",\n \"Saint Kitts And Nevis\",\n \"Saint Lucia\",\n \"Saint Martin (french Part)\",\n \"Saint Pierre And Miquelon\",\n \"Saint Vincent And The Grenadines\",\n \"Samoa\",\n \"San Marino\",\n \"Sao Tome And Principe\",\n \"Saudi Arabia\",\n \"Senegal\",\n \"Serbia\",\n \"Seychelles\",\n \"Sierra Leone\",\n \"Singapore\",\n \"Sint Maarten (dutch Part)\",\n \"Slovakia\",\n \"Slovenia\",\n \"Solomon Islands\",\n // \"Somalia\",\n \"South Africa\",\n \"South Georgia And The South Sandwich Islands\",\n // \"South Sudan\",\n \"Spain\",\n \"Sri Lanka\",\n \"Sudan\",\n \"Suriname\",\n \"Svalbard And Jan Mayen\",\n \"Swaziland\",\n \"Sweden\",\n \"Switzerland\",\n \"Taiwan, Province Of China\",\n \"Tajikistan\",\n \"Tanzania, United Republic Of\",\n \"Thailand\",\n \"Timor-leste\",\n \"Togo\",\n \"Tokelau\",\n \"Tonga\",\n \"Trinidad And Tobago\",\n \"Tunisia\",\n \"Turkmenistan\",\n \"Turks And Caicos Islands\",\n \"Tuvalu\",\n \"Uganda\",\n // \"Ukraine\",\n \"United Arab Emirates\",\n \"United Kingdom\",\n \"United States\",\n \"United States Minor Outlying Islands\",\n \"Uruguay\",\n \"Uzbekistan\",\n \"Vanuatu\",\n // \"Venezuela, Bolivarian Republic Of\",\n \"Viet Nam\",\n \"Virgin Islands, British\",\n \"Virgin Islands, U.s.\",\n \"Wallis And Futuna\",\n \"Western Sahara\",\n // \"Yemen\",\n \"Zambia\",\n // \"Zimbabwe\",\n ];\n\n let isValidCountryChoice = false;\n countryList.forEach((countryChoice) => {\n if (country === countryChoice) {\n isValidCountryChoice = true;\n }\n });\n\n return isValidCountryChoice;\n};\n\nexport const isValidTrustType = (type) => {\n let trustTypes = [\"Irrevocable Trust\", \"Revocable Trust\"];\n let isValid = false;\n\n trustTypes.forEach((typeChoice) => {\n if (type === typeChoice) {\n isValid = true;\n }\n });\n\n return isValid;\n};\n\nexport const isValidEntityType = (type) => {\n let entityTypes = [\n \"LLC\",\n \"Limited Partnership\",\n \"C Corporation\",\n \"S Corporation\",\n \"General Partnership\",\n \"Foreign Entity\",\n \"Single-Member LLC\"\n ];\n let isValid = false;\n\n entityTypes.forEach((typeChoice) => {\n if (type === typeChoice) {\n isValid = true;\n }\n });\n\n return isValid;\n};\n","import React, { useEffect, useState } from \"react\";\nimport Box from \"@mui/material/Box\";\nimport TextField from \"@mui/material/TextField\";\nimport InputMask from \"react-input-mask\";\nimport { InputAdornment } from \"@mui/material\";\nimport IconButton from \"@mui/material/IconButton\";\nimport Visibility from \"@mui/icons-material/Visibility\";\nimport VisibilityOff from \"@mui/icons-material/VisibilityOff\";\n\nfunction StyledPasswordInputField({\n value,\n setValue,\n valueError,\n setValueError,\n label,\n required,\n fullWidth,\n size,\n id,\n disabled,\n shrink,\n}) {\n useEffect(() => {\n setValueError(\"\");\n }, [value]);\n\n const [isMasked, setIsMasked] = useState(true);\n\n return (\n \n setValue(event.target.value)}\n InputProps={{\n endAdornment: (\n \n setIsMasked(true)}\n onMouseDown={(e) => {\n setIsMasked(false);\n e.preventDefault();\n }}\n edge=\"end\"\n >\n {!isMasked ? : }\n \n \n ),\n }}\n sx={{\n \"& .MuiInputLabel-root\": {\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontSize: \"14px\",\n },\n \"& .MuiInputLabel-root.Mui-focused\": {\n color: \"#0D47A1\",\n },\n \"& .MuiOutlinedInput-root.Mui-focused\": {\n \"& > fieldset\": {\n borderColor: \"#0D47A1\",\n color: \"#0D47A1\",\n },\n },\n \"& .MuiOutlinedInput-root\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& .MuiOutlinedInput-root.Mui-disabled\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& > .MuiOutlinedInput-root:not(.Mui-focused):hover\": {\n \"& > fieldset\": {\n borderColor: valueError === \"\" ? \"#DADDE1\" : \"#D32F2F\",\n },\n },\n }}\n required={required}\n fullWidth={fullWidth}\n InputLabelProps={{ shrink: shrink }}\n />\n \n );\n}\nexport default StyledPasswordInputField;\n","import React, { useEffect, useState } from \"react\";\nimport Box from \"@mui/material/Box\";\nimport TextField from \"@mui/material/TextField\";\nimport InputMask from \"react-input-mask\";\nimport { InputAdornment } from \"@mui/material\";\nimport IconButton from \"@mui/material/IconButton\";\nimport Visibility from \"@mui/icons-material/Visibility\";\nimport VisibilityOff from \"@mui/icons-material/VisibilityOff\";\n\nfunction StyledTextInputField({\n value,\n setValue,\n valueError,\n setValueError,\n label,\n required,\n fullWidth,\n size,\n id,\n mask,\n disabled,\n shrink,\n}) {\n useEffect(() => {\n setValueError(\"\");\n }, [value]);\n\n const shouldMaskSSN =\n mask && mask.maskPattern && mask.maskPattern === \"999-99-9999\" && disabled;\n const [isMasked, setIsMasked] = useState(true);\n\n return (\n \n {(shouldMaskSSN && !isMasked) || (mask && !shouldMaskSSN) ? (\n setValue(mask.maskFormatter(event.target.value))}\n onBlur={() => {\n if (required && value === \"\") {\n setValueError(\"This field is required.\");\n }\n }}\n >\n {() => (\n \n setIsMasked(true)}\n onMouseDown={() => setIsMasked(false)}\n edge=\"end\"\n >\n {isMasked ? : }\n \n \n ),\n }\n : {}\n }\n sx={{\n \"& .MuiInputLabel-root\": {\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontSize: \"14px\",\n },\n \"& .MuiInputLabel-root.Mui-focused\": {\n color: \"#0D47A1\",\n },\n \"& .MuiOutlinedInput-root.Mui-focused\": {\n \"& > fieldset\": {\n borderColor: \"#0D47A1\",\n color: \"#0D47A1\",\n },\n },\n \"& .MuiOutlinedInput-root\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& .MuiOutlinedInput-root.Mui-disabled\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& > .MuiOutlinedInput-root:not(.Mui-focused):hover\": {\n \"& > fieldset\": {\n borderColor: valueError === \"\" ? \"#DADDE1\" : \"#D32F2F\",\n },\n },\n }}\n required={required}\n fullWidth={fullWidth}\n InputLabelProps={{ shrink: shrink }}\n />\n )}\n \n ) : (\n setValue(event.target.value)}\n InputProps={\n shouldMaskSSN\n ? {\n endAdornment: (\n \n setIsMasked(true)}\n onMouseDown={() => setIsMasked(false)}\n edge=\"end\"\n >\n {isMasked ? : }\n \n \n ),\n }\n : {}\n }\n sx={{\n \"& .MuiInputLabel-root\": {\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontSize: \"14px\",\n },\n \"& .MuiInputLabel-root.Mui-focused\": {\n color: \"#0D47A1\",\n },\n \"& .MuiOutlinedInput-root.Mui-focused\": {\n \"& > fieldset\": {\n borderColor: \"#0D47A1\",\n color: \"#0D47A1\",\n },\n },\n \"& .MuiOutlinedInput-root\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& .MuiOutlinedInput-root.Mui-disabled\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& > .MuiOutlinedInput-root:not(.Mui-focused):hover\": {\n \"& > fieldset\": {\n borderColor: valueError === \"\" ? \"#DADDE1\" : \"#D32F2F\",\n },\n },\n }}\n required={required}\n fullWidth={fullWidth}\n InputLabelProps={{ shrink: shrink }}\n />\n )}\n \n );\n}\nexport default StyledTextInputField;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { useHistory } from \"react-router-dom\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\nimport { isEmailValid } from \"../../../GlobalFunctions/globalFunctions.js\";\nimport { Auth } from \"aws-amplify\";\nimport {\n getAccountList,\n getInvestorSummary,\n updateIdentityId,\n getInvestorProfile,\n} from \"../../../Api/ProfileApi.js\";\nimport StyledPasswordInputField from \"../../../GlobalComponents/InputField/StyledPasswordInputField/StyledPasswordInputField.js\";\nimport StyledTextInputField from \"../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField.js\";\nimport AlertSnackBar from \"../../../GlobalComponents/AlertSnackBar/AlertSnackBar.js\";\nimport \"./LoginPageStyles/LoginPageStyles.css\";\nimport { LocationSearching } from \"@material-ui/icons\";\n\nfunction LoginPage(props) {\n let history = useHistory();\n const location = useLocation();\n\n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [passwordError, setPasswordError] = useState(\"\");\n const [loginError, setLoginError] = useState(\"\");\n const [loading, setLoading] = useState(false);\n const { setUser } = useContext(UserContext);\n\n const [accountCreationSuccessful, setAccountCreationSuccessful] = useState(\n location !== null &&\n location !== undefined &&\n location.state !== null &&\n location.state !== undefined &&\n location.state.accountCreationSuccessful !== null &&\n location.state.accountCreationSuccessful !== undefined\n ? location.state.accountCreationSuccessful\n : false\n );\n\n const [passwordResetSuccessful, setPasswordResetSuccessful] = useState(\n location !== null &&\n location !== undefined &&\n (location.state !== null) & (location.state !== undefined) &&\n location.state.passwordResetSuccessful !== null &&\n location.state.passwordResetSuccessful !== undefined\n ? location.state.passwordResetSuccessful\n : false\n );\n\n const [emailConfirmationSuccessful, setEmailConfirmationSuccessful] =\n useState(\n location !== null &&\n location !== undefined &&\n location.state !== null &&\n location.state !== undefined &&\n location.state.emailConfirmationSuccessful !== null &&\n location.state.emailConfirmationSuccessful !== undefined\n ? location.state.emailConfirmationSuccessful\n : false\n );\n\n const [errorSnackBarState, setErrorSnackbarState] = useState(false);\n const [invalidDomainError, setInvalidDomainError] = useState(false);\n const [domains, setDomains] = useState(\"\");\n\n const redirect = \"\";\n\n useEffect(() => {\n setLoginError(\"\");\n }, [email, password]);\n\n useEffect(() => {}, [redirect]);\n\n useEffect(() => {\n setEmailError(\"\");\n }, [email]);\n\n useEffect(() => {\n setPasswordError(\"\");\n }, [password]);\n\n const signIn = async () => {\n let isDataValid = true;\n\n if (email.length === 0) {\n setEmailError(\"Please enter an email\");\n isDataValid = false;\n } else if (!isEmailValid(email)) {\n setEmailError(\"Please enter a valid email\");\n isDataValid = false;\n }\n\n if (password.length === 0) {\n setPasswordError(\"Please enter a password\");\n isDataValid = false;\n }\n\n if (!isDataValid) {\n return;\n }\n setLoading(true);\n try {\n const logUser = await Auth.signIn(\n email.toString().toLowerCase(),\n password\n );\n try {\n const identityId = await Auth.currentCredentials();\n await updateIdentityId(identityId.identityId);\n\n try {\n const userID = email.toString().toLowerCase();\n const userProfile = await getInvestorProfile(); // profile-pii\n console.log(userProfile);\n if (userProfile && userProfile.data.valid_domains) {\n console.log(userProfile.data.valid_domains);\n setDomains(\n userProfile.data.valid_domains\n .map((e) => e.ind_platform_domain)\n .join(\" - \")\n );\n setInvalidDomainError(true);\n setLoading(false);\n return;\n }\n const investorSummary = await getInvestorSummary();\n const accountList = await getAccountList();\n var investorPrimaryAddressLine1 = \"\";\n var investorPrimaryAddressLine2 = \"\";\n var investorPrimaryCity = \"\";\n var investorPrimaryState = \"\";\n var investorPrimaryCountry = \"\";\n var investorPrimaryPostalCode = \"\";\n var investorPrimaryAddressType = \"\";\n\n var investorSecondaryAddressLine1 = \"\";\n var investorSecondaryAddressLine2 = \"\";\n var investorSecondaryCity = \"\";\n var investorSecondaryState = \"\";\n var investorSecondaryCountry = \"\";\n var investorSecondaryPostalCode = \"\";\n var investorSecondaryAddressType = \"\";\n\n if (userProfile.data[0].investor_addresses.length === 1) {\n investorPrimaryAddressLine1 =\n userProfile.data[0].investor_addresses[0].address_line_1;\n investorPrimaryAddressLine2 =\n userProfile.data[0].investor_addresses[0].address_line_2;\n investorPrimaryCity =\n userProfile.data[0].investor_addresses[0].city;\n investorPrimaryState =\n userProfile.data[0].investor_addresses[0].state;\n investorPrimaryCountry =\n userProfile.data[0].investor_addresses[0].country;\n investorPrimaryPostalCode =\n userProfile.data[0].investor_addresses[0].postal_code;\n investorPrimaryAddressType =\n userProfile.data[0].investor_addresses[0].address_type;\n } else if (userProfile.data[0].investor_addresses.length > 1) {\n userProfile.data[0].investor_addresses.forEach(\n (investor_address) => {\n if (investor_address.address_type === \"M\") {\n investorSecondaryAddressLine1 =\n investor_address.address_line_1;\n investorSecondaryAddressLine2 =\n investor_address.address_line_2;\n investorSecondaryCity = investor_address.city;\n investorSecondaryState = investor_address.state;\n investorSecondaryCountry = investor_address.country;\n investorSecondaryPostalCode = investor_address.postal_code;\n investorSecondaryAddressType = investor_address.address_type;\n } else if (\n investor_address.address_type === \"R\" ||\n investor_address === \"RM\"\n ) {\n investorPrimaryAddressLine1 = investor_address.address_line_1;\n investorPrimaryAddressLine2 = investor_address.address_line_2;\n investorPrimaryCity = investor_address.city;\n investorPrimaryState = investor_address.state;\n investorPrimaryCountry = investor_address.country;\n investorPrimaryPostalCode = investor_address.postal_code;\n investorPrimaryAddressType = investor_address.address_type;\n }\n }\n );\n }\n const isAuthenticated = true;\n setUser({\n id: userID,\n userProfileData: userProfile.data[0],\n accountListData: accountList.data,\n selectedAccountID:\n accountList && accountList.data.length !== 0\n ? accountList.data[0].id\n : \"\",\n investorSummaryData: investorSummary.data[0],\n investorPrimaryAddressLine1: investorPrimaryAddressLine1,\n investorPrimaryAddressLine2: investorPrimaryAddressLine2,\n investorPrimaryCity: investorPrimaryCity,\n investorPrimaryState: investorPrimaryState,\n investorPrimaryCountry: investorPrimaryCountry,\n investorPrimaryPostalCode: investorPrimaryPostalCode,\n investorPrimaryAddressType: investorPrimaryAddressType,\n investorSecondaryAddressLine1: investorSecondaryAddressLine1,\n investorSecondaryAddressLine2: investorSecondaryAddressLine2,\n investorSecondaryCity: investorSecondaryCity,\n investorSecondaryState: investorSecondaryState,\n investorSecondaryCountry: investorSecondaryCountry,\n investorSecondaryPostalCode: investorSecondaryPostalCode,\n investorSecondaryAddressType: investorSecondaryAddressType,\n isAuthenticated: isAuthenticated,\n });\n setLoading(false);\n // }\n } catch (error) {\n if (process.env.DEBUG) console.log(\"There is an error.\");\n if (process.env.DEBUG) console.error(error);\n setLoading(false);\n setUser(null);\n }\n } catch (error) {\n setLoading(false);\n if (process.env.DEBUG) console.error(error);\n }\n } catch (err) {\n if (process.env.DEBUG) console.error(err);\n console.log(err);\n if (\n err &&\n err.code !== null &&\n err.code !== undefined &&\n err.code === \"UserNotConfirmedException\"\n ) {\n try {\n await Auth.resendSignUp(email);\n history.push({\n pathname: \"/verify-email\",\n state: { email: email },\n });\n } catch (err) {\n setLoading(false);\n setErrorSnackbarState(true);\n console.log(err);\n }\n } else if (\n err &&\n err.code !== null &&\n err.code !== undefined &&\n err.code === \"NotAuthorizedException\"\n ) {\n setPasswordError(\"Incorrect username or password\");\n }\n setLoading(false);\n setLoginError(\"Error signing in.\");\n }\n };\n\n useEffect(() => {\n const listener = (event) => {\n if (event.code === \"Enter\" || event.code === \"NumpadEnter\") {\n event.preventDefault();\n signIn();\n }\n };\n document.addEventListener(\"keydown\", listener);\n return () => {\n document.removeEventListener(\"keydown\", listener);\n };\n }, [email, password]);\n\n useEffect(() => {\n console.log(\"Hostname is: \" + window.location.hostname);\n }, []);\n\n return (\n
    \n
    \n \n \n
    \n\n \n
    \n
    \n
    \n {/*
    \n
    \n \n Welcome to Aqua\n \n
    \n
    \n
    \n
    \n \n Please sign in to use the platform\n \n
    \n
    */}\n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n {window.location.hostname !==\n \"app.investwithaqua.com\" && (\n {\n history.push(\"/feeder-signup\");\n }}\n >\n Create New Account\n \n )}\n {\n history.push(\"/forgot-password\");\n }}\n >\n Forgot Password?\n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n signIn()}\n disabled={loading}\n >\n {loading && (\n
    \n
    \n \n Sign In\n \n \n
    \n
    \n )}\n {!loading && Sign In}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Note: For first time users, please click the Create\n New Account button to create a new account, where\n you'll be prompted to enter your access code. Your\n access code can't be used to sign in.\n \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n \n );\n}\nexport default LoginPage;\n","import React, { useState, useEffect } from \"react\";\nimport \"./StateBasedButton.css\";\n\nfunction StateBasedButton({ proceed, text }) {\n const [buttonText, setButtonText] = useState(\"\");\n const [divClass, setDivClass] = useState(\"button-box-gray ps-1 pe-1\");\n const [textClass, setTextClass] = useState(\"button-text-gray\");\n\n useEffect(() => {\n setDivClass(proceed ? \"button-box ps-1 pe-1\" : \"button-box-gray ps-1 pe-1\");\n setTextClass(proceed ? \"button-text\" : \"button-text-gray\");\n }, [proceed]);\n useEffect(() => {\n setButtonText(text);\n }, [text]);\n return (\n
    \n {buttonText}\n
    \n );\n}\nexport default StateBasedButton;\n","import axios from \"axios\";\nimport { HOST } from \"../host-config.js\";\n\nconst baseURL = \"https://api.investwithaqua.com\";\n\nconst djangoApi = axios.create({\n baseUrl: HOST,\n});\n\n//Dev environment endpoint\nexport const signupUser = async (payload) => {\n let response = await axios.post(HOST + \"/signup/\", payload);\n // await axios.post(HOST + \"/signup/\", payload);\n};\n\n//Dev environment endpoint\nexport const getInvestorConfidentialityAgreement = async () => {\n // console.log(\"Host is: \" + HOST);\n return axios.get(HOST + \"/investor-confidentiality-agreement/\");\n};\n\nexport const getInvestorTermsOfAgreement = async () => {\n return axios.get(HOST + \"/investor-terms-of-agreement/\");\n};\n\n//Dev environment endpoint\nexport const signUpUser = async (payload) => {\n try {\n djangoApi.post(\"/signup/\", payload);\n } catch (error) {\n if (process.env.DEBUG) console.error(\"Error is: \" + error);\n }\n};\n\n//Dev environment endpoint\nexport const activateUser = async (payload) => {\n let response = await axios.post(\n HOST + \"/investor-profile/account-status/\",\n payload\n );\n};\n","import React, { useState, useEffect } from \"react\";\nimport StateBasedButton from \"../../../../GlobalComponents/Button/StateBasedButton/StateBasedButton.js\";\n// import { Link } from \"react-router-dom\";\nimport \"./QualifiedPurchaserQuestionnaireSectionStyles/QualifiedPurchaserQuestionnaireSectionStyles.css\";\nimport { useHistory } from \"react-router-dom\";\n\nfunction QualifiedPurchaserQuestionnaireSection({\n navigation,\n selection1,\n selection2,\n setSelection1,\n setSelection2,\n}) {\n const [selection1Focus, setSelection1Focus] = useState(false);\n const [selection2Focus, setSelection2Focus] = useState(false);\n const [divClass1, setDivClass1] = useState(\"selection-1\");\n const [divClass2, setDivClass2] = useState(\"selection-2\");\n const [proceed, setProceed] = useState(false);\n const [qpError, setQPError] = useState(\"\");\n\n let history = useHistory();\n\n useEffect(() => {\n setSelection1Focus(selection1);\n setSelection2Focus(selection2);\n }, []);\n\n useEffect(() => {\n setDivClass1(selection1Focus ? \"selection-1-selected\" : \"selection-1\");\n setSelection1(selection1Focus);\n setQPError(\"\");\n if (selection1Focus) {\n setProceed(true);\n } else {\n setProceed(false);\n }\n }, [selection1Focus, setSelection1]);\n\n useEffect(() => {\n setDivClass2(selection2Focus ? \"selection-2-selected\" : \"selection-2\");\n setSelection2(selection2Focus);\n setQPError(\"\");\n }, [selection2Focus, setSelection2]);\n\n const validateQPStatus = () => {\n let isQP = true;\n if (!proceed) {\n isQP = false;\n }\n if (!selection1) {\n isQP = false;\n }\n\n if (isQP) {\n navigation.next();\n } else {\n setQPError(\n \"Unfortunately, our opportunities are only open to qualified purchasers at this time, but we'll have investment opportunities for you very soon.\"\n );\n }\n };\n\n return (\n \n
    \n
    \n \n \n
    \n {/*
    */}\n
    \n
    \n
    \n
    \n
    \n
    \n
    navigation.previous()}>\n \n \n \n
    \n
    \n
    \n
    \n
    \n Join Aqua\n
    \n
    \n
    \n
    \n \n Please confirm your{\" \"}\n Qualified Purchaser Status\n \n
    \n
    \n
    \n
    \n The Subscriber is:\n
    \n
    \n
    \n
    \n {\n setSelection2Focus(false);\n setSelection1Focus(!selection1Focus);\n }}\n >\n \n A natural person who alone (or together with his/her\n spouse, if investing jointly) owns not less than\n $5,000,000 in investments.\n \n
    \n
    \n
    \n
    \n
    \n {\n setProceed(false);\n setSelection1Focus(false);\n setSelection2Focus(!selection2Focus);\n }}\n >\n \n None of the above (not a Qualified Purchaser)\n \n
    \n
    \n
    \n
    \n
    \n \n The information provided will be used to assist us in\n complying with SEC regulations.\n \n
    \n
    \n {qpError ? (\n
    \n
    \n
    \n
    \n \n \n {qpError}\n \n
    \n
    \n
    \n
    \n ) : null}\n
    \n
    \n
    \n
    \n validateQPStatus()}\n style={{ cursor: \"pointer\" }}\n >\n \n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n );\n}\nexport default QualifiedPurchaserQuestionnaireSection;\n","import { useState, useEffect } from \"react\";\nimport { getInvestorConfidentialityAgreement } from \"../Api/SignupApi.js\";\n\nexport default function GetInvestorConfidentialityAgreement(time) {\n const [\n investorConfidentialityAgreement,\n setInvestorConfidentialityAgreement,\n ] = useState(null);\n\n useEffect(() => {\n async function getInvestorConfidentialityAgreementObject() {\n try {\n const response = await getInvestorConfidentialityAgreement();\n const investorConfidentialityAgreementData = response.data[0];\n setInvestorConfidentialityAgreement({\n id: investorConfidentialityAgreementData.id,\n version: investorConfidentialityAgreementData.version,\n agreement: investorConfidentialityAgreementData.agreement,\n status: investorConfidentialityAgreementData.status,\n startDate: investorConfidentialityAgreementData.startDate,\n });\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"There is an error.\");\n console.error(err); }\n }\n }\n getInvestorConfidentialityAgreementObject();\n }, [time]);\n return { investorConfidentialityAgreement };\n}\n","import { useState, useEffect } from \"react\";\nimport { getInvestorTermsOfAgreement } from \"../Api/SignupApi.js\";\n\nexport default function GetInvestorTermsOfAgreement(time) {\n const [investorTermsOfAgreement, setInvestorTermsOfAgreement] =\n useState(null);\n\n useEffect(() => {\n async function getInvestorTermsOfAgreementObject() {\n try {\n const response = await getInvestorTermsOfAgreement();\n // console.log(response.data);\n const investorTermsOfAgreementData = response.data[0];\n setInvestorTermsOfAgreement({\n id: investorTermsOfAgreementData.id,\n version: investorTermsOfAgreementData.version,\n agreement: investorTermsOfAgreementData.agreement,\n status: investorTermsOfAgreementData.status,\n startDate: investorTermsOfAgreementData.startDate,\n });\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\")\n console.log(\"There is an error.\");\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n getInvestorTermsOfAgreementObject();\n }, [time]);\n return { investorTermsOfAgreement };\n}\n","import React, { useState, useEffect } from \"react\";\nimport \"./SignatureInputFieldStyles/SignatureInputFieldStyles.css\";\n\nfunction SignatureInputField({\n placeholder,\n error,\n fieldValueChange,\n initialValue,\n disabled,\n}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n const [fieldValue, setFieldValue] = useState(initialValue);\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n fieldValueChange(fieldValue);\n }, [fieldValue, fieldValueChange]);\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n setFieldValue(event.target.value)}\n >\n
    \n \n );\n}\nexport default SignatureInputField;\n","import React, { useState, useEffect } from \"react\";\nimport CheckBox from \"../../../../Components/GlobalComponents/CheckBox.js\";\nimport StateBasedButton from \"../../../../GlobalComponents/Button/StateBasedButton/StateBasedButton.js\";\n//import { Link } from \"react-router-dom\";\nimport \"./ConfidentialityAgreementSectionStyles/ConfidentialityAgreementSectionStyles.scss\";\nimport { useHistory } from \"react-router-dom\";\n//import { getInvestorConfidentialityAgreement } from \"../../../../Api/SignupApi.js\";\nimport GetInvestorConfidentialityAgreement from \"../../../../Adapters/ConfidentialityAgreementAdapters.js\";\nimport GetInvestorTermsOfAgreement from \"../../../../Adapters/TermsOfAgreementAdapters.js\";\nimport SignatureInputField from \"../../../../Components/GlobalComponents/SignatureInputField/SignatureInputField.js\";\nimport AlertSnackBar from \"../../../../GlobalComponents/AlertSnackBar/AlertSnackBar.js\";\n\nfunction ConfidentialityAgreementSection({\n navigation,\n confidentialityAgreed,\n setConfidentialityAgreed,\n setConfidentialityAgreementId,\n name,\n setName,\n}) {\n const [documentHasBeenRead, setDocumentHasBeenRead] = useState(false);\n const [checked, setChecked] = useState(confidentialityAgreed);\n const [proceed, setProceed] = useState(false);\n const timeStamp = Date.now();\n const [time, setTime] = useState(timeStamp);\n const { investorConfidentialityAgreement } =\n GetInvestorConfidentialityAgreement(time);\n const { investorTermsOfAgreement } = GetInvestorTermsOfAgreement(time);\n // const [name, setName] = useState(\"\");\n const [nameError, setNameError] = useState(\"\");\n const [nameInvalid, setNameInvalid] = useState(false);\n\n let history = useHistory();\n\n // useEffect(() => {\n // console.log(JSON.stringify(investorTermsOfAgreement));\n // }, [investorTermsOfAgreement]);\n\n useEffect(() => {\n setConfidentialityAgreementId(\n investorConfidentialityAgreement\n ? investorConfidentialityAgreement.id\n : \"\"\n );\n }, [investorConfidentialityAgreement, setConfidentialityAgreementId]);\n\n useEffect(() => {\n setNameError(\"\");\n }, [name]);\n\n useEffect(() => {\n setChecked(confidentialityAgreed);\n setProceed(confidentialityAgreed);\n }, [confidentialityAgreed]);\n\n useEffect(() => {\n if (documentHasBeenRead && checked && name !== \"\") {\n setConfidentialityAgreed(true);\n setProceed(true);\n } else if (!checked) {\n setProceed(false);\n setConfidentialityAgreed(false);\n if (name === \"\") {\n setNameError(\"This field is required.\");\n } else if (name.split(\" \").filter((word) => word !== \"\").length < 2) {\n setNameInvalid(true);\n setNameError(\"Please enter your full name (first and last name)\");\n }\n }\n }, [documentHasBeenRead, checked, setConfidentialityAgreed]);\n\n var handleScroll = (e) => {\n const bottom =\n e.target.scrollHeight - Math.round(e.target.scrollTop) <=\n e.target.clientHeight;\n if (true || process.env.DEBUG) console.log(\"bottom: \", bottom);\n if (true || process.env.DEBUG) console.log(\"document read: \", documentHasBeenRead);\n if (bottom && !documentHasBeenRead) {\n setDocumentHasBeenRead(true);\n }\n };\n\n let documentLoadingSpinner = (\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n\n let scrollBasedSubmitButton =\n checked && documentHasBeenRead ? (\n \n ) : (\n \n );\n\n let scrollWarning = (\n \n Please Read and Sign Document Before Continuing\n \n );\n\n return (\n \n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    navigation.previous()}>\n \n \n \n
    \n
    \n
    \n
    \n
    \n \n NON-DISCLOSURE & CONFIDENTIALITY AGREEMENT\n \n
    \n
    \n
    \n
    \n handleScroll(event)}\n >\n
    \n Loading...

    \n ),\n }}\n >\n {/* {investorConfidentialityAgreement\n ? investorConfidentialityAgreement.agreement\n : documentLoadingSpinner} */}\n \n
    \n {investorConfidentialityAgreement ? (\n \n
    \n
    \n
    \n
    \n \n Rohan Marwaha\n \n
    \n
    \n \n Aqua Platform Inc., CEO\n \n
    \n
    \n
    \n
    \n Disclosing Party Signature\n
    \n
    \n \n Disclosing Party Full Name & Title\n \n
    \n
    \n
    \n
    \n
    \n
    \n {/*
    \n
    \n \n Rohan Marwaha\n \n
    \n
    \n \n Rohan Marwaha, CEO\n \n
    \n
    */}\n {/*
    \n
    \n \n Disclosing Party Representative Signature\n \n
    \n
    \n \n Disclosing Party Full Name & Title\n \n
    \n
    */}\n {/*
    \n
    \n
    \n
    \n [RECIPIENT PARTY SIGNATURE]\n
    \n
    \n [RECIPIENT PARTY FULL NAME]\n
    \n
    \n
    \n
    \n Recipient Party Signature\n
    \n
    \n Recipient Party Full Name\n
    \n
    \n
    \n
    */}\n
    \n \n \n Entering your name in the box below will\n be legally considered as a proxy to your\n signature of acceptance to the terms\n described above in the Non-Dislosure and\n Confidentiality Agreement.\n \n \n
    \n {/* Input goes here */}\n
    \n
    \n \n
    \n
    \n\n
    \n Recipient Party Full Name\n
    \n
    \n
    \n
    \n ) : null}\n {/*
    */}\n
    \n
    \n {!checked || !documentHasBeenRead ? (\n scrollWarning\n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n {\n if (documentHasBeenRead && name !== \"\") {\n setChecked(!checked);\n } else if (checked) {\n setChecked(false);\n }\n }}\n >\n \n
    \n
    \n
    \n \n I have read, understood, and agree to all terms\n noted in the{\" \"}\n Confidentiality Agreement\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n if (proceed) {\n if (name !== \"\") {\n if (\n name\n .split(\" \")\n .filter((word) => word !== \"\").length > 1\n ) {\n setName(name.replace(/ +/g, \" \").trim());\n navigation.next();\n } else {\n setNameInvalid(true);\n setNameError(\n \"Please enter your full name (first and last)\"\n );\n }\n } else {\n setNameInvalid(true);\n setNameError(\"This field is required.\");\n }\n }\n }}\n >\n {scrollBasedSubmitButton}\n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n );\n}\nexport default ConfidentialityAgreementSection;\n","import React, { useState, useEffect } from \"react\";\nimport CheckBox from \"../../../../Components/GlobalComponents/CheckBox.js\";\nimport StateBasedButton from \"../../../../GlobalComponents/Button/StateBasedButton/StateBasedButton.js\";\n//import Alert from \"../../../../Components/GlobalComponents/Alert/Alert.js\";\n//import { Link } from \"react-router-dom\";\n//import \"./TermsAndAgreementSectionStyles/TermsAndAgreementSectionStyles.css\";\nimport \"../ConfidentialityAgreementSection/ConfidentialityAgreementSectionStyles/ConfidentialityAgreementSectionStyles.css\";\nimport { useHistory } from \"react-router-dom\";\n//import { getInvestorConfidentialityAgreement } from \"../../../../Api/SignupApi.js\";\n// import GetInvestorConfidentialityAgreement from \"../../../../Adapters/ConfidentialityAgreementAdapters.js\";\nimport GetInvestorTermsOfAgreement from \"../../../../Adapters/TermsOfAgreementAdapters.js\";\n\nfunction TermsAndAgreementSection({\n navigation,\n termsAgreed,\n setTermsAgreed,\n setTermsAgreementId,\n}) {\n const [documentHasBeenRead, setDocumentHasBeenRead] = useState(false);\n const [checked, setChecked] = useState(termsAgreed);\n const [proceed, setProceed] = useState(false);\n const timeStamp = Date.now();\n const [time, setTime] = useState(timeStamp);\n const { investorTermsOfAgreement } = GetInvestorTermsOfAgreement(time);\n\n let history = useHistory();\n\n // let termsOfAgreementMessage;\n\n useEffect(() => {\n setTermsAgreementId(\n investorTermsOfAgreement ? investorTermsOfAgreement.id : \"\"\n );\n }, [investorTermsOfAgreement, setTermsAgreementId]);\n\n // if (investorTermsOfAgreement) {\n // termsOfAgreementMessage = investorTermsOfAgreement.agreement\n // } else {\n // termsOfAgreementMessage = Alert('danger', 'Error Retreiving Terms of Agreement. Please contact us or check back later.')\n // console.error('No Terms Of Agreement Found')\n // }\n\n useEffect(() => {\n setChecked(termsAgreed);\n setProceed(termsAgreed);\n }, [termsAgreed]);\n\n useEffect(() => {\n if (documentHasBeenRead && checked) {\n setTermsAgreed(true);\n setProceed(true);\n } else if (!checked) {\n setProceed(false);\n setTermsAgreed(false);\n }\n }, [documentHasBeenRead, checked, setTermsAgreed]);\n\n var handleScroll = (e) => {\n const bottom =\n e.target.scrollHeight - Math.round(e.target.scrollTop) <=\n e.target.clientHeight;\n if (bottom && !documentHasBeenRead) {\n setDocumentHasBeenRead(true);\n }\n };\n\n let documentLoadingSpinner = (\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n\n let scrollBasedSubmitButton =\n checked && documentHasBeenRead ? (\n \n ) : (\n \n );\n\n let scrollWarning = (\n \n Please Read and Agree Before Continuing\n \n );\n\n return (\n \n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    navigation.previous()}>\n \n \n \n
    \n
    \n
    \n
    \n
    \n \n Terms of Use Agreement\n \n
    \n
    \n
    \n
    \n handleScroll(event)}\n >\n
    \n Loading...

    \n ),\n }}\n >\n {/* {investorTermsOfAgreement\n ? investorTermsOfAgreement.agreement\n : documentLoadingSpinner} */}\n \n
    \n
    \n
    \n {!checked || !documentHasBeenRead ? (\n scrollWarning\n ) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n {\n if (documentHasBeenRead) {\n setChecked(!checked);\n } else if (checked) {\n setChecked(false);\n }\n }}\n >\n \n
    \n
    \n
    \n \n I have read, understood, and agree to all terms\n noted in the{\" \"}\n Terms and Policies Agreement\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n if (proceed) {\n navigation.next();\n }\n }}\n >\n {scrollBasedSubmitButton}\n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n );\n}\nexport default TermsAndAgreementSection;\n","import React, { useState, useEffect } from \"react\";\nimport \"./InputField.css\";\nfunction InputField({\n placeholder,\n error,\n fieldValueChange,\n fieldInitialVal = \"\",\n disabled = false,\n}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n const [fieldValue, setFieldValue] = useState(fieldInitialVal);\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n fieldValueChange(fieldValue);\n }, [fieldValue, fieldValueChange]);\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n setFieldValue(event.target.value)}\n disabled={disabled}\n >\n
    \n \n );\n}\nexport default InputField;\n","import React, { useState, useEffect } from \"react\";\nimport \"./PasswordField.css\";\nfunction PasswordField({ placeholder, error, fieldValueChange }) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n const [fieldValue, setFieldValue] = useState(\"\");\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n fieldValueChange(fieldValue);\n }, [fieldValue, fieldValueChange]);\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n setFieldValue(event.target.value)}\n >\n
    \n \n );\n}\nexport default PasswordField;\n","import React from \"react\";\nimport \"./StateButtonLoadingStyles/StateButtonLoadingStyles.css\";\n\nfunction StateButtonLoading({ loading, proceed, onClick }) {\n return (\n
    \n \n {loading && (\n
    \n
    \n \n Confirm Code\n \n \n
    \n
    \n )}\n {!loading && Confirm Code}\n \n
    \n );\n}\nexport default StateButtonLoading;\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { Auth } from \"aws-amplify\";\nimport StateButtonLoading from \"../../../../Components/GlobalComponents/StateButtonLoading/StateButtonLoading.js\";\nimport ReactInputVerificationCode from \"react-input-verification-code\";\nimport AlertSnackBar from \"../../../../GlobalComponents/AlertSnackBar/AlertSnackBar.js\";\nimport \"./VerificationSectionStyles/VerificationSectionStyles.css\";\n\nfunction VerificationSection({ navigation, userId, email }) {\n const [loading, setLoading] = useState(false);\n const [proceed, setProceed] = useState(false);\n const [verificationCode, setVerificationCode] = useState(\"\");\n const [verificationCodeError, setVerificationCodeError] = useState(\"\");\n const [resendCodeLoading, setResendCodeLoading] = useState(false);\n const [resendCodeSuccess, setResendCodeSuccess] = useState(false);\n const [resendCodeError, setResendCodeError] = useState(false);\n const [userEmail, setUserEmail] = useState(\"\");\n\n let history = useHistory();\n\n useEffect(() => {\n setUserEmail(email);\n }, [email]);\n\n useEffect(() => {\n if (verificationCode.length === 6) {\n setProceed(true);\n } else {\n setProceed(false);\n }\n }, [verificationCode]);\n\n const resendConfirmationCode = async () => {\n setResendCodeLoading(true);\n try {\n await Auth.resendSignUp(userEmail);\n setResendCodeSuccess(true);\n setResendCodeLoading(false);\n } catch (err) {\n console.log(err);\n setResendCodeError(true);\n setResendCodeLoading(false);\n }\n };\n\n const verifyUser = async () => {\n setLoading(true);\n try {\n var cognitoUser = await Auth.confirmSignUp(userEmail, verificationCode);\n // process.env.DEBUG ? console.log(cognitoUser) : null\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(cognitoUser);\n // const user = {\n // username: userId,\n // account_status: \"A\",\n // };\n setLoading(false);\n history.push({\n pathname: \"/login\",\n state: { accountCreationSuccessful: true },\n });\n } catch (err) {\n // process.env.DEBUG ? console.error(err) : null\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n setVerificationCodeError(\n \"Verification failed. Please enter a valid verification code.\"\n );\n setLoading(false);\n }\n };\n\n return (\n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n Verify your email\n \n
    \n
    \n
    \n
    \n \n We emailed you a six-digit code to:{\" \"}\n \n {email.toLowerCase()}\n \n \n
    \n
    \n
    \n
    \n \n Enter the code below to confirm your email address\n \n
    \n
    \n
    \n
    \n \n *Please check your spam mail if the code does not appear\n in your normal inbox.\n \n
    \n
    \n
    \n
    \n
    \n setVerificationCode(value)}\n />\n {verificationCodeError && (\n \n {verificationCodeError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n {resendCodeLoading ? (\n \n ) : (\n \n Never received the confirmation code? Click to\n resendConfirmationCode()}\n >\n {\" \"}\n resend code.\n \n \n )}\n
    \n
    \n
    \n {\n if (proceed) {\n verifyUser();\n }\n }}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n \n );\n}\nexport default VerificationSection;\n","import React, { useState, useEffect } from \"react\";\nimport \"./AccountTypeSectionStyles/AccountTypeSectionStyles.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport StateBasedButton from \"../../../../GlobalComponents/Button/StateBasedButton/StateBasedButton\";\n\nfunction AccountTypeSection({\n navigation,\n accountTypeIndividual,\n accountTypeTrust,\n accountTypeEntity,\n accountTypeJoint,\n setAccountTypeJoint,\n accountTypeRetirement,\n setAccountTypeIndividual,\n setAccountTypeTrust,\n setAccountTypeEntity,\n setAccountTypeRetirement,\n}) {\n const [accountTypeIndividualFocus, setAccountTypeIndividualFocus] =\n useState(false);\n const [accountTypeTrustFocus, setAccountTypeTrustFocus] = useState(false);\n const [accountTypeEntityFocus, setAccountTypeEntityFocus] = useState(false);\n const [accountTypeRetirementFocus, setAccountTypeRetirementFocus] =\n useState(false);\n const [accountTypeJointFocus, setAccountTypeJointFocus] =\n useState(false);\n const [accountTypeIndividualDivClass, setAccountTypeIndividualDivClass] =\n useState(\"selection-1\");\n const [accountTypeTrustDivClass, setAccountTypeTrustDivClass] =\n useState(\"selection-1\");\n const [accountTypeEntityDivClass, setAccountTypeEntityDivClass] =\n useState(\"selection-1\");\n const [accountTypeRetirementDivClass, setAccountTypeRetirementDivClass] =\n useState(\"selection-1\");\n const [accountTypeJointDivClass, setAccountTypeJointDivClass] =\n useState(\"selection-1\");\n const [accountSelectionError, setAccountSelectionError] = useState(\"\");\n\n let history = useHistory();\n\n useEffect(() => {\n setAccountTypeIndividualFocus(accountTypeIndividual);\n setAccountTypeTrustFocus(accountTypeTrust);\n setAccountTypeEntityFocus(accountTypeEntity);\n setAccountTypeRetirementFocus(accountTypeRetirement);\n setAccountTypeJointFocus(accountTypeJoint)\n }, []);\n\n useEffect(() => {\n setAccountTypeIndividualDivClass(\n accountTypeIndividualFocus ? \"selection-1-selected\" : \"selection-1\"\n );\n setAccountTypeIndividual(accountTypeIndividualFocus);\n setAccountSelectionError(\"\");\n }, [accountTypeIndividualFocus, setAccountTypeIndividual]);\n\n useEffect(() => {\n setAccountTypeTrustDivClass(\n accountTypeTrustFocus ? \"selection-1-selected\" : \"selection-1\"\n );\n setAccountTypeTrust(accountTypeTrustFocus);\n setAccountSelectionError(\"\");\n }, [accountTypeTrustFocus, setAccountTypeTrust]);\n\n useEffect(() => {\n setAccountTypeEntityDivClass(\n accountTypeEntityFocus ? \"selection-1-selected\" : \"selection-1\"\n );\n setAccountTypeEntity(accountTypeEntityFocus);\n setAccountSelectionError(\"\");\n }, [accountTypeEntityFocus, setAccountTypeEntity]);\n\n useEffect(() => {\n setAccountTypeRetirementDivClass(\n accountTypeRetirementFocus ? \"selection-1-selected\" : \"selection-1\"\n );\n setAccountTypeRetirement(accountTypeRetirementFocus);\n setAccountSelectionError(\"\");\n }, [accountTypeRetirementFocus, setAccountTypeRetirement]);\n\n\n useEffect(() => {\n setAccountTypeJointDivClass(\n accountTypeJointFocus ? \"selection-1-selected\" : \"selection-1\"\n );\n setAccountTypeJoint(accountTypeJointFocus);\n setAccountSelectionError(\"\");\n }, [accountTypeJointFocus, setAccountTypeJoint]);\n\n\n const validateAccountSelection = () => {\n let isValid = true;\n\n if (\n !accountTypeIndividual &&\n !accountTypeTrust &&\n !accountTypeEntity &&\n !accountTypeRetirement &&\n !accountTypeJoint\n ) {\n isValid = false;\n }\n\n if (isValid) {\n navigation.next();\n } else {\n setAccountSelectionError(\"Please select an account type from above.\");\n }\n };\n\n return (\n \n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n How would you like to invest on Aqua?\n \n
    \n
    \n
    \n
    \n \n Please select an account type from below:\n \n
    \n
    \n
    \n
    \n {\n setAccountTypeTrustFocus(false);\n setAccountTypeEntityFocus(false);\n setAccountTypeJointFocus(false);\n setAccountTypeRetirementFocus(false);\n setAccountTypeIndividualFocus(\n !accountTypeIndividualFocus\n );\n }}\n >\n
    \n
    \n
    \n \n
    \n \n As an individual\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {/*
    \n
    \n {\n setAccountTypeTrustFocus(false);\n setAccountTypeEntityFocus(false);\n setAccountTypeRetirementFocus(false);\n setAccountTypeIndividualFocus(false);\n setAccountTypeJointFocus(!accountTypeJointFocus);\n }}\n >\n
    \n
    \n
    \n \n
    \n \n Through a joint account\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    */ }\n
    \n
    \n {\n setAccountTypeTrustFocus(false);\n setAccountTypeEntityFocus(false);\n setAccountTypeRetirementFocus(false);\n setAccountTypeIndividualFocus(false);\n setAccountTypeJointFocus(!accountTypeJointFocus);\n }}\n >\n
    \n
    \n
    \n \n
    \n \n Through a joint account\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n setAccountTypeTrustFocus(!accountTypeTrustFocus);\n setAccountTypeEntityFocus(false);\n setAccountTypeRetirementFocus(false);\n setAccountTypeIndividualFocus(false);\n setAccountTypeJointFocus(false);\n }}\n >\n
    \n
    \n
    \n \n
    \n \n Through a trust account\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n setAccountTypeTrustFocus(false);\n setAccountTypeEntityFocus(!accountTypeEntityFocus);\n setAccountTypeRetirementFocus(false);\n setAccountTypeIndividualFocus(false);\n setAccountTypeJointFocus(false);\n\n }}\n >\n
    \n
    \n
    \n \n
    \n \n Through another type of entity\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n {/*
    \n
    \n {\n setAccountTypeTrustFocus(false);\n setAccountTypeEntityFocus(false);\n setAccountTypeRetirementFocus(\n !accountTypeRetirementFocus\n );\n setAccountTypeIndividualFocus(false);\n }}\n >\n
    \n \n
    \n \n Through a retirement account\n \n
    \n
    \n
    \n
    \n */}\n {accountSelectionError ? (\n
    \n
    \n
    \n
    \n \n \n {accountSelectionError}\n \n
    \n
    \n
    \n
    \n ) : null}\n
    \n
    \n
    \n
    \n validateAccountSelection()}\n style={{ cursor: \"pointer\" }}\n >\n \n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n
    \n );\n}\n\nexport default AccountTypeSection;\n","import React, { useState, useEffect } from \"react\";\nimport StateBasedButton from \"../../../../../GlobalComponents/Button/StateBasedButton/StateBasedButton\";\n// import { Link } from \"react-router-dom\";\nimport \"./IndividualQualificationSectionStyles/IndividualQualificationSectionStyles.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport { getDateUTC } from \"../../../../../GlobalFunctions/globalFunctions.js\";\nimport Modal from \"react-bootstrap/Modal\";\n\nfunction QualifiedPurchaserModal({ show, setShowModal }) {\n return (\n setShowModal(false)}\n >\n \n \n Qualified Purchaser\n \n \n \n \n Qualified Purchaser: \n (51) (A) “Qualified purchaser” means— (i) any natural person\n (including any person who holds a joint, community property, or other\n similar shared ownership interest in an issuer that is excepted under\n section 80a–3(c)(7) of this title with that person’s qualified\n purchaser spouse) who owns not less than $5,000,000 in investments, as\n defined by the Commission; (ii) any company that owns not less than\n $5,000,000 in investments and that is owned directly or indirectly by\n or for 2 or more natural persons who are related as siblings or spouse\n (including former spouses), or direct lineal descendants by birth or\n adoption, spouses of such persons, the estates of such persons, or\n foundations, charitable organizations, or trusts established by or for\n the benefit of such persons; (iii) any trust that is not covered by\n clause (ii) and that was not formed for the specific purpose of\n acquiring the securities offered, as to which the trustee or other\n person authorized to make decisions with respect to the trust, and\n each settlor or other person who has contributed assets to the trust,\n is a person described in clause (i), (ii), or (iv); or (iv) any\n person, acting for its own account or the accounts of other qualified\n purchasers, who in the aggregate owns and invests on a discretionary\n basis, not less than $25,000,000 in investments. (B) The Commission\n may adopt such rules and regulations applicable to the persons and\n trusts specified in clauses (i) through (iv) of subparagraph (A) as it\n determines are necessary or appropriate in the public interest or for\n the protection of investors. (C) The term “qualified purchaser” does\n not include a company that, but for the exceptions provided for in\n paragraph (1) or (7) of section 80a–3(c) of this title , would be an\n investment company (hereafter in this paragraph referred to as an\n “excepted investment company”), unless all beneficial owners of its\n outstanding securities (other than short-term paper), determined in\n accordance with section 80a–3(c)(1)(A) of this title , that acquired\n such securities on or before April 30, 1996 (hereafter in this\n paragraph referred to as “pre-amendment beneficial owners”), and all\n pre-amendment beneficial owners of the outstanding securities (other\n than short-term paper) of any excepted investment company that,\n directly or indirectly, owns any outstanding securities of such\n excepted investment company, have consented to its treatment as a\n qualified purchaser. Unanimous consent of all trustees, directors, or\n general partners of a company or trust referred to in clause (ii) or\n (iii) of subparagraph (A) shall constitute consent for purposes of\n this subparagraph.\n \n \n \n {\n setShowModal(false);\n }}\n >\n Got it\n \n \n \n );\n}\n\nfunction QualifiedPurchaserLink({ setShowModal }) {\n return (\n
    \n
    \n \n
    \n \n
    Qualified Purchaser
    \n setShowModal(true)}\n >\n View Full Definition\n
    \n \n \n );\n}\n\nfunction AccreditedInvestorLink({ setShowModal }) {\n return (\n
    \n
    \n \n
    \n \n
    Accredited Investor
    \n setShowModal(true)}\n >\n View Full Definition\n
    \n \n \n );\n}\n\nfunction IndividualQualificationSection({\n navigation,\n selection1,\n selection2,\n setSelection1,\n setSelection2,\n setQualificationDate,\n}) {\n const [showModal, setShowModal] = useState(false);\n const [selection1Focus, setSelection1Focus] = useState(false);\n const [selection2Focus, setSelection2Focus] = useState(false);\n const [divClass1, setDivClass1] = useState(\"selection-1\");\n const [divClass2, setDivClass2] = useState(\"selection-2\");\n const [proceed, setProceed] = useState(false);\n const [qpError, setQPError] = useState(\"\");\n\n let history = useHistory();\n\n useEffect(() => {\n setSelection1Focus(selection1);\n setSelection2Focus(selection2);\n }, []);\n\n useEffect(() => {\n setDivClass1(selection1Focus ? \"selection-1-selected\" : \"selection-1\");\n setSelection1(selection1Focus);\n setQPError(\"\");\n if (selection1Focus) {\n setProceed(true);\n } else {\n setProceed(false);\n }\n }, [selection1Focus, setSelection1]);\n\n useEffect(() => {\n setDivClass2(selection2Focus ? \"selection-2-selected\" : \"selection-2\");\n setSelection2(selection2Focus);\n setQPError(\"\");\n }, [selection2Focus, setSelection2]);\n\n const validateQPStatus = () => {\n let isQP = true;\n if (!proceed) {\n isQP = false;\n }\n if (!selection1) {\n isQP = false;\n }\n\n if (isQP) {\n var utcDate = getDateUTC();\n setQualificationDate(utcDate.toISOString());\n navigation.next();\n } else {\n setQPError(\n \"Unfortunately, our opportunities are only open to qualified purchasers at this time, but we'll have investment opportunities for you very soon.\"\n );\n }\n };\n\n return (\n \n \n
    \n
    \n \n \n
    \n {/*
    */}\n \n
    \n
    \n
    \n
    \n
    \n
    navigation.previous()}>\n \n \n \n
    \n
    \n
    \n
    \n
    \n Join Aqua\n
    \n
    \n
    \n
    \n \n Please confirm your{\" \"}\n Qualified Purchaser Status\n \n
    \n
    \n
    \n
    \n The Subscriber is:\n
    \n
    \n
    \n
    \n {\n setSelection2Focus(false);\n setSelection1Focus(!selection1Focus);\n }}\n >\n
    \n
    \n \n A natural person who alone (or together with\n his/her spouse, if investing jointly) owns not\n less than $5,000,000 in investments.\n \n
    \n
    \n \n *This definition of qualified purchaser is\n incomplete. See below for the full definition.*\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n setProceed(false);\n setSelection1Focus(false);\n setSelection2Focus(!selection2Focus);\n }}\n >\n \n None of the above (not a Qualified Purchaser)\n \n
    \n
    \n
    \n
    \n
    \n \n The information provided will be used to assist us in\n complying with SEC regulations.\n \n
    \n
    \n {qpError ? (\n
    \n
    \n
    \n
    \n \n \n {qpError}\n \n
    \n
    \n
    \n
    \n ) : null}\n
    \n
    \n
    \n
    \n validateQPStatus()}\n style={{ cursor: \"pointer\" }}\n >\n \n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n \n \n
    \n );\n}\n\nexport {\n QualifiedPurchaserModal,\n QualifiedPurchaserLink,\n AccreditedInvestorLink,\n IndividualQualificationSection,\n};\n","import React, { useState, useEffect } from \"react\";\nimport {\n QualifiedPurchaserLink,\n QualifiedPurchaserModal,\n} from \"../IndividualQualificationSection/IndividualQualificationSection\";\nimport \"./TrustQualificationSectionStyles/TrustQualificationSectionStyles.scss\";\nimport StateBasedButton from \"../../../../../GlobalComponents/Button/StateBasedButton/StateBasedButton\";\nimport { useHistory } from \"react-router-dom\";\nimport { getDateUTC } from \"../../../../../GlobalFunctions/globalFunctions.js\";\n\nfunction TrustQualificationSection({\n navigation,\n trustQualificationQ1,\n trustQualificationQ2,\n trustQualificationQ3,\n trustQualificationQ4,\n setTrustQualificationQ1,\n setTrustQualificationQ2,\n setTrustQualificationQ3,\n setTrustQualificationQ4,\n setQualificationDate,\n}) {\n let history = useHistory();\n const [showModal, setShowModal] = useState(false);\n const [proceed, setProceed] = useState(false);\n const [trustQualificationError, setTrustQualificationError] = useState(\"\");\n const [q1Yes, setQ1Yes] = useState(\n trustQualificationQ1\n ? trustQualificationQ1 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q1Empty, setQ1Empty] = useState(trustQualificationQ1 ? false : true);\n const [q1No, setQ1No] = useState(\n trustQualificationQ1\n ? trustQualificationQ1 === \"Yes\"\n ? false\n : true\n : false\n );\n const [q2Yes, setQ2Yes] = useState(\n trustQualificationQ2\n ? trustQualificationQ2 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q2Empty, setQ2Empty] = useState(trustQualificationQ2 ? false : true);\n const [q2No, setQ2No] = useState(\n trustQualificationQ2\n ? trustQualificationQ2 === \"Yes\"\n ? false\n : true\n : false\n );\n const [q3Yes, setQ3Yes] = useState(\n trustQualificationQ3\n ? trustQualificationQ3 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q3Empty, setQ3Empty] = useState(trustQualificationQ3 ? false : true);\n const [q3No, setQ3No] = useState(\n trustQualificationQ3\n ? trustQualificationQ3 === \"Yes\"\n ? false\n : true\n : false\n );\n const [q4Yes, setQ4Yes] = useState(\n trustQualificationQ4\n ? trustQualificationQ4 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q4Empty, setQ4Empty] = useState(trustQualificationQ4 ? false : true);\n const [q4No, setQ4No] = useState(\n trustQualificationQ4\n ? trustQualificationQ4 === \"Yes\"\n ? false\n : true\n : false\n );\n\n useEffect(() => {\n setQ1Yes(\n trustQualificationQ1\n ? trustQualificationQ1 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ1No(\n trustQualificationQ1\n ? trustQualificationQ1 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ1Empty(trustQualificationQ1 ? false : true);\n setTrustQualificationError(\"\");\n }, [trustQualificationQ1]);\n\n useEffect(() => {\n setQ2Yes(\n trustQualificationQ2\n ? trustQualificationQ2 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ2No(\n trustQualificationQ2\n ? trustQualificationQ2 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ2Empty(trustQualificationQ2 ? false : true);\n setTrustQualificationError(\"\");\n }, [trustQualificationQ2]);\n\n useEffect(() => {\n setQ3Yes(\n trustQualificationQ3\n ? trustQualificationQ3 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ3No(\n trustQualificationQ3\n ? trustQualificationQ3 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ3Empty(trustQualificationQ3 ? false : true);\n setTrustQualificationError(\"\");\n }, [trustQualificationQ3]);\n useEffect(() => {\n setQ4Yes(\n trustQualificationQ4\n ? trustQualificationQ4 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ4No(\n trustQualificationQ4\n ? trustQualificationQ4 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ4Empty(trustQualificationQ4 ? false : true);\n setTrustQualificationError(\"\");\n }, [trustQualificationQ4]);\n\n const validateTrustQPStatus = () => {\n let isQp = false;\n\n if (\n trustQualificationQ1 !== \"\" &&\n trustQualificationQ2 !== \"\" &&\n trustQualificationQ3 !== \"\" &&\n trustQualificationQ4 !== \"\"\n ) {\n if (q1Yes && q2Yes) {\n isQp = true;\n var utcDate = getDateUTC();\n setQualificationDate(utcDate.toISOString());\n navigation.next();\n } else if (q3No && q4Yes) {\n isQp = true;\n var utcDate = getDateUTC();\n setQualificationDate(utcDate.toISOString());\n navigation.next();\n } else {\n isQp = false;\n setTrustQualificationError(\n \"Sorry, your trust doesn't qualify as a Qualified Purchaser. Unfortunately, our opportunities are only open to qualified purchasers at this time, but we'll have investment opportunities for you very soon.\"\n );\n }\n } else {\n setTrustQualificationError(\"Please answer all qualification questions.\");\n }\n };\n\n return (\n <>\n \n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    navigation.previous()}>\n \n \n \n
    \n
    \n
    \n
    \n
    \n \n Trust Qualification\n \n
    \n
    \n
    \n
    \n \n The Securities and Exchange Commision (SEC) requires all\n Aqua users to be Qualified Purchasers.\n \n
    \n
    \n
    \n
    \n \n Does the trust have at least $5M in investments?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Is the trust owned by two or more close family members\n (spouses, siblings, descendants, and/or their respective\n spouses)?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Was the trust formed for the specific purpose of\n investing in a particular fund?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Are the trustee(s) and persons granting assets to the\n trust qualified purchasers (*Definition below)?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {trustQualificationError ? (\n
    \n
    \n
    \n
    \n \n \n {trustQualificationError}\n \n
    \n
    \n
    \n
    \n ) : null}\n
    \n
    \n
    \n
    \n validateTrustQPStatus()}\n style={{ cursor: \"pointer\" }}\n >\n \n
    \n
    \n
    \n history.push(\"/login\")}\n style={{ cursor: \"pointer\" }}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n );\n}\nexport default TrustQualificationSection;\n","import React, { useState, useEffect } from \"react\";\nimport {\n QualifiedPurchaserLink,\n QualifiedPurchaserModal,\n} from \"../IndividualQualificationSection/IndividualQualificationSection\";\nimport \"./EntityQualificationSectionStyles/EntityQualificationSectionStyles.scss\";\nimport StateBasedButton from \"../../../../../GlobalComponents/Button/StateBasedButton/StateBasedButton\";\nimport { useHistory } from \"react-router-dom\";\nimport { getDateUTC } from \"../../../../../GlobalFunctions/globalFunctions.js\";\n\nfunction EntityQualificationSection({\n navigation,\n entityQualificationQ1,\n entityQualificationQ2,\n entityQualificationQ3,\n entityQualificationQ4,\n entityQualificationQ5,\n setEntityQualificationQ1,\n setEntityQualificationQ2,\n setEntityQualificationQ3,\n setEntityQualificationQ4,\n setEntityQualificationQ5,\n setQualificationDate,\n}) {\n let history = useHistory();\n const [showModal, setShowModal] = useState(false);\n const [entityQualificationError, setEntityQualificationError] = useState(\"\");\n const [q1Yes, setQ1Yes] = useState(\n entityQualificationQ1\n ? entityQualificationQ1 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q1Empty, setQ1Empty] = useState(entityQualificationQ1 ? false : true);\n const [q1No, setQ1No] = useState(\n entityQualificationQ1\n ? entityQualificationQ1 === \"Yes\"\n ? false\n : true\n : false\n );\n const [q2Yes, setQ2Yes] = useState(\n entityQualificationQ2\n ? entityQualificationQ2 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q2Empty, setQ2Empty] = useState(entityQualificationQ2 ? false : true);\n const [q2No, setQ2No] = useState(\n entityQualificationQ2\n ? entityQualificationQ2 === \"Yes\"\n ? false\n : true\n : false\n );\n const [q3Yes, setQ3Yes] = useState(\n entityQualificationQ3\n ? entityQualificationQ3 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q3Empty, setQ3Empty] = useState(entityQualificationQ3 ? false : true);\n const [q3No, setQ3No] = useState(\n entityQualificationQ3\n ? entityQualificationQ3 === \"Yes\"\n ? false\n : true\n : false\n );\n const [q4Yes, setQ4Yes] = useState(\n entityQualificationQ4\n ? entityQualificationQ4 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q4Empty, setQ4Empty] = useState(entityQualificationQ4 ? false : true);\n const [q4No, setQ4No] = useState(\n entityQualificationQ4\n ? entityQualificationQ4 === \"Yes\"\n ? false\n : true\n : false\n );\n\n const [q5Yes, setQ5Yes] = useState(\n entityQualificationQ5\n ? entityQualificationQ5 === \"Yes\"\n ? true\n : false\n : false\n );\n const [q5Empty, setQ5Empty] = useState(entityQualificationQ5 ? false : true);\n const [q5No, setQ5No] = useState(\n entityQualificationQ5\n ? entityQualificationQ5 === \"Yes\"\n ? false\n : true\n : false\n );\n\n useEffect(() => {\n setQ1Yes(\n entityQualificationQ1\n ? entityQualificationQ1 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ1No(\n entityQualificationQ1\n ? entityQualificationQ1 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ1Empty(entityQualificationQ1 ? false : true);\n setEntityQualificationError(\"\");\n }, [entityQualificationQ1]);\n\n useEffect(() => {\n setQ2Yes(\n entityQualificationQ2\n ? entityQualificationQ2 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ2No(\n entityQualificationQ2\n ? entityQualificationQ2 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ2Empty(entityQualificationQ2 ? false : true);\n setEntityQualificationError(\"\");\n }, [entityQualificationQ2]);\n\n useEffect(() => {\n setQ3Yes(\n entityQualificationQ3\n ? entityQualificationQ3 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ3No(\n entityQualificationQ3\n ? entityQualificationQ3 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ3Empty(entityQualificationQ3 ? false : true);\n setEntityQualificationError(\"\");\n }, [entityQualificationQ3]);\n\n useEffect(() => {\n setQ4Yes(\n entityQualificationQ4\n ? entityQualificationQ4 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ4No(\n entityQualificationQ4\n ? entityQualificationQ4 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ4Empty(entityQualificationQ4 ? false : true);\n setEntityQualificationError(\"\");\n }, [entityQualificationQ4]);\n\n useEffect(() => {\n setQ5Yes(\n entityQualificationQ5\n ? entityQualificationQ5 === \"Yes\"\n ? true\n : false\n : false\n );\n setQ5No(\n entityQualificationQ5\n ? entityQualificationQ5 === \"Yes\"\n ? false\n : true\n : false\n );\n setQ5Empty(entityQualificationQ5 ? false : true);\n setEntityQualificationError(\"\");\n }, [entityQualificationQ5]);\n\n const validateEntityQPStatus = () => {\n if (\n entityQualificationQ1 !== \"\" &&\n entityQualificationQ2 !== \"\" &&\n entityQualificationQ3 !== \"\" &&\n entityQualificationQ4 !== \"\" &&\n entityQualificationQ5 !== \"\"\n ) {\n if (q1No) {\n if (q2Yes && q3Yes) {\n var utcDate = getDateUTC();\n setQualificationDate(utcDate.toISOString());\n navigation.next();\n } else if (q2Yes && q4Yes) {\n var utcDate = getDateUTC();\n setQualificationDate(utcDate.toISOString());\n navigation.next();\n } else if (q3No && q4No && q5Yes) {\n var utcDate = getDateUTC();\n setQualificationDate(utcDate.toISOString());\n navigation.next();\n } else if (q3Yes && q4No && q5Yes) {\n var utcDate = getDateUTC();\n setQualificationDate(utcDate.toISOString());\n navigation.next();\n } else {\n setEntityQualificationError(\n \"Sorry, your entity doesn't qualify as a Qualified Purchaser. Unfortunately, our opportunities are only open to qualified purchasers at this time, but we'll have investment opportunities for you very soon.\"\n );\n }\n } else {\n setEntityQualificationError(\n \"Sorry, your entity doesn't qualify as a Qualified Purchaser. Unfortunately, our opportunities are only open to qualified purchasers at this time, but we'll have investment opportunities for you very soon.\"\n );\n }\n } else {\n setEntityQualificationError(\"Please answer all qualification questions.\");\n }\n };\n\n return (\n <>\n \n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    navigation.previous()}>\n \n \n \n
    \n
    \n
    \n
    \n
    \n \n Entity Qualification\n \n
    \n
    \n
    \n
    \n \n The Securities and Exchange Commision (SEC) requires all\n Aqua users to be Qualified Purchasers.\n \n
    \n
    \n
    \n
    \n \n Was the entity formed for the specific purpose of\n investing in a particular fund?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Does the entity have at least $5M in investments?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Is the entity owned directly or indirectly by 2 or more\n natural persons who are related as siblings or spouse\n (including former spouses), or direct lineal descendants\n by birth or adoption, or spouses of such persons, the\n estates of such persons, or foundations, charitable\n organizations, or trusts established by or for the\n benefit of such persons?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Does the entity have more than $25M in investments that\n are invested on its own account or on behalf of other\n individuals?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Are all beneficial owners of the entity qualified\n purchasers (*Definition below)?\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {entityQualificationError ? (\n
    \n
    \n
    \n
    \n \n \n {entityQualificationError}\n \n
    \n
    \n
    \n
    \n ) : null}\n
    \n
    \n
    \n
    \n validateEntityQPStatus()}\n style={{ cursor: \"pointer\" }}\n >\n \n
    \n
    \n
    \n history.push(\"/login\")}\n style={{ cursor: \"pointer\" }}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n {\" \"}\n \n );\n}\nexport default EntityQualificationSection;\n","import React, { useState, useEffect } from \"react\";\nimport {IndividualQualificationSection} from \"./IndividualQualificationSection/IndividualQualificationSection\";\nimport TrustQualificationSection from \"./TrustQualificationSection/TrustQualificationSection\";\nimport EntityQualificationSection from \"./EntityQualificationSection/EntityQualificationSection\";\nimport \"./QualificationSectionStyles/QualificationSectionStyles.scss\";\n\nfunction QualificationSection({\n navigation,\n accountTypeIndividual,\n accountTypeTrust,\n accountTypeEntity,\n accountTypeJoint,\n accountTypeRetirement,\n individual5mInvestments,\n setIndividual5mInvestments,\n individualNot5mInvestments,\n setIndividualNot5mInvestments,\n trustQualificationQ1,\n trustQualificationQ2,\n trustQualificationQ3,\n trustQualificationQ4,\n setTrustQualificationQ1,\n setTrustQualificationQ2,\n setTrustQualificationQ3,\n setTrustQualificationQ4,\n entityQualificationQ1,\n entityQualificationQ2,\n entityQualificationQ3,\n entityQualificationQ4,\n entityQualificationQ5,\n setEntityQualificationQ1,\n setEntityQualificationQ2,\n setEntityQualificationQ3,\n setEntityQualificationQ4,\n setEntityQualificationQ5,\n setQualificationDate,\n}) {\n return accountTypeIndividual ? (\n \n ) : accountTypeTrust ? (\n \n ) : accountTypeEntity ? (\n \n ) : \n accountTypeJoint ? (\n \n ) : \n \n null;\n}\nexport default QualificationSection;\n","import React, { useEffect } from \"react\";\nimport { css as emoCSS } from \"@emotion/css\";\nimport styled from \"@emotion/styled\";\nimport starWarsNames from \"starwars-names\";\nimport { matchSorter } from \"match-sorter\";\nimport { Global, css as newcss } from \"@emotion/react\";\nimport \"./CountryInputStyles/CountryInputStyles.css\";\n\nconst GlobalStyles = newcss`\n @import url(\"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap\");\n\n @font-face {\n font-family: \"Local Font\";\n src: url(\"fonts/DancingScript-Regular.ttf\");\n }\n\n * {\n text-align: center;\n }\n`;\n\n// console.log(\"All items are: \" + JSON.stringify(starWarsNames));\n\nconst allItems = starWarsNames.all.map((s) => ({\n name: s,\n id: s.toLowerCase(),\n}));\n\n\nconst countryList = [\"United States\"];\n// const countryList = [\n// \"Afghanistan\",\n// \"Albania\",\n// \"Algeria\",\n// \"American Samoa\",\n// \"Andorra\",\n// \"Angola\",\n// \"Anguilla\",\n// \"Antarctica\",\n// \"Antigua and Barbuda\",\n// \"Argentina\",\n// \"Armenia\",\n// \"Aruba\",\n// \"Australia\",\n// \"Austria\",\n// \"Azerbaijan\",\n// \"Bahamas (the)\",\n// \"Bahrain\",\n// \"Bangladesh\",\n// \"Barbados\",\n// \"Belarus\",\n// \"Belgium\",\n// \"Belize\",\n// \"Benin\",\n// \"Bermuda\",\n// \"Bhutan\",\n// \"Bolivia (Plurinational State of)\",\n// \"Bonaire, Sint Eustatius and Saba\",\n// \"Bosnia and Herzegovina\",\n// \"Botswana\",\n// \"Bouvet Island\",\n// \"Brazil\",\n// \"British Indian Ocean Territory (the)\",\n// \"Brunei Darussalam\",\n// \"Bulgaria\",\n// \"Burkina Faso\",\n// \"Burundi\",\n// \"Cabo Verde\",\n// \"Cambodia\",\n// \"Cameroon\",\n// \"Canada\",\n// \"Cayman Islands (the)\",\n// \"Central African Republic (the)\",\n// \"Chad\",\n// \"Chile\",\n// \"China\",\n// \"Christmas Island\",\n// \"Cocos (Keeling) Islands (the)\",\n// \"Colombia\",\n// \"Comoros (the)\",\n// \"Congo (the Democratic Republic of the)\",\n// \"Congo (the)\",\n// \"Cook Islands (the)\",\n// \"Costa Rica\",\n// \"Croatia\",\n// \"Cuba\",\n// \"Curaçao\",\n// \"Cyprus\",\n// \"Czechia\",\n// \"Côte d'Ivoire\",\n// \"Denmark\",\n// \"Djibouti\",\n// \"Dominica\",\n// \"Dominican Republic (the)\",\n// \"Ecuador\",\n// \"Egypt\",\n// \"El Salvador\",\n// \"Equatorial Guinea\",\n// \"Eritrea\",\n// \"Estonia\",\n// \"Eswatini\",\n// \"Ethiopia\",\n// \"Falkland Islands (the) [Malvinas]\",\n// \"Faroe Islands (the)\",\n// \"Fiji\",\n// \"Finland\",\n// \"France\",\n// \"French Guiana\",\n// \"French Polynesia\",\n// \"French Southern Territories (the)\",\n// \"Gabon\",\n// \"Gambia (the)\",\n// \"Georgia\",\n// \"Germany\",\n// \"Ghana\",\n// \"Gibraltar\",\n// \"Greece\",\n// \"Greenland\",\n// \"Grenada\",\n// \"Guadeloupe\",\n// \"Guam\",\n// \"Guatemala\",\n// \"Guernsey\",\n// \"Guinea\",\n// \"Guinea-Bissau\",\n// \"Guyana\",\n// \"Haiti\",\n// \"Heard Island and McDonald Islands\",\n// \"Holy See (the)\",\n// \"Honduras\",\n// \"Hong Kong\",\n// \"Hungary\",\n// \"Iceland\",\n// \"India\",\n// \"Indonesia\",\n// \"Iran (Islamic Republic of)\",\n// \"Iraq\",\n// \"Ireland\",\n// \"Isle of Man\",\n// \"Israel\",\n// \"Italy\",\n// \"Jamaica\",\n// \"Japan\",\n// \"Jersey\",\n// \"Jordan\",\n// \"Kazakhstan\",\n// \"Kenya\",\n// \"Kiribati\",\n// \"Korea (the Democratic People's Republic of)\",\n// \"Korea (the Republic of)\",\n// \"Kuwait\",\n// \"Kyrgyzstan\",\n// \"Lao People's Democratic Republic (the)\",\n// \"Latvia\",\n// \"Lebanon\",\n// \"Lesotho\",\n// \"Liberia\",\n// \"Libya\",\n// \"Liechtenstein\",\n// \"Lithuania\",\n// \"Luxembourg\",\n// \"Macao\",\n// \"Madagascar\",\n// \"Malawi\",\n// \"Malaysia\",\n// \"Maldives\",\n// \"Mali\",\n// \"Malta\",\n// \"Marshall Islands (the)\",\n// \"Martinique\",\n// \"Mauritania\",\n// \"Mauritius\",\n// \"Mayotte\",\n// \"Mexico\",\n// \"Micronesia (Federated States of)\",\n// \"Moldova (the Republic of)\",\n// \"Monaco\",\n// \"Mongolia\",\n// \"Montenegro\",\n// \"Montserrat\",\n// \"Morocco\",\n// \"Mozambique\",\n// \"Myanmar\",\n// \"Namibia\",\n// \"Nauru\",\n// \"Nepal\",\n// \"Netherlands (the)\",\n// \"New Caledonia\",\n// \"New Zealand\",\n// \"Nicaragua\",\n// \"Niger (the)\",\n// \"Nigeria\",\n// \"Niue\",\n// \"Norfolk Island\",\n// \"Northern Mariana Islands (the)\",\n// \"Norway\",\n// \"Oman\",\n// \"Pakistan\",\n// \"Palau\",\n// \"Palestine, State of\",\n// \"Panama\",\n// \"Papua New Guinea\",\n// \"Paraguay\",\n// \"Peru\",\n// \"Philippines (the)\",\n// \"Pitcairn\",\n// \"Poland\",\n// \"Portugal\",\n// \"Puerto Rico\",\n// \"Qatar\",\n// \"Republic of North Macedonia\",\n// \"Romania\",\n// \"Russian Federation (the)\",\n// \"Rwanda\",\n// \"Réunion\",\n// \"Saint Barthélemy\",\n// \"Saint Helena, Ascension and Tristan da Cunha\",\n// \"Saint Kitts and Nevis\",\n// \"Saint Lucia\",\n// \"Saint Martin (French part)\",\n// \"Saint Pierre and Miquelon\",\n// \"Saint Vincent and the Grenadines\",\n// \"Samoa\",\n// \"San Marino\",\n// \"Sao Tome and Principe\",\n// \"Saudi Arabia\",\n// \"Senegal\",\n// \"Serbia\",\n// \"Seychelles\",\n// \"Sierra Leone\",\n// \"Singapore\",\n// \"Sint Maarten (Dutch part)\",\n// \"Slovakia\",\n// \"Slovenia\",\n// \"Solomon Islands\",\n// \"Somalia\",\n// \"South Africa\",\n// \"South Georgia and the South Sandwich Islands\",\n// \"South Sudan\",\n// \"Spain\",\n// \"Sri Lanka\",\n// \"Sudan (the)\",\n// \"Suriname\",\n// \"Svalbard and Jan Mayen\",\n// \"Sweden\",\n// \"Switzerland\",\n// \"Syrian Arab Republic\",\n// \"Taiwan\",\n// \"Tajikistan\",\n// \"Tanzania, United Republic of\",\n// \"Thailand\",\n// \"Timor-Leste\",\n// \"Togo\",\n// \"Tokelau\",\n// \"Tonga\",\n// \"Trinidad and Tobago\",\n// \"Tunisia\",\n// \"Turkey\",\n// \"Turkmenistan\",\n// \"Turks and Caicos Islands (the)\",\n// \"Tuvalu\",\n// \"Uganda\",\n// \"Ukraine\",\n// \"United Arab Emirates (the)\",\n// \"United Kingdom of Great Britain and Northern Ireland (the)\",\n// \"United States Minor Outlying Islands (the)\",\n// \"United States of America (the)\",\n// \"Uruguay\",\n// \"Uzbekistan\",\n// \"Vanuatu\",\n// \"Venezuela (Bolivarian Republic of)\",\n// \"Viet Nam\",\n// \"Virgin Islands (British)\",\n// \"Virgin Islands (U.S.)\",\n// \"Wallis and Futuna\",\n// \"Western Sahara\",\n// \"Yemen\",\n// \"Zambia\",\n// \"Zimbabwe\",\n// \"Åland Islands\",\n// ];\n// const list = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ];\n\nconst listOfCountries = countryList.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\n// const listOfStates = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ].map((s) => ({\n// name: s,\n// id: s.toLowerCase(),\n// }));\n\nconst css = (...args) => ({ className: emoCSS(...args) });\n\nconst Item = styled(\"li\")(\n {\n position: \"relative\",\n cursor: \"pointer\",\n display: \"block\",\n border: \"none\",\n height: \"auto\",\n textAlign: \"left\",\n borderTop: \"none\",\n lineHeight: \"1em\",\n color: \"#262A3D\",\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n textTransform: \"none\",\n fontWeight: \"400\",\n boxShadow: \"none\",\n padding: \".8rem 1.1rem\",\n whiteSpace: \"normal\",\n wordWrap: \"normal\",\n },\n ({ isActive, isSelected }) => {\n const styles = [];\n if (isActive) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n background: \"rgba(0,0,0,.03)\",\n });\n }\n if (isSelected) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n fontWeight: \"700\",\n });\n }\n return styles;\n }\n);\nconst onAttention = \" &:focus\";\nconst TransparentInput = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"4.1em\",\n height: \"56px\",\n background: \"#f7f7fa\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Input = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"2em\",\n height: \"56px\",\n background: \"#fff\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Label = styled(\"label\")({\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontWeight: \"normal\",\n display: \"block\",\n marginBottom: 10,\n});\n\nconst BaseMenu = styled(\"ul\")(\n {\n padding: 0,\n marginTop: 0,\n position: \"absolute\",\n backgroundColor: \"white\",\n width: \"100%\",\n maxHeight: \"20rem\",\n overflowY: \"auto\",\n overflowX: \"hidden\",\n outline: \"0\",\n transition: \"opacity .1s ease\",\n borderRadius: \"0 0 .28571429rem .28571429rem\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n borderColor: \"#0D47A1\",\n borderTopWidth: \"0\",\n borderRightWidth: 1,\n borderBottomWidth: 1,\n borderLeftWidth: 1,\n borderStyle: \"solid\",\n },\n ({ isOpen }) => ({\n border: isOpen ? null : \"none\",\n })\n);\n\nconst Menu = React.forwardRef((props, ref) => (\n \n));\n\nconst ControllerButton = styled(\"button\")({\n backgroundColor: \"transparent\",\n border: \"none\",\n position: \"absolute\",\n right: 0,\n top: 0,\n cursor: \"pointer\",\n width: 47,\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n});\n\nfunction ArrowIcon({ isOpen }) {\n return (\n \n \n \n );\n}\n\nfunction XIcon() {\n return (\n \n \n \n \n );\n}\n\nfunction getItems(filter) {\n return filter\n ? matchSorter(listOfCountries, filter, {\n keys: [\"name\"],\n })\n : listOfCountries;\n}\n\nfunction getStringItems(filter) {\n return getItems(filter).map(({ name }) => name);\n}\n\nfunction sleep(ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n}\n\nasync function getItemsAsync(filter, { reject }) {\n await sleep(Math.random() * 2000);\n if (reject) {\n // this is just so we can have examples that show what happens\n // when there's a request failure.\n throw new Error({ error: \"request rejected\" });\n }\n return getItems(filter);\n}\n\nconst itemToString = (i) => (i ? i.name : \"\");\n\nconst items = [\n \"Neptunium\",\n \"Plutonium\",\n \"Americium\",\n \"Curium\",\n \"Berkelium\",\n \"Californium\",\n \"Einsteinium\",\n \"Fermium\",\n \"Mendelevium\",\n \"Nobelium\",\n \"Lawrencium\",\n \"Rutherfordium\",\n \"Dubnium\",\n \"Seaborgium\",\n \"Bohrium\",\n \"Hassium\",\n \"Meitnerium\",\n \"Darmstadtium\",\n \"Roentgenium\",\n \"Copernicium\",\n \"Nihonium\",\n \"Flerovium\",\n \"Moscovium\",\n \"Livermorium\",\n \"Tennessine\",\n \"Oganesson\",\n];\n\nconst menuStyles = {\n maxHeight: 80,\n maxWidth: 150,\n overflowY: \"scroll\",\n backgroundColor: \"#eee\",\n padding: 0,\n listStyle: \"none\",\n position: \"relative\",\n};\n\nconst menuMultipleStyles = {\n maxHeight: \"180px\",\n overflowY: \"auto\",\n width: \"135px\",\n margin: 0,\n borderTop: 0,\n background: \"white\",\n position: \"absolute\",\n zIndex: 1000,\n listStyle: \"none\",\n padding: 0,\n left: \"340px\",\n};\n\nconst selectedItemStyles = {\n marginLeft: \"5px\",\n backgroundColor: \"aliceblue\",\n borderRadius: \"10px\",\n};\n\nconst selectedItemIconStyles = { cursor: \"pointer\" };\n\nconst comboboxStyles = { display: \"inline-block\", marginLeft: \"5px\" };\n\nconst comboboxWrapperStyles = {\n display: \"inline-flex\",\n flexWrap: \"wrap\",\n};\n\nexport {\n menuMultipleStyles,\n items,\n menuStyles,\n comboboxStyles,\n comboboxWrapperStyles,\n selectedItemIconStyles,\n selectedItemStyles,\n Menu,\n ControllerButton,\n Input,\n TransparentInput,\n Item,\n ArrowIcon,\n XIcon,\n Label,\n css,\n itemToString,\n getItems,\n getStringItems,\n getItemsAsync,\n};\n","import React, { useState, useEffect } from \"react\";\nimport { render } from \"react-dom\";\nimport Downshift from \"downshift\";\nimport {\n Label,\n Menu,\n ControllerButton,\n Input,\n TransparentInput,\n Item,\n ArrowIcon,\n XIcon,\n css,\n getStringItems,\n} from \"./shared.js\";\n\nfunction CountryInput({ value, setValue, placeholder, backgroundColor }) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\n placeholder ? placeholder : \"\"\n );\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n const handleStateChange = (changes) => {\n if (changes.hasOwnProperty(\"selectedItem\")) {\n setValue(changes.selectedItem);\n } else if (changes.hasOwnProperty(\"inputValue\")) {\n setValue(changes.inputValue);\n }\n };\n return (\n \n \n \n {({\n getLabelProps,\n getInputProps,\n getToggleButtonProps,\n getMenuProps,\n getItemProps,\n isOpen,\n clearSelection,\n selectedItem,\n inputValue,\n highlightedIndex,\n }) => (\n
    \n
    \n {backgroundColor ? (\n \n ) : (\n \n )}\n\n {selectedItem ? (\n \n \n \n ) : (\n \n \n \n )}\n
    \n
    \n \n {isOpen\n ? getStringItems(inputValue).map((item, index) => (\n \n {item}\n \n ))\n : null}\n \n
    \n
    \n )}\n
    \n \n
    \n );\n}\nexport default CountryInput;\n","import React, { useEffect } from \"react\";\nimport { css as emoCSS } from \"@emotion/css\";\nimport styled from \"@emotion/styled\";\nimport starWarsNames from \"starwars-names\";\nimport { matchSorter } from \"match-sorter\";\nimport { Global, css as newcss } from \"@emotion/react\";\nimport \"./EntityAccountTypeStyles/CountryInputStyles.css\";\n\nconst GlobalStyles = newcss`\n @import url(\"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap\");\n\n @font-face {\n font-family: \"Local Font\";\n src: url(\"fonts/DancingScript-Regular.ttf\");\n }\n\n * {\n text-align: center;\n }\n`;\n\n// console.log(\"All items are: \" + JSON.stringify(starWarsNames));\n\nconst allItems = starWarsNames.all.map((s) => ({\n name: s,\n id: s.toLowerCase(),\n}));\nconst countryList = [\n \"Afghanistan\",\n \"Åland Islands\",\n // ('Afghanistan', 'Afghanistan'),\n // ('Åland Islands', 'Åland Islands'),\n \"Albania\",\n \"Algeria\",\n \"American Samoa\",\n \"Andorra\",\n \"Angola\",\n \"Anguilla\",\n \"Antarctica\",\n \"Antigua And Barbuda\",\n \"Argentina\",\n \"Armenia\",\n \"Aruba\",\n \"Australia\",\n \"Austria\",\n \"Azerbaijan\",\n \"Bahamas\",\n \"Bahrain\",\n // \"Bangladesh\",\n \"Barbados\",\n // \"Belarus\",\n \"Belgium\",\n \"Belize\",\n \"Benin\",\n \"Bermuda\",\n \"Bhutan\",\n \"Bolivia, Plurinational State Of\",\n \"Bonaire, Sint Eustatius And Saba\",\n \"Bosnia And Herzegovina\",\n \"Botswana\",\n \"Bouvet Island\",\n \"Brazil\",\n \"British Indian Ocean Territory\",\n \"Brunei Darussalam\",\n \"Bulgaria\",\n \"Burkina Faso\",\n \"Burundi\",\n \"Cambodia\",\n \"Cameroon\",\n \"Canada\",\n \"Cape Verde\",\n \"Cayman Islands\",\n // \"Central African Republic\",\n \"Chad\",\n \"Chile\",\n // \"China\",\n \"Christmas Island\",\n \"Cocos (keeling) Islands\",\n \"Colombia\",\n \"Comoros\",\n \"Congo\",\n // \"Congo, The Democratic Republic Of The\",\n \"Cook Islands\",\n \"Costa Rica\",\n \"Côte D'ivoire\",\n \"Croatia\",\n // \"Cuba\",\n \"Curaçao\",\n \"Cyprus\",\n \"Czech Republic\",\n \"Denmark\",\n \"Djibouti\",\n \"Dominica\",\n \"Dominican Republic\",\n \"Ecuador\",\n \"Egypt\",\n \"El Salvador\",\n \"Equatorial Guinea\",\n // \"Eritrea\",\n \"Estonia\",\n \"Ethiopia\",\n \"Falkland Islands (malvinas)\",\n \"Faroe Islands\",\n \"Fiji\",\n \"Finland\",\n \"France\",\n \"French Guiana\",\n \"French Polynesia\",\n \"French Southern Territories\",\n \"Gabon\",\n \"Gambia\",\n \"Georgia\",\n \"Germany\",\n \"Ghana\",\n \"Gibraltar\",\n \"Greece\",\n \"Greenland\",\n \"Grenada\",\n \"Guadeloupe\",\n \"Guam\",\n \"Guatemala\",\n \"Guernsey\",\n \"Guinea\",\n \"Guinea-bissau\",\n \"Guyana\",\n \"Haiti\",\n \"Heard Island And Mcdonald Islands\",\n \"Holy See (vatican City State)\",\n \"Honduras\",\n // \"Hong Kong\",\n \"Hungary\",\n \"Iceland\",\n \"India\",\n \"Indonesia\",\n // \"Iran, Islamic Republic Of\",\n // \"Iraq\",\n \"Ireland\",\n \"Isle Of Man\",\n \"Israel\",\n \"Italy\",\n \"Jamaica\",\n \"Japan\",\n \"Jersey\",\n \"Jordan\",\n \"Kazakhstan\",\n \"Kenya\",\n \"Kiribati\",\n \"Korea, Republic Of\",\n \"Kuwait\",\n \"Kyrgyzstan\",\n \"Lao People's Democratic Republic\",\n \"Latvia\",\n // \"Lebanon\",\n \"Lesotho\",\n // \"Liberia\",\n \"Libya\",\n \"Liechtenstein\",\n \"Lithuania\",\n \"Luxembourg\",\n \"Macao\",\n \"Macedonia, TheFormer Yugoslav Republic Of\",\n \"Madagascar\",\n \"Malawi\",\n \"Malaysia\",\n \"Maldives\",\n // \"Mali\",\n \"Malta\",\n \"Marshall Islands\",\n \"Martinique\",\n \"Mauritania\",\n \"Mauritius\",\n \"Mayotte\",\n \"Mexico\",\n \"Micronesia, Federated States Of\",\n \"Moldova, Republic Of\",\n \"Monaco\",\n \"Mongolia\",\n \"Montenegro\",\n \"Montserrat\",\n \"Morocco\",\n \"Mozambique\",\n // \"Myanmar\",\n \"Namibia\",\n \"Nauru\",\n \"Nepal\",\n \"Netherlands\",\n \"New Caledonia\",\n \"New Zealand\",\n // \"Nicaragua\",\n \"Niger\",\n \"Nigeria\",\n \"Niue\",\n \"Norfolk Island\",\n \"Northern Mariana Islands\",\n \"Norway\",\n \"Oman\",\n \"Pakistan\",\n \"Palau\",\n \"Palestine, State Of\",\n \"Panama\",\n \"Papua New Guinea\",\n \"Paraguay\",\n \"Peru\",\n \"Philippines\",\n \"Pitcairn\",\n \"Poland\",\n \"Portugal\",\n \"Puerto Rico\",\n \"Qatar\",\n \"Réunion\",\n \"Romania\",\n \"Rwanda\",\n \"Saint Barthélemy\",\n \"Saint Helena, Ascension And Tristan Da Cunha\",\n \"Saint Kitts And Nevis\",\n \"Saint Lucia\",\n \"Saint Martin (french Part)\",\n \"Saint Pierre And Miquelon\",\n \"Saint Vincent And The Grenadines\",\n \"Samoa\",\n \"San Marino\",\n \"Sao Tome And Principe\",\n \"Saudi Arabia\",\n \"Senegal\",\n \"Serbia\",\n \"Seychelles\",\n \"Sierra Leone\",\n \"Singapore\",\n \"Sint Maarten (dutch Part)\",\n \"Slovakia\",\n \"Slovenia\",\n \"Solomon Islands\",\n // \"Somalia\",\n \"South Africa\",\n \"South Georgia And The South Sandwich Islands\",\n // \"South Sudan\",\n \"Spain\",\n \"Sri Lanka\",\n \"Sudan\",\n \"Suriname\",\n \"Svalbard And Jan Mayen\",\n \"Swaziland\",\n \"Sweden\",\n \"Switzerland\",\n \"Taiwan, Province Of China\",\n \"Tajikistan\",\n \"Tanzania, United Republic Of\",\n \"Thailand\",\n \"Timor-leste\",\n \"Togo\",\n \"Tokelau\",\n \"Tonga\",\n \"Trinidad And Tobago\",\n \"Tunisia\",\n \"Turkmenistan\",\n \"Turks And Caicos Islands\",\n \"Tuvalu\",\n \"Uganda\",\n // \"Ukraine\",\n \"United Arab Emirates\",\n \"United Kingdom\",\n \"United States\",\n \"United States Minor Outlying Islands\",\n \"Uruguay\",\n \"Uzbekistan\",\n \"Vanuatu\",\n // \"Venezuela, Bolivarian Republic Of\",\n \"Viet Nam\",\n \"Virgin Islands, British\",\n \"Virgin Islands, U.s.\",\n \"Wallis And Futuna\",\n \"Western Sahara\",\n // \"Yemen\",\n \"Zambia\",\n // \"Zimbabwe\",\n];\n// const countryList = [\"United States\"];\n// const countryList = [\n// \"Afghanistan\",\n// \"Albania\",\n// \"Algeria\",\n// \"American Samoa\",\n// \"Andorra\",\n// \"Angola\",\n// \"Anguilla\",\n// \"Antarctica\",\n// \"Antigua and Barbuda\",\n// \"Argentina\",\n// \"Armenia\",\n// \"Aruba\",\n// \"Australia\",\n// \"Austria\",\n// \"Azerbaijan\",\n// \"Bahamas (the)\",\n// \"Bahrain\",\n// \"Bangladesh\",\n// \"Barbados\",\n// \"Belarus\",\n// \"Belgium\",\n// \"Belize\",\n// \"Benin\",\n// \"Bermuda\",\n// \"Bhutan\",\n// \"Bolivia (Plurinational State of)\",\n// \"Bonaire, Sint Eustatius and Saba\",\n// \"Bosnia and Herzegovina\",\n// \"Botswana\",\n// \"Bouvet Island\",\n// \"Brazil\",\n// \"British Indian Ocean Territory (the)\",\n// \"Brunei Darussalam\",\n// \"Bulgaria\",\n// \"Burkina Faso\",\n// \"Burundi\",\n// \"Cabo Verde\",\n// \"Cambodia\",\n// \"Cameroon\",\n// \"Canada\",\n// \"Cayman Islands (the)\",\n// \"Central African Republic (the)\",\n// \"Chad\",\n// \"Chile\",\n// \"China\",\n// \"Christmas Island\",\n// \"Cocos (Keeling) Islands (the)\",\n// \"Colombia\",\n// \"Comoros (the)\",\n// \"Congo (the Democratic Republic of the)\",\n// \"Congo (the)\",\n// \"Cook Islands (the)\",\n// \"Costa Rica\",\n// \"Croatia\",\n// \"Cuba\",\n// \"Curaçao\",\n// \"Cyprus\",\n// \"Czechia\",\n// \"Côte d'Ivoire\",\n// \"Denmark\",\n// \"Djibouti\",\n// \"Dominica\",\n// \"Dominican Republic (the)\",\n// \"Ecuador\",\n// \"Egypt\",\n// \"El Salvador\",\n// \"Equatorial Guinea\",\n// \"Eritrea\",\n// \"Estonia\",\n// \"Eswatini\",\n// \"Ethiopia\",\n// \"Falkland Islands (the) [Malvinas]\",\n// \"Faroe Islands (the)\",\n// \"Fiji\",\n// \"Finland\",\n// \"France\",\n// \"French Guiana\",\n// \"French Polynesia\",\n// \"French Southern Territories (the)\",\n// \"Gabon\",\n// \"Gambia (the)\",\n// \"Georgia\",\n// \"Germany\",\n// \"Ghana\",\n// \"Gibraltar\",\n// \"Greece\",\n// \"Greenland\",\n// \"Grenada\",\n// \"Guadeloupe\",\n// \"Guam\",\n// \"Guatemala\",\n// \"Guernsey\",\n// \"Guinea\",\n// \"Guinea-Bissau\",\n// \"Guyana\",\n// \"Haiti\",\n// \"Heard Island and McDonald Islands\",\n// \"Holy See (the)\",\n// \"Honduras\",\n// \"Hong Kong\",\n// \"Hungary\",\n// \"Iceland\",\n// \"India\",\n// \"Indonesia\",\n// \"Iran (Islamic Republic of)\",\n// \"Iraq\",\n// \"Ireland\",\n// \"Isle of Man\",\n// \"Israel\",\n// \"Italy\",\n// \"Jamaica\",\n// \"Japan\",\n// \"Jersey\",\n// \"Jordan\",\n// \"Kazakhstan\",\n// \"Kenya\",\n// \"Kiribati\",\n// \"Korea (the Democratic People's Republic of)\",\n// \"Korea (the Republic of)\",\n// \"Kuwait\",\n// \"Kyrgyzstan\",\n// \"Lao People's Democratic Republic (the)\",\n// \"Latvia\",\n// \"Lebanon\",\n// \"Lesotho\",\n// \"Liberia\",\n// \"Libya\",\n// \"Liechtenstein\",\n// \"Lithuania\",\n// \"Luxembourg\",\n// \"Macao\",\n// \"Madagascar\",\n// \"Malawi\",\n// \"Malaysia\",\n// \"Maldives\",\n// \"Mali\",\n// \"Malta\",\n// \"Marshall Islands (the)\",\n// \"Martinique\",\n// \"Mauritania\",\n// \"Mauritius\",\n// \"Mayotte\",\n// \"Mexico\",\n// \"Micronesia (Federated States of)\",\n// \"Moldova (the Republic of)\",\n// \"Monaco\",\n// \"Mongolia\",\n// \"Montenegro\",\n// \"Montserrat\",\n// \"Morocco\",\n// \"Mozambique\",\n// \"Myanmar\",\n// \"Namibia\",\n// \"Nauru\",\n// \"Nepal\",\n// \"Netherlands (the)\",\n// \"New Caledonia\",\n// \"New Zealand\",\n// \"Nicaragua\",\n// \"Niger (the)\",\n// \"Nigeria\",\n// \"Niue\",\n// \"Norfolk Island\",\n// \"Northern Mariana Islands (the)\",\n// \"Norway\",\n// \"Oman\",\n// \"Pakistan\",\n// \"Palau\",\n// \"Palestine, State of\",\n// \"Panama\",\n// \"Papua New Guinea\",\n// \"Paraguay\",\n// \"Peru\",\n// \"Philippines (the)\",\n// \"Pitcairn\",\n// \"Poland\",\n// \"Portugal\",\n// \"Puerto Rico\",\n// \"Qatar\",\n// \"Republic of North Macedonia\",\n// \"Romania\",\n// \"Russian Federation (the)\",\n// \"Rwanda\",\n// \"Réunion\",\n// \"Saint Barthélemy\",\n// \"Saint Helena, Ascension and Tristan da Cunha\",\n// \"Saint Kitts and Nevis\",\n// \"Saint Lucia\",\n// \"Saint Martin (French part)\",\n// \"Saint Pierre and Miquelon\",\n// \"Saint Vincent and the Grenadines\",\n// \"Samoa\",\n// \"San Marino\",\n// \"Sao Tome and Principe\",\n// \"Saudi Arabia\",\n// \"Senegal\",\n// \"Serbia\",\n// \"Seychelles\",\n// \"Sierra Leone\",\n// \"Singapore\",\n// \"Sint Maarten (Dutch part)\",\n// \"Slovakia\",\n// \"Slovenia\",\n// \"Solomon Islands\",\n// \"Somalia\",\n// \"South Africa\",\n// \"South Georgia and the South Sandwich Islands\",\n// \"South Sudan\",\n// \"Spain\",\n// \"Sri Lanka\",\n// \"Sudan (the)\",\n// \"Suriname\",\n// \"Svalbard and Jan Mayen\",\n// \"Sweden\",\n// \"Switzerland\",\n// \"Syrian Arab Republic\",\n// \"Taiwan\",\n// \"Tajikistan\",\n// \"Tanzania, United Republic of\",\n// \"Thailand\",\n// \"Timor-Leste\",\n// \"Togo\",\n// \"Tokelau\",\n// \"Tonga\",\n// \"Trinidad and Tobago\",\n// \"Tunisia\",\n// \"Turkey\",\n// \"Turkmenistan\",\n// \"Turks and Caicos Islands (the)\",\n// \"Tuvalu\",\n// \"Uganda\",\n// \"Ukraine\",\n// \"United Arab Emirates (the)\",\n// \"United Kingdom of Great Britain and Northern Ireland (the)\",\n// \"United States Minor Outlying Islands (the)\",\n// \"United States of America (the)\",\n// \"Uruguay\",\n// \"Uzbekistan\",\n// \"Vanuatu\",\n// \"Venezuela (Bolivarian Republic of)\",\n// \"Viet Nam\",\n// \"Virgin Islands (British)\",\n// \"Virgin Islands (U.S.)\",\n// \"Wallis and Futuna\",\n// \"Western Sahara\",\n// \"Yemen\",\n// \"Zambia\",\n// \"Zimbabwe\",\n// \"Åland Islands\",\n// ];\n// const list = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ];\nconst trustList = [\"Irrevocable Trust\", \"Revocable Trust\"];\n\n// const listOfCountries = countryList.map((s) => ({\n// name: s,\n// label: s.toLowerCase(),\n// }));\nconst entityList = [\n \"LLC\",\n \"Limited Partnership\",\n \"C Corporation\",\n \"S Corporation\",\n \"General Partnership\",\n \"Foreign Entity\",\n \"Single-Member LLC\"\n];\n\nconst jointList = [\"Tenants in Common\", \"Tenants with Rights of Survivorship\",\n\"Community Property\"]\nconst listOfEntityTypes = entityList.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\nconst listOfJointTypes = jointList.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\n\nconst listOfTrustTypes = trustList.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\n// const listOfStates = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ].map((s) => ({\n// name: s,\n// id: s.toLowerCase(),\n// }));\n\nconst css = (...args) => ({ className: emoCSS(...args) });\n\nconst Item = styled(\"li\")(\n {\n position: \"relative\",\n cursor: \"pointer\",\n display: \"block\",\n border: \"none\",\n height: \"auto\",\n textAlign: \"left\",\n borderTop: \"none\",\n lineHeight: \"1em\",\n color: \"#262A3D\",\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n textTransform: \"none\",\n fontWeight: \"400\",\n boxShadow: \"none\",\n padding: \".8rem 1.1rem\",\n whiteSpace: \"normal\",\n wordWrap: \"normal\",\n },\n ({ isActive, isSelected }) => {\n const styles = [];\n if (isActive) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n background: \"rgba(0,0,0,.03)\",\n });\n }\n if (isSelected) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n fontWeight: \"700\",\n });\n }\n return styles;\n }\n);\nconst onAttention = \" &:focus\";\nconst TransparentInput = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"3em\",\n height: \"56px\",\n background: \"#f7f7fa\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Input = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"2em\",\n height: \"56px\",\n background: \"#fff\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Label = styled(\"label\")({\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontWeight: \"normal\",\n display: \"block\",\n marginBottom: 10,\n});\n\nconst BaseMenu = styled(\"ul\")(\n {\n padding: 0,\n marginTop: 0,\n position: \"absolute\",\n zIndex: 7,\n backgroundColor: \"white\",\n width: \"100%\",\n maxHeight: \"20rem\",\n overflowY: \"auto\",\n overflowX: \"hidden\",\n outline: \"0\",\n transition: \"opacity .1s ease\",\n borderRadius: \"0 0 .28571429rem .28571429rem\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n borderColor: \"#0D47A1\",\n borderTopWidth: \"0\",\n borderRightWidth: 1,\n borderBottomWidth: 1,\n borderLeftWidth: 1,\n borderStyle: \"solid\",\n },\n ({ isOpen }) => ({\n border: isOpen ? null : \"none\",\n })\n);\n\nconst Menu = React.forwardRef((props, ref) => (\n \n));\n\nconst ControllerButton = styled(\"button\")({\n backgroundColor: \"transparent\",\n border: \"none\",\n position: \"absolute\",\n right: 0,\n top: 0,\n cursor: \"pointer\",\n width: 47,\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n});\n\nfunction ArrowIcon({ isOpen }) {\n return (\n \n \n \n );\n}\n\nfunction XIcon() {\n return (\n \n \n \n \n );\n}\n\nfunction getItems(filter, joint) {\n return !joint ? (filter\n ? matchSorter(listOfEntityTypes, filter, {\n keys: [\"name\"],\n })\n : listOfEntityTypes) : (filter\n ? matchSorter(listOfJointTypes, filter, {\n keys: [\"name\"],\n })\n : listOfJointTypes)\n}\n\nfunction getStringItems(filter, joint) {\n return getItems(filter, joint).map(({ name }) => name);\n}\n\nfunction sleep(ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n}\n\nasync function getItemsAsync(filter, { reject }) {\n await sleep(Math.random() * 2000);\n if (reject) {\n // this is just so we can have examples that show what happens\n // when there's a request failure.\n throw new Error({ error: \"request rejected\" });\n }\n return getItems(filter);\n}\n\nconst itemToString = (i) => (i ? i.name : \"\");\n\nconst items = [\n \"Neptunium\",\n \"Plutonium\",\n \"Americium\",\n \"Curium\",\n \"Berkelium\",\n \"Californium\",\n \"Einsteinium\",\n \"Fermium\",\n \"Mendelevium\",\n \"Nobelium\",\n \"Lawrencium\",\n \"Rutherfordium\",\n \"Dubnium\",\n \"Seaborgium\",\n \"Bohrium\",\n \"Hassium\",\n \"Meitnerium\",\n \"Darmstadtium\",\n \"Roentgenium\",\n \"Copernicium\",\n \"Nihonium\",\n \"Flerovium\",\n \"Moscovium\",\n \"Livermorium\",\n \"Tennessine\",\n \"Oganesson\",\n];\n\nconst menuStyles = {\n maxHeight: 80,\n maxWidth: 150,\n overflowY: \"scroll\",\n backgroundColor: \"#eee\",\n padding: 0,\n listStyle: \"none\",\n position: \"relative\",\n};\n\nconst menuMultipleStyles = {\n maxHeight: \"180px\",\n overflowY: \"auto\",\n width: \"135px\",\n margin: 0,\n borderTop: 0,\n background: \"white\",\n position: \"absolute\",\n zIndex: 1000,\n listStyle: \"none\",\n padding: 0,\n left: \"340px\",\n};\n\nconst selectedItemStyles = {\n marginLeft: \"5px\",\n backgroundColor: \"aliceblue\",\n borderRadius: \"10px\",\n};\n\nconst selectedItemIconStyles = { cursor: \"pointer\" };\n\nconst comboboxStyles = { display: \"inline-block\", marginLeft: \"5px\" };\n\nconst comboboxWrapperStyles = {\n display: \"inline-flex\",\n flexWrap: \"wrap\",\n};\n\nexport {\n menuMultipleStyles,\n items,\n menuStyles,\n comboboxStyles,\n comboboxWrapperStyles,\n selectedItemIconStyles,\n selectedItemStyles,\n Menu,\n ControllerButton,\n Input,\n TransparentInput,\n Item,\n ArrowIcon,\n XIcon,\n Label,\n css,\n itemToString,\n getItems,\n getStringItems,\n getItemsAsync,\n};\n","import React, { useState, useEffect } from \"react\";\nimport { render } from \"react-dom\";\nimport Downshift from \"downshift\";\nimport {\n Label,\n Menu,\n ControllerButton,\n Input,\n TransparentInput,\n Item,\n ArrowIcon,\n XIcon,\n css,\n getStringItems,\n} from \"./shared.js\";\n\nfunction EntityAccountType({ value, setValue, placeholder, backgroundColor, joint}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\n placeholder ? placeholder : \"\"\n );\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n const handleStateChange = (changes) => {\n if (changes.hasOwnProperty(\"selectedItem\")) {\n setValue(changes.selectedItem);\n } else if (changes.hasOwnProperty(\"inputValue\")) {\n setValue(changes.inputValue);\n }\n };\n return (\n \n \n \n {({\n getLabelProps,\n getInputProps,\n getToggleButtonProps,\n getMenuProps,\n getItemProps,\n isOpen,\n clearSelection,\n selectedItem,\n inputValue,\n highlightedIndex,\n }) => (\n
    \n
    \n {backgroundColor ? (\n {...getToggleButtonProps()}}\n // onClick={() => setIsOpen(!isOpen)}\n />\n ) : (\n \n )}\n\n {selectedItem ? (\n \n \n \n ) : (\n \n \n \n )}\n
    \n
    \n \n {isOpen\n ? getStringItems(inputValue, joint).map((item, index) => (\n \n {item}\n \n ))\n : null}\n \n
    \n
    \n )}\n
    \n \n
    \n );\n}\nexport default EntityAccountType;\n","import React, { useState, useEffect } from \"react\";\nimport InputField from \"../../../../../GlobalComponents/InputField/InputField.js\";\nimport PasswordField from \"../../../../../GlobalComponents/InputField/PasswordField/PasswordField.js\";\nimport { Auth } from \"aws-amplify\";\nimport {\n isEmailValid,\n isPasswordValid,\n isValidCountry,\n} from \"../../../../../GlobalFunctions/globalFunctions.js\";\nimport { signupUser } from \"../../../../../Api/SignupApi.js\";\nimport \"./IndividualSignupFormStyles/IndividualSignupFormStyles.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/bootstrap.css\";\nimport CountryInput from \"../../../../../Components/GlobalComponents/CountryInput/CountryInput.js\";\nimport Checkbox from \"react-custom-checkbox\";\nimport EntityAccountType from \"../../../../../Components/EntityAccountType/EntityAccountType.js\";\n\nfunction IndividualSignupForm({\n joint,\n navigation,\n setUserId,\n individual5mInvestments,\n qualificationDate,\n confidentialityAgreementId,\n confidentialityAgreementDateSigned,\n termsAgreementId,\n termsAgreementDateSigned,\n email,\n setEmail,\n docSignatureName,\n}) {\n const firmName = 'test';\n\n const [signUpError, setSignUpError] = useState(\"\");\n const [loading, setLoading] = useState(false);\n const [firstNameError, setFirstNameError] = useState(\"\");\n const [lastNameError, setLastNameError] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n\n const [secFirstNameError, setSecFirstNameError] = useState(\"\");\n const [secLastNameError, setSecLastNameError] = useState(\"\");\n const [secEmailError, setSecEmailError] = useState(\"\");\n\n const [secFirstName, setSecFirstName] = useState(\"\");\n const [secLastName, setSecLastName] = useState(\"\");\n const [secEmail, setSecEmail] = useState(\"\");\n\n const [passwordError, setPasswordError] = useState(\"\");\n const [confirmPassword, setConfirmPassword] = useState(\"\");\n const [confirmPasswordError, setConfirmPasswordError] = useState(\"\");\n const [phoneNumberError, setPhoneNumberError] = useState(\"\");\n const [firstName, setFirstName] = useState(\"\");\n const [lastName, setLastName] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [phoneNumber, setPhoneNumber] = useState(\"\");\n const [countryOfResidence, setCountryOfResidence] = useState(\"\");\n const [countryOfResidenceError, setCountryOfResidenceError] = useState(\"\");\n const [isUSCitizen, setIsUSCitizen] = useState(\"\");\n const [isUSCitizenError, setIsUSCitizenError] = useState(\"\");\n const [entityAccountType, setEntityAccountType] = useState(\"\");\n const [entityAccountTypeError, setEntityAccountTypeError] = useState(\"\");\n\n let history = useHistory();\n\n useEffect(() => {\n setFirstNameError(\"\");\n }, [firstName]);\n\n useEffect(() => {\n setLastNameError(\"\");\n }, [lastName]);\n\n useEffect(() => {\n setEmailError(\"\");\n }, [email]);\n\n useEffect(() => {\n setPasswordError(\"\");\n }, [password]);\n\n useEffect(() => {\n setConfirmPasswordError(\"\");\n }, [confirmPassword]);\n\n useEffect(() => {\n setPhoneNumberError(\"\");\n }, [phoneNumber]);\n\n useEffect(() => {\n setCountryOfResidenceError(\"\");\n }, [countryOfResidence]);\n\n useEffect(() => {\n setIsUSCitizenError(\"\");\n }, [isUSCitizen]);\n\n const submit = async () => {\n let isDataValid = true;\n\n const fullName = (\n firstName.toLowerCase() +\n \" \" +\n lastName.toLowerCase()\n ).trim();\n\n if (docSignatureName.toLowerCase() !== fullName.replace(/ +/g, \" \")) {\n setFirstNameError(\n \"Name entered does not match the name signed on the confidentiality agreement.\"\n );\n setLastNameError(\n \"Name entered does not match the name signed on the confidentiality agreement.\"\n );\n isDataValid = false;\n } else if (\n docSignatureName.toLowerCase() === fullName.replace(/ +/g, \" \")\n ) {\n setFirstNameError(\"\");\n setLastNameError(\"\");\n }\n\n if (lastName.replace(/ +/g, \" \").trim().length === 0) {\n setLastNameError(\"Please enter a last name.\");\n isDataValid = false;\n }\n\n if (firstName.replace(/ +/g, \" \").trim().length === 0) {\n console.log(firstName.replace(/ +/g, \" \").trim());\n setFirstNameError(\"Please enter a first name.\");\n isDataValid = false;\n }\n\n if (email.length === 0) {\n setEmailError(\"Please enter an email address.\");\n isDataValid = false;\n } else if (!isEmailValid(email)) {\n setEmailError(\"Please enter a valid email address.\");\n isDataValid = false;\n }\n\n if (joint) {\n console.log(isDataValid);\n console.log(secFirstName.replace(/ +/g, \" \").trim());\n console.log(secLastName.replace(/ +/g, \" \").trim());\n console.log(secEmail.length);\n\n if (secLastName.replace(/ +/g, \" \").trim().length === 0) {\n setSecLastNameError(\"Please enter a last name.\");\n isDataValid = false;\n }\n\n if (secFirstName.replace(/ +/g, \" \").trim().length === 0) {\n setSecFirstNameError(\"Please enter a first name.\");\n isDataValid = false;\n }\n\n if (secEmail.length === 0) {\n setSecEmailError(\"Please enter an email address.\");\n isDataValid = false;\n } else if (!isEmailValid(secEmail)) {\n setSecEmailError(\"Please enter a valid email address.\");\n isDataValid = false;\n }\n\n console.log(isDataValid);\n }\n\n if (password.length === 0) {\n setPasswordError(\"Please enter a password.\");\n isDataValid = false;\n } else if (!isPasswordValid(password)) {\n setPasswordError(\n \"Your password must be longer than 10 characters and contain at least one number, an uppercase, a lowercase, and a special character.\"\n );\n isDataValid = false;\n }\n\n if (confirmPassword !== password) {\n setConfirmPasswordError(\"Your passwords must match\");\n isDataValid = false;\n }\n if (countryOfResidence === \"\") {\n setCountryOfResidenceError(\"Country is required.\");\n isDataValid = false;\n } else if (!isValidCountry(countryOfResidence)) {\n isDataValid = false;\n setCountryOfResidenceError(\n \"Please select a valid country from the dropdown.\"\n );\n }\n\n if (countryOfResidence === \"United States\" && isUSCitizen === \"\") {\n isDataValid = false;\n setIsUSCitizenError(\"You must select a response to this question.\");\n }\n\n if (phoneNumber.length === 0) {\n setPhoneNumberError(\"Please enter a phone number.\");\n isDataValid = false;\n }\n\n if (!isDataValid) {\n return;\n } else {\n setLoading(true);\n try {\n const cognitoUser = await Auth.signUp({\n username: email,\n password: password,\n attributes: {\n email,\n },\n clientMetadata: {firm: firmName}\n });\n setUserId(cognitoUser.userSub);\n\n const newUser = {\n username: cognitoUser.userSub,\n email: email.toLowerCase(),\n first_name: firstName.replace(/ +/g, \" \").trim(),\n last_name: lastName.replace(/ +/g, \" \").trim(),\n phone_number: phoneNumber,\n country: countryOfResidence,\n signer_name: docSignatureName,\n confidentiality_agreement_id: confidentialityAgreementId,\n confidentiality_agreement_date_signed:\n confidentialityAgreementDateSigned,\n terms_of_agreement_id: termsAgreementId,\n terms_of_agreement_date_signed: termsAgreementDateSigned,\n account_type: !joint ? \"IND\" : \"JOINT\",\n individual_q1_qp_5m_investments: individual5mInvestments,\n qualification_date: qualificationDate,\n ...(joint && {\n joint_email: secEmail,\n joint_first: secFirstName,\n joint_last: secLastName,\n joint_account_type: entityAccountType,\n }),\n ...(countryOfResidence === \"United States\" && {\n is_us_citizen: isUSCitizen,\n }),\n };\n\n await signupUser(newUser);\n setLoading(false);\n } catch (err) {\n setLoading(false);\n setSignUpError(\"Sign up failed. Please try again.\");\n if (process.env.DEBUG) console.error(err);\n }\n navigation.next();\n }\n };\n return (\n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n navigation.previous()}\n style={{ cursor: \"pointer\" }}\n >\n \n \n \n
    \n
    \n
    \n
    \n
    \n Join Aqua\n
    \n
    \n
    \n
    \n \n Please fill out all the fields\n \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n First Name\n \n
    \n
    \n \n Last Name\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {firstNameError && (\n \n {firstNameError}\n \n )}\n
    \n
    \n {lastNameError && (\n \n {lastNameError}\n \n )}\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n Email\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n {emailError && (\n \n {emailError}\n \n )}\n
    \n
    \n
    \n
    \n\n {joint && (\n <>\n {\" \"}\n
    \n
    \n
    \n
    \n \n Secondary Accountholder First Name\n \n
    \n
    \n \n Secondary Accountholder Last Name\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {secFirstNameError && (\n \n {secFirstNameError}\n \n )}\n
    \n
    \n {secLastNameError && (\n \n {secLastNameError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Joint Account Type\n \n
    \n
    \n
    \n
    \n {\n \n }\n
    \n
    \n
    \n
    \n {entityAccountTypeError && (\n \n {entityAccountTypeError}\n \n )}\n
    \n
    \n
    \n
    \n \n )}\n\n {joint && (\n
    \n
    \n
    \n
    \n \n Secondary Accountholder Email\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n {secEmailError && (\n \n {secEmailError}\n \n )}\n
    \n
    \n
    \n
    \n )}\n\n
    \n
    \n
    \n
    \n \n Password\n \n
    \n
    \n \n Confirm Password\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {passwordError && (\n \n {passwordError}\n \n )}\n
    \n
    \n {confirmPasswordError && (\n \n {confirmPasswordError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Phone Number\n \n
    \n
    \n \n Country of Residence\n \n
    \n
    \n
    \n
    \n setPhoneNumber(phone)}\n style={{ width: \"100%\", height: \"inherit\" }}\n containerStyle={{ backgroundColor: \"#000000\" }}\n />\n
    \n
    \n \n
    \n
    \n
    \n
    \n {phoneNumberError && (\n \n {phoneNumberError}\n \n )}\n {signUpError && (\n \n {signUpError}\n \n )}\n
    \n
    \n {countryOfResidenceError && (\n \n {countryOfResidenceError}\n \n )}\n
    \n
    \n
    \n
    \n {countryOfResidence === \"United States\" && (\n
    \n
    \n
    \n \n Are you a U.S. citizen?\n \n
    \n
    \n
    \n
    \n
    \n \n {\n setIsUSCitizen(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setIsUSCitizen(false);\n }}\n />\n
    \n No\n \n
    \n
    \n
    \n {isUSCitizenError && (\n \n {isUSCitizenError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n submit()}\n disabled={loading}\n >\n {loading && (\n
    \n
    \n \n Sign Up\n \n \n
    \n
    \n )}\n {!loading && Sign Up}\n \n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n );\n}\nexport default IndividualSignupForm;\n","import React, { useEffect } from \"react\";\nimport { css as emoCSS } from \"@emotion/css\";\nimport styled from \"@emotion/styled\";\nimport starWarsNames from \"starwars-names\";\nimport { matchSorter } from \"match-sorter\";\nimport { Global, css as newcss } from \"@emotion/react\";\nimport \"./TrustAccountTypeStyles/CountryInputStyles.css\";\n\nconst GlobalStyles = newcss`\n @import url(\"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap\");\n\n @font-face {\n font-family: \"Local Font\";\n src: url(\"fonts/DancingScript-Regular.ttf\");\n }\n\n * {\n text-align: center;\n }\n`;\n\n// console.log(\"All items are: \" + JSON.stringify(starWarsNames));\n\nconst allItems = starWarsNames.all.map((s) => ({\n name: s,\n id: s.toLowerCase(),\n}));\nconst countryList = [\n \"Afghanistan\",\n \"Åland Islands\",\n // ('Afghanistan', 'Afghanistan'),\n // ('Åland Islands', 'Åland Islands'),\n \"Albania\",\n \"Algeria\",\n \"American Samoa\",\n \"Andorra\",\n \"Angola\",\n \"Anguilla\",\n \"Antarctica\",\n \"Antigua And Barbuda\",\n \"Argentina\",\n \"Armenia\",\n \"Aruba\",\n \"Australia\",\n \"Austria\",\n \"Azerbaijan\",\n \"Bahamas\",\n \"Bahrain\",\n // \"Bangladesh\",\n \"Barbados\",\n // \"Belarus\",\n \"Belgium\",\n \"Belize\",\n \"Benin\",\n \"Bermuda\",\n \"Bhutan\",\n \"Bolivia, Plurinational State Of\",\n \"Bonaire, Sint Eustatius And Saba\",\n \"Bosnia And Herzegovina\",\n \"Botswana\",\n \"Bouvet Island\",\n \"Brazil\",\n \"British Indian Ocean Territory\",\n \"Brunei Darussalam\",\n \"Bulgaria\",\n \"Burkina Faso\",\n \"Burundi\",\n \"Cambodia\",\n \"Cameroon\",\n \"Canada\",\n \"Cape Verde\",\n \"Cayman Islands\",\n // \"Central African Republic\",\n \"Chad\",\n \"Chile\",\n // \"China\",\n \"Christmas Island\",\n \"Cocos (keeling) Islands\",\n \"Colombia\",\n \"Comoros\",\n \"Congo\",\n // \"Congo, The Democratic Republic Of The\",\n \"Cook Islands\",\n \"Costa Rica\",\n \"Côte D'ivoire\",\n \"Croatia\",\n // \"Cuba\",\n \"Curaçao\",\n \"Cyprus\",\n \"Czech Republic\",\n \"Denmark\",\n \"Djibouti\",\n \"Dominica\",\n \"Dominican Republic\",\n \"Ecuador\",\n \"Egypt\",\n \"El Salvador\",\n \"Equatorial Guinea\",\n // \"Eritrea\",\n \"Estonia\",\n \"Ethiopia\",\n \"Falkland Islands (malvinas)\",\n \"Faroe Islands\",\n \"Fiji\",\n \"Finland\",\n \"France\",\n \"French Guiana\",\n \"French Polynesia\",\n \"French Southern Territories\",\n \"Gabon\",\n \"Gambia\",\n \"Georgia\",\n \"Germany\",\n \"Ghana\",\n \"Gibraltar\",\n \"Greece\",\n \"Greenland\",\n \"Grenada\",\n \"Guadeloupe\",\n \"Guam\",\n \"Guatemala\",\n \"Guernsey\",\n \"Guinea\",\n \"Guinea-bissau\",\n \"Guyana\",\n \"Haiti\",\n \"Heard Island And Mcdonald Islands\",\n \"Holy See (vatican City State)\",\n \"Honduras\",\n // \"Hong Kong\",\n \"Hungary\",\n \"Iceland\",\n \"India\",\n \"Indonesia\",\n // \"Iran, Islamic Republic Of\",\n // \"Iraq\",\n \"Ireland\",\n \"Isle Of Man\",\n \"Israel\",\n \"Italy\",\n \"Jamaica\",\n \"Japan\",\n \"Jersey\",\n \"Jordan\",\n \"Kazakhstan\",\n \"Kenya\",\n \"Kiribati\",\n \"Korea, Republic Of\",\n \"Kuwait\",\n \"Kyrgyzstan\",\n \"Lao People's Democratic Republic\",\n \"Latvia\",\n // \"Lebanon\",\n \"Lesotho\",\n // \"Liberia\",\n \"Libya\",\n \"Liechtenstein\",\n \"Lithuania\",\n \"Luxembourg\",\n \"Macao\",\n \"Macedonia, TheFormer Yugoslav Republic Of\",\n \"Madagascar\",\n \"Malawi\",\n \"Malaysia\",\n \"Maldives\",\n // \"Mali\",\n \"Malta\",\n \"Marshall Islands\",\n \"Martinique\",\n \"Mauritania\",\n \"Mauritius\",\n \"Mayotte\",\n \"Mexico\",\n \"Micronesia, Federated States Of\",\n \"Moldova, Republic Of\",\n \"Monaco\",\n \"Mongolia\",\n \"Montenegro\",\n \"Montserrat\",\n \"Morocco\",\n \"Mozambique\",\n // \"Myanmar\",\n \"Namibia\",\n \"Nauru\",\n \"Nepal\",\n \"Netherlands\",\n \"New Caledonia\",\n \"New Zealand\",\n // \"Nicaragua\",\n \"Niger\",\n \"Nigeria\",\n \"Niue\",\n \"Norfolk Island\",\n \"Northern Mariana Islands\",\n \"Norway\",\n \"Oman\",\n \"Pakistan\",\n \"Palau\",\n \"Palestine, State Of\",\n \"Panama\",\n \"Papua New Guinea\",\n \"Paraguay\",\n \"Peru\",\n \"Philippines\",\n \"Pitcairn\",\n \"Poland\",\n \"Portugal\",\n \"Puerto Rico\",\n \"Qatar\",\n \"Réunion\",\n \"Romania\",\n \"Rwanda\",\n \"Saint Barthélemy\",\n \"Saint Helena, Ascension And Tristan Da Cunha\",\n \"Saint Kitts And Nevis\",\n \"Saint Lucia\",\n \"Saint Martin (french Part)\",\n \"Saint Pierre And Miquelon\",\n \"Saint Vincent And The Grenadines\",\n \"Samoa\",\n \"San Marino\",\n \"Sao Tome And Principe\",\n \"Saudi Arabia\",\n \"Senegal\",\n \"Serbia\",\n \"Seychelles\",\n \"Sierra Leone\",\n \"Singapore\",\n \"Sint Maarten (dutch Part)\",\n \"Slovakia\",\n \"Slovenia\",\n \"Solomon Islands\",\n // \"Somalia\",\n \"South Africa\",\n \"South Georgia And The South Sandwich Islands\",\n // \"South Sudan\",\n \"Spain\",\n \"Sri Lanka\",\n \"Sudan\",\n \"Suriname\",\n \"Svalbard And Jan Mayen\",\n \"Swaziland\",\n \"Sweden\",\n \"Switzerland\",\n \"Taiwan, Province Of China\",\n \"Tajikistan\",\n \"Tanzania, United Republic Of\",\n \"Thailand\",\n \"Timor-leste\",\n \"Togo\",\n \"Tokelau\",\n \"Tonga\",\n \"Trinidad And Tobago\",\n \"Tunisia\",\n \"Turkmenistan\",\n \"Turks And Caicos Islands\",\n \"Tuvalu\",\n \"Uganda\",\n // \"Ukraine\",\n \"United Arab Emirates\",\n \"United Kingdom\",\n \"United States\",\n \"United States Minor Outlying Islands\",\n \"Uruguay\",\n \"Uzbekistan\",\n \"Vanuatu\",\n // \"Venezuela, Bolivarian Republic Of\",\n \"Viet Nam\",\n \"Virgin Islands, British\",\n \"Virgin Islands, U.s.\",\n \"Wallis And Futuna\",\n \"Western Sahara\",\n // \"Yemen\",\n \"Zambia\",\n // \"Zimbabwe\",\n];\n// const countryList = [\"United States\"];\n// const countryList = [\n// \"Afghanistan\",\n// \"Albania\",\n// \"Algeria\",\n// \"American Samoa\",\n// \"Andorra\",\n// \"Angola\",\n// \"Anguilla\",\n// \"Antarctica\",\n// \"Antigua and Barbuda\",\n// \"Argentina\",\n// \"Armenia\",\n// \"Aruba\",\n// \"Australia\",\n// \"Austria\",\n// \"Azerbaijan\",\n// \"Bahamas (the)\",\n// \"Bahrain\",\n// \"Bangladesh\",\n// \"Barbados\",\n// \"Belarus\",\n// \"Belgium\",\n// \"Belize\",\n// \"Benin\",\n// \"Bermuda\",\n// \"Bhutan\",\n// \"Bolivia (Plurinational State of)\",\n// \"Bonaire, Sint Eustatius and Saba\",\n// \"Bosnia and Herzegovina\",\n// \"Botswana\",\n// \"Bouvet Island\",\n// \"Brazil\",\n// \"British Indian Ocean Territory (the)\",\n// \"Brunei Darussalam\",\n// \"Bulgaria\",\n// \"Burkina Faso\",\n// \"Burundi\",\n// \"Cabo Verde\",\n// \"Cambodia\",\n// \"Cameroon\",\n// \"Canada\",\n// \"Cayman Islands (the)\",\n// \"Central African Republic (the)\",\n// \"Chad\",\n// \"Chile\",\n// \"China\",\n// \"Christmas Island\",\n// \"Cocos (Keeling) Islands (the)\",\n// \"Colombia\",\n// \"Comoros (the)\",\n// \"Congo (the Democratic Republic of the)\",\n// \"Congo (the)\",\n// \"Cook Islands (the)\",\n// \"Costa Rica\",\n// \"Croatia\",\n// \"Cuba\",\n// \"Curaçao\",\n// \"Cyprus\",\n// \"Czechia\",\n// \"Côte d'Ivoire\",\n// \"Denmark\",\n// \"Djibouti\",\n// \"Dominica\",\n// \"Dominican Republic (the)\",\n// \"Ecuador\",\n// \"Egypt\",\n// \"El Salvador\",\n// \"Equatorial Guinea\",\n// \"Eritrea\",\n// \"Estonia\",\n// \"Eswatini\",\n// \"Ethiopia\",\n// \"Falkland Islands (the) [Malvinas]\",\n// \"Faroe Islands (the)\",\n// \"Fiji\",\n// \"Finland\",\n// \"France\",\n// \"French Guiana\",\n// \"French Polynesia\",\n// \"French Southern Territories (the)\",\n// \"Gabon\",\n// \"Gambia (the)\",\n// \"Georgia\",\n// \"Germany\",\n// \"Ghana\",\n// \"Gibraltar\",\n// \"Greece\",\n// \"Greenland\",\n// \"Grenada\",\n// \"Guadeloupe\",\n// \"Guam\",\n// \"Guatemala\",\n// \"Guernsey\",\n// \"Guinea\",\n// \"Guinea-Bissau\",\n// \"Guyana\",\n// \"Haiti\",\n// \"Heard Island and McDonald Islands\",\n// \"Holy See (the)\",\n// \"Honduras\",\n// \"Hong Kong\",\n// \"Hungary\",\n// \"Iceland\",\n// \"India\",\n// \"Indonesia\",\n// \"Iran (Islamic Republic of)\",\n// \"Iraq\",\n// \"Ireland\",\n// \"Isle of Man\",\n// \"Israel\",\n// \"Italy\",\n// \"Jamaica\",\n// \"Japan\",\n// \"Jersey\",\n// \"Jordan\",\n// \"Kazakhstan\",\n// \"Kenya\",\n// \"Kiribati\",\n// \"Korea (the Democratic People's Republic of)\",\n// \"Korea (the Republic of)\",\n// \"Kuwait\",\n// \"Kyrgyzstan\",\n// \"Lao People's Democratic Republic (the)\",\n// \"Latvia\",\n// \"Lebanon\",\n// \"Lesotho\",\n// \"Liberia\",\n// \"Libya\",\n// \"Liechtenstein\",\n// \"Lithuania\",\n// \"Luxembourg\",\n// \"Macao\",\n// \"Madagascar\",\n// \"Malawi\",\n// \"Malaysia\",\n// \"Maldives\",\n// \"Mali\",\n// \"Malta\",\n// \"Marshall Islands (the)\",\n// \"Martinique\",\n// \"Mauritania\",\n// \"Mauritius\",\n// \"Mayotte\",\n// \"Mexico\",\n// \"Micronesia (Federated States of)\",\n// \"Moldova (the Republic of)\",\n// \"Monaco\",\n// \"Mongolia\",\n// \"Montenegro\",\n// \"Montserrat\",\n// \"Morocco\",\n// \"Mozambique\",\n// \"Myanmar\",\n// \"Namibia\",\n// \"Nauru\",\n// \"Nepal\",\n// \"Netherlands (the)\",\n// \"New Caledonia\",\n// \"New Zealand\",\n// \"Nicaragua\",\n// \"Niger (the)\",\n// \"Nigeria\",\n// \"Niue\",\n// \"Norfolk Island\",\n// \"Northern Mariana Islands (the)\",\n// \"Norway\",\n// \"Oman\",\n// \"Pakistan\",\n// \"Palau\",\n// \"Palestine, State of\",\n// \"Panama\",\n// \"Papua New Guinea\",\n// \"Paraguay\",\n// \"Peru\",\n// \"Philippines (the)\",\n// \"Pitcairn\",\n// \"Poland\",\n// \"Portugal\",\n// \"Puerto Rico\",\n// \"Qatar\",\n// \"Republic of North Macedonia\",\n// \"Romania\",\n// \"Russian Federation (the)\",\n// \"Rwanda\",\n// \"Réunion\",\n// \"Saint Barthélemy\",\n// \"Saint Helena, Ascension and Tristan da Cunha\",\n// \"Saint Kitts and Nevis\",\n// \"Saint Lucia\",\n// \"Saint Martin (French part)\",\n// \"Saint Pierre and Miquelon\",\n// \"Saint Vincent and the Grenadines\",\n// \"Samoa\",\n// \"San Marino\",\n// \"Sao Tome and Principe\",\n// \"Saudi Arabia\",\n// \"Senegal\",\n// \"Serbia\",\n// \"Seychelles\",\n// \"Sierra Leone\",\n// \"Singapore\",\n// \"Sint Maarten (Dutch part)\",\n// \"Slovakia\",\n// \"Slovenia\",\n// \"Solomon Islands\",\n// \"Somalia\",\n// \"South Africa\",\n// \"South Georgia and the South Sandwich Islands\",\n// \"South Sudan\",\n// \"Spain\",\n// \"Sri Lanka\",\n// \"Sudan (the)\",\n// \"Suriname\",\n// \"Svalbard and Jan Mayen\",\n// \"Sweden\",\n// \"Switzerland\",\n// \"Syrian Arab Republic\",\n// \"Taiwan\",\n// \"Tajikistan\",\n// \"Tanzania, United Republic of\",\n// \"Thailand\",\n// \"Timor-Leste\",\n// \"Togo\",\n// \"Tokelau\",\n// \"Tonga\",\n// \"Trinidad and Tobago\",\n// \"Tunisia\",\n// \"Turkey\",\n// \"Turkmenistan\",\n// \"Turks and Caicos Islands (the)\",\n// \"Tuvalu\",\n// \"Uganda\",\n// \"Ukraine\",\n// \"United Arab Emirates (the)\",\n// \"United Kingdom of Great Britain and Northern Ireland (the)\",\n// \"United States Minor Outlying Islands (the)\",\n// \"United States of America (the)\",\n// \"Uruguay\",\n// \"Uzbekistan\",\n// \"Vanuatu\",\n// \"Venezuela (Bolivarian Republic of)\",\n// \"Viet Nam\",\n// \"Virgin Islands (British)\",\n// \"Virgin Islands (U.S.)\",\n// \"Wallis and Futuna\",\n// \"Western Sahara\",\n// \"Yemen\",\n// \"Zambia\",\n// \"Zimbabwe\",\n// \"Åland Islands\",\n// ];\n// const list = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ];\nconst trustList = [\"Irrevocable Trust\", \"Revocable Trust\"];\n\n// const listOfCountries = countryList.map((s) => ({\n// name: s,\n// label: s.toLowerCase(),\n// }));\n\nconst listOfTrustTypes = trustList.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\n// const listOfStates = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ].map((s) => ({\n// name: s,\n// id: s.toLowerCase(),\n// }));\n\nconst css = (...args) => ({ className: emoCSS(...args) });\n\nconst Item = styled(\"li\")(\n {\n position: \"relative\",\n cursor: \"pointer\",\n display: \"block\",\n border: \"none\",\n height: \"auto\",\n textAlign: \"left\",\n borderTop: \"none\",\n lineHeight: \"1em\",\n color: \"#262A3D\",\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n textTransform: \"none\",\n fontWeight: \"400\",\n boxShadow: \"none\",\n padding: \".8rem 1.1rem\",\n whiteSpace: \"normal\",\n wordWrap: \"normal\",\n },\n ({ isActive, isSelected }) => {\n const styles = [];\n if (isActive) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n background: \"rgba(0,0,0,.03)\",\n });\n }\n if (isSelected) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n fontWeight: \"700\",\n });\n }\n return styles;\n }\n);\nconst onAttention = \" &:focus\";\nconst TransparentInput = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"3em\",\n height: \"56px\",\n background: \"#f7f7fa\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Input = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"2em\",\n height: \"56px\",\n background: \"#fff\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Label = styled(\"label\")({\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontWeight: \"normal\",\n display: \"block\",\n marginBottom: 10,\n});\n\nconst BaseMenu = styled(\"ul\")(\n {\n padding: 0,\n marginTop: 0,\n position: \"absolute\",\n backgroundColor: \"white\",\n width: \"100%\",\n zIndex: 7,\n maxHeight: \"20rem\",\n overflowY: \"auto\",\n overflowX: \"hidden\",\n outline: \"0\",\n transition: \"opacity .1s ease\",\n borderRadius: \"0 0 .28571429rem .28571429rem\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n borderColor: \"#0D47A1\",\n borderTopWidth: \"0\",\n borderRightWidth: 1,\n borderBottomWidth: 1,\n borderLeftWidth: 1,\n borderStyle: \"solid\",\n },\n ({ isOpen }) => ({\n border: isOpen ? null : \"none\",\n })\n);\n\nconst Menu = React.forwardRef((props, ref) => (\n \n));\n\nconst ControllerButton = styled(\"button\")({\n backgroundColor: \"transparent\",\n border: \"none\",\n position: \"absolute\",\n right: 0,\n top: 0,\n cursor: \"pointer\",\n width: 47,\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n});\n\nfunction ArrowIcon({ isOpen }) {\n return (\n \n \n \n );\n}\n\nfunction XIcon() {\n return (\n \n \n \n \n );\n}\n\nfunction getItems(filter) {\n return filter\n ? matchSorter(listOfTrustTypes, filter, {\n keys: [\"name\"],\n })\n : listOfTrustTypes;\n}\n\nfunction getStringItems(filter) {\n return getItems(filter).map(({ name }) => name);\n}\n\nfunction sleep(ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n}\n\nasync function getItemsAsync(filter, { reject }) {\n await sleep(Math.random() * 2000);\n if (reject) {\n // this is just so we can have examples that show what happens\n // when there's a request failure.\n throw new Error({ error: \"request rejected\" });\n }\n return getItems(filter);\n}\n\nconst itemToString = (i) => (i ? i.name : \"\");\n\nconst items = [\n \"Neptunium\",\n \"Plutonium\",\n \"Americium\",\n \"Curium\",\n \"Berkelium\",\n \"Californium\",\n \"Einsteinium\",\n \"Fermium\",\n \"Mendelevium\",\n \"Nobelium\",\n \"Lawrencium\",\n \"Rutherfordium\",\n \"Dubnium\",\n \"Seaborgium\",\n \"Bohrium\",\n \"Hassium\",\n \"Meitnerium\",\n \"Darmstadtium\",\n \"Roentgenium\",\n \"Copernicium\",\n \"Nihonium\",\n \"Flerovium\",\n \"Moscovium\",\n \"Livermorium\",\n \"Tennessine\",\n \"Oganesson\",\n];\n\nconst menuStyles = {\n maxHeight: 80,\n maxWidth: 150,\n overflowY: \"scroll\",\n backgroundColor: \"#eee\",\n padding: 0,\n listStyle: \"none\",\n position: \"relative\",\n};\n\nconst menuMultipleStyles = {\n maxHeight: \"180px\",\n overflowY: \"auto\",\n width: \"135px\",\n margin: 0,\n borderTop: 0,\n background: \"white\",\n position: \"absolute\",\n zIndex: 1000,\n listStyle: \"none\",\n padding: 0,\n left: \"340px\",\n};\n\nconst selectedItemStyles = {\n marginLeft: \"5px\",\n backgroundColor: \"aliceblue\",\n borderRadius: \"10px\",\n};\n\nconst selectedItemIconStyles = { cursor: \"pointer\" };\n\nconst comboboxStyles = { display: \"inline-block\", marginLeft: \"5px\" };\n\nconst comboboxWrapperStyles = {\n display: \"inline-flex\",\n flexWrap: \"wrap\",\n};\n\nexport {\n menuMultipleStyles,\n items,\n menuStyles,\n comboboxStyles,\n comboboxWrapperStyles,\n selectedItemIconStyles,\n selectedItemStyles,\n Menu,\n ControllerButton,\n Input,\n TransparentInput,\n Item,\n ArrowIcon,\n XIcon,\n Label,\n css,\n itemToString,\n getItems,\n getStringItems,\n getItemsAsync,\n};\n","import React, { useState, useEffect } from \"react\";\nimport { render } from \"react-dom\";\nimport Downshift from \"downshift\";\nimport {\n Label,\n Menu,\n ControllerButton,\n Input,\n TransparentInput,\n Item,\n ArrowIcon,\n XIcon,\n css,\n getStringItems,\n} from \"./shared.js\";\n\nfunction TrustAccountType({ value, setValue, placeholder, backgroundColor }) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\n placeholder ? placeholder : \"\"\n );\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n const handleStateChange = (changes) => {\n if (changes.hasOwnProperty(\"selectedItem\")) {\n setValue(changes.selectedItem);\n } else if (changes.hasOwnProperty(\"inputValue\")) {\n setValue(changes.inputValue);\n }\n };\n return (\n \n \n \n {({\n getLabelProps,\n getInputProps,\n getToggleButtonProps,\n getMenuProps,\n getItemProps,\n isOpen,\n clearSelection,\n selectedItem,\n inputValue,\n highlightedIndex,\n }) => (\n
    \n
    \n {backgroundColor ? (\n {...getToggleButtonProps()}}\n // onClick={() => setIsOpen(!isOpen)}\n />\n ) : (\n \n )}\n\n {selectedItem ? (\n \n \n \n ) : (\n \n \n \n )}\n
    \n
    \n \n {isOpen\n ? getStringItems(inputValue).map((item, index) => (\n \n {item}\n \n ))\n : null}\n \n
    \n
    \n )}\n
    \n \n
    \n );\n}\nexport default TrustAccountType;\n","import React, { useEffect } from \"react\";\nimport { css as emoCSS } from \"@emotion/css\";\nimport styled from \"@emotion/styled\";\nimport starWarsNames from \"starwars-names\";\nimport { matchSorter } from \"match-sorter\";\nimport { Global, css as newcss } from \"@emotion/react\";\nimport \"./StateInputStyles/StateInputStyles.css\";\n\nconst GlobalStyles = newcss`\n @import url(\"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap\");\n\n @font-face {\n font-family: \"Local Font\";\n src: url(\"fonts/DancingScript-Regular.ttf\");\n }\n\n * {\n text-align: center;\n }\n`;\n\nconst allItems = starWarsNames.all.map((s) => ({\n name: s,\n id: s.toLowerCase(),\n}));\nconst list = [\n \"Alabama\",\n \"Alaska\",\n \"American Samoa\",\n \"Arizona\",\n \"Arkansas\",\n \"California\",\n \"Colorado\",\n \"Connecticut\",\n \"Delaware\",\n \"District of Columbia\",\n \"Federated States of Micronesia\",\n \"Florida\",\n \"Georgia\",\n \"Guam\",\n \"Hawaii\",\n \"Idaho\",\n \"Illinois\",\n \"Indiana\",\n \"Iowa\",\n \"Kansas\",\n \"Kentucky\",\n \"Louisiana\",\n \"Maine\",\n \"Marshall Islands\",\n \"Maryland\",\n \"Massachusetts\",\n \"Michigan\",\n \"Minnesota\",\n \"Mississippi\",\n \"Missouri\",\n \"Montana\",\n \"Nebraska\",\n \"Nevada\",\n \"New Hampshire\",\n \"New Jersey\",\n \"New Mexico\",\n \"New York\",\n \"North Carolina\",\n \"North Dakota\",\n \"Northern Mariana Islands\",\n \"Ohio\",\n \"Oklahoma\",\n \"Oregon\",\n \"Palau\",\n \"Pennsylvania\",\n \"Puerto Rico\",\n \"Rhode Island\",\n \"South Carolina\",\n \"South Dakota\",\n \"Tennessee\",\n \"Texas\",\n \"Utah\",\n \"Vermont\",\n \"Virgin Island\",\n \"Virginia\",\n \"Washington\",\n \"West Virginia\",\n \"Wisconsin\",\n \"Wyoming\",\n];\n\nconst listOfStates = list.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\n// const listOfStates = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ].map((s) => ({\n// name: s,\n// id: s.toLowerCase(),\n// }));\n\nconst css = (...args) => ({ className: emoCSS(...args) });\n\nconst Item = styled(\"li\")(\n {\n position: \"relative\",\n cursor: \"pointer\",\n display: \"block\",\n border: \"none\",\n height: \"auto\",\n textAlign: \"left\",\n borderTop: \"none\",\n lineHeight: \"1em\",\n color: \"#262A3D\",\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n textTransform: \"none\",\n fontWeight: \"400\",\n boxShadow: \"none\",\n padding: \".8rem 1.1rem\",\n whiteSpace: \"normal\",\n wordWrap: \"normal\",\n },\n ({ isActive, isSelected }) => {\n const styles = [];\n if (isActive) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n background: \"rgba(0,0,0,.03)\",\n });\n }\n if (isSelected) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n fontWeight: \"700\",\n });\n }\n return styles;\n }\n);\nconst onAttention = \" &:focus\";\nconst Input = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"2em\",\n height: \"56px\",\n background: \"#fff\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Label = styled(\"label\")({\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontWeight: \"normal\",\n display: \"block\",\n marginBottom: 10,\n});\n\nconst BaseMenu = styled(\"ul\")(\n {\n padding: 0,\n marginTop: 0,\n position: \"absolute\",\n backgroundColor: \"white\",\n width: \"100%\",\n maxHeight: \"20rem\",\n overflowY: \"auto\",\n overflowX: \"hidden\",\n outline: \"0\",\n transition: \"opacity .1s ease\",\n borderRadius: \"0 0 .28571429rem .28571429rem\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n borderColor: \"#0D47A1\",\n borderTopWidth: \"0\",\n borderRightWidth: 1,\n borderBottomWidth: 1,\n borderLeftWidth: 1,\n borderStyle: \"solid\",\n },\n ({ isOpen }) => ({\n border: isOpen ? null : \"none\",\n })\n);\n\nconst Menu = React.forwardRef((props, ref) => (\n \n));\n\nconst ControllerButton = styled(\"button\")({\n backgroundColor: \"transparent\",\n border: \"none\",\n position: \"absolute\",\n right: 0,\n top: 0,\n cursor: \"pointer\",\n width: 47,\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n});\n\nfunction ArrowIcon({ isOpen }) {\n return (\n \n \n \n );\n}\n\nfunction XIcon() {\n return (\n \n \n \n \n );\n}\n\nfunction getItems(filter) {\n return filter\n ? matchSorter(listOfStates, filter, {\n keys: [\"name\"],\n })\n : listOfStates;\n}\n\nfunction getStringItems(filter) {\n return getItems(filter).map(({ name }) => name);\n}\n\nfunction sleep(ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n}\n\nasync function getItemsAsync(filter, { reject }) {\n await sleep(Math.random() * 2000);\n if (reject) {\n // this is just so we can have examples that show what happens\n // when there's a request failure.\n throw new Error({ error: \"request rejected\" });\n }\n return getItems(filter);\n}\n\nconst itemToString = (i) => (i ? i.name : \"\");\n\nconst items = [\n \"Neptunium\",\n \"Plutonium\",\n \"Americium\",\n \"Curium\",\n \"Berkelium\",\n \"Californium\",\n \"Einsteinium\",\n \"Fermium\",\n \"Mendelevium\",\n \"Nobelium\",\n \"Lawrencium\",\n \"Rutherfordium\",\n \"Dubnium\",\n \"Seaborgium\",\n \"Bohrium\",\n \"Hassium\",\n \"Meitnerium\",\n \"Darmstadtium\",\n \"Roentgenium\",\n \"Copernicium\",\n \"Nihonium\",\n \"Flerovium\",\n \"Moscovium\",\n \"Livermorium\",\n \"Tennessine\",\n \"Oganesson\",\n];\n\nconst menuStyles = {\n maxHeight: 80,\n maxWidth: 150,\n overflowY: \"scroll\",\n backgroundColor: \"#eee\",\n padding: 0,\n listStyle: \"none\",\n position: \"relative\",\n};\n\nconst menuMultipleStyles = {\n maxHeight: \"180px\",\n overflowY: \"auto\",\n width: \"135px\",\n margin: 0,\n borderTop: 0,\n background: \"white\",\n position: \"absolute\",\n zIndex: 1000,\n listStyle: \"none\",\n padding: 0,\n left: \"340px\",\n};\n\nconst selectedItemStyles = {\n marginLeft: \"5px\",\n backgroundColor: \"aliceblue\",\n borderRadius: \"10px\",\n};\n\nconst selectedItemIconStyles = { cursor: \"pointer\" };\n\nconst comboboxStyles = { display: \"inline-block\", marginLeft: \"5px\" };\n\nconst comboboxWrapperStyles = {\n display: \"inline-flex\",\n flexWrap: \"wrap\",\n};\n\nexport {\n menuMultipleStyles,\n items,\n menuStyles,\n comboboxStyles,\n comboboxWrapperStyles,\n selectedItemIconStyles,\n selectedItemStyles,\n Menu,\n ControllerButton,\n Input,\n Item,\n ArrowIcon,\n XIcon,\n Label,\n css,\n itemToString,\n getItems,\n getStringItems,\n getItemsAsync,\n};\n","import React, { useState, useEffect } from \"react\";\nimport { render } from \"react-dom\";\nimport Downshift from \"downshift\";\nimport {\n Label,\n Menu,\n ControllerButton,\n Input,\n Item,\n ArrowIcon,\n XIcon,\n css,\n getStringItems,\n} from \"./shared.js\";\n\nfunction StateInput({ value, setValue, placeholder, error }) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\n placeholder ? placeholder : \"\"\n );\n const [errorState, setErrorState] = useState(\"\");\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n setErrorState(error);\n }, [error]);\n\n const handleStateChange = (changes) => {\n if (changes.hasOwnProperty(\"selectedItem\")) {\n setValue(changes.selectedItem);\n } else if (changes.hasOwnProperty(\"inputValue\")) {\n setValue(changes.inputValue);\n }\n };\n return (\n \n \n \n {({\n getLabelProps,\n getInputProps,\n getToggleButtonProps,\n getMenuProps,\n getItemProps,\n isOpen,\n clearSelection,\n selectedItem,\n inputValue,\n highlightedIndex,\n }) => (\n
    \n
    \n \n {selectedItem ? (\n \n \n \n ) : (\n \n \n \n )}\n
    \n
    \n \n {isOpen\n ? getStringItems(inputValue).map((item, index) => (\n \n {item}\n \n ))\n : null}\n \n
    \n
    \n )}\n
    \n \n
    \n );\n}\nexport default StateInput;\n","import React, { useState, useEffect } from \"react\";\nimport InputField from \"../../../../../GlobalComponents/InputField/InputField.js\";\nimport PasswordField from \"../../../../../GlobalComponents/InputField/PasswordField/PasswordField.js\";\nimport PhoneNumberField from \"../../../../../GlobalComponents/InputField/PhoneNumberField/PhoneNumberField.js\";\nimport { Auth } from \"aws-amplify\";\nimport {\n isEmailValid,\n isPasswordValid,\n isPhoneNumberValid,\n isValidCountry,\n isValidTrustType,\n isValidState,\n} from \"../../../../../GlobalFunctions/globalFunctions.js\";\nimport { signupUser } from \"../../../../../Api/SignupApi.js\";\nimport \"./TrustSignupFormStyles/TrustSignupFormStyles.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/bootstrap.css\";\nimport CountryInput from \"../../../../../Components/GlobalComponents/CountryInput/CountryInput.js\";\nimport TrustAccountType from \"../../../../../Components/GlobalComponents/TrustAccountType/TrustAccountType.js\";\nimport StateInput from \"../../../../../Components/GlobalComponents/StateInput/StateInput.js\";\n\nfunction TrustSignupForm({\n navigation,\n setUserId,\n trustQualificationQ1,\n trustQualificationQ2,\n trustQualificationQ3,\n trustQualificationQ4,\n qualificationDate,\n confidentialityAgreementId,\n confidentialityAgreementDateSigned,\n termsAgreementId,\n termsAgreementDateSigned,\n email,\n setEmail,\n docSignatureName,\n}) {\n const firmName = 'test';\n\n const [signUpError, setSignUpError] = useState(\"\");\n const [loading, setLoading] = useState(false);\n\n const [trustAccountNameError, setTrustAccountNameError] = useState(\"\");\n const [trustAccountTypeError, setTrustAccountTypeError] = useState(\"\");\n const [countryOfFormationError, setCountryOfFormationError] = useState(\"\");\n const [firstNameError, setFirstNameError] = useState(\"\");\n const [lastNameError, setLastNameError] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n const [passwordError, setPasswordError] = useState(\"\");\n const [confirmPassword, setConfirmPassword] = useState(\"\");\n const [confirmPasswordError, setConfirmPasswordError] = useState(\"\");\n const [phoneNumberError, setPhoneNumberError] = useState(\"\");\n\n const [trustAccountName, setTrustAccountName] = useState(\"\");\n const [trustAccountType, setTrustAccountType] = useState(\"\");\n const [countryOfFormation, setCountryOfFormation] = useState(\"\");\n const [firstName, setFirstName] = useState(\"\");\n const [lastName, setLastName] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [phoneNumber, setPhoneNumber] = useState(\"\");\n const [countryOfResidence, setCountryOfResidence] = useState(\"\");\n const [countryOfResidenceError, setCountryOfResidenceError] = useState(\"\");\n const [buttonClicked, setButtonClicked] = useState(0);\n\n const [stateOfIncorporation, setStateOfIncorporation] = useState(\"\");\n const [stateOfIncorporationError, setStateOfIncorporationError] =\n useState(\"\");\n\n const [isUSCitizen, setIsUSCitizen] = useState(\"\");\n const [isUSCitizenError, setIsUSCitizenError] = useState(\"\");\n\n let history = useHistory();\n\n useEffect(() => {\n // console.log(\"Phone number is: \" + phoneNumber);\n }, [phoneNumber]);\n\n useEffect(() => {\n setTrustAccountNameError(\"\");\n }, [trustAccountName]);\n\n useEffect(() => {\n setTrustAccountTypeError(\"\");\n }, [trustAccountType]);\n\n useEffect(() => {\n setCountryOfFormationError(\"\");\n }, [countryOfFormation]);\n\n useEffect(() => {\n setFirstNameError(\"\");\n }, [firstName]);\n\n useEffect(() => {\n setLastNameError(\"\");\n }, [lastName]);\n\n useEffect(() => {\n setEmailError(\"\");\n }, [email]);\n\n useEffect(() => {\n setPasswordError(\"\");\n }, [password]);\n\n useEffect(() => {\n setConfirmPasswordError(\"\");\n }, [confirmPassword]);\n\n useEffect(() => {\n setPhoneNumberError(\"\");\n }, [phoneNumber]);\n\n useEffect(() => {\n setCountryOfResidenceError(\"\");\n // console.log(\"Country is: \" + countryOfResidence);\n }, [countryOfResidence]);\n\n useEffect(() => {\n setStateOfIncorporationError(\"\");\n }, [stateOfIncorporation]);\n\n useEffect(() => {\n setIsUSCitizenError(\"\");\n }, [isUSCitizen]);\n\n const submit = async () => {\n let isDataValid = true;\n\n if (trustAccountName.length === 0) {\n isDataValid = false;\n setTrustAccountNameError(\"Please enter a trust account name.\");\n }\n\n if (trustAccountType.length === 0) {\n isDataValid = false;\n setTrustAccountTypeError(\n \"Please select a valid trust account type from the dropdown\"\n );\n } else if (!isValidTrustType(trustAccountType)) {\n isDataValid = false;\n setTrustAccountTypeError(\n \"Please select a valid trust account from the dropdown.\"\n );\n }\n\n if (countryOfFormation.length === 0) {\n setCountryOfFormationError(\"Country is required.\");\n isDataValid = false;\n } else if (!isValidCountry(countryOfFormation)) {\n setCountryOfFormationError(\n \"Please select a valid country from the dropdown.\"\n );\n isDataValid = false;\n }\n\n if (countryOfFormation === \"United States\" && stateOfIncorporation === \"\") {\n isDataValid = false;\n setStateOfIncorporationError(\"Please select a state of incorporation.\");\n } else if (\n countryOfFormation === \"United States\" &&\n !isValidState(stateOfIncorporation)\n ) {\n isDataValid = false;\n setStateOfIncorporationError(\n \"Please select a valid state from the dropdown.\"\n );\n }\n\n const fullName = (\n firstName.toLowerCase() +\n \" \" +\n lastName.toLowerCase()\n ).trim();\n\n if (docSignatureName.toLowerCase() !== fullName.replace(/ +/g, \" \")) {\n setFirstNameError(\n \"Name entered does not match the name signed on the confidentiality agreement.\"\n );\n setLastNameError(\n \"Name entered does not match the name signed on the confidentiality agreement.\"\n );\n isDataValid = false;\n } else if (\n docSignatureName.toLowerCase() === fullName.replace(/ +/g, \" \")\n ) {\n setFirstNameError(\"\");\n setLastNameError(\"\");\n }\n\n if (firstName.replace(/ +/g, \" \").trim().length === 0) {\n setFirstNameError(\"Please enter a first name.\");\n isDataValid = false;\n }\n\n if (lastName.replace(/ +/g, \" \").trim().length === 0) {\n setLastNameError(\"Please enter a last name.\");\n isDataValid = false;\n }\n\n if (email.length === 0) {\n setEmailError(\"Please enter an email address.\");\n isDataValid = false;\n } else if (!isEmailValid(email)) {\n setEmailError(\"Please enter a valid email address.\");\n isDataValid = false;\n }\n\n if (password.length === 0) {\n setPasswordError(\"Please enter a password.\");\n isDataValid = false;\n } else if (!isPasswordValid(password)) {\n setPasswordError(\n \"Your password must be longer than 10 characters and contain at least one number, an uppercase, a lowercase, and a special character.\"\n );\n isDataValid = false;\n }\n\n if (confirmPassword !== password) {\n setConfirmPasswordError(\"Your passwords must match\");\n isDataValid = false;\n }\n if (countryOfResidence === \"\") {\n setCountryOfResidenceError(\"Country is required.\");\n isDataValid = false;\n } else if (!isValidCountry(countryOfResidence)) {\n setCountryOfResidenceError(\n \"Please select a valid country from the dropdown.\"\n );\n isDataValid = false;\n }\n\n if (countryOfResidence === \"United States\" && isUSCitizen === \"\") {\n isDataValid = false;\n setIsUSCitizenError(\"Please select a valid option from the dropdown\");\n }\n\n if (phoneNumber.length === 0) {\n setPhoneNumberError(\"Please enter a phone number.\");\n isDataValid = false;\n }\n\n if (!isDataValid) {\n return;\n } else {\n setLoading(true);\n try {\n const cognitoUser = await Auth.signUp({\n username: email,\n password: password,\n attributes: {\n email,\n },\n clientMetadata: {firm: firmName}\n });\n setUserId(cognitoUser.userSub);\n\n const newUser = {\n username: cognitoUser.userSub,\n email: email.toLowerCase(),\n first_name: firstName.replace(/ +/g, \" \").trim(),\n last_name: lastName.replace(/ +/g, \" \").trim(),\n phone_number: phoneNumber,\n country: countryOfResidence,\n signer_name: docSignatureName,\n confidentiality_agreement_id: confidentialityAgreementId,\n confidentiality_agreement_date_signed:\n confidentialityAgreementDateSigned,\n terms_of_agreement_id: termsAgreementId,\n terms_of_agreement_date_signed: termsAgreementDateSigned,\n account_type: \"TRT\",\n trust_q1_qp_5m_investments: trustQualificationQ1\n ? trustQualificationQ1 === \"Yes\"\n ? true\n : false\n : false,\n trust_q2_qp_owned_by_family: trustQualificationQ2\n ? trustQualificationQ2 === \"Yes\"\n ? true\n : false\n : false,\n trust_q3_qp_specific_purpose_invest_fund: trustQualificationQ3\n ? trustQualificationQ3 === \"Yes\"\n ? true\n : false\n : false,\n trust_q4_qp_trustee_grantor_qp: trustQualificationQ4\n ? trustQualificationQ4 === \"Yes\"\n ? true\n : false\n : false,\n qualification_date: qualificationDate,\n entity_legal_name: trustAccountName,\n entity_type: trustAccountType\n ? trustAccountType === \"Irrevocable Trust\"\n ? \"TRUST\"\n : trustAccountType === \"Revocable Trust\"\n ? \"LT\"\n : \"\"\n : \"\",\n country_of_formation: countryOfFormation,\n };\n\n await signupUser(newUser);\n // const cognitoUser = await Auth.signUp({\n // username: email,\n // password: password,\n // attributes: {\n // email,\n // },\n // });\n // setUserId(cognitoUser.userSub);\n\n // const newUser = {\n // username: cognitoUser.userSub,\n // email: email.toLowerCase(),\n // password: password,\n // first_name: firstName.charAt(0).toUpperCase() + firstName.slice(1),\n // last_name: lastName.charAt(0).toUpperCase() + lastName.slice(1),\n // investor_type: \"I\",\n // phone_number: phoneNumber,\n // confidentiality_agreement_id: confidentialityAgreementId,\n // confidentiality_agreement_date_signed:\n // confidentialityAgreementDateSigned,\n // terms_of_agreement_id: termsAgreementId,\n // terms_of_agreement_date_signed: termsAgreementDateSigned,\n // qualification_date: qualificationDate,\n // q1_qp_5m_investments: isQualifiedPurchaser,\n // q5_accredited_1m_networth: accreditionQuestionNetWorth,\n // q6_accredited_200k_individual_annual_income:\n // accreditionQuestionAnnualIncome,\n // q7_accredited_300k_joint_annual_income:\n // accreditionQuestionAnnualIncome,\n // q8_accredited_professional_license:\n // accreditionQuestionProfessionalLicense,\n // country: accreditionQuestionUSResident\n // ? \"United States\"\n // : \"United States\",\n // };\n // await signupUser(newUser);\n // console.log(\"Success.\");\n setLoading(false);\n } catch (err) {\n setLoading(false);\n setSignUpError(\"Sign up failed. Please try again.\");\n if (process.env.DEBUG) console.error(err);\n }\n navigation.next();\n }\n };\n return (\n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n navigation.previous()}\n style={{ cursor: \"pointer\" }}\n >\n \n \n \n
    \n
    \n
    \n
    \n
    \n Join Aqua\n
    \n
    \n
    \n
    \n \n Please fill out all the fields\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Trust Account Name\n \n
    \n
    \n \n Trust Type\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {trustAccountNameError && (\n \n {trustAccountNameError}\n \n )}\n
    \n
    \n {trustAccountTypeError && (\n \n {trustAccountTypeError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Country Of Formation\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n {countryOfFormationError && (\n \n {countryOfFormationError}\n \n )}\n
    \n
    \n
    \n
    \n {countryOfFormation === \"United States\" && (\n
    \n
    \n
    \n
    \n \n State Of Incorporation\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n {stateOfIncorporationError && (\n \n {stateOfIncorporationError}\n \n )}\n
    \n
    \n
    \n
    \n )}\n\n
    \n
    \n
    \n
    \n \n First Name\n \n
    \n
    \n \n Last Name\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {firstNameError && (\n \n {firstNameError}\n \n )}\n
    \n
    \n {lastNameError && (\n \n {lastNameError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Email\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n {emailError && (\n \n {emailError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Password\n \n
    \n
    \n \n Confirm Password\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {passwordError && (\n \n {passwordError}\n \n )}\n
    \n
    \n {confirmPasswordError && (\n \n {confirmPasswordError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Phone Number\n \n
    \n
    \n \n Country of Residence\n \n
    \n
    \n
    \n
    \n setPhoneNumber(phone)}\n style={{ width: \"100%\", height: \"inherit\" }}\n containerStyle={{ backgroundColor: \"#000000\" }}\n />\n
    \n
    \n \n
    \n
    \n
    \n
    \n {phoneNumberError && (\n \n {phoneNumberError}\n \n )}\n {signUpError && (\n \n {signUpError}\n \n )}\n
    \n
    \n {countryOfResidenceError && (\n \n {countryOfResidenceError}\n \n )}\n
    \n
    \n {countryOfResidence === \"United States\" && (\n
    \n
    \n
    \n \n Are you a U.S. Citizen?\n \n
    \n
    \n
    \n
    \n
    \n \n {\n setIsUSCitizen(true);\n }}\n />\n
    \n \n Yes\n \n \n
    \n
    \n \n {\n setIsUSCitizen(false);\n }}\n />\n
    \n \n No\n \n \n
    \n
    \n
    \n {isUSCitizenError && (\n \n {isUSCitizenError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n submit()}\n disabled={loading}\n >\n {loading && (\n
    \n
    \n \n Sign Up\n \n \n
    \n
    \n )}\n {!loading && Sign Up}\n \n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n );\n}\nexport default TrustSignupForm;\n","import React, { useState, useEffect } from \"react\";\nimport InputField from \"../../../../../GlobalComponents/InputField/InputField.js\";\nimport PasswordField from \"../../../../../GlobalComponents/InputField/PasswordField/PasswordField.js\";\nimport PhoneNumberField from \"../../../../../GlobalComponents/InputField/PhoneNumberField/PhoneNumberField.js\";\nimport { Auth } from \"aws-amplify\";\nimport {\n isEmailValid,\n isPasswordValid,\n isPhoneNumberValid,\n isValidCountry,\n isValidTrustType,\n isValidEntityType,\n} from \"../../../../../GlobalFunctions/globalFunctions.js\";\nimport { signupUser } from \"../../../../../Api/SignupApi.js\";\nimport \"./EntitySignupFormStyles/EntitySignupFormStyles.scss\";\nimport { useHistory } from \"react-router-dom\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/bootstrap.css\";\nimport CountryInput from \"../../../../../Components/GlobalComponents/CountryInput/CountryInput.js\";\nimport EntityAccountType from \"../../../../../Components/EntityAccountType/EntityAccountType.js\";\n\nfunction EntitySignupForm({\n navigation,\n setUserId,\n entityQualificationQ1,\n entityQualificationQ2,\n entityQualificationQ3,\n entityQualificationQ4,\n entityQualificationQ5,\n qualificationDate,\n confidentialityAgreementId,\n confidentialityAgreementDateSigned,\n termsAgreementId,\n termsAgreementDateSigned,\n email,\n setEmail,\n docSignatureName,\n}) {\n const firmName = 'test';\n\n const [signUpError, setSignUpError] = useState(\"\");\n const [loading, setLoading] = useState(false);\n\n const [entityAccountNameError, setEntityAccountNameError] = useState(\"\");\n const [entityAccountTypeError, setEntityAccountTypeError] = useState(\"\");\n const [countryOfFormationError, setCountryOfFormationError] = useState(\"\");\n const [firstNameError, setFirstNameError] = useState(\"\");\n const [lastNameError, setLastNameError] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n const [passwordError, setPasswordError] = useState(\"\");\n const [confirmPassword, setConfirmPassword] = useState(\"\");\n const [confirmPasswordError, setConfirmPasswordError] = useState(\"\");\n const [phoneNumberError, setPhoneNumberError] = useState(\"\");\n\n const [entityAccountName, setEntityAccountName] = useState(\"\");\n const [entityAccountType, setEntityAccountType] = useState(\"\");\n const [countryOfFormation, setCountryOfFormation] = useState(\"\");\n const [firstName, setFirstName] = useState(\"\");\n const [lastName, setLastName] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [phoneNumber, setPhoneNumber] = useState(\"\");\n const [countryOfResidence, setCountryOfResidence] = useState(\"\");\n const [countryOfResidenceError, setCountryOfResidenceError] = useState(\"\");\n\n let history = useHistory();\n\n useEffect(() => {\n // console.log(\"Phone number is: \" + phoneNumber);\n }, [phoneNumber]);\n\n useEffect(() => {\n setEntityAccountNameError(\"\");\n }, [entityAccountName]);\n\n useEffect(() => {\n setEntityAccountTypeError(\"\");\n }, [entityAccountType]);\n\n useEffect(() => {\n setCountryOfFormationError(\"\");\n }, [countryOfFormation]);\n\n useEffect(() => {\n setFirstNameError(\"\");\n }, [firstName]);\n\n useEffect(() => {\n setLastNameError(\"\");\n }, [lastName]);\n\n useEffect(() => {\n setEmailError(\"\");\n }, [email]);\n\n useEffect(() => {\n setPasswordError(\"\");\n }, [password]);\n\n useEffect(() => {\n setConfirmPasswordError(\"\");\n }, [confirmPassword]);\n\n useEffect(() => {\n setPhoneNumberError(\"\");\n }, [phoneNumber]);\n\n useEffect(() => {\n setCountryOfResidenceError(\"\");\n // console.log(\"Country is: \" + countryOfResidence);\n }, [countryOfResidence]);\n\n const submit = async () => {\n let isDataValid = true;\n\n if (entityAccountName.length === 0) {\n isDataValid = false;\n setEntityAccountNameError(\"Please enter an entity name.\");\n }\n\n if (entityAccountType.length === 0) {\n isDataValid = false;\n setEntityAccountTypeError(\n \"Please select a valid entity type from the dropdown\"\n );\n } else if (!isValidEntityType(entityAccountType)) {\n isDataValid = false;\n setEntityAccountTypeError(\n \"Please select a valid trust type from the dropdown.\"\n );\n }\n\n if (countryOfFormation.length === 0) {\n setCountryOfFormationError(\"Country is required.\");\n isDataValid = false;\n } else if (!isValidCountry(countryOfFormation)) {\n setCountryOfFormationError(\n \"Please select a valid country from the dropdown.\"\n );\n isDataValid = false;\n }\n\n const fullName = (\n firstName.toLowerCase() +\n \" \" +\n lastName.toLowerCase()\n ).trim();\n\n if (docSignatureName.toLowerCase() !== fullName.replace(/ +/g, \" \")) {\n setFirstNameError(\n \"Name entered does not match the name signed on the confidentiality agreement.\"\n );\n setLastNameError(\n \"Name entered does not match the name signed on the confidentiality agreement.\"\n );\n isDataValid = false;\n } else if (\n docSignatureName.toLowerCase() === fullName.replace(/ +/g, \" \")\n ) {\n setFirstNameError(\"\");\n setLastNameError(\"\");\n }\n\n if (firstName.replace(/ +/g, \" \").trim().length === 0) {\n setFirstNameError(\"Please enter a first name.\");\n isDataValid = false;\n }\n\n if (lastName.replace(/ +/g, \" \").trim().length === 0) {\n setLastNameError(\"Please enter a last name.\");\n isDataValid = false;\n }\n\n if (email.length === 0) {\n setEmailError(\"Please enter an email address.\");\n isDataValid = false;\n } else if (!isEmailValid(email)) {\n setEmailError(\"Please enter a valid email address.\");\n isDataValid = false;\n }\n\n if (password.length === 0) {\n setPasswordError(\"Please enter a password.\");\n isDataValid = false;\n } else if (!isPasswordValid(password)) {\n setPasswordError(\n \"Your password must be longer than 10 characters and contain at least one number, an uppercase, a lowercase, and a special character.\"\n );\n isDataValid = false;\n }\n\n if (confirmPassword !== password) {\n setConfirmPasswordError(\"Your passwords must match\");\n isDataValid = false;\n }\n if (countryOfResidence === \"\") {\n setCountryOfResidenceError(\"Country is required.\");\n isDataValid = false;\n } else if (!isValidCountry(countryOfResidence)) {\n setCountryOfResidenceError(\n \"Please select a valid country from the dropdown.\"\n );\n isDataValid = false;\n }\n\n if (phoneNumber.length === 0) {\n setPhoneNumberError(\"Please enter a phone number.\");\n isDataValid = false;\n }\n\n if (!isDataValid) {\n return;\n } else {\n setLoading(true);\n try {\n const cognitoUser = await Auth.signUp({\n username: email,\n password: password,\n attributes: {\n email,\n },\n clientMetadata: {firm: firmName}\n });\n setUserId(cognitoUser.userSub);\n\n const newUser = {\n username: cognitoUser.userSub,\n email: email.toLowerCase(),\n first_name: firstName.replace(/ +/g, \" \").trim(),\n last_name: lastName.replace(/ +/g, \" \").trim(),\n phone_number: phoneNumber,\n country: countryOfResidence,\n signer_name: docSignatureName,\n confidentiality_agreement_id: confidentialityAgreementId,\n confidentiality_agreement_date_signed:\n confidentialityAgreementDateSigned,\n terms_of_agreement_id: termsAgreementId,\n terms_of_agreement_date_signed: termsAgreementDateSigned,\n account_type: \"ENT\",\n entity_q1_qp_specific_purpose_invest_fund: entityQualificationQ1\n ? entityQualificationQ1 === \"Yes\"\n ? true\n : false\n : false,\n entity_q2_qp_5m_investments: entityQualificationQ2\n ? entityQualificationQ2 === \"Yes\"\n ? true\n : false\n : false,\n entity_q3_qp_owned_by_family: entityQualificationQ3\n ? entityQualificationQ3 === \"Yes\"\n ? true\n : false\n : false,\n entity_q4_qp_25m_investments: entityQualificationQ4\n ? entityQualificationQ4 === \"Yes\"\n ? true\n : false\n : false,\n entity_q5_qp_all_owners_qp: entityQualificationQ5\n ? entityQualificationQ5 === \"Yes\"\n ? true\n : false\n : false,\n qualification_date: qualificationDate,\n entity_legal_name: entityAccountName,\n entity_type: entityAccountType\n ? entityAccountType === \"LLC\"\n ? \"LLC\"\n : entityAccountType === \"Limited Partnership\"\n ? \"LP\"\n : entityAccountType === \"C Corporation\"\n ? \"C-CORP\"\n : entityAccountType === \"S Corporation\"\n ? \"S-CORP\"\n : entityAccountType === \"General Partnership\"\n ? \"GP\"\n : entityAccountType === \"Foreign Entity\"\n ? \"FE\"\n : \"\"\n : \"\",\n country_of_formation: countryOfFormation,\n };\n\n await signupUser(newUser);\n // const cognitoUser = await Auth.signUp({\n // username: email,\n // password: password,\n // attributes: {\n // email,\n // },\n // });\n // setUserId(cognitoUser.userSub);\n\n // const newUser = {\n // username: cognitoUser.userSub,\n // email: email.toLowerCase(),\n // password: password,\n // first_name: firstName.charAt(0).toUpperCase() + firstName.slice(1),\n // last_name: lastName.charAt(0).toUpperCase() + lastName.slice(1),\n // investor_type: \"I\",\n // phone_number: phoneNumber,\n // confidentiality_agreement_id: confidentialityAgreementId,\n // confidentiality_agreement_date_signed:\n // confidentialityAgreementDateSigned,\n // terms_of_agreement_id: termsAgreementId,\n // terms_of_agreement_date_signed: termsAgreementDateSigned,\n // qualification_date: qualificationDate,\n // q1_qp_5m_investments: isQualifiedPurchaser,\n // q5_accredited_1m_networth: accreditionQuestionNetWorth,\n // q6_accredited_200k_individual_annual_income:\n // accreditionQuestionAnnualIncome,\n // q7_accredited_300k_joint_annual_income:\n // accreditionQuestionAnnualIncome,\n // q8_accredited_professional_license:\n // accreditionQuestionProfessionalLicense,\n // country: accreditionQuestionUSResident\n // ? \"United States\"\n // : \"United States\",\n // };\n // await signupUser(newUser);\n // console.log(\"Success.\");\n setLoading(false);\n } catch (err) {\n setLoading(false);\n setSignUpError(\"Sign up failed. Please try again.\");\n if (process.env.DEBUG) console.error(err);\n }\n navigation.next();\n }\n };\n return (\n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n navigation.previous()}\n style={{ cursor: \"pointer\" }}\n >\n \n \n \n
    \n
    \n
    \n
    \n
    \n Join Aqua\n
    \n
    \n
    \n
    \n \n Please fill out all the fields\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Entity Name\n \n
    \n
    \n \n Entity Type\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {entityAccountNameError && (\n \n {entityAccountNameError}\n \n )}\n
    \n
    \n {entityAccountTypeError && (\n \n {entityAccountTypeError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Country Of Formation\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n {countryOfFormationError && (\n \n {countryOfFormationError}\n \n )}\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n \n First Name\n \n
    \n
    \n \n Last Name\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {firstNameError && (\n \n {firstNameError}\n \n )}\n
    \n
    \n {lastNameError && (\n \n {lastNameError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Email\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n {emailError && (\n \n {emailError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Password\n \n
    \n
    \n \n Confirm Password\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n {passwordError && (\n \n {passwordError}\n \n )}\n
    \n
    \n {confirmPasswordError && (\n \n {confirmPasswordError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Phone Number\n \n
    \n
    \n \n Country of Residence\n \n
    \n
    \n
    \n
    \n setPhoneNumber(phone)}\n style={{ width: \"100%\", height: \"inherit\" }}\n containerStyle={{\n backgroundColor: \"#000000\",\n border: \"1px solid #dadde1\",\n }}\n />\n
    \n
    \n \n
    \n
    \n
    \n
    \n {phoneNumberError && (\n \n {phoneNumberError}\n \n )}\n {signUpError && (\n \n {signUpError}\n \n )}\n
    \n
    \n {countryOfResidenceError && (\n \n {countryOfResidenceError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n submit()}\n disabled={loading}\n >\n {loading && (\n
    \n
    \n \n Sign Up\n \n \n
    \n
    \n )}\n {!loading && Sign Up}\n \n
    \n
    \n
    \n history.push(\"/login\")}\n >\n or Sign In\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n );\n}\nexport default EntitySignupForm;\n","import React, { useEffect } from \"react\";\nimport IndividualSignupForm from \"./IndividualSignupForm/IndividualSignupForm\";\nimport TrustSignupForm from \"./TrustSignupForm/TrustSignupForm\";\nimport EntitySignupForm from \"./EntitySignupForm/EntitySignupForm\";\n\nfunction AccountSignupFormSection({\n navigation,\n setUserId,\n accountTypeIndividual,\n accountTypeTrust,\n accountTypeEntity,\n accountTypeRetirement,\n accountTypeJoint,\n individual5mInvestments,\n trustQualificationQ1,\n trustQualificationQ2,\n trustQualificationQ3,\n trustQualificationQ4,\n entityQualificationQ1,\n entityQualificationQ2,\n entityQualificationQ3,\n entityQualificationQ4,\n entityQualificationQ5,\n qualificationDate,\n confidentialityAgreementId,\n confidentialityAgreementDateSigned,\n termsAgreementId,\n termsAgreementDateSigned,\n email,\n setEmail,\n docSignatureName,\n}) {\n useEffect(() => {\n // console.log(\"Account individual is: \" + accountTypeIndividual);\n // console.log(\"Account trust is: \" + accountTypeTrust);\n }, []);\n return (accountTypeIndividual||accountTypeJoint) ? (\n \n ) : accountTypeTrust ? (\n \n ) : accountTypeEntity ? (\n \n ) : null;\n}\nexport default AccountSignupFormSection;\n","import React, { useState, useEffect } from \"react\";\nimport { useForm, useStep } from \"react-hooks-helper\";\nimport QualifiedPurchaserQuestionnaireSection from \"./QualifiedPurchaserQuestionnaireSection/QualifiedPurchaserQuestionnaireSection.js\";\nimport ConfidentialityAgreementSection from \"./ConfidentialityAgreementSection/ConfidentialityAgreementSection.js\";\nimport TermsAndAgreementSection from \"./TermsAndAgreementSection/TermsAndAgreementSection.js\";\nimport SignupFormSection from \"./SignupFormSection/SignupFormSection.js\";\nimport VerificationSection from \"./VerificationSection/VerificationSection.js\";\nimport AccreditedInvestorQuestionnaireSection from \"./AccreditedInvestorQuestionnaireSection/AccreditedInvestorQuestionnaireSection.js\";\nimport AccountTypeSection from \"./AccountTypeSection/AccountTypeSection.js\";\nimport QualificationSection from \"./QualificationSection/QualificationSection.js\";\nimport AccountSignupFormSection from \"./AccountSignupFormSection/AccountSignupFormSection.js\";\nimport { getDateUTC } from \"../../../GlobalFunctions/globalFunctions.js\";\n\nfunction SignupPage() {\n const steps = [\n { id: \"accountTypeSection\" },\n { id: \"qualificationSection\" },\n { id: \"confidentialityAgreement\" },\n { id: \"termsAgreement\" },\n { id: \"accountSignupFormSection\" },\n { id: \"verificationPage\" },\n ];\n const [email, setEmail] = useState(\"\");\n const [userId, setUserId] = useState(\"\");\n const [docSignatureName, setDocSignatureName] = useState(\"\");\n // const [selection1, setSelection1] = useState(false);\n // const [selection2, setSelection2] = useState(false);\n const [accountTypeIndividual, setAccountTypeIndividual] = useState(false);\n const [accountTypeTrust, setAccountTypeTrust] = useState(false);\n const [accountTypeEntity, setAccountTypeEntity] = useState(false);\n const [accountTypeRetirement, setAccountTypeRetirement] = useState(false);\n const [accountTypeJoint, setAccountTypeJoint] = useState(false);\n const [trustQualificationQ1, setTrustQualificationQ1] = useState(\"\");\n const [trustQualificationQ2, setTrustQualificationQ2] = useState(\"\");\n const [trustQualificationQ3, setTrustQualificationQ3] = useState(\"\");\n const [trustQualificationQ4, setTrustQualificationQ4] = useState(\"\");\n const [entityQualificationQ1, setEntityQualificationQ1] = useState(\"\");\n const [entityQualificationQ2, setEntityQualificationQ2] = useState(\"\");\n const [entityQualificationQ3, setEntityQualificationQ3] = useState(\"\");\n const [entityQualificationQ4, setEntityQualificationQ4] = useState(\"\");\n const [entityQualificationQ5, setEntityQualificationQ5] = useState(\"\");\n // const [isQualifiedPurchaser, setIsQualifiedPurchaser] = useState(false);\n const [confidentialityAgreed, setConfidentialityAgreed] = useState(false);\n const [confidentialityAgreementId, setConfidentialityAgreementId] =\n useState(\"\");\n const [\n confidentialityAgreementDateSigned,\n setConfidentialityAgreementDateSigned,\n ] = useState(\"\");\n const [qualificationDate, setQualificationDate] = useState(\"\");\n const [termsAgreed, setTermsAgreed] = useState(false);\n const [termsAgreementId, setTermsAgreementId] = useState(\"\");\n const [termsAgreementDateSigned, setTermsAgreementDateSigned] = useState(\"\");\n\n const [individual5mInvestments, setIndividual5mInvestments] = useState(false);\n const [individualNot5mInvestments, setIndividualNot5mInvestments] =\n useState(false);\n\n // useEffect(() => {\n // console.log(\"Doc signature name is: \" + docSignatureName);\n // }, [docSignatureName]);\n\n const { step, navigation } = useStep({\n steps,\n initialStep: 0,\n });\n\n // useEffect(() => {\n // if (selection1) {\n // setIsQualifiedPurchaser(true);\n // } else {\n // setIsQualifiedPurchaser(false);\n // }\n // }, [selection1]);\n\n useEffect(() => {\n if (confidentialityAgreed) {\n var utcDate = getDateUTC();\n setConfidentialityAgreementDateSigned(utcDate.toISOString());\n } else {\n setConfidentialityAgreementDateSigned(\"\");\n }\n }, [confidentialityAgreed]);\n\n useEffect(() => {\n if (termsAgreed) {\n var utcDate = getDateUTC();\n setTermsAgreementDateSigned(utcDate.toISOString());\n } else {\n setTermsAgreementDateSigned(\"\");\n }\n }, [termsAgreed]);\n\n switch (step.id) {\n case \"accountTypeSection\":\n return (\n \n );\n case \"qualificationSection\":\n return (\n \n );\n case \"confidentialityAgreement\":\n return (\n \n );\n case \"termsAgreement\":\n return (\n \n );\n case \"accountSignupFormSection\":\n return (\n \n );\n case \"verificationPage\":\n return (\n \n );\n default:\n return (\n \n );\n }\n}\nexport default SignupPage;\n","import React from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\n\nfunction ProfileHeader() {\n return (\n \n
    My Profile
    \n {/*
    \n Feel free to edit your information\n
    */}\n
    \n );\n}\n\nexport default ProfileHeader;\n","import React from \"react\";\n\nexport const isNumber = (number) => {\n const regEx = /^[0-9()\\s-]*$/;\n return regEx.test(number);\n};\n\nexport const isValidInvestmentNumber = (number) => {\n if (number === \"\" || number === \"$\") {\n return true;\n }\n const regEx = /^[$]?[+-]?[0-9]{1,3}(?:,?[0-9]{3})*(?:\\.[0-9]{2})?$/;\n return regEx.test(number);\n};\n\nexport const isValidPhoneNumber = (number) => {\n const regEx = /^((\\(\\d{3}\\) ?)|(\\d{3}-))?\\d{3}-\\d{4}$/;\n return regEx.test(number);\n};\n\nexport const isEmailValid = (email) => {\n const re =\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(String(email).toLowerCase());\n};\n\nexport const isDobValid = (dob) => {\n const re = /^(0[1-9]|1[0-2])-(0[1-9]|1\\d|2\\d|3[01])-(19|20)\\d{2}$/;\n return re.test(String(dob).toLocaleLowerCase());\n};\n\nexport const isValidSSN = (ssn) => {\n const re = /^(?!000|666)[0-9]{3}([ -])(?!00)[0-9]{2}\\1(?!0000)[0-9]{4}$/;\n return re.test(String(ssn).toLowerCase());\n};\n\nexport const isValidCountry = (country) => {\n let countryList = [\n \"Afghanistan\",\n \"Åland Islands\",\n // ('Afghanistan', 'Afghanistan'),\n // ('Åland Islands', 'Åland Islands'),\n \"Albania\",\n \"Algeria\",\n \"American Samoa\",\n \"Andorra\",\n \"Angola\",\n \"Anguilla\",\n \"Antarctica\",\n \"Antigua And Barbuda\",\n \"Argentina\",\n \"Armenia\",\n \"Aruba\",\n \"Australia\",\n \"Austria\",\n \"Azerbaijan\",\n \"Bahamas\",\n \"Bahrain\",\n \"Bangladesh\",\n \"Barbados\",\n \"Belarus\",\n \"Belgium\",\n \"Belize\",\n \"Benin\",\n \"Bermuda\",\n \"Bhutan\",\n \"Bolivia, Plurinational State Of\",\n \"Bonaire, Sint Eustatius And Saba\",\n \"Bosnia And Herzegovina\",\n \"Botswana\",\n \"Bouvet Island\",\n \"Brazil\",\n \"British Indian Ocean Territory\",\n \"Brunei Darussalam\",\n \"Bulgaria\",\n \"Burkina Faso\",\n \"Burundi\",\n \"Cambodia\",\n \"Cameroon\",\n \"Canada\",\n \"Cape Verde\",\n \"Cayman Islands\",\n \"Central African Republic\",\n \"Chad\",\n \"Chile\",\n \"China\",\n \"Christmas Island\",\n \"Cocos (keeling) Islands\",\n \"Colombia\",\n \"Comoros\",\n \"Congo\",\n \"Congo, The Democratic Republic Of The\",\n \"Cook Islands\",\n \"Costa Rica\",\n \"Côte D'ivoire\",\n \"Croatia\",\n \"Cuba\",\n \"Curaçao\",\n \"Cyprus\",\n \"Czech Republic\",\n \"Denmark\",\n \"Djibouti\",\n \"Dominica\",\n \"Dominican Republic\",\n \"Ecuador\",\n \"Egypt\",\n \"El Salvador\",\n \"Equatorial Guinea\",\n \"Eritrea\",\n \"Estonia\",\n \"Ethiopia\",\n \"Falkland Islands (malvinas)\",\n \"Faroe Islands\",\n \"Fiji\",\n \"Finland\",\n \"France\",\n \"French Guiana\",\n \"French Polynesia\",\n \"French Southern Territories\",\n \"Gabon\",\n \"Gambia\",\n \"Georgia\",\n \"Germany\",\n \"Ghana\",\n \"Gibraltar\",\n \"Greece\",\n \"Greenland\",\n \"Grenada\",\n \"Guadeloupe\",\n \"Guam\",\n \"Guatemala\",\n \"Guernsey\",\n \"Guinea\",\n \"Guinea-bissau\",\n \"Guyana\",\n \"Haiti\",\n \"Heard Island And Mcdonald Islands\",\n \"Holy See (vatican City State)\",\n \"Honduras\",\n \"Hong Kong\",\n \"Hungary\",\n \"Iceland\",\n \"India\",\n \"Indonesia\",\n \"Iran, Islamic Republic Of\",\n \"Iraq\",\n \"Ireland\",\n \"Isle Of Man\",\n \"Israel\",\n \"Italy\",\n \"Jamaica\",\n \"Japan\",\n \"Jersey\",\n \"Jordan\",\n \"Kazakhstan\",\n \"Kenya\",\n \"Kiribati\",\n \"Korea, Republic Of\",\n \"Kuwait\",\n \"Kyrgyzstan\",\n \"Lao People's Democratic Republic\",\n \"Latvia\",\n \"Lebanon\",\n \"Lesotho\",\n \"Liberia\",\n \"Libya\",\n \"Liechtenstein\",\n \"Lithuania\",\n \"Luxembourg\",\n \"Macao\",\n \"Macedonia, TheFormer Yugoslav Republic Of\",\n \"Madagascar\",\n \"Malawi\",\n \"Malaysia\",\n \"Maldives\",\n \"Mali\",\n \"Malta\",\n \"Marshall Islands\",\n \"Martinique\",\n \"Mauritania\",\n \"Mauritius\",\n \"Mayotte\",\n \"Mexico\",\n \"Micronesia, Federated States Of\",\n \"Moldova, Republic Of\",\n \"Monaco\",\n \"Mongolia\",\n \"Montenegro\",\n \"Montserrat\",\n \"Morocco\",\n \"Mozambique\",\n \"Myanmar\",\n \"Namibia\",\n \"Nauru\",\n \"Nepal\",\n \"Netherlands\",\n \"New Caledonia\",\n \"New Zealand\",\n \"Nicaragua\",\n \"Niger\",\n \"Nigeria\",\n \"Niue\",\n \"Norfolk Island\",\n \"Northern Mariana Islands\",\n \"Norway\",\n \"Oman\",\n \"Pakistan\",\n \"Palau\",\n \"Palestine, State Of\",\n \"Panama\",\n \"Papua New Guinea\",\n \"Paraguay\",\n \"Peru\",\n \"Philippines\",\n \"Pitcairn\",\n \"Poland\",\n \"Portugal\",\n \"Puerto Rico\",\n \"Qatar\",\n \"Réunion\",\n \"Romania\",\n \"Rwanda\",\n \"Saint Barthélemy\",\n \"Saint Helena, Ascension And Tristan Da Cunha\",\n \"Saint Kitts And Nevis\",\n \"Saint Lucia\",\n \"Saint Martin (french Part)\",\n \"Saint Pierre And Miquelon\",\n \"Saint Vincent And The Grenadines\",\n \"Samoa\",\n \"San Marino\",\n \"Sao Tome And Principe\",\n \"Saudi Arabia\",\n \"Senegal\",\n \"Serbia\",\n \"Seychelles\",\n \"Sierra Leone\",\n \"Singapore\",\n \"Sint Maarten (dutch Part)\",\n \"Slovakia\",\n \"Slovenia\",\n \"Solomon Islands\",\n \"Somalia\",\n \"South Africa\",\n \"South Georgia And The South Sandwich Islands\",\n \"South Sudan\",\n \"Spain\",\n \"Sri Lanka\",\n \"Sudan\",\n \"Suriname\",\n \"Svalbard And Jan Mayen\",\n \"Swaziland\",\n \"Sweden\",\n \"Switzerland\",\n \"Taiwan, Province Of China\",\n \"Tajikistan\",\n \"Tanzania, United Republic Of\",\n \"Thailand\",\n \"Timor-leste\",\n \"Togo\",\n \"Tokelau\",\n \"Tonga\",\n \"Trinidad And Tobago\",\n \"Tunisia\",\n \"Turkmenistan\",\n \"Turks And Caicos Islands\",\n \"Tuvalu\",\n \"Uganda\",\n \"Ukraine\",\n \"United Arab Emirates\",\n \"United Kingdom\",\n \"United States\",\n \"United States Minor Outlying Islands\",\n \"Uruguay\",\n \"Uzbekistan\",\n \"Vanuatu\",\n \"Venezuela, Bolivarian Republic Of\",\n \"Viet Nam\",\n \"Virgin Islands, British\",\n \"Virgin Islands, U.s.\",\n \"Wallis And Futuna\",\n \"Western Sahara\",\n \"Yemen\",\n \"Zambia\",\n \"Zimbabwe\",\n ];\n\n let isValidCountryChoice = false;\n countryList.forEach((countryChoice) => {\n if (country === countryChoice) {\n isValidCountryChoice = true;\n }\n });\n\n return isValidCountryChoice;\n};\n\nexport const titleCase = (unformattedString) => {\n return unformattedString\n .split(/ /g)\n .map((word) => `${word.substring(0, 1).toUpperCase()}${word.substring(1)}`)\n .join(\" \");\n};\n\nexport const poll = ({ fn, interval, maxAttempts, setResultState }) => {\n let attempts = 0;\n\n const executePoll = async (resolve, reject) => {\n attempts++;\n try {\n const result = await fn(attempts);\n if (maxAttempts && attempts >= maxAttempts) {\n setResultState(\"MR\");\n return resolve(\"MR\");\n } else if (\n result.data !== null &&\n result.data !== undefined &&\n result.data.msg !== null &&\n result.data.msg !== undefined &&\n (result.data.msg === \"F\" ||\n result.data.msg === \"P\" ||\n result.data.msg === \"S\")\n ) {\n setResultState(result.data.msg);\n return resolve(result.data.msg);\n } else if (\n result.data !== null &&\n result.data !== undefined &&\n result.data.msg !== null &&\n result.data.msg !== undefined &&\n result.data.msg === \"NF\"\n ) {\n setResultState(result.data.msg);\n setTimeout(executePoll, interval, resolve, reject);\n }\n } catch (err) {\n console.log(err);\n setResultState(\"E\");\n }\n };\n\n return new Promise(executePoll);\n};\n\nexport const pollDocs = ({ fn, interval, maxAttempts, setResultState }) => {\n let attempts = 0;\n\n const executePoll = async (resolve, reject) => {\n attempts++;\n try {\n const result = await fn(attempts);\n if (maxAttempts && attempts >= maxAttempts) {\n setResultState(\"MR\");\n return resolve(\"MR\");\n } else if (\n result.data !== null &&\n result.data !== undefined &&\n result.data.msg !== null &&\n result.data.msg !== undefined &&\n (result.data.msg === \"No subdoc exists.\" ||\n result.data.msg === \"Enqueued\" || result.data.msg === \"Waiting\")\n ) {\n setResultState(result.data.msg);\n setTimeout(executePoll, interval, resolve, reject);\n } else if (\n result.data !== null &&\n result.data !== undefined &&\n result.data.msg !== null &&\n result.data.msg !== undefined\n ) {\n setResultState(result.data.msg);\n return resolve(result.data.msg);\n }\n } catch (err) {\n console.log(err);\n setResultState(\"E\");\n }\n };\n\n return new Promise(executePoll);\n};\n\nexport const pollSignatureCompletion = ({\n fn,\n interval,\n maxAttempts,\n setResultState,\n}) => {\n let attempts = 0;\n\n const executePoll = async (resolve, reject) => {\n attempts++;\n\n try {\n const result = await fn(attempts);\n if (maxAttempts && attempts >= maxAttempts) {\n setResultState(\"MR\");\n return resolve(\"MR\");\n } else if (\n result.data !== null &&\n result.data !== undefined &&\n result.data.msg !== null &&\n result.data.msg !== undefined &&\n result.data.msg === \"Pending\"\n ) {\n setResultState(result.data.msg);\n setTimeout(executePoll, interval, resolve, reject);\n } else if (\n result.data !== null &&\n result.data !== undefined &&\n result.data.msg !== null &&\n result.data.msg !== undefined &&\n result.data.msg === \"Signed\"\n ) {\n setResultState(result.data.msg);\n return resolve(result.data.msg);\n }\n } catch (err) {\n console.log(err);\n setResultState(\"E\");\n }\n };\n\n return new Promise(executePoll);\n};\n","import React, { useState, useEffect, useContext } from \"react\";\nimport \"./ProfileBasicInfoStyles/ProfileBasicInfoStyles.css\";\nimport \"react-minimal-side-navigation/lib/ReactMinimalSideNavigation.css\";\nimport {\n isValidPhoneNumber,\n isEmailValid,\n} from \"../../../Functions/functions.js\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\nimport {\n updateBasicProfileInfo,\n verifyUserProfile,\n} from \"../../../Api/ProfileApi.js\";\nimport StyledTextInputField from \"../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport \"react-phone-input-2/lib/bootstrap.css\";\n\nfunction ProfileBasicInfo() {\n const { user, setUser } = useContext(UserContext);\n\n const [firstNameError, setFirstNameError] = useState(\"\");\n const [lastNameError, setLastNameError] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n const [phoneNumberError, setPhoneNumberError] = useState(\"\");\n const [firstName, setFirstName] = useState(\"\");\n const [lastName, setLastName] = useState(\"\");\n const [email, setEmail] = useState(\"\");\n const [phoneNumber, setPhoneNumber] = useState(\"\");\n\n useEffect(() => {\n setFirstName(user ? user.investorSummaryData.first_name : \"\");\n setLastName(user ? user.investorSummaryData.last_name : \"\");\n setEmail(user ? user.investorSummaryData.email : \"\");\n setPhoneNumber(user ? user.investorSummaryData.phone_number : \"\");\n }, [user]);\n\n useEffect(() => {\n setFirstNameError(\"\");\n }, [firstName]);\n\n useEffect(() => {\n setLastNameError(\"\");\n }, [lastName]);\n\n useEffect(() => {\n setEmailError(\"\");\n }, [email]);\n\n useEffect(() => {\n setPhoneNumberError(\"\");\n }, [phoneNumber]);\n\n const submit = async () => {\n var basicProfileInfo = {};\n var errorPresent = false;\n var changesDetected = false;\n var requireVerification = false;\n\n if (firstName.length === 0) {\n setFirstNameError(\"This field is required.\");\n errorPresent = true;\n } else if (firstName !== user.investorSummaryData.first_name) {\n basicProfileInfo.first_name = firstName;\n requireVerification = true;\n changesDetected = true;\n }\n if (lastName.length === 0) {\n setLastNameError(\"This field is required.\");\n errorPresent = true;\n } else if (lastName !== user.investorSummaryData.last_name) {\n basicProfileInfo.last_name = lastName;\n requireVerification = true;\n changesDetected = true;\n }\n if (email.length === 0) {\n setEmailError(\"This field is required.\");\n errorPresent = true;\n } else if (!isEmailValid(email)) {\n setEmailError(\"Please enter a valid email.\");\n errorPresent = true;\n } else if (email !== user.investorSummaryData.email) {\n basicProfileInfo.email = email;\n changesDetected = true;\n }\n if (phoneNumber.length === 0) {\n setPhoneNumberError(\"This field is required.\");\n errorPresent = true;\n } else if (!isValidPhoneNumber(phoneNumber)) {\n setPhoneNumberError(\"Please enter a valid phone number.\");\n errorPresent = true;\n } else if (phoneNumber !== user.investorSummaryData.phone_number) {\n basicProfileInfo.phone_number = phoneNumber;\n changesDetected = true;\n }\n\n if (errorPresent || !changesDetected) {\n return;\n } else {\n try {\n await updateBasicProfileInfo(basicProfileInfo);\n var verifyAgain = false;\n if (requireVerification) {\n try {\n await verifyUserProfile(false, \"\");\n verifyAgain = true;\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n const updatedUser = user;\n updatedUser.investorSummaryData.first_name = firstName;\n updatedUser.investorSummaryData.last_name = lastName;\n updatedUser.investorSummaryData.phone_number = phoneNumber;\n updatedUser.investorSummaryData.email = email;\n if (verifyAgain) {\n updatedUser.userProfileData.verified_profile = false;\n }\n setUser(updatedUser);\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(err);\n }\n }\n };\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n \n Personal Details\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n \n If any of the above information is incorrect, please\n contact admin@investwithaqua.com to update your account\n information.\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default ProfileBasicInfo;\n","import React, { useState, useEffect } from \"react\";\nimport \"./ProfileInputFieldStyles/ProfileInputFieldStyles.css\";\n\nfunction ProfileInputField({\n placeholder,\n error,\n fieldValueChange,\n initialValue,\n disabled,\n}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n const [fieldValue, setFieldValue] = useState(\"\");\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n fieldValueChange(fieldValue);\n }, [fieldValue, fieldValueChange]);\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n setFieldValue(event.target.value)}\n >\n
    \n \n );\n}\nexport default ProfileInputField;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport \"./DeliverableAddressSectionStyles/DeliverableAddressSectionStyles.scss\";\nimport ProfileInputField from \"../../../../Components/GlobalComponents/ProfileInputFields/ProfileInputField\";\nimport StateInput from \"../../../../Components/GlobalComponents/StateInput/StateInput\";\nimport CountryInput from \"../../../../Components/GlobalComponents/CountryInput/CountryInput\";\nimport { UserContext } from \"../../../../GlobalContexts/UserContext\";\n\nfunction DeliverableAddressSection({\n deliverableAddressLine1,\n deliverableAddressLine2,\n deliverableCity,\n deliverableState,\n deliverableCountry,\n deliverablePostalCode,\n deliverableAddressLine1Error,\n deliverableAddressLine2Error,\n deliverableCityError,\n deliverableStateError,\n deliverableCountryError,\n deliverablePostalCodeError,\n setDeliverableAddressLine1,\n setDeliverableAddressLine2,\n setDeliverableCity,\n setDeliverableState,\n setDeliverableCountry,\n setDeliverablePostalCode,\n}) {\n const { user, setUser } = useContext(UserContext);\n\n return (\n \n
    \n
    \n Deliverable Address\n
    \n
    \n
    \n
    \n
    \n
    \n \n Address Line 1\n \n
    \n \n {deliverableAddressLine1Error &&\n deliverableAddressLine1Error !==\n \"This field is required.\" && (\n
    \n {deliverableAddressLine1Error}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Address Line 2\n \n
    \n \n {deliverableAddressLine2Error &&\n deliverableAddressLine2Error !==\n \"This field is required.\" && (\n
    \n {deliverableAddressLine2Error}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n City\n \n
    \n \n {deliverableCityError &&\n deliverableCityError !== \"This field is required.\" && (\n
    \n {deliverableCityError}\n
    \n )}\n
    \n
    \n {deliverableCountry === \"United States\" && (\n
    \n State\n
    \n \n {deliverableStateError && (\n
    \n {deliverableStateError}\n
    \n )}\n
    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n Country\n
    \n \n {deliverableCountryError && (\n
    \n {deliverableCountryError}\n
    \n )}\n
    \n
    \n
    \n Postal Code\n
    \n \n {deliverablePostalCodeError &&\n deliverablePostalCodeError !== \"This field is required.\" && (\n
    \n {deliverablePostalCodeError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default DeliverableAddressSection;\n","import React, { useEffect } from \"react\";\nimport Box from \"@mui/material/Box\";\nimport TextField from \"@mui/material/TextField\";\n\nfunction StyledDateInputField({\n value,\n setValue,\n valueError,\n setValueError,\n label,\n required,\n fullWidth,\n size,\n id,\n disabled,\n}) {\n useEffect(() => {\n setValueError(\"\");\n }, [value]);\n\n const formatDate = (value) => {\n if (!value) return null; \n const date = value.split(\"-\");\n return [date[1], date[2], date[0]].join(\"-\"); \n }\n \n const formatDateInverse = (value) => value ? formatDate(formatDate(value)) : null;\n\n return (\n \n setValue( formatDate(event.target.value) )}\n onBlur={() => {\n if (required && value === \"\") {\n setValueError(\"This field is required.\");\n }\n }}\n size={size}\n sx={{\n \"& .MuiInputLabel-root\": {\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontSize: \"14px\",\n },\n \"& .MuiInputLabel-root.Mui-focused\": {\n color: \"#0D47A1\",\n },\n \"& .MuiOutlinedInput-root.Mui-focused\": {\n \"& > fieldset\": {\n borderColor: \"#0D47A1\",\n color: \"#0D47A1\",\n },\n },\n \"& .MuiOutlinedInput-root\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& .MuiOutlinedInput-root.Mui-disabled\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& > .MuiOutlinedInput-root:not(.Mui-focused):hover\": {\n \"& > fieldset\": {\n borderColor: valueError === \"\" ? \"#DADDE1\" : \"#D32F2F\",\n },\n },\n }}\n required={required}\n fullWidth={fullWidth}\n />\n \n );\n}\nexport default StyledDateInputField;\n","export const stateList = [\n { value: \"Alabama\", label: \"Alabama\" },\n { value: \"Alaska\", label: \"Alaska\" },\n { value: \"American Samoa\", label: \"American Samoa\" },\n { value: \"Arizona\", label: \"Arizona\" },\n { value: \"Arkansas\", label: \"Arkansas\" },\n { value: \"California\", label: \"California\" },\n { value: \"Colorado\", label: \"Colorado\" },\n { value: \"Connecticut\", label: \"Connecticut\" },\n { value: \"Delaware\", label: \"Delaware\" },\n { value: \"District of Columbia\", label: \"District of Columbia\" },\n {\n value: \"Federated States of Micronesia\",\n label: \"Federated States of Micronesia\",\n },\n { value: \"Florida\", label: \"Florida\" },\n { value: \"Georgia\", label: \"Georgia\" },\n { value: \"Guam\", label: \"Guam\" },\n { value: \"Hawaii\", label: \"Hawaii\" },\n { value: \"Idaho\", label: \"Idaho\" },\n { value: \"Illinois\", label: \"Illinois\" },\n { value: \"Indiana\", label: \"Indiana\" },\n { value: \"Iowa\", label: \"Iowa\" },\n { value: \"Kansas\", label: \"Kansas\" },\n { value: \"Kentucky\", label: \"Kentucky\" },\n { value: \"Louisiana\", label: \"Louisiana\" },\n { value: \"Maine\", label: \"Maine\" },\n { value: \"Marshall Islands\", label: \"Marshall Islands\" },\n { value: \"Maryland\", label: \"Maryland\" },\n { value: \"Massachusetts\", label: \"Massachusetts\" },\n { value: \"Michigan\", label: \"Michigan\" },\n { value: \"Minnesota\", label: \"Minnesota\" },\n { value: \"Mississippi\", label: \"Mississippi\" },\n { value: \"Missouri\", label: \"Missouri\" },\n { value: \"Montana\", label: \"Montana\" },\n { value: \"Nebraska\", label: \"Nebraska\" },\n { value: \"Nevada\", label: \"Nevada\" },\n { value: \"New Hampshire\", label: \"New Hampshire\" },\n { value: \"New Jersey\", label: \"New Jersey\" },\n { value: \"New Mexico\", label: \"New Mexico\" },\n { value: \"New York\", label: \"New York\" },\n { value: \"North Carolina\", label: \"North Carolina\" },\n { value: \"North Dakota\", label: \"North Dakota\" },\n { value: \"Northern Mariana Islands\", label: \"Northern Mariana Islands\" },\n { value: \"Ohio\", label: \"Ohio\" },\n { value: \"Oklahoma\", label: \"Oklahoma\" },\n { value: \"Oregon\", label: \"Oregon\" },\n { value: \"Palau\", label: \"Palau\" },\n { value: \"Pennsylvania\", label: \"Pennsylvania\" },\n { value: \"Puerto Rico\", label: \"Puerto Rico\" },\n { value: \"Rhode Island\", label: \"Rhode Island\" },\n { value: \"South Carolina\", label: \"South Carolina\" },\n { value: \"South Dakota\", label: \"South Dakota\" },\n { value: \"Tennessee\", label: \"Tennessee\" },\n { value: \"Texas\", label: \"Texas\" },\n { value: \"Utah\", label: \"Utah\" },\n { value: \"Vermont\", label: \"Vermont\" },\n { value: \"Virgin Island\", label: \"Virgin Island\" },\n { value: \"Virginia\", label: \"Virginia\" },\n { value: \"Washington\", label: \"Washington\" },\n { value: \"West Virginia\", label: \"West Virginia\" },\n { value: \"Wisconsin\", label: \"Wisconsin\" },\n { value: \"Wyoming\", label: \"Wyoming\" },\n];\n","export const countryList = (true) ? [ { value: \"United States\", label: \"United States\" }] : [\n { value: \"Afghanistan\", label: \"Afghanistan\" },\n { value: \"Åland Islands\", label: \"Åland Islands\" },\n { value: \"Albania\", label: \"Albania\" },\n { value: \"Algeria\", label: \"Algeria\" },\n { value: \"American Samoa\", label: \"American Samoa\" },\n { value: \"Andorra\", label: \"Andorra\" },\n { value: \"Angola\", label: \"Angola\" },\n { value: \"Anguilla\", label: \"Anguilla\" },\n { value: \"Antarctica\", label: \"Antarctica\" },\n { value: \"Antigua And Barbuda\", label: \"Antigua And Barbuda\" },\n { value: \"Argentina\", label: \"Argentina\" },\n { value: \"Armenia\", label: \"Armenia\" },\n { value: \"Aruba\", label: \"Aruba\" },\n { value: \"Australia\", label: \"Australia\" },\n { value: \"Austria\", label: \"Austria\" },\n { value: \"Azerbaijan\", label: \"Azerbaijan\" },\n { value: \"Bahamas\", label: \"Bahamas\" },\n { value: \"Bahrain\", label: \"Bahrain\" },\n { value: \"Barbados\", label: \"Barbados\" },\n { value: \"Belgium\", label: \"Belgium\" },\n { value: \"Belize\", label: \"Belize\" },\n { value: \"Benin\", label: \"Benin\" },\n { value: \"Bermuda\", label: \"Bermuda\" },\n { value: \"Bhutan\", label: \"Bhutan\" },\n {\n value: \"Bolivia, Plurinational State Of\",\n label: \"Bolivia, Plurinational State Of\",\n },\n {\n value: \"Bonaire, Sint Eustatius And Saba\",\n label: \"Bonaire, Sint Eustatius And Saba\",\n },\n { value: \"Bosnia And Herzegovina\", label: \"Bosnia And Herzegovina\" },\n { value: \"Botswana\", label: \"Botswana\" },\n { value: \"Bouvet Island\", label: \"Bouvet Island\" },\n { value: \"Brazil\", label: \"Brazil\" },\n {\n value: \"British Indian Ocean Territory\",\n label: \"British Indian Ocean Territory\",\n },\n { value: \"Brunei Darussalam\", label: \"Brunei Darussalam\" },\n { value: \"Bulgaria\", label: \"Bulgaria\" },\n { value: \"Burkina Faso\", label: \"Burkina Faso\" },\n { value: \"Burundi\", label: \"Burundi\" },\n { value: \"Cambodia\", label: \"Cambodia\" },\n { value: \"Cameroon\", label: \"Cameroon\" },\n { value: \"Canada\", label: \"Canada\" },\n { value: \"Cape Verde\", label: \"Cape Verde\" },\n { value: \"Cayman Islands\", label: \"Cayman Islands\" },\n { value: \"Chad\", label: \"Chad\" },\n { value: \"Chile\", label: \"Chile\" },\n { value: \"Christmas Island\", label: \"Christmas Island\" },\n { value: \"Cocos (keeling) Islands\", label: \"Cocos (keeling) Islands\" },\n { value: \"Colombia\", label: \"Colombia\" },\n { value: \"Comoros\", label: \"Comoros\" },\n { value: \"Congo\", label: \"Congo\" },\n { value: \"Cook Islands\", label: \"Cook Islands\" },\n { value: \"Costa Rica\", label: \"Costa Rica\" },\n { value: \"Côte D'ivoire\", label: \"Côte D'ivoire\" },\n { value: \"Croatia\", label: \"Croatia\" },\n { value: \"Curaçao\", label: \"Curaçao\" },\n { value: \"Cyprus\", label: \"Cyprus\" },\n { value: \"Czech Republic\", label: \"Czech Republic\" },\n { value: \"Denmark\", label: \"Denmark\" },\n { value: \"Djibouti\", label: \"Djibouti\" },\n { value: \"Dominica\", label: \"Dominica\" },\n { value: \"Dominican Republic\", label: \"Dominican Republic\" },\n { value: \"Ecuador\", label: \"Ecuador\" },\n { value: \"Egypt\", label: \"Egypt\" },\n { value: \"El Salvador\", label: \"El Salvador\" },\n { value: \"Equatorial Guinea\", label: \"Equatorial Guinea\" },\n { value: \"Estonia\", label: \"Estonia\" },\n { value: \"Ethiopia\", label: \"Ethiopia\" },\n {\n value: \"Falkland Islands (malvinas)\",\n label: \"Falkland Islands (malvinas)\",\n },\n { value: \"Faroe Islands\", label: \"Faroe Islands\" },\n { value: \"Fiji\", label: \"Fiji\" },\n { value: \"Finland\", label: \"Finland\" },\n { value: \"France\", label: \"France\" },\n { value: \"French Guiana\", label: \"French Guiana\" },\n { value: \"French Polynesia\", label: \"French Polynesia\" },\n {\n value: \"French Southern Territories\",\n label: \"French Southern Territories\",\n },\n { value: \"Gabon\", label: \"Gabon\" },\n { value: \"Gambia\", label: \"Gambia\" },\n { value: \"Georgia\", label: \"Georgia\" },\n { value: \"Germany\", label: \"Germany\" },\n { value: \"Ghana\", label: \"Ghana\" },\n { value: \"Gibraltar\", label: \"Gibraltar\" },\n { value: \"Greece\", label: \"Greece\" },\n { value: \"Greenland\", label: \"Greenland\" },\n { value: \"Grenada\", label: \"Grenada\" },\n { value: \"Guadeloupe\", label: \"Guadeloupe\" },\n { value: \"Guam\", label: \"Guam\" },\n { value: \"Guatemala\", label: \"Guatemala\" },\n { value: \"Guernsey\", label: \"Guernsey\" },\n { value: \"Guinea\", label: \"Guinea\" },\n { value: \"Guinea-bissau\", label: \"Guinea-bissau\" },\n { value: \"Guyana\", label: \"Guyana\" },\n { value: \"Haiti\", label: \"Haiti\" },\n {\n value: \"Heard Island And Mcdonald Islands\",\n label: \"Heard Island And Mcdonald Islands\",\n },\n {\n value: \"Holy See (vatican City State)\",\n label: \"Holy See (vatican City State)\",\n },\n { value: \"Honduras\", label: \"Honduras\" },\n { value: \"Hungary\", label: \"Hungary\" },\n { value: \"Iceland\", label: \"Iceland\" },\n { value: \"India\", label: \"India\" },\n { value: \"Indonesia\", label: \"Indonesia\" },\n { value: \"Ireland\", label: \"Ireland\" },\n { value: \"Isle Of Man\", label: \"Isle Of Man\" },\n { value: \"Israel\", label: \"Israel\" },\n { value: \"Italy\", label: \"Italy\" },\n { value: \"Jamaica\", label: \"Jamaica\" },\n { value: \"Japan\", label: \"Japan\" },\n { value: \"Jersey\", label: \"Jersey\" },\n { value: \"Jordan\", label: \"Jordan\" },\n { value: \"Kazakhstan\", label: \"Kazakhstan\" },\n { value: \"Kenya\", label: \"Kenya\" },\n { value: \"Kiribati\", label: \"Kiribati\" },\n { value: \"Korea, Republic Of\", label: \"Korea, Republic Of\" },\n { value: \"Kuwait\", label: \"Kuwait\" },\n { value: \"Kyrgyzstan\", label: \"Kyrgyzstan\" },\n {\n value: \"Lao People's Democratic Republic\",\n label: \"Lao People's Democratic Republic\",\n },\n { value: \"Latvia\", label: \"Latvia\" },\n { value: \"Lesotho\", label: \"Lesotho\" },\n { value: \"Libya\", label: \"Libya\" },\n { value: \"Liechtenstein\", label: \"Liechtenstein\" },\n { value: \"Lithuania\", label: \"Lithuania\" },\n { value: \"Luxembourg\", label: \"Luxembourg\" },\n { value: \"Macao\", label: \"Macao\" },\n {\n value: \"Macedonia, TheFormer Yugoslav Republic Of\",\n label: \"Macedonia, TheFormer Yugoslav Republic Of\",\n },\n { value: \"Madagascar\", label: \"Madagascar\" },\n { value: \"Malawi\", label: \"Malawi\" },\n { value: \"Malaysia\", label: \"Malaysia\" },\n { value: \"Maldives\", label: \"Maldives\" },\n { value: \"Malta\", label: \"Malta\" },\n { value: \"Marshall Islands\", label: \"Marshall Islands\" },\n { value: \"Martinique\", label: \"Martinique\" },\n { value: \"Mauritania\", label: \"Mauritania\" },\n { value: \"Mauritius\", label: \"Mauritius\" },\n { value: \"Mayotte\", label: \"Mayotte\" },\n { value: \"Mexico\", label: \"Mexico\" },\n {\n value: \"Micronesia, Federated States Of\",\n label: \"Micronesia, Federated States Of\",\n },\n { value: \"Moldova, Republic Of\", label: \"Moldova, Republic Of\" },\n { value: \"Monaco\", label: \"Monaco\" },\n { value: \"Mongolia\", label: \"Mongolia\" },\n { value: \"Montenegro\", label: \"Montenegro\" },\n { value: \"Montserrat\", label: \"Montserrat\" },\n { value: \"Morocco\", label: \"Morocco\" },\n { value: \"Mozambique\", label: \"Mozambique\" },\n { value: \"Namibia\", label: \"Namibia\" },\n { value: \"Nauru\", label: \"Nauru\" },\n { value: \"Nepal\", label: \"Nepal\" },\n { value: \"Netherlands\", label: \"Netherlands\" },\n { value: \"New Caledonia\", label: \"New Caledonia\" },\n { value: \"New Zealand\", label: \"New Zealand\" },\n { value: \"Niger\", label: \"Niger\" },\n { value: \"Nigeria\", label: \"Nigeria\" },\n { value: \"Niue\", label: \"Niue\" },\n { value: \"Norfolk Island\", label: \"Norfolk Island\" },\n { value: \"Northern Mariana Islands\", label: \"Northern Mariana Islands\" },\n { value: \"Norway\", label: \"Norway\" },\n { value: \"Oman\", label: \"Oman\" },\n { value: \"Pakistan\", label: \"Pakistan\" },\n { value: \"Palau\", label: \"Palau\" },\n { value: \"Palestine, State Of\", label: \"Palestine, State Of\" },\n { value: \"Panama\", label: \"Panama\" },\n { value: \"Papua New Guinea\", label: \"Papua New Guinea\" },\n { value: \"Paraguay\", label: \"Paraguay\" },\n { value: \"Peru\", label: \"Peru\" },\n { value: \"Philippines\", label: \"Philippines\" },\n { value: \"Pitcairn\", label: \"Pitcairn\" },\n { value: \"Poland\", label: \"Poland\" },\n { value: \"Portugal\", label: \"Portugal\" },\n { value: \"Puerto Rico\", label: \"Puerto Rico\" },\n { value: \"Qatar\", label: \"Qatar\" },\n { value: \"Réunion\", label: \"Réunion\" },\n { value: \"Romania\", label: \"Romania\" },\n { value: \"Rwanda\", label: \"Rwanda\" },\n { value: \"Saint Barthélemy\", label: \"Saint Barthélemy\" },\n {\n value: \"Saint Helena, Ascension And Tristan Da Cunha\",\n label: \"Saint Helena, Ascension And Tristan Da Cunha\",\n },\n { value: \"Saint Kitts And Nevis\", label: \"Saint Kitts And Nevis\" },\n { value: \"Saint Lucia\", label: \"Saint Lucia\" },\n {\n value: \"Saint Martin (french Part)\",\n label: \"Saint Martin (french Part)\",\n },\n { value: \"Saint Pierre And Miquelon\", label: \"Saint Pierre And Miquelon\" },\n {\n value: \"Saint Vincent And The Grenadines\",\n label: \"Saint Vincent And The Grenadines\",\n },\n { value: \"Samoa\", label: \"Samoa\" },\n { value: \"San Marino\", label: \"San Marino\" },\n { value: \"Sao Tome And Principe\", label: \"Sao Tome And Principe\" },\n { value: \"Saudi Arabia\", label: \"Saudi Arabia\" },\n { value: \"Senegal\", label: \"Senegal\" },\n { value: \"Serbia\", label: \"Serbia\" },\n { value: \"Seychelles\", label: \"Seychelles\" },\n { value: \"Sierra Leone\", label: \"Sierra Leone\" },\n { value: \"Singapore\", label: \"Singapore\" },\n { value: \"Sint Maarten (dutch Part)\", label: \"Sint Maarten (dutch Part)\" },\n { value: \"Slovakia\", label: \"Slovakia\" },\n { value: \"Slovenia\", label: \"Slovenia\" },\n { value: \"Solomon Islands\", label: \"Solomon Islands\" },\n { value: \"South Africa\", label: \"South Africa\" },\n {\n value: \"South Georgia And The South Sandwich Islands\",\n label: \"South Georgia And The South Sandwich Islands\",\n },\n { value: \"Spain\", label: \"Spain\" },\n { value: \"Sri Lanka\", label: \"Sri Lanka\" },\n { value: \"Sudan\", label: \"Sudan\" },\n { value: \"Suriname\", label: \"Suriname\" },\n { value: \"Svalbard And Jan Mayen\", label: \"Svalbard And Jan Mayen\" },\n { value: \"Swaziland\", label: \"Swaziland\" },\n { value: \"Sweden\", label: \"Sweden\" },\n { value: \"Switzerland\", label: \"Switzerland\" },\n { value: \"Taiwan, Province Of China\", label: \"Taiwan, Province Of China\" },\n { value: \"Tajikistan\", label: \"Tajikistan\" },\n {\n value: \"Tanzania, United Republic Of\",\n label: \"Tanzania, United Republic Of\",\n },\n { value: \"Thailand\", label: \"Thailand\" },\n { value: \"Timor-leste\", label: \"Timor-leste\" },\n { value: \"Togo\", label: \"Togo\" },\n { value: \"Tokelau\", label: \"Tokelau\" },\n { value: \"Tonga\", label: \"Tonga\" },\n { value: \"Trinidad And Tobago\", label: \"Trinidad And Tobago\" },\n { value: \"Tunisia\", label: \"Tunisia\" },\n { value: \"Turkmenistan\", label: \"Turkmenistan\" },\n { value: \"Turks And Caicos Islands\", label: \"Turks And Caicos Islands\" },\n { value: \"Tuvalu\", label: \"Tuvalu\" },\n { value: \"Uganda\", label: \"Uganda\" },\n { value: \"United Arab Emirates\", label: \"United Arab Emirates\" },\n { value: \"United Kingdom\", label: \"United Kingdom\" },\n { value: \"United States\", label: \"United States\" },\n {\n value: \"United States Minor Outlying Islands\",\n label: \"United States Minor Outlying Islands\",\n },\n { value: \"Uruguay\", label: \"Uruguay\" },\n { value: \"Uzbekistan\", label: \"Uzbekistan\" },\n { value: \"Vanuatu\", label: \"Vanuatu\" },\n { value: \"Viet Nam\", label: \"Viet Nam\" },\n { value: \"Virgin Islands, British\", label: \"Virgin Islands, British\" },\n { value: \"Virgin Islands, U.s.\", label: \"Virgin Islands, U.s.\" },\n { value: \"Wallis And Futuna\", label: \"Wallis And Futuna\" },\n { value: \"Western Sahara\", label: \"Western Sahara\" },\n { value: \"Zambia\", label: \"Zambia\" },\n];\n","export const reducedCountryList = [\n { value: \"Afghanistan\", label: \"Afghanistan\" },\n { value: \"Åland Islands\", label: \"Åland Islands\" },\n { value: \"Albania\", label: \"Albania\" },\n { value: \"Algeria\", label: \"Algeria\" },\n { value: \"American Samoa\", label: \"American Samoa\" },\n { value: \"Andorra\", label: \"Andorra\" },\n { value: \"Angola\", label: \"Angola\" },\n { value: \"Anguilla\", label: \"Anguilla\" },\n { value: \"Antarctica\", label: \"Antarctica\" },\n { value: \"Antigua And Barbuda\", label: \"Antigua And Barbuda\" },\n { value: \"Argentina\", label: \"Argentina\" },\n { value: \"Armenia\", label: \"Armenia\" },\n { value: \"Aruba\", label: \"Aruba\" },\n { value: \"Australia\", label: \"Australia\" },\n { value: \"Austria\", label: \"Austria\" },\n { value: \"Azerbaijan\", label: \"Azerbaijan\" },\n { value: \"Bahamas\", label: \"Bahamas\" },\n { value: \"Bahrain\", label: \"Bahrain\" },\n { value: \"Barbados\", label: \"Barbados\" },\n { value: \"Belgium\", label: \"Belgium\" },\n { value: \"Belize\", label: \"Belize\" },\n { value: \"Benin\", label: \"Benin\" },\n { value: \"Bermuda\", label: \"Bermuda\" },\n { value: \"Bhutan\", label: \"Bhutan\" },\n {\n value: \"Bolivia, Plurinational State Of\",\n label: \"Bolivia, Plurinational State Of\",\n },\n {\n value: \"Bonaire, Sint Eustatius And Saba\",\n label: \"Bonaire, Sint Eustatius And Saba\",\n },\n { value: \"Bosnia And Herzegovina\", label: \"Bosnia And Herzegovina\" },\n { value: \"Botswana\", label: \"Botswana\" },\n { value: \"Bouvet Island\", label: \"Bouvet Island\" },\n { value: \"Brazil\", label: \"Brazil\" },\n {\n value: \"British Indian Ocean Territory\",\n label: \"British Indian Ocean Territory\",\n },\n { value: \"Brunei Darussalam\", label: \"Brunei Darussalam\" },\n { value: \"Bulgaria\", label: \"Bulgaria\" },\n { value: \"Burkina Faso\", label: \"Burkina Faso\" },\n { value: \"Burundi\", label: \"Burundi\" },\n { value: \"Cambodia\", label: \"Cambodia\" },\n { value: \"Cameroon\", label: \"Cameroon\" },\n { value: \"Canada\", label: \"Canada\" },\n { value: \"Cape Verde\", label: \"Cape Verde\" },\n { value: \"Cayman Islands\", label: \"Cayman Islands\" },\n { value: \"Chad\", label: \"Chad\" },\n { value: \"Chile\", label: \"Chile\" },\n { value: \"China\", label: \"China\" },\n { value: \"Hong Kong\", label: \"Hong Kong\" },\n { value: \"Christmas Island\", label: \"Christmas Island\" },\n { value: \"Cocos (keeling) Islands\", label: \"Cocos (keeling) Islands\" },\n { value: \"Colombia\", label: \"Colombia\" },\n { value: \"Comoros\", label: \"Comoros\" },\n { value: \"Congo\", label: \"Congo\" },\n { value: \"Cook Islands\", label: \"Cook Islands\" },\n { value: \"Costa Rica\", label: \"Costa Rica\" },\n { value: \"Côte D'ivoire\", label: \"Côte D'ivoire\" },\n { value: \"Croatia\", label: \"Croatia\" },\n { value: \"Curaçao\", label: \"Curaçao\" },\n { value: \"Cyprus\", label: \"Cyprus\" },\n { value: \"Czech Republic\", label: \"Czech Republic\" },\n { value: \"Denmark\", label: \"Denmark\" },\n { value: \"Djibouti\", label: \"Djibouti\" },\n { value: \"Dominica\", label: \"Dominica\" },\n { value: \"Dominican Republic\", label: \"Dominican Republic\" },\n { value: \"Ecuador\", label: \"Ecuador\" },\n { value: \"Egypt\", label: \"Egypt\" },\n { value: \"El Salvador\", label: \"El Salvador\" },\n { value: \"Equatorial Guinea\", label: \"Equatorial Guinea\" },\n { value: \"Estonia\", label: \"Estonia\" },\n { value: \"Ethiopia\", label: \"Ethiopia\" },\n {\n value: \"Falkland Islands (malvinas)\",\n label: \"Falkland Islands (malvinas)\",\n },\n { value: \"Faroe Islands\", label: \"Faroe Islands\" },\n { value: \"Fiji\", label: \"Fiji\" },\n { value: \"Finland\", label: \"Finland\" },\n { value: \"France\", label: \"France\" },\n { value: \"French Guiana\", label: \"French Guiana\" },\n { value: \"French Polynesia\", label: \"French Polynesia\" },\n {\n value: \"French Southern Territories\",\n label: \"French Southern Territories\",\n },\n { value: \"Gabon\", label: \"Gabon\" },\n { value: \"Gambia\", label: \"Gambia\" },\n { value: \"Georgia\", label: \"Georgia\" },\n { value: \"Germany\", label: \"Germany\" },\n { value: \"Ghana\", label: \"Ghana\" },\n { value: \"Gibraltar\", label: \"Gibraltar\" },\n { value: \"Greece\", label: \"Greece\" },\n { value: \"Greenland\", label: \"Greenland\" },\n { value: \"Grenada\", label: \"Grenada\" },\n { value: \"Guadeloupe\", label: \"Guadeloupe\" },\n { value: \"Guam\", label: \"Guam\" },\n { value: \"Guatemala\", label: \"Guatemala\" },\n { value: \"Guernsey\", label: \"Guernsey\" },\n { value: \"Guinea\", label: \"Guinea\" },\n { value: \"Guinea-bissau\", label: \"Guinea-bissau\" },\n { value: \"Guyana\", label: \"Guyana\" },\n { value: \"Haiti\", label: \"Haiti\" },\n {\n value: \"Heard Island And Mcdonald Islands\",\n label: \"Heard Island And Mcdonald Islands\",\n },\n {\n value: \"Holy See (vatican City State)\",\n label: \"Holy See (vatican City State)\",\n },\n { value: \"Honduras\", label: \"Honduras\" },\n { value: \"Hungary\", label: \"Hungary\" },\n { value: \"Iceland\", label: \"Iceland\" },\n { value: \"India\", label: \"India\" },\n { value: \"Indonesia\", label: \"Indonesia\" },\n { value: \"Ireland\", label: \"Ireland\" },\n { value: \"Isle Of Man\", label: \"Isle Of Man\" },\n { value: \"Israel\", label: \"Israel\" },\n { value: \"Italy\", label: \"Italy\" },\n { value: \"Jamaica\", label: \"Jamaica\" },\n { value: \"Japan\", label: \"Japan\" },\n { value: \"Jersey\", label: \"Jersey\" },\n { value: \"Jordan\", label: \"Jordan\" },\n { value: \"Kazakhstan\", label: \"Kazakhstan\" },\n { value: \"Kenya\", label: \"Kenya\" },\n { value: \"Kiribati\", label: \"Kiribati\" },\n { value: \"Korea, Republic Of\", label: \"Korea, Republic Of\" },\n { value: \"Kuwait\", label: \"Kuwait\" },\n { value: \"Kyrgyzstan\", label: \"Kyrgyzstan\" },\n {\n value: \"Lao People's Democratic Republic\",\n label: \"Lao People's Democratic Republic\",\n },\n { value: \"Latvia\", label: \"Latvia\" },\n { value: \"Lesotho\", label: \"Lesotho\" },\n { value: \"Libya\", label: \"Libya\" },\n { value: \"Liechtenstein\", label: \"Liechtenstein\" },\n { value: \"Lithuania\", label: \"Lithuania\" },\n { value: \"Luxembourg\", label: \"Luxembourg\" },\n { value: \"Macao\", label: \"Macao\" },\n {\n value: \"Macedonia, TheFormer Yugoslav Republic Of\",\n label: \"Macedonia, TheFormer Yugoslav Republic Of\",\n },\n { value: \"Madagascar\", label: \"Madagascar\" },\n { value: \"Malawi\", label: \"Malawi\" },\n { value: \"Malaysia\", label: \"Malaysia\" },\n { value: \"Maldives\", label: \"Maldives\" },\n { value: \"Malta\", label: \"Malta\" },\n { value: \"Marshall Islands\", label: \"Marshall Islands\" },\n { value: \"Martinique\", label: \"Martinique\" },\n { value: \"Mauritania\", label: \"Mauritania\" },\n { value: \"Mauritius\", label: \"Mauritius\" },\n { value: \"Mayotte\", label: \"Mayotte\" },\n { value: \"Mexico\", label: \"Mexico\" },\n {\n value: \"Micronesia, Federated States Of\",\n label: \"Micronesia, Federated States Of\",\n },\n { value: \"Moldova, Republic Of\", label: \"Moldova, Republic Of\" },\n { value: \"Monaco\", label: \"Monaco\" },\n { value: \"Mongolia\", label: \"Mongolia\" },\n { value: \"Montenegro\", label: \"Montenegro\" },\n { value: \"Montserrat\", label: \"Montserrat\" },\n { value: \"Morocco\", label: \"Morocco\" },\n { value: \"Mozambique\", label: \"Mozambique\" },\n { value: \"Namibia\", label: \"Namibia\" },\n { value: \"Nauru\", label: \"Nauru\" },\n { value: \"Nepal\", label: \"Nepal\" },\n { value: \"Netherlands\", label: \"Netherlands\" },\n { value: \"New Caledonia\", label: \"New Caledonia\" },\n { value: \"New Zealand\", label: \"New Zealand\" },\n { value: \"Niger\", label: \"Niger\" },\n { value: \"Nigeria\", label: \"Nigeria\" },\n { value: \"Niue\", label: \"Niue\" },\n { value: \"Norfolk Island\", label: \"Norfolk Island\" },\n { value: \"Northern Mariana Islands\", label: \"Northern Mariana Islands\" },\n { value: \"Norway\", label: \"Norway\" },\n { value: \"Oman\", label: \"Oman\" },\n { value: \"Pakistan\", label: \"Pakistan\" },\n { value: \"Palau\", label: \"Palau\" },\n { value: \"Palestine, State Of\", label: \"Palestine, State Of\" },\n { value: \"Panama\", label: \"Panama\" },\n { value: \"Papua New Guinea\", label: \"Papua New Guinea\" },\n { value: \"Paraguay\", label: \"Paraguay\" },\n { value: \"Peru\", label: \"Peru\" },\n { value: \"Philippines\", label: \"Philippines\" },\n { value: \"Pitcairn\", label: \"Pitcairn\" },\n { value: \"Poland\", label: \"Poland\" },\n { value: \"Portugal\", label: \"Portugal\" },\n { value: \"Puerto Rico\", label: \"Puerto Rico\" },\n { value: \"Qatar\", label: \"Qatar\" },\n { value: \"Réunion\", label: \"Réunion\" },\n { value: \"Romania\", label: \"Romania\" },\n { value: \"Rwanda\", label: \"Rwanda\" },\n { value: \"Saint Barthélemy\", label: \"Saint Barthélemy\" },\n {\n value: \"Saint Helena, Ascension And Tristan Da Cunha\",\n label: \"Saint Helena, Ascension And Tristan Da Cunha\",\n },\n { value: \"Saint Kitts And Nevis\", label: \"Saint Kitts And Nevis\" },\n { value: \"Saint Lucia\", label: \"Saint Lucia\" },\n {\n value: \"Saint Martin (french Part)\",\n label: \"Saint Martin (french Part)\",\n },\n { value: \"Saint Pierre And Miquelon\", label: \"Saint Pierre And Miquelon\" },\n {\n value: \"Saint Vincent And The Grenadines\",\n label: \"Saint Vincent And The Grenadines\",\n },\n { value: \"Samoa\", label: \"Samoa\" },\n { value: \"San Marino\", label: \"San Marino\" },\n { value: \"Sao Tome And Principe\", label: \"Sao Tome And Principe\" },\n { value: \"Saudi Arabia\", label: \"Saudi Arabia\" },\n { value: \"Senegal\", label: \"Senegal\" },\n { value: \"Serbia\", label: \"Serbia\" },\n { value: \"Seychelles\", label: \"Seychelles\" },\n { value: \"Sierra Leone\", label: \"Sierra Leone\" },\n { value: \"Singapore\", label: \"Singapore\" },\n { value: \"Sint Maarten (dutch Part)\", label: \"Sint Maarten (dutch Part)\" },\n { value: \"Slovakia\", label: \"Slovakia\" },\n { value: \"Slovenia\", label: \"Slovenia\" },\n { value: \"Solomon Islands\", label: \"Solomon Islands\" },\n { value: \"South Africa\", label: \"South Africa\" },\n {\n value: \"South Georgia And The South Sandwich Islands\",\n label: \"South Georgia And The South Sandwich Islands\",\n },\n { value: \"Spain\", label: \"Spain\" },\n { value: \"Sri Lanka\", label: \"Sri Lanka\" },\n { value: \"Suriname\", label: \"Suriname\" },\n { value: \"Svalbard And Jan Mayen\", label: \"Svalbard And Jan Mayen\" },\n { value: \"Swaziland\", label: \"Swaziland\" },\n { value: \"Sweden\", label: \"Sweden\" },\n { value: \"Switzerland\", label: \"Switzerland\" },\n { value: \"Taiwan, Province Of China\", label: \"Taiwan, Province Of China\" },\n { value: \"Tajikistan\", label: \"Tajikistan\" },\n {\n value: \"Tanzania, United Republic Of\",\n label: \"Tanzania, United Republic Of\",\n },\n { value: \"Thailand\", label: \"Thailand\" },\n { value: \"Timor-leste\", label: \"Timor-leste\" },\n { value: \"Togo\", label: \"Togo\" },\n { value: \"Tokelau\", label: \"Tokelau\" },\n { value: \"Tonga\", label: \"Tonga\" },\n { value: \"Trinidad And Tobago\", label: \"Trinidad And Tobago\" },\n { value: \"Tunisia\", label: \"Tunisia\" },\n { value: \"Turkmenistan\", label: \"Turkmenistan\" },\n { value: \"Turks And Caicos Islands\", label: \"Turks And Caicos Islands\" },\n { value: \"Tuvalu\", label: \"Tuvalu\" },\n { value: \"Uganda\", label: \"Uganda\" },\n { value: \"United Arab Emirates\", label: \"United Arab Emirates\" },\n { value: \"United Kingdom\", label: \"United Kingdom\" },\n { value: \"United States\", label: \"United States\" },\n {\n value: \"United States Minor Outlying Islands\",\n label: \"United States Minor Outlying Islands\",\n },\n { value: \"Uruguay\", label: \"Uruguay\" },\n { value: \"Uzbekistan\", label: \"Uzbekistan\" },\n { value: \"Vanuatu\", label: \"Vanuatu\" },\n { value: \"Viet Nam\", label: \"Viet Nam\" },\n { value: \"Virgin Islands, British\", label: \"Virgin Islands, British\" },\n { value: \"Virgin Islands, U.s.\", label: \"Virgin Islands, U.s.\" },\n { value: \"Wallis And Futuna\", label: \"Wallis And Futuna\" },\n { value: \"Western Sahara\", label: \"Western Sahara\" },\n { value: \"Zambia\", label: \"Zambia\" },\n];\n","import React, { useEffect } from \"react\";\nimport Box from \"@mui/material/Box\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport TextField from \"@mui/material/TextField\";\n\nfunction SelectField({\n value,\n setValue,\n valueError,\n setValueError,\n selectOptions,\n label,\n size,\n required,\n fullWidth,\n id,\n disabled,\n shrink,\n}) {\n useEffect(() => {\n setValueError(\"\");\n }, [value]);\n console.log(label)\n return (\n \n {\n !disabled ?\n ( setValue(event.target.value)}\n onBlur={() => {\n if (required && value === \"\") {\n setValueError(\"This field is required.\");\n }\n }}\n size={size}\n sx={{\n \"& .MuiInputLabel-root\": {\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontSize: \"14px\",\n },\n \"& .MuiInputLabel-root.Mui-focused\": {\n color: \"#0D47A1\",\n },\n \"& .MuiOutlinedInput-root.Mui-focused\": {\n \"& > fieldset\": {\n borderColor: \"#0D47A1\",\n color: \"#0D47A1\",\n },\n },\n \"& .MuiOutlinedInput-root\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& .MuiOutlinedInput-root.Mui-disabled\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& > .MuiOutlinedInput-root:not(.Mui-focused):hover\": {\n \"& > fieldset\": {\n borderColor: valueError === \"\" ? \"#DADDE1\" : \"#D32F2F\",\n },\n },\n }}\n required={required}\n InputLabelProps={{ shrink: shrink }}\n fullWidth={fullWidth}\n select\n >\n {selectOptions.map((option) => {\n return {option.label};\n })}\n ) :\n ( setValue(event.target.value)}\n onBlur={() => {\n if (required && value === \"\") {\n setValueError(\"This field is required.\");\n }\n }}\n size={size}\n sx={{\n \"& .MuiInputLabel-root\": {\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontSize: \"14px\",\n },\n \"& .MuiInputLabel-root.Mui-focused\": {\n color: \"#0D47A1\",\n },\n \"& .MuiOutlinedInput-root.Mui-focused\": {\n \"& > fieldset\": {\n borderColor: \"#0D47A1\",\n color: \"#0D47A1\",\n },\n },\n \"& .MuiOutlinedInput-root\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& .MuiOutlinedInput-root.Mui-disabled\": {\n \"& > fieldset\": {\n borderColor: \"#DADDE1\",\n },\n },\n \"& > .MuiOutlinedInput-root:not(.Mui-focused):hover\": {\n \"& > fieldset\": {\n borderColor: valueError === \"\" ? \"#DADDE1\" : \"#D32F2F\",\n },\n },\n }}\n required={required}\n InputLabelProps={{ shrink: shrink }}\n fullWidth={fullWidth}\n />)}\n\n \n );\n}\nexport default SelectField;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport \"./Profile.css\";\nimport \"react-minimal-side-navigation/lib/ReactMinimalSideNavigation.css\";\nimport DeliverableAddressSection from \"./DeliverableAddressSection/DeliverableAddressSection\";\nimport ProfileInputField from \"../../../Components/GlobalComponents/ProfileInputFields/ProfileInputField.js\";\nimport ProfileDobField from \"../../../Components/GlobalComponents/ProfileInputFields/ProfileDobField/ProfileDobField.js\";\nimport ProfileSSNField from \"../../../Components/GlobalComponents/ProfileInputFields/ProfileSSNField/ProfileSSNField.js\";\nimport ProfileIDField from \"../../../Components/GlobalComponents/ProfileInputFields/ProfileIDField/ProfileIDField\";\nimport StateInput from \"../../../Components/GlobalComponents/StateInput/StateInput.js\";\nimport CountryInput from \"../../../Components/GlobalComponents/CountryInput/CountryInput.js\";\nimport { isDobValid } from \"../../../Functions/functions.js\";\nimport { isValidSSN } from \"../../../Functions/functions.js\";\nimport { isValidCountry } from \"../../../GlobalFunctions/globalFunctions\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\nimport { useLocation, useHistory } from \"react-router-dom\";\nimport {\n updateInvestorAddress,\n updateInvestorPII,\n} from \"../../../Api/ProfileApi.js\";\nimport StyledTextInputField from \"../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport StyledDateInputField from \"../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport { stateList } from \"../../../Components/GlobalComponents/stateList\";\nimport { countryList } from \"../../../Components/countryList\";\nimport { reducedCountryList } from \"../../../Components/reducedCountryList\";\nimport SelectField from \"../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { formatSSN } from \"../../../GlobalFunctions/globalFunctions\";\nimport { error } from \"jquery\";\n\nfunction InvestorInformation({ accountSummaryData, setAccountSummaryData }) {\n const [piiLoading, setPIILoading] = useState(false);\n const [addressLoading, setAddressLoading] = useState(false);\n const [addressError, setAddressError] = useState(\"\");\n const [deliverableSelectionError, setDeliverableSelectionError] =\n useState(\"\");\n const [primaryAddressDeliverable, setPrimaryAddressDeliverable] =\n useState(\"Yes\");\n const [addressLine2Error, setAddressLine2Error] = useState(\"\");\n const [cityError, setCityError] = useState(\"\");\n const [countryStateError, setCountryStateError] = useState(\"\");\n const [countryError, setCountryError] = useState(\"\");\n const [postalCodeError, setPostalCodeError] = useState(\"\");\n const [nationalIdError, setNationalIdError] = useState(\"\");\n const [dobError, setDobError] = useState(\"\");\n const [address, setAddress] = useState(\"\");\n const [addressLine2, setAddressLine2] = useState(\"\");\n const [city, setCity] = useState(\"\");\n const [countryState, setCountryState] = useState([]);\n const [country, setCountry] = useState(\"\");\n const [postalCode, setPostalCode] = useState(\"\");\n const [addressType, setAddressType] = useState(\"\");\n const [hideDeliverableQuestion, setHideDeliverableQuestion] = useState(false);\n const [deliverableAddressLine1, setDeliverableAddressLine1] = useState(\"\");\n const [deliverableAddressLine2, setDeliverableAddressLine2] = useState(\"\");\n const [deliverableCity, setDeliverableCity] = useState(\"\");\n const [deliverableState, setDeliverableState] = useState(\"\");\n const [deliverableCountry, setDeliverableCountry] = useState(\"\");\n const [deliverablePostalCode, setDeliverablePostalCode] = useState(\"\");\n const [deliverableAddressLine1Error, setDeliverableAddressLine1Error] =\n useState(\"\");\n const [deliverableAddressLine2Error, setDeliverableAddressLine2Error] =\n useState(\"\");\n const [citizenship, setCitizenship] = useState(\"\");\n const [citizenshipError, setCitizenshipError] = useState(\"\");\n const [deliverableCityError, setDeliverableCityError] = useState(\"\");\n const [deliverableStateError, setDeliverableStateError] = useState(\"\");\n const [deliverableCountryError, setDeliverableCountryError] = useState(\"\");\n const [deliverablePostalCodeError, setDeliverablePostalCodeError] =\n useState(\"\");\n const [nationalId, setNationalId] = useState(\"\");\n const [passportNumber, setPassportNumber] = useState(\"\");\n const [passportNumberError, setPassportNumberError] = useState(\"\");\n const [idType, setIDType] = useState(\"\");\n const [dob, setDob] = useState(\"\");\n const location = useLocation();\n const from = location ? (location.state ? location.state.from : \"\") : \"\";\n let history = useHistory();\n const { user, setUser } = useContext(UserContext);\n const list = [\n \"Alabama\",\n \"Alaska\",\n \"American Samoa\",\n \"Arizona\",\n \"Arkansas\",\n \"California\",\n \"Colorado\",\n \"Connecticut\",\n \"Delaware\",\n \"District of Columbia\",\n \"Federated States of Micronesia\",\n \"Florida\",\n \"Georgia\",\n \"Guam\",\n \"Hawaii\",\n \"Idaho\",\n \"Illinois\",\n \"Indiana\",\n \"Iowa\",\n \"Kansas\",\n \"Kentucky\",\n \"Louisiana\",\n \"Maine\",\n \"Marshall Islands\",\n \"Maryland\",\n \"Massachusetts\",\n \"Michigan\",\n \"Minnesota\",\n \"Mississippi\",\n \"Missouri\",\n \"Montana\",\n \"Nebraska\",\n \"Nevada\",\n \"New Hampshire\",\n \"New Jersey\",\n \"New Mexico\",\n \"New York\",\n \"North Carolina\",\n \"North Dakota\",\n \"Northern Mariana Islands\",\n \"Ohio\",\n \"Oklahoma\",\n \"Oregon\",\n \"Palau\",\n \"Pennsylvania\",\n \"Puerto Rico\",\n \"Rhode Island\",\n \"South Carolina\",\n \"South Dakota\",\n \"Tennessee\",\n \"Texas\",\n \"Utah\",\n \"Vermont\",\n \"Virgin Island\",\n \"Virginia\",\n \"Washington\",\n \"West Virginia\",\n \"Wisconsin\",\n \"Wyoming\",\n ];\n\n useEffect(() => {\n setAddress(user ? user.investorPrimaryAddressLine1 : \"\");\n\n setAddressLine2(user ? user.investorPrimaryAddressLine2 : \"\");\n\n setCity(user ? user.investorPrimaryCity : \"\");\n\n setCountryState(user ? user.investorPrimaryState : \"\");\n\n setCountry(user ? user.investorPrimaryCountry : \"\");\n\n setPostalCode(user ? user.investorPrimaryPostalCode : \"\");\n\n setAddressType(user ? user.investorPrimaryAddressType : \"\");\n\n setHideDeliverableQuestion(user.investorPrimaryAddressLine1 !== \"\");\n\n setIDType(\n user\n ? user.userProfileData.investor_pii.length !== 0\n ? user.userProfileData.investor_pii[0].id_type\n : \"\"\n : \"\"\n );\n\n setDeliverableAddressLine1(user ? user.investorSecondaryAddressLine1 : \"\");\n\n setDeliverableAddressLine2(user ? user.investorSecondaryAddressLine2 : \"\");\n\n setDeliverableCity(user ? user.investorSecondaryCity : \"\");\n\n setDeliverableState(user ? user.investorSecondaryState : \"\");\n\n setDeliverableCountry(user ? user.investorSecondaryCountry : \"\");\n\n setDeliverablePostalCode(user ? user.investorSecondaryPostalCode : \"\");\n\n setNationalId(\n user\n ? user.userProfileData.investor_pii.length !== 0\n ? user.userProfileData.investor_pii[0].id_type === \"SSN\"\n ? user.userProfileData.investor_pii[0].id_num\n : \"\"\n : \"\"\n : \"\"\n );\n\n setPassportNumber(\n user\n ? user.userProfileData.investor_pii.length !== 0\n ? user.userProfileData.investor_pii[0].id_type === \"PASS\"\n ? user.userProfileData.investor_pii[0].id_num\n : \"\"\n : \"\"\n : \"\"\n );\n\n setCitizenship(\n user\n ? user.userProfileData.investor_pii.length !== 0\n ? user.userProfileData.investor_pii[0].citizenship\n : \"\"\n : \"\"\n );\n\n setDob(\n user\n ? user.userProfileData.investor_pii.length !== 0\n ? user.userProfileData.investor_pii[0].date_of_birth\n : \"\"\n : \"\"\n );\n }, [user]);\n\n useEffect(() => {\n setCountryStateError(\"\");\n }, [countryState]);\n\n useEffect(() => {\n setAddressError(\"\");\n }, [address]);\n\n useEffect(() => {\n setAddressLine2Error(\"\");\n }, [addressLine2]);\n\n useEffect(() => {\n setPostalCodeError(\"\");\n }, [postalCode]);\n\n useEffect(() => {\n setDobError(\"\");\n }, [dob]);\n\n useEffect(() => {\n setNationalIdError(\"\");\n setPassportNumberError(\"\");\n setIDType(\"SSN\");\n }, [nationalId]);\n\n useEffect(() => {\n setPassportNumberError(\"\");\n setNationalIdError(\"\");\n setIDType(\"PASS\");\n }, [passportNumber]);\n\n useEffect(() => {\n setCityError(\"\");\n }, [city]);\n\n useEffect(() => {\n setCountryError(\"\");\n }, [country]);\n\n useEffect(() => {\n setDeliverableAddressLine1Error(\"\");\n }, [deliverableAddressLine1]);\n\n useEffect(() => {\n setDeliverableAddressLine2Error(\"\");\n }, [deliverableAddressLine2]);\n\n useEffect(() => {\n setDeliverableCityError(\"\");\n }, [deliverableCity]);\n\n useEffect(() => {\n setDeliverableStateError(\"\");\n }, [deliverableState]);\n\n useEffect(() => {\n setDeliverableCountryError(\"\");\n }, [deliverableCountry]);\n\n useEffect(() => {\n setDeliverablePostalCodeError(\"\");\n }, [deliverablePostalCode]);\n\n useEffect(() => {\n setDeliverableSelectionError(\"\");\n }, [primaryAddressDeliverable]);\n\n const submitAddressPII = async () => {\n var investorInformation = {};\n var errorPresent = false;\n\n if (address === \"\") {\n setAddressError(\"Please enter an address line 1.\");\n errorPresent = true;\n }\n if (city === \"\") {\n setCityError(\"Please enter a city.\");\n errorPresent = true;\n }\n if (country === \"United States\" && countryState === \"\") {\n setCountryStateError(\"Please enter a state.\");\n errorPresent = true;\n }\n if (country === \"\") {\n setCountryError(\"Please enter a country.\");\n errorPresent = true;\n }\n if (postalCode === \"\") {\n setPostalCodeError(\"Please enter a postal code.\");\n errorPresent = true;\n }\n if (primaryAddressDeliverable === \"\") {\n setDeliverableSelectionError(\"Please make a selection.\");\n errorPresent = true;\n }\n if (!isValidCountry(country)) {\n setCountryError(\"Please enter a valid country from the dropdown.\");\n errorPresent = true;\n }\n if (country === \"United States\" && !list.includes(countryState)) {\n setCountryStateError(\"Please enter a valid state from the dropdown.\");\n errorPresent = true;\n }\n\n if (citizenship === \"\") {\n setCitizenshipError(\"Please enter a citizenship.\");\n errorPresent = true;\n }\n\n // else if (citizenship !== \"United States\") {\n // errorPresent = true;\n // setCitizenshipError(\"Sorry, we are only accepting US citizens at this time.\");\n // }\n\n if (dob === \"\") {\n setDobError(\"Please enter a date of birth.\");\n errorPresent = true;\n } else if (!isDobValid(dob)) {\n setDobError(\"Please enter a valid date of birth.\");\n errorPresent = true;\n }\n\n if (\n user.investorSummaryData.country !== \"United States\" &&\n passportNumber === \"\"\n ) {\n setPassportNumberError(\"Please enter a passport number.\");\n errorPresent = true;\n }\n\n if (\n user.investorSummaryData.country === \"United States\" &&\n nationalId === \"\"\n ) {\n setNationalIdError(\"Please enter a ssn.\");\n errorPresent = true;\n } else if (\n user.investorSummaryData.country === \"United States\" &&\n !isValidSSN(nationalId)\n ) {\n setNationalIdError(\"Please enter a valid ssn.\");\n errorPresent = true;\n }\n if (errorPresent) {\n return;\n } else {\n investorInformation.citizenship = citizenship;\n investorInformation.date_of_birth = dob;\n if (user.investorSummaryData.country === \"United States\") {\n investorInformation.id_num = nationalId;\n investorInformation.id_type = \"SSN\";\n } else {\n investorInformation.id_num = passportNumber;\n investorInformation.id_type = \"PASS\";\n }\n\n let addressInformation = {};\n addressInformation.address_line_1 = address;\n addressInformation.address_line_2 = addressLine2;\n addressInformation.city = city;\n addressInformation.state = countryState;\n addressInformation.country = country;\n addressInformation.postal_code = postalCode;\n addressInformation.address_type = \"RM\";\n\n try {\n setPIILoading(true);\n await updateInvestorAddress(addressInformation);\n await updateInvestorPII(investorInformation);\n\n const updatedUser = user;\n let investorPII = {};\n investorPII.date_of_birth = dob;\n investorPII.id_type = idType;\n investorPII.id_num = investorInformation.id_num;\n\n let updateInvestorPIIArray = [];\n\n updateInvestorPIIArray.push(investorPII);\n updatedUser.userProfileData.investor_pii = updateInvestorPIIArray;\n\n let investorAddress = {};\n investorAddress.address_line_1 = address;\n investorAddress.address_line_2 = addressLine2;\n investorAddress.city = city;\n investorAddress.country = country;\n investorAddress.state = countryState;\n investorAddress.postal_code = postalCode;\n\n let updateInvestorAddressArray = [];\n updateInvestorAddressArray.push(investorAddress);\n updatedUser.userProfileData.investor_addresses =\n updateInvestorAddressArray;\n\n updatedUser.investorPrimaryAddressLine1 = address;\n updatedUser.investorPrimaryAddressLine2 = addressLine2;\n updatedUser.investorPrimaryCity = city;\n updatedUser.investorPrimaryState = countryState;\n updatedUser.investorPrimaryCountry = country;\n updatedUser.investorPrimaryPostalCode = postalCode;\n updatedUser.investorPrimaryAddressType =\n primaryAddressDeliverable === \"Yes\" ? \"RM\" : \"R\";\n updatedUser.investorSummaryData.address_complete = true;\n updatedUser.investorSummaryData.pii_complete = true;\n setAccountSummaryData({\n ...accountSummaryData,\n ...{ investor_profile_complete: true },\n });\n setUser(updatedUser);\n setPIILoading(false);\n } catch (err) {\n setPIILoading(false);\n }\n }\n };\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n \n Investor Information\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n \n
    \n {country === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n {user.investorPrimaryAddressLine1 === \"\" ? (\n \n ) : (\n \n )}\n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n {user.investorSummaryData.country === \"United States\" && (\n \n )}\n {user.investorSummaryData.country !== \"United States\" && (\n \n )}\n
    {\" \"}\n
    \n {user.investorPrimaryAddressLine1 === \"\" ? (\n \n ) : (\n \n )}\n
    \n
    \n {/*
    \n
    \n
    \n
    \n \n Address Line 1\n \n
    \n \n {addressError &&\n addressError !== \"This field is required.\" && (\n
    \n {addressError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    */}\n {/*
    \n
    \n
    \n
    \n \n Address Line 2\n \n
    \n \n
    \n
    \n
    \n
    \n
    */}\n {/*
    \n
    \n
    \n
    \n \n City\n \n
    \n \n {cityError && cityError !== \"This field is required.\" && (\n
    \n {cityError}\n
    \n )}\n
    \n
    \n {country === \"United States\" && (\n
    \n State\n
    \n \n {countryStateError && (\n
    \n {countryStateError}\n
    \n )}\n
    \n
    \n )}\n
    \n
    \n
    */}\n {/*
    \n
    \n
    \n
    \n Country\n
    \n \n {countryError && countryError && (\n
    \n {countryError}\n
    \n )}\n
    \n
    \n
    \n \n Postal Code\n \n
    \n \n {postalCodeError &&\n postalCodeError !== \"This field is required.\" && (\n
    \n {postalCodeError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    */}\n\n {(primaryAddressDeliverable === \"No\" ||\n user.investorSecondaryAddressLine1 !== \"\") && (\n \n )}\n\n {/*
    \n
    \n
    \n
    \n DOB\n
    \n \n {dobError && dobError !== \"This field is required.\" && (\n
    \n {dobError}\n
    \n )}\n
    \n
    \n
    \n \n {user.investorSummaryData.country === \"United States\"\n ? \"SSN\"\n : \"Passport Number\"}\n \n
    \n {user.investorSummaryData.country === \"United States\" ? (\n \n ) : (\n \n )}\n {nationalIdError &&\n nationalIdError !== \"This field is required.\" && (\n
    \n {nationalIdError}\n
    \n )}\n {passportNumberError &&\n passportNumberError !== \"This field is required.\" && (\n
    \n {passportNumberError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    */}\n\n {user &&\n (user.userProfileData.investor_pii.length === 0 ||\n user.userProfileData.investor_pii[0].date_of_birth === \"\" ||\n user.userProfileData.investor_pii[0].id_num === \"\") ? (\n
    \n
    \n submitAddressPII()}\n disabled={piiLoading}\n >\n {piiLoading && (\n
    \n
    \n \n Save Personal Information\n \n \n
    \n
    \n )}\n {!piiLoading && Save Personal Information}\n \n
    \n
    \n ) : (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n )}\n
    \n
    \n \n
    \n );\n}\n\nexport default InvestorInformation;\n","import React, { useState, useEffect } from \"react\";\nimport \"./ProfilePasswordFieldStyles/ProfilePasswordFieldStyles.css\";\n\nfunction ProfilePasswordField({\n placeholder,\n error,\n fieldValueChange,\n initialValue,\n}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n const [fieldValue, setFieldValue] = useState(\"\");\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n fieldValueChange(fieldValue);\n }, [fieldValue, fieldValueChange]);\n\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n setFieldValue(event.target.value)}\n >\n
    \n \n );\n}\nexport default ProfilePasswordField;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport \"./ProfilePasswordStyles/ProfilePasswordStyles.css\";\nimport \"react-minimal-side-navigation/lib/ReactMinimalSideNavigation.css\";\nimport ProfilePasswordField from \"../../../Components/GlobalComponents/ProfileInputFields/ProfilePasswordField/ProfilePasswordField.js\";\nimport { isPasswordValid } from \"../../../GlobalFunctions/globalFunctions.js\";\nimport { Auth } from \"aws-amplify\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\n\nfunction ProfilePassword() {\n const [resetPassword, setResetPassword] = useState(false);\n const [oldPassword, setOldPassword] = useState(\"\");\n const [oldPasswordError, setOldPasswordError] = useState(\"\");\n const [newPassword, setNewPassword] = useState(\"\");\n const [confirmNewPassword, setConfirmNewPassword] = useState(\"\");\n const [newPasswordError, setNewPasswordError] = useState(\"\");\n const [confirmNewPasswordError, setConfirmNewPasswordError] = useState(\"\");\n const [resetPasswordError, setResetPasswordError] = useState(\"\");\n const { user } = useContext(UserContext);\n\n useEffect(() => {\n setNewPasswordError(\"\");\n }, [newPassword]);\n\n useEffect(() => {\n setOldPasswordError(\"\");\n }, [oldPassword]);\n\n useEffect(() => {\n setConfirmNewPasswordError(\"\");\n }, [confirmNewPassword]);\n\n const submit = async () => {\n var errorsDetected = false;\n var changesDetected = false;\n\n if (oldPassword.length === 0) {\n setOldPasswordError(\"This field is required.\");\n errorsDetected = true;\n }\n if (newPassword.length === 0) {\n setNewPasswordError(\"This field is required.\");\n errorsDetected = true;\n } else if (!isPasswordValid(newPassword)) {\n setNewPasswordError(\n \"Your password must be longer than 10 characters and contain at least one number, an uppercase, a lowercase, and a special character.\"\n );\n errorsDetected = true;\n }\n if (confirmNewPassword.length === 0) {\n setConfirmNewPasswordError(\"This field is required.\");\n errorsDetected = true;\n } else if (confirmNewPassword !== newPassword) {\n setConfirmNewPasswordError(\"Your confirm password does not match.\");\n errorsDetected = true;\n }\n\n if (errorsDetected) {\n return;\n } else {\n try {\n const currentUser = await Auth.currentAuthenticatedUser();\n await Auth.changePassword(currentUser, oldPassword, newPassword);\n setResetPassword(false);\n } catch (err) {\n setResetPasswordError(\"Password change failed. Try Again.\");\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n };\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n Change Password\n
    \n
    \n\n {resetPassword ? (\n
    \n
    \n
    \n \n Please enter a new password\n \n
    \n
    \n
    \n \n Old Password\n \n
    \n \n {oldPasswordError &&\n oldPasswordError !== \"This field is required.\" && (\n
    \n {oldPasswordError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \n New Password\n \n
    \n \n {newPasswordError &&\n newPasswordError !== \"This field is required.\" && (\n
    \n {newPasswordError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \n Confirm Password\n \n
    \n \n {confirmNewPasswordError &&\n confirmNewPasswordError !==\n \"This field is required.\" && (\n
    \n \n {confirmNewPasswordError}\n \n
    \n )}\n {resetPasswordError &&\n resetPasswordError !== \"This field is required.\" && (\n
    \n {resetPasswordError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n submit()}\n >\n Submit\n \n
    \n {\n setResetPassword(false);\n }}\n >\n Cancel\n \n
    \n
    \n
    \n
    \n ) : (\n
    \n
    \n setResetPassword(true)}\n >\n Change Password\n \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n );\n}\n\nexport default ProfilePassword;\n","import React, { useState, useCallback } from \"react\";\nimport \"./VerticalTabTitleStyles/VerticalTabTitleStyles.css\";\n\nfunction VerticalTabTitle({\n title,\n setSelectedTab,\n index,\n setSelected,\n selected,\n}) {\n const onClick = useCallback(() => {\n setSelectedTab(index);\n }, [setSelectedTab, index]);\n\n return (\n
    \n setSelected(true)}\n >\n
    {title}
    \n
    \n \n );\n}\nexport default VerticalTabTitle;\n","import React, { useState, useEffect } from \"react\";\nimport VerticalTabTitle from \"./VerticalTabTitle.js\";\nimport \"./VerticalTabsStyles/VerticalTabsStyles.css\";\nfunction VerticalTabs(props) {\n const [selectedTab, setSelectedTab] = useState(props.initial);\n\n useEffect(() => {\n setSelectedTab(props.initial);\n }, [props.initial]);\n\n // useEffect(() => {\n // console.log(\"Props are: \" + JSON.stringify(props.children));\n // }, [props.children]);\n\n return (\n
    \n
    \n
    \n
    \n
    \n {props.children.map((item, index) =>\n index === 0 ? (\n
    \n \n
    \n ) : (\n
    \n \n
    \n )\n )}\n
    \n
    \n
    \n {props.children[selectedTab]}\n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default VerticalTabs;\n","import React from \"react\";\n\nfunction VerticalTab(props) {\n return
    {props.children}
    ;\n}\nexport default VerticalTab;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport {getAccountSummary } from \"./../../../Api/ProfileApi.js\";\nimport ProfileHeader from \"./ProfileHeader.js\";\nimport ProfileBasicInfo from \"./ProfileBasicInfo.js\";\nimport InvestorInformation from \"./InvestorInformation.js\";\nimport ProfilePassword from \"./ProfilePassword.js\";\nimport \"./Profile.css\";\nimport \"react-minimal-side-navigation/lib/ReactMinimalSideNavigation.css\";\nimport VerticalTabs from \"../../../Components/GlobalComponents/VerticalTabs/VerticalTabs.js\";\nimport VerticalTab from \"../../../Components/GlobalComponents/VerticalTabs/VerticalTab.js\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\nimport {\n getInvestorProfile,\n} from \"../../../Api/ProfileApi.js\";\nimport LoadingAnimation from \"../../../Components/GlobalComponents/LoadingAnimation/LoadingAnimation.js\";\n\nimport \"./IndividualProfileSection/IndividualProfileSectionStyles/IndividualProfileSectionStyles.css\";\n\n\nfunction Profile(props) {\n const [basicInfoSelected, setBasicInfoSelected] = useState(true);\n const [investorInformationSelected, setInvestorInformationSelected] =\n useState(false);\n const [identityVerificationSelected, setIdentityVerificationSelected] =\n useState(false);\n const [qualifiedPurchaserSelected, setQualifiedPurchaserSelected] =\n useState(false);\n const [trustInformationSelected, setTrustInformationSelected] =\n useState(false);\n const [entityInformationSelected, setEntityInformationSelected] =\n useState(false);\n const [initialState, setInitialState] = useState(0);\n const [passwordSelected, setPasswordSelected] = useState(false);\n const location = useLocation();\n const [errorMessage, setErrorMessage] = useState(\n location ? (location.state ? location.state.message : \"\") : \"\"\n );\n const [completed, setCompleted] = useState(false);\n const [loading, setLoading] = useState(true);\n const [verified, setVerified] = useState(false);\n const [accountSummaryData, setAccountSummaryData] = useState({});\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n \n async function setProfileData() {\n const userProfile = await getInvestorProfile(); // profile-pii\n\n var investorPrimaryAddressLine1 = \"\";\n var investorPrimaryAddressLine2 = \"\";\n var investorPrimaryCity = \"\";\n var investorPrimaryState = \"\";\n var investorPrimaryCountry = \"\";\n var investorPrimaryPostalCode = \"\";\n var investorPrimaryAddressType = \"\";\n\n var investorSecondaryAddressLine1 = \"\";\n var investorSecondaryAddressLine2 = \"\";\n var investorSecondaryCity = \"\";\n var investorSecondaryState = \"\";\n var investorSecondaryCountry = \"\";\n var investorSecondaryPostalCode = \"\";\n var investorSecondaryAddressType = \"\";\n\n if (userProfile.data[0].investor_addresses.length === 1) {\n investorPrimaryAddressLine1 =\n userProfile.data[0].investor_addresses[0].address_line_1;\n investorPrimaryAddressLine2 =\n userProfile.data[0].investor_addresses[0].address_line_2;\n investorPrimaryCity =\n userProfile.data[0].investor_addresses[0].city;\n investorPrimaryState =\n userProfile.data[0].investor_addresses[0].state;\n investorPrimaryCountry =\n userProfile.data[0].investor_addresses[0].country;\n investorPrimaryPostalCode =\n userProfile.data[0].investor_addresses[0].postal_code;\n investorPrimaryAddressType =\n userProfile.data[0].investor_addresses[0].address_type;\n } else if (userProfile.data[0].investor_addresses.length > 1) {\n userProfile.data[0].investor_addresses.forEach(\n (investor_address) => {\n if (investor_address.address_type === \"M\") {\n investorSecondaryAddressLine1 =\n investor_address.address_line_1;\n investorSecondaryAddressLine2 =\n investor_address.address_line_2;\n investorSecondaryCity = investor_address.city;\n investorSecondaryState = investor_address.state;\n investorSecondaryCountry = investor_address.country;\n investorSecondaryPostalCode = investor_address.postal_code;\n investorSecondaryAddressType = investor_address.address_type;\n } else if (\n investor_address.address_type === \"R\" ||\n investor_address === \"RM\"\n ) {\n investorPrimaryAddressLine1 = investor_address.address_line_1;\n investorPrimaryAddressLine2 = investor_address.address_line_2;\n investorPrimaryCity = investor_address.city;\n investorPrimaryState = investor_address.state;\n investorPrimaryCountry = investor_address.country;\n investorPrimaryPostalCode = investor_address.postal_code;\n investorPrimaryAddressType = investor_address.address_type;\n }\n }\n );\n }\n setUser((user) => ({ \n ...user,\n userProfileData: userProfile.data[0],\n investorPrimaryAddressLine1: investorPrimaryAddressLine1,\n investorPrimaryAddressLine2: investorPrimaryAddressLine2,\n investorPrimaryCity: investorPrimaryCity,\n investorPrimaryState: investorPrimaryState,\n investorPrimaryCountry: investorPrimaryCountry,\n investorPrimaryPostalCode: investorPrimaryPostalCode,\n investorPrimaryAddressType: investorPrimaryAddressType,\n investorSecondaryAddressLine1: investorSecondaryAddressLine1,\n investorSecondaryAddressLine2: investorSecondaryAddressLine2,\n investorSecondaryCity: investorSecondaryCity,\n investorSecondaryState: investorSecondaryState,\n investorSecondaryCountry: investorSecondaryCountry,\n investorSecondaryPostalCode: investorSecondaryPostalCode,\n investorSecondaryAddressType: investorSecondaryAddressType,\n }));\n setLoading(false);\n }\n\n setProfileData(); }, []);\n\n useEffect(() => {\n \n\n async function fetchAccountSummary() {\n const accountSummaryDataRespUnformatted = await getAccountSummary(user.accountListData[0].id);\n const accountSummaryDataResp = accountSummaryDataRespUnformatted.data[0];\n setAccountSummaryData(accountSummaryDataResp);\n\n if (\n user.userProfileData.address_complete &&\n user.userProfileData.pii_complete &&\n accountSummaryData && \n !accountSummaryData.investor_profile_complete\n ) {\n setAccountSummaryData({...accountSummaryData, ...{investor_profile_complete: true}});\n }\n if (\n accountSummaryDataResp.entities.length !== 0 &&\n (accountSummaryDataResp.entities[0].type === \"LLC\" ||\n accountSummaryDataResp.entities[0].type === \"C-CORP\" ||\n accountSummaryDataResp.entities[0].type === \"S-CORP\" ||\n accountSummaryDataResp.entities[0].type === \"LP\" ||\n accountSummaryDataResp.entities[0].type === \"GP\" ||\n accountSummaryDataResp.entities[0].type === \"FE\")\n ) {\n if (\n accountSummaryDataResp.entities[0].address_complete &&\n accountSummaryDataResp.entities[0].tax_info_complete &&\n !accountSummaryDataResp.entity_complete\n ) {\n setAccountSummaryData({...accountSummaryData, ...{entity_complete: true}});\n } else if (\n accountSummaryDataResp.entities[0].address_complete &&\n accountSummaryDataResp.entities[0].tax_info_complete &&\n accountSummaryDataResp.entities[0].related_party_complete &&\n !accountSummaryDataResp.entity_complete\n ) {\n setAccountSummaryData({...accountSummaryData, ...{entity_complete: true}});\n } } };\n fetchAccountSummary();\n\n }, [user]);\n\n\n const { completeProfile, verifyProfile } = location\n ? location.state\n ? location.state\n : {\n completeProfile: \"\",\n verifyProfile: \"\",\n }\n : {\n completeProfile: \"\",\n verifyProfile: \"\",\n };\n\n useEffect(() => {\n setCompleted(completeProfile === \"yes\");\n setVerified(verifyProfile === \"yes\");\n // console.log(\"Location state is: \" + location ? location.state : \"\");\n }, []);\n\n useEffect(() => {\n if (completed) {\n setInitialState(1);\n } else if (verified) {\n setInitialState(3);\n }\n }, [completed, verified]);\n useEffect(() => {\n if (basicInfoSelected) {\n setInvestorInformationSelected(false);\n setIdentityVerificationSelected(false);\n setQualifiedPurchaserSelected(false);\n setTrustInformationSelected(false);\n setPasswordSelected(false);\n }\n }, [basicInfoSelected]);\n\n useEffect(() => {\n if (investorInformationSelected) {\n setBasicInfoSelected(false);\n setIdentityVerificationSelected(false);\n setQualifiedPurchaserSelected(false);\n setTrustInformationSelected(false);\n setPasswordSelected(false);\n }\n }, [investorInformationSelected]);\n\n useEffect(() => {\n if (identityVerificationSelected) {\n setInvestorInformationSelected(false);\n setBasicInfoSelected(false);\n setQualifiedPurchaserSelected(false);\n setTrustInformationSelected(false);\n setPasswordSelected(false);\n }\n }, [identityVerificationSelected]);\n\n useEffect(() => {\n if (qualifiedPurchaserSelected) {\n setInvestorInformationSelected(false);\n setIdentityVerificationSelected(false);\n setBasicInfoSelected(false);\n setTrustInformationSelected(false);\n setPasswordSelected(false);\n }\n }, [qualifiedPurchaserSelected]);\n\n useEffect(() => {\n if (passwordSelected) {\n setInvestorInformationSelected(false);\n setIdentityVerificationSelected(false);\n setQualifiedPurchaserSelected(false);\n setTrustInformationSelected(false);\n setBasicInfoSelected(false);\n }\n }, [passwordSelected]);\n\n useEffect(() => {\n if (trustInformationSelected) {\n setInvestorInformationSelected(false);\n setIdentityVerificationSelected(false);\n setQualifiedPurchaserSelected(false);\n setBasicInfoSelected(false);\n }\n }, [trustInformationSelected]);\n\n return (\n \n
    \n
    \n
    \n
    \n \n
    \n\n \n \n \n \n \n { !loading ? : } \n \n \n \n \n \n\n\n
    \n
    \n
    \n );\n}\n\nexport default Profile;\n","import axios from \"axios\";\nimport { HOST } from \"../host-config.js\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders.js\";\nimport Search from \"antd/lib/transfer/search\";\n\nexport const getBlogPostByLink = async (blogPostLink) => {\n const link = blogPostLink.toString();\n const config = await getRequestHeaders();\n\n const requestParams = {\n params: {\n link: link,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n\n return axios.get(HOST + \"/blog\", requestParams);\n};\n\nexport const searchBlogPosts = async (searchKeywords) => {\n // const link = blogPostLink.toString();\n const config = await getRequestHeaders();\n\n const requestParams = {\n params: {\n query: searchKeywords,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n\n return axios.get(HOST + \"/search-blogs\", requestParams);\n};\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router\";\nimport Header from \"../../../../Components/GlobalComponents/Header\";\nimport { Breadcrumb } from \"antd\";\nimport { useParams } from \"react-router\";\nimport PageLoading from \"../../../../Components/GlobalComponents/PageLoading/PageLoading\";\nimport GetBlogPostByLinkAdapter from \"../../../../Adapters/GetBlogPostByLinkAdapter\";\nimport \"./BlogPostPageStyles/BlogPostPageStyles.scss\";\n\nfunction BlogPostPage() {\n let history = useHistory();\n const { id } = useParams();\n const [loading, setLoading] = useState(true);\n const [postImageLoading, setPostImageLoading] = useState(true);\n const [authorPicLoading, setAuthorPicLoading] = useState(true);\n const { blogPost } = GetBlogPostByLinkAdapter(id, setLoading);\n\n const postImageOnLoad = () => {\n setPostImageLoading(false);\n };\n\n const authorPicOnLoad = () => {\n setAuthorPicLoading(false);\n };\n\n return loading ? (\n \n ) : (\n \n
    \n
    \n
    \n
    \n \">\n {\n e.preventDefault();\n history.push(\"/learn\");\n }}\n >\n Blog\n \n \n \n {blogPost.postTitle}\n \n \n \n
    \n
    \n
    {blogPost.postTitle}
    \n
    \n
    \n
    \n {blogPost.postSubtitle}\n
    \n
    \n
    \n
    \n \n \n \n {blogPost.authorName}\n
    \n
    \n
    \n
    \n \n \n
    \n
    \n Loading...

    ,\n }}\n >\n
    \n
    \n \n \n );\n}\nexport default BlogPostPage;\n","import { useState, useEffect } from \"react\";\nimport { getBlogPostByLink } from \"../Api/BlogPostApi.js\";\nimport { getSignedURL } from \"../Api/GlobalFunctions/SignedURL\";\n\nexport default function GetBlogPostByLinkAdapter(link, setLoading) {\n const [blogPost, setBlogPost] = useState([]);\n\n useEffect(() => {\n setBlogPost([]);\n }, []);\n\n useEffect(async () => {\n setBlogPost([]);\n setLoading(true);\n\n try {\n const response = await getBlogPostByLink(link);\n if (response.data !== null && response.data !== undefined) {\n try {\n var postImageURL = \"\";\n var authorProfilePicURL = \"\";\n\n async function getUsableURLs() {\n setBlogPost({\n id: response.data.id,\n postTitle: response.data.title,\n postSubtitle: response.data.subtitle,\n postContent: response.data.content,\n postImageLink: response.data.thumbnail,\n authorName: response.data.author.name,\n authorEmail: response.data.author.email,\n authorProfilePicLink: response.data.author.image,\n display: response.data.display,\n });\n setLoading(false);\n }\n getUsableURLs();\n } catch (error) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(error);\n setLoading(false);\n }\n // setLoading(false);\n }\n } catch (error) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(error);\n }\n }, [link]);\n\n return { blogPost };\n}\n","import React, { useState } from \"react\";\nimport VerticalTabTitle from \"./VerticalTabTitle.js\";\nimport \"./VerticalTabsStyles/VerticalTabsStyles.css\";\nfunction LargeVerticalTabs(props) {\n const [selectedTab, setSelectedTab] = useState(props.initial);\n\n return (\n
    \n
    \n
    \n
    \n
    \n {props.children.map((item, index) =>\n index === 0 ? (\n
    \n \n
    \n ) : (\n
    \n \n
    \n )\n )}\n
    \n
    \n
    \n {props.children[selectedTab]}\n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default LargeVerticalTabs;\n","import React from \"react\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\nimport \"./AccountStatementsStyles/AccountStatementsStyles.css\";\nfunction AccountStatements({ accountStatements }) {\n const newColumns = [\n {\n dataField: \"documentName\",\n text: \"Document Name\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"documentType\",\n text: \"Document Type\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"accountName\",\n text: \"Account\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"documentDate\",\n text: \"Date\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"viewed\",\n text: \"Read/Unread\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n ];\n\n const rowEvents = {\n onClick: (e, row, rowIndex) => {\n window.open(row.documentLink, \"_blank\").focus();\n },\n };\n\n return (\n
    \n
    \n
    \n \n {accountStatements.length === 0 && (\n
    \n \n You don't have any statements to show.\n \n
    \n )}\n
    \n
    \n
    \n );\n}\nexport default AccountStatements;\n","import React from \"react\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\nimport \"./TaxDocumentStyles/TaxDocumentStyles.css\";\n\nfunction TaxDocuments({ taxDocuments }) {\n const newColumns = [\n {\n dataField: \"documentName\",\n text: \"Document Name\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"documentType\",\n text: \"Document Type\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"accountName\",\n text: \"Account\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"documentDate\",\n text: \"Date\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"viewed\",\n text: \"Read/Unread\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n ];\n\n const rowEvents = {\n onClick: (e, row, rowIndex) => {\n window.open(row.documentLink, \"_blank\").focus();\n },\n };\n\n return (\n
    \n
    \n
    \n \n {taxDocuments.length === 0 && (\n
    \n \n You don't have any documents to show.\n \n
    \n )}\n
    \n
    \n
    \n );\n}\nexport default TaxDocuments;\n","import React from \"react\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\nimport \"./UserFundDocumentsStyles/UserFundDocumentsStyles.css\";\n\nfunction UserFundDocuments({ userFundDocuments }) {\n const newColumns = [\n {\n dataField: \"documentName\",\n text: \"Document Name\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"documentType\",\n text: \"Document Type\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"accountName\",\n text: \"Account\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"documentDate\",\n text: \"Date\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"viewed\",\n text: \"Read/Unread\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n ];\n\n const rowEvents = {\n onClick: (e, row, rowIndex) => {\n window.open(row.documentLink, \"_blank\").focus();\n },\n };\n\n return (\n
    \n
    \n
    \n \n {userFundDocuments.length === 0 && (\n
    \n \n You don't have any documents to show.\n \n
    \n )}\n
    \n
    \n
    \n );\n}\nexport default UserFundDocuments;\n","import axios from \"axios\";\nimport { HOST } from \"../host-config.js\";\nimport { getRequestHeaders } from \"./GlobalFunctions/RequestHeaders.js\";\n\n//Dev environment endpoint\nexport const getUserStatements = async () => {\n // console.log(\"Account statement id: \" + accountId);\n const config = await getRequestHeaders();\n const requestParams = {\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(HOST + \"/user-statement-documents/\", requestParams);\n};\n\n//Dev environment endpoint\nexport const getUserTaxDocuments = async () => {\n // console.log(\"Account tax id: \" + accountId);\n const config = await getRequestHeaders();\n const requestParams = {\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(HOST + \"/user-tax-documents/\", requestParams);\n};\n\n//Dev environment endpoint\nexport const getUserFundDocuments = async () => {\n // console.log(\"Account fund id: \" + accountId);\n const config = await getRequestHeaders();\n const requestParams = {\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n return axios.get(HOST + \"/user-fund-documents/\", requestParams);\n};\n\nexport const resendMagicLink = async (code) => {\n const call = axios.get(HOST + `/resend-magic-link?code=${code}`);\n\n return call;\n};\n\n\n\nexport const clickToSign = async (code) => {\n const requestParams = {\n code: code,\n };\n const call = axios.post(HOST + `/sydecar-doc-sign`, requestParams);\n\n return call;\n};\n\nexport const getSubdocLink = async (accountId, fundId, attempts) => {\n const config = await getRequestHeaders();\n const requestParams = {\n params: {\n tryCount: attempts,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n const call = axios.get(\n HOST + `/investment/subdoc-link?account_id=${accountId}&fund_id=${fundId}`,\n requestParams\n );\n\n return call;\n};\n\nexport const getSubdocLinkFromCode = async (code) => {\n const call = axios.get(HOST + `/enqueue-subdoc-link-client?code=${code}`);\n\n return call;\n};\n\nexport const getSubdocSignature = async (accountId, fundId, attempts) => {\n const config = await getRequestHeaders();\n const requestParams = {\n params: {\n tryCount: attempts,\n },\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n const call = axios.get(\n HOST +\n `/investment/get-sub-doc-signed?account_id=${accountId}&fund_id=${fundId}`,\n requestParams\n );\n\n return call;\n};\n","import React from \"react\";\nimport { Menu, Dropdown, Button, Space } from \"antd\";\nimport { Select } from \"antd\";\nimport \"antd/dist/antd.css\";\nimport \"./DocumentTypeFilterStyles/DocumentTypeFilterStyles.css\";\n\nfunction DocumentTypeFilter({ text, setText, defaultKey }) {\n const menu = (\n setText(e.key)}\n defaultSelectedKeys={defaultKey}\n >\n \n Statements\n \n \n Closing\n \n \n Tax\n \n \n );\n\n return (\n \n \n
    \n
    \n \n {\"Type: \" + text}\n \n
    \n
    \n \"portfolio-arrow\"\n
    \n
    \n \n
    \n );\n}\nexport default DocumentTypeFilter;\n","import React from \"react\";\nimport \"./MobileDocumentCardStyles/MobileDocumentCardStyles.css\";\n\nfunction MobileDocumentCard({\n documentName,\n documentType,\n documentDate,\n documentLink,\n accountName\n}) {\n return (\n window.open(documentLink, \"_blank\").focus()}\n >\n
    \n
    \n
    \n
    \n
    \n \n Name:\n \n
    \n
    \n \n {documentName}\n \n
    \n
    \n
    \n
    \n \n Type:\n \n
    \n
    \n \n {documentType}\n \n
    \n
    \n
    \n
    \n \n Account:\n \n
    \n
    \n \n {accountName}\n \n
    \n
    \n
    \n
    \n \n Date:\n \n
    \n
    \n \n {documentDate}\n \n
    \n
    \n
    \n
    \n
    \n \n );\n}\nexport default MobileDocumentCard;\n","import React, { useState, useEffect } from \"react\";\nimport DocumentTypeFilter from \"../../../../Components/GlobalComponents/DocumentTypeFilter/DocumentTypeFilter\";\nimport MobileDocumentCard from \"./MobileDocumentCard/MobileDocumentCard\";\nimport \"./MobileDocumentsSectionStyles/MobileDocumentsSectionStyles.css\";\n\nfunction MobileDocumentsSection({\n documentType,\n setDocumentType,\n accountStatements,\n closingDocuments,\n taxDocuments,\n}) {\n const [documents, setDocuments] = useState([]);\n useEffect(() => {\n if (documentType === \"Statements\") {\n setDocuments(accountStatements);\n } else if (documentType === \"Closing\") {\n setDocuments(closingDocuments);\n } else if (documentType === \"Tax\") {\n setDocuments(taxDocuments);\n }\n }, [documentType]);\n\n return (\n
    \n
    \n
    \n \n
    \n
    \n
    \n {documents.map((document) => {\n return (\n \n );\n })}\n
    \n
    \n
    \n
    \n );\n}\nexport default MobileDocumentsSection;\n","import React, { useState, useEffect } from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport \"./DocumentsPageStyles/DocumentsPageStyles.css\";\nimport LargeVerticalTabs from \"../../../Components/GlobalComponents/VerticalTabs/LargeVerticalTabs.js\";\nimport VerticalTab from \"../../../Components/GlobalComponents/VerticalTabs/VerticalTab.js\";\n// import BootstrapTable from \"react-bootstrap-table-next\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\nimport { useHistory } from \"react-router-dom\";\n// import { Storage } from \"aws-amplify\";\nimport AccountStatements from \"./AccountStatements.js\";\nimport TaxDocuments from \"./TaxDocuments.js\";\nimport UserFundDocuments from \"./UserFundDocuments.js\";\nimport GetAccountStatement from \"../../../Adapters/AccountStatementAdapters.js\";\nimport GetUserTaxDocuments from \"../../../Adapters/TaxDocumentsAdapter.js\";\n// import * as dayjs from \"dayjs\";\nimport GetUserFundDocuments from \"../../../Adapters/UserFundDocuments.js\";\nimport Media from \"react-media\";\nimport MobileDocumentsSection from \"./MobileDocumentsSection/MobileDocumentsSection.js\";\n// var utc = require(\"dayjs/plugin/utc\");\n\nfunction DocumentsPage() {\n // let history = useHistory();\n // const timeStamp = Date.now();\n const [retrieveInfo, setRetrieveInfo] = useState(false);\n const { accountStatements } = GetAccountStatement(retrieveInfo);\n const { taxDocuments } = GetUserTaxDocuments(retrieveInfo);\n const { userFundDocuments } = GetUserFundDocuments(retrieveInfo);\n\n const [accountStatementsSelected, setAccountStatementsSelected] =\n useState(true);\n const [closingDocumentsSelected, setClosingDocumentsSelected] =\n useState(false);\n const [taxDocumentsSelected, setTaxDocumentsSelected] = useState(false);\n const [documentType, setDocumentType] = useState(\"Statements\");\n\n useEffect(() => {\n if (accountStatementsSelected) {\n setClosingDocumentsSelected(false);\n setTaxDocumentsSelected(false);\n }\n }, [accountStatementsSelected]);\n\n useEffect(() => {\n if (closingDocumentsSelected) {\n setAccountStatementsSelected(false);\n setTaxDocumentsSelected(false);\n }\n }, [closingDocumentsSelected]);\n\n useEffect(() => {\n if (taxDocumentsSelected) {\n setAccountStatementsSelected(false);\n setClosingDocumentsSelected(false);\n }\n }, [taxDocumentsSelected]);\n\n useEffect(() => {\n if (documentType === \"Statements\") {\n setAccountStatementsSelected(true);\n setClosingDocumentsSelected(false);\n setTaxDocumentsSelected(false);\n } else if (documentType === \"Closing\") {\n setAccountStatementsSelected(false);\n setClosingDocumentsSelected(true);\n setTaxDocumentsSelected(false);\n } else if (documentType === \"Tax\") {\n setAccountStatementsSelected(false);\n setClosingDocumentsSelected(false);\n setTaxDocumentsSelected(true);\n }\n }, [documentType]);\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n Documents\n
    \n
    \n
    \n
    \n \n {(matches) =>\n matches.large ? (\n \n \n \n \n \n \n \n \n \n \n \n ) : (\n \n )\n }\n \n
    \n
    \n
    \n
    \n
    \n \n );\n}\nexport default DocumentsPage;\n","import { useState, useEffect, useContext } from \"react\";\nimport { getUserStatements } from \"../Api/DocumentsApi.js\";\nimport { Storage } from \"aws-amplify\";\nimport * as dayjs from \"dayjs\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\n// var utc = require(\"dayjs/plugin/utc\");\n\nexport default function GetAccountStatement(time) {\n const [accountStatements, setAccountStatements] = useState([]);\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n async function getUserAccountStatementsObject() {\n try {\n const response = await getUserStatements();\n // console.log(JSON.stringify(response.data));\n const userAccountStatementsData = response.data;\n\n const sortableStatementData = userAccountStatementsData.map((item) => {\n let date = new Date(item.year, item.month - 1);\n let unixDate = dayjs(date.toString()).unix();\n let formattedDate = dayjs.unix(unixDate).format(\"MMM, YYYY\");\n return {\n id: item.id,\n name: item.name,\n category: item.category,\n upload_date: item.upload_date,\n year: item.year,\n month: item.month,\n unixDate: unixDate,\n documentDate: formattedDate,\n s3_document_link: item.s3_document_link,\n display_document: item.display_document,\n viewed: \"Unread\",\n };\n });\n\n sortableStatementData.sort((a, b) => {\n if (a.unixDate > b.unixDate) {\n return -1;\n }\n if (a.unixDate < b.unixDate) {\n return 1;\n }\n return 0;\n });\n\n sortableStatementData.forEach((item) => {\n let formattedDate = dayjs.unix(item.unixDate).format(\"MMM, YYYY\");\n async function getSignedURL() {\n\n setAccountStatements((prevState) => [\n ...prevState,\n {\n id: item.id,\n documentName: item.name,\n documentType: item.category,\n accountName: item.account_name, \n uploadDate: item.upload_date,\n year: item.year,\n month: item.month,\n documentDate: formattedDate,\n documentLink: item.s3_document_link,\n display: item.display_document,\n viewed: \"Unread\",\n },\n ]);\n }\n getSignedURL();\n });\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"There is an error.\");\n console.error(err); }\n }\n }\n getUserAccountStatementsObject();\n }, [time]);\n return { accountStatements };\n}\n","import { useState, useEffect, useContext } from \"react\";\nimport { getUserTaxDocuments } from \"../Api/DocumentsApi.js\";\nimport { Storage } from \"aws-amplify\";\nimport * as dayjs from \"dayjs\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\n// var utc = require(\"dayjs/plugin/utc\");\n\nexport default function GetTaxDocuments(time) {\n const [taxDocuments, setTaxDocuments] = useState([]);\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n async function getUserTaxDocumentsObject() {\n try {\n const response = await getUserTaxDocuments();\n const userTaxDocumentsData = response.data;\n\n const sortableTaxDocumentsData = userTaxDocumentsData.map((item) => {\n let date = new Date(item.year, 0);\n let unixDate = dayjs(date.toString()).unix();\n let formattedDate = dayjs.unix(unixDate).format(\"MMM, YYYY\");\n return {\n id: item.id,\n name: item.name,\n category: item.category,\n upload_date: item.upload_date,\n year: item.year,\n month: 0,\n unixDate: unixDate,\n documentDate: formattedDate,\n s3_document_link: item.s3_document_link,\n display_document: item.display_document,\n viewed: \"Unread\",\n };\n });\n\n sortableTaxDocumentsData.sort((a, b) => {\n if (a.unixDate > b.unixDate) {\n return -1;\n }\n if (a.unixDate < b.unixDate) {\n return 1;\n }\n return 0;\n });\n\n sortableTaxDocumentsData.forEach((item) => {\n let formattedDate = dayjs.unix(item.unixDate).format(\"YYYY\");\n let X = item.s3_document_link;\n let Y = \"private/\";\n let Z = X.slice(item.s3_document_link.indexOf(Y) + Y.length);\n let Q = \"/\";\n let A = Z;\n let intermediaryUrl = Z.slice(A.indexOf(Q) + Q.length);\n async function getSignedURL() {\n var tempURL = await Storage.get(intermediaryUrl, {\n level: \"private\",\n });\n\n setTaxDocuments((prevState) => [\n ...prevState,\n {\n id: item.id,\n documentName: item.name,\n documentType: item.category,\n accountName: item.account_name, \n uploadDate: item.upload_date,\n year: item.year,\n month: item.month,\n documentDate: formattedDate,\n documentLink: item.s3_document_link,\n display: item.display_document,\n viewed: \"Unread\",\n },\n ]);\n }\n getSignedURL();\n });\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"There is an error.\");\n console.error(err); }\n }\n }\n getUserTaxDocumentsObject();\n }, [time]);\n return { taxDocuments };\n}\n","import { useState, useEffect, useContext } from \"react\";\nimport { getUserFundDocuments } from \"../Api/DocumentsApi.js\";\nimport { Storage } from \"aws-amplify\";\nimport * as dayjs from \"dayjs\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\n// var utc = require(\"dayjs/plugin/utc\");\n\nexport default function GetUserFundDocuments(time) {\n const [userFundDocuments, setUserFundDocuments] = useState([]);\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n async function getUserFundDocumentsObject() {\n try {\n const response = await getUserFundDocuments();\n const userFundDocumentsData = response.data;\n\n const sortableUserFundDocumentsData = userFundDocumentsData.map(\n (item) => {\n let unixUserFundDocumentDateNoTime = dayjs(\n dayjs(item.upload_date).format(\"MMM D, YYYY\")\n );\n let unixUserFundDocumentDate = dayjs(\n unixUserFundDocumentDateNoTime\n ).unix();\n\n let formattedDate = dayjs\n .unix(unixUserFundDocumentDate)\n .format(\"MMM, YYYY\");\n return {\n id: item.id,\n name: item.name,\n category: item.category,\n account_name: item.account_name,\n upload_date: item.upload_date,\n unixDate: unixUserFundDocumentDate,\n documentDate: formattedDate,\n s3_document_link: item.s3_document_link,\n display_document: item.display_document,\n viewed: \"Unread\",\n };\n }\n );\n\n sortableUserFundDocumentsData.sort((a, b) => {\n if (a.unixDate > b.unixDate) {\n return -1;\n }\n if (a.unixDate < b.unixDate) {\n return 1;\n }\n return 0;\n });\n\n sortableUserFundDocumentsData.forEach((item) => {\n let formattedDate = dayjs.unix(item.unixDate).format(\"MMM, YYYY\");\n let X = item.s3_document_link;\n let Y = \"private/\";\n let Z = X.slice(item.s3_document_link.indexOf(Y) + Y.length);\n let Q = \"/\";\n let A = Z;\n let intermediaryUrl = Z.slice(A.indexOf(Q) + Q.length);\n async function getSignedURL() {\n var tempURL = await Storage.get(intermediaryUrl, {\n level: \"private\",\n });\n\n setUserFundDocuments((prevState) => [\n ...prevState,\n {\n id: item.id,\n documentName: item.name,\n documentType: item.category,\n accountName: item.account_name, \n uploadDate: item.upload_date,\n documentDate: formattedDate,\n documentLink: item.s3_document_link,\n display: item.display_document,\n viewed: \"Unread\",\n },\n ]);\n }\n getSignedURL();\n });\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"There is an error.\");\n console.error(err); }\n }\n }\n getUserFundDocumentsObject();\n }, [time]);\n return { userFundDocuments };\n}\n","import React from \"react\";\nimport { Menu, Dropdown, Button, Space } from \"antd\";\nimport \"./DisbursementDepositFilterStyles/DisbursementDepositFilterStyles.css\";\nimport \"antd/dist/antd.css\";\n\nfunction DisbursementDepositFilter({ text, setText, defaultKey }) {\n const menu = (\n setText(e.key)}\n defaultSelectedKeys={defaultKey}\n >\n \n All\n \n \n Deposit\n \n \n Disbursement\n \n \n );\n return (\n \n \n
    \n
    \n \n {\"Filter by: \" + text}\n \n
    \n
    \n \"portfolio-arrow\"\n {/* \n I\n */}\n
    \n
    \n \n
    \n );\n}\nexport default DisbursementDepositFilter;\n","import React from \"react\";\nimport { Menu, Dropdown, Button} from \"antd\";\nimport \"./StatusByDropdownStyles/StatusByDropdownStyles.css\";\nimport \"antd/dist/antd.css\";\n\nfunction StatusByDropdown({ text, setText, defaultKey }) {\n const menu = (\n setText(e.key)}\n defaultSelectedKeys={defaultKey}\n >\n \n All\n \n \n Processing\n \n \n Completed\n \n \n Failed\n \n \n );\n return (\n \n \n
    \n
    \n \n {\"Status by: \" + text}\n \n
    \n
    \n \"portfolio-arrow\"\n {/* \n I\n */}\n
    \n
    \n \n
    \n );\n}\nexport default StatusByDropdown;\n","import axios from \"axios\";\nimport { HOST } from \"../host-config.js\";\nimport { getRequestHeaders } from \"./GlobalFunctions/RequestHeaders.js\";\n\nconst djangoApi = axios.create({\n baseUrl: HOST,\n});\n\n//Dev environment endpoint\nexport const getUserTransactions = async (\n fromDate,\n toDate,\n status,\n transactionType,\n accountId\n) => {\n const config = await getRequestHeaders();\n const requestParams = {\n params: {},\n headers: {\n Authorization: config.headers[\"Authorization\"],\n },\n };\n\n if (accountId !== null) {\n requestParams.params.account_id = accountId;\n }\n\n if (fromDate !== null) {\n var date = new Date(fromDate.year, fromDate.month - 1, fromDate.day);\n var constructedFromDate = date.toISOString();\n requestParams.params.start_date = constructedFromDate;\n }\n\n if (toDate !== null) {\n var date2 = new Date(toDate.year, toDate.month - 1, toDate.day);\n var constructedToDate = date2.toISOString();\n requestParams.params.end_date = constructedToDate;\n }\n\n if (status !== \"All\") {\n let statuses = {\n Pending: \"PENDING\",\n Processing: \"IN_PROCESS\",\n Completed: \"COMPLETED\",\n Failed: \"FAILED\",\n };\n requestParams.params.transaction_status = statuses[status];\n }\n\n if (transactionType !== \"All\") {\n let types = {\n Deposit: \"DEPOSIT\",\n Disbursement: \"DISBURSEMENT\",\n };\n requestParams.params.transaction_type = types[transactionType];\n }\n return axios.get(HOST + \"/investor-transactions-by-date/\", requestParams);\n};\n","import React, { useState, useEffect } from \"react\";\nimport MobileTransactionSection from \"../MobileTransactionSection\";\nimport { formatInvestmentAmount } from \"../../../../../GlobalFunctions/globalFunctions.js\";\nimport \"./MobileTransactionCardStyles/MobileTransactionCardStyles.css\";\n\nfunction MobileTransactionCard({ itemNum, transaction }) {\n const [transactionTypeDiv, setTransactionTypeDiv] = useState(\"\");\n useEffect(() => {\n if (transaction && transaction.transactionType === \"Deposit\") {\n setTransactionTypeDiv(\"deposit-text\");\n } else if (transaction && transaction.transactionType === \"Disbursement\") {\n setTransactionTypeDiv(\"disbursement-text\");\n }\n }, [transaction]);\n return (\n
    \n
    \n
    \n
    \n
    \n \n #{itemNum + 1}\n \n
    \n
    \n
    \n
    \n
    \n Fund Name:\n
    \n
    \n \n {transaction.fundName}\n \n
    \n
    \n
    \n
    \n Firm Name:\n
    \n
    \n \n {transaction.firmName}\n \n
    \n
    \n
    \n
    \n Type:\n
    \n
    \n \n {transaction.transactionType}\n \n
    \n
    \n
    \n
    \n Account:\n
    \n
    \n \n {transaction.transactionAquaAccount}\n \n
    \n
    \n
    \n
    \n Status:\n
    \n
    \n \n {transaction.transactionStatus}\n \n
    \n
    \n
    \n
    \n Method:\n
    \n
    \n \n {transaction.transactionMethod}\n \n
    \n
    \n
    \n
    \n Amount:\n
    \n
    \n \n {\" \"}\n {transactionTypeDiv !== \"\"\n ? transactionTypeDiv === \"deposit-text\"\n ? \"- \" +\n formatInvestmentAmount(transaction.transactionAmount + \"\")\n : \"+ \" +\n formatInvestmentAmount(transaction.transactionAmount + \"\")\n : \"\"}\n \n
    \n
    \n
    \n
    \n );\n}\nexport default MobileTransactionCard;\n","import React from \"react\";\nimport MobileTransactionCard from \"./MobileTransactionCard/MobileTransactionCard\";\nimport \"./MobileTransactionSectionStyles/MobileTransactionSectionStyles.css\";\n\nfunction MobileTransactionSection({ transactions }) {\n return (\n
    \n
    \n {transactions.map((transaction, index) => {\n return (\n \n );\n })}\n
    \n
    \n );\n}\nexport default MobileTransactionSection;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport \"./TransactionsPageStyles/TransactionsPageStyles.css\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\nimport DisbursementDepositFilter from \"../../../Components/GlobalComponents/DisbursementDepostFilter/DisbursementDepositFilter.js\";\nimport StatusByDropdown from \"../../../Components/GlobalComponents/StatusByDropdown/StatusByDropdown.js\";\nimport FromFilter from \"../../../Components/GlobalComponents/DateFilters/FromFilter.js\";\nimport ToFilter from \"../../../Components/GlobalComponents/DateFilters/ToFilter.js\";\nimport { getUserTransactions } from \"../../../Api/TransactionsApi.js\";\nimport * as dayjs from \"dayjs\";\nimport Media from \"react-media\";\nimport MobileTransactionSection from \"./MobileTransactionSection/MobileTransactionSection.js\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\n// var utc = require(\"dayjs/plugin/utc\");\n\nfunction TransactionsPage() {\n const [transactions, setTransactions] = useState([]);\n const [text, setText] = useState(\"All\");\n const [statusText, setStatusText] = useState(\"All\");\n const [fromDate, setFromDate] = useState(null);\n const [toDate, setToDate] = useState(null);\n const { user, setUser } = useContext(UserContext);\n\n function amountFormatter(cell, row) {\n if (cell !== undefined && cell !== null) {\n if (row.transactionType === \"Deposit\") {\n let integer = parseInt(cell.toString(), 10);\n return \"- $\" + integer.toLocaleString(\"en-US\");\n } else if (row.transactionType === \"Disbursement\") {\n let integer = parseInt(cell.toString(), 10);\n return \"+ $\" + integer.toLocaleString(\"en-US\");\n }\n }\n }\n\n useEffect(() => {\n if (fromDate !== null) {\n var currentDate = new Date();\n var constructedFromDate = new Date(\n fromDate.year,\n fromDate.month - 1,\n fromDate.day\n );\n }\n if (toDate !== null) {\n var secondCurrentDate = new Date();\n var constructedToDate = new Date(\n toDate.year,\n toDate.month - 1,\n toDate.day\n );\n }\n }, [fromDate, toDate]);\n\n const newColumns = [\n {\n dataField: \"fundName\",\n text: \"Fund Name\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"firmName\",\n text: \"Firm Name\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"transactionType\",\n text: \"Type\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"transactionStatus\",\n text: \"Status\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"transactionMethod\",\n text: \"Method\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"transactionAquaAccount\",\n text: \"Method\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"transactionAmount\",\n text: \"Amount\",\n formatter: amountFormatter,\n //classes: \"table-data-style\",\n classes: (cell, row, rowIndex, colIndex) => {\n if (row.transactionType === \"Deposit\") {\n return \"transaction-font-style-deposit\";\n } else {\n return \"transaction-font-style-disbursement\";\n }\n },\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"transactionDate\",\n text: \"Date\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n ];\n\n useEffect(() => {\n async function getTransactions() {\n try {\n const response = await getUserTransactions(\n fromDate,\n toDate,\n statusText,\n text,\n user ? user.selectedAccountID : null\n );\n var transactionsArray = response.data;\n\n var mappedTransactions = transactionsArray.map((item) => {\n let transactionTypes = {\n DEPOSIT: \"Deposit\",\n DISBURSEMENT: \"Disbursement\",\n };\n\n let transactionStatuses = {\n PENDING: \"Pending\",\n IN_PROCESS: \"Processing\",\n COMPLETED: \"Completed\",\n FAILED: \"Failed\",\n };\n\n let transactionMethods = {\n ACH: \"ACH\",\n WIRE: \"Wire\",\n ELECTRONIC_CHEQUE: \"Electronic Check\",\n MAIL_CHEQUE: \"Mail Check\",\n };\n\n let dateNoTime = dayjs(dayjs(item.date).format(\"MMM D, YYYY\"));\n\n let unixDate = dayjs(dateNoTime).unix();\n\n let formattedDate = dayjs.unix(unixDate).format(\"MMM, YYYY\");\n\n return {\n id: item.id,\n fundName: item.fund.name,\n fundLink: item.fund.link,\n firmName: item.fund.firm.name,\n logoLink: item.fund.firm.logo_link,\n transactionType: transactionTypes[item.type],\n transactionStatus: transactionStatuses[item.status],\n transactionDate: formattedDate,\n transactionMethod: transactionMethods[item.method],\n transactionDateUnix: unixDate,\n transactionAmount: item.amount,\n transactionAccount: item.bank_account,\n transactionInstitution: item.institution,\n transactionAquaAccount: item.account_name\n };\n });\n\n mappedTransactions.sort((a, b) => {\n if (a.transactionDateUnix > b.transactionDateUnix) {\n return -1;\n }\n if (a.transactionDateUnix < b.transactionDateUnix) {\n return 1;\n }\n return 0;\n });\n\n setTransactions(mappedTransactions);\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n getTransactions();\n }, [fromDate, toDate, statusText, text]);\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n Transactions\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n \n {(matches) =>\n !matches.large ? (\n \n ) : (\n
    \n
    \n
    \n \n {transactions.length === 0 && (\n
    \n \n You don't have any transactions to show.\n \n
    \n )}\n
    \n
    \n
    \n )\n }\n \n
    \n
    \n
    \n \n );\n}\nexport default TransactionsPage;\n","import React, { useState, useContext, useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n isEmailValid,\n isPasswordValid,\n} from \"../../../GlobalFunctions/globalFunctions.js\";\nimport ProfileInputField from \"../../../Components/GlobalComponents/ProfileInputFields/ProfileInputField.js\";\nimport ProfilePasswordField from \"../../../Components/GlobalComponents/ProfileInputFields/ProfilePasswordField/ProfilePasswordField.js\";\nimport { Link } from \"react-router-dom\";\nimport { Auth } from \"aws-amplify\";\nimport StateButtonLoading from \"../../../Components/GlobalComponents/StateButtonLoading/StateButtonLoading.js\";\nimport ReactInputVerificationCode from \"react-input-verification-code\";\nimport AlertSnackBar from \"../../../GlobalComponents/AlertSnackBar/AlertSnackBar.js\";\nimport \"./ForgotPasswordPageStyles/ForgotPasswordPageStyles.scss\";\n\nfunction ForgotPasswordPage() {\n let history = useHistory();\n\n const firmName = \"test\";\n const [loading, setLoading] = useState(false);\n const [nextStep, setNextStep] = useState(false);\n const [lastStep, setLastStep] = useState(false);\n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [passwordError, setPasswordError] = useState(\"\");\n const [confirmPassword, setConfirmPassword] = useState(\"\");\n const [confirmPasswordError, setConfirmPasswordError] = useState(\"\");\n const [confirmCode, setConfirmCode] = useState(\"\");\n const [confirmCodeError, setConfirmCodeError] = useState(\"\");\n const [resetPasswordError, setResetPasswordError] = useState(\"\");\n const [sendCodeError, setSendCodeError] = useState(\"\");\n const [proceed, setProceed] = useState(false);\n const [confirmCodeLoading, setConfirmCodeLoading] = useState(false);\n\n const [resendCodeError, setResendCodeError] = useState(false);\n const [resendCodeSuccess, setResendCodeSuccess] = useState(false);\n const [resendCodeInProgress, setResendCodeInProgress] = useState(false);\n\n useEffect(() => {\n setEmailError(\"\");\n }, [email]);\n\n useEffect(() => {\n setPasswordError(\"\");\n }, [password]);\n\n useEffect(() => {\n setConfirmPasswordError(\"\");\n }, [confirmPassword]);\n\n useEffect(() => {\n setConfirmCodeError(\"\");\n if (confirmCode.length === 6) {\n setProceed(true);\n }\n }, [confirmCode]);\n\n const sendCode = async () => {\n var errorsDetected = false;\n\n if (email.length === 0) {\n setEmailError(\"This field is required.\");\n errorsDetected = true;\n } else if (!isEmailValid(email)) {\n setEmailError(\"Please enter a valid email.\");\n errorsDetected = true;\n }\n\n if (errorsDetected) {\n return;\n } else {\n try {\n await Auth.forgotPassword(\n email\n /*{ firm: firmName }*/\n );\n setNextStep(true);\n } catch (err) {\n setSendCodeError(\"There was an error sending code. Please try again.\");\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n };\n\n const resendConfirmationCode = async () => {\n setResendCodeInProgress(true);\n try {\n setResendCodeInProgress(false);\n await Auth.forgotPassword(\n email\n /*{ firm: firmName }*/\n );\n setResendCodeSuccess(true);\n } catch (err) {\n setResendCodeInProgress(false);\n console.log(err);\n setResendCodeError(true);\n }\n };\n\n const resetPassword = async () => {\n var resetPasswordErrorDetected = false;\n\n if (password.length === 0) {\n setPasswordError(\"This field is required.\");\n resetPasswordErrorDetected = true;\n } else if (!isPasswordValid(password)) {\n setPasswordError(\n \"Your password must be longer than 10 characters and contain at least one number, an uppercase, a lowercase, and a special character.\"\n );\n resetPasswordErrorDetected = true;\n }\n if (confirmPassword.length === 0) {\n setConfirmPasswordError(\"This field is required.\");\n resetPasswordErrorDetected = true;\n } else if (password !== confirmPassword) {\n setConfirmPasswordError(\"Your confirm password does not match.\");\n resetPasswordErrorDetected = true;\n }\n\n if (resetPasswordErrorDetected) {\n return;\n } else {\n setLastStep(true);\n }\n };\n\n const submitPasswordUpdate = async () => {\n var confirmationCodeErrorDetected = false;\n\n if (confirmCode.length !== 6) {\n setConfirmCodeError(\"Please enter a valid confirmation code.\");\n }\n if (confirmationCodeErrorDetected) {\n return;\n } else {\n setConfirmCodeLoading(true);\n try {\n console.log(confirmCode);\n await Auth.forgotPasswordSubmit(\n email,\n confirmCode,\n password\n /*{ firm: firmName },*/\n );\n setConfirmCodeLoading(false);\n history.push({\n pathname: \"/login\",\n state: { passwordResetSuccessful: true },\n });\n } catch (err) {\n setConfirmCodeLoading(false);\n if (err.code === \"CodeMismatchException\")\n setResetPasswordError(\"Incorrect verification code.\");\n else setResetPasswordError(\"Reset password failed. Please try again.\");\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n }\n }\n };\n\n return (\n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n Forgot your password?\n \n
    \n
    \n
    \n
    \n \n Don't worry, it happens to the best of us\n \n
    \n
    \n {nextStep ? (\n lastStep ? (\n \n
    \n \n Enter the 6 digit verification code that was sent to\n your email\n \n
    \n
    \n
    \n \n *Please check your spam mail if the code does not\n appear in your normal inbox.\n \n
    \n
    \n
    \n
    \n
    \n setConfirmCode(value)}\n />\n {confirmCodeError && (\n \n {confirmCodeError}\n \n )}\n {resetPasswordError && (\n \n {resetPasswordError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n {resendCodeInProgress ? (\n \n ) : (\n \n Never received the confirmation code? Click to\n resendConfirmationCode()}\n >\n {\" \"}\n resend code.\n \n \n )}\n
    \n
    \n
    \n {\n if (proceed) {\n submitPasswordUpdate();\n }\n }}\n />\n
    \n \n \n
    \n ) : (\n \n
    \n
    \n
    \n
    \n \n New Password\n \n
    \n \n {passwordError &&\n passwordError !==\n \"This field is required.\" && (\n
    \n {passwordError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \n Confirm Password\n \n
    \n \n {confirmPasswordError &&\n confirmPasswordError !==\n \"This field is required.\" && (\n
    \n \n {confirmPasswordError}\n \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n resetPassword()}\n >\n Next Step\n \n
    \n
    \n
    \n
    \n
    \n
    \n )\n ) : (\n \n
    \n
    \n \n Email\n \n
    \n \n {emailError &&\n emailError !== \"This field is required.\" && (\n \n {emailError}\n \n )}\n {sendCodeError &&\n sendCodeError !== \"This field is required.\" && (\n \n {sendCodeError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n sendCode()}\n disabled={loading}\n >\n {loading && (\n
    \n
    \n \n Send Code\n \n \n
    \n
    \n )}\n {!loading && Send Code}\n \n
    \n
    \n
    \n \n \n or Sign In\n \n \n
    \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n \n \n );\n}\nexport default ForgotPasswordPage;\n","import React, { useState, useEffect } from \"react\";\nimport { isValidInvestmentNumber } from \"../../../Functions/functions.js\";\nimport { formatInvestmentAmount } from \"../../../GlobalFunctions/globalFunctions.js\";\nimport \"./InvestmentAmountFieldStyles/InvestmentAmountFieldStyles.css\";\n\nfunction InvestmentAmountField({\n placeholder,\n error,\n fieldValueChange,\n initialValue,\n disabled,\n maxInput\n}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n const [fieldValue, setFieldValue] = useState(\"\");\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n fieldValueChange(fieldValue);\n }, [fieldValue, fieldValueChange]);\n\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n {\n // if (isValidInvestmentNumber(event.target.value)) {\n \n if (event.target.value.replace(/[^\\d]/g,\"\") <= maxInput)\n setFieldValue(formatInvestmentAmount(event.target.value));\n // }\n }}\n disabled={disabled}\n >\n
    \n \n );\n}\nexport default InvestmentAmountField;\n","import React, { useState, useCallback } from \"react\";\nimport \"./TabTitleStyles/TabTitleStyles.css\";\n\nfunction TabTitle({ title, setSelectedTab, index, setSelected, selected }) {\n const onClick = useCallback(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\"Button was clicked.\");\n // setSelectedTab(index);\n }, [setSelectedTab, index]);\n\n return (\n
    \n \n {title}\n \n
    \n \n );\n}\nexport default TabTitle;\n","import React, { useState, useEffect } from \"react\";\nimport TabTitle from \"./TabTitle.js\";\nimport \"./TabsStyles/TabsStyles.css\";\nfunction Tabs(props) {\n const [selectedTab, setSelectedTab] = useState(props.initial);\n\n useEffect(() => {\n setSelectedTab(props.initial);\n }, [props.initial]);\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {props.children.map((item, index) => (\n \n \n
    \n ))}\n
    \n
    \n
    \n
    \n
    {props.children[selectedTab]}
    \n
    \n
    \n
    \n
    \n \n \n );\n}\nexport default Tabs;\n","import React from \"react\";\n\nfunction Tab(props) {\n return
    {props.children}
    ;\n}\nexport default Tab;\n","import React from \"react\";\nimport \"./ConfirmInvestmentButtonSectionStyles/ConfirmInvestmentButtonSectionStyles.scss\";\n\nfunction ConfirmInvestmentButtonSection({\n accountType,\n investSelected,\n confirmInvestment,\n history,\n id,\n submitInvestment,\n setInitial,\n setInvestmentConfirmationSelected,\n setSpecifyInvestmentAmountSelected,\n setInvestSelected,\n investorQualificationError,\n investorVerificationError,\n investmentConfirmationSelected,\n loading,\n allowIraInvestments,\n confirmAltoIRAInvestment,\n}) {\n return (\n \n
    \n
    \n
    \n {investSelected ? (\n \n {\n confirmInvestment();\n }}\n >\n Confirm Investment\n \n {allowIraInvestments && accountType === \"IND\" && (\n {\n confirmAltoIRAInvestment();\n return null;\n // confirmInvestment();\n }}\n >\n Invest with Alto IRA\n \n )}\n setInvestSelected(false)}\n >\n Cancel\n \n {investorQualificationError ? (\n
    \n
    \n
    \n
    \n \n \n {investorQualificationError}\n \n
    \n
    \n
    \n
    \n ) : null}\n {investorVerificationError ? (\n
    \n
    \n
    \n
    \n \n \n {investorVerificationError}\n \n
    \n
    \n
    \n
    \n ) : null}\n
    \n ) : (\n \n {\n submitInvestment();\n }}\n disabled={loading}\n >\n Invest\n \n history.push(\"/invest/\" + id)}\n >\n Go Back\n \n \n )}\n
    \n
    \n
    \n
    \n );\n}\nexport default ConfirmInvestmentButtonSection;\n","import React from \"react\";\nimport \"./ConfirmInvestmentProfileIncompleteSectionStyles/ConfirmInvestmentProfileIncompleteSectionStyles.scss\";\n\nfunction ConfirmInvestmentProfileIncompleteSection({\n history,\n accountType,\n investorProfileComplete,\n entityComplete,\n accountID,\n}) {\n let types = {\n TRT: \"Trust\",\n ENT: \"Entity\",\n };\n return (\n \n {/*
    \n
    \n
    \n
    \n \n \n Unfortunately, you cannot invest yet.\n \n
    \n
    \n
    \n
    */}\n
    \n
    \n {!investorProfileComplete && (\n
    \n
    \n history.push(\"/profile\")}\n >\n
    \n \n \n Investor Information Incomplete\n \n history.push(\"/profile\")}\n >\n Complete >\n \n
    \n
    \n
    \n
    \n )}\n {(accountType === \"ENT\" || accountType === \"TRT\") && !entityComplete && investorProfileComplete && (\n
    \n
    \n \n history.push(\"/investment-accounts/add/\" + accountID)\n }\n >\n
    \n \n \n {types[accountType] + \" Information Incomplete\"}\n \n \n history.push(\"/investment-accounts/add/\" + accountID)\n }\n >\n Complete >\n \n
    \n
    \n
    \n
    \n )}\n \n \n
    \n );\n}\nexport default ConfirmInvestmentProfileIncompleteSection;\n","import React, { useState, useContext, useEffect } from \"react\";\nimport { styled } from \"@mui/material/styles\";\nimport Menu from \"@mui/material/Menu\";\nimport KeyboardArrowDownIcon from \"@mui/icons-material/KeyboardArrowDown\";\nimport KeyboardArrowUpIcon from \"@mui/icons-material/KeyboardArrowUp\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport Avatar from \"@mui/material/Avatar\";\nimport \"./ConfirmInvestmentAccountDropdownStyles/ConfirmInvestmentAccountDropdownStyles.scss\";\nimport { UserContext } from \"../../GlobalContexts/UserContext\";\nimport { ConsoleLogger } from \"@aws-amplify/core\";\n\nconst StyledMenu = styled((props) => )(({}) => ({\n \"& .MuiPaper-root\": {\n width: 350,\n borderRadius: 4,\n // top: \"200px !important\",\n },\n}));\n\nconst AccountMenuItem = ({ account }) => (\n <>\n
    \n {account.accountName}\n {account.primary && (\n \n P\n \n )}\n
    \n
    \n {account.accountNumberObscured} • {account.accountType}{\" \"}\n
    \n \n);\n\nexport default function ConfirmInvestmentAccountDropdown({ width, accounts }) {\n // const [anchorElem, setAnchorElem] = useState(null);\n const [selectedAccount, setSelectedAccount] = useState(0);\n const [newAnchorElem, setNewAnchorElem] = useState(null);\n const handleClick = (event) => {\n setNewAnchorElem(event.currentTarget);\n };\n\n const handleClose = () => {\n setNewAnchorElem(false);\n };\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\"Updated user is: \" + JSON.stringify(user));\n }, [user]);\n\n useEffect(() => {\n if (\n user &&\n user.selectedAccountID !== \"\" &&\n user.accountListData.length !== 0\n ) {\n user.accountListData.forEach((accountInfo, index) => {\n if (accountInfo.id === user.selectedAccountID) {\n setSelectedAccount(index);\n }\n });\n }\n }, [user]);\n\n const handleSelectedAccountUpdate = (selectedAccountID) => {\n setUser((user) => ({ ...user, selectedAccountID: selectedAccountID }));\n };\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\"User is now:\" + JSON.stringify(user));\n }, [user]);\n\n\n return (\n <>\n { (accounts.length > selectedAccount) && <>\n \n
    \n {/*
    \n \n \n You are currently investing as:\n \n
    */}\n \n \n Account:{\" \"}\n \n {accounts.length > selectedAccount\n ? accounts[selectedAccount].accountName\n : \"\"}\n \n \n \n {newAnchorElem ? (\n \n ) : (\n \n )}\n \n
    \n \n \n \n {accounts.map((account, index) => (\n {\n handleClose();\n setSelectedAccount(index);\n handleSelectedAccountUpdate(account.id);\n }}\n selected={index === selectedAccount}\n disableRipple\n >\n \n \n ))}\n \n } \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router\";\nimport Modal from \"react-bootstrap/Modal\";\nimport \"./KycInProgressModalStyles/KycInProgressModalStyles.scss\";\nimport { pollKYC } from \"../../../../Api/ConfirmInvestmentApi/ConfirmInvestmentApi\";\nimport { poll } from \"../../../../Functions/functions.js\";\n\nconst LoadingSpinnerAnimation = () => {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n};\n\nconst PendingReviewMessage = () => {\n return (\n \n
    \n \n
    \n
    \n

    \n {\n \"Sorry, your account was not automatically verified and will be manually reviewed by our team within 24-48 hrs.\"\n }\n

    \n

    \n {\n \" You will receive a notification once your account is successfully verified and your subscription documents are ready to sign.\"\n }\n

    \n
    \n
    \n \n Reach out to{\" \"}\n ops@investwithaqua.com if\n you have any questions.\n \n
    \n
    \n );\n};\n\nconst SuccessfulVerificationMessage = () => {\n return (\n \n
    \n \n
    \n
    \n

    \n {\n \"Congrats, your account was successfully verified, and your investment was approved. Please proceed to review and sign subscription documents.\"\n }\n

    \n
    \n
    \n \n Reach out to{\" \"}\n ops@investwithaqua.com if\n you have any questions.\n \n
    \n
    \n );\n};\n\nconst FailedVerificationMessage = () => {\n return (\n \n
    \n \n
    \n
    \n

    \n {\n \"Your account failed our KYC/AML checks, so your investments will unfortunately not be approved.\"\n }\n

    \n
    \n
    \n \n If you think this is a mistake or would like further clarificiation,\n reach out to{\" \"}\n ops@investwithaqua.com.\n \n
    \n
    \n );\n};\n\nconst RetrievalErrorMessage = () => {\n return (\n \n
    \n \n
    \n
    \n

    \n {\n \"There was an error retrieving your account verification status. We'll take a look at what went wrong and reach out if we need more information from you in order to verify your account.\"\n }\n

    \n

    \n {\n \"Once your account is verified, your investment will be approved and you will be able to sign your subscription documents. In the meantime, feel free to continue browsing opportunities on Aqua.\"\n }\n

    \n
    \n
    \n \n Please reach out to{\" \"}\n ops@investwithaqua.com if\n you have any questions.\n \n
    \n
    \n );\n};\n\nconst ResponseTakingTooLongMessage = () => {\n return (\n \n
    \n \n
    \n
    \n

    \n {\n \"It's taking longer than usual to verify your account. We'll continue verifying your account on our end and approve your investment and share subscription documents once your account is verified.\"\n }\n

    \n

    \n {\n \"In the meantime, feel free to continue browsing opportunities on Aqua.\"\n }\n

    \n
    \n
    \n \n Please reach out to{\" \"}\n ops@investwithaqua.com if\n you have any questions.\n \n
    \n
    \n );\n};\n\nfunction KycInProgressModal({\n showKycInProgress,\n setShowKycInProgress,\n setRefresh,\n accountID,\n}) {\n let history = useHistory();\n\n const [pollKYCResponse, setPollKYCResponse] = useState(\"NF\");\n\n const pollKycEndpoint = async (requestCount) => {\n return await pollKYC(accountID, requestCount);\n };\n\n const runPolling = () => {\n try {\n const response = poll({\n fn: pollKycEndpoint,\n interval: 1000,\n maxAttempts: 10,\n setResultState: setPollKYCResponse,\n });\n } catch (error) {\n console.log(\"Run polling failed.\");\n console.log(\"Error is: \" + error);\n }\n };\n\n return (\n setShowKycInProgress(false)}\n onEntered={() => runPolling()}\n onExited={() => setRefresh((prevState) => prevState + 1)}\n >\n \n \n
    \n \n {pollKYCResponse === \"NF\"\n ? \"Please wait while your account is being verified\"\n : pollKYCResponse === \"F\"\n ? \"Your account failed verification\"\n : pollKYCResponse === \"P\"\n ? \"Your account is pending review\"\n : pollKYCResponse === \"S\"\n ? \"Your account was successfully verified\"\n : pollKYCResponse === \"E\"\n ? \"There was an error retrieving your verification status\"\n : pollKYCResponse === \"MR\"\n ? \"Sorry, this is taking longer than usual\"\n : \"\"}\n \n {pollKYCResponse === \"P\" && (\n \n )}\n {pollKYCResponse === \"S\" && (\n \n )}\n {pollKYCResponse === \"F\" && (\n \n )}\n
    \n
    \n
    \n {pollKYCResponse === \"NF\" && (\n
    \n \n
    \n )}\n {pollKYCResponse === \"P\" && }\n {pollKYCResponse === \"S\" && }\n {pollKYCResponse === \"F\" && }\n {pollKYCResponse === \"E\" && }\n {pollKYCResponse === \"MR\" && }\n
    \n
    \n {pollKYCResponse !== \"NF\" && (\n \n
    \n
    \n {pollKYCResponse === \"S\" && (\n {\n setShowKycInProgress(false);\n }}\n >\n Proceed\n \n )}\n {pollKYCResponse === \"P\" ||\n pollKYCResponse === \"MR\" ||\n (pollKYCResponse === \"E\" && (\n {\n history.push(\"/invest\");\n setShowKycInProgress(false);\n }}\n >\n Browse Opportunities\n \n ))}\n
    \n
    \n
    \n )}\n \n );\n}\nexport default KycInProgressModal;\n","import React, { useState, useEffect } from \"react\";\nimport \"./Styles/Styles.scss\";\nimport GetWireInstructions from \"../../../../Adapters/GetWireInstructions\";\nimport LoadingAnimation from \"../../../../Components/GlobalComponents/LoadingAnimation/LoadingAnimation\";\n\nfunction WireInstructions(fund) {\n const [loading, setLoading] = useState(true);\n const [refresh, setRefresh] = useState(0);\n const { wireInstructions } = GetWireInstructions(fund, refresh, setLoading);\n const [accountName, setAccountName] = useState(\"\");\n const [accountNumber, setAccountNumber] = useState(\"\");\n const [fundAddress, setFundAddress] = useState(\"\");\n const [abaRoutingNumber, setAbaRoutingNumber] = useState(\"\");\n const [swiftCode, setSwiftCode] = useState(\"\");\n const [bankName, setBankName] = useState(\"\");\n const [bankAddress, setBankAddress] = useState(\"\");\n const [bankContactName, setBankContactName] = useState(\"\");\n const [bankContactEmail, setBankContactEmail] = useState(\"\");\n const [bankContactPhoneNumber, setBankContactPhoneNumber] = useState(\"\");\n\n useEffect(() => {\n if (wireInstructions !== null && wireInstructions !== undefined) {\n if (Object.keys(wireInstructions).length !== 0) {\n setAccountName(wireInstructions.account_name);\n setAccountNumber(wireInstructions.account_number);\n setFundAddress(wireInstructions.fund_address);\n setAbaRoutingNumber(wireInstructions.aba_routing_number);\n setSwiftCode(wireInstructions.swift_code);\n setBankName(wireInstructions.bank_name);\n setBankAddress(wireInstructions.bank_address);\n setBankContactName(\n wireInstructions.bank_contact !== null &&\n wireInstructions.bank_contact.first_name !== \"\" &&\n wireInstructions.bank_contact.last_name !== \"\"\n ? wireInstructions.bank_contact.first_name +\n \" \" +\n wireInstructions.bank_contact.last_name\n : \"\"\n );\n setBankContactEmail(\n wireInstructions.bank_contact !== null\n ? wireInstructions.bank_contact.email\n : \"\"\n );\n setBankContactPhoneNumber(\n wireInstructions.bank_contact !== null\n ? wireInstructions.bank_contact.phone_number\n : \"\"\n );\n }\n }\n }, [wireInstructions]);\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {loading ? (\n
    \n
    \n \n
    \n
    \n ) : (\n
    \n
    \n \n Wire Instructions\n \n
    \n
    \n
    \n \n Account Name:\n \n {accountName}\n
    \n
    \n
    \n
    \n \n Account Number:\n \n \n {accountNumber}\n \n
    \n
    \n
    \n
    \n \n Fund Address:\n \n {fundAddress}\n
    \n
    \n
    \n
    \n \n ABA/Routing Number:\n \n \n {abaRoutingNumber}\n \n
    \n
    \n
    \n
    \n \n SWIFT Code:\n \n {swiftCode}\n
    \n
    \n
    \n
    \n Bank Name:\n {bankName}\n
    \n
    \n
    \n
    \n \n Bank Address\n \n {bankAddress}\n
    \n
    \n
    \n \n Bank Contact\n \n
    \n
    \n
    \n Name:\n \n {bankContactName}\n \n
    \n
    \n
    \n
    \n Email:\n \n {bankContactEmail}\n \n
    \n
    \n
    \n
    \n \n Phone Number:\n \n \n {bankContactPhoneNumber}\n \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default WireInstructions;\n","import React, { useState, useEffect } from \"react\";\nimport \"./Styles/Styles.scss\";\nimport HelloSign from \"hellosign-embedded\";\nimport {\n getSubdocLink,\n getSubdocSignature,\n} from \"../../../../Api/DocumentsApi.js\";\nimport {\n pollDocs,\n pollSignatureCompletion,\n} from \"../../../../Functions/functions\";\nimport Modal from \"react-bootstrap/Modal\";\nimport { useHistory } from \"react-router\";\n\nconst LoadingSpinnerAnimation = () => {\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n};\n\nconst ErrorRenderingSubscriptionDocumentsMessage = () => {\n return (\n
    \n
    \n \n \n\n
    \n
    \n \n Sorry, there was an issue generating your subscription documents\n automatically. A member of our team will reach out shortly with\n your subscription documents. We apologize for the inconvenience.\n \n
    \n
    \n \n *If you don't hear from us within 48hrs, please contact us at\n ops@investwithaqua.com\n \n
    \n
    \n
    \n
    \n \n );\n};\n\nconst ResponseTakingTooLongMessage = ({ setShowSignatureModal }) => {\n let history = useHistory();\n\n return (\n \n
    \n \n
    \n
    \n

    \n {\"It's taking longer than expected to confirm your signature.\"}\n

    \n

    \n {\"We'll let you know if anything else is needed from your end.\"}\n

    \n
    \n
    \n
    \n {\n setShowSignatureModal(false);\n history.push(\"/invest\");\n }}\n >\n Back to Opportunities\n \n
    \n
    \n
    \n );\n};\n\nconst ErrorConfirmingSignature = ({ setShowSignatureModal }) => {\n let history = useHistory();\n\n return (\n \n
    \n \n
    \n
    \n

    \n {\"Sorry, there was an error confirming your signature.\"}\n

    \n

    \n {\n \"We'll try sorting the issue out on our end and let you know if anything else is needed from your end.\"\n }\n

    \n
    \n
    \n
    \n {\n setShowSignatureModal(false);\n history.push(\"/invest\");\n }}\n >\n Back to Opportunities\n \n
    \n
    \n
    \n );\n};\n\nconst SuccessfullyConfirmedSignature = () => {\n return (\n \n
    \n \n
    \n
    \n

    \n Your subscription document signature has been successfully confirmed,\n and you will now be able to proceed through the investment process.\n

    \n
    \n
    \n );\n};\n\nfunction SubDocs({ summary, accountID, fundSubscriptionInfo, setRefresh }) {\n const [loading, setLoading] = useState(false);\n const [signatureLoading, setSignatureLoading] = useState(false);\n const [showSignatureModal, setShowSignatureModal] = useState(false);\n const [showSigButton, setShowSigButton] = useState(true);\n\n const client = new HelloSign({\n clientId:\n process.env.REACT_APP_API_ENDPOINT ===\n \"https://api.staging.investwithaqua.com\"\n ? \"9c4a35463ca1aaffef6e10f29104b2b4\"\n : process.env.REACT_APP_API_ENDPOINT ===\n \"https://api.investwithaqua.com\"\n ? \"78ef255f844acfc6eb47c48e71e28bb2\"\n : \"ee92b78dc5a4c9124758eb38095d1e82\",\n testMode: true,\n element: document.getElementById(\"dropbox-sign-client\"),\n skipDomainVerification: true,\n });\n\n client.on(\"sign\", (data) => {\n //Poll results should go here\n setSignatureLoading(true);\n setShowSignatureModal(true);\n\n // setRefresh((refresh) => refresh + 1);\n });\n\n const [pollSubDocsResponse, setPollSubDocsResponse] = useState(\"\");\n const [pollSubDocsSignatureResponse, setPollSubDocsSignatureResponse] =\n useState(\"\");\n\n const pollSubDocsEndpoint = async (attempts) => {\n return await getSubdocLink(accountID, fundSubscriptionInfo.id, attempts);\n };\n\n const pollSignatureEndpoint = async (attempts) => {\n return await getSubdocSignature(\n accountID,\n fundSubscriptionInfo.id,\n attempts\n );\n };\n\n const runPolling = () => {\n try {\n const response = pollDocs({\n fn: pollSubDocsEndpoint,\n interval: 3000,\n maxAttempts: 20,\n setResultState: setPollSubDocsResponse,\n });\n } catch (error) {\n console.log(\"Run polling failed.\");\n console.log(\"Error is: \" + error);\n }\n };\n\n const runSignaturePolling = () => {\n try {\n const signatureResponse = pollSignatureCompletion({\n fn: pollSignatureEndpoint,\n interval: 1000,\n maxAttempts: 10,\n setResultState: setPollSubDocsSignatureResponse,\n });\n } catch (error) {\n console.log(\"Run signature polling failed.\");\n console.log(\"Error is: \" + JSON.stringify(error));\n }\n };\n\n useEffect(() => {\n //runPolling();\n }, []);\n\n useEffect(() => {\n if (\n pollSubDocsResponse !== \"PARTIAL\" &&\n pollSubDocsResponse !== \"\" &&\n pollSubDocsResponse !== \"No subdoc exists.\" &&\n pollSubDocsResponse !== \"Enqueued\" &&\n pollSubDocsResponse !== \"MR\" &&\n pollSubDocsResponse !== \"E\" &&\n pollSubDocsResponse !== \"Waiting\"\n ) {\n console.log(\"The inner condition is hit.\");\n setLoading(false);\n setShowSigButton(true);\n /*client.open(pollSubDocsResponse, {\n testMode: true,\n clientId:\n process.env.REACT_APP_API_ENDPOINT ===\n \"https://api.staging.investwithaqua.com\"\n ? \"9c4a35463ca1aaffef6e10f29104b2b4\"\n : \"ee92b78dc5a4c9124758eb38095d1e82\",\n container: document.getElementById(\"dropbox-sign-client\"),\n });*/\n } else if (pollSubDocsResponse === \"MR\") {\n setLoading(false);\n } else if (pollSubDocsResponse === \"E\") {\n setLoading(false);\n } else if (pollSubDocsResponse === \"PARTIAL\") {\n setLoading(false);\n }\n }, [pollSubDocsResponse]);\n\n useEffect(() => {\n console.log(\n \"Poll sub docs signature is: \" +\n JSON.stringify(pollSubDocsSignatureResponse)\n );\n if (pollSubDocsSignatureResponse === \"Signed\") {\n setSignatureLoading(false);\n setRefresh((refresh) => refresh + 1);\n setShowSignatureModal(false);\n } else if (\n pollSubDocsSignatureResponse === \"MR\" ||\n pollSubDocsSignatureResponse === \"E\"\n ) {\n setSignatureLoading(false);\n }\n }, [pollSubDocsSignatureResponse]);\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n View and Sign Subscription Documents\n \n
    \n {loading && (\n
    \n \n
    \n
    \n Generating subscription documents. This may take up to\n 30 seconds.\n
    \n
    \n )}\n {pollSubDocsResponse === \"PARTIAL\" && (\n <>\n Second signature required.{\" \"}\n {summary.data[0].secondary_investor_profile.email}{\" \"}\n \n )}\n {\n showSigButton && (\n <>\n Check your email for a link to sign the subscription\n documents.\n \n )\n /*(\n <>\n \n {}}\n >\n Sign subdocs\n \n \n \n )*/\n }\n {(pollSubDocsResponse === \"MR\" ||\n pollSubDocsResponse === \"E\") && (\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n setShowSignatureModal(false)}\n onEntered={() => runSignaturePolling()}\n >\n \n
    \n \n {pollSubDocsSignatureResponse === \"\" &&\n pollSubDocsSignatureResponse === \"Pending\"\n ? \"Your Signature is being confirmed.\"\n : pollSubDocsResponse === \"MR\"\n ? \"Sorry, it's taking longer than expected to confirm your signature.\"\n : pollSubDocsSignatureResponse === \"E\"\n ? \"Sorry, there was an issue confirming your signature.\"\n : pollSubDocsSignatureResponse === \"Signed\"\n ? \"Your signature was successfully confirmed.\"\n : pollSubDocsSignatureResponse === \"Secondary required\"\n ? \"Waiting on secondary accountholder\"\n : \"Your Signature is being confirmed.\"}\n \n
    \n
    \n
    \n {signatureLoading === true ? (\n
    \n \n
    \n ) : (\n \n {pollSubDocsSignatureResponse === \"MR\" && (\n \n )}\n {pollSubDocsSignatureResponse === \"E\" && (\n \n )}\n {pollSubDocsSignatureResponse === \"Signed\" && (\n <>Wire instruction will be shared shortly through email.\n )}\n \n )}\n
    \n \n
    \n );\n}\nexport default SubDocs;\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router\";\nimport Modal from \"react-bootstrap/Modal\";\nimport \"./Styles/Styles.scss\";\n\nfunction SydecarMessagingModal({\n showSydecarMessagingModal,\n setShowSydecarMessagingModal,\n setRefresh,\n accountID,\n}) {\n let history = useHistory();\n\n return (\n setShowSydecarMessagingModal(false)}\n onEntered={() => console.log(\"Entered.\")}\n onExited={() => setRefresh((prevState) => prevState + 1)}\n >\n \n \n
    \n Thanks for Investing!\n
    \n
    \n
    \n
    \n

    \n {\n \"Your investment has been created in our system. We're now working on verifying your account. In most instances, we'll be able to verify your account in the next few minutes, but sometimes it can take a bit longer.\"\n }\n

    \n

    \n {\n \"Once your account is verified, you will receive a link to sign your subscription documents via email. If you don't get anything in the next 24 hours, please contact us via email. In the meantime, feel free to continue browsing opportunities on Aqua.\"\n }\n

    \n
    \n
    \n \n Please reach out to{\" \"}\n \n admin@investwithaqua.com\n {\" \"}\n if you have any questions.\n \n
    \n
    \n
    \n\n \n
    \n
    \n {\n history.push(\"/invest\");\n }}\n >\n Browse Opportunities\n \n
    \n
    \n
    \n \n );\n}\nexport default SydecarMessagingModal;\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router\";\nimport Modal from \"react-bootstrap/Modal\";\nimport \"./Styles/Styles.scss\";\n\nfunction InvestmentConfirmationModal({\n showInvestmentConfirmationModal,\n setShowInvestmentConfirmationModal,\n setRefresh,\n accountID,\n}) {\n let history = useHistory();\n\n return (\n setShowInvestmentConfirmationModal(false)}\n onEntered={() => console.log(\"Entered.\")}\n onExited={() => setRefresh((prevState) => prevState + 1)}\n >\n \n \n
    \n Thanks for Investing!\n
    \n
    \n
    \n
    \n

    \n {\n \"You're all set with your investment! Please keep an eye out for capital call notifications from us via email, so you can be sure to fund your capital calls on time.\"\n }\n

    \n

    \n {\n \"You can monitor your investment performance from the portfolio section of our platform.\"\n }\n

    \n
    \n
    \n \n Please reach out to{\" \"}\n \n admin@investwithaqua.com\n {\" \"}\n if you have any questions.\n \n
    \n
    \n
    \n\n \n
    \n
    \n {\n history.push(\"/portfolio\");\n }}\n >\n Go to Portfolio\n \n
    \n
    \n
    \n \n );\n}\nexport default InvestmentConfirmationModal;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\nimport { useHistory } from \"react-router-dom\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport FundCard from \"../../Fund/InvestPage/FundCard/FundCard.js\";\nimport \"../../Fund/InvestPage/FundCard/TargetPerformanceSection/TargetPerformanceSectionStyles/TargetPerformanceSectionStyles.css\";\nimport \"../../Fund/InvestPage/FundCard/FundCardStyles/FundCardStyles.css\";\nimport InvestmentAmountField from \"../../../Components/GlobalComponents/InvestmentAmountField/InvestmentAmountField.js\";\nimport GetFundSubscriptionInfo from \"../../../Adapters/GetFundSubscriptionInfo\";\nimport GetInvestorFundInvestment from \"../../../Adapters/GetInvestorFundInvestmentAdapter\";\nimport GetAccountQualificationVerification from \"../../../Adapters/GetAccountQualificationVerification.js\";\nimport { createInvestment } from \"../../../Api/ConfirmInvestmentApi/ConfirmInvestmentApi.js\";\nimport Tabs from \"../../../Components/GlobalComponents/InvestmentTabs/Tabs.js\";\nimport Tab from \"../../../Components/GlobalComponents/InvestmentTabs/Tab.js\";\nimport ConfirmInvestmentButtonSection from \"./ConfirmInvestmentButtonSection/ConfirmInvestmentButtonSection.js\";\nimport ConfirmInvestmentProfileIncompleteSection from \"./ConfirmInvestmentProfileIncompleteSection/ConfirmInvestmentProfileIncompleteSection.js\";\nimport * as dayjs from \"dayjs\";\nimport GetFundInfo from \"../../../Adapters/FundDetailsPageAdapters.js\";\nimport OverlayTrigger from \"react-bootstrap/OverlayTrigger\";\nimport Tooltip from \"react-bootstrap/Tooltip\";\nimport AccountPicker from \"../../../GlobalComponents/AccountPicker/AccountPicker.js\";\nimport GetAccountListAdapter from \"../../../Adapters/GetAccountListAdapter.js\";\nimport ConfirmInvestmentAccountDropdown from \"../../../GlobalComponents/ConfirmInvestmentAccountDropdown/ConfirmInvestmentAccountDropdown.js\";\nimport { ConsoleSqlOutlined } from \"@ant-design/icons\";\nimport LoadingAnimation from \"../../../Components/GlobalComponents/LoadingAnimation/LoadingAnimation.js\";\nimport KycInProgressModal from \"./KycInProgressModal/KycInProgressModal.js\";\nimport { getSubdocLink } from \"./../../../Api/DocumentsApi.js\";\nimport HelloSign from \"hellosign-embedded\";\nimport { useParams } from \"react-router\";\nimport { getAccountSummary } from \"./../../../Api/ProfileApi.js\";\nimport ConfirmTaxInformation from \"./ConfirmTaxInformation/ConfirmTaxInformation.js\";\nimport WireInstructions from \"./WireInstructions/WireInstructions.js\";\nimport SubDocs from \"./SubDocs/SubDocs.js\";\nimport SydecarMessagingModal from \"./SydecarMessagingModal/SydecarMessagingModal.js\";\nimport InvestmentConfirmationModal from \"./InvestmentConfirmationModal/InvestmentConfirmationModal.js\";\n\nvar utc = require(\"dayjs/plugin/utc\");\n\nfunction ConfirmInvestment() {\n const MAXIMUM_INPUT = 10 ** 12;\n // To-do: Abstract this into common tooltip component (also used on StructureSection)\n const PLACEMENT_COPY = `\n \n Administrative Fee\n \n
    \n This is a 1%, one-time, fee that we charge on top of the amount that an investor invests. For example, if Investor A wants to invest $300K into Opportunity Z on Aqua, their administrative fee would be $3k. When wiring funds to us, the total that the investor would wire is the investment amount + administrative fee = $300K + $3k = $303K\n`;\n\n const renderTooltip = (copy, props) => (\n \n
    \n \n );\n\n let history = useHistory();\n let statuses = {\n P: \"Pending Approval\",\n PD: \"Pending Sub Docs\",\n PF: \"Pending Funding\",\n F: \"Funded\",\n A: \"Approved\",\n R: \"Rejected\",\n };\n\n const [specifyInvestmentAmountSelected, setSpecifyInvestmentAmountSelected] =\n useState(true);\n const [investmentConfirmationSelected, setInvestmentConfirmationSelected] =\n useState(false);\n const [documentLink, setDocumentLink] = useState(\"\");\n const [confirmTaxInformationSelected, setConfirmTaxInformationSelected] =\n useState(false);\n const [wireInstructionsSelected, setWireInstructionsSelected] =\n useState(false);\n const [subDocsSelected, setSubDocsSelected] = useState(false);\n const [loading, setLoading] = useState(true);\n const [initial, setInitial] = useState(0);\n const [investSelected, setInvestSelected] = useState(false);\n const [investorQualificationError, setInvestorQualificationError] =\n useState(\"\");\n const [investorVerificationError, setInvestorVerificationError] =\n useState(\"\");\n const [qualificationTypeError, setQualificationTypeError] = useState(\"\");\n const [allowIraInvestments, setallowIraInvestments] = useState(\"\");\n const [investmentAmount, setInvestmentAmount] = useState(\"\");\n const [investmentAmountError, setInvestmentAmountError] = useState(\"\");\n const [fundName, setFundName] = useState(\"\");\n const [refresh, setRefresh] = useState(0);\n const { id, account_id } = useParams();\n const { fund } = GetFundInfo(id, setLoading);\n const { fundSubscriptionInfo } = GetFundSubscriptionInfo(id);\n const [showInvestmentConfirmation, setShowInvestmentConfirmation] =\n useState(false);\n const { user } = useContext(UserContext);\n const { investorFundInvestmentInfo } = GetInvestorFundInvestment(\n id,\n refresh,\n account_id ? account_id : user ? user.selectedAccountID : null,\n setInitial,\n setShowInvestmentConfirmation\n );\n const { accountQualificationVerification } =\n GetAccountQualificationVerification(refresh, setLoading);\n const [investmentStatus, setInvestmentStatus] = useState(\"\");\n\n const [investorProfileComplete, setInvestorProfileComplete] = useState(null);\n const [entityComplete, setEntityComplete] = useState(null);\n const [canInvest, setCanInvest] = useState(true);\n const [accountType, setAccountType] = useState(null);\n\n const { accounts } = GetAccountListAdapter(refresh, setLoading);\n\n const [showKycInProgress, setShowKycInProgress] = useState(false);\n\n const [accountID, setAccountID] = useState(null);\n\n const [summary, setSummary] = useState();\n\n const [pending, setPending] = useState(false);\n\n const [sydecarOpportunity, setSydecarOpportunity] = useState(true);\n const [showSydecarMessaging, setShowSydecarMessaging] = useState(false);\n\n useEffect(async () => {\n console.log(account_id);\n !account_id &&\n user &&\n user.selectedAccountID !== \"\" &&\n setAccountID(user.selectedAccountID);\n account_id && setAccountID(account_id);\n console.log(user.selectedAccountID);\n const accountSummary = await getAccountSummary(user.selectedAccountID);\n setSummary(accountSummary.data);\n fund &&\n fund.sydecar !== undefined &&\n setCanInvest(!fund.sydecar || accountSummary.data[0].sydecar_eligibility);\n }, [user, account_id]);\n\n useEffect(() => {\n setSpecifyInvestmentAmountSelected(initial === 0);\n setSubDocsSelected(initial === 1);\n //setConfirmTaxInformationSelected(initial === 2);\n //setWireInstructionsSelected(initial === 3);\n setInvestmentConfirmationSelected(\n initial === 4 || initial === 2 || initial === 3\n );\n }, [initial]);\n\n // const client = new HelloSign();\n // const openSig = async () => {\n // const subdocLink = await getSubdocLink(accountID, fundSubscriptionInfo.id);\n // client.open(subdocLink.data.msg, {\n // clientId: \"ee92b78dc5a4c9124758eb38095d1e82\",\n // skipDomainVerification: true,\n // });\n // };\n\n useEffect(() => {\n setInvestorProfileComplete(\n accountQualificationVerification.investorProfileComplete\n );\n setEntityComplete(accountQualificationVerification.entityComplete);\n setAccountType(accountQualificationVerification.accountType);\n\n // setInvestorProfileComplete(\n // accountQualificationVerification.entity_complete\n // );\n // setEntityComplete(accountQualificationVerification.account_type);\n // setAccountType(accountQualificationVerification.investor_profile_complete);\n }, [accountQualificationVerification]);\n\n useEffect(() => {\n setallowIraInvestments(\n fundSubscriptionInfo ? fundSubscriptionInfo.allowIraInvestments : \"\"\n );\n //\n setRefresh((prev) => prev + 1);\n }, [fundSubscriptionInfo]);\n\n const [loadingInvestmentData, setLoadingInvestmentData] = useState(true);\n\n useEffect(() => {\n // console.log(fundSubscriptionInfo, (fundSubscriptionInfo && !fundSubscriptionInfo.error), investorFundInvestmentInfo);\n investorFundInvestmentInfo &&\n setPending(investorFundInvestmentInfo.status === \"P\");\n investorFundInvestmentInfo &&\n console.log(investorFundInvestmentInfo.status === \"P\");\n fundSubscriptionInfo &&\n !fundSubscriptionInfo.error &&\n investorFundInvestmentInfo &&\n setLoadingInvestmentData(false);\n fundSubscriptionInfo &&\n !fundSubscriptionInfo.error &&\n investorFundInvestmentInfo &&\n setLoadingInvestmentData(false);\n }, [fundSubscriptionInfo, investorFundInvestmentInfo]);\n\n // useEffect(() => {\n // setInvestmentStatus(\n // investorFundInvestmentInfo\n // ? statuses[investorFundInvestmentInfo.status]\n // : \"...Loading\"\n // );\n // !(\n // investorFundInvestmentInfo && investorFundInvestmentInfo.status === \"PD\"\n // ) &&\n // setInitial(\n // investorFundInvestmentInfo &&\n // Object.keys(investorFundInvestmentInfo).length !== 0\n // ? 1\n // : 0\n // );\n // investorFundInvestmentInfo &&\n // investorFundInvestmentInfo.status === \"PD\" &&\n // setInitial(2);\n // }, [investorFundInvestmentInfo]);\n\n useEffect(async () => {\n // setSpecifyInvestmentAmountSelected(initial === 0);\n // setInvestmentConfirmationSelected(initial === 1);\n // setSubDocsSelected(initial === 2);\n if (initial === 2 && user !== null && fundSubscriptionInfo !== null) {\n /* const subdocLink = await getSubdocLink(\n user.selectedAccountID,\n fundSubscriptionInfo.id\n );\n //console.log(subdocLink.data.msg)\n setDocumentLink(subdocLink.data.msg);*/\n console.log(initial);\n }\n }, [initial, fundSubscriptionInfo, user]);\n\n useEffect(() => {\n const stringArray = id.split(\"_\");\n let name = \"\";\n\n for (let i = 0; i < stringArray.length; i++) {\n name += stringArray[i].charAt(0).toUpperCase() + stringArray[i].slice(1);\n if (i !== stringArray.length - 1) {\n name += \" \";\n }\n }\n setFundName(name);\n }, []);\n\n useEffect(() => {\n setInvestmentAmountError(\"\");\n }, [investmentAmount]);\n\n const submitInvestment = async () => {\n var errorsDetected = false;\n var minimumInvestment = fundSubscriptionInfo\n ? fundSubscriptionInfo.minimumInvestment\n : 1000000;\n var remainingAllocation = fundSubscriptionInfo\n ? fundSubscriptionInfo.remainingAllocation\n : 0;\n var maximumInvestment = fundSubscriptionInfo\n ? fundSubscriptionInfo.maximumInvestment\n : 0;\n var investmentAmountNumbersOnly = investmentAmount.replace(/[^\\d]/g, \"\");\n if (investmentAmount === \"\" || investmentAmount === \"$\") {\n setInvestmentAmountError(\"This field is required.\");\n errorsDetected = true;\n } else if (investmentAmountNumbersOnly < minimumInvestment) {\n setInvestmentAmountError(\n \"You must invest at least the minimum investment\"\n );\n errorsDetected = true;\n } else if (investmentAmountNumbersOnly > remainingAllocation) {\n setInvestmentAmountError(\n \"You must not invest an amount greater than the remaining allocation.\"\n );\n errorsDetected = true;\n } else if (\n investmentAmountNumbersOnly > maximumInvestment &&\n maximumInvestment > 0\n ) {\n setInvestmentAmountError(\n \"You must not invest an amount greater than the maximum investment.\"\n );\n errorsDetected = true;\n }\n\n if (errorsDetected) {\n setInvestSelected(false);\n return;\n } else {\n setInvestSelected(true);\n }\n };\n\n // setInitial(1);\n // setInvestmentConfirmationSelected(true);\n // setSpecifyInvestmentAmountSelected(false);\n\n const confirmInvestment = async () => {\n var errors = false;\n\n if (Object.keys(accountQualificationVerification).length === 0) {\n errors = true;\n return;\n } else {\n if (\n accountQualificationVerification.accountType === \"IND\" ||\n accountQualificationVerification.accountType === \"TRT\"\n ) {\n if (!accountQualificationVerification.investorProfileComplete) {\n errors = true;\n }\n } else if (\n accountQualificationVerification.accountType === \"ENT\" ||\n accountQualificationVerification.accountType === \"TRT\"\n ) {\n if (\n !accountQualificationVerification.investorProfileComplete ||\n !accountQualificationVerification.entityComplete\n ) {\n errors = true;\n }\n }\n // if (accountQualificationVerification.qualificationType !== \"QP\") {\n // errors = true;\n // setInvestorQualificationError(\n // \"Sorry, you must be a qualified purchaser to invest in this fund.\"\n // );\n // }\n // if (accountQualificationVerification.verificationStatus !== \"S\") {\n // errors = true;\n // if (\n // accountQualificationVerification.verificationStatus === \"I\" ||\n // accountQualificationVerification.verificationStatus === \"P\"\n // ) {\n // setInvestorVerificationError(\n // \"Sorry, your KYC/AML check has not been completed yet. Please allow us 24-48 hours to complete this check and try again when it's complete.\"\n // );\n // }\n // if (accountQualificationVerification.verificationStatus === \"F\") {\n // setInvestorVerificationError(\n // \"Your KYC/AML check has failed. Contact admin@investwithaqua.com for help\"\n // );\n // }\n // }\n if (!errors) {\n var investmentAmountNumbersOnly = investmentAmount.replace(\n /[^\\d]/g,\n \"\"\n );\n if (investmentAmountNumbersOnly !== \"\") {\n investmentAmountNumbersOnly += \".00\";\n }\n\n try {\n //create user fund investment\n let fundId = fundSubscriptionInfo ? fundSubscriptionInfo.id : \"\";\n await createInvestment(\n fundId,\n investmentAmountNumbersOnly,\n accountID\n );\n // console.log(\"Success\");\n // setInitial(1);\n setRefresh((prev) => prev + 1);\n // setInvestmentConfirmationSelected(true);\n // setSpecifyInvestmentAmountSelected(false);\n if (sydecarOpportunity === false) {\n setShowKycInProgress(true);\n } else {\n setShowSydecarMessaging(true);\n }\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n return;\n }\n }\n }\n // else {\n // var investmentAmountNumbersOnly = investmentAmount.replace(/[^\\d]/g, \"\");\n // if (investmentAmountNumbersOnly !== \"\") {\n // investmentAmountNumbersOnly += \".00\";\n // }\n\n // try {\n // //create user fund investment\n // let fundId = fundSubscriptionInfo ? fundSubscriptionInfo.id : \"\";\n // await createInvestment(fundId, investmentAmountNumbersOnly);\n // setInitial(1);\n // setRefresh((prev) => prev + 1);\n // } catch (err) {\n // if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n // }\n // }\n };\n\n const confirmAltoIRAInvestment = async () => {\n var errors = false;\n if (Object.keys(accountQualificationVerification).length === 0) {\n errors = true;\n return;\n } else {\n if (\n accountQualificationVerification.accountType === \"IND\" ||\n accountQualificationVerification.accountType === \"RTMT\"\n ) {\n if (!accountQualificationVerification.investorProfileComplete) {\n errors = true;\n }\n } else if (\n accountQualificationVerification.accountType === \"ENT\" ||\n accountQualificationVerification.accountType === \"TRT\"\n ) {\n errors = true;\n if (\n !accountQualificationVerification.investorProfileComplete ||\n !accountQualificationVerification.entityComplete\n ) {\n errors = true;\n }\n }\n // if (accountQualificationVerification.qualificationType !== \"QP\") {\n // errors = true;\n // setInvestorQualificationError(\n // \"Sorry, you must be a qualified purchaser to invest in this fund.\"\n // );\n // }\n // if (accountQualificationVerification.verificationStatus !== \"S\") {\n // errors = true;\n // if (\n // accountQualificationVerification.verificationStatus === \"I\" ||\n // accountQualificationVerification.verificationStatus === \"P\"\n // ) {\n // setInvestorVerificationError(\n // \"Sorry, your KYC/AML check has not been completed yet. Please allow us 24-48 hours to complete this check and try again when it's complete.\"\n // );\n // }\n // if (accountQualificationVerification.verificationStatus === \"F\") {\n // setInvestorVerificationError(\n // \"Your KYC/AML check has failed. Contact admin@investwithaqua.com for help\"\n // );\n // }\n // }\n if (!errors) {\n var investmentAmountNumbersOnly = investmentAmount.replace(\n /[^\\d]/g,\n \"\"\n );\n if (investmentAmountNumbersOnly !== \"\") {\n investmentAmountNumbersOnly += \".00\";\n }\n\n try {\n //create user fund investment\n let fundId = fundSubscriptionInfo ? fundSubscriptionInfo.id : \"\";\n await createInvestment(\n fundId,\n investmentAmountNumbersOnly,\n accountID\n );\n // setInitial(1);\n setRefresh((prev) => prev + 1);\n // setInvestmentConfirmationSelected(true);\n // setSpecifyInvestmentAmountSelected(false);\n setShowKycInProgress(true);\n } catch (err) {\n errors = true;\n const message = err?.response?.data?.detail;\n if (message) setInvestmentAmountError(err?.response?.data?.detail);\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n return;\n }\n }\n }\n // else {\n // var investmentAmountNumbersOnly = investmentAmount.replace(/[^\\d]/g, \"\");\n // if (investmentAmountNumbersOnly !== \"\") {\n // investmentAmountNumbersOnly += \".00\";\n // }\n\n // try {\n // //create user fund investment\n // let fundId = fundSubscriptionInfo ? fundSubscriptionInfo.id : \"\";\n // await createInvestment(fundId, investmentAmountNumbersOnly);\n // setInitial(1);\n // setRefresh((prev) => prev + 1);\n // } catch (err) {\n // if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n // }\n // }\n };\n\n return (\n \n
    \n
    \n \n \n \n
    \n
    \n history.push(\"/invest\")}\n style={{ cursor: \"pointer\" }}\n >\n Invest\n \n\n \n\n history.push(\"/invest/\" + id)}\n style={{ cursor: \"pointer\" }}\n >\n Fund\n \n\n \n\n \n Confirm Investment\n \n
    \n
    \n {!loadingInvestmentData ? (\n \n \n {pending ? (\n <>\n
    \n
    \n
    \n \n Account is pending verification.\n \n
    \n
    \n
    \n \n You have invested in this opportunity. Documents\n will be sent when your account is successfully\n verified.\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n ) : (\n <>\n {fundSubscriptionInfo && !fundSubscriptionInfo.error ? (\n
    \n
    \n
    \n
    \n \n How much would you like to invest in{\" \"}\n {fundSubscriptionInfo\n ? fundSubscriptionInfo.name\n : \"\"}\n ?\n \n
    \n
    \n
    \n
    \n \n If you have not completed your investor\n information and verified your identity, you\n will need to complete those sections before\n you may invest in opportunities through Aqua.\n \n
    \n {fund &&\n fund.link &&\n [\n \"bling_capital_fund_iv\",\n \"bling_capital_fund_iv_opps\",\n ].includes(fund.link) && (\n
    \n \n You MUST make an equal-sized investment in\n the other fund as well to get allocation.\n If you do not do this, you will NOT be\n able to invest in either vehicle. This is\n a Bling Capital requirement.\n \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\" \"}\n {\n \n {\" \"}\n
    \n
    \n
    \n
    \n
    \n \n \n \n {\" \"}\n
    \n Minimum Investment\n
    {\" \"}\n \n {\" \"}\n \n {fundSubscriptionInfo\n ? \"$\" +\n fundSubscriptionInfo.minimumInvestment.toLocaleString()\n : \"$ ...loading\"}\n \n \n
    \n {/* {fundSubscriptionInfo &&\n fundSubscriptionInfo.maximumInvestment !==\n 0.0 && (\n
    \n {\" \"}\n
    \n Maximum Allocation\n
    {\" \"}\n \n {\" \"}\n \n {fundSubscriptionInfo\n ? \"$\" +\n fundSubscriptionInfo.maximumInvestment.toLocaleString()\n : \"$ ...loading\"}\n \n \n
    \n )} */}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n }\n
    \n
    \n {canInvest ? (\n <>\n {!loading &&\n fundSubscriptionInfo &&\n !fundSubscriptionInfo.error && (\n \n
    \n \n Please select the account you would like\n to invest using\n \n
    \n
    \n \n
    \n
    \n )}\n\n
    \n
    \n \n
    \n Amount\n
    \n \n {investmentAmountError &&\n investmentAmountError !==\n \"This field is required.\" && (\n \n {investmentAmountError}\n
    \n )}\n
    \n {fundSubscriptionInfo &&\n fundSubscriptionInfo.legacyPricingStructure ===\n true && (\n \n +\n
    \n )}\n {fundSubscriptionInfo &&\n fundSubscriptionInfo.legacyPricingStructure ===\n true && (\n \n
    \n
    \n \n Administrative Fee{\" \"}\n \n
    \n \n renderTooltip(\n PLACEMENT_COPY,\n props\n )\n }\n >\n \n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n \n $\n \n \n {fund\n ? (\n (fund.placementFee *\n investmentAmount.replace(\n /[^\\d]/g,\n \"\"\n )) /\n 100\n ).toLocaleString(\n \"en-us\"\n )\n : \"\"}\n \n
    \n
    \n
    \n
    \n \n \n )}\n {fundSubscriptionInfo &&\n fundSubscriptionInfo.legacyPricingStructure ===\n true && (\n \n =\n \n )}\n {fundSubscriptionInfo &&\n fundSubscriptionInfo.legacyPricingStructure ===\n true && (\n \n
    \n Total to be wired\n
    \n \n
    \n
    \n {\" \"}\n \n
    \n \n $\n \n \n {fund\n ? (\n (1 +\n fund.placementFee /\n 100) *\n investmentAmount.replace(\n /[^\\d]/g,\n \"\"\n )\n ).toLocaleString(\n \"en-us\"\n )\n : \"\"}\n \n
    \n
    \n
    \n
    \n \n \n )}\n \n \n \n ) : (\n
    \n
    \n
    \n \n Acccount is ineligible to invest.\n {\" \"}\n
    \n
    \n
    \n )}\n\n {\n !loading &&\n canInvest &&\n (accountType === \"IND\" ||\n accountType === \"RTMT\" ||\n accountType === \"JOINT\" ? (\n investorProfileComplete ? (\n \n ) : (\n \n )\n ) : accountType === \"TRT\" ||\n accountType === \"ENT\" ? (\n !investorProfileComplete || !entityComplete ? (\n \n ) : (\n \n )\n ) : null)\n //
    \n //
    \n //
    \n // {investSelected ? (\n // \n // {\n // confirmInvestment();\n // setInitial(1);\n // setInvestmentConfirmationSelected(true);\n // setSpecifyInvestmentAmountSelected(false);\n // }}\n // >\n // Confirm Investment\n // \n // setInvestSelected(false)}\n // >\n // Cancel\n // \n // {investorQualificationError ? (\n //
    \n //
    \n //
    \n //
    \n // \n // \n // {investorQualificationError}\n // \n //
    \n //
    \n //
    \n //
    \n // ) : null}\n // {investorVerificationError ? (\n //
    \n //
    \n //
    \n //
    \n // \n // \n // {investorVerificationError}\n // \n //
    \n //
    \n //
    \n //
    \n // ) : null}\n //
    \n // ) : (\n // \n // {\n // submitInvestment();\n // }}\n // disabled={loading}\n // >\n // Invest\n // \n // history.push(\"/invest/\" + id)}\n // >\n // Go Back\n // \n // \n // )}\n //
    \n //
    \n //
    )}\n }\n \n \n \n ) : (\n
    \n
    \n
    \n \n Account not authorized{\" \"}\n \n
    \n
    \n
    \n
    \n \n The account selected is not qualified to access\n this fund, please select another account.\n \n
    \n
    \n {!loading && (\n \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {\" \"}\n
    \n )}{\" \"}\n \n )}\n \n \n \n \n {/* \n \n \n \n \n */}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Congratulations, you have successfully\n invested in this opportunity.\n \n
    \n
    \n \n You're all done with our investment process,\n so be sure to be on the lookout for future\n updates on your investment from us. You can\n refer to the portfolio page for updates on\n your investment as distributions roll in.\n \n
    \n
    \n {/* \n You will not be guaranteed an allocation in\n the opportunity until you have completed the\n subscription documents.\n */}\n
    \n
    \n {/* \n If you don't hear from us within 48 hours,\n contact us at{\" \"}\n \n admin@investwithaqua.com\n \n */}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Investment Details\n \n
    \n
    \n \n Selected:\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n {investorFundInvestmentInfo &&\n Object.keys(investorFundInvestmentInfo)\n .length !== 0\n ? investorFundInvestmentInfo.fundName\n : \"Loading...\"}\n \n
    \n {/*
    \n THM\n
    */}\n
    \n
    \n
    \n \n history.push(\"/invest/\" + id)\n }\n >\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Date:\n \n \n {investorFundInvestmentInfo &&\n Object.keys(investorFundInvestmentInfo)\n .length !== 0\n ? dayjs(\n investorFundInvestmentInfo.investmentDate\n ).format(\"MMM D, YYYY\")\n : \"...loading\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Amount:\n \n \n {investorFundInvestmentInfo &&\n Object.keys(investorFundInvestmentInfo)\n .length !== 0\n ? \"$\" +\n investorFundInvestmentInfo.investmentAmount.toLocaleString(\n \"en-us\"\n )\n : investmentAmount}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n Status:\n \n \n {investmentStatus}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n ) : (\n \n )}\n \n \n );\n}\nexport default ConfirmInvestment;\n","import { useState, useEffect, useContext } from \"react\";\nimport { getFundSubscriptionStats } from \"../Api/ConfirmInvestmentApi/ConfirmInvestmentApi.js\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\n\nexport default function GetFundSubscriptionInfo(fundLink) {\n const [fundSubscriptionInfo, setFundSubscriptionInfo] = useState(null);\n const { user } = useContext(UserContext);\n\n useEffect(() => {\n async function getFundSubscriptionInfo() {\n try {\n let accountID = \"\";\n\n if (user && user.selectedAccountID !== \"\") {\n accountID = user.selectedAccountID;\n }\n\n const response = await getFundSubscriptionStats(fundLink, accountID);\n const fundSubscriptionData = response.data;\n\n setFundSubscriptionInfo({\n id: fundSubscriptionData.id,\n name: fundSubscriptionData.name,\n link: fundSubscriptionData.link,\n minimumInvestment:\n fundSubscriptionData.fund_terms[0].minimum_allocation_amount,\n maximumInvestment:\n fundSubscriptionData.fund_terms[0].maximum_allocation_amount,\n remainingAllocation:\n fundSubscriptionData.subscription_stats[0]\n .remaining_allocation_amount,\n status: fundSubscriptionData.investment_status,\n allowIraInvestments: fundSubscriptionData.allow_ira_investments,\n legacyPricingStructure:\n fundSubscriptionData.fund_terms[0].legacy_pricing_structure,\n });\n } catch (err) {\n setFundSubscriptionInfo({ error: err });\n }\n }\n getFundSubscriptionInfo();\n }, [fundLink, setFundSubscriptionInfo, user]);\n\n return { fundSubscriptionInfo };\n}\n","import { useState, useEffect, useContext } from \"react\";\nimport { getInvestorFundInvestment } from \"../Api/ConfirmInvestmentApi/ConfirmInvestmentApi.js\";\nimport { UserContext } from \"../GlobalContexts/UserContext.js\";\n\nexport default function GetInvestorFundInvestment(\n fundId,\n refresh,\n accountID,\n setInitial,\n setShowInvestmentConfirmation\n) {\n const [investorFundInvestmentInfo, setInvestorFundInvestmentInfo] =\n useState(null);\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n async function getInvestorFundInvestmentInfo() {\n try {\n const response = await getInvestorFundInvestment(fundId, accountID);\n const investorFundInvestmentData = response.data;\n if (investorFundInvestmentData.length !== 0) {\n setInvestorFundInvestmentInfo({\n id: fundId,\n investmentDate: investorFundInvestmentData.investment_date,\n investmentAmount: investorFundInvestmentData.investment_amount,\n fundName: investorFundInvestmentData.fund.name,\n status: investorFundInvestmentData.status,\n });\n if (\n investorFundInvestmentData.status == \"PD\" &&\n !investorFundInvestmentData.subdocs_signed\n ) {\n setInitial(1);\n } else if (investorFundInvestmentData.status == \"PD\") {\n setInitial(2);\n } else if (investorFundInvestmentData.status == \"PF\") {\n setInitial(2);\n setShowInvestmentConfirmation(true);\n } else if (investorFundInvestmentData.status == \"F\") {\n setInitial(2);\n setShowInvestmentConfirmation(true);\n }\n } else {\n setInvestorFundInvestmentInfo({});\n setInitial(0);\n }\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(err);\n }\n }\n getInvestorFundInvestmentInfo();\n }, [fundId, setInvestorFundInvestmentInfo, refresh]);\n\n return { investorFundInvestmentInfo };\n}\n","import React from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport \"./MessagesStyles/MessagesStyles.css\";\n\nfunction Messages() {\n\treturn (\n\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tMessages\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tComing Soon\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tThe messages functionality is\n\t\t\t\t\t\t\t\t\t\t\t\tcurrently being built out by our\n\t\t\t\t\t\t\t\t\t\t\t\tengineering team and will be\n\t\t\t\t\t\t\t\t\t\t\t\treleased soon.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\n\t);\n}\nexport default Messages;\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router\";\nimport { useMediaQuery } from \"react-responsive\";\n\nimport \"./BlogPostCardStyles/BlogPostCardStyles.scss\";\n\nfunction BlogPostCard({ blogPost }) {\n let history = useHistory();\n const isLargeScreen = useMediaQuery({ query: `(min-width: 1200px)` });\n const isExtraSmallScreen = useMediaQuery({\n minWidth: 300,\n maxWidth: 425,\n });\n\n const isSmallScreen = useMediaQuery({ minWidth: 550, maxWidth: 775 });\n\n const [thumbnailLoading, setThumbnailLoading] = useState(true);\n const [authorPicLoading, setAuthorPicLoading] = useState(true);\n\n const thumbNailOnLoad = () => {\n setThumbnailLoading(false);\n };\n\n const authorPicOnLoad = () => {\n setAuthorPicLoading(false);\n };\n\n return (\n
    \n history.push(\"/learn/\" + blogPost.link)}\n >\n \n \n
    \n \n {blogPost.postTitle}\n \n \n {blogPost.postSubtitle}\n

    \n
    \n
    \n
    \n \n \n \n {blogPost.authorName}\n
    \n
    \n
    \n \n \n );\n}\nexport default BlogPostCard;\n","import React from \"react\";\nimport \"./NoBlogPostsFoundCardStyles/NoBlogPostsFoundCardStyles.scss\";\n\nfunction NoBlogPostsFoundCard() {\n return (\n
    \n \n Sorry, there were no blog posts that matched your search criteria.\n Please try a different search.\n \n
    \n );\n}\nexport default NoBlogPostsFoundCard;\n","import React, { useEffect } from \"react\";\nimport BlogPostCard from \"./BlogPostCard/BlogPostCard.js\";\nimport NoBlogPostsFoundCard from \"./NoBlogPostsFoundCard/NoBlogPostsFoundCard.js\";\nimport LoadingAnimation from \"../../../../Components/GlobalComponents/LoadingAnimation/LoadingAnimation.js\";\nfunction BlogPostPreviewSection({ blogPosts, loading }) {\n return (\n \n {!loading && blogPosts.length === 0 ? (\n \n ) : (\n
    \n {blogPosts.map((blogPost) => {\n return ;\n })}\n
    \n )}\n
    \n );\n}\nexport default BlogPostPreviewSection;\n","import React, { useState, useEffect } from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport SearchBar from \"../../../Components/GlobalComponents/SearchBar.js\";\nimport BlogPostPreviewSection from \"./BlogPostCardSection/BlogPostCardSection.js\";\nimport BlogPostAdapter from \"../../../Adapters/BlogPostAdapter.js\";\nimport \"./LearnStyles/LearnStyles.css\";\n\nfunction Learn() {\n const [searchQuery, setSearchQuery] = useState(\"\");\n const [loading, setLoading] = useState(true);\n const { blogPosts } = BlogPostAdapter(searchQuery, setLoading);\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n Learn\n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n );\n}\nexport default Learn;\n","import React, { useState, useEffect } from \"react\";\nimport useDebounce from \"../CustomHooks/useDebounce\";\nimport axios from \"axios\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders\";\nimport { HOST } from \"../host-config\";\nimport { searchBlogPosts } from \"../Api/BlogPostApi.js\";\nimport { getSignedURL } from \"../Api/GlobalFunctions/SignedURL\";\n\nexport default function BlogPostAdapter(searchKeywords, setLoading) {\n const [blogPosts, setBlogPosts] = useState([]);\n\n const debouncedSearchKeywords = useDebounce(searchKeywords, 200);\n\n // useEffect(() => {\n // setBlogPosts([]);\n // }, []);\n\n useEffect(async () => {\n // setBlogPosts([]);\n // setLoading(true);\n const queryParams = {};\n queryParams.query = debouncedSearchKeywords;\n\n try {\n const response = await searchBlogPosts(debouncedSearchKeywords);\n\n if (response.data !== null && response.data !== undefined) {\n // setLoading(true);\n setBlogPosts([]);\n const blogPostResults = response.data.list.map((blog_post) => {\n async function getUsableURLS() {\n setLoading(true);\n setBlogPosts((prevState) => [\n ...prevState,\n {\n id: blog_post.id,\n link: blog_post.link,\n postTitle: blog_post.title,\n postSubtitle: blog_post.subtitle,\n thumbnailLink: blog_post.thumbnail,\n authorProfilePicLink: blog_post.author.image,\n authorName: blog_post.author.name,\n },\n ]);\n setLoading(false);\n }\n getUsableURLS();\n return {\n id: blog_post.id,\n link: blog_post.link,\n postTitle: blog_post.title,\n postSubtitle: blog_post.subtitle,\n thumbnailLink: blog_post.thumbnail,\n authorProfilePicLink: blog_post.author.image,\n authorName: blog_post.author.name,\n };\n });\n // setLoading(false);\n }\n } catch (error) {\n setLoading(false);\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(error);\n }\n // setLoading(false);\n }, [debouncedSearchKeywords]);\n\n return { blogPosts };\n}\n","import React from \"react\";\nimport \"./AccordionStyles/AccordionStyles.scss\";\n\nconst AccordionItem = ({ item, itemid }) => {\n let idCollapseSource = `#c${item.id.slice(-8)}`;\n let idCollapseTarget = `c${item.id.slice(-8)}`;\n let stackParent = `#${itemid}`;\n // console.log(stackParent)\n // console.log(itemid)\n return (\n <>\n
    \n \n \n {item.question}\n \n \n \n
    \n {item.answer}\n
    \n
    \n \n \n );\n};\n\nexport default AccordionItem;\n","import React from \"react\";\nimport AccordionItem from \"./AccordionItem\";\n// import \"../../../Styles/Variables/GlobalStyles.scss\"\nimport \"./AccordionStyles/AccordionStyles.scss\";\n\nconst Accordion = ({ items, accordionid }) => {\n // console.log('accordion: ', accordionid)\n let accordionItems = (\n <>\n {items.map((item) => (\n // <>\n //
    \n //

    \n // \n //

    \n //
    \n //
    \n // {item.answer}\n //
    \n //
    \n //
    \n // \n \n ))}\n \n );\n return (\n <>\n \n {accordionItems}\n \n \n );\n};\n\nexport default Accordion;\n","import React from 'react';\nimport Accordion from './Accordion';\nimport \"../../../Styles/Variables/GlobalStyles.scss\"\n\nconst AccordionCard = ({title, items}) => {\n return (<>\n
    \n
    \n
    {title}
    \n \n
    \n
    \n );\n};\n\nexport default AccordionCard;\n","import React from \"react\";\nimport axios from \"axios\";\nimport { HOST } from \"../host-config\";\nimport { getRequestHeaders } from \"../GlobalFunctions/RequestHeaders.js\";\n\nexport const getFaqs = async () => {\n const config = await getRequestHeaders();\n return axios.get(HOST + \"/faqs/\", config);\n};\n","import React, { useState, useEffect } from \"react\";\nimport \"./FAQsStyles/FAQsStyles.css\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport SpinnerFullPage from \"../../../Components/GlobalComponents/Loading/SpinnerFullPage\";\nimport AccordionCard from \"../../../Components/GlobalComponents/Accordion/AccordionCard\";\nimport GetFaqsAdapter from \"../../../Adapters/FaqsAdapter.js\";\nlet FAQS = {}\n\nfunction FAQs() {\n // const timeStamp = Date.now();\n const [initialApiRequest, setInitialApiRequest] = useState(false);\n const [general, setGeneral] = useState([])\n const [platform, setPlatform] = useState([])\n const { generalFaqs, platformFaqs, peBasicsFaqs, glossaryFaqs} =\n GetFaqsAdapter(initialApiRequest);\n\t// , platformFaqs, peBasicsFaqs, glossaryFaqs\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"generalFaqs \" + JSON.stringify(generalFaqs));\n\t console.log('initial api req: ', initialApiRequest)\n }\n }, [generalFaqs]);\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n\t\tconsole.log(\"platformFaqs \" + JSON.stringify(platformFaqs));\n\t }\n }, [platformFaqs]);\n\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"peBasicsFaqs \" + JSON.stringify(peBasicsFaqs));\n }\n }, [peBasicsFaqs]);\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"glossaryFaqs \" + JSON.stringify(glossaryFaqs));\n }\n }, [glossaryFaqs]);\n\n// useEffect(() => {\n// \tsetGeneral(generalFaqs)\n// \tconsole.log('general faq: ', general)\n// },[])\n\n let comingSoon = (\n\t<>\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tComing Soon\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tThe FAQs page is currently being\n\t\t\t\t\t\t\tbuilt out by our engineering\n\t\t\t\t\t\t\tteam and will be released soon.\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n)\n\nlet faqCards = (\n\t<>\n\t{generalFaqs.length > 0 ? (\n\t\t\n\t) : (null)}\n\n\t{ platformFaqs.length > 0 ? (\n\t\t\n\t) : (null)}\n\n\t{ peBasicsFaqs.length > 0 ? (\n\t\t\n\t) : (null)}\n\n\t{ glossaryFaqs.length > 0 ? (\n\t\t\n\t) : (null)}\n\t\n)\n\n// ): ()}\nlet dynamicFAQ = (\n\t<>\n\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tFrequently Asked Questions\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t{faqCards}\t\n\t \t\t\t\t\t
    \n\t\t\t\t
    \n\t\t
    \n\t\n)\n\n return (\n \n
    \n \t{dynamicFAQ}\n \n );\n}\nexport default FAQs;\n\n ","import { useState, useEffect } from \"react\";\nimport { getFaqs } from \"../Api/FaqsApi.js\";\n\nexport default function GetFaqsAdapter(time) {\n const [generalFaqs, setGeneralFaqs] = useState([]);\n const [platformFaqs, setPlatformFaqs] = useState([]);\n const [peBasicsFaqs, setPEBasicsFaqs] = useState([]);\n const [glossaryFaqs, setGlossaryFaqs] = useState([]);\n\n useEffect(() => {\n async function getAllFaqs() {\n try {\n const response = await getFaqs();\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"RAW RESPONSE: \", response.data);\n }\n const faqResponse = response.data;\n const displayFaqResponse = faqResponse.filter(\n (faq) => faq.display_faq === true\n );\n\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"RAW RESPONSE DISPLAY: \", displayFaqResponse);\n }\n\n const generalFAQS = displayFaqResponse.filter(\n (displayfaq) => displayfaq.category === \"GENERAL\"\n );\n const platformFAQS = displayFaqResponse.filter(\n (displayfaq) => displayfaq.category === \"PLATFORM\"\n );\n const peBasicsFAQS = displayFaqResponse.filter(\n (displayfaq) => displayfaq.category === \"PE_BASICS\"\n );\n const glossaryFAQS = displayFaqResponse.filter(\n (displayfaq) => displayfaq.category === \"GLOSSARY\"\n );\n\n setGeneralFaqs(generalFAQS);\n setPlatformFaqs(platformFAQS);\n setPEBasicsFaqs(peBasicsFAQS);\n setGlossaryFaqs(glossaryFAQS);\n // faqResponse.map((faq) => {\n // if (faq.display_faq === true) {\n // if (faq.category === \"GENERAL\") {\n // setGeneralFaqs((prevState) => [\n // ...prevState,\n // {\n // id: faq.id,\n // category: faq.category,\n // question: faq.question,\n // answer: faq.answer,\n // },\n // ]);\n // } else if (faq.category === \"PLATFORM\") {\n // setPlatformFaqs((prevState) => [\n // ...prevState,\n // {\n // id: faq.id,\n // category: faq.category,\n // question: faq.question,\n // answer: faq.answer,\n // },\n // ]);\n // } else if (faq.category === \"PE_BASICS\") {\n // setPEBasicsFaqs((prevState) => [\n // ...prevState,\n // {\n // id: faq.id,\n // category: faq.category,\n // question: faq.question,\n // answer: faq.answer,\n // },\n // ]);\n // } else if (faq.category === \"GLOSSARY\") {\n // setGlossaryFaqs((prevState) => [\n // ...prevState,\n // {\n // id: faq.id,\n // category: faq.category,\n // question: faq.question,\n // answer: faq.answer,\n // },\n // ]);\n // }\n // }\n // });\n } catch (err) {\n if (process.env.REACT_APP_DEBUG) console.error(err);\n }\n }\n getAllFaqs();\n }, [time]);\n return { generalFaqs, platformFaqs, peBasicsFaqs, glossaryFaqs };\n}\n","import React from \"react\";\nimport Header from \"../../Components/GlobalComponents/Header.js\";\nimport \"./PageNotFoundStyles/PageNotFoundStyles.css\";\nimport { useHistory } from \"react-router-dom\";\n\nfunction PageNotFound() {\n let history = useHistory();\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n 404\n \n Sorry, the page you are looking for can't be found. Please check\n the link you entered.\n \n
    \n {/*
    */}\n
    \n history.push(\"/invest\")}\n >\n Go Home\n \n {/*
    */}\n {/*
    */}\n \n {\" \"}\n Contact us\n \n {/*
    */}\n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n}\nexport default PageNotFound;\n","import React, { useState, useContext, useEffect } from \"react\";\nimport Header from \"../../../Components/GlobalComponents/Header.js\";\nimport { UserContext } from \"../../../GlobalContexts/UserContext.js\";\nimport { init } from \"emailjs-com\";\nimport emailjs from \"emailjs-com\";\nimport { InlineWidget } from \"react-calendly\";\nimport \"./ContactUsStyles/ContactUsStyles.css\";\n\nfunction ContactUs() {\n const [subject, setSubject] = useState(\"\");\n const [message, setMessage] = useState(\"\");\n const [subjectError, setSubjectError] = useState(\"\");\n const [messageError, setMessageError] = useState(\"\");\n const [loading, setLoading] = useState(false);\n const { user } = useContext(UserContext);\n init(process.env.REACT_APP_EMAILJS_USER_ID);\n\n useEffect(() => {\n setSubjectError(\"\");\n }, [subject]);\n\n useEffect(() => {\n setMessageError(\"\");\n }, [message]);\n\n const submitMessage = async () => {\n setLoading(true);\n var errorsDetected = false;\n\n if (subject.length === 0) {\n setSubjectError(\"Subject is required.\");\n errorsDetected = true;\n setLoading(false);\n }\n\n if (message.length === 0) {\n setMessageError(\"Message is required.\");\n errorsDetected = true;\n setLoading(false);\n }\n\n if (errorsDetected) {\n return;\n } else {\n try {\n await emailjs.send(\"service_kyyw60a\", \"template_giibyso\", {\n subject_line: subject,\n from_name: user\n ? user.investorSummaryData.first_name +\n \" \" +\n user.investorSummaryData.last_name\n : \"\",\n message: message,\n reply_to: user ? user.id : \"admin@investwithaqua.com\",\n });\n setSubject(\"\");\n setMessage(\"\");\n setLoading(false);\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.error(err);\n setLoading(false);\n }\n }\n };\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n Contact Us\n
    \n
    \n \n Having trouble on Aqua? Email us or book a call.\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Write to us\n \n
    \n
    \n \n Do you have any questions?\n \n
    \n
    \n \n Send us an email.\n \n
    \n
    \n \n Subject\n \n
    \n
    \n
    \n setSubject(e.target.value)}\n />\n {subjectError &&\n subjectError !==\n \"This field is required.\" && (\n
    \n {subjectError}\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n \n Your Message\n \n
    \n setMessage(e.target.value)}\n >\n {messageError &&\n messageError !==\n \"This field is required.\" && (\n
    \n {messageError}\n
    \n )}\n
    \n submitMessage()}\n >\n {!loading && Submit}\n {loading && (\n \n )}\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Schedule a call\n \n
    \n
    \n \n You can also book a call with us.\n \n
    \n
    \n \n Book a call at a time convenient for you.\n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n}\nexport default ContactUs;\n","import React, { useEffect } from \"react\";\nimport { css as emoCSS } from \"@emotion/css\";\nimport styled from \"@emotion/styled\";\nimport starWarsNames from \"starwars-names\";\nimport { matchSorter } from \"match-sorter\";\nimport { Global, css as newcss } from \"@emotion/react\";\nimport \"./InfiniteCountryInputFieldStyles/InfiniteCountryInputFieldStyles.scss\";\n\nconst GlobalStyles = newcss`\n @import url(\"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap\");\n\n @font-face {\n font-family: \"Local Font\";\n src: url(\"fonts/DancingScript-Regular.ttf\");\n }\n\n * {\n text-align: center;\n }\n`;\n\n// console.log(\"All items are: \" + JSON.stringify(starWarsNames));\n\nconst allItems = starWarsNames.all.map((s) => ({\n name: s,\n id: s.toLowerCase(),\n}));\nconst countryList = [\n \"Afghanistan\",\n \"Åland Islands\",\n // ('Afghanistan', 'Afghanistan'),\n // ('Åland Islands', 'Åland Islands'),\n \"Albania\",\n \"Algeria\",\n \"American Samoa\",\n \"Andorra\",\n \"Angola\",\n \"Anguilla\",\n \"Antarctica\",\n \"Antigua And Barbuda\",\n \"Argentina\",\n \"Armenia\",\n \"Aruba\",\n \"Australia\",\n \"Austria\",\n \"Azerbaijan\",\n \"Bahamas\",\n \"Bahrain\",\n // \"Bangladesh\",\n \"Barbados\",\n // \"Belarus\",\n \"Belgium\",\n \"Belize\",\n \"Benin\",\n \"Bermuda\",\n \"Bhutan\",\n \"Bolivia, Plurinational State Of\",\n \"Bonaire, Sint Eustatius And Saba\",\n \"Bosnia And Herzegovina\",\n \"Botswana\",\n \"Bouvet Island\",\n \"Brazil\",\n \"British Indian Ocean Territory\",\n \"Brunei Darussalam\",\n \"Bulgaria\",\n \"Burkina Faso\",\n \"Burundi\",\n \"Cambodia\",\n \"Cameroon\",\n \"Canada\",\n \"Cape Verde\",\n \"Cayman Islands\",\n // \"Central African Republic\",\n \"Chad\",\n \"Chile\",\n // \"China\",\n \"Christmas Island\",\n \"Cocos (keeling) Islands\",\n \"Colombia\",\n \"Comoros\",\n \"Congo\",\n // \"Congo, The Democratic Republic Of The\",\n \"Cook Islands\",\n \"Costa Rica\",\n \"Côte D'ivoire\",\n \"Croatia\",\n // \"Cuba\",\n \"Curaçao\",\n \"Cyprus\",\n \"Czech Republic\",\n \"Denmark\",\n \"Djibouti\",\n \"Dominica\",\n \"Dominican Republic\",\n \"Ecuador\",\n \"Egypt\",\n \"El Salvador\",\n \"Equatorial Guinea\",\n // \"Eritrea\",\n \"Estonia\",\n \"Ethiopia\",\n \"Falkland Islands (malvinas)\",\n \"Faroe Islands\",\n \"Fiji\",\n \"Finland\",\n \"France\",\n \"French Guiana\",\n \"French Polynesia\",\n \"French Southern Territories\",\n \"Gabon\",\n \"Gambia\",\n \"Georgia\",\n \"Germany\",\n \"Ghana\",\n \"Gibraltar\",\n \"Greece\",\n \"Greenland\",\n \"Grenada\",\n \"Guadeloupe\",\n \"Guam\",\n \"Guatemala\",\n \"Guernsey\",\n \"Guinea\",\n \"Guinea-bissau\",\n \"Guyana\",\n \"Haiti\",\n \"Heard Island And Mcdonald Islands\",\n \"Holy See (vatican City State)\",\n \"Honduras\",\n // \"Hong Kong\",\n \"Hungary\",\n \"Iceland\",\n \"India\",\n \"Indonesia\",\n // \"Iran, Islamic Republic Of\",\n // \"Iraq\",\n \"Ireland\",\n \"Isle Of Man\",\n \"Israel\",\n \"Italy\",\n \"Jamaica\",\n \"Japan\",\n \"Jersey\",\n \"Jordan\",\n \"Kazakhstan\",\n \"Kenya\",\n \"Kiribati\",\n \"Korea, Republic Of\",\n \"Kuwait\",\n \"Kyrgyzstan\",\n \"Lao People's Democratic Republic\",\n \"Latvia\",\n // \"Lebanon\",\n \"Lesotho\",\n // \"Liberia\",\n \"Libya\",\n \"Liechtenstein\",\n \"Lithuania\",\n \"Luxembourg\",\n \"Macao\",\n \"Macedonia, TheFormer Yugoslav Republic Of\",\n \"Madagascar\",\n \"Malawi\",\n \"Malaysia\",\n \"Maldives\",\n // \"Mali\",\n \"Malta\",\n \"Marshall Islands\",\n \"Martinique\",\n \"Mauritania\",\n \"Mauritius\",\n \"Mayotte\",\n \"Mexico\",\n \"Micronesia, Federated States Of\",\n \"Moldova, Republic Of\",\n \"Monaco\",\n \"Mongolia\",\n \"Montenegro\",\n \"Montserrat\",\n \"Morocco\",\n \"Mozambique\",\n // \"Myanmar\",\n \"Namibia\",\n \"Nauru\",\n \"Nepal\",\n \"Netherlands\",\n \"New Caledonia\",\n \"New Zealand\",\n // \"Nicaragua\",\n \"Niger\",\n \"Nigeria\",\n \"Niue\",\n \"Norfolk Island\",\n \"Northern Mariana Islands\",\n \"Norway\",\n \"Oman\",\n \"Pakistan\",\n \"Palau\",\n \"Palestine, State Of\",\n \"Panama\",\n \"Papua New Guinea\",\n \"Paraguay\",\n \"Peru\",\n \"Philippines\",\n \"Pitcairn\",\n \"Poland\",\n \"Portugal\",\n \"Puerto Rico\",\n \"Qatar\",\n \"Réunion\",\n \"Romania\",\n \"Rwanda\",\n \"Saint Barthélemy\",\n \"Saint Helena, Ascension And Tristan Da Cunha\",\n \"Saint Kitts And Nevis\",\n \"Saint Lucia\",\n \"Saint Martin (french Part)\",\n \"Saint Pierre And Miquelon\",\n \"Saint Vincent And The Grenadines\",\n \"Samoa\",\n \"San Marino\",\n \"Sao Tome And Principe\",\n \"Saudi Arabia\",\n \"Senegal\",\n \"Serbia\",\n \"Seychelles\",\n \"Sierra Leone\",\n \"Singapore\",\n \"Sint Maarten (dutch Part)\",\n \"Slovakia\",\n \"Slovenia\",\n \"Solomon Islands\",\n // \"Somalia\",\n \"South Africa\",\n \"South Georgia And The South Sandwich Islands\",\n // \"South Sudan\",\n \"Spain\",\n \"Sri Lanka\",\n \"Sudan\",\n \"Suriname\",\n \"Svalbard And Jan Mayen\",\n \"Swaziland\",\n \"Sweden\",\n \"Switzerland\",\n \"Taiwan, Province Of China\",\n \"Tajikistan\",\n \"Tanzania, United Republic Of\",\n \"Thailand\",\n \"Timor-leste\",\n \"Togo\",\n \"Tokelau\",\n \"Tonga\",\n \"Trinidad And Tobago\",\n \"Tunisia\",\n \"Turkmenistan\",\n \"Turks And Caicos Islands\",\n \"Tuvalu\",\n \"Uganda\",\n // \"Ukraine\",\n \"United Arab Emirates\",\n \"United Kingdom\",\n \"United States\",\n \"United States Minor Outlying Islands\",\n \"Uruguay\",\n \"Uzbekistan\",\n \"Vanuatu\",\n // \"Venezuela, Bolivarian Republic Of\",\n \"Viet Nam\",\n \"Virgin Islands, British\",\n \"Virgin Islands, U.s.\",\n \"Wallis And Futuna\",\n \"Western Sahara\",\n // \"Yemen\",\n \"Zambia\",\n // \"Zimbabwe\",\n];\n// const countryList = [\"United States\"];\n// const countryList = [\n// \"Afghanistan\",\n// \"Albania\",\n// \"Algeria\",\n// \"American Samoa\",\n// \"Andorra\",\n// \"Angola\",\n// \"Anguilla\",\n// \"Antarctica\",\n// \"Antigua and Barbuda\",\n// \"Argentina\",\n// \"Armenia\",\n// \"Aruba\",\n// \"Australia\",\n// \"Austria\",\n// \"Azerbaijan\",\n// \"Bahamas (the)\",\n// \"Bahrain\",\n// \"Bangladesh\",\n// \"Barbados\",\n// \"Belarus\",\n// \"Belgium\",\n// \"Belize\",\n// \"Benin\",\n// \"Bermuda\",\n// \"Bhutan\",\n// \"Bolivia (Plurinational State of)\",\n// \"Bonaire, Sint Eustatius and Saba\",\n// \"Bosnia and Herzegovina\",\n// \"Botswana\",\n// \"Bouvet Island\",\n// \"Brazil\",\n// \"British Indian Ocean Territory (the)\",\n// \"Brunei Darussalam\",\n// \"Bulgaria\",\n// \"Burkina Faso\",\n// \"Burundi\",\n// \"Cabo Verde\",\n// \"Cambodia\",\n// \"Cameroon\",\n// \"Canada\",\n// \"Cayman Islands (the)\",\n// \"Central African Republic (the)\",\n// \"Chad\",\n// \"Chile\",\n// \"China\",\n// \"Christmas Island\",\n// \"Cocos (Keeling) Islands (the)\",\n// \"Colombia\",\n// \"Comoros (the)\",\n// \"Congo (the Democratic Republic of the)\",\n// \"Congo (the)\",\n// \"Cook Islands (the)\",\n// \"Costa Rica\",\n// \"Croatia\",\n// \"Cuba\",\n// \"Curaçao\",\n// \"Cyprus\",\n// \"Czechia\",\n// \"Côte d'Ivoire\",\n// \"Denmark\",\n// \"Djibouti\",\n// \"Dominica\",\n// \"Dominican Republic (the)\",\n// \"Ecuador\",\n// \"Egypt\",\n// \"El Salvador\",\n// \"Equatorial Guinea\",\n// \"Eritrea\",\n// \"Estonia\",\n// \"Eswatini\",\n// \"Ethiopia\",\n// \"Falkland Islands (the) [Malvinas]\",\n// \"Faroe Islands (the)\",\n// \"Fiji\",\n// \"Finland\",\n// \"France\",\n// \"French Guiana\",\n// \"French Polynesia\",\n// \"French Southern Territories (the)\",\n// \"Gabon\",\n// \"Gambia (the)\",\n// \"Georgia\",\n// \"Germany\",\n// \"Ghana\",\n// \"Gibraltar\",\n// \"Greece\",\n// \"Greenland\",\n// \"Grenada\",\n// \"Guadeloupe\",\n// \"Guam\",\n// \"Guatemala\",\n// \"Guernsey\",\n// \"Guinea\",\n// \"Guinea-Bissau\",\n// \"Guyana\",\n// \"Haiti\",\n// \"Heard Island and McDonald Islands\",\n// \"Holy See (the)\",\n// \"Honduras\",\n// \"Hong Kong\",\n// \"Hungary\",\n// \"Iceland\",\n// \"India\",\n// \"Indonesia\",\n// \"Iran (Islamic Republic of)\",\n// \"Iraq\",\n// \"Ireland\",\n// \"Isle of Man\",\n// \"Israel\",\n// \"Italy\",\n// \"Jamaica\",\n// \"Japan\",\n// \"Jersey\",\n// \"Jordan\",\n// \"Kazakhstan\",\n// \"Kenya\",\n// \"Kiribati\",\n// \"Korea (the Democratic People's Republic of)\",\n// \"Korea (the Republic of)\",\n// \"Kuwait\",\n// \"Kyrgyzstan\",\n// \"Lao People's Democratic Republic (the)\",\n// \"Latvia\",\n// \"Lebanon\",\n// \"Lesotho\",\n// \"Liberia\",\n// \"Libya\",\n// \"Liechtenstein\",\n// \"Lithuania\",\n// \"Luxembourg\",\n// \"Macao\",\n// \"Madagascar\",\n// \"Malawi\",\n// \"Malaysia\",\n// \"Maldives\",\n// \"Mali\",\n// \"Malta\",\n// \"Marshall Islands (the)\",\n// \"Martinique\",\n// \"Mauritania\",\n// \"Mauritius\",\n// \"Mayotte\",\n// \"Mexico\",\n// \"Micronesia (Federated States of)\",\n// \"Moldova (the Republic of)\",\n// \"Monaco\",\n// \"Mongolia\",\n// \"Montenegro\",\n// \"Montserrat\",\n// \"Morocco\",\n// \"Mozambique\",\n// \"Myanmar\",\n// \"Namibia\",\n// \"Nauru\",\n// \"Nepal\",\n// \"Netherlands (the)\",\n// \"New Caledonia\",\n// \"New Zealand\",\n// \"Nicaragua\",\n// \"Niger (the)\",\n// \"Nigeria\",\n// \"Niue\",\n// \"Norfolk Island\",\n// \"Northern Mariana Islands (the)\",\n// \"Norway\",\n// \"Oman\",\n// \"Pakistan\",\n// \"Palau\",\n// \"Palestine, State of\",\n// \"Panama\",\n// \"Papua New Guinea\",\n// \"Paraguay\",\n// \"Peru\",\n// \"Philippines (the)\",\n// \"Pitcairn\",\n// \"Poland\",\n// \"Portugal\",\n// \"Puerto Rico\",\n// \"Qatar\",\n// \"Republic of North Macedonia\",\n// \"Romania\",\n// \"Russian Federation (the)\",\n// \"Rwanda\",\n// \"Réunion\",\n// \"Saint Barthélemy\",\n// \"Saint Helena, Ascension and Tristan da Cunha\",\n// \"Saint Kitts and Nevis\",\n// \"Saint Lucia\",\n// \"Saint Martin (French part)\",\n// \"Saint Pierre and Miquelon\",\n// \"Saint Vincent and the Grenadines\",\n// \"Samoa\",\n// \"San Marino\",\n// \"Sao Tome and Principe\",\n// \"Saudi Arabia\",\n// \"Senegal\",\n// \"Serbia\",\n// \"Seychelles\",\n// \"Sierra Leone\",\n// \"Singapore\",\n// \"Sint Maarten (Dutch part)\",\n// \"Slovakia\",\n// \"Slovenia\",\n// \"Solomon Islands\",\n// \"Somalia\",\n// \"South Africa\",\n// \"South Georgia and the South Sandwich Islands\",\n// \"South Sudan\",\n// \"Spain\",\n// \"Sri Lanka\",\n// \"Sudan (the)\",\n// \"Suriname\",\n// \"Svalbard and Jan Mayen\",\n// \"Sweden\",\n// \"Switzerland\",\n// \"Syrian Arab Republic\",\n// \"Taiwan\",\n// \"Tajikistan\",\n// \"Tanzania, United Republic of\",\n// \"Thailand\",\n// \"Timor-Leste\",\n// \"Togo\",\n// \"Tokelau\",\n// \"Tonga\",\n// \"Trinidad and Tobago\",\n// \"Tunisia\",\n// \"Turkey\",\n// \"Turkmenistan\",\n// \"Turks and Caicos Islands (the)\",\n// \"Tuvalu\",\n// \"Uganda\",\n// \"Ukraine\",\n// \"United Arab Emirates (the)\",\n// \"United Kingdom of Great Britain and Northern Ireland (the)\",\n// \"United States Minor Outlying Islands (the)\",\n// \"United States of America (the)\",\n// \"Uruguay\",\n// \"Uzbekistan\",\n// \"Vanuatu\",\n// \"Venezuela (Bolivarian Republic of)\",\n// \"Viet Nam\",\n// \"Virgin Islands (British)\",\n// \"Virgin Islands (U.S.)\",\n// \"Wallis and Futuna\",\n// \"Western Sahara\",\n// \"Yemen\",\n// \"Zambia\",\n// \"Zimbabwe\",\n// \"Åland Islands\",\n// ];\n// const list = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ];\n\nconst listOfCountries = countryList.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\n// const listOfStates = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ].map((s) => ({\n// name: s,\n// id: s.toLowerCase(),\n// }));\n\nconst css = (...args) => ({ className: emoCSS(...args) });\n\nconst Item = styled(\"li\")(\n {\n position: \"relative\",\n cursor: \"pointer\",\n display: \"block\",\n border: \"none\",\n height: \"auto\",\n textAlign: \"left\",\n borderTop: \"none\",\n lineHeight: \"1em\",\n color: \"#262A3D\",\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n textTransform: \"none\",\n fontWeight: \"400\",\n boxShadow: \"none\",\n padding: \".8rem 1.1rem\",\n whiteSpace: \"normal\",\n wordWrap: \"normal\",\n },\n ({ isActive, isSelected }) => {\n const styles = [];\n if (isActive) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n background: \"rgba(0,0,0,.03)\",\n });\n }\n if (isSelected) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n fontWeight: \"700\",\n });\n }\n return styles;\n }\n);\nconst onAttention = \" &:focus\";\nconst TransparentInput = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"4.1em\",\n height: \"56px\",\n background: \"#f7f7fa\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Input = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"2em\",\n height: \"56px\",\n background: \"#fff\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Label = styled(\"label\")({\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontWeight: \"normal\",\n display: \"block\",\n marginBottom: 10,\n});\n\nconst BaseMenu = styled(\"ul\")(\n {\n padding: 0,\n marginTop: 0,\n position: \"absolute\",\n backgroundColor: \"white\",\n width: \"100%\",\n maxHeight: \"20rem\",\n overflowY: \"auto\",\n overflowX: \"hidden\",\n outline: \"0\",\n transition: \"opacity .1s ease\",\n borderRadius: \"0 0 .28571429rem .28571429rem\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n borderColor: \"#0D47A1\",\n borderTopWidth: \"0\",\n borderRightWidth: 1,\n borderBottomWidth: 1,\n borderLeftWidth: 1,\n borderStyle: \"solid\",\n },\n ({ isOpen }) => ({\n border: isOpen ? null : \"none\",\n })\n);\n\nconst Menu = React.forwardRef((props, ref) => (\n \n));\n\nconst ControllerButton = styled(\"button\")({\n backgroundColor: \"transparent\",\n border: \"none\",\n position: \"absolute\",\n right: 0,\n top: 0,\n cursor: \"pointer\",\n width: 47,\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n});\n\nfunction ArrowIcon({ isOpen }) {\n return (\n \n \n \n );\n}\n\nfunction XIcon() {\n return (\n \n \n \n \n );\n}\n\nfunction getItems(filter) {\n return filter\n ? matchSorter(listOfCountries, filter, {\n keys: [\"name\"],\n })\n : listOfCountries;\n}\n\nfunction getStringItems(filter) {\n return getItems(filter).map(({ name }) => name);\n}\n\nfunction sleep(ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n}\n\nasync function getItemsAsync(filter, { reject }) {\n await sleep(Math.random() * 2000);\n if (reject) {\n // this is just so we can have examples that show what happens\n // when there's a request failure.\n throw new Error({ error: \"request rejected\" });\n }\n return getItems(filter);\n}\n\nconst itemToString = (i) => (i ? i.name : \"\");\n\nconst items = [\n \"Neptunium\",\n \"Plutonium\",\n \"Americium\",\n \"Curium\",\n \"Berkelium\",\n \"Californium\",\n \"Einsteinium\",\n \"Fermium\",\n \"Mendelevium\",\n \"Nobelium\",\n \"Lawrencium\",\n \"Rutherfordium\",\n \"Dubnium\",\n \"Seaborgium\",\n \"Bohrium\",\n \"Hassium\",\n \"Meitnerium\",\n \"Darmstadtium\",\n \"Roentgenium\",\n \"Copernicium\",\n \"Nihonium\",\n \"Flerovium\",\n \"Moscovium\",\n \"Livermorium\",\n \"Tennessine\",\n \"Oganesson\",\n];\n\nconst menuStyles = {\n maxHeight: 80,\n maxWidth: 150,\n overflowY: \"scroll\",\n backgroundColor: \"#eee\",\n padding: 0,\n listStyle: \"none\",\n position: \"relative\",\n};\n\nconst menuMultipleStyles = {\n maxHeight: \"180px\",\n overflowY: \"auto\",\n width: \"135px\",\n margin: 0,\n borderTop: 0,\n background: \"white\",\n position: \"absolute\",\n zIndex: 1000,\n listStyle: \"none\",\n padding: 0,\n left: \"340px\",\n};\n\nconst selectedItemStyles = {\n marginLeft: \"5px\",\n backgroundColor: \"aliceblue\",\n borderRadius: \"10px\",\n};\n\nconst selectedItemIconStyles = { cursor: \"pointer\" };\n\nconst comboboxStyles = { display: \"inline-block\", marginLeft: \"5px\" };\n\nconst comboboxWrapperStyles = {\n display: \"inline-flex\",\n flexWrap: \"wrap\",\n};\n\nexport {\n menuMultipleStyles,\n items,\n menuStyles,\n comboboxStyles,\n comboboxWrapperStyles,\n selectedItemIconStyles,\n selectedItemStyles,\n Menu,\n ControllerButton,\n Input,\n TransparentInput,\n Item,\n ArrowIcon,\n XIcon,\n Label,\n css,\n itemToString,\n getItems,\n getStringItems,\n getItemsAsync,\n};\n","import React, { useState, useEffect } from \"react\";\nimport \"./InfiniteTextInputFieldStyles/InfiniteTextInputFieldStyles.scss\";\n\nfunction InfiniteTextInputField({\n placeholder,\n name,\n error,\n index,\n inputFields,\n initialValue,\n setInputFields,\n disabled,\n}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n // const [fieldValue, setFieldValue] = useState(\"\");\n\n const handleChangeInput = (index, event) => {\n // console.log(\"Name is:\" + console.log(event.target.name));\n const values = [...inputFields];\n values[index][event.target.name] = event.target.value;\n values[index][event.target.name + \"Error\"] = \"\";\n setInputFields(values);\n };\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n // useEffect(() => {\n // fieldValueChange(index, fieldValue);\n // }, [fieldValue, fieldValueChange]);\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n {\n // console.log(\"Event is: \" + event.target.value);\n handleChangeInput(index, event);\n }}\n >\n
    \n \n );\n}\nexport default InfiniteTextInputField;\n","import React, { useEffect } from \"react\";\nimport { css as emoCSS } from \"@emotion/css\";\nimport styled from \"@emotion/styled\";\nimport starWarsNames from \"starwars-names\";\nimport { matchSorter } from \"match-sorter\";\nimport { Global, css as newcss } from \"@emotion/react\";\nimport \"./InfiniteStateInputFieldStyles/InfiniteStateInputFieldStyles.scss\";\n\nconst GlobalStyles = newcss`\n @import url(\"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap\");\n\n @font-face {\n font-family: \"Local Font\";\n src: url(\"fonts/DancingScript-Regular.ttf\");\n }\n\n * {\n text-align: center;\n }\n`;\n\nconst allItems = starWarsNames.all.map((s) => ({\n name: s,\n id: s.toLowerCase(),\n}));\nconst list = [\n \"Alabama\",\n \"Alaska\",\n \"American Samoa\",\n \"Arizona\",\n \"Arkansas\",\n \"California\",\n \"Colorado\",\n \"Connecticut\",\n \"Delaware\",\n \"District of Columbia\",\n \"Federated States of Micronesia\",\n \"Florida\",\n \"Georgia\",\n \"Guam\",\n \"Hawaii\",\n \"Idaho\",\n \"Illinois\",\n \"Indiana\",\n \"Iowa\",\n \"Kansas\",\n \"Kentucky\",\n \"Louisiana\",\n \"Maine\",\n \"Marshall Islands\",\n \"Maryland\",\n \"Massachusetts\",\n \"Michigan\",\n \"Minnesota\",\n \"Mississippi\",\n \"Missouri\",\n \"Montana\",\n \"Nebraska\",\n \"Nevada\",\n \"New Hampshire\",\n \"New Jersey\",\n \"New Mexico\",\n \"New York\",\n \"North Carolina\",\n \"North Dakota\",\n \"Northern Mariana Islands\",\n \"Ohio\",\n \"Oklahoma\",\n \"Oregon\",\n \"Palau\",\n \"Pennsylvania\",\n \"Puerto Rico\",\n \"Rhode Island\",\n \"South Carolina\",\n \"South Dakota\",\n \"Tennessee\",\n \"Texas\",\n \"Utah\",\n \"Vermont\",\n \"Virgin Island\",\n \"Virginia\",\n \"Washington\",\n \"West Virginia\",\n \"Wisconsin\",\n \"Wyoming\",\n];\n\nconst listOfStates = list.map((s) => ({\n name: s,\n label: s.toLowerCase(),\n}));\n\n// const listOfStates = [\n// \"Alabama\",\n// \"Alaska\",\n// \"American Samoa\",\n// \"Arizona\",\n// \"Arkansas\",\n// \"California\",\n// \"Colorado\",\n// \"Connecticut\",\n// \"Delaware\",\n// \"District of Columbia\",\n// \"Federated States of Micronesia\",\n// \"Florida\",\n// \"Georgia\",\n// \"Guam\",\n// \"Hawaii\",\n// \"Idaho\",\n// \"Illinois\",\n// \"Indiana\",\n// \"Iowa\",\n// \"Kansas\",\n// \"Kentucky\",\n// \"Louisiana\",\n// \"Maine\",\n// \"Marshall Islands\",\n// \"Maryland\",\n// \"Massachusetts\",\n// \"Michigan\",\n// \"Minnesota\",\n// \"Mississippi\",\n// \"Missouri\",\n// \"Montana\",\n// \"Nebraska\",\n// \"Nevada\",\n// \"New Hampshire\",\n// \"New Jersey\",\n// \"New Mexico\",\n// \"New York\",\n// \"North Carolina\",\n// \"North Dakota\",\n// \"Northern Mariana Islands\",\n// \"Ohio\",\n// \"Oklahoma\",\n// \"Oregon\",\n// \"Palau\",\n// \"Pennsylvania\",\n// \"Puerto Rico\",\n// \"Rhode Island\",\n// \"South Carolina\",\n// \"South Dakota\",\n// \"Tennessee\",\n// \"Texas\",\n// \"Utah\",\n// \"Vermont\",\n// \"Virgin Island\",\n// \"Virginia\",\n// \"Washington\",\n// \"West Virginia\",\n// \"Wisconsin\",\n// \"Wyoming\",\n// ].map((s) => ({\n// name: s,\n// id: s.toLowerCase(),\n// }));\n\nconst css = (...args) => ({ className: emoCSS(...args) });\n\nconst Item = styled(\"li\")(\n {\n position: \"relative\",\n cursor: \"pointer\",\n display: \"block\",\n border: \"none\",\n height: \"auto\",\n textAlign: \"left\",\n borderTop: \"none\",\n lineHeight: \"1em\",\n color: \"#262A3D\",\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n textTransform: \"none\",\n fontWeight: \"400\",\n boxShadow: \"none\",\n padding: \".8rem 1.1rem\",\n whiteSpace: \"normal\",\n wordWrap: \"normal\",\n },\n ({ isActive, isSelected }) => {\n const styles = [];\n if (isActive) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n background: \"rgba(0,0,0,.03)\",\n });\n }\n if (isSelected) {\n styles.push({\n color: \"rgba(0,0,0,.95)\",\n fontWeight: \"700\",\n });\n }\n return styles;\n }\n);\nconst onAttention = \" &:focus\";\nconst Input = styled(\"input\")(\n {\n width: \"100%\", // full width - icon width/2 - border\n fontFamily: \"Montserrat\",\n fontSize: \"15px\",\n wordWrap: \"break-word\",\n lineHeight: \"1em\",\n outline: 0,\n whiteSpace: \"normal\",\n minHeight: \"2em\",\n height: \"56px\",\n background: \"#fff\",\n display: \"inline-block\",\n padding: \"1em 2em 1em 1em\",\n color: \"rgba(0,0,0,.87)\",\n boxShadow: \"none\",\n border: \"1px solid rgba(34,36,38,.15)\",\n borderRadius: \"4px\",\n transition: \"box-shadow .1s ease,width .1s ease\",\n [onAttention]: {\n border: \"1px solid #0D47A1\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n },\n },\n ({ isOpen }) =>\n isOpen\n ? {\n borderBottomLeftRadius: \"0\",\n borderBottomRightRadius: \"0\",\n [onAttention]: {\n boxShadow: \"none\",\n },\n }\n : null\n);\n\nconst Label = styled(\"label\")({\n fontFamily: \"Montserrat\",\n color: \"#262A3D\",\n fontWeight: \"normal\",\n display: \"block\",\n marginBottom: 10,\n});\n\nconst BaseMenu = styled(\"ul\")(\n {\n padding: 0,\n marginTop: 0,\n position: \"absolute\",\n backgroundColor: \"white\",\n width: \"100%\",\n maxHeight: \"20rem\",\n overflowY: \"auto\",\n overflowX: \"hidden\",\n outline: \"0\",\n transition: \"opacity .1s ease\",\n borderRadius: \"0 0 .28571429rem .28571429rem\",\n boxShadow: \"0 2px 3px 0 rgba(34,36,38,.15)\",\n borderColor: \"#0D47A1\",\n borderTopWidth: \"0\",\n borderRightWidth: 1,\n borderBottomWidth: 1,\n borderLeftWidth: 1,\n borderStyle: \"solid\",\n },\n ({ isOpen }) => ({\n border: isOpen ? null : \"none\",\n })\n);\n\nconst Menu = React.forwardRef((props, ref) => (\n \n));\n\nconst ControllerButton = styled(\"button\")({\n backgroundColor: \"transparent\",\n border: \"none\",\n position: \"absolute\",\n right: 0,\n top: 0,\n cursor: \"pointer\",\n width: 47,\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n alignItems: \"center\",\n});\n\nfunction ArrowIcon({ isOpen }) {\n return (\n \n \n \n );\n}\n\nfunction XIcon() {\n return (\n \n \n \n \n );\n}\n\nfunction getItems(filter) {\n return filter\n ? matchSorter(listOfStates, filter, {\n keys: [\"name\"],\n })\n : listOfStates;\n}\n\nfunction getStringItems(filter) {\n return getItems(filter).map(({ name }) => name);\n}\n\nfunction sleep(ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n}\n\nasync function getItemsAsync(filter, { reject }) {\n await sleep(Math.random() * 2000);\n if (reject) {\n // this is just so we can have examples that show what happens\n // when there's a request failure.\n throw new Error({ error: \"request rejected\" });\n }\n return getItems(filter);\n}\n\nconst itemToString = (i) => (i ? i.name : \"\");\n\nconst items = [\n \"Neptunium\",\n \"Plutonium\",\n \"Americium\",\n \"Curium\",\n \"Berkelium\",\n \"Californium\",\n \"Einsteinium\",\n \"Fermium\",\n \"Mendelevium\",\n \"Nobelium\",\n \"Lawrencium\",\n \"Rutherfordium\",\n \"Dubnium\",\n \"Seaborgium\",\n \"Bohrium\",\n \"Hassium\",\n \"Meitnerium\",\n \"Darmstadtium\",\n \"Roentgenium\",\n \"Copernicium\",\n \"Nihonium\",\n \"Flerovium\",\n \"Moscovium\",\n \"Livermorium\",\n \"Tennessine\",\n \"Oganesson\",\n];\n\nconst menuStyles = {\n maxHeight: 80,\n maxWidth: 150,\n overflowY: \"scroll\",\n backgroundColor: \"#eee\",\n padding: 0,\n listStyle: \"none\",\n position: \"relative\",\n};\n\nconst menuMultipleStyles = {\n maxHeight: \"180px\",\n overflowY: \"auto\",\n width: \"135px\",\n margin: 0,\n borderTop: 0,\n background: \"white\",\n position: \"absolute\",\n zIndex: 1000,\n listStyle: \"none\",\n padding: 0,\n left: \"340px\",\n};\n\nconst selectedItemStyles = {\n marginLeft: \"5px\",\n backgroundColor: \"aliceblue\",\n borderRadius: \"10px\",\n};\n\nconst selectedItemIconStyles = { cursor: \"pointer\" };\n\nconst comboboxStyles = { display: \"inline-block\", marginLeft: \"5px\" };\n\nconst comboboxWrapperStyles = {\n display: \"inline-flex\",\n flexWrap: \"wrap\",\n};\n\nexport {\n menuMultipleStyles,\n items,\n menuStyles,\n comboboxStyles,\n comboboxWrapperStyles,\n selectedItemIconStyles,\n selectedItemStyles,\n Menu,\n ControllerButton,\n Input,\n Item,\n ArrowIcon,\n XIcon,\n Label,\n css,\n itemToString,\n getItems,\n getStringItems,\n getItemsAsync,\n};\n","import React, { useState, useEffect } from \"react\";\nimport \"./InfiniteIDInputFieldStyles/InfiniteIDInputFieldStyles.scss\";\nfunction InfiniteIDInputField({\n placeholder,\n name,\n error,\n index,\n inputFields,\n setInputFields,\n initialValue,\n disabled,\n}) {\n const [inputPlaceholder, setInputPlaceholder] = useState(\"\");\n const [focus, setFocus] = useState(false);\n //const [error, setError] = useState(false);\n const [divClass, setDivClass] = useState(\"input-box-container\");\n const [fieldValue, setFieldValue] = useState(\"\");\n\n useEffect(() => {\n if (!error) {\n setDivClass(focus ? \"input-box-containerFocus\" : \"input-box-container\");\n } else {\n setDivClass(\"input-box-containerError\");\n }\n }, [focus, error]);\n\n useEffect(() => {\n setInputPlaceholder(placeholder);\n }, [placeholder]);\n\n useEffect(() => {\n // if (fieldValue.length > 14) {\n // console.log(fieldValue.substring(0, 14));\n // setFieldValue(fieldValue.substring(0, 14));\n // }\n const values = [...inputFields];\n values[index][name] = fieldValue;\n values[index][name + \"Error\"] = \"\";\n setInputFields(values);\n // fieldValueChange(fieldValue);\n }, [fieldValue]);\n return (\n setFocus(true)}\n onBlur={() => setFocus(false)}\n >\n
    \n {\n //if (isNumber(event.target.value)) {\n setFieldValue(event.target.value);\n //}\n }}\n >\n
    \n \n );\n}\nexport default InfiniteIDInputField;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router\";\nimport Header from \"../../../Components/GlobalComponents/Header\";\nimport { styled } from \"@mui/material/styles\";\nimport HeaderV2 from \"../../../Components/GlobalComponents/HeaderV2\";\nimport * as dayjs from \"dayjs\";\nimport Stack from \"@mui/material/Stack\";\nimport Button from \"@mui/material/Button\";\nimport BootstrapTable from \"react-bootstrap-table-next\";\nimport \"react-bootstrap-table-next/dist/react-bootstrap-table2.min.css\";\nimport \"./InvestmentAccountsPageStyles/InvestmentAccountsPageStyles.scss\";\nimport { UserContext } from \"./../../../GlobalContexts/UserContext.js\";\nimport GetInvestmentAccountsAdapter from \"../../../Adapters/GlobalAdapters/GetInvestmentAccountsAdapter\";\nimport PageLoading from \"../../../Components/GlobalComponents/PageLoading/PageLoading\";\nimport CompleteAccountComponent from \"../../../Components/GlobalComponents/CompleteAccountComponent/CompleteAccountComponent\";\nimport * as Icon from \"react-icons/fi\";\nimport Checkbox from \"react-custom-checkbox\";\n\nvar utc = require(\"dayjs/plugin/utc\");\n\nfunction InvestmentAccountsPage() {\n let history = useHistory();\n const [refresh, setRefresh] = useState(0);\n const [loading, setLoading] = useState(true);\n const { user, setUser } = useContext(UserContext);\n\n // const [investmentAccounts, setInvestmentAccounts] = useState([]);\n const { investmentAccounts } = GetInvestmentAccountsAdapter(\n refresh,\n setLoading\n );\n\n const AccountDetailsButton = styled(Button)({\n fontFamily: \"Montserrat\",\n fontSize: \"12px\",\n color: \"#0D47A1\",\n borderColor: \"#0D47A1\",\n \"&:hover\": {\n backgroundColor: \"rgb(13, 71, 161, 0.05)\",\n borderColor: \"#0D47A1\",\n boxShadow: \"none\",\n },\n });\n\n const CompleteAccountButton = styled(Button)({\n fontFamily: \"Montserrat\",\n fontSize: \"12px\",\n color: \"#E59335\",\n borderColor: \"#E59335\",\n \"&:hover\": {\n backgroundColor: \"rgb(229, 147, 53, 0.05)\",\n borderColor: \"#E59335\",\n boxShadow: \"none\",\n },\n });\n\n const statusCodes = {\n A: \"Pending Information\",\n I: \"Pending Information\",\n P: \"Pending Verification\",\n F: \"Failed Verification\",\n S: \"Successful Verification\",\n };\n\n const accountCodes = {\n IND: \"Individual\",\n TRT: \"Trust\",\n ENT: \"Entity\",\n };\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\")\n console.log(\n \"Investment accounts are: \" + JSON.stringify(investmentAccounts)\n );\n }, [investmentAccounts]);\n\n // useEffect(() => {\n // const processedAccountList =\n // user &&\n // user.accountListData.map((account, index) => {\n // console.log(\"Account is: \" + JSON.stringify(account));\n // return {\n // primaryAccount: index == 0,\n // id: account.number, // To-do: make this UUID\n // accountNumber: account.number,\n // accountType: accountCodes[account.account_type],\n // dateAdded: account.date_added, // To-do: add\n // accountName: account.name,\n // status:\n // account.account_verifications.length === 0\n // ? \"Pending Verification\"\n // : statusCodes[account.account_verifications[0].status],\n // action: (\n // account.account_type == \"IND\"\n // ? account.investor_profile_complete\n // : account.entity_profile_complete\n // )\n // ? \"View Account Details\"\n // : \"Complete Pending Account\",\n // };\n // });\n\n // setInvestmentAccounts(processedAccountList);\n // console.log(processedAccountList);\n // }, [user]);\n\n const toggleAccountNumber = (rowIndex) => {\n var tempInvestmentAccounts = [...investmentAccounts];\n var tempHideAccountNumber =\n tempInvestmentAccounts[rowIndex].hideAccountNumber;\n tempInvestmentAccounts[rowIndex].hideAccountNumber = !tempHideAccountNumber;\n // setInvestmentAccounts([...tempInvestmentAccounts]);\n };\n\n const onTableChange = (type, newState) => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(type);\n console.log(newState);\n }\n };\n\n const columns = [\n // {\n // dataField: \"accountNumber\",\n // text: \"#\",\n // classes: \"table-data-style\",\n // headerClasses: \"start-padding table-header-text\",\n // formatter: (cell, row, rowIndex) => {\n // var tempCell = cell;\n // var copyString = \"X\".repeat(tempCell.length - 4);\n // copyString += tempCell.slice(-4);\n\n // return (\n //
    \n // \n // {row.hideAccountNumber ? copyString : tempCell}\n // \n // {\n // toggleAccountNumber(rowIndex);\n // }}\n // >\n // {row.hideAccountNumber\n // ? \"Show Account Number\"\n // : \"Hide Account Number\"}\n // \n //
    \n // );\n // },\n // },\n {\n dataField: \"primaryAccount\",\n isDummyField: true,\n text: \"\",\n classes: \"table-data-style align-items-center\",\n headerClasses: \"start-padding table-header-text\",\n formatter: (cell, row, rowIndex) => {\n if (row.primaryAccount) {\n return (\n //
    \n \n //
    \n\n // \n );\n } else {\n return null;\n }\n },\n },\n {\n dataField: \"accountName\",\n text: \"Name\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n {\n dataField: \"accountType\",\n text: \"Type\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n },\n /*{\n dataField: \"status\",\n text: \"Status\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n formatter: (cell, row, rowIndex) => {\n if (cell === \"Successful Verification\") {\n return (\n
    \n
    \n {cell}\n
    \n );\n } else if (\n cell === \"Pending Verification\" ||\n cell === \"Pending Verification Refresh\"\n ) {\n return (\n
    \n
    \n {cell}\n
    \n );\n } else if (cell === \"Pending Information\") {\n return (\n
    \n
    \n {cell}\n
    \n );\n } else if (cell === \"Failed Verification\") {\n return (\n
    \n
    \n {cell}\n
    \n );\n }\n },\n },\n {\n dataField: \"dateAdded\",\n text: \"Date Added\",\n classes: \"table-data-style align-items-center\",\n headerClasses: \"start-padding table-header-text\",\n formatter: (cell, row, rowIndex) => {\n return dayjs(cell.substring(0, 10)).format(\"MMM D, YYYY\");\n },\n }, */\n {\n dataField: \"\",\n isDummyField: true,\n text: \"\",\n classes: \"table-data-style\",\n headerClasses: \"start-padding table-header-text\",\n formatter: (cellContent, row) => {\n if (row.completed) {\n return (\n \n history.push(\"/investment-accounts/account-details/\" + row.id)\n }\n >\n Account Details >\n \n );\n } else if (row.indIncomplete) {\n return (\n history.push(\"/profile\")}\n >\n Complete Investor Profile >\n \n );\n } else {\n return (\n history.push(\"/investment-accounts/add/\" + row.id)}\n >\n Complete Account >\n \n );\n }\n },\n },\n ];\n\n const rowEvents = {\n onClick: (e, row, rowIndex) => {\n // window.open(row.documentLink, \"_blank\").focus();\n // console.log(\"Clicked.\");\n },\n };\n\n const rowClasses = (row) =>\n row.primaryAccount ? \"table-row-style-blue\" : \"table-row-style\";\n\n return loading ? (\n \n
    \n \n \n ) : (\n \n
    \n {/* */}\n
    \n
    \n
    \n
    \n \n Investment Accounts\n \n
    \n {!investmentAccounts[0].investorProfileComplete && (\n
    \n {\" \"}\n {\" \"}\n
    \n )}\n
    \n
    \n
    \n \n {/*
    \n
    \n
    \n \n history.push(\"/investment-accounts/add\")\n }\n >\n
    \n \n \n Add Account\n \n
    \n \n
    \n
    \n
    */}\n {investmentAccounts.length === 0 && (\n
    \n \n You don't have any statements to show.\n \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n}\nexport default InvestmentAccountsPage;\n","import { useState, useEffect } from \"react\";\nimport { getAccountList } from \"../../Api/ProfileApi.js\";\n\nexport default function GetInvestmentAccountsAdapter(refresh, setLoading) {\n const [investmentAccounts, setInvestmentAccounts] = useState([]);\n\n useEffect(() => {\n async function getInvestmentAccountsInfo() {\n setLoading(true);\n try {\n const response = await getAccountList();\n const accountListData = response.data;\n\n setInvestmentAccounts([]);\n accountListData.forEach((account, index) => {\n let accountTypes = {\n IND: \"Individual\",\n TRT: \"Trust\",\n ENT: \"Entity\",\n JOINT: \"Joint\"\n };\n\n var tempCell = account.number;\n var copyString = \"X\".repeat(tempCell.length - 4);\n // copyString += tempCell.slice(-4);\n\n const statusCodes = {\n A: \"Pending Information\",\n R: \"Pending Verification Refresh\",\n I: \"Pending Verification\",\n P: \"Pending Verification\",\n F: \"Failed Verification\",\n S: \"Successful Verification\",\n };\n\n\n setInvestmentAccounts((prev) => [\n ...prev,\n {\n primaryAccount: index == 0,\n id: account.id,\n accountNumber: account.number,\n investorProfileComplete: account.investor_profile_complete,\n accountType: accountTypes[account.account_type],\n dateAdded: account.date_added,\n accountName: account.name,\n status:\n account.account_verifications.length === 0\n ? \"Pending Verification\"\n : statusCodes[account.account_verifications[0].status],\n indIncomplete: (account.investor_profile_complete === false),\n completed:\n (account.investor_profile_complete &&\n account.account_type === \"IND\") ||\n account.entity_complete || (account.secondary_investor_profile !== null && account.secondary_investor_profile.address_complete&&account.secondary_investor_profile.pii_complete && account.account_type === \"JOINT\"),\n },\n ]);\n setLoading(false);\n });\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(err);\n }\n }\n getInvestmentAccountsInfo();\n }, [refresh]);\n\n return { investmentAccounts };\n}\n","import { useState, useEffect, useRef } from \"react\";\n\nexport default function useDelayUnmount(isMounted, delayTime, delayMount) {\n const [shouldRender, setShouldRender] = useState(false);\n\n useEffect(() => {\n let timeoutId;\n if (isMounted && !shouldRender) {\n // setShouldRender(true);\n if (delayMount) {\n timeoutId = setTimeout(() => setShouldRender(true), delayTime);\n } else {\n setShouldRender(true);\n }\n } else if (!isMounted && shouldRender) {\n timeoutId = setTimeout(() => setShouldRender(false), delayTime);\n }\n return () => clearTimeout(timeoutId);\n }, [isMounted, delayTime, shouldRender]);\n return shouldRender;\n}\n","import React, { useState } from \"react\";\nimport LoadingButton from \"../../../../../../../Components/GlobalComponents/Loading/LoadingButton\";\n\nfunction IndividualAccountBasicInformationButton({\n loading,\n investorProfileComplete,\n showIndividualQualificationSection,\n mountedStyle,\n accountType,\n unmountedStyle,\n onClick,\n}) {\n const [text, setText] = useState(\n (investorProfileComplete && accountType === \"IND\") ? \"Add Account\" : \"Next Step\"\n );\n\n return (\n \n
    \n onClick()}\n >\n {loading && (\n
    \n
    \n \n {text}\n \n \n
    \n
    \n )}\n {!loading && {text}}\n \n
    \n
    \n );\n}\nexport default IndividualAccountBasicInformationButton;\n","import React, { useState, useEffect } from \"react\";\n\nfunction IndividualAccountBasicInformationQualificationQuestion({\n showIndividualQualificationSection,\n mountedStyle,\n unmountedStyle,\n questionNumber,\n questionText,\n answer,\n setAnswer,\n}) {\n const [answerYes, setAnswerYes] = useState(\"\");\n const [answerNo, setAnswerNo] = useState(\"\");\n\n useEffect(() => {\n if (answer !== \"\") {\n if (answer) {\n setAnswerYes(true);\n setAnswerNo(false);\n } else {\n setAnswerYes(false);\n setAnswerNo(true);\n }\n }\n }, [answer]);\n\n return (\n \n \n {questionText}\n
    \n \n
    \n \n {\n setAnswer(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setAnswer(false);\n }}\n />\n
    \n No\n \n
    \n
    \n \n );\n}\nexport default IndividualAccountBasicInformationQualificationQuestion;\n","import React, { useState } from \"react\";\nimport Modal from \"react-bootstrap/Modal\";\n\nfunction IndividualAccountBasicInformationQPModal({\n showIndividualQualificationSection,\n mountedStyle,\n unmountedStyle,\n}) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n \n setShowModal(false)}\n >\n \n \n Qualified Purchaser\n \n \n \n \n Qualified Purchaser: \n (51) (A) “Qualified purchaser” means— (i) any natural person\n (including any person who holds a joint, community property, or\n other similar shared ownership interest in an issuer that is\n excepted under section 80a–3(c)(7) of this title with that person’s\n qualified purchaser spouse) who owns not less than $5,000,000 in\n investments, as defined by the Commission; (ii) any company that\n owns not less than $5,000,000 in investments and that is owned\n directly or indirectly by or for 2 or more natural persons who are\n related as siblings or spouse (including former spouses), or direct\n lineal descendants by birth or adoption, spouses of such persons,\n the estates of such persons, or foundations, charitable\n organizations, or trusts established by or for the benefit of such\n persons; (iii) any trust that is not covered by clause (ii) and that\n was not formed for the specific purpose of acquiring the securities\n offered, as to which the trustee or other person authorized to make\n decisions with respect to the trust, and each settlor or other\n person who has contributed assets to the trust, is a person\n described in clause (i), (ii), or (iv); or (iv) any person, acting\n for its own account or the accounts of other qualified purchasers,\n who in the aggregate owns and invests on a discretionary basis, not\n less than $25,000,000 in investments. (B) The Commission may adopt\n such rules and regulations applicable to the persons and trusts\n specified in clauses (i) through (iv) of subparagraph (A) as it\n determines are necessary or appropriate in the public interest or\n for the protection of investors. (C) The term “qualified purchaser”\n does not include a company that, but for the exceptions provided for\n in paragraph (1) or (7) of section 80a–3(c) of this title , would be\n an investment company (hereafter in this paragraph referred to as an\n “excepted investment company”), unless all beneficial owners of its\n outstanding securities (other than short-term paper), determined in\n accordance with section 80a–3(c)(1)(A) of this title , that acquired\n such securities on or before April 30, 1996 (hereafter in this\n paragraph referred to as “pre-amendment beneficial owners”), and all\n pre-amendment beneficial owners of the outstanding securities (other\n than short-term paper) of any excepted investment company that,\n directly or indirectly, owns any outstanding securities of such\n excepted investment company, have consented to its treatment as a\n qualified purchaser. Unanimous consent of all trustees, directors,\n or general partners of a company or trust referred to in clause (ii)\n or (iii) of subparagraph (A) shall constitute consent for purposes\n of this subparagraph.\n \n \n \n {\n setShowModal(false);\n }}\n >\n Got it\n \n \n \n \n
    \n \n
    \n \n
    Qualified Purchaser
    \n setShowModal(true)}\n >\n View Full Definition\n
    \n \n \n \n );\n}\nexport default IndividualAccountBasicInformationQPModal;\n","import React from \"react\";\nimport Alert from \"@mui/material/Alert\";\n\nfunction IndividualAccountBasicInformationQualificationErrorSection({\n individualAccountBasicInformationError,\n mountedStyle,\n unmountedStyle,\n}) {\n return (\n individualAccountBasicInformationError !== \"\" && (\n \n {individualAccountBasicInformationError}\n \n )\n );\n}\nexport default IndividualAccountBasicInformationQualificationErrorSection;\n","import React from \"react\";\nimport IndividualAccountBasicInformationQualificationQuestion from \"./IndividualAccountBasicInformationQualificationQuestion/IndividualAccountBasicInformationQualificationQuestion\";\nimport IndividualAccountBasicInformationQPModal from \"./IndividualAccountBasicInformationQPModal/IndividualAccountBasicInformationQPModal\";\nimport IndividualAccountBasicInformationQualificationErrorSection from \"./IndividualAccountBasicInformationQualificationErrorSection/IndividualAccountBasicInformationQualificationErrorSection\";\n\nfunction IndividualAccountBasicInformationQualificationSection({\n showIndividualQualificationSection,\n mountedStyle,\n unmountedStyle,\n accountType,\n individualQualificationQ1,\n setIndividualQualificationQ1,\n individualAccountBasicInformationError,\n}) {\n return (\n \n \n \n Qualification Question\n {accountType === \"IND\" ? \"\" : \"s\"}\n \n \n \n \n Please confirm your{\" \"}\n Qualified Purchaser status\n \n \n \n \n \n \n );\n}\nexport default IndividualAccountBasicInformationQualificationSection;\n","import React from \"react\";\nimport StyledTextInputField from \"../StyledTextInputField/StyledTextInputField\";\nimport PhoneInput from \"react-phone-input-2\";\n// import \"react-phone-input-2/lib/bootstrap.css\";\n\nconst StyledPhoneInputField = ({\n setValue,\n valueError,\n value,\n disabled,\n ...props\n}) => {\n return (\n <>\n {!disabled ? (\n {}}\n valueError={valueError}\n label={\"Phone Number\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={disabled}\n id={\"account-name-input\"}\n />\n }\n />\n ) : (\n {}}\n valueError={valueError}\n label={\"Phone Number\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={disabled}\n id={\"account-name-input\"}\n />\n )}\n \n );\n};\n\nexport default StyledPhoneInputField;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router\";\nimport IndividualAccountBasicInformationButton from \"./IndividualAccountBasicInformationButton/IndividualAccountBasicInformationButton\";\nimport IndividualAccountBasicInformationQualificationSection from \"./IndividualAccountBasicInformationQualificationSection/IndividualAccountBasicInformationQualificationSection\";\nimport { getDateUTC } from \"../../../../../../GlobalFunctions/globalFunctions.js\";\nimport { newAccount, getAccountList } from \"../../../../../../Api/ProfileApi\";\nimport { UserContext } from \"../../../../../../GlobalContexts/UserContext\";\nimport SelectField from \"../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport StyledTextInputField from \"../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport StyledPhoneInputField from \"../../../../../../GlobalComponents/InputField/StyledPhoneInputField/StyledPhoneInputField\";\n\nfunction IndividualAccountBasicInformation({\n countryOfFormation,\n setCountryOfFormation,\n processedCountryList,\n countryOfFormationError,\n setCountryOfFormationError,\n setAccountID,\n legalAccountName,\n setLegalAccountNameError,\n investorProfileComplete,\n shouldRenderIndividualQualificationSection,\n showIndividualQualificationSection,\n mountedStyle,\n unmountedStyle,\n accountType,\n individualQualificationQ1,\n setIndividualQualificationQ1,\n setActiveSlide,\n}) {\n const { user, setUser } = useContext(UserContext);\n\n let history = useHistory();\n\n const [\n individualAccountBasicInformationError,\n setIndividualAccountBasicInformationError,\n ] = useState(\"\");\n\n const jointList = [\n \"Tenants in Common\",\n \"Tenants with Rights of Survivorship\",\n \"Community Property\",\n ];\n\n const listOfJointTypes = jointList.map((s) => ({\n value: s.toLowerCase(),\n label: s,\n }));\n\n const [jointAccountType, setJointAccountType] = useState(\"\");\n const [jointAccountTypeError, setJointAccountTypeError] = useState(\"\");\n const [qualificationDate, setQualificationDate] = useState(\"\");\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n const [firstName, setFirstName] = useState(\"\");\n const [lastName, setLastName] = useState(\"\");\n const [email, setEmail] = useState(\"\");\n const [phone, setPhone] = useState(\"\");\n\n const [firstNameError, setFirstNameError] = useState(\"\");\n const [lastNameError, setLastNameError] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n const [phoneError, setPhoneError] = useState(\"\");\n\n useEffect(() => {\n if (individualQualificationQ1 !== \"\") {\n setIndividualAccountBasicInformationError(\"\");\n if (individualQualificationQ1) {\n var utcDate = getDateUTC();\n setQualificationDate(utcDate);\n } else {\n setQualificationDate(\"\");\n }\n }\n }, [individualQualificationQ1]);\n\n const submitEntityAccountBasicInformation = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n if (legalAccountName === \"\") {\n errors = true;\n setLegalAccountNameError(\"This field is required.\"); }\n \n if (countryOfFormation === \"\") {\n setCountryOfFormationError(\"This field is required.\")\n }\n\n\n\n if (!errors) {\n // Code to make request to the backend goes here\n const newAccountResp = await newAccount({\n account_type: \"ENT\",\n qualification_date: getDateUTC(),\n legal_name: legalAccountName,\n entity_type: \"SM_LLC\",\n country_of_formation: countryOfFormation,\n individual_q1_qp_5m_investments: individualQualificationQ1,\n qualification_date: qualificationDate,\n });\n setAccountID(newAccountResp.data.detail);\n const accountList = await getAccountList();\n setUser((user) => ({ ...user, accountListData: accountList.data }));\n\n setActiveSlide((prevState) => prevState + 1);\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n const submit = () => {\n accountType === \"IND\" && submitIndividualAccountBasicInformation();\n accountType === \"JOINT\" && submitJointAccountBasicInformation();\n accountType === \"SM_LLC\" && submitEntityAccountBasicInformation();\n };\n\n const submitJointAccountBasicInformation = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n\n if (jointAccountType === \"\") {\n setJointAccountTypeError(\"Required.\")\n }\n\n if (email === \"\") {\n setEmailError(\"Required.\")\n }\n \n if (firstName === \"\") {\n setFirstNameError(\"Required.\")\n }\n\n \n if (lastName === \"\") {\n setLastNameError(\"Required.\")\n }\n \n if (phone === \"\") {\n setPhoneError(\"Required.\")\n }\n\n\n\n if (individualQualificationQ1 === \"\") {\n errors = true;\n setIndividualAccountBasicInformationError(\"Please answer all questions.\");\n } else if (!individualQualificationQ1) {\n errors = true;\n setIndividualAccountBasicInformationError(\n \"Sorry, you do not qualify as a qualified purchaser. We only allow Qualified Purchasers on our platform at this time, so you will be unable to add this account.\"\n );\n }\n\n if (!errors) {\n //Code to make a request to the backend will go here.\n //May also need to track qualification date here.\n if (!investorProfileComplete) {\n const newAccountResp = await newAccount({\n account_type: accountType,\n joint_account_type: jointAccountType,\n individual_q1_qp_5m_investments: individualQualificationQ1,\n qualification_date: qualificationDate,\n first_name: firstName,\n last_name: lastName,\n phone: phone, \n email: email,\n });\n setAccountID(newAccountResp.data.detail);\n const accountList = await getAccountList();\n setUser((user) => ({ ...user, accountListData: accountList.data }));\n\n if (\n user &&\n user.investorSummaryData &&\n user.investorSummaryData.address_complete &&\n user.investorSummaryData.pii_complete\n ) {\n setActiveSlide((prevState) => prevState + 1); // Fill in joint account info\n } else {\n setActiveSlide((prevState) => prevState + 1);\n }\n } else {\n history.push(\"/investment-accounts\");\n }\n // setSubmissionInProgress(false);\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n const submitIndividualAccountBasicInformation = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n if (individualQualificationQ1 === \"\") {\n errors = true;\n setIndividualAccountBasicInformationError(\"Please answer all questions.\");\n } else if (!individualQualificationQ1) {\n errors = true;\n setIndividualAccountBasicInformationError(\n \"Sorry, you do not qualify as a qualified purchaser. We only allow Qualified Purchasers on our platform at this time, so you will be unable to add this account.\"\n );\n }\n\n if (!errors) {\n //Code to make a request to the backend will go here.\n //May also need to track qualification date here.\n if (!investorProfileComplete) {\n const newAccountResp = await newAccount({\n account_type: accountType,\n individual_q1_qp_5m_investments: individualQualificationQ1,\n qualification_date: qualificationDate,\n });\n setAccountID(newAccountResp.data.detail);\n const accountList = await getAccountList();\n setUser((user) => ({ ...user, accountListData: accountList.data }));\n\n if (\n user &&\n user.investorSummaryData &&\n user.investorSummaryData.address_complete &&\n user.investorSummaryData.pii_complete\n ) {\n history.push(\"/investment-accounts\");\n } else {\n setActiveSlide((prevState) => prevState + 1);\n }\n } else {\n history.push(\"/investment-accounts\");\n }\n // setSubmissionInProgress(false);\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n return (\n shouldRenderIndividualQualificationSection && (\n \n {accountType === \"SM_LLC\" && (\n
    \n \n
    \n )}\n {accountType === \"JOINT\" && (\n <>\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    {\" \"}\n
    \n
    \n \n
    \n
    \n \n )}\n \n submit()}\n />\n
    \n )\n );\n}\nexport default IndividualAccountBasicInformation;\n","import React, { useState, useEffect } from \"react\";\n\nfunction TrustAccountBasicInformationQualificationQuestion({\n showTrustQualificationSection,\n mountedStyle,\n unmountedStyle,\n questionNumber,\n questionText,\n answer,\n setAnswer,\n}) {\n const [answerYes, setAnswerYes] = useState(\"\");\n const [answerNo, setAnswerNo] = useState(\"\");\n\n useEffect(() => {\n if (answer !== \"\") {\n if (answer) {\n setAnswerYes(true);\n setAnswerNo(false);\n } else {\n setAnswerYes(false);\n setAnswerNo(true);\n }\n }\n }, [answer]);\n return (\n \n \n {questionText}\n \n \n
    \n \n {\n setAnswer(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setAnswer(false);\n }}\n />\n
    \n No\n \n
    \n \n
    \n );\n}\nexport default TrustAccountBasicInformationQualificationQuestion;\n","import React, { useState } from \"react\";\nimport Modal from \"react-bootstrap/Modal\";\n\nfunction TrustAccountBasicInformationQPModal({\n showTrustQualificationSection,\n mountedStyle,\n unmountedStyle,\n}) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n \n setShowModal(false)}\n >\n \n \n Qualified Purchaser\n \n \n \n \n Qualified Purchaser: \n (51) (A) “Qualified purchaser” means— (i) any natural person\n (including any person who holds a joint, community property, or\n other similar shared ownership interest in an issuer that is\n excepted under section 80a–3(c)(7) of this title with that person’s\n qualified purchaser spouse) who owns not less than $5,000,000 in\n investments, as defined by the Commission; (ii) any company that\n owns not less than $5,000,000 in investments and that is owned\n directly or indirectly by or for 2 or more natural persons who are\n related as siblings or spouse (including former spouses), or direct\n lineal descendants by birth or adoption, spouses of such persons,\n the estates of such persons, or foundations, charitable\n organizations, or trusts established by or for the benefit of such\n persons; (iii) any trust that is not covered by clause (ii) and that\n was not formed for the specific purpose of acquiring the securities\n offered, as to which the trustee or other person authorized to make\n decisions with respect to the trust, and each settlor or other\n person who has contributed assets to the trust, is a person\n described in clause (i), (ii), or (iv); or (iv) any person, acting\n for its own account or the accounts of other qualified purchasers,\n who in the aggregate owns and invests on a discretionary basis, not\n less than $25,000,000 in investments. (B) The Commission may adopt\n such rules and regulations applicable to the persons and trusts\n specified in clauses (i) through (iv) of subparagraph (A) as it\n determines are necessary or appropriate in the public interest or\n for the protection of investors. (C) The term “qualified purchaser”\n does not include a company that, but for the exceptions provided for\n in paragraph (1) or (7) of section 80a–3(c) of this title , would be\n an investment company (hereafter in this paragraph referred to as an\n “excepted investment company”), unless all beneficial owners of its\n outstanding securities (other than short-term paper), determined in\n accordance with section 80a–3(c)(1)(A) of this title , that acquired\n such securities on or before April 30, 1996 (hereafter in this\n paragraph referred to as “pre-amendment beneficial owners”), and all\n pre-amendment beneficial owners of the outstanding securities (other\n than short-term paper) of any excepted investment company that,\n directly or indirectly, owns any outstanding securities of such\n excepted investment company, have consented to its treatment as a\n qualified purchaser. Unanimous consent of all trustees, directors,\n or general partners of a company or trust referred to in clause (ii)\n or (iii) of subparagraph (A) shall constitute consent for purposes\n of this subparagraph.\n \n \n \n {\n setShowModal(false);\n }}\n >\n Got it\n \n \n \n \n
    \n \n
    \n \n
    Qualified Purchaser
    \n setShowModal(true)}\n >\n View Full Definition\n \n \n \n
    \n );\n}\nexport default TrustAccountBasicInformationQPModal;\n","import React from \"react\";\nimport Alert from \"@mui/material/Alert\";\n\nfunction TrustAccountBasicInformationQualificationError({\n trustAccountBasicInformationQualificationQuestionError,\n mountedStyle,\n unmountedStyle,\n}) {\n return (\n trustAccountBasicInformationQualificationQuestionError !== \"\" && (\n \n \n {trustAccountBasicInformationQualificationQuestionError}\n \n \n )\n );\n}\nexport default TrustAccountBasicInformationQualificationError;\n","import React, { useState, useEffect } from \"react\";\nimport TrustAccountBasicInformationQualificationQuestion from \"./TrustAccountBasicInformationQualificationQuestion/TrustAccountBasicInformationQualificationQuestion\";\nimport TrustAccountBasicInformationQPModal from \"./TrustAccountBasicInformationQPModal/TrustAccountBasicInformationQPModal\";\nimport TrustAccountBasicInformationQualificationError from \"./TrustAccountBasicInformationQualificationError/TrustAccountBasicInformationQualificationError\";\n\nfunction TrustAccountBasicInformationQualificationSection({\n showTrustQualificationSection,\n mountedStyle,\n unmountedStyle,\n trustQualificationQ1,\n setTrustQualificationQ1,\n trustQualificationQ2,\n setTrustQualificationQ2,\n trustQualificationQ3,\n setTrustQualificationQ3,\n trustQualificationQ4,\n setTrustQualificationQ4,\n trustAccountBasicInformationQualificationQuestionError,\n}) {\n return (\n \n \n \n Qualification Questions\n \n \n \n \n Please confirm the account's{\" \"}\n Qualified Purchaser status\n \n \n \n \n \n \n \n \n \n );\n}\nexport default TrustAccountBasicInformationQualificationSection;\n","import React from \"react\";\n\nfunction TrustAccountBasicInformationButton({\n loading,\n showTrustQualificationSection,\n mountedStyle,\n unmountedStyle,\n onClick,\n}) {\n return (\n \n
    \n onClick()}\n >\n {loading && (\n
    \n
    \n \n Next Step\n \n \n
    \n
    \n )}\n {!loading && Next Step}\n \n
    \n \n );\n}\nexport default TrustAccountBasicInformationButton;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport SelectField from \"../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport TrustAccountBasicInformationQualificationSection from \"./TrustAccountBasicInformationQualificationSection/TrustAccountBasicInformationQualificationSection\";\nimport TrustAccountBasicInformationButton from \"./TrustAccountBasicInformationButton/TrustAccountBasicInformationButton\";\nimport { getDateUTC } from \"../../../../../../GlobalFunctions/globalFunctions.js\";\nimport { newAccount, getAccountList } from \"../../../../../../Api/ProfileApi\";\nimport { UserContext } from \"../../../../../../GlobalContexts/UserContext\";\n\nfunction TrustAccountBasicInformation({\n setAccountID,\n accountType,\n shouldRenderTrustQualificationSection,\n showTrustQualificationSection,\n legalAccountName,\n setLegalAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n processedCountryList,\n mountedStyle,\n unmountedStyle,\n trustQualificationQ1,\n setTrustQualificationQ1,\n trustQualificationQ2,\n setTrustQualificationQ2,\n trustQualificationQ3,\n setTrustQualificationQ3,\n trustQualificationQ4,\n setTrustQualificationQ4,\n setActiveSlide,\n}) {\n const { user, setUser } = useContext(UserContext);\n\n const [\n trustAccountBasicInformationQualificationQuestionError,\n setTrustAccountBasicInformationQualificationQuestionError,\n ] = useState(\"\");\n const [qualificationDate, setQualificationDate] = useState(\"\");\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n const isTrustAccountQualifiedPurchaser = (q1, q2, q3, q4) => {\n var isQualifiedPurchaser = false;\n\n if (q1 && q2) {\n isQualifiedPurchaser = true;\n var utcDate = getDateUTC();\n setQualificationDate(utcDate);\n } else if (!q3 && q4) {\n isQualifiedPurchaser = true;\n var utcDate = getDateUTC();\n setQualificationDate(utcDate);\n } else {\n isQualifiedPurchaser = false;\n setQualificationDate(\"\");\n }\n return isQualifiedPurchaser;\n };\n\n const submitTrustAccountBasicInformation = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n if (legalAccountName === \"\") {\n errors = true;\n setLegalAccountNameError(\"This field is required.\");\n }\n if (countryOfFormation === \"\") {\n errors = true;\n setCountryOfFormationError(\"This field is required.\");\n }\n if (\n trustQualificationQ1 === \"\" ||\n trustQualificationQ2 === \"\" ||\n trustQualificationQ3 === \"\" ||\n trustQualificationQ4 === \"\"\n ) {\n errors = true;\n setTrustAccountBasicInformationQualificationQuestionError(\n \"Please answer all qualification questions.\"\n );\n } else if (\n !isTrustAccountQualifiedPurchaser(\n trustQualificationQ1,\n trustQualificationQ2,\n trustQualificationQ3,\n trustQualificationQ4\n )\n ) {\n errors = true;\n setTrustAccountBasicInformationQualificationQuestionError(\n \"Sorry, your trust doesn't qualify as a qualified purchaser(QP). At this time, we only allow QPs on Aqua, so you will be unable to add this account.\"\n );\n }\n\n if (!errors) {\n //Code to make request to the backend will go here.\n const newAccountResp = await newAccount({\n account_type: \"TRT\",\n qualification_date: getDateUTC(),\n trust_q1_qp_5m_investments: trustQualificationQ1,\n trust_q2_qp_owned_by_family: trustQualificationQ2,\n trust_q3_qp_specific_purpose_invest_fund: trustQualificationQ3,\n trust_q4_qp_trustee_grantor_qp: trustQualificationQ4,\n legal_name: legalAccountName,\n entity_type: accountType,\n country_of_formation: countryOfFormation,\n });\n\n setAccountID(newAccountResp.data.detail);\n const accountList = await getAccountList();\n setUser((user) => ({ ...user, accountListData: accountList.data }));\n\n setActiveSlide((prevState) => prevState + 1);\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n useEffect(() => {\n setTrustAccountBasicInformationQualificationQuestionError(\"\");\n }, [\n trustQualificationQ1,\n trustQualificationQ2,\n trustQualificationQ3,\n trustQualificationQ4,\n ]);\n\n return (\n shouldRenderTrustQualificationSection && (\n \n
    \n
    \n \n
    \n
    \n \n submitTrustAccountBasicInformation()}\n />\n
    \n )\n );\n}\nexport default TrustAccountBasicInformation;\n","import React, { useState, useEffect } from \"react\";\n\nfunction EntityAccountBasicInformationQualificationQuestion({\n showEntityQualificationSection,\n mountedStyle,\n unmountedStyle,\n questionNumber,\n questionText,\n answer,\n setAnswer,\n}) {\n const [answerYes, setAnswerYes] = useState(\"\");\n const [answerNo, setAnswerNo] = useState(\"\");\n\n useEffect(() => {\n if (answer !== \"\") {\n if (answer) {\n setAnswerYes(true);\n setAnswerNo(false);\n } else {\n setAnswerYes(false);\n setAnswerNo(true);\n }\n }\n }, [answer]);\n return (\n \n \n {questionText}\n \n \n
    \n \n {\n setAnswer(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setAnswer(false);\n }}\n />\n
    \n No\n \n
    \n \n
    \n );\n}\nexport default EntityAccountBasicInformationQualificationQuestion;\n","import React, { useState } from \"react\";\nimport Modal from \"react-bootstrap/Modal\";\n\nfunction EntityAccountBasicInformationQPModal({\n showEntityQualificationSection,\n mountedStyle,\n unmountedStyle,\n}) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n \n setShowModal(false)}\n >\n \n \n Qualified Purchaser\n \n \n \n \n Qualified Purchaser: \n (51) (A) “Qualified purchaser” means— (i) any natural person\n (including any person who holds a joint, community property, or\n other similar shared ownership interest in an issuer that is\n excepted under section 80a–3(c)(7) of this title with that person’s\n qualified purchaser spouse) who owns not less than $5,000,000 in\n investments, as defined by the Commission; (ii) any company that\n owns not less than $5,000,000 in investments and that is owned\n directly or indirectly by or for 2 or more natural persons who are\n related as siblings or spouse (including former spouses), or direct\n lineal descendants by birth or adoption, spouses of such persons,\n the estates of such persons, or foundations, charitable\n organizations, or trusts established by or for the benefit of such\n persons; (iii) any trust that is not covered by clause (ii) and that\n was not formed for the specific purpose of acquiring the securities\n offered, as to which the trustee or other person authorized to make\n decisions with respect to the trust, and each settlor or other\n person who has contributed assets to the trust, is a person\n described in clause (i), (ii), or (iv); or (iv) any person, acting\n for its own account or the accounts of other qualified purchasers,\n who in the aggregate owns and invests on a discretionary basis, not\n less than $25,000,000 in investments. (B) The Commission may adopt\n such rules and regulations applicable to the persons and trusts\n specified in clauses (i) through (iv) of subparagraph (A) as it\n determines are necessary or appropriate in the public interest or\n for the protection of investors. (C) The term “qualified purchaser”\n does not include a company that, but for the exceptions provided for\n in paragraph (1) or (7) of section 80a–3(c) of this title , would be\n an investment company (hereafter in this paragraph referred to as an\n “excepted investment company”), unless all beneficial owners of its\n outstanding securities (other than short-term paper), determined in\n accordance with section 80a–3(c)(1)(A) of this title , that acquired\n such securities on or before April 30, 1996 (hereafter in this\n paragraph referred to as “pre-amendment beneficial owners”), and all\n pre-amendment beneficial owners of the outstanding securities (other\n than short-term paper) of any excepted investment company that,\n directly or indirectly, owns any outstanding securities of such\n excepted investment company, have consented to its treatment as a\n qualified purchaser. Unanimous consent of all trustees, directors,\n or general partners of a company or trust referred to in clause (ii)\n or (iii) of subparagraph (A) shall constitute consent for purposes\n of this subparagraph.\n \n \n \n {\n setShowModal(false);\n }}\n >\n Got it\n \n \n \n \n
    \n \n
    \n \n
    Qualified Purchaser
    \n setShowModal(true)}\n >\n View Full Definition\n \n \n \n
    \n );\n}\nexport default EntityAccountBasicInformationQPModal;\n","import React from \"react\";\nimport Alert from \"@mui/material/Alert\";\n\nfunction EntityAccountBasicInformationQualificationError({\n entityAccountBasicInformationQualificationQuestionError,\n mountedStyle,\n unmountedStyle,\n}) {\n return (\n entityAccountBasicInformationQualificationQuestionError !== \"\" && (\n \n \n {entityAccountBasicInformationQualificationQuestionError}\n \n \n )\n );\n}\nexport default EntityAccountBasicInformationQualificationError;\n","import React from \"react\";\nimport EntityAccountBasicInformationQualificationQuestion from \"./EntityAccountBasicInformationQualificationQuestion/EntityAccountBasicInformationQualificationQuestion.js\";\nimport EntityAccountBasicInformationQPModal from \"./EntityAccountBasicInformationQPModal/EntityAccountBasicInformationQPModal.js\";\nimport EntityAccountBasicInformationQualificationError from \"./EntityAccountBasicInformationQualificationError/EntityAccountBasicInformationQualificationError.js\";\n\nfunction EntityAccountBasicInformationQualificationSection({\n showEntityQualificationSection,\n mountedStyle,\n unmountedStyle,\n entityAccountBasicInformationQualificationQuestionError,\n entityQualificationQ1,\n setEntityQualificationQ1,\n entityQualificationQ2,\n setEntityQualificationQ2,\n entityQualificationQ3,\n setEntityQualificationQ3,\n entityQualificationQ4,\n setEntityQualificationQ4,\n entityQualificationQ5,\n setEntityQualificationQ5,\n}) {\n return (\n \n \n \n Qualification Questions\n \n \n \n \n Please confirm the account's{\" \"}\n Qualified Purchaser status\n \n \n \n \n \n \n \n \n \n \n );\n}\nexport default EntityAccountBasicInformationQualificationSection;\n","import React from \"react\";\n\nfunction EntityAccountBasicInformationButton({\n loading,\n showEntityQualificationSection,\n mountedStyle,\n unmountedStyle,\n onClick,\n}) {\n return (\n \n
    \n onClick()}\n >\n {loading && (\n
    \n
    \n \n Next Step\n \n \n
    \n
    \n )}\n {!loading && Next Step}\n \n
    \n \n );\n}\nexport default EntityAccountBasicInformationButton;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport SelectField from \"../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport EntityAccountBasicInformationQualificationSection from \"./EntityAccountBasicInformationQualificationSection/EntityAccountBasicInformationQualificationSection\";\nimport EntityAccountBasicInformationButton from \"./EntityAccountBasicInformationButton/EntityAccountBasicInformationButton\";\nimport { getDateUTC } from \"../../../../../../GlobalFunctions/globalFunctions.js\";\nimport { newAccount, getAccountList } from \"../../../../../../Api/ProfileApi\";\nimport { UserContext } from \"../../../../../../GlobalContexts/UserContext\";\n\nfunction EntityAccountBasicInformation({\n setAccountID,\n accountType,\n shouldRenderEntityQualificationSection,\n showEntityQualificationSection,\n mountedStyle,\n unmountedStyle,\n legalAccountName,\n setLegalAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n processedCountryList,\n entityQualificationQ1,\n setEntityQualificationQ1,\n entityQualificationQ2,\n setEntityQualificationQ2,\n entityQualificationQ3,\n setEntityQualificationQ3,\n entityQualificationQ4,\n setEntityQualificationQ4,\n entityQualificationQ5,\n setEntityQualificationQ5,\n setActiveSlide,\n}) {\n const { user, setUser } = useContext(UserContext);\n const [\n entityAccountBasicInformationQualificationQuestionError,\n setEntityAccountBasicInformationQualificationQuestionError,\n ] = useState(\"\");\n\n const [qualificationDate, setQualificationDate] = useState(\"\");\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n useEffect(() => {\n setEntityAccountBasicInformationQualificationQuestionError(\"\");\n }, [\n entityQualificationQ1,\n entityQualificationQ2,\n entityQualificationQ3,\n entityQualificationQ4,\n entityQualificationQ5,\n ]);\n\n const isEntityAccountQualifiedPurchaser = (q1, q2, q3, q4, q5) => {\n var isQualifiedPurchaser = false;\n if (!q1) {\n if (q2 && q3) {\n isQualifiedPurchaser = true;\n let utcDate = getDateUTC();\n setQualificationDate(utcDate);\n } else if (q2 && q4) {\n isQualifiedPurchaser = true;\n let utcDate = getDateUTC();\n setQualificationDate(utcDate);\n } else if (!q3 && !q4 && q5) {\n isQualifiedPurchaser = true;\n let utcDate = getDateUTC();\n setQualificationDate(utcDate);\n } else if (q3 && !q4 && q5) {\n isQualifiedPurchaser = true;\n let utcDate = getDateUTC();\n setQualificationDate(utcDate);\n } else {\n isQualifiedPurchaser = false;\n setQualificationDate(\"\");\n }\n } else {\n isQualifiedPurchaser = false;\n setQualificationDate(\"\");\n }\n\n return isQualifiedPurchaser;\n };\n\n const submitEntityAccountBasicInformation = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n if (legalAccountName === \"\") {\n errors = true;\n setLegalAccountNameError(\"This field is required.\");\n }\n\n if (countryOfFormation === \"\") {\n errors = true;\n setCountryOfFormationError(\"This field is required.\");\n }\n\n if (\n entityQualificationQ1 === \"\" ||\n entityQualificationQ2 === \"\" ||\n entityQualificationQ3 === \"\" ||\n entityQualificationQ4 === \"\" ||\n entityQualificationQ5 === \"\"\n ) {\n errors = true;\n setEntityAccountBasicInformationQualificationQuestionError(\n \"Please answer all qualification questions.\"\n );\n } else if (\n !isEntityAccountQualifiedPurchaser(\n entityQualificationQ1,\n entityQualificationQ2,\n entityQualificationQ3,\n entityQualificationQ4,\n entityQualificationQ5\n )\n ) {\n errors = true;\n setEntityAccountBasicInformationQualificationQuestionError(\n \"Sorry, your entity doesn't qualify as a qualified purchaser (QP). At this time, we only allow QPs on Aqua, so you will be unable to add this account.\"\n );\n }\n\n if (!errors) {\n // Code to make request to the backend goes here\n const newAccountResp = await newAccount({\n account_type: \"ENT\",\n qualification_date: getDateUTC(),\n entity_q1_qp_specific_purpose_invest_fund: entityQualificationQ1,\n entity_q2_qp_5m_investments: entityQualificationQ2,\n entity_q3_qp_owned_by_family: entityQualificationQ3,\n entity_q4_qp_25m_investments: entityQualificationQ4,\n entity_q5_qp_all_owners_qp: entityQualificationQ5,\n entity_legal_name: legalAccountName,\n entity_type: accountType,\n country_of_formation: countryOfFormation,\n });\n setAccountID(newAccountResp.data.detail);\n const accountList = await getAccountList();\n setUser((user) => ({ ...user, accountListData: accountList.data }));\n\n setActiveSlide((prevState) => prevState + 1);\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n return (\n shouldRenderEntityQualificationSection && (\n \n
    \n
    \n \n
    \n
    \n \n submitEntityAccountBasicInformation()}\n />\n
    \n )\n );\n}\nexport default EntityAccountBasicInformation;\n","import React from \"react\";\nimport SelectField from \"../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport StyledTextInputField from \"../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport \"./AccountBasicInformationStyles/AccountBasicInformationStyles.scss\";\nimport IndividualAccountBasicInformation from \"./IndividualAccountBasicInformation/IndividualAccountBasicInformation\";\nimport TrustAccountBasicInformation from \"./TrustAccountBasicInformation/TrustAccountBasicInformation\";\nimport EntityAccountBasicInformation from \"./EntityAccountBasicInformation/EntityAccountBasicInformation\";\n\nfunction AccountBasicInformation({\n setAccountID,\n accountType,\n setAccountType,\n accountTypeError,\n setAccountTypeError,\n accountTypeOptions,\n showLegalAccountNameField,\n legalAccountName,\n setLegalAccountName,\n legalAccountNameError,\n setLegalAccountNameError,\n investorProfileComplete,\n shouldRenderIndividualQualificationSection,\n showIndividualQualificationSection,\n individualQualificationQ1,\n setIndividualQualificationQ1,\n shouldRenderTrustQualificationSection,\n showTrustQualificationSection,\n trustQualificationQ1,\n setTrustQualificationQ1,\n trustQualificationQ2,\n setTrustQualificationQ2,\n trustQualificationQ3,\n setTrustQualificationQ3,\n trustQualificationQ4,\n setTrustQualificationQ4,\n countryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n setCountryOfFormation,\n processedCountryList,\n shouldRenderEntityQualificationSection,\n showEntityQualificationSection,\n entityQualificationQ1,\n setEntityQualificationQ1,\n entityQualificationQ2,\n setEntityQualificationQ2,\n entityQualificationQ3,\n setEntityQualificationQ3,\n entityQualificationQ4,\n setEntityQualificationQ4,\n entityQualificationQ5,\n setEntityQualificationQ5,\n mountedStyle,\n unmountedStyle,\n setActiveSlide,\n}) {\n return (\n
    \n
    \n
    \n Account Info\n
    \n
    \n
    \n \n
    \n {showLegalAccountNameField !== \"IND\" && (\n \n \n
    \n )}\n
    \n
    \n \n \n \n
    \n
    \n \n );\n}\nexport default AccountBasicInformation;\n","import React, { useEffect } from \"react\";\nimport StyledDateInputField from \"../../../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport StyledTextInputField from \"../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport { formatSSN } from \"../../../../../../../GlobalFunctions/globalFunctions.js\";\n\nfunction IndividualAccountPersonalInformationTaxSection({\n domicileCountry,\n dob,\n setDob,\n dobError,\n setDobError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n}) {\n return (\n \n
    \n \n Personal Information\n \n
    \n
    \n
    \n \n
    \n
    \n {domicileCountry === \"United States\" && (\n \n )}\n {domicileCountry !== \"United States\" && (\n \n )}\n
    \n
    \n
    \n );\n}\nexport default IndividualAccountPersonalInformationTaxSection;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\n\nfunction IndividualAccountPersonalInformationAddressSection({\n joint,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n processedStateList,\n country,\n setCountry,\n countryError,\n setCountryError,\n processedCountryList,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n \n {joint && <>Secondary Accountholder} Mailing Address\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n {country === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default IndividualAccountPersonalInformationAddressSection;\n","import React from \"react\";\n\nfunction IndividualAccountPersonalInformationButton({ loading, onClick }) {\n return (\n
    \n
    \n onClick()}\n >\n {loading && (\n
    \n
    \n \n Complete Account\n \n \n
    \n
    \n )}\n {!loading && Complete Account}\n \n
    \n
    \n );\n}\nexport default IndividualAccountPersonalInformationButton;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router\";\nimport IndividualAccountPersonalInformationTaxSection from \"./IndividualAccountPersonalInformationTaxSection/IndividualAccountPersonalInformationTaxSection\";\nimport IndividualAccountPersonalInformationAddressSection from \"./IndividualAccountPersonalInformationAddressSection/IndividualAccountPersonalInformationAddressSection\";\nimport IndividualAccountPersonalInformationButton from \"./IndividualAccountPersonalInformationButton/IndividualAccountPersonalInformationButton\";\nimport { isValidSSN } from \"../../../../../../Functions/functions.js\";\nimport {\n updateInvestorAddress,\n updateInvestorPII,\n} from \"../../../../../../Api/ProfileApi.js\";\nimport { UserContext } from \"./../../../../../../GlobalContexts/UserContext\";\n\nfunction IndividualAccountPersonalInformation({\n accountID,\n processedCountryList,\n processedStateList,\n domicileCountry,\n setDomicileCountry,\n joint,\n}) {\n let history = useHistory(\"\");\n\n const [idNumber, setIDNumber] = useState(\"\");\n const [idNumberError, setIDNumberError] = useState(\"\");\n\n const [idType, setIDType] = useState(\"\");\n\n const [dob, setDob] = useState(\"\");\n const [dobError, setDobError] = useState(\"\");\n\n const [addressLine1, setAddressLine1] = useState(\"\");\n const [addressLine1Error, setAddressLine1Error] = useState(\"\");\n\n const [addressLine2, setAddressLine2] = useState(\"\");\n const [addressLine2Error, setAddressLine2Error] = useState(\"\");\n\n const [city, setCity] = useState(\"\");\n const [cityError, setCityError] = useState(\"\");\n\n const [state, setState] = useState(\"\");\n const [stateError, setStateError] = useState(\"\");\n\n const [country, setCountry] = useState(\"\");\n const [countryError, setCountryError] = useState(\"\");\n\n const [postalCode, setPostalCode] = useState(\"\");\n const [postalCodeError, setPostalCodeError] = useState(\"\");\n\n const [secIdNumber, setSecIDNumber] = useState(\"\");\n const [secDomicileCountry, setSecDomicileCountry] = useState(\"\");\n\n const [secIdNumberError, setSecIDNumberError] = useState(\"\");\n\n const [secIdType, setSecIDType] = useState(\"\");\n\n const [secDob, setSecDob] = useState(\"\");\n const [secDobError, setSecDobError] = useState(\"\");\n\n const [secAddressLine1, setSecAddressLine1] = useState(\"\");\n const [secAddressLine1Error, setSecAddressLine1Error] = useState(\"\");\n\n const [secAddressLine2, setSecAddressLine2] = useState(\"\");\n const [secAddressLine2Error, setSecAddressLine2Error] = useState(\"\");\n\n const [secCity, setSecCity] = useState(\"\");\n const [secCityError, setSecCityError] = useState(\"\");\n\n const [secState, setSecState] = useState(\"\");\n const [secStateError, setSecStateError] = useState(\"\");\n\n const [secCountry, setSecCountry] = useState(\"\");\n const [secCountryError, setSecCountryError] = useState(\"\");\n\n const [secPostalCode, setSecPostalCode] = useState(\"\");\n const [secPostalCodeError, setSecPostalCodeError] = useState(\"\");\n\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n const { user, setUser } = useContext(UserContext);\n\n useEffect(() => {\n user &&\n user.investorSummaryData &&\n setDomicileCountry(user.investorSummaryData.country);\n }, [user]);\n\n useEffect(() => {\n if (domicileCountry === \"United States\") {\n setIDType(\"SSN\");\n } else {\n setIDType(\"PASS\");\n }\n }, [domicileCountry]);\n\n useEffect(() => {\n if (secDomicileCountry === \"United States\") {\n setSecIDType(\"SSN\");\n } else {\n setSecIDType(\"PASS\");\n }\n }, [secDomicileCountry]);\n\n useEffect(() => {\n setIDNumberError(\"\");\n }, [idType]);\n\n const getAgeFromDob = (dob) => {\n var today = new Date();\n var todayUnix = today.getTime();\n var userDob = new Date(dob);\n var userDobUnix = userDob.getTime();\n var age = 0;\n if (todayUnix < userDobUnix) {\n return --age;\n } else {\n age = today.getFullYear() - userDob.getFullYear();\n var monthDif = today.getMonth() - userDob.getMonth();\n if (monthDif < 0) {\n --age;\n } else if (monthDif === 0) {\n var dayDif = today.getDate() - (userDob.getDate() + 1);\n if (dayDif < 0) {\n --age;\n }\n }\n return age;\n }\n };\n\n const submitIndividualAccountPersonalInformation = async () => {\n var errors = false;\n\n if (dob === \"\") {\n errors = true;\n setDobError(\"This field is required.\");\n } else if (getAgeFromDob(dob) < 0) {\n errors = true;\n setDobError(\"Your date of birth can't be in the future.\");\n } else if (getAgeFromDob(dob) < 18) {\n errors = true;\n setDobError(\"Sorry, you must be at least 18 to invest using Aqua.\");\n }\n\n if (idNumber === \"\") {\n errors = true;\n setIDNumberError(\"This field is required.\");\n } else if (domicileCountry === \"United States\" && !isValidSSN(idNumber)) {\n errors = true;\n setIDNumberError(\"Please enter a valid SSN.\");\n }\n\n if (addressLine1 === \"\") {\n errors = true;\n setAddressLine1Error(\"Please enter an address line 1.\");\n }\n\n if (city === \"\") {\n errors = true;\n setCityError(\"Please enter a city.\");\n }\n\n if (country === \"United States\" && state === \"\") {\n errors = true;\n setStateError(\"Please enter a state.\");\n }\n\n if (country === \"\") {\n errors = true;\n setCountryError(\"Please enter a country.\");\n }\n\n if (postalCode === \"\") {\n errors = true;\n setPostalCodeError(\"Please enter a postal code.\");\n }\n\n if (!errors) {\n let addressInformation = {};\n addressInformation.address_line_1 = addressLine1;\n addressInformation.address_line_2 = addressLine2;\n addressInformation.city = city;\n addressInformation.state = state;\n addressInformation.country = country;\n addressInformation.postal_code = postalCode;\n\n addressInformation.address_type = \"RM\";\n\n addressInformation.id_type =\n idType === \"EIN\" ? \"EIN\" : idType === \"ITIN\" ? \"ITIN\" : \"FTID\";\n addressInformation.id_number = idNumber;\n addressInformation.entity_id = accountID;\n\n try {\n setSubmissionInProgress(true);\n await updateInvestorAddress(addressInformation);\n await updateInvestorPII({\n date_of_birth: dob,\n id_type: idType,\n id_num: idNumber,\n });\n\n const updatedUser = user;\n let investorPII = {};\n investorPII.date_of_birth = dob;\n investorPII.id_type = idType;\n investorPII.id_num = idNumber;\n\n let updateInvestorPIIArray = [];\n\n updateInvestorPIIArray.push(investorPII);\n updatedUser.userProfileData.investor_pii = updateInvestorPIIArray;\n\n let investorAddress = {};\n investorAddress.address_line_1 = addressLine1;\n investorAddress.address_line_2 = addressLine2;\n investorAddress.city = city;\n investorAddress.country = country;\n investorAddress.state = state;\n investorAddress.postal_code = postalCode;\n\n let updateInvestorAddressArray = [];\n updateInvestorAddressArray.push(investorAddress);\n updatedUser.userProfileData.investor_addresses =\n updateInvestorAddressArray;\n\n updatedUser.investorPrimaryAddressLine1 = addressLine1;\n updatedUser.investorPrimaryAddressLine2 = addressLine2;\n updatedUser.investorPrimaryCity = city;\n updatedUser.investorPrimaryState = state;\n updatedUser.investorPrimaryCountry = country;\n updatedUser.investorPrimaryPostalCode = postalCode;\n updatedUser.investorPrimaryAddressType = \"RM\";\n updatedUser.investorSummaryData.address_complete = true;\n updatedUser.investorSummaryData.pii_complete = true;\n\n setUser(updatedUser);\n if (joint) {\n submitJointAccountPersonalInformation();\n }\n history.push(\"/investment-accounts\");\n } catch (err) {\n console.log(err);\n }\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n const submitJointAccountPersonalInformation = async () => {\n var errors = false;\n\n if (secDob === \"\") {\n errors = true;\n setSecDobError(\"This field is required.\");\n } else if (getAgeFromDob(secDob) < 0) {\n errors = true;\n setSecDobError(\"Your date of birth can't be in the future.\");\n } else if (getAgeFromDob(secDob) < 18) {\n errors = true;\n setSecDobError(\"Sorry, you must be at least 18 to invest using Aqua.\");\n }\n\n if (secIdNumber === \"\") {\n errors = true;\n setSecIDNumberError(\"This field is required.\");\n } else if (\n secDomicileCountry === \"United States\" &&\n !isValidSSN(secIdNumber)\n ) {\n errors = true;\n setSecIDNumberError(\"Please enter a valid SSN.\");\n }\n\n if (secAddressLine1 === \"\") {\n errors = true;\n setSecAddressLine1Error(\"Please enter an address line 1.\");\n }\n\n if (secCity === \"\") {\n errors = true;\n setSecCityError(\"Please enter a city.\");\n }\n\n if (secCountry === \"United States\" && secState === \"\") {\n errors = true;\n setSecStateError(\"Please enter a state.\");\n }\n\n if (secCountry === \"\") {\n errors = true;\n setSecCountryError(\"Please enter a country.\");\n } else if (secCountry !== \"United States\") {\n errors = true;\n setSecCountryError(\n \"Sorry, only US investors are supported at this time.\"\n );\n }\n\n if (secPostalCode === \"\") {\n errors = true;\n setSecPostalCodeError(\"Please enter a postal code.\");\n }\n\n if (!errors) {\n let addressInformation = {};\n addressInformation.address_line_1 = secAddressLine1;\n addressInformation.address_line_2 = secAddressLine2;\n addressInformation.city = secCity;\n addressInformation.state = secState;\n addressInformation.country = secCountry;\n addressInformation.postal_code = secPostalCode;\n\n addressInformation.address_type = \"RM\";\n\n addressInformation.id_type =\n idType === \"EIN\" ? \"EIN\" : idType === \"ITIN\" ? \"ITIN\" : \"FTID\";\n addressInformation.id_number = secIdNumber;\n addressInformation.entity_id = accountID;\n addressInformation.joint = true;\n\n try {\n setSubmissionInProgress(true);\n await updateInvestorAddress(addressInformation);\n await updateInvestorPII({\n date_of_birth: secDob,\n id_type: secIdType,\n id_num: secIdNumber,\n joint: true,\n citizenship: secCountry,\n });\n // Re-pull context\n //setUser(updatedUser);\n\n history.push(\"/investment-accounts\");\n } catch (err) {\n setSubmissionInProgress(false);\n console.log(err);\n }\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n /*\n user &&\n user.investorSummaryData &&\n user.investorSummaryData.address_complete &&\n user.investorSummaryData.pii_complete*/\n\n return (\n
    \n
    \n {user &&\n user.investorSummaryData &&\n !(\n user.investorSummaryData.pii_complete &&\n user.investorSummaryData.address_complete\n ) && (\n <>\n \n \n \n )}\n {joint && (\n <>\n \n {\" \"}\n \n )}\n\n \n user &&\n user.investorSummaryData &&\n !(\n user.investorSummaryData.pii_complete &&\n user.investorSummaryData.address_complete\n )\n ? submitIndividualAccountPersonalInformation()\n : submitJointAccountPersonalInformation()\n }\n />\n
    \n
    \n );\n}\nexport default IndividualAccountPersonalInformation;\n","import React from \"react\";\nimport SelectField from \"../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport StyledTextInputField from \"../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\n\nfunction TrustAccountLegalInformationTaxSection({\n countryOfFormation,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idTypeOptions,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n}) {\n return (\n \n
    \n \n Tax Information\n \n
    \n
    \n {countryOfFormation !== \"United States\" && (\n
    \n \n
    \n )}\n \n {countryOfFormation === \"United States\" && (\n \n )}\n {countryOfFormation !== \"United States\" && (\n \n )}\n
    \n \n
    \n );\n}\nexport default TrustAccountLegalInformationTaxSection;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\n\nfunction TrustAccountLegalInformationAddressSection({\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n processedStateList,\n country,\n setCountry,\n countryError,\n setCountryError,\n processedCountryList,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n \n Mailing Address\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n {country === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default TrustAccountLegalInformationAddressSection;\n","import React from \"react\";\n\nfunction TrustAccountLegalInformationButton({ loading, onClick }) {\n return (\n
    \n
    \n {\n onClick();\n }}\n >\n {loading && (\n
    \n
    \n \n Next Step\n \n \n
    \n
    \n )}\n {!loading && Next Step}\n \n
    \n
    \n );\n}\nexport default TrustAccountLegalInformationButton;\n","import React, { useState, useEffect } from \"react\";\nimport TrustAccountLegalInformationTaxSection from \"./TrustAccountLegalInformationTaxSection/TrustAccountLegalInformationTaxSection\";\nimport TrustAccountLegalInformationAddressSection from \"./TrustAccountLegalInformationAddressSection/TrustAccountLegalInformationAddressSection\";\nimport TrustAccountLegalInformationButton from \"./TrustAccountLegalInformationButton/TrustAccountLegalInformationButton\";\nimport { updateEntityInformation } from \"./../../../../../../Api/ProfileApi.js\";\n\nfunction TrustAccountLegalInformation({\n accountID,\n countryOfFormation,\n trustType,\n idTypeOptions,\n processedStateList,\n processedCountryList,\n setActiveSlide,\n}) {\n const [idType, setIDType] = useState(\"\");\n const [idTypeError, setIDTypeError] = useState(\"\");\n\n const [idNumber, setIDNumber] = useState(\"\");\n const [idNumberError, setIDNumberError] = useState(\"\");\n\n const [addressLine1, setAddressLine1] = useState(\"\");\n const [addressLine1Error, setAddressLine1Error] = useState(\"\");\n\n const [addressLine2, setAddressLine2] = useState(\"\");\n const [addressLine2Error, setAddressLine2Error] = useState(\"\");\n\n const [city, setCity] = useState(\"\");\n const [cityError, setCityError] = useState(\"\");\n\n const [state, setState] = useState(\"\");\n const [stateError, setStateError] = useState(\"\");\n\n const [country, setCountry] = useState(\"\");\n const [countryError, setCountryError] = useState(\"\");\n\n const [postalCode, setPostalCode] = useState(\"\");\n const [postalCodeError, setPostalCodeError] = useState(\"\");\n\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n const submitTrustAccountLegalInformation = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n if (\n idType === \"\" &&\n trustType === \"TRUST\" &&\n countryOfFormation !== \"United States\"\n ) {\n errors = true;\n setIDTypeError(\"Please select an id type.\");\n }\n\n if (idNumber === \"\" && trustType === \"TRUST\") {\n errors = true;\n setIDNumberError(\"Please enter an id number\");\n }\n\n if (addressLine1 === \"\") {\n errors = true;\n setAddressLine1Error(\"This field is required.\");\n }\n\n if (city === \"\") {\n errors = true;\n setCityError(\"Please enter a city.\");\n }\n\n if (country === \"United States\" && state === \"\") {\n errors = true;\n setStateError(\"Please select a state.\");\n }\n\n if (country === \"\") {\n errors = true;\n setCountryError(\"Please select a country.\");\n }\n\n if (postalCode === \"\") {\n errors = true;\n setPostalCodeError(\"Please enter a postal code.\");\n }\n\n if (!errors) {\n let addressInformation = {};\n addressInformation.address_line_1 = addressLine1;\n // if (addressLine2 !== \"\") {\n addressInformation.address_line_2 = addressLine2;\n // }\n addressInformation.city = city;\n // if (country === \"United States\") {\n addressInformation.state = state;\n // }\n addressInformation.country = country;\n addressInformation.postal_code = postalCode;\n\n addressInformation.address_type = \"RM\";\n addressInformation.address2_type = \"\";\n\n addressInformation.address2_line_1 = \"\";\n addressInformation.address2_line_2 = \"\";\n addressInformation.address2_city = \"\";\n addressInformation.address2_state = \"\";\n addressInformation.address2_country = \"\";\n addressInformation.address2_postal_code = \"\";\n\n addressInformation.id_type =\n idType === \"EIN\" ? \"EIN\" : idType === \"ITIN\" ? \"ITIN\" : \"FTID\";\n addressInformation.id_number = idNumber;\n addressInformation.entity_id = accountID;\n\n await updateEntityInformation(addressInformation);\n\n setActiveSlide((prevState) => prevState + 1);\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n return trustType === \"TRUST\" ? (\n
    \n
    \n \n \n submitTrustAccountLegalInformation()}\n />\n
    \n
    \n ) : (\n
    \n
    \n \n submitTrustAccountLegalInformation()}\n />\n
    \n
    \n );\n}\nexport default TrustAccountLegalInformation;\n","import React from \"react\";\nimport SelectField from \"../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport StyledTextInputField from \"../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\n\nfunction EntityAccountLegalInformationTaxSection({\n countryOfFormation,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idTypeOptions,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n}) {\n return (\n \n
    \n \n Tax Information\n \n
    \n
    \n {countryOfFormation !== \"United States\" && (\n
    \n \n
    \n )}\n \n {countryOfFormation === \"United States\" && (\n \n )}\n {countryOfFormation !== \"United States\" && (\n \n )}\n
    \n \n
    \n );\n}\nexport default EntityAccountLegalInformationTaxSection;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\n\nfunction EntityAccountLegalInformationAddressSection({\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n processedStateList,\n country,\n setCountry,\n countryError,\n setCountryError,\n processedCountryList,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n \n Mailing Address\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n {country === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default EntityAccountLegalInformationAddressSection;\n","import React from \"react\";\n\nfunction EntityAccountLegalInformationButton({ loading, onClick }) {\n return (\n
    \n
    \n onClick()}\n >\n {loading && (\n
    \n
    \n \n Next Step\n \n \n
    \n
    \n )}\n {!loading && Next Step}\n \n
    \n
    \n );\n}\nexport default EntityAccountLegalInformationButton;\n","import React, { useState, useEffect } from \"react\";\nimport EntityAccountLegalInformationTaxSection from \"./EntityAccountLegalInformationTaxSection/EntityAccountLegalInformationTaxSection\";\nimport EntityAccountLegalInformationAddressSection from \"./EntityAccountLegalInformationAddressSection/EntityAccountLegalInformationAddressSection\";\nimport EntityAccountLegalInformationButton from \"./EntityAccountLegalInformationButton/EntityAccountLegalInformationButton\";\nimport { updateEntityInformation } from \"./../../../../../../Api/ProfileApi.js\";\n\nfunction EntityAccountLegalInformation({\n accountID,\n countryOfFormation,\n idTypeOptions,\n processedStateList,\n processedCountryList,\n setActiveSlide,\n componentAccountType,\n}) {\n const [idType, setIDType] = useState(\"\");\n const [idTypeError, setIDTypeError] = useState(\"\");\n\n const [idNumber, setIDNumber] = useState(\"\");\n const [idNumberError, setIDNumberError] = useState(\"\");\n\n const [addressLine1, setAddressLine1] = useState(\"\");\n const [addressLine1Error, setAddressLine1Error] = useState(\"\");\n\n const [addressLine2, setAddressLine2] = useState(\"\");\n const [addressLine2Error, setAddressLine2Error] = useState(\"\");\n\n const [city, setCity] = useState(\"\");\n const [cityError, setCityError] = useState(\"\");\n\n const [state, setState] = useState(\"\");\n const [stateError, setStateError] = useState(\"\");\n\n const [country, setCountry] = useState(\"\");\n const [countryError, setCountryError] = useState(\"\");\n\n const [postalCode, setPostalCode] = useState(\"\");\n const [postalCodeError, setPostalCodeError] = useState(\"\");\n\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n const submitEntityAccountLegalInformation = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n if (idType === \"\" && countryOfFormation !== \"United States\" && componentAccountType !== \"SM_LLC\") {\n errors = true;\n setIDTypeError(\"Please select an id type.\");\n }\n\n if (idNumber === \"\" && componentAccountType !== \"SM_LLC\") {\n errors = true;\n setIDNumberError(\"Please enter an id number\");\n }\n\n if (addressLine1 === \"\") {\n errors = true;\n setAddressLine1Error(\"This field is required.\");\n }\n\n if (city === \"\") {\n errors = true;\n setCityError(\"Please enter a city.\");\n }\n\n if (country === \"United States\" && state === \"\") {\n errors = true;\n setStateError(\"Please select a state.\");\n }\n\n if (country === \"\") {\n errors = true;\n setCountryError(\"Please select a country.\");\n }\n\n if (postalCode === \"\") {\n errors = true;\n setPostalCodeError(\"Please enter a postal code.\");\n }\n\n if (!errors) {\n //\n\n let addressInformation = {};\n addressInformation.address_line_1 = addressLine1;\n // if (addressLine2 !== \"\") {\n addressInformation.address_line_2 = addressLine2;\n // }\n addressInformation.city = city;\n // if (country === \"United States\") {\n addressInformation.state = state;\n // }\n addressInformation.country = country;\n addressInformation.postal_code = postalCode;\n\n addressInformation.address_type = \"RM\";\n addressInformation.address2_type = \"\";\n\n addressInformation.address2_line_1 = \"\";\n addressInformation.address2_line_2 = \"\";\n addressInformation.address2_city = \"\";\n addressInformation.address2_state = \"\";\n addressInformation.address2_country = \"\";\n addressInformation.address2_postal_code = \"\";\n\n addressInformation.id_type =\n idType === \"EIN\" ? \"EIN\" : idType === \"ITIN\" ? \"ITIN\" : \"FTID\";\n addressInformation.id_number = idNumber;\n addressInformation.entity_id = accountID;\n\n await updateEntityInformation(addressInformation);\n console.log(componentAccountType);\n setActiveSlide((prevState) => prevState + (componentAccountType !== \"SM_LLC\" ? 1 : 3));\n } else {\n setSubmissionInProgress(false);\n return;\n }\n };\n\n return (\n
    \n
    \n {componentAccountType !== \"SM_LLC\" && }\n \n submitEntityAccountLegalInformation()}\n />\n
    \n
    \n );\n}\nexport default EntityAccountLegalInformation;\n","import React, { useState, useEffect } from \"react\";\nimport \"./AccountLegalInformationStyles/AccountLegalInformationStyles.scss\";\nimport IndividualAccountPersonalInformation from \"./IndividualAccountPersonalInformation/IndividualAccountPersonalInformation\";\nimport TrustAccountLegalInformation from \"./TrustAccountLegalInformation/TrustAccountLegalInformation\";\nimport EntityAccountLegalInformation from \"./EntityAccountLegalInformation/EntityAccountLegalInformation\";\n\nfunction AccountLegalInformation({\n accountID,\n accountType,\n countryOfFormation,\n domicileCountry,\n setDomicileCountry,\n processedCountryList,\n processedStateList,\n setActiveSlide,\n}) {\n const [componentAccountType, setComponentAccountType] = useState(accountType); //maybe this should be passed in from the parent, because some of this information will be available when that component is loaded the request to the backend can be made at that component\n const [trustType, setTrustType] = useState(\"LT\");\n\n useEffect(() => {\n if (accountType !== \"\") {\n setComponentAccountType(accountType);\n }\n }, [accountType]);\n\n useEffect(() => {\n if (componentAccountType === \"LT\") {\n setTrustType(\"LT\");\n } else if (componentAccountType === \"TRUST\") {\n setTrustType(\"TRUST\");\n } else {\n setTrustType(\"\");\n }\n }, [componentAccountType]);\n //will need to make a request to the backend to pull in some of this information if the user is returning to complete the account information\n\n const idTypeOptions = [\n { value: \"EIN\", label: \"EIN\" },\n { value: \"FTID\", label: \"Foreign Tax ID\" },\n { value: \"ITIN\", label: \"ITIN\" },\n ];\n return componentAccountType === \"IND\" ? (\n \n ) :\n componentAccountType === \"JOINT\" ? (\n \n ) \n : componentAccountType === \"TRT\" ||\n componentAccountType === \"TRUST\" ||\n componentAccountType === \"LT\" ? (\n \n ) : componentAccountType === \"LLC\" ||\n componentAccountType === \"C-CORP\" ||\n componentAccountType === \"S-CORP\" ||\n componentAccountType === \"LP\" ||\n componentAccountType === \"GP\" ||\n componentAccountType === \"SM_LLC\" || \n componentAccountType === \"FE\" ? (\n \n ) : null;\n}\nexport default AccountLegalInformation;\n","import React, { useEffect } from \"react\";\nimport { Tabs, Tab } from \"@mui/material\";\n\nconst InfiniteTabInput = ({tabs, addNewTab, activeTab, setActiveTab}) => {\n return (\n {\n setActiveTab(newTab);\n }}\n indicatorColor=\"primary\"\n textColor=\"primary\"\n variant={\"scrollable\"}\n scrollButtons={\"auto\"} \n >\n {tabs.map((tab, index) => (\n \n ))}\n { addNewTab && }\n \n );\n};\n\nexport default InfiniteTabInput; ","import React from \"react\";\nimport MuiPhoneNumber from \"material-ui-phone-number\";\nimport styles from \"../../../utilities/scss/_variables.scss\";\n\nconst PhoneInputField = ({\n setValue,\n valueError,\n value,\n disabled,\n shrink,\n label,\n size,\n required,\n fullWidth,\n ...props\n}) => {\n //Styles variable assignment from exported sass variable values\n const primaryFontFamily = styles.primaryFontFamily;\n const primaryBlack2 = styles.primaryBlack2;\n const primaryBlue = styles.primaryBlue;\n const secondaryOffWhite = styles.secondaryOffWhite;\n const secondaryRed = styles.secondaryRed;\n const fontSize3 = styles.fontSize3;\n\n function handleChange(updatedValue) {\n setValue(updatedValue);\n }\n\n return (\n fieldset\": {\n borderColor: primaryBlue,\n color: primaryBlue,\n },\n },\n \"& .MuiOutlinedInput-root\": {\n \"& > fieldset\": {\n borderColor: secondaryOffWhite,\n },\n },\n \"& .MuiOutlinedInput-root.Mui-disabled\": {\n \"& > fieldset\": {\n borderColor: secondaryOffWhite,\n },\n },\n \"& > .MuiOutlinedInput-root:not(.Mui-focused):hover\": {\n \"& > fieldset\": {\n borderColor: valueError === \"\" ? secondaryOffWhite : secondaryRed,\n },\n },\n }}\n />\n );\n};\n\nexport default PhoneInputField;\n","import React from \"react\";\nimport { Button } from \"@mui/material\";\nimport \"./Styles/Styles.scss\";\n\nconst UploadButton = ({ text = \"Upload\", onChange, inputField, label }) => {\n return (\n
    \n onChange(event, inputField)}\n />\n \n
    \n );\n};\nexport default UploadButton;\n","import React, { useState, useEffect } from \"react\";\nimport \"../Styles/Styles.scss\";\nimport StyledTextInputField from \"../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport PhoneInputField from \"../../../../../../../GlobalComponents/InputFields/PhoneInputField/PhoneInputField\";\nimport { stateList } from \"../../../../../../../Components/GlobalComponents/stateList\";\nimport UploadButton from \"../../../../../../../GlobalComponents/Button/UploadButton/UploadButton\";\nimport StyledDateInputField from \"../../../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport { formatSSN } from \"../../../../../../../GlobalFunctions/globalFunctions\";\n\nconst IrrevocableTrustRelatedPartyInputInformation = ({\n index,\n inputField,\n relatedPartyType,\n handleChangeInput,\n handleFileUpload,\n disabled,\n yesNoOptions,\n}) => {\n const relatedPartyTypeOptions = [\n { value: \"Person\", label: \"Person\" },\n { value: \"Entity\", label: \"Entity\" },\n ];\n\n const trusteeOptions = [\n // { value: \"LT\", label: \"Revocable Trust\" },\n // { value: \"TRUST\", label: \"Irrevocable Trust\" },\n { value: \"SM_LLC\", label: \"Single-member LLC\" },\n { value: \"LLC\", label: \"LLC\" },\n { value: \"GP\", label: \"General Partnership\" },\n { value: \"LP\", label: \"Limited Partnership\" },\n { value: \"C-CORP\", label: \"C-Corp\" },\n { value: \"S-CORP\", label: \"S-Corp\" },\n ];\n\n return (\n \n
    \n
    Trustee Information
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n value,\n \"entityNestedControlEntityTrusteeType\"\n );\n inputField.entityNestedControlEntityTrusteeTypeError = \"\";\n }}\n valueError={inputField.entityNestedControlEntityTrusteeTypeError}\n setValueError={(value) =>\n handleChangeInput(\n index,\n value,\n \"entityNestedControlEntityTrusteeTypeError\"\n )\n }\n selectOptions={relatedPartyTypeOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-trustee-type-select\"}\n label={\"Is the trustee a person or entity?\"}\n />\n
    \n
    \n
    \n {inputField.entityNestedControlEntityTrusteeType !== \"Entity\" ? (\n \n
    \n
    \n
    \n
    Trustee Person Information
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonFirstName\"\n );\n inputField.entityControlPersonFirstNameError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonFirstNameError = e;\n }}\n valueError={inputField.entityControlPersonFirstNameError}\n label={\"First Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-first-name-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonLastName\"\n );\n inputField.entityControlPersonLastNameError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonLastNameError = e;\n }}\n valueError={inputField.entityControlPersonLastNameError}\n label={\"Last Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-last-name-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityControlPersonEmail\");\n inputField.entityControlPersonEmailError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonEmailError = e;\n }}\n valueError={inputField.entityControlPersonEmailError}\n label={\"Email\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-email-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonPhoneNumber\"\n );\n inputField.entityControlPersonPhoneNumberError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonPhoneNumberError = e;\n }}\n valueError={inputField.entityControlPersonPhoneNumberError}\n label={\"Phone Number\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-phone-number-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSBased\"\n );\n inputField.entityControlPersonIsUSBasedError = \"\";\n }}\n valueError={inputField.entityControlPersonIsUSBasedError}\n setValueError={(value) =>\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSBasedError\"\n )\n }\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-control-person-is-us-based-select\"}\n label={\"Is US Based?\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSCitizen\"\n );\n inputField.entityControlPersonIsUSCitizenError = \"\";\n }}\n valueError={inputField.entityControlPersonIsUSCitizenError}\n setValueError={(value) =>\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSCitizenError\"\n )\n }\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-control-person-is-us-citizen-select\"}\n label={\"Is US Citizen?\"}\n />\n
    \n
    \n
    \n {/* {!disabled && (\n \n
    \n
    \n \n Do you have access to the personally identifiable\n information for a control person of this entity? (i.e. SSN,\n DOB, etc.)\n \n
    \n
    \n
    \n
    \n \n {\n if (!disabled) {\n handleChangeInput(\n index,\n \"Yes\",\n \"entityControlPersonPIIAvailable\"\n );\n inputField.entityControlPersonPIIAvailableError = \"\";\n }\n }}\n />\n
    \n \n Yes\n \n \n
    \n
    \n \n {\n if (!disabled) {\n handleChangeInput(\n index,\n \"No\",\n \"entityControlPersonPIIAvailable\"\n );\n inputField.entityControlPersonPIIAvailableError = \"\";\n }\n }}\n />\n
    \n No\n \n
    \n
    \n
    \n )} */}\n {/* {inputField.entityControlPersonPIIAvailableError !== \"\" && (\n
    \n
    \n \n {inputField.entityControlPersonPIIAvailableError}\n \n
    \n
    \n )} */}\n \n
    \n
    \n
    \n
    Trustee Personal Information
    \n {/* {relatedPartyType === \"TRT\" ? (\n
    \n Trustee Entity Control Person Personal Information\n
    \n ) : (\n
    \n Beneficial Owner Entity Control Person Personal\n Information\n
    \n )} */}\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonAddressLine1\"\n );\n inputField.entityControlPersonAddressLine1Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonAddressLine1Error = e;\n }}\n valueError={inputField.entityControlPersonAddressLine1Error}\n label={\"Address Line 1\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-address-line-1-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonAddressLine2\"\n );\n inputField.entityControlPersonAddressLine2Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonAddressLine2Error = e;\n }}\n valueError={inputField.entityControlPersonAddressLine2Error}\n label={\"Address Line 2\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-address-line-2-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonCity\"\n );\n inputField.entityControlPersonCityError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonCityError = e;\n }}\n valueError={inputField.entityControlPersonCityError}\n label={\"City\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-city-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonState\"\n );\n inputField.entityControlPersonStateError = \"\";\n }}\n valueError={inputField.entityControlPersonStateError}\n setValueError={(e) => {\n inputField.entityControlPersonStateError = e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-state-select\"}\n label={\"State\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonPostalCode\"\n );\n inputField.entityControlPersonPostalCodeError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonPostalCodeError = e;\n }}\n valueError={inputField.entityControlPersonPostalCodeError}\n label={\"Postal Code\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-postal-code-input\"}\n mask={{\n maskPattern: \"999999999999\",\n maskFormatter: (e) => e,\n }}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityControlPersonDOB\");\n inputField.entityControlPersonDOBError = \"\";\n }}\n valueError={inputField.entityControlPersonDOBError}\n setValueError={(e) => {\n inputField.entityControlPersonDOBError = e;\n }}\n label={\"Date Of Birth\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-dob-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonTaxIDNumber\"\n );\n inputField.entityControlPersonTaxIDNumberError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonTaxIDNumberError = e;\n }}\n mask={{\n maskFormatter: formatSSN,\n maskPattern: \"999-99-9999\",\n }}\n valueError={inputField.entityControlPersonTaxIDNumberError}\n label={\"SSN\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-tax-id-number-input\"}\n />\n
    \n
    \n
    \n
    \n {!disabled && (\n \n
    \n
    \n
    \n
    Additional Required Trust Documentation
    \n {/* {relatedPartyType === \"TRT\" ? (\n
    Additional Required Trustee Entity Documentation
    \n ) : (\n
    \n Additional Required Beneficial Owner Entity\n Documentation\n
    \n )} */}\n
    \n
    \n
    \n
    \n
    \n
    \n \n Please upload the following documents for the trust\n (Certificate of Formation, Proof of Address):\n {/* {relatedPartyType === \"TRT\"\n ? \"Please upload the following documents for this trustee entity (Certificate of Formation, Proof of Address):\"\n : \"Please upload the following documents for this beneficial owner entity (Certificate of Formation, Proof of Address):\"} */}\n \n
    \n
    \n
    \n
    \n
    \n
    \n {inputField.entityCertificateOfFormation === \"\" ? (\n \n ) : (\n
    \n
    \n \n Certificate of Formation Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityCertificateOfFormationError !== \"\" && (\n
    \n
    \n \n {inputField.entityCertificateOfFormationError}\n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityProofOfAddress === \"\" ? (\n \n ) : (\n
    \n
    \n \n Proof of Address Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityProofOfAddressError !== \"\" && (\n
    \n
    \n \n {inputField.entityProofOfAddressError}\n \n
    \n
    \n )}\n \n
    \n
    \n
    \n
    Additional Required Trustee Documentation
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Please upload the following documents for the trustee of\n the trust (Passport, Proof of Address):\n \n
    \n
    \n
    \n
    \n
    \n
    \n {inputField.entityControlPersonPassportDocument === \"\" ? (\n \n ) : (\n
    \n
    \n \n Passport Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityControlPersonPassportDocumentError !== \"\" && (\n
    \n
    \n \n {inputField.entityControlPersonPassportDocumentError}\n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityControlPersonProofOfAddress === \"\" ? (\n \n ) : (\n
    \n
    \n \n Proof of Address Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityControlPersonProofOfAddressError !== \"\" && (\n
    \n
    \n \n {inputField.entityControlPersonProofOfAddressError}\n \n
    \n
    \n )}\n
    \n
    \n )}\n
    \n ) : (\n \n
    \n
    Trustee Entity Information
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n value,\n \"entityNestedControlEntityType\"\n );\n inputField.entityNestedControlEntityTypeError = \"\";\n }}\n valueError={inputField.entityNestedControlEntityTypeError}\n setValueError={(value) =>\n handleChangeInput(\n index,\n value,\n \"entityNestedControlEntityTypeError\"\n )\n }\n selectOptions={trusteeOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-type-select\"}\n label={\"Entity Type\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityName\"\n );\n inputField.entityNestedControlEntityNameError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityNestedControlEntityNameError = e;\n }}\n valueError={inputField.entityNestedControlEntityNameError}\n label={\"Entity Legal Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-nested-control-entity-name-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityPercentOwned\"\n );\n inputField.entityNestedControlEntityPercentOwnedError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityNestedControlEntityPercentOwnedError = e;\n }}\n valueError={\n inputField.entityNestedControlEntityPercentOwnedError\n }\n label={\"Percent Ownership\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-nested-control-entity-percent-owned-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityStateOfIncorporation\"\n );\n inputField.entityNestedControlEntityStateOfIncorporationError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityStateOfIncorporationError\n }\n setValueError={(e) => {\n inputField.entityNestedControlEntityStateOfIncorporationError =\n e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-state-of-incorporation-select\"\n }\n label={\"State of Incorporation\"}\n />\n
    \n
    \n
    \n
    \n \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityPhoneNumber\"\n );\n inputField.entityNestedControlEntityPhoneNumberError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityNestedControlEntityPhoneNumberError = e;\n }}\n valueError={\n inputField.entityNestedControlEntityPhoneNumberError\n }\n label={\"Business Phone\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-nested-control-entity-phone-number-input\"}\n />\n
    \n
    \n {inputField.entityNestedControlEntityType !== \"SM_LLC\" && (\n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityTaxIDNumber\"\n );\n inputField.entityNestedControlEntityTaxIDNumberError = \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityTaxIDNumberError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityTaxIDNumberError\"\n )\n }\n label={\"Entity EIN\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-tax-id-number-input\"}\n />\n
    \n
    \n )}\n \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityAddressLine1\"\n );\n inputField.entityNestedControlEntityAddressLine1Error = \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityAddressLine1Error\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityAddressLine1Error\"\n )\n }\n label={\"Address Line 1\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-address-line-1-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityAddressLine2\"\n );\n inputField.entityNestedControlEntityAddressLine2Error = \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityAddressLine2Error\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityAddressLine2Error\"\n )\n }\n label={\"Address Line 2\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-address-line-2-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityCity\"\n );\n inputField.entityNestedControlEntityCityError = \"\";\n }}\n valueError={inputField.entityNestedControlEntityCityError}\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityCityError\"\n )\n }\n label={\"City\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-city-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityState\"\n );\n inputField.entityNestedControlEntityStateError = \"\";\n }}\n valueError={inputField.entityNestedControlEntityStateError}\n setValueError={(e) => {\n inputField.entityNestedControlEntityStateError = e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-nested-control-entity-state-select\"}\n label={\"State\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityPostalCode\"\n );\n inputField.entityNestedControlEntityPostalCodeError = \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityPostalCodeError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityPostalCodeError\"\n )\n }\n label={\"Postal Code\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-postal-code-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityIsTrustManagementCompany\"\n );\n inputField.entityNestedControlEntityIsTrustManagementCompanyError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityIsTrustManagementCompanyError\n }\n setValueError={(e) => {\n inputField.entityNestedControlEntityIsTrustManagementCompanyError =\n e;\n }}\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-is-trust-management-company-select\"\n }\n label={\"Is the entity a trust company?\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    Trustee Entity Control Person Information
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonFirstName\"\n );\n inputField.entityNestedControlEntityControlPersonFirstNameError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonFirstNameError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonFirstNameError\"\n )\n }\n label={\"First Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\n \"entity-nested-control-entity-control-person-first-name-input\"\n }\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonLastName\"\n );\n inputField.entityNestedControlEntityControlPersonLastNameError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonLastNameError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonLastNameError\"\n )\n }\n label={\"Last Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\n \"entity-nested-control-entity-control-person-last-name-input\"\n }\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonEmail\"\n );\n inputField.entityNestedControlEntityControlPersonEmailError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonEmailError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonEmailError\"\n )\n }\n label={\"Email\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-nested-control-entity-control-person-email-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonPhoneNumber\"\n );\n inputField.entityNestedControlEntityControlPersonPhoneNumberError =\n \"\";\n }}\n setValueError={(e) => {\n inputField.entityNestedControlEntityControlPersonPhoneNumberError =\n e;\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonPhoneNumberError\n }\n label={\"Phone Number\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-control-person-phone-number-input\"\n }\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonIsUSBased\"\n );\n inputField.entityNestedControlEntityControlPersonIsUSBasedError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonIsUSBasedError\n }\n setValueError={(e) => {\n inputField.entityNestedControlEntityControlPersonIsUSBasedError =\n e;\n }}\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-control-person-is-us-based-select\"\n }\n label={\"Is US based?\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonIsUSCitizen\"\n );\n inputField.entityNestedControlEntityControlPersonIsUSCitizenError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonIsUSCitizenError\n }\n setValueError={(e) => {\n inputField.entityNestedControlEntityControlPersonIsUSCitizenError =\n e;\n }}\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-control-person-is-us-citizen-select\"\n }\n label={\"Is US citizen?\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonPIIAvailable\"\n );\n inputField.entityNestedControlEntityControlPersonPIIAvailableError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonPIIAvailableError\n }\n setValueError={(e) => {\n inputField.entityNestedControlEntityControlPersonPIIAvailableError =\n e;\n }}\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-control-person-pii-available-select\"\n }\n label={\"Do you have the PII available for this person?\"}\n />\n
    \n
    \n
    \n {inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\" && (\n \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonTaxIDNumber\"\n );\n inputField.entityNestedControlEntityControlPersonTaxIDNumberError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonTaxIDNumberError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonTaxIDNumberError\"\n )\n }\n label={\"SSN\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n mask={{\n maskFormatter: formatSSN,\n maskPattern: \"999-99-9999\",\n }}\n id={\n \"entity-nested-control-entity-control-person-ssn-input\"\n }\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonDOB\"\n );\n inputField.entityNestedControlEntityControlPersonDOBError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonDOBError\n }\n setValueError={(e) => {\n inputField.entityNestedControlEntityControlPersonDOBError =\n e;\n }}\n label={\"Date Of Birth\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-control-person-dob-input\"\n }\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonAddressLine1\"\n );\n inputField.entityNestedControlEntityControlPersonAddressLine1Error =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonAddressLine1Error\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonAddressLine1Error\"\n )\n }\n label={\"Address Line 1\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\n \"entity-nested-control-entity-control-person-address-line-1-input\"\n }\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonAddressLine2\"\n );\n inputField.entityNestedControlEntityControlPersonAddressLine2Error =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonAddressLine2Error\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonAddressLine2Error\"\n )\n }\n label={\"Address Line 2\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\n \"entity-nested-control-entity-control-person-address-line-2-input\"\n }\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonCity\"\n );\n inputField.entityNestedControlEntityControlPersonCityError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonCityError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonCityError\"\n )\n }\n label={\"City\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\n \"entity-nested-control-entity-control-person-city-input\"\n }\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonState\"\n );\n inputField.entityNestedControlEntityControlPersonStateError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonStateError\n }\n setValueError={(e) => {\n inputField.entityNestedControlEntityControlPersonStateError =\n e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\n \"entity-nested-control-entity-control-person-state-select\"\n }\n label={\"State\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonPostalCode\"\n );\n inputField.entityNestedControlEntityControlPersonPostalCodeError =\n \"\";\n }}\n valueError={\n inputField.entityNestedControlEntityControlPersonPostalCodeError\n }\n setValueError={(event) =>\n handleChangeInput(\n index,\n event,\n \"entityNestedControlEntityControlPersonPostalCodeError\"\n )\n }\n label={\"Postal Code\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\n \"entity-nested-control-entity-control-person-postal-code-input\"\n }\n />\n
    \n
    \n
    \n {!disabled && (\n \n
    \n
    \n
    \n
    \n Additional Required Trustee Entity Control Person\n Documentation\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Please upload the following documents for the control\n person of the trustee entity (Passport, Proof of\n Address)\n \n
    \n
    \n
    \n
    \n
    \n
    \n {inputField.entityNestedControlEntityControlPersonPassportDocument ===\n \"\" ? (\n \n ) : (\n
    \n
    \n \n Passport Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityNestedControlEntityControlPersonPassportDocumentError !==\n \"\" && (\n
    \n
    \n \n {\n inputField.entityNestedControlEntityControlPersonPassportDocumentError\n }\n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityNestedControlEntityControlPersonProofOfAddress ===\n \"\" ? (\n \n ) : (\n
    \n
    \n \n Proof of Address Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityNestedControlEntityControlPersonProofOfAddressError !==\n \"\" && (\n
    \n
    \n \n {\n inputField.entityNestedControlEntityControlPersonProofOfAddressError\n }\n \n
    \n
    \n )}\n
    \n )}\n
    \n )}\n {!disabled && (\n \n
    \n
    \n
    \n
    Additional Required Trust Documentation
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Please upload the following documents for this trust\n (Certificate of formation, Proof of Address):\n \n
    \n
    \n
    \n
    \n
    \n
    \n {inputField.entityCertificateOfFormation === \"\" ? (\n \n ) : (\n
    \n
    \n \n Certificate of Formation Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityCertificateOfFormationError !== \"\" && (\n
    \n
    \n \n {inputField.entityCertificateOfFormationError}\n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityProofOfAddress === \"\" ? (\n \n ) : (\n
    \n
    \n \n Proof of Address Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityProofOfAddressError !== \"\" && (\n
    \n
    \n \n {inputField.entityProofOfAddressError}\n \n
    \n
    \n )}\n\n
    \n
    \n
    \n
    Additional Required Trustee Entity Documentation
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \"Please upload the following documents for this trustee\n entity (Certificate of Formation, Proof of Address):\"\n \n
    \n
    \n
    \n
    \n
    \n
    \n {inputField.entityNestedControlEntityCertificateOfFormation ===\n \"\" ? (\n \n ) : (\n
    \n
    \n \n Certificate of Formation Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityNestedControlEntityCertificateOfFormationError !==\n \"\" && (\n
    \n
    \n \n {\n inputField.entityNestedControlEntityCertificateOfFormationError\n }\n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityNestedControlEntityProofOfAddress ===\n \"\" ? (\n \n ) : (\n
    \n
    \n \n Proof of Address Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityNestedControlEntityProofOfAddressError !==\n \"\" && (\n
    \n
    \n \n {inputField.entityNestedControlEntityProofOfAddressError}\n \n
    \n
    \n )}\n
    \n )}\n
    \n )}\n
    \n );\n};\nexport default IrrevocableTrustRelatedPartyInputInformation;\n","import React from \"react\";\nimport \"./Styles/Styles.scss\";\nimport StyledTextInputField from \"../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { formatSSN } from \"../../../../../../GlobalFunctions/globalFunctions\";\nimport { stateList } from \"../../../../../../Components/GlobalComponents/stateList\";\nimport PhoneInputField from \"../../../../../../GlobalComponents/InputFields/PhoneInputField/PhoneInputField\";\nimport OverlayTrigger from \"react-bootstrap/OverlayTrigger\";\nimport Tooltip from \"react-bootstrap/Tooltip\";\nimport StyledDateInputField from \"../../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport UploadButton from \"../../../../../../GlobalComponents/Button/UploadButton/UploadButton\";\nimport IrrevocableTrustRelatedPartyInputInformation from \"./IrrevocableTrustRelatedPartyInputInformation/IrrevocableTrustRelatedPartyInputInformation\";\n\nfunction EntityInputInformation({\n accountType,\n inputField,\n handleChangeInput,\n index,\n disabled = false,\n relatedPartyType,\n}) {\n const entityOptions = [\n { value: \"LT\", label: \"Revocable Trust\" },\n { value: \"TRUST\", label: \"Irrevocable Trust\" },\n { value: \"SM_LLC\", label: \"Single-member LLC\" },\n { value: \"LLC\", label: \"LLC\" },\n { value: \"GP\", label: \"General Partnership\" },\n { value: \"LP\", label: \"Limited Partnership\" },\n { value: \"C-CORP\", label: \"C-Corp\" },\n { value: \"S-CORP\", label: \"S-Corp\" },\n ];\n\n const trusteeOptions = [\n // { value: \"LT\", label: \"Revocable Trust\" },\n // { value: \"TRUST\", label: \"Irrevocable Trust\" },\n { value: \"SM_LLC\", label: \"Single-member LLC\" },\n { value: \"LLC\", label: \"LLC\" },\n { value: \"GP\", label: \"General Partnership\" },\n { value: \"LP\", label: \"Limited Partnership\" },\n { value: \"C-CORP\", label: \"C-Corp\" },\n { value: \"S-CORP\", label: \"S-Corp\" },\n ];\n\n const yesNoOptions = [\n { value: \"Yes\", label: \"Yes\" },\n { value: \"No\", label: \"No\" },\n ];\n\n const Trust_Company_Copy = `\n \n \n Trust Company Definiton\n \n
    \n A trust company is a legal entity that acts as a fiduciary, agent, or trustee on behalf of a person or business for the purpose of administration, management, and the eventual transfer of assets to a beneficial party. The trust company acts as a custodian for trusts, estates, custodial arrangements, asset management, stock transfer, beneficial ownership registration, and other related arrangements.\n`;\n\n const renderTooltip = (copy, props) => (\n \n
    \n \n );\n\n const handleFileUpload = (event, inputName) => {\n const reader = new FileReader();\n reader.onloadend = () => {\n const b64 = reader.result.split(\",\")[1];\n handleChangeInput(\n index,\n { category: inputName, name: inputName, b64_string: b64 },\n inputName\n );\n };\n reader.readAsDataURL(event.target.files[0]);\n };\n\n return (\n \n
    \n
    \n {relatedPartyType === \"TRT\" ? (\n
    Trustee Entity Legal Information
    \n ) : (\n
    Beneficial Owner Entity Legal Information
    \n )}\n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, value, \"entityType\");\n inputField.entityTypeError = \"\";\n }}\n valueError={inputField.entityTypeError}\n setValueError={(value) =>\n handleChangeInput(index, value, \"entityTypeError\")\n }\n selectOptions={\n relatedPartyType === \"BO\" ? entityOptions : trusteeOptions\n }\n required={true}\n fullWidth={true}\n size={\"small\"}\n id={\"entity-type-select\"}\n label={\"Entity Type\"}\n disabled={disabled}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityName\");\n inputField.entityNameError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityNameError = e;\n }}\n valueError={inputField.entityNameError}\n label={\"Entity Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-name-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityPercentOwned\");\n inputField.entityPercentOwnedError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityPercentOwnedError = e;\n }}\n mask={{\n maskPattern: \"999\",\n maskFormatter: (e) => (parseInt(e) <= 100 ? e : e.slice(0, 2)),\n }}\n valueError={inputField.entityPercentOwnedError}\n label={\"Percent Ownership\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-percent-owned-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityStateOfIncorporation\");\n inputField.entityStateOfIncorporationError = \"\";\n }}\n valueError={inputField.entityStateOfIncorporationError}\n setValueError={(e) => {\n inputField.entityStateOfIncorporationError = e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-state-of-incorporation-select\"}\n label={\"State of Incorporation\"}\n />\n
    \n
    \n
    \n
    \n {inputField.entityType !== \"LT\" &&\n inputField.entityType !== \"SM_LLC\" && (\n
    \n
    \n {\n handleChangeInput(index, event, \"entityTaxIDNumber\");\n inputField.entityTaxIDNumberError = \"\";\n }}\n valueError={inputField.setEntityTaxIDNumberError}\n setValueError={(event) =>\n handleChangeInput(index, event, \"entityTaxIDNumberError\")\n }\n label={\"Entity EIN\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-tax-id-number-input\"}\n />\n
    \n
    \n )}\n \n
    \n {\n handleChangeInput(index, event, \"entityPhoneNumber\");\n inputField.entityPhoneNumberError = \"\";\n }}\n valueError={inputField.entityPhoneNumberError}\n setValueError={(event) =>\n handleChangeInput(index, event, \"entityPhoneNumberError\")\n }\n disabled={disabled}\n id={\"entity-phone-number-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {relatedPartyType === \"TRT\" ? (\n
    Trustee Entity Address Information
    \n ) : (\n
    Beneficial Owner Entity Address Information
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityAddressLine1\");\n inputField.entityAddressLine1Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityAddressLine1Error = e;\n }}\n valueError={inputField.entityAddressLine1Error}\n label={\"Address Line 1\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-address-line-1-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityAddressLine2\");\n inputField.entityAddressLine2Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityAddressLine2Error = e;\n }}\n valueError={inputField.entityAddressLine2Error}\n label={\"Address Line 2\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-address-line-2-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityCity\");\n inputField.entityCityError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityCityError = e;\n }}\n valueError={inputField.entityCityError}\n label={\"City\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-city-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityState\");\n inputField.entityStateError = \"\";\n }}\n valueError={inputField.entityStateError}\n setValueError={(e) => {\n inputField.entityStateError = e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-state-select\"}\n label={\"State\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityPostalCode\");\n inputField.entityPostalCodeError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityPostalCodeError = e;\n }}\n valueError={inputField.entityPostalCodeError}\n label={\"Postal Code\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-postal-code-input\"}\n mask={{\n maskPattern: \"999999999999\",\n maskFormatter: (e) => e,\n }}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityMailingAddressDifferent\"\n );\n inputField.entityMailingAddressDifferentError = \"\";\n }}\n valueError={inputField.entityMailingAddressDifferentError}\n setValueError={(e) => {\n inputField.entityMailingAddressDifferentError = e;\n }}\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-mailing-address-different-select\"}\n label={\"Is the mailing address different?\"}\n />\n
    \n
    \n
    \n {inputField.entityMailingAddressDifferent === \"Yes\" && (\n \n
    \n
    \n
    \n {relatedPartyType === \"TRT\" ? (\n
    Trustee Entity Mailing Address Information
    \n ) : (\n
    Beneficial Owner Entity Mailing Address Information
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityMailingAddressLine1\"\n );\n inputField.entityMailingAddressLine1Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityMailingAddressLine1Error = e;\n }}\n valueError={inputField.entityMailingAddressLine1Error}\n label={\"Address Line 1\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-mailing-address-line-1-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityMailingAddressLine2\"\n );\n inputField.entityMailingAddressLine2Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityMailingAddressLine2Error = e;\n }}\n valueError={inputField.entityMailingAddressLine2Error}\n label={\"Address Line 2\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-mailing-address-line-2-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityMailingCity\");\n inputField.entityMailingCityError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityMailingCityError = e;\n }}\n valueError={inputField.entityMailingCityError}\n label={\"City\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-mailing-city-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityMailingState\");\n inputField.stateError = \"\";\n }}\n valueError={inputField.entityMailingStateError}\n setValueError={(e) => {\n inputField.entityMailingStateError = e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-mailing-state-select\"}\n label={\"State\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityMailingPostalCode\");\n inputField.entityMailingPostalCodeError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityMailingPostalCodeError = e;\n }}\n valueError={inputField.entityMailingPostalCodeError}\n label={\"Postal Code\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-mailing-postal-code-input\"}\n mask={{\n maskPattern: \"999999999999\",\n maskFormatter: (e) => e,\n }}\n />\n
    \n
    \n
    \n
    \n )}\n {(accountType === \"TRUST\" || accountType === \"LT\") &&\n relatedPartyType === \"TRT\" &&\n !disabled && (\n \n
    \n
    \n
    \n
    \n
    \n \n Is the entity considered a trust management company?\n \n
    \n
    \n {\n return renderTooltip(Trust_Company_Copy, props);\n }}\n >\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {\n handleChangeInput(\n index,\n \"Yes\",\n \"entityIsTrustManagementCompany\"\n );\n inputField.entityIsTrustManagementCompanyError = \"\";\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n handleChangeInput(\n index,\n \"No\",\n \"entityIsTrustManagementCompany\"\n );\n inputField.entityIsTrustManagementCompanyError = \"\";\n }}\n />\n
    \n No\n \n
    \n
    \n {inputField.entityIsTrustManagementCompanyError !== \"\" && (\n
    \n
    \n \n {inputField.entityIsTrustManagementCompanyError}\n \n
    \n
    \n )}\n
    \n )}\n {inputField.entityType !== \"TRUST\" ? (\n \n
    \n
    \n
    \n {relatedPartyType === \"TRT\" ? (\n
    Trustee Entity Control Person Information
    \n ) : (\n
    Beneficial Owner Entity Control Person Information
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonFirstName\"\n );\n inputField.entityControlPersonFirstNameError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonFirstNameError = e;\n }}\n valueError={inputField.entityControlPersonFirstNameError}\n label={\"First Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-first-name-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonLastName\"\n );\n inputField.entityControlPersonLastNameError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonLastNameError = e;\n }}\n valueError={inputField.entityControlPersonLastNameError}\n label={\"Last Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-last-name-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"entityControlPersonEmail\");\n inputField.entityControlPersonEmailError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonEmailError = e;\n }}\n valueError={inputField.entityControlPersonEmailError}\n label={\"Email\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-email-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonPhoneNumber\"\n );\n inputField.entityControlPersonPhoneNumberError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonPhoneNumberError = e;\n }}\n valueError={inputField.entityControlPersonPhoneNumberError}\n label={\"Phone Number\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-phone-number-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSBased\"\n );\n inputField.entityControlPersonIsUSBasedError = \"\";\n }}\n valueError={inputField.entityControlPersonIsUSBasedError}\n setValueError={(value) =>\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSBasedError\"\n )\n }\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-control-person-is-us-based-select\"}\n label={\"Is US Based?\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSCitizen\"\n );\n inputField.entityControlPersonIsUSCitizenError = \"\";\n }}\n valueError={inputField.entityControlPersonIsUSCitizenError}\n setValueError={(value) =>\n handleChangeInput(\n index,\n value,\n \"entityControlPersonIsUSCitizenError\"\n )\n }\n selectOptions={yesNoOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n id={\"entity-control-person-is-us-citizen-select\"}\n label={\"Is US Citizen?\"}\n />\n
    \n
    \n
    \n {!disabled && (\n \n
    \n
    \n \n Do you have access to the personally identifiable\n information for a control person of this entity? (i.e. SSN,\n DOB, etc.)\n \n
    \n
    \n
    \n
    \n \n {\n if (!disabled) {\n handleChangeInput(\n index,\n \"Yes\",\n \"entityControlPersonPIIAvailable\"\n );\n inputField.entityControlPersonPIIAvailableError = \"\";\n }\n }}\n />\n
    \n \n Yes\n \n \n
    \n
    \n \n {\n if (!disabled) {\n handleChangeInput(\n index,\n \"No\",\n \"entityControlPersonPIIAvailable\"\n );\n inputField.entityControlPersonPIIAvailableError = \"\";\n }\n }}\n />\n
    \n No\n \n
    \n
    \n
    \n )}\n {inputField.entityControlPersonPIIAvailableError !== \"\" && (\n
    \n
    \n \n {inputField.entityControlPersonPIIAvailableError}\n \n
    \n
    \n )}\n {inputField.entityControlPersonPIIAvailable === \"Yes\" && (\n \n
    \n
    \n
    \n {relatedPartyType === \"TRT\" ? (\n
    \n Trustee Entity Control Person Personal Information\n
    \n ) : (\n
    \n Beneficial Owner Entity Control Person Personal\n Information\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonAddressLine1\"\n );\n inputField.entityControlPersonAddressLine1Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonAddressLine1Error = e;\n }}\n valueError={\n inputField.entityControlPersonAddressLine1Error\n }\n label={\"Address Line 1\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-address-line-1-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonAddressLine2\"\n );\n inputField.entityControlPersonAddressLine2Error = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonAddressLine2Error = e;\n }}\n valueError={\n inputField.entityControlPersonAddressLine2Error\n }\n label={\"Address Line 2\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-address-line-2-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonCity\"\n );\n inputField.entityControlPersonCityError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonCityError = e;\n }}\n valueError={inputField.entityControlPersonCityError}\n label={\"City\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-city-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonState\"\n );\n inputField.entityControlPersonStateError = \"\";\n }}\n valueError={inputField.entityControlPersonStateError}\n setValueError={(e) => {\n inputField.entityControlPersonStateError = e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-state-select\"}\n label={\"State\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonPostalCode\"\n );\n inputField.entityControlPersonPostalCodeError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonPostalCodeError = e;\n }}\n valueError={inputField.entityControlPersonPostalCodeError}\n label={\"Postal Code\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-postal-code-input\"}\n mask={{\n maskPattern: \"999999999999\",\n maskFormatter: (e) => e,\n }}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonDOB\"\n );\n inputField.entityControlPersonDOBError = \"\";\n }}\n valueError={inputField.entityControlPersonDOBError}\n setValueError={(e) => {\n inputField.entityControlPersonDOBError = e;\n }}\n label={\"Date Of Birth\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-dob-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"entityControlPersonTaxIDNumber\"\n );\n inputField.entityControlPersonTaxIDNumberError = \"\";\n }}\n setValueError={(e) => {\n inputField.entityControlPersonTaxIDNumberError = e;\n }}\n mask={{\n maskFormatter: formatSSN,\n maskPattern: \"999-99-9999\",\n }}\n valueError={\n inputField.entityControlPersonTaxIDNumberError\n }\n label={\"SSN\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"entity-control-person-tax-id-number-input\"}\n />\n
    \n
    \n
    \n
    \n )}\n {!disabled && (\n \n
    \n
    \n
    \n {relatedPartyType === \"TRT\" ? (\n
    Additional Required Trustee Entity Documentation
    \n ) : (\n
    \n Additional Required Beneficial Owner Entity\n Documentation\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n \n {relatedPartyType === \"TRT\"\n ? \"Please upload the following documents for this trustee entity (Certificate of Formation, Proof of Address):\"\n : \"Please upload the following documents for this beneficial owner entity (Certificate of Formation, Proof of Address):\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n {inputField.entityCertificateOfFormation === \"\" ? (\n \n ) : (\n
    \n
    \n \n Certificate of Formation Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityCertificateOfFormationError !== \"\" && (\n
    \n
    \n \n {inputField.entityCertificateOfFormationError}\n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityProofOfAddress === \"\" ? (\n \n ) : (\n
    \n
    \n \n Proof of Address Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityProofOfAddressError !== \"\" && (\n
    \n
    \n \n {inputField.entityProofOfAddressError}\n \n
    \n
    \n )}\n {inputField.entityControlPersonPIIAvailable === \"Yes\" && (\n \n
    \n
    \n
    \n {relatedPartyType === \"TRT\" ? (\n
    \n Additional Required Trustee Entity Control Person\n Documentation\n
    \n ) : (\n
    \n Additional Required Entity Control Person\n Documentation\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n \n {relatedPartyType === \"TRT\"\n ? \"Please upload the following documents for the control person of this trustee entity (Passport, Proof of Address):\"\n : \"Please upload the following documents for the control person of this beneficial owner entity (Passport, Proof of Address):\"}\n \n
    \n
    \n
    \n
    \n
    \n
    \n {inputField.entityControlPersonPassportDocument ===\n \"\" ? (\n \n ) : (\n
    \n
    \n \n Passport Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityControlPersonPassportDocumentError !==\n \"\" && (\n
    \n
    \n \n {inputField.entityControlPersonPassportDocumentError}\n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityControlPersonProofOfAddress === \"\" ? (\n \n ) : (\n
    \n
    \n \n Proof of Address Uploaded\n \n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n
    \n {inputField.entityControlPersonProofOfAddressError !== \"\" && (\n
    \n
    \n \n {inputField.entityControlPersonProofOfAddressError}\n \n
    \n
    \n )}\n
    \n )}\n
    \n )}\n
    \n ) : (\n \n )}\n \n );\n}\nexport default EntityInputInformation;\n","import React, { useEffect, useState, useContext } from \"react\";\nimport {\n formatSSN,\n isValidCountry,\n} from \"../../../../../GlobalFunctions/globalFunctions\";\nimport StyledTextInputField from \"../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport StyledPhoneInputField from \"../../../../../GlobalComponents/InputField/StyledPhoneInputField/StyledPhoneInputField\";\nimport PhoneInputField from \"../../../../../GlobalComponents/InputFields/PhoneInputField/PhoneInputField.js\";\nimport { isDobValid } from \"../../../../../Functions/functions.js\";\nimport { isEmailValid } from \"../../../../../Functions/functions\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/bootstrap.css\";\nimport { UserContext } from \"../../../../../GlobalContexts/UserContext\";\nimport { updateRelatedPartyInformation } from \"../../../../../Api/ProfileApi\";\nimport uuid from \"react-uuid\";\nimport SelectField from \"../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport StyledDateInputField from \"../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport \"./InfiniteInputComponentStyles/InfiniteInputComponentStyles.scss\";\nimport { stateList } from \"../../../../../Components/GlobalComponents/stateList\";\nimport { countryList } from \"../../../../../Components/countryList\";\nimport { reducedCountryList } from \"../../../../../Components/reducedCountryList\";\nimport { newAccount } from \"../../../../../Api/ProfileApi\";\nimport EntityInputInformation from \"./EntityInputInformation/EntityInputInformation.js\";\n\nfunction InfiniteInputComponent({\n accountID,\n inputFields,\n setInputFields,\n index,\n setActiveTab,\n processedCountryList,\n processedStateList,\n handleRemoveFields,\n setActiveSlide,\n role,\n disabled,\n supplyPercentOwned,\n hideButton,\n setHideButton,\n hideAlterButtons,\n setHideAlterButtons,\n relatedPartyType = \"BO\",\n accountType = \"\",\n}) {\n const [trustees, setTrustees] = useState(\"\");\n\n const { user, setUser } = useContext(UserContext);\n\n const inputField = inputFields[index];\n\n const handleChangeInput = (index, value, name) => {\n const values = [...inputFields];\n values[index][name] = value;\n setInputFields(values);\n };\n\n const handlePhoneChangeInput = (index, event) => {\n const values = [...inputFields];\n values[index][\"phoneNumber\"] = event;\n values[index][\"phoneNumberError\"] = \"\";\n setInputFields(values);\n };\n\n useEffect(() => {\n if (inputFields.length === 0) {\n setHideButton(true);\n } else {\n setHideButton(false);\n }\n }, [inputFields]);\n\n const relatedPartyTypeOptions = [\n { value: \"Person\", label: \"Person\" },\n { value: \"Entity\", label: \"Entity\" },\n ];\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"relatedPartyType\");\n inputField.relatedPartyTypeError = \"\";\n }}\n valueError={inputField.relatedPartyTypeError}\n setValueError={(e) => {\n inputField.relatedPartyTypeError = e;\n }}\n selectOptions={relatedPartyTypeOptions}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"related-party-type-select\"}\n label={\"Related Party Type\"}\n />\n
    \n
    \n {inputField.relatedPartyType === \"Entity\" && (\n \n )}\n {inputField.relatedPartyType === \"Person\" && (\n \n
    \n
    \n
    \n \n handleChangeInput(index, event, \"firstName\")\n }\n setValueError={(e) => {\n inputField.firstNameError = e;\n }}\n valueError={inputField.firstNameError}\n label={\"First Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n
    \n
    \n
    \n
    \n \n handleChangeInput(index, event, \"lastName\")\n }\n setValueError={(e) => {\n inputField.lastNameError = e;\n }}\n valueError={inputField.lastNameError}\n label={\"Last Name\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n \n handleChangeInput(index, event, \"email\")\n }\n setValueError={(e) => {\n inputField.emailError = e;\n }}\n valueError={inputField.emailError}\n label={\"Email\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"phoneNumber\"\n );\n inputField.phoneNumberError = \"\";\n }}\n setValueError={(e) => {\n inputField.phoneNumberError = e;\n }}\n valueError={inputField.phoneNumberError}\n label={\"Phone Number\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n {inputField.phoneNumberError &&\n inputField.phoneNumberError !==\n \"This field is required.\" && (\n
    \n \n {inputField.phoneNumberError}\n \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"domicileCountry\"\n );\n inputField.domicileCountryError = \"\";\n }}\n valueError={inputField.domicileCountryError}\n setValueError={(e) => {\n inputField.domicileCountryError = e;\n }}\n selectOptions={countryList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"formation-country-select\"}\n label={\"Domicile Country\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Address\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n handleChangeInput(\n index,\n event,\n \"addressLine1\"\n )\n }\n setValueError={(e) => {\n inputField.addressLine1Error = e;\n }}\n valueError={inputField.addressLine1Error}\n label={\"Address Line 1\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n handleChangeInput(\n index,\n event,\n \"addressLine2\"\n )\n }\n setValueError={(e) => {\n inputField.addressLine2Error = e;\n }}\n valueError={inputField.addressLine2Error}\n label={\"Address Line 2\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n
    \n
    \n
    \n
    \n
    \n \n
    \n \n handleChangeInput(index, event, \"city\")\n }\n setValueError={(e) => {\n inputField.cityError = e;\n }}\n valueError={inputField.cityError}\n label={\"City\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n {inputField.cityError &&\n inputField.cityError !==\n \"This field is required.\" && (\n
    \n \n {inputField.cityError}\n \n
    \n )}\n
    \n
    \n {inputField.country === \"United States\" && (\n
    \n
    \n {\n handleChangeInput(index, event, \"state\");\n inputField.stateError = \"\";\n }}\n valueError={inputField.stateError}\n setValueError={(e) => {\n inputField.stateError = e;\n }}\n selectOptions={stateList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"formation-country-select\"}\n label={\" State\"}\n />\n
    \n
    \n )}\n
    \n
    \n
    \n
    \n {\n handleChangeInput(index, event, \"country\");\n inputField.countryError = \"\";\n }}\n valueError={inputField.countryError}\n setValueError={(e) => {\n inputField.countryError = e;\n }}\n selectOptions={countryList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"formation-country-select\"}\n label={\"Country\"}\n />\n
    \n
    \n
    \n
    \n \n handleChangeInput(index, event, \"postalCode\")\n }\n setValueError={(e) => {\n inputField.postalCodeError = e;\n }}\n valueError={inputField.postalCodeError}\n label={\"Postal Code\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"postal-code-name-input\"}\n mask={{\n maskPattern: \"999999999999\",\n maskFormatter: (e) => e,\n }}\n />\n
    \n
    \n
    \n\n
    \n
    \n \n Personal Information\n \n
    \n
    \n
    \n
    \n
    \n \n handleChangeInput(index, event, \"dateOfBirth\")\n }\n valueError={inputField.dateOfBirthError}\n setValueError={(e) => {\n inputField.dateOfBirthError = e;\n }}\n label={\"Date Of Birth\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"individual-account-dob-input\"}\n />\n
    \n
    \n
    \n
    \n {inputField.domicileCountry ===\n \"United States\" ? (\n \n {\n handleChangeInput(index, event, \"idNum\");\n inputField.idNumError = \"\";\n }}\n setValueError={(e) => {\n inputField.idNumError = e;\n }}\n valueError={inputField.idNumError}\n label={\"SSN\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n mask={{\n maskFormatter: formatSSN,\n maskPattern: \"999-99-9999\",\n }}\n />\n \n ) : (\n \n {\n handleChangeInput(index, event, \"idNum\");\n inputField.idNumError = \"\";\n }}\n setValueError={(e) => {\n inputField.idNumError = e;\n }}\n valueError={inputField.idNumError}\n label={\"Passport Number\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={disabled}\n shrink={true}\n id={\"account-name-input\"}\n />\n {inputField.idNumError &&\n inputField.idNumError !==\n \"This field is required.\" && (\n
    \n \n {inputField.idNumError}\n \n
    \n )}\n
    \n )}\n
    \n
    \n
    \n\n
    \n
    \n \n Additional Info\n \n
    \n
    \n
    \n
    \n
    \n \n handleChangeInput(\n index,\n event,\n \"percentOwned\"\n )\n }\n setValueError={(e) => {\n inputField.percentOwnedError = e;\n }}\n valueError={inputField.percentOwnedError}\n label={\"Percent Owned\"}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={supplyPercentOwned ? false : disabled}\n shrink={true}\n id={\"postal-code-name-input\"}\n mask={{\n maskPattern: \"999\",\n maskFormatter: (e) =>\n parseInt(e) <= 100 ? e : e.slice(0, 2),\n }}\n />\n
    \n
    \n
    \n
    \n {\n handleChangeInput(\n index,\n event,\n \"citizenship\"\n );\n inputField.citizenshipError = \"\";\n }}\n valueError={inputField.citizenshipError}\n setValueError={(e) => {\n inputField.citizenshipError = e;\n }}\n selectOptions={reducedCountryList}\n required={true}\n fullWidth={true}\n size={\"small\"}\n disabled={supplyPercentOwned ? false : disabled}\n shrink={true}\n id={\"formation-country-select\"}\n label={\"Citizenship\"}\n />\n
    \n
    \n
    \n\n {!hideAlterButtons &&\n inputFields.length !== 1 &&\n !disabled && (\n
    \n
    \n handleRemoveFields(index)}\n >\n
    \n
    \n \n Remove this person\n \n
    \n
    \n \n
    \n
    \n )}\n \n )}\n
    \n
    \n
    \n
    \n \n
    \n
    \n \n );\n}\nexport default InfiniteInputComponent;\n","import React, { useState, useEffect } from \"react\";\n\nfunction BeneficialOwnerQuestion({\n questionNumber,\n questionText,\n answer,\n setAnswer,\n hasBeneficialOwnersError,\n}) {\n const [answerYes, setAnswerYes] = useState(\"\");\n const [answerNo, setAnswerNo] = useState(\"\");\n\n useEffect(() => {\n if (answer !== \"\") {\n if (answer) {\n setAnswerYes(true);\n setAnswerNo(false);\n } else {\n setAnswerYes(false);\n setAnswerNo(true);\n }\n }\n }, [answer]);\n\n return (\n \n
    \n {questionText}\n
    \n
    \n
    \n \n {\n setAnswer(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setAnswer(false);\n }}\n />\n
    \n No\n \n
    \n
    \n {hasBeneficialOwnersError && (\n
    \n \n {hasBeneficialOwnersError}\n
    \n \n )}\n
    \n );\n}\nexport default BeneficialOwnerQuestion;\n","import React, { useEffect } from \"react\";\nimport InfiniteTabInput from \"../../../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../../../InfiniteInputComponent/InfiniteInputComponent\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\nimport { getAccountSummary } from \"./../../../../../../../../Api/ProfileApi.js\";\n\nfunction BeneficialOwnerInfiniteInput({\n accountType,\n shouldRenderBeneficialOwnerSection,\n showBeneficialOwnerSection,\n unmountedStyle,\n mountedStyle,\n activeTab,\n setActiveTab,\n addNewTab,\n accountID,\n relatedAccounts,\n setRelatedAccounts,\n handleRemoveFields,\n setActiveSlide,\n hideButton,\n setHideButton,\n hideAlterButtons,\n setHideAlterButtons,\n supplyPercentOwned,\n}) {\n useEffect(() => {\n async function popRelatedParties() {\n if (supplyPercentOwned === true) {\n const accountSummaryResp = await getAccountSummary(accountID);\n const accountSummaryData = accountSummaryResp.data[0];\n setRelatedAccounts(\n accountSummaryData.related_parties\n .filter((relatedParty) => relatedParty.role === \"BO\")\n .map((relatedParty) => ({\n id: relatedParty.id,\n firstName: relatedParty.first_name,\n lastName: relatedParty.last_name,\n email: relatedParty.email,\n phoneNumber: relatedParty.phone_number,\n addressLine1: relatedParty.addresses[0].address_line_1,\n addressLine2: relatedParty.addresses[0].address_line_2,\n city: relatedParty.addresses[0].city,\n country: relatedParty.addresses[0].country,\n state: relatedParty.addresses[0].state,\n postalCode: relatedParty.addresses[0].postal_code,\n dateOfBirth: relatedParty.pii[0].date_of_birth,\n idNum: relatedParty.pii[0].id_number,\n domicileCountry: relatedParty.domicile_country,\n idType: relatedParty.pii[0].id_type,\n citizenshipError: \"\",\n }))\n );\n }\n }\n popRelatedParties();\n }, [supplyPercentOwned]);\n return (\n shouldRenderBeneficialOwnerSection && (\n \n \"Beneficial Owner #\" + (idx + 1).toString()\n )}\n activeTab={activeTab}\n setActiveTab={setActiveTab}\n addNewTab={addNewTab}\n />\n \n \n )\n );\n}\nexport default BeneficialOwnerInfiniteInput;\n","import React, { useEffect } from \"react\";\nimport BeneficialOwnerQuestion from \"./BeneficialOwnerQuestion/BeneficialOwnerQuestion\";\nimport BeneficialOwnerInfiniteInput from \"./BeneficialOwnerInfiniteInput/BeneficialOwnerInfiniteInput\";\n\nfunction BeneficialOwnerSection({\n accountType,\n answer,\n setAnswer,\n hasBeneficialOwnersError,\n mountedStyle,\n unmountedStyle,\n showBeneficialOwnerSection,\n shouldRenderBeneficialOwnerSection,\n activeTab,\n setActiveTab,\n addNewTab,\n accountID,\n relatedAccounts,\n setRelatedAccounts,\n handleRemoveFields,\n setActiveSlide,\n hideButton,\n setHideButton,\n hideAlterButtons,\n setHideAlterButtons,\n supplyPercentOwned,\n}) {\n useEffect(() => supplyPercentOwned && setAnswer(true), [supplyPercentOwned]);\n return (\n \n {!supplyPercentOwned && (\n \n )}\n \n \n );\n}\nexport default BeneficialOwnerSection;\n","export const stripOutDigits = (input) => {\n const re = /[^0-9]/g;\n const newString = input.replace(re, \"\");\n\n return newString;\n};\n","import React, { useEffect, useState } from \"react\";\nimport InfiniteTabInput from \"../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../InfiniteInputComponent/InfiniteInputComponent\";\nimport BeneficialOwnerSection from \"./BeneficialOwnerSection/BeneficialOwnerSection\";\nimport useDelayUnmount from \"../../../../../../CustomHooks/useDelayUnmount\";\nimport { isValidCountry } from \"../../../../../../GlobalFunctions/globalFunctions\";\nimport { isDobValid } from \"../../../../../../Functions/functions\";\nimport { isEmailValid } from \"../../../../../../Functions/functions\";\nimport { isValidSSN } from \"../../../../../../Functions/functions\";\nimport { updateRelatedPartyInformation } from \"../../../../../../Api/ProfileApi\";\nimport { useHistory } from \"react-router\";\nimport { stripOutDigits } from \"../../../../../../utilities/functions/functions\";\n\nfunction EntityAccountRelatedPartyInformation({\n processedCountryList,\n processedStateList,\n setActiveSlide,\n accountType,\n accountID,\n mountedStyle,\n unmountedStyle,\n supplyPercentOwned,\n}) {\n let history = useHistory();\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n const [hasBeneficialOwners, setHasBeneficialOwners] = useState(\"\");\n const [hasBeneficialOwnersError, setHasBeneficialOwnersError] = useState(\"\");\n\n const [showBeneficialOwnerSection, setShowBeneficialOwnerSection] =\n useState(false);\n\n const shouldRenderBeneficialOwnerSection = useDelayUnmount(\n showBeneficialOwnerSection,\n 400,\n true\n );\n\n const [hideButton, setHideButton] = useState(false);\n const [hideAlterButtons, setHideAlterButtons] = useState(false);\n\n // const [activeTab, setActiveTab] = useState(\"Trustee #1\");\n\n const [relatedAccounts, setRelatedAccounts] = useState([\n {\n relatedPartyType: \"\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n },\n ]);\n const [activeTab, setActiveTab] = useState(\"Beneficial Owner #1\");\n // To-do: track idx instead of tab name?\n\n const addNewTab = () => {\n setRelatedAccounts([\n ...relatedAccounts,\n {\n relatedPartyType: \"\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n },\n ]);\n setActiveTab(\n \"Beneficial Owner #\" + (relatedAccounts.length + 1).toString()\n );\n };\n\n const submit = async () => {\n let values = [...relatedAccounts];\n let requestData = [];\n var errors = false;\n setSubmissionInProgress(true);\n\n if (hasBeneficialOwners === \"\") {\n setHasBeneficialOwnersError(\"Please make a selection.\");\n errors = true;\n }\n\n if (hasBeneficialOwners === true) {\n requestData = relatedAccounts.map((inputField, index) => {\n if (inputField.relatedPartyType === \"Person\") {\n if (inputField.firstName === \"\") {\n values[index][\"firstNameError\"] = \"This field is required.\";\n errors = true;\n }\n if (inputField.lastName === \"\") {\n values[index][\"lastNameError\"] = \"This field is required.\";\n errors = true;\n }\n if (inputField.email === \"\") {\n values[index][\"emailError\"] = \"This field is required.\";\n errors = true;\n } else if (!isEmailValid(inputField.email)) {\n values[index][\"emailError\"] = \"Please enter a valid email.\";\n errors = true;\n }\n //Add email validation\n if (inputField.phoneNumber === \"\") {\n values[index][\"phoneNumberError\"] =\n \"Please enter a valid phone number.\";\n } else if (inputField.phoneNumber.length < 7) {\n values[index][inputField.phoneNumberError] =\n \"Please enter a valid phone number\";\n errors = true;\n }\n if (inputField.addressLine1 === \"\") {\n values[index][\"addressLine1Error\"] = \"This field is required.\";\n errors = true;\n }\n if (inputField.city === \"\") {\n values[index][\"cityError\"] = \"This field is required.\";\n errors = true;\n }\n\n // if (inputField.citizenship !== \"United States\") {\n // values[index][\"citizenshipError\"] = \"Sorry, we only support US citizens at this time.\";\n // errors = true; }\n\n if (inputField.citizenship === \"\") {\n values[index][\"citizenshipError\"] =\n \"Please enter your country of citizenship.\";\n errors = true;\n }\n\n if (inputField.country === \"United States\") {\n if (inputField.state === \"\") {\n values[index][\"stateError\"] =\n \"Please enter a state from the list.\";\n errors = true;\n }\n }\n if (inputField.country === \"\") {\n values[index][\"countryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n } else if (!isValidCountry(inputField.country)) {\n values[index][\"countryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n }\n\n if (inputField.percentOwned === \"\") {\n values[index][\"percentOwnedError\"] = \"This field is required\";\n errors = true;\n }\n\n if (inputField.postalCode === \"\") {\n values[index][\"postalCodeError\"] = \"This field is required.\";\n errors = true;\n }\n\n if (inputField.domicileCountry === \"\") {\n values[index][\"domicileCountryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n } else if (!isValidCountry(inputField.domicileCountry)) {\n values[index][\"domicileCountryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n }\n\n if (inputField.dateOfBirth === \"\") {\n values[index][\"dateOfBirthError\"] = \"This field is required.\";\n errors = true;\n } else {\n const date = inputField.dateOfBirth;\n const notValid = !isDobValid(date);\n if (notValid) {\n values[index][\"dateOfBirthError\"] =\n \"Please enter a valid date of birth.\";\n errors = true;\n }\n }\n if (inputField.idNum === \"\") {\n values[index][\"idNumError\"] = \"This field is required.\";\n errors = true;\n } else if (\n inputField.domicileCountry === \"United States\" &&\n !isValidSSN(inputField.idNum)\n ) {\n errors = true;\n values[index][\"idNumError\"] = \"Please enter a valid ssn.\";\n }\n console.log(inputField.id);\n return {\n first_name: inputField.firstName,\n last_name: inputField.lastName,\n email: inputField.email,\n phone_number: inputField.phoneNumber,\n address_line_1: inputField.addressLine1,\n address_line_2: inputField.addressLine2,\n city: inputField.city,\n state:\n inputField.country === \"United States\"\n ? inputField.state.length !== 0\n ? inputField.state\n : \"\"\n : \"\",\n country: inputField.country,\n postal_code: inputField.postalCode,\n address_type: \"RM\",\n date_of_birth: inputField.dateOfBirth,\n id_type:\n inputField.domicileCountry === \"United States\" ? \"SSN\" : \"PASS\",\n id_number: inputField.idNum,\n domicile_country: inputField.domicileCountry,\n role: \"BO\",\n address2_line_1: \"\",\n address2_line_2: \"\",\n address2_city: \"\",\n address2_state: \"\",\n address2_country: \"\",\n address2_postal_code: \"\",\n address2_type: \"\",\n percent_ownership: inputField.percentOwned,\n citizenship: inputField.citizenship,\n ...(supplyPercentOwned && { account_id: inputField.id }),\n };\n } else {\n if (inputField.relatedPartyType === \"Entity\") {\n if (inputField.entityType === \"\") {\n errors = true;\n values[index][\"entityTypeError\"] = \"This field is required.\";\n }\n\n if (inputField.entityName === \"\") {\n errors = true;\n values[index][\"entityNameError\"] = \"This field is required.\";\n }\n\n if (inputField.entityPercentOwned === \"\") {\n errors = true;\n values[index][\"entityPercentOwnedError\"] =\n \"This field is required.\";\n } else if (parseInt(inputField.entityPercentOwned) === 0) {\n errors = true;\n values[index][\"entityPercentOwnedError\"] =\n \"Percent owned must be a value greater than 0.\";\n }\n\n if (inputField.entityStateOfIncorporation === \"\") {\n errors = true;\n values[index][\"entityStateOfIncorporationError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityType !== \"LT\" &&\n inputField.entityType !== \"SM_LLC\" &&\n inputField.entityTaxIDNumber === \"\"\n ) {\n errors = true;\n values[index][\"entityTaxIDNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityPhoneNumber === \"\") {\n errors = true;\n values[index][\"entityPhoneNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityCity === \"\") {\n errors = true;\n values[index][\"entityCityError\"] = \"This field is required.\";\n }\n\n if (inputField.entityState === \"\") {\n errors = true;\n values[index][\"entityStateError\"] = \"This field is required.\";\n }\n\n if (inputField.entityPostalCode === \"\") {\n errors = true;\n values[index][\"entityPostalCodeError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingAddressDifferent === \"\") {\n errors = true;\n values[index][\"entityMailingAddressDifferentError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingAddressDifferent === \"Yes\") {\n if (inputField.entityMailingAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityMailingAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingCity === \"\") {\n errors = true;\n values[index][\"entityMailingCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingState === \"\") {\n errors = true;\n values[index][\"entityMailingStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingPostalCode === \"\") {\n errors = true;\n values[index][\"entityMailingPostalCodeError\"] =\n \"This field is required.\";\n }\n }\n\n // if (inputField.entityIsTrustManagementCompany === \"\") {\n // errors = true;\n // beneficialOwnerValues[index][\"entityIsTrustManagementCompanyError\"] =\n // \"This field is required.\";\n // }\n\n if (inputField.entityType === \"TRUST\") {\n if (inputField.entityNestedControlEntityTrusteeType === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityTrusteeTypeError\"] =\n \"This field is required.\";\n } else if (\n inputField.entityNestedControlEntityTrusteeType === \"Person\"\n ) {\n if (inputField.entityControlPersonFirstName === \"\") {\n errors = true;\n values[index][\"entityControlPersonFirstNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonLastName === \"\") {\n errors = true;\n values[index][\"entityControlPersonLastNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonEmail === \"\") {\n errors = true;\n values[index][\"entityControlPersonEmailError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPhoneNumber === \"\") {\n errors = true;\n values[index][\"entityControlPersonPhoneNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonIsUSBased === \"\") {\n errors = true;\n values[index][\"entityControlPersonIsUSBasedError\"] =\n \"This field is required.\";\n } else if (inputField.entityControlPersonIsUSBased === \"No\") {\n errors = true;\n values[index][\"entityControlPersonIsUSBasedError\"] =\n \"We only support US-based individuals at this time.\";\n }\n\n if (inputField.entityControlPersonIsUSCitizen === \"\") {\n errors = true;\n values[index][\"entityControlPersonIsUSCitizenError\"] =\n \"This field is required.\";\n } /*else if (inputField.entityControlPersonIsUSCitizen === \"No\") {\n errors = true;\n values[index][\"entityControlPersonIsUSCitizenError\"] =\n \"We only support US citizens at this time.\";\n }*/\n\n if (inputField.entityControlPersonAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityControlPersonAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonCity === \"\") {\n errors = true;\n values[index][\"entityControlPersonCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonState === \"\") {\n errors = true;\n values[index][\"entityControlPersonStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPostalCode === \"\") {\n errors = true;\n values[index][\"entityControlPersonPostalCodeError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonDOB === \"\") {\n errors = true;\n values[index][\"entityControlPersonDOBError\"] =\n \"This field is required.\";\n } else if (!isDobValid(inputField.entityControlPersonDOB)) {\n errors = true;\n values[index][\"entityControlPersonDOBError\"] =\n \"Please enter a valid dob.\";\n }\n\n if (inputField.entityControlPersonTaxIDNumber === \"\") {\n errors = true;\n values[index][\"entityControlPersonTaxIDNumberError\"] =\n \"This field is required.\";\n } else if (\n !isValidSSN(inputField.entityControlPersonTaxIDNumber)\n ) {\n errors = true;\n values[index][\"entityControlPersonTaxIDNumberError\"] =\n \"Please enter a valid ssn.\";\n }\n\n if (inputField.entityControlPersonPassportDocument === \"\") {\n errors = true;\n values[index][\"entityControlPersonPassportDocumentError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonProofOfAddress === \"\") {\n errors = true;\n values[index][\"entityControlPersonProofOfAddressError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityCertificateOfFormation === \"\") {\n errors = true;\n values[index][\"entityCertificateOfFormationError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityProofOfAddress === \"\") {\n errors = true;\n values[index][\"entityProofOfAddressError\"] =\n \"This field is required.\";\n }\n } else {\n if (inputField.entityNestedControlEntityType === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityTypeError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityName === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityPercentOwned === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityPercentOwnedError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityStateOfIncorporation ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityStateOfIncorporationError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityPhoneNumber === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityPhoneNumberError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityTaxIDNumber === \"\" &&\n inputField.entityNestedControlEntityType !== \"SM_LLC\"\n ) {\n errors = true;\n values[index][\"entityNestedControlEntityTaxIDNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityCity === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityState === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityPostalCode === \"\") {\n errors = true;\n values[index][\"entityNestedControlEntityPostalCodeError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityIsTrustManagementCompany ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityIsTrustManagementCompanyError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonFirstName ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonFirstNameError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonLastName ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonLastNameError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonEmail === \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonEmailError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonPhoneNumber ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonPhoneNumberError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonIsUSBased ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonIsUSBasedError\"\n ] = \"This field is required.\";\n } else if (\n inputField.entityNestedControlEntityControlPersonIsUSBased ===\n \"No\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonIsUSBasedError\"\n ] = \"We only support US-based individuals at this time.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonIsUSCitizen ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonIsUSCitizenError\"\n ] = \"This field is required.\";\n } /*else if (\n inputField.entityNestedControlEntityControlPersonIsUSCitizen ===\n \"No\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonIsUSCitizenError\"\n ] = \"We only support US citizens at this time.\";\n }*/\n\n if (\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonPIIAvailableError\"\n ] = \"This field is required.\";\n } else if (\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ) {\n if (\n inputField.entityNestedControlEntityControlPersonTaxIDNumber ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonTaxIDNumberError\"\n ] = \"This field is required.\";\n } else if (\n !isValidSSN(\n inputField.entityNestedControlEntityControlPersonTaxIDNumber\n )\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonTaxIDNumberError\"\n ] = \"Please enter a valid ssn.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonDOB === \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonDOBError\"\n ] = \"This field is required.\";\n } else if (\n !isDobValid(\n inputField.entityNestedControlEntityControlPersonDOB\n )\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonDOBError\"\n ] = \"Please enter a valid dob.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonAddressLine1 ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonAddressLine1Error\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonCity === \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonCityError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonState ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonStateError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonPostalCode ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonPostalCodeError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonPassportDocument ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonPassportDocumentError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonProofOfAddress ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityControlPersonProofOfAddressError\"\n ] = \"This field is required.\";\n }\n }\n\n if (inputField.entityCertificateOfFormation === \"\") {\n errors = true;\n values[index][\"entityCertificateOfFormationError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityProofOfAddress === \"\") {\n errors = true;\n values[index][\"entityProofOfAddressError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityCertificateOfFormation ===\n \"\"\n ) {\n errors = true;\n values[index][\n \"entityNestedControlEntityCertificateOfFormationError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityProofOfAddress === \"\") {\n errors = true;\n values[index][\n \"entityNestedControlEntityProofOfAddressError\"\n ] = \"This field is required.\";\n }\n }\n } else {\n if (inputField.entityControlPersonFirstName === \"\") {\n errors = true;\n values[index][\"entityControlPersonFirstNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonLastName === \"\") {\n errors = true;\n values[index][\"entityControlPersonLastNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonEmail === \"\") {\n errors = true;\n values[index][\"entityControlPersonEmailError\"] =\n \"This field is required.\";\n } else if (!isEmailValid(inputField.entityControlPersonEmail)) {\n errors = true;\n values[index][\"entityControlPersonEmailError\"] =\n \"Please enter a valid email.\";\n }\n\n if (inputField.entityControlPersonPhoneNumber === \"\") {\n errors = true;\n values[index][\"entityControlPersonPhoneNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonIsUSBased === \"\") {\n errors = true;\n values[index][\"entityControlPersonIsUSBasedError\"] =\n \"This field is required.\";\n } else if (inputField.entityControlPersonIsUSBased === \"No\") {\n errors = true;\n values[index][\"entityControlPersonIsUSBasedError\"] =\n \"We only support US-based individuals at this time.\";\n }\n\n if (inputField.entityControlPersonIsUSCitizen === \"\") {\n errors = true;\n values[index][\"entityControlPersonIsUSCitizenError\"] =\n \"This field is required.\";\n } /*else if (inputField.entityControlPersonIsUSCitizen === \"No\") {\n errors = true;\n values[index][\"entityControlPersonIsUSCitizenError\"] =\n \"We only support US citizens at this time.\";\n }*/\n\n if (inputField.entityControlPersonPIIAvailable === \"\") {\n errors = true;\n values[index][\"entityControlPersonPIIAvailableError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPIIAvailable === \"Yes\") {\n if (inputField.entityControlPersonAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityControlPersonAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonCity === \"\") {\n errors = true;\n values[index][\"entityControlPersonCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonState === \"\") {\n errors = true;\n values[index][\"entityControlPersonStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPostalCode === \"\") {\n errors = true;\n values[index][\"entityControlPersonPostalCodeError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonDOB === \"\") {\n errors = true;\n values[index][\"entityControlPersonDOBError\"] =\n \"This field is required.\";\n } else if (!isDobValid(inputField.entityControlPersonDOB)) {\n errors = true;\n values[index][\"entityControlPersonDOBError\"] =\n \"Please enter a valid dob.\";\n }\n\n if (inputField.entityControlPersonTaxIDNumber === \"\") {\n errors = true;\n values[index][\"entityControlPersonTaxIDNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPassportDocument === \"\") {\n errors = true;\n values[index][\"entityControlPersonPassportDocumentError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonProofOfAddress === \"\") {\n errors = true;\n values[index][\"entityControlPersonProofOfAddressError\"] =\n \"This field is required.\";\n }\n }\n\n if (inputField.entityCertificateOfFormation === \"\") {\n errors = true;\n values[index][\"entityCertificateOfFormationError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityProofOfAddress === \"\") {\n errors = true;\n values[index][\"entityProofOfAddressError\"] =\n \"This field is required.\";\n }\n }\n\n return {\n rp_type: \"Entity\",\n role: \"BO\",\n entity_type: inputField.entityType,\n entity_name: inputField.entityName,\n entity_percent_owned: inputField.entityPercentOwned,\n entity_state_of_incorporation:\n inputField.entityStateOfIncorporation,\n ...(inputField.entityType !== \"LT\" &&\n inputField.entityType !== \"SM_LLC\" && {\n entity_tax_id_number: inputField.entityTaxIDNumber,\n }),\n entity_phone_number: stripOutDigits(inputField.entityPhoneNumber),\n entity_address_line_1: inputField.entityAddressLine1,\n entity_address_line_2: inputField.entityAddressLine2,\n entity_city: inputField.entityCity,\n entity_state: inputField.entityState,\n entity_postal_code: inputField.entityPostalCode,\n address_type:\n inputField.entityMailingAddressDifferent === \"Yes\" ? \"R\" : \"RM\",\n entity_mailing_address_line_1:\n inputField.entityMailingAddressLine1,\n entity_mailing_address_line_2:\n inputField.entityMailingAddressLine2,\n entity_mailing_city: inputField.entityMailingCity,\n entity_mailing_state: inputField.entityMailingState,\n entity_mailing_postal_code: inputField.entityMailingPostalCode,\n ...(inputField.entityType !== \"TRUST\" && {\n entity_control_person_first_name:\n inputField.entityControlPersonFirstName,\n entity_control_person_last_name:\n inputField.entityControlPersonLastName,\n entity_control_person_email:\n inputField.entityControlPersonEmail,\n entity_control_person_phone_number: stripOutDigits(\n inputField.entityControlPersonPhoneNumber\n ),\n entity_control_person_is_us_based:\n inputField.entityControlPersonIsUSBased,\n entity_control_person_is_us_citizen:\n inputField.entityControlPersonIsUSCitizen,\n ...(inputField.entityControlPersonPIIAvailable === \"Yes\"\n ? {\n entity_control_person_address_line_1:\n inputField.entityControlPersonAddressLine1,\n entity_control_person_address_line_2:\n inputField.entityControlPersonAddressLine2,\n entity_control_person_city:\n inputField.entityControlPersonCity,\n entity_control_person_state:\n inputField.entityControlPersonState,\n entity_control_person_postal_code:\n inputField.entityControlPersonPostalCode,\n entity_control_person_dob:\n inputField.entityControlPersonDOB,\n entity_control_person_tax_id_number:\n inputField.entityControlPersonTaxIDNumber,\n }\n : {}),\n documents: [\n {\n category: \"Entity Proof of Address\",\n b64_string: inputField.entityProofOfAddress.b64_string,\n name: \"Entity Proof of Address\",\n },\n {\n category: \"Entity Certificate of Formation\",\n b64_string:\n inputField.entityCertificateOfFormation.b64_string,\n name: \"Entity Certificate of Formation\",\n },\n ...(inputField.entityControlPersonPIIAvailable === \"Yes\"\n ? [\n {\n category: \"Entity Control Person Passport Document\",\n b64_string:\n inputField.entityControlPersonPassportDocument\n .b64_string,\n name: \"Entity Control Person Passport Document\",\n },\n {\n category: \"Entity Control Person Proof of Address\",\n b64_string:\n inputField.entityControlPersonProofOfAddress\n .b64_string,\n name: \"Entity Control Person Proof of Address\",\n },\n ]\n : []),\n ],\n }),\n ...(inputField.entityType === \"TRUST\" && {\n ...(inputField.entityNestedControlEntityTrusteeType ===\n \"Person\" && {\n entity_control_person_first_name:\n inputField.entityControlPersonFirstName,\n entity_control_person_last_name:\n inputField.entityControlPersonLastName,\n entity_control_person_email:\n inputField.entityControlPersonEmail,\n entity_control_person_phone_number: stripOutDigits(\n inputField.entityControlPersonPhoneNumber\n ),\n entity_control_person_is_us_based:\n inputField.entityControlPersonIsUSBased,\n entity_control_person_is_us_citizen:\n inputField.entityControlPersonIsUSCitizen,\n entity_control_person_address_line_1:\n inputField.entityControlPersonAddressLine1,\n entity_control_person_address_line_2:\n inputField.entityControlPersonAddressLine2,\n entity_control_person_city:\n inputField.entityControlPersonCity,\n entity_control_person_state:\n inputField.entityControlPersonState,\n entity_control_person_postal_code:\n inputField.entityControlPersonPostalCode,\n entity_control_person_dob: inputField.entityControlPersonDOB,\n entity_control_person_tax_id_number:\n inputField.entityControlPersonTaxIDNumber,\n documents: [\n {\n category: \"Entity Proof of Address\",\n b64_string: inputField.entityProofOfAddress.b64_string,\n name: \"Entity Proof of Address\",\n },\n {\n category: \"Entity Certificate of Formation\",\n b64_string:\n inputField.entityCertificateOfFormation.b64_string,\n name: \"Entity Certificate of Formation\",\n },\n\n {\n category: \"Entity Control Person Passport Document\",\n b64_string:\n inputField.entityControlPersonPassportDocument\n .b64_string,\n name: \"Entity Control Person Passport Document\",\n },\n {\n category: \"Entity Control Person Proof of Address\",\n b64_string:\n inputField.entityControlPersonProofOfAddress.b64_string,\n name: \"Entity Control Person Proof of Address\",\n },\n ],\n }),\n ...(inputField.entityNestedControlEntityTrusteeType ===\n \"Entity\" && {\n nested_rp_type: \"Entity\",\n nested_role: \"TST\",\n nested_entity_type: inputField.entityNestedControlEntityType,\n nested_entity_name: inputField.entityNestedControlEntityName,\n nested_entity_state_of_incorporation:\n inputField.entityNestedControlEntityStateOfIncorporation,\n nested_entity_percent_owned:\n inputField.entityNestedControlEntityPercentOwned,\n nested_entity_phone_number: stripOutDigits(\n inputField.entityNestedControlEntityPhoneNumber\n ),\n nested_entity_tax_id_number:\n inputField.entityNestedControlEntityTaxIDNumber,\n nested_entity_address_type: \"RM\",\n nested_entity_address_line_1:\n inputField.entityNestedControlEntityAddressLine1,\n nested_entity_address_line_2:\n inputField.entityNestedControlEntityAddressLine2,\n nested_entity_city: inputField.entityNestedControlEntityCity,\n nested_entity_state:\n inputField.entityNestedControlEntityState,\n nested_entity_postal_code:\n inputField.entityNestedControlEntityPostalCode,\n nested_entity_is_trust_management_company:\n inputField.entityNestedControlEntityIsTrustManagementCompany,\n nested_entity_mailing_address_line_1: \"\",\n nested_entity_mailing_address_line_2: \"\",\n nested_entity_mailing_city: \"\",\n nested_entity_mailing_state: \"\",\n nested_entity_mailing_postal_code: \"\",\n nested_entity_control_person_first_name:\n inputField.entityNestedControlEntityControlPersonFirstName,\n nested_entity_control_person_last_name:\n inputField.entityNestedControlEntityControlPersonLastName,\n nested_entity_control_person_email:\n inputField.entityNestedControlEntityControlPersonEmail,\n nested_entity_control_person_phone_number: stripOutDigits(\n inputField.entityNestedControlEntityControlPersonPhoneNumber\n ),\n nested_entity_control_person_is_us_based:\n inputField.entityNestedControlEntityControlPersonIsUSBased,\n nested_entity_control_person_is_us_citizen:\n inputField.entityNestedControlEntityControlPersonIsUSCitizen,\n nested_entity_control_person_address_line_1:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonAddressLine1\n : \"\",\n nested_entity_control_person_address_line_2:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityAddressLine2\n : \"\",\n nested_entity_control_person_city:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonCity\n : \"\",\n nested_entity_control_person_state:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonState\n : \"\",\n nested_entity_control_person_postal_code:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonPostalCode\n : \"\",\n nested_entity_control_person_dob:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonDOB\n : \"\",\n nested_entity_control_person_tax_id_number:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonTaxIDNumber\n : \"\",\n documents: [\n {\n category: \"Entity Proof of Address\",\n b64_string: inputField.entityProofOfAddress.b64_string,\n name: \"Entity Proof of Address\",\n },\n {\n category: \"Entity Certificate of Formation\",\n b64_string:\n inputField.entityCertificateOfFormation.b64_string,\n name: \"Entity Certificate of Formation\",\n },\n ],\n nested_documents: [\n {\n category: \"Trustee Certificate of Formation\",\n b64_string:\n inputField\n .entityNestedControlEntityCertificateOfFormation\n .b64_string,\n name: \"Trust Certificate of Formation\",\n },\n {\n category: \"Trustee Proof of Address\",\n b64_string:\n inputField.entityNestedControlEntityProofOfAddress\n .b64_string,\n name: \"Trust Proof of Address\",\n },\n ...(inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? [\n {\n category:\n \"Trustee Entity Control Person Passport Document\",\n b64_string:\n inputField\n .entityNestedControlEntityControlPersonPassportDocument\n .b64_string,\n name: \"Trustee Entity Control Person Passport Document\",\n },\n {\n category:\n \"Trustee Entity Control Person Proof of Address\",\n b64_string:\n inputField\n .entityNestedControlEntityControlPersonProofOfAddress\n .b64_string,\n name: \"Trustee Entity Control Person Proof of Address\",\n },\n ]\n : []),\n ],\n }),\n }),\n };\n }\n }\n });\n setRelatedAccounts(values);\n }\n\n // if (relatedAccounts.length >= 1) {\n if (errors) {\n // setRelatedAccounts(values);\n setSubmissionInProgress(false);\n return;\n } else {\n // make request to backend with grantor and trustee information here\n\n const requestInformation = {\n data: requestData,\n account_id: accountID,\n has_related_party: hasBeneficialOwners,\n };\n try {\n await updateRelatedPartyInformation(requestInformation);\n\n setHideButton(true);\n setHideAlterButtons(true);\n // Make sure that the active slide is progressed to the next page on success. Don't want the user to be able to adjust the information that they supplied.\n setActiveSlide((prevState) => prevState + 2);\n } catch (err) {\n console.log(err);\n setSubmissionInProgress(false);\n }\n }\n };\n\n const handleRemoveFields = (index) => {\n const nextIdx = index === 0 ? 0 : index - 1;\n setActiveTab(\"Beneficial Owner #\" + (nextIdx + 1).toString());\n setRelatedAccounts((relatedAccounts) =>\n relatedAccounts.filter((elem, idx) => idx !== index)\n );\n };\n\n useEffect(() => {\n if (hasBeneficialOwners === true) {\n setShowBeneficialOwnerSection(true);\n } else if (hasBeneficialOwners === false) {\n setShowBeneficialOwnerSection(false);\n }\n setHasBeneficialOwnersError(\"\");\n }, [hasBeneficialOwners]);\n\n return (\n
    \n
    \n \n {!hideButton && (\n
    \n
    \n
    \n {\n submit();\n }}\n >\n {submissionInProgress && (\n
    \n
    \n \n Submit\n \n \n
    \n
    \n )}\n {!submissionInProgress && Submit}\n \n
    \n
    \n
    \n )}\n
    \n
    \n );\n}\nexport default EntityAccountRelatedPartyInformation;\n","import React, { useState, useEffect } from \"react\";\n\nfunction TrusteeQuestion({\n questionNumber,\n questionText,\n answer,\n setAnswer,\n hasTrusteesError,\n}) {\n const [answerYes, setAnswerYes] = useState(\"\");\n const [answerNo, setAnswerNo] = useState(\"\");\n\n useEffect(() => {\n if (answer !== \"\") {\n if (answer) {\n setAnswerYes(true);\n setAnswerNo(false);\n } else {\n setAnswerYes(false);\n setAnswerNo(true);\n }\n }\n }, [answer]);\n\n return (\n \n
    \n {questionText}\n
    \n
    \n
    \n \n {\n setAnswer(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setAnswer(false);\n }}\n />\n
    \n No\n \n
    \n
    \n {hasTrusteesError && (\n
    \n \n {hasTrusteesError}\n
    \n \n )}\n
    \n );\n}\nexport default TrusteeQuestion;\n","import React, { useEffect, useState } from \"react\";\nimport InfiniteTabInput from \"../../../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../../../InfiniteInputComponent/InfiniteInputComponent\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\nimport { getAccountSummary } from \"./../../../../../../../../Api/ProfileApi.js\";\n\nfunction TrusteeInfiniteInput({\n accountType,\n mountedStyle,\n unmountedStyle,\n showTrusteeSection,\n shouldRenderTrusteeSection,\n activeTab,\n setActiveTab,\n addNewTab,\n accountID,\n relatedAccounts,\n setRelatedAccounts,\n handleRemoveFields,\n setActiveSlide,\n hideButton,\n hideAlterButtons,\n setHideButton,\n setHideAlterButtons,\n}) {\n const supplyPercentOwned = true;\n const [loaded, setLoaded] = useState(false);\n\n useEffect(() => {\n async function popRelatedParties() {\n if (supplyPercentOwned === true) {\n const accountSummaryResp = await getAccountSummary(accountID);\n const accountSummaryData = accountSummaryResp.data[0];\n\n relatedAccounts.length !== 1 &&\n relatedAccounts.firstName !== \"\" &&\n setRelatedAccounts(\n accountSummaryData.related_parties\n .filter(\n (relatedParty) =>\n relatedParty.role === \"G\" || relatedParty.role === \"TST\"\n )\n .map((relatedParty) => ({\n id: relatedParty.id,\n firstName: relatedParty.first_name,\n lastName: relatedParty.last_name,\n email: relatedParty.email,\n phoneNumber: relatedParty.phone_number,\n addressLine1: relatedParty.addresses[0].address_line_1,\n addressLine2: relatedParty.addresses[0].address_line_2,\n city: relatedParty.addresses[0].city,\n country: relatedParty.addresses[0].country,\n state: relatedParty.addresses[0].state,\n postalCode: relatedParty.addresses[0].postal_code,\n dateOfBirth: relatedParty.pii[0].date_of_birth,\n idNum: relatedParty.pii[0].id_number,\n domicileCountry: relatedParty.domicile_country,\n idType: relatedParty.pii[0].id_type,\n citizenshipError: \"\",\n }))\n );\n //ToDo: Update the above to pull in the new data and populate into the related party map\n }\n }\n popRelatedParties();\n }, [supplyPercentOwned]);\n\n useEffect(() => {\n console.log(relatedAccounts);\n }, [relatedAccounts]);\n\n return (\n shouldRenderTrusteeSection && (\n \n \"Trustee #\" + (idx + 1).toString()\n )}\n activeTab={activeTab}\n setActiveTab={setActiveTab}\n addNewTab={addNewTab}\n addMore\n />\n \n \n )\n );\n}\nexport default TrusteeInfiniteInput;\n","import React, { useEffect } from \"react\";\nimport TrusteeQuestion from \"./TrusteeQuestion/TrusteeQuestion\";\nimport TrusteeInfiniteInput from \"./TrusteeInfiniteInput/TrusteeInfiniteInput\";\n\nfunction TrusteeSection({\n accountType,\n shouldRenderTrusteeSection,\n showTrusteeSection,\n setShowTrusteeSection,\n mountedStyle,\n unmountedStyle,\n answer,\n setAnswer,\n activeTab,\n setActiveTab,\n addNewTab,\n accountID,\n relatedAccounts,\n setRelatedAccounts,\n handleRemoveFields,\n setActiveSlide,\n hideButton,\n setHideButton,\n hideAlterButtons,\n setHideAlterButtons,\n hasTrusteesError,\n setHasTrusteesError,\n supplyPercentOwned,\n}) {\n useEffect(() => supplyPercentOwned && setAnswer(true), [supplyPercentOwned]);\n useEffect(() => {\n if (answer !== \"\") {\n setShowTrusteeSection(answer);\n setHasTrusteesError(\"\");\n }\n }, [answer]);\n\n return (\n \n {!supplyPercentOwned && (\n \n )}\n \n \n );\n}\nexport default TrusteeSection;\n","import React, { useEffect } from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport StyledPhoneInputField from \"../../../../../../../../GlobalComponents/InputField/StyledPhoneInputField/StyledPhoneInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport StyledDateInputField from \"../../../../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { reducedCountryList } from \"../../../../../../../../Components/reducedCountryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\nimport { formatSSN } from \"../../../../../../../../GlobalFunctions/globalFunctions\";\nimport { getAccountSummary } from \"./../../../../../../../../Api/ProfileApi\";\n\nfunction GrantorInformation({\n id,\n grantorFirstName,\n setGrantorFirstName,\n grantorFirstNameError,\n setGrantorFirstNameError,\n grantorLastName,\n setGrantorLastName,\n grantorLastNameError,\n setGrantorLastNameError,\n grantorEmail,\n setGrantorEmail,\n grantorEmailError,\n setGrantorEmailError,\n grantorPhoneNumber,\n setGrantorPhoneNumber,\n grantorPhoneNumberError,\n setGrantorPhoneNumberError,\n grantorDomicileCountry,\n setGrantorDomicileCountry,\n grantorDomicileCountryError,\n setGrantorDomicileCountryError,\n grantorAddressLine1,\n setGrantorAddressLine1,\n grantorAddressLine1Error,\n setGrantorAddressLine1Error,\n grantorAddressLine2,\n setGrantorAddressLine2,\n grantorAddressLine2Error,\n setGrantorAddressLine2Error,\n grantorState,\n setGrantorState,\n grantorStateError,\n setGrantorStateError,\n grantorCity,\n setGrantorCity,\n grantorCityError,\n setGrantorCityError,\n grantorCountry,\n setGrantorCountry,\n grantorCountryError,\n setGrantorCountryError,\n grantorPostalCode,\n setGrantorPostalCode,\n grantorPostalCodeError,\n setGrantorPostalCodeError,\n grantorDOB,\n setGrantorDOB,\n grantorDOBError,\n setGrantorDOBError,\n grantorIDNumber,\n setGrantorIDNumber,\n grantorIDNumberError,\n setGrantorIDNumberError,\n supplyPercentOwned,\n grantorCitizenship,\n setGrantorCitizenship,\n grantorCitizenshipError,\n setGrantorCitizenshipError,\n grantorPercentOwned,\n setGrantorPercentOwned,\n grantorPercentOwnedError,\n setGrantorPercentOwnedError,\n ac,\n}) {\n const disabled = supplyPercentOwned;\n\n useEffect(() => {\n // console.log(\"User\" + JSON.stringify(user));\n\n async function populateData() {\n const accountSummaryResp = await getAccountSummary(id);\n console.log(accountSummaryResp);\n const accountSummaryData = accountSummaryResp.data[0];\n let grantorData = {};\n if (accountSummaryData.related_parties.length !== 0) {\n // console.log(\n // JSON.stringify(user.userProfileData.accounts[0].related_parties)\n // );\n accountSummaryData.related_parties.forEach((relatedParty) => {\n // console.log(\"Related party\" + JSON.stringify(relatedParty));\n if (relatedParty.role === \"G\") {\n grantorData = relatedParty;\n // console.log(\"grantor data \" + JSON.stringify(grantorData));\n }\n });\n }\n // let grantorDataAddress = [];\n if (\n Object.keys(grantorData).length !== 0 &&\n grantorData.addresses.length !== 0\n ) {\n if (grantorData.addresses.length === 1) {\n setGrantorAddressLine1(grantorData.addresses[0].address_line_1);\n setGrantorAddressLine2(grantorData.addresses[0].address_line_2);\n setGrantorCity(grantorData.addresses[0].city);\n setGrantorState(grantorData.addresses[0].state);\n setGrantorCountry(grantorData.addresses[0].country);\n setGrantorPostalCode(grantorData.addresses[0].postal_code);\n // setGrantorPrimaryAddressDeliverable()\n } else {\n // setGrantorPrimaryAddressDeliverable(\"No\");\n grantorData.addresses.forEach((address) => {\n if (address.address_type === \"R\" || address.address_type === \"RM\") {\n setGrantorAddressLine1(address.address_line_1);\n setGrantorAddressLine2(address.address_line_2);\n setGrantorCity(address.city);\n setGrantorState(address.state);\n setGrantorCountry(address.country);\n setGrantorPostalCode(address.postal_code);\n }\n });\n }\n }\n\n if (Object.keys(grantorData).length !== 0) {\n if (grantorData.pii.length !== 0) {\n setGrantorDOB(grantorData.pii[0].date_of_birth);\n setGrantorIDNumber(grantorData.pii[0].id_number);\n }\n setGrantorFirstName(grantorData.first_name);\n setGrantorLastName(grantorData.last_name);\n setGrantorEmail(grantorData.email);\n setGrantorPhoneNumber(grantorData.phone_number);\n setGrantorDomicileCountry(grantorData.domicile_country);\n }\n }\n populateData();\n }, []);\n\n return (\n \n
    \n Grantor Information\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n {grantorPhoneNumberError && (\n \n {grantorPhoneNumberError}\n \n )}\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n Mailing Address\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n \n
    \n {grantorCountry === \"United States\" && (\n
    \n \n
    \n )}\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n Grantor Personal Information\n \n
    \n
    \n
    \n \n
    \n
    \n {grantorDomicileCountry === \"United States\" && (\n \n )}\n {grantorDomicileCountry !== \"United States\" && (\n \n )}\n
    \n
    \n\n
    \n
    \n \n Additional Info\n \n
    \n
    \n
    \n
    \n
    \n (parseInt(e) <= 100 ? e : e.slice(0, 2)),\n }}\n />\n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n );\n}\nexport default GrantorInformation;\n","import React, { useState, useEffect } from \"react\";\n\nfunction BeneficialOwnerQuestion({\n questionNumber,\n questionText,\n answer,\n setAnswer,\n hasBeneficialOwnersError,\n}) {\n const [answerYes, setAnswerYes] = useState(\"\");\n const [answerNo, setAnswerNo] = useState(\"\");\n\n useEffect(() => {\n if (answer !== \"\") {\n if (answer) {\n setAnswerYes(true);\n setAnswerNo(false);\n } else {\n setAnswerYes(false);\n setAnswerNo(true);\n }\n }\n }, [answer]);\n\n return (\n \n
    \n {questionText}\n
    \n
    \n
    \n \n {\n setAnswer(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setAnswer(false);\n }}\n />\n
    \n No\n \n
    \n
    \n {hasBeneficialOwnersError && (\n
    \n \n {hasBeneficialOwnersError}\n
    \n \n )}\n
    \n );\n}\nexport default BeneficialOwnerQuestion;\n","import React, { useState, useEffect } from \"react\";\nimport InfiniteTabInput from \"../../../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../../../InfiniteInputComponent/InfiniteInputComponent\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\nimport { getAccountSummary } from \"../../../../../../../../Api/ProfileApi\";\n\nconst BeneficialOwnerInfiniteInput = ({\n accountType,\n mountedStyle,\n unmountedStyle,\n showBeneficialOwnerSection,\n shouldRenderBeneficialOwnerSection,\n activeTab,\n setActiveTab,\n addNewTab,\n accountID,\n relatedAccounts,\n setRelatedAccounts,\n handleRemoveFields,\n setActiveSlide,\n hideButton,\n hideAlterButtons,\n setHideButton,\n setHideAlterButtons,\n}) => {\n const supplyPercentOwned = true;\n const [loaded, setLoaded] = useState(false);\n\n useEffect(() => {\n async function popRelatedParties() {\n if (supplyPercentOwned === true) {\n const accountSummaryResp = await getAccountSummary(accountID);\n const accountSummaryData = accountSummaryResp.data[0];\n\n relatedAccounts.length !== 1 &&\n relatedAccounts.firstName !== \"\" &&\n setRelatedAccounts(\n accountSummaryData.related_parties\n .filter((relatedParty) => relatedParty.role === \"BO\")\n .map((relatedParty) => ({\n id: relatedParty.id,\n firstName: relatedParty.first_name,\n lastName: relatedParty.last_name,\n email: relatedParty.email,\n phoneNumber: relatedParty.phone_number,\n addressLine1: relatedParty.addresses[0].address_line_1,\n addressLine2: relatedParty.addresses[0].address_line_2,\n city: relatedParty.addresses[0].city,\n country: relatedParty.addresses[0].country,\n state: relatedParty.addresses[0].state,\n postalCode: relatedParty.addresses[0].postal_code,\n dateOfBirth: relatedParty.pii[0].date_of_birth,\n idNum: relatedParty.pii[0].id_number,\n domicileCountry: relatedParty.domicile_country,\n idType: relatedParty.pii[0].id_type,\n citizenshipError: \"\",\n }))\n );\n //ToDo: Update the above to pull in the new data and populate into the related party map\n }\n }\n popRelatedParties();\n }, [supplyPercentOwned]);\n\n useEffect(() => {\n console.log(relatedAccounts);\n }, [relatedAccounts]);\n\n return (\n shouldRenderBeneficialOwnerSection && (\n \n \"Beneficial Owner #\" + (idx + 1).toString()\n )}\n activeTab={activeTab}\n setActiveTab={setActiveTab}\n addNewTab={addNewTab}\n addMore\n />\n \n \n )\n );\n};\nexport default BeneficialOwnerInfiniteInput;\n","import React, { useEffect } from \"react\";\nimport BeneficialOwnerQuestion from \"./BeneficialOwnerQuestion/BeneficialOwnerQuestion\";\nimport BeneficialOwnerInfiniteInput from \"./BeneficialOwnerInfiniteInput/BeneficialOwnerInfiniteInput\";\n\nconst BeneficialOwnerSection = ({\n accountType,\n shouldRenderBeneficialOwnerSection,\n showBeneficialOwnerSection,\n setShowBeneficialOwnerSection,\n mountedStyle,\n unmountedStyle,\n answer,\n setAnswer,\n activeTab,\n setActiveTab,\n addNewTab,\n accountID,\n relatedAccounts,\n setRelatedAccounts,\n handleRemoveFields,\n setActiveSlide,\n hideButton,\n setHideButton,\n hideAlterButtons,\n setHideAlterButtons,\n hasBeneficialOwnersError,\n setHasBeneficialOwnersError,\n supplyPercentOwned,\n}) => {\n useEffect(() => {\n if (answer !== \"\") {\n setShowBeneficialOwnerSection(answer);\n setHasBeneficialOwnersError(\"\");\n }\n }, [answer]);\n\n return (\n \n \n \n \n );\n};\nexport default BeneficialOwnerSection;\n","import React, { useEffect, useState } from \"react\";\nimport InfiniteTabInput from \"../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../InfiniteInputComponent/InfiniteInputComponent\";\nimport StyledTextInputField from \"../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport StyledDateInputField from \"../../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport StyledPhoneInputField from \"../../../../../../GlobalComponents/InputField/StyledPhoneInputField/StyledPhoneInputField\";\nimport SelectField from \"../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport {\n formatSSN,\n isValidCountry,\n} from \"../../../../../../GlobalFunctions/globalFunctions\";\nimport useDelayUnmount from \"../../../../../../CustomHooks/useDelayUnmount\";\nimport TrusteeSection from \"./TrusteeSection/TrusteeSection\";\nimport { isDobValid } from \"../../../../../../Functions/functions\";\nimport { isEmailValid } from \"../../../../../../Functions/functions\";\nimport { isValidSSN } from \"../../../../../../Functions/functions\";\nimport GrantorInformation from \"./TrusteeSection/GrantorInformation/GrantorInformation\";\nimport { updateRelatedPartyInformation } from \"../../../../../../Api/ProfileApi\";\nimport { useHistory } from \"react-router\";\nimport BeneficialOwnerSection from \"./BeneficialOwnerSection/BeneficialOwnerSection\";\nimport { stripOutDigits } from \"../../../../../../utilities/functions/functions\";\n\nfunction TrustAccountRelatedPartyInformation({\n accountType,\n unmountedStyle,\n mountedStyle,\n processedCountryList,\n processedStateList,\n setActiveSlide,\n accountID,\n supplyPercentOwned,\n}) {\n let history = useHistory();\n const [hasTrusteesError, setHasTrusteesError] = useState(\"\");\n const [grantorFirstName, setGrantorFirstName] = useState(\"\");\n const [grantorFirstNameError, setGrantorFirstNameError] = useState(\"\");\n\n const [grantorLastName, setGrantorLastName] = useState(\"\");\n const [grantorLastNameError, setGrantorLastNameError] = useState(\"\");\n\n const [grantorEmail, setGrantorEmail] = useState(\"\");\n const [grantorEmailError, setGrantorEmailError] = useState(\"\");\n\n const [grantorPhoneNumber, setGrantorPhoneNumber] = useState(\"\");\n const [grantorPhoneNumberError, setGrantorPhoneNumberError] = useState(\"\");\n\n const [grantorDomicileCountry, setGrantorDomicileCountry] = useState(\"\");\n const [grantorDomicileCountryError, setGrantorDomicileCountryError] =\n useState(\"\");\n\n const [grantorAddressLine1, setGrantorAddressLine1] = useState(\"\");\n const [grantorAddressLine1Error, setGrantorAddressLine1Error] = useState(\"\");\n\n const [grantorAddressLine2, setGrantorAddressLine2] = useState(\"\");\n const [grantorAddressLine2Error, setGrantorAddressLine2Error] = useState(\"\");\n\n const [grantorCity, setGrantorCity] = useState(\"\");\n const [grantorCityError, setGrantorCityError] = useState(\"\");\n\n const [grantorState, setGrantorState] = useState(\"\");\n const [grantorStateError, setGrantorStateError] = useState(\"\");\n\n const [grantorCountry, setGrantorCountry] = useState(\"\");\n const [grantorCountryError, setGrantorCountryError] = useState(\"\");\n\n const [grantorPostalCode, setGrantorPostalCode] = useState(\"\");\n const [grantorPostalCodeError, setGrantorPostalCodeError] = useState(\"\");\n\n const [grantorDOB, setGrantorDOB] = useState(\"\");\n const [grantorDOBError, setGrantorDOBError] = useState(\"\");\n\n const [grantorIDType, setGrantorIDType] = useState(\"\");\n const [grantorIDTypeError, setGrantorIDTypeError] = useState(\"\");\n\n const [grantorIDNumber, setGrantorIDNumber] = useState(\"\");\n const [grantorIDNumberError, setGrantorIDNumberError] = useState(\"\");\n\n const [grantorPercentOwned, setGrantorPercentOwned] = useState(\"\");\n const [grantorPercentOwnedError, setGrantorPercentOwnedError] = useState(\"\");\n\n const [grantorCitizenship, setGrantorCitizenship] = useState(\"\");\n const [grantorCitizenshipError, setGrantorCitizenshipError] = useState(\"\");\n\n const [hasAlternateSignatory, setHasAlternateSignatory] = useState(\"\");\n const [hasAlternateSignatoryError, setHasAlternateSignatoryError] =\n useState(\"\");\n const [alternateSignatoryFullName, setAlternateSignatoryFullName] =\n useState(\"\");\n const [alternateSignatoryFullNameError, setAlternateSignatoryFullNameError] =\n useState(\"\");\n const [alternateSignatoryEmail, setAlternateSignatoryEmail] = useState(\"\");\n const [alternateSignatoryEmailError, setAlternateSignatoryEmailError] =\n useState(\"\");\n const [alternateSignatoryTitle, setAlternateSignatoryTitle] = useState(\"\");\n const [alternateSignatoryTitleError, setAlternateSignatoryTitleError] =\n useState(\"\");\n\n const [relatedAccounts, setRelatedAccounts] = useState([\n {\n relatedPartyType: \"\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n },\n ]);\n\n const [beneficialOwnerRelatedAccounts, setBeneficialOwnerRelatedAccounts] =\n useState([\n {\n relatedPartyType: \"\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n },\n ]);\n\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n\n const [hideButton, setHideButton] = useState(false);\n const [hideAlterButtons, setHideAlterButtons] = useState(false);\n\n const [showTrusteeSection, setShowTrusteeSection] = useState(false);\n const shouldRenderTrusteeSection = useDelayUnmount(\n showTrusteeSection,\n 400,\n false\n );\n\n const [activeTab, setActiveTab] = useState(\"Trustee #1\");\n const [hasTrustees, setHasTrustees] = useState(\"\");\n\n const [hasBeneficialOwners, setHasBeneficialOwners] = useState(\"\");\n const [hasBeneficialOwnersError, setHasBeneficialOwnersError] = useState(\"\");\n const [showBeneficialOwnerSection, setShowBeneficialOwnerSection] =\n useState(false);\n const shouldRenderBeneficialOwnerSection = useDelayUnmount(\n showBeneficialOwnerSection,\n 400,\n false\n );\n const [activeBeneficialOwnerTab, setActiveBeneficialOwnerTab] = useState(\n \"Beneficial Owner #1\"\n );\n const [beneficialOwnerHideButton, setBeneficialOwnerHideButton] =\n useState(false);\n\n // To-do: track idx instead of tab name?\n\n const submit = async () => {\n let values = [...relatedAccounts];\n let beneficialOwnerRequestData = [];\n let requestData = [];\n let trusteeRequestData = [];\n var errors = false;\n setSubmissionInProgress(true);\n\n if (accountType === \"TRUST\") {\n if (hasAlternateSignatory === \"\") {\n setHasAlternateSignatoryError(\"Please make a selection.\");\n errors = true;\n }\n\n if (hasAlternateSignatory === true) {\n if (alternateSignatoryFullName === \"\") {\n setAlternateSignatoryFullNameError(\"This field is required.\");\n errors = true;\n }\n if (alternateSignatoryEmail === \"\") {\n setAlternateSignatoryEmailError(\"This field is required.\");\n errors = true;\n }\n if (alternateSignatoryTitle === \"\") {\n setAlternateSignatoryTitleError(\"This field is required.\");\n errors = true;\n }\n }\n }\n\n if (hasTrustees === \"\") {\n setHasTrusteesError(\"Please make a selection.\");\n errors = true;\n }\n\n if (hasBeneficialOwners === \"\") {\n setHasBeneficialOwnersError(\"Please make a selection.\");\n errors = true;\n }\n\n if (hasTrustees === true) {\n trusteeRequestData = relatedAccounts.map((inputField, index) => {\n if (inputField.relatedPartyType === \"\") {\n values[index][\"relatedPartyTypeError\"] = \"This field is required.\";\n errors = true;\n }\n\n if (inputField.relatedPartyType === \"Person\") {\n if (inputField.firstName === \"\") {\n values[index][\"firstNameError\"] = \"This field is required.\";\n errors = true;\n }\n if (inputField.lastName === \"\") {\n values[index][\"lastNameError\"] = \"This field is required.\";\n errors = true;\n }\n if (inputField.email === \"\") {\n values[index][\"emailError\"] = \"This field is required.\";\n errors = true;\n } else if (!isEmailValid(inputField.email)) {\n values[index][\"emailError\"] = \"Please enter a valid email.\";\n errors = true;\n }\n // if (inputField.citizenship !== \"United States\") {\n // values[index][\"citizenshipError\"] =\n // \"Sorry, we only support US citizens at this time.\";\n // errors = true;\n // }\n\n if (inputField.citizenship === \"\") {\n values[index][\"citizenshipError\"] =\n \"Please enter your country of citizenship\";\n errors = true;\n }\n //Add email validation\n if (inputField.phoneNumber === \"\") {\n values[index][\"phoneNumberError\"] =\n \"Please enter a valid phone number.\";\n } else if (inputField.phoneNumber.length < 7) {\n values[index][inputField.phoneNumberError] =\n \"Please enter a valid phone number\";\n errors = true;\n }\n if (inputField.addressLine1 === \"\") {\n values[index][\"addressLine1Error\"] = \"This field is required.\";\n errors = true;\n }\n if (inputField.city === \"\") {\n values[index][\"cityError\"] = \"This field is required.\";\n errors = true;\n }\n if (inputField.country === \"United States\") {\n if (inputField.state === \"\") {\n values[index][\"stateError\"] =\n \"Please enter a state from the list.\";\n errors = true;\n }\n }\n if (inputField.percentOwned === \"\") {\n values[index][\"percentOwnedError\"] = \"This field is required\";\n errors = true;\n }\n\n if (inputField.country === \"\") {\n values[index][\"countryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n } else if (!isValidCountry(inputField.country)) {\n values[index][\"countryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n }\n if (inputField.postalCode === \"\") {\n values[index][\"postalCodeError\"] = \"This field is required.\";\n errors = true;\n }\n\n if (inputField.domicileCountry === \"\") {\n values[index][\"domicileCountryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n } else if (!isValidCountry(inputField.domicileCountry)) {\n values[index][\"domicileCountryError\"] =\n \"Please enter a country from the list.\";\n errors = true;\n }\n\n if (inputField.dateOfBirth === \"\") {\n values[index][\"dateOfBirthError\"] = \"This field is required.\";\n errors = true;\n } else {\n const date = inputField.dateOfBirth;\n const notValid = !isDobValid(date);\n if (notValid) {\n values[index][\"dateOfBirthError\"] =\n \"Please enter a valid date of birth.\";\n errors = true;\n }\n }\n if (inputField.idNum === \"\") {\n values[index][\"idNumError\"] = \"This field is required.\";\n errors = true;\n } else if (\n inputField.domicileCountry === \"United States\" &&\n !isValidSSN(inputField.idNum)\n ) {\n errors = true;\n values[index][\"idNumError\"] = \"Please enter a valid ssn.\";\n }\n\n return {\n rp_type: \"Person\",\n first_name: inputField.firstName,\n last_name: inputField.lastName,\n email: inputField.email,\n phone_number: inputField.phoneNumber,\n address_line_1: inputField.addressLine1,\n address_line_2: inputField.addressLine2,\n city: inputField.city,\n state:\n inputField.country === \"United States\"\n ? inputField.state.length !== 0\n ? inputField.state\n : \"\"\n : \"\",\n country: inputField.country,\n postal_code: inputField.postalCode,\n address_type: \"RM\",\n date_of_birth: inputField.dateOfBirth,\n id_type:\n inputField.domicileCountry === \"United States\" ? \"SSN\" : \"PASS\",\n id_number: inputField.idNum,\n domicile_country: inputField.domicileCountry,\n role: \"TST\",\n address2_line_1: \"\",\n address2_line_2: \"\",\n address2_city: \"\",\n address2_state: \"\",\n address2_country: \"\",\n address2_postal_code: \"\",\n address2_type: \"\",\n percent_ownership: inputField.percentOwned,\n citizenship: inputField.citizenship,\n ...(supplyPercentOwned && { account_id: inputField.id }),\n };\n } else if (inputField.relatedPartyType === \"Entity\") {\n if (inputField.entityType === \"\") {\n errors = true;\n values[index][\"entityTypeError\"] = \"This field is required.\";\n }\n\n if (inputField.entityName === \"\") {\n errors = true;\n values[index][\"entityNameError\"] = \"This field is required.\";\n }\n\n if (inputField.entityPercentOwned === \"\") {\n errors = true;\n values[index][\"entityPercentOwnedError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityStateOfIncorporation === \"\") {\n errors = true;\n values[index][\"entityStateOfIncorporationError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityType !== \"LT\" &&\n inputField.entityType !== \"SM_LLC\" &&\n inputField.entityTaxIDNumber === \"\"\n ) {\n errors = true;\n values[index][\"entityTaxIDNumberError\"] = \"This field is required.\";\n }\n\n if (inputField.entityPhoneNumber === \"\") {\n errors = true;\n values[index][\"entityPhoneNumberError\"] = \"This field is required.\";\n }\n\n if (inputField.entityAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityCity === \"\") {\n errors = true;\n values[index][\"entityCityError\"] = \"This field is required.\";\n }\n\n if (inputField.entityState === \"\") {\n errors = true;\n values[index][\"entityStateError\"] = \"This field is required.\";\n }\n\n if (inputField.entityPostalCode === \"\") {\n errors = true;\n values[index][\"entityPostalCodeError\"] = \"This field is required.\";\n }\n\n if (inputField.entityMailingAddressDifferent === \"\") {\n errors = true;\n values[index][\"entityMailingAddressDifferentError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingAddressDifferent === \"Yes\") {\n if (inputField.entityMailingAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityMailingAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingCity === \"\") {\n errors = true;\n values[index][\"entityMailingCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingState === \"\") {\n errors = true;\n values[index][\"entityMailingStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingPostalCode === \"\") {\n errors = true;\n values[index][\"entityMailingPostalCodeError\"] =\n \"This field is required.\";\n }\n }\n\n if (inputField.entityIsTrustManagementCompany === \"\") {\n errors = true;\n values[index][\"entityIsTrustManagementCompanyError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonFirstName === \"\") {\n errors = true;\n values[index][\"entityControlPersonFirstNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonLastName === \"\") {\n errors = true;\n values[index][\"entityControlPersonLastNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonEmail === \"\") {\n errors = true;\n values[index][\"entityControlPersonEmailError\"] =\n \"This field is required.\";\n } else if (!isEmailValid(inputField.entityControlPersonEmail)) {\n errors = true;\n values[index][\"entityControlPersonEmailError\"] =\n \"Please enter a valid email.\";\n }\n\n if (inputField.entityControlPersonPhoneNumber === \"\") {\n errors = true;\n values[index][\"entityControlPersonPhoneNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonIsUSBased === \"\") {\n errors = true;\n values[index][\"entityControlPersonIsUSBasedError\"] =\n \"This field is required.\";\n } else if (inputField.entityControlPersonIsUSBased === \"No\") {\n errors = true;\n values[index][\"entityControlPersonIsUSBasedError\"] =\n \"We only support US-based individuals at this time.\";\n }\n\n if (inputField.entityControlPersonIsUSCitizen === \"\") {\n errors = true;\n values[index][\"entityControlPersonIsUSCitizenError\"] =\n \"This field is required.\";\n } /*else if (inputField.entityControlPersonIsUSCitizen === \"No\") {\n errors = true;\n values[index][\"entityControlPersonIsUSCitizenError\"] =\n \"We only support US citizens at this time.\";\n }*/\n\n if (inputField.entityControlPersonPIIAvailable === \"\") {\n errors = true;\n values[index][\"entityControlPersonPIIAvailableError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPIIAvailable === \"Yes\") {\n if (inputField.entityControlPersonAddressLine1 === \"\") {\n errors = true;\n values[index][\"entityControlPersonAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonCity === \"\") {\n errors = true;\n values[index][\"entityControlPersonCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonState === \"\") {\n errors = true;\n values[index][\"entityControlPersonStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPostalCode === \"\") {\n errors = true;\n values[index][\"entityControlPersonPostalCodeError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonDOB === \"\") {\n errors = true;\n values[index][\"entityControlPersonDOBError\"] =\n \"This field is required.\";\n } else if (!isDobValid(inputField.entityControlPersonDOB)) {\n errors = true;\n values[index][\"entityControlPersonDOBError\"] =\n \"Please enter a valid dob.\";\n }\n\n if (inputField.entityControlPersonTaxIDNumber === \"\") {\n errors = true;\n values[index][\"entityControlPersonTaxIDNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPassportDocument === \"\") {\n errors = true;\n values[index][\"entityControlPersonPassportDocumentError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonProofOfAddress === \"\") {\n errors = true;\n values[index][\"entityControlPersonProofOfAddressError\"] =\n \"This field is required.\";\n }\n }\n\n if (inputField.entityCertificateOfFormation === \"\") {\n errors = true;\n values[index][\"entityCertificateOfFormationError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityProofOfAddress === \"\") {\n errors = true;\n values[index][\"entityProofOfAddressError\"] =\n \"This field is required.\";\n }\n\n return {\n rp_type: \"Entity\",\n role: \"TST\",\n entity_type: inputField.entityType,\n entity_name: inputField.entityName,\n entity_percent_owned: inputField.entityPercentOwned,\n entity_state_of_incorporation:\n inputField.entityStateOfIncorporation,\n ...(inputField.entityType !== \"LT\" &&\n inputField.entityType !== \"SM_LLC\" && {\n entity_tax_id_number: inputField.entityTaxIDNumber,\n }),\n entity_phone_number: stripOutDigits(inputField.entityPhoneNumber),\n entity_address_line_1: inputField.entityAddressLine1,\n entity_address_line_2: inputField.entityAddressLine2,\n entity_city: inputField.entityCity,\n entity_state: inputField.entityState,\n entity_postal_code: inputField.entityPostalCode,\n address_type:\n inputField.entityMailingAddressDifferent === \"Yes\" ? \"R\" : \"RM\",\n ...(inputField.entityMailingAddressDifferent === \"Yes\" && {\n entity_mailing_address_line_1:\n inputField.entityMailingAddressLine1,\n entity_mailing_address_line_2:\n inputField.entityMailingAddressLine2,\n entity_mailing_city: inputField.entityMailingCity,\n entity_mailing_state: inputField.entityMailingState,\n entity_mailing_postal_code: inputField.entityMailingPostalCode,\n }),\n entity_is_trust_management_company:\n inputField.entityIsTrustManagementCompany === \"Yes\",\n entity_control_person_first_name:\n inputField.entityControlPersonFirstName,\n entity_control_person_last_name:\n inputField.entityControlPersonLastName,\n entity_control_person_email: inputField.entityControlPersonEmail,\n entity_control_person_phone_number: stripOutDigits(\n inputField.entityControlPersonPhoneNumber\n ),\n entity_control_person_is_us_based:\n inputField.entityControlPersonIsUSBased === \"Yes\",\n entity_control_person_is_us_citizen:\n inputField.entityControlPersonIsUSCitizen === \"Yes\",\n ...(inputField.entityControlPersonPIIAvailable === \"Yes\"\n ? {\n entity_control_person_address_line_1:\n inputField.entityControlPersonAddressLine1,\n entity_control_person_address_line_2:\n inputField.entityControlPersonAddressLine2,\n entity_control_person_city:\n inputField.entityControlPersonCity,\n entity_control_person_state:\n inputField.entityControlPersonState,\n entity_control_person_postal_code:\n inputField.entityControlPersonPostalCode,\n entity_control_person_dob: inputField.entityControlPersonDOB,\n entity_control_person_tax_id_number:\n inputField.entityControlPersonTaxIDNumber,\n }\n : {}),\n documents: [\n {\n category: \"Entity Proof of Address\",\n b64_string: inputField.entityProofOfAddress.b64_string,\n name: \"Entity Proof of Address\",\n },\n {\n category: \"Entity Certificate of Formation\",\n b64_string: inputField.entityCertificateOfFormation.b64_string,\n name: \"Entity Certificate of Formation\",\n },\n ...(inputField.entityControlPersonPIIAvailable === \"Yes\"\n ? [\n {\n category: \"Entity Control Person Passport Document\",\n b64_string:\n inputField.entityControlPersonPassportDocument\n .b64_string,\n name: \"Entity Control Person Passport Document\",\n },\n {\n category: \"Entity Control Person Proof of Address\",\n b64_string:\n inputField.entityControlPersonProofOfAddress.b64_string,\n name: \"Entity Control Person Proof of Address\",\n },\n ]\n : []),\n ],\n };\n }\n });\n\n setRelatedAccounts(values);\n }\n\n if (hasBeneficialOwners === true) {\n let beneficialOwnerValues = [...beneficialOwnerRelatedAccounts];\n beneficialOwnerRequestData = beneficialOwnerRelatedAccounts.map(\n (inputField, index) => {\n if (inputField.relatedPartyType === \"Entity\") {\n if (inputField.entityType === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityTypeError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityName === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityNameError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityPercentOwned === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityPercentOwnedError\"] =\n \"This field is required.\";\n } else if (parseInt(inputField.entityPercentOwned) === 0) {\n errors = true;\n beneficialOwnerValues[index][\"entityPercentOwnedError\"] =\n \"Percent owned must be a value greater than 0.\";\n }\n\n if (inputField.entityStateOfIncorporation === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityStateOfIncorporationError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityType !== \"LT\" &&\n inputField.entityType !== \"SM_LLC\" &&\n inputField.entityTaxIDNumber === \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\"entityTaxIDNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityPhoneNumber === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityPhoneNumberError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityAddressLine1 === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityCity === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityState === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityPostalCode === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityPostalCodeError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingAddressDifferent === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityMailingAddressDifferentError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityMailingAddressDifferent === \"Yes\") {\n if (inputField.entityMailingAddressLine1 === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityMailingAddressLine1Error\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingCity === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityMailingCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingState === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityMailingStateError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityMailingPostalCode === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityMailingPostalCodeError\"] =\n \"This field is required.\";\n }\n }\n\n // if (inputField.entityIsTrustManagementCompany === \"\") {\n // errors = true;\n // beneficialOwnerValues[index][\"entityIsTrustManagementCompanyError\"] =\n // \"This field is required.\";\n // }\n\n if (inputField.entityType === \"TRUST\") {\n if (inputField.entityNestedControlEntityTrusteeType === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityTrusteeTypeError\"\n ] = \"This field is required.\";\n } else if (\n inputField.entityNestedControlEntityTrusteeType === \"Person\"\n ) {\n if (inputField.entityControlPersonFirstName === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonFirstNameError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonLastName === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonLastNameError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonEmail === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonEmailError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPhoneNumber === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonPhoneNumberError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonIsUSBased === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSBasedError\"\n ] = \"This field is required.\";\n } else if (inputField.entityControlPersonIsUSBased === \"No\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSBasedError\"\n ] = \"We only support US-based individuals at this time.\";\n }\n\n if (inputField.entityControlPersonIsUSCitizen === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSCitizenError\"\n ] = \"This field is required.\";\n } /*else if (inputField.entityControlPersonIsUSCitizen === \"No\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSCitizenError\"\n ] = \"We only support US citizens at this time.\";\n }*/\n\n if (inputField.entityControlPersonAddressLine1 === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonAddressLine1Error\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonCity === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonState === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonStateError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPostalCode === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonPostalCodeError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonDOB === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonDOBError\"] =\n \"This field is required.\";\n } else if (!isDobValid(inputField.entityControlPersonDOB)) {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonDOBError\"] =\n \"Please enter a valid dob.\";\n }\n\n if (inputField.entityControlPersonTaxIDNumber === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonTaxIDNumberError\"\n ] = \"This field is required.\";\n } else if (\n !isValidSSN(inputField.entityControlPersonTaxIDNumber)\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonTaxIDNumberError\"\n ] = \"Please enter a valid ssn.\";\n }\n\n if (inputField.entityControlPersonPassportDocument === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonPassportDocumentError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonProofOfAddress === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonProofOfAddressError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityCertificateOfFormation === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityCertificateOfFormationError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityProofOfAddress === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityProofOfAddressError\"] =\n \"This field is required.\";\n }\n } else {\n if (inputField.entityNestedControlEntityType === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityTypeError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityName === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityNameError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityPercentOwned === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityPercentOwnedError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityStateOfIncorporation ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityStateOfIncorporationError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityPhoneNumber === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityPhoneNumberError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityTaxIDNumber === \"\" &&\n inputField.entityNestedControlEntityType !== \"SM_LLC\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityTaxIDNumberError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityAddressLine1 === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityAddressLine1Error\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityCity === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityCityError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityState === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityStateError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityPostalCode === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityPostalCodeError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityIsTrustManagementCompany ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityIsTrustManagementCompanyError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonFirstName ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonFirstNameError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonLastName ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonLastNameError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonEmail === \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonEmailError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonPhoneNumber ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonPhoneNumberError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonIsUSBased ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonIsUSBasedError\"\n ] = \"This field is required.\";\n } else if (\n inputField.entityNestedControlEntityControlPersonIsUSBased ===\n \"No\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonIsUSBasedError\"\n ] = \"We only support US-based individuals at this time.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonIsUSCitizen ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonIsUSCitizenError\"\n ] = \"This field is required.\";\n } /*else if (\n inputField.entityNestedControlEntityControlPersonIsUSCitizen ===\n \"No\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonIsUSCitizenError\"\n ] = \"We only support US citizens at this time.\";\n }*/\n\n if (\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonPIIAvailableError\"\n ] = \"This field is required.\";\n } else if (\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ) {\n if (\n inputField.entityNestedControlEntityControlPersonTaxIDNumber ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonTaxIDNumberError\"\n ] = \"This field is required.\";\n } else if (\n !isValidSSN(\n inputField.entityNestedControlEntityControlPersonTaxIDNumber\n )\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonTaxIDNumberError\"\n ] = \"Please enter a valid ssn.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonDOB === \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonDOBError\"\n ] = \"This field is required.\";\n } else if (\n !isDobValid(\n inputField.entityNestedControlEntityControlPersonDOB\n )\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonDOBError\"\n ] = \"Please enter a valid dob.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonAddressLine1 ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonAddressLine1Error\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonCity === \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonCityError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonState ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonStateError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonPostalCode ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonPostalCodeError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonPassportDocument ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonPassportDocumentError\"\n ] = \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityControlPersonProofOfAddress ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityControlPersonProofOfAddressError\"\n ] = \"This field is required.\";\n }\n }\n\n if (inputField.entityCertificateOfFormation === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityCertificateOfFormationError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityProofOfAddress === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityProofOfAddressError\"] =\n \"This field is required.\";\n }\n\n if (\n inputField.entityNestedControlEntityCertificateOfFormation ===\n \"\"\n ) {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityCertificateOfFormationError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityNestedControlEntityProofOfAddress === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityNestedControlEntityProofOfAddressError\"\n ] = \"This field is required.\";\n }\n }\n } else {\n if (inputField.entityControlPersonFirstName === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonFirstNameError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonLastName === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonLastNameError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonEmail === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonEmailError\"] =\n \"This field is required.\";\n } else if (!isEmailValid(inputField.entityControlPersonEmail)) {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonEmailError\"] =\n \"Please enter a valid email.\";\n }\n\n if (inputField.entityControlPersonPhoneNumber === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonPhoneNumberError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonIsUSBased === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSBasedError\"\n ] = \"This field is required.\";\n } else if (inputField.entityControlPersonIsUSBased === \"No\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSBasedError\"\n ] = \"We only support US-based individuals at this time.\";\n }\n\n if (inputField.entityControlPersonIsUSCitizen === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSCitizenError\"\n ] = \"This field is required.\";\n } /*else if (inputField.entityControlPersonIsUSCitizen === \"No\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonIsUSCitizenError\"\n ] = \"We only support US citizens at this time.\";\n }*/\n\n if (inputField.entityControlPersonPIIAvailable === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonPIIAvailableError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPIIAvailable === \"Yes\") {\n if (inputField.entityControlPersonAddressLine1 === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonAddressLine1Error\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonCity === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonCityError\"] =\n \"This field is required.\";\n }\n\n if (inputField.entityControlPersonState === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonStateError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPostalCode === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonPostalCodeError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonDOB === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonDOBError\"] =\n \"This field is required.\";\n } else if (!isDobValid(inputField.entityControlPersonDOB)) {\n errors = true;\n beneficialOwnerValues[index][\"entityControlPersonDOBError\"] =\n \"Please enter a valid dob.\";\n }\n\n if (inputField.entityControlPersonTaxIDNumber === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonTaxIDNumberError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonPassportDocument === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonPassportDocumentError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityControlPersonProofOfAddress === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityControlPersonProofOfAddressError\"\n ] = \"This field is required.\";\n }\n }\n\n if (inputField.entityCertificateOfFormation === \"\") {\n errors = true;\n beneficialOwnerValues[index][\n \"entityCertificateOfFormationError\"\n ] = \"This field is required.\";\n }\n\n if (inputField.entityProofOfAddress === \"\") {\n errors = true;\n beneficialOwnerValues[index][\"entityProofOfAddressError\"] =\n \"This field is required.\";\n }\n }\n\n return {\n rp_type: \"Entity\",\n role: \"BO\",\n entity_type: inputField.entityType,\n entity_name: inputField.entityName,\n entity_percent_owned: inputField.entityPercentOwned,\n entity_state_of_incorporation:\n inputField.entityStateOfIncorporation,\n ...(inputField.entityType !== \"LT\" &&\n inputField.entityType !== \"SM_LLC\" && {\n entity_tax_id_number: inputField.entityTaxIDNumber,\n }),\n entity_phone_number: stripOutDigits(inputField.entityPhoneNumber),\n entity_address_line_1: inputField.entityAddressLine1,\n entity_address_line_2: inputField.entityAddressLine2,\n entity_city: inputField.entityCity,\n entity_state: inputField.entityState,\n entity_postal_code: inputField.entityPostalCode,\n address_type:\n inputField.entityMailingAddressDifferent === \"Yes\" ? \"R\" : \"RM\",\n entity_mailing_address_line_1:\n inputField.entityMailingAddressLine1,\n entity_mailing_address_line_2:\n inputField.entityMailingAddressLine2,\n entity_mailing_city: inputField.entityMailingCity,\n entity_mailing_state: inputField.entityMailingState,\n entity_mailing_postal_code: inputField.entityMailingPostalCode,\n ...(inputField.entityType !== \"TRUST\" && {\n entity_control_person_first_name:\n inputField.entityControlPersonFirstName,\n entity_control_person_last_name:\n inputField.entityControlPersonLastName,\n entity_control_person_email:\n inputField.entityControlPersonEmail,\n entity_control_person_phone_number: stripOutDigits(\n inputField.entityControlPersonPhoneNumber\n ),\n entity_control_person_is_us_based:\n inputField.entityControlPersonIsUSBased,\n entity_control_person_is_us_citizen:\n inputField.entityControlPersonIsUSCitizen,\n ...(inputField.entityControlPersonPIIAvailable === \"Yes\"\n ? {\n entity_control_person_address_line_1:\n inputField.entityControlPersonAddressLine1,\n entity_control_person_address_line_2:\n inputField.entityControlPersonAddressLine2,\n entity_control_person_city:\n inputField.entityControlPersonCity,\n entity_control_person_state:\n inputField.entityControlPersonState,\n entity_control_person_postal_code:\n inputField.entityControlPersonPostalCode,\n entity_control_person_dob:\n inputField.entityControlPersonDOB,\n entity_control_person_tax_id_number:\n inputField.entityControlPersonTaxIDNumber,\n }\n : {}),\n documents: [\n {\n category: \"Entity Proof of Address\",\n b64_string: inputField.entityProofOfAddress.b64_string,\n name: \"Entity Proof of Address\",\n },\n {\n category: \"Entity Certificate of Formation\",\n b64_string:\n inputField.entityCertificateOfFormation.b64_string,\n name: \"Entity Certificate of Formation\",\n },\n ...(inputField.entityControlPersonPIIAvailable === \"Yes\"\n ? [\n {\n category: \"Entity Control Person Passport Document\",\n b64_string:\n inputField.entityControlPersonPassportDocument\n .b64_string,\n name: \"Entity Control Person Passport Document\",\n },\n {\n category: \"Entity Control Person Proof of Address\",\n b64_string:\n inputField.entityControlPersonProofOfAddress\n .b64_string,\n name: \"Entity Control Person Proof of Address\",\n },\n ]\n : []),\n ],\n }),\n ...(inputField.entityType === \"TRUST\" && {\n ...(inputField.entityNestedControlEntityTrusteeType ===\n \"Person\" && {\n entity_control_person_first_name:\n inputField.entityControlPersonFirstName,\n entity_control_person_last_name:\n inputField.entityControlPersonLastName,\n entity_control_person_email:\n inputField.entityControlPersonEmail,\n entity_control_person_phone_number: stripOutDigits(\n inputField.entityControlPersonPhoneNumber\n ),\n entity_control_person_is_us_based:\n inputField.entityControlPersonIsUSBased,\n entity_control_person_is_us_citizen:\n inputField.entityControlPersonIsUSCitizen,\n entity_control_person_address_line_1:\n inputField.entityControlPersonAddressLine1,\n entity_control_person_address_line_2:\n inputField.entityControlPersonAddressLine2,\n entity_control_person_city:\n inputField.entityControlPersonCity,\n entity_control_person_state:\n inputField.entityControlPersonState,\n entity_control_person_postal_code:\n inputField.entityControlPersonPostalCode,\n entity_control_person_dob: inputField.entityControlPersonDOB,\n entity_control_person_tax_id_number:\n inputField.entityControlPersonTaxIDNumber,\n documents: [\n {\n category: \"Entity Proof of Address\",\n b64_string: inputField.entityProofOfAddress.b64_string,\n name: \"Entity Proof of Address\",\n },\n {\n category: \"Entity Certificate of Formation\",\n b64_string:\n inputField.entityCertificateOfFormation.b64_string,\n name: \"Entity Certificate of Formation\",\n },\n\n {\n category: \"Entity Control Person Passport Document\",\n b64_string:\n inputField.entityControlPersonPassportDocument\n .b64_string,\n name: \"Entity Control Person Passport Document\",\n },\n {\n category: \"Entity Control Person Proof of Address\",\n b64_string:\n inputField.entityControlPersonProofOfAddress.b64_string,\n name: \"Entity Control Person Proof of Address\",\n },\n ],\n }),\n ...(inputField.entityNestedControlEntityTrusteeType ===\n \"Entity\" && {\n nested_rp_type: \"Entity\",\n nested_role: \"TST\",\n nested_entity_type: inputField.entityNestedControlEntityType,\n nested_entity_name: inputField.entityNestedControlEntityName,\n nested_entity_state_of_incorporation:\n inputField.entityNestedControlEntityStateOfIncorporation,\n nested_entity_percent_owned:\n inputField.entityNestedControlEntityPercentOwned,\n nested_entity_phone_number: stripOutDigits(\n inputField.entityNestedControlEntityPhoneNumber\n ),\n nested_entity_tax_id_number:\n inputField.entityNestedControlEntityTaxIDNumber,\n nested_entity_address_type: \"RM\",\n nested_entity_address_line_1:\n inputField.entityNestedControlEntityAddressLine1,\n nested_entity_address_line_2:\n inputField.entityNestedControlEntityAddressLine2,\n nested_entity_city: inputField.entityNestedControlEntityCity,\n nested_entity_state:\n inputField.entityNestedControlEntityState,\n nested_entity_postal_code:\n inputField.entityNestedControlEntityPostalCode,\n nested_entity_is_trust_management_company:\n inputField.entityNestedControlEntityIsTrustManagementCompany,\n nested_entity_mailing_address_line_1: \"\",\n nested_entity_mailing_address_line_2: \"\",\n nested_entity_mailing_city: \"\",\n nested_entity_mailing_state: \"\",\n nested_entity_mailing_postal_code: \"\",\n nested_entity_control_person_first_name:\n inputField.entityNestedControlEntityControlPersonFirstName,\n nested_entity_control_person_last_name:\n inputField.entityNestedControlEntityControlPersonLastName,\n nested_entity_control_person_email:\n inputField.entityNestedControlEntityControlPersonEmail,\n nested_entity_control_person_phone_number: stripOutDigits(\n inputField.entityNestedControlEntityControlPersonPhoneNumber\n ),\n nested_entity_control_person_is_us_based:\n inputField.entityNestedControlEntityControlPersonIsUSBased,\n nested_entity_control_person_is_us_citizen:\n inputField.entityNestedControlEntityControlPersonIsUSCitizen,\n nested_entity_control_person_address_line_1:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonAddressLine1\n : \"\",\n nested_entity_control_person_address_line_2:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityAddressLine2\n : \"\",\n nested_entity_control_person_city:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonCity\n : \"\",\n nested_entity_control_person_state:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonState\n : \"\",\n nested_entity_control_person_postal_code:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonPostalCode\n : \"\",\n nested_entity_control_person_dob:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonDOB\n : \"\",\n nested_entity_control_person_tax_id_number:\n inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? inputField.entityNestedControlEntityControlPersonTaxIDNumber\n : \"\",\n documents: [\n {\n category: \"Trust Proof of Address\",\n b64_string: inputField.entityProofOfAddress.b64_string,\n name: \"Trust Proof of Address\",\n },\n {\n category: \"Trust Certificate of Formation\",\n b64_string:\n inputField.entityCertificateOfFormation.b64_string,\n name: \"Trust Certificate of Formation\",\n },\n ],\n nested_documents: [\n {\n category: \"Trustee Certificate of Formation\",\n b64_string:\n inputField\n .entityNestedControlEntityCertificateOfFormation\n .b64_string,\n name: \"Trust Certificate of Formation\",\n },\n {\n category: \"Trustee Proof of Address\",\n b64_string:\n inputField.entityNestedControlEntityProofOfAddress\n .b64_string,\n name: \"Trust Proof of Address\",\n },\n ...(inputField.entityNestedControlEntityControlPersonPIIAvailable ===\n \"Yes\"\n ? [\n {\n category:\n \"Trustee Entity Control Person Passport Document\",\n b64_string:\n inputField\n .entityNestedControlEntityControlPersonPassportDocument\n .b64_string,\n name: \"Trustee Entity Control Person Passport Document\",\n },\n {\n category:\n \"Trustee Entity Control Person Proof of Address\",\n b64_string:\n inputField\n .entityNestedControlEntityControlPersonProofOfAddress\n .b64_string,\n name: \"Trustee Entity Control Person Proof of Address\",\n },\n ]\n : []),\n ],\n }),\n }),\n };\n } else {\n if (inputField.firstName === \"\") {\n beneficialOwnerValues[index][\"firstNameError\"] =\n \"This field is required.\";\n errors = true;\n }\n\n if (inputField.lastName === \"\") {\n beneficialOwnerValues[index][\"lastNameError\"] =\n \"This field is required.\";\n errors = true;\n }\n\n if (inputField.email === \"\") {\n beneficialOwnerValues[index][\"emailError\"] =\n \"This field is required.\";\n errors = true;\n } else if (!isEmailValid(inputField.email)) {\n beneficialOwnerValues[index][\"emailError\"] =\n \"Please enter a valid email.\";\n errors = true;\n }\n\n if (inputField.phoneNumber === \"\") {\n beneficialOwnerValues[index][\"phoneNumberError\"] =\n \"This field is required.\";\n errors = true;\n } else if (stripOutDigits(inputField.phoneNumber).length < 11) {\n beneficialOwnerValues[index][\"phoneNumberError\"] =\n \"Please enter a valid phone number.\";\n errors = true;\n }\n\n if (inputField.isUSCitizen === \"\") {\n beneficialOwnerValues[index][\"isUSCitizenError\"] =\n \"This field is required.\";\n errors = true;\n }\n\n if (inputField.addressLine1 === \"\") {\n beneficialOwnerValues[index][\"addressLine1Error\"] =\n \"This field is required.\";\n errors = true;\n }\n\n if (inputField.city === \"\") {\n beneficialOwnerValues[index][\"cityError\"] =\n \"This field is required.\";\n errors = true;\n }\n\n if (\n inputField.state === \"\" &&\n inputField.country === \"United States\"\n ) {\n beneficialOwnerValues[index][\"stateError\"] =\n \"This field is required.\";\n errors = true;\n }\n\n if (inputField.postalCode === \"\") {\n beneficialOwnerValues[index][\"postalCodeError\"] =\n \"This field is required.\";\n errors = true;\n }\n\n if (inputField.dateOfBirth === \"\") {\n beneficialOwnerValues[index][\"dateOfBirthError\"] =\n \"This field is required.\";\n errors = true;\n } else if (!isDobValid(inputField.dateOfBirth)) {\n beneficialOwnerValues[index][\"dateOfBirthError\"] =\n \"Please enter a valid date of birth.\";\n errors = true;\n }\n\n if (inputField.idNum === \"\") {\n beneficialOwnerValues[index][\"idNumError\"] =\n \"This field is requred.\";\n errors = true;\n } else if (\n !isValidSSN(inputField.idNum) &&\n inputField.country === \"United States\"\n ) {\n beneficialOwnerValues[index][\"idNumError\"] =\n \"Please enter a valid ssn.\";\n errors = true;\n }\n\n if (inputField.percentOwned === \"\") {\n beneficialOwnerValues[index][\"percentOwnedError\"] =\n \"This field is required.\";\n errors = true;\n }\n\n return {\n rp_type: \"Person\",\n first_name: inputField.firstName,\n last_name: inputField.lastName,\n email: inputField.email,\n phone_number: stripOutDigits(inputField.phoneNumber),\n address_line_1: inputField.addressLine1,\n address_line_2: inputField.addressLine2,\n city: inputField.city,\n state: inputField.state,\n postal_code: inputField.postalCode,\n address_type: \"RM\",\n date_of_birth: inputField.dateOfBirth,\n id_type: inputField.country === \"United States\" ? \"SSN\" : \"PASS\",\n id_number: inputField.idNum,\n domicile_country: inputField.country,\n role: \"BO\",\n is_us_citizen: inputField.isUSCitizen,\n percent_ownership: inputField.percentOwned,\n country: inputField.country,\n ...(inputField.isUSCitizen !== \"Yes\"\n ? { citizenship: inputField.citizenship }\n : { citizenship: \"United States\" }),\n };\n }\n }\n );\n\n setBeneficialOwnerRelatedAccounts(beneficialOwnerValues);\n }\n\n if (grantorFirstName === \"\") {\n setGrantorFirstNameError(\"This field is required.\");\n errors = true;\n }\n\n if (grantorLastName === \"\") {\n setGrantorLastNameError(\"This field is required.\");\n errors = true;\n }\n\n if (grantorEmail === \"\") {\n setGrantorEmailError(\"This field is required.\");\n errors = true;\n } else if (!isEmailValid(grantorEmail)) {\n setGrantorEmailError(\"Please enter a valid email.\");\n errors = true;\n }\n\n if (grantorPhoneNumber === \"\") {\n setGrantorPhoneNumberError(\"Please enter a phone number.\");\n errors = true;\n } else if (grantorPhoneNumber.length < 7) {\n setGrantorPhoneNumberError(\"Please enter a valid phone number\");\n errors = true;\n }\n\n if (grantorDomicileCountry === \"\") {\n setGrantorDomicileCountryError(\n \"Please enter a domicile country from the dropdown.\"\n );\n errors = true;\n }\n\n if (grantorAddressLine1 === \"\") {\n setGrantorAddressLine1Error(\"This field is required.\");\n errors = true;\n }\n\n if (grantorCity === \"\") {\n setGrantorCityError(\"This field is required.\");\n errors = true;\n }\n\n if (grantorCountry === \"United States\" && grantorState === \"\") {\n setGrantorStateError(\"Please enter a state from the dropdown.\");\n errors = true;\n }\n\n if (grantorCountry === \"\") {\n setGrantorCountryError(\"Please enter a country from the dropdown.\");\n errors = true;\n }\n\n if (grantorPostalCode === \"\") {\n setGrantorPostalCodeError(\"This field is required.\");\n errors = true;\n }\n\n if (grantorDOB === \"\") {\n setGrantorDOBError(\"This field is required.\");\n errors = true;\n } else if (!isDobValid(grantorDOB)) {\n setGrantorDOBError(\"Please enter a valid dob.\");\n errors = true;\n }\n\n if (grantorIDNumber === \"\") {\n setGrantorIDNumberError(\"This field is required.\");\n errors = true;\n }\n\n if (grantorCitizenship === \"\") {\n setGrantorCitizenshipError(\"Please enter your country of citizenship.\");\n errors = true;\n }\n\n if (\n grantorDomicileCountryError === \"United States\" &&\n !isValidSSN(grantorIDNumber)\n ) {\n setGrantorIDNumberError(\"Please enter a valid ssn.\");\n errors = true;\n }\n\n // if (relatedAccounts.length >= 1) {\n if (errors) {\n setSubmissionInProgress(false);\n return;\n } else {\n let grantorInformation = {\n rp_type: \"Person\",\n first_name: grantorFirstName,\n last_name: grantorLastName,\n email: grantorEmail,\n phone_number: grantorPhoneNumber,\n address_line_1: grantorAddressLine1,\n address_line_2: grantorAddressLine2,\n city: grantorCity,\n state:\n grantorCountry === \"United States\"\n ? grantorState.length !== 0\n ? grantorState\n : \"\"\n : \"\",\n country: grantorCountry,\n postal_code: grantorPostalCode,\n address_type: \"RM\",\n date_of_birth: grantorDOB,\n id_type: grantorDomicileCountry === \"United States\" ? \"SSN\" : \"PASS\",\n id_number: grantorIDNumber,\n account_id: accountID,\n domicile_country: grantorDomicileCountry,\n role: \"G\",\n address2_line_1: \"\",\n address2_line_2: \"\",\n address2_city: \"\",\n address2_state: \"\",\n address2_country: \"\",\n address2_postal_code: \"\",\n address2_type: \"\",\n citizenship: grantorCitizenship,\n percent_ownership: grantorPercentOwned,\n };\n requestData.push(grantorInformation);\n requestData = requestData.concat(trusteeRequestData);\n requestData = requestData.concat(beneficialOwnerRequestData);\n // make request to backend with grantor and trustee information here\n\n try {\n await updateRelatedPartyInformation({\n data: requestData,\n account_id: accountID,\n has_related_party: hasTrustees || hasBeneficialOwners,\n ...(accountType === \"TRUST\" &&\n hasAlternateSignatory === \"Yes\" && {\n signer_information: {\n name: alternateSignatoryFullName,\n title: alternateSignatoryTitle,\n email: alternateSignatoryEmail,\n },\n }),\n });\n\n setHideButton(true);\n setHideAlterButtons(true);\n //history.push(\"/investment-accounts\");\n // Make sure that the active slide is progressed to the next page on success. Don't want the user to be able to adjust the information that they supplied.\n setActiveSlide((prevState) => prevState + 2);\n } catch (err) {\n console.log(err);\n setSubmissionInProgress(false);\n }\n }\n };\n\n useEffect(() => {\n setGrantorPhoneNumberError(\"\");\n }, [grantorPhoneNumber]);\n\n const addNewTab = () => {\n setRelatedAccounts([\n ...relatedAccounts,\n {\n relatedPartyType: \"\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n },\n ]);\n setActiveTab(\"Trustee #\" + (relatedAccounts.length + 1).toString());\n };\n\n const beneficialOwnerAddNewTab = () => {\n setBeneficialOwnerRelatedAccounts([\n ...beneficialOwnerRelatedAccounts,\n {\n relatedPartyType: \"\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n },\n ]);\n setActiveBeneficialOwnerTab(\n \"Beneficial Owner #\" +\n (beneficialOwnerRelatedAccounts.length + 1).toString()\n );\n };\n\n const handleRemoveFields = (index) => {\n const nextIdx = index === 0 ? 0 : index - 1;\n setActiveTab(\"Trustee #\" + (nextIdx + 1).toString());\n setRelatedAccounts((relatedAccounts) =>\n relatedAccounts.filter((elem, idx) => idx !== index)\n );\n };\n\n const beneficialOwnerHandleRemoveFields = (index) => {\n const nextIdx = index === 0 ? 0 : index - 1;\n setActiveBeneficialOwnerTab(\n \"Beneficial Owner #\" + (nextIdx + 1).toString()\n );\n setBeneficialOwnerRelatedAccounts((beneficialOwnerRelatedAccounts) =>\n beneficialOwnerRelatedAccounts.filter((elem, idx) => idx !== index)\n );\n };\n\n const yesNoOptions = [\n { value: \"Yes\", label: \"Yes\" },\n { value: \"No\", label: \"No\" },\n ];\n\n return (\n
    \n
    \n
    \n
    \n \n
    \n
    \n {accountType === \"TRUST\" && (\n \n
    \n \n Alternate Signatory Information\n \n
    \n
    \n
    \n \n
    \n
    \n {hasAlternateSignatory === \"Yes\" && (\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n )}\n
    \n )}\n\n
    \n \n Trustee Information\n \n
    \n \n \n {!hideButton && (\n
    \n
    \n
    \n {\n submit();\n }}\n >\n {submissionInProgress && (\n
    \n
    \n \n Submit\n \n \n
    \n
    \n )}\n {!submissionInProgress && Submit}\n \n
    \n
    \n
    \n )}\n
    \n
    \n );\n}\nexport default TrustAccountRelatedPartyInformation;\n","import React from \"react\";\nimport EntityAccountRelatedPartyInformation from \"./EntityAccountRelatedPartyInformation/EntityAccountRelatedPartyInformation\";\nimport TrustAccountRelatedPartyInformation from \"./TrustAccountRelatedPartyInformation/TrustAccountRelatedPartyInformation\";\nimport \"./AccountRelatedPartyInformationStyles/AccountRelatedPartyInformationStyles.scss\";\n\nconst AccountRelatedPartyInformation = ({\n accountType,\n processedCountryList,\n processedStateList,\n setActiveSlide,\n accountID,\n mountedStyle,\n unmountedStyle,\n supplyPercentOwned,\n}) => {\n return (\n \n {(accountType === \"TRUST\" || accountType === \"LT\") && (\n \n )}\n {(accountType === \"LLC\" ||\n accountType === \"C-CORP\" ||\n accountType === \"S-CORP\" ||\n accountType === \"LP\" ||\n accountType === \"GP\" ||\n accountType === \"FE\") && (\n \n )}\n \n );\n};\n\nexport default AccountRelatedPartyInformation;\n","import React, { useState, useEffect } from \"react\";\n\nfunction AdditionalQuestionsEntQuestion({\n questionNumber,\n questionText,\n answer,\n setAnswer,\n hasBeneficialOwnersError,\n}) {\n console.log(answer);\n return (\n \n
    \n {questionText}\n
    \n
    \n
    \n \n {\n setAnswer(true);\n }}\n />\n
    \n Yes\n \n
    \n
    \n \n {\n setAnswer(false);\n }}\n />\n
    \n No\n \n
    \n
    \n {hasBeneficialOwnersError && (\n
    \n \n {hasBeneficialOwnersError}\n
    \n \n )}\n
    \n );\n}\nexport default AdditionalQuestionsEntQuestion;\n","import React, { useState, useEffect } from \"react\";\nimport \"./AccountRelatedPartyInformation/AccountRelatedPartyInformationStyles/AccountRelatedPartyInformationStyles.scss\";\nimport AdditionalQuestionsEntQuestion from \"./AdditionalQuestionsEntQuestion\";\nimport StyledPhoneInputField from \"../../../../GlobalComponents/InputField/StyledPhoneInputField/StyledPhoneInputField\";\nimport { stateList } from \"../../../../Components/GlobalComponents/stateList\";\nimport SelectField from \"../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport IndividualAccountBasicInformationQualificationSection from \"./AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformationQualificationSection/IndividualAccountBasicInformationQualificationSection\";\nimport IndividualAccountBasicInformationQualificationErrorSection from \"./AccountBasicInformation/IndividualAccountBasicInformation/IndividualAccountBasicInformationQualificationSection/IndividualAccountBasicInformationQualificationErrorSection/IndividualAccountBasicInformationQualificationErrorSection\";\nimport {\n isValidPhoneNumber,\n isEmailValid,\n} from \"../../../../Functions/functions.js\";\n\nimport { additionalEntityInformation } from \"../../../../Api/ProfileApi\";\n\nconst AdditionalQuestionsEnt = ({\n accountType,\n processedCountryList,\n processedStateList,\n setActiveSlide,\n accountID,\n mountedStyle,\n unmountedStyle,\n answer,\n setAnswer,\n error,\n setError,\n businessPhone,\n setBusinessPhone,\n businessPhoneError,\n setBusinessPhoneError,\n stateOfIncorp,\n setStateOfIncorp,\n stateOfIncorpError,\n setStateOfIncorpError,\n countryOfFormation,\n qualQ1,\n setQualQ1,\n qualError,\n setQualError,\n grantorUSCitizen,\n setGrantorUSCitizen,\n grantorError,\n setGrantorError,\n}) => {\n useEffect(() => {\n if (qualQ1 === false) {\n setQualError(\"You don't qualify.\");\n } else {\n setQualError(\"\");\n }\n }, [qualQ1]);\n\n useEffect(() => {\n setError(\"\");\n }, [answer]);\n\n const submit = async () => {\n var errors = false;\n setSubmissionInProgress(true);\n\n if (stateOfIncorp === \"\" && countryOfFormation === \"United States\") {\n errors = true;\n setStateOfIncorpError(\"Please select a state.\");\n }\n\n // isValidPhone does not work for this component, use func from react-phone-input\n if (businessPhone === \"\") {\n errors = true;\n setBusinessPhoneError(\"Please enter a business phone number.\");\n }\n\n if (grantorUSCitizen === \"\" && [\"LT\", \"RT\"].includes(accountType)) {\n errors = true;\n setGrantorError(\"This field is required.\");\n }\n\n if (!errors) {\n //\n\n let payload = {};\n payload.account_id = accountID;\n payload.is_sm_llc = accountType === \"SM_LLC\";\n payload.business_phone = businessPhone;\n payload.qual_question = qualQ1;\n payload.grantor_us_citizen = grantorUSCitizen;\n\n payload.state_of_incorporation = stateOfIncorp;\n\n await additionalEntityInformation(payload);\n\n setActiveSlide((prevState) => prevState - 1);\n }\n\n setSubmissionInProgress(false);\n return;\n };\n\n const [submissionInProgress, setSubmissionInProgress] = useState(false);\n return (\n \n
    \n
    \n
    \n
    \n

    Additional Info Required

    \n
    \n \n
    \n \n
    \n {countryOfFormation === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n {[\"LT\", \"RT\"].includes(accountType) && false && (\n \n )}\n {answer === true && (\n \n )}\n {qualError === \"\" && (\n
    \n
    \n
    \n {\n submit();\n }}\n >\n {submissionInProgress && (\n
    \n
    \n \n Submit\n \n \n
    \n
    \n )}\n {!submissionInProgress && Submit}\n \n
    \n
    \n
    \n )}{\" \"}\n
    \n
    \n
    \n
    \n );\n};\n\nexport default AdditionalQuestionsEnt;\n","import React from \"react\";\nimport { useHistory } from \"react-router\";\n\nfunction AccountComplete({ accountID }) {\n let history = useHistory();\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n \n Account status:\n \n\n \n Complete\n \n
    \n
    \n
    \n
    \n
    \n {\n if (accountID !== undefined) {\n history.push(\n \"/investment-accounts/account-details/\" + accountID\n );\n }\n }}\n >\n
    \n
    \n \n View Account Details\n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n );\n}\nexport default AccountComplete;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { useHistory } from \"react-router\";\nimport Header from \"../../../../Components/GlobalComponents/Header\";\nimport Carousel from \"react-bootstrap/Carousel\";\nimport \"./AddInvestmentAccountStyles/AddInvestmentAccountStyles.scss\";\nimport useDelayUnmount from \"../../../../CustomHooks/useDelayUnmount.js\";\nimport AccountBasicInformation from \"./AccountBasicInformation/AccountBasicInformation\";\nimport AccountLegalInformation from \"./AccountLegalInformation/AccountLegalInformation\";\nimport AccountRelatedPartyInformation from \"./AccountRelatedPartyInformation/AccountRelatedPartyInformation\";\nimport AdditionalQuestionsEnt from \"./AdditionalQuestionsEnt.js\";\nimport Alert from \"@mui/material/Alert\";\nimport { useParams } from \"react-router\";\nimport { stateList } from \"../../../../Components/GlobalComponents/stateList\";\nimport { countryList } from \"../../../../Components/countryList\";\nimport { UserContext } from \"../../../../GlobalContexts/UserContext\";\nimport GetIncompleteInvestmentAccountAdapter from \"../../../../Adapters/GetIncompleteInvestmentAccountAdapter\";\nimport AccountComplete from \"./AccountComplete/AccountComplete\";\n\nfunction AddInvestmentAccount() {\n let history = useHistory();\n\n const { id } = useParams();\n\n const { user, setUser } = useContext(UserContext);\n const [loading, setLoading] = useState(true);\n\n const [activeSlide, setActiveSlide] = useState(0);\n\n const [accountType, setAccountType] = useState(\"\");\n const [accountTypeError, setAccountTypeError] = useState(\"\");\n\n const [legalAccountName, setLegalAccountName] = useState(\"\");\n const [legalAccountNameError, setLegalAccountNameError] = useState(\"\");\n\n const [domicileCountry, setDomicileCountry] = useState(\"\");\n const [domicileCountryError, setDomicileCountryError] = useState(\"\");\n\n const [countryOfFormation, setCountryOfFormation] = useState(\"\");\n const [countryOfFormationError, setCountryOfFormationError] = useState(\"\");\n\n const [individualQualificationQ1, setIndividualQualificationQ1] =\n useState(\"\");\n\n const [trustQualificationQ1, setTrustQualificationQ1] = useState(\"\");\n const [trustQualificationQ2, setTrustQualificationQ2] = useState(\"\");\n const [trustQualificationQ3, setTrustQualificationQ3] = useState(\"\");\n const [trustQualificationQ4, setTrustQualificationQ4] = useState(\"\");\n\n const [entityQualificationQ1, setEntityQualificationQ1] = useState(\"\");\n const [entityQualificationQ2, setEntityQualificationQ2] = useState(\"\");\n const [entityQualificationQ3, setEntityQualificationQ3] = useState(\"\");\n const [entityQualificationQ4, setEntityQualificationQ4] = useState(\"\");\n const [entityQualificationQ5, setEntityQualificationQ5] = useState(\"\");\n\n const [alertError, setAlertError] = useState(\"\");\n const [accountID, setAccountID] = useState(null);\n\n const [smLlc, setSmLlc] = useState(null);\n const [smLlcError, setSmLlcError] = useState(\"\");\n\n const [grantorUSCitizen, setGrantorUSCitizen] = useState(null);\n const [grantorError, setGrantorError] = useState(\"\");\n\n const [stateOfIncorp, setStateOfIncorp] = useState(\"\");\n const [stateOfIncorpError, setStateOfIncorpError] = useState(\"\");\n const [businessPhone, setBusinessPhone] = useState(\"\");\n const [businessPhoneError, setBusinessPhoneError] = useState(\"\");\n\n const [qualQ1, setQualQ1] = useState(\"\");\n const [qualError, setQualError] = useState(\"\");\n\n const mountedStyle = {\n opacity: 1,\n transition: \"opacity 1.5s ease-out, transform 400ms ease-out\",\n };\n const unmountedStyle = { opacity: 0, transition: \"opacity 400ms ease-in\" };\n\n const [investorProfileComplete, setInvestorProfileComplete] = useState(false);\n\n const [supplyPercentOwned, setSupplyPercentOwned] = useState(false);\n\n const { investmentAccountData } = GetIncompleteInvestmentAccountAdapter(\n investorProfileComplete,\n setInvestorProfileComplete,\n id,\n setLoading,\n accountType,\n setAccountType,\n activeSlide,\n setActiveSlide,\n legalAccountName,\n setLegalAccountName,\n domicileCountry,\n setDomicileCountry,\n countryOfFormation,\n setCountryOfFormation,\n accountID,\n setAccountID,\n setSupplyPercentOwned\n );\n\n const [\n showIndividualQualificationSection,\n setShowIndividualQualificationSection,\n ] = useState(false);\n\n const hasIndividualAcct = user.accountListData.some(\n (account) => account.account_type === \"IND\"\n );\n\n const hasJointAcct = user.accountListData.some(\n (account) => account.account_type === \"JOINT\"\n );\n\n const shouldRenderIndividualQualificationSection = useDelayUnmount(\n showIndividualQualificationSection,\n 400,\n true\n );\n const [showTrustQualificationSection, setShowTrustQualificationSection] =\n useState(false);\n const shouldRenderTrustQualificationSection = useDelayUnmount(\n showTrustQualificationSection,\n 400,\n true\n );\n const [showEntityQualificationSection, setShowEntityQualificationSection] =\n useState(false);\n const shouldRenderEntityQualificationSection = useDelayUnmount(\n showEntityQualificationSection,\n 400,\n true\n );\n const showLegalAccountNameField = useDelayUnmount(\n ![\"IND\", \"JOINT\"].includes(accountType),\n 400,\n false\n );\n\n const accountTypeOptions = [\n { value: \"LT\", label: \"Revocable Trust\" },\n { value: \"TRUST\", label: \"Irrevocable Trust\" },\n { value: \"LLC\", label: \"LLC\" },\n { value: \"C-CORP\", label: \"C Corporation\" },\n { value: \"S-CORP\", label: \"S Corporation\" },\n { value: \"LP\", label: \"Limited Partnership\" },\n { value: \"GP\", label: \"General Partnership\" },\n { value: \"FE\", label: \"Foreign Entity\" },\n { value: \"SM_LLC\", label: \"Single-Member LLC\" },\n ...(false ? [{ value: \"JOINT\", label: \"Joint Account\" }] : []),\n ...(!hasIndividualAcct\n ? [{ value: \"IND\", label: \"Individual Account\" }]\n : []),\n ];\n\n useEffect(() => {\n if (id !== undefined) {\n setAccountID(id);\n }\n }, [id]);\n\n useEffect(() => {\n if ([\"IND\", \"JOINT\", \"SM_LLC\"].includes(accountType)) {\n setShowIndividualQualificationSection(true);\n setShowTrustQualificationSection(false);\n setShowEntityQualificationSection(false);\n setAlertError(\"\");\n } else if (accountType === \"LT\" || accountType === \"TRUST\") {\n setShowTrustQualificationSection(true);\n setShowIndividualQualificationSection(false);\n setShowEntityQualificationSection(false);\n setAlertError(\"\");\n } else if (accountType !== \"\") {\n setShowEntityQualificationSection(true);\n setShowTrustQualificationSection(false);\n setShowIndividualQualificationSection(false);\n setAlertError(\"\");\n }\n }, [accountType]);\n\n const nextButtonValidation = () => {\n if (accountType === \"IND\") {\n } else if (accountType === \"LT\" || accountType === \"TRUST\") {\n } else if (accountType !== \"\") {\n } else {\n setAlertError(\"Please make an account type selection.\");\n }\n };\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n history.push(\"/investment-accounts\")}\n />\n Add Account\n
    \n
    \n
    \n \n \n \n {alertError !== \"\" && (\n
    \n {alertError}\n
    \n )}\n
    \n \n \n \n \n \n \n \n \n \n \n {\" \"}\n \n \n
    \n
    \n \n );\n}\nexport default AddInvestmentAccount;\n","import { useState, useEffect } from \"react\";\nimport { getAccountSummary } from \"../Api/ProfileApi\";\nimport { useContext } from \"react\";\nimport { UserContext } from \"../GlobalContexts/UserContext\";\n\nexport default function GetIncompleteInvestmentAccountAdapter(\n investorProfileComplete,\n setInvestorProfileComplete,\n investmentAccountID,\n setLoading,\n accountType,\n setAccountType,\n activeSlide,\n setActiveSlide,\n legalAccountName,\n setLegalAccountName,\n domicileCountry,\n setDomicileCountry,\n countryOfFormation,\n setCountryOfFormation,\n accountID,\n setAccountID,\n setSupplyPercentOwned\n) {\n const { user } = useContext(UserContext);\n\n console.log(\"Here\");\n\n useEffect(() => {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"The user is: \" + JSON.stringify(user));\n }\n }, [user]);\n\n useEffect(() => {\n if (investmentAccountID !== undefined) {\n console.log(\"Inside second use effect\");\n async function getIncompleteInvestmentAccountInfo() {\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\"Call occurred here.\");\n }\n setLoading(true);\n try {\n const response = await getAccountSummary(investmentAccountID);\n if (process.env.REACT_APP_DEBUG === \"1\") {\n console.log(\n \"Response in the get incomplete investment account adapter is: \" +\n JSON.stringify(response.data)\n );\n }\n if (response.data[0].account_type === \"IND\") {\n setAccountType(\"IND\");\n setAccountID(response.data[0].id);\n if (user !== null && user.investorSummaryData !== null) {\n setDomicileCountry(user.investorSummaryData.country);\n }\n setInvestorProfileComplete(\n response.data[0].investor_profile_complete\n );\n\n if (response.data[0].investor_profile_complete) {\n setActiveSlide(3);\n } else if (\n !response.data[0].investor_profile_complete &&\n (!response.data[0].investor_address_complete ||\n !response.data[0].investor_pii_complete)\n ) {\n setActiveSlide(1);\n }\n } else if (response.data[0].account_type === \"JOINT\") {\n setAccountType(\"JOINT\");\n setAccountID(response.data[0].id);\n if (user !== null && user.investorSummaryData !== null) {\n setDomicileCountry(user.investorSummaryData.country);\n }\n setInvestorProfileComplete(\n response.data[0].investor_profile_complete\n );\n if (\n response.data[0].secondary_investor_profile.address_complete &&\n response.data[0].secondary_investor_profile.pii_complete\n ) {\n setActiveSlide(3);\n } else {\n setActiveSlide(1);\n }\n } else {\n console.log(\"Inside ent block\");\n console.log(\n response.data[0].entities[0].type !== \"SM_LLC\",\n !response.data[0].entity_complete,\n response.data[0].entities.length !== 0,\n !response.data[0].entities[0].related_party_complete\n );\n if (response.data[0].entities.length !== 0) {\n setAccountType(response.data[0].entities[0].type);\n setLegalAccountName(response.data[0].entities[0].legal_name);\n setCountryOfFormation(\n response.data[0].entities[0].country_of_formation\n );\n setAccountID(response.data[0].id);\n if (response.data[0].entity_complete) {\n setActiveSlide(3);\n } else if (\n !response.data[0].entity_complete &&\n response.data[0].entities.length !== 0 &&\n !response.data[0].entities[0].address_complete\n ) {\n setActiveSlide(1);\n } else if (\n response.data[0].entities[0].type !== \"SM_LLC\" &&\n !response.data[0].entity_complete &&\n response.data[0].entities.length !== 0 &&\n !response.data[0].entities[0].related_party_complete\n ) {\n console.log(\"Inside related party block\");\n if (\n response.data[0].related_parties.some(\n (e) =>\n e.citizenship === \"None\" || e.percent_ownership === \"None\"\n )\n ) {\n setSupplyPercentOwned(true);\n }\n setSupplyPercentOwned(false);\n setActiveSlide(2);\n console.log(\"Active slide is set to 2\");\n } else if (\n response.data[0].entities[0].type === \"SM_LLC\" &&\n !response.data[0].entity_complete &&\n response.data[0].entities.length !== 0 &&\n !response.data[0].entities[0].related_party_complete\n )\n setActiveSlide(4);\n else if (!response.data[0].entity_complete) {\n setActiveSlide(4);\n }\n }\n }\n\n setLoading(false);\n // console.log(\n // \"Function complete. Loading should be set to correct state now.\"\n // );\n } catch (err) {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(err);\n }\n }\n getIncompleteInvestmentAccountInfo();\n }\n }, [investmentAccountID]);\n\n return 0;\n}\n","import React from \"react\";\n\nfunction TabV2(props) {\n return
    {props.children}
    ;\n}\nexport default TabV2;\n","import React, { useState, useCallback } from \"react\";\nimport \"./TabV2TitleStyles/TabV2TitleStyles.scss\";\n\nfunction TabV2Title({ title, setSelectedTab, index, setSelected, selected }) {\n const onClick = useCallback(() => {\n setSelectedTab(index);\n }, [setSelectedTab, index]);\n\n return (\n setSelected(true)}\n >\n {/* pb-md-4 pb-2 mt-md-0 mt-2 */}\n \n \n \n );\n}\nexport default TabV2Title;\n","import React, { useState } from \"react\";\nimport TabV2Title from \"./TabV2Title.js\";\nimport SwipeableViews from \"react-swipeable-views\";\nimport \"./TabsV2Styles/TabsV2Styles.scss\";\n\nfunction TabsV2(props) {\n const [selectedTab, setSelectedTab] = useState(0);\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n {/* {\n console.log(\"Tab changed.\");\n }}\n > */}\n {props.children.map((item, index) => (\n // \n
    \n \n
    \n ))}\n {/* */}\n
    \n
    \n
    \n
    \n
    \n
    \n {\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(\"Tab changed.\");\n }}\n >\n {props.children}\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n );\n}\nexport default TabsV2;\n","import React from \"react\";\nimport { useHistory } from \"react-router\";\n\nfunction IndividualAccountDetailsHeader({joint}) {\n let history = useHistory();\n return (\n \n history.push(\"/investment-accounts\")}\n style={{ cursor: \"pointer\" }}\n >\n
    \n \n \n Back\n \n
    \n \n
    \n \n Account Details\n \n {!joint ? <>Individual : <>Joint}\n
    \n
    \n );\n}\nexport default IndividualAccountDetailsHeader;\n","import React from \"react\";\n\nfunction AccountQualification({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n}) {\n return (\n
    \n
    \n
    \n
    \n \n \n Account Number\n \n
    \n \n \n {accountNumber}\n \n
    \n
    \n
    \n \n \n Date Added\n \n
    \n \n \n {dateAdded}\n \n
    \n \n \n
    \n
    \n \n \n Qualification Level\n \n
    \n \n \n {qualificationLevel}\n \n
    \n \n \n \n \n );\n}\nexport default AccountQualification;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList.js\";\n\nfunction AccountContactInfo({\n firstName,\n setFirstName,\n firstNameError,\n setFirstNameError,\n lastName,\n setLastName,\n lastNameError,\n setLastNameError,\n phoneNumber,\n setPhoneNumber,\n phoneNumberError,\n setPhoneNumberError,\n email,\n setEmail,\n emailError,\n setEmailError,\n domicileCountry,\n setDomicileCountry,\n domicileCountryError,\n setDomicileCountryError,\n}) {\n return (\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default AccountContactInfo;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport AccountQualification from \"./AccountQualification/AccountQualification.js\";\nimport AccountContactInfo from \"./AccountContactInfo/AccountContactInfo.js\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions.js\";\n\nfunction IndividualAccountDetailsBasicInfo({\n joint,\n jointInfo,\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n firstName,\n setFirstName,\n firstNameError,\n setFirstNameError,\n lastName,\n setLastName,\n lastNameError,\n setLastNameError,\n email,\n setEmail,\n emailError,\n setEmailError,\n phoneNumber,\n setPhoneNumber,\n phoneNumberError,\n setPhoneNumberError,\n domicileCountry,\n setDomicileCountry,\n domicileCountryError,\n setDomicileCountryError,\n}) {\n return (\n \n
    \n
    \n
    \n \n {!joint ? <>Basic Information : <>Basic Information - Primary Accountholder }\n \n
    \n \n \n
    \n \n {joint && <>Basic Information - Secondary Accountholder }\n \n
    \n {joint && (\n {}}\n lastName={jointInfo.jointLastName}\n setLastName={setLastName}\n lastNameError={lastNameError}\n setLastNameError={() => {}}\n phoneNumber={jointInfo.jointPhoneNumber}\n setPhoneNumber={() => {}}\n phoneNumberError={phoneNumberError}\n setPhoneNumberError={() => {}}\n email={jointInfo.jointEmail}\n setEmail={() => {}}\n emailError={emailError}\n setEmailError={() => {}}\n domicileCountry={jointInfo.jointCountry}\n setDomicileCountry={() => {}}\n domicileCountryError={domicileCountryError}\n setDomicileCountryError={() => {}}\n />\n )}\n \n
    \n
    \n \n );\n}\nexport default IndividualAccountDetailsBasicInfo;\n","import React, { useEffect } from \"react\";\nimport StyledDateInputField from \"../../../../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport { formatSSN } from \"../../../../../../../../GlobalFunctions/globalFunctions\";\n\nfunction IndividualAccountDetailsPII({\n domicileCountry,\n dob,\n setDob,\n dobError,\n setDobError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n}) {\n return (\n
    \n
    \n \n
    \n
    \n {domicileCountry === \"United States\" && (\n \n )}\n {domicileCountry !== \"United States\" && (\n \n )}\n
    \n
    \n );\n}\nexport default IndividualAccountDetailsPII;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\n\nfunction IndividualAccountDetailsAddress({\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n \n Mailing Address\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n {country === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default IndividualAccountDetailsAddress;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport IndividualAccountDetailsPII from \"./IndividualAccountDetailsPII/IndividualAccountDetailsPII\";\nimport IndividualAccountDetailsAddress from \"./IndividualAccountDetailsAddress/IndividualAccountDetailsAddress\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction IndividualAccountDetailsPersonalInfo({\n joint,\n jointInfo,\n domicileCountry,\n dob,\n setDob,\n dobError,\n setDobError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n
    \n
    \n \n Personal Information { joint && <> - Primary Accountholder}\n \n
    \n \n \n
    \n\n {joint && \n
    \n
    \n \n Personal Information - Secondary Accountholder\n \n
    \n \n
    }\n\n \n
    \n );\n}\nexport default IndividualAccountDetailsPersonalInfo;\n","import React, { useState, useEffect } from \"react\";\nimport TabsV2 from \"../../../../../../Components/GlobalComponents/TabsV2/TabsV2\";\nimport TabV2 from \"../../../../../../Components/GlobalComponents/TabsV2/TabV2\";\nimport IndividualAccountDetailsBasicInfo from \"./IndividualAccountDetailsBasicInfo/IndividualAccountDetailsBasicInfo\";\nimport IndividualAccountDetailsPersonalInfo from \"./IndividualAccountDetailsPersonalInfo/IndividualAccountDetailsPersonalInfo\";\n\nfunction IndividualAccountDetailsInfoSection({\n joint,\n jointInfo,\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n firstName,\n setFirstName,\n firstNameError,\n setFirstNameError,\n lastName,\n setLastName,\n lastNameError,\n setLastNameError,\n phoneNumber,\n setPhoneNumber,\n phoneNumberError,\n setPhoneNumberError,\n email,\n setEmail,\n emailError,\n setEmailError,\n domicileCountry,\n setDomicileCountry,\n domicileCountryError,\n setDomicileCountryError,\n dob,\n setDob,\n dobError,\n setDobError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n const [basicInformationSelected, setBasicInformationSelected] =\n useState(true);\n const [personalInformationSelected, setPersonalInformationSelected] =\n useState(false);\n\n useEffect(() => {\n if (basicInformationSelected) {\n setPersonalInformationSelected(false);\n }\n }, [basicInformationSelected]);\n\n useEffect(() => {\n if (personalInformationSelected) {\n setBasicInformationSelected(false);\n }\n }, [personalInformationSelected]);\n\n return (\n \n
    \n \n \n \n \n \n \n \n \n
    \n
    \n );\n}\nexport default IndividualAccountDetailsInfoSection;\n","import React, { useEffect, useState } from \"react\";\nimport { useHistory } from \"react-router\";\nimport \"./IndividualAccountDetailsStyles/IndividualAccountDetailsStyles.scss\";\nimport TabV2 from \"../../../../../Components/GlobalComponents/TabsV2/TabV2\";\nimport TabsV2 from \"../../../../../Components/GlobalComponents/TabsV2/TabsV2\";\nimport StyledTextInputField from \"../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../Components/countryList\";\nimport IndividualAccountDetailsHeader from \"./IndividualAccountDetailsHeader/IndividualAccountDetailsHeader\";\nimport IndividualAccountDetailsInfoSection from \"./IndividualAccountDetailsInfoSection/IndividualAccountDetailsInfoSection\";\n\nfunction IndividualAccountDetails({\n joint,\n accountNumber,\n setAccountNumber,\n dateAdded,\n setDateAdded,\n firstName,\n setFirstName,\n firstNameError,\n setFirstNameError,\n lastName,\n setLastName,\n lastNameError,\n setLastNameError,\n email,\n setEmail,\n emailError,\n setEmailError,\n phoneNumber,\n setPhoneNumber,\n phoneNumberError,\n setPhoneNumberError,\n domicileCountry,\n setDomicileCountry,\n domicileCountryError,\n setDomicileCountryError,\n qualificationLevel,\n verificationStatus,\n dob,\n setDob,\n dobError,\n setDobError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n jointInfo\n}) {\n let history = useHistory();\n\n return (\n \n \n \n \n );\n}\nexport default IndividualAccountDetails;\n","import React from \"react\";\nimport { useHistory } from \"react-router\";\n\nfunction TrustAccountDetailsHeader() {\n let history = useHistory();\n return (\n \n history.push(\"/investment-accounts\")}\n style={{ cursor: \"pointer\" }}\n >\n
    \n \n Back\n
    \n \n
    \n \n Account Details\n \n Trust\n
    \n
    \n );\n}\nexport default TrustAccountDetailsHeader;\n","import React from \"react\";\n\nfunction AccountQualification({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n}) {\n return (\n
    \n
    \n
    \n
    \n \n \n Account Number\n \n
    \n \n \n {accountNumber}\n \n
    \n
    \n
    \n \n \n Date Added\n \n
    \n \n \n {dateAdded}\n \n
    \n \n \n
    \n
    \n \n \n Qualification Level\n \n
    \n \n \n {qualificationLevel}\n \n
    \n \n\n \n \n \n );\n}\nexport default AccountQualification;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList.js\";\n\nfunction AccountLegalStructure({\n trustType,\n setTrustType,\n trustTypeError,\n setTrustTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n}) {\n const trustTypeOptions = [\n { value: \"LT\", label: \"Revocable Trust\" },\n { value: \"TRUST\", label: \"Irrevocable Trust\" },\n ];\n\n return (\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default AccountLegalStructure;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport AccountQualification from \"./AccountQualification/AccountQualification\";\nimport AccountLegalStructure from \"./AccountLegalStructure/AccountLegalStructure\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction TrustAccountDetailsGeneralInfo({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n trustType,\n setTrustType,\n trustTypeError,\n setTrustTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n}) {\n return (\n \n
    \n
    \n
    \n \n General Information\n \n
    \n \n \n \n
    \n
    \n \n );\n}\nexport default TrustAccountDetailsGeneralInfo;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\n\nfunction TaxNumber({\n countryOfFormation,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n}) {\n const idTypeOptions = [\n { value: \"EIN\", label: \"EIN\" },\n { value: \"FTID\", label: \"Foreign Tax ID\" },\n { value: \"ITIN\", label: \"ITIN\" },\n ];\n return (\n \n
    \n {countryOfFormation !== \"United States\" && (\n
    \n \n
    \n )}\n \n {countryOfFormation === \"United States\" && (\n \n )}\n {countryOfFormation !== \"United States\" && (\n \n )}\n
    \n \n
    \n );\n}\nexport default TaxNumber;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\n\nfunction MailingAddress({\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n \n Mailing Address\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n {country === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default MailingAddress;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport TaxNumber from \"./TaxNumber/TaxNumber\";\nimport MailingAddress from \"./MailingAddress/MailingAddress\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction TrustAccountDetailsTaxInfo({\n countryOfFormation,\n trustType,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n
    \n {trustType === \"TRUST\" && (\n
    \n \n Tax Information\n \n
    \n )}\n {trustType === \"TRUST\" && (\n \n )}\n \n \n
    \n
    \n \n );\n}\nexport default TrustAccountDetailsTaxInfo;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList.js\";\n\nfunction ContactInfo({\n grantorFirstName,\n setGrantorFirstName,\n grantorFirstNameError,\n setGrantorFirstNameError,\n grantorLastName,\n setGrantorLastName,\n grantorLastNameError,\n setGrantorLastNameError,\n grantorPhoneNumber,\n setGrantorPhoneNumber,\n grantorPhoneNumberError,\n setGrantorPhoneNumberError,\n grantorEmail,\n setGrantorEmail,\n grantorEmailError,\n setGrantorEmailError,\n grantorDomicileCountry,\n setGrantorDomicileCountry,\n grantorDomicileCountryError,\n setGrantorDomicileCountryError,\n}) {\n return (\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default ContactInfo;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\n\nfunction MailingAddress({\n grantorAddressLine1,\n setGrantorAddressLine1,\n grantorAddressLine1Error,\n setGrantorAddressLine1Error,\n grantorAddressLine2,\n setGrantorAddressLine2,\n grantorAddressLine2Error,\n setGrantorAddressLine2Error,\n grantorCity,\n setGrantorCity,\n grantorCityError,\n setGrantorCityError,\n grantorState,\n setGrantorState,\n grantorStateError,\n setGrantorStateError,\n grantorCountry,\n setGrantorCountry,\n grantorCountryError,\n setGrantorCountryError,\n grantorPostalCode,\n setGrantorPostalCode,\n grantorPostalCodeError,\n setGrantorPostalCodeError,\n}) {\n return (\n \n
    \n \n Mailing Address\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n \n
    \n {grantorCountry === \"United States\" && (\n
    \n \n
    \n )}\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default MailingAddress;\n","import React from \"react\";\nimport StyledDateInputField from \"../../../../../../../../GlobalComponents/InputField/StyledDateInputField/StyledDateInputField\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport { formatSSN } from \"../../../../../../../../GlobalFunctions/globalFunctions\";\n\nfunction PII({\n grantorDomicileCountry,\n grantorDob,\n setGrantorDob,\n grantorDobError,\n setGrantorDobError,\n grantorIDNumber,\n setGrantorIDNumber,\n grantorIDNumberError,\n setGrantorIDNumberError,\n}) {\n return (\n \n
    \n \n Identification Information\n \n
    \n
    \n
    \n \n
    \n
    \n {grantorDomicileCountry === \"United States\" && (\n \n )}\n {grantorDomicileCountry !== \"United States\" && (\n \n )}\n
    \n
    \n
    \n );\n}\nexport default PII;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport ContactInfo from \"./ContactInfo/ContactInfo\";\nimport MailingAddress from \"./MailingAddress/MailingAddress\";\nimport PII from \"./PII/PII\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction TrustAccountDetailsGrantorInfo({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n grantorFirstName,\n setGrantorFirstName,\n grantorFirstNameError,\n setGrantorFirstNameError,\n grantorLastName,\n setGrantorLastName,\n grantorLastNameError,\n setGrantorLastNameError,\n grantorPhoneNumber,\n setGrantorPhoneNumber,\n grantorPhoneNumberError,\n setGrantorPhoneNumberError,\n grantorEmail,\n setGrantorEmail,\n grantorEmailError,\n setGrantorEmailError,\n grantorDomicileCountry,\n setGrantorDomicileCountry,\n grantorDomicileCountryError,\n setGrantorDomicileCountryError,\n grantorAddressLine1,\n setGrantorAddressLine1,\n grantorAddressLine1Error,\n setGrantorAddressLine1Error,\n grantorAddressLine2,\n setGrantorAddressLine2,\n grantorAddressLine2Error,\n setGrantorAddressLine2Error,\n grantorCity,\n setGrantorCity,\n grantorCityError,\n setGrantorCityError,\n grantorState,\n setGrantorState,\n grantorStateError,\n setGrantorStateError,\n grantorCountry,\n setGrantorCountry,\n grantorCountryError,\n setGrantorCountryError,\n grantorPostalCode,\n setGrantorPostalCode,\n grantorPostalCodeError,\n setGrantorPostalCodeError,\n grantorDob,\n setGrantorDob,\n grantorDobError,\n setGrantorDobError,\n grantorIDNumber,\n setGrantorIDNumber,\n grantorIDNumberError,\n setGrantorIDNumberError,\n}) {\n return (\n \n
    \n
    \n
    \n \n Grantor Information\n \n
    \n \n \n \n \n
    \n
    \n \n );\n}\nexport default TrustAccountDetailsGrantorInfo;\n","import React from \"react\";\n\nfunction NoRelatedParties({role}) {\n return (\n
    \n \n Sorry, there were no { role === \"Beneficial Owner\" ? \"beneficial owners\" : \"trustees\"}.\n \n
    \n );\n}\nexport default NoRelatedParties;\n","import React, { useState } from \"react\";\nimport InfiniteTabInput from \"../../../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../../../../AddInvestmentAccount/InfiniteInputComponent/InfiniteInputComponent\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\nimport NoRelatedParties from \"../../../../NoRelatedParties/NoRelatedParties\";\n\nfunction Trustees({\n relatedAccounts,\n setRelatedAccounts,\n accountID,\n accountType,\n}) {\n const [activeTab, setActiveTab] = useState(\"Trustee #1\");\n const [activeSlide, setActiveSlide] = useState(0);\n const [hideButton, setHideButton] = useState(false);\n\n const handleRemoveFields = () => {\n return;\n };\n\n return (\n <>\n {relatedAccounts.length !== 0 ? (\n
    \n \"Trustee #\" + (idx + 1).toString()\n )}\n activeTab={activeTab}\n setActiveTab={setActiveTab}\n />\n\n \n
    \n ) : (\n \n )}\n \n );\n}\nexport default Trustees;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport Trustees from \"./Trustees/Trustees\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction TrustAccountDetailsTrusteeInfo({\n accountType,\n accountID,\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n entityType,\n setEntityType,\n entityTypeError,\n setEntityTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n relatedAccounts,\n setRelatedAccounts,\n}) {\n return (\n \n
    \n
    \n
    \n \n Trustee Information\n \n
    \n \n \n
    \n
    \n \n );\n}\nexport default TrustAccountDetailsTrusteeInfo;\n","import React, { useState } from \"react\";\nimport InfiniteTabInput from \"../../../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../../../../AddInvestmentAccount/InfiniteInputComponent/InfiniteInputComponent\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\nimport NoRelatedParties from \"../../../../NoRelatedParties/NoRelatedParties\";\n\nfunction BeneficialOwners({\n beneficialOwnerRelatedAccounts,\n setBeneficialOwnerRelatedAccounts,\n accountID,\n accountType,\n}) {\n const [activeTab, setActiveTab] = useState(\"Beneficial Owner #1\");\n const [activeSlide, setActiveSlide] = useState(0);\n const [hideButton, setHideButton] = useState(false);\n\n const handleRemoveFields = () => {\n return;\n };\n\n return (\n <>\n {beneficialOwnerRelatedAccounts.length !== 0 ? (\n
    \n \"Beneficial Owner #\" + (idx + 1).toString()\n )}\n activeTab={activeTab}\n setActiveTab={setActiveTab}\n />\n\n \n
    \n ) : (\n \n )}\n \n );\n}\nexport default BeneficialOwners;\n","import React from \"react\";\nimport BeneficialOwners from \"./BeneficialOwners/BeneficialOwners\";\nimport UpdateInfoInstructions from \"../TrustAccountDetailsGeneralInfo/UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction TrustAccountDetailsBeneficialOwnerInfo({\n accountType,\n accountID,\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n entityType,\n setEntityType,\n entityTypeError,\n setEntityTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n beneficialOwnerRelatedAccounts,\n setBeneficialOwnerRelatedAccounts,\n}) {\n return (\n \n
    \n
    \n
    \n \n Beneficial Owner Information\n \n
    \n \n \n
    \n
    \n \n );\n}\nexport default TrustAccountDetailsBeneficialOwnerInfo;\n","import React, { useState, useEffect } from \"react\";\nimport TabsV2 from \"../../../../../../Components/GlobalComponents/TabsV2/TabsV2\";\nimport TabV2 from \"../../../../../../Components/GlobalComponents/TabsV2/TabV2\";\nimport TrustAccountDetailsGeneralInfo from \"./TrustAccountDetailsGeneralInfo/TrustAccountDetailsGeneralInfo\";\nimport TrustAccountDetailsTaxInfo from \"./TrustAccountDetailsTaxInfo/TrustAccountDetailsTaxInfo\";\nimport TrustAccountDetailsGrantorInfo from \"./TrustAccountDetailsGrantorInfo/TrustAccountDetailsGrantorInfo\";\nimport TrustAccountDetailsTrusteeInfo from \"./TrustAccountDetailsTrusteeInfo/TrustAccountDetailsTrusteeInfo\";\nimport TrustAccountDetailsBeneficialOwnerInfo from \"./TrustAccountDetailsBeneficialOwnerInfo/TrustAccountDetailsBeneficialOwnerInfo\";\n\nfunction TrustAccountDetailsInfoSection({\n accountID,\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n trustType,\n setTrustType,\n trustTypeError,\n setTrustTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n grantorFirstName,\n setGrantorFirstName,\n grantorFirstNameError,\n setGrantorFirstNameError,\n grantorLastName,\n setGrantorLastName,\n grantorLastNameError,\n setGrantorLastNameError,\n grantorPhoneNumber,\n setGrantorPhoneNumber,\n grantorPhoneNumberError,\n setGrantorPhoneNumberError,\n grantorEmail,\n setGrantorEmail,\n grantorEmailError,\n setGrantorEmailError,\n grantorDomicileCountry,\n setGrantorDomicileCountry,\n grantorDomicileCountryError,\n setGrantorDomicileCountryError,\n grantorAddressLine1,\n setGrantorAddressLine1,\n grantorAddressLine1Error,\n setGrantorAddressLine1Error,\n grantorAddressLine2,\n setGrantorAddressLine2,\n grantorAddressLine2Error,\n setGrantorAddressLine2Error,\n grantorCity,\n setGrantorCity,\n grantorCityError,\n setGrantorCityError,\n grantorState,\n setGrantorState,\n grantorStateError,\n setGrantorStateError,\n grantorCountry,\n setGrantorCountry,\n grantorCountryError,\n setGrantorCountryError,\n grantorPostalCode,\n setGrantorPostalCode,\n grantorPostalCodeError,\n setGrantorPostalCodeError,\n grantorDob,\n setGrantorDob,\n grantorDobError,\n setGrantorDobError,\n grantorIDNumber,\n setGrantorIDNumber,\n grantorIDNumberError,\n setGrantorIDNumberError,\n relatedAccounts,\n setRelatedAccounts,\n beneficialOwnerRelatedAccounts,\n setBeneficialOwnerRelatedAccounts,\n}) {\n const [generalInformationSelected, setGeneralInformationSelected] =\n useState(true);\n const [taxInformationSelected, setTaxInformationSelected] = useState(false);\n const [grantorInformationSelected, setGrantorInformationSelected] =\n useState(false);\n const [trusteeInformationSelected, setTrusteeInformationSelected] =\n useState(false);\n const [\n beneficialOwnerInformationSelected,\n setBeneficialOwnerInformationSelected,\n ] = useState(false);\n\n useEffect(() => {\n if (generalInformationSelected) {\n setTaxInformationSelected(false);\n setGrantorInformationSelected(false);\n setTrusteeInformationSelected(false);\n setBeneficialOwnerInformationSelected(false);\n }\n }, [generalInformationSelected]);\n\n useEffect(() => {\n if (taxInformationSelected) {\n setGeneralInformationSelected(false);\n setGrantorInformationSelected(false);\n setTrusteeInformationSelected(false);\n setBeneficialOwnerInformationSelected(false);\n }\n }, [taxInformationSelected]);\n\n useEffect(() => {\n if (grantorInformationSelected) {\n setGeneralInformationSelected(false);\n setTaxInformationSelected(false);\n setTrusteeInformationSelected(false);\n setBeneficialOwnerInformationSelected(false);\n }\n }, [grantorInformationSelected]);\n\n useEffect(() => {\n if (trusteeInformationSelected) {\n setGeneralInformationSelected(false);\n setTaxInformationSelected(false);\n setGrantorInformationSelected(false);\n setBeneficialOwnerInformationSelected(false);\n }\n }, [trusteeInformationSelected]);\n\n useEffect(() => {\n if (beneficialOwnerInformationSelected) {\n setGeneralInformationSelected(false);\n setTaxInformationSelected(false);\n setGrantorInformationSelected(false);\n setTrusteeInformationSelected(false);\n }\n }, [beneficialOwnerInformationSelected]);\n\n return (\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n}\nexport default TrustAccountDetailsInfoSection;\n","import React from \"react\";\nimport \"./TrustAccountDetailsStyles/TrustAccountDetailsStyles.scss\";\nimport TrustAccountDetailsHeader from \"./TrustAccountDetailsHeader/TrustAccountDetailsHeader\";\nimport TrustAccountDetailsInfoSection from \"./TrustAccountDetailsInfoSection/TrustAccountDetailsInfoSection\";\n\nfunction TrustAccountDetails({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n trustType,\n setTrustType,\n trustTypeError,\n setTrustTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n grantorFirstName,\n setGrantorFirstName,\n grantorFirstNameError,\n setGrantorFirstNameError,\n grantorLastName,\n setGrantorLastName,\n grantorLastNameError,\n setGrantorLastNameError,\n grantorPhoneNumber,\n setGrantorPhoneNumber,\n grantorPhoneNumberError,\n setGrantorPhoneNumberError,\n grantorEmail,\n setGrantorEmail,\n grantorEmailError,\n setGrantorEmailError,\n grantorDomicileCountry,\n setGrantorDomicileCountry,\n grantorDomicileCountryError,\n setGrantorDomicileCountryError,\n grantorAddressLine1,\n setGrantorAddressLine1,\n grantorAddressLine1Error,\n setGrantorAddressLine1Error,\n grantorAddressLine2,\n setGrantorAddressLine2,\n grantorAddressLine2Error,\n setGrantorAddressLine2Error,\n grantorCity,\n setGrantorCity,\n grantorCityError,\n setGrantorCityError,\n grantorState,\n setGrantorState,\n grantorStateError,\n setGrantorStateError,\n grantorCountry,\n setGrantorCountry,\n grantorCountryError,\n setGrantorCountryError,\n grantorPostalCode,\n setGrantorPostalCode,\n grantorPostalCodeError,\n setGrantorPostalCodeError,\n grantorDob,\n setGrantorDob,\n grantorDobError,\n setGrantorDobError,\n grantorIDNumber,\n setGrantorIDNumber,\n grantorIDNumberError,\n setGrantorIDNumberError,\n relatedAccounts,\n setRelatedAccounts,\n beneficialOwnerRelatedAccounts,\n setBeneficialOwnerRelatedAccounts,\n}) {\n return (\n \n \n \n \n );\n}\nexport default TrustAccountDetails;\n","import React from \"react\";\nimport { useHistory } from \"react-router\";\n\nfunction EntityAccountDetailsHeader() {\n let history = useHistory();\n return (\n \n history.push(\"/investment-accounts\")}\n style={{ cursor: \"pointer\" }}\n >\n
    \n \n Back\n
    \n \n
    \n \n Account Details\n \n Entity\n
    \n
    \n );\n}\nexport default EntityAccountDetailsHeader;\n","import React from \"react\";\n\nfunction AccountQualification({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n}) {\n return (\n
    \n
    \n
    \n
    \n \n \n Account Number\n \n
    \n \n \n {accountNumber}\n \n
    \n
    \n
    \n \n \n Date Added\n \n
    \n \n \n {dateAdded}\n \n
    \n \n \n
    \n
    \n \n \n Qualification Level\n \n
    \n \n \n {qualificationLevel}\n \n
    \n \n \n \n \n );\n}\nexport default AccountQualification;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList.js\";\n\nfunction AccountLegalStructure({\n entityType,\n setEntityType,\n entityTypeError,\n setEntityTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n}) {\n const entityTypeOptions = [\n { value: \"LLC\", label: \"LLC\" },\n { value: \"SM_LLC\", label: \"Single Member LLC\" },\n { value: \"C-CORP\", label: \"C Corporation\" },\n { value: \"S-CORP\", label: \"S Corporation\" },\n { value: \"LP\", label: \"Limited Partnership\" },\n { value: \"GP\", label: \"General Partnership\" },\n { value: \"FE\", label: \"Foreign Entity\" },\n ];\n\n return (\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default AccountLegalStructure;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport AccountQualification from \"./AccountQualification/AccountQualification\";\nimport AccountLegalStructure from \"./AccountLegalStructure/AccountLegalStructure.js\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction EntityAccountDetailsGeneralInfo({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n entityType,\n setEntityType,\n entityTypeError,\n setEntityTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n}) {\n return (\n \n
    \n
    \n
    \n \n General Information\n \n
    \n \n \n \n
    \n
    \n \n );\n}\nexport default EntityAccountDetailsGeneralInfo;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\n\nfunction TaxNumber({\n countryOfFormation,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n}) {\n const idTypeOptions = [\n { value: \"EIN\", label: \"EIN\" },\n { value: \"FTID\", label: \"Foreign Tax ID\" },\n { value: \"ITIN\", label: \"ITIN\" },\n ];\n return (\n \n
    \n {countryOfFormation !== \"United States\" && (\n
    \n \n
    \n )}\n \n {countryOfFormation === \"United States\" && (\n \n )}\n {countryOfFormation !== \"United States\" && (\n \n )}\n
    \n \n
    \n );\n}\nexport default TaxNumber;\n","import React from \"react\";\nimport StyledTextInputField from \"../../../../../../../../GlobalComponents/InputField/StyledTextInputField/StyledTextInputField\";\nimport SelectField from \"../../../../../../../../GlobalComponents/InputField/SelectField/SelectField\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\n\nfunction MailingAddress({\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n}) {\n return (\n \n
    \n \n Mailing Address\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n {country === \"United States\" && (\n
    \n \n
    \n )}\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n );\n}\nexport default MailingAddress;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport TaxNumber from \"./TaxNumber/TaxNumber\";\nimport MailingAddress from \"./MailingAddress/MailingAddress\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction EntityAccountDetailsTaxInfo({\n countryOfFormation,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n componentAccountType\n}) {\n return (\n \n
    \n
    \n {componentAccountType === \"SM_LLC\" && <>
    \n \n Tax Information\n \n
    \n\n }\n \n \n
    \n
    \n \n );\n}\nexport default EntityAccountDetailsTaxInfo;\n","import React, { useState } from \"react\";\nimport InfiniteTabInput from \"../../../../../../../../Components/GlobalComponents/InfiniteTabInput/InfiniteTabInput\";\nimport InfiniteInputComponent from \"../../../../../AddInvestmentAccount/InfiniteInputComponent/InfiniteInputComponent\";\nimport { countryList } from \"../../../../../../../../Components/countryList\";\nimport { stateList } from \"../../../../../../../../Components/GlobalComponents/stateList\";\nimport NoRelatedParties from \"../../../../NoRelatedParties/NoRelatedParties\";\n\nfunction BeneficialOwners({\n relatedAccounts,\n setRelatedAccounts,\n accountID,\n accountType,\n}) {\n const [activeTab, setActiveTab] = useState(\"Beneficial Owner #1\");\n const [activeSlide, setActiveSlide] = useState(0);\n const handleRemoveFields = () => {\n return;\n };\n const [hideButton, setHideButton] = useState(false);\n\n return (\n \n {relatedAccounts.length !== 0 ? (\n
    \n \"Beneficial Owner #\" + (idx + 1).toString()\n )}\n activeTab={activeTab}\n setActiveTab={setActiveTab}\n />\n\n \n
    \n ) : (\n \n )}\n
    \n );\n}\nexport default BeneficialOwners;\n","import React from \"react\";\n\nfunction UpdateInfoInstructions() {\n return (\n
    \n
    \n \n \n If any of the above information is incorrect, please contact\n admin@investwithaqua.com to update your account information.\n \n
    \n
    \n );\n}\nexport default UpdateInfoInstructions;\n","import React from \"react\";\nimport BeneficialOwners from \"./BeneficialOwners/BeneficialOwners\";\nimport UpdateInfoInstructions from \"./UpdateInfoInstructions/UpdateInfoInstructions\";\n\nfunction EntityAccountDetailsBeneficialOwnerInfo({\n accountType,\n relatedAccounts,\n setRelatedAccounts,\n}) {\n return (\n \n
    \n
    \n
    \n \n Beneficial Owner Information\n \n
    \n \n \n
    \n
    \n \n );\n}\nexport default EntityAccountDetailsBeneficialOwnerInfo;\n","import React, { useState, useEffect } from \"react\";\nimport TabsV2 from \"../../../../../../Components/GlobalComponents/TabsV2/TabsV2\";\nimport TabV2 from \"../../../../../../Components/GlobalComponents/TabsV2/TabV2\";\nimport EntityAccountDetailsGeneralInfo from \"./EntityAccountDetailsGeneralInfo/EntityAccountDetailsGeneralInfo\";\nimport EntityAccountDetailsTaxInfo from \"./EntityAccountDetailsTaxInfo/EntityAccountDetailsTaxInfo\";\nimport EntityAccountDetailsBeneficialOwnerInfo from \"./EntityAccountDetailsBeneficialOwnerInfo/EntityAccountDetailsBeneficialOwnerInfo\";\n// import TrustAccountDetailsGeneralInfo from \"./TrustAccountDetailsGeneralInfo/TrustAccountDetailsGeneralInfo\";\n// import TrustAccountDetailsTaxInfo from \"./TrustAccountDetailsTaxInfo/TrustAccountDetailsTaxInfo\";\n// import TrustAccountDetailsGrantorInfo from \"./TrustAccountDetailsGrantorInfo/TrustAccountDetailsGrantorInfo\";\n\nfunction EntityAccountDetailsInfo({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n entityType,\n setEntityType,\n entityTypeError,\n setEntityTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n relatedAccounts,\n setRelatedAccounts,\n}) {\n const [generalInformationSelected, setGeneralInformationSelected] =\n useState(true);\n const [taxInformationSelected, setTaxInformationSelected] = useState(false);\n const [\n beneficialOwnerInformationSelected,\n setBeneficialOwnerInformationSelected,\n ] = useState(false);\n\n useEffect(() => {\n if (generalInformationSelected) {\n setTaxInformationSelected(false);\n setBeneficialOwnerInformationSelected(false);\n }\n }, [generalInformationSelected]);\n\n useEffect(() => {\n if (taxInformationSelected) {\n setGeneralInformationSelected(false);\n setBeneficialOwnerInformationSelected(false);\n }\n }, [taxInformationSelected]);\n\n useEffect(() => {\n if (beneficialOwnerInformationSelected) {\n setTaxInformationSelected(false);\n setGeneralInformationSelected(false);\n }\n }, [beneficialOwnerInformationSelected]);\n\n return (\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n}\nexport default EntityAccountDetailsInfo;\n","import React from \"react\";\nimport \"./EntityAccountDetailsStyles/EntityAccountDetailsStyles.scss\";\nimport EntityAccountDetailsHeader from \"./EntityAccountDetailsHeader/EntityAccountDetailsHeader\";\nimport EntityAccountDetailsInfo from \"./EntityAccountDetailsInfo/EntityAccountDetailsInfo\";\n\nfunction EntityAccountDetails({\n accountNumber,\n dateAdded,\n qualificationLevel,\n verificationStatus,\n entityType,\n setEntityType,\n entityTypeError,\n setEntityTypeError,\n accountName,\n setAccountName,\n accountNameError,\n setAccountNameError,\n countryOfFormation,\n setCountryOfFormation,\n countryOfFormationError,\n setCountryOfFormationError,\n idType,\n setIDType,\n idTypeError,\n setIDTypeError,\n idNumber,\n setIDNumber,\n idNumberError,\n setIDNumberError,\n addressLine1,\n setAddressLine1,\n addressLine1Error,\n setAddressLine1Error,\n addressLine2,\n setAddressLine2,\n addressLine2Error,\n setAddressLine2Error,\n city,\n setCity,\n cityError,\n setCityError,\n state,\n setState,\n stateError,\n setStateError,\n country,\n setCountry,\n countryError,\n setCountryError,\n postalCode,\n setPostalCode,\n postalCodeError,\n setPostalCodeError,\n relatedAccounts,\n setRelatedAccounts,\n}) {\n return (\n \n \n \n \n );\n}\nexport default EntityAccountDetails;\n","import React, { useState, useEffect, useContext } from \"react\";\nimport \"./AccountDetailsPageStyles/AccountDetailsPageStyles.scss\";\nimport IndividualAccountDetails from \"./IndividualAccountDetails/IndividualAccountDetails\";\nimport TrustAccountDetails from \"./TrustAccountDetails/TrustAccountDetails\";\nimport EntityAccountDetails from \"./EntityAccountDetails/EntityAccountDetails\";\nimport Header from \"../../../../Components/GlobalComponents/Header\";\nimport { getAccountSummary } from \"./../../../../Api/ProfileApi.js\";\nimport { useParams } from \"react-router-dom\";\nimport { UserContext } from \"../../../../GlobalContexts/UserContext\";\nimport * as dayjs from \"dayjs\";\n\nfunction AccountDetailsPage() {\n const { user, setUser } = useContext(UserContext);\n\n let { id } = useParams();\n\n //make sure that the date received from the backend is converted into this format before updating the state\n const [dob, setDob] = useState(null);\n const [dobError, setDobError] = useState(\"\");\n\n const [accountName, setAccountName] = useState(\"\");\n const [accountType, setAccountType] = useState(\"\");\n const [qualificationLevel, setQualificationLevel] = useState(\"\");\n\n const [accountNumber, setAccountNumber] = useState(\"\");\n const [dateAdded, setDateAdded] = useState(\"\");\n\n const [firstName, setFirstName] = useState(\"\");\n const [firstNameError, setFirstNameError] = useState(\"\");\n\n const [lastName, setLastName] = useState(\"\");\n const [lastNameError, setLastNameError] = useState(\"\");\n\n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(\"\");\n\n const [phoneNumber, setPhoneNumber] = useState(\"\");\n const [phoneNumberError, setPhoneNumberError] = useState(\"\");\n\n const [domicileCountry, setDomicileCountry] = useState(\"\");\n const [domicileCountryError, setDomicileCountryError] = useState(\"\");\n\n const [idNumber, setIDNumber] = useState(\"\");\n const [idNumberError, setIDNumberError] = useState(\"\");\n\n const [verificationStatus, setVerificationStatus] = useState(\"\");\n\n const [addressLine1, setAddressLine1] = useState(\"\");\n const [addressLine1Error, setAddressLine1Error] = useState(\"\");\n\n const [addressLine2, setAddressLine2] = useState(\"\");\n const [addressLine2Error, setAddressLine2Error] = useState(\"\");\n\n const [city, setCity] = useState(\"\");\n const [cityError, setCityError] = useState(\"\");\n\n const [state, setState] = useState(\"\");\n const [stateError, setStateError] = useState(\"\");\n\n const [country, setCountry] = useState(\"\");\n const [countryError, setCountryError] = useState(\"\");\n\n const [postalCode, setPostalCode] = useState(\"\");\n const [postalCodeError, setPostalCodeError] = useState(\"\");\n\n const [trustType, setTrustType] = useState(\"\");\n const [trustTypeError, setTrustTypeError] = useState(\"\");\n\n const [accountNameError, setAccountNameError] = useState(\"\");\n\n const [countryOfFormation, setCountryOfFormation] = useState(\"\");\n const [countryOfFormationError, setCountryOfFormationError] = useState(\"\");\n\n const [idType, setIDType] = useState(\"\");\n const [idTypeError, setIDTypeError] = useState(\"\");\n\n const [grantorFirstName, setGrantorFirstName] = useState(\"\");\n const [grantorFirstNameError, setGrantorFirstNameError] = useState(\"\");\n\n const [grantorLastName, setGrantorLastName] = useState(\"\");\n const [grantorLastNameError, setGrantorLastNameError] = useState(\"\");\n\n const [grantorPhoneNumber, setGrantorPhoneNumber] = useState(\"\");\n const [grantorPhoneNumberError, setGrantorPhoneNumberError] = useState(\"\");\n\n const [grantorEmail, setGrantorEmail] = useState(\"\");\n const [grantorEmailError, setGrantorEmailError] = useState(\"\");\n\n const [grantorDomicileCountry, setGrantorDomicileCountry] = useState(\"\");\n const [grantorDomicileCountryError, setGrantorDomicileCountryError] =\n useState(\"\");\n\n const [grantorAddressLine1, setGrantorAddressLine1] = useState(\"\");\n const [grantorAddressLine1Error, setGrantorAddressLine1Error] = useState(\"\");\n\n const [grantorAddressLine2, setGrantorAddressLine2] = useState(\"\");\n const [grantorAddressLine2Error, setGrantorAddressLine2Error] = useState(\"\");\n\n const [grantorCity, setGrantorCity] = useState(\"\");\n const [grantorCityError, setGrantorCityError] = useState(\"\");\n\n const [grantorState, setGrantorState] = useState(\"\");\n const [grantorStateError, setGrantorStateError] = useState(\"\");\n\n const [grantorCountry, setGrantorCountry] = useState(\"\");\n const [grantorCountryError, setGrantorCountryError] = useState(\"\");\n\n const [grantorPostalCode, setGrantorPostalCode] = useState(\"\");\n const [grantorPostalCodeError, setGrantorPostalCodeError] = useState(\"\");\n\n const [grantorDob, setGrantorDob] = useState(\"\");\n const [grantorDobError, setGrantorDobError] = useState(\"\");\n\n const [grantorIDNumber, setGrantorIDNumber] = useState(\"\");\n const [grantorIDNumberError, setGrantorIDNumberError] = useState(\"\");\n\n const [entityType, setEntityType] = useState(\"\");\n const [entityTypeError, setEntityTypeError] = useState(\"\");\n\n const [jointFirstName, setJointFirstName] = useState(\"\");\n const [jointLastName, setJointLastName] = useState(\"\");\n const [jointEmail, setJointEmail] = useState(\"\");\n const [jointDomicileCountry, setJointDomicileCountry] = useState(\"\");\n const [jointAddressLine1, setJointAddressLine1] = useState(\"\");\n const [jointAddressLine2, setJointAddressLine2] = useState(\"\");\n const [jointCity, setJointCity] = useState(\"\");\n const [jointCountry, setJointCountry] = useState(\"\");\n\n const [jointState, setJointState] = useState(\"\");\n const [jointPostalCode, setJointPostalCode] = useState(\"\");\n const [jointIDNumber, setJointIDNumber] = useState(\"\");\n const [jointIDType, setJointIDType] = useState(\"\");\n const [jointDob, setJointDob] = useState(\"\");\n const [jointPhoneNumber, setJointPhoneNumber] = useState(\"\");\n\n const jointInfo = {\n jointFirstName,\n setJointFirstName,\n jointLastName,\n setJointLastName,\n setJointEmail,\n jointEmail,\n jointDomicileCountry,\n setJointDomicileCountry,\n jointAddressLine1,\n setJointAddressLine1,\n jointAddressLine2,\n setJointAddressLine2,\n jointCity,\n setJointCity,\n jointCountry,\n setJointCountry,\n jointState,\n setJointState,\n jointPostalCode,\n setJointPostalCode,\n jointIDNumber,\n setJointIDNumber,\n jointIDType,\n setJointIDType,\n jointPhoneNumber,\n setJointPhoneNumber,\n jointDob,\n setJointDob,\n };\n\n const [relatedAccounts, setRelatedAccounts] = useState([\n {\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n },\n {\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n },\n ]);\n\n const [beneficialOwnerRelatedAccounts, setBeneficialOwnerRelatedAccounts] =\n useState([\n {\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n },\n {\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n },\n ]);\n\n const statusCodes = {\n A: \"Pending Information\",\n I: \"Pending Verification\",\n P: \"Pending Verification\",\n F: \"Failed Verification\",\n S: \"Successful Verification\",\n };\n\n const qualCodes = {\n AC: \"Accredited\",\n QP: \"Qualified Purchaser\",\n NA: \"Not Authorized\",\n };\n\n useEffect(() => {\n async function parseAccountSummaryData() {\n const accountListData = user.accountListData.find(\n (account) => account.id === id\n );\n\n user &&\n user.investorSummaryData &&\n accountType === \"IND\" &&\n setDomicileCountry(user.investorSummaryData.country);\n\n let dateNoTime =\n user &&\n accountListData &&\n dayjs(\n dayjs(accountListData.date_added.substring(0, 10)).format(\n \"MMM D, YYYY\"\n )\n );\n let unixDate = user && dayjs(dateNoTime).unix();\n let formattedDate = user && dayjs.unix(unixDate).format(\"MMM D, YYYY\");\n setDateAdded(formattedDate);\n\n const accountSummaryResp = await getAccountSummary(id);\n const accountSummaryData = accountSummaryResp.data[0];\n\n setEntityType(\n user\n ? user.accountListData.length !== 0\n ? accountSummaryData.entities.length !== 0\n ? accountSummaryData.entities[0].type\n : \"\"\n : \"\"\n : \"\"\n );\n\n setAccountType(accountSummaryData.account_type);\n setAccountNumber(accountSummaryData.number);\n setQualificationLevel(\n qualCodes[\n accountSummaryData.account_qualifications[0].qualification_type\n ]\n );\n setVerificationStatus(\n accountSummaryData.account_verifications.length === 0\n ? \"Pending Verification\"\n : statusCodes[accountSummaryData.account_verifications[0].status]\n );\n\n if (\n accountSummaryData.account_type === \"IND\" ||\n accountSummaryData.account_type === \"JOINT\"\n ) {\n setFirstName(user ? user.investorSummaryData.first_name : \"\");\n setLastName(user ? user.investorSummaryData.last_name : \"\");\n setEmail(user ? user.investorSummaryData.email : \"\");\n setPhoneNumber(user ? user.investorSummaryData.phone_number : \"\");\n setDomicileCountry(user ? user.investorSummaryData.country : \"\");\n\n setDob(\n user\n ? user.userProfileData.investor_pii\n ? user.userProfileData.investor_pii[0].date_of_birth\n : \"\"\n : \"\"\n );\n\n setAddressLine1(\n user\n ? user.userProfileData.investor_addresses\n ? user.userProfileData.investor_addresses[0].address_line_1\n : \"\"\n : \"\"\n );\n setAddressLine2(\n user\n ? user.userProfileData.investor_addresses\n ? user.userProfileData.investor_addresses[0].address_line_2\n : \"\"\n : \"\"\n );\n setCity(\n user\n ? user.userProfileData.investor_addresses\n ? user.userProfileData.investor_addresses[0].city\n : \"\"\n : \"\"\n );\n\n setCountry(\n user\n ? user.userProfileData.investor_addresses\n ? user.userProfileData.investor_addresses[0].country\n : \"\"\n : \"\"\n );\n\n setState(\n user\n ? user.userProfileData.investor_addresses\n ? user.userProfileData.investor_addresses[0].state\n : \"\"\n : \"\"\n );\n\n setPostalCode(\n user\n ? user.userProfileData.investor_addresses\n ? user.userProfileData.investor_addresses[0].postal_code\n : \"\"\n : \"\"\n );\n\n setIDNumber(\n user\n ? user.userProfileData.investor_pii\n ? user.userProfileData.investor_pii[0].id_num\n : \"\"\n : \"\"\n );\n\n setIDType(\n user\n ? user.userProfileData.investor_pii\n ? user.userProfileData.investor_pii[0].id_type\n : \"\"\n : \"\"\n );\n } else if (accountSummaryData.account_type === \"TRT\") {\n let grantorData = {};\n if (accountSummaryData.related_parties.length !== 0) {\n accountSummaryData.related_parties.forEach((relatedParty) => {\n if (relatedParty.role === \"G\") {\n grantorData = relatedParty;\n }\n });\n }\n\n if (\n Object.keys(grantorData).length !== 0 &&\n grantorData.addresses.length !== 0\n ) {\n if (grantorData.addresses.length === 1) {\n setGrantorAddressLine1(grantorData.addresses[0].address_line_1);\n setGrantorAddressLine2(grantorData.addresses[0].address_line_2);\n setGrantorCity(grantorData.addresses[0].city);\n setGrantorState(grantorData.addresses[0].state);\n setGrantorCountry(grantorData.addresses[0].country);\n setGrantorPostalCode(grantorData.addresses[0].postal_code);\n } else {\n grantorData.addresses.forEach((address) => {\n setGrantorAddressLine1(address.address_line_1);\n setGrantorAddressLine2(address.address_line_2);\n setGrantorCity(address.city);\n setGrantorState(address.state);\n setGrantorCountry(address.country);\n setGrantorPostalCode(address.postal_code);\n });\n }\n }\n\n if (Object.keys(grantorData).length !== 0) {\n if (grantorData.pii.length !== 0) {\n setGrantorDob(grantorData.pii[0].date_of_birth);\n setGrantorIDNumber(grantorData.pii[0].id_number);\n }\n setGrantorFirstName(grantorData.first_name);\n setGrantorLastName(grantorData.last_name);\n setGrantorEmail(grantorData.email);\n setGrantorPhoneNumber(grantorData.phone_number);\n setGrantorDomicileCountry(grantorData.domicile_country);\n }\n\n if (\n user &&\n accountSummaryData &&\n user.accountListData.length !== 0 &&\n accountSummaryData.entities.length !== 0 &&\n accountSummaryData.entities[0].addresses.length !== 0\n ) {\n if (accountSummaryData.entities[0].addresses.length === 1) {\n setAddressLine1(\n accountSummaryData.entities[0].addresses[0].address_line_1\n );\n setAddressLine2(\n accountSummaryData.entities[0].addresses[0].address_line_2\n );\n setCity(accountSummaryData.entities[0].addresses[0].city);\n setState(accountSummaryData.entities[0].addresses[0].state);\n setCountry(accountSummaryData.entities[0].addresses[0].country);\n setPostalCode(\n accountSummaryData.entities[0].addresses[0].postal_code\n );\n } else {\n accountSummaryData.entities[0].addresses.forEach((addressEntry) => {\n setAddressLine1(addressEntry.address_line_1);\n setAddressLine2(addressEntry.address_line_2);\n setCity(addressEntry.city);\n setState(addressEntry.state);\n setCountry(addressEntry.country);\n setPostalCode(addressEntry.postal_code);\n });\n }\n }\n\n if (\n user &&\n accountSummaryData &&\n user.accountListData.length !== 0 &&\n accountSummaryData.entities.length !== 0 &&\n accountSummaryData.entities[0].tax_info.length !== 0\n ) {\n setIDNumber(accountSummaryData.entities[0].tax_info[0].id_number);\n let taxTypes = {\n FTID: \"Foreign Tax ID\",\n EIN: \"EIN\",\n ITIN: \"ITIN\",\n };\n setIDType(\n taxTypes[accountSummaryData.entities[0].tax_info[0].id_type]\n );\n }\n\n setCountryOfFormation(\n user\n ? user.accountListData.length !== 0\n ? accountSummaryData.entities.length !== 0\n ? accountSummaryData.entities[0].country_of_formation\n : \"\"\n : \"\"\n : \"\"\n );\n\n let types = {\n TRUST: \"Irrevocable Trust\",\n LT: \"Revocable Trust\",\n };\n\n setTrustType(\n user\n ? user.accountListData.length !== 0\n ? accountSummaryData.entities.length !== 0\n ? accountSummaryData.entities[0].type\n : \"\"\n : \"\"\n : \"\"\n );\n\n setAccountName(user && accountSummaryData.entities[0].legal_name);\n\n let accountTrustees = accountSummaryData.related_parties\n .filter((relatedParty) => relatedParty.role === \"TST\")\n .map((relatedParty) => {\n return {\n relatedPartyType: \"Person\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: relatedParty.first_name,\n lastName: relatedParty.last_name,\n email: relatedParty.email,\n phoneNumber: relatedParty.phone_number,\n addressLine1: relatedParty.addresses[0].address_line_1,\n addressLine2: relatedParty.addresses[0].address_line_2,\n city: relatedParty.addresses[0].city,\n state: relatedParty.addresses[0].state,\n country: relatedParty.addresses[0].country,\n postalCode: relatedParty.addresses[0].postal_code,\n addressType: relatedParty.addresses[0].address_type,\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: relatedParty.pii[0].date_of_birth,\n dateOfBirthError: \"\",\n idType: relatedParty.pii[0].id_type,\n idNum: relatedParty.pii[0].id_number,\n idNumError: \"\",\n domicileCountry: relatedParty.domicile_country,\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: relatedParty.percent_owned,\n percentOwnedError: \"\",\n citizenship: relatedParty.citizenship,\n citizenshipError: \"\",\n };\n });\n\n let accountTrusteeEntities = accountSummaryData.related_parties_entities\n .filter((relatedParty) => relatedParty.role === \"TST\")\n .map((relatedParty) => {\n return {\n relatedPartyType: \"Entity\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: relatedParty.entity_percent_owned,\n entityPercentOwnedError: \"\",\n entityName: relatedParty.entity_name,\n entityNameError: \"\",\n entityAddressLine1: relatedParty.entity_address_line_1,\n entityAddressLine1Error: \"\",\n entityAddressLine2: relatedParty.entity_address_line_2,\n entityAddressLine2Error: \"\",\n entityCity: relatedParty.entity_city,\n entityCityError: \"\",\n entityState: relatedParty.entity_state,\n entityStateError: \"\",\n entityPostalCode: relatedParty.entity_postal_code,\n entityPostalCodeError: \"\",\n entityTaxIDNumber: relatedParty.entity_tax_id_number,\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: relatedParty.entity_phone_number,\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation:\n relatedParty.entity_state_of_incorporation,\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent:\n relatedParty.entity_mailing_address_line_1 !== \"\"\n ? \"Yes\"\n : \"No\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1:\n relatedParty.entity_mailing_address_line_1,\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2:\n relatedParty.entity_mailing_address_line_2,\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: relatedParty.entity_mailing_city,\n entityMailingCityError: \"\",\n entityMailingState: relatedParty.entity_mailing_state,\n entityMailingStateError: \"\",\n entityMailingPostalCode: relatedParty.entity_mailing_postal_code,\n entityMailingPostalCodeError: \"\",\n entityType: relatedParty.entity_type,\n entityTypeError: \"\",\n entityControlPersonFirstName:\n relatedParty.entity_control_person_first_name,\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName:\n relatedParty.entity_control_person_last_name,\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail:\n relatedParty.entity_control_person_email,\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased:\n relatedParty.entity_control_person_is_us_based === true ||\n relatedParty.entity_control_person_is_us_based === \"Yes\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen:\n relatedParty.entity_control_person_is_us_citizen === true ||\n relatedParty.entity_control_person_is_us_citizen === \"Yes\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable:\n relatedParty.entity_control_person_address_line_1 !== \"\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1:\n relatedParty.entity_control_person_address_line_1,\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2:\n relatedParty.entity_control_person_address_line_2,\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: relatedParty.entity_control_person_city,\n entityControlPersonCityError: \"\",\n entityControlPersonState:\n relatedParty.entity_control_person_state,\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode:\n relatedParty.entity_control_person_postal_code,\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber:\n relatedParty.entity_control_person_phone_number,\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber:\n relatedParty.entity_control_person_tax_id_number,\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: relatedParty.entity_control_person_dob,\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n };\n });\n\n setRelatedAccounts(accountTrustees.concat(accountTrusteeEntities));\n\n let accountBeneficialOwnerPersons = accountSummaryData.related_parties\n .filter((relatedParty) => relatedParty.role === \"BO\")\n .map((relatedParty) => {\n return {\n relatedPartyType: \"Person\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: relatedParty.first_name,\n lastName: relatedParty.last_name,\n email: relatedParty.email,\n phoneNumber: relatedParty.phone_number,\n addressLine1: relatedParty.addresses[0].address_line_1,\n addressLine2: relatedParty.addresses[0].address_line_2,\n city: relatedParty.addresses[0].city,\n state: relatedParty.addresses[0].state,\n country: relatedParty.addresses[0].country,\n postalCode: relatedParty.addresses[0].postal_code,\n addressType: relatedParty.addresses[0].address_type,\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: relatedParty.pii[0].date_of_birth,\n dateOfBirthError: \"\",\n idType: relatedParty.pii[0].id_type,\n idNum: relatedParty.pii[0].id_number,\n idNumError: \"\",\n domicileCountry: relatedParty.domicile_country,\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: relatedParty.percent_owned,\n percentOwnedError: \"\",\n citizenship: relatedParty.citizenship,\n citizenshipError: \"\",\n };\n });\n\n let accountBeneficialOwnerEntities =\n accountSummaryData.related_parties_entities\n .filter((relatedParty) => relatedParty.role === \"BO\")\n .map((relatedParty) => {\n return {\n relatedPartyType: \"Entity\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: relatedParty.entity_percent_owned,\n entityPercentOwnedError: \"\",\n entityName: relatedParty.entity_name,\n entityNameError: \"\",\n entityAddressLine1: relatedParty.entity_address_line_1,\n entityAddressLine1Error: \"\",\n entityAddressLine2: relatedParty.entity_address_line_2,\n entityAddressLine2Error: \"\",\n entityCity: relatedParty.entity_city,\n entityCityError: \"\",\n entityState: relatedParty.entity_state,\n entityStateError: \"\",\n entityPostalCode: relatedParty.entity_postal_code,\n entityPostalCodeError: \"\",\n entityTaxIDNumber: relatedParty.entity_tax_id_number,\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: relatedParty.entity_phone_number,\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation:\n relatedParty.entity_state_of_incorporation,\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent:\n relatedParty.entity_mailing_address_line_1 !== \"\"\n ? \"Yes\"\n : \"No\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1:\n relatedParty.entity_mailing_address_line_1,\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2:\n relatedParty.entity_mailing_address_line_2,\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: relatedParty.entity_mailing_city,\n entityMailingCityError: \"\",\n entityMailingState: relatedParty.entity_mailing_state,\n entityMailingStateError: \"\",\n entityMailingPostalCode:\n relatedParty.entity_mailing_postal_code,\n entityMailingPostalCodeError: \"\",\n entityType: relatedParty.entity_type,\n entityTypeError: \"\",\n entityControlPersonFirstName:\n relatedParty.entity_control_person_first_name,\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName:\n relatedParty.entity_control_person_last_name,\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail:\n relatedParty.entity_control_person_email,\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased:\n relatedParty.entity_control_person_is_us_based === true ||\n relatedParty.entity_control_person_is_us_based === \"Yes\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen:\n relatedParty.entity_control_person_is_us_citizen === true ||\n relatedParty.entity_control_person_is_us_citizen === \"Yes\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable:\n relatedParty.entity_control_person_address_line_1 !== \"\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1:\n relatedParty.entity_control_person_address_line_1,\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2:\n relatedParty.entity_control_person_address_line_2,\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity:\n relatedParty.entity_control_person_city,\n entityControlPersonCityError: \"\",\n entityControlPersonState:\n relatedParty.entity_control_person_state,\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode:\n relatedParty.entity_control_person_postal_code,\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber:\n relatedParty.entity_control_person_phone_number,\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber:\n relatedParty.entity_control_person_tax_id_number,\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: relatedParty.entity_control_person_dob,\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_related_party_type\n : \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_name\n : \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_type\n : \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_percent_owned\n : \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_state_of_incorporation\n : \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_tax_id_number\n : \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_phone_number\n : \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_address_line_1\n : \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_address_line_2\n : \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_city\n : \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_state\n : \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_postal_code\n : \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_is_trust_management_company\n : \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_address_type\n : \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_first_name\n : \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_last_name\n : \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_email\n : \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_is_us_based\n : \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_is_us_citizen\n : \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_phone_number\n : \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_address_line_1 !==\n \"\"\n ? \"Yes\"\n : \"No\"\n : \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_address_line_1\n : \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_address_line_2\n : \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_city\n : \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_state\n : \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_postal_code\n : \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_tax_id_number\n : \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_dob\n : \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n };\n });\n\n setBeneficialOwnerRelatedAccounts(\n accountBeneficialOwnerPersons.concat(accountBeneficialOwnerEntities)\n );\n // setRelatedAccounts(\n // accountSummaryData.related_parties\n // .filter(\n // (relatedParty) =>\n // relatedParty.role === \"TST\" || relatedParty.role === \"BO\"\n // )\n // .map((relatedParty) => ({\n // firstName: relatedParty.first_name,\n // lastName: relatedParty.last_name,\n // email: relatedParty.email,\n // phoneNumber: relatedParty.phone_number,\n // addressLine1: relatedParty.addresses[0].address_line_1,\n // addressLine2: relatedParty.addresses[0].address_line_2,\n // city: relatedParty.addresses[0].city,\n // country: relatedParty.addresses[0].country,\n // state: relatedParty.addresses[0].state,\n // postalCode: relatedParty.addresses[0].postal_code,\n // dateOfBirth: relatedParty.pii[0].date_of_birth,\n // idNum: relatedParty.pii[0].id_number,\n // domicileCountry: relatedParty.domicile_country,\n // idType: relatedParty.pii[0].id_type,\n // percentOwned: relatedParty.percent_owned,\n // citizenship: relatedParty.citizenship\n // }))\n // );\n } else if (accountSummaryData.account_type === \"ENT\") {\n if (\n user &&\n accountSummaryData &&\n user.accountListData.length !== 0 &&\n accountSummaryData.entities.length !== 0 &&\n accountSummaryData.entities[0].addresses.length !== 0\n ) {\n if (accountSummaryData.entities[0].addresses.length === 1) {\n setAddressLine1(\n accountSummaryData.entities[0].addresses[0].address_line_1\n );\n setAddressLine2(\n accountSummaryData.entities[0].addresses[0].address_line_2\n );\n setCity(accountSummaryData.entities[0].addresses[0].city);\n setState(accountSummaryData.entities[0].addresses[0].state);\n setCountry(accountSummaryData.entities[0].addresses[0].country);\n setPostalCode(\n accountSummaryData.entities[0].addresses[0].postal_code\n );\n } else {\n accountSummaryData.entities[0].addresses.forEach((addressEntry) => {\n setAddressLine1(addressEntry.address_line_1);\n setAddressLine2(addressEntry.address_line_2);\n setCity(addressEntry.city);\n setState(addressEntry.state);\n setCountry(addressEntry.country);\n setPostalCode(addressEntry.postal_code);\n });\n }\n }\n\n if (\n user &&\n accountSummaryData &&\n user.accountListData.length !== 0 &&\n accountSummaryData.entities.length !== 0 &&\n accountSummaryData.entities[0].tax_info.length !== 0\n ) {\n setIDNumber(accountSummaryData.entities[0].tax_info[0].id_number);\n let taxTypes = {\n FTID: \"Foreign Tax ID\",\n EIN: \"EIN\",\n ITIN: \"ITIN\",\n };\n setIDType(\n taxTypes[accountSummaryData.entities[0].tax_info[0].id_type]\n );\n }\n\n setCountryOfFormation(\n user\n ? user.accountListData.length !== 0\n ? accountSummaryData.entities.length !== 0\n ? accountSummaryData.entities[0].country_of_formation\n : \"\"\n : \"\"\n : \"\"\n );\n\n let types = {\n TRUST: \"Irrevocable Trust\",\n LT: \"Revocable Trust\",\n LLC: \"Limited Liability Corporation\",\n \"C-CORP\": \"C-Corporation\",\n \"S-CORP\": \"S-Corporation\",\n LP: \"Limited Partnership\",\n GP: \"General Partnership\",\n FE: \"Foreign Entity\",\n JOINT: \"Joint\",\n };\n\n setTrustType(\n user\n ? user.accountListData.length !== 0\n ? accountSummaryData.entities.length !== 0\n ? accountSummaryData.entities[0].type\n : \"\"\n : \"\"\n : \"\"\n );\n setAccountName(user && accountSummaryData.entities[0].legal_name);\n\n let accountBeneficialOwnerPersons = accountSummaryData.related_parties\n .filter((relatedParty) => relatedParty.role === \"BO\")\n .map((relatedParty) => {\n return {\n relatedPartyType: \"Person\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: \"\",\n entityPercentOwnedError: \"\",\n entityName: \"\",\n entityNameError: \"\",\n entityAddressLine1: \"\",\n entityAddressLine1Error: \"\",\n entityAddressLine2: \"\",\n entityAddressLine2Error: \"\",\n entityCity: \"\",\n entityCityError: \"\",\n entityState: \"\",\n entityStateError: \"\",\n entityPostalCode: \"\",\n entityPostalCodeError: \"\",\n entityTaxIDNumber: \"\",\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: \"\",\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation: \"\",\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent: \"\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1: \"\",\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2: \"\",\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: \"\",\n entityMailingCityError: \"\",\n entityMailingState: \"\",\n entityMailingStateError: \"\",\n entityMailingPostalCode: \"\",\n entityMailingPostalCodeError: \"\",\n entityType: \"\",\n entityTypeError: \"\",\n entityControlPersonFirstName: \"\",\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName: \"\",\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail: \"\",\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased: \"\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen: \"\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable: \"\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1: \"\",\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2: \"\",\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity: \"\",\n entityControlPersonCityError: \"\",\n entityControlPersonState: \"\",\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode: \"\",\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber: \"\",\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber: \"\",\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: \"\",\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType: \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName: \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType: \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned: \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation: \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber: \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber: \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1: \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2: \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity: \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState: \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode: \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany: \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType: \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName: \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName: \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail: \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased: \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen: \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber: \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable: \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1: \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2: \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity: \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState: \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode: \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber: \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB: \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: relatedParty.first_name,\n lastName: relatedParty.last_name,\n email: relatedParty.email,\n phoneNumber: relatedParty.phone_number,\n addressLine1: relatedParty.addresses[0].address_line_1,\n addressLine2: relatedParty.addresses[0].address_line_2,\n city: relatedParty.addresses[0].city,\n state: relatedParty.addresses[0].state,\n country: relatedParty.addresses[0].country,\n postalCode: relatedParty.addresses[0].postal_code,\n addressType: relatedParty.addresses[0].address_type,\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: relatedParty.pii[0].date_of_birth,\n dateOfBirthError: \"\",\n idType: relatedParty.pii[0].id_type,\n idNum: relatedParty.pii[0].id_number,\n idNumError: \"\",\n domicileCountry: relatedParty.domicile_country,\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: relatedParty.percent_owned,\n percentOwnedError: \"\",\n citizenship: relatedParty.citizenship,\n citizenshipError: \"\",\n };\n });\n\n let accountBeneficialOwnerEntities =\n accountSummaryData.related_parties_entities\n .filter((relatedParty) => relatedParty.role === \"BO\")\n .map((relatedParty) => {\n return {\n relatedPartyType: \"Entity\",\n relatedPartyTypeError: \"\",\n entityPercentOwned: relatedParty.entity_percent_owned,\n entityPercentOwnedError: \"\",\n entityName: relatedParty.entity_name,\n entityNameError: \"\",\n entityAddressLine1: relatedParty.entity_address_line_1,\n entityAddressLine1Error: \"\",\n entityAddressLine2: relatedParty.entity_address_line_2,\n entityAddressLine2Error: \"\",\n entityCity: relatedParty.entity_city,\n entityCityError: \"\",\n entityState: relatedParty.entity_state,\n entityStateError: \"\",\n entityPostalCode: relatedParty.entity_postal_code,\n entityPostalCodeError: \"\",\n entityTaxIDNumber: relatedParty.entity_tax_id_number,\n entityTaxIDNumberError: \"\",\n entityPhoneNumber: relatedParty.entity_phone_number,\n entityPhoneNumberError: \"\",\n entityStateOfIncorporation:\n relatedParty.entity_state_of_incorporation,\n entityStateOfIncorporationError: \"\",\n entityMailingAddressDifferent:\n relatedParty.entity_mailing_address_line_1 !== \"\"\n ? \"Yes\"\n : \"No\",\n entityMailingAddressDifferentError: \"\",\n entityMailingAddressLine1:\n relatedParty.entity_mailing_address_line_1,\n entityMailingAddressLine1Error: \"\",\n entityMailingAddressLine2:\n relatedParty.entity_mailing_address_line_2,\n entityMailingAddressLine2Error: \"\",\n entityMailingCity: relatedParty.entity_mailing_city,\n entityMailingCityError: \"\",\n entityMailingState: relatedParty.entity_mailing_state,\n entityMailingStateError: \"\",\n entityMailingPostalCode:\n relatedParty.entity_mailing_postal_code,\n entityMailingPostalCodeError: \"\",\n entityType: relatedParty.entity_type,\n entityTypeError: \"\",\n entityControlPersonFirstName:\n relatedParty.entity_control_person_first_name,\n entityControlPersonFirstNameError: \"\",\n entityControlPersonLastName:\n relatedParty.entity_control_person_last_name,\n entityControlPersonLastNameError: \"\",\n entityControlPersonEmail:\n relatedParty.entity_control_person_email,\n entityControlPersonEmailError: \"\",\n entityControlPersonIsUSBased:\n relatedParty.entity_control_person_is_us_based === true ||\n relatedParty.entity_control_person_is_us_based === \"Yes\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonIsUSBasedError: \"\",\n entityControlPersonIsUSCitizen:\n relatedParty.entity_control_person_is_us_citizen === true ||\n relatedParty.entity_control_person_is_us_citizen === \"Yes\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonIsUSCitizenError: \"\",\n entityControlPersonPIIAvailable:\n relatedParty.entity_control_person_address_line_1 !== \"\"\n ? \"Yes\"\n : \"No\",\n entityControlPersonPIIAvailableError: \"\",\n entityControlPersonAddressLine1:\n relatedParty.entity_control_person_address_line_1,\n entityControlPersonAddressLine1Error: \"\",\n entityControlPersonAddressLine2:\n relatedParty.entity_control_person_address_line_2,\n entityControlPersonAddressLine2Error: \"\",\n entityControlPersonCity:\n relatedParty.entity_control_person_city,\n entityControlPersonCityError: \"\",\n entityControlPersonState:\n relatedParty.entity_control_person_state,\n entityControlPersonStateError: \"\",\n entityControlPersonPostalCode:\n relatedParty.entity_control_person_postal_code,\n entityControlPersonPostalCodeError: \"\",\n entityControlPersonPhoneNumber:\n relatedParty.entity_control_person_phone_number,\n entityControlPersonPhoneNumberError: \"\",\n entityControlPersonTaxIDNumber:\n relatedParty.entity_control_person_tax_id_number,\n entityControlPersonTaxIDNumberError: \"\",\n entityControlPersonDOB: relatedParty.entity_control_person_dob,\n entityControlPersonDOBError: \"\",\n entityCertificateOfFormation: \"\",\n entityCertificateOfFormationError: \"\",\n entityProofOfAddress: \"\",\n entityProofOfAddressError: \"\",\n entityControlPersonPassportDocument: \"\",\n entityControlPersonPassportDocumentError: \"\",\n entityControlPersonProofOfAddress: \"\",\n entityControlPersonProofOfAddressError: \"\",\n entityIsTrustManagementCompany: \"\",\n entityIsTrustManagementCompanyError: \"\",\n entityHasAlternateSignatory: \"\",\n entityHasAlternateSignatoryError: \"\",\n entityAlternateSignatoryFullName: \"\",\n entityAlternateSignatoryFullNameError: \"\",\n entityAlternateSignatoryEmail: \"\",\n entityAlternateSignatoryEmailError: \"\",\n entityAlternateSignatoryTitle: \"\",\n entityAlternateSignatoryTitleError: \"\",\n entityControlPersonRole: \"\",\n entityControlPersonRoleError: \"\",\n entityNestedControlEntityTrusteeType:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_related_party_type\n : \"\",\n entityNestedControlEntityTrusteeTypeError: \"\",\n entityNestedControlEntityName:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_name\n : \"\",\n entityNestedControlEntityNameError: \"\",\n entityNestedControlEntityType:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_type\n : \"\",\n entityNestedControlEntityTypeError: \"\",\n entityNestedControlEntityPercentOwned:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_percent_owned\n : \"\",\n entityNestedControlEntityPercentOwnedError: \"\",\n entityNestedControlEntityStateOfIncorporation:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_state_of_incorporation\n : \"\",\n entityNestedControlEntityStateOfIncorporationError: \"\",\n entityNestedControlEntityTaxIDNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_tax_id_number\n : \"\",\n entityNestedControlEntityTaxIDNumberError: \"\",\n entityNestedControlEntityPhoneNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_phone_number\n : \"\",\n entityNestedControlEntityPhoneNumberError: \"\",\n entityNestedControlEntityAddressLine1:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_address_line_1\n : \"\",\n entityNestedControlEntityAddressLine1Error: \"\",\n entityNestedControlEntityAddressLine2:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_address_line_2\n : \"\",\n entityNestedControlEntityAddressLine2Error: \"\",\n entityNestedControlEntityCity:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_city\n : \"\",\n entityNestedControlEntityCityError: \"\",\n entityNestedControlEntityState:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_state\n : \"\",\n entityNestedControlEntityStateError: \"\",\n entityNestedControlEntityPostalCode:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_postal_code\n : \"\",\n entityNestedControlEntityPostalCodeError: \"\",\n entityNestedControlEntityIsTrustManagementCompany:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_is_trust_management_company\n : \"\",\n entityNestedControlEntityIsTrustManagementCompanyError: \"\",\n entityNestedControlEntityAddressType:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_address_type\n : \"\",\n entityNestedControlEntityAddressTypeError: \"\",\n entityNestedControlEntityCertificateOfFormation: \"\",\n entityNestedControlEntityCertificateOfFormationError: \"\",\n entityNestedControlEntityProofOfAddress: \"\",\n entityNestedControlEntityProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonFirstName:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_first_name\n : \"\",\n entityNestedControlEntityControlPersonFirstNameError: \"\",\n entityNestedControlEntityControlPersonLastName:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_last_name\n : \"\",\n entityNestedControlEntityControlPersonLastNameError: \"\",\n entityNestedControlEntityControlPersonEmail:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_email\n : \"\",\n entityNestedControlEntityControlPersonEmailError: \"\",\n entityNestedControlEntityControlPersonIsUSBased:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_is_us_based\n : \"\",\n entityNestedControlEntityControlPersonIsUSBasedError: \"\",\n entityNestedControlEntityControlPersonIsUSCitizen:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_is_us_citizen\n : \"\",\n entityNestedControlEntityControlPersonIsUSCitizenError: \"\",\n entityNestedControlEntityControlPersonPhoneNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_phone_number\n : \"\",\n entityNestedControlEntityControlPersonPhoneNumberError: \"\",\n entityNestedControlEntityControlPersonPIIAvailable:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_address_line_1 !==\n \"\"\n ? \"Yes\"\n : \"No\"\n : \"\",\n entityNestedControlEntityControlPersonPIIAvailableError: \"\",\n entityNestedControlEntityControlPersonAddressLine1:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_address_line_1\n : \"\",\n entityNestedControlEntityControlPersonAddressLine1Error: \"\",\n entityNestedControlEntityControlPersonAddressLine2:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_address_line_2\n : \"\",\n entityNestedControlEntityControlPersonAddressLine2Error: \"\",\n entityNestedControlEntityControlPersonCity:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_city\n : \"\",\n entityNestedControlEntityControlPersonCityError: \"\",\n entityNestedControlEntityControlPersonState:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_state\n : \"\",\n entityNestedControlEntityControlPersonStateError: \"\",\n entityNestedControlEntityControlPersonPostalCode:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_postal_code\n : \"\",\n entityNestedControlEntityControlPersonPostalCodeError: \"\",\n entityNestedControlEntityControlPersonTaxIDNumber:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_tax_id_number\n : \"\",\n entityNestedControlEntityControlPersonTaxIDNumberError: \"\",\n entityNestedControlEntityControlPersonDOB:\n relatedParty.nested_related_party_type !== null &&\n relatedParty.nested_related_party_type !== undefined &&\n relatedParty.nested_related_party_type !== \"\"\n ? relatedParty.nested_entity_control_person_dob\n : \"\",\n entityNestedControlEntityControlPersonDOBError: \"\",\n entityNestedControlEntityControlPersonPassportDocument: \"\",\n entityNestedControlEntityControlPersonPassportDocumentError: \"\",\n entityNestedControlEntityControlPersonProofOfAddress: \"\",\n entityNestedControlEntityControlPersonProofOfAddressError: \"\",\n entityNestedControlEntityControlPersonAddressType: \"\",\n entityNestedControlEntityControlPersonAddressTypeError: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phoneNumber: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"\",\n postalCode: \"\",\n addressType: \"\",\n deliverableAddressLine1: \"\",\n deliverableAddressLine2: \"\",\n deliverableCity: \"\",\n deliverableState: \"\",\n deliverableCountry: \"\",\n deliverablePostalCode: \"\",\n deliverableAddressType: \"\",\n dateOfBirth: \"\",\n dateOfBirthError: \"\",\n idType: \"\",\n idNum: \"\",\n idNumError: \"\",\n domicileCountry: \"\",\n firstNameError: \"\",\n lastNameError: \"\",\n emailError: \"\",\n phoneNumberError: \"\",\n addressLine1Error: \"\",\n addressLine2Error: \"\",\n cityError: \"\",\n stateError: \"\",\n countryError: \"\",\n postalCodeError: \"\",\n deliverableAddressLine1Error: \"\",\n deliverableAddressLine2Error: \"\",\n deliverableCityError: \"\",\n deliverableStateError: \"\",\n deliverableCountryError: \"\",\n deliverablePostalCodeError: \"\",\n primaryAddressDeliverable: \"\",\n domicileCountryError: \"\",\n deliverableSelectionError: \"\",\n percentOwned: \"\",\n percentOwnedError: \"\",\n citizenship: \"\",\n citizenshipError: \"\",\n };\n });\n\n setRelatedAccounts(\n accountBeneficialOwnerPersons.concat(accountBeneficialOwnerEntities)\n );\n\n // setRelatedAccounts(\n // accountSummaryData.related_parties\n // .filter((relatedParty) => relatedParty.role === \"BO\")\n // .map((relatedParty) => ({\n // firstName: relatedParty.first_name,\n // lastName: relatedParty.last_name,\n // email: relatedParty.email,\n // phoneNumber: relatedParty.phone_number,\n // addressLine1: relatedParty.addresses[0].address_line_1,\n // addressLine2: relatedParty.addresses[0].address_line_2,\n // city: relatedParty.addresses[0].city,\n // country: relatedParty.addresses[0].country,\n // state: relatedParty.addresses[0].state,\n // postalCode: relatedParty.addresses[0].postal_code,\n // dateOfBirth: relatedParty.pii[0].date_of_birth,\n // idNum: relatedParty.pii[0].id_number,\n // domicileCountry: relatedParty.domicile_country,\n // idType: relatedParty.pii[0].id_type,\n // percentOwned: relatedParty.percent_owned,\n // citizenship: relatedParty.citizenship,\n // }))\n // );\n }\n if (accountSummaryData.account_type === \"JOINT\") {\n //\n const response = await getAccountSummary(id);\n console.log(response.data[0].secondary_investor_profile);\n\n const mailing =\n response.data[0].secondary_investor_profile.investor_addresses.find(\n (s) => s.address_type === \"RM\"\n );\n\n setJointFirstName(\n response.data[0].secondary_investor_profile.first_name\n );\n setJointLastName(response.data[0].secondary_investor_profile.last_name);\n setJointEmail(response.data[0].secondary_investor_profile.email);\n setJointPhoneNumber(\n response.data[0].secondary_investor_profile.phone_number\n );\n setJointDomicileCountry(\n response.data[0].secondary_investor_profile.country\n );\n\n setJointDob(\n response.data[0].secondary_investor_profile.investor_pii[0]\n .date_of_birth\n );\n\n setJointAddressLine1(mailing.address_line_1);\n setJointAddressLine2(mailing.address_line_2);\n setJointCity(mailing.city);\n\n setJointCountry(mailing.country);\n\n setJointState(mailing.state);\n\n setJointPostalCode(mailing.postal_code);\n\n setJointIDNumber(\n response.data[0].secondary_investor_profile.investor_pii[0].id_num\n );\n\n setJointIDType(\n response.data[0].secondary_investor_profile.investor_pii[0].id_type\n );\n }\n }\n parseAccountSummaryData();\n }, [user]);\n\n return (\n \n
    \n
    \n {[\"IND\", \"JOINT\"].includes(accountType) && (\n \n )}\n {accountType === \"TRT\" && (\n \n )}\n {accountType === \"ENT\" && (\n \n )}\n
    \n \n );\n}\nexport default AccountDetailsPage;\n","import React, { useState, useEffect } from \"react\";\nimport { useHistory, useLocation } from \"react-router\";\nimport ReactInputVerificationCode from \"react-input-verification-code\";\nimport StateButtonLoading from \"../../../../Components/GlobalComponents/StateButtonLoading/StateButtonLoading\";\nimport { Auth } from \"aws-amplify\";\nimport AlertSnackBar from \"../../../../GlobalComponents/AlertSnackBar/AlertSnackBar\";\nimport \"./ConfirmCodeStyles/ConfirmCodeStyles.scss\";\n\nfunction ConfirmCode() {\n const location = useLocation();\n\n const [email, setEmail] = useState(\n location !== null &&\n location !== undefined &&\n location.state !== null &&\n location.state !== undefined &&\n location.state.email !== null &&\n location.state.email !== undefined\n ? location.state.email\n : \"\"\n );\n const [verificationCode, setVerificationCode] = useState(\"\");\n const [verificationCodeError, setVerificationCodeError] = useState(\"\");\n const [loading, setLoading] = useState(\"\");\n const [resendCodeLoading, setResendCodeLoading] = useState(false);\n const [proceed, setProceed] = useState(false);\n\n const [codeSendSuccessSnackbarState, setCodeSendSuccessSnackbarState] =\n useState(false);\n\n const [codeSendErrorSnackbarState, setCodeSendErrorSnackbarState] =\n useState(false);\n\n let history = useHistory();\n\n useEffect(() => {\n if (verificationCode.length === 6) {\n setProceed(true);\n } else {\n setProceed(false);\n }\n }, [verificationCode]);\n\n useEffect(() => {\n if (email === \"\")\n history.push(\"/login\")\n }, [email]);\n\n const resendConfirmationCode = async () => {\n setResendCodeLoading(true);\n try {\n await Auth.resendSignUp(email);\n setCodeSendSuccessSnackbarState(true);\n setResendCodeLoading(false);\n } catch (err) {\n setCodeSendErrorSnackbarState(true);\n setResendCodeLoading(false);\n }\n };\n\n const verifyUser = async () => {\n setLoading(true);\n try {\n var cognitoUser = await Auth.confirmSignUp(email, verificationCode);\n if (process.env.REACT_APP_DEBUG === \"1\") console.log(cognitoUser);\n setLoading(false);\n history.push({\n pathname: \"/login\",\n state: { emailConfirmationSuccessful: true },\n });\n } catch (err) {\n setVerificationCodeError(\n \"Verification failed. Please enter a valid verification code.\"\n );\n console.log(err);\n }\n return;\n };\n\n return (\n \n
    \n
    \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n Verify your email\n \n
    \n
    \n
    \n
    \n \n We emailed you a six-digit code to:{\" \"}\n \n {email.toLowerCase()}\n \n \n
    \n
    \n
    \n
    \n \n Enter the code below to confirm your email address.\n \n
    \n
    \n
    \n
    \n \n *Please check your spam mail if the code does not appear\n in your normal inbox.\n \n
    \n
    \n
    \n
    \n
    \n setVerificationCode(value)}\n />\n {verificationCodeError && (\n \n {verificationCodeError}\n \n )}\n
    \n
    \n
    \n
    \n
    \n {resendCodeLoading ? (\n \n ) : (\n \n Never received the confirmation code? Click to\n resendConfirmationCode()}\n >\n {\" \"}\n resend code.\n \n \n )}\n
    \n
    \n
    \n {\n if (proceed) {\n verifyUser();\n }\n }}\n />\n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n );\n}\nexport default ConfirmCode;\n","import React, { useState, useEffect } from \"react\";\n//import \"./Styles/Styles.scss\";\nimport HelloSign from \"hellosign-embedded\";\nimport {\n getSubdocLinkFromCode,\n resendMagicLink,\n clickToSign,\n} from \"../../Api/DocumentsApi\";\n//import SnackBar from \"./../../Components/Alerts/SnackBar/SnackBar\";\nimport Button from \"@mui/material/Button\";\nimport { PDFDocument } from \"./../Fund/FundDetailsPage/FundDetailsPageMainContentSection/DeckSection/DeckSection.js\";\nimport { getSignedURL } from \"../../Api/GlobalFunctions/SignedURL\";\n\nimport { useParams } from \"react-router-dom\";\nimport LoadingAnimation from \"../../Components/GlobalComponents/LoadingAnimation/LoadingAnimation\";\nimport Modal from \"react-bootstrap/Modal\";\n\nconst clickSign = async (code) => {\n const resp = await clickToSign(code);\n};\n\nconst SydecarSigModal = ({\n showModal,\n embeddedLink,\n setShowModal,\n code,\n setDocsSigned,\n}) => (\n setShowModal(false)}\n >\n \n \n Subscription Documents\n \n \n \n
    \n