@incodetech/web 2.3.2-rc.4 → 2.4.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 (354) hide show
  1. package/THIRD_PARTY_NOTICES.txt +0 -3
  2. package/dist/GeolocationPermissionDenied-ChCQ6Mhi.js +444 -0
  3. package/dist/ae-signature/ae-signature.es.js +3 -3
  4. package/dist/{af-ZA-CA6Cuvy7.js → af-ZA-B5RfX0Do.js} +1 -0
  5. package/dist/ageVerification-BMwwu3EI.js +77 -0
  6. package/dist/{am-C9PowMKj.js → am-BE3vlUmQ.js} +1 -0
  7. package/dist/antifraud/antifraud.es.js +3 -3
  8. package/dist/antifraud/styles.css +0 -1
  9. package/dist/{ar-AE-CyVB3e6w.js → ar-AE-Dw0claA-.js} +2 -1
  10. package/dist/{ar-CA-xYPJY.js → ar-B3gZ5W2R.js} +1 -0
  11. package/dist/{ar-EG-CbZZLN4a.js → ar-EG-5pSqEbCR.js} +1 -0
  12. package/dist/authentication/authentication.es.js +4 -4
  13. package/dist/{autoFocusTitle-DIaSbuq7.js → autoFocusTitle-DTSPbDgY.js} +1 -1
  14. package/dist/{az-CKYeugV_.js → az-CtWu_6fI.js} +1 -0
  15. package/dist/back-horizontal-hint-BztyPanp.js +134 -0
  16. package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
  17. package/dist/base.css +1 -7230
  18. package/dist/{baseTutorial-DO4gqrJQ.js → baseTutorial-CW-zwkOM.js} +13 -24
  19. package/dist/{bn-DmUH7q5R.js → bn-CXOCkHeB.js} +1 -0
  20. package/dist/{bottomSheet-BLJeBfa5.js → bottomSheet-DmQVpuxJ.js} +2 -2
  21. package/dist/{bs-CWfAeJNO.js → bs-B4mczUkN.js} +1 -0
  22. package/dist/{ca-DWaNc0fo.js → ca-DAE1dQj9.js} +1 -0
  23. package/dist/cameraOverlay-Bgpa6tky.js +2 -0
  24. package/dist/cameraOverlayHeader-BZlR-wkk.js +83 -0
  25. package/dist/{cameraView-rIbhv8fs.js → cameraView-DG425WNr.js} +2 -2
  26. package/dist/{ceb-BG6KB0JE.js → ceb-C9GCq8zw.js} +1 -0
  27. package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
  28. package/dist/certificate-issuance/styles.css +1 -72
  29. package/dist/certificate-issuance/styles.css.js +1 -1
  30. package/dist/check-icon-BpjpKqhJ.js +48 -0
  31. package/dist/{checkbox-BhwI4wQM.js → checkbox-ClDWA_GP.js} +2 -2
  32. package/dist/connectionError-DnLv1SEA.js +45 -0
  33. package/dist/consent/consent.es.js +8 -6
  34. package/dist/consent/styles.css +1 -129
  35. package/dist/consent/styles.css.js +1 -1
  36. package/dist/countryDefinitions-BO9OSKQO.js +555 -0
  37. package/dist/countryFlag-2Vj85OIZ.js +67 -0
  38. package/dist/{countrySelector-yIGWfr2F.js → countrySelector-65mrWgRB.js} +6 -5
  39. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  40. package/dist/{cs-CZ-BACKrF5t.js → cs-CZ-CLmA_0jN.js} +1 -0
  41. package/dist/{cs-6iPoRnQs.js → cs-DJEcT5M8.js} +1 -0
  42. package/dist/curp-validation/curp-validation.es.js +13 -11
  43. package/dist/curp-validation/styles.css +1 -128
  44. package/dist/curp-validation/styles.css.js +1 -1
  45. package/dist/custom-fields/styles.css +1 -21
  46. package/dist/custom-fields/styles.css.js +1 -1
  47. package/dist/{customFields-C69ImDUR.js → customFields-BNX1AHc3.js} +10 -9
  48. package/dist/{customWatchlist-4DzMKHnO.js → customWatchlist-BdCLsmp2.js} +6 -6
  49. package/dist/{da-DK-CST8ldZv.js → da-DK-B0G-1XCN.js} +1 -0
  50. package/dist/{dashboardTheme-byzaKQpO.js → dashboardTheme-B3JLw1w6.js} +1 -1
  51. package/dist/dateInputComposed-81cxVVay.js +1 -0
  52. package/dist/{dateInputComposed-BJ2i31Qg.js → dateInputComposed-BwqEyZNg.js} +4 -4
  53. package/dist/{de-DvBX387Q.js → de-Pw3Ziz4S.js} +1 -0
  54. package/dist/denied-D977k8ju.js +1871 -0
  55. package/dist/deviceWallet-CoXT8GNt.js +66 -0
  56. package/dist/digitalIdRedirect-CI0JpjXY.js +162 -0
  57. package/dist/digitalIdUpload-DTrEj4Q3.js +496 -0
  58. package/dist/document-capture/document-capture.es.js +1 -1
  59. package/dist/document-capture/styles.css +1 -378
  60. package/dist/document-capture/styles.css.js +1 -1
  61. package/dist/{documentCapture-BmmRBhhG.js → documentCapture-BVs_R-Aj.js} +127 -180
  62. package/dist/documentCapture-CE3xt7Qu.js +2 -0
  63. package/dist/dropdownComposed-BBeW4gkE.js +1 -0
  64. package/dist/{dropdownComposed-BthB9H5H.js → dropdownComposed-CB55QqNd.js} +8 -14
  65. package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
  66. package/dist/dynamic-forms/styles.css +1 -104
  67. package/dist/dynamic-forms/styles.css.js +1 -1
  68. package/dist/ekyb/ekyb.es.js +1 -1
  69. package/dist/ekyb/styles.css +1 -113
  70. package/dist/ekyb/styles.css.js +1 -1
  71. package/dist/ekybModule-BiVsuQhj.js +2 -0
  72. package/dist/{ekybModule-C92p0vvi.js → ekybModule-Deru8qGu.js} +13 -12
  73. package/dist/ekyc/ekyc.es.js +1 -1
  74. package/dist/ekyc/styles.css +1 -108
  75. package/dist/ekyc/styles.css.js +1 -1
  76. package/dist/ekycModule-CGS7oZAu.js +2 -0
  77. package/dist/{ekycModule-eBrLm0sR.js → ekycModule-Cb3HnENz.js} +46 -14
  78. package/dist/{el-BCSLBNUY.js → el-DlcHAcXD.js} +1 -0
  79. package/dist/{el-GR-DZW16R9N.js → el-GR-fXRg7fVy.js} +1 -0
  80. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  81. package/dist/electronic-signature/styles.css +1 -407
  82. package/dist/electronic-signature/styles.css.js +1 -1
  83. package/dist/{electronic-signature-D1d_WObD.js → electronic-signature-Bt644x6v.js} +24 -21
  84. package/dist/email/email.es.js +8 -7
  85. package/dist/email/styles.css +1 -11
  86. package/dist/email/styles.css.js +1 -1
  87. package/dist/{emailInput-CZ-0HyRS.js → emailInput-DQlm6sys.js} +3 -3
  88. package/dist/{en-QnHXrrY7.js → en-BQfrZw2Q.js} +1 -0
  89. package/dist/{en-DG-Dlff-IsT.js → en-DG-Dbay0TVK.js} +1 -0
  90. package/dist/{errorContent-T3IsDggM.js → errorContent-i-XKbliC.js} +5 -5
  91. package/dist/{es-419-JaSs0Que.js → es-419-B494eoOQ.js} +1 -0
  92. package/dist/{es-xOhDko1G.js → es-CIaH0_TG.js} +1 -0
  93. package/dist/{es-ES-C7SEV5MS.js → es-ES-BAy8H_o4.js} +1 -0
  94. package/dist/{es-MX-8mD6Ru26.js → es-MX-mRlcVoSi.js} +1 -0
  95. package/dist/esm-15CISqPe.js +430 -0
  96. package/dist/{et-DVMXfkQT.js → et-BsM-KF4Y.js} +2 -1
  97. package/dist/{expiredId-BQukSylk.js → expiredId-Bc_tCf-R.js} +6 -6
  98. package/dist/extensibility.es.js +38 -36
  99. package/dist/{fa-IR-B7JNyhKz.js → fa-IR-DKPXxDgD.js} +1 -0
  100. package/dist/face-match/face-match.es.js +1 -1
  101. package/dist/face-match/styles.css +1 -535
  102. package/dist/face-match/styles.css.js +1 -1
  103. package/dist/faceMatch-KF3QElE7.js +2 -0
  104. package/dist/faceMatch-MVYGreUC.js +336 -0
  105. package/dist/{fi-FI-CgZFjWp0.js → fi-FI-BehaswUi.js} +1 -0
  106. package/dist/field-comparison/field-comparison.es.js +1 -1
  107. package/dist/field-comparison/styles.css +1 -27
  108. package/dist/field-comparison/styles.css.js +1 -1
  109. package/dist/fieldComparison-CQG-0wfE.js +2 -0
  110. package/dist/{fieldComparison-B79amZ7h.js → fieldComparison-D4FRpZlC.js} +13 -7
  111. package/dist/finalSuccessScreen-DS4fm_uM.js +500 -0
  112. package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
  113. package/dist/fiscal-qr/styles.css +1 -82
  114. package/dist/fiscal-qr/styles.css.js +1 -1
  115. package/dist/{flipAnimation-GbvrJ0-_.js → flipAnimation-NcDmqbnT.js} +643 -355
  116. package/dist/flow/flow.es.js +41 -24
  117. package/dist/flow/shell/styles.css +1 -401
  118. package/dist/flow/shell/styles.css.js +1 -1
  119. package/dist/flow/styles.css +1 -5702
  120. package/dist/{formField-tq_XH-Th.js → formField-D1sSXdbf.js} +2 -2
  121. package/dist/{fr-CA-pLsuP6oV.js → fr-CA-DZcH7XE0.js} +1 -0
  122. package/dist/{fr-DWhWFv0v.js → fr-DuG6kscd.js} +1 -0
  123. package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
  124. package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
  125. package/dist/geolocation/geolocation.es.js +26 -459
  126. package/dist/geolocation/styles.css +1 -165
  127. package/dist/geolocation/styles.css.js +1 -1
  128. package/dist/government-validation/government-validation.es.js +15 -13
  129. package/dist/government-validation/styles.css +1 -4
  130. package/dist/government-validation/styles.css.js +1 -1
  131. package/dist/{he-BCXU1BJZ.js → he-B_PP0efY.js} +1 -0
  132. package/dist/{hi-DHKWk_3O.js → hi-D0rSX1o4.js} +1 -0
  133. package/dist/{hmn-DKxFifxf.js → hmn-DK7VD_xu.js} +1 -0
  134. package/dist/{homeScreen-C6n4tcTo.js → homeScreen-CKLvX3bf.js} +10 -11
  135. package/dist/{hr-Bb5L8s7b.js → hr-BpjWRIC0.js} +1 -0
  136. package/dist/{ht-NA3g5Q-7.js → ht-CG8o1xEm.js} +1 -0
  137. package/dist/{hu-D34RjbYg.js → hu-BmwC53l2.js} +1 -0
  138. package/dist/icons-Cri5P1f0.js +535 -0
  139. package/dist/id/id.es.js +315 -1174
  140. package/dist/id/styles.css +1 -1691
  141. package/dist/id/styles.css.js +1 -1
  142. package/dist/{id-lD25ONXO.js → id-CKlkbZdM.js} +1 -0
  143. package/dist/id-back-of-card-C7Au2tqk.js +71 -0
  144. package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
  145. package/dist/id-front-of-card-BmHL_keG.js +305 -0
  146. package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
  147. package/dist/id-ocr/styles.css +1 -55
  148. package/dist/id-ocr/styles.css.js +1 -1
  149. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
  150. package/dist/id-selfie-flow/styles.css +1 -780
  151. package/dist/id-verification/id-verification.es.js +6 -5
  152. package/dist/{idOcr-B1KXgAbC.js → idOcr-vWU87y1x.js} +12 -11
  153. package/dist/identity-reuse/identity-reuse.es.js +167 -139
  154. package/dist/identity-reuse/styles.css +1 -216
  155. package/dist/incode-logo-r5UBM52t.js +341 -0
  156. package/dist/{incodeComponent-CdiXt7v7.js → incodeComponent-I3JIdKa5.js} +147 -269
  157. package/dist/incodeModule-t2FDQ-II.js +68 -0
  158. package/dist/index.es.js +4 -3
  159. package/dist/{inputComposed-8oVJL9fW.js → inputComposed-B27kZydt.js} +2 -2
  160. package/dist/inputComposed-DfPNjr7W.js +1 -0
  161. package/dist/{it-Bjpo7bkn.js → it-Ha3KMdAw.js} +1 -0
  162. package/dist/{ja-G_1vszjj.js → ja-BcpfEJD1.js} +1 -0
  163. package/dist/{ja-JP-SAKkGA9f.js → ja-JP-6Sg-lS3C.js} +2 -1
  164. package/dist/{jv-BP3Kidjb.js → jv-BhDDvojx.js} +1 -0
  165. package/dist/{ka-Byk8FCEP.js → ka-DSEmyiG7.js} +1 -0
  166. package/dist/{kk-C4-RGR2p.js → kk-DfTBM0Ac.js} +1 -0
  167. package/dist/{km-Cz7zimk3.js → km-DSH-1ryG.js} +6 -5
  168. package/dist/{ko-BDxjQ_OF.js → ko-DmCEEN9O.js} +1 -0
  169. package/dist/{ko-KP-BknUJpo0.js → ko-KP-DxNF6PVH.js} +1 -0
  170. package/dist/{ky-DwIO9bLp.js → ky-BYYkLAWt.js} +1 -0
  171. package/dist/{lo-c59MQX2S.js → lo-Dd7cFyNu.js} +1 -0
  172. package/dist/{lt-BrhZu2Vj.js → lt-DJemxo6s.js} +1 -0
  173. package/dist/{lv-Db2rbWSh.js → lv-DV6PxXYU.js} +1 -0
  174. package/dist/{mandatoryConsent-BLdpQxu2.js → mandatoryConsent-CEFsoyzd.js} +8 -6
  175. package/dist/{manualCaptureButton-wmNH54-0.js → manualCaptureButton-DghY-ZUO.js} +5 -5
  176. package/dist/{manualCaptureButton-BE9SVH5c.js → manualCaptureButton-DwcLDSMN.js} +43 -34
  177. package/dist/{mk-Uqn_8kGi.js → mk-0GH3TF8e.js} +1 -0
  178. package/dist/{mn-D7Jznd1-.js → mn-DhhnhyBd.js} +1 -0
  179. package/dist/{ms-BfMCHUa8.js → ms-DmVYGU6Y.js} +1 -0
  180. package/dist/{my-DsHXgcbs.js → my-DGXxog_l.js} +1 -0
  181. package/dist/{nb-NO-CPRHGQCR.js → nb-NO-SMmm3cOU.js} +1 -0
  182. package/dist/{ne-CMjCTP-p.js → ne-DVsGmeSd.js} +1 -0
  183. package/dist/{nl-CnBRdS5k.js → nl-CL7EuWSC.js} +2 -1
  184. package/dist/{optionAccessibleLabel-CI7JZggS.js → optionAccessibleLabel-BApMWddn.js} +5 -5
  185. package/dist/{otpInput-DxD_x747.js → otpInput-D0RomcH9.js} +6 -6
  186. package/dist/page-BzEithea.js +299 -0
  187. package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
  188. package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
  189. package/dist/{passwordInputComposed-CIM8-Hvd.js → passwordInputComposed-DqiG9IUM.js} +4 -4
  190. package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
  191. package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
  192. package/dist/pdfViewer-6PrH9fHg.js +2 -0
  193. package/dist/pdfViewer-DZurXIAg.js +154 -0
  194. package/dist/{permissions-plW5DkaX.js → permissions-C6NE4tvm.js} +41 -14
  195. package/dist/phone/phone.es.js +9 -8
  196. package/dist/phone/styles.css +1 -10
  197. package/dist/phone/styles.css.js +1 -1
  198. package/dist/phoneInputComposed-CVDIUrRy.js +249 -0
  199. package/dist/{pl-Dk_XCbHn.js → pl-9hyt0nnb.js} +1 -0
  200. package/dist/policyUrls-B3M8nLRh.js +7 -0
  201. package/dist/{processing-BnNbgJs3.js → processing-Do2ee2et.js} +1 -1
  202. package/dist/progressBar-CNBUGgEc.js +27 -0
  203. package/dist/{pt-BR-BL7B4wuD.js → pt-BR-BBMw-S8O.js} +1 -0
  204. package/dist/{pt-PT-CNhvgKtg.js → pt-PT-fSxcH0NK.js} +1 -0
  205. package/dist/{pt-BLVxgywN.js → pt-WGxHmjdN.js} +1 -0
  206. package/dist/{spacer-BmQEPV3n.js → purify.es-0fCPkEV1.js} +2 -740
  207. package/dist/qe-signature/qe-signature.es.js +3 -3
  208. package/dist/radioGroupComposed-Cy6hgLBE.js +1 -0
  209. package/dist/{radioGroupComposed-DFloG_N-.js → radioGroupComposed-FYYC8SNS.js} +2 -2
  210. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
  211. package/dist/redirect-to-mobile/styles.css +1 -323
  212. package/dist/redirect-to-mobile/styles.css.js +1 -1
  213. package/dist/reload-icon-elAFo9-k.js +70 -0
  214. package/dist/{resendTimer-BdmoqbO1.js → resendTimer-C0tGof4N.js} +1 -1
  215. package/dist/{richText-lWTHIpaP.js → richText-aCnLd3j2.js} +2 -2
  216. package/dist/{ro-B_y2K2EA.js → ro-CRut2TFS.js} +1 -0
  217. package/dist/{ru-BYq3R3Mj.js → ru-DKaZyUKL.js} +1 -0
  218. package/dist/{ru-RU-CRVS8j8Y.js → ru-RU-C09Xv3Yg.js} +1 -0
  219. package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
  220. package/dist/selfie/selfie.es.js +9 -184
  221. package/dist/selfie/styles.css +1 -501
  222. package/dist/selfie/styles.css.js +1 -1
  223. package/dist/signature/signature.es.js +8 -7
  224. package/dist/signature/styles.css +1 -116
  225. package/dist/signature/styles.css.js +1 -1
  226. package/dist/{sk-CezkyMyH.js → sk-CRgCa4Xy.js} +1 -0
  227. package/dist/{sl-BWF10Icq.js → sl-BnWo7ffO.js} +1 -0
  228. package/dist/{smsTabContent-ok2pyDhh.js → smsTabContent-DrX3JFpW.js} +6 -7
  229. package/dist/{so-BrcNZ8Mr.js → so-QQqlxuIj.js} +1 -0
  230. package/dist/spacer-CRMb016O.js +741 -0
  231. package/dist/{spinner-C4do7hWX.js → spinner-B2lU14AQ.js} +2 -2
  232. package/dist/{sr-BnXGxOH1.js → sr-B5E7ItZS.js} +1 -0
  233. package/dist/{sr-Latn-6U6Ovy-Q.js → sr-Latn-DYffMLFY.js} +4 -3
  234. package/dist/{sr-YU-9B3BK4Ps.js → sr-YU-wTH5Bs0f.js} +1 -0
  235. package/dist/{statusPage-CXHHTIXA.js → statusPage-BIL3xP5F.js} +3 -3
  236. package/dist/{sv-SE-CpuV8J7C.js → sv-SE-CWW4jCGJ.js} +1 -0
  237. package/dist/{sw-BT-fzBc4.js → sw-DQMkDT3g.js} +1 -0
  238. package/dist/{th-D3ufVPwG.js → th-3PSK_Dsh.js} +1 -0
  239. package/dist/{th-TH-B4rqmZvR.js → th-TH-BT3vwWPA.js} +1 -0
  240. package/dist/themes/dark.css +1 -1537
  241. package/dist/themes/light.css +1 -1413
  242. package/dist/{tl-CUyJhGKF.js → tl-BjxdIajM.js} +1 -0
  243. package/dist/{tl-PH-D6NzZs7e.js → tl-PH-C_wJmHt1.js} +1 -0
  244. package/dist/{tr-BTjhr_32.js → tr-BhmOJl6w.js} +3 -2
  245. package/dist/transitionSpinner-CPK1gaqC.js +76 -0
  246. package/dist/{tutorial-BywSwy2f.js → tutorial-D9Tr_r15.js} +14 -18
  247. package/dist/types/ae-signature.d.ts +27 -5
  248. package/dist/types/antifraud.d.ts +27 -5
  249. package/dist/types/authentication.d.ts +27 -5
  250. package/dist/types/certificate-issuance.d.ts +27 -5
  251. package/dist/types/consent.d.ts +27 -3
  252. package/dist/types/cross-document-data-match.d.ts +32 -2
  253. package/dist/types/curp-validation.d.ts +27 -5
  254. package/dist/types/document-capture.d.ts +32 -2
  255. package/dist/types/dynamic-forms.d.ts +27 -5
  256. package/dist/types/ekyb.d.ts +32 -2
  257. package/dist/types/ekyc.d.ts +32 -2
  258. package/dist/types/electronic-signature.d.ts +27 -5
  259. package/dist/types/email.d.ts +27 -3
  260. package/dist/types/extensibility.d.ts +135 -27
  261. package/dist/types/face-match.d.ts +32 -2
  262. package/dist/types/field-comparison.d.ts +32 -2
  263. package/dist/types/fiscal-qr.d.ts +27 -3
  264. package/dist/types/flow.d.ts +27 -3
  265. package/dist/types/geolocation.d.ts +27 -3
  266. package/dist/types/government-validation.d.ts +32 -2
  267. package/dist/types/id-selfie-flow.d.ts +27 -14
  268. package/dist/types/id-verification.d.ts +27 -5
  269. package/dist/types/id.d.ts +27 -3
  270. package/dist/types/identity-reuse.d.ts +27 -5
  271. package/dist/types/index.d.ts +52 -1
  272. package/dist/types/phone.d.ts +27 -3
  273. package/dist/types/qe-signature.d.ts +27 -5
  274. package/dist/types/selfie.d.ts +27 -3
  275. package/dist/types/signature.d.ts +27 -5
  276. package/dist/types/video-selfie.d.ts +5 -2
  277. package/dist/types/watchlist.d.ts +27 -5
  278. package/dist/types/workflow.d.ts +50 -4
  279. package/dist/{typography-Cn7-Znpn.js → typography-CVggEHuL.js} +1 -1
  280. package/dist/{uiConfig-qMQHPoxa.js → uiConfig-CzjzpmLx.js} +256 -874
  281. package/dist/{uk-UA-YhEHqst_.js → uk-UA-D8etJPYS.js} +2 -1
  282. package/dist/{uk-ChhaHUBd.js → uk-XbgXa2Ga.js} +1 -0
  283. package/dist/{ur-BG91n7xX.js → ur-EvEZPGeH.js} +1 -0
  284. package/dist/useCaptureHelpButton-Dh2rCLy1.js +86 -0
  285. package/dist/useCoverMedia-VLw3OYN_.js +149 -0
  286. package/dist/{uz-BHE3Jn6i.js → uz-CLNoByCo.js} +1 -0
  287. package/dist/{verificationResult-C7wTXPts.js → verificationResult-CZbJPu23.js} +6 -6
  288. package/dist/{vi-BV5GRZ61.js → vi-Drg8ZYY0.js} +1 -0
  289. package/dist/video-selfie/styles.css +1 -864
  290. package/dist/video-selfie/styles.css.js +1 -1
  291. package/dist/video-selfie/video-selfie.es.js +15 -12
  292. package/dist/watchlist/watchlist.es.js +6 -6
  293. package/dist/watchlist-for-business/styles.css +1 -17
  294. package/dist/watchlist-for-business/styles.css.js +1 -1
  295. package/dist/{watchlistForBusiness-Bjh_-5Y6.js → watchlistForBusiness-CjEsaTUW.js} +265 -8
  296. package/dist/{resolveApiKey-D14Dir23.js → withEndScreenTexts-CFZVBpbY.js} +53 -25
  297. package/dist/workflow/styles.css +1 -5116
  298. package/dist/workflow/workflow.es.js +83 -28
  299. package/dist/{zh-CN-DGW8k_EJ.js → zh-CN-DgsFb5nA.js} +3 -2
  300. package/dist/{zh-DNadxa_J.js → zh-D9t3i09v.js} +1 -0
  301. package/dist/{zh-HANT-DZvzTGaC.js → zh-HANT-DA0DsBcr.js} +1 -0
  302. package/dist/{zh-TW-DNQrPdBy.js → zh-TW-BjJ6hVEd.js} +1 -0
  303. package/package.json +8 -6
  304. package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
  305. package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
  306. package/dist/cameraOverlay-B_XWm0TM.js +0 -2
  307. package/dist/cameraOverlayHeader-DP6EP8Yu.js +0 -43
  308. package/dist/captureFooter-c_0jBnZ7.js +0 -67
  309. package/dist/connectionError-C7NJ8tzk.js +0 -45
  310. package/dist/countries-5e8kwG_m.js +0 -8560
  311. package/dist/dateInputComposed-D4OMicAE.js +0 -1
  312. package/dist/denied-D9PfdAvK.js +0 -2191
  313. package/dist/documentCapture-BSewRSbI.js +0 -2
  314. package/dist/dropdownComposed-09JlREPP.js +0 -1
  315. package/dist/ekybModule-DJhJoDkx.js +0 -2
  316. package/dist/ekycModule-CNshA9vz.js +0 -2
  317. package/dist/faceMatch-CbE3kMV1.js +0 -2
  318. package/dist/faceMatch-DdQuasoZ.js +0 -334
  319. package/dist/fieldComparison-fl8WhFZs.js +0 -2
  320. package/dist/finalSuccessScreen-DCG20NUQ.js +0 -499
  321. package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
  322. package/dist/icons-lmBQFGnv.js +0 -533
  323. package/dist/id-back-of-card-B6EcmiCs.js +0 -83
  324. package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
  325. package/dist/id-front-of-card-V_BlLaZr.js +0 -308
  326. package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
  327. package/dist/incode-logo-BzJOZr3f.js +0 -4
  328. package/dist/incodeModule-f_OUurEl.js +0 -31
  329. package/dist/inputComposed-DMfj1MDU.js +0 -1
  330. package/dist/modal-CDsyaY_Z.js +0 -140
  331. package/dist/modal.hooks-B0Wrc9s2.js +0 -201
  332. package/dist/pdfViewer-DZpdaUDt.js +0 -149
  333. package/dist/pdfViewer-O6xIPlaK.js +0 -2
  334. package/dist/phoneInputComposed-DZMfEBok.js +0 -3751
  335. package/dist/radioGroupComposed-B06_2Xwu.js +0 -1
  336. package/dist/tabs-CaZGiNK8.js +0 -104
  337. /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
  338. /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
  339. /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
  340. /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
  341. /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
  342. /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
  343. /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
  344. /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
  345. /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
  346. /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
  347. /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
  348. /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
  349. /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
  350. /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
  351. /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
  352. /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
  353. /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
  354. /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
