@incodetech/core 0.0.0-dev-20261029-4549e47f → 0.0.0-dev-20261029-ab9a031d

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 (103) hide show
  1. package/dist/{FaceDetectionProvider-3B7fUYME.esm.js → FaceDetectionProvider-BPw6Sztf.esm.js} +7 -7
  2. package/dist/{WasmUtilProvider-BmtXHqwK.esm.js → WasmUtilProvider-DqtPEKsY.esm.js} +5 -1
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-DfAHobE4.esm.js → apiError-DT3rvcZJ.esm.js} +1 -1
  5. package/dist/authentication.d.ts +3 -3
  6. package/dist/authentication.esm.js +2 -2
  7. package/dist/{authenticationManager-CC67pNoL.d.ts → authenticationManager-BPpSImsv.d.ts} +1 -1
  8. package/dist/{authenticationManager-MOUMpv0i.esm.js → authenticationManager-SVrl1zgN.esm.js} +4 -4
  9. package/dist/{authenticationStateMachine-VF200fHF.esm.js → authenticationStateMachine-BS1iPaFn.esm.js} +3 -3
  10. package/dist/camera.esm.js +1 -1
  11. package/dist/cnpj-Co1ottYN.esm.js +77 -0
  12. package/dist/consent.d.ts +1 -1
  13. package/dist/{consentManager-BQ6BKInw.d.ts → consentManager-Cegv5Kth.d.ts} +12 -12
  14. package/dist/{createCameraCycleOwnership-EMOiqj48.esm.js → createCameraCycleOwnership-c3noNWxH.esm.js} +1 -1
  15. package/dist/curp-validation.d.ts +1 -1
  16. package/dist/{curpValidationManager-HRSYsugw.d.ts → curpValidationManager-CpmlWHkv.d.ts} +1 -1
  17. package/dist/{deepsightLoader-BRIf9bdH.esm.js → deepsightLoader-Dvcd1yov.esm.js} +6 -6
  18. package/dist/{deepsightService-B2kZtVtE.esm.js → deepsightService-CXrhNb9c.esm.js} +1 -1
  19. package/dist/document-capture.esm.js +2 -2
  20. package/dist/{documentCaptureManager-B4E3Pgl9.esm.js → documentCaptureManager-DuITDiyf.esm.js} +1 -1
  21. package/dist/{documentCaptureStateMachine-M_jFgj_c.esm.js → documentCaptureStateMachine-C9uhv5g5.esm.js} +2 -2
  22. package/dist/dynamic-forms.d.ts +2 -2
  23. package/dist/dynamic-forms.esm.js +2 -2
  24. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
  25. package/dist/{dynamicFormsManager-D1q6py8K.esm.js → dynamicFormsManager-CuxtO7jB.esm.js} +1 -1
  26. package/dist/{dynamicFormsStateMachine-CTUvietg.esm.js → dynamicFormsStateMachine-C4yVGxpH.esm.js} +1 -1
  27. package/dist/ekyb.d.ts +1 -1
  28. package/dist/ekyb.esm.js +3 -3
  29. package/dist/{ekybManager-xo2wOfZ3.esm.js → ekybManager-DZ0ksIav.esm.js} +1 -1
  30. package/dist/{ekybStateMachine-BiYuYpLh.esm.js → ekybStateMachine-L7ZHcHvF.esm.js} +2 -30
  31. package/dist/electronic-signature.esm.js +1 -1
  32. package/dist/{electronicSignatureManager-DawHPSFr.esm.js → electronicSignatureManager-ROM4Plhh.esm.js} +1 -1
  33. package/dist/extensibility.d.ts +11 -11
  34. package/dist/extensibility.esm.js +13 -13
  35. package/dist/{faceCaptureManagerFactory-zqryGnj6.esm.js → faceCaptureManagerFactory-CUBuV__c.esm.js} +3 -3
  36. package/dist/{faceCaptureManagerFactory-vchnR2CA.d.ts → faceCaptureManagerFactory-DER3G7QA.d.ts} +3 -3
  37. package/dist/{faceCaptureSetup-B8TaHy7d.esm.js → faceCaptureSetup-BrkJNhcx.esm.js} +6 -6
  38. package/dist/{feature-management-DnxqsfNa.esm.js → feature-management-BqM3DDh5.esm.js} +1 -1
  39. package/dist/feature-management.esm.js +1 -1
  40. package/dist/flow-events.d.ts +1 -1
  41. package/dist/flow.d.ts +6 -6
  42. package/dist/flow.esm.js +3 -3
  43. package/dist/{flowCompletionService-BDm9m8t6.esm.js → flowCompletionService-CCnpKFwV.esm.js} +1 -1
  44. package/dist/{flowServices-laW5iMbd.esm.js → flowServices-Bc07mt2O.esm.js} +6 -48
  45. package/dist/geolocation.esm.js +2 -2
  46. package/dist/{geolocationManager-C7pGYdJ6.esm.js → geolocationManager-BApTeGjv.esm.js} +1 -1
  47. package/dist/{geolocationStateMachine-BGBLAIne.esm.js → geolocationStateMachine-BvJqeBfE.esm.js} +1 -1
  48. package/dist/home.d.ts +1 -1
  49. package/dist/id-selfie-flow.d.ts +1 -1
  50. package/dist/id-selfie-flow.esm.js +8 -8
  51. package/dist/id.d.ts +2 -2
  52. package/dist/id.esm.js +3 -3
  53. package/dist/{idCaptureDefaults-DP06AgjJ.esm.js → idCaptureDefaults-Bf57Ll9V.esm.js} +2 -2
  54. package/dist/{idCaptureManager-D08q23Mr.esm.js → idCaptureManager-C05md8rp.esm.js} +5 -5
  55. package/dist/{idCaptureManager-7n59S4Fc.d.ts → idCaptureManager-C74EPLTw.d.ts} +2 -2
  56. package/dist/{idCaptureServices-BD3v9edY.esm.js → idCaptureServices-CBLzfhvC.esm.js} +4 -4
  57. package/dist/{idCaptureStateMachine-BD_pEwVO.esm.js → idCaptureStateMachine-BWjnqb5C.esm.js} +84 -16
  58. package/dist/{index-tLPVy1zj.d.ts → index-BSf46iwq.d.ts} +1 -1
  59. package/dist/index.esm.js +1 -1
  60. package/dist/mandatory-consent.d.ts +2 -2
  61. package/dist/{mandatoryConsentManager-B1WidW8w.d.ts → mandatoryConsentManager-CEOyGn4H.d.ts} +7 -7
  62. package/dist/{permissionGuards-DJkhXYNj.esm.js → permissionGuards-CL5GLmDp.esm.js} +1 -1
  63. package/dist/{permissionServices-DXlzBQ7G.esm.js → permissionServices-DJyei2yK.esm.js} +1 -1
  64. package/dist/qe-signature.esm.js +1 -1
  65. package/dist/{runChildModule-C2mw_TMD.esm.js → runChildModule-BntL2Brs.esm.js} +1 -1
  66. package/dist/{sdkVersion-B5tBv0Hp.esm.js → sdkVersion-BruWW52r.esm.js} +1 -1
  67. package/dist/selfie.d.ts +3 -3
  68. package/dist/selfie.esm.js +8 -8
  69. package/dist/{selfieErrorUtils-Sp0VcxB1.esm.js → selfieErrorUtils-FzSnBvLY.esm.js} +1 -1
  70. package/dist/{selfieManager-BtjTvMOg.esm.js → selfieManager-DuOwQuxL.esm.js} +4 -4
  71. package/dist/{selfieManager-ClCgI2fn.d.ts → selfieManager-vEXd5SHA.d.ts} +1 -1
  72. package/dist/{selfieStateMachine-B8I8Dvez.esm.js → selfieStateMachine-3s-ydjDp.esm.js} +3 -3
  73. package/dist/{session-C88PQz0B.esm.js → session-CHr7fZVV.esm.js} +3 -3
  74. package/dist/session.d.ts +10 -2
  75. package/dist/session.esm.js +4 -4
  76. package/dist/{sessionInitializer-Di-5i9ip.esm.js → sessionInitializer-1QwlJLQ3.esm.js} +261 -104
  77. package/dist/{setup-q6QhQRkI.esm.js → setup-DAOCrvRl.esm.js} +16 -11
  78. package/dist/{trueSightService-DCa_x3yL.esm.js → trueSightService-D7F7hn4q.esm.js} +1 -1
  79. package/dist/types-B9C8W01q.d.ts +34 -0
  80. package/dist/{types-DJBn6wVV.d.ts → types-Bqj4SDHk.d.ts} +1 -1
  81. package/dist/{types-ClQspDyT.d.ts → types-BzuFtfjm.d.ts} +1 -1
  82. package/dist/{types-GbGmnFsh.d.ts → types-CEuM1Qph.d.ts} +1 -1
  83. package/dist/{types-tsXa6u2J.d.ts → types-CK0dj_Vu.d.ts} +2 -1
  84. package/dist/{types-DPGYNu5C.d.ts → types-iF96ENvX.d.ts} +3 -3
  85. package/dist/types-qs9PgHtG.d.ts +6 -0
  86. package/dist/video-selfie.d.ts +1 -1
  87. package/dist/video-selfie.esm.js +4 -4
  88. package/dist/{videoSelfieCameraWarmer-Dfthbl1b.esm.js → videoSelfieCameraWarmer-D4exP4rK.esm.js} +5 -5
  89. package/dist/{videoSelfieStepDetector-NTgtiQJp.d.ts → videoSelfieStepDetector-B2bakrqI.d.ts} +2 -2
  90. package/dist/{warmup-CH_bd9h8.esm.js → warmup-D-Y2iAoP.esm.js} +28 -2
  91. package/dist/wasm.esm.js +2 -2
  92. package/dist/{wasmDsFlagSync-Co_fMpyM.esm.js → wasmDsFlagSync-CWvvmM2E.esm.js} +1 -1
  93. package/dist/watchlist-for-business.d.ts +2 -1
  94. package/dist/watchlist-for-business.esm.js +2 -2
  95. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
  96. package/dist/{watchlistForBusinessManager-UD1i94xo.esm.js → watchlistForBusinessManager-PKTQ09-2.esm.js} +36 -6
  97. package/dist/watchlistForBusinessStateMachine-CBgJuLJC.esm.js +166 -0
  98. package/dist/workflow.d.ts +5 -5
  99. package/dist/workflow.esm.js +16 -16
  100. package/package.json +1 -1
  101. package/dist/types-Cp_84WIM.d.ts +0 -6
  102. package/dist/watchlistForBusinessStateMachine-CQXOjGhS.esm.js +0 -78
  103. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
