@sheerid/jslib-nightly 2.104.0-alpha.2 → 2.106.0-alpha.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 (461) hide show
  1. package/__tests__/__helpers__/renderers.d.ts +5 -5
  2. package/_mysheerid-preview.css +4 -4
  3. package/_mysheerid-preview.js +18343 -16668
  4. package/_mysheerid-preview.js.map +1 -1
  5. package/chunk/{EmailLoopPending-Dzs07hxx.js → EmailLoopPending-Dtf0p85F.js} +18 -18
  6. package/chunk/{EmailLoopPending-CKTAwQQA.js.map → EmailLoopPending-Dtf0p85F.js.map} +1 -1
  7. package/chunk/{EmailLoopPending-CKTAwQQA.js → EmailLoopPending-Dy8mLFvV.js} +18 -18
  8. package/chunk/{EmailLoopPending-Dzs07hxx.js.map → EmailLoopPending-Dy8mLFvV.js.map} +1 -1
  9. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +55 -0
  10. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js.map +1 -0
  11. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +51 -0
  12. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js.map +1 -0
  13. package/chunk/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
  14. package/chunk/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
  15. package/chunk/{StepIDCheckLoopOnfido-lChJAp_W.js → StepIDCheckLoopOnfido-CmNwFqjD.js} +13 -12
  16. package/chunk/{StepIDCheckLoopOnfido-C9iUX8TC.js.map → StepIDCheckLoopOnfido-CmNwFqjD.js.map} +1 -1
  17. package/{lib/StepIDCheckLoopOnfido-tTk18P23.js → chunk/StepIDCheckLoopOnfido-DtbplNxs.js} +26 -27
  18. package/chunk/{StepIDCheckLoopOnfido-lChJAp_W.js.map → StepIDCheckLoopOnfido-DtbplNxs.js.map} +1 -1
  19. package/chunk/{StepIDCheckLoopRegula-BB8xA4nn.js → StepIDCheckLoopRegula-RoX971sR.js} +59 -85
  20. package/chunk/StepIDCheckLoopRegula-RoX971sR.js.map +1 -0
  21. package/chunk/{StepIDCheckLoopRegula-D8XhToQz.js → StepIDCheckLoopRegula-oqf-QxHT.js} +59 -85
  22. package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js.map +1 -0
  23. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js} +48 -48
  24. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js.map → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js.map} +1 -1
  25. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js} +48 -48
  26. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js.map → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js.map} +1 -1
  27. package/chunk/ar-CtJ_9k3U.js +4 -4
  28. package/chunk/bg-CWxXfiDq.js +4 -4
  29. package/chunk/bn-IN-Dpq_hCqt.js +4 -4
  30. package/chunk/cs-HevyelX7.js +4 -4
  31. package/chunk/da-6QXhWjWH.js +4 -4
  32. package/chunk/de-ChuCvRLv.js +4 -4
  33. package/chunk/el-3IAhABcN.js +4 -4
  34. package/chunk/en-GB-ByNBaer-.js +4 -4
  35. package/chunk/es-CL_dUc9X.js +4 -4
  36. package/chunk/es-ES-CW4At4Ol.js +4 -4
  37. package/chunk/fi-D8cIebkk.js +4 -4
  38. package/chunk/fr-BDU-1C6f.js +4 -4
  39. package/chunk/fr-CA-Dc02rv8D.js +4 -4
  40. package/chunk/ga-P7eP-INQ.js +4 -4
  41. package/chunk/hi-IN-DlmwjoqH.js +4 -4
  42. package/chunk/hr-CT_VP_lm.js +4 -4
  43. package/chunk/hu-I8Z1uXsR.js +4 -4
  44. package/chunk/id-CUPTGKOT.js +4 -4
  45. package/chunk/{index-DGGRPaEI.js → index-4APUDd8S.js} +27 -27
  46. package/chunk/{index-DGGRPaEI.js.map → index-4APUDd8S.js.map} +1 -1
  47. package/chunk/{index-BDsZCFuU.js → index-9OD0Bw98.js} +58 -58
  48. package/chunk/{index-D6oLMvTq.js.map → index-9OD0Bw98.js.map} +1 -1
  49. package/chunk/index-B-PpnUEO.js +52 -0
  50. package/chunk/index-B-PpnUEO.js.map +1 -0
  51. package/chunk/{index-BW4s6-PH.js → index-B8F8N-JM.js} +90 -89
  52. package/chunk/index-B8F8N-JM.js.map +1 -0
  53. package/chunk/{index-BGGHZBWq.js → index-B8KPM--K.js} +48 -56
  54. package/chunk/{index-BGGHZBWq.js.map → index-B8KPM--K.js.map} +1 -1
  55. package/chunk/{index-DhpucFa7.js → index-BD2bjH-C.js} +5 -5
  56. package/{lib/index-CZodZNg-.js.map → chunk/index-BD2bjH-C.js.map} +1 -1
  57. package/chunk/{index-Dba2dHcR.js → index-BD_a0MZT.js} +21 -21
  58. package/chunk/{index-DPv0lytr.js.map → index-BD_a0MZT.js.map} +1 -1
  59. package/chunk/{index-DnCqjuSC.js → index-BDrKYann.js} +26 -26
  60. package/chunk/{index-DnCqjuSC.js.map → index-BDrKYann.js.map} +1 -1
  61. package/chunk/{index-CblWzXDU.js → index-BTR4RdFx.js} +22 -22
  62. package/chunk/{index-UGfD9tnj.js.map → index-BTR4RdFx.js.map} +1 -1
  63. package/chunk/{index-Bld-AWYE.js → index-Bi9QXN5x.js} +13 -13
  64. package/chunk/{index-CZjGTko2.js.map → index-Bi9QXN5x.js.map} +1 -1
  65. package/chunk/{index-B1579hxf.js → index-Bmq6cJ3F.js} +26 -26
  66. package/{lib/index-qTuKj59y.js.map → chunk/index-Bmq6cJ3F.js.map} +1 -1
  67. package/chunk/{index-DPv0lytr.js → index-BpZoH-Wz.js} +21 -21
  68. package/chunk/{index-Dba2dHcR.js.map → index-BpZoH-Wz.js.map} +1 -1
  69. package/chunk/{index-BjaCS2a8.js → index-BuX76GyE.js} +34 -34
  70. package/{lib/index-BF3H-Cda.js.map → chunk/index-BuX76GyE.js.map} +1 -1
  71. package/chunk/{index-CfUabHav.js → index-C2h0Wj84.js} +48 -56
  72. package/chunk/{index-CfUabHav.js.map → index-C2h0Wj84.js.map} +1 -1
  73. package/chunk/{index-B5okgMmp.js → index-C8MQD8EK.js} +27 -27
  74. package/chunk/{index-B5okgMmp.js.map → index-C8MQD8EK.js.map} +1 -1
  75. package/chunk/{index-CCUi9Uhw.js → index-C8u9IJUa.js} +11 -11
  76. package/chunk/{index-CCUi9Uhw.js.map → index-C8u9IJUa.js.map} +1 -1
  77. package/chunk/{index-D7O7vvSe.js → index-C96ntS0u.js} +26 -26
  78. package/chunk/{index-B1579hxf.js.map → index-C96ntS0u.js.map} +1 -1
  79. package/chunk/{index-DCKw4cP_.js → index-CG2W8lDZ.js} +42 -42
  80. package/chunk/{index-DCKw4cP_.js.map → index-CG2W8lDZ.js.map} +1 -1
  81. package/chunk/index-CHK5i4jj.js +48 -0
  82. package/chunk/index-CHK5i4jj.js.map +1 -0
  83. package/chunk/{index-DSrYVtDo.js → index-CTb96lOK.js} +10 -10
  84. package/chunk/{index-DSrYVtDo.js.map → index-CTb96lOK.js.map} +1 -1
  85. package/chunk/{index-Cq__fToG.js → index-CcRowarb.js} +5 -5
  86. package/chunk/{index-Cq__fToG.js.map → index-CcRowarb.js.map} +1 -1
  87. package/chunk/{index-BnPrfsM1.js → index-CeHu2Npu.js} +7 -7
  88. package/chunk/{index-BnPrfsM1.js.map → index-CeHu2Npu.js.map} +1 -1
  89. package/chunk/{index-UGfD9tnj.js → index-CepZL7Cr.js} +22 -22
  90. package/chunk/{index-CblWzXDU.js.map → index-CepZL7Cr.js.map} +1 -1
  91. package/chunk/{index-BvGP9l7M.js → index-CniY_P3e.js} +219 -237
  92. package/chunk/index-CniY_P3e.js.map +1 -0
  93. package/chunk/{index-Bb9hNLHu.js → index-DDyTUP55.js} +42 -42
  94. package/chunk/{index-Bb9hNLHu.js.map → index-DDyTUP55.js.map} +1 -1
  95. package/chunk/index-DIkWpujR.js +4 -4
  96. package/chunk/index-DIkWpujR.js.map +1 -1
  97. package/chunk/{index-D6oLMvTq.js → index-DKWjcFJK.js} +58 -58
  98. package/chunk/{index-BDsZCFuU.js.map → index-DKWjcFJK.js.map} +1 -1
  99. package/chunk/{index-B4B6qxaM.js → index-DLz31Fzh.js} +11 -11
  100. package/chunk/{index-BYMr8It7.js.map → index-DLz31Fzh.js.map} +1 -1
  101. package/chunk/{index-B8tKf2Rd.js → index-DO5Z3e-E.js} +34 -34
  102. package/chunk/{index-B8tKf2Rd.js.map → index-DO5Z3e-E.js.map} +1 -1
  103. package/chunk/{index-CjcHzfTY.js → index-DRlGAW07.js} +11 -11
  104. package/chunk/{index-CjcHzfTY.js.map → index-DRlGAW07.js.map} +1 -1
  105. package/chunk/{index-YmkMflXj.js → index-DVynViqA.js} +7 -7
  106. package/chunk/{index-YmkMflXj.js.map → index-DVynViqA.js.map} +1 -1
  107. package/chunk/{index-B92Kfyw6.js → index-Dg8t7-dm.js} +90 -89
  108. package/chunk/index-Dg8t7-dm.js.map +1 -0
  109. package/chunk/{index-DpYUZXus.js → index-DhGg9lvf.js} +26 -26
  110. package/chunk/{index-DpYUZXus.js.map → index-DhGg9lvf.js.map} +1 -1
  111. package/chunk/{index-QVvWIHrD.js → index-DtH8Qo7N.js} +51 -51
  112. package/chunk/{index-DFsuXQL_.js.map → index-DtH8Qo7N.js.map} +1 -1
  113. package/chunk/{index-BYMr8It7.js → index-DzqRsB7_.js} +11 -11
  114. package/chunk/{index-B4B6qxaM.js.map → index-DzqRsB7_.js.map} +1 -1
  115. package/chunk/{index-CEi_QkyI.js → index-FfXcSdRM.js} +219 -237
  116. package/chunk/index-FfXcSdRM.js.map +1 -0
  117. package/chunk/{index-CZjGTko2.js → index-FjzhfDlx.js} +13 -13
  118. package/chunk/{index-Bld-AWYE.js.map → index-FjzhfDlx.js.map} +1 -1
  119. package/chunk/{index-Cp0C-9fh.js → index-Gfy-1H7s.js} +10 -10
  120. package/{lib/index-QQE4f5yZ.js.map → chunk/index-Gfy-1H7s.js.map} +1 -1
  121. package/chunk/{index-DFsuXQL_.js → index-jFznw2e5.js} +51 -51
  122. package/chunk/{index-QVvWIHrD.js.map → index-jFznw2e5.js.map} +1 -1
  123. package/chunk/is-CUuXi4qZ.js +4 -4
  124. package/chunk/it-BNmynTsg.js +4 -4
  125. package/chunk/iw-FGzquR_X.js +4 -4
  126. package/chunk/ja-YgUpXA0l.js +4 -4
  127. package/chunk/ko-CuNS5J_M.js +4 -4
  128. package/chunk/lo-BEf8aFjR.js +4 -4
  129. package/chunk/lt-DvX1gz1a.js +4 -4
  130. package/chunk/ms-gSqM-Mfi.js +4 -4
  131. package/chunk/nl-BE-Cid5LFlN.js +4 -4
  132. package/chunk/nl-CUUTswxa.js +4 -4
  133. package/chunk/no-BvUqlShV.js +4 -4
  134. package/chunk/pl-CU8leZhI.js +4 -4
  135. package/chunk/pt-BR-CboWpHFi.js +4 -4
  136. package/chunk/pt-BnK7xRT_.js +4 -4
  137. package/chunk/ro-BfAyXxSW.js +4 -4
  138. package/chunk/ru-BD-YGPuQ.js +4 -4
  139. package/chunk/sk-CqsabpdG.js +4 -4
  140. package/chunk/sl-CeVAf0S_.js +4 -4
  141. package/chunk/sr-DSaHxcCQ.js +4 -4
  142. package/chunk/sv-DOyWYViy.js +4 -4
  143. package/chunk/sw-2Q7Jo6wp.js +4 -4
  144. package/chunk/th-BZ6F9sPf.js +4 -4
  145. package/chunk/tr-om80xrv2.js +4 -4
  146. package/chunk/uk-Dxugux8e.js +4 -4
  147. package/chunk/ur-OBILUeZ7.js +4 -4
  148. package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +4 -4
  149. package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js.map +1 -1
  150. package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +4 -4
  151. package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js.map +1 -1
  152. package/chunk/{useEmailFirstExperiment-CSa3DQll.js → useEmailFirstExperiment-BbDrKQEs.js} +29 -30
  153. package/chunk/{useEmailFirstExperiment-CSa3DQll.js.map → useEmailFirstExperiment-BbDrKQEs.js.map} +1 -1
  154. package/chunk/{useEmailFirstExperiment-DZ1B78ke.js → useEmailFirstExperiment-CgU-itQI.js} +29 -30
  155. package/chunk/{useEmailFirstExperiment-DZ1B78ke.js.map → useEmailFirstExperiment-CgU-itQI.js.map} +1 -1
  156. package/chunk/vi-BOR2GuRI.js +4 -4
  157. package/chunk/zh-HK-BI-IHOGG.js +4 -4
  158. package/chunk/zh-eoMG5RFC.js +4 -4
  159. package/chunk/zu-D_A8wcJW.js +4 -4
  160. package/dev/programIds.d.ts +1 -1
  161. package/es6.css +4 -4
  162. package/jslib.js +25 -25
  163. package/lib/{EmailLoopPending-9TIqOjh0.js → EmailLoopPending-DHyoi6Bo.js} +12 -12
  164. package/lib/{EmailLoopPending-9TIqOjh0.js.map → EmailLoopPending-DHyoi6Bo.js.map} +1 -1
  165. package/lib/LicensedProfessionalOrganizationComponent-DKJY8_Bo.js +52 -0
  166. package/lib/LicensedProfessionalOrganizationComponent-DKJY8_Bo.js.map +1 -0
  167. package/lib/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
  168. package/lib/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
  169. package/lib/StepCollectMilitaryStatusComponent-C3-_M61B.js +11 -0
  170. package/lib/{StepCollectMilitaryStatusComponent-D9AxEZrO.js.map → StepCollectMilitaryStatusComponent-C3-_M61B.js.map} +1 -1
  171. package/{chunk/StepIDCheckLoopOnfido-C9iUX8TC.js → lib/StepIDCheckLoopOnfido-mkqkDAc7.js} +13 -11
  172. package/lib/{StepIDCheckLoopOnfido-tTk18P23.js.map → StepIDCheckLoopOnfido-mkqkDAc7.js.map} +1 -1
  173. package/lib/{StepIDCheckLoopRegula-BzHh3YEv.js → StepIDCheckLoopRegula-8i7ukSzj.js} +22 -21
  174. package/lib/StepIDCheckLoopRegula-8i7ukSzj.js.map +1 -0
  175. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js → StepInactiveMilitaryPersonalInfoComponent-C5mr8-zz.js} +45 -45
  176. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js.map → StepInactiveMilitaryPersonalInfoComponent-C5mr8-zz.js.map} +1 -1
  177. package/lib/VerificationApiUtils-DblEVBsu.js +23 -0
  178. package/lib/{VerificationApiUtils-hb7EqMfE.js.map → VerificationApiUtils-DblEVBsu.js.map} +1 -1
  179. package/lib/ar-CtJ_9k3U.js +4 -4
  180. package/lib/bg-CWxXfiDq.js +4 -4
  181. package/lib/bn-IN-Dpq_hCqt.js +4 -4
  182. package/lib/cs-HevyelX7.js +4 -4
  183. package/lib/da-6QXhWjWH.js +4 -4
  184. package/lib/de-ChuCvRLv.js +4 -4
  185. package/lib/el-3IAhABcN.js +4 -4
  186. package/lib/en-GB-ByNBaer-.js +4 -4
  187. package/lib/es-CL_dUc9X.js +4 -4
  188. package/lib/es-ES-CW4At4Ol.js +4 -4
  189. package/lib/{es6-C6MdgCMX.js → es6-Bax-ZIK1.js} +13137 -11845
  190. package/lib/es6-Bax-ZIK1.js.map +1 -0
  191. package/lib/fi-D8cIebkk.js +4 -4
  192. package/lib/fr-BDU-1C6f.js +4 -4
  193. package/lib/fr-CA-Dc02rv8D.js +4 -4
  194. package/lib/ga-P7eP-INQ.js +4 -4
  195. package/lib/hi-IN-DlmwjoqH.js +4 -4
  196. package/lib/hr-CT_VP_lm.js +4 -4
  197. package/lib/hu-I8Z1uXsR.js +4 -4
  198. package/lib/id-CUPTGKOT.js +4 -4
  199. package/lib/index-B9-1tzv2.js +28 -0
  200. package/lib/{index-BplQ7imw.js.map → index-B9-1tzv2.js.map} +1 -1
  201. package/lib/{index-QQE4f5yZ.js → index-BYh8hnmi.js} +8 -8
  202. package/{chunk/index-Cp0C-9fh.js.map → lib/index-BYh8hnmi.js.map} +1 -1
  203. package/lib/{index-B0q6ScmE.js → index-Bor8xQwD.js} +27 -27
  204. package/lib/{index-B0q6ScmE.js.map → index-Bor8xQwD.js.map} +1 -1
  205. package/lib/{index-qTuKj59y.js → index-By8PwRxR.js} +34 -34
  206. package/{chunk/index-D7O7vvSe.js.map → lib/index-By8PwRxR.js.map} +1 -1
  207. package/lib/{index-vHwl9Ouo.js → index-C0t3HeI1.js} +30 -30
  208. package/lib/{index-vHwl9Ouo.js.map → index-C0t3HeI1.js.map} +1 -1
  209. package/lib/index-C1FdZaTA.js +11 -0
  210. package/lib/index-C1FdZaTA.js.map +1 -0
  211. package/lib/index-CEI7rrAW.js +11 -0
  212. package/lib/index-CEI7rrAW.js.map +1 -0
  213. package/lib/{index-BJIfbxEt.js → index-CFmLOU-H.js} +9 -9
  214. package/lib/{index-BJIfbxEt.js.map → index-CFmLOU-H.js.map} +1 -1
  215. package/lib/{index-B4tPRnWs.js → index-CFof6_XO.js} +76 -75
  216. package/lib/index-CFof6_XO.js.map +1 -0
  217. package/lib/{index-CZodZNg-.js → index-CW1HjY48.js} +5 -5
  218. package/{chunk/index-DhpucFa7.js.map → lib/index-CW1HjY48.js.map} +1 -1
  219. package/lib/{index-DyBgfOX7.js → index-Cc79lE_w.js} +385 -402
  220. package/lib/index-Cc79lE_w.js.map +1 -0
  221. package/lib/{index-BF3H-Cda.js → index-CtBDD9Ra.js} +24 -24
  222. package/{chunk/index-BjaCS2a8.js.map → lib/index-CtBDD9Ra.js.map} +1 -1
  223. package/lib/{index-D4eERCAu.js → index-D5WHNimv.js} +5 -5
  224. package/lib/{index-D4eERCAu.js.map → index-D5WHNimv.js.map} +1 -1
  225. package/lib/{index-cfFxpmJ0.js → index-D8RA_3zM.js} +5 -5
  226. package/lib/{index-cfFxpmJ0.js.map → index-D8RA_3zM.js.map} +1 -1
  227. package/lib/index-DIkWpujR.js +4 -4
  228. package/lib/index-DIkWpujR.js.map +1 -1
  229. package/lib/{index-Cp36Pcoi.js → index-DNy9MAMH.js} +22 -22
  230. package/lib/{index-Cp36Pcoi.js.map → index-DNy9MAMH.js.map} +1 -1
  231. package/lib/index-DY02gOyn.js +11 -0
  232. package/lib/index-DY02gOyn.js.map +1 -0
  233. package/lib/{index-CZjkIENw.js → index-Dr1CSaxo.js} +49 -49
  234. package/lib/{index-CZjkIENw.js.map → index-Dr1CSaxo.js.map} +1 -1
  235. package/lib/{index-BpszpgeX.js → index-DsOGDkYS.js} +26 -26
  236. package/lib/{index-BpszpgeX.js.map → index-DsOGDkYS.js.map} +1 -1
  237. package/lib/{index-uG_slt2C.js → index-DxDA2pF0.js} +7 -7
  238. package/lib/{index-uG_slt2C.js.map → index-DxDA2pF0.js.map} +1 -1
  239. package/lib/index-VwmdVgfA.js +11 -0
  240. package/lib/index-VwmdVgfA.js.map +1 -0
  241. package/lib/{index-DKrXU7hs.js → index-cY-LRN6y.js} +24 -24
  242. package/lib/{index-DKrXU7hs.js.map → index-cY-LRN6y.js.map} +1 -1
  243. package/lib/{index-A2uleoGr.js → index-rFJ4gEYd.js} +58 -58
  244. package/lib/{index-A2uleoGr.js.map → index-rFJ4gEYd.js.map} +1 -1
  245. package/lib/{index-N-dolDtu.js → index-sDIVnQkX.js} +26 -26
  246. package/lib/{index-N-dolDtu.js.map → index-sDIVnQkX.js.map} +1 -1
  247. package/lib/is-CUuXi4qZ.js +4 -4
  248. package/lib/it-BNmynTsg.js +4 -4
  249. package/lib/iw-FGzquR_X.js +4 -4
  250. package/lib/ja-YgUpXA0l.js +4 -4
  251. package/lib/ko-CuNS5J_M.js +4 -4
  252. package/lib/lo-BEf8aFjR.js +4 -4
  253. package/lib/lt-DvX1gz1a.js +4 -4
  254. package/lib/ms-gSqM-Mfi.js +4 -4
  255. package/lib/nl-BE-Cid5LFlN.js +4 -4
  256. package/lib/nl-CUUTswxa.js +4 -4
  257. package/lib/no-BvUqlShV.js +4 -4
  258. package/lib/pl-CU8leZhI.js +4 -4
  259. package/lib/pt-BR-CboWpHFi.js +4 -4
  260. package/lib/pt-BnK7xRT_.js +4 -4
  261. package/lib/ro-BfAyXxSW.js +4 -4
  262. package/lib/ru-BD-YGPuQ.js +4 -4
  263. package/lib/sk-CqsabpdG.js +4 -4
  264. package/lib/sl-CeVAf0S_.js +4 -4
  265. package/lib/sr-DSaHxcCQ.js +4 -4
  266. package/lib/sv-DOyWYViy.js +4 -4
  267. package/lib/sw-2Q7Jo6wp.js +4 -4
  268. package/lib/th-BZ6F9sPf.js +4 -4
  269. package/lib/tr-om80xrv2.js +4 -4
  270. package/lib/uk-Dxugux8e.js +4 -4
  271. package/lib/ur-OBILUeZ7.js +4 -4
  272. package/lib/{useCollectFieldsEndpoint-wNz5nMBP.js → useCollectFieldsEndpoint-CHeRlgj7.js} +8 -8
  273. package/lib/{useCollectFieldsEndpoint-wNz5nMBP.js.map → useCollectFieldsEndpoint-CHeRlgj7.js.map} +1 -1
  274. package/lib/{useEmailFirstExperiment-Bk3uBcKy.js → useEmailFirstExperiment-DFQvJdHp.js} +6 -7
  275. package/lib/{useEmailFirstExperiment-Bk3uBcKy.js.map → useEmailFirstExperiment-DFQvJdHp.js.map} +1 -1
  276. package/lib/vi-BOR2GuRI.js +4 -4
  277. package/lib/zh-HK-BI-IHOGG.js +4 -4
  278. package/lib/zh-eoMG5RFC.js +4 -4
  279. package/lib/zu-D_A8wcJW.js +4 -4
  280. package/package.json +4 -4
  281. package/sheerid-install.css +4 -4
  282. package/sheerid-install.js +6 -6
  283. package/sheerid-install.js.map +1 -1
  284. package/sheerid.css +5 -5
  285. package/sheerid.js +18542 -16867
  286. package/sheerid.js.map +1 -1
  287. package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
  288. package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
  289. package/src/components/Button/Button.d.ts +1 -0
  290. package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +2 -1
  291. package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
  292. package/src/components/DateComponent/DateComponent.d.ts +2 -2
  293. package/src/components/ExtraMessage.d.ts +1 -1
  294. package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
  295. package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
  296. package/src/components/FetchOrganizationsComponent.d.ts +1 -1
  297. package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
  298. package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
  299. package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
  300. package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
  301. package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
  302. package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
  303. package/src/components/FormFields/City/City.d.ts +2 -2
  304. package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
  305. package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
  306. package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
  307. package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
  308. package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
  309. package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
  310. package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
  311. package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
  312. package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
  313. package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
  314. package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
  315. package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
  316. package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
  317. package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
  318. package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
  319. package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
  320. package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
  321. package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
  322. package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
  323. package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
  324. package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
  325. package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
  326. package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
  327. package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
  328. package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
  329. package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
  330. package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
  331. package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
  332. package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
  333. package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
  334. package/src/components/FormFields/SSN/SSN.d.ts +2 -2
  335. package/src/components/FormFields/State/State.d.ts +2 -2
  336. package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
  337. package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
  338. package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
  339. package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
  340. package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
  341. package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
  342. package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
  343. package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
  344. package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
  345. package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
  346. package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
  347. package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
  348. package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
  349. package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
  350. package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
  351. package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
  352. package/src/components/Layout/Layout.d.ts +1 -1
  353. package/src/components/LoadStepComponent.d.ts +1 -1
  354. package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
  355. package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
  356. package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
  357. package/src/components/NewVerificationComponent.d.ts +3 -3
  358. package/src/components/NewVerificationInnerComponent.d.ts +1 -1
  359. package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
  360. package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
  361. package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +2 -1
  362. package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
  363. package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
  364. package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
  365. package/src/components/SingleSignOnComponent.d.ts +2 -2
  366. package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
  367. package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
  368. package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
  369. package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
  370. package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
  371. package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
  372. package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
  373. package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
  374. package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
  375. package/src/components/StepError/StepErrorComponent.d.ts +2 -2
  376. package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
  377. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
  378. package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
  379. package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
  380. package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
  381. package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
  382. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
  383. package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
  384. package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
  385. package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
  386. package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
  387. package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
  388. package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
  389. package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
  390. package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
  391. package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
  392. package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
  393. package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
  394. package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
  395. package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
  396. package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
  397. package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
  398. package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
  399. package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
  400. package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
  401. package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
  402. package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
  403. package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
  404. package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
  405. package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
  406. package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
  407. package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
  408. package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
  409. package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
  410. package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
  411. package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
  412. package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
  413. package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
  414. package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
  415. package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
  416. package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
  417. package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
  418. package/src/lib/hooks/index.d.ts +1 -1
  419. package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
  420. package/src/lib/installScript/affinity.d.ts +1 -1
  421. package/src/lib/installScript/iframe.d.ts +1 -1
  422. package/src/lib/installScript/index.d.ts +3 -3
  423. package/src/lib/installScript/modal.d.ts +1 -1
  424. package/src/lib/state/contextHooks.d.ts +1 -1
  425. package/src/lib/types/runtimeTypes.d.ts +1 -1
  426. package/src/lib/types/types.d.ts +8 -7
  427. package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
  428. package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
  429. package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
  430. package/types-reference.zip +0 -0
  431. package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js +0 -45
  432. package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js.map +0 -1
  433. package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js +0 -49
  434. package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js.map +0 -1
  435. package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js.map +0 -1
  436. package/chunk/StepIDCheckLoopRegula-D8XhToQz.js.map +0 -1
  437. package/chunk/index-B92Kfyw6.js.map +0 -1
  438. package/chunk/index-BW4s6-PH.js.map +0 -1
  439. package/chunk/index-BupTUiiS.js +0 -27
  440. package/chunk/index-BupTUiiS.js.map +0 -1
  441. package/chunk/index-BvGP9l7M.js.map +0 -1
  442. package/chunk/index-CEi_QkyI.js.map +0 -1
  443. package/chunk/index-iZ8pO5if.js +0 -31
  444. package/chunk/index-iZ8pO5if.js.map +0 -1
  445. package/lib/LicensedProfessionalOrganizationComponent-BdlRIkjK.js +0 -46
  446. package/lib/LicensedProfessionalOrganizationComponent-BdlRIkjK.js.map +0 -1
  447. package/lib/StepCollectMilitaryStatusComponent-D9AxEZrO.js +0 -11
  448. package/lib/StepIDCheckLoopRegula-BzHh3YEv.js.map +0 -1
  449. package/lib/VerificationApiUtils-hb7EqMfE.js +0 -21
  450. package/lib/es6-C6MdgCMX.js.map +0 -1
  451. package/lib/index-B4tPRnWs.js.map +0 -1
  452. package/lib/index-BplQ7imw.js +0 -28
  453. package/lib/index-BvlWWXiT.js +0 -11
  454. package/lib/index-BvlWWXiT.js.map +0 -1
  455. package/lib/index-CJvrsSXZ.js +0 -11
  456. package/lib/index-CJvrsSXZ.js.map +0 -1
  457. package/lib/index-DLUpqP9u.js +0 -11
  458. package/lib/index-DLUpqP9u.js.map +0 -1
  459. package/lib/index-DyBgfOX7.js.map +0 -1
  460. package/lib/index-wzVNqFMX.js +0 -11
  461. package/lib/index-wzVNqFMX.js.map +0 -1