@@ -0,0 +1,500 @@
1
+ import { o as useTranslation } from "./uiConfig-CzjzpmLx.js";
2
+ import { S as k, _ as y, c as A, f as d, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
+ import { f as useTimeoutHandle } from "./incodeComponent-I3JIdKa5.js";
4
+ import { d as cn, n as LoadingIcon, o as Lottie, s as Asset } from "./spacer-CRMb016O.js";
5
+ import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-Cri5P1f0.js";
6
+ import { t as Page } from "./page-BzEithea.js";
7
+ import { n as Modal } from "./incode-logo-r5UBM52t.js";
8
+ import { t as AutoFocusTitle } from "./autoFocusTitle-DTSPbDgY.js";
9
+ import { n as CameraFrame } from "./cameraView-DG425WNr.js";
10
+ import { t as ManualCaptureButton } from "./manualCaptureButton-DghY-ZUO.js";
11
+ import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-DwcLDSMN.js";
12
+ import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
13
+ import { resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
14
+ //#region src/modules/video-selfie/useVideoSelfiePermissions.ts
15
+ /**
16
+ * Drives the shared camera `<Permissions>` screen for Video Selfie. Mirrors the
17
+ * selfie/ID permission substates, but runs as a UI-level gate (the recording
18
+ * machine has no permission states of its own). The grant request includes
19
+ * audio (`requestAudio: true`) because Video Selfie records the microphone; the
20
+ * initial check only queries the camera, so an already-granted camera skips
21
+ * straight to capture and the recording machine surfaces the mic prompt.
22
+ */
23
+ function useVideoSelfiePermissions({ enabled, onGranted, onClose, requestAudio = true }) {
24
+ const [permissionStatus, setPermissionStatus] = d("checking");
25
+ const onGrantedRef = A(onGranted);
26
+ onGrantedRef.current = onGranted;
27
+ const onCloseRef = A(onClose);
28
+ onCloseRef.current = onClose;
29
+ const resolve = q((result) => {
30
+ if (result === "granted") {
31
+ onGrantedRef.current();
32
+ return;
33
+ }
34
+ setPermissionStatus(result === "denied" ? "denied" : "idle");
35
+ }, []);
36
+ y(() => {
37
+ if (!enabled) return;
38
+ let cancelled = false;
39
+ checkCameraPermission().then((result) => {
40
+ if (!cancelled) resolve(result);
41
+ });
42
+ return () => {
43
+ cancelled = true;
44
+ };
45
+ }, [enabled, resolve]);
46
+ return {
47
+ permissionStatus,
48
+ manager: {
49
+ requestPermission: q(() => {
50
+ setPermissionStatus("requesting");
51
+ requestCameraPermission({ requestAudio }).then(resolve);
52
+ }, [resolve, requestAudio]),
53
+ goToLearnMore: q(() => {
54
+ setPermissionStatus("learnMore");
55
+ }, []),
56
+ close: q(() => {
57
+ onCloseRef.current();
58
+ }, [])
59
+ }
60
+ };
61
+ }
62
+ //#endregion
63
+ //#region src/modules/video-selfie/assets/tutorial/permission.svg?raw
64
+ var permission_default = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" aria-hidden=\"true\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M19.957 10.785a.75.75 0 0 0-.75-.748h-.002a.75.75 0 0 0-.748.752 6.484 6.484 0 0 1-6.452 6.49L12 17.276h-.003a6.43 6.43 0 0 1-4.569-1.907 6.43 6.43 0 0 1-1.885-4.58.75.75 0 0 0-.748-.753h-.002a.75.75 0 0 0-.75.748 7.92 7.92 0 0 0 2.322 5.644 7.9 7.9 0 0 0 4.885 2.31v2.136a.75.75 0 0 0 1.5 0v-2.137c4.046-.389 7.217-3.809 7.207-7.953\" clip-rule=\"evenodd\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M11.998 14.932h.005a4.17 4.17 0 0 0 4.156-4.175V6.534A4.164 4.164 0 0 0 12 2.375a4.164 4.164 0 0 0-4.159 4.16v4.221a4.14 4.14 0 0 0 1.214 2.95 4.14 4.14 0 0 0 2.944 1.226\" clip-rule=\"evenodd\"/></svg>";
65
+ //#endregion
66
+ //#region src/modules/video-selfie/assets/tutorial/selfie.svg?raw
67
+ var selfie_default$1 = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" aria-hidden=\"true\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.2 2.3c-5.4 0-9.8 4.4-9.8 9.8 0 1.8.4 3.3 1.1 4.6.2.4.7.5 1 .3.4-.2.5-.7.3-1-.6-1-.9-2.3-.9-3.8C3.9 7.7 7.6 4 12.1 4s8.2 3.7 8.2 8.2c0 1.3-.3 2.5-.9 3.9-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.4.7-1.6 1.1-3 1.1-4.5 0-5.6-4.3-10-9.7-10\" clip-rule=\"evenodd\"/><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M15.9 10.501c0-2.1-1.7-3.8-3.8-3.8s-3.8 1.7-3.8 3.8 1.7 3.8 3.8 3.8 3.8-1.7 3.8-3.8m-3.7 5.3c-3.8 0-5.4 1.9-5.6 3.7 0 .2.1.4.2.5 1.5 1.1 3.4 1.7 5.4 1.7 1.9 0 3.7-.6 5.4-1.7.2-.1.2-.3.2-.5-.1-.9-.8-3.8-5.6-3.7\" clip-rule=\"evenodd\"/></svg>";
68
+ //#endregion
69
+ //#region src/modules/video-selfie/assets/tutorial/frontId.svg?raw
70
+ var frontId_default = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" aria-hidden=\"true\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.748 11.272h-3.507a.823.823 0 1 1 0-1.645h3.507a.822.822 0 0 1 0 1.645m0 3.709h-2.183a.822.822 0 1 1 0-1.645h2.183a.822.822 0 0 1 0 1.645m-5.274 1.434-6.399.009a.38.38 0 0 1-.264-.108.38.38 0 0 1-.108-.263c0-1.353 1.104-2.717 3.571-2.717s3.572 1.36 3.572 2.708a.37.37 0 0 1-.372.37m-3.2-8.862a2.32 2.32 0 0 1 2.317 2.317 2.32 2.32 0 0 1-2.317 2.318A2.32 2.32 0 0 1 6.957 9.87a2.32 2.32 0 0 1 2.317-2.317M17.05 3.8h-9.8c-2.7 0-4.6 2-4.6 4.8v6.8c0 2.8 1.9 4.8 4.6 4.8h9.8c2.7 0 4.6-2 4.6-4.8V8.6c0-2.8-1.9-4.8-4.6-4.8\" clip-rule=\"evenodd\"/></svg>";
71
+ //#endregion
72
+ //#region src/modules/video-selfie/assets/tutorial/backId.svg?raw
73
+ var backId_default = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" aria-hidden=\"true\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.21 15.92h-1.428a.75.75 0 0 1 0-1.5h1.428a.75.75 0 0 1 0 1.5m-3.884 0H6.898a.75.75 0 0 1 0-1.5h1.428a.75.75 0 0 1 0 1.5m-5.525-5.33a.3.3 0 0 0-.3.3v4.4c0 2.793 1.794 4.67 4.463 4.67h10.07c2.671 0 4.465-1.878 4.465-4.67v-4.4a.3.3 0 0 0-.3-.3zM21.2 9.09a.3.3 0 0 0 .3-.3v-.08c0-2.794-1.795-4.67-4.465-4.67H6.965C4.294 4.04 2.5 5.915 2.5 8.71v.08a.3.3 0 0 0 .3.3z\" clip-rule=\"evenodd\"/></svg>";
74
+ //#endregion
75
+ //#region src/modules/video-selfie/assets/tutorial/poa.svg?raw
76
+ var poa_default = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" aria-hidden=\"true\" viewBox=\"9 8 26 26\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M22.555 9.168a1 1 0 0 0-1.11 0l-11.983 7.99a1 1 0 0 0-.323.334A1 1 0 0 0 9 18.01V31a2 2 0 0 0 2 2h22a2 2 0 0 0 2-2V18.013a1 1 0 0 0-.462-.856zm9.684 8.86L22 11.202l-10.239 6.826L20.138 24h3.724zM11 19.94v10.064l7.09-5.009zM20.136 26l-7.078 5h17.885l-7.079-5zm5.774-1.005 7.09 5.01V19.94z\" clip-rule=\"evenodd\"/></svg>";
77
+ //#endregion
78
+ //#region src/modules/video-selfie/assets/tutorial/questions.svg?raw
79
+ var questions_default$1 = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" aria-hidden=\"true\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9 16c0-1.654-1.346-3-3-3s-3 1.346-3 3a1 1 0 1 0 2 0 1 1 0 0 1 2 0c0 .096-.03.601-.618 1.136-.689.618-2.642 2.041-2.662 2.055A1 1 0 0 0 4.309 21H8a1 1 0 1 0 0-2h-.727c.172-.14.327-.27.45-.381C8.876 17.57 9 16.438 9 16M4.78 6.268 5 6.09V10a1 1 0 1 0 2 0V4a1 1 0 0 0-1.628-.779l-1.848 1.49A1 1 0 0 0 4.78 6.268M11.334 7H20a1 1 0 1 0 0-2h-8.666a1 1 0 1 0 0 2M20 11h-8.666a1 1 0 1 0 0 2H20a1 1 0 1 0 0-2m0 6h-8.666a1 1 0 1 0 0 2H20a1 1 0 1 0 0-2\" clip-rule=\"evenodd\"/></svg>";
80
+ //#endregion
81
+ //#region src/modules/video-selfie/assets/tutorial/speech.svg?raw
82
+ var speech_default = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" aria-hidden=\"true\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M12.02 2C17.7 2 22 6.657 22 11.985 22 18.165 16.96 22 12 22c-1.64 0-3.46-.44-4.92-1.302-.51-.31-.94-.54-1.49-.36l-2.02.6c-.51.16-.97-.24-.82-.78l.67-2.244c.11-.31.09-.641-.07-.901C2.49 15.43 2 13.698 2 12.015 2 6.747 6.21 2 12.02 2m4.57 8.743c-.71 0-1.28.571-1.28 1.282 0 .701.57 1.282 1.28 1.282a1.283 1.283 0 0 0 0-2.564m-4.61 0c-.7-.01-1.28.571-1.28 1.272 0 .711.57 1.282 1.28 1.292a1.283 1.283 0 0 0 0-2.564m-4.61 0c-.71 0-1.28.571-1.28 1.282 0 .701.58 1.282 1.28 1.282a1.29 1.29 0 0 0 1.28-1.282c0-.711-.57-1.282-1.28-1.282\"/></svg>";
83
+ //#endregion
84
+ //#region src/modules/video-selfie/tutorial.tsx
85
+ var tutorialDefaults = {
86
+ "videoSelfie.tutorial.permission": permission_default,
87
+ "videoSelfie.tutorial.selfie": selfie_default$1,
88
+ "videoSelfie.tutorial.frontId": frontId_default,
89
+ "videoSelfie.tutorial.backId": backId_default,
90
+ "videoSelfie.tutorial.poa": poa_default,
91
+ "videoSelfie.tutorial.questions": questions_default$1,
92
+ "videoSelfie.tutorial.speech": speech_default
93
+ };
94
+ /**
95
+ * Per-step tutorial row metadata — icon + localized label. Mirrors V1's
96
+ * `RecorderTutorial`: each enabled step gets a row describing what the user will
97
+ * be asked to do. Icons are reused from the progress header for consistency.
98
+ */
99
+ var STEP_ROWS = {
100
+ frontId: {
101
+ assetKey: "videoSelfie.tutorial.frontId",
102
+ key: "videoSelfie.tutorial.scanFrontId",
103
+ defaultValue: "Scan the front of ID"
104
+ },
105
+ backId: {
106
+ assetKey: "videoSelfie.tutorial.backId",
107
+ key: "videoSelfie.tutorial.scanBackId",
108
+ defaultValue: "Scan the back of ID"
109
+ },
110
+ poa: {
111
+ assetKey: "videoSelfie.tutorial.poa",
112
+ key: "videoSelfie.tutorial.poa",
113
+ defaultValue: "Scan your proof of address"
114
+ },
115
+ selfie: {
116
+ assetKey: "videoSelfie.tutorial.selfie",
117
+ key: "videoSelfie.tutorial.takeSelfie",
118
+ defaultValue: "Look at your front camera"
119
+ },
120
+ questions: {
121
+ assetKey: "videoSelfie.tutorial.questions",
122
+ key: "videoSelfie.tutorial.questions",
123
+ defaultValue: "Answer some questions out loud"
124
+ },
125
+ speech: {
126
+ assetKey: "videoSelfie.tutorial.speech",
127
+ key: "videoSelfie.tutorial.recordVoiceMessage",
128
+ defaultValue: "Speak the words displayed on the screen"
129
+ }
130
+ };
131
+ /**
132
+ * Pre-capture tutorial for the Video Selfie flow — a port of V1's
133
+ * `RecorderTutorial`. Shows the list of steps the user will go through
134
+ * (permissions first, then the enabled capture steps) and a "Start" button.
135
+ *
136
+ * While this screen is up, the host component warms the WASM pipelines in the
137
+ * background (see `warmupVideoSelfieWasm`), so detection is ready the moment the
138
+ * user taps "Start". Gated by the `showTutorials` config flag.
139
+ */
140
+ var VideoSelfieTutorial = ({ config, steps, copy, onStart, isLoading }) => {
141
+ const { t } = useTranslation();
142
+ const activeSteps = steps ?? (config ? resolveVideoSelfieSteps(config) : []);
143
+ const rows = [{
144
+ key: "permissions",
145
+ assetKey: "videoSelfie.tutorial.permission",
146
+ label: copy?.permissionsLabel ?? t("videoSelfie.tutorial.permissions", { defaultValue: "Give recording permissions" })
147
+ }, ...activeSteps.map((step) => {
148
+ const meta = STEP_ROWS[step];
149
+ return {
150
+ key: step,
151
+ assetKey: meta.assetKey,
152
+ label: t(meta.key, { defaultValue: meta.defaultValue })
153
+ };
154
+ })];
155
+ return /* @__PURE__ */ u(Page, {
156
+ className: "IncodeVideoSelfieTutorialPage",
157
+ title: copy?.title ?? t("videoSelfie.tutorial.videoCheck", { defaultValue: "Video selfie" }),
158
+ titleId: "video-selfie-tutorial-heading",
159
+ subtitle: copy?.subtitle ?? t("videoSelfie.tutorial.legalReason", { defaultValue: "For legal reasons, we must recheck your documents. You'll be requested to:" }),
160
+ children: [/* @__PURE__ */ u("div", {
161
+ class: "IncodeVideoSelfieTutorialBody",
162
+ children: /* @__PURE__ */ u("ul", {
163
+ class: "IncodeVideoSelfieTutorialSteps",
164
+ children: rows.map((row) => /* @__PURE__ */ u("li", {
165
+ class: "IncodeVideoSelfieTutorialStep",
166
+ children: [/* @__PURE__ */ u(Asset, {
167
+ name: row.assetKey,
168
+ class: "IncodeVideoSelfieTutorialStepIcon",
169
+ default: tutorialDefaults[row.assetKey]
170
+ }), /* @__PURE__ */ u("span", {
171
+ class: "IncodeVideoSelfieTutorialStepLabel",
172
+ children: row.label
173
+ })]
174
+ }, row.key))
175
+ })
176
+ }), /* @__PURE__ */ u("div", {
177
+ class: "IncodeVideoSelfieTutorialActions",
178
+ children: /* @__PURE__ */ u(Button, {
179
+ class: "IncodeVideoSelfieTutorialStartButton",
180
+ onClick: onStart,
181
+ isLoading,
182
+ children: copy?.startLabel ?? t("videoSelfie.tutorial.startVideoSelfie", { defaultValue: "Start video selfie" })
183
+ })
184
+ })]
185
+ });
186
+ };
187
+ //#endregion
188
+ //#region src/modules/video-selfie/assets/check-circle.svg
189
+ var check_circle_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%23189f60'/%3e%3cpath%20stroke='%23fff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2.4'%20d='m10.5%2016.4%203.8%203.8%207.2-8.2'/%3e%3c/svg%3e";
190
+ //#endregion
191
+ //#region src/modules/video-selfie/assets/failVideoselfieSolid.svg
192
+ var failVideoselfieSolid_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='64'%20fill='none'%20viewBox='0%200%2064%2064'%3e%3cpath%20fill='%23ff5c6f'%20fill-rule='evenodd'%20d='M45%208.5a1.5%201.5%200%200%200%200%203h7a.5.5%200%200%201%20.5.5v7a1.5%201.5%200%200%200%203%200v-7A3.5%203.5%200%200%200%2052%208.5zM55.5%2045a1.5%201.5%200%200%200-3%200v7a.5.5%200%200%201-.5.5h-7a1.5%201.5%200%200%200%200%203h7a3.5%203.5%200%200%200%203.5-3.5zM10%2043.5a1.5%201.5%200%200%201%201.5%201.5v7a.5.5%200%200%200%20.5.5h7a1.5%201.5%200%200%201%200%203h-7A3.5%203.5%200%200%201%208.5%2052v-7a1.5%201.5%200%200%201%201.5-1.5m2-35A3.5%203.5%200%200%200%208.5%2012v7a1.5%201.5%200%200%200%203%200v-7a.5.5%200%200%201%20.5-.5h7a1.5%201.5%200%200%200%200-3z'%20clip-rule='evenodd'%20style='fill:%23ff5c6f;fill-opacity:1'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M41.414%2025.414a2%202%200%201%200-2.828-2.828L32%2029.172l-6.586-6.586a2%202%200%201%200-2.828%202.828L29.172%2032l-6.586%206.586a2%202%200%201%200%202.828%202.828L32%2034.828l6.586%206.586a2%202%200%201%200%202.828-2.828L34.828%2032z'%20clip-rule='evenodd'%20style='fill:%23ff5c6f;fill-opacity:1'/%3e%3c/svg%3e";
193
+ //#endregion
194
+ //#region src/modules/video-selfie/selfieMask.tsx
195
+ /**
196
+ * Gradient stops for the 9px ring, keyed by variant (verified against the
197
+ * Figma ring SVGs). A single stop repeated renders as a solid stroke.
198
+ */
199
+ var RING_GRADIENT = {
200
+ idle: ["var(--border-neutral-100-static)", "var(--border-neutral-100-static)"],
201
+ processing: ["var(--border-brand-500)", "var(--surface-neutral-0-static)"],
202
+ success: ["var(--border-status-positive-static)", "var(--surface-neutral-0-static)"],
203
+ error: ["var(--border-status-negative-static)", "var(--border-status-negative-static)"]
204
+ };
205
+ /**
206
+ * Selfie capture mask (latest design): a fullscreen circular cut-out (dark
207
+ * vignette via box-shadow) framed by a chunky 9px gradient ring, with a status
208
+ * line — and, per state, a spinner or a success check — below it. The ring
209
+ * gradient tracks the {@link SelfieMaskVariant}: idle neutral, processing blue,
210
+ * success green, error red.
211
+ */
212
+ var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
213
+ const [fromColor, toColor] = RING_GRADIENT[variant];
214
+ const gradientId = `IncodeVsSelfieRing-${variant}`;
215
+ return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
216
+ class: "IncodeVsSelfieMask",
217
+ "aria-hidden": "true",
218
+ children: /* @__PURE__ */ u("svg", {
219
+ class: "IncodeVsSelfieMaskRing",
220
+ viewBox: "0 0 335 335",
221
+ fill: "none",
222
+ xmlns: "http://www.w3.org/2000/svg",
223
+ children: [/* @__PURE__ */ u("circle", {
224
+ cx: "167.5",
225
+ cy: "167.5",
226
+ r: "163",
227
+ stroke: `url(#${gradientId})`,
228
+ "stroke-width": "9"
229
+ }), /* @__PURE__ */ u("defs", { children: /* @__PURE__ */ u("linearGradient", {
230
+ id: gradientId,
231
+ x1: "27.7485",
232
+ y1: "34.8117",
233
+ x2: "246.205",
234
+ y2: "290.602",
235
+ gradientUnits: "userSpaceOnUse",
236
+ children: [/* @__PURE__ */ u("stop", { "stop-color": fromColor }), /* @__PURE__ */ u("stop", {
237
+ offset: "1",
238
+ "stop-color": toColor
239
+ })]
240
+ }) })]
241
+ })
242
+ }), /* @__PURE__ */ u("div", {
243
+ class: "IncodeVsSelfieMaskFeedback",
244
+ role: "region",
245
+ "aria-live": "polite",
246
+ children: [
247
+ variant === "processing" ? /* @__PURE__ */ u(LoadingIcon, { size: 64 }) : null,
248
+ variant === "success" ? /* @__PURE__ */ u(Asset, {
249
+ name: "videoSelfie.success",
250
+ class: "IncodeVsSelfieMaskIcon",
251
+ default: check_circle_default
252
+ }) : null,
253
+ variant === "error" ? /* @__PURE__ */ u(Asset, {
254
+ name: "videoSelfie.fail",
255
+ class: "IncodeVsSelfieMaskIcon",
256
+ default: failVideoselfieSolid_default
257
+ }) : null,
258
+ /* @__PURE__ */ u("p", {
259
+ class: "IncodeVsSelfieMaskText",
260
+ children: message
261
+ }),
262
+ onManualCapture && variant !== "processing" && variant !== "success" ? /* @__PURE__ */ u("div", {
263
+ class: "IncodeVsSelfieManualCapture",
264
+ children: /* @__PURE__ */ u(ManualCaptureButton, {
265
+ onClick: onManualCapture,
266
+ disabled: false
267
+ })
268
+ }) : null
269
+ ]
270
+ })] });
271
+ };
272
+ //#endregion
273
+ //#region src/modules/video-selfie/idFlipModal.tsx
274
+ var animationPromise = null;
275
+ function loadIdFlipAnimation() {
276
+ animationPromise ??= import("./flip-animation-BU5LNKYx.js").then((module) => module.default);
277
+ return animationPromise;
278
+ }
279
+ function preloadIdFlipAnimation() {
280
+ loadIdFlipAnimation();
281
+ }
282
+ var IdFlipModal = ({ onComplete }) => {
283
+ const { t } = useTranslation();
284
+ const completionTimer = useTimeoutHandle();
285
+ const [animationData, setAnimationData] = d(null);
286
+ const [animationComplete, setAnimationComplete] = d(false);
287
+ y(() => {
288
+ let mounted = true;
289
+ loadIdFlipAnimation().then((data) => {
290
+ if (mounted) setAnimationData(data);
291
+ });
292
+ return () => {
293
+ mounted = false;
294
+ };
295
+ }, []);
296
+ y(() => {
297
+ if (animationComplete) completionTimer.schedule(onComplete, 1e3);
298
+ return completionTimer.clear;
299
+ }, [
300
+ animationComplete,
301
+ completionTimer,
302
+ onComplete
303
+ ]);
304
+ const handleAnimationComplete = q(() => {
305
+ setAnimationComplete(true);
306
+ }, []);
307
+ return /* @__PURE__ */ u(Modal.Root, {
308
+ open: true,
309
+ dismissible: false,
310
+ hasBackdrop: false,
311
+ class: "IncodeVsIdFlipModal",
312
+ children: /* @__PURE__ */ u(Modal.Content, { children: [/* @__PURE__ */ u(Modal.TitleSection, { children: /* @__PURE__ */ u(Modal.Title, { children: t("idv2.flipAnimation.title") }) }), animationData ? /* @__PURE__ */ u(Lottie, {
313
+ animationData,
314
+ loop: false,
315
+ className: "IncodeVsIdFlipAnimation",
316
+ onComplete: handleAnimationComplete
317
+ }) : null] })
318
+ });
319
+ };
320
+ //#endregion
321
+ //#region src/modules/video-selfie/idMask.tsx
322
+ var IdFeedbackPanel = ({ variant, message }) => {
323
+ const variantClass = () => {
324
+ if (variant === "error") return "IncodeVsIdFeedbackError";
325
+ if (variant === "processing") return "IncodeVsIdFeedbackProcessing";
326
+ return "IncodeVsIdFeedbackSuccess";
327
+ };
328
+ const renderIcon = () => {
329
+ if (variant === "processing") return /* @__PURE__ */ u(LoadingIcon, {
330
+ size: 64,
331
+ primaryClass: "IncodeVsIdFeedbackSpinnerPrimary",
332
+ secondaryClass: "IncodeVsIdFeedbackSpinnerSecondary"
333
+ });
334
+ if (variant === "success") return /* @__PURE__ */ u(SuccessIcon, { size: 32 });
335
+ return /* @__PURE__ */ u(ErrorIcon, { size: 32 });
336
+ };
337
+ return /* @__PURE__ */ u("div", {
338
+ class: `IncodeVsIdFeedback ${variantClass()}`,
339
+ role: "status",
340
+ "aria-live": variant === "error" ? "assertive" : "polite",
341
+ children: [renderIcon(), /* @__PURE__ */ u("p", { children: message })]
342
+ });
343
+ };
344
+ function getFrameState(wrongSide, feedback) {
345
+ if (wrongSide) return "error";
346
+ if (feedback?.variant === "error") return "error";
347
+ if (feedback?.variant === "success") return "success";
348
+ return "idle";
349
+ }
350
+ /**
351
+ * ID-card frame for the Video Selfie flow. Reuses the shared `CameraFrame`
352
+ * (locked, vertical) — the exact frame the standalone ID-capture module draws —
353
+ * laid over the camera with its own dark vignette.
354
+ */
355
+ var IdMask = ({ mode, wrongSide = false, feedback, orientation = "vertical", onManualCapture }) => {
356
+ return /* @__PURE__ */ u("div", {
357
+ class: "IncodeVsIdMask",
358
+ children: [
359
+ wrongSide ? /* @__PURE__ */ u(CaptureNotification, {
360
+ detectionStatus: "wrongSide",
361
+ mode,
362
+ isCapturing: false
363
+ }) : null,
364
+ !wrongSide && feedback ? /* @__PURE__ */ u(IdFeedbackPanel, { ...feedback }) : null,
365
+ /* @__PURE__ */ u(CameraFrame, {
366
+ variant: "locked",
367
+ orientation,
368
+ frameState: getFrameState(wrongSide, feedback)
369
+ }),
370
+ onManualCapture && feedback?.variant !== "processing" ? /* @__PURE__ */ u("div", {
371
+ class: "IncodeVsIdManualCapture",
372
+ children: /* @__PURE__ */ u(ManualCaptureButton$1, { onClick: onManualCapture })
373
+ }) : null
374
+ ]
375
+ });
376
+ };
377
+ //#endregion
378
+ //#region src/modules/video-selfie/assets/steps/selfie.svg
379
+ var selfie_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M22.5%204a1%201%200%201%200%200%202H26v3.5a1%201%200%200%200%202%200V6a2%202%200%200%200-2-2zM28%2022.5a1%201%200%201%200-2%200V26h-3.5a1%201%200%200%200%200%202H26a2%202%200%200%200%202-2zm-23-1a1%201%200%200%201%201%201V26h3.5a1%201%200%200%201%200%202H6a2%202%200%200%201-2-2v-3.5a1%201%200%200%201%201-1M6%204a2%202%200%200%200-2%202v3.5a1%201%200%200%200%202%200V6h3.5a1%201%200%201%200%200-2zm10%207a3%203%200%201%200%200%206%203%203%200%200%200%200-6m3.269%206.784a5%205%200%201%200-6.538%200q-.387.195-.756.437c-1.215.799-2.207%201.944-2.869%203.312-.236.488-.065%201.093.383%201.351s1.002.071%201.239-.417a6.3%206.3%200%200%201%202.194-2.533%205.6%205.6%200%200%201%203.06-.934h.035a5.6%205.6%200%200%201%203.061.934%206.3%206.3%200%200%201%202.194%202.533c.237.488.791.675%201.239.417s.62-.863.383-1.351c-.662-1.368-1.654-2.513-2.87-3.312a8%208%200%200%200-.755-.437'%20clip-rule='evenodd'/%3e%3c/svg%3e";
380
+ //#endregion
381
+ //#region src/modules/video-selfie/assets/steps/idFront.svg
382
+ var idFront_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M5%205a2%202%200%200%200-2%202v18a2%202%200%200%200%202%202h22a2%202%200%200%200%202-2V7a2%202%200%200%200-2-2zm0%202h22v18H5zm4.513%208a2%202%200%201%201%202%202%202%202%200%200%201-2-2m4.8%202.857a4%204%200%201%200-5.6%200q-.135.09-.263.19a5%205%200%200%200-1.78%202.703%201%201%200%201%200%201.937.5A3%203%200%200%201%2011.513%2019a3%203%200%200%201%202.905%202.25%201%201%200%201%200%201.937-.5%205%205%200%200%200-2.043-2.893M19%2013a1%201%200%201%200%200%202h5a1%201%200%201%200%200-2zm0%204a1%201%200%201%200%200%202h5a1%201%200%201%200%200-2z'%20clip-rule='evenodd'/%3e%3c/svg%3e";
383
+ //#endregion
384
+ //#region src/modules/video-selfie/assets/steps/idBack.svg
385
+ var idBack_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M5%205a2%202%200%200%200-2%202v18a2%202%200%200%200%202%202h22a2%202%200%200%200%202-2V7a2%202%200%200%200-2-2zm0%202h22v18H5zm2%203h2v3H7zm4%200h4v3h-4zm14%200h-7v3h7zM9.5%2010h1v3h-1zm7.5%200h-1v3h1zM7%2021a1%201%200%200%201%201-1h5a1%201%200%201%201%200%202H8a1%201%200%200%201-1-1'%20clip-rule='evenodd'/%3e%3c/svg%3e";
386
+ //#endregion
387
+ //#region src/modules/video-selfie/assets/steps/document.svg
388
+ var document_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%208.467%208.467'%3e%3cpath%20d='M2.137%207.707a.61.61%200%200%201-.44-.455c-.022-.1-.022-5.76-.001-5.862a.62.62%200%200%201%20.462-.46c.05-.01.494-.015%201.51-.015%201.405%200%201.44%200%201.492.026.077.038%201.663%201.626%201.691%201.694.018.044.02.303.02%202.298%200%201.616-.004%202.269-.014%202.32a.62.62%200%200%201-.462.461c-.05.01-.67.015-2.13.014-1.727%200-2.07-.004-2.128-.02m4.23-.405a.2.2%200%200%200%20.078-.08c.027-.051.027-.073.027-2.182V2.91h-.53c-.572%200-.61-.004-.75-.074a.63.63%200%200%201-.302-.402%206%206%200%200%201-.015-.596v-.525l-1.334.003-1.334.004-.042.03c-.092.065-.085-.19-.081%202.986l.003%202.866.03.042c.064.09-.1.084%202.157.084%202.018%200%202.04%200%202.092-.026M2.99%206.503a.21.21%200%200%201-.112-.172c0-.062.048-.139.106-.172.05-.028.06-.028.892-.028.84%200%20.842%200%20.893.029a.23.23%200%200%201%20.105.17.22.22%200%200%201-.111.173c-.056.027-.076.027-.888.027-.806%200-.832%200-.885-.027m0-.798a.21.21%200%200%201-.112-.173c0-.061.048-.139.106-.171.05-.029.052-.029%201.291-.029h1.241l.052.03a.23.23%200%200%201%20.105.17.22.22%200%200%201-.112.172c-.056.027-.072.028-1.287.028-1.207%200-1.23%200-1.284-.027m0-.799a.21.21%200%200%201-.112-.172c0-.062.048-.14.106-.172.05-.028.052-.028%201.291-.028h1.241l.052.029c.054.03.105.113.105.17a.22.22%200%200%201-.112.173c-.056.027-.072.027-1.287.027-1.207%200-1.23%200-1.284-.027m0-.798a.21.21%200%200%201-.112-.173c0-.061.048-.139.106-.171.05-.029.052-.029%201.291-.029h1.241l.052.03a.23.23%200%200%201%20.105.17.22.22%200%200%201-.112.172c-.056.027-.072.028-1.287.028-1.207%200-1.23%200-1.284-.027m2.743-2.05-.453-.452-.004.103a11%2011%200%200%200%200%20.39c.004.27.006.288.034.327.058.081.077.084.496.085h.379z'%20style='fill:%23fff;fill-opacity:1;stroke-width:.0503003'/%3e%3c/svg%3e";
389
+ //#endregion
390
+ //#region src/modules/video-selfie/assets/steps/questions.svg
391
+ var questions_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cg%20clip-path='url(%23clip0_5487_3779)'%3e%3cg%20clip-path='url(%23clip1_5487_3779)'%3e%3cpath%20fill='%2320263d'%20fill-rule='evenodd'%20d='M7.526%204.15A1%201%200%200%201%208%205v8a1%201%200%201%201-2%200V6.618l-.553.276a1%201%200%200%201-.894-1.788l2-1a1%201%200%200%201%20.973.043M12%208a1%201%200%200%201%201-1h14a1%201%200%201%201%200%202H13a1%201%200%200%201-1-1m0%208a1%201%200%200%201%201-1h14a1%201%200%201%201%200%202H13a1%201%200%200%201-1-1m1%207a1%201%200%201%200%200%202h14a1%201%200%201%200%200-2zm-3.432-4.542a3%203%200%200%200-.802-.866%203.097%203.097%200%200%200-4.253.584l-.005.006c-.19.245-.341.518-.448.809a1%201%200%200%200%201.88.685%201%201%200%200%201%20.144-.263%201.1%201.1%200%200%201%201.506-.203l.008.006a.96.96%200%200%201%20.198%201.373l-.012.016-3.585%204.796a1%201%200%200%200%20.8%201.599h4a1%201%200%201%200%200-2H6.997l2.384-3.19a2.96%202.96%200%200%200%20.188-3.352'%20clip-rule='evenodd'%20style='fill:%23fff;fill-opacity:1'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5487_3779'%3e%3cpath%20fill='%23fff'%20d='M0%200h32v32H0z'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_5487_3779'%3e%3cpath%20fill='%23fff'%20d='M0%200h32v32H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
392
+ //#endregion
393
+ //#region src/modules/video-selfie/assets/steps/consent.svg
394
+ var consent_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cg%20clip-path='url(%23clip0_5487_4295)'%3e%3cg%20clip-path='url(%23clip1_5487_4295)'%3e%3cpath%20fill='%2320263d'%20d='M16%2017.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203zm-5.5%200a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203zm11%200a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203z'%20style='fill:%23fff;fill-opacity:1;stroke:%23fff;stroke-opacity:1'/%3e%3cpath%20stroke='%2320263d'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M9.991%2026.389a12%2012%200%201%200-4.375-4.375l-1.563%204.669a1%201%200%200%200%201.265%201.265z'%20style='stroke:%23fff;stroke-opacity:1'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5487_4295'%3e%3cpath%20fill='%23fff'%20d='M0%200h32v32H0z'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_5487_4295'%3e%3cpath%20fill='%23fff'%20d='M0%200h32v32H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
395
+ //#endregion
396
+ //#region src/modules/video-selfie/assets/steps/check.svg
397
+ var check_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cpath%20stroke='%23fff'%20stroke-linecap='square'%20stroke-width='2'%20d='M21.334%2013.333%2014%2020l-3.333-3.334'/%3e%3c/svg%3e";
398
+ //#endregion
399
+ //#region src/modules/video-selfie/assets/steps/green-check.svg
400
+ var green_check_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cpath%20stroke='%230cd5a2'%20stroke-linecap='square'%20stroke-width='2'%20d='M21.333%2013.333%2014%2020l-3.333-3.334'/%3e%3c/svg%3e";
401
+ //#endregion
402
+ //#region src/modules/video-selfie/stepsHeader.tsx
403
+ /** Maps each capture step to its header icon. */
404
+ var STEP_ICONS = {
405
+ selfie: selfie_default,
406
+ frontId: idFront_default,
407
+ backId: idBack_default,
408
+ poa: document_default,
409
+ questions: questions_default,
410
+ speech: consent_default
411
+ };
412
+ /**
413
+ * Port of V1's `StepsHeader`, restyled to the latest design: a full-width
414
+ * segmented "ticket" fixed to the top of the capture screen, overlaid
415
+ * transparently on the live camera. Each step is a pill segment with a 32px
416
+ * icon below it — the current step shows its module icon at full opacity,
417
+ * completed steps show a check (half opacity), upcoming steps are faded. When
418
+ * every step is done the pills turn green.
419
+ */
420
+ var StepsHeader = ({ steps, currentIndex }) => {
421
+ const { t } = useTranslation();
422
+ const isFinished = currentIndex >= steps.length;
423
+ return /* @__PURE__ */ u("ol", {
424
+ class: cn("IncodeVsStepsHeader", isFinished && "IncodeVsStepsHeaderFinished"),
425
+ "aria-label": t("videoSelfie.progressSteps", { defaultValue: "Progress steps" }),
426
+ children: steps.map((step, index) => {
427
+ const isCurrent = index === currentIndex && !isFinished;
428
+ const isCompleted = index < currentIndex && !isFinished;
429
+ const label = t(`videoSelfie.step.${step}`);
430
+ return /* @__PURE__ */ u("li", {
431
+ class: cn("IncodeVsStepsHeaderStep", isCompleted && "IncodeVsStepsHeaderStepCompleted", isCurrent && "IncodeVsStepsHeaderStepCurrent"),
432
+ "aria-current": isCurrent ? "step" : void 0,
433
+ children: [/* @__PURE__ */ u("span", {
434
+ class: "IncodeVsStepsHeaderPill",
435
+ "aria-hidden": "true"
436
+ }), isFinished ? /* @__PURE__ */ u("img", {
437
+ src: green_check_default,
438
+ alt: label
439
+ }) : isCompleted ? /* @__PURE__ */ u("img", {
440
+ src: check_default,
441
+ alt: label
442
+ }) : isCurrent ? /* @__PURE__ */ u("img", {
443
+ src: STEP_ICONS[step],
444
+ alt: label
445
+ }) : null]
446
+ }, step);
447
+ })
448
+ });
449
+ };
450
+ //#endregion
451
+ //#region src/modules/video-selfie/assets/switch-camera.svg
452
+ var switch_camera_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20overflow='visible'%20preserveAspectRatio='none'%20style='display:block'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='var(--fill-0,%20white)'%20fill-rule='evenodd'%20d='M19.998%2028.75a6.4%206.4%200%200%201-4.236-1.604%201.247%201.247%200%200%201%20.26-2.052l2.538-1.288a1.251%201.251%200%200%201%201.132%202.23l-.32.163q.308.05.626.05a3.91%203.91%200%200%200%203.907-3.906%201.25%201.25%200%200%201%202.5%200%206.414%206.414%200%200%201-6.407%206.406m-6.405-6.41a6.41%206.41%200%200%201%206.405-6.402c1.564%200%203.07.568%204.239%201.601a1.252%201.252%200%200%201-.262%202.05l-2.537%201.289a1.25%201.25%200%200%201-1.681-.547%201.25%201.25%200%200%201%20.55-1.682l.318-.162a3.908%203.908%200%200%200-4.532%203.853%201.25%201.25%200%200%201-2.5%200m16.334-10.92a2.3%202.3%200%200%201-1.57-.7c-.075-.083-.374-.453-1.064-1.748a4.55%204.55%200%200%200-4.018-2.41h-6.52a4.56%204.56%200%200%200-3.987%202.352c-.725%201.317-1.028%201.707-1.108%201.795-.42.439-.985.694-1.557.719a5.945%205.945%200%200%200-5.936%205.93v9.403c0%204.233%203.443%207.678%207.676%207.678h16.314c4.233%200%207.676-3.445%207.676-7.678v-9.407c0-3.273-2.663-5.935-5.906-5.935'%20clip-rule='evenodd'/%3e%3c/svg%3e";
453
+ //#endregion
454
+ //#region src/modules/video-selfie/switchingCameraScreen.tsx
455
+ var SwitchingCameraScreen = ({ steps, currentIndex, facing }) => {
456
+ const { t } = useTranslation();
457
+ const title = facing === "user" ? t("videoSelfie.switchingToFront") : t("videoSelfie.switchingToBack");
458
+ return /* @__PURE__ */ u(Page, {
459
+ hideHeader: true,
460
+ hideFooterBranding: true,
461
+ className: "IncodeVideoSelfieSwitchingCameraPage",
462
+ children: /* @__PURE__ */ u("div", {
463
+ class: "IncodeVideoSelfieSwitchingCamera",
464
+ children: [/* @__PURE__ */ u(StepsHeader, {
465
+ steps,
466
+ currentIndex
467
+ }), /* @__PURE__ */ u("div", {
468
+ class: "IncodeVideoSelfieSwitchingCameraContent",
469
+ role: "status",
470
+ "aria-live": "polite",
471
+ children: [/* @__PURE__ */ u("img", {
472
+ src: switch_camera_default,
473
+ alt: "",
474
+ "aria-hidden": true,
475
+ class: "IncodeVideoSelfieSwitchingCameraIcon"
476
+ }), /* @__PURE__ */ u(AutoFocusTitle, {
477
+ className: "IncodeVideoSelfieSwitchingCameraTitle",
478
+ children: title
479
+ })]
480
+ })]
481
+ })
482
+ });
483
+ };
484
+ //#endregion
485
+ //#region src/modules/video-selfie/finalSuccessScreen.tsx
486
+ var VideoSelfieFinalSuccessScreen = () => {
487
+ const { t } = useTranslation();
488
+ return /* @__PURE__ */ u(Page, {
489
+ hideHeader: true,
490
+ children: /* @__PURE__ */ u("div", {
491
+ class: "IncodeVsFinalSuccess",
492
+ children: [/* @__PURE__ */ u(SuccessIcon, { size: 40 }), /* @__PURE__ */ u(AutoFocusTitle, {
493
+ className: "IncodeVsFinalSuccessTitle",
494
+ children: t("videoSelfie.finalSuccessTitle")
495
+ })]
496
+ })
497
+ });
498
+ };
499
+ //#endregion
500
+ export { IdFlipModal as a, VideoSelfieTutorial as c, IdMask as i, useVideoSelfiePermissions as l, SwitchingCameraScreen as n, preloadIdFlipAnimation as o, StepsHeader as r, SelfieMask as s, VideoSelfieFinalSuccessScreen as t };