@incodetech/core 2.5.0-agentic.2 → 2.5.0-agentic.3

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 (121) hide show
  1. package/dist/{FaceDetectionProvider-ClZEDaLF.esm.js → FaceDetectionProvider-CAPKXGuF.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-CWjo9dzH.esm.js → apiError-CmvdtW2M.esm.js} +1 -1
  4. package/dist/authentication.d.ts +3 -3
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-D_qFuB3y.esm.js → authenticationManager-CsioEjTk.esm.js} +3 -3
  7. package/dist/{authenticationManager-CkD0JR7Q.d.ts → authenticationManager-D_dz2zK4.d.ts} +1 -1
  8. package/dist/{authenticationStateMachine-DJJWTDZS.esm.js → authenticationStateMachine-BoGEvdpR.esm.js} +3 -3
  9. package/dist/{browser-pQZA35G2-B4Dwja1e.esm.js → browser-pQZA35G2-DveVe0Ui.esm.js} +1 -1
  10. package/dist/consent.d.ts +1 -1
  11. package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-CMed_O5F.d.ts} +8 -8
  12. package/dist/curp-validation.d.ts +1 -1
  13. package/dist/{curpValidationManager-HOidAKvT.d.ts → curpValidationManager-tNhzv7vZ.d.ts} +1 -1
  14. package/dist/{deepsightCaptureConfig-XPx0BN30.esm.js → deepsightCaptureConfig-tYJhVK_Z.esm.js} +2 -2
  15. package/dist/{deepsightLoader-Bvs8HYaK.esm.js → deepsightLoader-VASYET0q.esm.js} +4 -4
  16. package/dist/{desktopCameraElection-CdrLiJTn.esm.js → desktopCameraElection-Bx8PyF2-.esm.js} +4 -4
  17. package/dist/document-capture.d.ts +1 -1
  18. package/dist/document-signature.esm.js +1 -1
  19. package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-Bul0b4KJ.d.ts} +5 -5
  20. package/dist/{documentSignatureStateMachine-oqU3EPca.esm.js → documentSignatureStateMachine-BeA6fc5n.esm.js} +1 -1
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-YGL7Avp-.esm.js → dynamicFormsManager-f5Uyu4UK.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-BE_WfmVE.esm.js → dynamicFormsStateMachine-Dkug_fKn.esm.js} +1 -1
  24. package/dist/ekyb.d.ts +1 -1
  25. package/dist/ekyb.esm.js +2 -2
  26. package/dist/{ekybManager-35NxvxZK.esm.js → ekybManager-KiG_tDCV.esm.js} +1 -1
  27. package/dist/{ekybStateMachine-BD4zpC3O.esm.js → ekybStateMachine-dDlZntM8.esm.js} +1 -1
  28. package/dist/ekyc-prefill.d.ts +1 -1
  29. package/dist/ekyc-prefill.esm.js +2 -2
  30. package/dist/ekyc.d.ts +2 -2
  31. package/dist/ekyc.esm.js +3 -3
  32. package/dist/{ekycManager-D2K8AaMV.esm.js → ekycManager-SUIAHlrm.esm.js} +1 -1
  33. package/dist/{ekycManager-DusmB-4j.d.ts → ekycManager-mv2rWxc4.d.ts} +1 -1
  34. package/dist/{ekycPrefillManager-CxzjSch2.esm.js → ekycPrefillManager-BsFZnV2a.esm.js} +1 -1
  35. package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-QKqXYPH_.d.ts} +5 -5
  36. package/dist/{ekycPrefillStateMachine-x6skDqhq.esm.js → ekycPrefillStateMachine-B6ZTcy7R.esm.js} +21 -4
  37. package/dist/{ekycStateMachine-6EKndBd7.esm.js → ekycStateMachine-Czn2CaTV.esm.js} +134 -3
  38. package/dist/{ekycUtils-C6HZB46m.esm.js → ekycUtils-BnTyeA-_.esm.js} +12 -0
  39. package/dist/electronic-signature.esm.js +1 -1
  40. package/dist/{electronicSignatureManager-BYJHywZK.esm.js → electronicSignatureManager-BIjhPcO0.esm.js} +1 -1
  41. package/dist/extensibility.d.ts +15 -15
  42. package/dist/extensibility.esm.js +13 -13
  43. package/dist/{faceCaptureManagerFactory-CYr2rVEj.esm.js → faceCaptureManagerFactory-6Hk2GxNz.esm.js} +2 -2
  44. package/dist/{faceCaptureManagerFactory-D1EJw36F.d.ts → faceCaptureManagerFactory-B1WfKaGJ.d.ts} +3 -3
  45. package/dist/{faceCaptureSetup-DadLKnMf.esm.js → faceCaptureSetup-BM0mj2GE.esm.js} +7 -7
  46. package/dist/{feature-management-CUzbPq54.esm.js → feature-management-DG39VwqE.esm.js} +1 -1
  47. package/dist/feature-management.esm.js +1 -1
  48. package/dist/flow-events.d.ts +1 -1
  49. package/dist/flow.d.ts +6 -6
  50. package/dist/flow.esm.js +3 -3
  51. package/dist/{flowCompletionService-BSiUcHmU.esm.js → flowCompletionService-QycHxT5Z.esm.js} +1 -1
  52. package/dist/{flowServices-BIMnpB8Q.esm.js → flowServices-5d7en_Aq.esm.js} +5 -5
  53. package/dist/geolocation.d.ts +1 -1
  54. package/dist/geolocation.esm.js +2 -2
  55. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  56. package/dist/{geolocationManager-D7J-rLJp.esm.js → geolocationManager-_DJwOuei.esm.js} +1 -1
  57. package/dist/{geolocationStateMachine-5g2Quxbz.esm.js → geolocationStateMachine-CyjGgKJ7.esm.js} +1 -1
  58. package/dist/home.d.ts +1 -1
  59. package/dist/id-ocr.d.ts +1 -1
  60. package/dist/id-selfie-flow.d.ts +1 -1
  61. package/dist/id-selfie-flow.esm.js +6 -6
  62. package/dist/id.d.ts +2 -2
  63. package/dist/id.esm.js +3 -3
  64. package/dist/{idCaptureManager-Du5jr3gJ.esm.js → idCaptureManager-BjTr4lOA.esm.js} +4 -4
  65. package/dist/{idCaptureManager-CNFBeYgV.d.ts → idCaptureManager-DXqvtLr9.d.ts} +2 -2
  66. package/dist/{idCaptureServices-N0sn1AOF.esm.js → idCaptureServices-D6sRW-qd.esm.js} +2 -2
  67. package/dist/{idCaptureStateMachine-CHk0uv1U.esm.js → idCaptureStateMachine-BBlWr1aL.esm.js} +45 -25
  68. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-voLpv_jJ.d.ts} +1 -1
  69. package/dist/identity-reuse.d.ts +1 -1
  70. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
  71. package/dist/{index-bsGvWr9-.d.ts → index-B3BI8mVu.d.ts} +12 -3
  72. package/dist/{index-BoGlwLGK.d.ts → index-BnKhmWhM.d.ts} +1 -1
  73. package/dist/index.d.ts +1 -1
  74. package/dist/index.esm.js +1 -1
  75. package/dist/kyb-checks.esm.js +2 -2
  76. package/dist/{kybChecksManager-CDxP2pYP.esm.js → kybChecksManager-Cpm2waJh.esm.js} +1 -1
  77. package/dist/{kybChecksStateMachine-ZOKNXTUx.esm.js → kybChecksStateMachine-Cg96E65N.esm.js} +1 -1
  78. package/dist/mandatory-consent.d.ts +2 -2
  79. package/dist/{mandatoryConsentManager-BcxCesP5.d.ts → mandatoryConsentManager-D2LkPii6.d.ts} +9 -9
  80. package/dist/qe-signature.esm.js +1 -1
  81. package/dist/{recordingService-Cg-DwTxA.esm.js → recordingService-wGNpJV_s.esm.js} +1 -1
  82. package/dist/{runChildModule-Dd-tXDh2.esm.js → runChildModule-DCXy_h7V.esm.js} +1 -1
  83. package/dist/{numericRange-2e1vw1W0.esm.js → scriptCharacters-D7swUycV.esm.js} +13 -1
  84. package/dist/{sdkVersion-DDHH3E2F.esm.js → sdkVersion-CzRrIbvf.esm.js} +1 -1
  85. package/dist/selfie.d.ts +3 -3
  86. package/dist/selfie.esm.js +7 -7
  87. package/dist/{selfieErrorUtils-Dtm9bDS7.esm.js → selfieErrorUtils-DFJC36jx.esm.js} +1 -1
  88. package/dist/{selfieManager-CqDlUy6B.d.ts → selfieManager-B2j448t4.d.ts} +1 -1
  89. package/dist/{selfieManager-BYJPzJW1.esm.js → selfieManager-KXkwfGvO.esm.js} +3 -3
  90. package/dist/{selfieStateMachine-DGg7S9O6.esm.js → selfieStateMachine-CqHL6qf_.esm.js} +3 -3
  91. package/dist/{session-B49EJzZg.esm.js → session-DhNeT_WW.esm.js} +4 -4
  92. package/dist/session.d.ts +1 -1
  93. package/dist/session.esm.js +4 -4
  94. package/dist/{sessionInitializer-CaY5gnUl.esm.js → sessionInitializer-CfF_kFfS.esm.js} +6 -6
  95. package/dist/{setup-B7SDCbtu.esm.js → setup-BoCn7daH.esm.js} +8 -7
  96. package/dist/{setup-CTnxQSQW.d.ts → setup-DprzbOsJ.d.ts} +1 -1
  97. package/dist/tri-D5hWs0qJ.esm.js +559 -0
  98. package/dist/tri.d.ts +1 -1
  99. package/dist/{tri.esm-CftnGf9w.esm.js → tri.esm-DnXGKdlE.esm.js} +1296 -1057
  100. package/dist/tri.esm.js +1 -1
  101. package/dist/trueSight-CXzqdA0V.esm.js +1 -0
  102. package/dist/{trueSightService-BWDGk571.esm.js → trueSightService-BYsRo-fK.esm.js} +1 -1
  103. package/dist/{types-BZsmNYom.d.ts → types-BFoC3IpR.d.ts} +2 -2
  104. package/dist/{types-PnJXvTkV.d.ts → types-BkxI3PHf.d.ts} +1 -1
  105. package/dist/{types-D-FEM1rT.d.ts → types-BxJWsAHc.d.ts} +4 -4
  106. package/dist/{types-HHgsFhZn.d.ts → types-CAzi8tyi.d.ts} +1 -1
  107. package/dist/types-CEdI4tfR.d.ts +6 -0
  108. package/dist/{types-tOSLpcSa.d.ts → types-CkzE2gPZ.d.ts} +5 -0
  109. package/dist/{types-LbccjQYX.d.ts → types-DuARPzVa.d.ts} +1 -1
  110. package/dist/video-selfie.d.ts +1 -1
  111. package/dist/video-selfie.esm.js +3 -3
  112. package/dist/{videoSelfieCameraWarmer-DFhlGeRd.esm.js → videoSelfieCameraWarmer-Co4dAC64.esm.js} +3 -3
  113. package/dist/{videoSelfieStepDetector-CxOc3kSI.d.ts → videoSelfieStepDetector-CrlbZ-rN.d.ts} +2 -2
  114. package/dist/wasm.d.ts +1 -1
  115. package/dist/wasm.esm.js +1 -1
  116. package/dist/workflow.d.ts +1 -1
  117. package/dist/workflow.esm.js +19 -19
  118. package/package.json +4 -3
  119. package/dist/tri-DBB-iiN3.esm.js +0 -385
  120. package/dist/trueSight-Dg3TSVN7.esm.js +0 -1
  121. package/dist/types-BinnzVrL.d.ts +0 -6
