@adyen/kyc-components 3.78.1 → 3.79.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 (174) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-CALk_lYs.js → AcceptTermsOfServiceComponent-BYhhk8TQ.js} +14 -12
  2. package/dist/{AccountSetupRejected-B4it2mAn.js → AccountSetupRejected-BEOktFiG.js} +2 -2
  3. package/dist/{Avatar-DTNBQIw4.js → Avatar-Bpx1BiR6.js} +2 -2
  4. package/dist/{BusinessDetailsDropin-BbiQUpTu.js → BusinessDetailsDropin-DQ9HiW45.js} +71 -8
  5. package/dist/{BusinessFinancingComponent-CoGow_z4.js → BusinessFinancingComponent-Cvo9_fno.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-BUDDEt2y.js → BusinessFinancingDropin-msfodTyQ.js} +8 -8
  7. package/dist/{BusinessFinancingPage-Dx_hYx0g.js → BusinessFinancingPage-B5Xw-yH6.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-R-vVja1w.js → BusinessTypeSelectionPage-Bxdhq03c.js} +4 -4
  9. package/dist/{ContractViewer-BUrLFkjz.js → ContractViewer-C7uRvIMH.js} +2 -2
  10. package/dist/{CreateIndividualComponent-CheH_tkQ.js → CreateIndividualComponent-DyaVsMAQ.js} +3 -3
  11. package/dist/{CreateTransferInstrumentComponent-CzT-zIuq.js → CreateTransferInstrumentComponent-BdA8RAKi.js} +2 -2
  12. package/dist/{CustomerSupport-eBFsBh5z.js → CustomerSupport-BMuEw9QX.js} +5 -5
  13. package/dist/{DebugModal-DSJ2Bu7L.js → DebugModal-CH_a1xPp.js} +8 -8
  14. package/dist/{DecisionMakerDetailsPage-D9HX27JP.js → DecisionMakerDetailsPage-_Vcfi13i.js} +3 -3
  15. package/dist/{DecisionMakers-DtEzrxlu.js → DecisionMakers-CgeGEEUz.js} +4 -4
  16. package/dist/{EmbeddedStatus-DW2KDeVq.js → EmbeddedStatus-DdJkMzzq.js} +6 -6
  17. package/dist/{FormEndState-CFsbWpxb.js → FormEndState-B4BOXD6K.js} +2 -2
  18. package/dist/{FormFlow-DCykB5i5.js → FormFlow-DBUPE96g.js} +2 -2
  19. package/dist/{IndividualOnfidoDropin-BSlyi20E.js → IndividualOnfidoDropin-yD8J8_wV.js} +17 -23
  20. package/dist/{Introduction-BZi_bthG.js → Introduction-j3go43kb.js} +3 -3
  21. package/dist/LandingLayout-CWUiKZ_Y.js +139 -0
  22. package/dist/{LegalRepresentativeDetailsPage-BIoRbtw2.js → LegalRepresentativeDetailsPage-DnzUpBDG.js} +3 -3
  23. package/dist/{ManageIndividualComponent-DMjlsbAy.js → ManageIndividualComponent-DTeTqAUr.js} +3 -3
  24. package/dist/{ManagePCIComponent-DBZfPp3V.js → ManagePCIComponent-Cn4Vuewf.js} +3 -3
  25. package/dist/{ManageTermsOfServiceComponent-DKETCed8.js → ManageTermsOfServiceComponent-DTXnAMhG.js} +3 -3
  26. package/dist/{ManageTransferInstrumentComponent-BSmYg0hN.js → ManageTransferInstrumentComponent-CBYehx_t.js} +4 -4
  27. package/dist/{OnboardingDropinComponent-BIYee1P5.js → OnboardingDropinComponent-DWcyxz6X.js} +35 -35
  28. package/dist/{ProviderButton-68h5aop6.js → ProviderButton-ChnPixpz.js} +9 -9
  29. package/dist/{Review-B64WSoNY.js → Review-C01An3Wl.js} +3 -3
  30. package/dist/{RootBusinessDetailsPage-pLFlImAT.js → RootBusinessDetailsPage-C8ZdxDW9.js} +3 -3
  31. package/dist/{RootIndividualDetailsPage-DNB6X1fo.js → RootIndividualDetailsPage-DDIrbB7-.js} +3 -3
  32. package/dist/{SignPCIComponent-C1FVDlrB.js → SignPCIComponent-J8gdxoQ0.js} +5 -5
  33. package/dist/{SingpassSelection-CYGyZdB5.js → SingpassSelection-BHFjqKtb.js} +2 -2
  34. package/dist/{SoleProprietorshipPage-B7edHXYn.js → SoleProprietorshipPage-B3toOI2F.js} +3 -3
  35. package/dist/{SourceOfFundsPage-Bl_iGS7M.js → SourceOfFundsPage-CBxjQ8zJ.js} +117 -50
  36. package/dist/{StoreProvider-C_CN8zyd.js → StoreProvider-DJxvFnRD.js} +5723 -5579
  37. package/dist/{TaskItemStatus-BSA2z5Iz.js → TaskItemStatus-CK1qrdCf.js} +2 -2
  38. package/dist/{TaxReportingDropin-CAUNn0j2.js → TaxReportingDropin-O_fR1zLM.js} +23 -54
  39. package/dist/{TileGroup-WyUkfpOq.js → TileGroup-D-vnIebh.js} +2 -2
  40. package/dist/{TrustDetailsPage-BL01OsYz.js → TrustDetailsPage-DQltmdcB.js} +5 -5
  41. package/dist/{TrustMemberCompanyPage-DUahXkBs.js → TrustMemberCompanyPage-C9uS0UYc.js} +4 -4
  42. package/dist/{TrustMemberIndividualPage-Q_ILxUsL.js → TrustMemberIndividualPage-8rMdNNNf.js} +3 -3
  43. package/dist/{UnincorporatedPartnershipIndividualPage-ByeOd96j.js → UnincorporatedPartnershipIndividualPage-ByhDF63-.js} +3 -3
  44. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DfnEI10w.js → UnincorporatedPartnershipMemberCompanyPage-BwjX8pqP.js} +3 -3
  45. package/dist/{VerificationErrorAlert-BdX_bk-t.js → VerificationErrorAlert-DFjfc2SU.js} +8 -6
  46. package/dist/{ViewVerificationStatusComponent-DxSqjkK8.js → ViewVerificationStatusComponent-Dp24LJ_o.js} +3 -3
  47. package/dist/adyen-business-financing.js +2 -2
  48. package/dist/adyen-individual.js +2 -2
  49. package/dist/adyen-kyc-components.js +22 -14
  50. package/dist/adyen-manage-individual.js +2 -2
  51. package/dist/adyen-manage-pci.js +2 -2
  52. package/dist/adyen-manage-terms-of-service.js +2 -2
  53. package/dist/adyen-manage-transfer-instruments.js +2 -2
  54. package/dist/adyen-onboarding.js +2 -2
  55. package/dist/adyen-sign-pci.js +2 -2
  56. package/dist/adyen-terms-of-service.js +2 -2
  57. package/dist/adyen-transfer-instrument.js +2 -2
  58. package/dist/adyen-verification-status.js +2 -2
  59. package/dist/bg-BG-BvSUDgGF.js +13 -0
  60. package/dist/bg-BG-HpLj_LOM.js +16 -0
  61. package/dist/cs-CZ-CQ_M3lEp.js +16 -0
  62. package/dist/cs-CZ-y4mvq4Lv.js +13 -0
  63. package/dist/{css-Shm8LIVZ.js → css-BtsHqofY.js} +2 -2
  64. package/dist/da-DK-k4JW3iVF.js +16 -0
  65. package/dist/da-DK-qgQOVjDp.js +13 -0
  66. package/dist/de-DE-C7mjtS5w.js +16 -0
  67. package/dist/de-DE-pSdsxBpQ.js +13 -0
  68. package/dist/el-GR-Bvjk5Sw8.js +13 -0
  69. package/dist/el-GR-CEQrkYHW.js +16 -0
  70. package/dist/en-US-DDagIr01.js +16 -0
  71. package/dist/es-ES-DB1c74Kv.js +16 -0
  72. package/dist/es-ES-Dy1uR2H_.js +13 -0
  73. package/dist/et-EE-d9V24rcf.js +13 -0
  74. package/dist/et-EE-xIegUSuv.js +16 -0
  75. package/dist/fi-FI-B0fnAFV2.js +13 -0
  76. package/dist/fi-FI-NCxneAqU.js +16 -0
  77. package/dist/fr-FR-BoKzVp2q.js +13 -0
  78. package/dist/fr-FR-daiUnUwo.js +16 -0
  79. package/dist/{getFieldsWithExistingData-FB3OWEkp.js → getFieldsWithExistingData-BtvDAW-l.js} +2 -2
  80. package/dist/{hasDataChanged-DPdMlQpS.js → hasDataChanged-DcG85sRa.js} +1 -1
  81. package/dist/hr-HR-BAUywqDj.js +16 -0
  82. package/dist/hr-HR-CF0AHQzi.js +13 -0
  83. package/dist/hu-HU-3GQojIHR.js +16 -0
  84. package/dist/hu-HU-CSPhOvLC.js +13 -0
  85. package/dist/it-IT-BH-eqIKH.js +13 -0
  86. package/dist/it-IT-pDWPFHEh.js +16 -0
  87. package/dist/ja-JP-B3yqM_FM.js +13 -0
  88. package/dist/ja-JP-scPXJ93L.js +16 -0
  89. package/dist/{json-BoKnQ33j.js → json-IilfysQm.js} +2 -2
  90. package/dist/{localizeDateString-Bt8M0P5i.js → localizeDateString-DXUTHzgL.js} +1 -1
  91. package/dist/lt-LT-BcGNy8Ti.js +16 -0
  92. package/dist/lt-LT-Lzl_Cbw-.js +13 -0
  93. package/dist/lv-LV-CBD07r1Y.js +16 -0
  94. package/dist/lv-LV-y00wN1pj.js +13 -0
  95. package/dist/{mapFinancialReportsToFinancialInformation-BWJUvu-v.js → mapFinancialReportsToFinancialInformation-Blm5alO_.js} +2 -2
  96. package/dist/nl-NL-BxJUDHMK.js +16 -0
  97. package/dist/nl-NL-DmnFXAQC.js +13 -0
  98. package/dist/no-NO-DbvFfP96.js +13 -0
  99. package/dist/no-NO-Drup6Jyy.js +16 -0
  100. package/dist/pl-PL--mmxopYA.js +13 -0
  101. package/dist/pl-PL-BXv8Mmzb.js +16 -0
  102. package/dist/{plaintext-D6ArdwCo.js → plaintext-Df_IEi_C.js} +2 -2
  103. package/dist/pt-PT-BVzXBFp7.js +13 -0
  104. package/dist/pt-PT-D8nU-UM2.js +16 -0
  105. package/dist/{resolveEnvironment-Bj2dnNqq.js → resolveEnvironment-DCR05dlR.js} +3 -3
  106. package/dist/ro-RO-CG33OwqS.js +16 -0
  107. package/dist/ro-RO-Cdmevo9A.js +13 -0
  108. package/dist/{rules-f7BBCo7l.js → rules-DRgmFncu.js} +2 -2
  109. package/dist/sk-SK-DV_xkO69.js +16 -0
  110. package/dist/sk-SK-nfeuTcY5.js +13 -0
  111. package/dist/sl-SI-B5yeoadY.js +16 -0
  112. package/dist/sl-SI-DUTZDqkP.js +13 -0
  113. package/dist/style.css +126 -74
  114. package/dist/styles-CLV89_hH.js +126 -74
  115. package/dist/sv-SE-BTx2XKAp.js +13 -0
  116. package/dist/sv-SE-CfxyR53r.js +16 -0
  117. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -1
  118. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
  119. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  120. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +4 -0
  121. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +12 -0
  122. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/types.d.ts +5 -0
  123. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  124. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -3
  125. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -2
  126. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +3 -3
  127. package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +10 -0
  128. package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +8 -0
  129. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -2
  130. package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -2
  131. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -2
  132. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
  133. package/dist/types/core/models/api/legal-arrangement.d.ts +8 -0
  134. package/dist/types/core/models/api/organization.d.ts +8 -0
  135. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +28 -0
  136. package/dist/types/language/Language.d.ts +0 -7
  137. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  138. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -0
  139. package/dist/types/utils/regex/patternValidators.d.ts +2 -0
  140. package/dist/{useMultiForm-BrNel_mc.js → useMultiForm-DNEiitFq.js} +2 -2
  141. package/dist/{useOnboardingStatus-BE1z1eUt.js → useOnboardingStatus-orr6iwF9.js} +1 -1
  142. package/dist/{useSalesChannelsSettings-nYpTkuYo.js → useSalesChannelsSettings-B8WCV-4A.js} +1 -1
  143. package/dist/{useTermsOfServiceStatus-YHUiTdhT.js → useTermsOfServiceStatus-BHg3MVR-.js} +1 -1
  144. package/dist/{useUpdateLegalEntity-Csc_isIR.js → useUpdateLegalEntity-SM0TLT5D.js} +1 -1
  145. package/dist/{utils-CdkXwLGZ.js → utils-DhHlD6W3.js} +4 -4
  146. package/dist/{validate-B6FOA4Ta.js → validate-CEDlgqDf.js} +2 -2
  147. package/dist/{yaml-BsoWkUaV.js → yaml-BSMtY3K-.js} +2 -2
  148. package/package.json +2 -2
  149. package/dist/SourceOfFunds.module-C6_DeyyN.js +0 -128
  150. package/dist/bg-BG-BJEwX54-.js +0 -13
  151. package/dist/cs-CZ-0aKeukjR.js +0 -13
  152. package/dist/da-DK-BiQSdU1f.js +0 -13
  153. package/dist/de-DE-Dx-1f5v5.js +0 -13
  154. package/dist/el-GR-DNpOiXlS.js +0 -13
  155. package/dist/es-ES-CtpW_j9H.js +0 -13
  156. package/dist/et-EE-CMNzVzun.js +0 -13
  157. package/dist/fi-FI-DVdPICca.js +0 -13
  158. package/dist/fr-FR-BwbkqjVl.js +0 -13
  159. package/dist/hr-HR-BZ_Eg80E.js +0 -13
  160. package/dist/hu-HU-CJg6YVP9.js +0 -13
  161. package/dist/it-IT-CQKKYAgU.js +0 -13
  162. package/dist/ja-JP-DVefHilf.js +0 -13
  163. package/dist/lt-LT-VPxl7F_u.js +0 -13
  164. package/dist/lv-LV-DAuc68rg.js +0 -13
  165. package/dist/nl-NL-DwjbYj_Q.js +0 -13
  166. package/dist/no-NO-CvXFRRN-.js +0 -13
  167. package/dist/pl-PL-Bdl7Nmzc.js +0 -13
  168. package/dist/pt-PT-DxxkYoPz.js +0 -13
  169. package/dist/ro-RO-hnKiFjCy.js +0 -13
  170. package/dist/sk-SK-DwwhojyK.js +0 -13
  171. package/dist/sl-SI-YYS0gksL.js +0 -13
  172. package/dist/sv-SE-Dc4DCQEl.js +0 -13
  173. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +0 -5
  174. package/dist/types/utils/sanitizeHtml.d.ts +0 -3
