@adyen/kyc-components 4.15.0 → 4.16.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BD_JroRz.js → AcceptTermsOfServiceComponent-sWwPrHpD.js} +56 -56
  2. package/dist/{AccountSetupRejected-DHKfPNWa.js → AccountSetupRejected-h8i4srXf.js} +1 -1
  3. package/dist/{AdaptiveWorkflow-DGgHx41m.js → AdaptiveWorkflow-CVnJ9NZw.js} +17 -19
  4. package/dist/{AdaptiveWorkflowComponent-DBh9g5IV.js → AdaptiveWorkflowComponent-DlLfVvPW.js} +28 -28
  5. package/dist/{Address-3TDVgqVq.js → Address-BAE2QQ-5.js} +5 -5
  6. package/dist/{BusinessFinancingDropin-cDfjI956.js → BusinessFinancingDropin-D2MqJxaF.js} +24 -24
  7. package/dist/{BusinessFinancingPage-tyRFXqyJ.js → BusinessFinancingPage-DpyatG4F.js} +28 -28
  8. package/dist/{BusinessTypeSelectionPage-B6QWvxOC.js → BusinessTypeSelectionPage-bkRgRUiw.js} +6 -6
  9. package/dist/{CompanyRegistrationNumberTypeSelector-DMiBUq8k.js → CompanyRegistrationNumberTypeSelector-CFqyuzoH.js} +14 -19
  10. package/dist/{ContactDetails-DH-7icLz.js → ContactDetails-Cqos4P-U.js} +3 -3
  11. package/dist/{ContextGuidance-BZSXDHz_.js → ContextGuidance-DLErBW62.js} +1 -1
  12. package/dist/{CountryField-BzmcE2_J.js → CountryField-DSI1tYm2.js} +2 -2
  13. package/dist/{Currency-B4whLGUA.js → Currency-Bfjuo_qU.js} +2 -2
  14. package/dist/{CustomerSupport-C3MMJwgg.js → CustomerSupport-ry1TO7UY.js} +10 -10
  15. package/dist/{DebugModal-R0t5596v.js → DebugModal-BCYwesU5.js} +3 -3
  16. package/dist/{DecisionMakerDetails-B3xGLPb_.js → DecisionMakerDetails-BnlhqSiD.js} +3 -3
  17. package/dist/{DecisionMakerDetailsPage-D_sUcbU3.js → DecisionMakerDetailsPage-DzXL7rI0.js} +4 -4
  18. package/dist/{DecisionMakers-BSuidRNb.js → DecisionMakers-DKaoWAJE.js} +8 -8
  19. package/dist/{Dropzone-xSD_bSLX.js → Dropzone-JmVSKeOB.js} +2 -2
  20. package/dist/{EntityAssociation-43kxknUP.js → EntityAssociation-DMre5SqE.js} +1 -1
  21. package/dist/{ErrorPanel-CuEJ_HT4.js → ErrorPanel-B5GuGh_o.js} +2 -2
  22. package/dist/{IndividualDropin-CSMTVLJ3.js → IndividualDropin-DHDR28cv.js} +32 -32
  23. package/dist/{Introduction-8jt1Icuf.js → Introduction-BiWv1ZBC.js} +2 -2
  24. package/dist/{InvitedDecisionMakerComponent-m4eUD2iO.js → InvitedDecisionMakerComponent-CQ8wt0IK.js} +29 -29
  25. package/dist/{JpAddress-DvbjlTPx.js → JpAddress-BtLxuxr9.js} +4 -4
  26. package/dist/{LegalCompanyNameField-Cvt-DCIQ.js → LegalCompanyNameField-B9Cwuyju.js} +1 -1
  27. package/dist/{LegalRepresentativeDetailsPage-ChxFRYnO.js → LegalRepresentativeDetailsPage-2iKaMqsA.js} +4 -4
  28. package/dist/{MaskedInput-CH07iWkV.js → MaskedInput-VtgquqE0.js} +8 -5
  29. package/dist/{MaybeModal-Cjfte2wk.js → MaybeModal-BVaPzNUU.js} +1 -1
  30. package/dist/{NewSummary-NGM7pziq.js → NewSummary-CaV_Faij.js} +1 -1
  31. package/dist/{PayoutDetailsDropinMultiForm-CHp4V3li.js → PayoutDetailsDropinMultiForm-DTNxQTj8.js} +50 -38
  32. package/dist/{PayoutDetailsPage-qTCWLiy2.js → PayoutDetailsPage-B_umtanU.js} +6 -6
  33. package/dist/{Review-0jYjm7mz.js → Review-9LTJVH2e.js} +2 -2
  34. package/dist/{RootBusinessDetailsPage-ZKJgWqTt.js → RootBusinessDetailsPage-jLEoZd66.js} +7 -8
  35. package/dist/{RootBusinessLinesPage-ETBGq9mn.js → RootBusinessLinesPage-DZ0u4YRf.js} +15 -15
  36. package/dist/{RootIndividualDetailsPage-pnAGbzVX.js → RootIndividualDetailsPage-BzC1-cyB.js} +4 -4
  37. package/dist/{Select-CvIMIYjl.js → Select-CS2E69CJ.js} +4 -2
  38. package/dist/{SignPCIComponent-fIeeQr0e.js → SignPCIComponent-BAemgvnk.js} +56 -56
  39. package/dist/{SingpassSelection-D-zNII-R.js → SingpassSelection-msWdDNgM.js} +1 -1
  40. package/dist/{SoleProprietorshipPage-DQBeFTli.js → SoleProprietorshipPage-DMGE-cEd.js} +6 -6
  41. package/dist/{SourceOfFundsPage-C4lmfCgC.js → SourceOfFundsPage-DyczSaZH.js} +18 -21
  42. package/dist/{Summary-pmGPpwSj.js → Summary-CunMdpUq.js} +2 -2
  43. package/dist/{TaskListItem-Df7o0R3U.js → TaskListItem-DDKGB2H5.js} +3 -3
  44. package/dist/{TaxInformationField-BzqeMMNO.js → TaxInformationField-BKnequKz.js} +11 -13
  45. package/dist/{TaxReportingDropin-BbauusqJ.js → TaxReportingDropin-Ca1wEDdY.js} +10 -10
  46. package/dist/{TrustDetailsPage-B25Yd72w.js → TrustDetailsPage-DCTp6-QO.js} +27 -27
  47. package/dist/{TrustMemberCompanyPage-CJKlw747.js → TrustMemberCompanyPage-CHtXG88-.js} +7 -7
  48. package/dist/{TrustMemberIndividualPage-DU25T4xS.js → TrustMemberIndividualPage-CgnPbD6F.js} +4 -4
  49. package/dist/{TrustMemberRoleAndTypePage-DkJKPaXP.js → TrustMemberRoleAndTypePage-Bey9Tqzz.js} +10 -10
  50. package/dist/{TrustMembersOverview-CPGee5kS.js → TrustMembersOverview-DuWWJMGv.js} +6 -6
  51. package/dist/{UnincorporatedPartnershipIndividualPage-AXa9Jkgx.js → UnincorporatedPartnershipIndividualPage-DFFiL1br.js} +4 -4
  52. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DdytGaBE.js → UnincorporatedPartnershipMemberCompanyPage-BWBVhegh.js} +6 -6
  53. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C8kcJPOV.js → UnincorporatedPartnershipMemberRoleAndTypePage-C5DV96eC.js} +2 -2
  54. package/dist/{UnincorporatedPartnershipMembersOverview-490CDTY8.js → UnincorporatedPartnershipMembersOverview-B5xNG_92.js} +3 -3
  55. package/dist/{VerificationErrorAlert-C1lNcNtx.js → VerificationErrorAlert-DBHKdlD8.js} +2 -2
  56. package/dist/{accountHolderUtils-BHZeFpzE.js → accountHolderUtils-DuVrEKUh.js} +1 -1
  57. package/dist/adyen-business-financing.js +29 -29
  58. package/dist/adyen-individual-configuration.js +30 -30
  59. package/dist/adyen-individual-status.js +27 -27
  60. package/dist/adyen-invited-decision-maker.js +2 -2
  61. package/dist/adyen-onboarding.js +67 -66
  62. package/dist/adyen-terms-of-service-management.js +2 -2
  63. package/dist/adyen-terms-of-service-status.js +26 -26
  64. package/dist/adyen-transfer-instrument-configuration.js +29 -29
  65. package/dist/adyen-transfer-instrument-management.js +32 -32
  66. package/dist/adyen-verification-status.js +1 -1
  67. package/dist/{bg-BG-KjJy4fjZ.js → bg-BG-BKPnSg5G.js} +3 -1
  68. package/dist/bg-BG-BcmC41vE.js +7 -0
  69. package/dist/{constants-0Q_7xGKq.js → constants-BMNUJ3-d.js} +2 -2
  70. package/dist/{cs-CZ-m-2EDC49.js → cs-CZ-BBnvx4CY.js} +3 -1
  71. package/dist/cs-CZ-ghdW0Tc6.js +7 -0
  72. package/dist/da-DK-CBOVFYaa.js +7 -0
  73. package/dist/{da-DK-C8TyCAru.js → da-DK-CRp6gV0v.js} +3 -1
  74. package/dist/de-DE-CA81fzkA.js +7 -0
  75. package/dist/{de-DE-QoAah1C3.js → de-DE-asP1wacy.js} +3 -1
  76. package/dist/{el-GR-C0N0zQ3U.js → el-GR-B18pS-T4.js} +3 -1
  77. package/dist/el-GR-BjOmQ_B_.js +7 -0
  78. package/dist/en-US-B4SH4SJV.js +7 -0
  79. package/dist/en-US-Dab7moVA.js +7 -0
  80. package/dist/{en-US-DLsYeEWI.js → en-US-Dokjxy17.js} +2 -2
  81. package/dist/es-ES-BEYl7Z8S.js +7 -0
  82. package/dist/{es-ES-D5rPI9Qc.js → es-ES-BN2YT82N.js} +3 -1
  83. package/dist/es-LA-D741KUNg.js +7 -0
  84. package/dist/{es-LA-C58S3BbB.js → es-LA-DK1UJyRv.js} +3 -1
  85. package/dist/{et-EE-IiaprrVp.js → et-EE-6Fsbs-mA.js} +3 -1
  86. package/dist/et-EE-CfgyGext.js +7 -0
  87. package/dist/{fi-FI-DdF7vjHQ.js → fi-FI-C4Ta33KJ.js} +3 -1
  88. package/dist/fi-FI-DFO20YZY.js +7 -0
  89. package/dist/{fr-FR-jPc-OwlY.js → fr-FR-DKTSJHnY.js} +3 -1
  90. package/dist/fr-FR-wvWrk_PU.js +7 -0
  91. package/dist/{getProblemsForEntity-CXzgYL6R.js → getProblemsForEntity-CCpr4UGm.js} +1 -1
  92. package/dist/{hr-HR-DlIGxvkT.js → hr-HR-CII1fh9u.js} +3 -1
  93. package/dist/hr-HR-D0zfmZK6.js +7 -0
  94. package/dist/{hu-HU-DicR116D.js → hu-HU-CAlsW_OP.js} +3 -1
  95. package/dist/hu-HU-CL021irk.js +7 -0
  96. package/dist/{invalidateRootLegalEntity-Tyg8nMBI.js → invalidateRootLegalEntity-DUOCxqZR.js} +1 -1
  97. package/dist/it-IT-6VoxKX97.js +7 -0
  98. package/dist/{it-IT-BVAe-EX_.js → it-IT-BUwmmlzT.js} +3 -1
  99. package/dist/ja-JP-Cja4dur8.js +7 -0
  100. package/dist/{ja-JP-Fu1XFofD.js → ja-JP-XWbEAz1Y.js} +3 -1
  101. package/dist/lt-LT-CNFgOeH4.js +7 -0
  102. package/dist/{lt-LT-DfL5ey_8.js → lt-LT-Vhhg1gZf.js} +3 -1
  103. package/dist/lv-LV-BdSdhjTP.js +7 -0
  104. package/dist/{lv-LV-CqZT6L9i.js → lv-LV-x-MIpGh3.js} +3 -1
  105. package/dist/{mapLegalEntityToIndividualSchema-BUIjjkrb.js → mapLegalEntityToIndividualSchema-CADQNrLO.js} +1 -1
  106. package/dist/{mapTransferInstrumentToPayoutAccount-DZMqLmU8.js → mapTransferInstrumentToPayoutAccount-CvaJH9VL.js} +1 -1
  107. package/dist/nl-NL-CclRrN3_.js +7 -0
  108. package/dist/{nl-NL-CmlQQSLp.js → nl-NL-CvSvFKVp.js} +3 -1
  109. package/dist/no-NO-CO5xyGPh.js +7 -0
  110. package/dist/{no-NO-BatbPb3N.js → no-NO-TyUIFxXT.js} +3 -1
  111. package/dist/{omitObscuredFieldsIfUnchanged-xfvMpTn9.js → omitObscuredFieldsIfUnchanged-Ck2si051.js} +1 -1
  112. package/dist/{patternValidators-CIMz_tiU.js → patternValidators-Bza9mezL.js} +1 -1
  113. package/dist/{pl-PL-ZyxybmlP.js → pl-PL-BYzL4w2k.js} +3 -1
  114. package/dist/pl-PL-DUH23AYC.js +7 -0
  115. package/dist/{process-field-configurations-n3ecaPQ8.js → process-field-configurations-uFcwmzTd.js} +1 -1
  116. package/dist/{processCapabilities-hLmRus8U.js → processCapabilities-fPuXc9gL.js} +11 -11
  117. package/dist/{pt-BR-Dq0Sd1h9.js → pt-BR-D5r3Ig2a.js} +3 -1
  118. package/dist/pt-BR-MAQR_CUu2.js +7 -0
  119. package/dist/pt-PT-CoKsjpyN.js +7 -0
  120. package/dist/{pt-PT-BuM6Edx0.js → pt-PT-Dsxz9fKe.js} +3 -1
  121. package/dist/{resolveEnvironment-C3pxOwlh.js → resolveEnvironment-l2TGYFxw.js} +34 -38
  122. package/dist/{ro-RO-DJjle7nF.js → ro-RO-BfVd2Ps9.js} +3 -1
  123. package/dist/ro-RO-Cpv5pKod.js +7 -0
  124. package/dist/{sk-SK-CSPSMUYC.js → sk-SK-ID0z1rIS.js} +3 -1
  125. package/dist/sk-SK-p_p2X_aA.js +7 -0
  126. package/dist/sl-SI-BpZp1MAq.js +7 -0
  127. package/dist/{sl-SI-C82Kr3vf.js → sl-SI-hxmAPrRM.js} +3 -1
  128. package/dist/sv-SE-BoXCPhGb.js +7 -0
  129. package/dist/{sv-SE-DT9jLSs2.js → sv-SE-BuzHXTQj.js} +3 -1
  130. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +1 -2
  131. package/dist/types/components/BankAccount/fields/PreferredCurrency/PreferredCurrency.d.ts +1 -1
  132. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +7 -4
  133. package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +1 -1
  134. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +23 -7
  135. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
  136. package/dist/types/components/Business/forms/ProofOfAddressDocument/ProofOfAddressDocument.d.ts +2 -0
  137. package/dist/types/components/Business/forms/ProofOfAddressDocument/types.d.ts +5 -0
  138. package/dist/types/components/Business/forms/rules.d.ts +2 -0
  139. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -1
  140. package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
  141. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
  142. package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
  143. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
  144. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +1 -1
  145. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  146. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -2
  147. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -1
  148. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
  149. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +1 -1
  150. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +0 -1
  151. package/dist/types/components/Shared/fields/LegalEntityIdentifierField/LegalEntityIdentifierField.d.ts +3 -0
  152. package/dist/types/components/Shared/fields/LegalEntityIdentifierField/fieldConfig.d.ts +5 -0
  153. package/dist/types/components/Shared/fields/LegalEntityIdentifierField/types.d.ts +8 -0
  154. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -2
  155. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
  156. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +1 -1
  157. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  158. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +1 -1
  159. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +0 -1
  160. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  161. package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +2 -1
  162. package/dist/types/context/ToggleContext/types.d.ts +2 -6
  163. package/dist/types/hooks/useMultiForm/types.d.ts +4 -4
  164. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  165. package/dist/types/utils/getFormSlice.d.ts +2 -2
  166. package/dist/{useBusinessDetailsData-Bnqxr1vB.js → useBusinessDetailsData-C3mDLYw0.js} +273 -210
  167. package/dist/{useCanSeeIntroduction-0_NPWoZG.js → useCanSeeIntroduction-87OxZXI3.js} +1 -1
  168. package/dist/{useDataMissingRemediations-CrKtd_Fd.js → useDataMissingRemediations-BtSioM7F.js} +1 -1
  169. package/dist/{useForm-aetR7uJY.js → useForm-BcvMNl0D.js} +1 -1
  170. package/dist/{useFormContext-Dr4l-QjT.js → useFormContext-1h2DlUxb.js} +3 -3
  171. package/dist/{useMultiForm-DKxfY1kQ.js → useMultiForm-C0Mz4Mm6.js} +12 -12
  172. package/dist/{useNavigate-DCmX3vhp.js → useNavigate-CVT5ailE.js} +30 -30
  173. package/dist/{useTrustMembers-sJ-e7GJ3.js → useTrustMembers-CNy3GIeW.js} +1 -1
  174. package/dist/{useUpdateLegalEntity-B8WoiNVo.js → useUpdateLegalEntity-GCDgDdeE.js} +1 -1
  175. package/dist/{utils-CwzT0-IU.js → utils-BAgsI56z.js} +2 -2
  176. package/dist/{utils-siyZuj_8.js → utils-Dizf4Xxc.js} +13 -18
  177. package/dist/{ConstitutionalDocument-CAcre-q4.js → utils-uuBaXnz-.js} +135 -137
  178. package/dist/{validate-BqauOvvu.js → validate-cXmMxcOs.js} +1 -1
  179. package/dist/{validateExtractionResult-CCrDT5AB.js → validateExtractionResult-Bk2WRbLs.js} +3 -3
  180. package/dist/{validationError-DqjDv5Q-.js → validationError-COmWiy16.js} +1 -1
  181. package/package.json +3 -2
  182. package/dist/bg-BG-FthOeqMs.js +0 -7
  183. package/dist/cs-CZ-nMdCNolB.js +0 -7
  184. package/dist/da-DK-BF_wiKbj.js +0 -7
  185. package/dist/de-DE-z8FJw9Yv.js +0 -7
  186. package/dist/el-GR-DHiKsTJQ.js +0 -7
  187. package/dist/en-US-BeIZBdDm.js +0 -7
  188. package/dist/en-US-BqGRsgfO.js +0 -7
  189. package/dist/es-ES-C6Rs-ie9.js +0 -7
  190. package/dist/es-LA-xilYCaSd.js +0 -7
  191. package/dist/et-EE-DEs2iukD.js +0 -7
  192. package/dist/fi-FI-8eStbIaM.js +0 -7
  193. package/dist/fr-FR-B8iVi3nn.js +0 -7
  194. package/dist/hr-HR-Bt2ZduQN.js +0 -7
  195. package/dist/hu-HU-DTRbo1IU.js +0 -7
  196. package/dist/it-IT-DzzajnKQ.js +0 -7
  197. package/dist/ja-JP-BpNu5KzH.js +0 -7
  198. package/dist/lt-LT-BJbA6rDr.js +0 -7
  199. package/dist/lv-LV-BBbE9hg5.js +0 -7
  200. package/dist/nl-NL-7ddo0NCH.js +0 -7
  201. package/dist/no-NO-Bf-QR3EY.js +0 -7
  202. package/dist/pl-PL-Dd9fkdnr.js +0 -7
  203. package/dist/pt-BR-uhrvEANO2.js +0 -7
  204. package/dist/pt-PT-Cz4rJgbi.js +0 -7
  205. package/dist/ro-RO-BnZbYPEH.js +0 -7
  206. package/dist/sk-SK-DBHPBJm4.js +0 -7
  207. package/dist/sl-SI-dukW1tgW.js +0 -7
  208. package/dist/sv-SE-BlGBkLAA.js +0 -7