@@ -4,13 +4,13 @@ import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValida
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
7
- import { a as isPoBox, c as hasDigitCount, d as isValidInDrivingLicenseNumber, f as isValidFiPersonalIdentityCode, i as isWithinMaxAge, l as resolvePrefill, n as isNotFuture, o as isEmailFormat, p as isValidEsDni, r as hasNameCharacters, s as digitCountError, t as isInNumericRange, u as isValidRut } from "./numericRange-2e1vw1W0.esm.js";
7
+ import { a as hasNameCharacters, c as isEmailFormat, d as resolvePrefill, f as isValidRut, h as isValidEsDni, i as isNotFuture, l as digitCountError, m as isValidFiPersonalIdentityCode, n as hasScriptCharacters, o as isWithinMaxAge, p as isValidInDrivingLicenseNumber, r as isInNumericRange, s as isPoBox, u as hasDigitCount } from "./scriptCharacters-D7swUycV.esm.js";
8
8
  import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
9
9
  import { n as usStates, t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
10
10
  import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, n as searchAddress, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-DBJeg_g3.esm.js";
11
11
  import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
12
12
  import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
13
- import { C as POSTAL_CODE_SOURCES, D as VOCABULARY, E as TAX_ID_SOURCES, S as ONE_OF_REQUIRED_GROUPS, T as STREET_SOURCES, _ as COUNTRY_SELECTOR_DISABLED_SOURCES, a as getEKYCFields, b as MIDDLE_NAME_SOURCES, c as isFieldOptional, d as toEkycConfig, f as withRiskAddonFields, g as COUNTRY_CODE_OMITTED_SOURCES, h as CITY_SOURCES, i as getEKYCDisplayModes, l as mapToEKYCvalue, m as APARTMENT_SOURCES, o as getEkycRiskAddons, p as ADDRESS_STATE_SOURCES, r as getEKYCCountry, s as getRiskAddonFields, t as EKYC_GROUP_KEYS, u as resolveEkycSource, v as EMAIL_SOURCES, w as STATE_CODE_HINTS, x as NAME_SOURCES, y as HOUSE_NO_SOURCES } from "./ekycUtils-C6HZB46m.esm.js";
13
+ import { C as POSTAL_CODE_SOURCES, D as VOCABULARY, E as TAX_ID_SOURCES, S as ONE_OF_REQUIRED_GROUPS, T as STREET_SOURCES, _ as COUNTRY_SELECTOR_DISABLED_SOURCES, a as getEKYCFields, b as MIDDLE_NAME_SOURCES, c as isFieldOptional, d as toEkycConfig, f as withRiskAddonFields, g as COUNTRY_CODE_OMITTED_SOURCES, h as CITY_SOURCES, i as getEKYCDisplayModes, l as mapToEKYCvalue, m as APARTMENT_SOURCES, o as getEkycRiskAddons, p as ADDRESS_STATE_SOURCES, r as getEKYCCountry, s as getRiskAddonFields, t as EKYC_GROUP_KEYS, u as resolveEkycSource, v as EMAIL_SOURCES, w as STATE_CODE_HINTS, x as NAME_SOURCES, y as HOUSE_NO_SOURCES } from "./ekycUtils-BnTyeA-_.esm.js";
14
14
  import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
15
15
  import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
16
16
  import { n as hasAllowedCharacters } from "./allowedCharacters-Bnir--CN.esm.js";
@@ -134,6 +134,7 @@ const CHARACTER_CLASSES = [
134
134
  "digit",
135
135
  "space"
136
136
  ];
137
+ const UNICODE_SCRIPTS = ["Han"];
137
138
  //#endregion
138
139
  //#region src/shared/phoneFormat.ts
139
140
  /**
@@ -300,6 +301,11 @@ const createValidators = () => {
300
301
  }
301
302
  };
302
303
  },
304
+ scriptCharacters: (value, rule) => {
305
+ if (rule.type !== "scriptCharacters") return void 0;
306
+ if (value.trim().length === 0) return void 0;
307
+ return hasScriptCharacters(value.trim(), rule.scripts) ? void 0 : { key: "verification.errors.invalidCharacters" };
308
+ },
303
309
  rut: idNumberValidator(isValidRut),
304
310
  esDni: idNumberValidator(isValidEsDni),
305
311
  fiPersonalIdentityCode: idNumberValidator(isValidFiPersonalIdentityCode),
@@ -2000,6 +2006,125 @@ const EKYC_DEFINITIONS = {
2000
2006
  }
2001
2007
  }
2002
2008
  },
2009
+ "ekyc/CN/CN_NATIONAL_ID": {
2010
+ schemaVersion: 1,
2011
+ vocabulary: "1.4",
2012
+ id: "ekyc/CN/CN_NATIONAL_ID",
2013
+ module: "ekyc",
2014
+ country: "CN",
2015
+ source: "CN_NATIONAL_ID",
2016
+ fields: [
2017
+ {
2018
+ name: "firstName",
2019
+ kind: "text",
2020
+ group: "name",
2021
+ required: true,
2022
+ label: { key: "verification.labels.firstName" },
2023
+ placeholder: { key: "verification.placeholder.firstName" },
2024
+ input: {
2025
+ maxLength: 100,
2026
+ autofill: "givenName"
2027
+ },
2028
+ rules: [{
2029
+ id: "scriptCharacters",
2030
+ params: { scripts: ["Han"] },
2031
+ message: { key: "verification.errors.firstNameChineseCharacters" }
2032
+ }],
2033
+ prefill: ["document.firstName", "poa.firstName"]
2034
+ },
2035
+ {
2036
+ name: "surName",
2037
+ kind: "text",
2038
+ group: "name",
2039
+ required: true,
2040
+ label: { key: "verification.labels.surName" },
2041
+ placeholder: { key: "verification.placeholder.surname" },
2042
+ input: {
2043
+ maxLength: 100,
2044
+ autofill: "familyName"
2045
+ },
2046
+ rules: [{
2047
+ id: "scriptCharacters",
2048
+ params: { scripts: ["Han"] },
2049
+ message: { key: "verification.errors.lastNameChineseCharacters" }
2050
+ }],
2051
+ prefill: ["document.paternalLastName", "poa.lastName"]
2052
+ },
2053
+ {
2054
+ name: "dateOfBirth",
2055
+ kind: "date",
2056
+ group: "dateOfBirth",
2057
+ required: true,
2058
+ label: { key: "verification.labels.dateOfBirth" },
2059
+ input: { autofill: "birthday" },
2060
+ rules: [{
2061
+ id: "maxAge",
2062
+ params: { years: 120 }
2063
+ }, { id: "notFuture" }],
2064
+ prefill: ["document.birthDate"]
2065
+ },
2066
+ {
2067
+ name: "email",
2068
+ kind: "text",
2069
+ group: "email",
2070
+ required: true,
2071
+ requiredWhen: [{ riskAddon: "emailCheck" }],
2072
+ label: { key: "verification.labels.email" },
2073
+ placeholder: { key: "verification.placeholder.email" },
2074
+ input: {
2075
+ keyboard: "email",
2076
+ autofill: "email"
2077
+ },
2078
+ rules: [{ id: "emailFormat" }],
2079
+ prefill: ["emailModule.email"]
2080
+ },
2081
+ {
2082
+ name: "phone",
2083
+ kind: "phone",
2084
+ group: "phone",
2085
+ required: true,
2086
+ requiredWhen: [
2087
+ { riskAddon: "phoneCheck" },
2088
+ { riskAddon: "advancedPhoneCheck" },
2089
+ { riskAddon: "phoneProfile" }
2090
+ ],
2091
+ label: { key: "verification.labels.phone" },
2092
+ input: { autofill: "phone" },
2093
+ phone: { lockCountry: "whenPhoneRisk" },
2094
+ rules: [{ id: "phoneFormat" }],
2095
+ payload: { transforms: [{ id: "e164" }] },
2096
+ prefill: ["phoneModule.phone"]
2097
+ },
2098
+ {
2099
+ name: "idNum",
2100
+ kind: "text",
2101
+ group: "idNumber",
2102
+ required: true,
2103
+ label: { key: "verification.labels.idNum" },
2104
+ input: {
2105
+ maxLength: 18,
2106
+ format: [{ id: "uppercase" }]
2107
+ },
2108
+ rules: [{
2109
+ id: "charTemplate",
2110
+ params: {
2111
+ templates: ["999999999999999999", "99999999999999999X"],
2112
+ ignoreCase: true
2113
+ },
2114
+ message: { key: "verification.errors.invalidIdNumber" }
2115
+ }],
2116
+ payload: { key: "idNumber" },
2117
+ prefill: ["document.documentNumber"]
2118
+ }
2119
+ ],
2120
+ submit: {
2121
+ static: { plugins: ["kyc"] },
2122
+ context: {
2123
+ source: "source",
2124
+ countryCode: "country"
2125
+ }
2126
+ }
2127
+ },
2003
2128
  "ekyc/CO/CO_CIVIL_REGISTER_1": {
2004
2129
  schemaVersion: 1,
2005
2130
  vocabulary: "1.3",
@@ -7698,6 +7823,10 @@ const RULES = {
7698
7823
  min: params.min,
7699
7824
  max: params.max
7700
7825
  }),
7826
+ scriptCharacters: ({ params }) => ({
7827
+ type: "scriptCharacters",
7828
+ scripts: [...params.scripts]
7829
+ }),
7701
7830
  rut: () => ({ type: "rut" }),
7702
7831
  esDni: () => ({ type: "esDni" }),
7703
7832
  fiPersonalIdentityCode: () => ({ type: "fiPersonalIdentityCode" }),
@@ -7709,6 +7838,7 @@ const isInteger = (value) => typeof value === "number" && Number.isInteger(value
7709
7838
  const isNonEmptyArrayOf = (value, item) => Array.isArray(value) && value.length > 0 && value.every(item);
7710
7839
  const isString = (value) => typeof value === "string";
7711
7840
  const isCharacterClass = (value) => CHARACTER_CLASSES.includes(value);
7841
+ const isUnicodeScript = (value) => UNICODE_SCRIPTS.includes(value);
7712
7842
  /**
7713
7843
  * Params a projected rule reads. The compiler checks params against the
7714
7844
  * vocabulary too; this keeps a definition that skipped it, such as a served
@@ -7721,6 +7851,7 @@ const RULE_PARAMS = {
7721
7851
  allowedCharacters: ({ classes, extra }) => isNonEmptyArrayOf(classes, isCharacterClass) && (extra === void 0 || isString(extra)),
7722
7852
  charTemplate: ({ templates, ignoreCase }) => isNonEmptyArrayOf(templates, (t) => isString(t) && t !== "") && (ignoreCase === void 0 || typeof ignoreCase === "boolean"),
7723
7853
  numericRange: ({ min, max }) => isInteger(min) && isInteger(max) && min <= max,
7854
+ scriptCharacters: ({ scripts }) => isNonEmptyArrayOf(scripts, isUnicodeScript),
7724
7855
  maxAge: ({ years }) => isCount(years)
7725
7856
  };
7726
7857
  /**
@@ -7793,7 +7924,7 @@ const OPTION_LISTS = {
7793
7924
  */
7794
7925
  const EKYC_SUPPORTED_IDS = {
7795
7926
  schemaVersions: [1],
7796
- vocabulary: "1.3",
7927
+ vocabulary: "1.4",
7797
7928
  kinds: /* @__PURE__ */ new Set([
7798
7929
  "text",
7799
7930
  "date",
@@ -46,6 +46,11 @@ const EKYC_INDEX = [
46
46
  country: "CL",
47
47
  source: "CL_CIVIL_REGISTER_2"
48
48
  },
49
+ {
50
+ id: "ekyc/CN/CN_NATIONAL_ID",
51
+ country: "CN",
52
+ source: "CN_NATIONAL_ID"
53
+ },
49
54
  {
50
55
  id: "ekyc/CO/CO_CIVIL_REGISTER_1",
51
56
  country: "CO",
@@ -497,6 +502,13 @@ const VOCABULARY = {
497
502
  max: "integer"
498
503
  }
499
504
  },
505
+ {
506
+ id: "scriptCharacters",
507
+ type: "rule",
508
+ since: "1.4",
509
+ message: "verification.errors.invalidCharacters",
510
+ params: { scripts: "string[]" }
511
+ },
500
512
  {
501
513
  id: "oneOfRequired",
502
514
  type: "groupRule",
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BYJHywZK.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BIjhPcO0.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
3
  import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-CWjo9dzH.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-CmvdtW2M.esm.js";
6
6
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
7
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
8
8
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -5,42 +5,42 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-5tYz-a4o.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
8
- import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-D1EJw36F.js";
8
+ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
9
9
  import "./createFaceAvatar-Ct9QrQ66.js";
10
10
  import { a as IStorageCapability } from "./IWasmUtilCapability-CLWIYHB4.js";
11
11
  import "./StreamCanvasCapture-BqaHTJF0.js";
12
- import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-CNFBeYgV.js";
13
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CkD0JR7Q.js";
12
+ import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-DXqvtLr9.js";
13
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-D_dz2zK4.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-BcYhxO63.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-B0YKqYtZ.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-CMed_O5F.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
17
- import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-HOidAKvT.js";
17
+ import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-tNhzv7vZ.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
20
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
20
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-Bul0b4KJ.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Cjk8pQX0.js";
23
- import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-BwmPXfhY.js";
24
- import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-DusmB-4j.js";
23
+ import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-QKqXYPH_.js";
24
+ import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-mv2rWxc4.js";
25
25
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
26
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CqDlUy6B.js";
27
- import { i as CaptureIdResponse } from "./types-D-FEM1rT.js";
26
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B2j448t4.js";
27
+ import { i as CaptureIdResponse } from "./types-BxJWsAHc.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-bA-xw2TP.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
30
30
  import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
31
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
31
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D_jiHp1n.js";
32
32
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
33
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BcxCesP5.js";
34
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-D2LkPii6.js";
34
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-voLpv_jJ.js";
35
35
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Db99n9Yu.js";
36
36
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
37
- import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
37
+ import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
38
38
  import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-De_vU7bm.js";
39
39
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
40
40
  import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
41
41
  import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-DFnFVpP9.js";
42
42
  import { c as KybChecksState, d as createKybChecksManagerFromActor, f as KybChecksActor, o as KybChecksManager } from "./kybChecksManager-CKDy1mel.js";
43
- import "./types-PnJXvTkV.js";
43
+ import "./types-BkxI3PHf.js";
44
44
  //#region src/modules/authentication/authenticationUploadService.d.ts
45
45
  type AuthenticationUploadResponse = {
46
46
  overallStatus: 'PASS' | 'FAIL';
@@ -1,12 +1,12 @@
1
- import { u as BrowserStorageProvider } from "./setup-B7SDCbtu.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-BoCn7daH.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
3
- import { v as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-CaY5gnUl.esm.js";
3
+ import { v as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-CfF_kFfS.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BYJHywZK.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BIjhPcO0.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-DRMBLSh7.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DadLKnMf.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D_qFuB3y.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BM0mj2GE.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CsioEjTk.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Ctj6AJC7.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-CyoeiABc.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-cmQmp7Bi.esm.js";
@@ -14,13 +14,13 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-DPMBJrcH.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DiYpPjZx.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-SRG6YEMh.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-YGL7Avp-.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-35NxvxZK.esm.js";
19
- import { n as createEkycManagerFromActor } from "./ekycManager-D2K8AaMV.esm.js";
20
- import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-CxzjSch2.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-f5Uyu4UK.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-KiG_tDCV.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-SUIAHlrm.esm.js";
20
+ import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-BsFZnV2a.esm.js";
21
21
  import { n as createEmailManagerFromActor } from "./emailManager-BBdRYLtH.esm.js";
22
- import { n as createSelfieManagerFromActor } from "./selfieManager-BYJPzJW1.esm.js";
23
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-Du5jr3gJ.esm.js";
22
+ import { n as createSelfieManagerFromActor } from "./selfieManager-KXkwfGvO.esm.js";
23
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-BjTr4lOA.esm.js";
24
24
  import { n as createPhoneManagerFromActor } from "./phoneManager-oIMdbeLG.esm.js";
25
25
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-D1BVrd3H.esm.js";
26
26
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-d8kdf35n.esm.js";
@@ -30,10 +30,10 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
30
30
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-bjBLjrEE.esm.js";
31
31
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-yYJGE47m.esm.js";
32
32
  import { n as createSignatureManagerFromActor } from "./signatureManager-DRUflksL.esm.js";
33
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-D7J-rLJp.esm.js";
33
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-_DJwOuei.esm.js";
34
34
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-0-L21hu6.esm.js";
35
35
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-C8Ja-vKq.esm.js";
36
36
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-nBvS9z0o.esm.js";
37
37
  import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-yecjuXV4.esm.js";
38
- import { n as createKybChecksManagerFromActor } from "./kybChecksManager-CDxP2pYP.esm.js";
38
+ import { n as createKybChecksManagerFromActor } from "./kybChecksManager-Cpm2waJh.esm.js";
39
39
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -3,11 +3,11 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
6
- import { r as concealmentToAvatar } from "./faceCaptureSetup-DadLKnMf.esm.js";
6
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-BM0mj2GE.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Bw-P5OG1.esm.js";
8
8
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
9
9
  import { i as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Vd86JiW9.esm.js";
10
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-XPx0BN30.esm.js";
10
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-tYJhVK_Z.esm.js";
11
11
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
12
12
  function getPermissionStatus(snapshot) {
13
13
  if (!snapshot.matches("permissions")) return;
@@ -5,11 +5,11 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import "./index-DHuAkTe0.js";
7
7
  import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-Ct9QrQ66.js";
8
- import { i as FlowModuleConfig } from "./types-BZsmNYom.js";
8
+ import { i as FlowModuleConfig } from "./types-BFoC3IpR.js";
9
9
  import "./IWasmUtilCapability-CLWIYHB4.js";
10
10
  import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
11
- import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-HHgsFhZn.js";
12
- import { t as AuthenticationConfig } from "./types-BinnzVrL.js";
11
+ import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-CAzi8tyi.js";
12
+ import { t as AuthenticationConfig } from "./types-CEdI4tfR.js";
13
13
  import { t as BaseWasmProvider } from "./BaseWasmProvider-CPdofn7R.js";
14
14
  import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-BqaHTJF0.js";
15
15
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
@@ -1,7 +1,7 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { r as getToken } from "./api-B58edv6M.esm.js";
3
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BWDGk571.esm.js";
4
- import "./trueSight-Dg3TSVN7.esm.js";
3
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BYsRo-fK.esm.js";
4
+ import "./trueSight-CXzqdA0V.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
6
6
  import { s as isIPhone14OrHigher } from "./platform-GIg4uPWe.esm.js";
7
7
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
@@ -9,9 +9,9 @@ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgos
9
9
  import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
10
10
  import { n as checkPermission, r as invokeRequestPermissionActor, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-Vd86JiW9.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
12
- import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-XPx0BN30.esm.js";
13
- import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ClZEDaLF.esm.js";
14
- import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-CdrLiJTn.esm.js";
12
+ import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-tYJhVK_Z.esm.js";
13
+ import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CAPKXGuF.esm.js";
14
+ import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-Bx8PyF2-.esm.js";
15
15
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
16
16
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
17
17
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CZTCRHT-.esm.js";
@@ -192,7 +192,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
192
192
  /** Per-attempt fallback when no step owner supplies the recording service. */
193
193
  async createAttemptRecordingService() {
194
194
  const wasmUtil = await this.options.dependencies.getWasmUtil();
195
- return (await import("./recordingService-Cg-DwTxA.esm.js")).createRecordingService({
195
+ return (await import("./recordingService-wGNpJV_s.esm.js")).createRecordingService({
196
196
  config: this.options.config,
197
197
  wasmUtil,
198
198
  sessionToken: getToken(),
@@ -492,7 +492,7 @@ function createProtectedFaceControllerActor(options) {
492
492
  const input = getControllerInput();
493
493
  const pending = (async () => {
494
494
  const wasmUtil = await input.dependencies.getWasmUtil();
495
- const recordingModule = await import("./recordingService-Cg-DwTxA.esm.js");
495
+ const recordingModule = await import("./recordingService-wGNpJV_s.esm.js");
496
496
  if (!active) return;
497
497
  stepRecording ??= recordingModule.createRecordingService({
498
498
  config: input.config,
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-DDHH3E2F.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CzRrIbvf.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-CUzbPq54.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-DG39VwqE.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
@@ -1,2 +1,2 @@
1
- import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-BoGlwLGK.js";
1
+ import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-BnKhmWhM.js";
2
2
  export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
package/dist/flow.d.ts CHANGED
@@ -3,18 +3,18 @@ import { b as NonReducibleUnknown, c as AnyEventObject, j as StateMachine, l as
3
3
  import "./xstate.cjs-D6Ur0X1F.js";
4
4
  import { t as Manager } from "./Manager-DufwKlav.js";
5
5
  import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
6
- import { t as EkycConfig } from "./types-tOSLpcSa.js";
7
- import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BZsmNYom.js";
8
- import { t as AuthenticationConfig } from "./types-BinnzVrL.js";
6
+ import { t as EkycConfig } from "./types-CkzE2gPZ.js";
7
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BFoC3IpR.js";
8
+ import { t as AuthenticationConfig } from "./types-CEdI4tfR.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-Cy6Lx3L6.js";
10
10
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
11
11
  import { t as EkybConfig } from "./types-BwMpWCVG.js";
12
- import { u as IdCaptureConfig } from "./types-D-FEM1rT.js";
13
- import { r as MandatoryConsentConfig } from "./types-LbccjQYX.js";
12
+ import { u as IdCaptureConfig } from "./types-BxJWsAHc.js";
13
+ import { r as MandatoryConsentConfig } from "./types-DuARPzVa.js";
14
14
  import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
16
16
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
17
- import { o as FlowEventSubscribable } from "./index-BoGlwLGK.js";
17
+ import { o as FlowEventSubscribable } from "./index-BnKhmWhM.js";
18
18
  import { n as ModuleRegistry } from "./types-C3rfDzgE.js";
19
19
  //#region src/modules/flow/orchestratedFlowStateMachine.d.ts
20
20
  type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
package/dist/flow.esm.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-DLsivQsu.esm.js";
2
2
  import "./events-PUWyizJn.esm.js";
3
3
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
- import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-BIMnpB8Q.esm.js";
4
+ import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-5d7en_Aq.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BSiUcHmU.esm.js";
9
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Dd-tXDh2.esm.js";
8
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-QycHxT5Z.esm.js";
9
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DCXy_h7V.esm.js";
10
10
  import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
11
11
  //#region src/modules/flow/noOpFlowModuleMachine.ts
12
12
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-CWjo9dzH.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-CmvdtW2M.esm.js";
3
3
  //#region src/modules/flow/flowCompletionService.ts
4
4
  const getFinishStatus = async (flowId, signal) => {
5
5
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,10 +1,10 @@
1
1
  import { r as getWasmStatus } from "./warmup-ClZxXOkg.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
3
3
  import { r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
4
- import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CaY5gnUl.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-CUzbPq54.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-CWjo9dzH.esm.js";
7
- import "./session-B49EJzZg.esm.js";
4
+ import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CfF_kFfS.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-DG39VwqE.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-CmvdtW2M.esm.js";
7
+ import "./session-DhNeT_WW.esm.js";
8
8
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
9
9
  import { i as prefetchStartInfo } from "./phoneServices-Dk4j3NhI.esm.js";
10
10
  //#region src/modules/flow/dashboardConfig.ts
@@ -255,7 +255,7 @@ let configConverters;
255
255
  async function loadFlowConfigConverters(flow) {
256
256
  const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
257
257
  if (configConverters || !needed) return;
258
- const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-C6HZB46m.esm.js").then((n) => n.n), import("./ekybUtils-Dl0MU-ib.esm.js").then((n) => n.t)]);
258
+ const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-BnTyeA-_.esm.js").then((n) => n.n), import("./ekybUtils-Dl0MU-ib.esm.js").then((n) => n.t)]);
259
259
  configConverters = {
260
260
  toEkycConfig: ekyc.toEkycConfig,
261
261
  toEkybConfig: ekyb.toEkybConfig
@@ -1,2 +1,2 @@
1
- import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
1
+ import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
2
2
  export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-D7J-rLJp.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-5g2Quxbz.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-_DJwOuei.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-CyjGgKJ7.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -117,7 +117,7 @@ declare const geolocationMachine: StateMachine<GeolocationContext, {
117
117
  type: "isPermissionDenied";
118
118
  params: unknown;
119
119
  };
120
- }>, never, "error" | "idle" | "closed" | "finished" | "requestingLocation" | "submitting" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
120
+ }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "requestingLocation" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
121
121
  readonly id: "geolocation";
122
122
  readonly initial: "idle";
123
123
  readonly context: ({ input, self }: {
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
2
  import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-5g2Quxbz.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-CyjGgKJ7.esm.js";
6
6
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
7
7
  var BrowserGeolocationProvider = class {
8
8
  getCurrentPosition() {
@@ -1,6 +1,6 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
2
  import { i as isIOS, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
3
- import { n as isConnectivityError } from "./apiError-CWjo9dzH.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-CmvdtW2M.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
package/dist/home.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { b as NonReducibleUnknown, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
2
2
  import "./xstate.cjs-D6Ur0X1F.js";
3
3
  import { t as Manager } from "./Manager-DufwKlav.js";
4
- import { t as EmptyConfig } from "./types-BZsmNYom.js";
4
+ import { t as EmptyConfig } from "./types-BFoC3IpR.js";
5
5
  //#region src/modules/home/types.d.ts
6
6
  type HomeConfig = EmptyConfig;
7
7
  //#endregion
package/dist/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
2
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
2
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-voLpv_jJ.js";
3
3
  //#region src/modules/id-ocr/idOcrFields.d.ts
4
4
  declare const OCR_FIELDS: OcrFieldConfig[];
5
5
  declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
@@ -5,7 +5,7 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
6
6
  import { t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
7
7
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
8
- import { i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-CxOc3kSI.js";
8
+ import { i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-CrlbZ-rN.js";
9
9
  //#region src/modules/id-selfie-flow/types.d.ts
10
10
  /**
11
11
  * The capture steps an ID + Selfie flow session can run, in flow order. A