@adyen/kyc-components 4.22.0-beta.0 → 4.22.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-D2mvc_PB.js → AcceptTermsOfServiceWorkflow-CLA1JNzc.js} +4 -4
  2. package/dist/{Accordion-DEivLTcw.js → Accordion-Cwp-Xc7e.js} +1 -1
  3. package/dist/{AccountSetupRejected-pcQcFAhQ.js → AccountSetupRejected-B2h3LRDZ.js} +1 -1
  4. package/dist/{AdaptiveWorkflow-C0EsaW8F.js → AdaptiveWorkflow-BHooRzh_.js} +16 -16
  5. package/dist/{AdaptiveWorkflowComponent-Nk2CJaU4.js → AdaptiveWorkflowComponent-D1EALddI.js} +3 -3
  6. package/dist/{AddressFields-3kqeRdC_.js → AddressFields-CU23S3JV.js} +10 -10
  7. package/dist/{Avatar-DHyXCNwV.js → Avatar-BbOb0bui.js} +1 -1
  8. package/dist/{BusinessFinancingDropin-BOECqGNd.js → BusinessFinancingDropin-Cc0oB8ka.js} +24 -26
  9. package/dist/{BusinessFinancingPage-DSy5an97.js → BusinessFinancingPage-D0EmBl9D.js} +3 -3
  10. package/dist/{BusinessRegistrationNumberField-DHccXqsX.js → BusinessRegistrationNumberField-c8mvmS4m.js} +5 -5
  11. package/dist/{BusinessRegistrationNumberFieldGroup-2e9GKH-i.js → BusinessRegistrationNumberFieldGroup-DNZALTo_.js} +5 -5
  12. package/dist/{BusinessTypeSelectionPage-BraXRUrg.js → BusinessTypeSelectionPage-CYjrUqoM.js} +12 -12
  13. package/dist/{Button-nDbNtBn3.js → Button-oqvTDztg.js} +1 -1
  14. package/dist/{Checkbox-BiKnP2fS.js → Checkbox-2Rp9bWYN.js} +1 -1
  15. package/dist/{ComponentGroup-Due-N8Yz.js → ComponentGroup-DbWo8fnI.js} +3 -3
  16. package/dist/{ConstitutionalDocument-CtRHXMb9.js → ConstitutionalDocument-64rqHz7d.js} +14 -14
  17. package/dist/{ContactDetails-Syyy5BfB.js → ContactDetails-ucx3UuP8.js} +5 -5
  18. package/dist/{ContextGuidance-D8leB0D6.js → ContextGuidance-CIwiyrm9.js} +2 -2
  19. package/dist/{Currency-CFsMnSP0.js → Currency-fvQfdQ2i.js} +5 -5
  20. package/dist/{CustomerSupport-DqayB3BM.js → CustomerSupport-CHHRYNTG.js} +11 -11
  21. package/dist/{DataConflictsModal-Bz2SYyi5.js → DataConflictsModal-BJHJVW3V.js} +6 -6
  22. package/dist/{DebugModal-fH0uKl1E.js → DebugModal-CptS2b87.js} +10 -10
  23. package/dist/{DecisionMakerDetails-7IPREpy1.js → DecisionMakerDetails-a_G8S1S9.js} +12 -12
  24. package/dist/{DecisionMakerDetailsPage-Bs9q7sxc.js → DecisionMakerDetailsPage-BsiheWPy.js} +7 -7
  25. package/dist/{DecisionMakers-Dw66GRhZ.js → DecisionMakers-DC3r2UzN.js} +12 -12
  26. package/dist/{Dropzone-CjLSK2UN.js → Dropzone-CTdbCPiL.js} +7 -7
  27. package/dist/{EmbeddedStatus-BIVFBjzu.js → EmbeddedStatus-DqanSUWu.js} +3 -3
  28. package/dist/{EndStateLayout-D2CSEwEn.js → EndStateLayout-CRNRpDeu.js} +2 -2
  29. package/dist/{EntityAssociation-LF_5ihhI.js → EntityAssociation-DqTOqixv.js} +6 -6
  30. package/dist/{ErrorPanel-tLtZnFnX.js → ErrorPanel-jcVYNW8o.js} +2 -2
  31. package/dist/{GlobalEntryModal-CY-t1fGQ.js → GlobalEntryModal-Bwy0lfz2.js} +209 -47
  32. package/dist/{GlobalEntryPage-xX4ruKnx.js → GlobalEntryPage-DPKND7LX.js} +11 -8
  33. package/dist/{Icon-BcaP-f1D.js → Icon-BblJeZYj.js} +1 -1
  34. package/dist/{IdentityNumber-4ky6SOcb.js → IdentityNumber-D9t0xamT.js} +5 -5
  35. package/dist/{IdentityNumberFieldGroup-BKKmSfLG.js → IdentityNumberFieldGroup-0Ll_77LW.js} +2 -2
  36. package/dist/{IdentityScreeningWorkflow-D0eNj4nD.js → IdentityScreeningWorkflow-DESXjfuC.js} +12 -12
  37. package/dist/{Individual.rules-PKwY3D-0.js → Individual.rules-4BHmKpNa.js} +4 -4
  38. package/dist/{IndividualDropin-DrQiG_Vy.js → IndividualDropin-CMejkT3R.js} +36 -39
  39. package/dist/{IndustryCodeFieldGroup-jm8KFccr.js → IndustryCodeFieldGroup-xFrcCogG.js} +4 -4
  40. package/dist/{InputDate-C14J5Af2.js → InputDate-DMcomeFj.js} +2 -2
  41. package/dist/{InputText-Dr-Wg0uc.js → InputText-BqeL5dXt.js} +3 -3
  42. package/dist/{Introduction-DXAxkrDG.js → Introduction-6WPMkIpx.js} +6 -6
  43. package/dist/{InvitedDecisionMakerComponent-CPMIUjiE.js → InvitedDecisionMakerComponent-w0xQxDgC.js} +9 -9
  44. package/dist/{JpAddressFields-olKUlhpt.js → JpAddressFields-Cic1nSNI.js} +8 -8
  45. package/dist/{LegalCompanyNameField-BrdI-awc.js → LegalCompanyNameField-Dl60xD84.js} +5 -5
  46. package/dist/{LegalName-CWoSqy0V.js → LegalName-DDKN6L93.js} +3 -3
  47. package/dist/{LegalRepresentativeDetailsPage-Ca3FLoSd.js → LegalRepresentativeDetailsPage-B2ubp7Rb.js} +3 -3
  48. package/dist/{Link-opuU6bLF.js → Link-Bb1XDrs1.js} +1 -1
  49. package/dist/{ListItem-CbjOa0L_.js → ListItem-CI4fqIkg.js} +2 -2
  50. package/dist/{Modal-BDNS-0rS.js → Modal-By_wpf9o.js} +2 -2
  51. package/dist/{Name-CxlxPgUR.js → Name-BpKVUmoY.js} +4 -4
  52. package/dist/{NewSummary-mLsovGX8.js → NewSummary-Bmi54FYk.js} +6 -6
  53. package/dist/{PatriotActDisclosure-kOnDnF8P.js → PatriotActDisclosure-DsZX3cb-.js} +9 -9
  54. package/dist/{PayoutDetailsDropin-CZ77wefd.js → PayoutDetailsDropin-BkzjalFb.js} +24 -24
  55. package/dist/{PayoutDetailsPage-Cyy-fDbK.js → PayoutDetailsPage-BLbHUm0I.js} +4 -4
  56. package/dist/{RadioGroup-C0mNADXE.js → RadioGroup-e6Ty_ggj.js} +11 -11
  57. package/dist/{Review-CDtJh9j3.js → Review-BG_iSaAN.js} +6 -6
  58. package/dist/{RootBusinessDetailsPage-CnVWFx0H.js → RootBusinessDetailsPage-D6ZEfFr4.js} +3 -3
  59. package/dist/{RootBusinessLinesPage-Dtx9X-mD.js → RootBusinessLinesPage-B6Swhdyx.js} +20 -20
  60. package/dist/{RootIndividualDetailsPage-q8PZ0Khk.js → RootIndividualDetailsPage-2Bu7fbyB.js} +4 -4
  61. package/dist/{Select-UO37dd_q.js → Select-CrcaoG0i.js} +6 -6
  62. package/dist/{SignPCIComponent-D21OqVWo.js → SignPCIComponent-B4Iz8PXX.js} +12 -12
  63. package/dist/{SingpassSelection-CRYphIRT.js → SingpassSelection-D2NSiGzi.js} +4 -4
  64. package/dist/{SoleProprietorshipPage-BKB0sRiP.js → SoleProprietorshipPage-bJ6oea6W.js} +3 -3
  65. package/dist/{SourceOfFundsPage-C2ZEp0lT.js → SourceOfFundsPage-Bu9e93PV.js} +23 -25
  66. package/dist/{SourceOfFundsWorkflow-Cy12c7ou.js → SourceOfFundsWorkflow-CW7McbuG.js} +4 -4
  67. package/dist/{StateField-CWS8eXex.js → StateField-BnyUQjAj.js} +46 -5
  68. package/dist/{Step-CYG94mSp.js → Step-CZq7qzCe.js} +4 -4
  69. package/dist/{Task-D6xuGucd.js → Task-Jhx4xFyF.js} +7 -7
  70. package/dist/{TaskGroup-C4ND30dB.js → TaskGroup-CHPDt1lw.js} +3 -3
  71. package/dist/{TaskListItem-Dc6n6llv.js → TaskListItem-BAHYod3y.js} +10 -10
  72. package/dist/{TaskStepperContextProvider-CvChF1W5.js → TaskStepperContextProvider-BtpYUg5S.js} +1 -1
  73. package/dist/{TaskVerificationStatus-pjPK5vVN.js → TaskVerificationStatus-onOyOzoM.js} +1 -1
  74. package/dist/{TaxInformationFieldGroup-BACQgHQ7.js → TaxInformationFieldGroup-D4bSgrDG.js} +7 -7
  75. package/dist/{TaxReportingDropin-DmOclyYQ.js → TaxReportingDropin-BD-WaKf5.js} +13 -13
  76. package/dist/{TaxReportingWorkflow-CBEB7oAn.js → TaxReportingWorkflow-UVCd2CGW.js} +4 -4
  77. package/dist/{TermsOfServiceManagement-No_9QGjv.js → TermsOfServiceManagement-Czlvu-_X.js} +11 -11
  78. package/dist/{TextArea-BzY5efza.js → TextArea-Doiwq6Fz.js} +4 -4
  79. package/dist/{TrustDetailsPage-BHjbebZX.js → TrustDetailsPage-Do_Pgp5e.js} +21 -23
  80. package/dist/{TrustMemberCompanyPage-BSe-Pn1O.js → TrustMemberCompanyPage-COKJWVwj.js} +4 -4
  81. package/dist/{TrustMemberIndividualPage-DxlZQF6W.js → TrustMemberIndividualPage-BTzYVATe.js} +3 -3
  82. package/dist/{TrustMemberRoleAndTypePage-AtlXyfKk.js → TrustMemberRoleAndTypePage-CvT2NyPL.js} +15 -16
  83. package/dist/{TrustMembersOverview-DpmUv4Vj.js → TrustMembersOverview-Dx2d70H1.js} +10 -10
  84. package/dist/{UboTaskItem-ESC2Ze3o.js → UboTaskItem-DItfn-Pd.js} +7 -7
  85. package/dist/{UnincorporatedPartnershipIndividualPage-BVpz27KZ.js → UnincorporatedPartnershipIndividualPage-CLBFd1-S.js} +3 -3
  86. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js → UnincorporatedPartnershipMemberCompanyPage-5RlKVr20.js} +4 -4
  87. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js → UnincorporatedPartnershipMemberRoleAndTypePage-D3j7kPUH.js} +8 -8
  88. package/dist/{UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js → UnincorporatedPartnershipMembersOverview-BrypfDgd.js} +6 -6
  89. package/dist/{VerificationErrorAlert-BCEhkhpr.js → VerificationErrorAlert-Dg0EN5Gg.js} +2 -2
  90. package/dist/{Workflow-CzSGihyD.js → Workflow-BbFLvLAf.js} +6 -6
  91. package/dist/{accountHolderUtils-3WiED1-j.js → accountHolderUtils-BnH2f3aW.js} +1 -1
  92. package/dist/adyen-business-financing.js +4 -4
  93. package/dist/adyen-individual-configuration.js +3 -3
  94. package/dist/adyen-individual-status.js +3 -3
  95. package/dist/adyen-invited-decision-maker.js +3 -3
  96. package/dist/adyen-onboarding.js +34 -25
  97. package/dist/adyen-terms-of-service-management.js +3 -3
  98. package/dist/adyen-terms-of-service-status.js +3 -3
  99. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  100. package/dist/adyen-transfer-instrument-management.js +10 -10
  101. package/dist/adyen-verification-status.js +3 -3
  102. package/dist/{bafinUtils-h8n1IbJ9.js → bafinUtils-F8i4raV6.js} +9 -9
  103. package/dist/{constants-B9iXz9xK.js → constants-C1GRcz1y.js} +4 -4
  104. package/dist/{error-CHFF8jLc.js → error-3d6yiTPF.js} +3 -3
  105. package/dist/{form-rules-CKwx5XtT.js → form-rules-BhIs9ilj.js} +5 -5
  106. package/dist/{formatValidationError-DZ1CxHdw.js → formatValidationError-DdKr3rgo.js} +1 -1
  107. package/dist/{getDefaultRegistrationNumberType-6m6DEmW8.js → getDefaultRegistrationNumberType-CfU1YUaz.js} +5 -5
  108. package/dist/{getTrustedDecisionMakers-qs2frwk2.js → getTrustedDecisionMakers-Brlr-pKL.js} +1 -1
  109. package/dist/{mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js → mapJpAddressSchemaToAddressLocalizations-CWb68lJV.js} +2 -2
  110. package/dist/{mapLegalEntityToIndividualSchema-ChE9qTUB.js → mapLegalEntityToIndividualSchema-B3XhBnaa.js} +6 -6
  111. package/dist/{mapTransferInstrumentToPayoutAccount-BmSbFaJJ.js → mapTransferInstrumentToPayoutAccount-n4ffPJ2c.js} +2 -2
  112. package/dist/{processValidationErrors-CRWq2tu-.js → processValidationErrors-BfqJR1rP.js} +3 -3
  113. package/dist/{resolveEnvironment-D2iMH7UD.js → resolveEnvironment-Bp-RuIhz.js} +9 -9
  114. package/dist/types/components/GlobalEntry/globalEntryKeyMapping.d.ts +15 -0
  115. package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +6 -2
  116. package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +5 -1
  117. package/dist/types/components/GlobalEntry/utils.d.ts +22 -1
  118. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  119. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
  120. package/dist/types/router/routeConfig.d.ts +1 -1
  121. package/dist/{types-Bdfu7HN6.js → types-C6GnB9nH.js} +1 -1
  122. package/dist/{useBusinessDetailsData-DZQuIMNw.js → useBusinessDetailsData-UyUhXzON.js} +38 -41
  123. package/dist/{useCanSeeIntroduction-BGYdkMIE.js → useCanSeeIntroduction-C6qXZZe8.js} +2 -2
  124. package/dist/{useForm-BJq32Ve1.js → useForm-BhfuVkAR.js} +2 -2
  125. package/dist/{useHideTaskStepper-CcCmW80A.js → useHideTaskStepper-Dlzsx-RK.js} +1 -1
  126. package/dist/{useId-BMocIuPK.js → useId-DqpXTon5.js} +1 -1
  127. package/dist/{useNavigate-D4ypqPBN.js → useNavigate-Xc0HARgb.js} +33 -33
  128. package/dist/{useSalesChannels-BCzs8Xya.js → useSalesChannels-gzi6QOI7.js} +2 -2
  129. package/dist/{useTaskLandedEvent-Cf1fN_gV.js → useTaskLandedEvent-BXv-wuAJ.js} +1 -1
  130. package/dist/{useTrustMembers-DqpnYNNj.js → useTrustMembers-wjNlRtOm.js} +1 -1
  131. package/dist/{useUnincorporatedPartnershipMembers-w3dG_nyc.js → useUnincorporatedPartnershipMembers-CfpBIS06.js} +1 -1
  132. package/dist/{utils-BMhvbUV1.js → utils-DebuaWe9.js} +4 -4
  133. package/dist/{StructuredList-CqZM_5X9.js → utils-DyriwmGv.js} +94 -5
  134. package/dist/{validate-DiEa5w30.js → validate-C2fajdCR.js} +4 -4
  135. package/dist/{validate-RLWN-I5L.js → validate-DruWE6jY.js} +2 -2
  136. package/dist/{validate-Dfw99Sal.js → validate-DzNLLQoR.js} +3 -3
  137. package/dist/{validate-BqIbVY0E.js → validate-MsZ6MiUq.js} +7 -7
  138. package/dist/{validateExtractionResult-DueyX5oY.js → validateExtractionResult-BfwUJj1D.js} +2 -2
  139. package/dist/{validationError-BhICjGiF.js → validationError-DudGlB6v.js} +2 -2
  140. package/package.json +1 -1
  141. package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
  142. package/dist/useUpdateLegalEntity-CvACAgDP.js +0 -29
  143. package/dist/utils-DdHbAadK.js +0 -80
