@sheerid/jslib 2.288.0 → 2.290.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/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +104 -105
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-D-1uC4Z_.js → AddressComponent-DD8h728z.js} +6 -6
- package/chunk/{AddressComponent-BpddK6UU.js.map → AddressComponent-DD8h728z.js.map} +1 -1
- package/chunk/{AddressComponent-BpddK6UU.js → AddressComponent-DKfHQAHW.js} +6 -6
- package/chunk/{AddressComponent-D-1uC4Z_.js.map → AddressComponent-DKfHQAHW.js.map} +1 -1
- package/chunk/AnnouncingHeader-B0Ku-xl_.js +4 -4
- package/chunk/AnnouncingHeader-CXTQdbKG.js +4 -4
- package/chunk/{BirthDateComponent-B815Ijko.js → BirthDateComponent-2PEmSvVv.js} +6 -6
- package/chunk/{BirthDateComponent-B815Ijko.js.map → BirthDateComponent-2PEmSvVv.js.map} +1 -1
- package/chunk/{BirthDateComponent-CBEpeITj.js → BirthDateComponent-Cd0cMZrO.js} +6 -6
- package/chunk/{BirthDateComponent-CBEpeITj.js.map → BirthDateComponent-Cd0cMZrO.js.map} +1 -1
- package/chunk/{CaptchaComponent-D8oka89l.js → CaptchaComponent-CeJZh2AO.js} +17 -17
- package/chunk/{CaptchaComponent-D8oka89l.js.map → CaptchaComponent-CeJZh2AO.js.map} +1 -1
- package/chunk/{CaptchaComponent-DH22WJVd.js → CaptchaComponent-D84uhigA.js} +78 -78
- package/chunk/{CaptchaComponent-DH22WJVd.js.map → CaptchaComponent-D84uhigA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BPWLFVgc.js → ChangeLocaleComponent-LlVAEjO9.js} +22 -22
- package/chunk/{ChangeLocaleComponent-BPWLFVgc.js.map → ChangeLocaleComponent-LlVAEjO9.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DEaJwR-4.js → ChangeLocaleComponent-Slt2XjmB.js} +7 -7
- package/chunk/{ChangeLocaleComponent-DEaJwR-4.js.map → ChangeLocaleComponent-Slt2XjmB.js.map} +1 -1
- package/chunk/{City-BGyqHaK5.js → City-DeTr-l8T.js} +6 -6
- package/chunk/{City-BGyqHaK5.js.map → City-DeTr-l8T.js.map} +1 -1
- package/chunk/{City-CW-XU58i.js → City-DzE-sIfb.js} +6 -6
- package/chunk/{City-CW-XU58i.js.map → City-DzE-sIfb.js.map} +1 -1
- package/chunk/{CollegeNameComponent-8PfeDsOK.js → CollegeNameComponent-BIelwnwZ.js} +8 -8
- package/chunk/{CollegeNameComponent-8PfeDsOK.js.map → CollegeNameComponent-BIelwnwZ.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CenmoMlH.js → CollegeNameComponent-BLK9LM4N.js} +15 -15
- package/chunk/{CollegeNameComponent-CenmoMlH.js.map → CollegeNameComponent-BLK9LM4N.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BAOwMLHJ.js +4 -4
- package/chunk/CopyToClipboardComponent-BejK3fLR.js +4 -4
- package/chunk/{CountryComponentWrapper-Cq-Z2Pll.js → CountryComponentWrapper-DQW_P5GI.js} +23 -23
- package/chunk/{CountryComponentWrapper-CjwhKFvR.js.map → CountryComponentWrapper-DQW_P5GI.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CjwhKFvR.js → CountryComponentWrapper-D_v3ee4V.js} +10 -10
- package/chunk/{CountryComponentWrapper-Cq-Z2Pll.js.map → CountryComponentWrapper-D_v3ee4V.js.map} +1 -1
- package/chunk/{DischargeDateComponent-BZlPosxl.js → DischargeDateComponent-CDWiw0-D.js} +13 -13
- package/chunk/{DischargeDateComponent-BZlPosxl.js.map → DischargeDateComponent-CDWiw0-D.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CIjTwKH7.js → DischargeDateComponent-Dlm6t88Y.js} +13 -13
- package/chunk/{DischargeDateComponent-CIjTwKH7.js.map → DischargeDateComponent-Dlm6t88Y.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BWQvRojM.js → DriverLicenseNumberComponent-DpCVs8n_.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-BWQvRojM.js.map → DriverLicenseNumberComponent-DpCVs8n_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BivuTk8M.js → DriverLicenseNumberComponent-XVb7vgi3.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-BivuTk8M.js.map → DriverLicenseNumberComponent-XVb7vgi3.js.map} +1 -1
- package/chunk/{EmailLoopPending-CAmx-Ic-.js → EmailLoopPending-CMiOTpOJ.js} +7 -7
- package/chunk/{EmailLoopPending-Bo7GmzF_.js.map → EmailLoopPending-CMiOTpOJ.js.map} +1 -1
- package/chunk/{EmailLoopPending-Bo7GmzF_.js → EmailLoopPending-Dz4TsQy4.js} +7 -7
- package/chunk/{EmailLoopPending-CAmx-Ic-.js.map → EmailLoopPending-Dz4TsQy4.js.map} +1 -1
- package/chunk/{ExtraMessage-_XZj35_i.js → ExtraMessage-Bhmq_Waj.js} +5 -5
- package/chunk/{ExtraMessage-8NdyDCHO.js.map → ExtraMessage-Bhmq_Waj.js.map} +1 -1
- package/chunk/{ExtraMessage-8NdyDCHO.js → ExtraMessage-CgELJLpn.js} +5 -5
- package/chunk/{ExtraMessage-_XZj35_i.js.map → ExtraMessage-CgELJLpn.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-Da8rj0Wh.js → FirstResponderOrganizationComponent-CC5-PDrK.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-Da8rj0Wh.js.map → FirstResponderOrganizationComponent-CC5-PDrK.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-mbtgCIM4.js → FirstResponderOrganizationComponent-CEBS72Sm.js} +15 -15
- package/chunk/{FirstResponderOrganizationComponent-mbtgCIM4.js.map → FirstResponderOrganizationComponent-CEBS72Sm.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BAHiq8-0.js → FormFieldInputSelect--mO3jmU8.js} +5 -5
- package/chunk/{FormFieldInputSelect-B0rIg9MG.js.map → FormFieldInputSelect--mO3jmU8.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B0rIg9MG.js → FormFieldInputSelect-CPeFv22D.js} +5 -5
- package/chunk/{FormFieldInputSelect-BAHiq8-0.js.map → FormFieldInputSelect-CPeFv22D.js.map} +1 -1
- package/chunk/FormFieldLayout-DEKIQK2R.js +4 -4
- package/chunk/FormFieldLayout-NkmhFC9B.js +4 -4
- package/chunk/FormFieldText-Bn9WIKiI.js +4 -4
- package/chunk/FormFieldText-Py7x4EZ6.js +4 -4
- package/chunk/{FormFieldTypeahead-dndK764Z.js → FormFieldTypeahead-Cy-3RAew.js} +8 -8
- package/chunk/{FormFieldTypeahead-dndK764Z.js.map → FormFieldTypeahead-Cy-3RAew.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CZkOfcI_.js → FormFieldTypeahead-LSYbrfBP.js} +8 -8
- package/chunk/{FormFieldTypeahead-CZkOfcI_.js.map → FormFieldTypeahead-LSYbrfBP.js.map} +1 -1
- package/chunk/{FormFooterComponent-DJfrw5sA.js → FormFooterComponent-D4QJJ-El.js} +71 -71
- package/chunk/{FormFooterComponent-DJfrw5sA.js.map → FormFooterComponent-D4QJJ-El.js.map} +1 -1
- package/chunk/{FormFooterComponent-afVUq4V4.js → FormFooterComponent-Db94BTNT.js} +18 -18
- package/chunk/{FormFooterComponent-afVUq4V4.js.map → FormFooterComponent-Db94BTNT.js.map} +1 -1
- package/chunk/{FormSelectChoice-Bpx3fh4o.js → FormSelectChoice-BoTIc5oD.js} +6 -6
- package/chunk/{FormSelectChoice-Bpx3fh4o.js.map → FormSelectChoice-BoTIc5oD.js.map} +1 -1
- package/chunk/{FormSelectChoice-C-8NDCOs.js → FormSelectChoice-Zw3pKb9v.js} +6 -6
- package/chunk/{FormSelectChoice-C-8NDCOs.js.map → FormSelectChoice-Zw3pKb9v.js.map} +1 -1
- package/chunk/InputText-CMu4ei8e.js +4 -4
- package/chunk/InputText-dflyPe3J.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-C2Ev1y3o.js → LicensedProfessionalOrganizationComponent-BUtMTAkk.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-C2Ev1y3o.js.map → LicensedProfessionalOrganizationComponent-BUtMTAkk.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CRjebPcb.js → LicensedProfessionalOrganizationComponent-y5azOwHV.js} +15 -15
- package/chunk/{LicensedProfessionalOrganizationComponent-CRjebPcb.js.map → LicensedProfessionalOrganizationComponent-y5azOwHV.js.map} +1 -1
- package/chunk/{LogoComponent-BDhMcJvy.js → LogoComponent-CJcMDzxn.js} +9 -9
- package/chunk/{LogoComponent-BDhMcJvy.js.map → LogoComponent-CJcMDzxn.js.map} +1 -1
- package/chunk/{LogoComponent-DASXTR4v.js → LogoComponent-DRlUkzL5.js} +5 -5
- package/chunk/{LogoComponent-DASXTR4v.js.map → LogoComponent-DRlUkzL5.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Cqja8mzW.js → LowIncomeOrganizationComponent-CMLS_6f7.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-CRAestTn.js.map → LowIncomeOrganizationComponent-CMLS_6f7.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CRAestTn.js → LowIncomeOrganizationComponent-XE645g9w.js} +30 -30
- package/chunk/{LowIncomeOrganizationComponent-Cqja8mzW.js.map → LowIncomeOrganizationComponent-XE645g9w.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-C6eau1Ke.js → MedicalProfessionalOrganizationComponent-B6hySwWt.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-C6eau1Ke.js.map → MedicalProfessionalOrganizationComponent-B6hySwWt.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-UjErRhBp.js → MedicalProfessionalOrganizationComponent-CEfnIdC3.js} +15 -15
- package/chunk/{MedicalProfessionalOrganizationComponent-UjErRhBp.js.map → MedicalProfessionalOrganizationComponent-CEfnIdC3.js.map} +1 -1
- package/chunk/{MemberIdComponent-Dm4VoHvO.js → MemberIdComponent-BnJLiVV-.js} +6 -6
- package/chunk/{MemberIdComponent-B5l3M08c.js.map → MemberIdComponent-BnJLiVV-.js.map} +1 -1
- package/chunk/{MemberIdComponent-B5l3M08c.js → MemberIdComponent-CPlvhVZ8.js} +6 -6
- package/chunk/{MemberIdComponent-Dm4VoHvO.js.map → MemberIdComponent-CPlvhVZ8.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-2EwQTJci.js → MembershipOrganizationComponent-CEU4TQuO.js} +15 -15
- package/chunk/{MembershipOrganizationComponent-2EwQTJci.js.map → MembershipOrganizationComponent-CEU4TQuO.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D9m2YqfN.js → MembershipOrganizationComponent-D0YorDhu.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-D9m2YqfN.js.map → MembershipOrganizationComponent-D0YorDhu.js.map} +1 -1
- package/chunk/{Message-D6wWKhGu.js → Message-BgJQKz_x.js} +627 -628
- package/chunk/{Message-D6wWKhGu.js.map → Message-BgJQKz_x.js.map} +1 -1
- package/chunk/{Message-D4Yp2DNf.js → Message-C8hwqDr2.js} +45 -46
- package/chunk/{Message-D4Yp2DNf.js.map → Message-C8hwqDr2.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DSR3pxNS.js → PersonalInfoStepSubmitButton-CJYeNqbu.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-DSR3pxNS.js.map → PersonalInfoStepSubmitButton-CJYeNqbu.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-Ow_f0Q7a.js → PersonalInfoStepSubmitButton-CdZymKZb.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-Ow_f0Q7a.js.map → PersonalInfoStepSubmitButton-CdZymKZb.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CP4_Ubn9.js → PersonalInfoStepWrapper-BIbUswfn.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-CP4_Ubn9.js.map → PersonalInfoStepWrapper-BIbUswfn.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D-kbxJx-.js → PersonalInfoStepWrapper-DQ75PRWo.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-D-kbxJx-.js.map → PersonalInfoStepWrapper-DQ75PRWo.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Dz5XAcxA.js → PostalCodeComponent-DNdUR9Xg.js} +6 -6
- package/chunk/{PostalCodeComponent-DkPdX8UU.js.map → PostalCodeComponent-DNdUR9Xg.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DkPdX8UU.js → PostalCodeComponent-zteosCwv.js} +6 -6
- package/chunk/{PostalCodeComponent-Dz5XAcxA.js.map → PostalCodeComponent-zteosCwv.js.map} +1 -1
- package/chunk/{SSN-D5rf74Ws.js → SSN-BKPNF7cg.js} +6 -6
- package/chunk/{SSN-Ce8hozpz.js.map → SSN-BKPNF7cg.js.map} +1 -1
- package/chunk/{SSN-Ce8hozpz.js → SSN-CTR6jwEC.js} +6 -6
- package/chunk/{SSN-D5rf74Ws.js.map → SSN-CTR6jwEC.js.map} +1 -1
- package/chunk/StateSelectComponent-CpGuzW45.js +46 -0
- package/chunk/StateSelectComponent-CpGuzW45.js.map +1 -0
- package/chunk/StateSelectComponent-Dt-vsjau.js +42 -0
- package/chunk/StateSelectComponent-Dt-vsjau.js.map +1 -0
- package/chunk/{StatusComponent-0zKpmOKD.js → StatusComponent-8j96MYEP.js} +7 -7
- package/chunk/{StatusComponent-0zKpmOKD.js.map → StatusComponent-8j96MYEP.js.map} +1 -1
- package/chunk/{StatusComponent-BE2f3rsE.js → StatusComponent-DZu1lz0O.js} +7 -7
- package/chunk/{StatusComponent-BE2f3rsE.js.map → StatusComponent-DZu1lz0O.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-BqALUq2Z.js +176 -0
- package/chunk/StepAgePersonalInfo-BqALUq2Z.js.map +1 -0
- package/chunk/StepAgePersonalInfo-DFv4SYcW.js +172 -0
- package/chunk/StepAgePersonalInfo-DFv4SYcW.js.map +1 -0
- package/chunk/StepCard-DQ9JkAjb.js +4 -4
- package/chunk/StepCard-EHeqFY3Y.js +4 -4
- package/chunk/{StepCollectIdentifier-DwPEEA4Y.js → StepCollectIdentifier-7VdLmT7J.js} +7 -7
- package/chunk/{StepCollectIdentifier-TKLoUNRX.js.map → StepCollectIdentifier-7VdLmT7J.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-TKLoUNRX.js → StepCollectIdentifier-DAwDOBzU.js} +7 -7
- package/chunk/{StepCollectIdentifier-DwPEEA4Y.js.map → StepCollectIdentifier-DAwDOBzU.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-CXurqlAa.js +368 -0
- package/chunk/StepCollectPersonalInfo-CXurqlAa.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-DZlzAIxw.js +372 -0
- package/chunk/StepCollectPersonalInfo-DZlzAIxw.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-oWf-NQ40.js → StepCompleteAuthentication-BY_5AqX4.js} +8 -8
- package/chunk/{StepCompleteAuthentication-oWf-NQ40.js.map → StepCompleteAuthentication-BY_5AqX4.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DmkwcwhP.js → StepCompleteAuthentication-DMwS3S6i.js} +8 -8
- package/chunk/{StepCompleteAuthentication-DmkwcwhP.js.map → StepCompleteAuthentication-DMwS3S6i.js.map} +1 -1
- package/chunk/{StepConsolation-CeYacuPc.js → StepConsolation-f1mq8nYz.js} +6 -6
- package/chunk/{StepConsolation-CeYacuPc.js.map → StepConsolation-f1mq8nYz.js.map} +1 -1
- package/chunk/{StepConsolation-boTjW4M0.js → StepConsolation-yUao3Y71.js} +6 -6
- package/chunk/{StepConsolation-boTjW4M0.js.map → StepConsolation-yUao3Y71.js.map} +1 -1
- package/chunk/{StepDocUpload-C95c6Lhd.js → StepDocUpload-D5CXzeAU.js} +7 -7
- package/chunk/{StepDocUpload-C95c6Lhd.js.map → StepDocUpload-D5CXzeAU.js.map} +1 -1
- package/chunk/{StepDocUpload-CIwWws1K.js → StepDocUpload-D8IflMYV.js} +7 -7
- package/chunk/{StepDocUpload-CIwWws1K.js.map → StepDocUpload-D8IflMYV.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js +141 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-aUQdYB_b.js +145 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-aUQdYB_b.js.map +1 -0
- package/chunk/{StepEmailLoop-X2OYOHTA.js → StepEmailLoop--xNmysns.js} +10 -10
- package/chunk/{StepEmailLoop-X2OYOHTA.js.map → StepEmailLoop--xNmysns.js.map} +1 -1
- package/chunk/{StepEmailLoop-uDF2OHUq.js → StepEmailLoop-BLT6aG-Y.js} +10 -10
- package/chunk/{StepEmailLoop-uDF2OHUq.js.map → StepEmailLoop-BLT6aG-Y.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-9DG4e6iW.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-9DG4e6iW.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-Dh-zLn2S.js → StepEmploymentPersonalInfo-DX3Ax6NO.js} +61 -62
- package/chunk/StepEmploymentPersonalInfo-DX3Ax6NO.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-CfPdClaD.js → StepFirstResponderPersonalInfo-CRF48sc2.js} +38 -38
- package/chunk/{StepFirstResponderPersonalInfo-CfPdClaD.js.map → StepFirstResponderPersonalInfo-CRF48sc2.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-ULlS_TWb.js → StepFirstResponderPersonalInfo-Ds1kO5m6.js} +38 -38
- package/chunk/{StepFirstResponderPersonalInfo-ULlS_TWb.js.map → StepFirstResponderPersonalInfo-Ds1kO5m6.js.map} +1 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js +178 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js +174 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BrrrOxBn.js → StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js} +47 -39
- package/chunk/StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-C8H574ob.js → StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js} +47 -39
- package/chunk/StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js.map +1 -0
- package/chunk/{StepIDCheckLoop-BJMT2YAw.js → StepIDCheckLoop-Cwm6IPWs.js} +5 -5
- package/chunk/{StepIDCheckLoop-BJMT2YAw.js.map → StepIDCheckLoop-Cwm6IPWs.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-tVhdqCeB.js → StepIDCheckLoop-YpZuox49.js} +5 -5
- package/chunk/{StepIDCheckLoop-tVhdqCeB.js.map → StepIDCheckLoop-YpZuox49.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DhAUlwAc.js → StepIDCheckLoopOnfido-CldFXtGX.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-DhAUlwAc.js.map → StepIDCheckLoopOnfido-CldFXtGX.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BcDq5tO-.js → StepIDCheckLoopOnfido-L6oHneIc.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-BcDq5tO-.js.map → StepIDCheckLoopOnfido-L6oHneIc.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DnEAUt8l.js → StepIDCheckLoopRegula-8pxLMKE0.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-DnEAUt8l.js.map → StepIDCheckLoopRegula-8pxLMKE0.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-iT9tvnHn.js → StepIDCheckLoopRegula-B0Yv__kO.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-iT9tvnHn.js.map → StepIDCheckLoopRegula-B0Yv__kO.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BfXKaq3z.js → StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-BfXKaq3z.js.map → StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-D7g3gCUl.js → StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-D7g3gCUl.js.map → StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CyP9fp6K.js → StepLowIncomePersonalInfo-DOB6gFAS.js} +69 -70
- package/chunk/StepLowIncomePersonalInfo-DOB6gFAS.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-qaRKPwSk.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-qaRKPwSk.js.map +1 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-xJwC4TRN.js → StepMedicalProfessionalPersonalInfo-D9k7ENlE.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-DxPMDQUV.js.map → StepMedicalProfessionalPersonalInfo-D9k7ENlE.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DxPMDQUV.js → StepMedicalProfessionalPersonalInfo-RPKhaZPl.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-xJwC4TRN.js.map → StepMedicalProfessionalPersonalInfo-RPKhaZPl.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-Dea6Dsj7.js → StepMemberPersonalInfo-2IUwBn6z.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-Dea6Dsj7.js.map → StepMemberPersonalInfo-2IUwBn6z.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DiYq202e.js → StepMemberPersonalInfo-Bza2nmdJ.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-DiYq202e.js.map → StepMemberPersonalInfo-Bza2nmdJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DQFK89Wj.js → StepMoverPersonalInfo-BfN-eiIO.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-D6CUpfX7.js.map → StepMoverPersonalInfo-BfN-eiIO.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-D6CUpfX7.js → StepMoverPersonalInfo-D_lsPua4.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-DQFK89Wj.js.map → StepMoverPersonalInfo-D_lsPua4.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CYGvRxIp.js → StepOverrideComponent-Ld6S6tQi.js} +7 -7
- package/chunk/{StepOverrideComponent-CEDmpTyx.js.map → StepOverrideComponent-Ld6S6tQi.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CEDmpTyx.js → StepOverrideComponent-Mf03I7W7.js} +7 -7
- package/chunk/{StepOverrideComponent-CYGvRxIp.js.map → StepOverrideComponent-Mf03I7W7.js.map} +1 -1
- package/chunk/{StepSMSLoop-D6b2f2BB.js → StepSMSLoop-9sxMk7gX.js} +5 -5
- package/chunk/{StepSMSLoop-D6b2f2BB.js.map → StepSMSLoop-9sxMk7gX.js.map} +1 -1
- package/chunk/{StepSMSLoop-DZArnXKI.js → StepSMSLoop-Bcx24Ycx.js} +5 -5
- package/chunk/{StepSMSLoop-DZArnXKI.js.map → StepSMSLoop-Bcx24Ycx.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-DO6iLplA.js → StepSocialSecurityNumber-7clvuQce.js} +11 -11
- package/chunk/{StepSocialSecurityNumber-DO6iLplA.js.map → StepSocialSecurityNumber-7clvuQce.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-OBkbQroS.js → StepSocialSecurityNumber-DruKpXOw.js} +11 -11
- package/chunk/{StepSocialSecurityNumber-OBkbQroS.js.map → StepSocialSecurityNumber-DruKpXOw.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BUb3aC2H.js → StepStudentPersonalInfo-BzMOGhN1.js} +18 -18
- package/chunk/{StepStudentPersonalInfo-BUb3aC2H.js.map → StepStudentPersonalInfo-BzMOGhN1.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CwEgXUTW.js → StepStudentPersonalInfo-Dw1ljSGU.js} +18 -18
- package/chunk/{StepStudentPersonalInfo-CwEgXUTW.js.map → StepStudentPersonalInfo-Dw1ljSGU.js.map} +1 -1
- package/chunk/{StepSuccess-DoZZ_SMd.js → StepSuccess-DTqu9PmR.js} +11 -11
- package/chunk/{StepSuccess-CQ-qnjOC.js.map → StepSuccess-DTqu9PmR.js.map} +1 -1
- package/chunk/{StepSuccess-CQ-qnjOC.js → StepSuccess-ICuC7CFW.js} +13 -13
- package/chunk/{StepSuccess-DoZZ_SMd.js.map → StepSuccess-ICuC7CFW.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-B_JVkRV5.js → StepTeacherPersonalInfo-BhvBqRYQ.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-BFISH__A.js.map → StepTeacherPersonalInfo-BhvBqRYQ.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BFISH__A.js → StepTeacherPersonalInfo-Ds2sDRzl.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-B_JVkRV5.js.map → StepTeacherPersonalInfo-Ds2sDRzl.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-gfk2Aza5.js → TeacherSchoolComponent-CzT9PLGe.js} +8 -8
- package/chunk/{TeacherSchoolComponent-B7fGnMvi.js.map → TeacherSchoolComponent-CzT9PLGe.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-B7fGnMvi.js → TeacherSchoolComponent-D9M32gJE.js} +15 -15
- package/chunk/{TeacherSchoolComponent-gfk2Aza5.js.map → TeacherSchoolComponent-D9M32gJE.js.map} +1 -1
- package/chunk/TestingRouteOverrides-EggQSvgh.js +4 -4
- package/chunk/TestingRouteOverrides-ipf_F-iY.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-BBN8jYxF.js → countryUtils-CM4nPYrB.js} +5 -5
- package/chunk/{countryUtils-BBN8jYxF.js.map → countryUtils-CM4nPYrB.js.map} +1 -1
- package/chunk/countryUtils-Df3Rcr8q.js +12 -0
- package/chunk/{countryUtils-n_5QoHGV.js.map → countryUtils-Df3Rcr8q.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-nUkeKQBS.js → downshift.esm-BUyxJQSO.js} +5 -5
- package/chunk/{downshift.esm-BUmmrD5G.js.map → downshift.esm-BUyxJQSO.js.map} +1 -1
- package/chunk/{downshift.esm-BUmmrD5G.js → downshift.esm-CQ910rwo.js} +5 -5
- package/chunk/{downshift.esm-nUkeKQBS.js.map → downshift.esm-CQ910rwo.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-DHI3R7ys.js +4 -4
- package/chunk/empties-Dhc64eA5.js +4 -4
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-BlwolTIT.js +4 -4
- package/chunk/hooks-gC9DtNY1.js +4 -4
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/intl-CvSmE54g.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-CyXcV_93.js +4 -4
- package/chunk/jsx-runtime-JSlXFmKD.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/mocks-Dpf6dNc6.js +4 -4
- package/chunk/mocks-DrV8NINc.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/options-CRzdSTAR.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-CdBaEHVT.js +188 -0
- package/chunk/programThemeGetters-CdBaEHVT.js.map +1 -0
- package/chunk/programThemeGetters-DhVXOl92.js +182 -0
- package/chunk/programThemeGetters-DhVXOl92.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-CcEMtmwt.js → stepComponentHelpers-C6PguBPd.js} +35 -51
- package/chunk/stepComponentHelpers-C6PguBPd.js.map +1 -0
- package/chunk/{stepComponentHelpers-BFyXhiWa.js → stepComponentHelpers-CLUoIwIK.js} +35 -51
- package/chunk/stepComponentHelpers-CLUoIwIK.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-B_w7rHAd.js → useCollectFieldsEndpoint-C0RomFpQ.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-B_w7rHAd.js.map → useCollectFieldsEndpoint-C0RomFpQ.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DhD_VK-l.js → useCollectFieldsEndpoint-DhEB0r4Q.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-DhD_VK-l.js.map → useCollectFieldsEndpoint-DhEB0r4Q.js.map} +1 -1
- package/chunk/useMetrics-C3KNudJk.js +4 -4
- package/chunk/useMetrics-Cjo0Vkjx.js +4 -4
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +72 -73
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-D92IecdL.js +0 -45
- package/chunk/ApiUrls-D92IecdL.js.map +0 -1
- package/chunk/ApiUrls-g_UYd7Me.js +0 -51
- package/chunk/ApiUrls-g_UYd7Me.js.map +0 -1
- package/chunk/StateSelectComponent-CsW4Stv_.js +0 -42
- package/chunk/StateSelectComponent-CsW4Stv_.js.map +0 -1
- package/chunk/StateSelectComponent-Yr_H24gI.js +0 -38
- package/chunk/StateSelectComponent-Yr_H24gI.js.map +0 -1
- package/chunk/StepAgePersonalInfo-BmYZ0aoR.js +0 -171
- package/chunk/StepAgePersonalInfo-BmYZ0aoR.js.map +0 -1
- package/chunk/StepAgePersonalInfo-D7jOM3Jf.js +0 -175
- package/chunk/StepAgePersonalInfo-D7jOM3Jf.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BkXuNfqK.js +0 -250
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BkXuNfqK.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DSQvL_Kl.js +0 -246
- package/chunk/StepCollectMilitaryPersonalInfoComponent-DSQvL_Kl.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-CjD1UQD5.js +0 -369
- package/chunk/StepCollectPersonalInfo-CjD1UQD5.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-DD1-x317.js +0 -373
- package/chunk/StepCollectPersonalInfo-DD1-x317.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-C_dVEe2W.js +0 -142
- package/chunk/StepDriverLicensePersonalInfoComponent-C_dVEe2W.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-ConPGhI5.js +0 -146
- package/chunk/StepDriverLicensePersonalInfoComponent-ConPGhI5.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-CXBuJhmJ.js +0 -221
- package/chunk/StepEmploymentPersonalInfo-CXBuJhmJ.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-Dh-zLn2S.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-BrrrOxBn.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-C8H574ob.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-C-JZQq3h.js +0 -188
- package/chunk/StepHybridIdentityPersonalInfoComponent-C-JZQq3h.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-CMHoSEWE.js +0 -184
- package/chunk/StepHybridIdentityPersonalInfoComponent-CMHoSEWE.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-CyP9fp6K.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-DrAl9h9V.js +0 -239
- package/chunk/StepLowIncomePersonalInfo-DrAl9h9V.js.map +0 -1
- package/chunk/countryUtils-n_5QoHGV.js +0 -12
- package/chunk/programThemeGetters-DYWYXv-a.js +0 -154
- package/chunk/programThemeGetters-DYWYXv-a.js.map +0 -1
- package/chunk/programThemeGetters-VBnkSxuj.js +0 -150
- package/chunk/programThemeGetters-VBnkSxuj.js.map +0 -1
- package/chunk/stepComponentHelpers-BFyXhiWa.js.map +0 -1
- package/chunk/stepComponentHelpers-CcEMtmwt.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCompleteAuthentication-DmkwcwhP.js","names":[],"sources":["../../../node_modules/react-auth-code-input/dist/index.modern.js","../../src/components/StepCompleteAuthentication/StepCompleteAuthenticationComponent.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';\n\nvar allowedCharactersValues = ['alpha', 'numeric', 'alphanumeric'];\nvar propsMap = {\n alpha: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z]{1}'\n },\n alphanumeric: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z0-9]{1}'\n },\n numeric: {\n type: 'tel',\n inputMode: 'numeric',\n pattern: '[0-9]{1}',\n min: '0',\n max: '9'\n }\n};\nvar AuthCode = forwardRef(function (_ref, ref) {\n var _ref$allowedCharacter = _ref.allowedCharacters,\n allowedCharacters = _ref$allowedCharacter === void 0 ? 'alphanumeric' : _ref$allowedCharacter,\n ariaLabel = _ref.ariaLabel,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n containerClassName = _ref.containerClassName,\n disabled = _ref.disabled,\n inputClassName = _ref.inputClassName,\n _ref$isPassword = _ref.isPassword,\n isPassword = _ref$isPassword === void 0 ? false : _ref$isPassword,\n _ref$length = _ref.length,\n length = _ref$length === void 0 ? 6 : _ref$length,\n placeholder = _ref.placeholder,\n onChange = _ref.onChange;\n\n if (isNaN(length) || length < 1) {\n throw new Error('Length should be a number and greater than 0');\n }\n\n if (!allowedCharactersValues.some(function (value) {\n return value === allowedCharacters;\n })) {\n throw new Error('Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric');\n }\n\n var inputsRef = useRef([]);\n var inputProps = propsMap[allowedCharacters];\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n if (inputsRef.current) {\n inputsRef.current[0].focus();\n }\n },\n clear: function clear() {\n if (inputsRef.current) {\n for (var i = 0; i < inputsRef.current.length; i++) {\n inputsRef.current[i].value = '';\n }\n\n inputsRef.current[0].focus();\n }\n\n sendResult();\n }\n };\n });\n useEffect(function () {\n if (autoFocus) {\n inputsRef.current[0].focus();\n }\n }, []);\n\n var sendResult = function sendResult() {\n var res = inputsRef.current.map(function (input) {\n return input.value;\n }).join('');\n onChange && onChange(res);\n };\n\n var handleOnChange = function handleOnChange(e) {\n var _e$target = e.target,\n value = _e$target.value,\n nextElementSibling = _e$target.nextElementSibling;\n\n if (value.length > 1) {\n e.target.value = value.charAt(0);\n\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n if (value.match(inputProps.pattern)) {\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n e.target.value = '';\n }\n }\n\n sendResult();\n };\n\n var handleOnKeyDown = function handleOnKeyDown(e) {\n var key = e.key;\n var target = e.target;\n\n if (key === 'Backspace') {\n if (target.value === '') {\n if (target.previousElementSibling !== null) {\n var t = target.previousElementSibling;\n t.value = '';\n t.focus();\n e.preventDefault();\n }\n } else {\n target.value = '';\n }\n\n sendResult();\n }\n };\n\n var handleOnFocus = function handleOnFocus(e) {\n e.target.select();\n };\n\n var handleOnPaste = function handleOnPaste(e) {\n var pastedValue = e.clipboardData.getData('Text');\n var currentInput = 0;\n\n for (var i = 0; i < pastedValue.length; i++) {\n var pastedCharacter = pastedValue.charAt(i);\n var currentValue = inputsRef.current[currentInput].value;\n\n if (pastedCharacter.match(inputProps.pattern)) {\n if (!currentValue) {\n inputsRef.current[currentInput].value = pastedCharacter;\n\n if (inputsRef.current[currentInput].nextElementSibling !== null) {\n inputsRef.current[currentInput].nextElementSibling.focus();\n currentInput++;\n }\n }\n }\n }\n\n sendResult();\n e.preventDefault();\n };\n\n var inputs = [];\n\n var _loop = function _loop(i) {\n inputs.push(React.createElement(\"input\", Object.assign({\n key: i,\n onChange: handleOnChange,\n onKeyDown: handleOnKeyDown,\n onFocus: handleOnFocus,\n onPaste: handleOnPaste\n }, inputProps, {\n type: isPassword ? 'password' : inputProps.type,\n ref: function ref(el) {\n inputsRef.current[i] = el;\n },\n maxLength: 1,\n className: inputClassName,\n autoComplete: i === 0 ? 'one-time-code' : 'off',\n \"aria-label\": ariaLabel ? ariaLabel + \". Character \" + (i + 1) + \".\" : \"Character \" + (i + 1) + \".\",\n disabled: disabled,\n placeholder: placeholder\n })));\n };\n\n for (var i = 0; i < length; i++) {\n _loop(i);\n }\n\n return React.createElement(\"div\", {\n className: containerClassName\n }, inputs);\n});\n\nexport default AuthCode;\n//# sourceMappingURL=index.modern.js.map\n","import * as React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport AuthCode from \"react-auth-code-input\";\nimport produce from \"immer\";\n\nimport {\n type CompleteAuthenticationViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { AUTH_TOKEN_LENGTH } from \"../../constants\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\ninterface StepCompleteAuthenticationProps {\n verificationService: VerificationService;\n}\n\nexport const StepCompleteAuthenticationComponent = ({\n verificationService,\n}: StepCompleteAuthenticationProps) => {\n const viewModel = verificationService.viewModel as CompleteAuthenticationViewModel;\n const { fieldValidationErrors, verificationResponse } = verificationService;\n const { errorIds } = verificationResponse;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const authInputRef = React.useRef(null);\n\n const updateCompleteAuthenticationViewmodel = (\n key: keyof CompleteAuthenticationViewModel,\n value: any,\n ) => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const manuallyVerifyViewModel = (): CompleteAuthenticationViewModel => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n draft.didManuallyVerify = true;\n delete draft.authenticationCode;\n },\n );\n verificationService.updateViewModel(nextState);\n\n return nextState;\n };\n\n React.useEffect(() => {\n if (viewModel.authenticationCode) {\n // reset local viewModel's authenticationCode to prevent form from submitting\n // prematurely when provided with an incorrect auth code.\n viewModel.authenticationCode = \"\";\n }\n }, []);\n\n React.useEffect(() => {\n if (viewModel.authenticationCode.length >= AUTH_TOKEN_LENGTH) {\n submitForm(viewModel, verificationService, VerificationStepsEnum.completeAuthentication);\n }\n }, [viewModel.authenticationCode]);\n\n return (\n <div\n id=\"sid-step-complete-authentication\"\n className=\"sid-step-complete-authentication-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.title\"\n defaultMessage=\"Verify with Remember Me\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.subtitle\"\n defaultMessage=\"Enter the code sent to your email.\"\n />\n </div>\n </div>\n <div className=\"sid-l-space-top-md\" />\n <div className=\"auth-code\">\n <AuthCode\n onChange={(token) => {\n updateCompleteAuthenticationViewmodel(\"authenticationCode\", token);\n updateFieldValidationErrorsByFieldId(\n \"authenticationCode\",\n token,\n verificationService,\n );\n }}\n ref={authInputRef}\n allowedCharacters=\"numeric\"\n length={AUTH_TOKEN_LENGTH}\n isPassword\n containerClassName=\"auth-code__container\"\n inputClassName={`auth-code__input${\n fieldValidationErrors.authenticationCode ? \" auth-code__input-error\" : \"\"\n }`}\n />\n {fieldValidationErrors.authenticationCode ||\n (errorIds?.length > 0 && (\n <div className=\"auth-code__error-container\">\n {!shouldHideIcon && (\n <div>\n <img\n alt=\"red-exclaimation-circle\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg\"\n />\n </div>\n )}\n <div className=\"auth-code__error-text\">\n <FormattedHTMLMessage\n id=\"errorId.invalidAuthenticationLoopToken\"\n defaultMessage=\"The code provided is invalid\"\n />\n </div>\n </div>\n ))}\n </div>\n <div className=\"sid-complete-auth__manually-verify-button-continer\">\n <button\n type=\"button\"\n className=\"sid-btn sid-btn-light sid-complete-auth__manually-verify-button\"\n aria-label=\"submit\"\n onClick={() => {\n submitForm(\n manuallyVerifyViewModel(),\n verificationService,\n VerificationStepsEnum.completeAuthentication,\n );\n }}\n >\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.manuallyVerifyButton\"\n defaultMessage=\"Manually verify\"\n />\n </button>\n </div>\n </div>\n </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,cAAc;EACZ,MAAM;EACN,WAAW;EACX,SAAS;CACX;CACA,SAAS;EACP,MAAM;EACN,WAAW;EACX,SAAS;EACT,KAAK;EACL,KAAK;CACP;AACF,GACI,KAAA,GAAA,EAAA,YAAsB,SAAU,GAAM,GAAK;CAC7C,IAAI,IAAwB,EAAK,mBAC7B,IAAoB,MAA0B,KAAK,IAAI,iBAAiB,GACxE,IAAY,EAAK,WACjB,IAAiB,EAAK,WACtB,IAAY,MAAmB,KAAK,IAAI,KAAO,GAC/C,IAAqB,EAAK,oBAC1B,IAAW,EAAK,UAChB,IAAiB,EAAK,gBACtB,IAAkB,EAAK,YACvB,IAAa,MAAoB,KAAK,IAAI,KAAQ,GAClD,IAAc,EAAK,QACnB,IAAS,MAAgB,KAAK,IAAI,IAAI,GACtC,IAAc,EAAK,aACnB,IAAW,EAAK;CAEpB,IAAI,MAAM,CAAM,KAAK,IAAS,GAC5B,MAAU,MAAM,8CAA8C;CAGhE,IAAI,CAAC,EAAwB,KAAK,SAAU,GAAO;EACjD,OAAO,MAAU;CACnB,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A4B;KAE1E,CAAA,GACA,EAAsB,sBACpB,GAAU,SAAS,KAClB,iBAAA,GAAA,EAAA,MAAC,OAAD;MAAK,WAAU;gBAAf,CACG,CAAC,KACA,iBAAA,GAAA,EAAA,KAAC,OAAD,EAAA,UACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OACE,KAAI;OACJ,KAAI;MACL,CAAA,EACE,CAAA,GAEP,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA,CACF;OAEN;;IACL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACE,EAAwB,GACxB,GACA,EAAsB,sBACxB;MACF;gBAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-DMwS3S6i.js","names":[],"sources":["../../../node_modules/react-auth-code-input/dist/index.modern.js","../../src/components/StepCompleteAuthentication/StepCompleteAuthenticationComponent.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';\n\nvar allowedCharactersValues = ['alpha', 'numeric', 'alphanumeric'];\nvar propsMap = {\n alpha: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z]{1}'\n },\n alphanumeric: {\n type: 'text',\n inputMode: 'text',\n pattern: '[a-zA-Z0-9]{1}'\n },\n numeric: {\n type: 'tel',\n inputMode: 'numeric',\n pattern: '[0-9]{1}',\n min: '0',\n max: '9'\n }\n};\nvar AuthCode = forwardRef(function (_ref, ref) {\n var _ref$allowedCharacter = _ref.allowedCharacters,\n allowedCharacters = _ref$allowedCharacter === void 0 ? 'alphanumeric' : _ref$allowedCharacter,\n ariaLabel = _ref.ariaLabel,\n _ref$autoFocus = _ref.autoFocus,\n autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n containerClassName = _ref.containerClassName,\n disabled = _ref.disabled,\n inputClassName = _ref.inputClassName,\n _ref$isPassword = _ref.isPassword,\n isPassword = _ref$isPassword === void 0 ? false : _ref$isPassword,\n _ref$length = _ref.length,\n length = _ref$length === void 0 ? 6 : _ref$length,\n placeholder = _ref.placeholder,\n onChange = _ref.onChange;\n\n if (isNaN(length) || length < 1) {\n throw new Error('Length should be a number and greater than 0');\n }\n\n if (!allowedCharactersValues.some(function (value) {\n return value === allowedCharacters;\n })) {\n throw new Error('Invalid value for allowedCharacters. Use alpha, numeric, or alphanumeric');\n }\n\n var inputsRef = useRef([]);\n var inputProps = propsMap[allowedCharacters];\n useImperativeHandle(ref, function () {\n return {\n focus: function focus() {\n if (inputsRef.current) {\n inputsRef.current[0].focus();\n }\n },\n clear: function clear() {\n if (inputsRef.current) {\n for (var i = 0; i < inputsRef.current.length; i++) {\n inputsRef.current[i].value = '';\n }\n\n inputsRef.current[0].focus();\n }\n\n sendResult();\n }\n };\n });\n useEffect(function () {\n if (autoFocus) {\n inputsRef.current[0].focus();\n }\n }, []);\n\n var sendResult = function sendResult() {\n var res = inputsRef.current.map(function (input) {\n return input.value;\n }).join('');\n onChange && onChange(res);\n };\n\n var handleOnChange = function handleOnChange(e) {\n var _e$target = e.target,\n value = _e$target.value,\n nextElementSibling = _e$target.nextElementSibling;\n\n if (value.length > 1) {\n e.target.value = value.charAt(0);\n\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n if (value.match(inputProps.pattern)) {\n if (nextElementSibling !== null) {\n nextElementSibling.focus();\n }\n } else {\n e.target.value = '';\n }\n }\n\n sendResult();\n };\n\n var handleOnKeyDown = function handleOnKeyDown(e) {\n var key = e.key;\n var target = e.target;\n\n if (key === 'Backspace') {\n if (target.value === '') {\n if (target.previousElementSibling !== null) {\n var t = target.previousElementSibling;\n t.value = '';\n t.focus();\n e.preventDefault();\n }\n } else {\n target.value = '';\n }\n\n sendResult();\n }\n };\n\n var handleOnFocus = function handleOnFocus(e) {\n e.target.select();\n };\n\n var handleOnPaste = function handleOnPaste(e) {\n var pastedValue = e.clipboardData.getData('Text');\n var currentInput = 0;\n\n for (var i = 0; i < pastedValue.length; i++) {\n var pastedCharacter = pastedValue.charAt(i);\n var currentValue = inputsRef.current[currentInput].value;\n\n if (pastedCharacter.match(inputProps.pattern)) {\n if (!currentValue) {\n inputsRef.current[currentInput].value = pastedCharacter;\n\n if (inputsRef.current[currentInput].nextElementSibling !== null) {\n inputsRef.current[currentInput].nextElementSibling.focus();\n currentInput++;\n }\n }\n }\n }\n\n sendResult();\n e.preventDefault();\n };\n\n var inputs = [];\n\n var _loop = function _loop(i) {\n inputs.push(React.createElement(\"input\", Object.assign({\n key: i,\n onChange: handleOnChange,\n onKeyDown: handleOnKeyDown,\n onFocus: handleOnFocus,\n onPaste: handleOnPaste\n }, inputProps, {\n type: isPassword ? 'password' : inputProps.type,\n ref: function ref(el) {\n inputsRef.current[i] = el;\n },\n maxLength: 1,\n className: inputClassName,\n autoComplete: i === 0 ? 'one-time-code' : 'off',\n \"aria-label\": ariaLabel ? ariaLabel + \". Character \" + (i + 1) + \".\" : \"Character \" + (i + 1) + \".\",\n disabled: disabled,\n placeholder: placeholder\n })));\n };\n\n for (var i = 0; i < length; i++) {\n _loop(i);\n }\n\n return React.createElement(\"div\", {\n className: containerClassName\n }, inputs);\n});\n\nexport default AuthCode;\n//# sourceMappingURL=index.modern.js.map\n","import * as React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport AuthCode from \"react-auth-code-input\";\nimport produce from \"immer\";\n\nimport {\n type CompleteAuthenticationViewModel,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { AUTH_TOKEN_LENGTH } from \"../../constants\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\n\ninterface StepCompleteAuthenticationProps {\n verificationService: VerificationService;\n}\n\nexport const StepCompleteAuthenticationComponent = ({\n verificationService,\n}: StepCompleteAuthenticationProps) => {\n const viewModel = verificationService.viewModel as CompleteAuthenticationViewModel;\n const { fieldValidationErrors, verificationResponse } = verificationService;\n const { errorIds } = verificationResponse;\n const shouldHideIcon = useFlag(\"hc-my-sheer-id-theme-builder\");\n\n const authInputRef = React.useRef(null);\n\n const updateCompleteAuthenticationViewmodel = (\n key: keyof CompleteAuthenticationViewModel,\n value: any,\n ) => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const manuallyVerifyViewModel = (): CompleteAuthenticationViewModel => {\n const nextState: CompleteAuthenticationViewModel = produce(\n viewModel,\n (draft: CompleteAuthenticationViewModel) => {\n draft.didManuallyVerify = true;\n delete draft.authenticationCode;\n },\n );\n verificationService.updateViewModel(nextState);\n\n return nextState;\n };\n\n React.useEffect(() => {\n if (viewModel.authenticationCode) {\n // reset local viewModel's authenticationCode to prevent form from submitting\n // prematurely when provided with an incorrect auth code.\n viewModel.authenticationCode = \"\";\n }\n }, []);\n\n React.useEffect(() => {\n if (viewModel.authenticationCode.length >= AUTH_TOKEN_LENGTH) {\n submitForm(viewModel, verificationService, VerificationStepsEnum.completeAuthentication);\n }\n }, [viewModel.authenticationCode]);\n\n return (\n <div\n id=\"sid-step-complete-authentication\"\n className=\"sid-step-complete-authentication-container sid-l-container\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.title\"\n defaultMessage=\"Verify with Remember Me\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.subtitle\"\n defaultMessage=\"Enter the code sent to your email.\"\n />\n </div>\n </div>\n <div className=\"sid-l-space-top-md\" />\n <div className=\"auth-code\">\n <AuthCode\n onChange={(token) => {\n updateCompleteAuthenticationViewmodel(\"authenticationCode\", token);\n updateFieldValidationErrorsByFieldId(\n \"authenticationCode\",\n token,\n verificationService,\n );\n }}\n ref={authInputRef}\n allowedCharacters=\"numeric\"\n length={AUTH_TOKEN_LENGTH}\n isPassword\n containerClassName=\"auth-code__container\"\n inputClassName={`auth-code__input${\n fieldValidationErrors.authenticationCode ? \" auth-code__input-error\" : \"\"\n }`}\n />\n {fieldValidationErrors.authenticationCode ||\n (errorIds?.length > 0 && (\n <div className=\"auth-code__error-container\">\n {!shouldHideIcon && (\n <div>\n <img\n alt=\"red-exclaimation-circle\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/red-exclaimation-circle.svg\"\n />\n </div>\n )}\n <div className=\"auth-code__error-text\">\n <FormattedHTMLMessage\n id=\"errorId.invalidAuthenticationLoopToken\"\n defaultMessage=\"The code provided is invalid\"\n />\n </div>\n </div>\n ))}\n </div>\n <div className=\"sid-complete-auth__manually-verify-button-continer\">\n <button\n type=\"button\"\n className=\"sid-btn sid-btn-light sid-complete-auth__manually-verify-button\"\n aria-label=\"submit\"\n onClick={() => {\n submitForm(\n manuallyVerifyViewModel(),\n verificationService,\n VerificationStepsEnum.completeAuthentication,\n );\n }}\n >\n <FormattedHTMLMessage\n id=\"step.completeAuthentication.manuallyVerifyButton\"\n defaultMessage=\"Manually verify\"\n />\n </button>\n </div>\n </div>\n </div>\n );\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;gCAEI,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7D,IAAW;CACb,OAAO;EACL,MAAM;EACN,WAAW;EACX,SAAS;CACX;CAC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AAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
@@ -4,15 +4,15 @@
|
|
|
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.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.290.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790025873709
|
|
9
|
+
* BUILD_DATE: Mon Sep 21 2026 21:24:33 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
|
|
11
11
|
*/
|
|
12
12
|
import { l as e } from "./runtimeTypes-B2AGNJMT.js";
|
|
13
|
-
import { t } from "./
|
|
13
|
+
import { p as t } from "./programThemeGetters-CdBaEHVT.js";
|
|
14
14
|
import { n, t as r } from "./jsx-runtime-JSlXFmKD.js";
|
|
15
|
-
import { t as i } from "./LogoComponent-
|
|
15
|
+
import { t as i } from "./LogoComponent-CJcMDzxn.js";
|
|
16
16
|
import { t as a } from "./CopyToClipboardComponent-BAOwMLHJ.js";
|
|
17
17
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
18
18
|
var o = r(), s = ({ verificationService: r }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-f1mq8nYz.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAsHa,KA1GY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,EAAoB,aAAa,QACrD,IAAa,CAAC,KAAc,CAAC,CAAC,EAAc;CAElD,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;YAAzC,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,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GACE,WAAU;GACV,MAAK;aAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAsB,IAAG;IAAc,gBAAe;eAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.290.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790025869603
|
|
5
|
+
* BUILD_DATE: Mon Sep 21 2026 21:24:29 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
|
|
7
7
|
*/
|
|
8
8
|
import { n as e, t } from "./jsx-runtime-CyXcV_93.js";
|
|
9
9
|
import { l as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
10
|
-
import {
|
|
11
|
-
import { t as i } from "./LogoComponent-
|
|
10
|
+
import { p as r } from "./programThemeGetters-DhVXOl92.js";
|
|
11
|
+
import { t as i } from "./LogoComponent-DRlUkzL5.js";
|
|
12
12
|
import { t as a } from "./CopyToClipboardComponent-BejK3fLR.js";
|
|
13
13
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
14
14
|
var o = t(), s = ({ verificationService: t }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-yUao3Y71.js","names":[],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { type VerificationService, type ConsolationResponse } from \"../../lib/types/types\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { CopyToClipboard } from \"../CopyToClipboard/CopyToClipboardComponent\";\nimport { RewardDisplayEnum } from \"../../lib/types/runtimeTypes\";\nimport { getBarcodeUrl } from \"../../lib/ServerApi/ApiUrls\";\n\ninterface StepConsolationProps {\n verificationService: VerificationService;\n}\n\nconst StepConsolation = ({ verificationService }: StepConsolationProps) => {\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = verificationService.programTheme.config.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = verificationService.programTheme.config;\n const showReward = !noCodeType && !!rewardDisplay.length;\n\n return (\n <div id=\"sid-step-consolation\" className=\"sid-l-container\">\n <div role=\"main\">\n <div className=\"sid-header sid-l-horz-center sid-l-space-top-md\">\n <div className=\"sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n\n <div\n className=\"sid-header__title sid-l-horz-center sid-l-space-top-md\"\n id=\"consolation-status\"\n role=\"alertdialog\"\n >\n <FormattedHTMLMessage\n id=\"step.consolation.title\"\n defaultMessage=\"Claim your offer\"\n tagName=\"h1\"\n />\n </div>\n\n <div className=\"sid-l-horz-center\">\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.subtitle\"\n defaultMessage=\"Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n\n {showReward && (\n <div className=\"sid-l-horz-center sid-reward-container sid-l-space-top-md\">\n {rewardDisplay.map((displayType) => {\n if (displayType !== RewardDisplayEnum.TEXT)\n return (\n <img\n key={displayType}\n className=\"sid-l-space-top-md sid-barcode\"\n alt={consolationRewardCode}\n src={getBarcodeUrl(verificationId, \"consolationRewardCode\", displayType)}\n />\n );\n return (\n <>\n <div\n className=\"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center\"\n role=\"region\"\n >\n {consolationRewardCode}\n </div>\n <CopyToClipboard\n className=\"sid-l-space-top-md sid-h-bold-text sid-l-horz-center\"\n textToCopy={consolationRewardCode}\n notificationText={<FormattedHTMLMessage id=\"copied\" defaultMessage=\"Copied\" />}\n >\n <FormattedHTMLMessage\n id=\"step.success.copyCouponCode\"\n defaultMessage=\"Copy Coupon code\"\n />\n </CopyToClipboard>\n </>\n );\n })}\n </div>\n )}\n\n <div className=\"sid-footer sid-l-horz-center sid-l-space-top-lg\">\n <FormattedHTMLMessage\n id=\"rewardCodeEmailNotification\"\n defaultMessage=\"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.\"\n />\n </div>\n </div>\n\n <div\n className=\"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text\"\n role=\"contentinfo\"\n >\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.consolation.verificationOnly\"\n defaultMessage=\"Please direct any and all questions about this offer to {companyName}.\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepConsolationComponent = StepConsolation;\n"],"mappings":";;;;;;aAsHa,KA1GY,EAAE,6BAAgD;CACzE,IAAM,IACH,EAAoB,qBAA6C,yBAClE,4BAEI,IAAa,EAAoB,aAAa,OAAO,cAAc,UACnE,EAAE,sBAAmB,EAAoB,sBAEzC,EAAE,qBAAkB,EAAoB,aAAa,QACrD,IAAa,CAAC,KAAc,CAAC,CAAC,EAAc;CAElD,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;YAAzC,CACE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,GAAA,EAAA,KAAC,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,CAAA;GACF;MAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;GACE,WAAU;GACV,MAAK;aAEL,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAsB,IAAG;IAAc,gBAAe;eAClD,MACA,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.290.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790025869603
|
|
5
|
+
* BUILD_DATE: Mon Sep 21 2026 21:24:29 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
|
|
7
7
|
*/
|
|
8
8
|
import { Et as e, F as t, Ot as n, c as r, d as i, m as a, ut as o } from "./options-CRzdSTAR.js";
|
|
9
9
|
import { c as s, n as c, o as l, t as u } from "./jsx-runtime-CyXcV_93.js";
|
|
10
|
-
import { a as d, c as f, n as p, o as m, t as h } from "./Message-
|
|
10
|
+
import { a as d, c as f, n as p, o as m, t as h } from "./Message-BgJQKz_x.js";
|
|
11
11
|
import { S as g, b as _, m as v, u as y } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
12
|
import { i as ee } from "./TestingRouteOverrides-EggQSvgh.js";
|
|
13
|
-
import { t as te } from "./FormFooterComponent-
|
|
13
|
+
import { t as te } from "./FormFooterComponent-Db94BTNT.js";
|
|
14
14
|
import { t as b, u as x } from "./hooks-gC9DtNY1.js";
|
|
15
15
|
import { n as S, o as C } from "./refs-Mq0rtW9K.js";
|
|
16
|
-
import { t as w } from "./LogoComponent-
|
|
16
|
+
import { t as w } from "./LogoComponent-DRlUkzL5.js";
|
|
17
17
|
import { t as T } from "./AnnouncingHeader-CXTQdbKG.js";
|
|
18
18
|
import { M as ne, a as E, o as D, r as re, s as O } from "../sheerid.js";
|
|
19
19
|
import { i as ie, o as ae, r as k } from "./useMetrics-Cjo0Vkjx.js";
|