@incodetech/core 2.4.1-agentic.9 → 2.5.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  3. package/dist/{CameraCompositor-DN7NkJzV.esm.js → CameraCompositor-ppyMYVoY.esm.js} +1 -1
  4. package/dist/{FaceDetectionProvider-CHpscouN.esm.js → FaceDetectionProvider-n9u4dEn_.esm.js} +9 -9
  5. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  6. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
  7. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  8. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  9. package/dist/{MultipartRecordingProvider-BfQPSgSO.esm.js → MultipartRecordingProvider-CduV32Qa.esm.js} +1 -1
  10. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  11. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-0xTxgP0R.esm.js} +42 -6
  12. package/dist/{WorkerEncoderRecordingProvider-CyCrQnZR.esm.js → WorkerEncoderRecordingProvider-CsDED9UU.esm.js} +1 -1
  13. package/dist/{addressSearch-D6cKPWmk.esm.js → addressSearch-Rxm1K67A.esm.js} +5 -4
  14. package/dist/{advanceableErrors-k-U-cL5m.esm.js → advanceableErrors-CxZyPRyh.esm.js} +3 -0
  15. package/dist/ae-signature.d.ts +2 -2
  16. package/dist/ae-signature.esm.js +1 -1
  17. package/dist/antifraud.d.ts +1 -1
  18. package/dist/antifraud.esm.js +2 -2
  19. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  20. package/dist/{antifraudManager-CbIwM35x.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  21. package/dist/{antifraudStateMachine-qNNXrlsP.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  22. package/dist/{api-C_P9YXbL.esm.js → api-CZpuJuZl.esm.js} +2 -1
  23. package/dist/{apiError-BeWqIYu8.esm.js → apiError-CtArBUt-.esm.js} +1 -1
  24. package/dist/{attemptCarry-BaAXPR_w.esm.js → attemptCarry-BecGGZK8.esm.js} +1 -1
  25. package/dist/authentication.d.ts +3 -3
  26. package/dist/authentication.esm.js +2 -2
  27. package/dist/{authenticationManager-CTHFl6dl.esm.js → authenticationManager-9N3eg3Uh.esm.js} +7 -6
  28. package/dist/{authenticationManager-DKLRA91K.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
  29. package/dist/{authenticationStateMachine-D-SOzH8C.esm.js → authenticationStateMachine-DoK5RKIS.esm.js} +50 -18
  30. package/dist/avatar.d.ts +1 -1
  31. package/dist/{browser-pQZA35G2-DJEJnmCd.esm.js → browser-DlFgHpoC-DnyrCR8r.esm.js} +150 -161
  32. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  33. package/dist/camera.esm.js +1 -1
  34. package/dist/certificate-issuance.d.ts +1 -1
  35. package/dist/certificate-issuance.esm.js +2 -2
  36. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  37. package/dist/{certificateIssuanceManager-CrF3wjCH.esm.js → certificateIssuanceManager-DaUklfNj.esm.js} +5 -3
  38. package/dist/{certificateIssuanceStateMachine-uSD9IkcV.esm.js → certificateIssuanceStateMachine-_EQcjGE3.esm.js} +4 -4
  39. package/dist/{cnpj-Co1ottYN.esm.js → cnpj-Bl_olpdX.esm.js} +5 -3
  40. package/dist/consent.d.ts +1 -1
  41. package/dist/consent.esm.js +2 -2
  42. package/dist/{consentManager-BD7wwgat.esm.js → consentManager-BPocwpm2.esm.js} +5 -3
  43. package/dist/{consentManager-7aHaehwF.d.ts → consentManager-vI6QHkHU.d.ts} +5 -4
  44. package/dist/{consentStateMachine-BAiLDE3D.esm.js → consentStateMachine-DgiIcT9q.esm.js} +3 -3
  45. package/dist/{cpf-BIADjddF.esm.js → cpf-DDXMTLYr.esm.js} +1 -1
  46. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  47. package/dist/cross-document-data-match.d.ts +1 -1
  48. package/dist/cross-document-data-match.esm.js +1 -1
  49. package/dist/{crossDocumentDataMatchManager-CUc1uACE.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  50. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  51. package/dist/curp-DZGvefg3.esm.js +14 -0
  52. package/dist/curp-validation.d.ts +1 -1
  53. package/dist/curp-validation.esm.js +2 -2
  54. package/dist/{curpValidationManager-DBfZSQbu.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -4
  55. package/dist/{curpValidationManager-Crz3bnCo.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  56. package/dist/{curpValidationStateMachine-DyAEyScb.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +5 -5
  57. package/dist/custom-fields.d.ts +1 -1
  58. package/dist/custom-fields.esm.js +1 -1
  59. package/dist/custom-watchlist.d.ts +1 -1
  60. package/dist/custom-watchlist.esm.js +2 -2
  61. package/dist/{customFieldsManager-BZhIPyaY.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  62. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  63. package/dist/{customWatchlistManager-B4cmxi__.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  64. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  65. package/dist/{customWatchlistStateMachine-ZZoDGRAZ.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  66. package/dist/{deepsightLoader-je1YxHgT.esm.js → deepsightLoader-zG373VVx.esm.js} +10 -6
  67. package/dist/{definitionSource-BHNxbuiv.esm.js → definitionSource-Nw0YCbpe.esm.js} +38 -1
  68. package/dist/{desktopCameraElection-m2dAj6Zu.esm.js → desktopCameraElection-BKFjsQpO.esm.js} +5 -5
  69. package/dist/document-capture.d.ts +1 -1
  70. package/dist/document-capture.esm.js +2 -2
  71. package/dist/{documentCaptureManager-v57klTso.esm.js → documentCaptureManager-BKaJVQxg.esm.js} +5 -3
  72. package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +4 -3
  73. package/dist/{documentCaptureStateMachine-CgCtimSa.esm.js → documentCaptureStateMachine-BYLb5Azk.esm.js} +6 -6
  74. package/dist/dynamic-forms.d.ts +1 -1
  75. package/dist/dynamic-forms.esm.js +2 -2
  76. package/dist/{dynamicFormsManager-BKWJZfkn.esm.js → dynamicFormsManager-BfQKWG7a.esm.js} +5 -3
  77. package/dist/{dynamicFormsManager-9kwY8Bf5.d.ts → dynamicFormsManager-C45pTncO.d.ts} +3 -3
  78. package/dist/{dynamicFormsStateMachine-CQN8p1ux.esm.js → dynamicFormsStateMachine-CRq01QNK.esm.js} +4 -4
  79. package/dist/ekyb.d.ts +3 -3
  80. package/dist/ekyb.esm.js +2 -2
  81. package/dist/{ekybManager-BD6HTwFJ.esm.js → ekybManager-B489iXyO.esm.js} +5 -3
  82. package/dist/{ekybManager-BLOkwmWO.d.ts → ekybManager-BflWuTe4.d.ts} +3 -3
  83. package/dist/{ekybStateMachine-3kceTymI.esm.js → ekybStateMachine-DZxg8T0H.esm.js} +18 -20
  84. package/dist/ekyc-prefill.d.ts +3 -3
  85. package/dist/ekyc-prefill.esm.js +2 -2
  86. package/dist/ekyc.d.ts +3 -3
  87. package/dist/ekyc.esm.js +3 -3
  88. package/dist/{ekycManager-CERRvIfg.d.ts → ekycManager-BKVQazAb.d.ts} +48 -7
  89. package/dist/{ekycManager-DawJq3Jo.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  90. package/dist/{ekycPrefillManager-D_8NJzZf.esm.js → ekycPrefillManager-BXWDF7vT.esm.js} +3 -2
  91. package/dist/{ekycPrefillManager-DLNmToWT.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +6 -5
  92. package/dist/{ekycPrefillStateMachine-C-JAvkH3.esm.js → ekycPrefillStateMachine-CuWTVze1.esm.js} +11 -10
  93. package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-DXP2hqVw.esm.js} +198 -38
  94. package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-nwJRel2s.esm.js} +349 -67
  95. package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-FcqA6oU4.esm.js} +45 -43
  96. package/dist/electronic-signature.d.ts +1 -1
  97. package/dist/electronic-signature.esm.js +1 -1
  98. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  99. package/dist/{electronicSignatureManager-u3UBhWw_.esm.js → electronicSignatureManager-BcE0XMrN.esm.js} +8 -6
  100. package/dist/email.d.ts +1 -1
  101. package/dist/email.esm.js +2 -2
  102. package/dist/{emailManager-BSaGg1Gl.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  103. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  104. package/dist/{emailStateMachine-CaoPZtZN.esm.js → emailStateMachine-CTEaYncs.esm.js} +4 -4
  105. package/dist/events-CP3yOzAl.esm.js +299 -0
  106. package/dist/events.d.ts +3 -1
  107. package/dist/events.esm.js +2 -1
  108. package/dist/extensibility.d.ts +42 -56
  109. package/dist/extensibility.esm.js +38 -38
  110. package/dist/{externalFetch-cUjJYyXj.esm.js → externalFetch-CQY41QT1.esm.js} +1 -1
  111. package/dist/face-match.d.ts +1 -1
  112. package/dist/face-match.esm.js +2 -2
  113. package/dist/{faceCaptureManagerFactory-DKJUjsV2.esm.js → faceCaptureManagerFactory-BBQzNrku.esm.js} +17 -6
  114. package/dist/{faceCaptureManagerFactory-ZudYP6Qp.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +18 -11
  115. package/dist/{faceCaptureSetup-CZzv26ip.esm.js → faceCaptureSetup-D8_ilXFc.esm.js} +46 -38
  116. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-C5b5WtcY.d.ts} +12 -5
  117. package/dist/{faceMatchManager-qPJsa5Ac.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  118. package/dist/{faceMatchStateMachine-D90ZHY1r.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +44 -18
  119. package/dist/{feature-management-BMUPPAzI.esm.js → feature-management-SIBmKJs8.esm.js} +1 -1
  120. package/dist/feature-management.esm.js +1 -1
  121. package/dist/field-comparison.d.ts +1 -1
  122. package/dist/field-comparison.esm.js +1 -1
  123. package/dist/{fieldComparisonManager-BLLj_Ey1.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  124. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  125. package/dist/fiscal-qr.d.ts +1 -1
  126. package/dist/fiscal-qr.esm.js +1 -1
  127. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  128. package/dist/{fiscalQrManager-Bh3rxb7Y.esm.js → fiscalQrManager-DOLq45ph.esm.js} +6 -4
  129. package/dist/flow-events.d.ts +1 -1
  130. package/dist/flow.d.ts +51 -13
  131. package/dist/flow.esm.js +241 -62
  132. package/dist/{flowCompletionService-DgA2VEq4.esm.js → flowCompletionService-BFCddN3G.esm.js} +24 -3
  133. package/dist/{flowServices-aJ5kGxBd.esm.js → flowServices-NX4ksmS5.esm.js} +374 -13
  134. package/dist/geolocation.d.ts +1 -1
  135. package/dist/geolocation.esm.js +2 -2
  136. package/dist/{geolocationManager-6e1i9UIR.d.ts → geolocationManager-CENrvxpK.d.ts} +4 -3
  137. package/dist/{geolocationManager-BA57nCxj.esm.js → geolocationManager-D1Ga7_lB.esm.js} +5 -3
  138. package/dist/{geolocationStateMachine-3-d1ECCh.esm.js → geolocationStateMachine-oPgI5FIQ.esm.js} +5 -5
  139. package/dist/government-validation.d.ts +1 -1
  140. package/dist/government-validation.esm.js +2 -2
  141. package/dist/{governmentValidationManager-D5HkBqfr.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  142. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  143. package/dist/{governmentValidationStateMachine-BwMClTqC.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  144. package/dist/home.d.ts +4 -3
  145. package/dist/home.esm.js +4 -2
  146. package/dist/http.esm.js +1 -1
  147. package/dist/id-ocr.d.ts +1 -1
  148. package/dist/id-ocr.esm.js +3 -3
  149. package/dist/id-selfie-flow.d.ts +6 -5
  150. package/dist/id-selfie-flow.esm.js +12 -11
  151. package/dist/id-verification.d.ts +1 -1
  152. package/dist/id-verification.esm.js +2 -2
  153. package/dist/id.d.ts +3 -3
  154. package/dist/id.esm.js +3 -3
  155. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-Drh207VJ.esm.js} +3 -3
  156. package/dist/{idCaptureManager-NRGuCVv2.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +12 -11
  157. package/dist/{idCaptureManager-B_TyUA3w.esm.js → idCaptureManager-DjZyIbxc.esm.js} +12 -10
  158. package/dist/{idCaptureServices-C6FUQ76N.esm.js → idCaptureServices-DWs9Fb58.esm.js} +7 -7
  159. package/dist/{idCaptureStateMachine-Cr8WdGyp.esm.js → idCaptureStateMachine-BGMkWF9t.esm.js} +22 -20
  160. package/dist/{idOcrCpfUtils-Nfln1Psb.esm.js → idOcrCpfUtils-D5Gwskxu.esm.js} +1 -1
  161. package/dist/{idOcrManager-B5xeI2lg.d.ts → idOcrManager-DflRx-_u.d.ts} +5 -4
  162. package/dist/{idOcrManager-BMK2oou0.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  163. package/dist/{idOcrStateMachine-RjNycN07.esm.js → idOcrStateMachine-B832arAl.esm.js} +4 -4
  164. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  165. package/dist/{idVerificationManager-4wY-Ee4j.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  166. package/dist/{idVerificationStateMachine-Bj00uWvh.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  167. package/dist/identity-reuse.d.ts +2 -2
  168. package/dist/identity-reuse.esm.js +2 -2
  169. package/dist/identity-search.d.ts +97 -0
  170. package/dist/identity-search.esm.js +97 -0
  171. package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-C40ngKeM.d.ts} +82 -15
  172. package/dist/{identityReuseManager-CCZ-ES2E.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  173. package/dist/{identityReuseStateMachine-BtpkGpYZ.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  174. package/dist/{index-DlVDVTcf.d.ts → index-BKOWUhxG.d.ts} +22 -93
  175. package/dist/index-DHuAkTe0.d.ts +1 -0
  176. package/dist/{index-BGnYn_4J.d.ts → index-DxYNO94y.d.ts} +2 -2
  177. package/dist/index.d.ts +1 -1
  178. package/dist/index.esm.js +1 -1
  179. package/dist/{invokeOnCaptureCallback-BkvXSZfa.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  180. package/dist/kyb-checks.d.ts +1 -1
  181. package/dist/kyb-checks.esm.js +2 -2
  182. package/dist/{kybChecksManager-CblEL97E.d.ts → kybChecksManager-B7Di9auB.d.ts} +3 -3
  183. package/dist/{kybChecksManager-x2nBdasv.esm.js → kybChecksManager-eRU3ht0m.esm.js} +3 -2
  184. package/dist/{kybChecksStateMachine-DdWSo3jQ.esm.js → kybChecksStateMachine-CU0oIYDR.esm.js} +8 -7
  185. package/dist/mandatory-consent.d.ts +2 -2
  186. package/dist/mandatory-consent.esm.js +2 -2
  187. package/dist/{mandatoryConsentManager-JNeVXgK8.d.ts → mandatoryConsentManager-C1B2ERZk.d.ts} +6 -5
  188. package/dist/{mandatoryConsentManager-C9JJGENL.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +5 -3
  189. package/dist/{mandatoryConsentStateMachine-DLNIGElA.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +3 -3
  190. package/dist/{mediaRecorderOptions-B9-IEVtV.esm.js → mediaRecorderOptions-g1TwTlhd.esm.js} +20 -3
  191. package/dist/{multipartRecordingService-OmSzHBqh.esm.js → multipartRecordingService-WgK8ieRI.esm.js} +2 -2
  192. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-pcrrqrPR.esm.js} +1 -1
  193. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-DFJlH7K3.esm.js} +1 -1
  194. package/dist/phone.d.ts +1 -1
  195. package/dist/phone.esm.js +2 -2
  196. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  197. package/dist/{phoneManager-6nrJkvkG.d.ts → phoneManager-VO1HEoUZ.d.ts} +3 -3
  198. package/dist/{phoneManager-BylOWecM.esm.js → phoneManager-rA7updqF.esm.js} +5 -3
  199. package/dist/{phoneServices-Crge7uSV.esm.js → phoneServices-CFXcwCFr.esm.js} +1 -1
  200. package/dist/{phoneStateMachine-CHnhCS-4.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +4 -4
  201. package/dist/{processFaceMatch-BveUAHts.esm.js → processFaceMatch-B_DkDTE5.esm.js} +1 -1
  202. package/dist/qe-signature.d.ts +2 -2
  203. package/dist/qe-signature.esm.js +1 -1
  204. package/dist/{recordingService-BUqAQd8F.esm.js → recordingService-DxiwS8TV.esm.js} +5 -5
  205. package/dist/redirect-to-mobile.d.ts +1 -1
  206. package/dist/redirect-to-mobile.esm.js +2 -2
  207. package/dist/{redirectToMobileManager-DUpLyXsq.esm.js → redirectToMobileManager-DjsEtWLq.esm.js} +6 -4
  208. package/dist/{redirectToMobileManager-Dm9ctRCC.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +3 -3
  209. package/dist/{redirectToMobileStateMachine-D0DW4y-f.esm.js → redirectToMobileStateMachine-CMjjUXSu.esm.js} +4 -4
  210. package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
  211. package/dist/{runChildModule-BTMOZdMM.esm.js → runChildModule-CJ_aQO92.esm.js} +8 -6
  212. package/dist/{sdkVersion-CinXzhdk.esm.js → sdkVersion-C9kbIDeX.esm.js} +1 -1
  213. package/dist/selfie.d.ts +4 -4
  214. package/dist/selfie.esm.js +13 -12
  215. package/dist/{selfieErrorUtils-D92PpZGe.esm.js → selfieErrorUtils-DUokfsv4.esm.js} +1 -1
  216. package/dist/{selfieManager-BPOlD-UN.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
  217. package/dist/{selfieManager-DX9Ejy4x.esm.js → selfieManager-uJtbzEp9.esm.js} +7 -6
  218. package/dist/{selfieStateMachine-BfJ5mJ57.esm.js → selfieStateMachine-CKXAmNkA.esm.js} +5 -5
  219. package/dist/{session-CswNE2eZ.esm.js → session-Bk2K8TEv.esm.js} +4 -4
  220. package/dist/session.d.ts +2 -2
  221. package/dist/session.esm.js +5 -5
  222. package/dist/{sessionInitializer-DFtIRfDh.esm.js → sessionInitializer-CUCBGZ_s.esm.js} +120 -135
  223. package/dist/{setup-Bl3CRduw.esm.js → setup-B3a5KQeI.esm.js} +14 -16
  224. package/dist/{setup-prV5HQCQ.d.ts → setup-DpOr8H_l.d.ts} +2 -2
  225. package/dist/signature.d.ts +1 -1
  226. package/dist/signature.esm.js +2 -2
  227. package/dist/{signatureManager-QlegdTo3.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  228. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  229. package/dist/{signatureStateMachine-DFbbbFwg.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  230. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  231. package/dist/{stats-Bv5PiWvo.esm.js → stats-DoByUnTa.esm.js} +1 -1
  232. package/dist/stats.esm.js +1 -1
  233. package/dist/thumbmark.esm-CRc0cYvz.esm.js +1242 -0
  234. package/dist/{tri-BUFivnaE.esm.js → tri-xzRLIIMN.esm.js} +7 -133
  235. package/dist/tri.d.ts +2 -2
  236. package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
  237. package/dist/tri.esm.js +2 -2
  238. package/dist/{trueSightService-CDbmG-Mi.esm.js → trueSightService-BnQDjqUu.esm.js} +7 -4
  239. package/dist/trust-graph.d.ts +4 -3
  240. package/dist/trust-graph.esm.js +5 -3
  241. package/dist/{types-BD9sV5oG.d.ts → types-9wlf1-GE.d.ts} +3 -3
  242. package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
  243. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  244. package/dist/types-CE1jkHw3.d.ts +6 -0
  245. package/dist/{types-BpJ21a4T.d.ts → types-Cpdum4vi.d.ts} +5 -5
  246. package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
  247. package/dist/{types-0Rr7etmf.d.ts → types-DFP7eSle.d.ts} +1 -1
  248. package/dist/{types-LA74KylV.d.ts → types-DJPU3W2M.d.ts} +1 -1
  249. package/dist/{events-kU5WJU4B.esm.js → types-DYYMdAGv.esm.js} +3 -298
  250. package/dist/{types-CquDWYfv.d.ts → types-Ddc4Tr_f.d.ts} +33 -4
  251. package/dist/{urlUtils-B2wagB5v.esm.js → urlUtils-eYiyWjh0.esm.js} +1 -14
  252. package/dist/video-selfie.d.ts +7 -6
  253. package/dist/video-selfie.esm.js +14 -13
  254. package/dist/{videoSelfieCameraWarmer-Dnkiqe0z.esm.js → videoSelfieCameraWarmer-CgqaNI-W.esm.js} +6 -6
  255. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  256. package/dist/{videoSelfieStepDetector-B78BE_x9.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +4 -4
  257. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  258. package/dist/{warmup-DtB0DJpl.esm.js → warmup-BZOMg303.esm.js} +46 -4
  259. package/dist/wasm.d.ts +9 -3
  260. package/dist/wasm.esm.js +3 -3
  261. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-DPK7qGgo.esm.js} +1 -1
  262. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-CyLCM31e.esm.js} +22 -32
  263. package/dist/watchlist-for-business.d.ts +1 -1
  264. package/dist/watchlist-for-business.esm.js +2 -2
  265. package/dist/watchlist.d.ts +1 -1
  266. package/dist/watchlist.esm.js +2 -2
  267. package/dist/{watchlistForBusinessManager-DOYmIiaj.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +5 -3
  268. package/dist/{watchlistForBusinessManager-DX2AyM4Y.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +3 -3
  269. package/dist/{watchlistForBusinessStateMachine-D8qIyL8w.esm.js → watchlistForBusinessStateMachine-BMWm5mcP.esm.js} +4 -4
  270. package/dist/{watchlistManager-BJGLRv-x.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  271. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  272. package/dist/{watchlistStateMachine-DeLfuGSl.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  273. package/dist/workflow.d.ts +230 -44
  274. package/dist/workflow.esm.js +166 -68
  275. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  276. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  277. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  278. package/package.json +8 -8
  279. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  280. package/dist/index-DpTj5PFb.d.ts +0 -1
  281. package/dist/nationalIds-B91f_RuB.esm.js +0 -99
  282. package/dist/phoneFormat-DEpESpz2.esm.js +0 -87
  283. package/dist/step-up.d.ts +0 -378
  284. package/dist/step-up.esm.js +0 -639
  285. package/dist/tri.esm-DgtAka_v.esm.js +0 -2145
  286. package/dist/types-B2M1IPZn.d.ts +0 -6
@@ -1,18 +1,19 @@
1
- import { t as ensureWasmPipelines } from "./setup-Bl3CRduw.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-B3a5KQeI.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-aJ5kGxBd.esm.js";
5
- import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-CHpscouN.esm.js";
4
+ import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-NX4ksmS5.esm.js";
5
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
+ import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-n9u4dEn_.esm.js";
8
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
9
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dszuq9ng.esm.js";
11
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-C6FUQ76N.esm.js";
11
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Drh207VJ.esm.js";
12
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-DWs9Fb58.esm.js";
12
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-DgA2VEq4.esm.js";
14
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Dnkiqe0z.esm.js";
15
- import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
14
+ import { r as getFinishStatus } from "./flowCompletionService-BFCddN3G.esm.js";
15
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CgqaNI-W.esm.js";
16
+ import { t as CameraCompositor } from "./CameraCompositor-ppyMYVoY.esm.js";
16
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
18
  /** Default autocapture window for the selfie step. */
18
19
  const SELFIE_AUTOCAPTURE_MS = 1e4;
@@ -1,2 +1,2 @@
1
- import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-BJapZfpy.js";
1
+ import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
2
2
  export { type IdVerificationActor, type IdVerificationConfig, type IdVerificationManager, type IdVerificationState, createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
@@ -1,3 +1,3 @@
1
- import { t as idVerificationMachine } from "./idVerificationStateMachine-Bj00uWvh.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-4wY-Ee4j.esm.js";
1
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-DeeugC00.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-PMGM4hXY.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
package/dist/id.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
- import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-NRGuCVv2.js";
3
+ import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-Cqx2y_fC.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
- import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
6
- import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BpJ21a4T.js";
5
+ import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
6
+ import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-Cpdum4vi.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-Cr8WdGyp.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B_TyUA3w.esm.js";
3
- import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-C6FUQ76N.esm.js";
1
+ import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-BGMkWF9t.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DjZyIbxc.esm.js";
3
+ import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-DWs9Fb58.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,6 +1,6 @@
1
- import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-BDrax6Eu.esm.js";
2
- import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-DtB0DJpl.esm.js";
3
- import { r as BaseWasmProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
1
+ import { C as getBarcodeEnhanceModelUrl, E as WASM_MODEL_FILES, N as resolveWasmSource } from "./wasmWebClient-CyLCM31e.esm.js";
2
+ import { l as wasmRuntime, t as getResolvedModelSource } from "./warmup-BZOMg303.esm.js";
3
+ import { r as BaseWasmProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
4
4
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
5
5
  //#region ../infra/src/wasm/idCaptureWasmApi.ts
6
6
  var IdCaptureWasmApi = class {
@@ -1,17 +1,18 @@
1
- import { A as StateMachine, i as ActorRefFrom, l as AnyStateMachine } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom, j as StateMachine, l as AnyStateMachine } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
4
+ import "./Actor-DqjOqDfU.js";
4
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
5
- import "./index-DpTj5PFb.js";
6
- import "./createFaceAvatar-lYX0VTYs.js";
7
- import { a as RegulationTypes } from "./types-CquDWYfv.js";
8
- import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-Cqiaxydi.js";
6
+ import "./index-DHuAkTe0.js";
7
+ import "./createFaceAvatar-BimBTONm.js";
8
+ import { a as RegulationTypes } from "./types-Ddc4Tr_f.js";
9
+ import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-BRn0wz8v.js";
9
10
  import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
10
- import { t as BaseWasmProvider } from "./BaseWasmProvider-Bq3OHo7P.js";
11
- import { n as DeepsightService } from "./StreamCanvasCapture-C3xNfOsv.js";
11
+ import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
12
+ import { n as DeepsightService } from "./StreamCanvasCapture-ixfy84ys.js";
12
13
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
13
- import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
14
- import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BpJ21a4T.js";
14
+ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
15
+ import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-Cpdum4vi.js";
15
16
  //#region src/internal/http/endpoints.d.ts
16
17
  /**
17
18
  * Backend `CaptureType` for the `captureType` query param on `add/front-id`,
@@ -1,17 +1,19 @@
1
- import { u as BrowserStorageProvider } from "./setup-Bl3CRduw.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
3
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-B3a5KQeI.esm.js";
2
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
3
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
4
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
4
5
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
- import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
+ import { i as assign, s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
8
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
9
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
8
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BtiR5pig.esm.js";
10
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DPK7qGgo.esm.js";
9
11
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
- import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-D190ATGD.esm.js";
12
+ import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DFJlH7K3.esm.js";
11
13
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-Cr8WdGyp.esm.js";
13
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-C6FUQ76N.esm.js";
14
- import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
14
+ import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-BGMkWF9t.esm.js";
15
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DWs9Fb58.esm.js";
16
+ import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-lXP41N7b.esm.js";
15
17
  //#region src/modules/id/digitalUpload/instrumentation.ts
16
18
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
17
19
  function isHoldingState(value) {
@@ -1,10 +1,10 @@
1
- import { t as ensureWasmPipelines } from "./setup-Bl3CRduw.esm.js";
2
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-BMUPPAzI.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-B3a5KQeI.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-SIBmKJs8.esm.js";
4
4
  import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
5
5
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
7
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dszuq9ng.esm.js";
7
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Drh207VJ.esm.js";
8
8
  //#region src/modules/id/idCameraStream.ts
9
9
  async function getIdCameraStream(deviceId) {
10
10
  return (await import("./backCameraStream-DS1oDiUq.esm.js").then((n) => n.t)).getBackCameraStream(deviceId);
@@ -434,9 +434,9 @@ async function startRecordingSession(params) {
434
434
  return params.existing;
435
435
  }
436
436
  const [compositorModule, recorderModule, serviceModule] = await Promise.all([
437
- import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
438
- import("./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js").then((n) => n.n),
439
- import("./multipartRecordingService-OmSzHBqh.esm.js").then((n) => n.n)
437
+ import("./CameraCompositor-ppyMYVoY.esm.js").then((n) => n.n),
438
+ import("./WorkerEncoderRecordingProvider-CsDED9UU.esm.js").then((n) => n.n),
439
+ import("./multipartRecordingService-WgK8ieRI.esm.js").then((n) => n.n)
440
440
  ]);
441
441
  const recordingSource = params.stream.clone();
442
442
  const compositor = compositorModule.createRecordingCompositor();
@@ -1,32 +1,34 @@
1
1
  import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-Bl3CRduw.esm.js";
3
- import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
4
- import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-kU5WJU4B.esm.js";
5
- import { r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
6
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CDbmG-Mi.esm.js";
7
- import { n as getDisableIpify } from "./sessionInitializer-DFtIRfDh.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-B3a5KQeI.esm.js";
3
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
4
+ import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.esm.js";
5
+ import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
6
+ import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
7
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BnQDjqUu.esm.js";
8
+ import { n as getDisableIpify } from "./sessionInitializer-CUCBGZ_s.esm.js";
8
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
- import { s as exposeExperimentOnce } from "./feature-management-BMUPPAzI.esm.js";
10
- import { t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
10
+ import { s as exposeExperimentOnce } from "./feature-management-SIBmKJs8.esm.js";
11
+ import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
11
12
  import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
12
- import "./session-CswNE2eZ.esm.js";
13
- import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
14
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
15
- import { r as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-B2wagB5v.esm.js";
13
+ import "./session-Bk2K8TEv.esm.js";
14
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
15
+ import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
16
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
17
+ import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
16
18
  import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
17
- import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-D190ATGD.esm.js";
18
- import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-m2dAj6Zu.esm.js";
19
+ import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-DFJlH7K3.esm.js";
20
+ import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-BKFjsQpO.esm.js";
19
21
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
20
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DFV-Ws0a.esm.js";
21
- import { t as carryAttempts } from "./attemptCarry-BaAXPR_w.esm.js";
22
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-pcrrqrPR.esm.js";
23
+ import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
22
24
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
23
25
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
24
26
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
25
27
  import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
26
28
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
29
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
28
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dszuq9ng.esm.js";
29
- import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-C6FUQ76N.esm.js";
30
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Drh207VJ.esm.js";
31
+ import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-DWs9Fb58.esm.js";
30
32
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
31
33
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
32
34
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -2044,7 +2046,7 @@ fromPromise(async ({ input }) => {
2044
2046
  });
2045
2047
  fromPromise(async ({ input }) => {
2046
2048
  if (!input.dependencies) return;
2047
- const { loadDeepsightSession } = await import("./deepsightLoader-je1YxHgT.esm.js");
2049
+ const { loadDeepsightSession } = await import("./deepsightLoader-zG373VVx.esm.js");
2048
2050
  return loadDeepsightSession({
2049
2051
  ds: input.ds,
2050
2052
  storage: input.dependencies.storage,
@@ -2487,7 +2489,7 @@ function cleanup(service) {
2487
2489
  service.cleanup();
2488
2490
  } catch {}
2489
2491
  }
2490
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-je1YxHgT.esm.js")).loadDeepsightSession(input)) {
2492
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-zG373VVx.esm.js")).loadDeepsightSession(input)) {
2491
2493
  let disposed = false;
2492
2494
  let preparation;
2493
2495
  let service;
@@ -1,4 +1,4 @@
1
- import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
1
+ import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
2
2
  //#region src/modules/id-ocr/idOcrCpfUtils.ts
3
3
  function formatCPF(value) {
4
4
  const digits = value.replace(/\D/g, "").slice(0, 11);
@@ -1,6 +1,7 @@
1
- import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, T as Values, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
4
+ import "./Actor-DqjOqDfU.js";
4
5
  import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-Bpo97EOh.js";
5
6
  //#region src/modules/id-ocr/idOcrStateMachine.d.ts
6
7
  type IdOcrOcrDocument = 'first' | 'second';
@@ -109,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
109
110
  type: "shouldProceedWithoutSubmitToSecondId";
110
111
  params: unknown;
111
112
  };
112
- }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
114
  readonly id: "idOcr";
114
115
  readonly initial: "idle";
115
116
  readonly context: ({ input }: {
@@ -1,6 +1,8 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
2
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as idOcrStateMachine } from "./idOcrStateMachine-RjNycN07.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
+ import { t as idOcrStateMachine } from "./idOcrStateMachine-B832arAl.esm.js";
4
6
  //#region src/modules/id-ocr/idOcrActor.ts
5
7
  function createIdOcrActor(options) {
6
8
  return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
@@ -1,9 +1,9 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
3
- import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
6
- import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
6
+ import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
7
7
  //#region src/modules/id-ocr/idOcrUtils.ts
8
8
  const dateFormattingInstance$1 = new DateFormattingProvider();
9
9
  const resolveFullName = (data) => {
@@ -1,6 +1,7 @@
1
- import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput, _ as IsNotNever, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, g as InputFrom, h as GetConcreteByKey, i as ActorRefFrom, j as StateMachine, m as EventObject, o as AnyActorLogic, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, w as StateValue, x as RequiredActorOptions, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ import { t as Manager } from "./Manager-DufwKlav.js";
4
+ import "./Actor-DqjOqDfU.js";
4
5
  //#region src/modules/id-verification/types.d.ts
5
6
  type IdVerificationConfig = {
6
7
  /** When true, verify the second captured ID via `/omni/process/second-id`. */
@@ -1,6 +1,8 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
2
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as idVerificationMachine } from "./idVerificationStateMachine-Bj00uWvh.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-DeeugC00.esm.js";
4
6
  //#region src/modules/id-verification/idVerificationActor.ts
5
7
  function createIdVerificationActor(options) {
6
8
  return createActor(idVerificationMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
- import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
- import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/id-verification/idVerificationServices.ts
5
5
  /**
6
6
  * Submits the captured ID for backend verification. Wraps `POST /omni/process/id`
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-B1birg5X.js";
2
- export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-C40ngKeM.js";
2
+ export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,3 +1,3 @@
1
- import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-BtpkGpYZ.esm.js";
2
- import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CCZ-ES2E.esm.js";
1
+ import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-CLFjPp13.esm.js";
2
+ import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CjFZ7WRa.esm.js";
3
3
  export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -0,0 +1,97 @@
1
+ import { O as PromiseActorLogic, T as Values, a as ActorRefFromLogic, b as NonReducibleUnknown, c as AnyEventObject, d as DoneActorEvent, j as StateMachine, m as EventObject, p as ErrorActorEvent, t as ActionFunction, y as MetaObject } from "./spawn-COZKetCS.js";
2
+ import "./xstate.cjs-D6Ur0X1F.js";
3
+ //#region src/modules/identity-search/types.d.ts
4
+ /**
5
+ * Configuration options for the IdentitySearch module. It has none: the
6
+ * backend searches with the session's hint, which is the contact verified
7
+ * earlier in the session or the hint sent when the session started.
8
+ */
9
+ type IdentitySearchConfig = {};
10
+ //#endregion
11
+ //#region src/modules/identity-search/identitySearchStateMachine.d.ts
12
+ type IdentitySearchInput = {
13
+ config: IdentitySearchConfig;
14
+ };
15
+ /**
16
+ * How the search ended: the backend answered, the request failed, or the
17
+ * budget ran out. Each one finishes the step the same way.
18
+ */
19
+ type SearchOutcome = 'answered' | 'failed' | 'timedOut';
20
+ type IdentitySearchContext = {
21
+ outcome: SearchOutcome | undefined;
22
+ };
23
+ /**
24
+ * IDENTITY_SEARCH in a Flow: a step without UI that searches as soon as it
25
+ * starts. The backend keeps what it found on the session, and the reuse step
26
+ * reads it from there, so the step has no output. Nothing sends LOAD to such a
27
+ * step (see `trustGraphMachine`), and the orchestrator moves on only when the
28
+ * machine reaches its final state.
29
+ *
30
+ * It always gets there: when the backend answers, or after an error or the
31
+ * timeout. It never errors, so a failed search can't stop the flow; the reuse
32
+ * step then has nothing to offer.
33
+ */
34
+ declare const identitySearchMachine: StateMachine<IdentitySearchContext, AnyEventObject, {
35
+ [x: string]: ActorRefFromLogic<PromiseActorLogic<void, void, EventObject>> | undefined;
36
+ }, {
37
+ src: "searchIdentity";
38
+ logic: PromiseActorLogic<void, void, EventObject>;
39
+ id: string | undefined;
40
+ }, Values<{
41
+ reportSearchStarted: {
42
+ type: "reportSearchStarted";
43
+ params: unknown;
44
+ };
45
+ reportSearchFinished: {
46
+ type: "reportSearchFinished";
47
+ params: unknown;
48
+ };
49
+ }>, never, "searchTimeout", "finished" | "searching", string, IdentitySearchInput, NonReducibleUnknown, EventObject, MetaObject, {
50
+ readonly id: "identitySearch";
51
+ readonly initial: "searching";
52
+ readonly context: {
53
+ readonly outcome: undefined;
54
+ };
55
+ readonly states: {
56
+ readonly searching: {
57
+ readonly entry: "reportSearchStarted";
58
+ readonly invoke: {
59
+ readonly id: "searchIdentity";
60
+ readonly src: "searchIdentity";
61
+ readonly onDone: {
62
+ readonly target: "finished";
63
+ readonly actions: ActionFunction<IdentitySearchContext, DoneActorEvent<void, string>, AnyEventObject, undefined, {
64
+ src: "searchIdentity";
65
+ logic: PromiseActorLogic<void, void, EventObject>;
66
+ id: string | undefined;
67
+ }, never, never, never, never>;
68
+ };
69
+ readonly onError: {
70
+ readonly target: "finished";
71
+ readonly actions: ActionFunction<IdentitySearchContext, ErrorActorEvent<unknown, string>, AnyEventObject, undefined, {
72
+ src: "searchIdentity";
73
+ logic: PromiseActorLogic<void, void, EventObject>;
74
+ id: string | undefined;
75
+ }, never, never, never, never>;
76
+ };
77
+ };
78
+ readonly after: {
79
+ readonly searchTimeout: {
80
+ readonly target: "finished";
81
+ readonly actions: ActionFunction<IdentitySearchContext, AnyEventObject, AnyEventObject, undefined, {
82
+ src: "searchIdentity";
83
+ logic: PromiseActorLogic<void, void, EventObject>;
84
+ id: string | undefined;
85
+ }, never, never, never, never>;
86
+ };
87
+ };
88
+ };
89
+ readonly finished: {
90
+ readonly type: "final";
91
+ readonly entry: "reportSearchFinished";
92
+ };
93
+ };
94
+ }>;
95
+ type IdentitySearchMachine = typeof identitySearchMachine;
96
+ //#endregion
97
+ export { type IdentitySearchConfig, type IdentitySearchMachine, identitySearchMachine };
@@ -0,0 +1,97 @@
1
+ import { f as moduleClosed, g as screenOpened, m as screenClosed, n as eventModuleNames, p as moduleOpened } from "./types-DYYMdAGv.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
+ import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
+ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
+ //#region src/modules/identity-search/identitySearchServices.ts
7
+ /**
8
+ * Runs the identity search for this session. The backend searches with the
9
+ * session's hint (the contact verified earlier in the session, or the hint
10
+ * sent when the session started) and keeps what it found on the session,
11
+ * where the reuse step reads it. It answers with no result of its own. Throws
12
+ * on failure.
13
+ */
14
+ async function searchIdentity(signal) {
15
+ const res = await api.post(endpoints.identitySearch, {}, { signal });
16
+ if (!res.ok) throw new Error(`POST ${endpoints.identitySearch} failed: ${res.status} ${res.statusText}`);
17
+ }
18
+ //#endregion
19
+ //#region src/modules/identity-search/identitySearchStateMachine.ts
20
+ /**
21
+ * Budget for the whole search, waits for a lost connection included. When it
22
+ * runs out, the step finishes anyway and the flow goes on.
23
+ */
24
+ const SEARCH_TIMEOUT_MS = 1e4;
25
+ /**
26
+ * The step has no UI and no manager, so the machine reports its own
27
+ * lifecycle with the usual codes: `moduleOpened`, then the
28
+ * `IDENTITY_SEARCH.searching` screen while the request runs, then one screen
29
+ * named after the outcome, then `moduleClosed`.
30
+ */
31
+ const ANALYTICS_MODULE = eventModuleNames.identitySearch;
32
+ function analyticsScreen(name) {
33
+ return `${ANALYTICS_MODULE}.${name}`;
34
+ }
35
+ /**
36
+ * IDENTITY_SEARCH in a Flow: a step without UI that searches as soon as it
37
+ * starts. The backend keeps what it found on the session, and the reuse step
38
+ * reads it from there, so the step has no output. Nothing sends LOAD to such a
39
+ * step (see `trustGraphMachine`), and the orchestrator moves on only when the
40
+ * machine reaches its final state.
41
+ *
42
+ * It always gets there: when the backend answers, or after an error or the
43
+ * timeout. It never errors, so a failed search can't stop the flow; the reuse
44
+ * step then has nothing to offer.
45
+ */
46
+ const identitySearchMachine = setup({
47
+ types: {
48
+ context: {},
49
+ input: {}
50
+ },
51
+ actions: {
52
+ reportSearchStarted: () => {
53
+ moduleOpened(ANALYTICS_MODULE);
54
+ screenOpened(ANALYTICS_MODULE, analyticsScreen("searching"));
55
+ },
56
+ reportSearchFinished: ({ context }) => {
57
+ const outcome = analyticsScreen(context.outcome ?? "answered");
58
+ screenClosed(ANALYTICS_MODULE, analyticsScreen("searching"));
59
+ screenOpened(ANALYTICS_MODULE, outcome);
60
+ screenClosed(ANALYTICS_MODULE, outcome);
61
+ moduleClosed(ANALYTICS_MODULE);
62
+ }
63
+ },
64
+ actors: { searchIdentity: fromPromise(({ signal }) => retryAfterReconnect(() => searchIdentity(signal), signal)) },
65
+ delays: { searchTimeout: SEARCH_TIMEOUT_MS }
66
+ }).createMachine({
67
+ id: "identitySearch",
68
+ initial: "searching",
69
+ context: { outcome: void 0 },
70
+ states: {
71
+ searching: {
72
+ entry: "reportSearchStarted",
73
+ invoke: {
74
+ id: "searchIdentity",
75
+ src: "searchIdentity",
76
+ onDone: {
77
+ target: "finished",
78
+ actions: assign({ outcome: "answered" })
79
+ },
80
+ onError: {
81
+ target: "finished",
82
+ actions: assign({ outcome: "failed" })
83
+ }
84
+ },
85
+ after: { searchTimeout: {
86
+ target: "finished",
87
+ actions: assign({ outcome: "timedOut" })
88
+ } }
89
+ },
90
+ finished: {
91
+ type: "final",
92
+ entry: "reportSearchFinished"
93
+ }
94
+ }
95
+ });
96
+ //#endregion
97
+ export { identitySearchMachine };