@@ -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] = "47d50051-63d0-49d3-9e39-0ee0dbf838aa", e._sentryDebugIdIdentifier = "sentry-dbid-47d50051-63d0-49d3-9e39-0ee0dbf838aa");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6d790820-2dfa-4aaa-9a86-eebd3b0d12e4", e._sentryDebugIdIdentifier = "sentry-dbid-6d790820-2dfa-4aaa-9a86-eebd3b0d12e4");
4
4
  } catch (e) {}
5
5
  import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
6
6
  import { r as Loader } from "./Button-3qGOI53m.js";
@@ -400,11 +400,13 @@ function SelectList({ selectListId, active, filteredItems, showList, isMulti, in
400
400
  if (itemIndex === -1) return;
401
401
  const maxScrollTop = totalItems * itemHeight;
402
402
  listRef.current.scrollTop = Math.min(itemHeight * (itemIndex + .5), maxScrollTop);
403
+ recalculateScrollIndexes();
403
404
  }, [
404
405
  filteredItems,
405
406
  itemHeight,
406
407
  totalItems,
407
- listRef
408
+ listRef,
409
+ recalculateScrollIndexes
408
410
  ]);
409
411
  const acquireFocusForItem = useCallback((item) => {
410
412
  let itemEl = findElementForItem(item);
@@ -3,7 +3,7 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e59d5e5a-52c9-4bf9-b8f2-0ca0d2097f5e", e._sentryDebugIdIdentifier = "sentry-dbid-e59d5e5a-52c9-4bf9-b8f2-0ca0d2097f5e");
4
4
  } catch (e) {}
5
5
  import { c as __exportAll, n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
6
- import { A as _rolldown_dynamic_import_helper_default, nt as isEmpty } from "./resolveEnvironment-C3pxOwlh.js";
6
+ import { A as _rolldown_dynamic_import_helper_default, nt as isEmpty } from "./resolveEnvironment-l2TGYFxw.js";
7
7
  import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
8
8
  import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
9
9
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
@@ -13,14 +13,14 @@ import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DIG8zo1C.js";
13
13
  import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-CxxzJGtX.js";
14
14
  import { t as Card } from "./Card-BCGLpdw7.js";
15
15
  import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
16
- import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-Tyg8nMBI.js";
16
+ import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DUOCxqZR.js";
17
17
  import { t as EndStateLayout } from "./EndStateLayout-ic1EOve9.js";
18
18
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
19
- import { t as MaybeModal } from "./MaybeModal-Cjfte2wk.js";
19
+ import { t as MaybeModal } from "./MaybeModal-BVaPzNUU.js";
20
20
  import { t as Field } from "./Field-DAUlw0M5.js";
21
- import { t as Select } from "./Select-CvIMIYjl.js";
21
+ import { t as Select } from "./Select-CS2E69CJ.js";
22
22
  import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
23
- import { t as useForm } from "./useForm-aetR7uJY.js";
23
+ import { t as useForm } from "./useForm-BcvMNl0D.js";
24
24
  import { t as ContractViewer } from "./ContractViewer-JtnAXSDa.js";
25
25
  import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
26
26
  import { useCallback, useMemo, useState } from "preact/hooks";
@@ -230,33 +230,33 @@ function SignPCIComponent({ modalView = false, onClose, onSigned, onUnmount, sel
230
230
  {
231
231
  ns: "common",
232
232
  importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
233
- "../../../language/locales/bg-BG.json": () => import("./bg-BG-FthOeqMs.js"),
234
- "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-nMdCNolB.js"),
235
- "../../../language/locales/da-DK.json": () => import("./da-DK-BF_wiKbj.js"),
236
- "../../../language/locales/de-DE.json": () => import("./de-DE-z8FJw9Yv.js"),
237
- "../../../language/locales/el-GR.json": () => import("./el-GR-DHiKsTJQ.js"),
233
+ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BcmC41vE.js"),
234
+ "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-ghdW0Tc6.js"),
235
+ "../../../language/locales/da-DK.json": () => import("./da-DK-CBOVFYaa.js"),
236
+ "../../../language/locales/de-DE.json": () => import("./de-DE-CA81fzkA.js"),
237
+ "../../../language/locales/el-GR.json": () => import("./el-GR-BjOmQ_B_.js"),
238
238
  "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
239
- "../../../language/locales/en-US.json": () => import("./en-US-BeIZBdDm.js"),
240
- "../../../language/locales/es-ES.json": () => import("./es-ES-C6Rs-ie9.js"),
241
- "../../../language/locales/es-LA.json": () => import("./es-LA-xilYCaSd.js"),
242
- "../../../language/locales/et-EE.json": () => import("./et-EE-DEs2iukD.js"),
243
- "../../../language/locales/fi-FI.json": () => import("./fi-FI-8eStbIaM.js"),
244
- "../../../language/locales/fr-FR.json": () => import("./fr-FR-B8iVi3nn.js"),
245
- "../../../language/locales/hr-HR.json": () => import("./hr-HR-Bt2ZduQN.js"),
246
- "../../../language/locales/hu-HU.json": () => import("./hu-HU-DTRbo1IU.js"),
247
- "../../../language/locales/it-IT.json": () => import("./it-IT-DzzajnKQ.js"),
248
- "../../../language/locales/ja-JP.json": () => import("./ja-JP-BpNu5KzH.js"),
249
- "../../../language/locales/lt-LT.json": () => import("./lt-LT-BJbA6rDr.js"),
250
- "../../../language/locales/lv-LV.json": () => import("./lv-LV-BBbE9hg5.js"),
251
- "../../../language/locales/nl-NL.json": () => import("./nl-NL-7ddo0NCH.js"),
252
- "../../../language/locales/no-NO.json": () => import("./no-NO-Bf-QR3EY.js"),
253
- "../../../language/locales/pl-PL.json": () => import("./pl-PL-Dd9fkdnr.js"),
254
- "../../../language/locales/pt-BR.json": () => import("./pt-BR-uhrvEANO2.js"),
255
- "../../../language/locales/pt-PT.json": () => import("./pt-PT-Cz4rJgbi.js"),
256
- "../../../language/locales/ro-RO.json": () => import("./ro-RO-BnZbYPEH.js"),
257
- "../../../language/locales/sk-SK.json": () => import("./sk-SK-DBHPBJm4.js"),
258
- "../../../language/locales/sl-SI.json": () => import("./sl-SI-dukW1tgW.js"),
259
- "../../../language/locales/sv-SE.json": () => import("./sv-SE-BlGBkLAA.js")
239
+ "../../../language/locales/en-US.json": () => import("./en-US-Dab7moVA.js"),
240
+ "../../../language/locales/es-ES.json": () => import("./es-ES-BEYl7Z8S.js"),
241
+ "../../../language/locales/es-LA.json": () => import("./es-LA-D741KUNg.js"),
242
+ "../../../language/locales/et-EE.json": () => import("./et-EE-CfgyGext.js"),
243
+ "../../../language/locales/fi-FI.json": () => import("./fi-FI-DFO20YZY.js"),
244
+ "../../../language/locales/fr-FR.json": () => import("./fr-FR-wvWrk_PU.js"),
245
+ "../../../language/locales/hr-HR.json": () => import("./hr-HR-D0zfmZK6.js"),
246
+ "../../../language/locales/hu-HU.json": () => import("./hu-HU-CL021irk.js"),
247
+ "../../../language/locales/it-IT.json": () => import("./it-IT-6VoxKX97.js"),
248
+ "../../../language/locales/ja-JP.json": () => import("./ja-JP-Cja4dur8.js"),
249
+ "../../../language/locales/lt-LT.json": () => import("./lt-LT-CNFgOeH4.js"),
250
+ "../../../language/locales/lv-LV.json": () => import("./lv-LV-BdSdhjTP.js"),
251
+ "../../../language/locales/nl-NL.json": () => import("./nl-NL-CclRrN3_.js"),
252
+ "../../../language/locales/no-NO.json": () => import("./no-NO-CO5xyGPh.js"),
253
+ "../../../language/locales/pl-PL.json": () => import("./pl-PL-DUH23AYC.js"),
254
+ "../../../language/locales/pt-BR.json": () => import("./pt-BR-MAQR_CUu2.js"),
255
+ "../../../language/locales/pt-PT.json": () => import("./pt-PT-CoKsjpyN.js"),
256
+ "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cpv5pKod.js"),
257
+ "../../../language/locales/sk-SK.json": () => import("./sk-SK-p_p2X_aA.js"),
258
+ "../../../language/locales/sl-SI.json": () => import("./sl-SI-BpZp1MAq.js"),
259
+ "../../../language/locales/sv-SE.json": () => import("./sv-SE-BoXCPhGb.js")
260
260
  }), `../../../language/locales/${lang}.json`, 6)