@@ -2,24 +2,24 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "608ae467-db8a-4002-a9bb-0d5f4fa29c65", e._sentryDebugIdIdentifier = "sentry-dbid-608ae467-db8a-4002-a9bb-0d5f4fa29c65");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d62b016b-204e-413a-9d75-a01f04ed4cde", e._sentryDebugIdIdentifier = "sentry-dbid-d62b016b-204e-413a-9d75-a01f04ed4cde");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
12
- import { p as useApiContext, bh as useMutation, bj as httpPost, bV as matchesRegex, bW as trimValWithOneSpace, bX as NO_ALPHABET_REGEX, bY as EMOJI_REGEX, bZ as hasRepeatedCharacters, b_ as isInvalidName, b$ as INDIVIDUAL_VALID_CHAR_REGEX, c0 as getFormattingRegEx, c1 as SPECIAL_CHARS, c2 as standardKatakanaValidator, c3 as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, c4 as getSSNType, ap as isEmpty, c5 as defaultFieldMetadata, c6 as defaultFieldConfig, c7 as defaultFieldMetadata$1, c8 as fieldConfig, W as TaskTypes, c9 as taxInformationDefaultFieldMetadata, y as LegalEntityType, ca as taxInformationDefaultFieldConfig, cb as getAgeToday, cc as euCountries, cd as getIdDocument, ce as getDocument, cf as mapExistingFile, cg as getPageName, ch as getLocalizedIdDocumentTypeOptions, ci as getPage, cj as createDocumentRequest, by as formatObject, ck as individualApiKeyMapping, bm as individualComponentsKeyMapping, bx as reverseMapping, cl as getNomineeFromAssociation, cm as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cn as documentApiUtils, co as useProviderStatus, g as getLegalEntityCountry, bN as getAssociatedLeAnalyticsPayload, cp as addressValidators, cq as getAsyncIdNumberValidationRule, cr as getAsyncPhoneValidationRules, cs as addressFormatters, ct as useScenarios, cu as setHasMotionCaptureScenario, cv as useScenarioConfiguration, cw as getPropsFromConfigurations, cx as individualForms, cy as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, cz as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bQ as useFormComposer, bR as trackNavigation, cA as Individual, cB as composePerScenarioFormConfigurations, cC as omitObscuredFieldsIfUnchanged, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, bc as cloneObject, cE as mapAddressLabels, cF as individualDocumentForms, cG as individualDocumentMapping, cH as individualObscuredFields, cI as mergeAttachments, cJ as getFileExtention, ak as getOwnEntityAssociations, cK as hasNomineesChanged, cL as attachNomineeToRole, cM as idVerificationProviderId, cN as doArraysMatch, C as Typography, Z as Button, az as Field, cO as DecisionMakerType, cP as createFormRules, cQ as getAvailableDecisionMakerRoleTypes, cR as allowedCountriesForNominee, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, cS as Scenarios, cT as isLowRiskCountry, bs as Select, cU as isTruthyValidator, cV as licenseCardNumberDefaultMetadata, cW as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bI as useFormContext, av as getFieldProps, cX as idNumberFields, cY as IdentityNumber, cZ as additionallIdNumberOptions, c_ as MaskedInput, bE as InputDate, c$ as formatDateObj, d0 as DriversLicense, d1 as addressFields, u as useAllowedCountries, K as SettingNames, d2 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, aF as CountryField, bL as Address, bM as getAddressSchemaLabelsByCountry, bB as Link, ba as Confirm, d3 as getAgeRangeForLegalRepresentative, d4 as IndividualIdNumberTypeSelector, d5 as TaxInformationField, d6 as PatriotActDisclosure, d7 as isLegalRepresentativeNeeded, aw as nameFields, d8 as decisionMakerRoleFields, d9 as nomineeFields, da as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, db as DecisionMakerRole, dc as NomineeDecisionMakerRole, dd as LocalizedNameFields, bC as InputText, de as ContactDetails, df as keysOf, b0 as objectsDeepEqual, dg as isEmpty$1, dh as RadioWithLabel, di as listToRecord, b4 as Modal, bo as Svg, dj as pick, dk as IdVerification, b9 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dl as isPersonUnderAge, dm as IdDocumentManualUpload, dn as idDocumentUploadFields, dp as useFormRouterContext, dq as getFormProps, dr as useCapabilities, ds as hasMotionCaptureScenario, dt as setShowIndividualMotionCapture, du as shouldShowMotionCapture, dv as MemoizedProofOfRelationship, dw as MemoizedDocumentUpload, dx as MemoizedProofOfResidencyUpload, dy as individualOnfidoApiKeyMapping, dz as individualOnfidoBaseMapping, bp as useQueryClient, dA as individualOnfidoDocumentMapping, dB as individualOnfidoObscuredFields } from "./StoreProvider-C_CN8zyd.js";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Csc_isIR.js";
14
- import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-B6FOA4Ta.js";
15
- import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DCykB5i5.js";
16
- import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-68h5aop6.js";
17
- import { u as useMultiForm } from "./useMultiForm-BrNel_mc.js";
18
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-FB3OWEkp.js";
19
- import { l as localizeDateString } from "./localizeDateString-Bt8M0P5i.js";
20
- import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-f7BBCo7l.js";
12
+ import { p as useApiContext, bh as useMutation, bj as httpPost, bW as matchesRegex, bX as trimValWithOneSpace, bY as NO_ALPHABET_REGEX, bZ as EMOJI_REGEX, b_ as hasRepeatedCharacters, b$ as isInvalidName, c0 as INDIVIDUAL_VALID_CHAR_REGEX, c1 as getFormattingRegEx, c2 as SPECIAL_CHARS, c3 as standardKatakanaValidator, c4 as standardKanjiValidator, as as resolveFieldMetadata, ap as CountryCodes, c5 as getSSNType, aq as isEmpty, c6 as defaultFieldMetadata, c7 as defaultFieldConfig, c8 as defaultFieldMetadata$1, c9 as fieldConfig, W as TaskTypes, ca as taxInformationDefaultFieldMetadata, y as LegalEntityType, cb as taxInformationDefaultFieldConfig, cc as getAgeToday, cd as euCountries, ce as getIdDocument, cf as getDocument, cg as mapExistingFile, ch as getPageName, ci as getLocalizedIdDocumentTypeOptions, cj as getPage, ck as createDocumentRequest, bz as formatObject, cl as individualApiKeyMapping, bm as individualComponentsKeyMapping, by as reverseMapping, cm as getNomineeFromAssociation, cn as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, J as useSettingsContext, co as documentApiUtils, cp as useProviderStatus, g as getLegalEntityCountry, bO as getAssociatedLeAnalyticsPayload, cq as addressValidators, cr as getAsyncIdNumberValidationRule, cs as getAsyncPhoneValidationRules, ct as addressFormatters, cu as useScenarios, cv as setHasMotionCaptureScenario, cw as useScenarioConfiguration, cx as getPropsFromConfigurations, cy as individualForms, cz as showIndividualMotionCapture, bP as getRequiredForms, bQ as addValidityToForms, cA as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bR as useFormComposer, bS as trackNavigation, cB as Individual, cC as composePerScenarioFormConfigurations, cD as omitObscuredFieldsIfUnchanged, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, bc as cloneObject, cF as mapAddressLabels, cG as individualDocumentForms, cH as individualDocumentMapping, cI as individualObscuredFields, cJ as mergeAttachments, cK as getFileExtention, al as getOwnEntityAssociations, cL as hasNomineesChanged, cM as attachNomineeToRole, cN as idVerificationProviderId, cO as doArraysMatch, C as Typography, _ as Button, aA as Field, cP as DecisionMakerType, cQ as createFormRules, cR as getAvailableDecisionMakerRoleTypes, cS as allowedCountriesForNominee, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, cT as Scenarios, cU as isLowRiskCountry, bt as Select, cV as isTruthyValidator, cW as licenseCardNumberDefaultMetadata, cX as licenseCardNumberDefaultConfig, ar as mergeFieldMetadataIntoProps, az as createFormUtils, bJ as useFormContext, aw as getFieldProps, cY as idNumberFields, cZ as IdentityNumber, c_ as additionallIdNumberOptions, c$ as MaskedInput, bF as InputDate, d0 as formatDateObj, d1 as DriversLicense, d2 as addressFields, u as useAllowedCountries, K as SettingNames, d3 as getDefaultTaxIdNumberType, F as FormHeader, ay as ErrorPanel, aG as CountryField, bM as Address, bN as getAddressSchemaLabelsByCountry, bC as Link, ba as Confirm, d4 as getAgeRangeForLegalRepresentative, d5 as IndividualIdNumberTypeSelector, d6 as TaxInformationField, d7 as PatriotActDisclosure, d8 as isLegalRepresentativeNeeded, ax as nameFields, d9 as decisionMakerRoleFields, da as nomineeFields, db as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, dc as DecisionMakerRole, dd as NomineeDecisionMakerRole, de as LocalizedNameFields, bD as InputText, df as ContactDetails, dg as keysOf, b0 as objectsDeepEqual, dh as isEmpty$1, di as RadioWithLabel, dj as listToRecord, b4 as Modal, bo as Svg, dk as pick, dl as IdVerification, b9 as Spacer, $ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dm as isPersonUnderAge, dn as IdDocumentManualUpload, Z as useTranslation, aU as Trans, dp as idDocumentUploadFields, dq as useFormRouterContext, dr as getFormProps, ds as useCapabilities, dt as hasMotionCaptureScenario, du as setShowIndividualMotionCapture, dv as shouldShowMotionCapture, dw as MemoizedProofOfRelationship, dx as MemoizedDocumentUpload, dy as MemoizedProofOfResidencyUpload, dz as individualOnfidoApiKeyMapping, dA as individualOnfidoBaseMapping, bp as useQueryClient, dB as individualOnfidoDocumentMapping, dC as individualOnfidoObscuredFields } from "./StoreProvider-DJxvFnRD.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-SM0TLT5D.js";
14
+ import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-CEDlgqDf.js";
15
+ import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DBUPE96g.js";
16
+ import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-ChnPixpz.js";
17
+ import { u as useMultiForm } from "./useMultiForm-DNEiitFq.js";
18
+ import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BtvDAW-l.js";
19
+ import { l as localizeDateString } from "./localizeDateString-DXUTHzgL.js";
20
+ import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-DRgmFncu.js";
21
21
  import { signal, computed } from "@preact/signals";
