@incodetech/core 0.0.0-dev-20260720-00ef49e9 → 0.0.0-dev-20260721-eccd3f30

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 (118) hide show
  1. package/dist/BrowserVisibilityObserverProvider-DfE4Sheq.esm.js +64 -0
  2. package/dist/{addressSearch-DEYnZoez.esm.js → addressSearch-CK0sUGXQ.esm.js} +1 -1
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/antifraud.esm.js +2 -2
  5. package/dist/{antifraudManager-CFsD4BgV.esm.js → antifraudManager-DNQ03cI-.esm.js} +3 -3
  6. package/dist/{antifraudStateMachine-VB-aXHct.esm.js → antifraudStateMachine-BhDtbvsr.esm.js} +2 -2
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-D7wtvj8F.esm.js → authenticationManager-DDjH-50n.esm.js} +4 -4
  9. package/dist/{authenticationStateMachine-CM4bMjJc.esm.js → authenticationStateMachine-BjSbdil1.esm.js} +4 -4
  10. package/dist/certificate-issuance.esm.js +3 -3
  11. package/dist/{certificateIssuanceStateMachine-Di_bLlkP.esm.js → certificateIssuanceStateMachine-FqsRyCQy.esm.js} +2 -2
  12. package/dist/consent.esm.js +2 -2
  13. package/dist/{consentManager-0EiBXYtL.esm.js → consentManager-BFqvQKnL.esm.js} +3 -3
  14. package/dist/{consentStateMachine-STURxpEc.esm.js → consentStateMachine-DEX3rWmY.esm.js} +2 -2
  15. package/dist/cpf-ocr.esm.js +1 -1
  16. package/dist/{cpfOcrManager-Bu32le9u.esm.js → cpfOcrManager-Crj9julI.esm.js} +3 -3
  17. package/dist/cross-document-data-match.esm.js +1 -1
  18. package/dist/{crossDocumentDataMatchManager-Dw7euiiZ.esm.js → crossDocumentDataMatchManager-BJ1sNzqp.esm.js} +3 -3
  19. package/dist/curp-validation.esm.js +2 -2
  20. package/dist/{curpValidationManager-BGj9U3E0.esm.js → curpValidationManager-DxpyQx7s.esm.js} +3 -3
  21. package/dist/{curpValidationStateMachine-Dq6l4oeZ.esm.js → curpValidationStateMachine-CLaUrwr_.esm.js} +2 -2
  22. package/dist/custom-fields.esm.js +3 -3
  23. package/dist/custom-watchlist.esm.js +3 -3
  24. package/dist/{customWatchlistStateMachine-BuQML-pk.esm.js → customWatchlistStateMachine-DmR8nQ9D.esm.js} +2 -2
  25. package/dist/{deepsightLoader-N6u2JnGq.esm.js → deepsightLoader-BtxdGkfR.esm.js} +1 -1
  26. package/dist/document-capture.d.ts +1 -1
  27. package/dist/document-capture.esm.js +2 -2
  28. package/dist/document-upload.d.ts +4 -4
  29. package/dist/document-upload.esm.js +3 -3
  30. package/dist/{documentCaptureManager-Ccu_LTBA.d.ts → documentCaptureManager-CBP2DkPr.d.ts} +4 -4
  31. package/dist/{documentCaptureManager-BI1bAj1F.esm.js → documentCaptureManager-HPQFi4FW.esm.js} +3 -3
  32. package/dist/{documentCaptureStateMachine-C1uifdea.esm.js → documentCaptureStateMachine-DPDPyUQd.esm.js} +2 -2
  33. package/dist/dynamic-forms.esm.js +2 -2
  34. package/dist/{dynamicFormsManager-Fi2O2RUM.esm.js → dynamicFormsManager-Cpui-n_E.esm.js} +3 -3
  35. package/dist/{dynamicFormsStateMachine-DiPpuHgF.esm.js → dynamicFormsStateMachine-PBlPbUaP.esm.js} +2 -2
  36. package/dist/ekyb.esm.js +2 -2
  37. package/dist/{ekybManager-BVUo4X83.esm.js → ekybManager-SvomKsA_.esm.js} +3 -3
  38. package/dist/{ekybStateMachine-CwDauKYm.esm.js → ekybStateMachine-Dk6h4MpB.esm.js} +4 -4
  39. package/dist/ekyc.esm.js +2 -2
  40. package/dist/{ekycManager-CI7sN4Ln.esm.js → ekycManager-CSSMm3NN.esm.js} +3 -3
  41. package/dist/{ekycStateMachine-DFQdmBXl.esm.js → ekycStateMachine-DKSNtU9D.esm.js} +3 -3
  42. package/dist/electronic-signature.esm.js +1 -1
  43. package/dist/{electronicSignatureManager-DGFwHdro.esm.js → electronicSignatureManager-BGt5jlyi.esm.js} +3 -3
  44. package/dist/email.esm.js +2 -2
  45. package/dist/{emailManager-Dmt1YrtS.esm.js → emailManager-B9ZtXkmO.esm.js} +3 -3
  46. package/dist/{emailStateMachine-DQS-QMgQ.esm.js → emailStateMachine-dPf_JV21.esm.js} +2 -2
  47. package/dist/{events-Dy8PyVO5.esm.js → events-Cz6MebsD.esm.js} +16 -1
  48. package/dist/events.d.ts +9 -1
  49. package/dist/events.esm.js +2 -2
  50. package/dist/extensibility.d.ts +1 -1
  51. package/dist/extensibility.esm.js +26 -26
  52. package/dist/face-match.esm.js +2 -2
  53. package/dist/{faceCaptureManagerFactory-Dhpagy6D.esm.js → faceCaptureManagerFactory-BKhutsJi.esm.js} +30 -5
  54. package/dist/{faceCaptureSetup-CjWXmyg1.esm.js → faceCaptureSetup-7D-0M-GK.esm.js} +4 -4
  55. package/dist/{faceMatchManager-fPX11GnX.esm.js → faceMatchManager-C27ikuay.esm.js} +3 -3
  56. package/dist/{faceMatchStateMachine-D_7UX1rV.esm.js → faceMatchStateMachine-DPxvXTD8.esm.js} +2 -2
  57. package/dist/field-comparison.esm.js +1 -1
  58. package/dist/{fieldComparisonManager-USUE9qDr.esm.js → fieldComparisonManager-DFRmWfO2.esm.js} +3 -3
  59. package/dist/fiscal-qr.esm.js +3 -3
  60. package/dist/flow.esm.js +5 -5
  61. package/dist/{flowServices-CFExICxt.esm.js → flowServices-Cm4p5g-V.esm.js} +2 -2
  62. package/dist/geolocation.esm.js +2 -2
  63. package/dist/{geolocationManager-C8GnN4Od.esm.js → geolocationManager-Bq6mhMLb.esm.js} +3 -3
  64. package/dist/{geolocationStateMachine-DfVSIUvS.esm.js → geolocationStateMachine-CM43faR8.esm.js} +2 -2
  65. package/dist/government-validation.esm.js +3 -3
  66. package/dist/{governmentValidationStateMachine-loZfWcU9.esm.js → governmentValidationStateMachine-DOzBCyQG.esm.js} +2 -2
  67. package/dist/home.esm.js +2 -2
  68. package/dist/id-ocr.esm.js +2 -2
  69. package/dist/id-verification.esm.js +2 -2
  70. package/dist/id.esm.js +6 -6
  71. package/dist/{idCaptureManager-Bam3S6wg.esm.js → idCaptureManager-Ckd9D4Q8.esm.js} +27 -8
  72. package/dist/{idCaptureStateMachine-yMOSoMqs.esm.js → idCaptureStateMachine-DOwiqNpC.esm.js} +8 -8
  73. package/dist/{idOcrManager-gscmFPxD.esm.js → idOcrManager-CZqArdyB.esm.js} +3 -3
  74. package/dist/{idOcrStateMachine-jfAyK4Bb.esm.js → idOcrStateMachine-D6SZ5UEN.esm.js} +3 -3
  75. package/dist/{idVerificationManager-BTsyXjv6.esm.js → idVerificationManager-D-fdmeEv.esm.js} +3 -3
  76. package/dist/{idVerificationStateMachine-7BSciEJk.esm.js → idVerificationStateMachine-CRyto3WY.esm.js} +2 -2
  77. package/dist/identity-reuse.esm.js +2 -2
  78. package/dist/{identityReuseManager-BjMJHKLP.esm.js → identityReuseManager-B4Uc5t63.esm.js} +3 -3
  79. package/dist/{identityReuseStateMachine-B0IFF3R7.esm.js → identityReuseStateMachine-DuDSkTJQ.esm.js} +2 -2
  80. package/dist/index.esm.js +1 -1
  81. package/dist/{invokeOnCaptureCallback-B-QfsCQY.esm.js → invokeOnCaptureCallback-DClbfPxs.esm.js} +1 -1
  82. package/dist/mandatory-consent.esm.js +2 -2
  83. package/dist/{mandatoryConsentManager-BOOjm7SU.esm.js → mandatoryConsentManager-D0xVg9hS.esm.js} +3 -3
  84. package/dist/{mandatoryConsentStateMachine-BP3npRnI.esm.js → mandatoryConsentStateMachine-OJMLYTcA.esm.js} +2 -2
  85. package/dist/{onDeviceFaceResults-BAiPSJHi.esm.js → onDeviceFaceResults-C5TVpaYV.esm.js} +1 -1
  86. package/dist/personhood.esm.js +5 -5
  87. package/dist/phone.esm.js +2 -2
  88. package/dist/{phoneManager-C3aqq6jS.esm.js → phoneManager-CuSs7oB6.esm.js} +3 -3
  89. package/dist/{phoneStateMachine-CLGcLA8t.esm.js → phoneStateMachine-BcNKggqC.esm.js} +2 -2
  90. package/dist/qe-signature.esm.js +1 -1
  91. package/dist/{recordingService-BW-tqhqS.esm.js → recordingService-C7rP7d1i.esm.js} +1 -1
  92. package/dist/redirect-to-mobile.esm.js +2 -2
  93. package/dist/{redirectToMobileManager-Ct_5C_La.esm.js → redirectToMobileManager-eW8H-t2I.esm.js} +4 -4
  94. package/dist/{redirectToMobileStateMachine-D78eaxsp.esm.js → redirectToMobileStateMachine-DfeNOyS0.esm.js} +2 -2
  95. package/dist/{runChildModule-Crz1nHwJ.esm.js → runChildModule-CqKn3aLp.esm.js} +3 -3
  96. package/dist/selfie.esm.js +8 -8
  97. package/dist/{selfieManager-CpjT9NOs.esm.js → selfieManager-B_OEbSBa.esm.js} +4 -4
  98. package/dist/{selfieStateMachine-CQVjhQLQ.esm.js → selfieStateMachine-Dtjx0rzU.esm.js} +4 -4
  99. package/dist/session-CRq_s4g4.esm.js +1 -0
  100. package/dist/session.esm.js +2 -2
  101. package/dist/{sessionInitializer-BEQovnS0.esm.js → sessionInitializer-BWyEUl6d.esm.js} +2 -2
  102. package/dist/{setup-DvcUUX66.esm.js → setup-ByVn7P4r.esm.js} +2 -2
  103. package/dist/signature.esm.js +3 -3
  104. package/dist/{signatureStateMachine-zRLvEGTw.esm.js → signatureStateMachine-CL414Utx.esm.js} +2 -2
  105. package/dist/trust-graph.esm.js +2 -2
  106. package/dist/video-selfie.esm.js +4 -4
  107. package/dist/wasm.esm.js +1 -1
  108. package/dist/watchlist-for-business.esm.js +3 -3
  109. package/dist/watchlist.esm.js +3 -3
  110. package/dist/{watchlistForBusinessStateMachine-Rc6BAwlr.esm.js → watchlistForBusinessStateMachine-Bneo_qn7.esm.js} +2 -2
  111. package/dist/{watchlistStateMachine-64y9XBjm.esm.js → watchlistStateMachine-Dy3_dkvG.esm.js} +2 -2
  112. package/dist/workflow.d.ts +4 -4
  113. package/dist/workflow.esm.js +31 -31
  114. package/dist/{xstate-actors.esm-CtI5S0f4.esm.js → xstate-actors.esm-BaY-n1vb.esm.js} +1 -1
  115. package/dist/{xstate.esm-Cf4e0Cfd.esm.js → xstate.esm-DJRyQbtk.esm.js} +10 -3
  116. package/package.json +3 -3
  117. package/dist/BrowserVisibilityObserverProvider-sJclps4C.esm.js +0 -23
  118. package/dist/session-DF5fLTmo.esm.js +0 -1