261
261
  },
262
262
  {
@@ -293,32 +293,32 @@ function SignPCIComponent({ modalView = false, onClose, onSigned, onUnmount, sel
293
293
  {
294
294
  ns: "contract",
295
295
  importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
296
- "../../Contract/language/bg-BG.json": () => import("./bg-BG-KjJy4fjZ.js"),
297
- "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-m-2EDC49.js"),
298
- "../../Contract/language/da-DK.json": () => import("./da-DK-C8TyCAru.js"),
299
- "../../Contract/language/de-DE.json": () => import("./de-DE-QoAah1C3.js"),
300
- "../../Contract/language/el-GR.json": () => import("./el-GR-C0N0zQ3U.js"),
296
+ "../../Contract/language/bg-BG.json": () => import("./bg-BG-BKPnSg5G.js"),
297
+ "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-BBnvx4CY.js"),
298
+ "../../Contract/language/da-DK.json": () => import("./da-DK-CRp6gV0v.js"),
299
+ "../../Contract/language/de-DE.json": () => import("./de-DE-asP1wacy.js"),
300
+ "../../Contract/language/el-GR.json": () => import("./el-GR-B18pS-T4.js"),
301
301
  "../../Contract/language/en-US.json": () => import("./en-US-CmzloEL3.js"),
302
- "../../Contract/language/es-ES.json": () => import("./es-ES-D5rPI9Qc.js"),
303
- "../../Contract/language/es-LA.json": () => import("./es-LA-C58S3BbB.js"),
304
- "../../Contract/language/et-EE.json": () => import("./et-EE-IiaprrVp.js"),
305
- "../../Contract/language/fi-FI.json": () => import("./fi-FI-DdF7vjHQ.js"),
306
- "../../Contract/language/fr-FR.json": () => import("./fr-FR-jPc-OwlY.js"),
307
- "../../Contract/language/hr-HR.json": () => import("./hr-HR-DlIGxvkT.js"),
308
- "../../Contract/language/hu-HU.json": () => import("./hu-HU-DicR116D.js"),
309
- "../../Contract/language/it-IT.json": () => import("./it-IT-BVAe-EX_.js"),
310
- "../../Contract/language/ja-JP.json": () => import("./ja-JP-Fu1XFofD.js"),
311
- "../../Contract/language/lt-LT.json": () => import("./lt-LT-DfL5ey_8.js"),
312
- "../../Contract/language/lv-LV.json": () => import("./lv-LV-CqZT6L9i.js"),
313
- "../../Contract/language/nl-NL.json": () => import("./nl-NL-CmlQQSLp.js"),
314
- "../../Contract/language/no-NO.json": () => import("./no-NO-BatbPb3N.js"),
315
- "../../Contract/language/pl-PL.json": () => import("./pl-PL-ZyxybmlP.js"),
316
- "../../Contract/language/pt-BR.json": () => import("./pt-BR-Dq0Sd1h9.js"),
317
- "../../Contract/language/pt-PT.json": () => import("./pt-PT-BuM6Edx0.js"),
318
- "../../Contract/language/ro-RO.json": () => import("./ro-RO-DJjle7nF.js"),
319
- "../../Contract/language/sk-SK.json": () => import("./sk-SK-CSPSMUYC.js"),
320
- "../../Contract/language/sl-SI.json": () => import("./sl-SI-C82Kr3vf.js"),
321
- "../../Contract/language/sv-SE.json": () => import("./sv-SE-DT9jLSs2.js")
302
+ "../../Contract/language/es-ES.json": () => import("./es-ES-BN2YT82N.js"),
303
+ "../../Contract/language/es-LA.json": () => import("./es-LA-DK1UJyRv.js"),
304
+ "../../Contract/language/et-EE.json": () => import("./et-EE-6Fsbs-mA.js"),
305
+ "../../Contract/language/fi-FI.json": () => import("./fi-FI-C4Ta33KJ.js"),
306
+ "../../Contract/language/fr-FR.json": () => import("./fr-FR-DKTSJHnY.js"),
307
+ "../../Contract/language/hr-HR.json": () => import("./hr-HR-CII1fh9u.js"),
308
+ "../../Contract/language/hu-HU.json": () => import("./hu-HU-CAlsW_OP.js"),
309
+ "../../Contract/language/it-IT.json": () => import("./it-IT-BUwmmlzT.js"),
310
+ "../../Contract/language/ja-JP.json": () => import("./ja-JP-XWbEAz1Y.js"),
311
+ "../../Contract/language/lt-LT.json": () => import("./lt-LT-Vhhg1gZf.js"),
312
+ "../../Contract/language/lv-LV.json": () => import("./lv-LV-x-MIpGh3.js"),
313
+ "../../Contract/language/nl-NL.json": () => import("./nl-NL-CvSvFKVp.js"),
314
+ "../../Contract/language/no-NO.json": () => import("./no-NO-TyUIFxXT.js"),
315
+ "../../Contract/language/pl-PL.json": () => import("./pl-PL-BYzL4w2k.js"),
316
+ "../../Contract/language/pt-BR.json": () => import("./pt-BR-D5r3Ig2a.js"),
317
+ "../../Contract/language/pt-PT.json": () => import("./pt-PT-Dsxz9fKe.js"),
318
+ "../../Contract/language/ro-RO.json": () => import("./ro-RO-BfVd2Ps9.js"),
319
+ "../../Contract/language/sk-SK.json": () => import("./sk-SK-ID0z1rIS.js"),
320
+ "../../Contract/language/sl-SI.json": () => import("./sl-SI-hxmAPrRM.js"),
321
+ "../../Contract/language/sv-SE.json": () => import("./sv-SE-BuzHXTQj.js")
322
322
  }), `../../Contract/language/${lang}.json`, 5)