@@ -0,0 +1,15 @@
1
+ import type { LegalEntity } from '../../core/models/api/legal-entity';
2
+ import type { MappingRecord } from '../../utils/mapping/mappingRecord';
3
+ import type { GlobalEntrySchema } from './tasks/types';
4
+ /**
5
+ * Schema-keyed mapping, for reading a legal entity into the form schema.
6
+ */
7
+ export declare const globalEntryKeyMappingForOrgs: MappingRecord<GlobalEntrySchema, Pick<LegalEntity, 'organization'>>;
8
+ export declare const globalEntryKeyMappingForIndividuals: MappingRecord<GlobalEntrySchema, Pick<LegalEntity, 'individual'>>;
9
+ export declare const globalEntryKeyMappingForSoleProps: MappingRecord<GlobalEntrySchema, Pick<LegalEntity, 'soleProprietorship'>>;
10
+ /** Api-keyed mapping, for building the legal entity request from the form schema */
11
+ export declare const globalEntryApiKeyMappingForOrgs: MappingRecord<Pick<LegalEntity, 'organization'>, GlobalEntrySchema>;
12
+ /** Api-keyed mapping, for building the sole proprietorship request from the form schema */
13
+ export declare const globalEntryApiKeyMappingForSoleProps: MappingRecord<Pick<LegalEntity, 'soleProprietorship'>, GlobalEntrySchema>;
14
+ /** Api-keyed mapping, for building the legal entity request from the form schema */
15
+ export declare const globalEntryApiKeyMappingForIndividuals: MappingRecord<Pick<LegalEntity, 'individual'>, GlobalEntrySchema>;
@@ -1,4 +1,8 @@
1
1
  import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
