@adyen/kyc-components 4.14.0 → 4.15.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CHztyhkF.js → AcceptTermsOfServiceComponent-B1_ZqT8v.js} +21 -21
- package/dist/{Accordion-CSpLDvKK.js → Accordion-DmH02rWQ.js} +1 -1
- package/dist/{AccountSetupRejected-C9TJSiM9.js → AccountSetupRejected-CYyJL_st.js} +2 -2
- package/dist/{AdaptiveWorkflow-MtXwzVJR.js → AdaptiveWorkflow-CaDaMZEC.js} +31 -31
- package/dist/{AdaptiveWorkflowComponent-Bhewor7e.js → AdaptiveWorkflowComponent-DqWP2kUh.js} +6 -6
- package/dist/{Address-Db2cQEYy.js → Address-FbRHdNSE.js} +14 -15
- package/dist/{Avatar-DqBKHRAr.js → Avatar-Z3MS8_pW.js} +1 -1
- package/dist/{BusinessFinancingDropin-BK-o6SBq.js → BusinessFinancingDropin-F2e_Y9GW.js} +34 -35
- package/dist/{BusinessFinancingPage-VrHoq-PU.js → BusinessFinancingPage-BR103B31.js} +7 -7
- package/dist/{BusinessTypeSelectionPage-BtvOkjH2.js → BusinessTypeSelectionPage-BpsMCofr.js} +14 -14
- package/dist/{Button-DBN5gM_d.js → Button-3qGOI53m.js} +1 -1
- package/dist/{Checkbox-tUvgt59R.js → Checkbox-DPFQmSgp.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-KPG5AiPs.js → CompanyRegistrationNumberTypeSelector-DuhdLlxA.js} +7 -7
- package/dist/{Confirm-C4GotFqm.js → Confirm-6QfuYcA7.js} +3 -3
- package/dist/{ConstitutionalDocument-1qX0SyAJ.js → ConstitutionalDocument-BjENfQq0.js} +57 -19
- package/dist/{ContactDetails-BxXUWdfK.js → ContactDetails-D4jywPM1.js} +7 -7
- package/dist/{ContextGuidance-DjYWbiMK.js → ContextGuidance-DLlQSpdE.js} +2 -2
- package/dist/{CountryField-CsIpt5bM.js → CountryField-CoPyShy3.js} +5 -5
- package/dist/{Currency-CP4knQcg.js → Currency-C75xXkkT.js} +45 -10
- package/dist/{CustomerSupport-q8nKG83q.js → CustomerSupport-DYVyr9Xs.js} +13 -13
- package/dist/{DebugModal-SNkDlKQ8.js → DebugModal-lhHBRJ1F.js} +10 -10
- package/dist/{DecisionMakerDetails-B0569E7J.js → DecisionMakerDetails-CNeaLZcT.js} +15 -15
- package/dist/{DecisionMakerDetailsPage-at2E8IDW.js → DecisionMakerDetailsPage-CjgUmt3Q.js} +8 -8
- package/dist/{DecisionMakers-7YNJLGEs.js → DecisionMakers-DHjQ6_2w.js} +17 -17
- package/dist/{Dropzone-KCksArof.js → Dropzone-CV5ikL-T.js} +19 -7
- package/dist/{EmbeddedStatus-BKVqJCeu.js → EmbeddedStatus-Cz3F9iXD.js} +4 -4
- package/dist/{EndStateLayout-DfThkkI3.js → EndStateLayout-ic1EOve9.js} +2 -2
- package/dist/{EntityAssociation-CWl4JAHM.js → EntityAssociation-C3WXj_Ll.js} +7 -7
- package/dist/{ErrorPanel-BvGPgHnp.js → ErrorPanel-CLMnAAMi.js} +3 -3
- package/dist/{Field-CQWAWo5U.js → Field-DAUlw0M5.js} +3 -3
- package/dist/{FormNavigation-BwLxW6W7.js → FormNavigation-LjknVdf5.js} +2 -2
- package/dist/{Individual.rules-DrC9MYN9.js → Individual.rules-Cc2Uigav.js} +8 -5
- package/dist/{IndividualDropin-BurOIu0c.js → IndividualDropin-BuO2qp78.js} +46 -48
- package/dist/{InputDate-cTgjAhzm.js → InputDate-B_jtgBB5.js} +2 -2
- package/dist/{InputText-8abfNtHh.js → InputText-B-ebylm4.js} +3 -3
- package/dist/{Introduction-QlQ1-xMy.js → Introduction-BigwaxQh.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-C9epqIjP.js → InvitedDecisionMakerComponent-B6hzsvxg.js} +20 -24
- package/dist/{JpAddress-DWLUHrzL.js → JpAddress-C3t5uUVC.js} +13 -13
- package/dist/{LandingLayout-Dg0sEASR.js → LandingLayout-C1yh_ggf.js} +1 -1
- package/dist/{LegalCompanyNameField-BT9Zfyb8.js → LegalCompanyNameField-BEYJc-cO.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-k-Ww3-qI.js → LegalRepresentativeDetailsPage-B-S7peV_.js} +7 -7
- package/dist/{Link-DtaYQWb-.js → Link-C0jrInxa.js} +1 -1
- package/dist/{ListItem-CZWSCEeJ.js → ListItem-C_g-4xPP.js} +2 -2
- package/dist/{MaskedInput-B-xdIAir.js → MaskedInput-Ccb-5Sk2.js} +6 -6
- package/dist/{MaybeModal-S1KtZRDR.js → MaybeModal-DWTUOvUf.js} +2 -2
- package/dist/{Modal-BgeE7zM2.js → Modal-C__-5LgI.js} +1 -1
- package/dist/{Name-DtDvWkku.js → Name-BlfQjJkJ.js} +4 -4
- package/dist/{NewSummary-5Ek4c4_o.js → NewSummary-raAN3-Os.js} +4 -4
- package/dist/{PayoutDetailsDropinMultiForm-3m2wfCKF.js → PayoutDetailsDropinMultiForm-CN3Mq3RI.js} +131 -534
- package/dist/{PayoutDetailsPage-DhCN9wrq.js → PayoutDetailsPage-BXSyHbcR.js} +8 -8
- package/dist/{RadioGroup-DlzXLoMN.js → RadioGroup-CMiBSXCA.js} +2 -2
- package/dist/{Review-l6QsUZNM.js → Review-Dxdqw9W4.js} +8 -8
- package/dist/{RootBusinessDetailsPage-CBvcRUWb.js → RootBusinessDetailsPage-polINWeA.js} +6 -6
- package/dist/{RootBusinessLinesPage-m7XFuOmK.js → RootBusinessLinesPage-CodFfnxC.js} +31 -31
- package/dist/{RootIndividualDetailsPage-Bf2mvA7C.js → RootIndividualDetailsPage-BswgJJjN.js} +7 -7
- package/dist/{Select-vMYP9lm8.js → Select-CvIMIYjl.js} +6 -6
- package/dist/{SignPCIComponent-BXLKxSaq.js → SignPCIComponent-Cckiube5.js} +20 -20
- package/dist/{SingpassSelection-KT4jh9r-.js → SingpassSelection-BrbjLrJ_.js} +6 -6
- package/dist/{SoleProprietorshipPage-D1w2_7wJ.js → SoleProprietorshipPage-CJSXoE6K.js} +7 -7
- package/dist/{SourceOfFundsPage-D5Xgourk.js → SourceOfFundsPage-4PU-1SXQ.js} +35 -35
- package/dist/{Summary-CfY39bvE.js → Summary-CxQgBZob.js} +9 -9
- package/dist/{TaskListItem-CFrbNe84.js → TaskListItem-C8ZjQZX_.js} +9 -9
- package/dist/{TaskVerificationStatus-gGr34dp5.js → TaskVerificationStatus-DTHF8B9j.js} +1 -1
- package/dist/{TaxInformationField-BVFjH0QM.js → TaxInformationField-DXHcjgAF.js} +14 -15
- package/dist/{TaxReportingDropin-BOlYCtfA.js → TaxReportingDropin-CmqB2ntX.js} +18 -18
- package/dist/{TextArea-C2DkQ41s.js → TextArea-BvphlYOu.js} +4 -4
- package/dist/{TileGroup-B7-q4NXH.js → TileGroup-B8II9Mip.js} +2 -2
- package/dist/{TrustDetailsPage-DYxlp77M.js → TrustDetailsPage-DM1VTZI-.js} +32 -32
- package/dist/{TrustMemberCompanyPage-C-lWKgMJ.js → TrustMemberCompanyPage-c3iSRewM.js} +8 -8
- package/dist/{TrustMemberIndividualPage-Dj5Wrfhj.js → TrustMemberIndividualPage-B1rB7uNu.js} +7 -7
- package/dist/{TrustMemberRoleAndTypePage-Bvh9nkGW.js → TrustMemberRoleAndTypePage-XgH8Wwy7.js} +20 -20
- package/dist/{TrustMembersOverview-BuFB9b26.js → TrustMembersOverview-DN9zUUlt.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-BhEkonyx.js → UnincorporatedPartnershipIndividualPage-BhyWShKQ.js} +7 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DLtg6RUe.js → UnincorporatedPartnershipMemberCompanyPage-C2KPC7sY.js} +8 -8
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-ytvvGos5.js → UnincorporatedPartnershipMemberRoleAndTypePage-CYEHdEyh.js} +12 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-BIR48dPn.js → UnincorporatedPartnershipMembersOverview-C7UxDf-P.js} +9 -9
- package/dist/{VerificationErrorAlert-DxzcXlqX.js → VerificationErrorAlert-BK9X3AUa.js} +4 -4
- package/dist/{accountHolderUtils-BXvNrlqJ.js → accountHolderUtils-oeDmrJa0.js} +1 -1
- package/dist/adyen-business-financing.js +8 -8
- package/dist/adyen-individual-configuration.js +8 -8
- package/dist/adyen-individual-status.js +8 -8
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +62 -57
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +7 -7
- package/dist/adyen-transfer-instrument-configuration.js +7 -7
- package/dist/adyen-transfer-instrument-management.js +13 -13
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{constants-BkamFjj0.js → constants-rWSN2wEc.js} +6 -6
- package/dist/{debouncedInputEvent-D2-Kctv9.js → debouncedInputEvent-Fwwp_K_-.js} +2 -2
- package/dist/en-US-BeIZBdDm.js +7 -0
- package/dist/en-US-CKZZNUWW.js +16 -0
- package/dist/{en-US-BIYEZxZV.js → en-US-CmzloEL3.js} +3 -1
- package/dist/{getProblemsForEntity-CogrYbYP.js → getProblemsForEntity-CXzgYL6R.js} +1 -1
- package/dist/{http-DYzfwjcs.js → http-DeQp0G69.js} +1 -1
- package/dist/{invalidateRootLegalEntity-Ngv5bNVT.js → invalidateRootLegalEntity-C1N15Q0Y.js} +3 -3
- package/dist/{localizeDateString-DB-oTe60.js → localizeDateString-CU7HGR-k.js} +1 -1
- package/dist/{mapExistingFile-CZB9JLAV.js → mapExistingFile-BmyzNoup.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DUElzaoS.js → mapJpAddressSchemaToAddressLocalizations-BGLDkUt1.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-BsHNunzQ.js → mapLegalEntityToIndividualSchema-BUIjjkrb.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-DuqJ08ye.js → mapTransferInstrumentToPayoutAccount-DZMqLmU8.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-DYruZ9lP.js → omitObscuredFieldsIfUnchanged-hdceMqqj.js} +2 -2
- package/dist/{patternValidators-7Kab872i.js → patternValidators-CDmm-_TB.js} +1 -1
- package/dist/{process-field-configurations-U459c7bG.js → process-field-configurations-n3ecaPQ8.js} +1 -1
- package/dist/{resolveEnvironment-CIjrqyM1.js → resolveEnvironment-QjQSqNQs.js} +29 -26
- package/dist/{roleMetadata-bznvTmh3.js → roleMetadata-CWdYxbqM.js} +1 -1
- package/dist/{translation-ZXpd9jdD.js → translation-BR3rLb4m.js} +1 -1
- package/dist/types/components/Business/forms/rules.constants.d.ts +39 -3
- package/dist/types/components/Business/forms/rules.d.ts +0 -39
- package/dist/types/components/Business/utils/utils.d.ts +13 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFormSlice.d.ts +12 -0
- package/dist/{types-Bvp3aTbC.js → types-KjTYEnAG.js} +1 -1
- package/dist/{unincorporated-partnership-GaTPaALJ.js → unincorporated-partnership-BstfjTh2.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CQAe7Co6.js → useAssociatedLegalEntity-QRvyeNwU.js} +2 -2
- package/dist/{useBusinessDetailsData-BBxBwF3t.js → useBusinessDetailsData-QQBD_f1x.js} +240 -57
- package/dist/{useBusinessLines-Dshc0pYD.js → useBusinessLines-B2iCcDej.js} +1 -1
- package/dist/{useCanSeeIntroduction-CsB0nHOF.js → useCanSeeIntroduction-PbyUkvm7.js} +1 -1
- package/dist/{useCreateLegalEntity-38twl3gB.js → useCreateLegalEntity-zPjl13U3.js} +1 -1
- package/dist/{useDataMissingRemediations-7H0hHxXG.js → useDataMissingRemediations-CrKtd_Fd.js} +1 -1
- package/dist/{useForm-CNC9xGFw.js → useForm-D6hI8MLf.js} +2 -2
- package/dist/{useFormContext-BgTBjjTn.js → useFormContext-BTYjMg5H.js} +8 -8
- package/dist/{useLegalEntity-EN5ubX2H.js → useLegalEntity-BXk2tzGe.js} +1 -1
- package/dist/{useMultiForm-CuEwrpJW.js → useMultiForm-DJ8osfTK.js} +2 -2
- package/dist/{useNavigate-DS8zOHLa.js → useNavigate-DzSXuo5y.js} +31 -31
- package/dist/{useOnboardingStatus-Cf6dZFB2.js → useOnboardingStatus-BgO4uPbW.js} +1 -1
- package/dist/{usePciQuestionnaireList-C3bk4K8n.js → usePciQuestionnaireList-BEPt97lw.js} +1 -1
- package/dist/{useSalesChannels-CC-N9vqE.js → useSalesChannels-CxxzJGtX.js} +2 -2
- package/dist/{useScenarios-ful0VqQ4.js → useScenarios-BRGMIufX.js} +1 -1
- package/dist/{useTaskLandedEvent-CtlV_Bum.js → useTaskLandedEvent-Doq80YT8.js} +1 -1
- package/dist/{useTaskStatus-CLcXCIz7.js → useTaskStatus-BLkHjMgm.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DwWvz0vR.js → useTermsOfServiceStatus-B1OpYOua.js} +1 -1
- package/dist/{useTrustMembers-D0ttlpD3.js → useTrustMembers-pXhb6YbF.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-wgiUFuxT.js → useUnincorporatedPartnershipMembers-DK_yrIU4.js} +3 -3
- package/dist/{useUpdateBusinessLines-BRxlqBnM.js → useUpdateBusinessLines-jlXfi57a.js} +1 -1
- package/dist/{useUpdateLegalEntity--JnQBEVo.js → useUpdateLegalEntity-BxyHb_HE.js} +2 -2
- package/dist/{utils-DcUoR5qG.js → utils-BtyrxTzp.js} +1 -1
- package/dist/{utils-DCyOBn7m.js → utils-D5_baw2Q.js} +3 -3
- package/dist/{constants-DrtMSDfx.js → utils-DNIZ6F6L.js} +67 -2
- package/dist/{utils-BFcQUjSW.js → utils-DubzvooO.js} +59 -276
- package/dist/{validate-5G10CMRq.js → validate-B2bZh_uL.js} +6 -18
- package/dist/{validate-wVBIHHi-.js → validate-DyAEhVQH.js} +1 -1
- package/dist/{validateExtractionResult-D10Irw9a.js → validateExtractionResult-BjS2z1De.js} +14 -14
- package/dist/{validationError-tIm9Zzjt.js → validationError-DqjDv5Q-.js} +1 -1
- package/package.json +1 -1
- package/dist/en-US-xwcTnMwf.js +0 -7
- package/dist/japanSupportUtils-H5Zfox2v.js +0 -11
- package/dist/types/constants/config.d.ts +0 -1
- package/dist/types/context/StateContext/useGlobalData.d.ts +0 -10
- package/dist/types/context/StateContext/useStateContext.d.ts +0 -2
- package/dist/utils-BgdkZkf5.js +0 -71
- package/dist/utils-K8Z-zRnu.js +0 -32
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a4371a0d-61fe-477d-8508-dcc046a49e8b", e._sentryDebugIdIdentifier = "sentry-dbid-a4371a0d-61fe-477d-8508-dcc046a49e8b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { j as useToggleContext } from "./resolveEnvironment-
|
|
5
|
+
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { j as useToggleContext } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
7
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
8
|
-
import { o as objectsDeepEqual } from "./AnalyticsContext-BFrJmsp0.js";
|
|
8
|
+
import { l as keysOf, o as objectsDeepEqual } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import {
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import
|
|
14
|
-
import "./
|
|
15
|
-
import {
|
|
10
|
+
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
11
|
+
import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
|
|
12
|
+
import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
|
|
13
|
+
import "./Address-FbRHdNSE.js";
|
|
14
|
+
import "./ErrorPanel-CLMnAAMi.js";
|
|
15
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-Ccb-5Sk2.js";
|
|
16
|
+
import { r as MemoizedDocumentUpload } from "./TaxInformationField-DXHcjgAF.js";
|
|
16
17
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
17
|
-
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-
|
|
18
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-CDmm-_TB.js";
|
|
19
|
+
import { a as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, b as REGISTRATION_NUMBER_EXEMPTION_RULES, f as COUNTRIES_USING_COMPANY_SEARCH } from "./utils-DubzvooO.js";
|
|
18
20
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
19
|
-
import { t as Field } from "./Field-
|
|
20
|
-
import { t as Checkbox } from "./Checkbox-
|
|
21
|
-
import "./
|
|
22
|
-
import
|
|
23
|
-
import { t as
|
|
24
|
-
import "./
|
|
25
|
-
import
|
|
21
|
+
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
22
|
+
import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
|
|
23
|
+
import "./Dropzone-CV5ikL-T.js";
|
|
24
|
+
import "./useForm-D6hI8MLf.js";
|
|
25
|
+
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
26
|
+
import { t as RadioGroup } from "./RadioGroup-CMiBSXCA.js";
|
|
27
|
+
import "./ContextGuidance-DLlQSpdE.js";
|
|
28
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DuhdLlxA.js";
|
|
26
29
|
import { memo } from "preact/compat";
|
|
27
30
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1 } from "preact/hooks";
|
|
28
31
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -116,6 +119,41 @@ function BusinessRegistrationNumberField({ data, valid, errors, helperText, read
|
|
|
116
119
|
] });
|
|
117
120
|
}
|
|
118
121
|
//#endregion
|
|
122
|
+
//#region src/components/Business/utils/utils.ts
|
|
123
|
+
var countryToTaxInfoTypeMap = {
|
|
124
|
+
US: "EIN",
|
|
125
|
+
AU: "ABN",
|
|
126
|
+
NZ: "IRD",
|
|
127
|
+
HK: "BRN",
|
|
128
|
+
SG: "GST"
|
|
129
|
+
};
|
|
130
|
+
var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, legalEntityType) => {
|
|
131
|
+
const isOrganization = legalEntityType === LegalEntityTypes.ORGANIZATION;
|
|
132
|
+
if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
|
|
133
|
+
if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
|
|
134
|
+
if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
|
|
135
|
+
if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
var getCountryOfGoverningLaw = (isCountryOfGoverningLawEnabled, basicData) => {
|
|
139
|
+
if (!isCountryOfGoverningLawEnabled || basicData?.country !== CountryCodes.UnitedKingdom) return;
|
|
140
|
+
return !basicData.countryOfGoverningLaw ? CountryCodes.UnitedKingdom : basicData.countryOfGoverningLaw;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Checks if a country allows registration number exemption for business details.
|
|
144
|
+
*
|
|
145
|
+
* @param country The country code to check.
|
|
146
|
+
* @returns True if the country allows registration number exemption, false otherwise.
|
|
147
|
+
*/
|
|
148
|
+
var isRegistrationExemptionAllowed = (country) => country in REGISTRATION_NUMBER_EXEMPTION_RULES;
|
|
149
|
+
var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
|
|
150
|
+
return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
|
|
151
|
+
};
|
|
152
|
+
var isUsingCompanySearch = (country, taskType) => {
|
|
153
|
+
if (taskType !== TaskTypes.BUSINESS_DETAILS) return false;
|
|
154
|
+
return COUNTRIES_USING_COMPANY_SEARCH.includes(country);
|
|
155
|
+
};
|
|
156
|
+
//#endregion
|
|
119
157
|
//#region src/components/Shared/fields/DBANameField/DBANameField.tsx
|
|
120
158
|
var DBA_NAME_FIELD = ["hasDoingBusinessAs", "doingBusinessAs"];
|
|
121
159
|
function DBANameField({ data, valid, errors, readonly, handleChangeFor }) {
|
|
@@ -1121,4 +1159,4 @@ function ConstitutionalDocumentUpload({ id, legalEntityType, ...props }) {
|
|
|
1121
1159
|
}
|
|
1122
1160
|
var MemoizedConstitutionalDocument = memo(ConstitutionalDocumentUpload, (prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.shouldValidate === nextProps.shouldValidate);
|
|
1123
1161
|
//#endregion
|
|
1124
|
-
export { VAT_NUMBER_FIELD as a, defaultFieldConfig as c, doingBusinessAsAbsentFieldMetadata as d, doingBusinessAsFieldMetadata as f,
|
|
1162
|
+
export { BusinessRegistrationNumberField as S, isFinancialInformationRequired as _, VAT_NUMBER_FIELD as a, isUsingCompanySearch as b, defaultFieldConfig as c, doingBusinessAsAbsentFieldMetadata as d, doingBusinessAsFieldMetadata as f, getCountryOfGoverningLaw as g, countryToTaxInfoTypeMap as h, operationalAddressIsSameItems as i, defaultFieldMetadata as l, DBA_NAME_FIELD as m, registrationAddressFields as n, VatNumberField as o, DBANameField as p, operationalAddressIsSameIds as r, getDefaultVatNumberType as s, MemoizedConstitutionalDocument as t, vatAbsenceReasonMetadata as u, isRegistrationExemptionAllowed as v, BUSINESS_REGISTRATION_NUMBER_FIELD as x, isRegistrationNumberAbsentStateV4Scenario as y };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e924e430-0918-42e1-9700-d1d5ea1da76c", e._sentryDebugIdIdentifier = "sentry-dbid-e924e430-0918-42e1-9700-d1d5ea1da76c");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { c as entriesOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
10
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
11
|
-
import { c as nonInputs, l as numericInputs, n as InputEmail, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-
|
|
11
|
+
import { c as nonInputs, l as numericInputs, n as InputEmail, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-Ccb-5Sk2.js";
|
|
12
12
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
13
13
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
14
|
-
import { t as Field } from "./Field-
|
|
15
|
-
import { t as Select } from "./Select-
|
|
14
|
+
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
15
|
+
import { t as Select } from "./Select-CvIMIYjl.js";
|
|
16
16
|
import { t as InputGroup } from "./InputGroup-B4U3QVEp.js";
|
|
17
17
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
18
18
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66d440c7-95eb-440a-beeb-99e2febafd8d", e._sentryDebugIdIdentifier = "sentry-dbid-66d440c7-95eb-440a-beeb-99e2febafd8d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { x as Alert } from "./resolveEnvironment-QjQSqNQs.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/molecules/ContextGuidance/ContextGuidance.tsx
|
|
9
9
|
function ContextGuidance({ title, content, titleId, contentId, trackingParams }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7f436cd8-46e3-4953-841c-bdf80d4f6089", e._sentryDebugIdIdentifier = "sentry-dbid-7f436cd8-46e3-4953-841c-bdf80d4f6089");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { t as Field } from "./Field-
|
|
8
|
-
import { t as Select } from "./Select-
|
|
5
|
+
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
8
|
+
import { t as Select } from "./Select-CvIMIYjl.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
//#region src/components/Shared/fields/CountryField/CountryField.tsx
|
|
@@ -1,19 +1,54 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4fb1ca0e-7a5c-42d4-871a-a2f46148441e", e._sentryDebugIdIdentifier = "sentry-dbid-4fb1ca0e-7a5c-42d4-871a-a2f46148441e");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { at as isUndefinedOrNull } from "./resolveEnvironment-
|
|
7
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { at as isUndefinedOrNull } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { i as drop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
|
-
import { t as Field } from "./Field-
|
|
10
|
-
import { t as Select } from "./Select-
|
|
11
|
-
import { r as InputBase, t as InputText } from "./InputText-
|
|
12
|
-
import {
|
|
13
|
-
import { t as currencyByCountry } from "./types-Bvp3aTbC.js";
|
|
9
|
+
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
10
|
+
import { t as Select } from "./Select-CvIMIYjl.js";
|
|
11
|
+
import { r as InputBase, t as InputText } from "./InputText-B-ebylm4.js";
|
|
12
|
+
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
14
13
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
15
14
|
import { jsx } from "preact/jsx-runtime";
|
|
16
15
|
import { useQuery } from "@tanstack/preact-query";
|
|
16
|
+
//#region src/components/Business/forms/AdditionalInformation/utils.ts
|
|
17
|
+
/**
|
|
18
|
+
* Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode']
|
|
19
|
+
*
|
|
20
|
+
* @param field - field in formSchema
|
|
21
|
+
* @param data - data in useForm
|
|
22
|
+
* @param trustedFields - trustedFields on legal entity
|
|
23
|
+
* @returns An array of the nested field keys that are trusted
|
|
24
|
+
*/
|
|
25
|
+
var getNestedTrustedFields = (field, data, trustedFields) => {
|
|
26
|
+
if (trustedFields && data?.[field] && typeof data[field] === "object") return trustedFields.reduce((fields, trustedField) => {
|
|
27
|
+
const splitField = trustedField.split(".");
|
|
28
|
+
if (splitField[0] === field) return [...fields, splitField[1]];
|
|
29
|
+
return fields;
|
|
30
|
+
}, []);
|
|
31
|
+
return [];
|
|
32
|
+
};
|
|
33
|
+
var mapAddressData = (verifiedBusiness) => ({
|
|
34
|
+
address: verifiedBusiness.street ?? "",
|
|
35
|
+
otherAddressInformation: verifiedBusiness.street2 ?? "",
|
|
36
|
+
city: verifiedBusiness.city ?? "",
|
|
37
|
+
postalCode: verifiedBusiness.postalCode ?? "",
|
|
38
|
+
stateOrProvince: verifiedBusiness.state ?? ""
|
|
39
|
+
});
|
|
40
|
+
var isDateOlderThanAYear = (dateString) => {
|
|
41
|
+
if (!dateString) return false;
|
|
42
|
+
const inputDate = new Date(dateString);
|
|
43
|
+
if (isNaN(inputDate.getTime())) {
|
|
44
|
+
console.error(`Error: Invalid date format or value for: ${dateString}`);
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
const oneYearAgo = /* @__PURE__ */ new Date();
|
|
48
|
+
oneYearAgo.setFullYear(oneYearAgo.getFullYear() - 1);
|
|
49
|
+
return inputDate.getTime() < oneYearAgo.getTime();
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
17
52
|
//#region src/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.ts
|
|
18
53
|
var mapFinancialInformationToFinancialReport = ({ currency, financialReportingDate, numberOfEmployees, balanceSheetTotal, annualTurnover }, dateOfIncorporation) => {
|
|
19
54
|
if (dateOfIncorporation && !isDateOlderThanAYear(dateOfIncorporation)) return { employeeCount: typeof numberOfEmployees === "number" ? numberOfEmployees.toFixed(0) : numberOfEmployees };
|
|
@@ -188,4 +223,4 @@ function Currency({ data, valid, errors, labels, readonly, handleChangeFor, coun
|
|
|
188
223
|
});
|
|
189
224
|
}
|
|
190
225
|
//#endregion
|
|
191
|
-
export { LegalFormField as a, InputCurrency as i, Currency as n, mapFinancialReportsToFinancialInformation as o, InputNumber as r, mapFinancialInformationToFinancialReport as s, CURRENCY_FIELD as t };
|
|
226
|
+
export { LegalFormField as a, getNestedTrustedFields as c, InputCurrency as i, isDateOlderThanAYear as l, Currency as n, mapFinancialReportsToFinancialInformation as o, InputNumber as r, mapFinancialInformationToFinancialReport as s, CURRENCY_FIELD as t, mapAddressData as u };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "50ab1a96-7be0-4ebd-9a3b-d61eb52e75ed", e._sentryDebugIdIdentifier = "sentry-dbid-50ab1a96-7be0-4ebd-9a3b-d61eb52e75ed");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { k as Header } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { C as EntityTypes } from "./processCapabilities-hLmRus8U.js";
|
|
10
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
11
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
12
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity
|
|
14
|
-
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-
|
|
15
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
10
|
+
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
11
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-C1N15Q0Y.js";
|
|
12
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CXzgYL6R.js";
|
|
13
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-BxyHb_HE.js";
|
|
14
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-D4jywPM1.js";
|
|
15
|
+
import { t as ErrorPanel } from "./ErrorPanel-CLMnAAMi.js";
|
|
16
16
|
import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
17
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
17
|
+
import { t as useMultiForm } from "./useMultiForm-DJ8osfTK.js";
|
|
18
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
19
19
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
20
20
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
21
21
|
import { useCallback, useMemo } from "preact/hooks";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d69f8b57-6771-4657-a125-7ee3d44b2286", e._sentryDebugIdIdentifier = "sentry-dbid-d69f8b57-6771-4657-a125-7ee3d44b2286");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
5
|
+
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
9
9
|
import { c as entriesOf, u as valuesOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
10
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
11
|
-
import { t as Accordion } from "./Accordion-
|
|
12
|
-
import { t as Modal } from "./Modal-
|
|
10
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
11
|
+
import { t as Accordion } from "./Accordion-DmH02rWQ.js";
|
|
12
|
+
import { t as Modal } from "./Modal-C__-5LgI.js";
|
|
13
13
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
14
14
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
15
|
-
import { t as Checkbox } from "./Checkbox-
|
|
16
|
-
import { t as InputText } from "./InputText-
|
|
15
|
+
import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
|
|
16
|
+
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
17
17
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
18
18
|
import { useMemo, useState } from "preact/hooks";
|
|
19
19
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -346,7 +346,7 @@ var DebugModal = ({ onExit }) => {
|
|
|
346
346
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
347
347
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
348
348
|
const metadata = {
|
|
349
|
-
sdkVersion: "4.
|
|
349
|
+
sdkVersion: "4.15.0-beta.0",
|
|
350
350
|
locale: i18n.language,
|
|
351
351
|
rootLegalEntityId: rootLegalEntity.id
|
|
352
352
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "187552e0-53eb-4d99-a277-142ee7eb2669", e._sentryDebugIdIdentifier = "sentry-dbid-187552e0-53eb-4d99-a277-142ee7eb2669");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { T as datasetUtilities, j as useToggleContext, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { T as datasetUtilities, j as useToggleContext, x as Alert } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
|
+
import { r as useLegalEntity } from "./useLegalEntity-BXk2tzGe.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
12
12
|
import { a as noop, c as entriesOf, i as drop, n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
|
|
13
13
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
14
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
15
15
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
17
17
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
18
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
19
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
18
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-C__-5LgI.js";
|
|
19
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-C1N15Q0Y.js";
|
|
20
20
|
import { t as getIdNowMissingDataPoints } from "./bafinUtils-BKq-s1Ka.js";
|
|
21
|
-
import { t as Confirm } from "./Confirm-
|
|
22
|
-
import { t as useScenarios } from "./useScenarios-
|
|
23
|
-
import { i as GuidanceQuestionValues, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
21
|
+
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
22
|
+
import { t as useScenarios } from "./useScenarios-BRGMIufX.js";
|
|
23
|
+
import { i as GuidanceQuestionValues, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BUIjjkrb.js";
|
|
24
24
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
25
25
|
import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
|
|
26
|
-
import { i as mapAddressLabels } from "./utils-
|
|
27
|
-
import { t as localizeDateString } from "./localizeDateString-
|
|
26
|
+
import { i as mapAddressLabels } from "./utils-DNIZ6F6L.js";
|
|
27
|
+
import { t as localizeDateString } from "./localizeDateString-CU7HGR-k.js";
|
|
28
28
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
29
|
-
import { t as ListItem } from "./ListItem-
|
|
29
|
+
import { t as ListItem } from "./ListItem-C_g-4xPP.js";
|
|
30
30
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DUpv5ug2.js";
|
|
31
31
|
import { useMemo, useState } from "preact/hooks";
|
|
32
32
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6b7d3daa-921d-4a84-9a62-ab979362ec60", e._sentryDebugIdIdentifier = "sentry-dbid-6b7d3daa-921d-4a84-9a62-ab979362ec60");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader } from "./Button-
|
|
8
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { r as Loader } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { r as useLegalEntity } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
11
|
import { a as noop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
12
12
|
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-hLmRus8U.js";
|
|
13
13
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
14
14
|
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-BKq-s1Ka.js";
|
|
15
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
15
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CXzgYL6R.js";
|
|
16
16
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
17
|
-
import { t as useScenarios } from "./useScenarios-
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
17
|
+
import { t as useScenarios } from "./useScenarios-BRGMIufX.js";
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-BuO2qp78.js";
|
|
19
19
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DUpv5ug2.js";
|
|
20
20
|
import { jsx } from "preact/jsx-runtime";
|
|
21
21
|
import { skipToken } from "@tanstack/preact-query";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "71e4911e-5f67-43dd-8f94-80a31a1d99b7", e._sentryDebugIdIdentifier = "sentry-dbid-71e4911e-5f67-43dd-8f94-80a31a1d99b7");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header, r as useGetTaskStatus, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header, r as useGetTaskStatus, x as Alert } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
10
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
10
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
11
11
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
12
12
|
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-hLmRus8U.js";
|
|
13
13
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
14
14
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
15
15
|
import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
16
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
17
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
18
|
-
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-
|
|
19
|
-
import { n as useCapabilityProblems } from "./getProblemsForEntity-
|
|
20
|
-
import { n as Image } from "./unincorporated-partnership-
|
|
21
|
-
import { a as individualFormDefaultData, i as GuidanceQuestionValues } from "./mapLegalEntityToIndividualSchema-
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity
|
|
16
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-C__-5LgI.js";
|
|
17
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-C1N15Q0Y.js";
|
|
18
|
+
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-CrKtd_Fd.js";
|
|
19
|
+
import { n as useCapabilityProblems } from "./getProblemsForEntity-CXzgYL6R.js";
|
|
20
|
+
import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
21
|
+
import { a as individualFormDefaultData, i as GuidanceQuestionValues } from "./mapLegalEntityToIndividualSchema-BUIjjkrb.js";
|
|
22
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-BxyHb_HE.js";
|
|
23
23
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
24
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
25
|
-
import { t as LandingLayout } from "./LandingLayout-
|
|
26
|
-
import { t as ListItem } from "./ListItem-
|
|
27
|
-
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
24
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
25
|
+
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
26
|
+
import { t as ListItem } from "./ListItem-C_g-4xPP.js";
|
|
27
|
+
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-CNeaLZcT.js";
|
|
28
28
|
import { lazy } from "preact/compat";
|
|
29
29
|
import { useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
30
30
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f78376be-ac94-4ef9-8023-22ee3cda2a54", e._sentryDebugIdIdentifier = "sentry-dbid-f78376be-ac94-4ef9-8023-22ee3cda2a54");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
5
|
+
import { a as Icon, i as Typography, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { dt as StateContext } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { t as Button } from "./Button-3qGOI53m.js";
|
|
8
|
+
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
9
|
+
import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-B2bZh_uL.js";
|
|
10
|
+
import { t as useForm } from "./useForm-D6hI8MLf.js";
|
|
10
11
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
11
12
|
import cx from "classnames";
|
|
12
13
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
14
|
+
//#region src/context/StateContext/StateContextSetter.tsx
|
|
15
|
+
function StateContextSetter({ stateRef }) {
|
|
16
|
+
if (stateRef.current.setState) return null;
|
|
17
|
+
return /* @__PURE__ */ jsx(StateContext.Consumer, { children: (stateContextValue) => {
|
|
18
|
+
const { dispatch, setActiveForms } = stateContextValue;
|
|
19
|
+
stateRef.current.setState = dispatch;
|
|
20
|
+
stateRef.current.setActiveForms = setActiveForms;
|
|
21
|
+
return null;
|
|
22
|
+
} });
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
13
25
|
//#region src/components/ui/molecules/Dropzone/Dropzone.tsx
|
|
14
26
|
function Dropzone(props) {
|
|
15
27
|
const { name, label = "", multiple = false, disabled = false, required = true, defaultData, id, isOptional = false, maxNumberOfFiles = defaultFileValidationOptions.maxNumberOfFiles, maxSize = defaultFileValidationOptions.maxSize, allowedFileTypes = defaultFileValidationOptions.allowedFileTypes, showMinimal, hidePageCount, onChange: propsOnChange, handleFieldChange, errors: errorProp, fieldValidationErrors, valid: validProp, enableTracking = false, extraDropzoneDescription } = props;
|
|
@@ -233,4 +245,4 @@ function InnerContent({ multiple, disabled, showMinimal, hidePageCount, extraDro
|
|
|
233
245
|
] });
|
|
234
246
|
}
|
|
235
247
|
//#endregion
|
|
236
|
-
export { Dropzone as t };
|
|
248
|
+
export { StateContextSetter as n, Dropzone as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "288b44eb-c9cc-4d49-af43-dac11ae44d61", e._sentryDebugIdIdentifier = "sentry-dbid-288b44eb-c9cc-4d49-af43-dac11ae44d61");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
6
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
7
|
-
import { n as Skeleton } from "./Accordion-
|
|
8
|
-
import { t as Avatar } from "./Avatar-
|
|
7
|
+
import { n as Skeleton } from "./Accordion-DmH02rWQ.js";
|
|
8
|
+
import { t as Avatar } from "./Avatar-Z3MS8_pW.js";
|
|
9
9
|
import { t as OnboardingStatuses } from "./view-verification-status-XSQs02td.js";
|
|
10
10
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
11
11
|
import cx from "classnames";
|
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f31c5872-48e2-4a94-9c89-cdbcb8c53aad", e._sentryDebugIdIdentifier = "sentry-dbid-f31c5872-48e2-4a94-9c89-cdbcb8c53aad");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon } from "./translation-
|
|
6
|
-
import { r as Loader, t as Button } from "./Button-
|
|
5
|
+
import { a as Icon } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
7
7
|
import cx from "classnames";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
9
9
|
import { cloneElement, isValidElement } from "preact";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5c398b7e-21c8-4bdd-a37d-845d883149fa", e._sentryDebugIdIdentifier = "sentry-dbid-5c398b7e-21c8-4bdd-a37d-845d883149fa");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
7
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
5
|
+
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { n as IconButton, t as Button } from "./Button-3qGOI53m.js";
|
|
7
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
8
8
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
9
9
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
10
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
11
|
-
import { t as Confirm } from "./Confirm-
|
|
12
|
-
import { n as getRoleTagVariant, t as getRoleName } from "./roleMetadata-
|
|
10
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-BK9X3AUa.js";
|
|
11
|
+
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
12
|
+
import { n as getRoleTagVariant, t as getRoleName } from "./roleMetadata-CWdYxbqM.js";
|
|
13
13
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
14
14
|
import { useCallback, useEffect, useRef, useState } from "preact/hooks";
|
|
15
15
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -2,9 +2,9 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1aa33835-1064-4607-ba2d-16ceaa66ab44", e._sentryDebugIdIdentifier = "sentry-dbid-1aa33835-1064-4607-ba2d-16ceaa66ab44");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
5
|
+
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { x as Alert } from "./resolveEnvironment-QjQSqNQs.js";
|
|
7
|
+
import { t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { l as keysOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
9
|
import { r as remediationHasFileUploadField } from "./processCapabilities-hLmRus8U.js";
|
|
10
10
|
import { useCallback, useContext } from "preact/hooks";
|
|
@@ -2,9 +2,9 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "658c052b-9c04-4a75-8f38-cf5c594752a0", e._sentryDebugIdIdentifier = "sentry-dbid-658c052b-9c04-4a75-8f38-cf5c594752a0");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, r as useTranslation } from "./translation-
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
7
|
-
import { n as translateTranslatable } from "./utils-
|
|
5
|
+
import { a as Icon, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
7
|
+
import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
|
|
8
8
|
import { t as useId } from "./useId-BkDhUta2.js";
|
|
9
9
|
import { useEffect } from "preact/hooks";
|
|
10
10
|
import cx from "classnames";
|
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "16e348cb-459e-437a-9b42-5c4f9b297d50", e._sentryDebugIdIdentifier = "sentry-dbid-16e348cb-459e-437a-9b42-5c4f9b297d50");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-
|
|
5
|
+
import { a as Icon, i as Typography, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
+
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-C__-5LgI.js";
|
|
7
7
|
import { t as trackNavigation } from "./trackNavigation-DR70qR8T.js";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|