323
323
  }
324
324
  ]);
@@ -9,7 +9,7 @@ import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
9
9
  import { t as Card } from "./Card-BCGLpdw7.js";
10
10
  import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
11
11
  import { t as Field } from "./Field-DAUlw0M5.js";
12
- import { t as useForm } from "./useForm-aetR7uJY.js";
12
+ import { t as useForm } from "./useForm-BcvMNl0D.js";
13
13
  import { t as Tag } from "./Tag-CNeDHqKp.js";
14
14
  import { lazy } from "preact/compat";
15
15
  import { useState as useState$1 } from "preact/hooks";
@@ -1,16 +1,16 @@
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] = "e1dafe1f-b07b-43aa-9df8-663abef237f1", e._sentryDebugIdIdentifier = "sentry-dbid-e1dafe1f-b07b-43aa-9df8-663abef237f1");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f67b03c3-0e3f-4a66-8821-eb1f3ac9ef72", e._sentryDebugIdIdentifier = "sentry-dbid-f67b03c3-0e3f-4a66-8821-eb1f3ac9ef72");
4
4
  } catch (e) {}
5
5
  import { n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
6
- import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-C3pxOwlh.js";
6
+ import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-l2TGYFxw.js";
7
7
  import { r as Loader } from "./Button-3qGOI53m.js";
8
8
  import { r as useLegalEntity } from "./useLegalEntity-BXk2tzGe.js";
9
9
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
10
- import { C as EntityTypes } from "./processCapabilities-hLmRus8U.js";
10
+ import { C as EntityTypes } from "./processCapabilities-fPuXc9gL.js";
11
11
  import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
12
- import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CXzgYL6R.js";
13
- import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-Bnqxr1vB.js";
12
+ import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
13
+ import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-C3mDLYw0.js";
14
14
  import { jsx } from "preact/jsx-runtime";
15
15
  import { skipToken } from "@tanstack/preact-query";
16
16
  //#region src/components/SoleProprietorship/pages/SoleProprietorshipPage.tsx
@@ -27,7 +27,7 @@ function SoleProprietorshipPage({ solePropId, onSubmit, handleHomeClick }) {
27
27
  "../../Business/language/da-DK.json": () => import("./da-DK-C4wRpqMC.js"),
28
28
  "../../Business/language/de-DE.json": () => import("./de-DE-BOH-YgTt.js"),
29
29
  "../../Business/language/el-GR.json": () => import("./el-GR-C5NDkWDr.js"),
30
- "../../Business/language/en-US.json": () => import("./en-US-BqGRsgfO.js"),
30
+ "../../Business/language/en-US.json": () => import("./en-US-B4SH4SJV.js"),
31
31
  "../../Business/language/es-ES.json": () => import("./es-ES-CDFWEg9c.js"),
32
32
  "../../Business/language/es-LA.json": () => import("./es-LA-C7IleXTc.js"),
33
33
  "../../Business/language/et-EE.json": () => import("./et-EE-P4s_U3BI.js"),
@@ -1,9 +1,9 @@
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] = "c1a9e5fc-2328-4aef-a315-83936a3b2903", e._sentryDebugIdIdentifier = "sentry-dbid-c1a9e5fc-2328-4aef-a315-83936a3b2903");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f18aad34-334a-4f19-96cb-75e1430248f3", e._sentryDebugIdIdentifier = "sentry-dbid-f18aad34-334a-4f19-96cb-75e1430248f3");
4
4
  } catch (e) {}