@@ -1,16 +1,16 @@
1
- import { c as wasmRuntime } from "./warmup-CH_bd9h8.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-q6QhQRkI.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-BmtXHqwK.esm.js";
1
+ import { l as wasmRuntime } from "./warmup-D-Y2iAoP.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DAOCrvRl.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DCa_x3yL.esm.js";
6
- import "./sessionInitializer-Di-5i9ip.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-D7F7hn4q.esm.js";
6
+ import "./sessionInitializer-1QwlJLQ3.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-D3Cxg6PL.esm.js";
8
8
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
9
9
  import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
10
10
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
11
11
  import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-YhlbyjI4.esm.js";
12
12
  import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
13
- import "./deepsightService-B2kZtVtE.esm.js";
13
+ import "./deepsightService-CXrhNb9c.esm.js";
14
14
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
15
15
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
16
16
  /**
@@ -271,7 +271,7 @@ function startDetection(params) {
271
271
  };
272
272
  }
273
273
  async function initializeDeepsightSession(options) {
274
- const { loadDeepsightSession } = await import("./deepsightLoader-BRIf9bdH.esm.js");
274
+ const { loadDeepsightSession } = await import("./deepsightLoader-Dvcd1yov.esm.js");
275
275
  return loadDeepsightSession({
276
276
  ds: options.ds,
277
277
  storage: options.storage
@@ -1,6 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
2
  import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-DpRiJOHd.esm.js";
3
- import { c as wasmRuntime, i as isWasmReady, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-CH_bd9h8.esm.js";
3
+ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-D-Y2iAoP.esm.js";
4
4
  //#region ../infra/src/wasm/utilityWasmApi.ts
5
5
  /**
6
6
  * Utility / metadata domain facade over {@link WasmRuntime}.
@@ -272,6 +272,10 @@ var BaseWasmProvider = class {
272
272
  */