package/jslib.js CHANGED
@@ -1,11 +1,11 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142428299
5
- * BUILD_DATE: Thu May 01 2025 23:33:48 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.106.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746221841535
5
+ * BUILD_DATE: Fri May 02 2025 21:37:21 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 9044dfe474729d087a9b0854f585172ebebac94e
7
7
  */
8
- import { bz as s, cU as o, U as t, a5 as n, aK as i, ea as r, cO as d, x as l, aa as m, av as c, ai as p, C, c$ as g, cP as E, a2 as S, bC as u, bB as R, bE as I, dB as b, aM as T, e9 as V, aT as _, E as y, _ as F, ei as M, b9 as O, dS as D, z as L, bm as f, e7 as P, N as h, as as N, aq as A, cS as U, Y as v, cT as k, a1 as w, o as G, dl as B, dA as Q, dC as H, bG as Y, bh as x, bo as W, c_ as q, d2 as z, a7 as J, t as K, dR as X, dN as j, dQ as Z, dM as $, ek as aa, em as ea, T as sa, e6 as oa, am as ta, bp as na, q as ia, aW as ra, bg as da, b5 as la, ej as ma, eh as ca, Z as pa, ay as Ca, aw as ga, a6 as Ea, a3 as Sa, aP as ua, bj as Ra, bq as Ia, bs as ba, cQ as Ta, dL as Va, dU as _a, n as ya, M as Fa, X as Ma, dz as Oa, P as Da, W as La, dP as fa, cW as Pa, cX as ha, bK as Na, Q as Aa, bN as Ua, bM as va, ad as ka, bL as wa, bI as Ga, bH as Ba, bJ as Qa, el as Ha, d1 as Ya, R as xa, b4 as Wa, bF as qa, a0 as za, bD as Ja, d0 as Ka, aQ as Xa, bl as ja, d$ as Za, dW as $a, d_ as ae, y as ee, dX as se, w as oe, cR as te, bi as ne, aj as ie, ac as re, a as de, v as le, e3 as me, e4 as ce, e5 as pe, b as Ce, S as ge, b1 as Ee, an as Se, cZ as ue, cY as Re, bn as Ie, dO as be, bA as Te, cV as Ve, J as _e, cN as ye, bk as Fe, V as Me, bf as Oe, cl as De, dF as Le, dr as fe, c2 as Pe, c0 as he, bW as Ne, b_ as Ae, bY as Ue, bZ as ve, bU as ke, bT as we, bR as Ge, bV as Be, bS as Qe, b$ as He, bX as Ye, bQ as xe, at as We, dd as qe, bu as ze, e8 as Je, cC as Ke, dH as Xe, dG as je, ch as Ze, da as $e, db as as, dY as es, dn as ss, c4 as os, cK as ts, dD as ns, dc as is, dm as rs, a8 as ds, d3 as ls, cu as ms, aJ as cs, ak as ps, cs as Cs, ct as gs, cB as Es, cg as Ss, ci as us, a9 as Rs, cH as Is, dq as bs, b8 as Ts, cv as Vs, dk as _s, cr as ys, d5 as Fs, c5 as Ms, dj as Os, cE as Ds, d4 as Ls, cm as fs, ae as Ps, cx as hs, aR as Ns, cw as As, dE as Us, co as vs, dv as ks, du as ws, ds as Gs, $ as Bs, cA as Qs, dy as Hs, cb as Ys, c9 as xs, cz as Ws, cy as qs, dt as zs, e as Js, cI as Ks, bd as Xs, bx as js, dx as Zs, h as $s, d9 as ao, ap as eo, bv as so, cL as oo, cJ as to, dw as no, d6 as io, m as ro, dT as lo, i as mo, cn as co, dK as po, c7 as Co, c6 as go, eg as Eo, c1 as So, c8 as uo, dI as Ro, e0 as Io, e1 as bo, l as To, aX as Vo, dg as _o, cF as yo, ca as Fo, de as Mo, G as Oo, e2 as Do, dV as Lo, df as fo, ab as Po, d8 as ho, eb as No, ed as Ao, ec as Uo, di as vo, br as ko, cM as wo, cj as Go, ba as Bo, ck as Qo, cq as Ho, bP as Yo, cG as xo, cc as Wo, aO as qo, dh as zo, bw as Jo, ce as Ko, cD as Xo, cf as jo, ee as Zo, by as $o, ef as at, cp as et, bO as st, D as ot, bt as tt, cd as nt, ah as it, ao as rt, dp as dt, dJ as lt, B as mt, dZ as ct, d7 as pt, u as Ct, aN as gt, a4 as Et, H as St, be as ut, c3 as Rt } from "./lib/es6-C6MdgCMX.js";
8
+ import { by as s, cT as o, U as t, a4 as n, aK as i, e9 as r, cN as d, w as l, a9 as m, au as c, ah as p, C, c_ as g, cO as E, a1 as S, bB as u, bA as R, bD as I, dA as b, aM as T, e8 as V, aS as _, E as y, _ as F, eh as M, b8 as O, dR as D, y as L, bl as f, e6 as P, O as h, aq as N, as as A, cR as U, Y as v, cS as k, a0 as w, p as G, dk as B, dz as Q, dB as H, bF as Y, bg as x, bn as W, cZ as z, d1 as q, a6 as K, D as J, dQ as X, dM as j, dP as Z, dL as $, ej as aa, el as ea, T as sa, e5 as oa, al as ta, bo as na, r as ia, aV as ra, bf as da, b4 as la, ei as ma, eg as ca, Z as pa, aw as Ca, ax as ga, a5 as Ea, a2 as Sa, aO as ua, bi as Ra, bp as Ia, br as ba, cP as Ta, dK as Va, dT as _a, o as ya, M as Fa, X as Ma, dy as Oa, P as Da, W as La, dO as fa, cV as Pa, cW as ha, bJ as Na, Q as Aa, bM as Ua, bL as va, ac as ka, bK as wa, bH as Ga, bG as Ba, bI as Qa, ek as Ha, d0 as Ya, R as xa, b3 as Wa, bE as za, $ as qa, bC as Ka, c$ as Ja, aP as Xa, bk as ja, d_ as Za, dV as $a, dZ as ae, x as ee, dW as se, v as oe, cQ as te, bh as ne, ai as ie, ab as re, a as de, G as le, e2 as me, e3 as ce, e4 as pe, b as Ce, S as ge, b0 as Ee, am as Se, cY as ue, cX as Re, bm as Ie, dN as be, bz as Te, cU as Ve, K as _e, cM as ye, bj as Fe, V as Me, be as Oe, ck as De, dE as Le, dq as fe, c1 as Pe, b$ as he, bV as Ne, bZ as Ae, bX as Ue, bY as ve, bT as ke, bS as we, bQ as Ge, bU as Be, bR as Qe, b_ as He, bW as Ye, bP as xe, ar as We, dc as ze, bt as qe, e7 as Ke, cB as Je, dG as Xe, dF as je, cg as Ze, d9 as $e, da as as, dX as es, dm as ss, c3 as os, cJ as ts, dC as ns, db as is, dl as rs, a7 as ds, d2 as ls, ct as ms, aI as cs, aj as ps, cr as Cs, cs as gs, cA as Es, cf as Ss, ch as us, a8 as Rs, cG as Is, dp as bs, b7 as Ts, cu as Vs, dj as _s, cq as ys, d4 as Fs, c4 as Ms, di as Os, cD as Ds, d3 as Ls, cl as fs, ad as Ps, cw as hs, aQ as Ns, cv as As, dD as Us, cn as vs, du as ks, dt as ws, dr as Gs, N as Bs, cz as Qs, dx as Hs, ca as Ys, c8 as xs, cy as Ws, cx as zs, ds as qs, e as Ks, cH as Js, ba as Xs, bw as js, dw as Zs, i as $s, d8 as ao, ap as eo, bu as so, cK as oo, cI as to, dv as no, d5 as io, n as ro, dS as lo, k as mo, cm as co, dJ as po, c6 as Co, c5 as go, ef as Eo, c0 as So, c7 as uo, dH as Ro, d$ as Io, e0 as bo, l as To, aW as Vo, df as _o, cE as yo, c9 as Fo, dd as Mo, H as Oo, e1 as Do, dU as Lo, de as fo, aa as Po, d7 as ho, ea as No, ec as Ao, eb as Uo, dh as vo, bq as ko, cL as wo, ci as Go, b9 as Bo, cj as Qo, cp as Ho, bO as Yo, cF as xo, cb as Wo, aJ as zo, dg as qo, bv as Ko, cd as Jo, cC as Xo, ce as jo, ed as Zo, bx as $o, ee as at, co as et, bN as st, z as ot, bs as tt, cc as nt, ag as it, an as rt, dn as dt, dI as lt, B as mt, dY as ct, d6 as pt, u as Ct, aN as gt, a3 as Et, J as St, bd as ut, c2 as Rt } from "./lib/es6-Bax-ZIK1.js";
9
9
  export {
10
10
  s as ACCEPTED_DOC_MIME_TYPES,
11
11
  o as AcceptableUploadsComponent,
@@ -51,10 +51,10 @@ export {
51
51
  Y as HTTP_REQUEST_TIMEOUT,
52
52
  x as HookNameEnum,
53
53
  W as HookNames,
54
- q as HowDoesVerifyingWorkComponent,
55
- z as IDCheckLoopPendingComponent,
56
- J as IdCheckLoopOnfidoComponent,
57
- K as IdCheckLoopRegulaComponent,
54
+ z as HowDoesVerifyingWorkComponent,
55
+ q as IDCheckLoopPendingComponent,
56
+ K as IdCheckLoopOnfidoComponent,
57
+ J as IdCheckLoopRegulaComponent,
58
58
  X as InputSelectButtonComponent,
59
59
  j as InputSelectComponent,
60
60
  Z as InputSelectListComponent,
@@ -105,10 +105,10 @@ export {
105
105
  Ya as ReviewPendingComponent,
106
106
  xa as RewardDisplayEnum,
107
107
  Wa as RewardsRemainingComponent,
108
- qa as SHEERID,
109
- za as SMSCodeComponent,
110
- Ja as SSN_STRING_LENGTH,
111
- Ka as SSOPendingComponent,
108
+ za as SHEERID,
109
+ qa as SMSCodeComponent,
110
+ Ka as SSN_STRING_LENGTH,
111
+ Ja as SSOPendingComponent,
112
112
  Xa as SegmentEnum,
113
113
  ja as Segments,
114
114
  Za as SelectButtonComponent,
@@ -159,10 +159,10 @@ export {
159
159
  Ye as assertValidTryAgainStep,
160
160
  xe as assertValidVerificationStepName,
161
161
  We as blankOrganization,
162
- qe as carrierConsentValueValidator,
163
- ze as closeTabRef,
164
- Je as collectDeviceProfile,
165
- Ke as conversion,
162
+ ze as carrierConsentValueValidator,
163
+ qe as closeTabRef,
164
+ Ke as collectDeviceProfile,
165
+ Je as conversion,
166
166
  Xe as convertByTrackingId,
167
167
  je as convertByVerificationId,
168
168
  Ze as customValidatorExists,
@@ -213,10 +213,10 @@ export {
213
213
  Ys as getOverridenValidator,
214
214
  xs as getPhoneNumberValidationError,
215
215
  Ws as getPrivacyPolicyCompanyName,
216
- qs as getPrivacyPolicyUrl,
217
- zs as getProgramThemeUrl,
218
- Js as getQueryOrOption,
219
- Ks as getQueryParamsFromUrl,
216
+ zs as getPrivacyPolicyUrl,
217
+ qs as getProgramThemeUrl,
218
+ Ks as getQueryOrOption,
219
+ Js as getQueryParamsFromUrl,
220
220
  Xs as getRefByFieldId,
221
221
  js as getRefs,
222
222
  Zs as getRouteOverride,
@@ -266,10 +266,10 @@ export {
266
266
  Yo as resetOptions,
267
267
  xo as resetOverriddenComponents,
268
268
  Wo as resetOverriddenValidators,
269
- qo as resetRefs,
270
- zo as resetStore,
271
- Jo as resetTabRef,
272
- Ko as resetViewModel,
269
+ zo as resetRefs,
270
+ qo as resetStore,
271
+ Ko as resetTabRef,
272
+ Jo as resetViewModel,
273
273
  Xo as resolveTrackingId,
274
274
  jo as setCustomValidator,
275
275
  Zo as setDimension,
@@ -1,15 +1,15 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142428299
5
- * BUILD_DATE: Thu May 01 2025 23:33:48 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.106.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746221841535
5
+ * BUILD_DATE: Fri May 02 2025 21:37:21 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 9044dfe474729d087a9b0854f585172ebebac94e
7
7
  */
8
- import { h as _, G as C, H as w, j as e, q as y, A as V, l as g, V as f, J as A, K as T } from "./es6-C6MdgCMX.js";
8
+ import { i as _, H as C, J as w, j as e, r as y, A as V, l as g, V as f, q as A, K as T } from "./es6-Bax-ZIK1.js";
9
9
  import n from "react";
10
- import { FormattedHTMLMessage as a, injectIntl as v } from "react-intl";
10
+ import { injectIntl as v, FormattedHTMLMessage as a } from "react-intl";
11
11
  const P = 1e4, H = ({ intl: o, verificationService: s }) => {
12
- const t = s.verificationResponse, { programId: h } = s, { verificationId: d } = t, { canResendEmailLoop: x } = t, L = t.cancelUrl, i = s.viewModel, m = s.previousViewModel || void 0, b = s.previousVerificationResponse || void 0, [c, r] = n.useState(""), p = _(() => m.email), M = () => {
12
+ const t = s.verificationResponse, { programId: h } = s, { verificationId: d } = t, { canResendEmailLoop: x } = t, L = t.cancelUrl, i = s.viewModel, m = s.previousViewModel || void 0, b = s.previousVerificationResponse || void 0, [r, c] = n.useState(""), p = _(() => m.email), M = () => {
13
13
  g.info("StepEmailLoopComponent submitting form"), s.submitStep(
14
14
  f.emailLoop,
15
15
  i,
@@ -30,7 +30,7 @@ const P = 1e4, H = ({ intl: o, verificationService: s }) => {
30
30
  );
31
31
  }, P);
32
32
  const j = async (l) => {
33
- const u = await A.getResendNewEmailCode(l);
33
+ const u = await T.getResendNewEmailCode(l);
34
34
  if (u) {
35
35
  const k = {
36
36
  id: "step.emailLoop.successResend",
@@ -39,9 +39,9 @@ const P = 1e4, H = ({ intl: o, verificationService: s }) => {
39
39
  id: "step.emailLoop.errors.resend",
40
40
  defaultMessage: "Error sending email"
41
41
  }, N = u.status === 204 ? o.formatHTMLMessage(k) : o.formatHTMLMessage(R);
42
- r(N);
42
+ c(N);
43
43
  } else
44
- r(
44
+ c(
45
45
  o.formatHTMLMessage({
46
46
  id: "step.emailLoop.errors.resend",
47
47
  defaultMessage: "Error sending email"
@@ -49,7 +49,7 @@ const P = 1e4, H = ({ intl: o, verificationService: s }) => {
49
49
  );
50
50
  }, E = async () => {
51
51
  g.info("StepEmailLoopComponent submitting form after skipping email loop");
52
- const l = T(i, () => {
52
+ const l = A(i, () => {
53
53
  });
54
54
  s.submitStep(
55
55
  f.cancelEmailLoop,
@@ -134,7 +134,7 @@ const P = 1e4, H = ({ intl: o, verificationService: s }) => {
134
134
  children: /* @__PURE__ */ e.jsx(a, { id: "step.emailLoop.resendButton", defaultMessage: "Re-send" })
135
135
  }
136
136
  ) }),
137
- c && /* @__PURE__ */ e.jsx("div", { className: "sid-resent-email-loop-email-message", children: /* @__PURE__ */ e.jsx("p", { children: c }) }),
137
+ r && /* @__PURE__ */ e.jsx("div", { className: "sid-resent-email-loop-email-message", children: /* @__PURE__ */ e.jsx("p", { children: r }) }),
138
138
  /* @__PURE__ */ e.jsx("div", { className: "sid-l-space-top-xl" })
139
139
  ] });
140
140
  }, F = v(H);
@@ -1 +1 @@
1
- {"version":3,"file":"EmailLoopPending-9TIqOjh0.js","sources":["../../src/components/StepEmailLoop/EmailLoopPending.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { injectIntl, FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n StudentPersonalInfoViewModel,\n EmailLoopViewModel,\n EmailLoopResponse,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { populateViewModelFromQueryParams } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { usePollingInterval } from \"../../lib/utils/usePollingInterval/usePollingInterval\";\n\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { StepEmailLoopComponentProps } from \"./StepEmailLoopComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nconst EMAIL_LOOP_POLL_DURATION = 10000;\n\nexport const EmailLoopPending = ({ intl, verificationService }: StepEmailLoopComponentProps) => {\n const verificationResponse = verificationService.verificationResponse as EmailLoopResponse;\n const { programId } = verificationService;\n const { verificationId } = verificationResponse;\n const { canResendEmailLoop } = verificationResponse;\n const canCancelEmailLoop = verificationResponse.cancelUrl;\n const viewModel = verificationService.viewModel as EmailLoopViewModel;\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n const previousVerificationResponse =\n verificationService.previousVerificationResponse || undefined;\n\n const [resendMessage, setResendMessage] = React.useState(\"\");\n const email = getSafe(() => previousViewModel.email);\n\n const submitForm = () => {\n logger.info(\"StepEmailLoopComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.emailLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n populateViewModelFromQueryParams(verificationService);\n }, []);\n\n React.useEffect(() => {\n if (viewModel.emailToken) {\n submitForm();\n }\n }, [viewModel.emailToken]);\n\n usePollingInterval(() => {\n verificationService.fetchExistingVerificationRequest(\n programId,\n verificationId,\n previousVerificationResponse,\n previousViewModel,\n false,\n );\n }, EMAIL_LOOP_POLL_DURATION);\n\n const resendEmail = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewEmailCode(verificationId);\n if (response) {\n const successMsgObject = {\n id: \"step.emailLoop.successResend\",\n defaultMessage: \"Email re-sent successfully.\",\n };\n const maxRetriesMsgObject = {\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n };\n const message =\n response.status === 204\n ? intl.formatHTMLMessage(successMsgObject)\n : intl.formatHTMLMessage(maxRetriesMsgObject);\n setResendMessage(message);\n } else {\n setResendMessage(\n intl.formatHTMLMessage({\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n }),\n );\n }\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div className=\"sid-header sid-l-horz-center\">\n <div className=\"sid-email-loop-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-email-loop-logo sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.title\"\n defaultMessage=\"Check your email\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {email ? (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithEmail\"\n defaultMessage=\"An email has been sent to {email} with a personalized link to complete the verification process.\"\n values={{ email }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithoutEmail\"\n defaultMessage=\"An email has been sent to your email account with a personalized link to complete the verification process.\"\n />\n )}\n </div>\n\n <div className=\"sid-l-space-top-md\" />\n\n <div className=\"sid-header__subtitle-two sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitle2\"\n defaultMessage=\"Please check for an email from us (verify@sheerid.com) for all the details.\"\n />\n </div>\n\n {canCancelEmailLoop && (\n <div className=\"sid-skip-email sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.skipEmail\"\n defaultMessage=\"Unable to retrieve this email? Click \"\n />\n &nbsp;\n <button\n type=\"button\"\n onClick={() => cancelEmailLoop()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmailCTA\" defaultMessage=\"here\" />\n </button>\n &nbsp;\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmail2\" defaultMessage=\" to proceed.\" />\n </div>\n )}\n\n {canResendEmailLoop && (\n <div className=\"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center\">\n <button\n id=\"sid-resend-email\"\n onClick={() => resendEmail(verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n )}\n\n {resendMessage && (\n <div className=\"sid-resent-email-loop-email-message\">\n <p>{resendMessage}</p>\n </div>\n )}\n\n <div className=\"sid-l-space-top-xl\" />\n </div>\n );\n};\n\nexport const EmailLoopPendingComponent = injectIntl(EmailLoopPending);\nexport default EmailLoopPendingComponent;\n"],"names":["EMAIL_LOOP_POLL_DURATION","EmailLoopPending","intl","verificationService","verificationResponse","programId","verificationId","canResendEmailLoop","canCancelEmailLoop","viewModel","previousViewModel","previousVerificationResponse","resendMessage","setResendMessage","React","email","getSafe","submitForm","logger","VerificationStepsEnum","populateViewModelFromQueryParams","usePollingInterval","resendEmail","response","VerificationApiClient","successMsgObject","maxRetriesMsgObject","message","cancelEmailLoop","nextState","produce","jsxs","jsx","LogoComponent","AnnouncingHeader","FormattedHTMLMessage","EmailLoopPendingComponent","injectIntl"],"mappings":";;;AAqBA,MAAMA,IAA2B,KAEpBC,IAAmB,CAAC,EAAE,MAAAC,GAAM,qBAAAC,QAAuD;AAC9F,QAAMC,IAAuBD,EAAoB,sBAC3C,EAAE,WAAAE,EAAc,IAAAF,GAChB,EAAE,gBAAAG,EAAmB,IAAAF,GACrB,EAAE,oBAAAG,EAAuB,IAAAH,GACzBI,IAAqBJ,EAAqB,WAC1CK,IAAYN,EAAoB,WAChCO,IACHP,EAAoB,qBAAsD,QACvEQ,IACJR,EAAoB,gCAAgC,QAEhD,CAACS,GAAeC,CAAgB,IAAIC,EAAM,SAAS,EAAE,GACrDC,IAAQC,EAAQ,MAAMN,EAAkB,KAAK,GAE7CO,IAAa,MAAM;AACvB,IAAAC,EAAO,KAAK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AAA;AAAA,UACC,MAAK;AAAA,UACL,SAAS,MAAMJ,EAAgB;AAAA,UAC/B,WAAU;AAAA,UAEV,UAACI,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,+BAA8B,gBAAe,QAAO;AAAA,QAAA;AAAA,MAC/E;AAAA,MAAS;AAAA,MAERH,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,gBAAe;AAAA,IAAA,GACrF;AAAA,IAGD5B,KACCyB,gBAAAA,EAAA,IAAC,OAAI,EAAA,WAAU,0EACb,UAAAA,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,SAAS,MAAMV,EAAYhB,CAAc;AAAA,QACzC,MAAK;AAAA,QACL,WAAU;AAAA,QACV,cAAW;AAAA,QAEX,UAAC0B,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,+BAA8B,gBAAe,WAAU;AAAA,MAAA;AAAA,IAAA,GAEpF;AAAA,IAGDvB,2BACE,OAAI,EAAA,WAAU,uCACb,UAACoB,gBAAAA,EAAA,IAAA,KAAA,EAAG,aAAc,EACpB,CAAA;AAAA,IAGFA,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,qBAAqB,CAAA;AAAA,EACtC,EAAA,CAAA;AAEJ,GAEaI,IAA4BC,EAAWpC,CAAgB;"}
1
+ {"version":3,"file":"EmailLoopPending-DHyoi6Bo.js","sources":["../../src/components/StepEmailLoop/EmailLoopPending.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { injectIntl, FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n StudentPersonalInfoViewModel,\n EmailLoopViewModel,\n EmailLoopResponse,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\n\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { populateViewModelFromQueryParams } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { usePollingInterval } from \"../../lib/utils/usePollingInterval/usePollingInterval\";\n\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { StepEmailLoopComponentProps } from \"./StepEmailLoopComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nconst EMAIL_LOOP_POLL_DURATION = 10000;\n\nexport const EmailLoopPending = ({ intl, verificationService }: StepEmailLoopComponentProps) => {\n const verificationResponse = verificationService.verificationResponse as EmailLoopResponse;\n const { programId } = verificationService;\n const { verificationId } = verificationResponse;\n const { canResendEmailLoop } = verificationResponse;\n const canCancelEmailLoop = verificationResponse.cancelUrl;\n const viewModel = verificationService.viewModel as EmailLoopViewModel;\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n const previousVerificationResponse =\n verificationService.previousVerificationResponse || undefined;\n\n const [resendMessage, setResendMessage] = React.useState(\"\");\n const email = getSafe(() => previousViewModel.email);\n\n const submitForm = () => {\n logger.info(\"StepEmailLoopComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.emailLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n populateViewModelFromQueryParams(verificationService);\n }, []);\n\n React.useEffect(() => {\n if (viewModel.emailToken) {\n submitForm();\n }\n }, [viewModel.emailToken]);\n\n usePollingInterval(() => {\n verificationService.fetchExistingVerificationRequest(\n programId,\n verificationId,\n previousVerificationResponse,\n previousViewModel,\n false,\n );\n }, EMAIL_LOOP_POLL_DURATION);\n\n const resendEmail = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewEmailCode(verificationId);\n if (response) {\n const successMsgObject = {\n id: \"step.emailLoop.successResend\",\n defaultMessage: \"Email re-sent successfully.\",\n };\n const maxRetriesMsgObject = {\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n };\n const message =\n response.status === 204\n ? intl.formatHTMLMessage(successMsgObject)\n : intl.formatHTMLMessage(maxRetriesMsgObject);\n setResendMessage(message);\n } else {\n setResendMessage(\n intl.formatHTMLMessage({\n id: \"step.emailLoop.errors.resend\",\n defaultMessage: \"Error sending email\",\n }),\n );\n }\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <div className=\"sid-header sid-l-horz-center\">\n <div className=\"sid-email-loop-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-email-loop-logo sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.title\"\n defaultMessage=\"Check your email\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {email ? (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithEmail\"\n defaultMessage=\"An email has been sent to {email} with a personalized link to complete the verification process.\"\n values={{ email }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitleWithoutEmail\"\n defaultMessage=\"An email has been sent to your email account with a personalized link to complete the verification process.\"\n />\n )}\n </div>\n\n <div className=\"sid-l-space-top-md\" />\n\n <div className=\"sid-header__subtitle-two sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.subtitle2\"\n defaultMessage=\"Please check for an email from us (verify@sheerid.com) for all the details.\"\n />\n </div>\n\n {canCancelEmailLoop && (\n <div className=\"sid-skip-email sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.skipEmail\"\n defaultMessage=\"Unable to retrieve this email? Click \"\n />\n &nbsp;\n <button\n type=\"button\"\n onClick={() => cancelEmailLoop()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmailCTA\" defaultMessage=\"here\" />\n </button>\n &nbsp;\n <FormattedHTMLMessage id=\"step.emailLoop.skipEmail2\" defaultMessage=\" to proceed.\" />\n </div>\n )}\n\n {canResendEmailLoop && (\n <div className=\"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center\">\n <button\n id=\"sid-resend-email\"\n onClick={() => resendEmail(verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-btn--light sid-resend-email-btn sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.emailLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n )}\n\n {resendMessage && (\n <div className=\"sid-resent-email-loop-email-message\">\n <p>{resendMessage}</p>\n </div>\n )}\n\n <div className=\"sid-l-space-top-xl\" />\n </div>\n );\n};\n\nexport const EmailLoopPendingComponent = injectIntl(EmailLoopPending);\nexport default EmailLoopPendingComponent;\n"],"names":["EMAIL_LOOP_POLL_DURATION","EmailLoopPending","intl","verificationService","verificationResponse","programId","verificationId","canResendEmailLoop","canCancelEmailLoop","viewModel","previousViewModel","previousVerificationResponse","resendMessage","setResendMessage","React","email","getSafe","submitForm","logger","VerificationStepsEnum","populateViewModelFromQueryParams","usePollingInterval","resendEmail","response","VerificationApiClient","successMsgObject","maxRetriesMsgObject","message","cancelEmailLoop","nextState","produce","jsxs","jsx","LogoComponent","AnnouncingHeader","FormattedHTMLMessage","EmailLoopPendingComponent","injectIntl"],"mappings":";;;AAqBA,MAAMA,IAA2B,KAEpBC,IAAmB,CAAC,EAAE,MAAAC,GAAM,qBAAAC,QAAuD;AAC9F,QAAMC,IAAuBD,EAAoB,sBAC3C,EAAE,WAAAE,MAAcF,GAChB,EAAE,gBAAAG,MAAmBF,GACrB,EAAE,oBAAAG,MAAuBH,GACz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 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 9044dfe474729d087a9b0854f585172ebebac94e
7
+ */
8
+ import { f as m, j as a, F as f, h } from "./es6-Bax-ZIK1.js";
9
+ import { injectIntl as u, FormattedHTMLMessage as i } from "react-intl";
10
+ const z = ({
11
+ value: s,
12
+ isErrored: r,
13
+ onChange: d,
14
+ verificationService: e,
15
+ intl: t,
16
+ placeholder: o = "",
17
+ disabled: l = !1
18
+ }) => {
19
+ var n;
20
+ return ((n = m("organization")) == null ? void 0 : n.hidden) ? null : /* @__PURE__ */ a.jsx(
21
+ f,
22
+ {
23
+ fieldId: "licensed-professional",
24
+ value: s,
25
+ verificationService: e,
26
+ onChange: (g) => d(g),
27
+ placeholder: o || t.formatHTMLMessage({
28
+ id: "organizationNamePlaceholder",
29
+ defaultMessage: "Organization"
30
+ }),
31
+ label: /* @__PURE__ */ a.jsx(i, { id: "organization", defaultMessage: "Organization" }),
32
+ errorMessage: r && /* @__PURE__ */ a.jsx(
33
+ i,
34
+ {
35
+ id: "errorId.invalidOrganization",
36
+ defaultMessage: "You must select an organization from the list"
37
+ }
38
+ ),
39
+ orgSearchUrl: h(
40
+ e.viewModel,
41
+ e.programTheme
42
+ ),
43
+ showPlaceholderAndHideLabel: !!o,
44
+ disabled: l
45
+ }
46
+ );
47
+ }, F = u(
48
+ z
49
+ );
50
+ export {
51
+ F as L
52
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LicensedProfessionalOrganizationComponent-DKJY8_Bo.js","sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport {\n FormFieldComponentProps,\n VerificationServiceProps,\n Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"licensed-professional\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationNamePlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const LicensedProfessionalOrganizationComponent = injectIntl(\n LicensedProfessionalOrganization,\n);\n"],"names":["LicensedProfessionalOrganization","value","isErrored","onChange","verificationService","intl","placeholder","disabled","_a","getFieldConfigByFieldId","jsx","FormFieldTypeahead","choice","FormattedHTMLMessage","getOrgSearchUrl","LicensedProfessionalOrganizationComponent","injectIntl"],"mappings":";;AAWO,MAAMA,IAAmC,CAAC;AAAA,EAC/C,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC,IAAW;AACb,MAA0D;;AAGxD,WAFsBC,IAAAC,EAAwB,cAAc,MAAtC,gBAAAD,EAAyC,UAGtD,OAIPE,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,OAAAV;AAAA,MACA,qBAAAG;AAAA,MACA,UAAU,CAACQ,MAAyBT,EAASS,CAAM;AAAA,MACnD,aACEN,KACAD,EAAK,kBAAkB;AAAA,QACrB,IAAI;AAAA,QACJ,gBAAgB;AAAA,MAAA,CACjB;AAAA,MAEH,OAAQK,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,gBAAe,gBAAe,gBAAe;AAAA,MAC7E,cACEX,KACEQ,gBAAAA,EAAA;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,IAAG;AAAA,UACH,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MAGJ,cAAcC;AAAA,QACZV,EAAoB;AAAA,QACpBA,EAAoB;AAAA,MACtB;AAAA,MACA,6BAA6B,CAAC,CAACE;AAAA,MAC/B,UAAAC;AAAA,IAAA;AAAA,EACF;AAEJ,GAEaQ,IAA4CC;AAAA,EACvDhB;AACF;"}
@@ -1,29 +1,29 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142428299
5
- * BUILD_DATE: Thu May 01 2025 23:33:48 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.106.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746221841535
5
+ * BUILD_DATE: Fri May 02 2025 21:37:21 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 9044dfe474729d087a9b0854f585172ebebac94e
7
7
  */
8
- var a = Object.defineProperty, l = (t, e, n) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, i = (t, e, n) => (l(t, typeof e != "symbol" ? e + "" : e, n), n);
8
+ var a = Object.defineProperty, l = (n, e, t) => e in n ? a(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, i = (n, e, t) => (l(n, typeof e != "symbol" ? e + "" : e, t), t);
9
9
  class d {
10
10
  constructor() {
11
11
  this.eventListener = {};
12
12
  }
13
- addEventListener(e, n) {
14
- return this.eventListener[e] = this.eventListener[e] || [], this.eventListener[e].push(n), this;
13
+ addEventListener(e, t) {
14
+ return this.eventListener[e] = this.eventListener[e] || [], this.eventListener[e].push(t), this;
15
15
  }
16
- removeEventListener(e, n) {
16
+ removeEventListener(e, t) {
17
17
  const r = this.eventListener[e];
18
18
  if (r) {
19
19
  let s;
20
- for (; (s = r.indexOf(n)) !== -1; )
20
+ for (; (s = r.indexOf(t)) !== -1; )
21
21
  r.splice(s, 1);
22
22
  }
23
23
  }
24
- trigger(e, n) {
24
+ trigger(e, t) {
25
25
  (this.eventListener[e] || []).forEach((r) => {
26
- r == null || r(n);
26
+ r == null || r(t);
27
27
  });
28
28
  }
29
29
  }
@@ -33,17 +33,17 @@ class v extends d {
33
33
  super(...arguments), i(this, "_handle"), i(this, "_handleSetCallbacks", []);
34
34
  }
35
35
  _setHandle(e) {
36
- this._handle = e, this._handleSetCallbacks.forEach((n) => n(e)), this._handleSetCallbacks = [], Object.entries(this.eventListener).forEach(([n, r]) => {
37
- e.addEventListener(n, r);
36
+ this._handle = e, this._handleSetCallbacks.forEach((t) => t(e)), this._handleSetCallbacks = [], Object.entries(this.eventListener).forEach(([t, r]) => {
37
+ e.addEventListener(t, r);
38
38
  }), this.eventListener = {};
39
39
  }
40
- addEventListener(e, n) {
41
- return this._handle ? (this._handle.addEventListener(e, n), this) : super.addEventListener(e, n);
40
+ addEventListener(e, t) {
41
+ return this._handle ? (this._handle.addEventListener(e, t), this) : super.addEventListener(e, t);
42
42
  }
43
- removeEventListener(e, n) {
43
+ removeEventListener(e, t) {
44
44
  if (this._handle)
45
- return this._handle.removeEventListener(e, n), this;
46
- super.removeEventListener(e, n);
45
+ return this._handle.removeEventListener(e, t), this;
46
+ super.removeEventListener(e, t);
47
47
  }
48
48
  async tearDown() {
49
49
  var e;
@@ -59,26 +59,26 @@ class v extends d {
59
59
  return (e = this._handle) == null ? void 0 : e.version;
60
60
  }
61
61
  }
62
- const c = (t) => `v${(t || h).replace(/^v/, "")}`, o = {
63
- init(t) {
62
+ const c = (n) => `v${(n || h).replace(/^v/, "")}`, o = {
63
+ init(n) {
64
64
  const e = new v();
65
65
  return import(
66
66
  /* webpackIgnore: true */
67
67
  /* @vite-ignore */
68
- t.sdkUrl || `https://sdk.onfido.com/${c(t.version)}/Onfido.js`
69
- ).then((n) => {
70
- const { Onfido: r } = n;
71
- e._setHandle(r.init(t));
72
- }).catch((n) => {
68
+ n.sdkUrl || `https://sdk.onfido.com/${c(n.version)}/Onfido.js`
69
+ ).then((t) => {
70
+ const { Onfido: r } = t;
71
+ e._setHandle(r.init(n));
72
+ }).catch((t) => {
73
73
  var r;
74
- e.trigger("error", { error: n }), (r = t.onError) == null || r.call(t, n);
74
+ e.trigger("error", { error: t }), (r = n.onError) == null || r.call(n, t);
75
75
  }), e;
76
76
  }
77
77
  };
78
78
  Object.defineProperty(o, "environment", {
79
79
  get: () => window == null ? void 0 : window.Onfido.environment,
80
- set: (t) => {
81
- window.Onfido = window.Onfido || {}, window.Onfido.environment = t;
80
+ set: (n) => {
81
+ window.Onfido = window.Onfido || {}, window.Onfido.environment = n;
82
82
  }
83
83
  });
84
84
  const u = o;
@@ -1 +1 @@
1
- {"version":3,"file":"Onfido-CMH3IUna.js","sources":["../../node_modules/onfido-sdk-ui/Onfido.js"],"sourcesContent":["var d = Object.defineProperty;\nvar h = (i, t, e) => t in i ? d(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;\nvar r = (i, t, e) => (h(i, typeof t != \"symbol\" ? t + \"\" : t, e), e);\nclass l {\n constructor() {\n this.eventListener = {};\n }\n addEventListener(t, e) {\n return this.eventListener[t] = this.eventListener[t] || [], this.eventListener[t].push(e), this;\n }\n removeEventListener(t, e) {\n const n = this.eventListener[t];\n if (n) {\n let s;\n for (; (s = n.indexOf(e)) !== -1; )\n n.splice(s, 1);\n }\n }\n trigger(t, e) {\n (this.eventListener[t] || []).forEach((n) => {\n n == null || n(e);\n });\n }\n}\nconst v = \"v14\";\nclass c extends l {\n constructor() {\n super(...arguments);\n r(this, \"_handle\");\n r(this, \"_handleSetCallbacks\", []);\n }\n _setHandle(e) {\n this._handle = e, this._handleSetCallbacks.forEach((n) => n(e)), this._handleSetCallbacks = [], Object.entries(this.eventListener).forEach(([n, s]) => {\n e.addEventListener(n, s);\n }), this.eventListener = {};\n }\n addEventListener(e, n) {\n return this._handle ? (this._handle.addEventListener(e, n), this) : super.addEventListener(e, n);\n }\n removeEventListener(e, n) {\n if (this._handle)\n return this._handle.removeEventListener(e, n), this;\n super.removeEventListener(e, n);\n }\n async tearDown() {\n var e;\n if (this._handle)\n await ((e = this._handle) == null ? void 0 : e.tearDown());\n else\n return this._handleSetCallbacks.push(() => {\n this.tearDown();\n }), Promise.resolve();\n }\n get version() {\n var e;\n return (e = this._handle) == null ? void 0 : e.version;\n }\n}\nconst a = (i) => `v${(i || v).replace(/^v/, \"\")}`, o = {\n init(i) {\n const t = new c();\n return import(/* webpackIgnore: true */ /* @vite-ignore */ i.sdkUrl || `https://sdk.onfido.com/${a(i.version)}/Onfido.js`).then((n) => {\n const { Onfido: s } = n;\n t._setHandle(s.init(i));\n }).catch((n) => {\n var s;\n t.trigger(\"error\", { error: n }), (s = i.onError) == null || s.call(i, n);\n }), t;\n }\n};\nObject.defineProperty(o, \"environment\", {\n get: () => window == null ? void 0 : window.Onfido.environment,\n set: (i) => {\n window.Onfido = window.Onfido || {}, window.Onfido.environment = i;\n }\n});\nconst L = o;\nexport {\n L as Onfido,\n a as prefixVersion\n};\n"],"names":["d","h","i","t","e","r","l","n","v","c","s","a","L"],"mappings":"AAAA,IAAIA,IAAI,OAAO,gBACXC,IAAI,CAACC,GAAGC,GAAGC,MAAMD,KAAKD,IAAIF,EAAEE,GAAGC,GAAG,EAAE,YAAY,IAAI,cAAc,IAAI,UAAU,IAAI,OAAOC,EAAC,CAAE,IAAIF,EAAEC,CAAC,IAAIC,GACzGC,IAA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O,cAAcA;AAAA,EAClE;AACH,CAAC;AACI,MAACU,IAAI;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Onfido-AyvUk6wg.js","sources":["../../node_modules/onfido-sdk-ui/Onfido.js"],"sourcesContent":["var d = Object.defineProperty;\nvar h = (i, t, e) => t in i ? d(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;\nvar r = (i, t, e) => (h(i, typeof t != \"symbol\" ? t + \"\" : t, e), e);\nclass l {\n constructor() {\n this.eventListener = {};\n }\n addEventListener(t, e) {\n return this.eventListener[t] = this.eventListener[t] || [], this.eventListener[t].push(e), this;\n }\n removeEventListener(t, e) {\n const n = this.eventListener[t];\n if (n) {\n let s;\n for (; (s = n.indexOf(e)) !== -1; )\n n.splice(s, 1);\n }\n }\n trigger(t, e) {\n (this.eventListener[t] || []).forEach((n) => {\n n == null || n(e);\n });\n }\n}\nconst v = \"v14\";\nclass c extends l {\n constructor() {\n super(...arguments);\n r(this, \"_handle\");\n r(this, \"_handleSetCallbacks\", []);\n }\n _setHandle(e) {\n this._handle = e, this._handleSetCallbacks.forEach((n) => n(e)), this._handleSetCallbacks = [], Object.entries(this.eventListener).forEach(([n, s]) => {\n e.addEventListener(n, s);\n }), this.eventListener = {};\n }\n addEventListener(e, n) {\n return this._handle ? (this._handle.addEventListener(e, n), this) : super.addEventListener(e, n);\n }\n removeEventListener(e, n) {\n if (this._handle)\n return this._handle.removeEventListener(e, n), this;\n super.removeEventListener(e, n);\n }\n async tearDown() {\n var e;\n if (this._handle)\n await ((e = this._handle) == null ? void 0 : e.tearDown());\n else\n return this._handleSetCallbacks.push(() => {\n this.tearDown();\n }), Promise.resolve();\n }\n get version() {\n var e;\n return (e = this._handle) == null ? void 0 : e.version;\n }\n}\nconst a = (i) => `v${(i || v).replace(/^v/, \"\")}`, o = {\n init(i) {\n const t = new c();\n return import(/* webpackIgnore: true */ /* @vite-ignore */ i.sdkUrl || `https://sdk.onfido.com/${a(i.version)}/Onfido.js`).then((n) => {\n const { Onfido: s } = n;\n t._setHandle(s.init(i));\n }).catch((n) => {\n var s;\n t.trigger(\"error\", { error: n }), (s = i.onError) == null || s.call(i, n);\n }), t;\n }\n};\nObject.defineProperty(o, \"environment\", {\n get: () => window == null ? void 0 : window.Onfido.environment,\n set: (i) => {\n window.Onfido = window.Onfido || {}, window.Onfido.environment = i;\n }\n});\nconst L = o;\nexport {\n L as Onfido,\n a as prefixVersion\n};\n"],"names":["d","h","i","t","e","r","l","n","v","c","s","a","L"],"mappings":"AAAA,IAAIA,IAAI,OAAO,gBACXC,IAAI,CAACC,GAAGC,GAAGC,MAAMD,KAAKD,IAAIF,EAAEE,GAAGC,GAAG,EAAE,YAAY,IAAI,cAAc,IAAI,UAAU,IAAI,OAAOC,EAAC,CAAE,IAAIF,EAAEC,CAAC,IAAIC,GACzGC,IAAI,CAACH,GAAGC,GAAGC,OAAOH,EAAEC,GAAG,OAAOC,KAAK,WAAWA,IAAI,KAAKA,GAAGC,CAAC,GAAGA;AAClE,MAAME,EAAE;AAAA,EACN,cAAc;AACZ,SAAK,gBAAgB,CAAE;AAAA,EAC3B;AAAA,EACE,iBAAiBH,GAAGC,GAAG;AACrB,WAAO,KAAK,cAAcD,CAAC,IAAI,KAAK,cAAcA,CAAC,KAAK,CAAA,GAAI,KAAK,cAAcA,CAAC,EAAE,KAAKC,CAAC,GAAG;AAAA,EAC/F;AAAA,EACE,oBAAoBD,GAAGC,GAAG;AACxB,UAAMG,IAAI,KAAK,cAAcJ,CAAC;AAC9B,QAAII,GAAG;AACL,UAAI;AACJ,cAAQ,IAAIA,EAAE,QAAQH,CAAC,OAAO;AAC5B,QAAAG,EAAE,OAAO,GAAG,CAAC;AAAA,IACrB;AAAA,EACA;AAAA,EACE,QAAQJ,GAAGC,GAAG;AACZ,KAAC,KAAK,cAAcD,CAAC,KAAK,CAAA,GAAI,QAAQ,CAACI,MAAM;AAC3C,MAAAA,KAAK,QAAQA,EAAEH,CAAC;AAAA,IACtB,CA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AAA;AAAA,MAAoDP,EAAE,UAAU,0BAA0BS,EAAET,EAAE,OAAO,CAAC;AAAA,MAAc,KAAK,CAACK,MAAM;AACrI,YAAM,EAAE,QAAQG,EAAC,IAAKH;AACtB,MAAAJ,EAAE,WAAWO,EAAE,KAAKR,CAAC,CAAC;AAAA,IAC5B,CAAK,EAAE,MAAM,CAACK,MAAM;AACd,UAAIG;AACJ,MAAAP,EAAE,QAAQ,SAAS,EAAE,OAAOI,EAAG,CAAA,IAAIG,IAAIR,EAAE,YAAY,QAAQQ,EAAE,KAAKR,GAAGK,CAAC;AAAA,IACzE,CAAA,GAAGJ;AAAA,EACR;AACA;AACA,OAAO,eAAe,GAAG,eAAe;AAAA,EACtC,KAAK,MAAM,UAAU,OAAO,SAAS,OAAO,OAAO;AAAA,EACnD,KAAK,CAACD,MAAM;AACV,WAAO,SAAS,OAAO,UAAU,CAAE,GAAE,OAAO,OAAO,cAAcA;AAAA,EACrE;AACA,CAAC;AACI,MAACU,IAAI;","x_google_ignoreList":[0]}
@@ -0,0 +1,11 @@
1
+
2
+ /**
3
+ * VERSION: 2.106.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746221841535
5
+ * BUILD_DATE: Fri May 02 2025 21:37:21 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 9044dfe474729d087a9b0854f585172ebebac94e
7
+ */
8
+ import { a as f } from "./es6-Bax-ZIK1.js";
9
+ export {
10
+ f as default
11
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"StepCollectMilitaryStatusComponent-D9AxEZrO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"StepCollectMilitaryStatusComponent-C3-_M61B.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,12 +1,14 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142342273
5
- * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.106.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746221841535
5
+ * BUILD_DATE: Fri May 02 2025 21:37:21 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 9044dfe474729d087a9b0854f585172ebebac94e
7
7
  */
8
- import { j as e, k as h, a1 as o, d as n, a2 as m, a as t, R as r, a3 as u, A as f, l as k, V as g } from "../sheerid.js";
9
- const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(h, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
8
+ import { j as e, p as m, i as n, G as h, a6 as u, A as f, l as g, V as k } from "./es6-Bax-ZIK1.js";
9
+ import r from "react";
10
+ import { FormattedMessage as o, FormattedHTMLMessage as t } from "react-intl";
11
+ const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(m, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
10
12
  /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
11
13
  o,
12
14
  {
@@ -135,7 +137,7 @@ const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(h, { verificatio
135
137
  })), i.map((a, c) => {
136
138
  const { title: d, subtitle: l, icon: p } = a();
137
139
  return /* @__PURE__ */ e.jsx(
138
- m,
140
+ h,
139
141
  {
140
142
  title: d,
141
143
  subtitle: l,
@@ -145,10 +147,10 @@ const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(h, { verificatio
145
147
  d.toString()
146
148
  );
147
149
  });
148
- }, C = ({ verificationService: s }) => {
150
+ }, L = ({ verificationService: s }) => {
149
151
  const i = s.verificationResponse, [a, c] = r.useState(!1), d = () => {
150
- k.info("StepIDCheckLoop initiating ID Check Loop"), s.submitStep(
151
- g.idCheckLoop,
152
+ g.info("StepIDCheckLoop initiating ID Check Loop"), s.submitStep(
153
+ k.idCheckLoop,
152
154
  s.viewModel,
153
155
  s.verificationResponse
154
156
  );
@@ -191,5 +193,5 @@ const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(h, { verificatio
191
193
  ] });
192
194
  };
193
195
  export {
194
- C as default
196
+ L as default
195
197
  };
@@ -1 +1 @@
1
- {"version":3,"file":"StepIDCheckLoopOnfido-tTk18P23.js","sources":["../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.tsx","../../src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.tsx","../../src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopOnfidoFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopOnfidoFooter = ({ verificationService }: IdCheckLoopOnfidoFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept {scanPolicy}, {privacyPolicyLink}, and {termsOfService}.'\n values={{\n scanPolicy: (\n <a\n href=\"https://onfido.com/facial-scan-policy-and-release/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.scanPolicy\"\n defaultMessage=\"Onfido Facial Scan Policy and Release\"\n />\n </a>\n ),\n privacyPolicyLink: (\n <a\n href=\"https://www.onfido.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://onfido.com/terms-of-service/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Onfido\",\n companyName,\n }}\n />\n )}\n </FormattedMessage>\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopOnfidoFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { ProgramTheme } from \"../../../../lib/types/types\";\nimport { getSafe } from \"../../../../lib/utils/getSafe\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\n\nexport const getAndFormatOrderedStepCards = (programTheme: ProgramTheme): React.ReactElement[] => {\n const stepComponents: (() => {\n title: React.ReactNode;\n icon: React.ReactNode;\n subtitle?: React.ReactNode;\n })[] = [];\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"document\"), false)) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.title\"\n defaultMessage=\"Take a photo of your government ID\"\n />\n ),\n subtitle: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.subtitle\"\n defaultMessage=\"A valid government-issued document such as a driver's license, state ID, passport, or residence permit.\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/id-photo.svg\"\n />\n ),\n }));\n }\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"facial_similarity_motion\"))) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.selfie.title\"\n defaultMessage=\"Take a selfie\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/selfie.svg\"\n />\n ),\n }));\n }\n\n if (programTheme.docUploadEnabled) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.docReview.title\"\n defaultMessage=\"Upload proof of status\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n ),\n }));\n }\n\n return stepComponents.map((stepComponentFunction, i) => {\n const { title, subtitle, icon } = stepComponentFunction();\n return (\n <StepCardComponent\n title={title}\n subtitle={subtitle}\n icon={icon}\n isHighlighted={i === 0}\n key={title.toString()}\n />\n );\n });\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { VerificationStepsEnum } from \"../../../../lib/types/runtimeTypes\";\n\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { logger } from \"../../../../lib/utils/logger/logger\";\nimport { IdCheckLoopOnfidoComponent } from \"../IdCheckLoopOnfido/IdCheckLoopOnfido\";\nimport IdCheckLoopOnfidoFooter from \"../../IdCheckLoopFooter/IdCheckLoopOnfidoFooter\";\nimport { getAndFormatOrderedStepCards } from \"../utils/getAndFormatOrderedStepCards\";\n\nexport interface StepIDCheckLoopOnfidoProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopOnfido = ({ verificationService }: StepIDCheckLoopOnfidoProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const [shouldShowIdCheckLoop, setShouldShowIdCheckLoop] = React.useState(false);\n\n const initiateIdCheckLoop = () => {\n logger.info(\"StepIDCheckLoop initiating ID Check Loop\");\n verificationService.submitStep(\n VerificationStepsEnum.idCheckLoop,\n verificationService.viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse.sdkToken) {\n setShouldShowIdCheckLoop(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {shouldShowIdCheckLoop && (\n <div className=\"sid-l-space-btm-lg\">\n <div role=\"main\">\n <IdCheckLoopOnfidoComponent verificationService={verificationService} />\n </div>\n </div>\n )}\n\n {!shouldShowIdCheckLoop && (\n <div>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.title\"\n defaultMessage=\"Let's verify your identity\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"You'll need access to a mobile phone with a camera or computer with a webcam.\"\n />\n </div>\n\n <div className=\"sid-identity-check-steps\">\n {getAndFormatOrderedStepCards(verificationService.programTheme)}\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={initiateIdCheckLoop}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopOnfidoFooter verificationService={verificationService} />\n </div>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopOnfido;\n"],"names":["IdCheckLoopOnfidoFooter","verificationService","jsx","FormFooterComponent","jsxs","FormattedMessage","companyName","getAndFormatOrderedStepCards","programTheme","stepComponents","getSafe","FormattedHTMLMessage","stepComponentFunction","i","title","subtitle","icon","StepCardComponent","StepIDCheckLoopOnfido","verificationResponse","shouldShowIdCheckLoop","setShouldShowIdCheckLoop","React","initiateIdCheckLoop","logger","VerificationStepsEnum","IdCheckLoopOnfidoComponent","AnnouncingHeader"],"mappings":";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AA,MAACA,gBAAAA,EAAAA,KAAA,OAAA,EAAI,MAAK,QACR,UAAA;AAAA,QAACF,gBAAAA,EAAAA,IAAAyB,GAAA,EAAiB,OAAM,UACtB,UAAAzB,gBAAAA,EAAA;AAAA,UAACS;AAAA,UAAA;AAAA,YACC,IAAG;AAAA,YACH,gBAAe;AAAA,YACf,SAAQ;AAAA,UAAA;AAAA,QAAA,GAEZ;AAAA,QACAT,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,6DACb,UAAAA,gBAAAA,EAAA;AAAA,UAACS;AAAA,UAAA;AAAA,YACC,IAAG;AAAA,YACH,gBAAe;AAAA,UAAA;AAAA,QAAA,GAEnB;AAAA,8BAEC,OAAI,EAAA,WAAU,4BACZ,UAA6BJ,EAAAN,EAAoB,YAAY,GAChE;AAAA,QAEAC,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,sEACb,UAAAA,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,SAASqB;AAAA,YACT,MAAK;AAAA,YACL,WAAU;AAAA,YACV,cAAW;AAAA,YAEX,UAACrB,gBAAAA,EAAA,IAAAS,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,YAAW;AAAA,UAAA;AAAA,QAAA,GAEnF;AAAA,MAAA,GACF;AAAA,MACAT,gBAAAA,MAACF,KAAwB,qBAAAC,GAA0C;AAAA,IAAA,GACrE;AAAA,EAEJ,EAAA,CAAA;AAEJ;"}
1
+ {"version":3,"file":"StepIDCheckLoopOnfido-mkqkDAc7.js","sources":["../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.tsx","../../src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.tsx","../../src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopOnfidoFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopOnfidoFooter = ({ verificationService }: IdCheckLoopOnfidoFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept {scanPolicy}, {privacyPolicyLink}, and {termsOfService}.'\n values={{\n scanPolicy: (\n <a\n href=\"https://onfido.com/facial-scan-policy-and-release/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.scanPolicy\"\n defaultMessage=\"Onfido Facial Scan Policy and Release\"\n />\n </a>\n ),\n privacyPolicyLink: (\n <a\n href=\"https://www.onfido.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://onfido.com/terms-of-service/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Onfido\",\n companyName,\n }}\n />\n )}\n </FormattedMessage>\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopOnfidoFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { ProgramTheme } from \"../../../../lib/types/types\";\nimport { getSafe } from \"../../../../lib/utils/getSafe\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\n\nexport const getAndFormatOrderedStepCards = (programTheme: ProgramTheme): React.ReactElement[] => {\n const stepComponents: (() => {\n title: React.ReactNode;\n icon: React.ReactNode;\n subtitle?: React.ReactNode;\n })[] = [];\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"document\"), false)) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.title\"\n defaultMessage=\"Take a photo of your government ID\"\n />\n ),\n subtitle: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.idCheck.subtitle\"\n defaultMessage=\"A valid government-issued document such as a driver's license, state ID, passport, or residence permit.\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/id-photo.svg\"\n />\n ),\n }));\n }\n\n if (getSafe(() => programTheme.config.onfidoReportNames.includes(\"facial_similarity_motion\"))) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.selfie.title\"\n defaultMessage=\"Take a selfie\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/selfie.svg\"\n />\n ),\n }));\n }\n\n if (programTheme.docUploadEnabled) {\n stepComponents.push(() => ({\n title: (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.steps.docReview.title\"\n defaultMessage=\"Upload proof of status\"\n />\n ),\n icon: (\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n ),\n }));\n }\n\n return stepComponents.map((stepComponentFunction, i) => {\n const { title, subtitle, icon } = stepComponentFunction();\n return (\n <StepCardComponent\n title={title}\n subtitle={subtitle}\n icon={icon}\n isHighlighted={i === 0}\n key={title.toString()}\n />\n );\n });\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { VerificationStepsEnum } from \"../../../../lib/types/runtimeTypes\";\n\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { logger } from \"../../../../lib/utils/logger/logger\";\nimport { IdCheckLoopOnfidoComponent } from \"../IdCheckLoopOnfido/IdCheckLoopOnfido\";\nimport IdCheckLoopOnfidoFooter from \"../../IdCheckLoopFooter/IdCheckLoopOnfidoFooter\";\nimport { getAndFormatOrderedStepCards } from \"../utils/getAndFormatOrderedStepCards\";\n\nexport interface StepIDCheckLoopOnfidoProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopOnfido = ({ verificationService }: StepIDCheckLoopOnfidoProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const [shouldShowIdCheckLoop, setShouldShowIdCheckLoop] = React.useState(false);\n\n const initiateIdCheckLoop = () => {\n logger.info(\"StepIDCheckLoop initiating ID Check Loop\");\n verificationService.submitStep(\n VerificationStepsEnum.idCheckLoop,\n verificationService.viewModel,\n verificationService.verificationResponse,\n );\n };\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse.sdkToken) {\n setShouldShowIdCheckLoop(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {shouldShowIdCheckLoop && (\n <div className=\"sid-l-space-btm-lg\">\n <div role=\"main\">\n <IdCheckLoopOnfidoComponent verificationService={verificationService} />\n </div>\n </div>\n )}\n\n {!shouldShowIdCheckLoop && (\n <div>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.title\"\n defaultMessage=\"Let's verify your identity\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"You'll need access to a mobile phone with a camera or computer with a webcam.\"\n />\n </div>\n\n <div className=\"sid-identity-check-steps\">\n {getAndFormatOrderedStepCards(verificationService.programTheme)}\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={initiateIdCheckLoop}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopOnfidoFooter verificationService={verificationService} />\n </div>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopOnfido;\n"],"names":["IdCheckLoopOnfidoFooter","verificationService","jsx","FormFooterComponent","jsxs","FormattedMessage","companyName","getAndFormatOrderedStepCards","programTheme","stepComponents","getSafe","FormattedHTMLMessage","stepComponentFunction","i","title","subtitle","icon","StepCardComponent","StepIDCheckLoopOnfido","verificationResponse","shouldShowIdCheckLoop","setShouldShowIdCheckLoop","React","initiateIdCheckLoop","logger","VerificationStepsEnum","IdCheckLoopOnfidoComponent","AnnouncingHeader"],"mappings":";;;AAUa,MAAAA,IAA0B,CAAC,EAAE,qBAAAC,QACvCC,gBAAAA,EAAA,IAAAC,GAAA,EAAoB,qBAAAF,GACnB,UAAAG,gBAAAA,EAAAA,KAAC,OACC,EAAA,UAAA;AAAA,EAAAF,gBAAAA,MAAC,KACC,EAAA,UAAAA,gBAAAA,EAAA;AAAA,IAACG;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,gBAAe;AAAA,MACf,QAAQ;AAAA,QACN,YACEH,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAA;AAAA,cAACG;AAAA,cAAA;AAAA,gBACC,IA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