5
5
  import { a as Icon, c as __exportAll, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
6
- import { A as _rolldown_dynamic_import_helper_default, k as Header, x as Alert } from "./resolveEnvironment-C3pxOwlh.js";
6
+ import { A as _rolldown_dynamic_import_helper_default, k as Header, x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
7
7
  import { n as IconButton, r as Loader, t as Button } from "./Button-3qGOI53m.js";
8
8
  import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
9
9
  import { n as useLegalEntities, r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
@@ -12,24 +12,24 @@ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js"
12
12
  import { o as objectsDeepEqual } from "./AnalyticsContext-BFrJmsp0.js";
13
13
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
14
14
  import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
15
- import { C as EntityTypes } from "./processCapabilities-hLmRus8U.js";
15
+ import { C as EntityTypes } from "./processCapabilities-fPuXc9gL.js";
16
16
  import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
17
17
  import { t as useBusinessLines } from "./useBusinessLines-B2iCcDej.js";
18
18
  import { t as Card } from "./Card-BCGLpdw7.js";
19
19
  import { i as useAnalyticsContext, t as Modal } from "./Modal-C__-5LgI.js";
20
- import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-Tyg8nMBI.js";
21
- import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CXzgYL6R.js";
20
+ import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DUOCxqZR.js";
21
+ import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
22
22
  import { t as Avatar } from "./Avatar-Z3MS8_pW.js";
23
23
  import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
24
24
  import { t as Confirm } from "./Confirm-6QfuYcA7.js";
25
25
  import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
26
26
  import { t as useCreateLegalEntity } from "./useCreateLegalEntity-zPjl13U3.js";
27
- import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B8WoiNVo.js";
28
- import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Dr4l-QjT.js";
27
+ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
28
+ import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-1h2DlUxb.js";
29
29
  import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
30
- import { t as ErrorPanel } from "./ErrorPanel-CuEJ_HT4.js";
30
+ import { t as ErrorPanel } from "./ErrorPanel-B5GuGh_o.js";
31
31
  import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
32
- import { t as useMultiForm } from "./useMultiForm-DKxfY1kQ.js";
32
+ import { t as useMultiForm } from "./useMultiForm-C0Mz4Mm6.js";
33
33
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
34
34
  import { a as createDocumentRequest, o as documentApiUtils } from "./validate-B2bZh_uL.js";
35
35
  import { r as formatObject } from "./utils-DdHbAadK.js";
@@ -37,18 +37,18 @@ import { t as localizeDateString } from "./localizeDateString-CU7HGR-k.js";
37
37
  import { t as Field } from "./Field-DAUlw0M5.js";
38
38
  import { t as TileGroup } from "./TileGroup-B8II9Mip.js";
39
39
  import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
40
- import { t as Select } from "./Select-CvIMIYjl.js";
40
+ import { t as Select } from "./Select-CS2E69CJ.js";
41
41
  import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
42
42
  import { t as TextArea } from "./TextArea-BvphlYOu.js";
43
- import { t as Dropzone } from "./Dropzone-xSD_bSLX.js";
43
+ import { t as Dropzone } from "./Dropzone-JmVSKeOB.js";
44
44
  import { t as InputText } from "./InputText-B-ebylm4.js";
45
45
  import { t as InputDate } from "./InputDate-B_jtgBB5.js";
46
- import { n as CountryField } from "./CountryField-BzmcE2_J.js";
46
+ import { n as CountryField } from "./CountryField-DSI1tYm2.js";
47
47
  import { t as RadioGroup } from "./RadioGroup-CMiBSXCA.js";
48
48
  import { t as InputGroup } from "./InputGroup-B4U3QVEp.js";
49
49
  import { t as isEmpty } from "./isEmpty-BVlBH98t.js";
50
50
  import { t as Currencies } from "./currency-DQwXq9Mc.js";
51
- import { n as validateDateNotInTheFuture } from "./validate-BqauOvvu.js";
51
+ import { n as validateDateNotInTheFuture } from "./validate-cXmMxcOs.js";
52
52
  import { t as useTaskStatus } from "./useTaskStatus-BLkHjMgm.js";
53
53
  import { t as formatAmountWithCurrency } from "./formatCurrency-Cq3WFpdZ.js";
54
54
  import { lazy } from "preact/compat";
@@ -1739,17 +1739,14 @@ function SourceOfFundsAdditionalData(props) {
1739
1739
  const { t } = useTranslation("common");
1740
1740
  const { form } = useFormContext();
1741
1741
  const { handleChangeFor: multiFormHandleChangeFor, data: { additionalData: data, sourceOfFundsType }, errors: { additionalData: errors }, valid: { additionalData: valid }, fieldProblems: { additionalData: fieldProblems } } = form;
1742
- const handleChangeFor = useMemo$1(() => (key, mode) => multiFormHandleChangeFor(key, "additionalData", mode), [multiFormHandleChangeFor]);
1742
+ const handleChangeFor = useMemo$1(() => (key, mode) => multiFormHandleChangeFor("additionalData", key, mode), [multiFormHandleChangeFor]);
1743
1743
  const handleAmountChange = (key) => (e) => {
1744
1744
  const rawValue = e.target.value;
1745
1745
  const updatedAmount = {
1746
1746
  ...data?.amount,
1747
1747
  ...key === "currency" ? { currency: rawValue } : { value: rawValue === "" ? void 0 : Number(rawValue) }
1748
1748
  };
1749
- handleChangeFor("amount")({ target: {
1750
- name: "amount",
1751
- value: updatedAmount
1752
- } });
1749
+ handleChangeFor("amount")(updatedAmount);
1753
1750
  };
1754
1751
  const formUtils = createFormUtils(props, t);
1755
1752
  const additionalDataProps = {
@@ -1790,7 +1787,7 @@ function SourceOfFundsType(props) {
1790
1787
  const { data: formData, categories, errors: formErrors, fieldValidationErrors: formFieldProblems, sameAsOption, useSameAs, onUseSameAsChange } = props;
1791
1788
  const { form } = useFormContext();
1792
1789
  const { handleChangeFor } = form;
1793
- const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "sourceOfFundsType", mode);
1790
+ const handleFieldChange = (fieldName, mode) => handleChangeFor("sourceOfFundsType", fieldName, mode);
1794
1791
  const handleUseSameAsChange = (isChecked) => {
1795
1792
  onUseSameAsChange?.(isChecked);
1796
1793
  };
@@ -1827,7 +1824,7 @@ function SourceOfFundsType(props) {
1827
1824
  tiles: categoryItems,
1828
1825
  errorMessage: typeof errorMessage !== "boolean" ? translateTranslatable(t, errorMessage) : void 0,
1829
1826
  selected: formData?.type ? formData.type : [],
1830
- onChange: handleFieldChange("type", "input")
1827
+ onChange: (e) => handleFieldChange("type", "input")(e)
1831
1828
  })
1832
1829
  })] });