2
- export declare const GlobalEntryModal: ({ rootLegalEntity }: {
2
+ import type { AccountHolderOption } from '../../../types/accountHolder';
3
+ interface GlobalEntryModalProps {
3
4
  rootLegalEntity: ExistingLegalEntity;
4
- }) => import("preact/jsx-runtime").JSX.Element;
5
+ onComplete: (accountHolder: AccountHolderOption) => void;
6
+ }
7
+ export declare const GlobalEntryModal: ({ rootLegalEntity, onComplete }: GlobalEntryModalProps) => import("preact/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1 +1,5 @@
1
- export declare const GlobalEntryPage: () => import("preact/jsx-runtime").JSX.Element;
1
+ import type { AccountHolderOption } from '../../../types/accountHolder';
2
+ export interface GlobalEntryPageProps {
3
+ onComplete: (accountHolder: AccountHolderOption) => void;
4
+ }
5
+ export declare const GlobalEntryPage: ({ onComplete }: GlobalEntryPageProps) => import("preact/jsx-runtime").JSX.Element;
@@ -1,6 +1,27 @@
1
+ import type { CreateLegalEntity } from '../../api/createLegalEntity/useCreateLegalEntity';
2
+ import type { UpdateLegalEntity } from '../../api/legalEntity/useUpdateLegalEntity';
1
3
  import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
2
4
  import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
3
5
  import { LegalEntityTypes } from '../../core/models/api/legal-entity-type';
6
+ import type { AccountHolderOption } from '../../types/accountHolder';
4
7
  import type { GlobalEntrySchema } from './tasks/types';
5
8
  export declare const getGlobalEntryCompanyType: (legalEntity: ExistingLegalEntity | undefined, data: GlobalEntrySchema) => CompanyTypesValue | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.INDIVIDUAL | undefined;
6
- export declare const mapLegalEntityToGlobalEntrySchema: (legalEntity: ExistingLegalEntity) => GlobalEntrySchema;
9
+ /**
10
+ * @param legalEntity the root entity
11
+ * @param associatedSoleProp the proprietorship associated to the root, when there is one. It holds
12
+ * the registration details the root does not, so editing an existing proprietorship prefills.
13
+ */
14
+ export declare const mapLegalEntityToGlobalEntrySchema: (legalEntity: ExistingLegalEntity, associatedSoleProp?: ExistingLegalEntity) => GlobalEntrySchema;
15
+ export declare const isSoleProprietorship: (data: GlobalEntrySchema) => boolean;
16
+ /**
17
+ * Updates the legal entity and returns the account holder the answers imply.
18
+ */
19
+ interface SubmitGlobalEntryProps {
20
+ legalEntity: ExistingLegalEntity;
21
+ associatedSoleProp?: ExistingLegalEntity;
22
+ data: GlobalEntrySchema;
23
+ createLegalEntity: CreateLegalEntity;
24
+ updateLegalEntity: UpdateLegalEntity;
25
+ }
26
+ export declare const submitGlobalEntry: ({ legalEntity, associatedSoleProp, data, updateLegalEntity, createLegalEntity, }: SubmitGlobalEntryProps) => Promise<AccountHolderOption | undefined>;
27
+ export {};
@@ -1,3 +1,3 @@
1
1
  import type { FormFlowProps } from './FormFlow.types';
2
- declare const FormFlow: ({ asModal, children, currentStep, disableBackButton, disableNextButton, nextButtonLoading, forms, activeForm, gotoFormByFormIndex, gotoFormByFormId, handleBackClick, handleCancelClick, handleNextClick, loadingStatus, summary, summaryComponent, totalSteps, }: FormFlowProps) => import("preact/jsx-runtime").JSX.Element;
2
+ declare const FormFlow: ({ asModal, children, currentStep, disableBackButton, disableNextButton, nextButtonLoading, forms, activeForm, gotoFormByFormIndex, gotoFormByFormId, handleBackClick, handleCancelClick, handleNextClick, loadingStatus, summary, summaryComponent, totalSteps, isGlobalEntry, }: FormFlowProps) => import("preact/jsx-runtime").JSX.Element;
3
3
  export { FormFlow };
@@ -22,5 +22,6 @@ export interface FormFlowProps {
22
22
  summary?: SummaryWithoutForms;
23
23
  summaryComponent?: ComponentChildren;
24
24
  totalSteps?: number;
25
+ isGlobalEntry?: boolean;
25
26
  }
26
27
  export {};
@@ -4,7 +4,7 @@ import { type GetDefaultTaskParams } from './getDefaultTask';
4
4
  export declare const Introduction: typeof import("../components/Shared/Introduction/Introduction").Introduction;
5
5
  export declare const Adaptive: ({ uiManifest }: import("../adaptiveWorkflow/AdaptiveWorkflow").AdaptiveWorkflowProps) => import("preact/jsx-runtime").JSX.Element;
6
6
  export declare const BusinessTypeSelectionPage: ({ onComplete, onBack, }: Pick<import("../components/Shared/forms/BusinessTypeSelection/types").BusinessTypeSelectionProps, "onComplete" | "onBack">) => import("preact/jsx-runtime").JSX.Element;
7
- export declare const GlobalEntryPage: () => import("preact/jsx-runtime").JSX.Element;
7
+ export declare const GlobalEntryPage: ({ onComplete }: import("../components/GlobalEntry/tasks/GlobalEntryPage").GlobalEntryPageProps) => import("preact/jsx-runtime").JSX.Element;
8
8
  export declare const SingpassSelection: (props: import("../components/Shared/SingpassSelection/types").SetUpAccountMethodProps) => import("preact/jsx-runtime").JSX.Element;
9
9
  export declare const AccountSetupRejected: typeof import("../components/Shared/AccountSetupRejected/AccountSetupRejected").AccountSetupRejected;
10
10
  export declare const DecisionMakers: (props: import("../components/Individual/tasks/DecisionMakers/types").DecisionMakersProps) => import("preact/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
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] = "b8ee6d3d-4354-45e7-9157-c4bf8a5181cd", e._sentryDebugIdIdentifier = "sentry-dbid-b8ee6d3d-4354-45e7-9157-c4bf8a5181cd");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "22b675cf-93fb-4aa6-874c-d55952bc2346", e._sentryDebugIdIdentifier = "sentry-dbid-22b675cf-93fb-4aa6-874c-d55952bc2346");
4
4
  } catch (e) {}
