@sheerid/jslib-nightly 2.133.0-alpha.0 → 2.133.0-alpha.2
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/_mysheerid-preview.css +3 -3
- package/_mysheerid-preview.js +7 -7
- package/chunk/EmailLoopPending-CHILFZYc.js +3 -3
- package/chunk/EmailLoopPending-Nn_H3cfS.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
- package/chunk/Onfido-BX3RMDPu.js +3 -3
- package/chunk/{StepIDCheckLoopOnfido-BZUbGXcg.js → StepIDCheckLoopOnfido-Cx5yIiao.js} +4 -4
- package/chunk/{StepIDCheckLoopOnfido-BZUbGXcg.js.map → StepIDCheckLoopOnfido-Cx5yIiao.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BYKGoECK.js → StepIDCheckLoopOnfido-a46Vug33.js} +4 -4
- package/chunk/{StepIDCheckLoopOnfido-BYKGoECK.js.map → StepIDCheckLoopOnfido-a46Vug33.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CCHkCOBz.js → StepIDCheckLoopRegula-CypGLmWx.js} +4 -4
- package/chunk/{StepIDCheckLoopRegula-CCHkCOBz.js.map → StepIDCheckLoopRegula-CypGLmWx.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CHsMvmKH.js → StepIDCheckLoopRegula-vHGIlWdV.js} +4 -4
- package/chunk/{StepIDCheckLoopRegula-CHsMvmKH.js.map → StepIDCheckLoopRegula-vHGIlWdV.js.map} +1 -1
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-B_SLFztq.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-D5bERGdY.js +3 -3
- package/chunk/ar-B0mzN_Bd.js +3 -3
- package/chunk/bg-CvzePvRz.js +3 -3
- package/chunk/bn-IN-jTk0yOHO.js +3 -3
- package/chunk/cs-0hePpQmT.js +3 -3
- package/chunk/da-BBEEUWuv.js +3 -3
- package/chunk/de-Kuzlya0F.js +3 -3
- package/chunk/el-BrF6GP4c.js +3 -3
- package/chunk/{en-GB-B1r5YmI6.js → en-GB-Brjj-qMa.js} +4 -4
- package/chunk/{en-GB-B1r5YmI6.js.map → en-GB-Brjj-qMa.js.map} +1 -1
- package/chunk/es-BmJo435P.js +3 -3
- package/chunk/es-ES-VJ4sReFa.js +3 -3
- package/chunk/fi-CuGjVMQ0.js +3 -3
- package/chunk/fr-CA-DoMwZIYT.js +3 -3
- package/chunk/fr-DXA7czWG.js +3 -3
- package/chunk/ga-Cg4vMbHF.js +3 -3
- package/chunk/hi-IN-jLihWSoh.js +3 -3
- package/chunk/hr-8jLBEZkg.js +3 -3
- package/chunk/hu-Ein3QE6i.js +3 -3
- package/chunk/id-D2fOjsFI.js +3 -3
- package/chunk/index-1Cpf6KJI.js +3 -3
- package/chunk/index-2ob_KvkC.js +3 -3
- package/chunk/index-BFhiexXx.js +3 -3
- package/chunk/index-BU0HFLKm.js +3 -3
- package/chunk/{index-EDd1yOka.js → index-Bp3Yz2-S.js} +5 -5
- package/chunk/{index-Bau2KdXG.js.map → index-Bp3Yz2-S.js.map} +1 -1
- package/chunk/index-C4OCK6G0.js +3 -3
- package/chunk/index-C6KSFLsT.js +3 -3
- package/chunk/index-C8UuTatc.js +3 -3
- package/chunk/index-CPnI6FMZ.js +3 -3
- package/chunk/index-CQ1xb7h6.js +3 -3
- package/chunk/index-CRJId5Zv.js +3 -3
- package/chunk/index-CVEIzLov.js +3 -3
- package/chunk/index-CcE-GFi6.js +3 -3
- package/chunk/index-CjD74fwh.js +3 -3
- package/chunk/index-CjcYFvhf.js +3 -3
- package/chunk/index-CqC2-Uw8.js +3 -3
- package/chunk/index-D3QYlp53.js +3 -3
- package/chunk/index-D4FMD-a0.js +3 -3
- package/chunk/index-D8yzfA8-.js +3 -3
- package/chunk/index-DAE3SOJH.js +3 -3
- package/chunk/index-DCTYdT7J.js +3 -3
- package/chunk/index-DE9bhf5R.js +3 -3
- package/chunk/index-DFajPA-e.js +3 -3
- package/chunk/index-DHtYIKVA.js +3 -3
- package/chunk/index-DIkWpujR.js +3 -3
- package/chunk/index-DJo820YY.js +3 -3
- package/chunk/index-DR8uqKnQ.js +3 -3
- package/chunk/index-DWvcHUC_.js +3 -3
- package/chunk/index-DdQD36Ht.js +3 -3
- package/chunk/index-Dg1E2EXp.js +3 -3
- package/chunk/index-Du-JJq6C.js +3 -3
- package/chunk/index-SwnUiXjr.js +3 -3
- package/chunk/index-dt1aUu5L.js +3 -3
- package/chunk/{index-Bau2KdXG.js → index-gRuSyTz4.js} +5 -5
- package/chunk/{index-EDd1yOka.js.map → index-gRuSyTz4.js.map} +1 -1
- package/chunk/index-huf3obhv.js +3 -3
- package/chunk/index-n6fChAZJ.js +3 -3
- package/chunk/index-oHEY5B58.js +3 -3
- package/chunk/index-rWdohxWw.js +3 -3
- package/chunk/index-zX2rojxg.js +3 -3
- package/chunk/is-uofBua88.js +3 -3
- package/chunk/it-BXQ3Cdz7.js +3 -3
- package/chunk/iw-BVcBUbNp.js +3 -3
- package/chunk/ja-D_sIjDrs.js +3 -3
- package/chunk/ko-yej6GW7B.js +3 -3
- package/chunk/lo-DOxRq08B.js +3 -3
- package/chunk/lt-C0zB7hhb.js +3 -3
- package/chunk/ms-Dkvk6osM.js +3 -3
- package/chunk/nl-BBLPfL9j.js +3 -3
- package/chunk/nl-BE-BPYfvpfr.js +3 -3
- package/chunk/no-ClrbrhEP.js +3 -3
- package/chunk/pl-DC_JTakc.js +3 -3
- package/chunk/pt-BR-B4MbJXYr.js +3 -3
- package/chunk/pt-nXffRpe2.js +3 -3
- package/chunk/ro-C1QBP9eD.js +3 -3
- package/chunk/ru-BDzTrG_-.js +3 -3
- package/chunk/sk-D4uJEbt6.js +3 -3
- package/chunk/sl-BqUvHKAJ.js +3 -3
- package/chunk/sr-cEvuJUfp.js +3 -3
- package/chunk/sv-ClxhV6_2.js +3 -3
- package/chunk/sw-CKmTEK_g.js +3 -3
- package/chunk/th-sCIzxp8V.js +3 -3
- package/chunk/tr-Cj86X7Xp.js +3 -3
- package/chunk/uk-DuUWNZyE.js +3 -3
- package/chunk/ur-oveEgJDZ.js +3 -3
- package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +3 -3
- package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +3 -3
- package/chunk/useEmailFirstExperiment-Cc1gdkQd.js +3 -3
- package/chunk/useEmailFirstExperiment-Ct5y0TUO.js +3 -3
- package/chunk/vi-uAKu07fX.js +3 -3
- package/chunk/zh-HK-BtpTdvxI.js +3 -3
- package/chunk/zh-nzIa0uRS.js +3 -3
- package/chunk/zu-D3GJZUZ3.js +3 -3
- package/es6.css +3 -3
- package/jslib.js +4 -4
- package/lib/{EmailLoopPending-C3asqFaV.js → EmailLoopPending-8a-tG4yo.js} +4 -4
- package/lib/{EmailLoopPending-C3asqFaV.js.map → EmailLoopPending-8a-tG4yo.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-DlHreMgg.js → LicensedProfessionalOrganizationComponent-CJPuCGWc.js} +4 -4
- package/lib/{LicensedProfessionalOrganizationComponent-DlHreMgg.js.map → LicensedProfessionalOrganizationComponent-CJPuCGWc.js.map} +1 -1
- package/lib/Onfido-BX3RMDPu.js +3 -3
- package/lib/StepCollectMilitaryStatusComponent-DCtMIShj.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-CrbaiB3G.js.map → StepCollectMilitaryStatusComponent-DCtMIShj.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-DUkLkoWZ.js → StepIDCheckLoopOnfido-CMXIQ4lY.js} +4 -4
- package/lib/{StepIDCheckLoopOnfido-DUkLkoWZ.js.map → StepIDCheckLoopOnfido-CMXIQ4lY.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-BAaydCpb.js → StepIDCheckLoopRegula-DssX2X4a.js} +4 -4
- package/lib/{StepIDCheckLoopRegula-BAaydCpb.js.map → StepIDCheckLoopRegula-DssX2X4a.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-npFKpjb8.js → StepInactiveMilitaryPersonalInfoComponent-3hj4JmjF.js} +5 -5
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-npFKpjb8.js.map → StepInactiveMilitaryPersonalInfoComponent-3hj4JmjF.js.map} +1 -1
- package/lib/{VerificationApiUtils-DLPoAr7j.js → VerificationApiUtils-CRuNWHId.js} +4 -4
- package/lib/{VerificationApiUtils-DLPoAr7j.js.map → VerificationApiUtils-CRuNWHId.js.map} +1 -1
- package/lib/ar-B0mzN_Bd.js +3 -3
- package/lib/bg-CvzePvRz.js +3 -3
- package/lib/bn-IN-jTk0yOHO.js +3 -3
- package/lib/cs-0hePpQmT.js +3 -3
- package/lib/da-BBEEUWuv.js +3 -3
- package/lib/de-Kuzlya0F.js +3 -3
- package/lib/el-BrF6GP4c.js +3 -3
- package/lib/{en-GB-B1r5YmI6.js → en-GB-Brjj-qMa.js} +4 -4
- package/lib/{en-GB-B1r5YmI6.js.map → en-GB-Brjj-qMa.js.map} +1 -1
- package/lib/es-BmJo435P.js +3 -3
- package/lib/es-ES-VJ4sReFa.js +3 -3
- package/lib/{es6-BnV6-nn6.js → es6-CEKvihTX.js} +33 -33
- package/lib/{es6-BnV6-nn6.js.map → es6-CEKvihTX.js.map} +1 -1
- package/lib/fi-CuGjVMQ0.js +3 -3
- package/lib/fr-CA-DoMwZIYT.js +3 -3
- package/lib/fr-DXA7czWG.js +3 -3
- package/lib/ga-Cg4vMbHF.js +3 -3
- package/lib/hi-IN-jLihWSoh.js +3 -3
- package/lib/hr-8jLBEZkg.js +3 -3
- package/lib/hu-Ein3QE6i.js +3 -3
- package/lib/id-D2fOjsFI.js +3 -3
- package/lib/{index-paUjkUED.js → index-B3HTCh42.js} +5 -5
- package/lib/{index-paUjkUED.js.map → index-B3HTCh42.js.map} +1 -1
- package/lib/{index-YOLNI9gz.js → index-B6VWKrXi.js} +4 -4
- package/lib/{index-YOLNI9gz.js.map → index-B6VWKrXi.js.map} +1 -1
- package/lib/{index-D-kWzOG4.js → index-BIgOqQK8.js} +4 -4
- package/lib/{index-D-kWzOG4.js.map → index-BIgOqQK8.js.map} +1 -1
- package/lib/{index-DHb5xWpq.js → index-BNSFithk.js} +4 -4
- package/lib/{index-DHb5xWpq.js.map → index-BNSFithk.js.map} +1 -1
- package/lib/{index-CqM5GT6q.js → index-BTECubMp.js} +4 -4
- package/lib/{index-CqM5GT6q.js.map → index-BTECubMp.js.map} +1 -1
- package/lib/{index-BnflNQnL.js → index-BdxW4mcY.js} +5 -5
- package/lib/{index-BnflNQnL.js.map → index-BdxW4mcY.js.map} +1 -1
- package/lib/{index-BI1bxpVp.js → index-BhIc5T6G.js} +4 -4
- package/lib/{index-BI1bxpVp.js.map → index-BhIc5T6G.js.map} +1 -1
- package/lib/{index-BBw1ZoU3.js → index-C7ziI5Jh.js} +4 -4
- package/lib/{index-BBw1ZoU3.js.map → index-C7ziI5Jh.js.map} +1 -1
- package/lib/{index-DabDVYES.js → index-C9XXJOq1.js} +4 -4
- package/lib/{index-DabDVYES.js.map → index-C9XXJOq1.js.map} +1 -1
- package/lib/index-CIgO8Lwa.js +11 -0
- package/lib/index-CIgO8Lwa.js.map +1 -0
- package/lib/{index-7YK_CrGZ.js → index-ClLaiYHq.js} +6 -6
- package/lib/{index-7YK_CrGZ.js.map → index-ClLaiYHq.js.map} +1 -1
- package/lib/{index-iCHF39WD.js → index-CpA2NJVS.js} +5 -5
- package/lib/{index-iCHF39WD.js.map → index-CpA2NJVS.js.map} +1 -1
- package/lib/{index-Bh-Dkauz.js → index-D0UmWT9j.js} +4 -4
- package/lib/{index-Bh-Dkauz.js.map → index-D0UmWT9j.js.map} +1 -1
- package/lib/{index-BVuj7IeT.js → index-DDTrOWxd.js} +5 -5
- package/lib/{index-BVuj7IeT.js.map → index-DDTrOWxd.js.map} +1 -1
- package/lib/index-DIkWpujR.js +3 -3
- package/lib/{index-HW154tof.js → index-DWjME_nu.js} +5 -5
- package/lib/{index-HW154tof.js.map → index-DWjME_nu.js.map} +1 -1
- package/lib/index-DYZChLrf.js +11 -0
- package/lib/index-DYZChLrf.js.map +1 -0
- package/lib/index-D_IvvuSk.js +11 -0
- package/lib/index-D_IvvuSk.js.map +1 -0
- package/lib/{index-BThxi5DS.js → index-DzGhZ5G6.js} +5 -5
- package/lib/{index-BThxi5DS.js.map → index-DzGhZ5G6.js.map} +1 -1
- package/lib/{index-CCnNLAJ9.js → index-PpmZedME.js} +6 -6
- package/lib/{index-CCnNLAJ9.js.map → index-PpmZedME.js.map} +1 -1
- package/lib/{index-CU4VWt4y.js → index-lMQ3ZcnK.js} +4 -4
- package/lib/{index-CU4VWt4y.js.map → index-lMQ3ZcnK.js.map} +1 -1
- package/lib/index-pXK_RRl1.js +11 -0
- package/lib/index-pXK_RRl1.js.map +1 -0
- package/lib/{index-CcKzNLcx.js → index-uyyUFqRw.js} +4 -4
- package/lib/{index-CcKzNLcx.js.map → index-uyyUFqRw.js.map} +1 -1
- package/lib/{index-DTTitkjm.js → index-yd1v8t9g.js} +5 -5
- package/lib/{index-DTTitkjm.js.map → index-yd1v8t9g.js.map} +1 -1
- package/lib/is-uofBua88.js +3 -3
- package/lib/it-BXQ3Cdz7.js +3 -3
- package/lib/iw-BVcBUbNp.js +3 -3
- package/lib/ja-D_sIjDrs.js +3 -3
- package/lib/ko-yej6GW7B.js +3 -3
- package/lib/lo-DOxRq08B.js +3 -3
- package/lib/lt-C0zB7hhb.js +3 -3
- package/lib/ms-Dkvk6osM.js +3 -3
- package/lib/nl-BBLPfL9j.js +3 -3
- package/lib/nl-BE-BPYfvpfr.js +3 -3
- package/lib/no-ClrbrhEP.js +3 -3
- package/lib/pl-DC_JTakc.js +3 -3
- package/lib/pt-BR-B4MbJXYr.js +3 -3
- package/lib/pt-nXffRpe2.js +3 -3
- package/lib/ro-C1QBP9eD.js +3 -3
- package/lib/ru-BDzTrG_-.js +3 -3
- package/lib/sk-D4uJEbt6.js +3 -3
- package/lib/sl-BqUvHKAJ.js +3 -3
- package/lib/sr-cEvuJUfp.js +3 -3
- package/lib/sv-ClxhV6_2.js +3 -3
- package/lib/sw-CKmTEK_g.js +3 -3
- package/lib/th-sCIzxp8V.js +3 -3
- package/lib/tr-Cj86X7Xp.js +3 -3
- package/lib/uk-DuUWNZyE.js +3 -3
- package/lib/ur-oveEgJDZ.js +3 -3
- package/lib/{useCollectFieldsEndpoint-Bg7LuTqN.js → useCollectFieldsEndpoint-HgN8eaMO.js} +5 -5
- package/lib/{useCollectFieldsEndpoint-Bg7LuTqN.js.map → useCollectFieldsEndpoint-HgN8eaMO.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-C4qS8xuG.js → useEmailFirstExperiment-CIdKCqil.js} +4 -4
- package/lib/{useEmailFirstExperiment-C4qS8xuG.js.map → useEmailFirstExperiment-CIdKCqil.js.map} +1 -1
- package/lib/vi-uAKu07fX.js +3 -3
- package/lib/zh-HK-BtpTdvxI.js +3 -3
- package/lib/zh-nzIa0uRS.js +3 -3
- package/lib/zu-D3GJZUZ3.js +3 -3
- package/package.json +1 -1
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +7 -7
- package/src/lib/intl/localized-messages/en-GB.json.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/StepIDCheckLoopRegula.css +0 -8
- package/lib/StepCollectMilitaryStatusComponent-CrbaiB3G.js +0 -11
- package/lib/index-CC574is9.js +0 -11
- package/lib/index-CC574is9.js.map +0 -1
- package/lib/index-CPzIAve6.js +0 -11
- package/lib/index-CPzIAve6.js.map +0 -1
- package/lib/index-DhFhLdve.js +0 -11
- package/lib/index-DhFhLdve.js.map +0 -1
- package/lib/index-DtUF6vov.js +0 -11
- package/lib/index-DtUF6vov.js.map +0 -1
package/_mysheerid-preview.css
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.133.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.133.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1759420279478
|
|
9
|
+
* BUILD_DATE: Thu Oct 02 2025 15:51:19 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
11
11
|
*/
|
|
12
12
|
.sid-inline-iframe{border:0;height:100%;min-width:32rem}.sid-modal__wrapper{background:#fff;border-radius:5px;box-shadow:#989898 10px 10px 15px;left:50%;max-height:calc(100% - 80px);opacity:0;outline:none;overflow-y:auto;position:fixed;top:50%;transform:translate(-50%,-50%);transition:opacity .3s linear;width:32rem;z-index:9998}.sid-modal__wrapper.fade-in{opacity:1}.sid-modal__iframe{border:0;display:block;height:100%;min-width:250px;width:100%}.sid-modal__close-button{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;flex-direction:row;position:absolute;right:10px;text-decoration:none;top:10px;z-index:9999}.sid-modal__close-icon{background-image:url(https://services.sheerid.com/jsapi/img/btn1.png);background-repeat:no-repeat;filter:brightness(25%);height:20px;width:20px}.sid-modal__close-text{color:#000;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:var(--sheerid-font-size-body);margin-right:5px}.sid-modal__overlay{background-color:#b3b3b3;height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .3s linear;width:100%;z-index:9997}.sid-modal__overlay.fade-in{opacity:.75}@media (width <= 620px){.sid-modal__wrapper{max-width:calc(100vw - 1rem)}}@media (width <= 32rem){.sid-inline-iframe{min-width:calc(100vw - 1rem);width:100%}}.sid-input-clear-button{background-color:transparent;border:none;height:100%;margin:0;padding:0;position:absolute;top:0;width:35px}.sid-ltr .sid-input-clear-button{right:0}.sid-rtl .sid-input-clear-button{left:0}.sid-input-clear-button--disabled{cursor:not-allowed}.sid-text-input{padding-right:30px;text-overflow:ellipsis}:root{--sheerid-button-border-width: 1px}.sid-button-container{display:grid;gap:.5em;grid-template-columns:1fr;margin-top:.5em}.sid-button{border:solid var(--sheerid-button-border-width) transparent;outline-offset:2px;padding:var(--sheerid-font-size-medium);transition:border .2s,background .2s,color .2s;width:100%}.sid-button-font{font-size:1rem;font-weight:600}.sid-button:hover{cursor:pointer}.sid-button[aria-disabled=true]{background-color:#f3f4f6;border:solid 1px transparent;color:#9ca3af;cursor:not-allowed}:root{--sheerid-button-primary-background-color: hsl(189deg 72% 50%);--sheerid-button-primary-border-color: transparent;--sheerid-button-primary-color: hsl(0deg 0% 100%);--sheerid-button-primary-background-color-hover: hsl(189deg 72% 46%);--sheerid-button-primary-border-color-hover: transparent;--sheerid-button-primary-color-hover: hsl(0deg 0% 100%);--sheerid-button-primary-background-color-active: hsl(189deg 72% 42%);--sheerid-button-primary-border-color-active: transparent;--sheerid-button-primary-color-active: hsl(0deg 0% 100%)}.sid-button-primary{background-color:var(--sheerid-button-primary-background-color);border-color:var(--sheerid-button-primary-border-color);color:var(--sheerid-button-primary-color)}.sid-button-primary:hover,.sid-button-primary:focus-visible{background-color:var(--sheerid-button-primary-background-color-hover);border-color:var(--sheerid-button-primary-border-color-hover);color:var(--sheerid-button-primary-color-hover)}.sid-button-primary:active{background-color:var(--sheerid-button-primary-background-color-active);border-color:var(--sheerid-button-primary-border-color-active);color:var(--sheerid-button-primary-color-active)}:root{--sheerid-button-secondary-background-color: hsl(0deg 0% 100%);--sheerid-button-secondary-border-color: hsl(189deg 72% 50%);--sheerid-button-secondary-color: hsl(189deg 72% 50%);--sheerid-button-secondary-background-color-hover: hsl(189deg 72% 96%);--sheerid-button-secondary-border-color-hover: hsl(189deg 72% 50%);--sheerid-button-secondary-color-hover: hsl(189deg 72% 50%);--sheerid-button-secondary-background-color-active: hsl(189deg 72% 92%);--sheerid-button-secondary-border-color-active: hsl(189deg 72% 50%);--sheerid-button-secondary-color-active: hsl(189deg 72% 50%)}.sid-button-secondary{background-color:var(--sheerid-button-secondary-background-color);border-color:var(--sheerid-button-secondary-border-color);color:var(--sheerid-button-secondary-color)}.sid-button-secondary:hover,.sid-button-secondary:focus-visible{background-color:var(--sheerid-button-secondary-background-color-hover);border-color:var(--sheerid-button-secondary-border-color-hover);color:var(--sheerid-button-secondary-color-hover)}.sid-button-secondary:active{background-color:var(--sheerid-button-secondary-background-color-active);border-color:var(--sheerid-button-secondary-border-color-active);color:var(--sheerid-button-secondary-color-active)}:root{--sheerid-button-destructive-background-color: hsl(348deg 76% 100%);--sheerid-button-destructive-border-color: hsl(348deg 76% 50%);--sheerid-button-destructive-color: hsl(348deg 76% 50%);--sheerid-button-destructive-background-color-hover: hsl(348deg 76% 96%);--sheerid-button-destructive-border-color-hover: hsl(348deg 76% 50%);--sheerid-button-destructive-color-hover: hsl(348deg 76% 50%);--sheerid-button-destructive-background-color-active: hsl(348deg 76% 92%);--sheerid-button-destructive-border-color-active: hsl(348deg 76% 50%);--sheerid-button-destructive-color-active: hsl(348deg 76% 50%)}.sid-button-destructive{background-color:var(--sheerid-button-destructive-background-color);border-color:var(--sheerid-button-destructive-border-color);color:var(--sheerid-button-destructive-color)}.sid-button-destructive:hover,.sid-button-destructive:focus-visible{background-color:var(--sheerid-button-destructive-background-color-hover);border-color:var(--sheerid-button-destructive-border-color-hover);color:var(--sheerid-button-destructive-border-color-hover)}.sid-button-destructive:active{background-color:var(--sheerid-button-destructive-background-color-active);border-color:var(--sheerid-button-destructive-border-color-active);color:var(--sheerid-button-destructive-border-color-active)}.sid-button-textLike{background:transparent;border:none;border-radius:0;font:inherit;padding:0;width:auto}
|
package/_mysheerid-preview.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.133.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.133.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1759420279478
|
|
9
|
+
* BUILD_DATE: Thu Oct 02 2025 15:51:19 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
11
11
|
*/
|
|
12
12
|
var mN = Object.defineProperty;
|
|
@@ -159,7 +159,7 @@ const yN = (e) => e && e.stack && e.message, xd = (...e) => {
|
|
|
159
159
|
locale: Le(() => o.programTheme.intl.locale),
|
|
160
160
|
isTestMode: Le(() => o.programTheme.isTestMode),
|
|
161
161
|
openOrgSearchEnabled: Le(() => o.programTheme.openOrgSearchEnabled),
|
|
162
|
-
jslibVerActual: Le(() => "2.133.0-alpha.
|
|
162
|
+
jslibVerActual: Le(() => "2.133.0-alpha.2", "?"),
|
|
163
163
|
...r
|
|
164
164
|
};
|
|
165
165
|
}
|
|
@@ -2391,7 +2391,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
|
2391
2391
|
case "en-GB":
|
|
2392
2392
|
t = await import(
|
|
2393
2393
|
/* webpackChunkName: "messages_en-GB" */
|
|
2394
|
-
"./chunk/en-GB-
|
|
2394
|
+
"./chunk/en-GB-Brjj-qMa.js"
|
|
2395
2395
|
).then((r) => r.default);
|
|
2396
2396
|
break;
|
|
2397
2397
|
case "en-US":
|
|
@@ -2672,7 +2672,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
|
2672
2672
|
}, NE = () => `${Be().restApi.serviceUrl}${Be().restApi.resources.verification}`, TA = (e) => `${NE()}${e}`, PA = () => NE(), RA = (e, t = null) => {
|
|
2673
2673
|
const r = `${Be().restApi.serviceUrl}${Be().restApi.resources.program.base}${e}/${Be().restApi.resources.program.theme}`;
|
|
2674
2674
|
return t ? `${r}?locale=${t}` : `${r}`;
|
|
2675
|
-
}, kA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, NA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, AE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, AA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, AW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Ly = () => "2.133.0-alpha.
|
|
2675
|
+
}, kA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, NA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, AE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, AA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, AW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Ly = () => "2.133.0-alpha.2", _A = () => window.location.href, _E = () => {
|
|
2676
2676
|
try {
|
|
2677
2677
|
const e = new URLSearchParams(window.location.search);
|
|
2678
2678
|
if (e.get(xo))
|
|
@@ -32862,7 +32862,7 @@ const cN = ({
|
|
|
32862
32862
|
StepHybridIdentityPersonalInfoComponent: de.lazy(
|
|
32863
32863
|
() => Promise.resolve().then(() => CG)
|
|
32864
32864
|
),
|
|
32865
|
-
StepIDCheckLoopComponent: de.lazy(() => import("./chunk/index-
|
|
32865
|
+
StepIDCheckLoopComponent: de.lazy(() => import("./chunk/index-gRuSyTz4.js").then((e) => e.i)),
|
|
32866
32866
|
StepLicensedProfessionalPersonalInfoComponent: de.lazy(
|
|
32867
32867
|
() => import("./chunk/index-DCTYdT7J.js")
|
|
32868
32868
|
),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.133.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.133.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1759420178604
|
|
5
|
+
* BUILD_DATE: Thu Oct 02 2025 15:49:38 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
7
7
|
*/
|
|
8
8
|
import { i as _, R as n, d as C, q as w, r as y, j as e, L as V, A, b as a, l as g, V as f, n as T, s as v } from "../sheerid.js";
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.133.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.133.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1759420279478
|
|
9
|
+
* BUILD_DATE: Thu Oct 02 2025 15:51:19 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
11
11
|
*/
|
|
12
12
|
import { i as _, R as n, d as C, q as w, r as y, j as e, L as V, A, b as a, l as g, V as f, n as T, s as v } from "../_mysheerid-preview.js";
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.133.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.133.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1759420279478
|
|
9
|
+
* BUILD_DATE: Thu Oct 02 2025 15:51:19 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
11
11
|
*/
|
|
12
12
|
import { i as m, g as f, j as a, F as h, a as u, b as i } from "../_mysheerid-preview.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.133.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.133.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1759420178604
|
|
5
|
+
* BUILD_DATE: Thu Oct 02 2025 15:49:38 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
7
7
|
*/
|
|
8
8
|
import { i as m, g as f, j as a, F as h, a as u, b as i } from "../sheerid.js";
|
package/chunk/Onfido-BX3RMDPu.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.133.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.133.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1759420279478
|
|
9
|
+
* BUILD_DATE: Thu Oct 02 2025 15:51:19 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
11
11
|
*/
|
|
12
12
|
var a = Object.defineProperty, d = (n, e, t) => e in n ? a(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, i = (n, e, t) => (d(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.133.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.133.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1759420279478
|
|
9
|
+
* BUILD_DATE: Thu Oct 02 2025 15:51:19 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
11
11
|
*/
|
|
12
12
|
import { j as e, m, Z as o, d as n, b as t, R as r, _ as h, A as u, l as f, V as g } from "../_mysheerid-preview.js";
|
|
13
|
-
import { S as k } from "./index-
|
|
13
|
+
import { S as k } from "./index-gRuSyTz4.js";
|
|
14
14
|
const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(m, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
15
15
|
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
|
16
16
|
o,
|
package/chunk/{StepIDCheckLoopOnfido-BZUbGXcg.js.map → StepIDCheckLoopOnfido-Cx5yIiao.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopOnfido-BZUbGXcg.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,YAAA;AAAA,UACj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,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
|
+
{"version":3,"file":"StepIDCheckLoopOnfido-Cx5yIiao.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,YAAA;AAAA,UACjB;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,YAAA;AAAA,UACjB;AAAA,QACF;AAAA,QAEF,gBACEH,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI;AAAA,YACJ,WAAU;AAAA,YAEV,UAAAA,gBAAAA,EAAA;AAAA,cA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3
|
-
* VERSION: 2.133.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.133.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1759420178604
|
|
5
|
+
* BUILD_DATE: Thu Oct 02 2025 15:49:38 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
7
7
|
*/
|
|
8
8
|
import { j as e, m, Z as o, d as n, b as t, R as r, _ as h, A as u, l as f, V as g } from "../sheerid.js";
|
|
9
|
-
import { S as k } from "./index-
|
|
9
|
+
import { S as k } from "./index-Bp3Yz2-S.js";
|
|
10
10
|
const x = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(m, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
11
11
|
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
|
12
12
|
o,
|
package/chunk/{StepIDCheckLoopOnfido-BYKGoECK.js.map → StepIDCheckLoopOnfido-a46Vug33.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopOnfido-BYKGoECK.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,YAAA;AAAA,UACjB;AAAA,QACF;AAAA,QAEF,mBACEH,gBAAAA,EAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,QAAO;AAAA,YACP,KAAI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U;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
|
+
{"version":3,"file":"StepIDCheckLoopOnfido-a46Vug33.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,YAAA;AAAA,UACjB;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,YAAA;AAAA,UACjB;AAAA,QACF;AAAA,QAEF,gBACEH,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,QAAA;AAAA,MACF;AAAA,IAEJ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MAAAwB,GAAA,EAA2B,qBAAAzB,EAA0C,CAAA,EACxE,CAAA,GACF;AAAA,IAGD,CAACmB,KACAhB,gBAAAA,EAAAA,KAAC,OACC,EAAA,UAAA;AAAA,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,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;"}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.133.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.133.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1759420279478
|
|
9
|
+
* BUILD_DATE: Thu Oct 02 2025 15:51:19 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: fba56a51e008d7a472fdb2a578276960c2b5ae9c
|
|
11
11
|
*/
|
|
12
12
|
import { l as Us, j as be, a$ as VV, b as wr, K as SV, R as Fn, b7 as Gw, A as Cp, b3 as _V, V as Ww, m as MV, Z as H2, t as oa, b8 as RV, r as TV, ag as xV, L as AV } from "../_mysheerid-preview.js";
|
|
13
|
-
import { S as OV } from "./index-
|
|
13
|
+
import { S as OV } from "./index-gRuSyTz4.js";
|
|
14
14
|
const Kw = async (e, r, t = void 0) => {
|
|
15
15
|
Us.info(`uploading files to ${e}`);
|
|
16
16
|
const i = new FormData();
|