1833
1830
  }
@@ -2631,7 +2628,7 @@ function SourceOfFundsDropin({ country, problems, handleHomeClick, onSubmit, asA
2631
2628
  Object.keys(additionalData).forEach((key) => {
2632
2629
  const fieldKey = key;
2633
2630
  const value = additionalData[fieldKey];
2634
- if (value !== void 0) setData(fieldKey, value, "additionalData");
2631
+ if (value !== void 0) setData("additionalData", fieldKey, value);
2635
2632
  });
2636
2633
  }, [setData]);
2637
2634
  const handleUseSameAsChange = useCallback$1((checked) => {
@@ -3,14 +3,14 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4db543c0-cca3-4895-8f8c-fb4aa402bdb4", e._sentryDebugIdIdentifier = "sentry-dbid-4db543c0-cca3-4895-8f8c-fb4aa402bdb4");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BR3rLb4m.js";
6
- import { k as Header, nt as isEmpty } from "./resolveEnvironment-C3pxOwlh.js";
6
+ import { k as Header, nt as isEmpty } from "./resolveEnvironment-l2TGYFxw.js";
7
7
  import { n as IconButton } from "./Button-3qGOI53m.js";
8
8
  import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
9
9
  import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
10
10
  import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
11
11
  import { t as List } from "./List-ywoRPg-q.js";
12
12
  import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
13
- import { t as ErrorPanel } from "./ErrorPanel-CuEJ_HT4.js";
13
+ import { t as ErrorPanel } from "./ErrorPanel-B5GuGh_o.js";
14
14
  import { t as trackNavigation } from "./trackNavigation-DR70qR8T.js";
15
15
  import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
16
16
  import { t as getRoleName } from "./roleMetadata-CWdYxbqM.js";
@@ -3,14 +3,14 @@ try {
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ce90fe79-1a28-474d-8672-9dcfb222e813", e._sentryDebugIdIdentifier = "sentry-dbid-ce90fe79-1a28-474d-8672-9dcfb222e813");
4
4
  } catch (e) {}
5
5
  import { a as Icon, r as useTranslation } from "./translation-BR3rLb4m.js";
6
- import { x as Alert } from "./resolveEnvironment-C3pxOwlh.js";
6
+ import { x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
7
7
  import { n as IconButton } from "./Button-3qGOI53m.js";
8
8
  import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
9
9
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
10
- import { t as getCapabilities } from "./processCapabilities-hLmRus8U.js";
10
+ import { t as getCapabilities } from "./processCapabilities-fPuXc9gL.js";
11
11
  import { t as Card } from "./Card-BCGLpdw7.js";
12
12
  import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
13
- import { t as VerificationErrorAlert } from "./VerificationErrorAlert-C1lNcNtx.js";
13
+ import { t as VerificationErrorAlert } from "./VerificationErrorAlert-DBHKdlD8.js";
14
14
  import { t as Avatar } from "./Avatar-Z3MS8_pW.js";
15
15
  import { r as LoaderWrapper } from "./utils-BtyrxTzp.js";
16
16
  import { t as Confirm } from "./Confirm-6QfuYcA7.js";
@@ -1,25 +1,25 @@
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] = "c00bc64a-9ae5-44a0-acbd-70452381f218", e._sentryDebugIdIdentifier = "sentry-dbid-c00bc64a-9ae5-44a0-acbd-70452381f218");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "923460ab-1958-4224-8d7f-a2c87861990e", e._sentryDebugIdIdentifier = "sentry-dbid-923460ab-1958-4224-8d7f-a2c87861990e");
4
4
  } catch (e) {}