5
5
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
6
6
  import { t as Currencies } from "./currency-DQwXq9Mc.js";
@@ -1,79 +1,76 @@
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] = "a125f173-dc0d-40b1-a4a9-8e371b0ddfc5", e._sentryDebugIdIdentifier = "sentry-dbid-a125f173-dc0d-40b1-a4a9-8e371b0ddfc5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5c8362df-ff66-47de-ba14-34001bc0dd6e", e._sentryDebugIdIdentifier = "sentry-dbid-5c8362df-ff66-47de-ba14-34001bc0dd6e");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useSettingsContext, j as useToggleContext, k as Header, nt as isEmpty, pt as useAccountHolder, rt as isISIN, x as Alert } from "./resolveEnvironment-D2iMH7UD.js";
6
+ import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useSettingsContext, j as useToggleContext, k as Header, nt as isEmpty, pt as useAccountHolder, rt as isISIN, x as Alert } from "./resolveEnvironment-Bp-RuIhz.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
8
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
9
  import { t as Loader } from "./Loader-BEpMlKm2.js";
10
- import { t as Button } from "./Button-nDbNtBn3.js";
10
+ import { t as Button } from "./Button-oqvTDztg.js";
11
11
  import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
12
12
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
13
13
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
14
14
  import { a as objectsDeepEqual, n as doArraysMatch, o as entriesOf, s as keysOf } from "./genUtils-Ce61IJs8.js";
15
15
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
16
- import { t as TaskVerificationStatus } from "./TaskVerificationStatus-pjPK5vVN.js";
16
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-onOyOzoM.js";
17
17
  import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
18
18
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
19
19
  import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-BfskhjUw.js";
20
20
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
21
21
  import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
22
22
  import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
23
- import { i as useAnalyticsContext, n as ModalContent, t as Modal } from "./Modal-BDNS-0rS.js";
23
+ import { i as useAnalyticsContext, n as ModalContent, t as Modal } from "./Modal-By_wpf9o.js";
24
24
  import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