22
- import { T as TileGroup } from "./TileGroup-WyUkfpOq.js";
22
+ import { T as TileGroup } from "./TileGroup-D-vnIebh.js";
23
23
  const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
24
24
  return await httpPost(
25
25
  {
@@ -3302,14 +3302,8 @@ function SignatoryQuestionnaire(props) {
3302
3302
  isModalOpen && /* @__PURE__ */ jsx(Modal, { onClose: closeModal, ariaLabel: i18n.get("moreAboutAuthorizedSignatories"), inset: true, children: /* @__PURE__ */ jsx(SignatoryQuestionnaireModalContent, {}) })
3303
3303
  ] });
3304
3304
  }
3305
- const RichText = ({ content }) => {
3306
- if (!content) {
3307
- return null;
3308
- }
3309
- const parts = content.split(/<strong>|<\/strong>/);
3310
- return /* @__PURE__ */ jsx(Fragment, { children: parts.map((part, index) => index % 2 === 1 ? /* @__PURE__ */ jsx("strong", { children: part }, index) : part) });
3311
- };
3312
3305
  const UboQuestionnaireModalContent = ({ modalType }) => {
3306
+ const { t } = useTranslation();
3313
3307
  const { i18n } = useI18nContext();
3314
3308
  switch (modalType) {
3315
3309
  case "isOwner":
@@ -3341,10 +3335,10 @@ const UboQuestionnaireModalContent = ({ modalType }) => {
3341
3335
  /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: i18n.get("controllingPersonDescriptionQ1") }),
3342
3336
  /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: i18n.get("controllingPersonDescriptionA1P1") }),