5
5
  import { a as Icon, r as useTranslation } from "./translation-BR3rLb4m.js";
6
- import { ft as useAccountHolder, j as useToggleContext, k as Header } from "./resolveEnvironment-C3pxOwlh.js";
6
+ import { ft as useAccountHolder, j as useToggleContext, k as Header } from "./resolveEnvironment-l2TGYFxw.js";
7
7
  import { o as objectsDeepEqual } from "./AnalyticsContext-BFrJmsp0.js";
8
8
  import { t as getNestedPropertyKeys } from "./getNestedPropertyKeys-Cd8HKupP.js";
9
9
  import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
10
10
  import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
11
11
  import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
12
- import { t as ErrorPanel } from "./ErrorPanel-CuEJ_HT4.js";
12
+ import { t as ErrorPanel } from "./ErrorPanel-B5GuGh_o.js";
13
13
  import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
14
- import { t as MaskedInput } from "./MaskedInput-CH07iWkV.js";
15
- import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, S as getDefaultTaxIdNumberType, k as taxInformationDefaultFieldConfig, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-siyZuj_8.js";
14
+ import { t as MaskedInput } from "./MaskedInput-VtgquqE0.js";
15
+ import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, S as getDefaultTaxIdNumberType, k as taxInformationDefaultFieldConfig, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-Dizf4Xxc.js";
16
16
  import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
17
17
  import { t as Field } from "./Field-DAUlw0M5.js";
