@sheerid/jslib 2.105.0 → 2.106.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.
- package/__tests__/__helpers__/renderers.d.ts +5 -5
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +18155 -16559
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-DmENoLpP.js → EmailLoopPending-Dtf0p85F.js} +18 -18
- package/chunk/{EmailLoopPending-D-O7IRrU.js.map → EmailLoopPending-Dtf0p85F.js.map} +1 -1
- package/chunk/{EmailLoopPending-D-O7IRrU.js → EmailLoopPending-Dy8mLFvV.js} +18 -18
- package/chunk/{EmailLoopPending-DmENoLpP.js.map → EmailLoopPending-Dy8mLFvV.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BrW9osPt.js → LicensedProfessionalOrganizationComponent-BYijEfDT.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-BrW9osPt.js.map → LicensedProfessionalOrganizationComponent-BYijEfDT.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Cu6a9uBs.js → LicensedProfessionalOrganizationComponent-CiYU-2dW.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-Cu6a9uBs.js.map → LicensedProfessionalOrganizationComponent-CiYU-2dW.js.map} +1 -1
- package/chunk/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/chunk/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js → StepIDCheckLoopOnfido-CmNwFqjD.js} +12 -11
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js.map → StepIDCheckLoopOnfido-CmNwFqjD.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js → StepIDCheckLoopOnfido-DtbplNxs.js} +12 -11
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js.map → StepIDCheckLoopOnfido-DtbplNxs.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-1wd-jJGJ.js → StepIDCheckLoopRegula-RoX971sR.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-RoX971sR.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-jyg1vIi3.js → StepIDCheckLoopRegula-oqf-QxHT.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js.map +1 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js.map → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js.map → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js.map} +1 -1
- package/chunk/ar-CtJ_9k3U.js +4 -4
- package/chunk/bg-CWxXfiDq.js +4 -4
- package/chunk/bn-IN-Dpq_hCqt.js +4 -4
- package/chunk/cs-HevyelX7.js +4 -4
- package/chunk/da-6QXhWjWH.js +4 -4
- package/chunk/de-ChuCvRLv.js +4 -4
- package/chunk/el-3IAhABcN.js +4 -4
- package/chunk/en-GB-ByNBaer-.js +4 -4
- package/chunk/es-CL_dUc9X.js +4 -4
- package/chunk/es-ES-CW4At4Ol.js +4 -4
- package/chunk/fi-D8cIebkk.js +4 -4
- package/chunk/fr-BDU-1C6f.js +4 -4
- package/chunk/fr-CA-Dc02rv8D.js +4 -4
- package/chunk/ga-P7eP-INQ.js +4 -4
- package/chunk/hi-IN-DlmwjoqH.js +4 -4
- package/chunk/hr-CT_VP_lm.js +4 -4
- package/chunk/hu-I8Z1uXsR.js +4 -4
- package/chunk/id-CUPTGKOT.js +4 -4
- package/chunk/{index-IntP52Fm.js → index-4APUDd8S.js} +26 -26
- package/chunk/{index-IntP52Fm.js.map → index-4APUDd8S.js.map} +1 -1
- package/chunk/{index-BrVZpRb7.js → index-9OD0Bw98.js} +58 -58
- package/chunk/{index-BgB4HxER.js.map → index-9OD0Bw98.js.map} +1 -1
- package/chunk/index-B-PpnUEO.js +52 -0
- package/chunk/index-B-PpnUEO.js.map +1 -0
- package/chunk/{index-D_lbJwrN.js → index-B8F8N-JM.js} +46 -46
- package/chunk/{index-D_lbJwrN.js.map → index-B8F8N-JM.js.map} +1 -1
- package/chunk/{index-C3tQa9xA.js → index-B8KPM--K.js} +48 -56
- package/chunk/{index-C3tQa9xA.js.map → index-B8KPM--K.js.map} +1 -1
- package/chunk/{index-BJxmlJd1.js → index-BD2bjH-C.js} +5 -5
- package/{lib/index-mtr_UcW2.js.map → chunk/index-BD2bjH-C.js.map} +1 -1
- package/chunk/{index-GaKINs6g.js → index-BD_a0MZT.js} +24 -24
- package/chunk/{index-i9-QlgZ0.js.map → index-BD_a0MZT.js.map} +1 -1
- package/chunk/{index-DZ0bnNgg.js → index-BDrKYann.js} +29 -29
- package/chunk/{index-D1j4nnQa.js.map → index-BDrKYann.js.map} +1 -1
- package/chunk/{index-NMedOT6B.js → index-BTR4RdFx.js} +25 -25
- package/chunk/{index-NMedOT6B.js.map → index-BTR4RdFx.js.map} +1 -1
- package/chunk/{index-DJReh58z.js → index-Bi9QXN5x.js} +9 -9
- package/chunk/{index-DJReh58z.js.map → index-Bi9QXN5x.js.map} +1 -1
- package/chunk/{index-whConjrR.js → index-Bmq6cJ3F.js} +25 -25
- package/{lib/index-CkM0aH9Q.js.map → chunk/index-Bmq6cJ3F.js.map} +1 -1
- package/chunk/{index-i9-QlgZ0.js → index-BpZoH-Wz.js} +24 -24
- package/chunk/{index-GaKINs6g.js.map → index-BpZoH-Wz.js.map} +1 -1
- package/chunk/{index-F-HVkQz5.js → index-BuX76GyE.js} +40 -40
- package/{lib/index-CZyo7O6A.js.map → chunk/index-BuX76GyE.js.map} +1 -1
- package/chunk/{index-1tM2UWke.js → index-C2h0Wj84.js} +48 -56
- package/chunk/{index-1tM2UWke.js.map → index-C2h0Wj84.js.map} +1 -1
- package/chunk/{index-D6RaCifq.js → index-C8MQD8EK.js} +26 -26
- package/chunk/{index-D6RaCifq.js.map → index-C8MQD8EK.js.map} +1 -1
- package/chunk/{index-Cb7GlxEu.js → index-C8u9IJUa.js} +11 -11
- package/chunk/{index-BmJ3aubI.js.map → index-C8u9IJUa.js.map} +1 -1
- package/chunk/{index-n6-LNqUp.js → index-C96ntS0u.js} +25 -25
- package/chunk/{index-n6-LNqUp.js.map → index-C96ntS0u.js.map} +1 -1
- package/chunk/{index-C6cgSdQ9.js → index-CG2W8lDZ.js} +41 -41
- package/chunk/{index-BjWeyRVL.js.map → index-CG2W8lDZ.js.map} +1 -1
- package/chunk/index-CHK5i4jj.js +48 -0
- package/chunk/index-CHK5i4jj.js.map +1 -0
- package/chunk/{index-BSXBGGOf.js → index-CTb96lOK.js} +8 -8
- package/chunk/{index-BSXBGGOf.js.map → index-CTb96lOK.js.map} +1 -1
- package/chunk/{index-CEidf7uT.js → index-CcRowarb.js} +5 -5
- package/chunk/{index-CEidf7uT.js.map → index-CcRowarb.js.map} +1 -1
- package/chunk/{index-DFjiwKs3.js → index-CeHu2Npu.js} +7 -7
- package/chunk/{index-rjS-77t0.js.map → index-CeHu2Npu.js.map} +1 -1
- package/chunk/{index-DkuH8kG3.js → index-CepZL7Cr.js} +25 -25
- package/chunk/{index-DkuH8kG3.js.map → index-CepZL7Cr.js.map} +1 -1
- package/chunk/{index-vIL1gjSk.js → index-CniY_P3e.js} +219 -237
- package/chunk/index-CniY_P3e.js.map +1 -0
- package/chunk/{index-BjWeyRVL.js → index-DDyTUP55.js} +41 -41
- package/chunk/{index-C6cgSdQ9.js.map → index-DDyTUP55.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DIkWpujR.js.map +1 -1
- package/chunk/{index-BgB4HxER.js → index-DKWjcFJK.js} +58 -58
- package/chunk/{index-BrVZpRb7.js.map → index-DKWjcFJK.js.map} +1 -1
- package/chunk/{index-D6Gez9pU.js → index-DLz31Fzh.js} +17 -17
- package/chunk/{index-DyHhX3QL.js.map → index-DLz31Fzh.js.map} +1 -1
- package/chunk/{index-Cq8qB8GK.js → index-DO5Z3e-E.js} +40 -40
- package/chunk/{index-F-HVkQz5.js.map → index-DO5Z3e-E.js.map} +1 -1
- package/chunk/{index-BmJ3aubI.js → index-DRlGAW07.js} +11 -11
- package/chunk/{index-Cb7GlxEu.js.map → index-DRlGAW07.js.map} +1 -1
- package/chunk/{index-rjS-77t0.js → index-DVynViqA.js} +7 -7
- package/chunk/{index-DFjiwKs3.js.map → index-DVynViqA.js.map} +1 -1
- package/chunk/{index-25aIMfhs.js → index-Dg8t7-dm.js} +46 -46
- package/chunk/{index-25aIMfhs.js.map → index-Dg8t7-dm.js.map} +1 -1
- package/chunk/{index-D1j4nnQa.js → index-DhGg9lvf.js} +29 -29
- package/chunk/{index-DZ0bnNgg.js.map → index-DhGg9lvf.js.map} +1 -1
- package/chunk/{index-D8z4eipH.js → index-DtH8Qo7N.js} +51 -51
- package/chunk/{index-ygMzyxW9.js.map → index-DtH8Qo7N.js.map} +1 -1
- package/chunk/{index-DyHhX3QL.js → index-DzqRsB7_.js} +17 -17
- package/chunk/{index-D6Gez9pU.js.map → index-DzqRsB7_.js.map} +1 -1
- package/chunk/{index-DR_Yi6nm.js → index-FfXcSdRM.js} +219 -237
- package/chunk/index-FfXcSdRM.js.map +1 -0
- package/chunk/{index-CGKKTwvx.js → index-FjzhfDlx.js} +9 -9
- package/chunk/{index-CGKKTwvx.js.map → index-FjzhfDlx.js.map} +1 -1
- package/chunk/{index-DPLvpl1z.js → index-Gfy-1H7s.js} +8 -8
- package/{lib/index-DNrYLi4q.js.map → chunk/index-Gfy-1H7s.js.map} +1 -1
- package/chunk/{index-ygMzyxW9.js → index-jFznw2e5.js} +51 -51
- package/chunk/{index-D8z4eipH.js.map → index-jFznw2e5.js.map} +1 -1
- package/chunk/is-CUuXi4qZ.js +4 -4
- package/chunk/it-BNmynTsg.js +4 -4
- package/chunk/iw-FGzquR_X.js +4 -4
- package/chunk/ja-YgUpXA0l.js +4 -4
- package/chunk/ko-CuNS5J_M.js +4 -4
- package/chunk/lo-BEf8aFjR.js +4 -4
- package/chunk/lt-DvX1gz1a.js +4 -4
- package/chunk/ms-gSqM-Mfi.js +4 -4
- package/chunk/nl-BE-Cid5LFlN.js +4 -4
- package/chunk/nl-CUUTswxa.js +4 -4
- package/chunk/no-BvUqlShV.js +4 -4
- package/chunk/pl-CU8leZhI.js +4 -4
- package/chunk/pt-BR-CboWpHFi.js +4 -4
- package/chunk/pt-BnK7xRT_.js +4 -4
- package/chunk/ro-BfAyXxSW.js +4 -4
- package/chunk/ru-BD-YGPuQ.js +4 -4
- package/chunk/sk-CqsabpdG.js +4 -4
- package/chunk/sl-CeVAf0S_.js +4 -4
- package/chunk/sr-DSaHxcCQ.js +4 -4
- package/chunk/sv-DOyWYViy.js +4 -4
- package/chunk/sw-2Q7Jo6wp.js +4 -4
- package/chunk/th-BZ6F9sPf.js +4 -4
- package/chunk/tr-om80xrv2.js +4 -4
- package/chunk/uk-Dxugux8e.js +4 -4
- package/chunk/ur-OBILUeZ7.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-CumMd2sJ.js → useCollectFieldsEndpoint-C5fsaYJe.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-CumMd2sJ.js.map → useCollectFieldsEndpoint-C5fsaYJe.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js → useCollectFieldsEndpoint-kmLFyUA-.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js.map → useCollectFieldsEndpoint-kmLFyUA-.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js → useEmailFirstExperiment-BbDrKQEs.js} +29 -30
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js.map → useEmailFirstExperiment-BbDrKQEs.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js → useEmailFirstExperiment-CgU-itQI.js} +29 -30
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js.map → useEmailFirstExperiment-CgU-itQI.js.map} +1 -1
- package/chunk/vi-BOR2GuRI.js +4 -4
- package/chunk/zh-HK-BI-IHOGG.js +4 -4
- package/chunk/zh-eoMG5RFC.js +4 -4
- package/chunk/zu-D_A8wcJW.js +4 -4
- package/dev/programIds.d.ts +1 -1
- package/es6.css +4 -4
- package/jslib.js +15 -15
- package/lib/{EmailLoopPending-CU7XS8L8.js → EmailLoopPending-BkFtAtLY.js} +11 -11
- package/lib/{EmailLoopPending-CU7XS8L8.js.map → EmailLoopPending-BkFtAtLY.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-CE90PGza.js → LicensedProfessionalOrganizationComponent-CoLJGZjk.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-CE90PGza.js.map → LicensedProfessionalOrganizationComponent-CoLJGZjk.js.map} +1 -1
- package/lib/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/lib/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/lib/StepCollectMilitaryStatusComponent-DHn5ssAC.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DvJIjJ8Z.js.map → StepCollectMilitaryStatusComponent-DHn5ssAC.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-B8g2Degw.js → StepIDCheckLoopOnfido-CkjBN_Da.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-B8g2Degw.js.map → StepIDCheckLoopOnfido-CkjBN_Da.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-C971tdOB.js → StepIDCheckLoopRegula-CQJ_E15E.js} +22 -21
- package/lib/StepIDCheckLoopRegula-CQJ_E15E.js.map +1 -0
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-B-bOA0LI.js → StepInactiveMilitaryPersonalInfoComponent-BHsDNqtp.js} +49 -49
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-B-bOA0LI.js.map → StepInactiveMilitaryPersonalInfoComponent-BHsDNqtp.js.map} +1 -1
- package/lib/VerificationApiUtils-CxjsRjYe.js +23 -0
- package/lib/{VerificationApiUtils-Cn5PJJ2V.js.map → VerificationApiUtils-CxjsRjYe.js.map} +1 -1
- package/lib/ar-CtJ_9k3U.js +4 -4
- package/lib/bg-CWxXfiDq.js +4 -4
- package/lib/bn-IN-Dpq_hCqt.js +4 -4
- package/lib/cs-HevyelX7.js +4 -4
- package/lib/da-6QXhWjWH.js +4 -4
- package/lib/de-ChuCvRLv.js +4 -4
- package/lib/el-3IAhABcN.js +4 -4
- package/lib/en-GB-ByNBaer-.js +4 -4
- package/lib/es-CL_dUc9X.js +4 -4
- package/lib/es-ES-CW4At4Ol.js +4 -4
- package/lib/{es6-BxF8vNXX.js → es6-C5hrJrzs.js} +12434 -11221
- package/lib/es6-C5hrJrzs.js.map +1 -0
- package/lib/fi-D8cIebkk.js +4 -4
- package/lib/fr-BDU-1C6f.js +4 -4
- package/lib/fr-CA-Dc02rv8D.js +4 -4
- package/lib/ga-P7eP-INQ.js +4 -4
- package/lib/hi-IN-DlmwjoqH.js +4 -4
- package/lib/hr-CT_VP_lm.js +4 -4
- package/lib/hu-I8Z1uXsR.js +4 -4
- package/lib/id-CUPTGKOT.js +4 -4
- package/lib/{index-ByJQnMVd.js → index-BCu5-yVP.js} +9 -9
- package/lib/{index-ByJQnMVd.js.map → index-BCu5-yVP.js.map} +1 -1
- package/lib/index-BRBnXXDR.js +11 -0
- package/lib/index-BRBnXXDR.js.map +1 -0
- package/lib/{index-DNrYLi4q.js → index-BjZXQGq2.js} +10 -10
- package/{chunk/index-DPLvpl1z.js.map → lib/index-BjZXQGq2.js.map} +1 -1
- package/lib/{index-Cm9LAqYW.js → index-BrFRNvvE.js} +24 -24
- package/lib/{index-Cm9LAqYW.js.map → index-BrFRNvvE.js.map} +1 -1
- package/lib/index-BwOJXq6v.js +28 -0
- package/lib/{index-BvonWwY9.js.map → index-BwOJXq6v.js.map} +1 -1
- package/lib/{index-CZyo7O6A.js → index-C1cD1JSk.js} +19 -19
- package/{chunk/index-Cq8qB8GK.js.map → lib/index-C1cD1JSk.js.map} +1 -1
- package/lib/index-CHw5WoUt.js +11 -0
- package/lib/index-CHw5WoUt.js.map +1 -0
- package/lib/{index-CyEPe472.js → index-COY4ajo9.js} +28 -28
- package/lib/{index-CyEPe472.js.map → index-COY4ajo9.js.map} +1 -1
- package/lib/index-CWPZXASu.js +11 -0
- package/lib/index-CWPZXASu.js.map +1 -0
- package/lib/{index-DYEdh22B.js → index-Ch6T03iH.js} +5 -5
- package/lib/{index-DYEdh22B.js.map → index-Ch6T03iH.js.map} +1 -1
- package/lib/{index-T7cotgLv.js → index-Chzksasq.js} +27 -27
- package/lib/{index-T7cotgLv.js.map → index-Chzksasq.js.map} +1 -1
- package/lib/{index-CLCBNuVt.js → index-DA-Qp7MI.js} +61 -61
- package/lib/{index-CLCBNuVt.js.map → index-DA-Qp7MI.js.map} +1 -1
- package/lib/{index-DV-jRbN_.js → index-DGP2Q-U8.js} +385 -402
- package/lib/index-DGP2Q-U8.js.map +1 -0
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/{index-CkM0aH9Q.js → index-DJEjWEGY.js} +31 -31
- package/{chunk/index-whConjrR.js.map → lib/index-DJEjWEGY.js.map} +1 -1
- package/lib/{index-DF0_IZ4J.js → index-DKUoIXZw.js} +5 -5
- package/lib/{index-DF0_IZ4J.js.map → index-DKUoIXZw.js.map} +1 -1
- package/lib/{index--LSZP8PV.js → index-DcTF8Chq.js} +34 -34
- package/lib/{index--LSZP8PV.js.map → index-DcTF8Chq.js.map} +1 -1
- package/lib/{index-BM4FQqsg.js → index-DolStOo8.js} +50 -50
- package/lib/{index-BM4FQqsg.js.map → index-DolStOo8.js.map} +1 -1
- package/lib/index-DsHv4Pni.js +11 -0
- package/lib/index-DsHv4Pni.js.map +1 -0
- package/lib/{index-kFFbuxGz.js → index-DwNbV0jH.js} +30 -30
- package/lib/{index-kFFbuxGz.js.map → index-DwNbV0jH.js.map} +1 -1
- package/lib/{index-mtr_UcW2.js → index-F25h-epz.js} +5 -5
- package/{chunk/index-BJxmlJd1.js.map → lib/index-F25h-epz.js.map} +1 -1
- package/lib/{index-CdboVnqo.js → index-GiMHZ0Yc.js} +34 -34
- package/lib/{index-CdboVnqo.js.map → index-GiMHZ0Yc.js.map} +1 -1
- package/lib/{index-BbYtScSJ.js → index-H-IbghCG.js} +29 -29
- package/lib/{index-BbYtScSJ.js.map → index-H-IbghCG.js.map} +1 -1
- package/lib/{index-C9Fn2hpc.js → index-ZZYkknoq.js} +7 -7
- package/lib/{index-C9Fn2hpc.js.map → index-ZZYkknoq.js.map} +1 -1
- package/lib/is-CUuXi4qZ.js +4 -4
- package/lib/it-BNmynTsg.js +4 -4
- package/lib/iw-FGzquR_X.js +4 -4
- package/lib/ja-YgUpXA0l.js +4 -4
- package/lib/ko-CuNS5J_M.js +4 -4
- package/lib/lo-BEf8aFjR.js +4 -4
- package/lib/lt-DvX1gz1a.js +4 -4
- package/lib/ms-gSqM-Mfi.js +4 -4
- package/lib/nl-BE-Cid5LFlN.js +4 -4
- package/lib/nl-CUUTswxa.js +4 -4
- package/lib/no-BvUqlShV.js +4 -4
- package/lib/pl-CU8leZhI.js +4 -4
- package/lib/pt-BR-CboWpHFi.js +4 -4
- package/lib/pt-BnK7xRT_.js +4 -4
- package/lib/ro-BfAyXxSW.js +4 -4
- package/lib/ru-BD-YGPuQ.js +4 -4
- package/lib/sk-CqsabpdG.js +4 -4
- package/lib/sl-CeVAf0S_.js +4 -4
- package/lib/sr-DSaHxcCQ.js +4 -4
- package/lib/sv-DOyWYViy.js +4 -4
- package/lib/sw-2Q7Jo6wp.js +4 -4
- package/lib/th-BZ6F9sPf.js +4 -4
- package/lib/tr-om80xrv2.js +4 -4
- package/lib/uk-Dxugux8e.js +4 -4
- package/lib/ur-OBILUeZ7.js +4 -4
- package/lib/{useCollectFieldsEndpoint-gIqEUxfv.js → useCollectFieldsEndpoint-DT6XJjOz.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-gIqEUxfv.js.map → useCollectFieldsEndpoint-DT6XJjOz.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-B0sWtBW-.js → useEmailFirstExperiment-Cg7IR6Pb.js} +6 -7
- package/lib/{useEmailFirstExperiment-B0sWtBW-.js.map → useEmailFirstExperiment-Cg7IR6Pb.js.map} +1 -1
- package/lib/vi-BOR2GuRI.js +4 -4
- package/lib/zh-HK-BI-IHOGG.js +4 -4
- package/lib/zh-eoMG5RFC.js +4 -4
- package/lib/zu-D_A8wcJW.js +4 -4
- package/package.json +4 -4
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +6 -6
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +18334 -16738
- package/sheerid.js.map +1 -1
- package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
- package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
- package/src/components/Button/Button.d.ts +1 -0
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +2 -1
- package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
- package/src/components/DateComponent/DateComponent.d.ts +2 -2
- package/src/components/ExtraMessage.d.ts +1 -1
- package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
- package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
- package/src/components/FetchOrganizationsComponent.d.ts +1 -1
- package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
- package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
- package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
- package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
- package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
- package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
- package/src/components/FormFields/City/City.d.ts +2 -2
- package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
- package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
- package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
- package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
- package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
- package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
- package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
- package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
- package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
- package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
- package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
- package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
- package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
- package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
- package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
- package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
- package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
- package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
- package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
- package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
- package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
- package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SSN/SSN.d.ts +2 -2
- package/src/components/FormFields/State/State.d.ts +2 -2
- package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
- package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
- package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
- package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
- package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
- package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
- package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
- package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
- package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
- package/src/components/Layout/Layout.d.ts +1 -1
- package/src/components/LoadStepComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
- package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
- package/src/components/NewVerificationComponent.d.ts +3 -3
- package/src/components/NewVerificationInnerComponent.d.ts +1 -1
- package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
- package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
- package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +2 -1
- package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
- package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
- package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
- package/src/components/SingleSignOnComponent.d.ts +2 -2
- package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
- package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
- package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
- package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
- package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
- package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepError/StepErrorComponent.d.ts +2 -2
- package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
- package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
- package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
- package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
- package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
- package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
- package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
- package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
- package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
- package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
- package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
- package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
- package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
- package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
- package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
- package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
- package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
- package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
- package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
- package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
- package/src/lib/hooks/index.d.ts +1 -1
- package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
- package/src/lib/installScript/affinity.d.ts +1 -1
- package/src/lib/installScript/iframe.d.ts +1 -1
- package/src/lib/installScript/index.d.ts +3 -3
- package/src/lib/installScript/modal.d.ts +1 -1
- package/src/lib/state/contextHooks.d.ts +1 -1
- package/src/lib/types/runtimeTypes.d.ts +1 -1
- package/src/lib/types/types.d.ts +7 -7
- package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
- package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
- package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/chunk/StepIDCheckLoopRegula-1wd-jJGJ.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-jyg1vIi3.js.map +0 -1
- package/chunk/index-B_CvWvhW.js +0 -27
- package/chunk/index-B_CvWvhW.js.map +0 -1
- package/chunk/index-Bv_0MGCt.js +0 -31
- package/chunk/index-Bv_0MGCt.js.map +0 -1
- package/chunk/index-DR_Yi6nm.js.map +0 -1
- package/chunk/index-vIL1gjSk.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-DvJIjJ8Z.js +0 -11
- package/lib/StepIDCheckLoopRegula-C971tdOB.js.map +0 -1
- package/lib/VerificationApiUtils-Cn5PJJ2V.js +0 -21
- package/lib/es6-BxF8vNXX.js.map +0 -1
- package/lib/index-Bf3CeTFC.js +0 -11
- package/lib/index-Bf3CeTFC.js.map +0 -1
- package/lib/index-BvonWwY9.js +0 -28
- package/lib/index-DAjrVVta.js +0 -11
- package/lib/index-DAjrVVta.js.map +0 -1
- package/lib/index-DO-KFs1U.js +0 -11
- package/lib/index-DO-KFs1U.js.map +0 -1
- package/lib/index-DV-jRbN_.js.map +0 -1
- package/lib/index-GAJX_Tjm.js +0 -11
- package/lib/index-GAJX_Tjm.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LicensedProfessionalOrganizationComponent-CoLJGZjk.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.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.106.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1746459877927
|
|
5
|
+
* BUILD_DATE: Mon May 05 2025 15:44:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 7c075bae25a0aacdeced516d09b9d25db3b82216
|
|
7
7
|
*/
|
|
8
|
-
var a = Object.defineProperty, l = (
|
|
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,
|
|
14
|
-
return this.eventListener[e] = this.eventListener[e] || [], this.eventListener[e].push(
|
|
13
|
+
addEventListener(e, t) {
|
|
14
|
+
return this.eventListener[e] = this.eventListener[e] || [], this.eventListener[e].push(t), this;
|
|
15
15
|
}
|
|
16
|
-
removeEventListener(e,
|
|
16
|
+
removeEventListener(e, t) {
|
|
17
17
|
const r = this.eventListener[e];
|
|
18
18
|
if (r) {
|
|
19
19
|
let s;
|
|
20
|
-
for (; (s = r.indexOf(
|
|
20
|
+
for (; (s = r.indexOf(t)) !== -1; )
|
|
21
21
|
r.splice(s, 1);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
trigger(e,
|
|
24
|
+
trigger(e, t) {
|
|
25
25
|
(this.eventListener[e] || []).forEach((r) => {
|
|
26
|
-
r == null || r(
|
|
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((
|
|
37
|
-
e.addEventListener(
|
|
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,
|
|
41
|
-
return this._handle ? (this._handle.addEventListener(e,
|
|
40
|
+
addEventListener(e, t) {
|
|
41
|
+
return this._handle ? (this._handle.addEventListener(e, t), this) : super.addEventListener(e, t);
|
|
42
42
|
}
|
|
43
|
-
removeEventListener(e,
|
|
43
|
+
removeEventListener(e, t) {
|
|
44
44
|
if (this._handle)
|
|
45
|
-
return this._handle.removeEventListener(e,
|
|
46
|
-
super.removeEventListener(e,
|
|
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 = (
|
|
63
|
-
init(
|
|
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
|
-
|
|
69
|
-
).then((
|
|
70
|
-
const { Onfido: r } =
|
|
71
|
-
e._setHandle(r.init(
|
|
72
|
-
}).catch((
|
|
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:
|
|
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: (
|
|
81
|
-
window.Onfido = window.Onfido || {}, window.Onfido.environment =
|
|
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-
|
|
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,CAAK;AAAA,EACL;AACA;AACA,MAAMI,IAAI;AACV,MAAMC,UAAUH,EAAE;AAAA,EAChB,cAAc;AACZ,UAAM,GAAG,SAAS,GAClBD,EAAE,MAAM,SAAS,GACjBA,EAAE,MAAM,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AAE,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
|
|
4
|
+
* BUILD_TIMESTAMP: 1746459877927
|
|
5
|
+
* BUILD_DATE: Mon May 05 2025 15:44:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 7c075bae25a0aacdeced516d09b9d25db3b82216
|
|
7
|
+
*/
|
|
8
|
+
import { a as f } from "./es6-C5hrJrzs.js";
|
|
9
|
+
export {
|
|
10
|
+
f as default
|
|
11
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectMilitaryStatusComponent-
|
|
1
|
+
{"version":3,"file":"StepCollectMilitaryStatusComponent-DHn5ssAC.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.106.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1746459877927
|
|
5
|
+
* BUILD_DATE: Mon May 05 2025 15:44:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 7c075bae25a0aacdeced516d09b9d25db3b82216
|
|
7
7
|
*/
|
|
8
|
-
import { j as e, p as m, i as n,
|
|
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-C5hrJrzs.js";
|
|
9
9
|
import r from "react";
|
|
10
10
|
import { FormattedMessage as o, FormattedHTMLMessage as t } from "react-intl";
|
|
11
11
|
const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(m, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopOnfido-B8g2Degw.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,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QACF;AAAA,QAEF,mBACEH,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,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QACF;AAAA,QAEF,gBACEH,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;A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-CkjBN_Da.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,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,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,WAAW,CAAA;AAAA,UAAA;AAAA,QAAA,EAEnF,CAAA;AAAA,MAAA,GACF;AAAA,MACAT,gBAAAA,MAACF,KAAwB,qBAAAC,EAA0C,CAAA;AAAA,IAAA,EACrE,CAAA;AAAA,EAAA,GAEJ;AAEJ;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.106.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1746459877927
|
|
5
|
+
* BUILD_DATE: Mon May 05 2025 15:44:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 7c075bae25a0aacdeced516d09b9d25db3b82216
|
|
7
7
|
*/
|
|
8
|
-
import { j as e, p as n,
|
|
8
|
+
import { j as e, p as n, D as l, A as p, G as m } from "./es6-C5hrJrzs.js";
|
|
9
9
|
import c from "react";
|
|
10
|
-
import { FormattedMessage as i, FormattedHTMLMessage as
|
|
11
|
-
const
|
|
10
|
+
import { FormattedMessage as i, FormattedHTMLMessage as r } from "react-intl";
|
|
11
|
+
const h = ({ verificationService: t }) => /* @__PURE__ */ e.jsx(n, { verificationService: t, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
12
12
|
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
|
13
13
|
i,
|
|
14
14
|
{
|
|
@@ -50,39 +50,40 @@ const u = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(n, { verificatio
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
) }),
|
|
53
|
-
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
|
53
|
+
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(i, { id: "companyName", defaultMessage: "{Company}", children: (s) => /* @__PURE__ */ e.jsx(
|
|
54
54
|
i,
|
|
55
55
|
{
|
|
56
56
|
id: "step.idCheckLoop.disclaimer",
|
|
57
|
-
defaultMessage: "SheerID
|
|
57
|
+
defaultMessage: "SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.",
|
|
58
58
|
values: {
|
|
59
|
-
serviceType: "Regula"
|
|
59
|
+
serviceType: "Regula",
|
|
60
|
+
companyName: s
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
|
-
) })
|
|
63
|
-
] }) }), x = ({ verificationService:
|
|
64
|
-
const
|
|
63
|
+
) }) })
|
|
64
|
+
] }) }), x = ({ verificationService: t }) => {
|
|
65
|
+
const s = t.verificationResponse, [o, a] = c.useState(!1);
|
|
65
66
|
return c.useEffect(() => {
|
|
66
67
|
var d;
|
|
67
|
-
|
|
68
|
-
}, [
|
|
68
|
+
s && ((d = s == null ? void 0 : s.errorIds) == null ? void 0 : d.length) > 0 && a(!0);
|
|
69
|
+
}, [s]), /* @__PURE__ */ e.jsx("div", { id: "sid-step-id-check-loop", className: "sid-l-container", children: o ? /* @__PURE__ */ e.jsx("div", { role: "main", children: /* @__PURE__ */ e.jsx(l, { verificationService: t }) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
69
70
|
/* @__PURE__ */ e.jsxs("div", { role: "main", children: [
|
|
70
71
|
/* @__PURE__ */ e.jsx(p, { align: "center", children: /* @__PURE__ */ e.jsx(
|
|
71
|
-
|
|
72
|
+
r,
|
|
72
73
|
{
|
|
73
74
|
id: "step.idCheckLoop.regula.title",
|
|
74
75
|
defaultMessage: "To continue, we need to verify your identity."
|
|
75
76
|
}
|
|
76
77
|
) }),
|
|
77
78
|
/* @__PURE__ */ e.jsx("div", { className: "sid-header__subtitle sid-l-horz-center sid-l-space-btm-md", children: /* @__PURE__ */ e.jsx(
|
|
78
|
-
|
|
79
|
+
r,
|
|
79
80
|
{
|
|
80
81
|
id: "step.idCheckLoop.subtitle",
|
|
81
82
|
defaultMessage: "To complete the verification process, we ask that you provide us with:"
|
|
82
83
|
}
|
|
83
84
|
) }),
|
|
84
85
|
/* @__PURE__ */ e.jsx("div", { className: "sid-identity-check-steps", children: /* @__PURE__ */ e.jsx(
|
|
85
|
-
|
|
86
|
+
m,
|
|
86
87
|
{
|
|
87
88
|
title: "Photo of a government-issued ID",
|
|
88
89
|
subtitle: "Drivers license, state ID, passport, or residence permit.",
|
|
@@ -101,15 +102,15 @@ const u = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(n, { verificatio
|
|
|
101
102
|
/* @__PURE__ */ e.jsx("div", { className: "sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md", children: /* @__PURE__ */ e.jsx(
|
|
102
103
|
"button",
|
|
103
104
|
{
|
|
104
|
-
onClick: () => a(!
|
|
105
|
+
onClick: () => a(!o),
|
|
105
106
|
type: "button",
|
|
106
107
|
className: "sid-btn sid-btn--dark",
|
|
107
108
|
"aria-label": "submit",
|
|
108
|
-
children: /* @__PURE__ */ e.jsx(
|
|
109
|
+
children: /* @__PURE__ */ e.jsx(r, { id: "step.idCheckLoop.continue", defaultMessage: "Continue" })
|
|
109
110
|
}
|
|
110
111
|
) })
|
|
111
112
|
] }),
|
|
112
|
-
/* @__PURE__ */ e.jsx(
|
|
113
|
+
/* @__PURE__ */ e.jsx(h, { verificationService: t })
|
|
113
114
|
] }) });
|
|
114
115
|
};
|
|
115
116
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepIDCheckLoopRegula-CQJ_E15E.js","sources":["../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.tsx","../../src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.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 IdCheckLoopRegulaFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopRegulaFooter = ({ verificationService }: IdCheckLoopRegulaFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.regula.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept the {privacyPolicyLink} and {termsOfService}.'\n values={{\n privacyPolicyLink: (\n <a\n href=\"https://regulaforensics.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://regulaforensics.com/terms-of-use/\"\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: \"Regula\",\n companyName,\n }}\n />\n )}\n </FormattedMessage>\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopRegulaFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\nimport IdCheckLoopRegulaFooter from \"../../IdCheckLoopFooter/IdCheckLoopRegulaFooter\";\nimport { IdCheckLoopRegulaComponent } from \"../IdCheckLoopRegula/IdCheckLoopRegula\";\n\nexport interface StepIDCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopRegula = ({ verificationService }: StepIDCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n\n const [showUpload, setShowUpload] = React.useState<boolean>(false);\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse?.errorIds?.length > 0) {\n setShowUpload(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {showUpload ? (\n <div role=\"main\">\n <IdCheckLoopRegulaComponent verificationService={verificationService} />\n </div>\n ) : (\n <>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.title\"\n defaultMessage=\"To continue, we need to verify your identity.\"\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=\"To complete the verification process, we ask that you provide us with:\"\n />\n </div>\n <div className=\"sid-identity-check-steps\">\n <StepCardComponent\n title=\"Photo of a government-issued ID\"\n subtitle=\"Drivers license, state ID, passport, or residence permit.\"\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 isHighlighted\n key=\"\"\n />\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={() => setShowUpload(!showUpload)}\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 <IdCheckLoopRegulaFooter verificationService={verificationService} />\n </>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopRegula;\n"],"names":["IdCheckLoopRegulaFooter","verificationService","jsx","FormFooterComponent","jsxs","FormattedMessage","companyName","StepIDCheckLoopRegula","verificationResponse","showUpload","setShowUpload","React","_a","IdCheckLoopRegulaComponent","Fragment","AnnouncingHeader","FormattedHTMLMessage","StepCardComponent"],"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,mBACEH,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,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QACF;AAAA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