3343
3337
  /* @__PURE__ */ jsxs("ul", { children: [
3344
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(RichText, { content: i18n.get("controllingPersonDescriptionA1L1") }) }),
3345
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(RichText, { content: i18n.get("controllingPersonDescriptionA1L2") }) }),
3346
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(RichText, { content: i18n.get("controllingPersonDescriptionA1L3") }) }),
3347
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(RichText, { content: i18n.get("controllingPersonDescriptionA1L4") }) })
3338
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L1"] }) }),
3339
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L2"] }) }),
3340
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L3"] }) }),
3341
+ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L4"] }) })
3348
3342
  ] }),
3349
3343
  /* @__PURE__ */ jsx(
3350
3344
  Alert,
@@ -4025,7 +4019,7 @@ const mapLegalEntityToIndividualOnfidoSchema = (legalEntity, isChangingType, isR
4025
4019
  return individualOnfido;
4026
4020
  };
4027
4021
  const mapDocumentDetailToIdDocument = (documents) => {
4028
- const activeDocument = documents.filter((document) => document.active)?.[0];
4022
+ const activeDocument = documents.find((document) => document.active);
4029
4023
  return activeDocument ? {
4030
4024
  idDocumentType: activeDocument.type,
4031
4025
  modificationDate: activeDocument.modificationDate
@@ -2,16 +2,16 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f1d6280c-0fd1-462a-bac4-49cfe4f4c19a", e._sentryDebugIdIdentifier = "sentry-dbid-f1d6280c-0fd1-462a-bac4-49cfe4f4c19a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b9d34fd8-cf03-4e90-bcc0-caf870edd21a", e._sentryDebugIdIdentifier = "sentry-dbid-b9d34fd8-cf03-4e90-bcc0-caf870edd21a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
12
- import { W as TaskTypes, y as LegalEntityType, aS as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bv as StepProgressIndicator, Z as Button } from "./StoreProvider-C_CN8zyd.js";
12
+ import { W as TaskTypes, y as LegalEntityType, Z as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, a0 as useAnalyticsContext, bw as StepProgressIndicator, _ as Button } from "./StoreProvider-DJxvFnRD.js";
13
13
  import { useMemo } from "preact/compat";
14
- import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-BIYee1P5.js";
14
+ import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-DWcyxz6X.js";
15
15
  import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
16
16
  import IntroductionStrings from "./en-US-Bq2Twy6x.js";
17
17
  var IntroductionScreens = ((IntroductionScreens2) => {
@@ -0,0 +1,139 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e804b830-b99d-483d-80f1-849b23942ba0", e._sentryDebugIdIdentifier = "sentry-dbid-e804b830-b99d-483d-80f1-849b23942ba0");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { jsxs, jsx } from "preact/jsx-runtime";
11
+ import cx from "classnames";
12
+ import { Z as useTranslation, Y as TaskStatus, C as Typography } from "./StoreProvider-DJxvFnRD.js";
13
+ const inTaskStatus = "adyen-kyc-in-task-status";
14
+ const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
15
+ const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
16
+ const inTaskStatusIndicatorError = "adyen-kyc-in-task-status-indicator-error";
17
+ const inTaskStatusIndicatorWarning = "adyen-kyc-in-task-status-indicator-warning";
18
+ const inTaskStatusLabel = "adyen-kyc-in-task-status-label";
19
+ const styles$2 = {
20
+ inTaskStatus,
21
+ inTaskStatusIndicator,
22
+ inTaskStatusIndicatorSuccess,
23
+ inTaskStatusIndicatorError,
24
+ inTaskStatusIndicatorWarning,
25
+ inTaskStatusLabel
26
+ };
27
+ const getIndicatorLabelAndClassnames = ({
28
+ taskStatus
29
+ }) => {
30
+ if (taskStatus === TaskStatus.FINISHED) {
31
+ return {
32
+ indicatorLabel: "taskComplete",
33
+ indicatorClassname: styles$2.inTaskStatusIndicatorSuccess
34
+ };
35
+ }
36
+ if (taskStatus === TaskStatus.PROCESSING) {
37
+ return {
38
+ indicatorLabel: "taskInProgress",
39
+ indicatorClassname: styles$2.inTaskStatusIndicatorWarning
40
+ };
41
+ }
42
+ if (taskStatus === TaskStatus.ERROR) {
43
+ return {
44
+ indicatorLabel: "taskHasErrors",
45
+ indicatorClassname: styles$2.inTaskStatusIndicatorError
46
+ };
47
+ }
48
+ };
49
+ const TaskStatusIndicator = ({ taskStatus }) => {
50
+ const { t } = useTranslation();
51
+ const indicator = getIndicatorLabelAndClassnames({ taskStatus });
52
+ if (!indicator) {
53
+ return null;
54
+ }
55
+ const { indicatorLabel, indicatorClassname } = indicator;
56
+ return /* @__PURE__ */ jsxs("div", { className: styles$2.inTaskStatus, children: [
57
+ /* @__PURE__ */ jsx(
58
+ "div",
59
+ {
60
+ "data-testid": "task-status-indicator",
61
+ className: cx(styles$2.inTaskStatusIndicator, indicatorClassname)
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx("div", { className: styles$2.inTaskStatusLabel, children: t(($) => $[indicatorLabel]) })
65
+ ] });
66
+ };
67
+ const stackLayout = "adyen-kyc-stack-layout";
68
+ const stackLayoutGapXs = "adyen-kyc-stack-layout-gap-xs";
69
+ const stackLayoutGapS = "adyen-kyc-stack-layout-gap-s";
70
+ const stackLayoutGapM = "adyen-kyc-stack-layout-gap-m";
71
+ const stackLayoutGapL = "adyen-kyc-stack-layout-gap-l";
72
+ const stackLayoutGapXl = "adyen-kyc-stack-layout-gap-xl";
73
+ const stackLayoutHorizontal = "adyen-kyc-stack-layout-horizontal";
74
+ const styles$1 = {
75
+ stackLayout,
76
+ stackLayoutGapXs,
77
+ stackLayoutGapS,
78
+ stackLayoutGapM,
79
+ stackLayoutGapL,
80
+ stackLayoutGapXl,
81
+ stackLayoutHorizontal
82
+ };
83
+ const StackLayout = ({ children, gap = "medium", horizontal = false }) => {
84
+ const gapStyles = {
85
+ xSmall: styles$1.stackLayoutGapXs,
86
+ small: styles$1.stackLayoutGapS,
87
+ medium: styles$1.stackLayoutGapM,
88
+ large: styles$1.stackLayoutGapL,
89
+ xLarge: styles$1.stackLayoutGapXl,
90
+ none: null
91
+ };
92
+ const rootClassname = cx(styles$1.stackLayout, gapStyles[gap], {
93
+ [styles$1.stackLayoutHorizontal]: horizontal
94
+ });
95
+ return /* @__PURE__ */ jsx("div", { className: rootClassname, children });
96
+ };
97
+ const landingLayoutImage = "adyen-kyc-landing-layout-image";
98
+ const landingLayoutActions = "adyen-kyc-landing-layout-actions";
99
+ const landingLayoutDisclaimer = "adyen-kyc-landing-layout-disclaimer";
100
+ const landingLayoutCenter = "adyen-kyc-landing-layout-center";
101
+ const styles = {
102
+ landingLayoutImage,
103
+ landingLayoutActions,
104
+ landingLayoutDisclaimer,
105
+ landingLayoutCenter
106
+ };
107
+ const LandingLayout = ({
108
+ actions,
109
+ description,
110
+ disclaimer,
111
+ helpAction,
112
+ media,
113
+ title
114
+ }) => {
115
+ return /* @__PURE__ */ jsxs(StackLayout, { gap: "large", children: [
116
+ media && /* @__PURE__ */ jsx("div", { role: "region", className: styles.landingLayoutImage, children: media }),
117
+ /* @__PURE__ */ jsxs(StackLayout, { gap: "small", children: [
118
+ /* @__PURE__ */ jsx(Typography, { el: "h2", className: styles.landingLayoutCenter, variant: "title-l", children: title }),
119
+ description && /* @__PURE__ */ jsx(Typography, { className: styles.landingLayoutCenter, variant: "body", color: "primary", children: description }),
120
+ helpAction
121
+ ] }),
122
+ /* @__PURE__ */ jsx("div", { className: styles.landingLayoutActions, children: /* @__PURE__ */ jsxs(StackLayout, { gap: "small", children: [
123
+ actions,
124
+ disclaimer && /* @__PURE__ */ jsx(
125
+ Typography,
126
+ {
127
+ variant: "caption",
128
+ color: "tertiary",
129
+ className: styles.landingLayoutDisclaimer,
130
+ children: disclaimer
131
+ }
132
+ )
133
+ ] }) })
134
+ ] });
135
+ };
136
+ export {
137
+ LandingLayout as L,
138
+ TaskStatusIndicator as T
139
+ };
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8d7cdabe-d021-4329-af50-b8480d648847", e._sentryDebugIdIdentifier = "sentry-dbid-8d7cdabe-d021-4329-af50-b8480d648847");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d2ef8850-5b9e-4c59-82f8-38f3ebc0e1c3", e._sentryDebugIdIdentifier = "sentry-dbid-d2ef8850-5b9e-4c59-82f8-38f3ebc0e1c3");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-C_CN8zyd.js";
12
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BSlyi20E.js";
11
+ import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-DJxvFnRD.js";
12
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-yD8J8_wV.js";
13
13
  function LegalRepresentativeDetailsPage({
14
14
  legalRepresentativeId,
15
15
  asModal = false,
@@ -8,10 +8,10 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-C_CN8zyd.js";
12
- import { u as useOnboardingStatus } from "./useOnboardingStatus-BE1z1eUt.js";
11
+ import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DJxvFnRD.js";
12
+ import { u as useOnboardingStatus } from "./useOnboardingStatus-orr6iwF9.js";
13
13
  import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
14
- import { E as EmbeddedStatus } from "./EmbeddedStatus-DW2KDeVq.js";
14
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
15
15
  function ManageIndividualComponent({
16
16
  legalEntityId,
17
17
  onClick
@@ -8,9 +8,9 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-nYpTkuYo.js";
12
- import { b as useI18nContext, p as useApiContext } from "./StoreProvider-C_CN8zyd.js";
13
- import { E as EmbeddedStatus } from "./EmbeddedStatus-DW2KDeVq.js";
11
+ import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-B8WCV-4A.js";
12
+ import { b as useI18nContext, p as useApiContext } from "./StoreProvider-DJxvFnRD.js";
13
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
14
14
  function ManagePCIComponent({ legalEntityId, onClick }) {
15
15
  const { i18n } = useI18nContext();
16
16
  const title = i18n.get("pciDssQuestionnaire");
@@ -8,9 +8,9 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-YHUiTdhT.js";
12
- import { p as useApiContext, b as useI18nContext } from "./StoreProvider-C_CN8zyd.js";
13
- import { E as EmbeddedStatus } from "./EmbeddedStatus-DW2KDeVq.js";
11
+ import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-BHg3MVR-.js";
12
+ import { p as useApiContext, b as useI18nContext } from "./StoreProvider-DJxvFnRD.js";
13
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
14
14
  function ManageTermsOfServiceComponent({
15
15
  legalEntityId,
16
16
  onClick
@@ -2,15 +2,15 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3efa086-d968-43f4-9cc0-bea63a453dbd", e._sentryDebugIdIdentifier = "sentry-dbid-c3efa086-d968-43f4-9cc0-bea63a453dbd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e338362-1414-4747-a7b1-9c4cb9be36ab", e._sentryDebugIdIdentifier = "sentry-dbid-7e338362-1414-4747-a7b1-9c4cb9be36ab");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
- import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BdX_bk-t.js";
12
- import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, Z as Button, a0 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, _ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-C_CN8zyd.js";
13
- import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-DW2KDeVq.js";
11
+ import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DFjfc2SU.js";
12
+ import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, _ as Button, a1 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, $ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a6 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-DJxvFnRD.js";
13
+ import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
14
14
  import { useState } from "preact/hooks";
15
15
  import { T as Tag } from "./Tag-DdkVScyr.js";
16
16
  const getTransferInstruments = async (legalEntityId, baseUrl) => {
@@ -2,25 +2,25 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "393c8f5e-0961-4840-b6c9-7f7a2cb54015", e._sentryDebugIdIdentifier = "sentry-dbid-393c8f5e-0961-4840-b6c9-7f7a2cb54015");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c0be9ef4-ce76-4164-9c89-165141fbfe32", e._sentryDebugIdIdentifier = "sentry-dbid-c0be9ef4-ce76-4164-9c89-165141fbfe32");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as Button, _ as IconButton, $ as useAnalyticsContext, a0 as Card, a1 as handleKeys, a2 as LoaderWrapper, a3 as Icon, a4 as noop, a5 as useToastContext, a6 as useExperimentsContext, a7 as isInstantVerifiedAccount, a8 as getObscuredAccountNumber, a9 as useGetTaskStatus, aa as CardGroup, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, ac as useGlobalStore, ad as useSetting, ae as isPartOfUnincorporatedPartnership, af as getOwnSignatories, ag as getOwnDecisionMakersLegalEntityIds, ah as getOwnSolePropProblems, ai as getOwnTrustProblems, aj as getOwnUnincorporatedPartnershipProblems, ak as getOwnEntityAssociations, al as TrustMemberTypes, am as getLegalEntityNameBasedOnType, an as useAssociatedLegalEntity, ao as CountryCodes, ap as isEmpty, aq as mergeFieldMetadataIntoProps, ar as resolveFieldMetadata, as as defaultFieldMetadata, at as defaultFieldConfig, au as useForm, av as getFieldProps, aw as nameFields, F as FormHeader, ax as ErrorPanel, ay as createFormUtils, az as Field, aA as MultiSelectList, aB as makeSelectItemForRole, aC as RadioGroupCard, aD as TextArea, aE as Name, aF as CountryField, aG as COUNTRY_FIELD, aH as LegalCompanyNameField, aI as LEGAL_COMPANY_NAME_FIELD, aJ as summaryItem, aK as getRoleName, aL as summaryStep, aM as FormNavigation, aN as Summary, aO as ActionBar, g as getLegalEntityCountry, aP as UnincorporatedPartnershipMemberTypes, aQ as getDecisionMakerDescriptionMap, aR as TRUST_DEFAULT_DESCRIPTIONS_MAP, aS as useTranslation, aT as getRoleTagVariant, aU as Trans, aV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aW as ContextGuidance, aX as RadioGroup, aY as useUnincorporatedPartnershipMembers, aZ as deleteUnincorporatedPartnershipMember, a_ as hasAllCapabilitiesResolved, a$ as hasRejectedCapabilities, b0 as objectsDeepEqual, b1 as TrustedFieldsProvider } from "./StoreProvider-C_CN8zyd.js";
11
+ import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as useTranslation, _ as Button, $ as IconButton, a0 as useAnalyticsContext, a1 as Card, a2 as handleKeys, a3 as LoaderWrapper, a4 as Icon, a5 as noop, a6 as useToastContext, a7 as useExperimentsContext, a8 as isInstantVerifiedAccount, a9 as getObscuredAccountNumber, aa as useGetTaskStatus, ab as CardGroup, R as ROOT_LE, ac as useCapabilityProblems, L as Loader, ad as useGlobalStore, ae as useSetting, af as isPartOfUnincorporatedPartnership, ag as getOwnSignatories, ah as getOwnDecisionMakersLegalEntityIds, ai as getOwnSolePropProblems, aj as getOwnTrustProblems, ak as getOwnUnincorporatedPartnershipProblems, al as getOwnEntityAssociations, am as TrustMemberTypes, an as getLegalEntityNameBasedOnType, ao as useAssociatedLegalEntity, ap as CountryCodes, aq as isEmpty, ar as mergeFieldMetadataIntoProps, as as resolveFieldMetadata, at as defaultFieldMetadata, au as defaultFieldConfig, av as useForm, aw as getFieldProps, ax as nameFields, F as FormHeader, ay as ErrorPanel, az as createFormUtils, aA as Field, aB as MultiSelectList, aC as makeSelectItemForRole, aD as RadioGroupCard, aE as TextArea, aF as Name, aG as CountryField, aH as COUNTRY_FIELD, aI as LegalCompanyNameField, aJ as LEGAL_COMPANY_NAME_FIELD, aK as summaryItem, aL as getRoleName, aM as summaryStep, aN as FormNavigation, aO as Summary, aP as ActionBar, g as getLegalEntityCountry, aQ as UnincorporatedPartnershipMemberTypes, aR as getDecisionMakerDescriptionMap, aS as TRUST_DEFAULT_DESCRIPTIONS_MAP, aT as getRoleTagVariant, aU as Trans, aV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aW as ContextGuidance, aX as RadioGroup, aY as useUnincorporatedPartnershipMembers, aZ as deleteUnincorporatedPartnershipMember, a_ as hasAllCapabilitiesResolved, a$ as hasRejectedCapabilities, b0 as objectsDeepEqual, b1 as TrustedFieldsProvider } from "./StoreProvider-DJxvFnRD.js";
12
12
  import { lazy, Suspense } from "preact/compat";
13
13
  import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
14
- import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-68h5aop6.js";
14
+ import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-ChnPixpz.js";
15
15
  import cx from "classnames";
16
- import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-nYpTkuYo.js";
17
- import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-YHUiTdhT.js";
16
+ import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-B8WCV-4A.js";
17
+ import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-BHg3MVR-.js";
18
18
  import { signal } from "@preact/signals";
19
19
  import { d as downloadFile } from "./file-CiG1D0zy.js";
20
- import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BdX_bk-t.js";
21
- import { A as Avatar } from "./Avatar-DTNBQIw4.js";
22
- import { T as TaskItemStatus } from "./TaskItemStatus-BSA2z5Iz.js";
23
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-Csc_isIR.js";
20
+ import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DFjfc2SU.js";
21
+ import { A as Avatar } from "./Avatar-Bpx1BiR6.js";
22
+ import { T as TaskItemStatus } from "./TaskItemStatus-CK1qrdCf.js";
23
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-SM0TLT5D.js";
24
24
  import { T as Tag } from "./Tag-DdkVScyr.js";
25
25
  const getTaskTypes = async (id, baseUrl) => {
26
26
  return httpGet({
@@ -374,7 +374,7 @@ const Remove = ({
374
374
  handleIsRemoveDisabled,
375
375
  label
376
376
  }) => {
377
- const { i18n } = useI18nContext();
377
+ const { t } = useTranslation();
378
378
  const [undoTimer, setUndoTimer] = useState(5);
379
379
  const [isRemoving, setIsRemoving] = useState(false);
380
380
  useEffect(() => {
@@ -412,10 +412,10 @@ const Remove = ({
412
412
  })();
413
413
  }
414
414
  }, [undoTimer, isRemoving, onRemoveStatusChange, handleIsRemoveDisabled, onRemove]);
415
- return isRemoving ? /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: onClickHandler, children: i18n.get("undoWithTimer", { values: { secondsLeft: undoTimer } }) }) : /* @__PURE__ */ jsx(
415
+ return isRemoving ? /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: onClickHandler, children: t(($) => $["undoWithTimer"], { secondsLeft: undoTimer }) }) : /* @__PURE__ */ jsx(
416
416
  IconButton,
417
417
  {
418
- ariaLabel: i18n.get(label),
418
+ ariaLabel: label && t(($) => $[label]),
419
419
  icon: "bin",
420
420
  variant: "tertiary",
421
421
  onClick: onClickHandler,
@@ -3330,71 +3330,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
3330
3330
  return hasOwnEntityAssocation || !!hasOrganizationType;
3331
3331
  };
3332
3332
  const Introduction = lazy(
3333
- async () => (await import("./Introduction-BZi_bthG.js")).Introduction
3333
+ async () => (await import("./Introduction-j3go43kb.js")).Introduction
3334
3334
  );
3335
3335
  const BusinessTypeSelectionPage = lazy(
3336
- async () => (await import("./BusinessTypeSelectionPage-R-vVja1w.js")).BusinessTypeSelectionPage
3336
+ async () => (await import("./BusinessTypeSelectionPage-Bxdhq03c.js")).BusinessTypeSelectionPage
3337
3337
  );
3338
3338
  const SingpassSelection = lazy(
3339
- async () => (await import("./SingpassSelection-CYGyZdB5.js")).SingpassSelection
3339
+ async () => (await import("./SingpassSelection-BHFjqKtb.js")).SingpassSelection
3340
3340
  );
3341
3341
  const AccountSetupRejected = lazy(
3342
- async () => (await import("./AccountSetupRejected-B4it2mAn.js")).AccountSetupRejected
3342
+ async () => (await import("./AccountSetupRejected-BEOktFiG.js")).AccountSetupRejected
3343
3343
  );
3344
3344
  const DecisionMakers = lazy(
3345
- async () => (await import("./DecisionMakers-DtEzrxlu.js")).DecisionMakers
3345
+ async () => (await import("./DecisionMakers-CgeGEEUz.js")).DecisionMakers
3346
3346
  );
3347
3347
  const CustomerSupport = lazy(
3348
- async () => (await import("./CustomerSupport-eBFsBh5z.js")).CustomerSupport
3348
+ async () => (await import("./CustomerSupport-BMuEw9QX.js")).CustomerSupport
3349
3349
  );
3350
- const Review = lazy(async () => (await import("./Review-B64WSoNY.js")).Review);
3350
+ const Review = lazy(async () => (await import("./Review-C01An3Wl.js")).Review);
3351
3351
  const SignPCIComponent = lazy(
3352
- async () => (await import("./SignPCIComponent-C1FVDlrB.js")).SignPCIComponent
3352
+ async () => (await import("./SignPCIComponent-J8gdxoQ0.js")).SignPCIComponent
3353
3353
  );
3354
3354
  const AcceptTermsOfService = lazy(
3355
- async () => (await import("./AcceptTermsOfServiceComponent-CALk_lYs.js")).AcceptTermsOfServiceComponent
3355
+ async () => (await import("./AcceptTermsOfServiceComponent-BYhhk8TQ.js")).AcceptTermsOfServiceComponent
3356
3356
  );
3357
3357
  const TaxReportingDropin = lazy(
3358
- async () => (await import("./TaxReportingDropin-CAUNn0j2.js")).TaxReportingDropin
3358
+ async () => (await import("./TaxReportingDropin-O_fR1zLM.js")).TaxReportingDropin
3359
3359
  );
3360
3360
  const PayoutDetailsPage = lazy(
3361
- async () => (await import("./StoreProvider-C_CN8zyd.js").then((n) => n.eE)).PayoutDetailsPage
3361
+ async () => (await import("./StoreProvider-DJxvFnRD.js").then((n) => n.eF)).PayoutDetailsPage
3362
3362
  );
3363
3363
  const RootBusinessDetailsPage = lazy(
3364
- async () => (await import("./RootBusinessDetailsPage-pLFlImAT.js")).RootBusinessDetailsPage
3364
+ async () => (await import("./RootBusinessDetailsPage-C8ZdxDW9.js")).RootBusinessDetailsPage
3365
3365
  );
3366
3366
  const SoleProprietorshipPage = lazy(
3367
- async () => (await import("./SoleProprietorshipPage-B7edHXYn.js")).SoleProprietorshipPage
3367
+ async () => (await import("./SoleProprietorshipPage-B3toOI2F.js")).SoleProprietorshipPage
3368
3368
  );
3369
3369
  const TrustMemberCompanyPage = lazy(
3370
- async () => (await import("./TrustMemberCompanyPage-DUahXkBs.js")).TrustMemberCompanyPage
3370
+ async () => (await import("./TrustMemberCompanyPage-C9uS0UYc.js")).TrustMemberCompanyPage
3371
3371
  );
3372
3372
  const UnincorporatedPartnershipMemberCompanyPage = lazy(
3373
- async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DfnEI10w.js")).UnincorporatedPartnershipMemberCompanyPage
3373
+ async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BwjX8pqP.js")).UnincorporatedPartnershipMemberCompanyPage
3374
3374
  );
3375
3375
  const BusinessFinancingPage = lazy(
3376
- async () => (await import("./BusinessFinancingPage-Dx_hYx0g.js")).BusinessFinancingPage
3376
+ async () => (await import("./BusinessFinancingPage-B5Xw-yH6.js")).BusinessFinancingPage
3377
3377
  );
3378
3378
  const TrustDetailsPage = lazy(
3379
- async () => (await import("./TrustDetailsPage-BL01OsYz.js")).TrustDetailsPage
3379
+ async () => (await import("./TrustDetailsPage-DQltmdcB.js")).TrustDetailsPage
3380
3380
  );
3381
3381
  const SourceOfFundsPage = lazy(
3382
- async () => (await import("./SourceOfFundsPage-Bl_iGS7M.js")).SourceOfFundsPage
3382
+ async () => (await import("./SourceOfFundsPage-CBxjQ8zJ.js")).SourceOfFundsPage
3383
3383
  );
3384
3384
  const RootIndividualDetailsPage = lazy(
3385
- async () => (await import("./RootIndividualDetailsPage-DNB6X1fo.js")).RootIndividualDetailsPage
3385
+ async () => (await import("./RootIndividualDetailsPage-DDIrbB7-.js")).RootIndividualDetailsPage
3386
3386
  );
3387
3387
  const LegalRepresentativeDetailsPage = lazy(
3388
- async () => (await import("./LegalRepresentativeDetailsPage-BIoRbtw2.js")).LegalRepresentativeDetailsPage
3388
+ async () => (await import("./LegalRepresentativeDetailsPage-DnzUpBDG.js")).LegalRepresentativeDetailsPage
3389
3389
  );
3390
3390
  const TrustMemberIndividualPage = lazy(
3391
- async () => (await import("./TrustMemberIndividualPage-Q_ILxUsL.js")).TrustMemberIndividualPage
3391
+ async () => (await import("./TrustMemberIndividualPage-8rMdNNNf.js")).TrustMemberIndividualPage
3392
3392
  );
3393
3393
  const UnincorporatedPartnershipIndividualPage = lazy(
3394
- async () => (await import("./UnincorporatedPartnershipIndividualPage-ByeOd96j.js")).UnincorporatedPartnershipIndividualPage
3394
+ async () => (await import("./UnincorporatedPartnershipIndividualPage-ByhDF63-.js")).UnincorporatedPartnershipIndividualPage
3395
3395
  );
3396
3396
  const DecisionMakerDetailsPage = lazy(
3397
- async () => (await import("./DecisionMakerDetailsPage-D9HX27JP.js")).DecisionMakerDetailsPage
3397
+ async () => (await import("./DecisionMakerDetailsPage-_Vcfi13i.js")).DecisionMakerDetailsPage
3398
3398
  );
3399
3399
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
3400
3400
  const logger = createLogger();
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "15b04d3f-fc46-40d5-b986-88de853c7ac9", e._sentryDebugIdIdentifier = "sentry-dbid-15b04d3f-fc46-40d5-b986-88de853c7ac9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bb49888b-f2d6-449e-9b70-671ec7a026fc", e._sentryDebugIdIdentifier = "sentry-dbid-bb49888b-f2d6-449e-9b70-671ec7a026fc");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useReducer, useMemo } from "preact/hooks";
11
- import { p as useApiContext, q as useQuery, bj as httpPost, a6 as useExperimentsContext, g as getLegalEntityCountry, ao as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, b1 as TrustedFieldsProvider, bm as individualComponentsKeyMapping, bn as businessDetailsComponentsKeyMapping, b as useI18nContext, Z as Button, bo as Svg } from "./StoreProvider-C_CN8zyd.js";
11
+ import { p as useApiContext, q as useQuery, bj as httpPost, a7 as useExperimentsContext, g as getLegalEntityCountry, ap as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, b1 as TrustedFieldsProvider, bm as individualComponentsKeyMapping, bn as businessDetailsComponentsKeyMapping, Z as useTranslation, _ as Button, bo as Svg } from "./StoreProvider-DJxvFnRD.js";
12
12
  import { jsx, jsxs } from "preact/jsx-runtime";
13
13
  async function convertToSingpassLinkResponse(openIdInitiateResponse) {
14
14
  const response = await Promise.resolve(openIdInitiateResponse);
@@ -195,7 +195,7 @@ const ProviderButton = ({
195
195
  }) => {
196
196
  const isSingpass = provider.includes("singpassMyInfo");
197
197
  const buttonVariant = isSingpass ? "secondary" : "primary";
198
- const { i18n } = useI18nContext();
198
+ const { t } = useTranslation();
199
199
  const buttonProps = {
200
200
  disabled,
201
201
  fullWidth,
@@ -220,12 +220,12 @@ const ProviderButton = ({
220
220
  singpassMyInfoBusiness: "Singpass"
221
221
  };
222
222
  const buttonLabel = {
223
- tink: i18n.get("addAccountWith"),
224
- yapily: i18n.get("addAccountWith"),
225
- plaid: i18n.get("addAccountWith"),
226
- onfido: i18n.get("addDetailsWith"),
227
- singpassMyInfo: i18n.get("retrieveMyinfoWith"),
228
- singpassMyInfoBusiness: i18n.get("retrieveMyinfoBusinessWith")
223
+ tink: t(($) => $["addAccountWith"]),
224
+ yapily: t(($) => $["addAccountWith"]),
225
+ plaid: t(($) => $["addAccountWith"]),
226
+ onfido: t(($) => $["addDetailsWith"]),
227
+ singpassMyInfo: t(($) => $["retrieveMyinfoWith"]),
228
+ singpassMyInfoBusiness: t(($) => $["retrieveMyinfoBusinessWith"])
229
229
  };
230
230
  return /* @__PURE__ */ jsx(Button, { ...buttonProps, variant: buttonVariant, children: /* @__PURE__ */ jsxs("div", { className: styles.providerButton, children: [
231
231
  buttonLabel[provider],
@@ -2,15 +2,15 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5f336019-991a-4f57-9d9c-118c7f35c7fa", e._sentryDebugIdIdentifier = "sentry-dbid-5f336019-991a-4f57-9d9c-118c7f35c7fa");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c52ffcfc-1eba-4017-9db7-e3f7fb29f492", e._sentryDebugIdIdentifier = "sentry-dbid-c52ffcfc-1eba-4017-9db7-e3f7fb29f492");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { p as useApiContext, bh as useMutation, bj as httpPost, b as useI18nContext, a5 as useToastContext, a2 as LoaderWrapper, F as FormHeader, bt as Checkbox, aO as ActionBar } from "./StoreProvider-C_CN8zyd.js";
13
- import { D as DropinLayout } from "./OnboardingDropinComponent-BIYee1P5.js";
12
+ import { p as useApiContext, bh as useMutation, bj as httpPost, b as useI18nContext, a6 as useToastContext, a3 as LoaderWrapper, F as FormHeader, bu as Checkbox, aP as ActionBar } from "./StoreProvider-DJxvFnRD.js";
13
+ import { D as DropinLayout } from "./OnboardingDropinComponent-DWcyxz6X.js";
14
14
  const confirmReview = async (legalEntityId, baseUrl) => {
15
15
  return httpPost({
16
16
  baseUrl,
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3a0ce958-5f0f-4025-becd-4341a52200d0", e._sentryDebugIdIdentifier = "sentry-dbid-3a0ce958-5f0f-4025-becd-4341a52200d0");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "87a58ed6-5cc9-4601-8b56-6e24a9ec3dd3", e._sentryDebugIdIdentifier = "sentry-dbid-87a58ed6-5cc9-4601-8b56-6e24a9ec3dd3");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, G as isPartOfTrustFromLegalEntity, bk as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-C_CN8zyd.js";
12
- import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BbiQUpTu.js";
11
+ import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, ac as useCapabilityProblems, L as Loader, G as isPartOfTrustFromLegalEntity, bk as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-DJxvFnRD.js";
12
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DQ9HiW45.js";
13
13
  const RootBusinessDetailsPage = ({
14
14
  isTargetLegalEntityType = false,
15
15
  onSubmit,