@@ -209,6 +209,14 @@ function errorTriggered(module, screen, payload) {
209
209
  payload
210
210
  });
211
211
  }
212
+ function stateChanged(module, screen, payload) {
213
+ screenEvent({
214
+ module,
215
+ screen,
216
+ code: "stateEvent",
217
+ payload
218
+ });
219
+ }
212
220
  function elementClicked(module, screen, payload) {
213
221
  screenEvent({
214
222
  module,
@@ -290,6 +298,7 @@ function createManagerInstrumentation(moduleName, options) {
290
298
  onModuleClosed: moduleClosed,
291
299
  onScreenOpened: screenOpened,
292
300
  onScreenClosed: screenClosed,
301
+ onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
293
302
  onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
294
303
  errorName,
295
304
  ...payload
@@ -304,6 +313,12 @@ function createManagerInstrumentation(moduleName, options) {
304
313
  getEventScreenName: options?.getEventScreenName,
305
314
  getScreenName: options?.getScreenName
306
315
  }),
316
+ getStateName: (snapshot) => {
317
+ const stateName = options?.getEventStateName?.(snapshot);
318
+ if (stateName === void 0) return;
319
+ const trimmed = stateName.trim();
320
+ return trimmed.length > 0 ? trimmed : void 0;
321
+ },
307
322
  getErrorName: (snapshot) => {
308
323
  const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
309
324
  if (mappedError === void 0) return;
@@ -501,4 +516,4 @@ const cameraScreenNamesMapper = {
501
516
  document: "document"
502
517
  };
503
518
  //#endregion
504
- export { setAnalyticsBatcher as _, videoSelfieEvents as a, getTimestamp as b, elementClicked as c, screenClosed as d, screenEvent as f, resetAnalyticsBatcher as g, getAnalyticsBatcher as h, tutorialScreenNamesMapper as i, moduleClosed as l, addEvent as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, subscribeEvent as v, revokeObjectURL as x, createEventBus as y };
519
+ export { revokeObjectURL as S, resetAnalyticsBatcher as _, videoSelfieEvents as a, createEventBus as b, elementClicked as c, screenClosed as d, screenEvent as f, getAnalyticsBatcher as g, addEvent as h, tutorialScreenNamesMapper as i, moduleClosed as l, stateChanged as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, setAnalyticsBatcher as v, getTimestamp as x, subscribeEvent as y };
package/dist/events.d.ts CHANGED
@@ -256,12 +256,20 @@ type ElementClickedPayload = {
256
256
  type CaptureAttemptFinishedPayload = {
257
257
  logs: string;
258
258
  };
259
+ type StateChangedPayload = {
260
+ /**
261
+ * The Figma sub-section name for the in-screen state, e.g.
262
+ * `idCapture.frontCapture.livecue-glare`. Emitted verbatim.
263
+ */
264
+ stateName: string;
265
+ };
259
266
  declare function screenEvent(params: ScreenEventParams): void;
260
267
  declare function moduleOpened(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
261
268
  declare function moduleClosed(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
262
269
  declare function screenOpened(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
263
270
  declare function screenClosed(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
271
+ declare function stateChanged(module: EventModule | string, screen: EventScreen | string | undefined, payload: StateChangedPayload): void;
264
272
  declare function elementClicked(module: EventModule | string, screen: EventScreen | string | undefined, payload: ElementClickedPayload): void;
265
273
  declare function captureAttemptFinished(module: EventModule | string, screen: EventScreen | string | undefined, payload: CaptureAttemptFinishedPayload): void;
266
274
  //#endregion
267
- export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
275
+ export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, type StateChangedPayload, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -1,2 +1,2 @@
1
- import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened, v as subscribeEvent } from "./events-Dy8PyVO5.esm.js";
2
- export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
1
+ import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, h as addEvent, i as tutorialScreenNamesMapper, l as moduleClosed, m as stateChanged, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened, y as subscribeEvent } from "./events-Cz6MebsD.esm.js";
2
+ export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -13,7 +13,7 @@ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentStat
13
13
  import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.js";
14
14
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
15
15
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DRQrbEhj.js";
16
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-Ccu_LTBA.js";
16
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CBP2DkPr.js";
17
17
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-Dposae2l.js";
18
18
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-CBX0tM04.js";
19
19
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
@@ -1,31 +1,31 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
- import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-BEQovnS0.esm.js";
3
- import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as createAntifraudManagerFromActor } from "./antifraudManager-CFsD4BgV.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CjWXmyg1.esm.js";
2
+ import { f as getDeviceFingerprintInfo, l as IpifyProvider, t as getDisableIpify, u as FingerprintProvider } from "./sessionInitializer-BWyEUl6d.esm.js";
3
+ import { o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
+ import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNQ03cI-.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-7D-0M-GK.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D7wtvj8F.esm.js";
9
- import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
10
- import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Bu32le9u.esm.js";
11
- import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
12
- import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
13
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BI1bAj1F.esm.js";
14
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Fi2O2RUM.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-BVUo4X83.esm.js";
16
- import { n as createEkycManagerFromActor } from "./ekycManager-CI7sN4Ln.esm.js";
17
- import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-CpjT9NOs.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Bam3S6wg.esm.js";
20
- import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
21
- import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
22
- import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
23
- import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BOOjm7SU.esm.js";
24
- import { n as createIdOcrManagerFromActor } from "./idOcrManager-gscmFPxD.esm.js";
25
- import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Ct_5C_La.esm.js";
26
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-C8GnN4Od.esm.js";
27
- import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BTsyXjv6.esm.js";
28
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-fPX11GnX.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DDjH-50n.esm.js";
9
+ import { n as createConsentManagerFromActor } from "./consentManager-BFqvQKnL.esm.js";
10
+ import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Crj9julI.esm.js";
11
+ import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BJ1sNzqp.esm.js";
12
+ import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-DxpyQx7s.esm.js";
13
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-HPQFi4FW.esm.js";
14
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Cpui-n_E.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-SvomKsA_.esm.js";
16
+ import { n as createEkycManagerFromActor } from "./ekycManager-CSSMm3NN.esm.js";
17
+ import { n as createEmailManagerFromActor } from "./emailManager-B9ZtXkmO.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-B_OEbSBa.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Ckd9D4Q8.esm.js";
20
+ import { n as createPhoneManagerFromActor } from "./phoneManager-CuSs7oB6.esm.js";
21
+ import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-B4Uc5t63.esm.js";
22
+ import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-DFRmWfO2.esm.js";
23
+ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-D0xVg9hS.esm.js";
24
+ import { n as createIdOcrManagerFromActor } from "./idOcrManager-CZqArdyB.esm.js";
25
+ import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-eW8H-t2I.esm.js";
26
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-Bq6mhMLb.esm.js";
27
+ import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-D-fdmeEv.esm.js";
28
+ import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-C27ikuay.esm.js";
29
29
  //#region src/internal/fingerprint/fingerprintApi.ts
30
30
  async function getFingerprint(disableIpify) {
31
31
  const shouldDisableIpify = disableIpify ?? getDisableIpify();
@@ -1,3 +1,3 @@
1
- import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-D_7UX1rV.esm.js";
2
- import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-fPX11GnX.esm.js";
1
+ import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-DPxvXTD8.esm.js";
2
+ import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-C27ikuay.esm.js";
3
3
  export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
@@ -1,8 +1,8 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as concealmentToAvatar } from "./faceCaptureSetup-CjWXmyg1.esm.js";
5
- import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
3
+ import { n as setWasmDsFlagSync, r as splitTrackedName, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-DfE4Sheq.esm.js";
4
+ import { c as createManager } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-7D-0M-GK.esm.js";
6
6
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
7
7
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
8
8
  function getPermissionStatus(snapshot) {
@@ -208,7 +208,15 @@ function getAuthFaceScreenName(snapshot) {
208
208
  default: return eventScreenNames.authFace;
209
209
  }
210
210
  }
211
- function getFaceCaptureScreenName(snapshot, moduleName) {
211
+ /**
212
+ * Full Figma "Tracked Events" name for the current snapshot — section plus
213
+ * sub-section (e.g. `faceCapture.capturing.moveCloser`).
214
+ * `getFaceCaptureScreenName` / `getFaceCaptureStateName` split this into the
215
+ * screen (section) and in-screen state (sub-section) via `splitTrackedName`.
216
+ * Auth-face variants keep their legacy single-token screen names, which have
217
+ * no sub-section and therefore no in-screen state.
218
+ */
219
+ function getFaceCaptureTrackedName(snapshot, moduleName) {
212
220
  if (moduleName === eventModuleNames.authFace || moduleName === eventModuleNames.authentication) return getAuthFaceScreenName(snapshot);
213
221
  const { value } = snapshot;
214
222
  if (value === void 0 || value === null) return void 0;
@@ -227,6 +235,22 @@ function getFaceCaptureScreenName(snapshot, moduleName) {
227
235
  default: return `faceCapture.${topLevel}`;
228
236
  }
229
237
  }
238
+ /**
239
+ * The Figma screen (section) for the current snapshot — the coarse
240
+ * `screenOpened`/`screenClosed` value, e.g. `faceCapture.capturing`.
241
+ */
242
+ function getFaceCaptureScreenName(snapshot, moduleName) {
243
+ return splitTrackedName(getFaceCaptureTrackedName(snapshot, moduleName)).screen;
244
+ }
245
+ /**
246
+ * The Figma in-screen state (sub-section) for the current snapshot — the
247
+ * `stateEvent` `stateName`, e.g. `faceCapture.capturing.moveCloser`.
248
+ * `undefined` when the current screen has no tracked sub-state (including all
249
+ * auth-face variants).
250
+ */
251
+ function getFaceCaptureStateName(snapshot, moduleName) {
252
+ return splitTrackedName(getFaceCaptureTrackedName(snapshot, moduleName)).state;
253
+ }
230
254
  function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished }) {
231
255
  const snapshot = actor.getSnapshot();
232
256
  snapshot.context.dependencies.trackCaptureAttemptFinished = trackCaptureAttemptFinished;
@@ -406,6 +430,7 @@ function createFaceCaptureManagerFromActor(actor, moduleName, visibilityObserver
406
430
  createApi,
407
431
  instrumentation: createManagerInstrumentation(moduleName, {
408
432
  getEventScreenName: (snapshot) => getFaceCaptureScreenName(snapshot, moduleName),
433
+ getEventStateName: (snapshot) => getFaceCaptureStateName(snapshot, moduleName),
409
434
  getErrorName: getFaceCaptureErrorName,
410
435
  getErrorPayload: getFaceCaptureErrorPayload,
411
436
  visibilityObserver
@@ -1,13 +1,13 @@
1
1
  import { r as getToken } from "./api-BDTZNnca.esm.js";
2
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
2
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
4
4
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BAiPSJHi.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-C5TVpaYV.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { t as createFaceAvatar } from "./createFaceAvatar-CwVapQiu.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
9
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
10
- import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-BW-tqhqS.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-C7rP7d1i.esm.js";
11
11
  //#region src/internal/avatar/concealment.ts
12
12
  /**
13
13
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as faceMatchMachine } from "./faceMatchStateMachine-D_7UX1rV.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-DPxvXTD8.esm.js";
4
4
  //#region src/modules/face-match/faceMatchActor.ts
5
5
  function createFaceMatchActor(options) {
6
6
  return createActor(faceMatchMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  //#region src/modules/face-match/constants.ts
6
6
  /**
7
7
  * Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
@@ -1,2 +1,2 @@
1
- import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-USUE9qDr.esm.js";
1
+ import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-DFRmWfO2.esm.js";
2
2
  export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  //#region src/modules/field-comparison/fieldComparisonServices.ts
7
7
  /** Submit first and last name for backend field comparison. Throws on failure. */
8
8
  async function submitFieldComparison(params, signal) {
@@ -1,9 +1,9 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
- import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
3
+ import { h as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
5
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
+ import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
6
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
7
7
  import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
9
9
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
- import { m as addEvent } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-CFExICxt.esm.js";
1
+ import { h as addEvent } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
4
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-Cm4p5g-V.esm.js";
5
5
  import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Crz1nHwJ.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CqKn3aLp.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,9 +1,9 @@
1
1
  import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BEQovnS0.esm.js";
4
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BWyEUl6d.esm.js";
5
5
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
6
- import "./session-DF5fLTmo.esm.js";
6
+ import "./session-CRq_s4g4.esm.js";
7
7
  import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DHcibfYH.esm.js";
8
8
  //#region src/modules/flow/flowUtils.ts
9
9
  const WASM_MODULE_PIPELINES = {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-C8GnN4Od.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-DfVSIUvS.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-Bq6mhMLb.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-CM43faR8.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-DfVSIUvS.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-CM43faR8.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
3
  import { r as isIOS, t as isAndroid } from "./platform-wmV7oTAJ.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  import { n as isConnectivityError } from "./apiError-B-PkYxln.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
8
8
  async function addGeolocation(params, signal) {
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-loZfWcU9.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DOzBCyQG.esm.js";
5
5
  //#region src/modules/government-validation/governmentValidationActor.ts
6
6
  function createGovernmentValidationActor(options) {
7
7
  return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
@@ -1,8 +1,8 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
7
7
  //#region src/modules/government-validation/governmentValidationServices.ts
8
8
  async function processGovernmentValidation(signal) {
package/dist/home.esm.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
3
3
  //#region src/modules/home/homeStateMachine.ts
4
4
  const homeMachine = setup({ types: {
5
5
  context: {},
@@ -1,3 +1,3 @@
1
- import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-jfAyK4Bb.esm.js";
2
- import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-gscmFPxD.esm.js";
1
+ import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-D6SZ5UEN.esm.js";
2
+ import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-CZqArdyB.esm.js";
3
3
  export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, getOcrFields, idOcrStateMachine };
@@ -1,3 +1,3 @@
1
- import { t as idVerificationMachine } from "./idVerificationStateMachine-7BSciEJk.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-BTsyXjv6.esm.js";
1
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-CRyto3WY.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-D-fdmeEv.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
package/dist/id.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
2
- import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
1
+ import { n as eventModuleNames } from "./events-Cz6MebsD.esm.js";
2
+ import { o as createActor, r as assign } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
4
4
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
5
- import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-yMOSoMqs.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Bam3S6wg.esm.js";
7
- import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
5
+ import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-DOwiqNpC.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Ckd9D4Q8.esm.js";
7
+ import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DClbfPxs.esm.js";
8
8
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
9
9
  function buildSubImage(canvas) {
10
10
  if (!canvas) return void 0;
@@ -1,10 +1,10 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
3
+ import { n as setWasmDsFlagSync, r as splitTrackedName, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-DfE4Sheq.esm.js";
4
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
5
5
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
6
6
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
7
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-yMOSoMqs.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DOwiqNpC.esm.js";
8
8
  //#region src/modules/id/digitalUpload/instrumentation.ts
9
9
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
10
10
  function isHoldingState(value) {
@@ -610,7 +610,13 @@ function getPermissionScreen(value) {
610
610
  default: return "idCapture.permissions.default";
611
611
  }
612
612
  }
613
- function getIdCaptureScreenName(snapshot) {
613
+ /**
614
+ * Full Figma "Tracked Events" name for the current snapshot — the section
615
+ * plus its sub-section, joined (e.g. `idCapture.frontCapture.livecue-glare`).
616
+ * `getIdCaptureScreenName` / `getIdCaptureStateName` split this into the screen
617
+ * (section) and in-screen state (sub-section) via `splitTrackedName`.
618
+ */
619
+ function getIdCaptureTrackedName(snapshot) {
614
620
  const { value, context } = snapshot;
615
621
  if (value === void 0 || value === null) return void 0;
616
622
  const topLevel = topLevelStateName(value);
@@ -647,8 +653,20 @@ function getIdCaptureScreenName(snapshot) {
647
653
  default: return `idCapture.${topLevel}`;
648
654
  }
649
655
  }
650
- function mapIdCaptureScreenName(snapshot) {
651
- return getIdCaptureScreenName(snapshot);
656
+ /**
657
+ * The Figma screen (section) for the current snapshot — the coarse
658
+ * `screenOpened`/`screenClosed` value, e.g. `idCapture.frontCapture`.
659
+ */
660
+ function getIdCaptureScreenName(snapshot) {
661
+ return splitTrackedName(getIdCaptureTrackedName(snapshot)).screen;
662
+ }
663
+ /**
664
+ * The Figma in-screen state (sub-section) for the current snapshot — the
665
+ * `stateEvent` `stateName`, e.g. `idCapture.frontCapture.livecue-glare`.
666
+ * `undefined` when the current screen has no tracked sub-state.
667
+ */
668
+ function getIdCaptureStateName(snapshot) {
669
+ return splitTrackedName(getIdCaptureTrackedName(snapshot)).state;
652
670
  }
653
671
  /**
654
672
  * Figma-aligned, machine-stable reason token per upload error code. Mirrors the
@@ -745,7 +763,8 @@ function createIdCaptureManagerFromActor(actor, visibilityObserver = new Browser
745
763
  mapState,
746
764
  createApi,
747
765
  instrumentation: createManagerInstrumentation(eventModuleNames.idCapture, {
748
- getEventScreenName: mapIdCaptureScreenName,
766
+ getEventScreenName: getIdCaptureScreenName,
767
+ getEventStateName: getIdCaptureStateName,
749
768
  getErrorName: getIdCaptureErrorName,
750
769
  getErrorPayload: getIdCaptureErrorPayload,
751
770
  visibilityObserver
@@ -1,14 +1,14 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
3
- import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
3
+ import { S as revokeObjectURL } from "./events-Cz6MebsD.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
6
- import { t as getDisableIpify } from "./sessionInitializer-BEQovnS0.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-BWyEUl6d.esm.js";
7
7
  import { n as isDesktop } from "./platform-wmV7oTAJ.esm.js";
8
- import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
9
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
+ import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
9
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
11
- import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BAiPSJHi.esm.js";
11
+ import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-C5TVpaYV.esm.js";
12
12
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
13
13
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
14
14
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
@@ -16,8 +16,8 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
16
16
  import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
17
17
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
18
18
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
19
- import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-BW-tqhqS.esm.js";
20
- import "./session-DF5fLTmo.esm.js";
19
+ import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-C7rP7d1i.esm.js";
20
+ import "./session-CRq_s4g4.esm.js";
21
21
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
22
22
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
23
23
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1626,7 +1626,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1626
1626
  });
1627
1627
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1628
1628
  if (!input.dependencies) return;
1629
- const { loadDeepsightSession } = await import("./deepsightLoader-N6u2JnGq.esm.js");
1629
+ const { loadDeepsightSession } = await import("./deepsightLoader-BtxdGkfR.esm.js");
1630
1630
  return loadDeepsightSession({
1631
1631
  ds: input.ds,
1632
1632
  storage: input.dependencies.storage,
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as idOcrStateMachine } from "./idOcrStateMachine-jfAyK4Bb.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { t as idOcrStateMachine } from "./idOcrStateMachine-D6SZ5UEN.esm.js";
4
4
  //#region src/modules/id-ocr/idOcrActor.ts
5
5
  function createIdOcrActor(options) {
6
6
  return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
- import { b as getTimestamp } from "./events-Dy8PyVO5.esm.js";
2
+ import { x as getTimestamp } from "./events-Cz6MebsD.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
7
7
  //#region ../infra/src/providers/browser/DateFormattingProvider.ts
8
8
  var DateFormattingProvider = class {
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as idVerificationMachine } from "./idVerificationStateMachine-7BSciEJk.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-CRyto3WY.esm.js";
4
4
  //#region src/modules/id-verification/idVerificationActor.ts
5
5
  function createIdVerificationActor(options) {
6
6
  return createActor(idVerificationMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  //#region src/modules/id-verification/idVerificationServices.ts
6
6
  /**
7
7
  * Submits the captured ID for backend verification. Wraps `POST /omni/process/id`
@@ -1,3 +1,3 @@
1
- import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
2
- import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-BjMJHKLP.esm.js";
1
+ import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-DuDSkTJQ.esm.js";
2
+ import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-B4Uc5t63.esm.js";
3
3
  export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { n as identityReuseMachine } from "./identityReuseStateMachine-DuDSkTJQ.esm.js";
4
4
  //#region src/modules/identity-reuse/identityReuseActor.ts
5
5
  /**
6
6
  * Creates and starts an IdentityReuse actor.