273
273
  async initializeBase(config, pipeline) {
274
274
  if (this._isInitialized) return;
275
+ if (this.pipelineType === void 0 && wasmRuntime.isInitialized()) {
276
+ this._isInitialized = true;
277
+ return;
278
+ }
275
279
  const status = getWasmStatus();
276
280
  if (status.isLoading || isWasmReady() || status.error) {
277
281
  if (!(status.isLoading && status.loadedPipelines.includes(pipeline))) await waitForWasm();
@@ -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-DawHPSFr.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-ROM4Plhh.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-DCa_x3yL.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-D7F7hn4q.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-vchnR2CA.js";
2
- import { t as AuthenticationConfig } from "./types-Cp_84WIM.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CC67pNoL.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DER3G7QA.js";
2
+ import { t as AuthenticationConfig } from "./types-qs9PgHtG.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BPpSImsv.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-VF200fHF.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-MOUMpv0i.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BS1iPaFn.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-SVrl1zgN.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C9T5amUN.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-vchnR2CA.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DER3G7QA.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,9 +1,9 @@
1
- import { u as BrowserStorageProvider } from "./setup-q6QhQRkI.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BmtXHqwK.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-DAOCrvRl.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
3
3
  import { n as eventModuleNames } from "./events-Dh1gMk0J.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-zqryGnj6.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-VF200fHF.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CUBuV__c.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BS1iPaFn.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-B8TaHy7d.esm.js";
4
- import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-3B7fUYME.esm.js";
5
- import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-EMOiqj48.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BrkJNhcx.esm.js";
4
+ import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-BPw6Sztf.esm.js";
5
+ import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-c3noNWxH.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,2 +1,2 @@
1
- import { a as requestPermission, t as checkPermission } from "./permissionServices-DXlzBQ7G.esm.js";
1
+ import { a as requestPermission, t as checkPermission } from "./permissionServices-DJyei2yK.esm.js";
2
2
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
@@ -0,0 +1,77 @@
1
+ //#region src/shared/validators/cnpj.ts
2
+ /** Countries whose tax ID is a CNPJ and must pass {@link validateCNPJ}. */
3
+ const COUNTRIES_WITH_CNPJ_VALIDATION = ["BR"];
4
+ const CNPJ_FORMATTED_LENGTH = 18;
5
+ const CNPJ_CLEAN_LENGTH = 14;
6
+ const INVALID_CNPJ_PATTERNS = [
7
+ "00000000000000",
8
+ "11111111111111",
9
+ "22222222222222",
10
+ "33333333333333",
11
+ "44444444444444",
12
+ "55555555555555",
13
+ "66666666666666",
14
+ "77777777777777",
15
+ "88888888888888",
16
+ "99999999999999"
17
+ ];
18
+ const CNPJ_FIRST_DIGIT_FACTORS = [
19
+ 5,
20
+ 4,
21
+ 3,
22
+ 2,
23
+ 9,
24
+ 8,
25
+ 7,
26
+ 6,
27
+ 5,
28
+ 4,
29
+ 3,
30
+ 2
31
+ ];
32
+ const CNPJ_SECOND_DIGIT_FACTORS = [
33
+ 6,
34
+ 5,
35
+ 4,
36
+ 3,
37
+ 2,
38
+ 9,
39
+ 8,
40
+ 7,
41
+ 6,
42
+ 5,
43
+ 4,
44
+ 3,
45
+ 2
46
+ ];
47
+ function cleanCnpjString(cnpj) {
48
+ return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
49
+ }
50
+ function calculateVerificationDigit(cnpjString, factors) {
51
+ let digit = 11 - factors.reduce((acc, factor, index) => acc + Number.parseInt(cnpjString.charAt(index), 10) * factor, 0) % 11;
52
+ if (digit >= 10) digit = 0;
53
+ return digit.toString();
54
+ }
55
+ /**
56
+ * Validates a Brazilian CNPJ number (14-digit checksum).
57
+ * Accepts formatted (00.000.000/0000-00) or unformatted input.
58
+ */
59
+ function validateCNPJ(cnpjInput) {
60
+ if (!cnpjInput || typeof cnpjInput !== "string") return false;
61
+ let cnpj = cnpjInput.trim();
62
+ if (cnpj.length === CNPJ_FORMATTED_LENGTH) cnpj = cleanCnpjString(cnpj);
63
+ if (cnpj.length !== CNPJ_CLEAN_LENGTH) return false;
64
+ if (!/^\d+$/.test(cnpj)) return false;
65
+ if (INVALID_CNPJ_PATTERNS.includes(cnpj)) return false;
66
+ const first = calculateVerificationDigit(cnpj, CNPJ_FIRST_DIGIT_FACTORS);
67
+ if (cnpj.charAt(12) !== first) return false;
68
+ const second = calculateVerificationDigit(cnpj, CNPJ_SECOND_DIGIT_FACTORS);
69
+ if (cnpj.charAt(13) !== second) return false;
70
+ return true;
71
+ }
72
+ /** Returns true when CNPJ validation applies for the given country. */
73
+ function requiresCnpjValidation(country) {
74
+ return COUNTRIES_WITH_CNPJ_VALIDATION.includes(country);
75
+ }
76
+ //#endregion
77
+ export { requiresCnpjValidation as n, validateCNPJ as r, COUNTRIES_WITH_CNPJ_VALIDATION as t };
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-BQ6BKInw.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-Cegv5Kth.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -74,22 +74,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
74
74
  id: string | undefined;
75
75
  };
76
76
  }>, Values<{
77
- setLoadError: {
78
- type: "setLoadError";
79
- params: NonReducibleUnknown;
80
- };
81
- setConsentData: {
82
- type: "setConsentData";
83
- params: NonReducibleUnknown;
84
- };
85
- toggleCheckbox: {
86
- type: "toggleCheckbox";
87
- params: NonReducibleUnknown;
88
- };
89
77
  setError: {
90
78
  type: "setError";
91
79
  params: NonReducibleUnknown;
92
80
  };
81
+ setLoadError: {
82
+ type: "setLoadError";
83
+ params: NonReducibleUnknown;
84
+ };
93
85
  clearError: {
94
86
  type: "clearError";
95
87
  params: NonReducibleUnknown;
@@ -98,6 +90,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
98
90
  type: "resetContext";
99
91
  params: NonReducibleUnknown;
100
92
  };
93
+ setConsentData: {
94
+ type: "setConsentData";
95
+ params: NonReducibleUnknown;
96
+ };
97
+ toggleCheckbox: {
98
+ type: "toggleCheckbox";
99
+ params: NonReducibleUnknown;
100
+ };
101
101
  }>, {
102
102
  type: "canSubmit";
103
103
  params: unknown;
@@ -1,5 +1,5 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { c as wasmRuntime, l as CAMERA_CYCLE_OWNERSHIP_DOMAIN, u as getCameraCycleOwnershipDomain } from "./warmup-CH_bd9h8.esm.js";
2
+ import { d as getCameraCycleOwnershipDomain, l as wasmRuntime, u as CAMERA_CYCLE_OWNERSHIP_DOMAIN } from "./warmup-D-Y2iAoP.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
4
4
  import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  //#region ../infra/src/capabilities/ICameraCycleCapability.ts
@@ -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-HRSYsugw.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-CpmlWHkv.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-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { i as FlowModuleConfig } from "./types-tsXa6u2J.js";
4
+ import { i as FlowModuleConfig } from "./types-CK0dj_Vu.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,10 +1,10 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BmtXHqwK.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-DCa_x3yL.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-B5tBv0Hp.esm.js";
4
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-Di-5i9ip.esm.js";
5
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Co_fMpyM.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-D7F7hn4q.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-BruWW52r.esm.js";
4
+ import { S as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify, x as IpifyProvider } from "./sessionInitializer-1QwlJLQ3.esm.js";
5
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CWvvmM2E.esm.js";
6
6
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
7
- import { t as createDeepsightService } from "./deepsightService-B2kZtVtE.esm.js";
7
+ import { t as createDeepsightService } from "./deepsightService-CXrhNb9c.esm.js";
8
8
  //#region ../infra/src/providers/browser/VisibilityProvider.ts
9
9
  var VisibilityProvider = class {
10
10
  constructor() {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-BG98lkot.esm.js";
2
- import { h as isBrowserSimulation, v as getThumbmarkId, x as fingerprintSignalsReporter } from "./sessionInitializer-Di-5i9ip.esm.js";
2
+ import { C as fingerprintSignalsReporter, _ as isBrowserSimulation, y as getThumbmarkId } from "./sessionInitializer-1QwlJLQ3.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-D3Cxg6PL.esm.js";
4
4
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
5
5
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
@@ -1,3 +1,3 @@
1
- import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-M_jFgj_c.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-B4E3Pgl9.esm.js";
1
+ import { r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C9uhv5g5.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DuITDiyf.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dh1gMk0J.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-M_jFgj_c.esm.js";
4
+ import { n as DEFAULT_MAX_FILE_SIZE, r as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C9uhv5g5.esm.js";
5
5
  //#region src/modules/document-capture/documentCaptureActor.ts
6
6
  function createDocumentCaptureActor(options) {
7
7
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -2,8 +2,8 @@ import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
4
  import { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
5
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DXlzBQ7G.esm.js";
6
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DJkhXYNj.esm.js";
5
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DJyei2yK.esm.js";
6
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CL5GLmDp.esm.js";
7
7
  import { t as carryAttempts } from "./attemptCarry-DpuNCHQS.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
@@ -1,3 +1,3 @@
1
- import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
2
- import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-C0dHs1ty.js";
1
+ import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
2
+ import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
3
3
  export { type DynamicFormsConfig, type DynamicFormsManager, type DynamicFormsResult, type DynamicFormsState, type DynamicFormsValidationErrors, type InputType, type Question, type Screen, createDynamicFormsManager, dynamicFormsMachine };
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CTUvietg.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-D1q6py8K.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C4yVGxpH.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-CuxtO7jB.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { i as Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
4
+ import { i as Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsFields.d.ts
6
6
  /** Map of `questionId` → currently-displayed i18n error key. */
7
7
  type DynamicFormsValidationErrors = Partial<Record<string, string>>;
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dh1gMk0J.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CTUvietg.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C4yVGxpH.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DfAHobE4.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DT3rvcZJ.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./Manager-C9T5amUN.js";
2
2
  import { c as AddressSuggestion } from "./types-D-cdiQD8.js";
3
- import { i as FlowModuleConfig } from "./types-tsXa6u2J.js";
3
+ import { i as FlowModuleConfig } from "./types-CK0dj_Vu.js";
4
4
  import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-CjUSw9yM.js";
5
5
  import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-lZOHO33y.js";
6
6
  //#region src/modules/ekyb/ekybServices.d.ts
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-laW5iMbd.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-BiYuYpLh.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-xo2wOfZ3.esm.js";
1
+ import { E as isSupportedCountry, b as ALL_COUNTRIES, v as toEkybConfig, w as SUPPORTED_COUNTRIES, x as DEV_ONLY_COUNTRIES } from "./flowServices-Bc07mt2O.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-L7ZHcHvF.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-DZ0ksIav.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dh1gMk0J.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-BiYuYpLh.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-L7ZHcHvF.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,34 +1,10 @@
1
1
  import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
2
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-laW5iMbd.esm.js";
2
+ import { C as FIELD_ORDER, E as isSupportedCountry, S as FIELD_NAME_MAPPING, T as UBO_FIELD_LABELS, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, y as ADDRESS_FIELDS } from "./flowServices-Bc07mt2O.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { a as checkSupport, c as getPostalCodeErrorKey, d as DYNAMIC_REQUIRED_KEY, f as STREET_LEVEL_REQUIRED_ERROR, h as usStateOptions, i as createBundledDefinitionSource, l as getPostalCodeMaxLength, m as getStreetLevelErrorForSuggestion, n as isFormDefinitionsEnabled, o as FIXED_DIGIT_POSTAL_CODE_LENGTH, p as fillFromSuggestion, r as resolveForm, s as formatPostalCode, t as debounceSearchActor, u as validatePostalCode } from "./addressSearch-CBw55d_y.esm.js";
6
+ import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Co1ottYN.esm.js";
6
7
  //#region src/modules/ekyb/ekybValidators.ts
7
- function cleanCnpjString(cnpj) {
8
- return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
9
- }
10
- function calculateVerificationDigit(cnpjString, factors) {
11
- let digit = 11 - factors.reduce((acc, factor, index) => acc + Number.parseInt(cnpjString.charAt(index), 10) * factor, 0) % 11;
12
- if (digit >= 10) digit = 0;
13
- return digit.toString();
14
- }
15
- /**
16
- * Validates a Brazilian CNPJ number (14-digit checksum).
17
- * Accepts formatted (00.000.000/0000-00) or unformatted input.
18
- */
19
- function validateCNPJ(cnpjInput) {
20
- if (!cnpjInput || typeof cnpjInput !== "string") return false;
21
- let cnpj = cnpjInput.trim();
22
- if (cnpj.length === 18) cnpj = cleanCnpjString(cnpj);
23
- if (cnpj.length !== 14) return false;
24
- if (!/^\d+$/.test(cnpj)) return false;
25
- if (INVALID_CNPJ_PATTERNS.includes(cnpj)) return false;
26
- const first = calculateVerificationDigit(cnpj, CNPJ_FIRST_DIGIT_FACTORS);
27
- if (cnpj.charAt(12) !== first) return false;
28
- const second = calculateVerificationDigit(cnpj, CNPJ_SECOND_DIGIT_FACTORS);
29
- if (cnpj.charAt(13) !== second) return false;
30
- return true;
31
- }
32
8
  const buildPostalCodeParams = (country) => {
33
9
  const fixedLen = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
34
10
  if (fixedLen !== void 0) return { length: fixedLen };
@@ -169,10 +145,6 @@ function validateEkybUboField(ubos, fieldKey) {
169
145
  params: { fieldName: UBO_FIELD_LABELS[field] }
170
146
  };
171
147
  }
172
- /** Returns true when CNPJ validation applies for the given country. */
173
- function requiresCnpjValidation(country) {
174
- return COUNTRIES_WITH_CNPJ_VALIDATION.includes(country);
175
- }
176
148
  //#endregion
177
149
  //#region ../form-definitions/generated/ekyb.ts
178
150
  const EKYB_DEFINITIONS = {
@@ -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-DawHPSFr.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-ROM4Plhh.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 };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dh1gMk0J.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DfAHobE4.esm.js";
4
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DT3rvcZJ.esm.js";
5
5
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
7
  import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
@@ -5,31 +5,31 @@ import "./Actor-DpTj5PFb.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-DTSLOvKR.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.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-vchnR2CA.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-DER3G7QA.js";
9
9
  import "./createFaceAvatar-lYX0VTYs.js";
10
10
  import { a as IStorageCapability } from "./IWasmUtilCapability-GF2n7sfm.js";
11
11
  import "./StreamCanvasCapture-7JRf-2ck.js";
12
- import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-7n59S4Fc.js";
13
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CC67pNoL.js";
12
+ import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-C74EPLTw.js";
13
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BPpSImsv.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BQ6BKInw.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cegv5Kth.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
17
- import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-HRSYsugw.js";
17
+ import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CpmlWHkv.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
20
20
  import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-6tnnDkMX.js";
21
- import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C0dHs1ty.js";
21
+ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-lZOHO33y.js";
23
23
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-Ci7zQBP1.js";
24
24
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
25
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-ClCgI2fn.js";
26
- import { i as CaptureIdResponse } from "./types-DPGYNu5C.js";
25
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-vEXd5SHA.js";
26
+ import { i as CaptureIdResponse } from "./types-iF96ENvX.js";
27
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-6nrJkvkG.js";
28
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
29
- import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
29
+ import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-DX2AyM4Y.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B1WidW8w.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CEOyGn4H.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DT3kPIB3.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
@@ -38,7 +38,7 @@ import { a as GovernmentValidationActor, i as createGovernmentValidationManagerF
38
38
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BJapZfpy.js";
39
39
  import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-DIgG-UFS.js";
40
40
  import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-D0Iy7EKR.js";
41
- import "./types-GbGmnFsh.js";
41
+ import "./types-CEuM1Qph.js";
42
42
  //#region src/modules/authentication/authenticationUploadService.d.ts
43
43
  type AuthenticationUploadResponse = {
44
44
  overallStatus: 'PASS' | 'FAIL';
@@ -1,35 +1,35 @@
1
- import { u as BrowserStorageProvider } from "./setup-q6QhQRkI.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BmtXHqwK.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-Di-5i9ip.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-DAOCrvRl.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
3
+ import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-1QwlJLQ3.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DawHPSFr.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-ROM4Plhh.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-Bcv2EsSL.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-B8TaHy7d.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-MOUMpv0i.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BrkJNhcx.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-SVrl1zgN.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-BQP6WIJ9.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-D8TzUU2I.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BN35sW3g.esm.js";
13
13
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-HRRI_djy.esm.js";
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BJlPFi1I.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-Dqzf_LJ3.esm.js";
16
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-B4E3Pgl9.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-D1q6py8K.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-xo2wOfZ3.esm.js";
16
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DuITDiyf.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CuxtO7jB.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-DZ0ksIav.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-DbF76iGU.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-Csi-HAvd.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-BtjTvMOg.esm.js";
22
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-D08q23Mr.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-DuOwQuxL.esm.js";
22
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-C05md8rp.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-Dcj-iewA.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-G9pWQPfr.esm.js";
25
- import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-UD1i94xo.esm.js";
25
+ import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-PKTQ09-2.esm.js";
26
26
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-MQMMPAs3.esm.js";
27
27
  import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager--56VbIeN.esm.js";
28
28
  import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BRlzM19u.esm.js";
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-D80xAPDt.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DQsYcUcF.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-DWOZ-uMN.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-C7pGYdJ6.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-BApTeGjv.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-BF5jvOkb.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-C82KSWQl.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-4Hh6X-G6.esm.js";
@@ -2,10 +2,10 @@ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScr
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
5
- import { r as concealmentToAvatar } from "./faceCaptureSetup-B8TaHy7d.esm.js";
6
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Co_fMpyM.esm.js";
5
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-BrkJNhcx.esm.js";
6
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CWvvmM2E.esm.js";
7
7
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
8
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DXlzBQ7G.esm.js";
8
+ import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DJyei2yK.esm.js";
9
9
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
10
10
  function getPermissionStatus(snapshot) {
11
11
  if (!snapshot.matches("permissions")) return;