25
- import { a as SettingNames, t as InputText } from "./InputText-Dr-Wg0uc.js";
26
- import { _ as getPropsFromConfigurations, c as numericInputs, g as composePerScenarioFormConfigurations, i as alphanumericInputs, m as resolveFieldMetadata, n as uppercase, o as makeMask, r as alphaInputs, t as createFormRules, u as MaskedInput, v as LandingLayout } from "./form-rules-CKwx5XtT.js";
27
- import { t as ListItem } from "./ListItem-CbjOa0L_.js";
25
+ import { a as SettingNames, t as InputText } from "./InputText-BqeL5dXt.js";
26
+ import { _ as getPropsFromConfigurations, c as numericInputs, g as composePerScenarioFormConfigurations, i as alphanumericInputs, m as resolveFieldMetadata, n as uppercase, o as makeMask, r as alphaInputs, t as createFormRules, u as MaskedInput, v as LandingLayout } from "./form-rules-BhIs9ilj.js";
27
+ import { t as ListItem } from "./ListItem-CI4fqIkg.js";
28
28
  import { t as getFormSlice } from "./getFormSlice-DzRO0UUx.js";
29
29
  import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
30
30
  import { t as Card } from "./Card-BCGLpdw7.js";
31
- import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-BMocIuPK.js";
32
- import { A as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, C as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, E as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, F as taxInformationDefaultFieldConfig, H as CompanyTypesValues, I as taxInformationDefaultFieldMetadata, O as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, P as getTaxInformationPlaceholderText, S as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, V as isJapanLocalizationEnabled, _ as taxIdNumberOptions, b as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, c as TileGroup, g as getValidCompanyTypesForTaxIdNumberType, h as getTaxIdNumberOptions, j as isUsingCompanySearch, k as REGISTRATION_NUMBER_EXEMPTION_RULES, l as TAX_INFORMATION_FIELD, u as TaxInformationField, w as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, x as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, y as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION } from "./bafinUtils-h8n1IbJ9.js";
33
- import { p as LoaderWrapper, r as Field } from "./Select-UO37dd_q.js";
34
- import { n as Confirm, t as StructuredList } from "./StructuredList-CqZM_5X9.js";
35
- import { A as mergeFieldMetadataIntoProps, M as FormContextProvider, T as Summary_module_default, c as validatePatternOnBlur, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, l as COUNTRY_FIELD, m as FormFlow, s as validateNotEmptyOnBlur, t as RadioGroup, u as CountryField, x as summaryStep, y as useFormComposer } from "./RadioGroup-C0mNADXE.js";
31
+ import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-DqpXTon5.js";
32
+ import { A as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, C as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, E as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, F as taxInformationDefaultFieldConfig, H as CompanyTypesValues, I as taxInformationDefaultFieldMetadata, O as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, P as getTaxInformationPlaceholderText, S as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, V as isJapanLocalizationEnabled, _ as taxIdNumberOptions, b as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, c as TileGroup, g as getValidCompanyTypesForTaxIdNumberType, h as getTaxIdNumberOptions, j as isUsingCompanySearch, k as REGISTRATION_NUMBER_EXEMPTION_RULES, l as TAX_INFORMATION_FIELD, u as TaxInformationField, w as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, x as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, y as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION } from "./bafinUtils-F8i4raV6.js";
33
+ import { p as LoaderWrapper, r as Field } from "./Select-CrcaoG0i.js";
34
+ import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-DyriwmGv.js";
35
+ import { c as mapAddressLabelsNewSummary, d as COUNTRIES_WITH_STATES_DATASET, i as getAddressSchemaForCountry, m as useCreateLegalEntity, n as StateField, o as getKeyForField, p as useUpdateLegalEntity, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-BnyUQjAj.js";
36
+ import { A as mergeFieldMetadataIntoProps, M as FormContextProvider, T as Summary_module_default, c as validatePatternOnBlur, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, l as COUNTRY_FIELD, m as FormFlow, s as validateNotEmptyOnBlur, t as RadioGroup, u as CountryField, x as summaryStep, y as useFormComposer } from "./RadioGroup-e6Ty_ggj.js";
36
37
  import { t as Image } from "./Image-D82terx4.js";
37
- import { t as ErrorPanel } from "./ErrorPanel-tLtZnFnX.js";
38
- import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-BiKnP2fS.js";
39
- import { c as mapAddressLabelsNewSummary, d as COUNTRIES_WITH_STATES_DATASET, i as getAddressSchemaForCountry, n as StateField, o as getKeyForField, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-CWS8eXex.js";
40
- import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BrdI-awc.js";
41
- import { a as isRegistrationNumberAbsentStateV4Scenario, c as CountryOfGoverningLawField, i as isRegistrationExemptionAllowed, l as useLegalCompanyNameField, n as getCountryOfGoverningLaw, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, r as isFinancialInformationRequired, s as COUNTRY_OF_GOVERNING_LAW_FIELD, t as CountryOfGoverningLawFieldValidation, u as localizedLegalCompanyNameFieldConfig } from "./validate-BqIbVY0E.js";
42
- import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-6m6DEmW8.js";
43
- import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-DHccXqsX.js";
38
+ import { t as ErrorPanel } from "./ErrorPanel-jcVYNW8o.js";
39
+ import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-2Rp9bWYN.js";
40
+ import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-Dl60xD84.js";
41
+ import { a as isRegistrationNumberAbsentStateV4Scenario, c as CountryOfGoverningLawField, i as isRegistrationExemptionAllowed, l as useLegalCompanyNameField, n as getCountryOfGoverningLaw, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, r as isFinancialInformationRequired, s as COUNTRY_OF_GOVERNING_LAW_FIELD, t as CountryOfGoverningLawFieldValidation, u as localizedLegalCompanyNameFieldConfig } from "./validate-MsZ6MiUq.js";
42
+ import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-CfU1YUaz.js";
43
+ import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-c8mvmS4m.js";
44
44
  import { t as useScenarios } from "./useScenarios-CGcmXgJv.js";
45
- import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
46
- import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CvACAgDP.js";
47
- import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-3kqeRdC_.js";
45
+ import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-CU23S3JV.js";
48
46
  import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CDahgHsP.js";
49
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Cf1fN_gV.js";
50
- import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js";
51
- import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CRWq2tu-.js";
52
- import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-DiEa5w30.js";
53
- import { r as formatObject } from "./utils-DdHbAadK.js";
54
- import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-kOnDnF8P.js";
55
- import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-BhICjGiF.js";
56
- import { i as formatAddressForCleanse, n as formatDateObj, o as useAddressCleanseImperatively, t as InputDate } from "./InputDate-C14J5Af2.js";
57
- import { t as addressValidators } from "./validate-Dfw99Sal.js";
47
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BXv-wuAJ.js";
48
+ import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CWb68lJV.js";
49
+ import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-BfqJR1rP.js";
50
+ import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-C2fajdCR.js";
51
+ import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-DsZX3cb-.js";
52
+ import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-DudGlB6v.js";
53
+ import { i as formatAddressForCleanse, n as formatDateObj, o as useAddressCleanseImperatively, t as InputDate } from "./InputDate-DMcomeFj.js";
54
+ import { t as addressValidators } from "./validate-DzNLLQoR.js";
58
55
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
59
- import { t as Link } from "./Link-opuU6bLF.js";
60
- import { t as formatValidationError } from "./formatValidationError-DZ1CxHdw.js";
56
+ import { t as Link } from "./Link-Bb1XDrs1.js";
57
+ import { t as formatValidationError } from "./formatValidationError-DdKr3rgo.js";
61
58
  import { t as isEmpty$1 } from "./isEmpty-DD8Insy0.js";
62
- import { t as DataConflictsModal } from "./DataConflictsModal-Bz2SYyi5.js";
59
+ import { t as DataConflictsModal } from "./DataConflictsModal-BJHJVW3V.js";
63
60
  import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
64
- import { t as currencyByCountry } from "./types-Bdfu7HN6.js";
61
+ import { t as currencyByCountry } from "./types-C6GnB9nH.js";
65
62
  import { t as Divider } from "./Divider-BENvVRnz.js";
66
- import { n as SummarySection, t as NewSummary } from "./NewSummary-mLsovGX8.js";
63
+ import { n as SummarySection, t as NewSummary } from "./NewSummary-Bmi54FYk.js";
67
64
  import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
68
- import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-CFsMnSP0.js";
65
+ import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-fvQfdQ2i.js";
69
66
  import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
70
67
  import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
71
68
  import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
72
69
  import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
73
- import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-CtRHXMb9.js";
74
- import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-B9iXz9xK.js";
70
+ import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-64rqHz7d.js";
71
+ import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-C1GRcz1y.js";
75
72
  import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-skU_cq9L.js";
76
- import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-BMhvbUV1.js";
73
+ import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-DebuaWe9.js";
77
74
  import { lazy } from "preact/compat";
78
75
  import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
79
76
  import cx from "classnames";
@@ -2,10 +2,10 @@ 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] = "dab53768-8509-49aa-9bec-faa7d81a42c9", e._sentryDebugIdIdentifier = "sentry-dbid-dab53768-8509-49aa-9bec-faa7d81a42c9");
4
4
  } catch (e) {}
