@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
@@ -1,9 +1,9 @@
1
1
  import { l as wasmRuntime } from "./warmup-ClZxXOkg.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-B7SDCbtu.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BoCn7daH.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BWDGk571.esm.js";
6
- import "./trueSight-Dg3TSVN7.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BYsRo-fK.esm.js";
6
+ import "./trueSight-CXzqdA0V.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
9
9
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -234,7 +234,7 @@ function startDetection(params) {
234
234
  };
235
235
  }
236
236
  async function initializeDeepsightSession(options) {
237
- const { loadDeepsightSession } = await import("./deepsightLoader-Bvs8HYaK.esm.js");
237
+ const { loadDeepsightSession } = await import("./deepsightLoader-VASYET0q.esm.js");
238
238
  return loadDeepsightSession({
239
239
  ds: options.ds,
240
240
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BYJHywZK.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BIjhPcO0.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-BWDGk571.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-BYsRo-fK.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-D1EJw36F.js";
2
- import { t as AuthenticationConfig } from "./types-BinnzVrL.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CkD0JR7Q.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
2
+ import { t as AuthenticationConfig } from "./types-CEdI4tfR.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-D_dz2zK4.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-DJJWTDZS.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D_qFuB3y.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BoGEvdpR.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CsioEjTk.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
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
3
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
4
4
  import "./events-PUWyizJn.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CYr2rVEj.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-DJJWTDZS.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-6Hk2GxNz.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-BoGEvdpR.esm.js";
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
10
10
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-D1EJw36F.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-B1WfKaGJ.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DadLKnMf.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ClZEDaLF.esm.js";
5
- import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-CdrLiJTn.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BM0mj2GE.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CAPKXGuF.esm.js";
5
+ import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-Bx8PyF2-.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261126134638-5fecd70f19ccf51aceade38a393876560c0b09d5/node_modules/@incodetech/tri-sdk/dist/chunks/browser-pQZA35G2.js
1
+ //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261130153510-2a00381e18ea88407aeb423f468bc502470035cb/node_modules/@incodetech/tri-sdk/dist/chunks/browser-pQZA35G2.js
2
2
  var n = {};
3
3
  var t = Uint8Array;
4
4
  var i = Uint16Array;
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-B0YKqYtZ.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-CMed_O5F.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -75,20 +75,16 @@ declare const consentMachine: StateMachine<ConsentContext, {
75
75
  id: string | undefined;
76
76
  };
77
77
  }>, Values<{
78
- setError: {
79
- type: "setError";
80
- params: NonReducibleUnknown;
81
- };
82
78
  clearError: {
83
79
  type: "clearError";
84
80
  params: NonReducibleUnknown;
85
81
  };
86
- setLoadError: {
87
- type: "setLoadError";
82
+ setError: {
83
+ type: "setError";
88
84
  params: NonReducibleUnknown;
89
85
  };
90
- resetContext: {
91
- type: "resetContext";
86
+ setLoadError: {
87
+ type: "setLoadError";
92
88
  params: NonReducibleUnknown;
93
89
  };
94
90
  setConsentData: {
@@ -99,6 +95,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
99
95
  type: "toggleCheckbox";
100
96
  params: NonReducibleUnknown;
101
97
  };
98
+ resetContext: {
99
+ type: "resetContext";
100
+ params: NonReducibleUnknown;
101
+ };
102
102
  }>, {
103
103
  type: "canSubmit";
104
104
  params: unknown;
@@ -1,4 +1,4 @@
1
- import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-HOidAKvT.js";
1
+ import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-tNhzv7vZ.js";
2
2
  //#region src/modules/curp-validation/curpValidationUtils.d.ts
3
3
  type MexicanState = {
4
4
  value: string;
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
2
  import { t as Manager } from "./Manager-DufwKlav.js";
3
3
  import "./Actor-DqjOqDfU.js";
4
- import { i as FlowModuleConfig } from "./types-BZsmNYom.js";
4
+ import { i as FlowModuleConfig } from "./types-BFoC3IpR.js";
5
5
  //#region src/modules/curp-validation/types.d.ts
6
6
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
7
7
  /** Maximum validation retries before auto-advancing. @default 1 */
@@ -1,5 +1,5 @@
1
- import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-BWDGk571.esm.js";
2
- import "./trueSight-Dg3TSVN7.esm.js";
1
+ import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-BYsRo-fK.esm.js";
2
+ import "./trueSight-CXzqdA0V.esm.js";
3
3
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
4
4
  //#region src/internal/deepsight/deepsightCaptureConfig.ts
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-BWDGk571.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-DDHH3E2F.esm.js";
4
- import "./trueSight-Dg3TSVN7.esm.js";
5
- import { C as SDK_PLATFORM, S as fingerprintSignalsReporter, _ as isBrowserSimulation, b as IpifyProvider, n as getFingerprintEnabled, t as getDisableIpify, x as BrowserEnvironmentProvider } from "./sessionInitializer-CaY5gnUl.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-BYsRo-fK.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-CzRrIbvf.esm.js";
4
+ import "./trueSight-CXzqdA0V.esm.js";
5
+ import { C as SDK_PLATFORM, S as fingerprintSignalsReporter, _ as isBrowserSimulation, b as IpifyProvider, n as getFingerprintEnabled, t as getDisableIpify, x as BrowserEnvironmentProvider } from "./sessionInitializer-CfF_kFfS.esm.js";
6
6
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
7
7
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
8
8
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Bw-P5OG1.esm.js";
@@ -3,14 +3,14 @@ import { d as CAMERA_CYCLE_OWNERSHIP_DOMAIN, f as getCameraCycleOwnershipDomain,
3
3
  import { r as setWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-DukEcrU8.esm.js";
4
4
  import { i as utilityWasmApi } from "./WasmUtilProvider-C4x5gc1c.esm.js";
5
5
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
6
- import { u as trueSightLog } from "./trueSightService-BWDGk571.esm.js";
7
- import "./trueSight-Dg3TSVN7.esm.js";
8
- import { m as getFeatureGate } from "./feature-management-CUzbPq54.esm.js";
6
+ import { u as trueSightLog } from "./trueSightService-BYsRo-fK.esm.js";
7
+ import "./trueSight-CXzqdA0V.esm.js";
8
+ import { m as getFeatureGate } from "./feature-management-DG39VwqE.esm.js";
9
9
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
10
10
  import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
11
11
  import { u as queryCameraPermission } from "./permissionServices-Vd86JiW9.esm.js";
12
12
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
13
- import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-XPx0BN30.esm.js";
13
+ import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-tYJhVK_Z.esm.js";
14
14
  import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
15
15
  //#region ../infra/src/capabilities/ICameraCycleCapability.ts
16
16
  /**
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-Bul0b4KJ.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -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 { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-oqU3EPca.esm.js";
5
+ import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-BeA6fc5n.esm.js";
6
6
  //#region src/modules/document-signature/documentSignatureActor.ts
7
7
  function createDocumentSignatureActor(options) {
8
8
  return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
102
102
  id: string | undefined;
103
103
  };
104
104
  }>, Values<{
105
- decrementAttemptsRemaining: {
106
- type: "decrementAttemptsRemaining";
107
- params: NonReducibleUnknown;
108
- };
109
105
  clearError: {
110
106
  type: "clearError";
111
107
  params: NonReducibleUnknown;
112
108
  };
109
+ decrementAttemptsRemaining: {
110
+ type: "decrementAttemptsRemaining";
111
+ params: NonReducibleUnknown;
112
+ };
113
113
  setStream: {
114
114
  type: "setStream";
115
115
  params: NonReducibleUnknown;
@@ -263,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
263
263
  type: "fileSizeOkForNonGallery";
264
264
  params: unknown;
265
265
  };
266
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
266
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
267
267
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
268
268
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
269
269
  readonly id: "documentCapture";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
3
  import "./events-PUWyizJn.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-CWjo9dzH.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-CmvdtW2M.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
7
  //#region src/modules/document-signature/documentSignatureServices.ts
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BE_WfmVE.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-YGL7Avp-.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dkug_fKn.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-f5Uyu4UK.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -3,7 +3,7 @@ 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 { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BE_WfmVE.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dkug_fKn.esm.js";
7
7
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
8
8
  function createDynamicFormsActor(options) {
9
9
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-CWjo9dzH.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-CmvdtW2M.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
package/dist/ekyb.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./xstate.cjs-D6Ur0X1F.js";
2
2
  import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
3
- import { i as FlowModuleConfig } from "./types-BZsmNYom.js";
3
+ import { i as FlowModuleConfig } from "./types-BFoC3IpR.js";
4
4
  import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BwMpWCVG.js";
5
5
  import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-Cjk8pQX0.js";
6
6
  //#region src/modules/ekyb/ekybServices.d.ts
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { g as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-Dl0MU-ib.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-BD4zpC3O.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-35NxvxZK.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-dDlZntM8.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-KiG_tDCV.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -3,7 +3,7 @@ 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 { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as ekybMachine } from "./ekybStateMachine-BD4zpC3O.esm.js";
6
+ import { t as ekybMachine } from "./ekybStateMachine-dDlZntM8.esm.js";
7
7
  //#region src/modules/ekyb/ekybActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYB actor.
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
- import { n as getFlow } from "./flowServices-BIMnpB8Q.esm.js";
2
+ import { n as getFlow } from "./flowServices-5d7en_Aq.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, g as isSupportedCountry, h as UBO_FIELD_LABELS, i as isFormFieldEntry, l as ALL_COUNTRIES, m as TAX_ID_RULES_BY_COUNTRY, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-Dl0MU-ib.esm.js";
@@ -1,5 +1,5 @@
1
1
  import { a as EkycPrefillFieldDef, f as EkycPrefillValues, i as EkycPrefillErrorKind, l as EkycPrefillModuleConfig, n as EkycPrefillConfigField, o as EkycPrefillFieldError, s as EkycPrefillFieldErrors, t as EkycPrefillConfig, u as EkycPrefillServedField } from "./types-g3NuVCT9.js";
2
- import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-BwmPXfhY.js";
2
+ import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-QKqXYPH_.js";
3
3
  //#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
4
4
  /**
5
5
  * Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
@@ -1,3 +1,3 @@
1
- import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-x6skDqhq.esm.js";
2
- import { t as createEkycPrefillManager } from "./ekycPrefillManager-CxzjSch2.esm.js";
1
+ import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-B6ZTcy7R.esm.js";
2
+ import { t as createEkycPrefillManager } from "./ekycPrefillManager-BsFZnV2a.esm.js";
3
3
  export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
package/dist/ekyc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
2
- import { c as EkycValidationErrors, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig } from "./types-tOSLpcSa.js";
3
- import { a as EkycStep, n as EkycState, r as createEkycManager, s as ekycMachine, t as EkycManager } from "./ekycManager-DusmB-4j.js";
2
+ import { c as EkycValidationErrors, i as EkycFieldDisplayMode, n as EkycDisplayModes, o as EkycModuleConfig, s as EkycValidationError, t as EkycConfig } from "./types-CkzE2gPZ.js";
3
+ import { a as EkycStep, n as EkycState, r as createEkycManager, s as ekycMachine, t as EkycManager } from "./ekycManager-mv2rWxc4.js";
4
4
  //#region src/modules/ekyc/ekycUtils.d.ts
5
5
  /**
6
6
  * Normalizes any supported eKYC config input into a manager-ready `EkycConfig`.
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as toEkycConfig } from "./ekycUtils-C6HZB46m.esm.js";
2
- import { t as ekycMachine } from "./ekycStateMachine-6EKndBd7.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-D2K8AaMV.esm.js";
1
+ import { d as toEkycConfig } from "./ekycUtils-BnTyeA-_.esm.js";
2
+ import { t as ekycMachine } from "./ekycStateMachine-Czn2CaTV.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-SUIAHlrm.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -3,7 +3,7 @@ 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 { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-6EKndBd7.esm.js";
6
+ import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-Czn2CaTV.esm.js";
7
7
  //#region src/modules/ekyc/ekycActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYC actor.
@@ -2,7 +2,7 @@ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
2
  import { t as Manager } from "./Manager-DufwKlav.js";
3
3
  import "./Actor-DqjOqDfU.js";
4
4
  import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
5
- import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-tOSLpcSa.js";
5
+ import { a as EkycFormValues, c as EkycValidationErrors, r as EkycFieldDef, t as EkycConfig } from "./types-CkzE2gPZ.js";
6
6
  //#region src/modules/ekyc/ekycStateMachine.d.ts
7
7
  declare const ekycMachine: any;
8
8
  type EkycMachine = typeof ekycMachine;
@@ -1,7 +1,7 @@
1
1
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
2
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { l as validateAllValues } from "./formErrors-lSfh7Y8J.esm.js";
4
- import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-x6skDqhq.esm.js";
4
+ import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-B6ZTcy7R.esm.js";
5
5
  //#region src/modules/ekyc-prefill/ekycPrefillActor.ts
6
6
  /** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
7
7
  function createEkycPrefillActor(options = {}) {
@@ -81,10 +81,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
81
81
  params: NonReducibleUnknown;
82
82
  };
83
83
  }>, Values<{
84
- isValid: {
85
- type: "isValid";
86
- params: unknown;
87
- };
88
84
  phoneRulesFailed: {
89
85
  type: "phoneRulesFailed";
90
86
  params: unknown;
@@ -97,6 +93,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
97
93
  type: "canRender";
98
94
  params: unknown;
99
95
  };
96
+ isValid: {
97
+ type: "isValid";
98
+ params: unknown;
99
+ };
100
100
  isBadRequest: {
101
101
  type: "isBadRequest";
102
102
  params: unknown;
@@ -109,7 +109,7 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
109
109
  type: "isLimitReached";
110
110
  params: unknown;
111
111
  };
112
- }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "misconfigured" | "limitReached" | {
112
+ }>, never, "error" | "idle" | "closed" | "finished" | "misconfigured" | "submitting" | "limitReached" | {
113
113
  form: "inputting" | "validating";
114
114
  }, string, EkycPrefillInput, NonReducibleUnknown, EventObject, MetaObject, {
115
115
  readonly id: "ekycPrefill";
@@ -1,11 +1,11 @@
1
1
  import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { i as toIncodeApiError } from "./apiError-CWjo9dzH.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-CmvdtW2M.esm.js";
4
4
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
7
  import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
8
- 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";
8
+ 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, t as SCRIPT_PATTERNS, u as hasDigitCount } from "./scriptCharacters-D7swUycV.esm.js";
9
9
  import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
10
10
  import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
11
11
  import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
@@ -564,6 +564,21 @@ const rut = {
564
564
  test: (value) => isValidRut(value)
565
565
  };
566
566
  //#endregion
567
+ //#region src/internal/forms/rules/scriptCharacters.ts
568
+ const isUnicodeScript = (value) => typeof value === "string" && Object.prototype.hasOwnProperty.call(SCRIPT_PATTERNS, value);
569
+ /**
570
+ * `scriptCharacters` (vocabulary 1.4), leading and trailing whitespace
571
+ * ignored as eKYC trims the value first. Without a non-empty list of known
572
+ * scripts, the rule passes.
573
+ */
574
+ const scriptCharacters = {
575
+ id: "scriptCharacters",
576
+ test: (value, { scripts }) => {
577
+ if (!Array.isArray(scripts) || scripts.length === 0 || !scripts.every(isUnicodeScript)) return true;
578
+ return hasScriptCharacters(value.trim(), scripts);
579
+ }
580
+ };
581
+ //#endregion
567
582
  //#region src/internal/forms/checks/ssnFormat.ts
568
583
  /** Nine digits in 3-2-4 groups, each `-` between the groups optional. */
569
584
  const SSN_PATTERN = /^[0-9]{3}-?[0-9]{2}-?[0-9]{4}$/;
@@ -630,7 +645,8 @@ const STANDARD_RULES = [
630
645
  fiPersonalIdentityCode,
631
646
  inDrivingLicenseNumber,
632
647
  curp,
633
- phoneDigits
648
+ phoneDigits,
649
+ scriptCharacters
634
650
  ];
635
651
  /** Every vocabulary transform, in vocabulary order. */
636
652
  const STANDARD_TRANSFORMS = [
@@ -672,7 +688,8 @@ const RULE_MESSAGES = {
672
688
  fiPersonalIdentityCode: "verification.errors.invalidIdNumber",
673
689
  inDrivingLicenseNumber: "verification.errors.invalidIdNumber",
674
690
  curp: "verification.errors.invalidIdNumber",
675
- phoneDigits: "verification.errors.phoneInvalid"
691
+ phoneDigits: "verification.errors.phoneInvalid",
692
+ scriptCharacters: "verification.errors.invalidCharacters"
676
693
  };
677
694
  //#endregion
678
695
  //#region src/modules/ekyc-prefill/ekycPrefillDefinition.ts