@adyen/kyc-components 4.8.0-beta.0 → 4.9.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 (1188) hide show
  1. package/dist/4-people-CmxKfDnH.js +35 -0
  2. package/dist/AcceptTermsOfServiceComponent-BaAQHutH.js +6 -0
  3. package/dist/AcceptTermsOfServiceComponent-U1D1xOlX.js +651 -0
  4. package/dist/Accordion-Btxq6sGi.js +111 -0
  5. package/dist/AccountSetupRejected-CFihsePp.js +20 -0
  6. package/dist/ActionBar-Doac020y.js +33 -0
  7. package/dist/Address-BBhttZH7.js +595 -0
  8. package/dist/Alert-C6gL3JIt.js +170 -0
  9. package/dist/Avatar-CKmUpMXT.js +54 -0
  10. package/dist/BusinessFinancingDropin-BeItAS4H.js +1796 -0
  11. package/dist/BusinessFinancingPage-Cn59r_4N.js +87 -0
  12. package/dist/BusinessTypeSelectionPage-CAIsndUZ.js +439 -0
  13. package/dist/Button-oj6H8OrC.js +189 -0
  14. package/dist/Confirm-B6TWSuab.js +76 -0
  15. package/dist/ConstitutionalDocument-CWiiY8-Q.js +2282 -0
  16. package/dist/ContactDetails-DgusRek8.js +292 -0
  17. package/dist/ContextGuidance-DdoORtLt.js +29 -0
  18. package/dist/CountryField-Dh4DfjBf.js +38 -0
  19. package/dist/Currency-V5HFH6ne.js +191 -0
  20. package/dist/CustomerSupport-CFu3E5Df.js +127 -0
  21. package/dist/DE-B5hlvfaz.js +20 -0
  22. package/dist/DE-BB3kLAb1.js +24 -0
  23. package/dist/DebugModal-o5E385CJ.js +451 -0
  24. package/dist/DecisionMakerDetails-CIPJYtXC.js +471 -0
  25. package/dist/DecisionMakerDetailsPage-FRHO8yDE.js +105 -0
  26. package/dist/DecisionMakers-BHmeXtQg.js +670 -0
  27. package/dist/Dropzone-Fj83VtiJ.js +221 -0
  28. package/dist/EmbeddedStatus-C0cKHgzR.js +128 -0
  29. package/dist/EndStateLayout-ChS-vdMt.js +84 -0
  30. package/dist/EntityAssociation-DjHI99AZ.js +163 -0
  31. package/dist/EntityGuidanceStatus-F9oxfzj4.js +89 -0
  32. package/dist/ErrorPanel-B536hgSc.js +186 -0
  33. package/dist/Field-pcJkjIG_.js +155 -0
  34. package/dist/FormNavigation-ikhirSjM.js +116 -0
  35. package/dist/Header-CPmJyuoP.js +93 -0
  36. package/dist/Image-BEzOZ1tt.js +33 -0
  37. package/dist/Individual.rules-DvMQmx90.js +295 -0
  38. package/dist/IndividualDropin-5d4DRAnF.js +4961 -0
  39. package/dist/Introduction-CDJnwem7.js +271 -0
  40. package/dist/InvitedDecisionMakerComponent-CWFjVunH.js +353 -0
  41. package/dist/InvitedDecisionMakerComponent-CinIOPl5.js +6 -0
  42. package/dist/JpAddress-IVAbHKw_.js +320 -0
  43. package/dist/LandingLayout-z8j2xiqg.js +76 -0
  44. package/dist/LegalCompanyNameField-CW82YkTh.js +108 -0
  45. package/dist/LegalRepresentativeDetailsPage-BMV6rNj3.js +73 -0
  46. package/dist/Link-6M1PZnz2.js +32 -0
  47. package/dist/ListItem-BWH4IPrj.js +70 -0
  48. package/dist/LoaderWrapper-Dq8TNJCi.js +34 -0
  49. package/dist/MaskedInput-BFPSwRto.js +714 -0
  50. package/dist/MaybeModal-CeTBIah3.js +24 -0
  51. package/dist/Modal-CioQJ7Q7.js +129 -0
  52. package/dist/Name-G92OEGxs.js +61 -0
  53. package/dist/NewSummary-C-LKBMpr.js +64 -0
  54. package/dist/PayoutDetailsDropin-2P2XBBby.js +3887 -0
  55. package/dist/PayoutDetailsPage-C0skgVvV.js +857 -0
  56. package/dist/RadioGroup-7g7Xv9rl.js +84 -0
  57. package/dist/Review-CVbMIJPV.js +89 -0
  58. package/dist/RootBusinessDetailsPage--UFI2dVP.js +69 -0
  59. package/dist/RootBusinessLinesPage-BfwOCZsD.js +1451 -0
  60. package/dist/RootIndividualDetailsPage-CANgtG6U.js +81 -0
  61. package/dist/Select-CcSRI-H0.js +775 -0
  62. package/dist/SignPCIComponent-C_p15Efe.js +6 -0
  63. package/dist/SignPCIComponent-Wk_NI3r3.js +367 -0
  64. package/dist/SingpassSelection-CB1J2MS6.js +159 -0
  65. package/dist/SoleProprietorshipPage-BviKY2iD.js +69 -0
  66. package/dist/SourceOfFundsPage-Cdco3_9D.js +1987 -0
  67. package/dist/Spacer-CvT0ELty.js +11 -0
  68. package/dist/StepProgressIndicator-DWJ9eS5a.js +80 -0
  69. package/dist/Summary-B5IkOGJV.js +226 -0
  70. package/dist/TaskVerificationStatus-kCWYhocq.js +118 -0
  71. package/dist/TaxInformationField-D4iJyoVE.js +2857 -0
  72. package/dist/TaxReportingDropin-BOBRj6is.js +480 -0
  73. package/dist/TextArea-CRLeP4x6.js +80 -0
  74. package/dist/TileGroup-D0YbtzZ0.js +169 -0
  75. package/dist/ToastContextProvider-C-7n4Tu6.js +103 -0
  76. package/dist/TrustDetailsPage-DrZ9HGKl.js +1685 -0
  77. package/dist/TrustMemberCompanyPage-D9hFEEZm.js +107 -0
  78. package/dist/TrustMemberIndividualPage-B3sb9HRd.js +107 -0
  79. package/dist/TrustMemberRoleAndTypePage-wrnuKHRd.js +943 -0
  80. package/dist/TrustMembersOverview-DexR4fmv.js +350 -0
  81. package/dist/UnincorporatedPartnershipIndividualPage-DylG-9F5.js +78 -0
  82. package/dist/UnincorporatedPartnershipMemberCompanyPage-DPOYWdzd.js +78 -0
  83. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-j1MG7dgo.js +276 -0
  84. package/dist/UnincorporatedPartnershipMembersOverview-yi5iVO-v.js +156 -0
  85. package/dist/VerificationErrorAlert-DR3lTJhB.js +38 -0
  86. package/dist/adyen-business-financing.js +84 -84
  87. package/dist/adyen-individual-configuration.js +86 -86
  88. package/dist/adyen-individual-status.js +35 -35
  89. package/dist/adyen-invited-decision-maker.js +3 -3
  90. package/dist/adyen-onboarding.js +111 -111
  91. package/dist/adyen-terms-of-service-management.js +4 -4
  92. package/dist/adyen-terms-of-service-status.js +57 -57
  93. package/dist/adyen-transfer-instrument-configuration.js +83 -83
  94. package/dist/adyen-transfer-instrument-management.js +94 -94
  95. package/dist/adyen-verification-status.js +34 -34
  96. package/dist/arrow-right-CBQUuXWn.js +20 -0
  97. package/dist/bag-B73BWByo.js +20 -0
  98. package/dist/bank-BfKT2Hlo.js +20 -0
  99. package/dist/bg-BG-B3fdlAsP.js +7 -0
  100. package/dist/bg-BG-BUBUyZgz.js +60 -0
  101. package/dist/bg-BG-COHRuTI-.js +7 -0
  102. package/dist/bg-BG-CodTfJR6.js +7 -0
  103. package/dist/bin-CR2JtyeA.js +30 -0
  104. package/dist/capital-C0dL_JnU.js +23 -0
  105. package/dist/cash-stack-qIbSKCET.js +33 -0
  106. package/dist/certificate-Cv-GCGT_.js +23 -0
  107. package/dist/checkmark-B5bpiMC3.js +20 -0
  108. package/dist/checkmark-circle-fill-BEzw_Ad8.js +30 -0
  109. package/dist/checkmark-circle-lv03ep4H.js +28 -0
  110. package/dist/checkmark-small-3mQnvwQ8.js +20 -0
  111. package/dist/chevron-down-dEHOUt1A.js +20 -0
  112. package/dist/chevron-left-DPUZ5uGm.js +20 -0
  113. package/dist/chevron-right-Bul4T3tl.js +20 -0
  114. package/dist/chevron-up-DMqLHgxc.js +20 -0
  115. package/dist/circle-BrnvXI-e.js +30 -0
  116. package/dist/circle-small-filled-ni7ir6ux.js +20 -0
  117. package/dist/clock-CGVkf1Ve.js +28 -0
  118. package/dist/coins-CZegEaHP.js +30 -0
  119. package/dist/contract-BKSU2cwd.js +20 -0
  120. package/dist/cross-Du29KQ50.js +20 -0
  121. package/dist/cross-circle-fill-DKtory30.js +30 -0
  122. package/dist/cross-circle-fill-small-CbhK-gt9.js +20 -0
  123. package/dist/cs-CZ-BFJyFYpX.js +60 -0
  124. package/dist/cs-CZ-BLE9aLKg.js +7 -0
  125. package/dist/cs-CZ-BfrGDPxg.js +7 -0
  126. package/dist/cs-CZ-CmcYZLZp.js +7 -0
  127. package/dist/da-DK-BNvIcL59.js +60 -0
  128. package/dist/da-DK-BhPEeSfb.js +7 -0
  129. package/dist/da-DK-C_oe1bpM.js +7 -0
  130. package/dist/da-DK-DtAW2xZE.js +7 -0
  131. package/dist/de-DE-B8Eby_UK.js +60 -0
  132. package/dist/de-DE-CMc1Fpfl.js +7 -0
  133. package/dist/de-DE-DXNTaizu.js +7 -0
  134. package/dist/de-DE-JbgxmFfV.js +7 -0
  135. package/dist/document-1-aQlMSWwx.js +20 -0
  136. package/dist/document-person-CjV96CE2.js +28 -0
  137. package/dist/download-Byq3TeQ7.js +23 -0
  138. package/dist/dropinUtils-IdasFZCU.js +275 -0
  139. package/dist/edit-1-B3TJrgU8.js +20 -0
  140. package/dist/el-GR-Bv2QgmVV.js +7 -0
  141. package/dist/el-GR-DYmDnzZe.js +60 -0
  142. package/dist/el-GR-DzVIM3MW.js +7 -0
  143. package/dist/el-GR-qH2iIn7-.js +7 -0
  144. package/dist/en-US-cJAmQhFR.js +10 -0
  145. package/dist/es-ES-DLBRDQJZ.js +60 -0
  146. package/dist/es-ES-DMjKXw-3.js +7 -0
  147. package/dist/es-ES-DtlXpZ_5.js +7 -0
  148. package/dist/es-ES-yxJhxnWV.js +7 -0
  149. package/dist/et-EE-BwKPcihb.js +7 -0
  150. package/dist/et-EE-C3h50xW-.js +7 -0
  151. package/dist/et-EE-C_Z4PWda.js +60 -0
  152. package/dist/et-EE-PTcJ2hRW.js +7 -0
  153. package/dist/external-link-DYtCXxMx.js +20 -0
  154. package/dist/fi-FI-BbwbWwYb.js +7 -0
  155. package/dist/fi-FI-C1Ns3CEo.js +7 -0
  156. package/dist/fi-FI-azwPyx-k.js +60 -0
  157. package/dist/fi-FI-wGXRm-tZ.js +7 -0
  158. package/dist/fr-FR-CzdHSH04.js +60 -0
  159. package/dist/fr-FR-DgPRYmmJ.js +7 -0
  160. package/dist/fr-FR-YG31LnB2.js +7 -0
  161. package/dist/fr-FR-mFwC-nNY.js +7 -0
  162. package/dist/getProblemsForEntity-a39L2dH8.js +16 -0
  163. package/dist/gift-30hYMA9-.js +20 -0
  164. package/dist/globalStore-BjMds47R.js +418 -0
  165. package/dist/graph-CzlxS7Vy.js +32 -0
  166. package/dist/graph-up-CE291Upm.js +38 -0
  167. package/dist/graphical-laptop-DX_EZlVD.js +706 -0
  168. package/dist/headquarter-i418irxh.js +42 -0
  169. package/dist/hotel-a4lSlfvp.js +33 -0
  170. package/dist/hr-HR-BAeB6ZDz.js +7 -0
  171. package/dist/hr-HR-BQfjrcPC.js +7 -0
  172. package/dist/hr-HR-Bgny6YH0.js +7 -0
  173. package/dist/hr-HR-C7Hp8OgD.js +60 -0
  174. package/dist/http-msAasD57.js +148 -0
  175. package/dist/hu-HU-B34uBEZ9.js +60 -0
  176. package/dist/hu-HU-Bb1gk4Jr.js +7 -0
  177. package/dist/hu-HU-Bpaw2qU0.js +7 -0
  178. package/dist/hu-HU-DfYPelYo.js +7 -0
  179. package/dist/image-DobgR711.js +23 -0
  180. package/dist/info-DEkQ-8WE.js +32 -0
  181. package/dist/info-filled-C68IJNrw.js +32 -0
  182. package/dist/invalidateRootLegalEntity-B4bAFkQS.js +45 -0
  183. package/dist/it-IT-BCqVu72_.js +60 -0
  184. package/dist/it-IT-CmoZrxWa.js +7 -0
  185. package/dist/it-IT-DX5qNq8o.js +7 -0
  186. package/dist/it-IT-cnETv3Cg.js +7 -0
  187. package/dist/ja-JP-C7_6K98B.js +60 -0
  188. package/dist/ja-JP-CyP1sKap.js +7 -0
  189. package/dist/ja-JP-D0gz56Ni.js +7 -0
  190. package/dist/ja-JP-DeQYHyel.js +7 -0
  191. package/dist/localizeDateString-1A3eC6hp.js +35 -0
  192. package/dist/location-CGZGwAk9.js +23 -0
  193. package/dist/lt-LT-Bbh9MWxc.js +7 -0
  194. package/dist/lt-LT-BhzsTniu.js +60 -0
  195. package/dist/lt-LT-D0_qhzNo.js +7 -0
  196. package/dist/lt-LT-DJkDO0Uf.js +7 -0
  197. package/dist/lv-LV-B6yxwa6Z.js +60 -0
  198. package/dist/lv-LV-BdQdKiBb.js +7 -0
  199. package/dist/lv-LV-Bfkan_1O.js +7 -0
  200. package/dist/lv-LV-C8fqHR2g.js +7 -0
  201. package/dist/mail-DoEbKDBx.js +20 -0
  202. package/dist/mapExistingFile-Djcwti5D.js +138 -0
  203. package/dist/mapJpAddressSchemaToAddressLocalizations-C-Kwjo9Q.js +61 -0
  204. package/dist/mapLegalEntityToIndividualSchema-BG1tpKz9.js +206 -0
  205. package/dist/mapTransferInstrumentToPayoutAccount-BQebHQfz.js +44 -0
  206. package/dist/minus-circle-filled-BnkSMCtd.js +30 -0
  207. package/dist/nl-NL-4iZ44kzK.js +60 -0
  208. package/dist/nl-NL-CQ4ZHb3p.js +7 -0
  209. package/dist/nl-NL-CQSu4iNn.js +7 -0
  210. package/dist/nl-NL-DXnNGqSV.js +7 -0
  211. package/dist/no-NO-B1v42GMO2.js +7 -0
  212. package/dist/no-NO-BSJ1rjY4.js +60 -0
  213. package/dist/no-NO-C0DXekH-.js +7 -0
  214. package/dist/no-NO-D_KcEh_g.js +7 -0
  215. package/dist/omitObscuredFieldsIfUnchanged-Cx1OCZuB.js +20 -0
  216. package/dist/options-horizontal-D-HDgCXI.js +30 -0
  217. package/dist/partner-d2hFoENh.js +30 -0
  218. package/dist/pay-by-link-plane-CPfnEsJ1.js +33 -0
  219. package/dist/payout-BLb3D4s1.js +38 -0
  220. package/dist/person-oQB0xWxS.js +23 -0
  221. package/dist/phonePrefixes-DcdX_CFz.js +252 -0
  222. package/dist/pl-PL-10KUcobm.js +7 -0
  223. package/dist/pl-PL-BHjlKdWC.js +60 -0
  224. package/dist/pl-PL-C0t949uz.js +7 -0
  225. package/dist/pl-PL-C5u2-nG22.js +7 -0
  226. package/dist/plus-circle-filled-DjQkTAs3.js +30 -0
  227. package/dist/plus-ohr5jEJX.js +20 -0
  228. package/dist/process-field-configurations-C7MuEj5q.js +279 -0
  229. package/dist/processCapabilities-DlZY9-Jc.js +869 -0
  230. package/dist/pt-BR-9jLurhS32.js +7 -0
  231. package/dist/pt-BR-BMIZHo3V.js +60 -0
  232. package/dist/pt-BR-DWKF33yP.js +7 -0
  233. package/dist/pt-BR-DcbjZDZp.js +7 -0
  234. package/dist/pt-PT-B6DsKlac2.js +7 -0
  235. package/dist/pt-PT-BRU9TQPI.js +7 -0
  236. package/dist/pt-PT-CjIFIi4R.js +7 -0
  237. package/dist/pt-PT-s_KcBKav.js +60 -0
  238. package/dist/recurring-DmyMJdwC.js +23 -0
  239. package/dist/resolveEnvironment-BcIDBsbb.js +1176 -0
  240. package/dist/revenue-accelerate-BN3AdS3k.js +30 -0
  241. package/dist/ro-RO-9TjoIVJf2.js +7 -0
  242. package/dist/ro-RO-B8XucTSz.js +7 -0
  243. package/dist/ro-RO-DQFRJwp8.js +7 -0
  244. package/dist/ro-RO-DsFmqo3p.js +60 -0
  245. package/dist/save-CsdmY84G.js +20 -0
  246. package/dist/search-BXGLED99.js +30 -0
  247. package/dist/show-nnMbIf7M.js +23 -0
  248. package/dist/singpass-logo-C6TfxlXU.js +33 -0
  249. package/dist/singpass-logo-small-BcAlrN2f.js +22 -0
  250. package/dist/sk-SK-BfoXFhAL.js +7 -0
  251. package/dist/sk-SK-BspZv60l.js +60 -0
  252. package/dist/sk-SK-D5_Q4Djr2.js +7 -0
  253. package/dist/sk-SK-DncQ0dRM.js +7 -0
  254. package/dist/sl-SI-Ce45OvpM.js +7 -0
  255. package/dist/sl-SI-CuNIMCGx2.js +7 -0
  256. package/dist/sl-SI-CyIN1sc5.js +7 -0
  257. package/dist/sl-SI-D26FDPwq.js +60 -0
  258. package/dist/solution-payments-C_H8klpJ.js +20 -0
  259. package/dist/store-D8kYfDDN.js +20 -0
  260. package/dist/style.css +247 -352
  261. package/dist/styles-BKzp-1_V.js +5883 -0
  262. package/dist/sv-SE-C11kwGTV2.js +7 -0
  263. package/dist/sv-SE-CAQm2GVJ.js +7 -0
  264. package/dist/sv-SE-JKGeqd9J.js +60 -0
  265. package/dist/sv-SE-Xh17T6yC.js +7 -0
  266. package/dist/terminal-1-B3NwyGSs.js +30 -0
  267. package/dist/translation-BFxyJ1c5.js +854 -0
  268. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +3 -16
  269. package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +3 -6
  270. package/dist/types/api/companySearch/companySearch.types.d.ts +4 -20
  271. package/dist/types/api/companySearch/useCompanySearch.d.ts +58 -61
  272. package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
  273. package/dist/types/api/invitations/invitations.types.d.ts +4 -3
  274. package/dist/types/api/pci/pci.types.d.ts +4 -3
  275. package/dist/types/api/pci/useSignPci.d.ts +2 -1
  276. package/dist/types/api/termsOfService/termsOfService.types.d.ts +3 -2
  277. package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -1
  278. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +2 -1
  279. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -1
  280. package/dist/types/api/tinVerification/useVerifyTin.d.ts +6 -6
  281. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
  282. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
  283. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -1
  284. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +5 -5
  285. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  286. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +3 -1
  287. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
  288. package/dist/types/components/Business/utils/usePrefetchCompanySearch.d.ts +9 -0
  289. package/dist/types/components/Individual/forms/IdDocumentUpload/IdDocumentManualUpload.d.ts +0 -1
  290. package/dist/types/components/Shared/SingpassSelection/SingpassSelection.d.ts +0 -1
  291. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  292. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -1
  293. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -1
  294. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
  295. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -1
  296. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +15 -3
  297. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -0
  298. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -1
  299. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
  300. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +1 -1
  301. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  302. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +3 -2
  303. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -0
  304. package/dist/types/components/Shared/forms/Address/types.d.ts +2 -2
  305. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  306. package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +0 -8
  307. package/dist/types/components/ui/atoms/Accordion/Accordion.d.ts +2 -1
  308. package/dist/types/components/ui/atoms/Card/Card.d.ts +2 -2
  309. package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -4
  310. package/dist/types/components/ui/atoms/Header/Header.d.ts +3 -3
  311. package/dist/types/components/ui/atoms/List/List.d.ts +3 -3
  312. package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +3 -3
  313. package/dist/types/components/ui/atoms/LoaderWrapper/LoaderWrapper.d.ts +2 -1
  314. package/dist/types/components/ui/atoms/MultiSelectList/MultiSelectList.d.ts +2 -1
  315. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.d.ts +5 -1
  316. package/dist/types/components/ui/atoms/Status/Status.d.ts +2 -2
  317. package/dist/types/context/I18nProvider/I18nContext.d.ts +2 -1
  318. package/dist/types/context/ToggleContext/types.d.ts +4 -4
  319. package/dist/types/utils/analytics/trackNavigation.d.ts +2 -1
  320. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  321. package/dist/types/utils/perCountry.d.ts +0 -3
  322. package/dist/types-8S6KTD2W.js +68 -0
  323. package/dist/types-qnPNJzLh.js +58 -0
  324. package/dist/upload-5PvAU00H.js +23 -0
  325. package/dist/useAccountHolder-CnO_E-AQ.js +102 -0
  326. package/dist/useAllowedCountries-F0wCZ8Fv.js +74 -0
  327. package/dist/useAssociatedLegalEntity-b2rR6eT1.js +35 -0
  328. package/dist/useBusinessDetailsData-DcI9hO0m.js +4365 -0
  329. package/dist/useBusinessLines-RQQdWQf5.js +27 -0
  330. package/dist/useCapabilities-BhSlO8Qy.js +12 -0
  331. package/dist/useCreateLegalEntity-DizCrhrt.js +24 -0
  332. package/dist/useDataMissingRemediations-CARoFWDr.js +39 -0
  333. package/dist/useDataset-ZHrWhmsh.js +96 -0
  334. package/dist/useDeleteTransferInstrument-Cbdy-qgj.js +31 -0
  335. package/dist/useForm-pUkvCLc9.js +502 -0
  336. package/dist/useFormContext-Cx9-3iXR.js +178 -0
  337. package/dist/useGlobalData-DD00rA9R.js +164 -0
  338. package/dist/useLegalEntity-Dv5dgbCO.js +48 -0
  339. package/dist/useMultiForm-B3e1ImN3.js +754 -0
  340. package/dist/useNavigate-DIEXJQpe.js +268 -0
  341. package/dist/useOnboardingStatus-ByU7lXjv.js +23 -0
  342. package/dist/usePciQuestionnaireList-CF58LcYV.js +26 -0
  343. package/dist/useSalesChannels--nshXveh.js +47 -0
  344. package/dist/useScenarios-gjy5hxIo.js +55 -0
  345. package/dist/useTaskStatus-CHWVSBuo.js +51 -0
  346. package/dist/useTermsOfServiceStatus-C6UX8Rtp.js +39 -0
  347. package/dist/useTrustMembers-Bhi2t_pX.js +152 -0
  348. package/dist/useUnincorporatedPartnershipMembers-IvAeX76z.js +70 -0
  349. package/dist/useUpdateBusinessLines-CLiF20xN.js +296 -0
  350. package/dist/useUpdateLegalEntity-Dcvfr-yZ.js +29 -0
  351. package/dist/utils-B807QaDx.js +88 -0
  352. package/dist/utils-BptSfkns.js +188 -0
  353. package/dist/utils-DRjqyP-s.js +805 -0
  354. package/dist/validate-AqTlBSU4.js +387 -0
  355. package/dist/validate-BRATlfVl.js +411 -0
  356. package/dist/validationError-BzQCrJPn.js +68 -0
  357. package/dist/warning-circle-fill-8KMHOOon.js +30 -0
  358. package/dist/warning-diamond-filled-CKvlLEGk.js +30 -0
  359. package/dist/webinar-D2TO4Mw_.js +33 -0
  360. package/package.json +28 -33
  361. package/dist/4-people-7MltvEnk.js +0 -35
  362. package/dist/AcceptTermsOfServiceComponent-BKgdZKrj.js +0 -651
  363. package/dist/AcceptTermsOfServiceComponent-CUIdPIg8.js +0 -6
  364. package/dist/Accordion-Dmrb3-v6.js +0 -111
  365. package/dist/AccountSetupRejected-DkwJLZ-8.js +0 -20
  366. package/dist/ActionBar-ITEbcxgG.js +0 -33
  367. package/dist/Address-CnQ22ndb.js +0 -595
  368. package/dist/Alert-BER6uCP8.js +0 -170
  369. package/dist/Avatar-DElKUUVp.js +0 -54
  370. package/dist/BusinessFinancingDropin-B8ZJDKWU.js +0 -1796
  371. package/dist/BusinessFinancingPage-B2EuTX1b.js +0 -87
  372. package/dist/BusinessTypeSelectionPage-CChAObkr.js +0 -439
  373. package/dist/Button-DvWt5T9O.js +0 -189
  374. package/dist/Confirm-BmiOH3Vr.js +0 -76
  375. package/dist/ConstitutionalDocument-rRO4Qdx2.js +0 -2228
  376. package/dist/ContactDetails-tVqSDGqY.js +0 -292
  377. package/dist/ContextGuidance-DKKgj5gN.js +0 -29
  378. package/dist/CountryField-s5-jZTU9.js +0 -38
  379. package/dist/Currency-gYKD3DSx.js +0 -191
  380. package/dist/CustomerSupport-kwwKDe5a.js +0 -127
  381. package/dist/DE-BOCSw-Jn.js +0 -23
  382. package/dist/DE-hCefE4qL.js +0 -20
  383. package/dist/DebugModal-DycU_84l.js +0 -451
  384. package/dist/DecisionMakerDetails-DA9upL0W.js +0 -471
  385. package/dist/DecisionMakerDetailsPage-B7iGmS0R.js +0 -105
  386. package/dist/DecisionMakers-BZRkBx5n.js +0 -670
  387. package/dist/Dropzone-By_YOrv2.js +0 -221
  388. package/dist/EmbeddedStatus-DeSYswbC.js +0 -128
  389. package/dist/EndStateLayout-CR8wHeA1.js +0 -84
  390. package/dist/EntityAssociation-CKOd_SVw.js +0 -163
  391. package/dist/EntityGuidanceStatus-C_rpRyk4.js +0 -89
  392. package/dist/ErrorPanel-4juOd8Z2.js +0 -186
  393. package/dist/Field-C2ZpB0wo.js +0 -155
  394. package/dist/FormNavigation-IqQmylMk.js +0 -116
  395. package/dist/Header-BNb1zwkF.js +0 -93
  396. package/dist/Image-BTVEK7B2.js +0 -33
  397. package/dist/Individual.rules-B3pCow6J.js +0 -295
  398. package/dist/IndividualDropin-bFgrHziM.js +0 -4946
  399. package/dist/Introduction-BRwmMwP8.js +0 -271
  400. package/dist/InvitedDecisionMakerComponent-DD1vVyTG.js +0 -6
  401. package/dist/InvitedDecisionMakerComponent-g4s20v7g.js +0 -353
  402. package/dist/JpAddress-DcrYSdH2.js +0 -319
  403. package/dist/LandingLayout-BQZNXhZ_.js +0 -76
  404. package/dist/LegalCompanyNameField-D91em8Tk.js +0 -108
  405. package/dist/LegalRepresentativeDetailsPage-BeNRjz37.js +0 -73
  406. package/dist/Link-DKiaZfxB.js +0 -32
  407. package/dist/ListItem-zVPVQbER.js +0 -70
  408. package/dist/LoaderWrapper-DWKykOjd.js +0 -34
  409. package/dist/MaskedInput-zFUBaX87.js +0 -714
  410. package/dist/MaybeModal-Dsgozf1o.js +0 -24
  411. package/dist/Modal-UfgpuJZi.js +0 -129
  412. package/dist/Name-DC5eBwEU.js +0 -61
  413. package/dist/NewSummary-DVIIH1Ml.js +0 -64
  414. package/dist/PayoutDetailsDropin-DAUlhP1c.js +0 -3909
  415. package/dist/PayoutDetailsPage-mJE3Hgy9.js +0 -857
  416. package/dist/Radio-D6uF9-cu.js +0 -21
  417. package/dist/RadioGroup-Bi9v9dZu.js +0 -71
  418. package/dist/Review-C-B_R1FH.js +0 -89
  419. package/dist/RootBusinessDetailsPage-9ccBcunp.js +0 -67
  420. package/dist/RootBusinessLinesPage-LQptA58p.js +0 -1451
  421. package/dist/RootIndividualDetailsPage-DlzHpNEn.js +0 -81
  422. package/dist/Select-DDSua27l.js +0 -775
  423. package/dist/SignPCIComponent-DGWjjIO0.js +0 -367
  424. package/dist/SignPCIComponent-DvZAN38F.js +0 -6
  425. package/dist/SingpassSelection-PepG3R0o.js +0 -244
  426. package/dist/SoleProprietorshipPage-DnThw6us.js +0 -69
  427. package/dist/SourceOfFundsPage-CuIBGc8z.js +0 -1987
  428. package/dist/Spacer-_Y17BH-4.js +0 -11
  429. package/dist/StepProgressIndicator-CzDT61ie.js +0 -80
  430. package/dist/Summary-B8AA9_C_.js +0 -226
  431. package/dist/TaskVerificationStatus-UnhKHQYu.js +0 -118
  432. package/dist/TaxInformationField-zwmzV8Ov.js +0 -2830
  433. package/dist/TaxReportingDropin-BZ67pubt.js +0 -480
  434. package/dist/TextArea-CyATBUKN.js +0 -80
  435. package/dist/TileGroup-tVHAZBni.js +0 -169
  436. package/dist/ToastContextProvider-BWJct14f.js +0 -103
  437. package/dist/TrustDetailsPage-DLIvcoSr.js +0 -1685
  438. package/dist/TrustMemberCompanyPage-Q0FDNUXO.js +0 -107
  439. package/dist/TrustMemberIndividualPage-C4FZ57EQ.js +0 -107
  440. package/dist/TrustMemberRoleAndTypePage-s8ZOlbBU.js +0 -943
  441. package/dist/TrustMembersOverview-CZ-i1Yoq.js +0 -350
  442. package/dist/UnincorporatedPartnershipIndividualPage-DElj-rnx.js +0 -78
  443. package/dist/UnincorporatedPartnershipMemberCompanyPage-B2iYbHPm.js +0 -78
  444. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BgNE2bk7.js +0 -276
  445. package/dist/UnincorporatedPartnershipMembersOverview-BwCLw7rz.js +0 -156
  446. package/dist/VerificationErrorAlert-C_9CLF8G.js +0 -38
  447. package/dist/arrow-right-BzximXQd.js +0 -20
  448. package/dist/bag-CV-7aEOY.js +0 -20
  449. package/dist/bank-B3QWGDvh.js +0 -20
  450. package/dist/bg-BG-B59ND_11.js +0 -59
  451. package/dist/bg-BG-DeVGTTeO.js +0 -7
  452. package/dist/bg-BG-sDNpvadv.js +0 -7
  453. package/dist/bg-BG-xv1T8Cru.js +0 -7
  454. package/dist/bin-Nm57SUCy.js +0 -30
  455. package/dist/capital-BIrjrei_.js +0 -23
  456. package/dist/cash-stack-q8jqAQnj.js +0 -33
  457. package/dist/certificate-BA32wlVD.js +0 -23
  458. package/dist/checkmark-Sx0Eq9g1.js +0 -20
  459. package/dist/checkmark-circle-D25SXuEg.js +0 -28
  460. package/dist/checkmark-circle-fill-DWyHVNKM.js +0 -30
  461. package/dist/checkmark-small-BYKwXmot.js +0 -20
  462. package/dist/chevron-down-BY9NvSX2.js +0 -20
  463. package/dist/chevron-left-1TeIr8LI.js +0 -20
  464. package/dist/chevron-right-D3ORtAcK.js +0 -20
  465. package/dist/chevron-up-DSUlaHcZ.js +0 -20
  466. package/dist/circle-BLLy-RH7.js +0 -30
  467. package/dist/circle-small-filled-C_6B84Iy.js +0 -20
  468. package/dist/clock-lHMbm7lZ.js +0 -28
  469. package/dist/coins-DM30OZR2.js +0 -30
  470. package/dist/contract-CHdRrIxe.js +0 -20
  471. package/dist/cross-circle-fill-CmXERg4H.js +0 -30
  472. package/dist/cross-circle-fill-small-CMz7hV-a.js +0 -20
  473. package/dist/cross-eL7Kqv7I.js +0 -20
  474. package/dist/cs-CZ-BkegBLH0.js +0 -7
  475. package/dist/cs-CZ-DNo3i13i.js +0 -59
  476. package/dist/cs-CZ-DoyjAWTB.js +0 -7
  477. package/dist/cs-CZ-DzvqR4Si.js +0 -7
  478. package/dist/da-DK-BpC27U0O.js +0 -7
  479. package/dist/da-DK-C-6cZEqg.js +0 -59
  480. package/dist/da-DK-CLzpAJZX.js +0 -7
  481. package/dist/da-DK-d-G4WSG9.js +0 -7
  482. package/dist/de-DE-4UdLDq_d.js +0 -59
  483. package/dist/de-DE-BX0mu_5B.js +0 -7
  484. package/dist/de-DE-jwrvfE6B.js +0 -7
  485. package/dist/de-DE-zVrwBFVP.js +0 -7
  486. package/dist/document-1-CAkgmlsx.js +0 -20
  487. package/dist/document-person-BMqoEMgx.js +0 -28
  488. package/dist/download-CUCb0PT7.js +0 -23
  489. package/dist/dropinUtils-FIEFyS0F.js +0 -275
  490. package/dist/edit-1-DqX_7cbs.js +0 -20
  491. package/dist/el-GR-B08o_Wr7.js +0 -59
  492. package/dist/el-GR-BV0tj_MA.js +0 -7
  493. package/dist/el-GR-C5lpMpmF.js +0 -7
  494. package/dist/el-GR-CDp-bn0j.js +0 -7
  495. package/dist/en-US-D8jS6G6S.js +0 -10
  496. package/dist/es-ES-B9kTevXB.js +0 -59
  497. package/dist/es-ES-BJfw2diu.js +0 -7
  498. package/dist/es-ES-B_kBpFxZ.js +0 -7
  499. package/dist/es-ES-CHyhM1uh.js +0 -7
  500. package/dist/et-EE-BcWPn7Cl.js +0 -7
  501. package/dist/et-EE-BnDOa_4e.js +0 -7
  502. package/dist/et-EE-GTXnG-3j.js +0 -59
  503. package/dist/et-EE-SeklRCmh.js +0 -7
  504. package/dist/external-link-V6JPH8K0.js +0 -20
  505. package/dist/fi-FI-80q1y1Bb.js +0 -59
  506. package/dist/fi-FI-BcXm_vtP.js +0 -7
  507. package/dist/fi-FI-Dz25oorf.js +0 -7
  508. package/dist/fi-FI-n4x7ZOmh.js +0 -7
  509. package/dist/fr-FR-ANv8VCCV.js +0 -7
  510. package/dist/fr-FR-CDTGvZzl.js +0 -7
  511. package/dist/fr-FR-D2Ep3xgM.js +0 -59
  512. package/dist/fr-FR-bqkpOtF1.js +0 -7
  513. package/dist/getProblemsForEntity-Df8xJUr2.js +0 -16
  514. package/dist/gift-C3MzdRIj.js +0 -20
  515. package/dist/globalStore-BsvLFLDr.js +0 -418
  516. package/dist/graph-BJ7yemhR.js +0 -32
  517. package/dist/graph-up-CWzty_jt.js +0 -38
  518. package/dist/headquarter-COstZFO7.js +0 -42
  519. package/dist/hotel-C1vO2ZiV.js +0 -33
  520. package/dist/hr-HR-C4Bv0YpX.js +0 -59
  521. package/dist/hr-HR-CBySzkSl.js +0 -7
  522. package/dist/hr-HR-CLRdCbY_.js +0 -7
  523. package/dist/hr-HR-CjbJFQJu.js +0 -7
  524. package/dist/http-btI4x32X.js +0 -148
  525. package/dist/hu-HU-3a4f6Po4.js +0 -59
  526. package/dist/hu-HU-Bg2UoMm1.js +0 -7
  527. package/dist/hu-HU-CsOzXRwg.js +0 -7
  528. package/dist/hu-HU-DHZf-Z1b.js +0 -7
  529. package/dist/image-Ctf24Eqr.js +0 -23
  530. package/dist/info-CKFBABlx.js +0 -32
  531. package/dist/info-filled-BtKXWmDk.js +0 -32
  532. package/dist/invalidateRootLegalEntity-BbVdQNIY.js +0 -45
  533. package/dist/it-IT-4udyC9ua.js +0 -7
  534. package/dist/it-IT-C2wbwYWQ.js +0 -59
  535. package/dist/it-IT-D8RXfncB.js +0 -7
  536. package/dist/it-IT-DpTVTcDk.js +0 -7
  537. package/dist/ja-JP-DRYUrb3a.js +0 -7
  538. package/dist/ja-JP-DbHm_J96.js +0 -7
  539. package/dist/ja-JP-DxUBevNe.js +0 -59
  540. package/dist/ja-JP-WirIWnQi.js +0 -7
  541. package/dist/localizeDateString-AhjDnkHD.js +0 -35
  542. package/dist/location-CpaR6p3k.js +0 -23
  543. package/dist/lt-LT-4dQRWgMS.js +0 -7
  544. package/dist/lt-LT-BE20J_Fa.js +0 -59
  545. package/dist/lt-LT-RYz2_iMh.js +0 -7
  546. package/dist/lt-LT-lr-xOt-0.js +0 -7
  547. package/dist/lv-LV-7toRaVhs.js +0 -7
  548. package/dist/lv-LV-BXLZTnKa.js +0 -59
  549. package/dist/lv-LV-DykVV_JJ.js +0 -7
  550. package/dist/lv-LV-qidnvuKE.js +0 -7
  551. package/dist/mail-uoxYIc94.js +0 -20
  552. package/dist/mapExistingFile-DdeA1Ya3.js +0 -138
  553. package/dist/mapJpAddressSchemaToAddressLocalizations-DiB3xFfa.js +0 -61
  554. package/dist/mapLegalEntityToIndividualSchema-CK2d-XB-.js +0 -206
  555. package/dist/mapTransferInstrumentToPayoutAccount-5vTCCl4n.js +0 -44
  556. package/dist/minus-circle-filled-B_E6PncD.js +0 -30
  557. package/dist/nl-NL-BsMqXzW2.js +0 -7
  558. package/dist/nl-NL-BxRQSueu.js +0 -7
  559. package/dist/nl-NL-Ch1_Ho4H2.js +0 -7
  560. package/dist/nl-NL-DZOwYmdT.js +0 -59
  561. package/dist/no-NO-Bj-bFlwW.js +0 -59
  562. package/dist/no-NO-CMSuTQFP.js +0 -7
  563. package/dist/no-NO-CpQs6Kuj.js +0 -7
  564. package/dist/no-NO-CzUEYJ6T2.js +0 -7
  565. package/dist/omitObscuredFieldsIfUnchanged-B7VNFVgY.js +0 -20
  566. package/dist/options-horizontal-CDJtmlVY.js +0 -30
  567. package/dist/partner-gFUctV1k.js +0 -30
  568. package/dist/pay-by-link-plane-q4Bh-mWo.js +0 -33
  569. package/dist/payout-CpwcL7W1.js +0 -38
  570. package/dist/person-B3rmhreD.js +0 -23
  571. package/dist/phonePrefixes-j_kb1wJm.js +0 -252
  572. package/dist/pl-PL-BvYP_Mjz2.js +0 -7
  573. package/dist/pl-PL-CKZbiqpL.js +0 -7
  574. package/dist/pl-PL-D6XdYdXs.js +0 -7
  575. package/dist/pl-PL-v95qJZ7W.js +0 -59
  576. package/dist/plus-D1pu1FCh.js +0 -20
  577. package/dist/plus-circle-filled-BAKemMoO.js +0 -30
  578. package/dist/process-field-configurations-44gfzIGi.js +0 -279
  579. package/dist/processCapabilitites-BHzfFtSM.js +0 -869
  580. package/dist/pt-BR-B7FJvvCY2.js +0 -7
  581. package/dist/pt-BR-Dk284q8W.js +0 -7
  582. package/dist/pt-BR-DyYEeGVr.js +0 -7
  583. package/dist/pt-BR-w4XP2Zc2.js +0 -59
  584. package/dist/pt-PT-B0PlOQYf2.js +0 -7
  585. package/dist/pt-PT-DYQXla7J.js +0 -7
  586. package/dist/pt-PT-DYXnzP0x.js +0 -59
  587. package/dist/pt-PT-DfOrysaZ.js +0 -7
  588. package/dist/recurring-BqOZk0GH.js +0 -23
  589. package/dist/resolveEnvironment-CUQtdx0I.js +0 -1176
  590. package/dist/revenue-accelerate-CSszZfVF.js +0 -30
  591. package/dist/ro-RO-BXjIQG3P.js +0 -7
  592. package/dist/ro-RO-BZMTQGJJ2.js +0 -7
  593. package/dist/ro-RO-DUiDGCZU.js +0 -59
  594. package/dist/ro-RO-Dy9karNI.js +0 -7
  595. package/dist/save-BwoYyyYQ.js +0 -20
  596. package/dist/search-lRnoylK2.js +0 -30
  597. package/dist/show-Dpmp87ye.js +0 -23
  598. package/dist/singpass-logo--50WxD_p.js +0 -22
  599. package/dist/singpass-verification-instant-BHID0qRO.js +0 -175
  600. package/dist/singpass-verification-manual-DpefFA6C.js +0 -141
  601. package/dist/sk-SK-BPDMxREF2.js +0 -7
  602. package/dist/sk-SK-CJW-1wtq.js +0 -7
  603. package/dist/sk-SK-D2f2S35P.js +0 -7
  604. package/dist/sk-SK-DESgizdP.js +0 -59
  605. package/dist/sl-SI-BHztDEDm.js +0 -59
  606. package/dist/sl-SI-D8NMKaco.js +0 -7
  607. package/dist/sl-SI-DHQWrn6C2.js +0 -7
  608. package/dist/sl-SI-DHxcpzya.js +0 -7
  609. package/dist/solution-payments-DfH5DH9o.js +0 -20
  610. package/dist/store-mAgJeN44.js +0 -20
  611. package/dist/styles-9jxW7TiP.js +0 -5988
  612. package/dist/sv-SE-B_VHF1Ec.js +0 -7
  613. package/dist/sv-SE-Bre2IWV2.js +0 -7
  614. package/dist/sv-SE-DZq6vMfw2.js +0 -7
  615. package/dist/sv-SE-znK8JjXi.js +0 -59
  616. package/dist/terminal-1-BlqlENmQ.js +0 -30
  617. package/dist/translation-G4HP2nQW.js +0 -854
  618. package/dist/types/api/companyDataSet/constants.d.ts +0 -4
  619. package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +0 -5
  620. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.types.d.ts +0 -5
  621. package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +0 -4
  622. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +0 -24
  623. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +0 -31
  624. package/dist/types-BqFOt7-l.js +0 -58
  625. package/dist/types-CXceqQIv.js +0 -68
  626. package/dist/upload-CIujAxWY.js +0 -23
  627. package/dist/useAccountHolder-LttF1BJG.js +0 -102
  628. package/dist/useAllowedCountries-B2tXNxdL.js +0 -74
  629. package/dist/useAssociatedLegalEntity-Dav_4ehd.js +0 -35
  630. package/dist/useBusinessDetailsData-DmromzC6.js +0 -4395
  631. package/dist/useBusinessLines-DGr43nU6.js +0 -27
  632. package/dist/useCapabilities-C3Re0QHQ.js +0 -12
  633. package/dist/useCreateLegalEntity-u6NuumMd.js +0 -24
  634. package/dist/useDataMissingRemediations-Cv_4vV2R.js +0 -39
  635. package/dist/useDataset-DA7SoxiX.js +0 -96
  636. package/dist/useDeleteTransferInstrument-Me9ITlCM.js +0 -31
  637. package/dist/useForm-CTiDrzeg.js +0 -502
  638. package/dist/useFormContext-6LTkbLR1.js +0 -178
  639. package/dist/useGlobalData-KEb46I95.js +0 -164
  640. package/dist/useLegalEntity-Cj6C6bAI.js +0 -48
  641. package/dist/useMultiForm-CiK9l6YR.js +0 -754
  642. package/dist/useNavigate-B4pHnNyj.js +0 -268
  643. package/dist/useOnboardingStatus-BuYODvAM.js +0 -23
  644. package/dist/usePciQuestionnaireList-Bx5N4Ucf.js +0 -26
  645. package/dist/useSalesChannels-BV-gSBhb.js +0 -47
  646. package/dist/useScenarios-DVTHREqP.js +0 -55
  647. package/dist/useTaskStatus-BjqC1s3K.js +0 -51
  648. package/dist/useTermsOfServiceStatus-BLMY5p8c.js +0 -39
  649. package/dist/useTrustMembers-DbO0tmcu.js +0 -152
  650. package/dist/useUnincorporatedPartnershipMembers-Dzj3BDFI.js +0 -70
  651. package/dist/useUpdateBusinessLines-BfYwukg9.js +0 -296
  652. package/dist/useUpdateLegalEntity-oigX0fKz.js +0 -29
  653. package/dist/utils-BAuFBG3J.js +0 -88
  654. package/dist/utils-BU2d-Zzu.js +0 -805
  655. package/dist/utils-DXTGGW-J.js +0 -188
  656. package/dist/validate-9_4V5MhN.js +0 -387
  657. package/dist/validate-C1II14sz.js +0 -411
  658. package/dist/validationError-DhMlWpYp.js +0 -68
  659. package/dist/warning-circle-fill-B8syKAww.js +0 -30
  660. package/dist/warning-diamond-filled-D81TURTB.js +0 -30
  661. package/dist/webinar-CA8zN8_B.js +0 -33
  662. /package/dist/{AD-D_B1KZm9.js → AD-DB5nr9tP.js} +0 -0
  663. /package/dist/{AE-iKPgRx_9.js → AE-CJ7TIjDy.js} +0 -0
  664. /package/dist/{AI-CYjWGBKT.js → AI-BQpw7rma.js} +0 -0
  665. /package/dist/{AL-D62C5Lpk.js → AL-PjHuPrbQ.js} +0 -0
  666. /package/dist/{AR-BOgSvtgP.js → AR-CU2ICtA_.js} +0 -0
  667. /package/dist/{AS-Cg8Vujpc.js → AS-DfgHV8yp.js} +0 -0
  668. /package/dist/{AT-DMpxSE4g.js → AT-4efjzVQd.js} +0 -0
  669. /package/dist/{AT-CCRMRifN.js → AT-B4JuH6F8.js} +0 -0
  670. /package/dist/{AT-D3H5WGY3.js → AT-CE6zBm8a.js} +0 -0
  671. /package/dist/{AT-Doe66WxQ.js → AT-D1WwSgVU.js} +0 -0
  672. /package/dist/{AU-CiWB9qh-.js → AU-BGwU-xk-.js} +0 -0
  673. /package/dist/{AU-BcSu8pI2.js → AU-C2TwlbjI.js} +0 -0
  674. /package/dist/{AU-B77DgHQb.js → AU-CVPrMt74.js} +0 -0
  675. /package/dist/{AU-DAfj7Z58.js → AU-DOeJssMp.js} +0 -0
  676. /package/dist/{AX-CG8iviap.js → AX-DVfSmWhN.js} +0 -0
  677. /package/dist/{AZ-DIB7CvVN.js → AZ-DIcvAsVy.js} +0 -0
  678. /package/dist/{BA-C4vH4-x6.js → BA-DFu8JCnF.js} +0 -0
  679. /package/dist/{BE-Sbwjfh5h.js → BE-B3tlw4UG.js} +0 -0
  680. /package/dist/{BE-DJM3cj-R.js → BE-ByqDiJVH.js} +0 -0
  681. /package/dist/{BE-Dtk1wvHk.js → BE-Dlk7sUG1.js} +0 -0
  682. /package/dist/{BE-BvtnaSSH.js → BE-pkvQ7-pO.js} +0 -0
  683. /package/dist/{BG-DvFE-fU3.js → BG-zaw09oBT.js} +0 -0
  684. /package/dist/{BH-Bm_tXC8b.js → BH-ByuC-_Cy.js} +0 -0
  685. /package/dist/{BM-BPYI-Bk0.js → BM-FrOgBeTW.js} +0 -0
  686. /package/dist/{BR-CRGYlRY-.js → BR-BEePczcO.js} +0 -0
  687. /package/dist/{BR-CwJ6YXMX.js → BR-C5-D6J2w.js} +0 -0
  688. /package/dist/{BR-DjC4dRH8.js → BR-Ct9nSoqL.js} +0 -0
  689. /package/dist/{BR-DdZm-FhP.js → BR-Dj4uKD4L.js} +0 -0
  690. /package/dist/{BS-DEbfM7Fg.js → BS-BLCF5IzE.js} +0 -0
  691. /package/dist/{BV-LqWIWEV5.js → BV-Ball_EvD.js} +0 -0
  692. /package/dist/{BY-Dw4W1isS.js → BY-CYE3ET2j.js} +0 -0
  693. /package/dist/{CA-Cwit937J.js → CA-CFR8sryt.js} +0 -0
  694. /package/dist/{CA-D0ezsmfN.js → CA-CPN5GIEi.js} +0 -0
  695. /package/dist/{CA-CQtjbUjU.js → CA-CtmGXKXQ.js} +0 -0
  696. /package/dist/{CA-PLMbc5uq.js → CA-DjE9yebq.js} +0 -0
  697. /package/dist/{CH-Baaufs8O.js → CH-B5P_iJIO.js} +0 -0
  698. /package/dist/{CH-D9S1IpBs.js → CH-CYY8z2Ac.js} +0 -0
  699. /package/dist/{CH-DnoWGcl9.js → CH-DXcxyFgB.js} +0 -0
  700. /package/dist/{CH-DPLfVgsE.js → CH-HLgQqF6w.js} +0 -0
  701. /package/dist/{CN-Bx6shvCX.js → CN-CP7sf7YS.js} +0 -0
  702. /package/dist/{CR-CgM7Uut3.js → CR-QbBCoLqW.js} +0 -0
  703. /package/dist/{CY-CxBi1s-O.js → CY-C80hVF0V.js} +0 -0
  704. /package/dist/{CZ-DS5YfhO9.js → CZ-B4eytKxE.js} +0 -0
  705. /package/dist/{CZ-CbWqKLbR.js → CZ-BGE7k-cb.js} +0 -0
  706. /package/dist/{CZ-B3oiWDug.js → CZ-Dja4qwcT.js} +0 -0
  707. /package/dist/{CZ-B8nb2PxI.js → CZ-YWMbXtXr.js} +0 -0
  708. /package/dist/{ContractViewer-zPVipxCC.js → ContractViewer-Bm8_7yzG.js} +0 -0
  709. /package/dist/{DE-SZPlEjww.js → DE-DMd-G1qV.js} +0 -0
  710. /package/dist/{DE-NkKgh0-y.js → DE-w2hYM5oM.js} +0 -0
  711. /package/dist/{DK-CB_26cPx.js → DK-BCGM05gZ.js} +0 -0
  712. /package/dist/{DK-CO2QUqp2.js → DK-DSnMDq6I.js} +0 -0
  713. /package/dist/{DK-CikJtsBF.js → DK-Ljpod950.js} +0 -0
  714. /package/dist/{DK-DAYxZyrn.js → DK-eIIuE_Ae.js} +0 -0
  715. /package/dist/{DO-DWjKCR-x.js → DO-DtMkGZOf.js} +0 -0
  716. /package/dist/{DetailViewLayout-Cz3FVZ5a.js → DetailViewLayout-Dd5YzmcW.js} +0 -0
  717. /package/dist/{Divider-CrK4vlsJ.js → Divider-DMwncntz.js} +0 -0
  718. /package/dist/{EC-CCGvbVWA.js → EC-BXvXPzDj.js} +0 -0
  719. /package/dist/{EE-DebeWn2E.js → EE-CVByoRMi.js} +0 -0
  720. /package/dist/{ES-DXLZWZXA.js → ES-CUnZIEd0.js} +0 -0
  721. /package/dist/{ES-m71Tl7fE.js → ES-DeyB_elh.js} +0 -0
  722. /package/dist/{ES-D2CBh7YF.js → ES-Y_7i9YXf.js} +0 -0
  723. /package/dist/{ES-Bf5fpQJJ.js → ES-iJqNvrUi.js} +0 -0
  724. /package/dist/{FI-L14G4S91.js → FI-BWqqCJsb.js} +0 -0
  725. /package/dist/{FI-_CR_F2Ml.js → FI-CYEGXSok.js} +0 -0
  726. /package/dist/{FI-Clx-zbKe.js → FI-E_ZyfJ7t.js} +0 -0
  727. /package/dist/{FI-Cbz5-l9v.js → FI-MY2FM2Ba.js} +0 -0
  728. /package/dist/{FJ-BKLmDeVh.js → FJ-dwvq-g41.js} +0 -0
  729. /package/dist/{FO-D7VnFgWu.js → FO-CWQ0W1H6.js} +0 -0
  730. /package/dist/{FR-wqLTqKJj.js → FR-D-sCwq5T.js} +0 -0
  731. /package/dist/{FR-D2lGCnJC.js → FR-DjzV5rWM.js} +0 -0
  732. /package/dist/{FR-DwVflgGw.js → FR-O_hbmwJW.js} +0 -0
  733. /package/dist/{FR-D2zQy3jq.js → FR-uHAf38N_.js} +0 -0
  734. /package/dist/{GB-CIqAOZg5.js → GB-B_yGxbz9.js} +0 -0
  735. /package/dist/{GB-CVb-Rw8a.js → GB-BogW6TU0.js} +0 -0
  736. /package/dist/{GB-DD4csU-b.js → GB-D9JlI1Pd.js} +0 -0
  737. /package/dist/{GB-BX3mPDDS.js → GB-nAqfhFIu.js} +0 -0
  738. /package/dist/{GE-D02s-9eo.js → GE-DI1v7mo0.js} +0 -0
  739. /package/dist/{GF-BcHxbxvv.js → GF-B610wYeJ.js} +0 -0
  740. /package/dist/{GG-C3cx2hzZ.js → GG-CilWz47C.js} +0 -0
  741. /package/dist/{GI-D_DZhrwe.js → GI-DFtvvGTY.js} +0 -0
  742. /package/dist/{GL-BUOXwUJ0.js → GL-D36pp53C.js} +0 -0
  743. /package/dist/{GP-CmZCjGab.js → GP-yyCziKB4.js} +0 -0
  744. /package/dist/{GR-BxjWJl4T.js → GR-BxzVHYz8.js} +0 -0
  745. /package/dist/{GT-C_l7WI2f.js → GT-QLXEWmtP.js} +0 -0
  746. /package/dist/{GU-7zSp4NP8.js → GU-jrvpoyb9.js} +0 -0
  747. /package/dist/{HK-dz43_PmR.js → HK-7piAoW_I.js} +0 -0
  748. /package/dist/{HK-DXmjOLnc.js → HK-Bds0tONE.js} +0 -0
  749. /package/dist/{HK-Dc3v2ZB0.js → HK-_r_OF-9C.js} +0 -0
  750. /package/dist/{HK-D5lgUGIW.js → HK-sOnb583U.js} +0 -0
  751. /package/dist/{HR-D3ZZV7I7.js → HR-BCfmzAgq.js} +0 -0
  752. /package/dist/{HR-BvWaw8qz.js → HR-BDdXb-_o.js} +0 -0
  753. /package/dist/{HR-SfBt4kaq.js → HR-BK-Ftu3Y.js} +0 -0
  754. /package/dist/{HR-ChipU8Kr.js → HR-CSBA8yzB.js} +0 -0
  755. /package/dist/{HU-CzI3Elvd.js → HU-CXMDpfpO.js} +0 -0
  756. /package/dist/{HU-9NTdjUUV.js → HU-CzYTCtjV.js} +0 -0
  757. /package/dist/{HU-1UX4rgmz.js → HU-DNz6LyOy.js} +0 -0
  758. /package/dist/{HU-wpmPNNka.js → HU-LjAmjKXg.js} +0 -0
  759. /package/dist/{ID-O2T9tbLO.js → ID-Dl7g2Ppa.js} +0 -0
  760. /package/dist/{IE-OqeqXlhV.js → IE-BLIooyFf.js} +0 -0
  761. /package/dist/{IE-Cw9l0506.js → IE-CmK-C0yz.js} +0 -0
  762. /package/dist/{IE-CRaBXxhc.js → IE-CzscvH5E.js} +0 -0
  763. /package/dist/{IE-DWpH_5Cq.js → IE-DQX622ez.js} +0 -0
  764. /package/dist/{IL-1hVGBOhQ.js → IL-Cfpmk1v7.js} +0 -0
  765. /package/dist/{IM-B1t_Q0mE.js → IM-C2sXmVTc.js} +0 -0
  766. /package/dist/{IN-BAGr7C88.js → IN-DilwgNAy.js} +0 -0
  767. /package/dist/{IS-C97KS-Cn.js → IS-CFtJpGcN.js} +0 -0
  768. /package/dist/{IT-b5Hsdl6Z.js → IT-BlfPdNZf.js} +0 -0
  769. /package/dist/{IT-GLNikVmY.js → IT-DKj3BSzv.js} +0 -0
  770. /package/dist/{IT-Bqf_SGsX.js → IT-ZNOnAgQx.js} +0 -0
  771. /package/dist/{IT-PBgScy3E.js → IT-fTjXyL20.js} +0 -0
  772. /package/dist/{InputGroup-2FJnD0LO.js → InputGroup-CVYzCygf.js} +0 -0
  773. /package/dist/{JE-D9zaTrAY.js → JE-X57q_Fdk.js} +0 -0
  774. /package/dist/{JM-6zLyaeVi.js → JM-Bx2hppi2.js} +0 -0
  775. /package/dist/{JO-BdNdFHnL.js → JO-DhBlXP2F.js} +0 -0
  776. /package/dist/{JP-znYbtZMc.js → JP-UnxSZuO9.js} +0 -0
  777. /package/dist/{KR-xcUi-9h2.js → KR-D3U_AtZT.js} +0 -0
  778. /package/dist/{KW-3DCYRJ53.js → KW-m7bxO2Xa.js} +0 -0
  779. /package/dist/{KY-CCApxZ6r.js → KY-CpUXfGcI.js} +0 -0
  780. /package/dist/{KZ-Cqr8yPqY.js → KZ-C8RUkmV6.js} +0 -0
  781. /package/dist/{LB-R74h2pUy.js → LB-BRrDvnrf.js} +0 -0
  782. /package/dist/{LI-D9H9hvDG.js → LI-BN5PGW_H.js} +0 -0
  783. /package/dist/{LT-COGUxKB6.js → LT-BD32wyXh.js} +0 -0
  784. /package/dist/{LT-DkKeNYqC.js → LT-Cm6wbvw_.js} +0 -0
  785. /package/dist/{LT-CDQI5_NM.js → LT-CmyEYM7z.js} +0 -0
  786. /package/dist/{LT-Dq5I_vLb.js → LT-CnQZpkC8.js} +0 -0
  787. /package/dist/{LU-B7-x8Llo.js → LU-Bi4L1b9z.js} +0 -0
  788. /package/dist/{LV-DAzwuNGM.js → LV-ukOdBuwo.js} +0 -0
  789. /package/dist/{MC-DYg2Ld6N.js → MC-EQ1jmHjl.js} +0 -0
  790. /package/dist/{MD-BSGq8uEc.js → MD-DxAeNcG8.js} +0 -0
  791. /package/dist/{ME-CMYolexb.js → ME-CvndvtiG.js} +0 -0
  792. /package/dist/{MK-KXTP17uw.js → MK-sohc7De9.js} +0 -0
  793. /package/dist/{MP-CJH5I9LN.js → MP-CCltX7ag.js} +0 -0
  794. /package/dist/{MQ-B-Nxd16T.js → MQ-DonPA9tN.js} +0 -0
  795. /package/dist/{MR-9gjgEzl5.js → MR-Bh6ZCghL.js} +0 -0
  796. /package/dist/{MT-DCvbkYrX.js → MT-LIvGhW6j.js} +0 -0
  797. /package/dist/{MU-CVDBPgAP.js → MU-kys50fwN.js} +0 -0
  798. /package/dist/{MX-B8dPVdJo.js → MX-UvvHVHCC.js} +0 -0
  799. /package/dist/{MY-DcfNGXIG.js → MY-B6EJ4miK.js} +0 -0
  800. /package/dist/{NC-DQQUjrGe.js → NC-D78ykfoF.js} +0 -0
  801. /package/dist/{NL-Bu5_sjR1.js → NL-B4viFWts.js} +0 -0
  802. /package/dist/{NL-McMEOXeg.js → NL-B5Jdha1b.js} +0 -0
  803. /package/dist/{NL-DQR9Rrua.js → NL-C1hyj3uD.js} +0 -0
  804. /package/dist/{NL-CMB4A6y3.js → NL-Cq2QKj_R.js} +0 -0
  805. /package/dist/{NO-Pppylsvl.js → NO-Cx28Ws5i.js} +0 -0
  806. /package/dist/{NO-CKPHTYW8.js → NO-DWhh9Air.js} +0 -0
  807. /package/dist/{NO-C1lR0Cpn.js → NO-H-zekTG-.js} +0 -0
  808. /package/dist/{NO-DAvhrELf.js → NO-Pyh5_V7y.js} +0 -0
  809. /package/dist/{NZ-BLYvv2PK.js → NZ-3UV4o2z9.js} +0 -0
  810. /package/dist/{NZ-BuvPkC2r.js → NZ-7A0F7nHF.js} +0 -0
  811. /package/dist/{PE-J7zWKbQ3.js → PE-DHm86V9n.js} +0 -0
  812. /package/dist/{PF-CQvMXWIc.js → PF-CPMgKxu3.js} +0 -0
  813. /package/dist/{PH-CsAkleLZ.js → PH-B_NakBgs.js} +0 -0
  814. /package/dist/{PK-pnVCB70L.js → PK-CcdXkTsY.js} +0 -0
  815. /package/dist/{PL-D6iB2qQS.js → PL-B-r78jqe.js} +0 -0
  816. /package/dist/{PL-BIkD7ly2.js → PL-BXdTON9P.js} +0 -0
  817. /package/dist/{PL-DdsUKlRx.js → PL-D9Kpjom5.js} +0 -0
  818. /package/dist/{PL-Cfpb3P4Y.js → PL-DqbLsWwr.js} +0 -0
  819. /package/dist/{PM-DXhRSYlY.js → PM-C-GliGAO.js} +0 -0
  820. /package/dist/{PR-BJTR9010.js → PR-JCXbpE0b.js} +0 -0
  821. /package/dist/{PS-Bb7ensjm.js → PS-D62VdZaN.js} +0 -0
  822. /package/dist/{PT-iBbOYasm.js → PT-CTHCZX6D.js} +0 -0
  823. /package/dist/{PT-D_mzbSbR.js → PT-D9big47n.js} +0 -0
  824. /package/dist/{PT-Bqv36Ez0.js → PT-DD2rFBMf.js} +0 -0
  825. /package/dist/{PT-DMau-7AE.js → PT-JGHvjgoQ.js} +0 -0
  826. /package/dist/{QA-Cya8smAe.js → QA-CeWT26tF.js} +0 -0
  827. /package/dist/{RE-DV-Olrl9.js → RE-DSGfn_pm.js} +0 -0
  828. /package/dist/{RO-D29rc5pZ.js → RO-2Z925JkN.js} +0 -0
  829. /package/dist/{RO-7ngAIZ4E.js → RO-BX6cRBo0.js} +0 -0
  830. /package/dist/{RO-JvqtRH2p.js → RO-ClR_J1im.js} +0 -0
  831. /package/dist/{RO-Nqdvv0rk.js → RO-iqYS6MK1.js} +0 -0
  832. /package/dist/{RS-Bdspw_Te.js → RS-B2iIit5I.js} +0 -0
  833. /package/dist/{RU-2VREcND8.js → RU-dSs63sUC.js} +0 -0
  834. /package/dist/{SA-ONrtr4dq.js → SA-D2c21Lvo.js} +0 -0
  835. /package/dist/{SE-Bp9QG9OZ.js → SE-B9Ci8NDi.js} +0 -0
  836. /package/dist/{SE-CjCMy1R-.js → SE-KYCakrsZ.js} +0 -0
  837. /package/dist/{SE-CfwjGhj2.js → SE-P9xbQO4o.js} +0 -0
  838. /package/dist/{SE-CspSL4-O.js → SE-gc_M1IUS.js} +0 -0
  839. /package/dist/{SG-BSxtCx98.js → SG-3-TYykP-.js} +0 -0
  840. /package/dist/{SG-W9jzYBBR.js → SG-BdyiGgTo.js} +0 -0
  841. /package/dist/{SG-Cte5jgnm.js → SG-BgkMHf8k.js} +0 -0
  842. /package/dist/{SG-Bx4a8mSG.js → SG-DqvdUiWw.js} +0 -0
  843. /package/dist/{SI-ClAvsgGs.js → SI-B6tdfn5Z.js} +0 -0
  844. /package/dist/{SI-DuER-ftQ.js → SI-BLo3mGXB.js} +0 -0
  845. /package/dist/{SI-D_WmP1xi.js → SI-CZicy3TO.js} +0 -0
  846. /package/dist/{SI-CjPVM480.js → SI-HuUerVbj.js} +0 -0
  847. /package/dist/{SJ-DRle19p-.js → SJ-yb3-jDZT.js} +0 -0
  848. /package/dist/{SK-KhQnqXtK.js → SK-CWOi0nV4.js} +0 -0
  849. /package/dist/{SK-BXY1VMKv.js → SK-Cde9pJdY.js} +0 -0
  850. /package/dist/{SK-CFssz9bO.js → SK-D8pAx-Kv.js} +0 -0
  851. /package/dist/{SK-CP4lBBly.js → SK-MOEK5YmF.js} +0 -0
  852. /package/dist/{SM-v_4Yc2mM.js → SM-BBKV-_UA.js} +0 -0
  853. /package/dist/{TF-BhrG4wMf.js → TF-B0dgTCfm.js} +0 -0
  854. /package/dist/{TH-Dnjjl0vl.js → TH-CmVSlUuX.js} +0 -0
  855. /package/dist/{TL-DV3_HDbD.js → TL-nRB_lM2i.js} +0 -0
  856. /package/dist/{TN-CvaVweYw.js → TN-CGwMdeBx.js} +0 -0
  857. /package/dist/{TR-BAvGXlpl.js → TR-B-J7KAnx.js} +0 -0
  858. /package/dist/{TT-DRIx1q2s.js → TT-Cd6NBPP1.js} +0 -0
  859. /package/dist/{TW-DRf29Guu.js → TW-BQVlyIhq.js} +0 -0
  860. /package/dist/{Tag-BUoDHC4C.js → Tag-BhU73i1R.js} +0 -0
  861. /package/dist/{UA-Ba88l6Xd.js → UA-BAfANYki.js} +0 -0
  862. /package/dist/{US-QONZX-gV.js → US-CpwACQXZ.js} +0 -0
  863. /package/dist/{US-Df5L2r8F.js → US-CqkPo4au.js} +0 -0
  864. /package/dist/{US-m2RymYgz.js → US-DqDIO6Fs.js} +0 -0
  865. /package/dist/{US-CKehaXnS.js → US-DqKhjxWO.js} +0 -0
  866. /package/dist/{UY-C7OqeI1W.js → UY-CqTNFGkq.js} +0 -0
  867. /package/dist/{VA-kEhphxOY.js → VA-BOTo9AUe.js} +0 -0
  868. /package/dist/{VG-9RtXQCNA.js → VG-DGXnBmqr.js} +0 -0
  869. /package/dist/{VI-Dtn9fHsy.js → VI-D8j8IzJs.js} +0 -0
  870. /package/dist/{VN-CQ52lXXR.js → VN-wC6sHs21.js} +0 -0
  871. /package/dist/{WF-D5AVATSv.js → WF-Cv-zZiEX.js} +0 -0
  872. /package/dist/{YT-B9qrlCqK.js → YT-BJrZCXu7.js} +0 -0
  873. /package/dist/{ZA-CZ_c0XHc.js → ZA-BU2vcyD6.js} +0 -0
  874. /package/dist/{bg-BG-DqWeAqky.js → bg-BG-B4UENfME.js} +0 -0
  875. /package/dist/{bg-BG-Ckeu3dBt.js → bg-BG-BTLje0t8.js} +0 -0
  876. /package/dist/{bg-BG-DnMyf-n3.js → bg-BG-BTOD22Qv.js} +0 -0
  877. /package/dist/{bg-BG-ymvx5WWi.js → bg-BG-Bayyn2Vj.js} +0 -0
  878. /package/dist/{bg-BG-C0wzRs18.js → bg-BG-BlOJQ7iZ.js} +0 -0
  879. /package/dist/{bg-BG-CN_UREwh.js → bg-BG-BrldKcYl.js} +0 -0
  880. /package/dist/{bg-BG-D2t5UzpH.js → bg-BG-CMHh_f-9.js} +0 -0
  881. /package/dist/{bg-BG-B67nlf6n.js → bg-BG-DaiKPUAP.js} +0 -0
  882. /package/dist/{bg-BG-BxkwIoTQ.js → bg-BG-Doq5SqNZ.js} +0 -0
  883. /package/dist/{bg-BG-DQPBlfB6.js → bg-BG-DxgO5P4C.js} +0 -0
  884. /package/dist/{business-lines-BYTyy_mD.js → business-lines-D2Cf_2Uz.js} +0 -0
  885. /package/dist/{cs-CZ-BJQndp5g.js → cs-CZ-BKxJwZfp.js} +0 -0
  886. /package/dist/{cs-CZ-CgD-Dni9.js → cs-CZ-BewEGSI7.js} +0 -0
  887. /package/dist/{cs-CZ-DerpXyW7.js → cs-CZ-CKjEL0Uh.js} +0 -0
  888. /package/dist/{cs-CZ-Cf3RE2Kz.js → cs-CZ-CNCOzk0z.js} +0 -0
  889. /package/dist/{cs-CZ-EALbGC0P.js → cs-CZ-ClrALb5y.js} +0 -0
  890. /package/dist/{cs-CZ-y--aL5tG.js → cs-CZ-CtEcakjz.js} +0 -0
  891. /package/dist/{cs-CZ-D0tlzysb.js → cs-CZ-CyvOwxhe.js} +0 -0
  892. /package/dist/{cs-CZ-BSCmFoe-.js → cs-CZ-DEgPgybF.js} +0 -0
  893. /package/dist/{cs-CZ-nVt_3Wsc.js → cs-CZ-Dit1sTZS.js} +0 -0
  894. /package/dist/{cs-CZ-B0PS89aw.js → cs-CZ-DlGWvcHs.js} +0 -0
  895. /package/dist/{currency-DNgyvN7z.js → currency-CfIDpZh9.js} +0 -0
  896. /package/dist/{da-DK-DSrFDOG3.js → da-DK-1WDwSuvK.js} +0 -0
  897. /package/dist/{da-DK-DcplyxCd.js → da-DK-B4yaF8i0.js} +0 -0
  898. /package/dist/{da-DK-Cu2Bi6Q7.js → da-DK-CSuIOYvv.js} +0 -0
  899. /package/dist/{da-DK-DbpZoBrp.js → da-DK-CUdNKP_y.js} +0 -0
  900. /package/dist/{da-DK-gVDOt4Mx.js → da-DK-C_3U-U_o.js} +0 -0
  901. /package/dist/{da-DK-Bdp8gkhn.js → da-DK-CfGOWrfh.js} +0 -0
  902. /package/dist/{da-DK-B_qoG-tX.js → da-DK-Cn-jl2Cb.js} +0 -0
  903. /package/dist/{da-DK-niSqcowC.js → da-DK-Cp1cdZTG.js} +0 -0
  904. /package/dist/{da-DK-DgFOdais.js → da-DK-Dq9DBbxy.js} +0 -0
  905. /package/dist/{da-DK-DFjTxgfg.js → da-DK-FIY6i3zy.js} +0 -0
  906. /package/dist/{de-DE-CJAVduiD.js → de-DE-8TTs3M7a.js} +0 -0
  907. /package/dist/{de-DE-CSfZ-fLe.js → de-DE-BgtEAyle.js} +0 -0
  908. /package/dist/{de-DE-BVoU3x7q.js → de-DE-BijX4bA6.js} +0 -0
  909. /package/dist/{de-DE-CPjVxwLK.js → de-DE-BnAkTJpS.js} +0 -0
  910. /package/dist/{de-DE-Ccbobm6F.js → de-DE-Cb9uR42z.js} +0 -0
  911. /package/dist/{de-DE-DLpDehXu.js → de-DE-Cfa03DOz.js} +0 -0
  912. /package/dist/{de-DE-KXIXcUTs.js → de-DE-DIAsDD5Z.js} +0 -0
  913. /package/dist/{de-DE-BsZOOvbi.js → de-DE-DLQs11Hz.js} +0 -0
  914. /package/dist/{de-DE-DXLRcNXw.js → de-DE-KstYakJ3.js} +0 -0
  915. /package/dist/{de-DE-Qs8eQGQS.js → de-DE-UxQXcw2Z.js} +0 -0
  916. /package/dist/{de-DE-Bsrf1Qk-.js → de-DE-ZWLyKP5G.js} +0 -0
  917. /package/dist/{decision-makers-group-Cof9scJd.js → decision-makers-group-BLkUEz0w.js} +0 -0
  918. /package/dist/{digital-wallet-BXDAhThn.js → digital-wallet-CI3K9Uw0.js} +0 -0
  919. /package/dist/{document-blurred-LCBsN2NC.js → document-blurred-B-Wt2Pm6.js} +0 -0
  920. /package/dist/{document-cut-off-wsPtcq1x.js → document-cut-off-B6ZR7USy.js} +0 -0
  921. /package/dist/{document-expired-CvTJKcZr.js → document-expired-hBQfwBk_.js} +0 -0
  922. /package/dist/{document-front-BHCo0w58.js → document-front-C-0BBlnD.js} +0 -0
  923. /package/dist/{el-GR-C7o9YGzw.js → el-GR-B45eXweN.js} +0 -0
  924. /package/dist/{el-GR-D9AagIjI.js → el-GR-BIJ5syl-.js} +0 -0
  925. /package/dist/{el-GR-DvgAQImQ.js → el-GR-BaFJE4xB.js} +0 -0
  926. /package/dist/{el-GR-BUGibSyd.js → el-GR-DKvfOcBT.js} +0 -0
  927. /package/dist/{el-GR-DZuLkaBp.js → el-GR-DOSF9KOE.js} +0 -0
  928. /package/dist/{el-GR-Doj3UHZu.js → el-GR-DSmTVw3A.js} +0 -0
  929. /package/dist/{el-GR-CN3HrU9J.js → el-GR-DhmD_M7I.js} +0 -0
  930. /package/dist/{el-GR-CNDZGVN3.js → el-GR-JdIfiWWD.js} +0 -0
  931. /package/dist/{el-GR-C-HtCTGV.js → el-GR-SFcfMp0Q.js} +0 -0
  932. /package/dist/{el-GR-B1VnihMi.js → el-GR-WE5RvoaZ.js} +0 -0
  933. /package/dist/{el-GR-DRbd6eXu.js → el-GR-no-mXzHz.js} +0 -0
  934. /package/dist/{emitEvent-B8K0cb1F.js → emitEvent-Cdd95HOT.js} +0 -0
  935. /package/dist/{en-US-IxvcS3bq.js → en-US-5p2iDJhN.js} +0 -0
  936. /package/dist/{en-US-CwN7_Z6A.js → en-US-B8NkYtpw.js} +0 -0
  937. /package/dist/{en-US-Rnj0uOlI.js → en-US-BT_egPzn.js} +0 -0
  938. /package/dist/{en-US-DH-5G1L0.js → en-US-BeS_zqnX.js} +0 -0
  939. /package/dist/{en-US-BgLFeko-.js → en-US-CJI3UFnZ.js} +0 -0
  940. /package/dist/{en-US-D6psKu6Y.js → en-US-Cq8S64a_.js} +0 -0
  941. /package/dist/{en-US-Cwp_kAIu.js → en-US-Cv8_OsAw.js} +0 -0
  942. /package/dist/{en-US-3j1Js4vT.js → en-US-Cya3hns9.js} +0 -0
  943. /package/dist/{en-US-Bg9gdBEC.js → en-US-DBiYkRmE.js} +0 -0
  944. /package/dist/{en-US-B3MAOxZH.js → en-US-DNp65pGY.js} +0 -0
  945. /package/dist/{en-US-CEBexxFl.js → en-US-DRNwZI6c.js} +0 -0
  946. /package/dist/{en-US-hCtMObDn.js → en-US-DlwEfQT_.js} +0 -0
  947. /package/dist/{en-US-BWMrfrd7.js → en-US-DtWDVC_l.js} +0 -0
  948. /package/dist/{en-US-C81RZMm3.js → en-US-DuN8U_xd.js} +0 -0
  949. /package/dist/{en-US-D1y6M9AI.js → en-US-EATAFzTk.js} +0 -0
  950. /package/dist/{en-US-rEquAkrM.js → en-US-Mma5wIWL.js} +0 -0
  951. /package/dist/{en-US-RJmb2nTR.js → en-US-Y8C6Dmuq.js} +0 -0
  952. /package/dist/{en-US-DqbNEPfm.js → en-US-f2kgWe84.js} +0 -0
  953. /package/dist/{en-US-CnVk6lVt.js → en-US-rKfA1z58.js} +0 -0
  954. /package/dist/{en-US-jcuu40kx.js → en-US-sJXY3-OZ.js} +0 -0
  955. /package/dist/{en-US.instructions-C5xXRJDu.js → en-US.instructions-DJharl6b.js} +0 -0
  956. /package/dist/{en-US.instructions-Bh8SYzc5.js → en-US.instructions-HI_HXwIA.js} +0 -0
  957. /package/dist/{es-ES-D-n6xoWo.js → es-ES-4opI0QUT.js} +0 -0
  958. /package/dist/{es-ES-BkeAb5PG.js → es-ES-BUSxmdKa.js} +0 -0
  959. /package/dist/{es-ES-H0DZcC1K.js → es-ES-C9ahP89x.js} +0 -0
  960. /package/dist/{es-ES-CLr_KwxQ.js → es-ES-CKWpTQva.js} +0 -0
  961. /package/dist/{es-ES-hX5WUfzS.js → es-ES-CaHa-8Wb.js} +0 -0
  962. /package/dist/{es-ES-DWjfZmTj.js → es-ES-CgcvvmLv.js} +0 -0
  963. /package/dist/{es-ES-DKenRcq3.js → es-ES-Cigb2wKi.js} +0 -0
  964. /package/dist/{es-ES-B7uIo7kE.js → es-ES-DOQIN_Pf.js} +0 -0
  965. /package/dist/{es-ES-D1vAd-8r.js → es-ES-DadFxwkn.js} +0 -0
  966. /package/dist/{es-ES-Bwj2MUyM.js → es-ES-DyrLbt2G.js} +0 -0
  967. /package/dist/{es-ES-8AtDNr6X.js → es-ES-I6sgbCZT.js} +0 -0
  968. /package/dist/{et-EE-Du3REm6O.js → et-EE-9bkSuMa4.js} +0 -0
  969. /package/dist/{et-EE-Cs__RUB9.js → et-EE-ASxV620T.js} +0 -0
  970. /package/dist/{et-EE-CWGint-T.js → et-EE-BM23BrCu.js} +0 -0
  971. /package/dist/{et-EE-CfheEJAy.js → et-EE-BeU-JlIv.js} +0 -0
  972. /package/dist/{et-EE-_uLrdnTi.js → et-EE-BfEYv_4i.js} +0 -0
  973. /package/dist/{et-EE-BSAr_xVc.js → et-EE-BtoIECkX.js} +0 -0
  974. /package/dist/{et-EE-Mp-OiQL2.js → et-EE-CjKIw3AU.js} +0 -0
  975. /package/dist/{et-EE-CNNN-M_x.js → et-EE-CmMB9hVL.js} +0 -0
  976. /package/dist/{et-EE-DmlaKK4B.js → et-EE-DM6LdueH.js} +0 -0
  977. /package/dist/{et-EE-DsLOML8r.js → et-EE-DoE8YNk_.js} +0 -0
  978. /package/dist/{fi-FI-Bx1S9eQf.js → fi-FI-B2a7jEBx.js} +0 -0
  979. /package/dist/{fi-FI-BKXhGjNk.js → fi-FI-B78n6HpV.js} +0 -0
  980. /package/dist/{fi-FI-BcdVq2e0.js → fi-FI-BALtktMY.js} +0 -0
  981. /package/dist/{fi-FI-BY9X2DpF.js → fi-FI-CUapPvf9.js} +0 -0
  982. /package/dist/{fi-FI-Dy_bfWw7.js → fi-FI-D1E8MJUW.js} +0 -0
  983. /package/dist/{fi-FI-Cl1vbAPV.js → fi-FI-DFDdEnkT.js} +0 -0
  984. /package/dist/{fi-FI-1nGlfW_t.js → fi-FI-DKJi4py_.js} +0 -0
  985. /package/dist/{fi-FI-pvpGl_6s.js → fi-FI-YpLcMuZy.js} +0 -0
  986. /package/dist/{fi-FI-iyr94E5r.js → fi-FI-qP49OAGS.js} +0 -0
  987. /package/dist/{fi-FI-DdyNwoGb.js → fi-FI-whtJ_DRy.js} +0 -0
  988. /package/dist/{form-rules-CvdV5rPY.js → form-rules-ZiRm6ke_.js} +0 -0
  989. /package/dist/{fr-FR-DcXwaT3d.js → fr-FR-06Yp4eGU.js} +0 -0
  990. /package/dist/{fr-FR-Ta6QBpqt.js → fr-FR-B3vqlNZF.js} +0 -0
  991. /package/dist/{fr-FR-DksMI4zV.js → fr-FR-CIKDSi33.js} +0 -0
  992. /package/dist/{fr-FR-CEWcwAJ-.js → fr-FR-CK15MC1P.js} +0 -0
  993. /package/dist/{fr-FR-CMMz7OEo.js → fr-FR-CWBeJe7e.js} +0 -0
  994. /package/dist/{fr-FR-DC_PZPwP.js → fr-FR-Cjf6-Jyc.js} +0 -0
  995. /package/dist/{fr-FR-DzjwEGsx.js → fr-FR-D0u4AlOp.js} +0 -0
  996. /package/dist/{fr-FR-B9xNxWia.js → fr-FR-D34baGa-.js} +0 -0
  997. /package/dist/{fr-FR-DL8mtS3r.js → fr-FR-DvCNUz7O.js} +0 -0
  998. /package/dist/{fr-FR-DKjCgBfS.js → fr-FR-JIF28b7U.js} +0 -0
  999. /package/dist/{fr-FR-CqbeB381.js → fr-FR-SabLrXSF.js} +0 -0
  1000. /package/dist/{funds-in-04OBDLJw.js → funds-in-CAnTUH27.js} +0 -0
  1001. /package/dist/{house-BfjiK4vF.js → house-g9QDTtcl.js} +0 -0
  1002. /package/dist/{hr-HR-CJHkB1ko.js → hr-HR-B0eeXkQr.js} +0 -0
  1003. /package/dist/{hr-HR-Ck-S-k5d.js → hr-HR-BnhnItTZ.js} +0 -0
  1004. /package/dist/{hr-HR-FHDzcIUl.js → hr-HR-C0bGzQNB.js} +0 -0
  1005. /package/dist/{hr-HR-EhBzx8FM.js → hr-HR-C12BPU_3.js} +0 -0
  1006. /package/dist/{hr-HR-BqNvRwoc.js → hr-HR-C4LLZhRc.js} +0 -0
  1007. /package/dist/{hr-HR-D0Xp4lTU.js → hr-HR-C4sBzG1i.js} +0 -0
  1008. /package/dist/{hr-HR-B8MiNFt0.js → hr-HR-C7vNP6kG.js} +0 -0
  1009. /package/dist/{hr-HR-Bp5qQwHS.js → hr-HR-Cv9n6lNS.js} +0 -0
  1010. /package/dist/{hr-HR-pOpa3-4-.js → hr-HR-FCvgQhQb.js} +0 -0
  1011. /package/dist/{hr-HR-CMcgajLG.js → hr-HR-mQCFA1Pe.js} +0 -0
  1012. /package/dist/{hu-HU-C-gD2scj.js → hu-HU-1NJpWkUj.js} +0 -0
  1013. /package/dist/{hu-HU-HNscNs5I.js → hu-HU-40vuNto8.js} +0 -0
  1014. /package/dist/{hu-HU-Cq3L3459.js → hu-HU-BcBrcjkc.js} +0 -0
  1015. /package/dist/{hu-HU-DG9r7Yn5.js → hu-HU-BrwdCVwT.js} +0 -0
  1016. /package/dist/{hu-HU-u7Q5hZ8M.js → hu-HU-CeloZXjg.js} +0 -0
  1017. /package/dist/{hu-HU-xJ7HEjBk.js → hu-HU-DBqKyuYs.js} +0 -0
  1018. /package/dist/{hu-HU-BOCGei6J.js → hu-HU-DgjvclPA.js} +0 -0
  1019. /package/dist/{hu-HU-BF3I2cDh.js → hu-HU-DmlhDBmZ.js} +0 -0
  1020. /package/dist/{hu-HU-DZmGYcpb.js → hu-HU-LQ4-J73z.js} +0 -0
  1021. /package/dist/{hu-HU-DZnrPw7M.js → hu-HU-is6BaLdQ.js} +0 -0
  1022. /package/dist/{id-blurred-DajPeUev.js → id-blurred-8OIg137Y.js} +0 -0
  1023. /package/dist/{id-cut-off-Cg7VH88-.js → id-cut-off-BzOwUOl_.js} +0 -0
  1024. /package/dist/{id-front-BFiC6TLx.js → id-front-Bfirxdas.js} +0 -0
  1025. /package/dist/{id-glare--tl3DxTG.js → id-glare-LAYtTogY.js} +0 -0
  1026. /package/dist/{isEmpty-DFUWFV4h.js → isEmpty-Dw2W8jeR.js} +0 -0
  1027. /package/dist/{it-IT-BVcopRE0.js → it-IT-B3v42hPz.js} +0 -0
  1028. /package/dist/{it-IT-CKYkplGl.js → it-IT-BQYdAY1h.js} +0 -0
  1029. /package/dist/{it-IT-BFVfcntm.js → it-IT-BZrpE0qK.js} +0 -0
  1030. /package/dist/{it-IT-Bncw2hQ-.js → it-IT-C3AVk1uR.js} +0 -0
  1031. /package/dist/{it-IT-MRrAO1jy.js → it-IT-C4b9Y6tP.js} +0 -0
  1032. /package/dist/{it-IT-YCjFrZ-Z.js → it-IT-Da1C4AGd.js} +0 -0
  1033. /package/dist/{it-IT-DWt33Mig.js → it-IT-DdZkV6nQ.js} +0 -0
  1034. /package/dist/{it-IT-Cd3oPF1M.js → it-IT-Kc1R4_Rn.js} +0 -0
  1035. /package/dist/{it-IT-rGM1QmSW.js → it-IT-V8vgqucm.js} +0 -0
  1036. /package/dist/{it-IT-C-OxfLhZ.js → it-IT-gr7SB9fh.js} +0 -0
  1037. /package/dist/{it-IT-CBQ2gGE7.js → it-IT-jTdy1a4s.js} +0 -0
  1038. /package/dist/{ja-JP-Cla1MJLj.js → ja-JP-BFkGV7Ct.js} +0 -0
  1039. /package/dist/{ja-JP-DieVzA1B.js → ja-JP-BfhqPamw.js} +0 -0
  1040. /package/dist/{ja-JP-CNNwQyYR.js → ja-JP-BgEGc_Ko.js} +0 -0
  1041. /package/dist/{ja-JP-BDPtYIpq.js → ja-JP-CMoTPLi7.js} +0 -0
  1042. /package/dist/{ja-JP-C0ASZo79.js → ja-JP-CWS-Pg-_.js} +0 -0
  1043. /package/dist/{ja-JP-CgfF4yTt.js → ja-JP-D9Doo4LH.js} +0 -0
  1044. /package/dist/{ja-JP-CsgosKvD.js → ja-JP-D9ybdRsh.js} +0 -0
  1045. /package/dist/{ja-JP-CLmtF9H_.js → ja-JP-DB56llc7.js} +0 -0
  1046. /package/dist/{ja-JP-DyUgd4BE.js → ja-JP-EJJaOy4m.js} +0 -0
  1047. /package/dist/{ja-JP-CQBoZgiC.js → ja-JP-ei-QPx_X.js} +0 -0
  1048. /package/dist/{ja-JP-B8Rg2VNl.js → ja-JP-ogtt9tGy.js} +0 -0
  1049. /package/dist/{ja-JP-uXR7c5rz.js → ja-JP-qs4tLgRF.js} +0 -0
  1050. /package/dist/{lt-LT-BRFs6EyI.js → lt-LT-948HQZhZ.js} +0 -0
  1051. /package/dist/{lt-LT-DsKGJjAK.js → lt-LT-BCqnP7r6.js} +0 -0
  1052. /package/dist/{lt-LT-Dv9CNqL5.js → lt-LT-BogWzvP3.js} +0 -0
  1053. /package/dist/{lt-LT-CxHglunM.js → lt-LT-BqS69oFX.js} +0 -0
  1054. /package/dist/{lt-LT-DCexrILL.js → lt-LT-BrGzLEwY.js} +0 -0
  1055. /package/dist/{lt-LT-CK-_FLDK.js → lt-LT-CTP-6_vr.js} +0 -0
  1056. /package/dist/{lt-LT-2d52byGI.js → lt-LT-ChOTn0eR.js} +0 -0
  1057. /package/dist/{lt-LT-ykgOI1Lh.js → lt-LT-Cq2T_YgH.js} +0 -0
  1058. /package/dist/{lt-LT-B9QsV1Fl.js → lt-LT-DFZD-gis.js} +0 -0
  1059. /package/dist/{lt-LT-CyVGhu0R.js → lt-LT-DTo_g5gi.js} +0 -0
  1060. /package/dist/{lv-LV-OjadvSbn.js → lv-LV-BEtE7iP6.js} +0 -0
  1061. /package/dist/{lv-LV-1DHJcJtx.js → lv-LV-BJgLY-OW.js} +0 -0
  1062. /package/dist/{lv-LV-CrYidfpB.js → lv-LV-BKdYq30o.js} +0 -0
  1063. /package/dist/{lv-LV-CALhnU3h.js → lv-LV-BuCZvLms.js} +0 -0
  1064. /package/dist/{lv-LV-Dlq59Kg7.js → lv-LV-C6cnH9ql.js} +0 -0
  1065. /package/dist/{lv-LV-BhvjJBtW.js → lv-LV-CJlW1MAb.js} +0 -0
  1066. /package/dist/{lv-LV-BZ6GdtSG.js → lv-LV-CihtKM8-.js} +0 -0
  1067. /package/dist/{lv-LV-pzQT6oF4.js → lv-LV-CrfpEaoB.js} +0 -0
  1068. /package/dist/{lv-LV-DXmGZc4u.js → lv-LV-DcclJdry.js} +0 -0
  1069. /package/dist/{lv-LV-vUmm_Y8X.js → lv-LV-T_Ln1nZG.js} +0 -0
  1070. /package/dist/{mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js → mapAddressLocalizationToJpAddressSchema-Cu5HfF7K.js} +0 -0
  1071. /package/dist/{nl-NL-D9OFsGYi.js → nl-NL-B1KPiFMu.js} +0 -0
  1072. /package/dist/{nl-NL-BtXGtpjP.js → nl-NL-B4zO0Q4_.js} +0 -0
  1073. /package/dist/{nl-NL-DcLEwsh6.js → nl-NL-CBBxSKzB.js} +0 -0
  1074. /package/dist/{nl-NL-Bfn1b5-H.js → nl-NL-CDG5kf8l.js} +0 -0
  1075. /package/dist/{nl-NL-CscaDll4.js → nl-NL-CQYif340.js} +0 -0
  1076. /package/dist/{nl-NL-DpZ_sRQQ.js → nl-NL-CUHQ8oRU.js} +0 -0
  1077. /package/dist/{nl-NL-BOfLp7Kw.js → nl-NL-DWgJVfgU.js} +0 -0
  1078. /package/dist/{nl-NL-CoEgvakv.js → nl-NL-DyXx5rzY.js} +0 -0
  1079. /package/dist/{nl-NL-DUzifJ-6.js → nl-NL-HAKt4Uc5.js} +0 -0
  1080. /package/dist/{nl-NL-DayMdZGS.js → nl-NL-QXgi4Sal.js} +0 -0
  1081. /package/dist/{nl-NL-DrryYwRC.js → nl-NL-zA-vxihm.js} +0 -0
  1082. /package/dist/{no-NO-CfYxgg3G.js → no-NO-3PlX_ro5.js} +0 -0
  1083. /package/dist/{no-NO-DphtE0hV.js → no-NO-A94R5Tff.js} +0 -0
  1084. /package/dist/{no-NO-CveHyEMg.js → no-NO-BCZzdSpR.js} +0 -0
  1085. /package/dist/{no-NO-DFiHCQaa.js → no-NO-BD0f30Fb.js} +0 -0
  1086. /package/dist/{no-NO-BNo6BEI2.js → no-NO-BurCBAor.js} +0 -0
  1087. /package/dist/{no-NO-CeJtzvaa.js → no-NO-Bvhg8wSl.js} +0 -0
  1088. /package/dist/{no-NO-DCPDmC0O.js → no-NO-ChSdsuYY.js} +0 -0
  1089. /package/dist/{no-NO-DNxpnnM4.js → no-NO-DKzoUIzk.js} +0 -0
  1090. /package/dist/{no-NO-7cH_mYGz.js → no-NO-EF5q1jRl.js} +0 -0
  1091. /package/dist/{no-NO-COKvHr69.js → no-NO-bX8QGp4Y.js} +0 -0
  1092. /package/dist/{onfido-logo-EtpExIxa.js → onfido-logo-Df1iPjUq.js} +0 -0
  1093. /package/dist/{passport-blurred-CeDXhPyb.js → passport-blurred-4b12NNQa.js} +0 -0
  1094. /package/dist/{passport-cut-off-CvgvQJYC.js → passport-cut-off-BgrPvwDX.js} +0 -0
  1095. /package/dist/{passport-front-DnOK4cgY.js → passport-front-DCH9iXMm.js} +0 -0
  1096. /package/dist/{passport-front-green-BOdOhMh6.js → passport-front-green-DmIh7YIG.js} +0 -0
  1097. /package/dist/{passport-glare-BMA9YxJd.js → passport-glare-DIbBXJwz.js} +0 -0
  1098. /package/dist/{payout-bank-accounts-jW_Zgfqf.js → payout-bank-accounts-CF8erfdR.js} +0 -0
  1099. /package/dist/{payout-verification-instant-BLpp07Uv.js → payout-verification-instant-BIx6NDh9.js} +0 -0
  1100. /package/dist/{payout-verification-manual-BgjvhzA9.js → payout-verification-manual-CS34WVa9.js} +0 -0
  1101. /package/dist/{pl-PL-Ovy-dAEm.js → pl-PL-AswdD27E.js} +0 -0
  1102. /package/dist/{pl-PL-D-e2Z51f.js → pl-PL-BXUkKA8N.js} +0 -0
  1103. /package/dist/{pl-PL-V52qRKcx.js → pl-PL-CWLfHfaM.js} +0 -0
  1104. /package/dist/{pl-PL-BhRJVuU3.js → pl-PL-ComkJGTw.js} +0 -0
  1105. /package/dist/{pl-PL-B6MlP7Xz.js → pl-PL-Cw63Q49W.js} +0 -0
  1106. /package/dist/{pl-PL-DEkGFDx6.js → pl-PL-D3efS6b_.js} +0 -0
  1107. /package/dist/{pl-PL-BKJlxx_t.js → pl-PL-DTGmgjwZ.js} +0 -0
  1108. /package/dist/{pl-PL-CRanu6gn.js → pl-PL-KKlndUs-.js} +0 -0
  1109. /package/dist/{pl-PL-D2dgIhBU.js → pl-PL-NX01GGDD.js} +0 -0
  1110. /package/dist/{pl-PL-DcwGjG1k.js → pl-PL-YNg08-Ol.js} +0 -0
  1111. /package/dist/{plaid-logo-JKKXRmk4.js → plaid-logo-CJ4XmsZ0.js} +0 -0
  1112. /package/dist/{pt-BR-DgAN88vt.js → pt-BR-1V6vMfTg.js} +0 -0
  1113. /package/dist/{pt-BR-CPXL0egI.js → pt-BR-BWN_WzRl.js} +0 -0
  1114. /package/dist/{pt-BR-DkGneNc5.js → pt-BR-BnDcVpJT.js} +0 -0
  1115. /package/dist/{pt-BR-D01BPIQ8.js → pt-BR-Bo-lA5md.js} +0 -0
  1116. /package/dist/{pt-BR-C3oGCuLZ.js → pt-BR-CIZtl_8E.js} +0 -0
  1117. /package/dist/{pt-BR-B7oDER2v.js → pt-BR-Ct1Nhi9U.js} +0 -0
  1118. /package/dist/{pt-BR-CwEhFyDx.js → pt-BR-D-RcF3oz.js} +0 -0
  1119. /package/dist/{pt-BR-B8YZ-Hqo.js → pt-BR-DUCZ7b8F.js} +0 -0
  1120. /package/dist/{pt-BR-CL2QRxOt.js → pt-BR-DtlnqBov.js} +0 -0
  1121. /package/dist/{pt-BR-B_tIsNF2.js → pt-BR-OCQiqikl.js} +0 -0
  1122. /package/dist/{pt-BR-BNfmjS7T.js → pt-BR-uWioJEmF.js} +0 -0
  1123. /package/dist/{pt-PT-5BekXyBw.js → pt-PT-B9BU6WeF.js} +0 -0
  1124. /package/dist/{pt-PT-Dfp-0h0s.js → pt-PT-BHbd93Ic.js} +0 -0
  1125. /package/dist/{pt-PT-of6NX5C7.js → pt-PT-BSdQMcLM.js} +0 -0
  1126. /package/dist/{pt-PT-C_6pNXKv.js → pt-PT-BhEGejvl.js} +0 -0
  1127. /package/dist/{pt-PT-D3v24Se2.js → pt-PT-Bq9v0R1E.js} +0 -0
  1128. /package/dist/{pt-PT-DjZ0SeNY.js → pt-PT-Bricv6v-.js} +0 -0
  1129. /package/dist/{pt-PT-sZUWaieU.js → pt-PT-CVNM7GeN.js} +0 -0
  1130. /package/dist/{pt-PT-IOArlYPi.js → pt-PT-HtvJf_Wc.js} +0 -0
  1131. /package/dist/{pt-PT-BSNvIlJh.js → pt-PT-cIRYLrgm.js} +0 -0
  1132. /package/dist/{pt-PT-CabKp0yt.js → pt-PT-tt1J0yv6.js} +0 -0
  1133. /package/dist/{pt-PT-Cr2esDwf.js → pt-PT-wBADnHVq.js} +0 -0
  1134. /package/dist/{reporting-DI9JGolm.js → reporting-CuIVqmAt.js} +0 -0
  1135. /package/dist/{review-CkgZkiFy.js → review-CUy6wn1_.js} +0 -0
  1136. /package/dist/{ro-RO-BtLXaAVi.js → ro-RO-0Q2YJfJD.js} +0 -0
  1137. /package/dist/{ro-RO-Can6URM1.js → ro-RO-BVo8Lqoc.js} +0 -0
  1138. /package/dist/{ro-RO-DYwkjw9d.js → ro-RO-C2tZmDar.js} +0 -0
  1139. /package/dist/{ro-RO-BW4-_NrZ.js → ro-RO-CCxnXwji.js} +0 -0
  1140. /package/dist/{ro-RO-BlBqP0LV.js → ro-RO-CHnLb9tp.js} +0 -0
  1141. /package/dist/{ro-RO-CBNP3GS_.js → ro-RO-CRHBNotW.js} +0 -0
  1142. /package/dist/{ro-RO-DH5uD9v9.js → ro-RO-CVzi0I9_.js} +0 -0
  1143. /package/dist/{ro-RO-9NTYYrid.js → ro-RO-CkY9jVVi.js} +0 -0
  1144. /package/dist/{ro-RO-7VBqqH7o.js → ro-RO-QlHjtTpP.js} +0 -0
  1145. /package/dist/{ro-RO-CGoDuoZa.js → ro-RO-SAbaaKxU.js} +0 -0
  1146. /package/dist/{sk-SK-Blzjm32C.js → sk-SK-BJxKfous.js} +0 -0
  1147. /package/dist/{sk-SK-wYLB-c3d.js → sk-SK-Bqy__cWX.js} +0 -0
  1148. /package/dist/{sk-SK-CAkLqBR-.js → sk-SK-BrbU8K0P.js} +0 -0
  1149. /package/dist/{sk-SK-CZnhSCxt.js → sk-SK-Bs5RASpX.js} +0 -0
  1150. /package/dist/{sk-SK-vSn9yvb8.js → sk-SK-BsanrSCF.js} +0 -0
  1151. /package/dist/{sk-SK-fwnwR2zz.js → sk-SK-CCluvyNF.js} +0 -0
  1152. /package/dist/{sk-SK-qVeRKlxs.js → sk-SK-CxisoTfT.js} +0 -0
  1153. /package/dist/{sk-SK-vyxCXCDR.js → sk-SK-DpmfsFPI.js} +0 -0
  1154. /package/dist/{sk-SK-BDItYkrD.js → sk-SK-MF3HRQGz.js} +0 -0
  1155. /package/dist/{sk-SK-BmP_vrOT.js → sk-SK-woMNza6o.js} +0 -0
  1156. /package/dist/{sl-SI-rLQo_kKv.js → sl-SI-B-faWNpM.js} +0 -0
  1157. /package/dist/{sl-SI-DuHn6HyC.js → sl-SI-B9zMw3uZ.js} +0 -0
  1158. /package/dist/{sl-SI-CYVD9Yk1.js → sl-SI-Bm_KKlP6.js} +0 -0
  1159. /package/dist/{sl-SI-BxJgtZKP.js → sl-SI-BsiDU3hz.js} +0 -0
  1160. /package/dist/{sl-SI-SNjGgOph.js → sl-SI-BvNvjopW.js} +0 -0
  1161. /package/dist/{sl-SI-C0d32nxW.js → sl-SI-C5umh4FQ.js} +0 -0
  1162. /package/dist/{sl-SI-ChRXWdua.js → sl-SI-CG07y9Cp.js} +0 -0
  1163. /package/dist/{sl-SI-C5FYCjwi.js → sl-SI-CrB2P-g-.js} +0 -0
  1164. /package/dist/{sl-SI-DPvusyJQ.js → sl-SI-Czu6HrQs.js} +0 -0
  1165. /package/dist/{sl-SI-B5xGgx5S.js → sl-SI-F1ZXve4S.js} +0 -0
  1166. /package/dist/{sv-SE-CU-lNGyw.js → sv-SE-5AozcwLo.js} +0 -0
  1167. /package/dist/{sv-SE-D9Aj9VZ9.js → sv-SE-BIe7wyHM.js} +0 -0
  1168. /package/dist/{sv-SE-BhAr7iey.js → sv-SE-BKeJolFs.js} +0 -0
  1169. /package/dist/{sv-SE-BfoCgwXl.js → sv-SE-BgyicZrq.js} +0 -0
  1170. /package/dist/{sv-SE-BFFAjxxo.js → sv-SE-C2lw5FJ7.js} +0 -0
  1171. /package/dist/{sv-SE-_iVNE7OY.js → sv-SE-DDCAUQsX.js} +0 -0
  1172. /package/dist/{sv-SE-nA--xWZA.js → sv-SE-DKvr6dhk.js} +0 -0
  1173. /package/dist/{sv-SE-Cos-ox5c.js → sv-SE-DR3rE1Ff.js} +0 -0
  1174. /package/dist/{sv-SE-BIHbDoRU.js → sv-SE-DaOsGDdk.js} +0 -0
  1175. /package/dist/{sv-SE-QRDrM1rH.js → sv-SE-Db35FNLx.js} +0 -0
  1176. /package/dist/{sv-SE-CfgjwWHS.js → sv-SE-doxSFPnU.js} +0 -0
  1177. /package/dist/{tax-reporting-graph-DEiE6q1X.js → tax-reporting-graph-C96BPKuj.js} +0 -0
  1178. /package/dist/{tink-logo-DQabT2Uk.js → tink-logo-DcMLCEiF.js} +0 -0
  1179. /package/dist/{toFullWidth-CQcDriFa.js → toFullWidth-CSa3Sffs.js} +0 -0
  1180. /package/dist/types/utils/api/{processCapabilitites.d.ts → processCapabilities.d.ts} +0 -0
  1181. /package/dist/{types-DjTEjDpj.js → types-DLViphaA.js} +0 -0
  1182. /package/dist/{types-CEAHkjXI.js → types-tKfEYBOO.js} +0 -0
  1183. /package/dist/{us-check-account-number-EkWzylgz.js → us-check-account-number-Bx4HZPFS.js} +0 -0
  1184. /package/dist/{us-check-routing-number-ObI-JE-C.js → us-check-routing-number-BgmESQIR.js} +0 -0
  1185. /package/dist/{us-check-b9k7TlOd.js → us-check-tkgqZfdf.js} +0 -0
  1186. /package/dist/{validate-D4RU2PP0.js → validate-Da7Onair.js} +0 -0
  1187. /package/dist/{view-verification-status-CtW_qUMg.js → view-verification-status-CYHM_Ggf.js} +0 -0
  1188. /package/dist/{yapily-logo-BeowYojR.js → yapily-logo-LFYkLhpL.js} +0 -0