5
- import { ft as useSettingsContext, h as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { ft as useSettingsContext, h as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-Bp-RuIhz.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
7
7
  import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-CLBR9osP.js";
8
- import { a as SettingNames } from "./InputText-Dr-Wg0uc.js";
8
+ import { a as SettingNames } from "./InputText-BqeL5dXt.js";
9
9
  //#region src/hooks/useLegalEntityType.ts
10
10
  var useLegalEntityType = ({ legalEntity }) => {
11
11
  const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
@@ -2,10 +2,10 @@ 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] = "62a030b9-a914-4548-8f7d-326de0de0b09", e._sentryDebugIdIdentifier = "sentry-dbid-62a030b9-a914-4548-8f7d-326de0de0b09");
4
4
  } catch (e) {}
5
- import { nt as isEmpty } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { nt as isEmpty } from "./resolveEnvironment-Bp-RuIhz.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
7
  import { n as doArraysMatch } from "./genUtils-Ce61IJs8.js";
8
- import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-UO37dd_q.js";
8
+ import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-CrcaoG0i.js";
9
9
  import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
10
10
  //#region src/hooks/useAsyncValidator.ts
11
11
  var logger = createLogger();
@@ -1,6 +1,6 @@
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] = "d0d70650-d764-413e-ab8c-d5c0dd32ec29", e._sentryDebugIdIdentifier = "sentry-dbid-d0d70650-d764-413e-ab8c-d5c0dd32ec29");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6b6cf121-2c9e-4b51-9f40-4e861cf973b7", e._sentryDebugIdIdentifier = "sentry-dbid-6b6cf121-2c9e-4b51-9f40-4e861cf973b7");
4
4
  } catch (e) {}
5
5
  import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
6
6
  import { useRef } from "preact/hooks";
@@ -2,7 +2,7 @@ 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] = "60aef8d3-d907-43ac-a141-1fb628abd344", e._sentryDebugIdIdentifier = "sentry-dbid-60aef8d3-d907-43ac-a141-1fb628abd344");
4
4
  } catch (e) {}
5
- import { L as ToastContext } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { L as ToastContext } from "./resolveEnvironment-Bp-RuIhz.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
7
  import { s as useApiContext } from "./http-DsJtugN1.js";
8
8
  import { useCallback, useContext, useState } from "preact/hooks";
@@ -1,8 +1,8 @@
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] = "2b03839d-5974-4091-87da-aa1274694cdb", e._sentryDebugIdIdentifier = "sentry-dbid-2b03839d-5974-4091-87da-aa1274694cdb");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1a686ca3-9e04-4e0d-8b16-80d0d8d727a3", e._sentryDebugIdIdentifier = "sentry-dbid-1a686ca3-9e04-4e0d-8b16-80d0d8d727a3");
4
4
  } catch (e) {}
5
- import { N as FeatureNames } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { N as FeatureNames } from "./resolveEnvironment-Bp-RuIhz.js";
6
6
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
7
7
  import { lazy } from "preact/compat";
8
8
  import { useLocation } from "wouter-preact";
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
26
26
  };
27
27
  //#endregion
28
28
  //#region src/router/routeConfig.ts