18
- import { t as Select } from "./Select-CvIMIYjl.js";
18
+ import { t as Select } from "./Select-CS2E69CJ.js";
19
19
  import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
20
20
  import { t as TextArea } from "./TextArea-BvphlYOu.js";
21
- import { n as StateContextSetter, t as Dropzone } from "./Dropzone-xSD_bSLX.js";
22
- import { t as useForm } from "./useForm-aetR7uJY.js";
21
+ import { n as StateContextSetter, t as Dropzone } from "./Dropzone-JmVSKeOB.js";
22
+ import { t as useForm } from "./useForm-BcvMNl0D.js";
23
23
  import { lazy, memo } from "preact/compat";
24
24
  import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
25
25
  import cx from "classnames";
@@ -266,7 +266,7 @@ var TAX_INFORMATION_FIELD = [
266
266
  * scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
267
267
  * and Singapore Companies (where registration number (UEN) can be used for tax ID).
268
268
  */
269
- function TaxInformationField({ data, valid, errors, labels, mask, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, invertCompanyTypeFilter, defaultData }) {
269
+ function TaxInformationField({ data, valid, errors, labels, mask, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData }) {
270
270
  const { isFeatureEnabled } = useToggleContext();
271
271
  const { t } = useTranslation("common");
272
272
  const { accountHolder } = useAccountHolder();
@@ -277,7 +277,7 @@ function TaxInformationField({ data, valid, errors, labels, mask, placeholder, r
277
277
  country
278
278
  ]);
279
279
  const isUsSoleProp = country === "US" && entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP;
280
- const options = getTaxIdNumberOptions(country, entityType, invertCompanyTypeFilter);
280
+ const options = getTaxIdNumberOptions(country, entityType);
281
281
  const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
282
282
  const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
283
283
  const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels.exemptedFromTax;
@@ -286,14 +286,13 @@ function TaxInformationField({ data, valid, errors, labels, mask, placeholder, r
286
286
  if (data.exemptedFromTax) return "exempted";
287
287
  if (currentCountryTaxInformation?.type) return currentCountryTaxInformation.type;
288
288
  if (isUsSoleProp) return void 0;
289
- return getDefaultTaxIdNumberType(data.taxInformation, country, entityType, invertCompanyTypeFilter);
289
+ return getDefaultTaxIdNumberType(data.taxInformation, country, entityType);
290
290
  }, [
291
291
  country,
292
292
  currentCountryTaxInformation?.type,
293
293
  data.exemptedFromTax,
294
294
  data.taxInformation,
295
295
  entityType,
296
- invertCompanyTypeFilter,
297
296
  isUsSoleProp
298
297
  ]);
299
298
  const fieldMetadata = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
@@ -426,7 +425,6 @@ function TaxInformationField({ data, valid, errors, labels, mask, placeholder, r
426
425
  /* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
427
426
  country,
428
427
  companyType: entityType,
429
- invertCompanyTypeFilter,
430
428
  setSelected: handleTaxIdNumberTypeChange,
431
429
  selected: taxIdNumberType,
432
430
  exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
@@ -1,9 +1,9 @@
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] = "10e8de4d-cb81-4614-8fb6-9a9550f8523e", e._sentryDebugIdIdentifier = "sentry-dbid-10e8de4d-cb81-4614-8fb6-9a9550f8523e");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2a002a37-ebcb-44cc-a5e9-c7327ce6e0f2", e._sentryDebugIdIdentifier = "sentry-dbid-2a002a37-ebcb-44cc-a5e9-c7327ce6e0f2");
4
4
  } catch (e) {}
5
5
  import { a as Icon, c as __exportAll, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-BR3rLb4m.js";
6
- import { A as _rolldown_dynamic_import_helper_default, k as Header, nt as isEmpty, x as Alert } from "./resolveEnvironment-C3pxOwlh.js";
6
+ import { A as _rolldown_dynamic_import_helper_default, k as Header, nt as isEmpty, x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
7
7
  import { n as IconButton, r as Loader, t as Button } from "./Button-3qGOI53m.js";
8
8
  import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
9
9
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
@@ -11,12 +11,12 @@ import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
11
11
  import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
12
12
  import { t as Card } from "./Card-BCGLpdw7.js";
13
13
  import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
14
- import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-Tyg8nMBI.js";
14
+ import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DUOCxqZR.js";
15
15
  import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
16
- import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B8WoiNVo.js";
17
- import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Dr4l-QjT.js";
16
+ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
17
+ import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-1h2DlUxb.js";
18
18
  import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
19
- import { t as useMultiForm } from "./useMultiForm-DKxfY1kQ.js";
19
+ import { t as useMultiForm } from "./useMultiForm-C0Mz4Mm6.js";
20
20
  import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
21
21
  import { t as Field } from "./Field-DAUlw0M5.js";
22
22
  import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
@@ -152,7 +152,7 @@ function TaxReportingClassificationForm({ data, taxReportingClassification, taxR
152
152
  const showRecommendation = taxRecommendationData?.type && !taxReportingClassification?.type;
153
153
  const taxOptionsRadioItems = getTaxOptionsRadioItems(taxReportingT, taxRecommendationData, taxReportingClassification);
154
154
  const recommendedTaxOptionRadioItems = getRecommendedTaxOptionsRadioItems(taxReportingT, showRecommendation, taxRecommendationData);
155
- const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "taxClassification", mode);
155
+ const handleFieldChange = (fieldName, mode) => handleChangeFor("taxClassification", fieldName, mode);
156
156
  const typeErrorMessage = errors?.type?.errorMessage;
157
157
  return /* @__PURE__ */ jsxs("form", { children: [
158
158
  /* @__PURE__ */ jsx(Header, {
@@ -194,7 +194,7 @@ function TaxReportingClassificationForm({ data, taxReportingClassification, taxR
194
194
  name: "type",
195
195
  items: recommendedTaxOptionRadioItems,
196
196
  value: data?.type,
197
- onChange: handleFieldChange("type", "input")
197
+ onChange: (e) => handleFieldChange("type", "input")(e)
198
198
  })
199
199
  }),
200
200
  taxOptionsRadioItems.length ? /* @__PURE__ */ jsx(Typography, {
@@ -210,7 +210,7 @@ function TaxReportingClassificationForm({ data, taxReportingClassification, taxR
210
210
  name: "type",
211
211
  items: taxOptionsRadioItems,
212
212
  value: data?.type,
213
- onChange: handleFieldChange("type", "input")
213
+ onChange: (e) => handleFieldChange("type", "input")(e)
214
214
  })
215
215
  })
216
216
  ] });
@@ -377,7 +377,7 @@ function TaxReportingDropin({ problems, handleHomeClick, onSubmit, asAwe }) {
377
377
  const { data = taxReportingClassification, setData, triggerValidation } = form;
378
378
  useEffect$1(() => {
379
379
  if (!data?.taxClassification?.type && taxReportingClassification?.taxClassification?.type) {
380
- setData("type", taxReportingClassification?.taxClassification?.type, "taxClassification");
380
+ setData("taxClassification", "type", taxReportingClassification?.taxClassification?.type);
381
381
  (async () => {
382
382
  await triggerValidation("taxClassification");
383
383
  })().catch(() => console.error("Error triggering validation"));