@@ -0,0 +1,2857 @@
1
+ try {
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] = "5dc2480f-f1a9-4605-9f81-a62ec3db13e9", e._sentryDebugIdIdentifier = "sentry-dbid-5dc2480f-f1a9-4605-9f81-a62ec3db13e9");
4
+ } catch (e) {}
5
+ import { a as Icon, r as useTranslation } from "./translation-BFxyJ1c5.js";
6
+ import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
7
+ import { t as useAccountHolder } from "./useAccountHolder-CnO_E-AQ.js";
8
+ import { c as objectsDeepEqual, d as keysOf } from "./useAnalyticsContext-BVFDMrVE.js";
9
+ import { t as useToggleContext } from "./useToggleContext-DaQUBF8O.js";
10
+ import { a as translateTranslatable } from "./utils-B807QaDx.js";
11
+ import { t as Header } from "./Header-CPmJyuoP.js";
12
+ import { t as CountryCodes } from "./country-code-CX5KqMBr.js";
13
+ import { p as TaskTypes } from "./entityAssociationUtil-BEzUdPbm.js";
14
+ import { t as getNestedPropertyKeys } from "./getNestedPropertyKeys-CVAsNBJ8.js";
15
+ import { t as SettingNames } from "./types-CNZsK2dZ.js";
16
+ import { t as CompanyTypesValues } from "./company-types-value-BYTAKfjo.js";
17
+ import { t as Image } from "./Image-BEzOZ1tt.js";
18
+ import { s as isDateOlderThanAYear } from "./Address-BBhttZH7.js";
19
+ import { t as ErrorPanel } from "./ErrorPanel-B536hgSc.js";
20
+ import { t as createFormUtils } from "./formUtils-DCvL3uZG.js";
21
+ import { i as uppercase } from "./mapExistingFile-Djcwti5D.js";
22
+ import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-BFPSwRto.js";
23
+ import { c as COUNTRIES_WITH_STATES_DATASET } from "./utils-CfTVU2Hq.js";
24
+ import { a as StateContextSetter } from "./validate-AqTlBSU4.js";
25
+ import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-DcDqwV81.js";
26
+ import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-BaQxw3ki.js";
27
+ import { t as resolveFieldMetadata } from "./fieldConfigurations-m7oWP1DZ.js";
28
+ import { t as Field } from "./Field-pcJkjIG_.js";
29
+ import { t as Select } from "./Select-CcSRI-H0.js";
30
+ import { t as Checkbox } from "./Checkbox-BCYjFPa4.js";
31
+ import { t as TextArea } from "./TextArea-CRLeP4x6.js";
32
+ import { t as useForm } from "./useForm-pUkvCLc9.js";
33
+ import { t as Dropzone } from "./Dropzone-Fj83VtiJ.js";
34
+ import { t as RadioGroup } from "./RadioGroup-7g7Xv9rl.js";
35
+ import { t as createFormRules } from "./form-rules-ZiRm6ke_.js";
36
+ import { lazy, memo } from "preact/compat";
37
+ import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
38
+ import cx from "classnames";
39
+ import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
40
+ //#region src/utils/getFieldsWithExistingData.ts
41
+ var getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
42
+ const nonDocumentFields = getNestedPropertyKeys(legalEntity).map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
43
+ if (documentMapping && legalEntity.documentDetails?.length) {
44
+ const documentFields = legalEntity.documentDetails.map((document) => documentMapping[document.type]).filter(Boolean);
45
+ return [...nonDocumentFields, ...documentFields];
46
+ }
47
+ return nonDocumentFields;
48
+ };
49
+ //#endregion
50
+ //#region src/types/datasets/state-code.ts
51
+ var StateCodesUS = {
52
+ Alabama: "AL",
53
+ Alaska: "AK",
54
+ Arizona: "AZ",
55
+ Arkansas: "AR",
56
+ California: "CA",
57
+ Colorado: "CO",
58
+ Connecticut: "CT",
59
+ Delaware: "DE",
60
+ DistrictOfColumbia: "DC",
61
+ Florida: "FL",
62
+ Georgia: "GA",
63
+ Hawaii: "HI",
64
+ Idaho: "ID",
65
+ Illinois: "IL",
66
+ Indiana: "IN",
67
+ Iowa: "IA",
68
+ Kansas: "KS",
69
+ Kentucky: "KY",
70
+ Louisiana: "LA",
71
+ Maine: "ME",
72
+ Maryland: "MD",
73
+ Massachusetts: "MA",
74
+ Michigan: "MI",
75
+ Minnesota: "MN",
76
+ Mississippi: "MS",
77
+ Missouri: "MO",
78
+ Montana: "MT",
79
+ Nebraska: "NE",
80
+ Nevada: "NV",
81
+ NewHampshire: "NH",
82
+ NewJersey: "NJ",
83
+ NewMexico: "NM",
84
+ NewYork: "NY",
85
+ NorthCarolina: "NC",
86
+ NorthDakota: "ND",
87
+ Ohio: "OH",
88
+ Oklahoma: "OK",
89
+ Oregon: "OR",
90
+ Pennsylvania: "PA",
91
+ RhodeIsland: "RI",
92
+ SouthCarolina: "SC",
93
+ SouthDakota: "SD",
94
+ Tennessee: "TN",
95
+ Texas: "TX",
96
+ Utah: "UT",
97
+ Vermont: "VT",
98
+ Virginia: "VA",
99
+ Washington: "WA",
100
+ WestVirginia: "WV",
101
+ Wisconsin: "WI",
102
+ Wyoming: "WY"
103
+ };
104
+ //#endregion
105
+ //#region src/utils/masking/masks/businessRegistrationNumberMasks.ts
106
+ var businessRegistrationNumberMasks = {
107
+ [CountryCodes.Austria]: {
108
+ firmenbuchnummer: { mask: makeMask({
109
+ type: "input",
110
+ allow: /[TF]/
111
+ }, {
112
+ type: "input",
113
+ allow: /N/,
114
+ optional: true
115
+ }, ...numericInputs(3), ...numericInputs(3, true), {
116
+ type: "input",
117
+ allow: /[a-z]/
118
+ }) },
119
+ ZVR: { mask: makeMask(...nonInputs("AT", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...nonInputs("ZVR", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(9), ...numericInputs(1, true)) }
120
+ },
121
+ [CountryCodes.Australia]: {
122
+ default: { mask: makeMask(...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
123
+ associationIncorporated: {
124
+ mask: makeMask(...alphanumericInputs(3), ...alphanumericInputs(20, true)),
125
+ transformOnType: uppercase
126
+ }
127
+ },
128
+ [CountryCodes.Belgium]: { default: { mask: makeMask(...numericInputs(10)) } },
129
+ [CountryCodes.Brazil]: { default: { mask: makeMask(...numericInputs(2), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" / "), ...numericInputs(4), ...nonInputs(" - "), ...numericInputs(2)) } },
130
+ [CountryCodes.Bulgaria]: { default: { mask: makeMask(...numericInputs(9)) } },
131
+ [CountryCodes.Canada]: { default: {
132
+ mask: makeMask(...alphanumericInputs(5), ...alphanumericInputs(5, true)),
133
+ transformOnType: uppercase
134
+ } },
135
+ [CountryCodes.Croatia]: {
136
+ default: { mask: makeMask(...numericInputs(9)) },
137
+ [CompanyTypesValues.SOLE_PROPRIETORSHIP]: { mask: makeMask(...numericInputs(8)) }
138
+ },
139
+ [CountryCodes.Cyprus]: { default: {
140
+ mask: makeMask(...customInputs(1, /^[COP]$/), ...numericInputs(1), ...numericInputs(7, true)),
141
+ transformOnType: uppercase
142
+ } },
143
+ [CountryCodes.CzechRepublic]: { default: { mask: makeMask(...numericInputs(8), ...numericInputs(2, true)) } },
144
+ [CountryCodes.Denmark]: { default: { mask: makeMask(...numericInputs(8)) } },
145
+ [CountryCodes.Estonia]: { default: { mask: makeMask(...numericInputs(8)) } },
146
+ [CountryCodes.Finland]: { default: { mask: makeMask(...numericInputs(7), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(1)) } },
147
+ [CountryCodes.France]: {
148
+ SIRET: { mask: makeMask(...numericInputs(9), ...nonInputs(" - "), ...numericInputs(5)) },
149
+ RNA: { mask: makeMask(...nonInputs("W", { includeInValue: true }), ...numericInputs(1), ...alphanumericInputs(1), ...numericInputs(7)) }
150
+ },
151
+ [CountryCodes.Germany]: { default: {
152
+ mask: makeMask(...alphanumericInputs(3), ...customInputs(17, /[A-Z0-9-]/, true)),
153
+ transformOnType: uppercase
154
+ } },
155
+ [CountryCodes.Gibraltar]: { default: {
156
+ mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(7, true)),
157
+ transformOnType: uppercase
158
+ } },
159
+ [CountryCodes.Greece]: { default: { mask: makeMask(...numericInputs(12)) } },
160
+ [CountryCodes.Guernsey]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(8, true)) } },
161
+ [CountryCodes.HongKong]: { default: { mask: makeMask(...numericInputs(7)) } },
162
+ [CountryCodes.Hungary]: {
163
+ default: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(2), ...nonInputs(" - "), ...numericInputs(6)) },
164
+ nyilvantartasiSzam: { mask: makeMask(...numericInputs(10)) }
165
+ },
166
+ [CountryCodes.Ireland]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(7, true)) } },
167
+ [CountryCodes.IsleOfMan]: { default: {
168
+ mask: makeMask(...numericInputs(6), ...alphaInputs(1)),
169
+ transformOnType: uppercase
170
+ } },
171
+ [CountryCodes.Italy]: {
172
+ partitaIVA: { mask: makeMask(...numericInputs(11)) },
173
+ CCIAA: {
174
+ mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...numericInputs(1, true)),
175
+ transformOnType: uppercase
176
+ }
177
+ },
178
+ [CountryCodes.Japan]: { default: { mask: makeMask(...numericInputs(12)) } },
179
+ [CountryCodes.Jersey]: { default: {
180
+ mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(8, true)),
181
+ transformOnType: uppercase
182
+ } },
183
+ [CountryCodes.Latvia]: { default: { mask: makeMask(...numericInputs(11)) } },
184
+ [CountryCodes.Liechtenstein]: { default: { mask: makeMask(...nonInputs("FL", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(4), spacer, ...nonInputs(".", { includeInValue: true }), spacer, ...numericInputs(3), spacer, ...nonInputs(".", { includeInValue: true }), spacer, ...numericInputs(3), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(1)) } },
185
+ [CountryCodes.Lithuania]: { default: { mask: makeMask(...numericInputs(6), ...numericInputs(3, true)) } },
186
+ [CountryCodes.Luxembourg]: { default: {
187
+ mask: makeMask(...alphaInputs(1), ...numericInputs(9, true)),
188
+ transformOnType: uppercase
189
+ } },
190
+ [CountryCodes.Malaysia]: { default: { mask: makeMask(...numericInputs(7), ...numericInputs(5, true)) } },
191
+ [CountryCodes.Malta]: { default: {
192
+ mask: makeMask(...customInputs(1, /[CP]/), spacer, ...numericInputs(4), ...numericInputs(2, true)),
193
+ transformOnType: uppercase
194
+ } },
195
+ [CountryCodes.Mexico]: { default: { mask: makeMask(...alphanumericInputs(12)) } },
196
+ [CountryCodes.Monaco]: {
197
+ default: {
198
+ mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
199
+ transformOnType: uppercase
200
+ },
201
+ [CompanyTypesValues.SOLE_PROPRIETORSHIP]: {
202
+ mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
203
+ transformOnType: uppercase
204
+ }
205
+ },
206
+ [CountryCodes.Netherlands]: { default: { mask: makeMask(...numericInputs(8)) } },
207
+ [CountryCodes.NewZealand]: {
208
+ NZBN: { mask: makeMask(...numericInputs(13)) },
209
+ companyNumberNZ: { mask: makeMask(...numericInputs(7)) }
210
+ },
211
+ [CountryCodes.Norway]: { default: { mask: makeMask(...numericInputs(9)) } },
212
+ [CountryCodes.Poland]: {
213
+ krsNumber: { mask: makeMask(...numericInputs(10)) },
214
+ regon: { mask: makeMask(...numericInputs(9)) }
215
+ },
216
+ [CountryCodes.Portugal]: { default: { mask: makeMask(...numericInputs(9)) } },
217
+ [CountryCodes.Romania]: {
218
+ roRegNumberOldFormat: {
219
+ mask: makeMask(...alphaInputs(1), ...numericInputs(1), ...numericInputs(1, true), ...customInputs(1, /[/]/), ...numericInputs(1), ...numericInputs(8, true), ...customInputs(1, /[/]/), ...numericInputs(4)),
220
+ transformOnType: uppercase
221
+ },
222
+ roRegNumberNewFormat: {
223
+ mask: makeMask({
224
+ type: "input",
225
+ allow: /[JFC]/
226
+ }, ...numericInputs(13)),
227
+ transformOnType: uppercase
228
+ }
229
+ },
230
+ [CountryCodes.Singapore]: { default: {
231
+ mask: makeMask(...alphanumericInputs(9), ...alphanumericInputs(1, true)),
232
+ transformOnType: uppercase
233
+ } },
234
+ [CountryCodes.Slovakia]: { default: { mask: makeMask(...numericInputs(8)) } },
235
+ [CountryCodes.Slovenia]: { default: { mask: makeMask(...numericInputs(10)) } },
236
+ [CountryCodes.Spain]: { default: {
237
+ mask: makeMask(...alphaInputs(1), ...alphanumericInputs(8)),
238
+ transformOnType: uppercase
239
+ } },
240
+ [CountryCodes.Sweden]: { default: { mask: makeMask(...numericInputs(6), ...nonInputs(" - "), ...numericInputs(4)) } },
241
+ [CountryCodes.Switzerland]: { default: { mask: makeMask(...nonInputs("CHE", { includeInValue: true }), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3)) } },
242
+ [CountryCodes.UnitedKingdom]: {
243
+ default: {
244
+ mask: makeMask(...alphanumericInputs(8)),
245
+ transformOnType: uppercase
246
+ },
247
+ nonProfit: {
248
+ mask: makeMask(...alphanumericInputs(6), ...customInputs(1, /[a-zA-Z0-9-]/, true), ...alphanumericInputs(1, true)),
249
+ transformOnType: uppercase
250
+ }
251
+ },
252
+ [CountryCodes.UnitedStates]: {
253
+ [StateCodesUS.Alabama]: {
254
+ mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alabama)),
255
+ transformOnType: uppercase
256
+ },
257
+ [StateCodesUS.Alaska]: {
258
+ mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alaska)),
259
+ transformOnType: uppercase
260
+ },
261
+ [StateCodesUS.Arizona]: {
262
+ mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arizona)),
263
+ transformOnType: uppercase
264
+ },
265
+ [StateCodesUS.Arkansas]: {
266
+ mask: makeMask({
267
+ type: "input",
268
+ allow: /[8]/
269
+ }, ...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arkansas)),
270
+ transformOnType: uppercase
271
+ },
272
+ [StateCodesUS.California]: {
273
+ mask: makeMask(...numericInputs(7), ...numericInputs(5, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.California)),
274
+ transformOnType: uppercase
275
+ },
276
+ [StateCodesUS.Colorado]: {
277
+ mask: makeMask(...numericInputs(11), ...nonInputs(" "), ...nonInputs(StateCodesUS.Colorado)),
278
+ transformOnType: uppercase
279
+ },
280
+ [StateCodesUS.Connecticut]: {
281
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Connecticut)),
282
+ transformOnType: uppercase
283
+ },
284
+ [StateCodesUS.Delaware]: {
285
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Delaware)),
286
+ transformOnType: uppercase
287
+ },
288
+ [StateCodesUS.Florida]: {
289
+ mask: makeMask(...numericInputs(6), ...numericInputs(6, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Florida)),
290
+ transformOnType: uppercase
291
+ },
292
+ [StateCodesUS.Georgia]: {
293
+ mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Georgia)),
294
+ transformOnType: uppercase
295
+ },
296
+ [StateCodesUS.Hawaii]: {
297
+ mask: makeMask(...numericInputs(5), ...numericInputs(3, true), {
298
+ type: "input",
299
+ allow: /[CDFLNPTZ]/
300
+ }, {
301
+ type: "input",
302
+ allow: /[1-8Z]/
303
+ }, ...nonInputs(" "), ...nonInputs(StateCodesUS.Hawaii)),
304
+ transformOnType: uppercase
305
+ },
306
+ [StateCodesUS.Idaho]: {
307
+ mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Idaho)),
308
+ transformOnType: uppercase
309
+ },
310
+ [StateCodesUS.Illinois]: {
311
+ mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Illinois)),
312
+ transformOnType: uppercase
313
+ },
314
+ [StateCodesUS.Indiana]: {
315
+ mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Indiana)),
316
+ transformOnType: uppercase
317
+ },
318
+ [StateCodesUS.Iowa]: {
319
+ mask: makeMask(...numericInputs(6), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Iowa)),
320
+ transformOnType: uppercase
321
+ },
322
+ [StateCodesUS.Kansas]: {
323
+ mask: makeMask(...numericInputs(7), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kansas)),
324
+ transformOnType: uppercase
325
+ },
326
+ [StateCodesUS.Kentucky]: {
327
+ mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kentucky)),
328
+ transformOnType: uppercase
329
+ },
330
+ [StateCodesUS.Louisiana]: {
331
+ mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Louisiana)),
332
+ transformOnType: uppercase
333
+ },
334
+ [StateCodesUS.Maine]: {
335
+ mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maine)),
336
+ transformOnType: uppercase
337
+ },
338
+ [StateCodesUS.Maryland]: {
339
+ mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maryland)),
340
+ transformOnType: uppercase
341
+ },
342
+ [StateCodesUS.Massachusetts]: {
343
+ mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Massachusetts)),
344
+ transformOnType: uppercase
345
+ },
346
+ [StateCodesUS.Michigan]: {
347
+ mask: makeMask(...numericInputs(6), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Michigan)),
348
+ transformOnType: uppercase
349
+ },
350
+ [StateCodesUS.Minnesota]: {
351
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Minnesota)),
352
+ transformOnType: uppercase
353
+ },
354
+ [StateCodesUS.Mississippi]: {
355
+ mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Mississippi)),
356
+ transformOnType: uppercase
357
+ },
358
+ [StateCodesUS.Missouri]: {
359
+ mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Missouri)),
360
+ transformOnType: uppercase
361
+ },
362
+ [StateCodesUS.Montana]: {
363
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Montana)),
364
+ transformOnType: uppercase
365
+ },
366
+ [StateCodesUS.Nebraska]: {
367
+ mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nebraska)),
368
+ transformOnType: uppercase
369
+ },
370
+ [StateCodesUS.Nevada]: {
371
+ mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nevada)),
372
+ transformOnType: uppercase
373
+ },
374
+ [StateCodesUS.NewHampshire]: {
375
+ mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewHampshire)),
376
+ transformOnType: uppercase
377
+ },
378
+ [StateCodesUS.NewJersey]: {
379
+ mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewJersey)),
380
+ transformOnType: uppercase
381
+ },
382
+ [StateCodesUS.NewMexico]: {
383
+ mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewMexico)),
384
+ transformOnType: uppercase
385
+ },
386
+ [StateCodesUS.NewYork]: {
387
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewYork)),
388
+ transformOnType: uppercase
389
+ },
390
+ [StateCodesUS.NorthCarolina]: {
391
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthCarolina)),
392
+ transformOnType: uppercase
393
+ },
394
+ [StateCodesUS.NorthDakota]: {
395
+ mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthDakota)),
396
+ transformOnType: uppercase
397
+ },
398
+ [StateCodesUS.Ohio]: {
399
+ mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Ohio)),
400
+ transformOnType: uppercase
401
+ },
402
+ [StateCodesUS.Oklahoma]: {
403
+ mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oklahoma)),
404
+ transformOnType: uppercase
405
+ },
406
+ [StateCodesUS.Oregon]: {
407
+ mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oregon)),
408
+ transformOnType: uppercase
409
+ },
410
+ [StateCodesUS.Pennsylvania]: {
411
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Pennsylvania)),
412
+ transformOnType: uppercase
413
+ },
414
+ [StateCodesUS.RhodeIsland]: {
415
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.RhodeIsland)),
416
+ transformOnType: uppercase
417
+ },
418
+ [StateCodesUS.SouthCarolina]: {
419
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthCarolina)),
420
+ transformOnType: uppercase
421
+ },
422
+ [StateCodesUS.SouthDakota]: {
423
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthDakota)),
424
+ transformOnType: uppercase
425
+ },
426
+ [StateCodesUS.Tennessee]: {
427
+ mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Tennessee)),
428
+ transformOnType: uppercase
429
+ },
430
+ [StateCodesUS.Texas]: {
431
+ mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Texas)),
432
+ transformOnType: uppercase
433
+ },
434
+ [StateCodesUS.Utah]: {
435
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Utah)),
436
+ transformOnType: uppercase
437
+ },
438
+ [StateCodesUS.Vermont]: {
439
+ mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Vermont)),
440
+ transformOnType: uppercase
441
+ },
442
+ [StateCodesUS.Virginia]: {
443
+ mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Virginia)),
444
+ transformOnType: uppercase
445
+ },
446
+ [StateCodesUS.Washington]: {
447
+ mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Washington)),
448
+ transformOnType: uppercase
449
+ },
450
+ [StateCodesUS.WestVirginia]: {
451
+ mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.WestVirginia)),
452
+ transformOnType: uppercase
453
+ },
454
+ [StateCodesUS.Wisconsin]: {
455
+ mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wisconsin)),
456
+ transformOnType: uppercase
457
+ },
458
+ [StateCodesUS.Wyoming]: {
459
+ mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wyoming)),
460
+ transformOnType: uppercase
461
+ },
462
+ [StateCodesUS.DistrictOfColumbia]: {
463
+ mask: makeMask(...numericInputs(9)),
464
+ transformOnType: uppercase
465
+ },
466
+ default: {
467
+ mask: makeMask(...numericInputs(9)),
468
+ transformOnType: uppercase
469
+ }
470
+ }
471
+ };
472
+ var stateFormatGuidanceText = {
473
+ [StateCodesUS.Alabama]: {
474
+ key: "enterNDigitsForExample",
475
+ values: {
476
+ numDigits: "9",
477
+ example: "123456789 AL"
478
+ }
479
+ },
480
+ [StateCodesUS.Alaska]: {
481
+ key: "enterNDigitsForExample",
482
+ values: {
483
+ numDigits: "8",
484
+ example: "12345678 AK"
485
+ }
486
+ },
487
+ [StateCodesUS.Arizona]: {
488
+ key: "enterNDigitsForExample",
489
+ values: {
490
+ numDigits: "8",
491
+ example: "12345678 AZ"
492
+ }
493
+ },
494
+ [StateCodesUS.Arkansas]: {
495
+ key: "enterTheRemainingNDigitsForExample",
496
+ values: {
497
+ numDigits: "8",
498
+ example: "800000001 AR"
499
+ }
500
+ },
501
+ [StateCodesUS.California]: {
502
+ key: "enterXOrYDigitsForExample",
503
+ values: {
504
+ xDigits: "8",
505
+ yDigits: "12",
506
+ example: "12345678 CA"
507
+ }
508
+ },
509
+ [StateCodesUS.Colorado]: {
510
+ key: "enterNDigitsForExample",
511
+ values: {
512
+ numDigits: "11",
513
+ example: "12345678901 CO"
514
+ }
515
+ },
516
+ [StateCodesUS.Connecticut]: {
517
+ key: "enterNDigitsForExample",
518
+ values: {
519
+ numDigits: "7",
520
+ example: "1234567 CT"
521
+ }
522
+ },
523
+ [StateCodesUS.Delaware]: {
524
+ key: "enterNDigitsForExample",
525
+ values: {
526
+ numDigits: "7",
527
+ example: "1234567 DE"
528
+ }
529
+ },
530
+ [StateCodesUS.Florida]: {
531
+ key: "enterXOrYDigitsForExample",
532
+ values: {
533
+ xDigits: "6",
534
+ yDigits: "12",
535
+ example: "123456789012 FL"
536
+ }
537
+ },
538
+ [StateCodesUS.Georgia]: {
539
+ key: "enterNDigitsForExample",
540
+ values: {
541
+ numDigits: "8",
542
+ example: "12345678 GA"
543
+ }
544
+ },
545
+ [StateCodesUS.Hawaii]: {
546
+ key: "validationPleaseEnterAValidBusinessRegistrationNumberWithFormat",
547
+ values: { example: "12345678ZZ HI" }
548
+ },
549
+ [StateCodesUS.Idaho]: {
550
+ key: "enterNDigitsForExample",
551
+ values: {
552
+ numDigits: "6",
553
+ example: "123456 ID"
554
+ }
555
+ },
556
+ [StateCodesUS.Illinois]: {
557
+ key: "enterNDigitsForExample",
558
+ values: {
559
+ numDigits: "8",
560
+ example: "12345678 IL"
561
+ }
562
+ },
563
+ [StateCodesUS.Indiana]: {
564
+ key: "enterNDigitsForExample",
565
+ values: {
566
+ numDigits: "10",
567
+ example: "1234567890 IN"
568
+ }
569
+ },
570
+ [StateCodesUS.Iowa]: {
571
+ key: "enterXToYDigitsForExample",
572
+ values: {
573
+ minDigits: "6",
574
+ maxDigits: "8",
575
+ example: "12345678 IA"
576
+ }
577
+ },
578
+ [StateCodesUS.Kansas]: {
579
+ key: "enterXToYDigitsForExample",
580
+ values: {
581
+ minDigits: "7",
582
+ maxDigits: "9",
583
+ example: "1234567890 KS"
584
+ }
585
+ },
586
+ [StateCodesUS.Kentucky]: {
587
+ key: "enterXToYDigitsForExample",
588
+ values: {
589
+ minDigits: "9",
590
+ maxDigits: "10",
591
+ example: "1234567890 KY"
592
+ }
593
+ },
594
+ [StateCodesUS.Louisiana]: {
595
+ key: "enterXToYDigitsForExample",
596
+ values: {
597
+ minDigits: "9",
598
+ maxDigits: "10",
599
+ example: "1234567890 LA"
600
+ }
601
+ },
602
+ [StateCodesUS.Maine]: {
603
+ key: "enterNDigitsForExample",
604
+ values: {
605
+ numDigits: "8",
606
+ example: "12345678 ME"
607
+ }
608
+ },
609
+ [StateCodesUS.Maryland]: {
610
+ key: "enterNDigitsForExample",
611
+ values: {
612
+ numDigits: "8",
613
+ example: "12345678 MD"
614
+ }
615
+ },
616
+ [StateCodesUS.Massachusetts]: {
617
+ key: "enterNDigitsForExample",
618
+ values: {
619
+ numDigits: "10",
620
+ example: "1234567890 MA"
621
+ }
622
+ },
623
+ [StateCodesUS.Michigan]: {
624
+ key: "enterXOrYDigitsForExample",
625
+ values: {
626
+ xDigits: "6",
627
+ yDigits: "9",
628
+ example: "123456 MI"
629
+ }
630
+ },
631
+ [StateCodesUS.Minnesota]: {
632
+ key: "enterNDigitsForExample",
633
+ values: {
634
+ numDigits: "7",
635
+ example: "1234567 MN"
636
+ }
637
+ },
638
+ [StateCodesUS.Mississippi]: {
639
+ key: "enterXToYDigitsForExample",
640
+ values: {
641
+ minDigits: "7",
642
+ maxDigits: "10",
643
+ example: "1234567 MS"
644
+ }
645
+ },
646
+ [StateCodesUS.Missouri]: {
647
+ key: "enterNDigitsForExample",
648
+ values: {
649
+ numDigits: "10",
650
+ example: "1234567890 MO"
651
+ }
652
+ },
653
+ [StateCodesUS.Montana]: {
654
+ key: "enterNDigitsForExample",
655
+ values: {
656
+ numDigits: "7",
657
+ example: "1234567 MT"
658
+ }
659
+ },
660
+ [StateCodesUS.Nebraska]: {
661
+ key: "enterXToYDigitsForExample",
662
+ values: {
663
+ minDigits: "9",
664
+ maxDigits: "11",
665
+ example: "123456789 NE"
666
+ }
667
+ },
668
+ [StateCodesUS.Nevada]: {
669
+ key: "enterXToYDigitsForExample",
670
+ values: {
671
+ minDigits: "9",
672
+ maxDigits: "11",
673
+ example: "123456789 NV"
674
+ }
675
+ },
676
+ [StateCodesUS.NewHampshire]: {
677
+ key: "enterNDigitsForExample",
678
+ values: {
679
+ numDigits: "9",
680
+ example: "123456789 NH"
681
+ }
682
+ },
683
+ [StateCodesUS.NewJersey]: {
684
+ key: "enterNDigitsForExample",
685
+ values: {
686
+ numDigits: "10",
687
+ example: "1234567890 NJ"
688
+ }
689
+ },
690
+ [StateCodesUS.NewMexico]: {
691
+ key: "enterNDigitsForExample",
692
+ values: {
693
+ numDigits: "6",
694
+ example: "123456 NM"
695
+ }
696
+ },
697
+ [StateCodesUS.NewYork]: {
698
+ key: "enterNDigitsForExample",
699
+ values: {
700
+ numDigits: "7",
701
+ example: "1234567 NY"
702
+ }
703
+ },
704
+ [StateCodesUS.NorthCarolina]: {
705
+ key: "enterNDigitsForExample",
706
+ values: {
707
+ numDigits: "7",
708
+ example: "1234567 NC"
709
+ }
710
+ },
711
+ [StateCodesUS.NorthDakota]: {
712
+ key: "enterXToYDigitsForExample",
713
+ values: {
714
+ minDigits: "7",
715
+ maxDigits: "10",
716
+ example: "1234567 ND"
717
+ }
718
+ },
719
+ [StateCodesUS.Ohio]: {
720
+ key: "enterNDigitsForExample",
721
+ values: {
722
+ numDigits: "10",
723
+ example: "1234567890 OH"
724
+ }
725
+ },
726
+ [StateCodesUS.Oklahoma]: {
727
+ key: "enterNDigitsForExample",
728
+ values: {
729
+ numDigits: "10",
730
+ example: "1234567890 OK"
731
+ }
732
+ },
733
+ [StateCodesUS.Oregon]: {
734
+ key: "enterNDigitsForExample",
735
+ values: {
736
+ numDigits: "9",
737
+ example: "123456789 OR"
738
+ }
739
+ },
740
+ [StateCodesUS.Pennsylvania]: {
741
+ key: "enterNDigitsForExample",
742
+ values: {
743
+ numDigits: "7",
744
+ example: "1234567 PA"
745
+ }
746
+ },
747
+ [StateCodesUS.RhodeIsland]: {
748
+ key: "enterNDigitsForExample",
749
+ values: {
750
+ numDigits: "7",
751
+ example: "1234567 RI"
752
+ }
753
+ },
754
+ [StateCodesUS.SouthCarolina]: {
755
+ key: "enterNDigitsForExample",
756
+ values: {
757
+ numDigits: "7",
758
+ example: "1234567 SC"
759
+ }
760
+ },
761
+ [StateCodesUS.SouthDakota]: {
762
+ key: "enterNDigitsForExample",
763
+ values: {
764
+ numDigits: "7",
765
+ example: "1234567 SD"
766
+ }
767
+ },
768
+ [StateCodesUS.Tennessee]: {
769
+ key: "enterNDigitsForExample",
770
+ values: {
771
+ numDigits: "6",
772
+ example: "123456 TN"
773
+ }
774
+ },
775
+ [StateCodesUS.Texas]: {
776
+ key: "enterNDigitsForExample",
777
+ values: {
778
+ numDigits: "10",
779
+ example: "1234567890 TX"
780
+ }
781
+ },
782
+ [StateCodesUS.Utah]: {
783
+ key: "enterNDigitsForExample",
784
+ values: {
785
+ numDigits: "7",
786
+ example: "1234567 UT"
787
+ }
788
+ },
789
+ [StateCodesUS.Vermont]: {
790
+ key: "enterNDigitsForExample",
791
+ values: {
792
+ numDigits: "6",
793
+ example: "123456 VT"
794
+ }
795
+ },
796
+ [StateCodesUS.Virginia]: {
797
+ key: "enterNDigitsForExample",
798
+ values: {
799
+ numDigits: "7",
800
+ example: "1234567 VA"
801
+ }
802
+ },
803
+ [StateCodesUS.Washington]: {
804
+ key: "enterNDigitsForExample",
805
+ values: {
806
+ numDigits: "9",
807
+ example: "123456789 WA"
808
+ }
809
+ },
810
+ [StateCodesUS.WestVirginia]: {
811
+ key: "enterNDigitsForExample",
812
+ values: {
813
+ numDigits: "6",
814
+ example: "123456 WV"
815
+ }
816
+ },
817
+ [StateCodesUS.Wisconsin]: {
818
+ key: "enterNDigitsForExample",
819
+ values: {
820
+ numDigits: "6",
821
+ example: "123456 WI"
822
+ }
823
+ },
824
+ [StateCodesUS.Wyoming]: {
825
+ key: "enterNDigitsForExample",
826
+ values: {
827
+ numDigits: "6",
828
+ example: "123456 WY"
829
+ }
830
+ },
831
+ [StateCodesUS.DistrictOfColumbia]: {
832
+ key: "enterNDigitsForExample",
833
+ values: {
834
+ numDigits: "9",
835
+ example: "123456789"
836
+ }
837
+ },
838
+ default: {
839
+ key: "enterNDigitsForExample",
840
+ values: {
841
+ numDigits: "9",
842
+ example: "123456789"
843
+ }
844
+ }
845
+ };
846
+ //#endregion
847
+ //#region src/utils/regex/businessRegistrationNumberPatterns.ts
848
+ var businessRegistrationNumberPatterns = {
849
+ [CountryCodes.Australia]: {
850
+ default: /^\d{9}$/,
851
+ associationIncorporated: /^[a-zA-Z0-9]{3,20}$/
852
+ },
853
+ [CountryCodes.Austria]: {
854
+ firmenbuchnummer: /^(FN|T)\d{3,6}[a-z]$/,
855
+ ZVR: /^(AT-ZVR-)\d{9,10}$/
856
+ },
857
+ [CountryCodes.Belgium]: { default: /^\d{10}$/ },
858
+ [CountryCodes.Brazil]: { default: /^\d{14}$/ },
859
+ [CountryCodes.Bulgaria]: { default: /^\d{9}$/ },
860
+ [CountryCodes.Canada]: { default: /^[a-zA-Z0-9]{5,10}$/ },
861
+ [CountryCodes.Croatia]: {
862
+ default: /^\d{9}$/,
863
+ soleProprietorship: /^\d{8}$/
864
+ },
865
+ [CountryCodes.Cyprus]: { default: /^[COP]{1}\d{1,8}$/ },
866
+ [CountryCodes.CzechRepublic]: { default: /^\d{8,10}$/ },
867
+ [CountryCodes.Denmark]: { default: /^\d{8}$/ },
868
+ [CountryCodes.Estonia]: { default: /^\d{8}$/ },
869
+ [CountryCodes.Finland]: { default: /^\d{7}-?\d$/ },
870
+ [CountryCodes.France]: {
871
+ SIRET: /^\d{9}-?\d{5}$/,
872
+ RNA: /^W(\d{9}|\d[A-Za-z]\d{7})$/
873
+ },
874
+ [CountryCodes.Gibraltar]: { default: /^[a-zA-Z0-9]{1,8}$/ },
875
+ [CountryCodes.Germany]: { default: /^[A-Z]{2,3}\d{1,6}[A-Z]{0,5}(?:-[A-Z]\d{4})?$/ },
876
+ [CountryCodes.Greece]: { default: /^\d{12}$/ },
877
+ [CountryCodes.Guernsey]: { default: /^\d{1,9}$/ },
878
+ [CountryCodes.HongKong]: { default: /^\d{7}$/ },
879
+ [CountryCodes.Hungary]: {
880
+ default: /^\d{10}$/,
881
+ nyilvantartasiSzam: /^\d{7,10}$/
882
+ },
883
+ [CountryCodes.Iceland]: { default: /^\d{10}$/ },
884
+ [CountryCodes.India]: { default: /^\d{21}$/ },
885
+ [CountryCodes.Indonesia]: { default: /^\d{12}$/ },
886
+ [CountryCodes.Ireland]: { default: /^[1-9]\d{1,7}$/ },
887
+ [CountryCodes.IsleOfMan]: { default: /^\d{6}[A-Z]$/ },
888
+ [CountryCodes.Italy]: {
889
+ partitaIVA: /^\d{11}$/,
890
+ CCIAA: /^[a-zA-Z]{2}\d{6,7}$/
891
+ },
892
+ [CountryCodes.Japan]: { default: /^\d{12}$/ },
893
+ [CountryCodes.Jersey]: { default: /^[a-zA-Z0-9]{1,9}$/ },
894
+ [CountryCodes.Korea]: { default: /^\d{10}$/ },
895
+ [CountryCodes.Latvia]: { default: /^\d{11}$/ },
896
+ [CountryCodes.Liechtenstein]: { default: /FL-[0-9]{4}[.][0-9]{3}[.][0-9]{3}-[0-9]$/ },
897
+ [CountryCodes.Lithuania]: { default: /^\d{6,9}$/ },
898
+ [CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{1,9}$/ },
899
+ [CountryCodes.Malaysia]: { default: /^\d{7}$|^\d{12}$/ },
900
+ [CountryCodes.Malta]: { default: /^[CP]\s?\d{4,6}$/ },
901
+ [CountryCodes.Mexico]: { default: /^\D{3}\d{6}\w{3}$/ },
902
+ [CountryCodes.Monaco]: {
903
+ default: /^[0-9]{2}[A-Z]{1,3}[0-9]{5}$/,
904
+ soleProprietorship: /^\d{2,4}[A-Z]\d{5}$/
905
+ },
906
+ [CountryCodes.Netherlands]: { default: /^\d{8}$/ },
907
+ [CountryCodes.NewZealand]: {
908
+ NZBN: /^\d{13}$/,
909
+ companyNumberNZ: /^\d{7}$/
910
+ },
911
+ [CountryCodes.Norway]: { default: /^\d{9}$/ },
912
+ [CountryCodes.Poland]: {
913
+ krsNumber: /^\d{10}$/,
914
+ regon: /^\d{9}$/
915
+ },
916
+ [CountryCodes.Portugal]: { default: /^\d{9}$/ },
917
+ [CountryCodes.Romania]: {
918
+ roRegNumberOldFormat: /^[A-Z]\d{1,2}\/\d{1,9}\/\d{4}$/,
919
+ roRegNumberNewFormat: /^[JFC]\d{13}$/
920
+ },
921
+ [CountryCodes.Singapore]: { default: /^[a-zA-Z0-9]{9,10}$/ },
922
+ [CountryCodes.Slovakia]: { default: /^\d{8}$/ },
923
+ [CountryCodes.Slovenia]: { default: /^\d{10}$/ },
924
+ [CountryCodes.Spain]: { default: /^[a-zA-Z][a-zA-Z0-9]{8}$/ },
925
+ [CountryCodes.Sweden]: { default: /^\d{10}$/ },
926
+ [CountryCodes.Switzerland]: { default: /^CHE\d{9}$|^CH\d{11}$/ },
927
+ [CountryCodes.UnitedKingdom]: {
928
+ default: /^[a-zA-Z0-9]{8}$/,
929
+ nonProfit: /^(?:(?:[A-Z]{2})?\d{6}|\d{6,8}|\d{6}-\d)$/
930
+ },
931
+ [CountryCodes.UnitedStates]: {
932
+ [StateCodesUS.Alabama]: /^\d{9}$/,
933
+ [StateCodesUS.Alaska]: /^\d{8}$/,
934
+ [StateCodesUS.Arizona]: /^\d{8}$/,
935
+ [StateCodesUS.Arkansas]: /^8\d{8}$/,
936
+ [StateCodesUS.California]: /^\d{7}$|^\d{12}$/,
937
+ [StateCodesUS.Colorado]: /^\d{11}$/,
938
+ [StateCodesUS.Connecticut]: /^\d{7}$/,
939
+ [StateCodesUS.Delaware]: /^\d{7}$/,
940
+ [StateCodesUS.Florida]: /^\d{6}$|^\d{12}$/,
941
+ [StateCodesUS.Georgia]: /^\d{8}$/,
942
+ [StateCodesUS.Hawaii]: /^\d{5,8}(C1|C2|C3|C4|C5|D1|D2|D3|D4|F1|F2|L1|L2|N1|N2|P1|P2|T1|T2|T3|T4|T5|T6|T7|T8|ZZ)$/,
943
+ [StateCodesUS.Idaho]: /^\d{6}$/,
944
+ [StateCodesUS.Illinois]: /^\d{8}$/,
945
+ [StateCodesUS.Indiana]: /^\d{10}$/,
946
+ [StateCodesUS.Iowa]: /^\d{6,8}$/,
947
+ [StateCodesUS.Kansas]: /^\d{7,9}$/,
948
+ [StateCodesUS.Kentucky]: /^\d{9,10}$/,
949
+ [StateCodesUS.Louisiana]: /^\d{9,10}$/,
950
+ [StateCodesUS.Maine]: /^\d{8}$/,
951
+ [StateCodesUS.Maryland]: /^\d{8}$/,
952
+ [StateCodesUS.Massachusetts]: /^\d{10}$/,
953
+ [StateCodesUS.Michigan]: /^\d{6}$|^\d{9}$/,
954
+ [StateCodesUS.Minnesota]: /^\d{7}$/,
955
+ [StateCodesUS.Mississippi]: /^\d{7,10}$/,
956
+ [StateCodesUS.Missouri]: /^\d{10}$/,
957
+ [StateCodesUS.Montana]: /^\d{7}$/,
958
+ [StateCodesUS.Nebraska]: /^\d{9,11}$/,
959
+ [StateCodesUS.Nevada]: /^\d{9,11}$/,
960
+ [StateCodesUS.NewHampshire]: /^\d{9}$/,
961
+ [StateCodesUS.NewJersey]: /^\d{10}$/,
962
+ [StateCodesUS.NewMexico]: /^\d{6}$/,
963
+ [StateCodesUS.NewYork]: /^\d{7}$/,
964
+ [StateCodesUS.NorthCarolina]: /^\d{7}$/,
965
+ [StateCodesUS.NorthDakota]: /^\d{7,10}$/,
966
+ [StateCodesUS.Ohio]: /^\d{10}$/,
967
+ [StateCodesUS.Oklahoma]: /^\d{10}$/,
968
+ [StateCodesUS.Oregon]: /^\d{9}$/,
969
+ [StateCodesUS.Pennsylvania]: /^\d{7}$/,
970
+ [StateCodesUS.RhodeIsland]: /^\d{7}$/,
971
+ [StateCodesUS.SouthCarolina]: /^\d{7}$/,
972
+ [StateCodesUS.SouthDakota]: /^\d{7}$/,
973
+ [StateCodesUS.Tennessee]: /^\d{6}$/,
974
+ [StateCodesUS.Texas]: /^\d{10}$/,
975
+ [StateCodesUS.Utah]: /^\d{7}$/,
976
+ [StateCodesUS.Vermont]: /^\d{6}$/,
977
+ [StateCodesUS.Virginia]: /^\d{7}$/,
978
+ [StateCodesUS.Washington]: /^\d{9}$/,
979
+ [StateCodesUS.WestVirginia]: /^\d{6}$/,
980
+ [StateCodesUS.Wisconsin]: /^\d{6}$/,
981
+ [StateCodesUS.Wyoming]: /^\d{6}$/,
982
+ [StateCodesUS.DistrictOfColumbia]: /^\d{9}$/,
983
+ default: /^\d{9}$/
984
+ }
985
+ };
986
+ //#endregion
987
+ //#region src/components/Shared/fields/TaxInformationField/fieldConfig.ts
988
+ var taxInformationDefaultFieldMetadata = { label: "taxId" };
989
+ var exemptedFromTaxDefaultFieldMetadata = { label: "iDontHaveATaxId" };
990
+ /**
991
+ * Mapping function to parse TaxInformation schemas to validate the string for TaxInformation.number
992
+ *
993
+ * @param validators - String validators for the TaxInformation.number
994
+ * @param country - Country in the fieldConfig
995
+ */
996
+ var mapValidators = (validators, country) => {
997
+ return validators.map((validator) => ({
998
+ ...validator,
999
+ validate: (taxInformation) => {
1000
+ const taxInfo = taxInformation?.find((taxId) => country === taxId.country);
1001
+ if (taxInfo?.numberAbsent) return true;
1002
+ return taxInfo?.number ? validator.validate(taxInfo.number) : false;
1003
+ }
1004
+ }));
1005
+ };
1006
+ var taxInformationDefaultFieldConfig = {
1007
+ [CountryCodes.Australia]: {
1008
+ label: "australianBusinessNumberAbn",
1009
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Australia),
1010
+ mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
1011
+ guidanceText: {
1012
+ key: "enterNDigitsForExample",
1013
+ values: {
1014
+ numDigits: "11",
1015
+ example: "51 824 753 556"
1016
+ }
1017
+ }
1018
+ },
1019
+ [CountryCodes.Austria]: {
1020
+ label: "taxInformationNumber__AT",
1021
+ validators: mapValidators([validatePatternOnBlur(/^(?=(?:[^0-9]*\d){9}[^0-9]*$)[\d\-/]+$/)], CountryCodes.Austria),
1022
+ mask: { mask: makeMask(...numericInputs(2), {
1023
+ type: "input",
1024
+ allow: /[-/]/,
1025
+ optional: true
1026
+ }, ...numericInputs(3), {
1027
+ type: "input",
1028
+ allow: /[-/]/,
1029
+ optional: true
1030
+ }, ...numericInputs(4)) },
1031
+ guidanceText: {
1032
+ key: "enterNDigitsForExample",
1033
+ values: {
1034
+ numDigits: "9",
1035
+ example: "931736581"
1036
+ }
1037
+ }
1038
+ },
1039
+ [CountryCodes.Belgium]: ({ taxIdNumberType }) => {
1040
+ switch (taxIdNumberType) {
1041
+ case "NUMERO_NATIONAL": return {
1042
+ label: "taxInformationNumber__BE_Individual",
1043
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Belgium),
1044
+ mask: { mask: makeMask(...numericInputs(11)) },
1045
+ guidanceText: {
1046
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1047
+ values: {
1048
+ example: "99999999999",
1049
+ idType: "Numeró National"
1050
+ }
1051
+ }
1052
+ };
1053
+ default: return {
1054
+ label: "taxInformationNumber__BE",
1055
+ validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Belgium),
1056
+ mask: { mask: makeMask(...numericInputs(10)) },
1057
+ guidanceText: {
1058
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1059
+ values: {
1060
+ example: "0123321123",
1061
+ idType: "Business nummer"
1062
+ }
1063
+ }
1064
+ };
1065
+ }
1066
+ },
1067
+ [CountryCodes.Canada]: {
1068
+ label: "businessNumber",
1069
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Canada),
1070
+ mask: { mask: makeMask(...numericInputs(9)) },
1071
+ guidanceText: {
1072
+ key: "enterNDigitsForExample",
1073
+ values: {
1074
+ numDigits: "9",
1075
+ example: "123456789"
1076
+ }
1077
+ }
1078
+ },
1079
+ [CountryCodes.Croatia]: {
1080
+ label: "taxInformationNumber__HR",
1081
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
1082
+ mask: { mask: makeMask(...numericInputs(11)) },
1083
+ guidanceText: {
1084
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1085
+ values: {
1086
+ example: "94577403194",
1087
+ idType: "OIB"
1088
+ }
1089
+ }
1090
+ },
1091
+ [CountryCodes.Cyprus]: {
1092
+ label: "taxInformationNumber__CY",
1093
+ validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
1094
+ mask: {
1095
+ mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
1096
+ transformOnType: uppercase
1097
+ },
1098
+ guidanceText: {
1099
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1100
+ values: {
1101
+ example: "00123123T",
1102
+ idType: "TIC"
1103
+ }
1104
+ }
1105
+ },
1106
+ [CountryCodes.Estonia]: {
1107
+ label: "taxInformationNumber__ET_Individual",
1108
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
1109
+ mask: { mask: makeMask(...numericInputs(11)) },
1110
+ guidanceText: {
1111
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1112
+ values: {
1113
+ example: "32708101201",
1114
+ idType: "Isikukood"
1115
+ }
1116
+ }
1117
+ },
1118
+ [CountryCodes.Finland]: {
1119
+ label: "taxInformationNumber__FI",
1120
+ validators: mapValidators([validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)], CountryCodes.Finland),
1121
+ mask: {
1122
+ mask: makeMask(...numericInputs(6), {
1123
+ type: "input",
1124
+ allow: /[+\-A]/
1125
+ }, ...numericInputs(3), {
1126
+ type: "input",
1127
+ allow: /[0-9A-Y]/
1128
+ }),
1129
+ transformOnType: uppercase
1130
+ },
1131
+ guidanceText: {
1132
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1133
+ values: {
1134
+ example: "131052-308T",
1135
+ idType: "Henkilötunnus"
1136
+ }
1137
+ }
1138
+ },
1139
+ [CountryCodes.France]: {
1140
+ label: "taxInformationNumber__FR",
1141
+ validators: mapValidators([validatePatternOnBlur(/^\s*(\d\s*){13}$/)], CountryCodes.France),
1142
+ mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
1143
+ guidanceText: {
1144
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1145
+ values: {
1146
+ example: "30 23 217 600 053",
1147
+ idType: "Numéro SPI"
1148
+ }
1149
+ }
1150
+ },
1151
+ [CountryCodes.Germany]: ({ taxIdNumberType }) => {
1152
+ switch (taxIdNumberType) {
1153
+ case "IDNR": return {
1154
+ label: "taxInformationNumber__DE_Individual",
1155
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Germany),
1156
+ mask: { mask: makeMask(...numericInputs(11)) },
1157
+ guidanceText: {
1158
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1159
+ values: {
1160
+ example: "26954371827",
1161
+ idType: "IdNr"
1162
+ }
1163
+ }
1164
+ };
1165
+ default: return {
1166
+ label: "taxInformationNumber__DE",
1167
+ validators: mapValidators([validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)], CountryCodes.Germany),
1168
+ mask: { mask: makeMask(...numericInputs(10), ...numericInputs(3, true)) },
1169
+ guidanceText: {
1170
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1171
+ values: {
1172
+ example: "14310260208",
1173
+ idType: "Steuernummer"
1174
+ }
1175
+ }
1176
+ };
1177
+ }
1178
+ },
1179
+ [CountryCodes.Gibraltar]: {
1180
+ label: "taxpayerReferenceNumber",
1181
+ validators: mapValidators([validatePatternOnBlur(/^\d{1,7}$/)], CountryCodes.Gibraltar),
1182
+ mask: { mask: makeMask(...numericInputs(1), ...numericInputs(6, true)) },
1183
+ guidanceText: {
1184
+ key: "enterAMaximumOfNDigitsForExample",
1185
+ values: {
1186
+ maxDigits: "7",
1187
+ example: "123456"
1188
+ }
1189
+ }
1190
+ },
1191
+ [CountryCodes.Greece]: {
1192
+ label: "taxInformationNumber__GR",
1193
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
1194
+ mask: { mask: makeMask(...numericInputs(9)) },
1195
+ guidanceText: {
1196
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1197
+ values: {
1198
+ example: "244709851",
1199
+ idType: "AFM"
1200
+ }
1201
+ }
1202
+ },
1203
+ [CountryCodes.Guernsey]: ({ taxIdNumberType }) => {
1204
+ switch (taxIdNumberType) {
1205
+ case "TIN_GG": return {
1206
+ label: "nationalInsuranceNumber",
1207
+ validators: mapValidators([validatePatternOnBlur(/^GY\d{6}[A-D]$/)], CountryCodes.Guernsey),
1208
+ mask: {
1209
+ mask: makeMask(...nonInputs("GY", { includeInValue: true }), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, {
1210
+ type: "input",
1211
+ allow: /[A-D]/
1212
+ }),
1213
+ transformOnType: uppercase
1214
+ },
1215
+ guidanceText: {
1216
+ key: "enterTheRemainingNCharactersForExample",
1217
+ values: {
1218
+ numChars: "7",
1219
+ example: "GY 12 34 56 A"
1220
+ }
1221
+ }
1222
+ };
1223
+ default: return {
1224
+ label: "taxInformationNumber",
1225
+ mask: businessRegistrationNumberMasks[CountryCodes.Guernsey].default,
1226
+ validators: mapValidators([validatePatternOnBlur(businessRegistrationNumberPatterns[CountryCodes.Guernsey].default)], CountryCodes.Guernsey),
1227
+ guidanceText: {
1228
+ key: "enterAMaximumOfNDigitsForExample",
1229
+ values: {
1230
+ maxDigits: "9",
1231
+ example: "123456"
1232
+ }
1233
+ }
1234
+ };
1235
+ }
1236
+ },
1237
+ [CountryCodes.HongKong]: {
1238
+ label: "taxInformationNumber__HK",
1239
+ validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.HongKong),
1240
+ mask: { mask: makeMask(...numericInputs(8)) },
1241
+ guidanceText: {
1242
+ key: "enterNDigitsForExample",
1243
+ values: {
1244
+ numDigits: "8",
1245
+ example: "70569713"
1246
+ }
1247
+ }
1248
+ },
1249
+ [CountryCodes.Ireland]: ({ taxIdNumberType }) => {
1250
+ switch (taxIdNumberType) {
1251
+ case "PERSONAL_PUBLIC_SERVICE_NUMBER": return {
1252
+ label: "taxInformationNumber__IE_Individual",
1253
+ validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
1254
+ mask: {
1255
+ mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
1256
+ transformOnType: uppercase
1257
+ },
1258
+ guidanceText: {
1259
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1260
+ values: {
1261
+ example: "1234567T",
1262
+ idType: "Personal Public Service Number"
1263
+ }
1264
+ }
1265
+ };
1266
+ default: return {
1267
+ label: "trnNumber",
1268
+ validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
1269
+ mask: {
1270
+ mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
1271
+ transformOnType: uppercase
1272
+ },
1273
+ guidanceText: {
1274
+ key: "enterXDigitsThenXToYLettersForExample",
1275
+ values: {
1276
+ numDigits: "7",
1277
+ minLetters: "1",
1278
+ maxLetters: "2",
1279
+ example: "1497955KA"
1280
+ }
1281
+ }
1282
+ };
1283
+ }
1284
+ },
1285
+ [CountryCodes.Italy]: {
1286
+ label: "codiceFiscale",
1287
+ mask: { mask: makeMask(...numericInputs(11)) },
1288
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Italy),
1289
+ guidanceText: {
1290
+ key: "enterNDigitsForExample",
1291
+ values: {
1292
+ numDigits: "11",
1293
+ example: "12345678901"
1294
+ }
1295
+ }
1296
+ },
1297
+ [CountryCodes.IsleOfMan]: {
1298
+ label: "taxReferenceNumber",
1299
+ validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
1300
+ mask: {
1301
+ mask: makeMask({
1302
+ type: "input",
1303
+ allow: /[HCX]/
1304
+ }, ...numericInputs(6), ...nonInputs(" - "), ...numericInputs(2)),
1305
+ transformOnType: uppercase
1306
+ },
1307
+ guidanceText: {
1308
+ key: "enterNCharactersForExample",
1309
+ values: {
1310
+ numChars: "9",
1311
+ example: "C155673-79"
1312
+ }
1313
+ }
1314
+ },
1315
+ [CountryCodes.Jersey]: ({ taxIdNumberType, companyType }) => {
1316
+ switch (taxIdNumberType) {
1317
+ case "SSN": return {
1318
+ label: "socialSecurityNumber",
1319
+ validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-Z]$/)], CountryCodes.Jersey),
1320
+ mask: {
1321
+ mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...alphaInputs(1)),
1322
+ transformOnType: uppercase
1323
+ },
1324
+ guidanceText: {
1325
+ key: "enterNCharactersForExample",
1326
+ values: {
1327
+ numChars: "9",
1328
+ example: "JY000000A"
1329
+ }
1330
+ }
1331
+ };
1332
+ default: switch (companyType) {
1333
+ case CompanyTypesValues.SOLE_PROPRIETORSHIP: return {
1334
+ label: "taxIdentificationNumber",
1335
+ validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Jersey),
1336
+ mask: { mask: makeMask(...numericInputs(3), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" - "), ...numericInputs(4)) },
1337
+ guidanceText: {
1338
+ key: "enterNDigitsForExample",
1339
+ values: {
1340
+ numDigits: "10",
1341
+ example: "100-100-1000"
1342
+ }
1343
+ }
1344
+ };
1345
+ default: return {
1346
+ label: "taxIdentificationNumber",
1347
+ validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{5}$/)], CountryCodes.Jersey),
1348
+ mask: {
1349
+ mask: makeMask(...alphaInputs(2), ...numericInputs(5)),
1350
+ transformOnType: uppercase
1351
+ },
1352
+ guidanceText: {
1353
+ key: "enterNCharactersForExample",
1354
+ values: {
1355
+ numChars: "7",
1356
+ example: "CC17261"
1357
+ }
1358
+ }
1359
+ };
1360
+ }
1361
+ }
1362
+ },
1363
+ [CountryCodes.Latvia]: {
1364
+ label: "taxInformationNumber__LV",
1365
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
1366
+ mask: { mask: makeMask(...numericInputs(11)) },
1367
+ guidanceText: {
1368
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1369
+ values: {
1370
+ example: "32532963606",
1371
+ idType: "Personas kods"
1372
+ }
1373
+ }
1374
+ },
1375
+ [CountryCodes.Lithuania]: {
1376
+ label: "taxInformationNumber__LT",
1377
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
1378
+ mask: { mask: makeMask(...numericInputs(11)) },
1379
+ guidanceText: {
1380
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1381
+ values: {
1382
+ example: "33309240064",
1383
+ idType: "Asmens kodas"
1384
+ }
1385
+ }
1386
+ },
1387
+ [CountryCodes.Luxembourg]: ({ companyType }) => {
1388
+ switch (companyType) {
1389
+ case LegalEntityTypes.INDIVIDUAL: return {
1390
+ label: "taxInformationNumber__LU_Individual",
1391
+ validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
1392
+ mask: { mask: makeMask(...numericInputs(13)) },
1393
+ guidanceText: {
1394
+ key: "enterNCharactersForExample",
1395
+ values: {
1396
+ numChars: "13",
1397
+ example: "1893120105732"
1398
+ }
1399
+ }
1400
+ };
1401
+ default: return {
1402
+ label: "taxInformationNumber__LU_Org",
1403
+ validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Luxembourg),
1404
+ mask: { mask: makeMask(...numericInputs(11)) },
1405
+ guidanceText: {
1406
+ key: "enterNCharactersForExample",
1407
+ values: {
1408
+ numChars: "11",
1409
+ example: "19991201001"
1410
+ }
1411
+ }
1412
+ };
1413
+ }
1414
+ },
1415
+ [CountryCodes.Malta]: ({ taxIdNumberType }) => {
1416
+ switch (taxIdNumberType) {
1417
+ case "IDENTITY_CARD_NUMBER": return {
1418
+ label: "taxInformationNumber__MT_Individual",
1419
+ validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)], CountryCodes.Malta),
1420
+ mask: {
1421
+ mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
1422
+ transformOnType: uppercase
1423
+ },
1424
+ guidanceText: {
1425
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1426
+ values: {
1427
+ example: "1234567A",
1428
+ idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
1429
+ }
1430
+ }
1431
+ };
1432
+ case "NRU": return {
1433
+ label: "taxInformationNumber__MT_NRU_Individual",
1434
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
1435
+ mask: { mask: makeMask(...numericInputs(9)) },
1436
+ guidanceText: {
1437
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1438
+ values: {
1439
+ example: "999999999",
1440
+ idType: "NRU (Non-Maltese nationals)"
1441
+ }
1442
+ }
1443
+ };
1444
+ default: return {
1445
+ label: "taxInformationNumber__MT_Org",
1446
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
1447
+ mask: { mask: makeMask(...numericInputs(9)) },
1448
+ guidanceText: {
1449
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1450
+ values: {
1451
+ example: "123456789",
1452
+ idType: "Income Tax Registration Number"
1453
+ }
1454
+ }
1455
+ };
1456
+ }
1457
+ },
1458
+ [CountryCodes.Netherlands]: ({ companyType }) => {
1459
+ switch (companyType) {
1460
+ case LegalEntityTypes.INDIVIDUAL: return {
1461
+ label: "bsnNumber",
1462
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
1463
+ mask: { mask: makeMask(...numericInputs(9)) },
1464
+ guidanceText: {
1465
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1466
+ values: {
1467
+ example: "999999999",
1468
+ idType: "BSN"
1469
+ }
1470
+ }
1471
+ };
1472
+ default: return {
1473
+ label: "rsinNumber",
1474
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
1475
+ mask: { mask: makeMask(...numericInputs(9)) },
1476
+ guidanceText: {
1477
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1478
+ values: {
1479
+ example: "811786523",
1480
+ idType: "RSIN"
1481
+ }
1482
+ }
1483
+ };
1484
+ }
1485
+ },
1486
+ [CountryCodes.NewZealand]: {
1487
+ label: "irdNumber",
1488
+ validators: mapValidators([validatePatternOnBlur(/^\d{8,9}$/)], CountryCodes.NewZealand),
1489
+ mask: { mask: makeMask(...numericInputs(8), ...numericInputs(1, true)) },
1490
+ guidanceText: {
1491
+ key: "enterXToYDigitsForExample",
1492
+ values: {
1493
+ minDigits: "8",
1494
+ maxDigits: "9",
1495
+ example: "12345678"
1496
+ }
1497
+ }
1498
+ },
1499
+ [CountryCodes.Portugal]: {
1500
+ label: "taxInformationNumber__PT",
1501
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
1502
+ mask: { mask: makeMask(...numericInputs(9)) },
1503
+ guidanceText: {
1504
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1505
+ values: {
1506
+ example: "299999998",
1507
+ idType: "Numéro ID Civil"
1508
+ }
1509
+ }
1510
+ },
1511
+ [CountryCodes.PuertoRico]: {
1512
+ label: "taxInformationNumber__US",
1513
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
1514
+ mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
1515
+ guidanceText: {
1516
+ key: "validationPleaseEnterAValidEINWithFormat",
1517
+ values: {
1518
+ format: "XX-XXXXXXX",
1519
+ example: "98-7654321"
1520
+ }
1521
+ }
1522
+ },
1523
+ [CountryCodes.Singapore]: {
1524
+ label: "gst",
1525
+ validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{9,10}$/)], CountryCodes.Singapore),
1526
+ mask: {
1527
+ mask: makeMask(...alphanumericInputs(2), ...nonInputs(" - "), ...alphanumericInputs(7), ...nonInputs(" - "), ...alphanumericInputs(1)),
1528
+ transformOnType: uppercase
1529
+ },
1530
+ guidanceText: {
1531
+ key: "enterNCharactersForExample",
1532
+ values: {
1533
+ numChars: "10",
1534
+ example: "M212345678"
1535
+ }
1536
+ }
1537
+ },
1538
+ [CountryCodes.Slovakia]: ({ companyType }) => {
1539
+ switch (companyType) {
1540
+ case LegalEntityTypes.INDIVIDUAL: return {
1541
+ label: "taxInformationNumber__SK_Individual",
1542
+ validators: mapValidators([validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{11}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)], CountryCodes.Slovakia),
1543
+ mask: { mask: makeMask(...numericInputs(6), {
1544
+ type: "input",
1545
+ allow: /\//,
1546
+ optional: true
1547
+ }, ...numericInputs(4), ...numericInputs(1, true)) },
1548
+ guidanceText: {
1549
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1550
+ values: {
1551
+ example: "7711167420",
1552
+ idType: "Rodne Cislo"
1553
+ }
1554
+ }
1555
+ };
1556
+ default: return {
1557
+ label: "taxInformationNumber__SK_Org",
1558
+ validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Slovakia),
1559
+ mask: { mask: makeMask(...numericInputs(10)) },
1560
+ guidanceText: {
1561
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1562
+ values: {
1563
+ example: "2020123456",
1564
+ idType: "Daňové identifikačné číslo (DIČ)"
1565
+ }
1566
+ }
1567
+ };
1568
+ }
1569
+ },
1570
+ [CountryCodes.Slovenia]: ({ companyType }) => {
1571
+ switch (companyType) {
1572
+ case LegalEntityTypes.INDIVIDUAL: return {
1573
+ label: "taxInformationNumber__SI_Individual",
1574
+ validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
1575
+ mask: { mask: makeMask(...numericInputs(8)) },
1576
+ guidanceText: {
1577
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1578
+ values: {
1579
+ example: "15012557",
1580
+ idType: "SI tax number"
1581
+ }
1582
+ }
1583
+ };
1584
+ default: return {
1585
+ label: "taxInformationNumber__SI_Org",
1586
+ validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
1587
+ mask: { mask: makeMask(...numericInputs(8)) },
1588
+ guidanceText: {
1589
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1590
+ values: {
1591
+ example: "12345678",
1592
+ idType: "Davčna številka"
1593
+ }
1594
+ }
1595
+ };
1596
+ }
1597
+ },
1598
+ [CountryCodes.UnitedKingdom]: ({ taxIdNumberType, companyType }) => {
1599
+ switch (companyType) {
1600
+ case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
1601
+ case "NINO": return {
1602
+ label: "nationalInsuranceNumber",
1603
+ validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-D]$/)], CountryCodes.UnitedKingdom),
1604
+ guidanceText: {
1605
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1606
+ values: {
1607
+ example: "AA123456C",
1608
+ idType: "NINO"
1609
+ }
1610
+ }
1611
+ };
1612
+ default: return {
1613
+ label: "utr",
1614
+ validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
1615
+ mask: { mask: makeMask(...numericInputs(10)) },
1616
+ guidanceText: {
1617
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1618
+ values: {
1619
+ example: "7172510005",
1620
+ idType: "UTR"
1621
+ }
1622
+ }
1623
+ };
1624
+ }
1625
+ default: return {
1626
+ label: "utr",
1627
+ validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
1628
+ mask: { mask: makeMask(...numericInputs(10)) },
1629
+ guidanceText: {
1630
+ key: "validationPleaseEnterAValidIdNumberWithExample",
1631
+ values: {
1632
+ example: "7172510005",
1633
+ idType: "UTR"
1634
+ }
1635
+ }
1636
+ };
1637
+ }
1638
+ },
1639
+ [CountryCodes.UnitedStates]: {
1640
+ label: "taxInformationNumber__US",
1641
+ validators: mapValidators([validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)], CountryCodes.UnitedStates),
1642
+ mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
1643
+ guidanceText: {
1644
+ key: "validationPleaseEnterAValidEINWithFormat",
1645
+ values: {
1646
+ format: "XX-XXXXXXX",
1647
+ example: "98-7654321"
1648
+ }
1649
+ }
1650
+ },
1651
+ [CountryCodes.India]: { validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{15}$/)], CountryCodes.India) },
1652
+ [CountryCodes.Japan]: {
1653
+ label: "taxInformationNumber__JP",
1654
+ validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Japan),
1655
+ guidanceText: {
1656
+ key: "enterNDigitsForExample",
1657
+ values: {
1658
+ numDigits: "13",
1659
+ example: "2169151989941"
1660
+ }
1661
+ }
1662
+ },
1663
+ [CountryCodes.Philippines]: { validators: mapValidators([validatePatternOnBlur(/^\d{12}$/)], CountryCodes.Philippines) }
1664
+ };
1665
+ var exemptedFromTaxDefaultFieldConfig = { [CountryCodes.Australia]: { label: "doNotHaveAbn" } };
1666
+ var getTaxInformationPlaceholderText = ({ country, companyType, taxIdNumberType }) => {
1667
+ switch (country) {
1668
+ case CountryCodes.Austria: return "931736581";
1669
+ case CountryCodes.Belgium: switch (companyType) {
1670
+ case LegalEntityTypes.INDIVIDUAL: return "99999999999";
1671
+ default: return "0123321123";
1672
+ }
1673
+ case CountryCodes.Croatia: return "94577403194";
1674
+ case CountryCodes.Cyprus: return "00123123T";
1675
+ case CountryCodes.Estonia: return "32708101201";
1676
+ case CountryCodes.Ethiopia: return "32708101201";
1677
+ case CountryCodes.Finland: return "131052-308T";
1678
+ case CountryCodes.France: return "30 23 217 600 053";
1679
+ case CountryCodes.Germany: switch (companyType) {
1680
+ case LegalEntityTypes.INDIVIDUAL: return "26954371827";
1681
+ default: return "14310260208";
1682
+ }
1683
+ case CountryCodes.Gibraltar: return "123456";
1684
+ case CountryCodes.Greece: return "244709851";
1685
+ case CountryCodes.Ireland: switch (companyType) {
1686
+ case LegalEntityTypes.INDIVIDUAL: return "1234567T";
1687
+ default: return "1497955KA";
1688
+ }
1689
+ case CountryCodes.Italy: return "12345678901";
1690
+ case CountryCodes.IsleOfMan: return "C155673-79";
1691
+ case CountryCodes.Latvia: return "32532963606";
1692
+ case CountryCodes.Lithuania: return "33309240064";
1693
+ case CountryCodes.Luxembourg: switch (companyType) {
1694
+ case LegalEntityTypes.INDIVIDUAL: return "1893120105732";
1695
+ default: return "19991201001";
1696
+ }
1697
+ case CountryCodes.Malta: switch (companyType) {
1698
+ case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
1699
+ case "NRU": return "999999999";
1700
+ default: return "1234567A";
1701
+ }
1702
+ default: return "999999999";
1703
+ }
1704
+ case CountryCodes.Netherlands: switch (companyType) {
1705
+ case LegalEntityTypes.INDIVIDUAL: return "999999999";
1706
+ default: return "811786523";
1707
+ }
1708
+ case CountryCodes.Portugal: return "299999998";
1709
+ case CountryCodes.Slovakia: switch (companyType) {
1710
+ case LegalEntityTypes.INDIVIDUAL: return "7711167420";
1711
+ default: return "2020123456";
1712
+ }
1713
+ case CountryCodes.Slovenia: switch (companyType) {
1714
+ case LegalEntityTypes.INDIVIDUAL: return "15012557";
1715
+ default: return "12345678";
1716
+ }
1717
+ case CountryCodes.UnitedKingdom: return "7172510005";
1718
+ case CountryCodes.Spain: return "99999999L";
1719
+ case CountryCodes.PuertoRico:
1720
+ case CountryCodes.UnitedStates: return "11-0000000";
1721
+ }
1722
+ };
1723
+ //#endregion
1724
+ //#region src/utils/mapping/documentGuidanceMap.ts
1725
+ /**
1726
+ * Returns the appropriate prefix for the document guidance image based on api documentType.
1727
+ */
1728
+ var getDocumentGuidancePrefix = (documentType) => {
1729
+ switch (documentType) {
1730
+ case "passport": return "passport";
1731
+ case "driversLicense":
1732
+ case "identityCard": return "id";
1733
+ default: return "document";
1734
+ }
1735
+ };
1736
+ //#endregion
1737
+ //#region src/components/ui/molecules/DocumentGuidance/DocumentGuidance.tsx
1738
+ var documentMap = {
1739
+ "document-blurred": lazy(() => import("./document-blurred-B-Wt2Pm6.js")),
1740
+ "document-cutoff": lazy(() => import("./document-cut-off-B6ZR7USy.js")),
1741
+ "document-expired": lazy(() => import("./document-expired-hBQfwBk_.js")),
1742
+ "document-front": lazy(() => import("./document-front-C-0BBlnD.js")),
1743
+ "id-blurred": lazy(() => import("./id-blurred-8OIg137Y.js")),
1744
+ "id-cutoff": lazy(() => import("./id-cut-off-BzOwUOl_.js")),
1745
+ "id-front": lazy(() => import("./id-front-Bfirxdas.js")),
1746
+ "id-glare": lazy(() => import("./id-glare-LAYtTogY.js")),
1747
+ "passport-blurred": lazy(() => import("./passport-blurred-4b12NNQa.js")),
1748
+ "passport-cutoff": lazy(() => import("./passport-cut-off-BgrPvwDX.js")),
1749
+ "passport-front": lazy(() => import("./passport-front-DCH9iXMm.js")),
1750
+ "passport-glare": lazy(() => import("./passport-glare-DIbBXJwz.js"))
1751
+ };
1752
+ function DocumentGuidance({ type, className }) {
1753
+ const { t } = useTranslation("ui");
1754
+ const documentGuidanceItems = useMemo$1(() => {
1755
+ const guidancePrefix = getDocumentGuidancePrefix(type);
1756
+ const guidanceItems = [
1757
+ {
1758
+ svgName: `${guidancePrefix}-front`,
1759
+ translationKey: "good",
1760
+ valid: true
1761
+ },
1762
+ {
1763
+ svgName: `${guidancePrefix}-cutoff`,
1764
+ translationKey: "notCutOff"
1765
+ },
1766
+ {
1767
+ svgName: `${guidancePrefix}-blurred`,
1768
+ translationKey: "notBlurry"
1769
+ },
1770
+ guidancePrefix === "document" ? {
1771
+ svgName: `document-expired`,
1772
+ translationKey: "notExpired"
1773
+ } : {
1774
+ svgName: `${guidancePrefix}-glare`,
1775
+ translationKey: "noGlare"
1776
+ }
1777
+ ];
1778
+ return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
1779
+ }, [type]);
1780
+ return /* @__PURE__ */ jsx("div", {
1781
+ className: cx("adyen-kyc-document-guidance", className),
1782
+ children: /* @__PURE__ */ jsx("div", {
1783
+ className: "adyen-kyc-document-guidance__container",
1784
+ children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", {
1785
+ className: "adyen-kyc-document-guidance__item",
1786
+ children: [/* @__PURE__ */ jsx(Image, { lazyLoadedImage: documentMap[item.svgName] }), /* @__PURE__ */ jsxs("figcaption", {
1787
+ className: "adyen-kyc-document-guidance__description",
1788
+ children: [item.valid ? /* @__PURE__ */ jsx(Icon, {
1789
+ name: "check",
1790
+ className: "adyen-kyc-document-guidance__icon"
1791
+ }) : /* @__PURE__ */ jsx(Icon, {
1792
+ name: "cross",
1793
+ className: "adyen-kyc-document-guidance__icon adyen-kyc-document-guidance__icon--invalid"
1794
+ }), /* @__PURE__ */ jsx("span", {
1795
+ className: "adyen-kyc-document-guidance__description-text",
1796
+ children: t(($) => $[item.translationKey])
1797
+ })]
1798
+ })]
1799
+ }, item.translationKey))
1800
+ })
1801
+ });
1802
+ }
1803
+ var DocumentUpload_module_default = {
1804
+ "description-field": "adyen-kyc-description-field",
1805
+ descriptionField: "adyen-kyc-description-field"
1806
+ };
1807
+ //#endregion
1808
+ //#region src/components/Shared/forms/DocumentUpload/DocumentUpload.tsx
1809
+ var DESCRIPTION_CHARACTERS_LIMIT = 200;
1810
+ function DocumentUpload({ documentType, documentField, guidanceHeader, documentTypeSelect, guidanceContent, handleFieldChange, requiredFields, data: dataProp, valid: validProp, errors: errorProp, fieldValidationErrors: propFieldValidationErrors, supportsMultipleUploads, maxNumberOfFiles = 1, label, extraDropzoneDescription, hidePageCount, ...props }) {
1811
+ const { t } = useTranslation("common");
1812
+ const [document, setDocument] = useState$1();
1813
+ const form = useForm({
1814
+ ...props,
1815
+ schema: ["description"],
1816
+ defaultData: dataProp,
1817
+ rules: props.validators,
1818
+ fieldProblems: propFieldValidationErrors
1819
+ });
1820
+ const { handleChangeFor, triggerValidation, setData } = form;
1821
+ let { data, errors, valid, fieldProblems } = form;
1822
+ const formUtils = createFormUtils(props, t);
1823
+ const stateRef = useRef$1({ setState: null });
1824
+ const isOptional = !(props?.formVerificationErrors && Object.keys(props?.formVerificationErrors)?.length === 0);
1825
+ useEffect$1(() => {
1826
+ if (isOptional) triggerValidation();
1827
+ }, [dataProp]);
1828
+ useEffect$1(() => {
1829
+ stateRef.current.setState?.({
1830
+ type: "addToState",
1831
+ value: {
1832
+ data,
1833
+ valid,
1834
+ errors,
1835
+ fieldProblems,
1836
+ dataStoreId: props.id,
1837
+ schema: requiredFields
1838
+ }
1839
+ });
1840
+ }, [
1841
+ data,
1842
+ valid,
1843
+ errors,
1844
+ fieldProblems
1845
+ ]);
1846
+ useEffect$1(() => {
1847
+ setDocument({ [documentField]: dataProp?.[documentField] });
1848
+ setData("description", dataProp?.description);
1849
+ triggerValidation();
1850
+ }, [dataProp]);
1851
+ if (handleFieldChange && requiredFields && propFieldValidationErrors) {
1852
+ data = dataProp ?? {};
1853
+ errors = errorProp;
1854
+ valid = validProp;
1855
+ fieldProblems = propFieldValidationErrors;
1856
+ }
1857
+ const handleInput = (e) => {
1858
+ handleChangeFor("description")(e);
1859
+ if (handleFieldChange) handleFieldChange?.("description")(e);
1860
+ };
1861
+ return /* @__PURE__ */ jsxs("div", {
1862
+ className: `adyen-kyc-company-document-upload adyen-kyc-company-document-upload--${documentField}`,
1863
+ children: [
1864
+ /* @__PURE__ */ jsx(StateContextSetter, {
1865
+ owner: props.id,
1866
+ stateRef
1867
+ }),
1868
+ props.heading && /* @__PURE__ */ jsx(Header, {
1869
+ title: props.heading,
1870
+ description: props.description
1871
+ }),
1872
+ /* @__PURE__ */ jsx(ErrorPanel, {
1873
+ verificationErrors: props?.formVerificationErrors,
1874
+ validationErrors: propFieldValidationErrors,
1875
+ formUtils,
1876
+ id: "ariaErrorField"
1877
+ }),
1878
+ formUtils.isRequiredField(documentField) && /* @__PURE__ */ jsxs(Fragment$1, { children: [
1879
+ guidanceHeader,
1880
+ documentTypeSelect && /* @__PURE__ */ jsx(Field, {
1881
+ name: "documentType",
1882
+ label: t(($) => $["selectDocumentType"]),
1883
+ children: (childProps) => /* @__PURE__ */ jsx(Select, {
1884
+ ...childProps,
1885
+ onChange: (e) => documentTypeSelect.setSelectedType(e.target.value),
1886
+ name: "documentType",
1887
+ placeholder: t(($) => $["selectDocument"]),
1888
+ selected: documentTypeSelect.selectedType,
1889
+ items: documentTypeSelect.options.map(({ id, name }) => ({
1890
+ id,
1891
+ name: t(($) => $[name])
1892
+ }))
1893
+ })
1894
+ }),
1895
+ /* @__PURE__ */ jsx("div", { children: guidanceContent }),
1896
+ /* @__PURE__ */ jsx(DocumentGuidance, {
1897
+ type: documentType,
1898
+ className: "adyen-kyc-u-margin-bottom-24"
1899
+ }),
1900
+ /* @__PURE__ */ jsx(Dropzone, {
1901
+ defaultData: document ?? data,
1902
+ id: props.id,
1903
+ isOptional: isOptional || formUtils.isOptionalField(documentField),
1904
+ maxSize: documentType === "constitutionalDocument" ? 31457280 : void 0,
1905
+ name: documentField,
1906
+ shouldValidate: props.shouldValidate,
1907
+ handleFieldChange,
1908
+ errors,
1909
+ fieldValidationErrors: fieldProblems,
1910
+ valid,
1911
+ multiple: supportsMultipleUploads,
1912
+ maxNumberOfFiles: maxNumberOfFiles ?? 1,
1913
+ label,
1914
+ extraDropzoneDescription,
1915
+ hidePageCount
1916
+ })
1917
+ ] }),
1918
+ formUtils.isRequiredField("description") && /* @__PURE__ */ jsx("div", {
1919
+ className: DocumentUpload_module_default.descriptionField,
1920
+ children: /* @__PURE__ */ jsx(Field, {
1921
+ name: "description",
1922
+ label: formUtils.getLabel("descriptionOptional"),
1923
+ errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
1924
+ isValid: valid.description,
1925
+ children: (childProps) => /* @__PURE__ */ jsx(TextArea, {
1926
+ ...childProps,
1927
+ name: "description",
1928
+ value: data.description,
1929
+ maxLength: DESCRIPTION_CHARACTERS_LIMIT,
1930
+ onInput: handleInput,
1931
+ "aria-invalid": !valid.description,
1932
+ handleFieldChange: handleInput,
1933
+ errors,
1934
+ fieldValidationErrors: fieldProblems,
1935
+ valid
1936
+ })
1937
+ })
1938
+ })
1939
+ ]
1940
+ });
1941
+ }
1942
+ var MemoizedDocumentUpload = memo(DocumentUpload, (prevProps, nextProps) => prevProps.shouldValidate === nextProps.shouldValidate && objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.errors, nextProps.errors) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && objectsDeepEqual(prevProps.documentTypeSelect, nextProps.documentTypeSelect) && prevProps.documentField === nextProps.documentField && prevProps.name === nextProps.name && prevProps.country === nextProps.country && prevProps.companyType === nextProps.companyType);
1943
+ //#endregion
1944
+ //#region src/components/Shared/fields/TaxInformationField/taxIdNumberTypes.ts
1945
+ var restrictedEntityTypes = [
1946
+ CompanyTypesValues.SOLE_PROPRIETORSHIP,
1947
+ LegalEntityTypes.TRUST,
1948
+ LegalEntityTypes.INDIVIDUAL
1949
+ ];
1950
+ var isRestrictedEntityType = (entityType) => Boolean(entityType && restrictedEntityTypes.includes(entityType));
1951
+ var isApplicableOnlyForSingleRestrictedType = (option) => {
1952
+ if (!option.applicableOnlyFor || option.applicableOnlyFor.length !== 1) return false;
1953
+ return restrictedEntityTypes.includes(option.applicableOnlyFor[0]);
1954
+ };
1955
+ var taxIdNumberOptions = {
1956
+ [CountryCodes.Australia]: [{
1957
+ id: "ABN",
1958
+ name: "australianBusinessNumberAbn"
1959
+ }],
1960
+ [CountryCodes.Austria]: [{
1961
+ id: "STEUERNUMMER",
1962
+ name: "taxInformationNumber__AT"
1963
+ }],
1964
+ [CountryCodes.Belgium]: [{
1965
+ id: "BUSINESS_NUMMER",
1966
+ name: "businessNumber",
1967
+ applicableOnlyFor: [
1968
+ CompanyTypesValues.SOLE_PROPRIETORSHIP,
1969
+ CompanyTypesValues.PRIVATE_COMPANY,
1970
+ CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
1971
+ CompanyTypesValues.INCORPORATED_ASSOCIATION,
1972
+ CompanyTypesValues.INCORPORATED_PARTNERSHIP,
1973
+ CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
1974
+ CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
1975
+ CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
1976
+ ]
1977
+ }, {
1978
+ id: "NUMERO_NATIONAL",
1979
+ name: "taxInformationNumber__BE_Individual",
1980
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1981
+ }],
1982
+ [CountryCodes.Brazil]: [{
1983
+ id: "CNPJ",
1984
+ name: "CNPJ"
1985
+ }],
1986
+ [CountryCodes.Canada]: [{
1987
+ id: "BUSINESS_NUMBER",
1988
+ name: "businessNumber"
1989
+ }],
1990
+ [CountryCodes.Croatia]: [{
1991
+ id: "OIB",
1992
+ name: "taxInformationNumber__HR"
1993
+ }],
1994
+ [CountryCodes.Cyprus]: [{
1995
+ id: "TIC",
1996
+ name: "taxInformationNumber__CY"
1997
+ }],
1998
+ [CountryCodes.Estonia]: [{
1999
+ id: "ISIKUKOOD",
2000
+ name: "taxInformationNumber__ET_Individual",
2001
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2002
+ }, {
2003
+ id: "registrikood",
2004
+ name: "registrikood",
2005
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2006
+ }],
2007
+ [CountryCodes.Finland]: [{
2008
+ id: "HENKILOTUNNUS",
2009
+ name: "taxInformationNumber__FI",
2010
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2011
+ }, {
2012
+ id: "YTUNNUS",
2013
+ name: "YTunnus",
2014
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2015
+ }],
2016
+ [CountryCodes.France]: [{
2017
+ id: "SIRET",
2018
+ name: "siret",
2019
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2020
+ }],
2021
+ [CountryCodes.Germany]: [{
2022
+ id: "STEUERNUMMER",
2023
+ name: "taxInformationNumber__DE",
2024
+ applicableOnlyFor: [
2025
+ CompanyTypesValues.SOLE_PROPRIETORSHIP,
2026
+ CompanyTypesValues.PRIVATE_COMPANY,
2027
+ CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
2028
+ CompanyTypesValues.INCORPORATED_ASSOCIATION,
2029
+ CompanyTypesValues.INCORPORATED_PARTNERSHIP,
2030
+ CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
2031
+ CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
2032
+ CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
2033
+ ]
2034
+ }, {
2035
+ id: "IDNR",
2036
+ name: "taxInformationNumber__DE_Individual",
2037
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2038
+ }],
2039
+ [CountryCodes.Gibraltar]: [{
2040
+ id: "GI_TAXPAYER_REFERENCE_NUMBER",
2041
+ name: "taxpayerReferenceNumber"
2042
+ }],
2043
+ [CountryCodes.Greece]: [{
2044
+ id: "AFM",
2045
+ name: "taxInformationNumber__GR"
2046
+ }],
2047
+ [CountryCodes.Guernsey]: [{
2048
+ id: "GG_REGISTRATION_NUMBER",
2049
+ name: "taxInformationNumber"
2050
+ }, {
2051
+ id: "TIN_GG",
2052
+ name: "nationalInsuranceNumber",
2053
+ applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
2054
+ }],
2055
+ [CountryCodes.HongKong]: [{
2056
+ id: "BRN",
2057
+ name: "taxInformationNumber__HK"
2058
+ }],
2059
+ [CountryCodes.Ireland]: [{
2060
+ id: "TRN",
2061
+ name: "trnNumber",
2062
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY, CompanyTypesValues.UNINCORPORATED_PARTNERSHIP]
2063
+ }, {
2064
+ id: "PERSONAL_PUBLIC_SERVICE_NUMBER",
2065
+ name: "taxInformationNumber__IE_Individual",
2066
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2067
+ }],
2068
+ [CountryCodes.IsleOfMan]: [{
2069
+ id: "IM_TAX_REFERENCE_NUMBER",
2070
+ name: "taxReferenceNumber"
2071
+ }],
2072
+ [CountryCodes.Italy]: [{
2073
+ id: "CODICE_FISCALE",
2074
+ name: "taxInformationNumber__IT"
2075
+ }],
2076
+ [CountryCodes.Japan]: [{
2077
+ id: "CORPORATE_NUMBER",
2078
+ name: "taxInformationNumber"
2079
+ }],
2080
+ [CountryCodes.Jersey]: [{
2081
+ id: "TIN_JE",
2082
+ name: "taxIdentificationNumber"
2083
+ }, {
2084
+ id: "SSN",
2085
+ name: "socialSecurityNumber",
2086
+ applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
2087
+ }],
2088
+ [CountryCodes.Latvia]: [{
2089
+ id: "PERSONAS_KODS",
2090
+ name: "taxInformationNumber__LV",
2091
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2092
+ }, {
2093
+ id: "REGISTRACIJAS_NUMURS",
2094
+ name: "lvRegistrationNumber",
2095
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2096
+ }],
2097
+ [CountryCodes.Lithuania]: [{
2098
+ id: "ASMENS_KODAS",
2099
+ name: "taxInformationNumber__LT"
2100
+ }],
2101
+ [CountryCodes.Luxembourg]: [{
2102
+ id: "NATIONAL_IDENTIFICATION_NUMBER",
2103
+ name: "taxInformationNumber__LU_Individual",
2104
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2105
+ }, {
2106
+ id: "NATIONAL_IDENTIFICATION_NUMBER",
2107
+ name: "taxInformationNumber__LU_Org",
2108
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2109
+ }],
2110
+ [CountryCodes.Malta]: [
2111
+ {
2112
+ id: "NRU",
2113
+ name: "taxInformationNumber__MT_NRU_Individual",
2114
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2115
+ },
2116
+ {
2117
+ id: "IDENTITY_CARD_NUMBER",
2118
+ name: "taxInformationNumber__MT_Individual",
2119
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2120
+ },
2121
+ {
2122
+ id: "INCOME_TAX_REGISTRATION_NUMBER",
2123
+ name: "taxInformationNumber__MT_Org",
2124
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2125
+ }
2126
+ ],
2127
+ [CountryCodes.Netherlands]: [{
2128
+ id: "RSIN",
2129
+ name: "rsinNumber",
2130
+ applicableOnlyFor: [
2131
+ CompanyTypesValues.PRIVATE_COMPANY,
2132
+ CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
2133
+ CompanyTypesValues.INCORPORATED_ASSOCIATION,
2134
+ CompanyTypesValues.INCORPORATED_PARTNERSHIP,
2135
+ CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
2136
+ CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
2137
+ CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
2138
+ ]
2139
+ }, {
2140
+ id: "BSN",
2141
+ name: "bsnNumber",
2142
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2143
+ }],
2144
+ [CountryCodes.NewZealand]: [{
2145
+ id: "IRD",
2146
+ name: "irdNumber"
2147
+ }],
2148
+ [CountryCodes.Portugal]: [{
2149
+ id: "NUMERO_ID_CIVIL",
2150
+ name: "taxInformationNumber__PT",
2151
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2152
+ }, {
2153
+ id: "NIPC",
2154
+ name: "NIPC",
2155
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2156
+ }],
2157
+ [CountryCodes.PuertoRico]: [{
2158
+ id: "EIN",
2159
+ name: "ein"
2160
+ }],
2161
+ [CountryCodes.Singapore]: [{
2162
+ id: "GST",
2163
+ name: "gst"
2164
+ }, {
2165
+ id: "UEN",
2166
+ name: "uen"
2167
+ }],
2168
+ [CountryCodes.Slovakia]: [{
2169
+ id: "RODNE_CISLO",
2170
+ name: "taxInformationNumber__SK_Individual",
2171
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2172
+ }, {
2173
+ id: "NATIONAL_IDENTIFICATION_NUMBER",
2174
+ name: "taxInformationNumber__SK_Org",
2175
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2176
+ }],
2177
+ [CountryCodes.Slovenia]: [{
2178
+ id: "SI_TAX_NUMBER",
2179
+ name: "taxInformationNumber__SI_Individual",
2180
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2181
+ }, {
2182
+ id: "NATIONAL_IDENTIFICATION_NUMBER",
2183
+ name: "taxInformationNumber__SI_Org",
2184
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2185
+ }],
2186
+ [CountryCodes.Spain]: [
2187
+ {
2188
+ id: "dni",
2189
+ name: "dni",
2190
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2191
+ },
2192
+ {
2193
+ id: "nie",
2194
+ name: "nie",
2195
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2196
+ },
2197
+ {
2198
+ id: "NIF",
2199
+ name: "NIF",
2200
+ applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2201
+ }
2202
+ ],
2203
+ [CountryCodes.UnitedKingdom]: [{
2204
+ id: "UTR",
2205
+ name: "utr"
2206
+ }, {
2207
+ id: "NINO",
2208
+ name: "nationalInsuranceNumber",
2209
+ applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2210
+ }],
2211
+ [CountryCodes.UnitedStates]: [{
2212
+ id: "EIN",
2213
+ name: "ein"
2214
+ }]
2215
+ };
2216
+ var getTaxIdNumberOptions = (country, companyType, invertCompanyTypeFilter = false) => {
2217
+ const optionsForCountry = taxIdNumberOptions[country];
2218
+ if (!optionsForCountry) return optionsForCountry;
2219
+ if (invertCompanyTypeFilter) {
2220
+ if (isRestrictedEntityType(companyType)) return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
2221
+ return optionsForCountry.filter((option) => !isApplicableOnlyForSingleRestrictedType(option));
2222
+ }
2223
+ if (!companyType) return optionsForCountry;
2224
+ return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
2225
+ };
2226
+ function getValidCompanyTypesForTaxIdNumberType(country, taxIdNumberType) {
2227
+ if (!taxIdNumberType) return void 0;
2228
+ const taxIdOption = taxIdNumberOptions[country]?.find((option) => option.id === taxIdNumberType);
2229
+ if (!taxIdOption?.applicableOnlyFor) return void 0;
2230
+ const validCompanyTypes = taxIdOption.applicableOnlyFor.filter((type) => type !== LegalEntityTypes.INDIVIDUAL && type !== LegalEntityTypes.TRUST);
2231
+ return validCompanyTypes.length > 0 ? validCompanyTypes : void 0;
2232
+ }
2233
+ //#endregion
2234
+ //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.ts
2235
+ /**
2236
+ * For existing data, we need to infer the tax ID number type from the existing data.
2237
+ * Otherwise, the incorrect mask will be applied.
2238
+ * We don't store this choice in the API.
2239
+ * @param taxInformation the existing tax information
2240
+ * @param country the country of the LE
2241
+ * @param companyType the company type, e.g. `nonProfit`
2242
+ */
2243
+ var inferTaxIdNumberType = (taxInformation, country, companyType, invertCompanyTypeFilter = false) => {
2244
+ if (!taxInformation) return void 0;
2245
+ const optionsForCountry = getTaxIdNumberOptions(country, companyType, invertCompanyTypeFilter);
2246
+ const metadataFn = taxInformationDefaultFieldConfig[country];
2247
+ if (!optionsForCountry || !metadataFn) return void 0;
2248
+ if (optionsForCountry.length === 1) return optionsForCountry[0].id;
2249
+ const allMetaData = optionsForCountry.reduce((acc, option) => {
2250
+ const meta = typeof metadataFn === "function" ? metadataFn({
2251
+ taxIdNumberType: option.id,
2252
+ companyType
2253
+ }) : metadataFn;
2254
+ if (meta.label && !acc[meta.label]) acc[meta.label] = meta;
2255
+ return acc;
2256
+ }, {});
2257
+ for (const option of optionsForCountry) {
2258
+ const fieldMetadata = allMetaData[option.name];
2259
+ if (!fieldMetadata?.validators) continue;
2260
+ if ((Array.isArray(fieldMetadata.validators) ? fieldMetadata.validators : [fieldMetadata.validators]).every((validator) => validator.validate(taxInformation))) return option.id;
2261
+ }
2262
+ };
2263
+ //#endregion
2264
+ //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.ts
2265
+ /**
2266
+ * Finds tax information for a specific country from an array of tax information objects.
2267
+ *
2268
+ * @param taxInformation - Array of tax information objects to search through
2269
+ * @param country - Country code to find tax information for
2270
+ * @returns The first matching tax information object or undefined if none found
2271
+ */
2272
+ function findExistingTaxInformation(taxInformation, country) {
2273
+ return taxInformation?.find((taxId) => taxId.country === country);
2274
+ }
2275
+ /**
2276
+ * Determines the default tax ID number type based on existing information and entity type.
2277
+ * This function follows a priority order:
2278
+ * 1. Use the type from existing tax information if available
2279
+ * 2. If there's a tax number but no type, infer the type from the number
2280
+ * 3. Otherwise, use the first available tax ID option for the country and entity type
2281
+ *
2282
+ * @param taxInformation - Array of tax information objects
2283
+ * @param country - Country code to determine the tax ID type for
2284
+ * @param entityType - Type of entity (company type or individual)
2285
+ * @returns The determined tax ID number type or undefined if none can be determined
2286
+ */
2287
+ function getDefaultTaxIdNumberType(taxInformation, country, entityType, invertCompanyTypeFilter) {
2288
+ const existingTaxInformation = findExistingTaxInformation(taxInformation, country);
2289
+ return existingTaxInformation?.type ?? (existingTaxInformation?.number ? inferTaxIdNumberType(taxInformation, country, entityType, invertCompanyTypeFilter) : getTaxIdNumberOptions(country, entityType, invertCompanyTypeFilter)?.[0]?.id);
2290
+ }
2291
+ //#endregion
2292
+ //#region src/components/Business/utils/companyUtil.ts
2293
+ var countryToTaxInfoTypeMap = {
2294
+ US: "EIN",
2295
+ AU: "ABN",
2296
+ NZ: "IRD",
2297
+ HK: "BRN",
2298
+ SG: "GST"
2299
+ };
2300
+ var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, legalEntityType) => {
2301
+ const isOrganization = legalEntityType === LegalEntityTypes.ORGANIZATION;
2302
+ if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
2303
+ if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
2304
+ if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
2305
+ if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
2306
+ }
2307
+ };
2308
+ //#endregion
2309
+ //#region src/components/Business/utils/requestingCapabilities.ts
2310
+ function requestingIssuing(rootLegalEntity) {
2311
+ const capabilities = rootLegalEntity?.capabilities ?? {};
2312
+ return "issueCard" in capabilities && capabilities.issueCard?.requested === true || "issueCardConsumer" in capabilities && capabilities.issueCardConsumer?.requested === true || "issueCardCommercial" in capabilities && capabilities.issueCardCommercial?.requested === true || "useCard" in capabilities && capabilities.useCard?.requested === true || "useCardConsumer" in capabilities && capabilities.useCardConsumer?.requested === true || "useCardCommercial" in capabilities && capabilities.useCardCommercial?.requested === true;
2313
+ }
2314
+ function requestingBanking(rootLegalEntity) {
2315
+ const capabilities = rootLegalEntity?.capabilities ?? {};
2316
+ return "issueBankAccount" in capabilities && capabilities.issueBankAccount?.requested === true || "sendToThirdParty" in capabilities && capabilities.sendToThirdParty?.requested === true || "receiveFromThirdParty" in capabilities && capabilities.receiveFromThirdParty?.requested === true;
2317
+ }
2318
+ //#endregion
2319
+ //#region src/components/Business/forms/rules.ts
2320
+ var COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION = [
2321
+ CountryCodes.Australia,
2322
+ CountryCodes.Gibraltar,
2323
+ CountryCodes.Guernsey,
2324
+ CountryCodes.HongKong,
2325
+ CountryCodes.Ireland,
2326
+ CountryCodes.IsleOfMan,
2327
+ CountryCodes.Jersey,
2328
+ CountryCodes.Malta,
2329
+ CountryCodes.PuertoRico,
2330
+ CountryCodes.Spain,
2331
+ CountryCodes.UnitedKingdom,
2332
+ CountryCodes.UnitedStates
2333
+ ];
2334
+ var COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION = [
2335
+ CountryCodes.HongKong,
2336
+ CountryCodes.PuertoRico,
2337
+ CountryCodes.UnitedStates
2338
+ ];
2339
+ var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS = [CountryCodes.HongKong];
2340
+ var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS = [
2341
+ CountryCodes.Austria,
2342
+ CountryCodes.Canada,
2343
+ CountryCodes.Finland,
2344
+ CountryCodes.Germany,
2345
+ CountryCodes.Lithuania,
2346
+ CountryCodes.Luxembourg,
2347
+ CountryCodes.NewZealand,
2348
+ CountryCodes.Poland,
2349
+ CountryCodes.Sweden,
2350
+ CountryCodes.Switzerland
2351
+ ];
2352
+ var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER = [CountryCodes.Canada, CountryCodes.UnitedStates];
2353
+ var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS = [CountryCodes.Germany];
2354
+ /**
2355
+ * Also used to determine what documenttype needs to be used
2356
+ * when uploading tax document in mapping.ts
2357
+ * */
2358
+ var COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT = [
2359
+ CountryCodes.Australia,
2360
+ CountryCodes.Canada,
2361
+ CountryCodes.Gibraltar,
2362
+ CountryCodes.HongKong,
2363
+ CountryCodes.NewZealand,
2364
+ CountryCodes.PuertoRico,
2365
+ CountryCodes.Singapore,
2366
+ CountryCodes.UnitedStates,
2367
+ CountryCodes.Guernsey,
2368
+ CountryCodes.Jersey,
2369
+ CountryCodes.IsleOfMan,
2370
+ CountryCodes.Mexico,
2371
+ CountryCodes.Brazil,
2372
+ CountryCodes.Japan
2373
+ ];
2374
+ var COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP = [CountryCodes.Singapore];
2375
+ var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES = [];
2376
+ var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS = [
2377
+ CountryCodes.Canada,
2378
+ CountryCodes.PuertoRico,
2379
+ CountryCodes.UnitedStates
2380
+ ];
2381
+ var COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION = [CountryCodes.HongKong, CountryCodes.Singapore];
2382
+ var COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
2383
+ /**
2384
+ * @description These are the countries that currently have a search provider that requires their tax information (TIN, VAT, etc.) to search and verify details.
2385
+ */
2386
+ var COUNTRIES_USING_COMPANY_SEARCH = [CountryCodes.UnitedStates];
2387
+ var COUNTRY_OF_GOVERNING_LAW_POSSIBLE = [CountryCodes.UnitedKingdom];
2388
+ var COUNTRIES_REQUIRING_FINANCIAL_INFORMATION = [
2389
+ CountryCodes.Austria,
2390
+ CountryCodes.Belgium,
2391
+ CountryCodes.Croatia,
2392
+ CountryCodes.Cyprus,
2393
+ CountryCodes.Estonia,
2394
+ CountryCodes.Finland,
2395
+ CountryCodes.France,
2396
+ CountryCodes.Germany,
2397
+ CountryCodes.Greece,
2398
+ CountryCodes.Ireland,
2399
+ CountryCodes.Italy,
2400
+ CountryCodes.Latvia,
2401
+ CountryCodes.Lithuania,
2402
+ CountryCodes.Luxembourg,
2403
+ CountryCodes.Malta,
2404
+ CountryCodes.Netherlands,
2405
+ CountryCodes.Portugal,
2406
+ CountryCodes.Slovakia,
2407
+ CountryCodes.Slovenia,
2408
+ CountryCodes.Spain,
2409
+ CountryCodes.UnitedKingdom
2410
+ ];
2411
+ var COUNTRIES_REQUIRING_E_INVOICING_CODE = [CountryCodes.Italy];
2412
+ var COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 = [CountryCodes.Australia];
2413
+ var TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION = [
2414
+ CountryCodes.Austria,
2415
+ CountryCodes.Belgium,
2416
+ CountryCodes.Croatia,
2417
+ CountryCodes.Cyprus,
2418
+ CountryCodes.Germany,
2419
+ CountryCodes.Greece,
2420
+ CountryCodes.Ireland,
2421
+ CountryCodes.Luxembourg,
2422
+ CountryCodes.Malta,
2423
+ CountryCodes.Netherlands,
2424
+ CountryCodes.Slovakia,
2425
+ CountryCodes.Slovenia,
2426
+ CountryCodes.UnitedKingdom
2427
+ ];
2428
+ function isUsingCompanySearch(country, taskType) {
2429
+ return taskType === TaskTypes.BUSINESS_DETAILS && COUNTRIES_USING_COMPANY_SEARCH.includes(country);
2430
+ }
2431
+ var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
2432
+ return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
2433
+ };
2434
+ var rules = ({ data, defaultData, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, accountHolder, rootLegalEntity, tinMatched }) => {
2435
+ const countryRequiresDateOfIncorporationForCompanies = () => {
2436
+ if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) return "REQUIRED";
2437
+ };
2438
+ const countryRequiresFinancialInformation = () => {
2439
+ if (isFeatureEnabled("EnableFinancialInformationComponentV4") && COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) {
2440
+ const isFinancialInformationFeatureEnabled = isFeatureEnabled("EnableFinancialInformationComponentV4");
2441
+ const leType = rootLegalEntity?.type;
2442
+ return isFinancialInformationRequired(isFinancialInformationFeatureEnabled, taskType, country, rootLegalEntity?.capabilities, leType);
2443
+ }
2444
+ };
2445
+ return createFormRules({
2446
+ requireDoingBusinessAsName: () => {
2447
+ return data.additionalInformation?.hasDoingBusinessAs ? "REQUIRED" : void 0;
2448
+ },
2449
+ countryRequiresStateOrProvince: () => {
2450
+ if (COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
2451
+ },
2452
+ ifPubliclyTradedCompany: () => {
2453
+ if (data.companyStructure?.entityType === CompanyTypesValues.PUBLIC_COMPANY) return "REQUIRED";
2454
+ },
2455
+ countryUsesVat: () => {
2456
+ if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "OPTIONAL" : "REQUIRED";
2457
+ },
2458
+ vatNumberType: () => {
2459
+ if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "OPTIONAL";
2460
+ },
2461
+ isVatExempt: () => {
2462
+ if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "REQUIRED" : "OPTIONAL";
2463
+ },
2464
+ countryUsesTaxId: () => {
2465
+ const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
2466
+ const isOrgWithBanking = rootLegalEntity?.type === "organization" && keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount");
2467
+ const registrationNumberType = isFeatureEnabled("EnableUnifiedCompanySearch") ? data.basicInformation?.registrationNumberType : data.additionalInformation?.registrationNumberType;
2468
+ if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country) && isOrgWithBanking) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
2469
+ if (country === CountryCodes.Italy && isOrgWithBanking && registrationNumberType === "CCIAA") return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
2470
+ if (COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country) && !(taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY && COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP.includes(country))) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
2471
+ },
2472
+ companyRegistrationNumberExemptionAllowed: () => {
2473
+ const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
2474
+ if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && isRegistrationNumberAbsentStateV4Scenario(country, data.companyStructure?.entityType)) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2475
+ switch (taskType) {
2476
+ case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2477
+ if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS.includes(country)) return;
2478
+ return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2479
+ default: switch (country) {
2480
+ case CountryCodes.Germany:
2481
+ if (data.companyStructure?.entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2482
+ return;
2483
+ case CountryCodes.Denmark:
2484
+ if (data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2485
+ return;
2486
+ case CountryCodes.HongKong:
2487
+ if (country === CountryCodes.HongKong && !defaultData?.additionalInformation?.registrationNumber) return;
2488
+ return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2489
+ default:
2490
+ if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS.includes(country)) return;
2491
+ return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2492
+ }
2493
+ }
2494
+ },
2495
+ countryOfGoverningLawRequired: () => {
2496
+ if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(data.basicInformation?.country)) return "REQUIRED";
2497
+ },
2498
+ countryRequiresRegistrationNumber: () => {
2499
+ const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
2500
+ switch (taskType) {
2501
+ case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2502
+ if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
2503
+ if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS.includes(country)) return "OPTIONAL";
2504
+ return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
2505
+ default:
2506
+ if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
2507
+ if (country === CountryCodes.HongKong) {
2508
+ if (!defaultData?.additionalInformation?.registrationNumber) return;
2509
+ return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
2510
+ }
2511
+ if (!COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
2512
+ }
2513
+ },
2514
+ registrationNumberType: () => {
2515
+ switch (taskType) {
2516
+ case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2517
+ if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
2518
+ return "OPTIONAL";
2519
+ default:
2520
+ if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
2521
+ if (COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return;
2522
+ return "OPTIONAL";
2523
+ }
2524
+ },
2525
+ countryUsesUenOrGst: () => {
2526
+ if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
2527
+ if (COUNTRIES_THAT_USES_UEN_OR_GST.includes(country)) return "REQUIRED";
2528
+ },
2529
+ countryHasTaxExemptions: () => {
2530
+ const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
2531
+ switch (taskType) {
2532
+ case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2533
+ if (!COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS.includes(country)) return;
2534
+ return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
2535
+ default:
2536
+ if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust") return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
2537
+ if (COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES.includes(country)) return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
2538
+ }
2539
+ },
2540
+ usingCompanySearch: () => {
2541
+ if (isUsingCompanySearch(country, taskType)) return "REQUIRED";
2542
+ },
2543
+ requireStateOrProvinceForCompanySearch: () => {
2544
+ if (isUsingCompanySearch(country, taskType) && COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
2545
+ },
2546
+ countryRequiresFinancialInformation,
2547
+ isDateOfIncorporationRequired: () => {
2548
+ return countryRequiresDateOfIncorporationForCompanies() || countryRequiresFinancialInformation();
2549
+ },
2550
+ isFinancialReportingFieldsRequired: () => {
2551
+ return countryRequiresFinancialInformation() === "REQUIRED" && isDateOlderThanAYear(data.additionalInformation?.dateOfIncorporation) ? "REQUIRED" : void 0;
2552
+ },
2553
+ isIndustryCodeRequired: () => {
2554
+ const needsBusinessLine = requestingIssuing(rootLegalEntity) || requestingBanking(rootLegalEntity);
2555
+ if (isSettingEnabled(SettingNames.AllowBusinessLines) && needsBusinessLine) return "REQUIRED";
2556
+ },
2557
+ annualTurnoverRequired: () => {
2558
+ if (data.companyFinancialInformation?.reportedValueOption === "annualTurnover") return "REQUIRED";
2559
+ },
2560
+ balanceSheetTotalRequired: () => {
2561
+ if (data.companyFinancialInformation?.reportedValueOption === "balanceSheetTotal") return "REQUIRED";
2562
+ },
2563
+ isEInvoicingCodeEnabled: () => {
2564
+ if (isFeatureEnabled("EnableEInvoicingCodeField") && COUNTRIES_REQUIRING_E_INVOICING_CODE.includes(country)) return "REQUIRED";
2565
+ },
2566
+ ifCountryUsAndTinFailed: () => {
2567
+ if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
2568
+ if (tinMatched === false && country === CountryCodes.UnitedStates) return "REQUIRED";
2569
+ },
2570
+ businessRequiresCompanyType: () => {
2571
+ if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) return "REQUIRED";
2572
+ },
2573
+ japaneseLegalCompanyName: () => {
2574
+ if (isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
2575
+ }
2576
+ });
2577
+ };
2578
+ //#endregion
2579
+ //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.tsx
2580
+ function TaxIdNumberTypeSelector({ country, companyType, invertCompanyTypeFilter, selected, setSelected, exemptedOptionLabel, isUsSoleProp, errorMessage }) {
2581
+ const { t } = useTranslation("common");
2582
+ const handleSelect = useCallback$1((selectedStr) => {
2583
+ const newSelected = selectedStr;
2584
+ if (newSelected === "exempted") {
2585
+ if (exemptedOptionLabel) setSelected(newSelected);
2586
+ return;
2587
+ }
2588
+ setSelected(newSelected);
2589
+ }, [exemptedOptionLabel, setSelected]);
2590
+ const options = useMemo$1(() => {
2591
+ const availableOptions = getTaxIdNumberOptions(country, companyType, invertCompanyTypeFilter) ?? [];
2592
+ if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
2593
+ return [...availableOptions, {
2594
+ id: "exempted",
2595
+ name: exemptedOptionLabel
2596
+ }];
2597
+ }, [
2598
+ country,
2599
+ companyType,
2600
+ exemptedOptionLabel,
2601
+ invertCompanyTypeFilter
2602
+ ]);
2603
+ useEffect$1(() => {
2604
+ if (!isUsSoleProp && !selected && options.length > 0) handleSelect(options[0].id);
2605
+ }, [
2606
+ options,
2607
+ selected,
2608
+ handleSelect,
2609
+ isUsSoleProp
2610
+ ]);
2611
+ if (options.length <= 1) return null;
2612
+ return /* @__PURE__ */ jsx(Field, {
2613
+ el: "fieldset",
2614
+ name: "taxIdNumberType",
2615
+ label: t(($) => $["whichTaxpayerIdentificationNumberDoYouUse"]),
2616
+ errorMessage: !!errorMessage,
2617
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
2618
+ ...childProps,
2619
+ name: "taxIdNumberType",
2620
+ items: options,
2621
+ value: selected,
2622
+ onChange: handleSelect
2623
+ })
2624
+ });
2625
+ }
2626
+ //#endregion
2627
+ //#region src/components/Shared/fields/TaxInformationField/utils.ts
2628
+ /**
2629
+ * Immutably upserts a TaxInformation entry for a given country within the tax information array.
2630
+ * - If the array doesn't exist, creates a new one with the entry.
2631
+ * - If the country already has an entry, replaces it in-place.
2632
+ * - If the country has no entry yet, appends the new entry.
2633
+ */
2634
+ function upsertTaxInfoForCountry(taxInformation, country, newEntry) {
2635
+ if (!taxInformation) return [newEntry];
2636
+ return (taxInformation.some((t) => t.country === country) ? taxInformation : [...taxInformation, newEntry]).map((t) => t.country === country ? newEntry : t);
2637
+ }
2638
+ /**
2639
+ * Removes all TaxInformation entries for the given country from the array.
2640
+ */
2641
+ function removeTaxInfoForCountry(taxInformation, country) {
2642
+ return taxInformation?.filter((t) => t.country !== country);
2643
+ }
2644
+ //#endregion
2645
+ //#region src/components/Shared/fields/TaxInformationField/TaxInformationField.tsx
2646
+ var TAX_INFORMATION_FIELD = [
2647
+ "taxInformation",
2648
+ "exemptedFromTax",
2649
+ "isUen"
2650
+ ];
2651
+ /**
2652
+ * Renders a dynamic form field for tax identification information, adapting its display
2653
+ * and behavior based on country and company type. It supports various tax ID input
2654
+ * scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
2655
+ * and Singapore Companies (where registration number (UEN) can be used for tax ID).
2656
+ */
2657
+ function TaxInformationField({ data, valid, errors, labels, mask, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, invertCompanyTypeFilter, defaultData }) {
2658
+ const { isFeatureEnabled } = useToggleContext();
2659
+ const { t } = useTranslation("common");
2660
+ const { accountHolder } = useAccountHolder();
2661
+ const currentCountryTaxInformation = useMemo$1(() => data?.taxInformation?.find((taxInfo) => taxInfo.country === country) ?? (!data.exemptedFromTax ? defaultData?.find((taxInfo) => taxInfo.country === country) : void 0), [
2662
+ data?.taxInformation,
2663
+ data.exemptedFromTax,
2664
+ defaultData,
2665
+ country
2666
+ ]);
2667
+ const isUsSoleProp = country === "US" && entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP;
2668
+ const options = getTaxIdNumberOptions(country, entityType, invertCompanyTypeFilter);
2669
+ const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
2670
+ const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
2671
+ const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels.exemptedFromTax;
2672
+ const shouldRenderInput = isUsSoleProp ? currentCountryTaxInformation?.type === "EIN" : !data.isUen;
2673
+ const taxIdNumberType = useMemo$1(() => {
2674
+ if (data.exemptedFromTax) return "exempted";
2675
+ if (currentCountryTaxInformation?.type) return currentCountryTaxInformation.type;
2676
+ if (isUsSoleProp) return void 0;
2677
+ return getDefaultTaxIdNumberType(data.taxInformation, country, entityType, invertCompanyTypeFilter);
2678
+ }, [
2679
+ country,
2680
+ currentCountryTaxInformation?.type,
2681
+ data.exemptedFromTax,
2682
+ data.taxInformation,
2683
+ entityType,
2684
+ invertCompanyTypeFilter,
2685
+ isUsSoleProp
2686
+ ]);
2687
+ const fieldMetadata = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
2688
+ taxIdNumberType: currentCountryTaxInformation?.type,
2689
+ companyType: entityType
2690
+ }, taxInformationDefaultFieldMetadata);
2691
+ const updateTaxInfo = useCallback$1((mode, newEntry) => {
2692
+ const entry = canSaveAbsentState ? {
2693
+ ...newEntry,
2694
+ numberAbsent: newEntry.numberAbsent ?? false
2695
+ } : newEntry;
2696
+ handleChangeFor("taxInformation", mode)(upsertTaxInfoForCountry(data.taxInformation, country, entry));
2697
+ }, [
2698
+ canSaveAbsentState,
2699
+ country,
2700
+ data.taxInformation,
2701
+ handleChangeFor
2702
+ ]);
2703
+ const updateTaxType = useCallback$1((type, mode) => {
2704
+ updateTaxInfo(mode, {
2705
+ country,
2706
+ number: currentCountryTaxInformation?.number,
2707
+ type
2708
+ });
2709
+ }, [
2710
+ country,
2711
+ currentCountryTaxInformation?.number,
2712
+ updateTaxInfo
2713
+ ]);
2714
+ const resetToDefaultData = useCallback$1(() => {
2715
+ if (defaultData !== void 0) handleChangeFor("taxInformation", "input")(defaultData);
2716
+ }, [defaultData, handleChangeFor]);
2717
+ const removeCountryTaxInfo = useCallback$1(() => {
2718
+ handleChangeFor("taxInformation", "input")(removeTaxInfoForCountry(data.taxInformation, country));
2719
+ }, [
2720
+ country,
2721
+ data.taxInformation,
2722
+ handleChangeFor
2723
+ ]);
2724
+ const setUenAsTaxId = useCallback$1((uen) => {
2725
+ updateTaxInfo("blur", {
2726
+ country,
2727
+ number: uen ?? "",
2728
+ type: "UEN"
2729
+ });
2730
+ }, [country, updateTaxInfo]);
2731
+ const addTaxAbsentStatus = useCallback$1((exempted) => {
2732
+ handleChangeFor("taxInformation", "input")(upsertTaxInfoForCountry(data.taxInformation, country, {
2733
+ country,
2734
+ numberAbsent: exempted
2735
+ }));
2736
+ }, [
2737
+ country,
2738
+ data.taxInformation,
2739
+ handleChangeFor
2740
+ ]);
2741
+ const handleTaxNumberChange = useCallback$1((e, mode) => {
2742
+ updateTaxInfo(mode, {
2743
+ country,
2744
+ number: e ? typeof e === "string" ? e : e.currentTarget.value : void 0,
2745
+ type: currentCountryTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0)
2746
+ });
2747
+ }, [
2748
+ country,
2749
+ currentCountryTaxInformation?.type,
2750
+ taxIdNumberType,
2751
+ updateTaxInfo
2752
+ ]);
2753
+ const handleTaxIdNumberTypeChange = useCallback$1((taxIdType) => {
2754
+ if (!canExempt && taxIdType === "exempted") throw Error(`${country} does not allow tax exemptions`);
2755
+ if (taxIdType === "exempted") {
2756
+ handleChangeFor("exemptedFromTax")(true);
2757
+ updateTaxType(void 0, "input");
2758
+ return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
2759
+ }
2760
+ handleChangeFor("exemptedFromTax")(false);
2761
+ if (country === "SG") if (taxIdType === "UEN") {
2762
+ handleChangeFor("isUen")(true);
2763
+ setUenAsTaxId(registrationNumber);
2764
+ } else {
2765
+ handleChangeFor("isUen")(false);
2766
+ removeCountryTaxInfo();
2767
+ }
2768
+ updateTaxType(taxIdType, "input");
2769
+ }, [
2770
+ addTaxAbsentStatus,
2771
+ canExempt,
2772
+ canSaveAbsentState,
2773
+ country,
2774
+ handleChangeFor,
2775
+ updateTaxType,
2776
+ registrationNumber,
2777
+ removeCountryTaxInfo,
2778
+ setUenAsTaxId
2779
+ ]);
2780
+ const handleExemptedFromTaxChange = useCallback$1((exempted) => {
2781
+ handleChangeFor("exemptedFromTax")(exempted);
2782
+ if (canSaveAbsentState) addTaxAbsentStatus(exempted);
2783
+ else removeCountryTaxInfo();
2784
+ }, [
2785
+ addTaxAbsentStatus,
2786
+ canSaveAbsentState,
2787
+ handleChangeFor,
2788
+ removeCountryTaxInfo
2789
+ ]);
2790
+ const prevCountryRef = useRef$1(country);
2791
+ useEffect$1(() => {
2792
+ if (!country || prevCountryRef.current === country) return;
2793
+ prevCountryRef.current = country;
2794
+ const hasSavedTaxId = defaultData?.find((taxId) => taxId.country === country);
2795
+ if (currentCountryTaxInformation && !hasSavedTaxId) return;
2796
+ if (entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP) return;
2797
+ resetToDefaultData();
2798
+ }, [country]);
2799
+ useEffect$1(() => {
2800
+ if (country === "SG" && data.isUen && registrationNumber && registrationNumber !== currentCountryTaxInformation?.number) setUenAsTaxId(registrationNumber);
2801
+ }, [
2802
+ registrationNumber,
2803
+ currentCountryTaxInformation?.number,
2804
+ data.isUen,
2805
+ country,
2806
+ setUenAsTaxId
2807
+ ]);
2808
+ return /* @__PURE__ */ jsxs("div", {
2809
+ className: "adyen-kyc-field__tax-information",
2810
+ children: [
2811
+ /* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
2812
+ country,
2813
+ companyType: entityType,
2814
+ invertCompanyTypeFilter,
2815
+ setSelected: handleTaxIdNumberTypeChange,
2816
+ selected: taxIdNumberType,
2817
+ exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
2818
+ isUsSoleProp,
2819
+ errorMessage: isUsSoleProp ? errors.taxInformation : false
2820
+ }),
2821
+ shouldRenderInput && /* @__PURE__ */ jsx(MaskedInput, {
2822
+ type: "text",
2823
+ "aria-required": true,
2824
+ "aria-invalid": !valid.taxInformation,
2825
+ name: "taxInformation",
2826
+ label: labels.taxInformation ?? "",
2827
+ formatGuidance: translateTranslatable(t, fieldMetadata.guidanceText),
2828
+ value: currentCountryTaxInformation?.number ?? "",
2829
+ errorMessage: errors.taxInformation,
2830
+ placeholder,
2831
+ isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
2832
+ onInput: (e) => handleTaxNumberChange(e, "input"),
2833
+ onBlur: (e) => handleTaxNumberChange(e, "blur"),
2834
+ disabled: data.exemptedFromTax || data.isUen,
2835
+ readonly,
2836
+ optional,
2837
+ shouldValidate,
2838
+ ...mask
2839
+ }),
2840
+ canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(Field, {
2841
+ name: "exemptedFromTax",
2842
+ children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
2843
+ ...childProps,
2844
+ "aria-required": false,
2845
+ "aria-invalid": false,
2846
+ name: "exemptedFromTax",
2847
+ label: labels.exemptedFromTax,
2848
+ value: "exemptedFromTax",
2849
+ checked: Boolean(data.exemptedFromTax),
2850
+ onChange: handleExemptedFromTaxChange
2851
+ })
2852
+ })
2853
+ ]
2854
+ });
2855
+ }
2856
+ //#endregion
2857
+ export { businessRegistrationNumberMasks as C, businessRegistrationNumberPatterns as S, getFieldsWithExistingData as T, exemptedFromTaxDefaultFieldConfig as _, isRegistrationNumberAbsentStateV4Scenario as a, taxInformationDefaultFieldConfig as b, requestingBanking as c, getDefaultTaxIdNumberType as d, getTaxIdNumberOptions as f, DocumentGuidance as g, MemoizedDocumentUpload as h, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as i, requestingIssuing as l, taxIdNumberOptions as m, TaxInformationField as n, isUsingCompanySearch as o, getValidCompanyTypesForTaxIdNumberType as p, COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as r, rules as s, TAX_INFORMATION_FIELD as t, countryToTaxInfoTypeMap as u, exemptedFromTaxDefaultFieldMetadata as v, stateFormatGuidanceText as w, taxInformationDefaultFieldMetadata as x, getTaxInformationPlaceholderText as y };