29
- var Introduction = lazy(async () => (await import("./Introduction-DXAxkrDG.js")).Introduction);
30
- var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-C0EsaW8F.js")).AdaptiveWorkflow);
31
- var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-BraXRUrg.js")).BusinessTypeSelectionPage);
32
- var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-xX4ruKnx.js")).GlobalEntryPage);
33
- var SingpassSelection = lazy(async () => (await import("./SingpassSelection-CRYphIRT.js")).SingpassSelection);
34
- var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-pcQcFAhQ.js")).AccountSetupRejected);
35
- var DecisionMakers = lazy(async () => (await import("./DecisionMakers-Dw66GRhZ.js")).DecisionMakers);
36
- var CustomerSupport = lazy(async () => (await import("./CustomerSupport-DqayB3BM.js")).CustomerSupport);
37
- var Review = lazy(async () => (await import("./Review-CDtJh9j3.js")).Review);
38
- var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-D21OqVWo.js").then((n) => n.n)).SignPCIComponent);
39
- var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-No_9QGjv.js").then((n) => n.n)).TermsOfServiceManagement);
40
- var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DmOclyYQ.js")).TaxReportingDropin);
41
- var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-Cyy-fDbK.js")).PayoutDetailsPage);
42
- var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-CnVWFx0H.js")).RootBusinessDetailsPage);
43
- var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Dtx9X-mD.js")).RootBusinessLinesPage);
44
- var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BKB0sRiP.js")).SoleProprietorshipPage);
45
- var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-BSe-Pn1O.js")).TrustMemberCompanyPage);
46
- var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-DxlZQF6W.js")).TrustMemberIndividualPage);
47
- var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-AtlXyfKk.js")).TrustMemberRoleAndTypePage);
48
- var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-DpmUv4Vj.js")).TrustMembersOverview);
49
- var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js")).UnincorporatedPartnershipMemberCompanyPage);
50
- var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BVpz27KZ.js")).UnincorporatedPartnershipIndividualPage);
51
- var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
- var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js")).UnincorporatedPartnershipMembersOverview);
53
- var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-DSy5an97.js")).BusinessFinancingPage);
54
- var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-BHjbebZX.js")).TrustDetailsPage);
55
- var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-C2ZEp0lT.js")).SourceOfFundsPage);
56
- var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-q8PZ0Khk.js")).RootIndividualDetailsPage);
57
- var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-Ca3FLoSd.js")).LegalRepresentativeDetailsPage);
58
- var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Bs9q7sxc.js")).DecisionMakerDetailsPage);
59
- lazy(async () => (await import("./InvitedDecisionMakerComponent-CPMIUjiE.js").then((n) => n.n)).InvitedDecisionMakerComponent);
29
+ var Introduction = lazy(async () => (await import("./Introduction-6WPMkIpx.js")).Introduction);
30
+ var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-BHooRzh_.js")).AdaptiveWorkflow);
31
+ var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-CYjrUqoM.js")).BusinessTypeSelectionPage);
32
+ var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-DPKND7LX.js")).GlobalEntryPage);
33
+ var SingpassSelection = lazy(async () => (await import("./SingpassSelection-D2NSiGzi.js")).SingpassSelection);
34
+ var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-B2h3LRDZ.js")).AccountSetupRejected);
35
+ var DecisionMakers = lazy(async () => (await import("./DecisionMakers-DC3r2UzN.js")).DecisionMakers);
36
+ var CustomerSupport = lazy(async () => (await import("./CustomerSupport-CHHRYNTG.js")).CustomerSupport);
37
+ var Review = lazy(async () => (await import("./Review-BG_iSaAN.js")).Review);
38
+ var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-B4Iz8PXX.js").then((n) => n.n)).SignPCIComponent);
39
+ var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-Czlvu-_X.js").then((n) => n.n)).TermsOfServiceManagement);
40
+ var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-BD-WaKf5.js")).TaxReportingDropin);
41
+ var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-BLbHUm0I.js")).PayoutDetailsPage);
42
+ var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-D6ZEfFr4.js")).RootBusinessDetailsPage);
43
+ var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-B6Swhdyx.js")).RootBusinessLinesPage);
44
+ var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-bJ6oea6W.js")).SoleProprietorshipPage);
45
+ var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-COKJWVwj.js")).TrustMemberCompanyPage);
46
+ var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-BTzYVATe.js")).TrustMemberIndividualPage);
47
+ var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-CvT2NyPL.js")).TrustMemberRoleAndTypePage);
48
+ var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-Dx2d70H1.js")).TrustMembersOverview);
49
+ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-5RlKVr20.js")).UnincorporatedPartnershipMemberCompanyPage);
50
+ var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-CLBFd1-S.js")).UnincorporatedPartnershipIndividualPage);
51
+ var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-D3j7kPUH.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
+ var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-BrypfDgd.js")).UnincorporatedPartnershipMembersOverview);
53
+ var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-D0EmBl9D.js")).BusinessFinancingPage);
54
+ var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-Do_Pgp5e.js")).TrustDetailsPage);
55
+ var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-Bu9e93PV.js")).SourceOfFundsPage);
56
+ var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-2Bu7fbyB.js")).RootIndividualDetailsPage);
57
+ var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-B2ubp7Rb.js")).LegalRepresentativeDetailsPage);
58
+ var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BsiheWPy.js")).DecisionMakerDetailsPage);
59
+ lazy(async () => (await import("./InvitedDecisionMakerComponent-w0xQxDgC.js").then((n) => n.n)).InvitedDecisionMakerComponent);
60
60
  var ROUTE_CONFIG = {
61
61
  [TaskTypes.ADAPTIVE]: {
62
62
  path: "/adaptive",
@@ -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] = "a4785916-e64e-4370-a28a-bd7be2a7f40e", e._sentryDebugIdIdentifier = "sentry-dbid-a4785916-e64e-4370-a28a-bd7be2a7f40e");
4
4
  } catch (e) {}
5
- import { ft as useSettingsContext } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { ft as useSettingsContext } from "./resolveEnvironment-Bp-RuIhz.js";
6
6
  import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
7
- import { a as SettingNames } from "./InputText-Dr-Wg0uc.js";
7
+ import { a as SettingNames } from "./InputText-BqeL5dXt.js";
8
8
  import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
9
9
  import { useMemo } from "preact/hooks";
10
10
  import { useQuery } from "@tanstack/preact-query";
@@ -2,7 +2,7 @@ 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] = "b750b901-9887-4856-afcc-0f4ae1bfba85", e._sentryDebugIdIdentifier = "sentry-dbid-b750b901-9887-4856-afcc-0f4ae1bfba85");
4
4
  } catch (e) {}
5
- import { i as useAnalyticsContext } from "./Modal-BDNS-0rS.js";
5
+ import { i as useAnalyticsContext } from "./Modal-By_wpf9o.js";
6
6
  import { useRef } from "preact/hooks";
7
7
  //#region src/hooks/useTaskLandedEvent.ts
8
8
  /**
@@ -2,7 +2,7 @@ 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] = "97d90026-1cf1-450c-a579-88060c90f26f", e._sentryDebugIdIdentifier = "sentry-dbid-97d90026-1cf1-450c-a579-88060c90f26f");
4
4
  } catch (e) {}
5
- import { j as useToggleContext } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { j as useToggleContext } from "./resolveEnvironment-Bp-RuIhz.js";
6
6
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
7
7
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
8
8
  import { s as getOwnEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
@@ -1,6 +1,6 @@
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] = "8b14cc60-9824-4247-8899-be1a1c4e0332", e._sentryDebugIdIdentifier = "sentry-dbid-8b14cc60-9824-4247-8899-be1a1c4e0332");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e5ca05ec-1568-4096-8a7c-a1615168e3e4", e._sentryDebugIdIdentifier = "sentry-dbid-e5ca05ec-1568-4096-8a7c-a1615168e3e4");
4
4
  } catch (e) {}
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
@@ -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] = "34a4d52c-bf07-4529-9e94-bfbd468e77b8", e._sentryDebugIdIdentifier = "sentry-dbid-34a4d52c-bf07-4529-9e94-bfbd468e77b8");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "60a26fb1-eb24-4b4f-8cf2-5688d792d528", e._sentryDebugIdIdentifier = "sentry-dbid-60a26fb1-eb24-4b4f-8cf2-5688d792d528");
4
4
  } catch (e) {}
5
5
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
6
6
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
7
7
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
8
8
  import { t as getCapabilities } from "./processCapabilities-BfskhjUw.js";
9
9
  import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-CLBR9osP.js";
10
- import { H as CompanyTypesValues } from "./bafinUtils-h8n1IbJ9.js";
11
- import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-3WiED1-j.js";
12
- import { r as SOLE_PROP_COUNTRIES } from "./Individual.rules-PKwY3D-0.js";
10
+ import { H as CompanyTypesValues } from "./bafinUtils-F8i4raV6.js";
11
+ import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-BnH2f3aW.js";
12
+ import { r as SOLE_PROP_COUNTRIES } from "./Individual.rules-4BHmKpNa.js";
13
13
  import { t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-skU_cq9L.js";
14
14
  //#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
15
15
  var TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
@@ -1,12 +1,12 @@
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] = "62b5fbaf-fef3-4a9b-bd46-b7f61c575b17", e._sentryDebugIdIdentifier = "sentry-dbid-62b5fbaf-fef3-4a9b-bd46-b7f61c575b17");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "15e327d0-d4ca-4367-8352-1a5711131bd9", e._sentryDebugIdIdentifier = "sentry-dbid-15e327d0-d4ca-4367-8352-1a5711131bd9");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
6
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
7
- import { t as Button } from "./Button-nDbNtBn3.js";
8
- import { i as useAnalyticsContext, t as Modal } from "./Modal-BDNS-0rS.js";
9
- import { t as useId } from "./useId-BMocIuPK.js";
7
+ import { t as Button } from "./Button-oqvTDztg.js";
8
+ import { i as useAnalyticsContext, t as Modal } from "./Modal-By_wpf9o.js";
9
+ import { t as useId } from "./useId-DqpXTon5.js";
10
10
  import { useEffect, useState } from "preact/hooks";
11
11
  import cx from "classnames";
12
12
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -122,4 +122,93 @@ var StructuredListItemEl = ({ item: { term, details }, detailsGroupClassNames })
122
122
  });
123
123
  };
124
124
  //#endregion
125
- export { Confirm as n, StructuredList as t };
125
+ //#region src/utils/mapping/utils.ts
126
+ /**
127
+ * returns the indicated property of an object, if it exists.
128
+ *
129
+ * @param object - The object to query
130
+ * @param path - The property name or path to the property
131
+ * @returns The value at `obj[p]`.
132
+
133
+ * @example
134
+ * ```
135
+ * getProp({x: 100}, 'x'); //=> 100
136
+ * getProp({}, 'x'); //=> undefined
137
+ * ```
138
+ */
139
+ function getProp(object, path) {
140
+ return path.split(".").reduce((xs, x) => xs && xs[x] !== void 0 ? xs[x] : void 0, object);
141
+ }
142
+ /**
143
+ * assigns the value provided to the key in targetObject.
144
+ * @param path - keys separated by a delimiter.
145
+ * @param obj - object to which value will be assigned
146
+ * @param val - value to be assigned
147
+ *
148
+ * @example
149
+ * ```
150
+ * targetObject = {};
151
+ * assignToProp('x.y.z', targetObject, 'foo');
152
+ * console.log(targetObject); => {x:{y:{z:'foo'}}}
153
+ * ```
154
+ */
155
+ function assignToProp(path, obj, val) {
156
+ const splitPath = path.split(".");
157
+ const pathDepth = splitPath.length;
158
+ let currentObj = obj;
159
+ splitPath.forEach((key, index) => {
160
+ if (index === pathDepth - 1) currentObj[key] = val;
161
+ else {
162
+ if (!currentObj[key]) currentObj[key] = {};
163
+ currentObj = currentObj[key];
164
+ }
165
+ });
166
+ }
167
+ function deleteProp(path, obj) {
168
+ const splitPath = path.split(".");
169
+ const pathDepth = splitPath.length;
170
+ let currentObj = obj;
171
+ splitPath.forEach((key, index) => {
172
+ if (currentObj[key] === void 0) throw Error(`The given path does not exist on the object: ${key} (${path})`);
173
+ if (index === pathDepth - 1) delete currentObj[key];
174
+ else currentObj = currentObj[key];
175
+ });
176
+ }
177
+ /**
178
+ * @param obj - source object
179
+ * @param mapping - key mappings from source to target object structure
180
+ * @example
181
+ * ```
182
+ * let mapping={ 'a.b': 'x.y.z'}
183
+ * let obj = {x: {y: {z: 'foo'}}}
184
+ * formatObject(obj, mapping) => {a:{b:'foo'}}
185
+ * ```
186
+ */
187
+ var formatObject = (obj, mapping) => {
188
+ const formattedObj = {};
189
+ Object.entries(mapping).forEach(([targetKey, sourceKey]) => {
190
+ const value = getProp(obj, sourceKey);
191
+ if (value !== void 0) assignToProp(targetKey, formattedObj, value);
192
+ });
193
+ return formattedObj;
194
+ };
195
+ /**
196
+ * @param obj - source object
197
+ * @param mapping - key mappings from target to source object structure
198
+ * @example
199
+ * ```
200
+ * let mapping={ 'a.b': 'x.y.z'}
201
+ * let obj = {x: {y: {z: 'foo'}}}
202
+ * formatObject(obj, mapping) => {a:{b:'foo'}}
203
+ * ```
204
+ */
205
+ var mapWith = (obj, mapping) => {
206
+ const formattedObj = {};
207
+ for (const [sourceKey, targetKey] of Object.entries(mapping)) {
208
+ const value = getProp(obj, sourceKey);
209
+ if (value !== void 0) assignToProp(targetKey, formattedObj, value);
210
+ }
211
+ return formattedObj;
212
+ };
213
+ //#endregion
214
+ export { mapWith as a, getProp as i, deleteProp as n, StructuredList as o, formatObject as r, Confirm as s, assignToProp as t };
@@ -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] = "b4cdecba-409f-4c6e-8cc8-2a972d9fa7f9", e._sentryDebugIdIdentifier = "sentry-dbid-b4cdecba-409f-4c6e-8cc8-2a972d9fa7f9");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "093be1ff-55c0-4852-8b38-06369f12ff87", e._sentryDebugIdIdentifier = "sentry-dbid-093be1ff-55c0-4852-8b38-06369f12ff87");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
- import { t as Icon } from "./Icon-BcaP-f1D.js";
7
+ import { t as Icon } from "./Icon-BblJeZYj.js";
8
8
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
9
  import { t as Loader } from "./Loader-BEpMlKm2.js";
10
- import { n as IconButton } from "./Button-nDbNtBn3.js";
10
+ import { n as IconButton } from "./Button-oqvTDztg.js";
11
11
  import { n as httpGet, r as httpPost, t as httpDelete } from "./http-DsJtugN1.js";
12
- import { i as useAnalyticsContext } from "./Modal-BDNS-0rS.js";
12
+ import { i as useAnalyticsContext } from "./Modal-By_wpf9o.js";
13
13
  import { t as getLocalizedIdDocumentTypeOptions } from "./utils-Br7Ah3uy.js";
14
14
  import { useEffect } from "preact/hooks";
15
15
  import cx from "classnames";
@@ -1,8 +1,8 @@
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] = "1f8c896a-f624-4142-a802-ba335fe8504b", e._sentryDebugIdIdentifier = "sentry-dbid-1f8c896a-f624-4142-a802-ba335fe8504b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4f028ec8-cb0a-4ab4-a41e-dff43e3f9df6", e._sentryDebugIdIdentifier = "sentry-dbid-4f028ec8-cb0a-4ab4-a41e-dff43e3f9df6");
4
4
  } catch (e) {}
5
- import { t as addressValidators } from "./validate-Dfw99Sal.js";
5
+ import { t as addressValidators } from "./validate-DzNLLQoR.js";
6
6
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
7
7
  //#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
8
8
  var validateLegalEntityIdentifier = (legalEntityIdentifier) => {