@sheerid/jslib 2.315.0 → 2.317.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 +856 -852
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-uhBMgV3q.js → AddressComponent-BxavEqNN.js} +14 -13
- package/chunk/{AddressComponent-BUOibRxr.js.map → AddressComponent-BxavEqNN.js.map} +1 -1
- package/chunk/{AddressComponent-BUOibRxr.js → AddressComponent-D2mEkfix.js} +14 -13
- package/chunk/{AddressComponent-uhBMgV3q.js.map → AddressComponent-D2mEkfix.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CM01vEpF.js → AnnouncingHeader-C3W0VQzV.js} +6 -6
- package/chunk/{AnnouncingHeader-CM01vEpF.js.map → AnnouncingHeader-C3W0VQzV.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CSh0UW8I.js → AnnouncingHeader-OtaykXZw.js} +6 -6
- package/chunk/{AnnouncingHeader-CSh0UW8I.js.map → AnnouncingHeader-OtaykXZw.js.map} +1 -1
- package/chunk/ApiUrls-BW8MkgqK.js +36 -0
- package/chunk/ApiUrls-BW8MkgqK.js.map +1 -0
- package/chunk/ApiUrls-DjPCY66L.js +32 -0
- package/chunk/ApiUrls-DjPCY66L.js.map +1 -0
- package/chunk/BirthDateComponent-bxdYsOrJ.js +38 -0
- package/chunk/{BirthDateComponent-DEm62ubJ.js.map → BirthDateComponent-bxdYsOrJ.js.map} +1 -1
- package/chunk/{BirthDateComponent-DEm62ubJ.js → BirthDateComponent-kIkfY0Fo.js} +14 -13
- package/chunk/{BirthDateComponent-i59ScGu6.js.map → BirthDateComponent-kIkfY0Fo.js.map} +1 -1
- package/chunk/{CaptchaComponent-BD4yKfJR.js → CaptchaComponent-BcQgxG0o.js} +151 -150
- package/chunk/{CaptchaComponent-g9Ye-t7Z.js.map → CaptchaComponent-BcQgxG0o.js.map} +1 -1
- package/chunk/{CaptchaComponent-g9Ye-t7Z.js → CaptchaComponent-CxRzUQTM.js} +128 -127
- package/chunk/{CaptchaComponent-BD4yKfJR.js.map → CaptchaComponent-CxRzUQTM.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DBoMb2NA.js → ChangeLocaleComponent-fYWBTVHc.js} +27 -26
- package/chunk/{ChangeLocaleComponent-DBoMb2NA.js.map → ChangeLocaleComponent-fYWBTVHc.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Drpt_vzW.js → ChangeLocaleComponent-ry8sqUF9.js} +27 -26
- package/chunk/{ChangeLocaleComponent-Drpt_vzW.js.map → ChangeLocaleComponent-ry8sqUF9.js.map} +1 -1
- package/chunk/{City-IKHXV6fA.js → City-CR2xigNn.js} +14 -13
- package/chunk/{City-IKHXV6fA.js.map → City-CR2xigNn.js.map} +1 -1
- package/chunk/City-DoccJLpM.js +37 -0
- package/chunk/{City-gBRdOIsP.js.map → City-DoccJLpM.js.map} +1 -1
- package/chunk/CollegeNameComponent-RmDbu_if.js +41 -0
- package/chunk/{CollegeNameComponent-CQvKnECH.js.map → CollegeNameComponent-RmDbu_if.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DpMt-iEi.js → CollegeNameComponent-pSsPQBKE.js} +18 -17
- package/chunk/{CollegeNameComponent-DpMt-iEi.js.map → CollegeNameComponent-pSsPQBKE.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js → CopyToClipboardComponent-DdLZvzfB.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BN9qCovT.js.map → CopyToClipboardComponent-DdLZvzfB.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js → CopyToClipboardComponent-De_3_3VT.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dag4rxf8.js.map → CopyToClipboardComponent-De_3_3VT.js.map} +1 -1
- package/chunk/CountryComponentWrapper-CA5QjkzI.js +84 -0
- package/chunk/{CountryComponentWrapper-A-NCx760.js.map → CountryComponentWrapper-CA5QjkzI.js.map} +1 -1
- package/chunk/CountryComponentWrapper-DC2xpwfp.js +80 -0
- package/chunk/{CountryComponentWrapper-DHUcGCUF.js.map → CountryComponentWrapper-DC2xpwfp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CifKJfBT.js → DischargeDateComponent-DRJdJ-cl.js} +39 -37
- package/chunk/{DischargeDateComponent-CifKJfBT.js.map → DischargeDateComponent-DRJdJ-cl.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DAeyxPdd.js → DischargeDateComponent-pWkyMum3.js} +42 -40
- package/chunk/{DischargeDateComponent-DAeyxPdd.js.map → DischargeDateComponent-pWkyMum3.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-4I1cN8DR.js → DriverLicenseNumberComponent-CdRJgKXz.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-4I1cN8DR.js.map → DriverLicenseNumberComponent-CdRJgKXz.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-ej0LVqRI.js → DriverLicenseNumberComponent-iE4uZhjY.js} +15 -14
- package/chunk/{DriverLicenseNumberComponent-ej0LVqRI.js.map → DriverLicenseNumberComponent-iE4uZhjY.js.map} +1 -1
- package/chunk/{EmailLoopPending-DQ4KVVzP.js → EmailLoopPending-BLMa8Lz3.js} +32 -30
- package/chunk/{EmailLoopPending-DQ4KVVzP.js.map → EmailLoopPending-BLMa8Lz3.js.map} +1 -1
- package/chunk/{EmailLoopPending-DnPlbLqA.js → EmailLoopPending-jjuq_4Uo.js} +28 -26
- package/chunk/{EmailLoopPending-DnPlbLqA.js.map → EmailLoopPending-jjuq_4Uo.js.map} +1 -1
- package/chunk/{ExtraMessage-CzchllLx.js → ExtraMessage-CR5rN46Q.js} +7 -7
- package/chunk/{ExtraMessage-CzchllLx.js.map → ExtraMessage-CR5rN46Q.js.map} +1 -1
- package/chunk/{ExtraMessage-v4rZ0l8r.js → ExtraMessage-Dy5YujvI.js} +7 -7
- package/chunk/{ExtraMessage-v4rZ0l8r.js.map → ExtraMessage-Dy5YujvI.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DUn8PxZo.js → FirstResponderOrganizationComponent-CkVB_46d.js} +17 -16
- package/chunk/{FirstResponderOrganizationComponent-JsNBGiPH.js.map → FirstResponderOrganizationComponent-CkVB_46d.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-DdaFCoI4.js +39 -0
- package/chunk/{FirstResponderOrganizationComponent-DUn8PxZo.js.map → FirstResponderOrganizationComponent-DdaFCoI4.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CtLIp6NY.js → FormFieldInputSelect-DCe1fl-X.js} +7 -7
- package/chunk/{FormFieldInputSelect-CtLIp6NY.js.map → FormFieldInputSelect-DCe1fl-X.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DzfYVFe2.js → FormFieldInputSelect-wzL--dyG.js} +7 -7
- package/chunk/{FormFieldInputSelect-DzfYVFe2.js.map → FormFieldInputSelect-wzL--dyG.js.map} +1 -1
- package/chunk/{FormFieldLayout-KJilu-sR.js → FormFieldLayout-Cx2ljZnE.js} +6 -6
- package/chunk/{FormFieldLayout-KJilu-sR.js.map → FormFieldLayout-Cx2ljZnE.js.map} +1 -1
- package/chunk/{FormFieldLayout-UCIBwDRH.js → FormFieldLayout-eZlxsUFO.js} +6 -6
- package/chunk/{FormFieldLayout-UCIBwDRH.js.map → FormFieldLayout-eZlxsUFO.js.map} +1 -1
- package/chunk/{FormFieldText-B_2IOFED.js → FormFieldText-BqN10-Wh.js} +7 -7
- package/chunk/{FormFieldText-B_2IOFED.js.map → FormFieldText-BqN10-Wh.js.map} +1 -1
- package/chunk/{FormFieldText-CkPmuIPf.js → FormFieldText-CSfUMOnT.js} +7 -7
- package/chunk/{FormFieldText-CkPmuIPf.js.map → FormFieldText-CSfUMOnT.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BQGJX1il.js → FormFieldTypeahead-CVBnJBm4.js} +139 -137
- package/chunk/{FormFieldTypeahead-BQGJX1il.js.map → FormFieldTypeahead-CVBnJBm4.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BjsW2DUM.js → FormFieldTypeahead-ldbp18yE.js} +132 -130
- package/chunk/{FormFieldTypeahead-BjsW2DUM.js.map → FormFieldTypeahead-ldbp18yE.js.map} +1 -1
- package/chunk/{FormFooterComponent-B7fUP0wx.js → FormFooterComponent-DIRoNXm5.js} +502 -502
- package/chunk/{FormFooterComponent-B7fUP0wx.js.map → FormFooterComponent-DIRoNXm5.js.map} +1 -1
- package/chunk/{FormFooterComponent-BTfz7YAX.js → FormFooterComponent-DTMJcOBW.js} +256 -256
- package/chunk/{FormFooterComponent-BTfz7YAX.js.map → FormFooterComponent-DTMJcOBW.js.map} +1 -1
- package/chunk/{FormSelectChoice-DN3XV8go.js → FormSelectChoice-BtoOF4T1.js} +25 -24
- package/chunk/FormSelectChoice-BtoOF4T1.js.map +1 -0
- package/chunk/{FormSelectChoice-DGDSioEg.js → FormSelectChoice-OvLHNUCT.js} +29 -28
- package/chunk/FormSelectChoice-OvLHNUCT.js.map +1 -0
- package/chunk/{InputText-C2qEtF0t.js → InputText-CofmfudI.js} +6 -6
- package/chunk/{InputText-Bvj815Th.js.map → InputText-CofmfudI.js.map} +1 -1
- package/chunk/{InputText-Bvj815Th.js → InputText-Dcl3FSxA.js} +6 -6
- package/chunk/{InputText-C2qEtF0t.js.map → InputText-Dcl3FSxA.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-C43VAUdy.js → LicensedProfessionalOrganizationComponent-B5ocf0y_.js} +17 -16
- package/chunk/{LicensedProfessionalOrganizationComponent-DEwASktt.js.map → LicensedProfessionalOrganizationComponent-B5ocf0y_.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-rrBsVHE5.js +38 -0
- package/chunk/{LicensedProfessionalOrganizationComponent-C43VAUdy.js.map → LicensedProfessionalOrganizationComponent-rrBsVHE5.js.map} +1 -1
- package/chunk/{LogoComponent-C2diSRfu.js → LogoComponent-1FE2nzPz.js} +10 -9
- package/chunk/{LogoComponent-BoEYsksW.js.map → LogoComponent-1FE2nzPz.js.map} +1 -1
- package/chunk/LogoComponent-Dwrer09q.js +28 -0
- package/chunk/{LogoComponent-C2diSRfu.js.map → LogoComponent-Dwrer09q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-D9qAHj0m.js → LowIncomeOrganizationComponent-CjDP857_.js} +37 -35
- package/chunk/{LowIncomeOrganizationComponent-bijYf_Ae.js.map → LowIncomeOrganizationComponent-CjDP857_.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-bijYf_Ae.js → LowIncomeOrganizationComponent-R4Pb3Dzo.js} +34 -32
- package/chunk/{LowIncomeOrganizationComponent-D9qAHj0m.js.map → LowIncomeOrganizationComponent-R4Pb3Dzo.js.map} +1 -1
- package/chunk/MedicalProfessionalOrganizationComponent-BZ7zk4-L.js +39 -0
- package/chunk/{MedicalProfessionalOrganizationComponent-CMDxCj_U.js.map → MedicalProfessionalOrganizationComponent-BZ7zk4-L.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CMDxCj_U.js → MedicalProfessionalOrganizationComponent-DtU45g6N.js} +17 -16
- package/chunk/{MedicalProfessionalOrganizationComponent-CsZ0PEb5.js.map → MedicalProfessionalOrganizationComponent-DtU45g6N.js.map} +1 -1
- package/chunk/{MemberIdComponent-B9vrsE-q.js → MemberIdComponent-Bwd8_Zby.js} +15 -14
- package/chunk/{MemberIdComponent-JTyvLPTU.js.map → MemberIdComponent-Bwd8_Zby.js.map} +1 -1
- package/chunk/MemberIdComponent-Op5eJ6S1.js +40 -0
- package/chunk/{MemberIdComponent-B9vrsE-q.js.map → MemberIdComponent-Op5eJ6S1.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-C5dWGUPp.js → MembershipOrganizationComponent-B-1ae88w.js} +17 -16
- package/chunk/{MembershipOrganizationComponent-Dwnrko48.js.map → MembershipOrganizationComponent-B-1ae88w.js.map} +1 -1
- package/chunk/MembershipOrganizationComponent-DjnLvZUD.js +38 -0
- package/chunk/{MembershipOrganizationComponent-C5dWGUPp.js.map → MembershipOrganizationComponent-DjnLvZUD.js.map} +1 -1
- package/chunk/Message-B40rYRnQ.js +660 -0
- package/chunk/Message-B40rYRnQ.js.map +1 -0
- package/chunk/Message-DeYfEIfJ.js +656 -0
- package/chunk/Message-DeYfEIfJ.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-Ds_-FUfA.js → PersonalInfoStepSubmitButton-CT7lguuZ.js} +32 -31
- package/chunk/{PersonalInfoStepSubmitButton-Ds_-FUfA.js.map → PersonalInfoStepSubmitButton-CT7lguuZ.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-vpNt-1XI.js → PersonalInfoStepSubmitButton-jF2Q-TQ1.js} +42 -41
- package/chunk/{PersonalInfoStepSubmitButton-vpNt-1XI.js.map → PersonalInfoStepSubmitButton-jF2Q-TQ1.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CyCuyImb.js → PersonalInfoStepWrapper-83-yLjnF.js} +10 -10
- package/chunk/{PersonalInfoStepWrapper-CyCuyImb.js.map → PersonalInfoStepWrapper-83-yLjnF.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CJzVOQ_x.js → PersonalInfoStepWrapper-B6KYjnG-.js} +17 -17
- package/chunk/PersonalInfoStepWrapper-B6KYjnG-.js.map +1 -0
- package/chunk/{PostalCodeComponent-IMgjUHRf.js → PostalCodeComponent-CM7B9nbQ.js} +14 -13
- package/chunk/{PostalCodeComponent-IMgjUHRf.js.map → PostalCodeComponent-CM7B9nbQ.js.map} +1 -1
- package/chunk/{PostalCodeComponent-B25YSrIO.js → PostalCodeComponent-DOaiP-XH.js} +14 -13
- package/chunk/{PostalCodeComponent-B25YSrIO.js.map → PostalCodeComponent-DOaiP-XH.js.map} +1 -1
- package/chunk/{SSN-BjBIZSyh.js → SSN-CLdLfiNj.js} +16 -15
- package/chunk/{SSN-BjBIZSyh.js.map → SSN-CLdLfiNj.js.map} +1 -1
- package/chunk/{SSN-0xlUI5ik.js → SSN-CxrFw1Bw.js} +14 -13
- package/chunk/{SSN-0xlUI5ik.js.map → SSN-CxrFw1Bw.js.map} +1 -1
- package/chunk/{StateSelectComponent-uKT0CUkG.js → StateSelectComponent-Bs0zMXwM.js} +14 -13
- package/chunk/{StateSelectComponent-uKT0CUkG.js.map → StateSelectComponent-Bs0zMXwM.js.map} +1 -1
- package/chunk/{StateSelectComponent-aAvCOLUg.js → StateSelectComponent-CDUxaxhl.js} +12 -11
- package/chunk/{StateSelectComponent-aAvCOLUg.js.map → StateSelectComponent-CDUxaxhl.js.map} +1 -1
- package/chunk/{StatusComponent-CmqMjhRY.js → StatusComponent-B9xHqfyT.js} +14 -13
- package/chunk/{StatusComponent-CmqMjhRY.js.map → StatusComponent-B9xHqfyT.js.map} +1 -1
- package/chunk/StatusComponent-wmBrTgh8.js +42 -0
- package/chunk/{StatusComponent-DqlhdO7Q.js.map → StatusComponent-wmBrTgh8.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-B8PrGThF.js +173 -0
- package/chunk/{StepAgePersonalInfo-D0vIoD_n.js.map → StepAgePersonalInfo-B8PrGThF.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-BGxLAl7s.js +177 -0
- package/chunk/{StepAgePersonalInfo-BMB7unTI.js.map → StepAgePersonalInfo-BGxLAl7s.js.map} +1 -1
- package/chunk/{StepCard-BEucy3JJ.js → StepCard-C1asZqmo.js} +5 -5
- package/chunk/{StepCard-BEucy3JJ.js.map → StepCard-C1asZqmo.js.map} +1 -1
- package/chunk/{StepCard-Blp7ZcI-.js → StepCard-CSGX5DWE.js} +5 -5
- package/chunk/{StepCard-Blp7ZcI-.js.map → StepCard-CSGX5DWE.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-RF_12KR0.js → StepCollectIdentifier-C0kP46YS.js} +20 -19
- package/chunk/{StepCollectIdentifier-B_IWZFnm.js.map → StepCollectIdentifier-C0kP46YS.js.map} +1 -1
- package/chunk/StepCollectIdentifier-CwcEqKDP.js +61 -0
- package/chunk/{StepCollectIdentifier-RF_12KR0.js.map → StepCollectIdentifier-CwcEqKDP.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTniITbD.js → StepCollectMilitaryPersonalInfoComponent-D3ww_3aJ.js} +40 -35
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js.map → StepCollectMilitaryPersonalInfoComponent-D3ww_3aJ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-D9Z8yHB3.js → StepCollectMilitaryPersonalInfoComponent-DowmOzeP.js} +42 -45
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTniITbD.js.map → StepCollectMilitaryPersonalInfoComponent-DowmOzeP.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-BMljSHTw.js +369 -0
- package/chunk/{StepCollectPersonalInfo-Bmu7n4bc.js.map → StepCollectPersonalInfo-BMljSHTw.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-svrF-haJ.js +373 -0
- package/chunk/{StepCollectPersonalInfo-CYAL3QrN.js.map → StepCollectPersonalInfo-svrF-haJ.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js → StepCompleteAuthentication-Bjs9HhHK.js} +30 -25
- package/chunk/{StepCompleteAuthentication-Ds3ieihr.js.map → StepCompleteAuthentication-Bjs9HhHK.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js → StepCompleteAuthentication-CK8SYf3r.js} +31 -34
- package/chunk/{StepCompleteAuthentication-B_0EZ3mH.js.map → StepCompleteAuthentication-CK8SYf3r.js.map} +1 -1
- package/chunk/{StepConsolation-D12aSsuO.js → StepConsolation-BRcJHP3o.js} +27 -25
- package/chunk/{StepConsolation-mzf-Xvuk.js.map → StepConsolation-BRcJHP3o.js.map} +1 -1
- package/chunk/{StepConsolation-mzf-Xvuk.js → StepConsolation-CI7sVIqL.js} +24 -22
- package/chunk/{StepConsolation-D12aSsuO.js.map → StepConsolation-CI7sVIqL.js.map} +1 -1
- package/chunk/{StepDocUpload-BZ1I9-VI.js → StepDocUpload-83N8pygz.js} +479 -478
- package/chunk/{StepDocUpload-_qGcWolC.js.map → StepDocUpload-83N8pygz.js.map} +1 -1
- package/chunk/{StepDocUpload-_qGcWolC.js → StepDocUpload-BMWwE_AC.js} +109 -108
- package/chunk/{StepDocUpload-BZ1I9-VI.js.map → StepDocUpload-BMWwE_AC.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BRLFwKvG.js → StepDriverLicensePersonalInfoComponent-Bxtbt_va.js} +30 -25
- package/chunk/{StepDriverLicensePersonalInfoComponent-BRLFwKvG.js.map → StepDriverLicensePersonalInfoComponent-Bxtbt_va.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DTjd9EPj.js → StepDriverLicensePersonalInfoComponent-XMehNxRD.js} +47 -50
- package/chunk/{StepDriverLicensePersonalInfoComponent-DTjd9EPj.js.map → StepDriverLicensePersonalInfoComponent-XMehNxRD.js.map} +1 -1
- package/chunk/{StepEmailLoop-2ftuvoPd.js → StepEmailLoop-BWsv5YAe.js} +33 -32
- package/chunk/{StepEmailLoop-2ftuvoPd.js.map → StepEmailLoop-BWsv5YAe.js.map} +1 -1
- package/chunk/{StepEmailLoop-CqjFTe3c.js → StepEmailLoop-Dkvzpmnv.js} +35 -34
- package/chunk/{StepEmailLoop-CqjFTe3c.js.map → StepEmailLoop-Dkvzpmnv.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-B-iW-S7t.js → StepEmploymentPersonalInfo-9DtJG0OG.js} +60 -55
- package/chunk/{StepEmploymentPersonalInfo-D7Dp0Cg4.js.map → StepEmploymentPersonalInfo-9DtJG0OG.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-D7Dp0Cg4.js → StepEmploymentPersonalInfo-DcrTaYs9.js} +75 -78
- package/chunk/{StepEmploymentPersonalInfo-B-iW-S7t.js.map → StepEmploymentPersonalInfo-DcrTaYs9.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-LhAbOSlA.js → StepFirstResponderPersonalInfo-DJQLw5Gz.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-LhAbOSlA.js.map → StepFirstResponderPersonalInfo-DJQLw5Gz.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CPSAt1KD.js → StepFirstResponderPersonalInfo-QdGZolBt.js} +37 -37
- package/chunk/{StepFirstResponderPersonalInfo-CPSAt1KD.js.map → StepFirstResponderPersonalInfo-QdGZolBt.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js → StepGeneralIdentityPersonalInfoComponent-Dh6BJB1t.js} +32 -27
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CgtkLEB0.js.map → StepGeneralIdentityPersonalInfoComponent-Dh6BJB1t.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js → StepGeneralIdentityPersonalInfoComponent-ZjDeJobc.js} +52 -55
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-t9Kkem2-.js.map → StepGeneralIdentityPersonalInfoComponent-ZjDeJobc.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js → StepHybridIdentityPersonalInfoComponent-Bvh8lwUm.js} +33 -28
- package/chunk/{StepHybridIdentityPersonalInfoComponent-iHwo3WsG.js.map → StepHybridIdentityPersonalInfoComponent-Bvh8lwUm.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js → StepHybridIdentityPersonalInfoComponent-Cvt2WqE-.js} +54 -57
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BUMAYXNM.js.map → StepHybridIdentityPersonalInfoComponent-Cvt2WqE-.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CLclpa5W.js → StepIDCheckLoop-CnDiyP5v.js} +8 -8
- package/chunk/{StepIDCheckLoop-CLclpa5W.js.map → StepIDCheckLoop-CnDiyP5v.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CHAvBy1v.js → StepIDCheckLoop-D8ZfXDBq.js} +8 -8
- package/chunk/{StepIDCheckLoop-CHAvBy1v.js.map → StepIDCheckLoop-D8ZfXDBq.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DSXpRkVG.js → StepIDCheckLoopOnfido-BQTO-ZjX.js} +81 -79
- package/chunk/{StepIDCheckLoopOnfido-DSXpRkVG.js.map → StepIDCheckLoopOnfido-BQTO-ZjX.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BvBFfhtv.js → StepIDCheckLoopOnfido-Cz_KDqce.js} +66 -64
- package/chunk/{StepIDCheckLoopOnfido-BvBFfhtv.js.map → StepIDCheckLoopOnfido-Cz_KDqce.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BX_r_E4L.js → StepIDCheckLoopRegula-CqtTkiTH.js} +52 -51
- package/chunk/{StepIDCheckLoopRegula-BX_r_E4L.js.map → StepIDCheckLoopRegula-CqtTkiTH.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B1ScLVSh.js → StepIDCheckLoopRegula-DOjIf5b1.js} +41 -40
- package/chunk/{StepIDCheckLoopRegula-B1ScLVSh.js.map → StepIDCheckLoopRegula-DOjIf5b1.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-D6e0aKcx.js → StepLicensedProfessionalPersonalInfo-BqOrgGC-.js} +57 -60
- package/chunk/{StepLicensedProfessionalPersonalInfo-D6e0aKcx.js.map → StepLicensedProfessionalPersonalInfo-BqOrgGC-.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-PDja7OV9.js → StepLicensedProfessionalPersonalInfo-DfC84v9R.js} +35 -30
- package/chunk/{StepLicensedProfessionalPersonalInfo-PDja7OV9.js.map → StepLicensedProfessionalPersonalInfo-DfC84v9R.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-D2qFMg0V.js → StepLowIncomePersonalInfo-BnY61mtT.js} +83 -83
- package/chunk/{StepLowIncomePersonalInfo-D2qFMg0V.js.map → StepLowIncomePersonalInfo-BnY61mtT.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BDgG3QSv.js → StepLowIncomePersonalInfo-aXEdCTis.js} +80 -80
- package/chunk/{StepLowIncomePersonalInfo-BDgG3QSv.js.map → StepLowIncomePersonalInfo-aXEdCTis.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BC0lr1WI.js → StepMedicalProfessionalPersonalInfo-BObFYNXH.js} +79 -74
- package/chunk/{StepMedicalProfessionalPersonalInfo-1XPLI2W3.js.map → StepMedicalProfessionalPersonalInfo-BObFYNXH.js.map} +1 -1
- package/chunk/StepMedicalProfessionalPersonalInfo-D-vCCbDa.js +209 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-BC0lr1WI.js.map → StepMedicalProfessionalPersonalInfo-D-vCCbDa.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-Df2h7qx9.js +156 -0
- package/chunk/{StepMemberPersonalInfo-RyxtQuwt.js.map → StepMemberPersonalInfo-Df2h7qx9.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-H6gzvuNW.js +160 -0
- package/chunk/{StepMemberPersonalInfo-BFKv1wPh.js.map → StepMemberPersonalInfo-H6gzvuNW.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-Ctw7ccFv.js +143 -0
- package/chunk/{StepMoverPersonalInfo-BX_5wilp.js.map → StepMoverPersonalInfo-Ctw7ccFv.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-D4B7swpv.js +147 -0
- package/chunk/{StepMoverPersonalInfo-Cl4UiqSf.js.map → StepMoverPersonalInfo-D4B7swpv.js.map} +1 -1
- package/chunk/{StepOverrideComponent-mD4Wijhb.js → StepOverrideComponent-Bck1K04G.js} +35 -34
- package/chunk/{StepOverrideComponent-mD4Wijhb.js.map → StepOverrideComponent-Bck1K04G.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CPCNavii.js → StepOverrideComponent-iDjPqAR2.js} +32 -31
- package/chunk/{StepOverrideComponent-CPCNavii.js.map → StepOverrideComponent-iDjPqAR2.js.map} +1 -1
- package/chunk/{StepSMSLoop-DE9FVO3o.js → StepSMSLoop-CGtTYLbc.js} +37 -39
- package/chunk/{StepSMSLoop-l4LDphcg.js.map → StepSMSLoop-CGtTYLbc.js.map} +1 -1
- package/chunk/{StepSMSLoop-l4LDphcg.js → StepSMSLoop-c7kP2jy5.js} +45 -39
- package/chunk/{StepSMSLoop-DE9FVO3o.js.map → StepSMSLoop-c7kP2jy5.js.map} +1 -1
- package/chunk/StepSSO-Bx1gQq5b.js +4 -4
- package/chunk/StepSSO-Cy9ViRyN.js +4 -4
- package/chunk/{StepSocialSecurityNumber-Bjru8M0j.js → StepSocialSecurityNumber-BHv0Bt2k.js} +36 -35
- package/chunk/{StepSocialSecurityNumber-Bjru8M0j.js.map → StepSocialSecurityNumber-BHv0Bt2k.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-DPstxLu3.js → StepSocialSecurityNumber-BSAtj_K2.js} +39 -38
- package/chunk/{StepSocialSecurityNumber-DPstxLu3.js.map → StepSocialSecurityNumber-BSAtj_K2.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-Bag5Kgd_.js +237 -0
- package/chunk/{StepStudentPersonalInfo-BIewd34q.js.map → StepStudentPersonalInfo-Bag5Kgd_.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-BntVlKi2.js +233 -0
- package/chunk/{StepStudentPersonalInfo-DRvZ3Vtb.js.map → StepStudentPersonalInfo-BntVlKi2.js.map} +1 -1
- package/chunk/{StepSuccess-Dh1ycMJX.js → StepSuccess-DR2pvLHS.js} +59 -57
- package/chunk/{StepSuccess-Dh1ycMJX.js.map → StepSuccess-DR2pvLHS.js.map} +1 -1
- package/chunk/{StepSuccess-XOl1mdFQ.js → StepSuccess-ecXvbpeb.js} +49 -47
- package/chunk/{StepSuccess-XOl1mdFQ.js.map → StepSuccess-ecXvbpeb.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-D0lKFaXs.js +153 -0
- package/chunk/{StepTeacherPersonalInfo-ip_pVe12.js.map → StepTeacherPersonalInfo-D0lKFaXs.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-FlD-0o5A.js +157 -0
- package/chunk/{StepTeacherPersonalInfo-B8foLmZZ.js.map → StepTeacherPersonalInfo-FlD-0o5A.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BFizJiyZ.js +4 -4
- package/chunk/StepThirdPartyLoop-C9d7QWS3.js +4 -4
- package/chunk/TeacherSchoolComponent-B0s64Bhp.js +41 -0
- package/chunk/{TeacherSchoolComponent-kPobTv7N.js.map → TeacherSchoolComponent-B0s64Bhp.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-nB-dP00I.js → TeacherSchoolComponent-l50LtXsx.js} +18 -17
- package/chunk/{TeacherSchoolComponent-nB-dP00I.js.map → TeacherSchoolComponent-l50LtXsx.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-DXjtFZZd.js → TestingRouteOverrides-Dq_tcy8v.js} +32 -32
- package/chunk/TestingRouteOverrides-Dq_tcy8v.js.map +1 -0
- package/chunk/{TestingRouteOverrides-fnlJLg1Z.js → TestingRouteOverrides-FmMiDhr9.js} +30 -30
- package/chunk/TestingRouteOverrides-FmMiDhr9.js.map +1 -0
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{Message-CexO4eZq.js → VerificationApiClient-CHi0UX_i.js} +331 -975
- package/chunk/VerificationApiClient-CHi0UX_i.js.map +1 -0
- package/chunk/{Message-YS1p6ov3.js → VerificationApiClient-Cui8NrWG.js} +326 -970
- package/chunk/VerificationApiClient-Cui8NrWG.js.map +1 -0
- 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-DC8twM4t.js +4 -4
- package/chunk/countryUtils-B-On7swF.js +12 -0
- package/chunk/{countryUtils-DqbdyVbZ.js.map → countryUtils-B-On7swF.js.map} +1 -1
- package/chunk/{countryUtils-R4Q_aquD.js → countryUtils-BkkPBUCD.js} +5 -5
- package/chunk/{countryUtils-R4Q_aquD.js.map → countryUtils-BkkPBUCD.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-D2aHUCbq.js → downshift.esm-BHmrbwB5.js} +156 -151
- package/chunk/{downshift.esm-DQMomT6K.js.map → downshift.esm-BHmrbwB5.js.map} +1 -1
- package/chunk/{downshift.esm-DQMomT6K.js → downshift.esm-Bo38bpfV.js} +135 -138
- package/chunk/{downshift.esm-D2aHUCbq.js.map → downshift.esm-Bo38bpfV.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{intl-BK4prEGw.js → empties-DtevBq9w.js} +819 -469
- package/chunk/empties-DtevBq9w.js.map +1 -0
- package/chunk/{i18next-iyVj5hRL.js → empties-xLh6FzDA.js} +685 -333
- package/chunk/empties-xLh6FzDA.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.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/getInstallType-BRxisNNY.js +4 -4
- package/chunk/getInstallType-DlS_DNKt.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-D0X_qdc-.js → hooks-D4L3tNqJ.js} +59 -56
- package/chunk/hooks-D4L3tNqJ.js.map +1 -0
- package/chunk/{hooks-B7aeAwHn.js → hooks-df3XJbin.js} +81 -86
- package/chunk/hooks-df3XJbin.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{jsx-runtime-BUMIo32n.js → index.es-Cir3-TDI.js} +496 -895
- package/chunk/index.es-Cir3-TDI.js.map +1 -0
- package/chunk/{jsx-runtime-DwmrsRqi.js → index.es-Dw43pp1V.js} +496 -895
- package/chunk/index.es-Dw43pp1V.js.map +1 -0
- 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-DQgZVOUX.js +414 -0
- package/chunk/jsx-runtime-DQgZVOUX.js.map +1 -0
- package/chunk/jsx-runtime-h9ybVYa3.js +410 -0
- package/chunk/jsx-runtime-h9ybVYa3.js.map +1 -0
- 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/mockProgramBranding-C9Ysu3Mp.js +4 -4
- package/chunk/mockProgramConfiguration-BNqSCrMG.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramTheme-Cfk2dzF3.js +4 -4
- package/chunk/{mocks-DV23paUj.js → mocks-D7frr82N.js} +5 -5
- package/chunk/{mocks-DV23paUj.js.map → mocks-D7frr82N.js.map} +1 -1
- package/chunk/{mocks-R-p7VtJz.js → mocks-jT71x7MH.js} +5 -5
- package/chunk/{mocks-R-p7VtJz.js.map → mocks-jT71x7MH.js.map} +1 -1
- 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/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-BEzpDnQy.js → programThemeGetters-B2hrl_I4.js} +378 -398
- package/chunk/programThemeGetters-B2hrl_I4.js.map +1 -0
- package/chunk/{programThemeGetters-0iwXNOx6.js → programThemeGetters-BhNmQw7_.js} +1743 -1766
- package/chunk/programThemeGetters-BhNmQw7_.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-Dztw-HNP.js → stepComponentHelpers-3SlH9niv.js} +36 -37
- package/chunk/{stepComponentHelpers-CyqXTDdj.js.map → stepComponentHelpers-3SlH9niv.js.map} +1 -1
- package/chunk/{stepComponentHelpers-CyqXTDdj.js → stepComponentHelpers-BcYAcI_q.js} +26 -27
- package/chunk/{stepComponentHelpers-Dztw-HNP.js.map → stepComponentHelpers-BcYAcI_q.js.map} +1 -1
- 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-Bek3y_4G.js +64 -0
- package/chunk/{useCollectFieldsEndpoint-BbzTOhC3.js.map → useCollectFieldsEndpoint-Bek3y_4G.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BbzTOhC3.js → useCollectFieldsEndpoint-Bjk1VgyF.js} +21 -20
- package/chunk/{useCollectFieldsEndpoint-CKn8va6d.js.map → useCollectFieldsEndpoint-Bjk1VgyF.js.map} +1 -1
- package/chunk/{useMetrics-O66_lNx5.js → useMetrics-B96ha_3m.js} +16 -16
- package/chunk/{useMetrics-O66_lNx5.js.map → useMetrics-B96ha_3m.js.map} +1 -1
- package/chunk/{useMetrics-C13Ap129.js → useMetrics-BV3Mnauz.js} +16 -16
- package/chunk/{useMetrics-C13Ap129.js.map → useMetrics-BV3Mnauz.js.map} +1 -1
- 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 +1054 -1049
- package/sheerid.js.map +1 -1
- package/chunk/BirthDateComponent-i59ScGu6.js +0 -37
- package/chunk/City-gBRdOIsP.js +0 -36
- package/chunk/CollegeNameComponent-CQvKnECH.js +0 -40
- package/chunk/CountryComponentWrapper-A-NCx760.js +0 -84
- package/chunk/CountryComponentWrapper-DHUcGCUF.js +0 -80
- package/chunk/FirstResponderOrganizationComponent-JsNBGiPH.js +0 -38
- package/chunk/FormSelectChoice-DGDSioEg.js.map +0 -1
- package/chunk/FormSelectChoice-DN3XV8go.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-DEwASktt.js +0 -37
- package/chunk/LogoComponent-BoEYsksW.js +0 -27
- package/chunk/MedicalProfessionalOrganizationComponent-CsZ0PEb5.js +0 -38
- package/chunk/MemberIdComponent-JTyvLPTU.js +0 -39
- package/chunk/MembershipOrganizationComponent-Dwnrko48.js +0 -37
- package/chunk/Message-CexO4eZq.js.map +0 -1
- package/chunk/Message-YS1p6ov3.js.map +0 -1
- package/chunk/PersonalInfoStepWrapper-CJzVOQ_x.js.map +0 -1
- package/chunk/StatusComponent-DqlhdO7Q.js +0 -41
- package/chunk/StepAgePersonalInfo-BMB7unTI.js +0 -172
- package/chunk/StepAgePersonalInfo-D0vIoD_n.js +0 -176
- package/chunk/StepCollectIdentifier-B_IWZFnm.js +0 -60
- package/chunk/StepCollectPersonalInfo-Bmu7n4bc.js +0 -372
- package/chunk/StepCollectPersonalInfo-CYAL3QrN.js +0 -368
- package/chunk/StepMedicalProfessionalPersonalInfo-1XPLI2W3.js +0 -212
- package/chunk/StepMemberPersonalInfo-BFKv1wPh.js +0 -155
- package/chunk/StepMemberPersonalInfo-RyxtQuwt.js +0 -159
- package/chunk/StepMoverPersonalInfo-BX_5wilp.js +0 -146
- package/chunk/StepMoverPersonalInfo-Cl4UiqSf.js +0 -142
- package/chunk/StepStudentPersonalInfo-BIewd34q.js +0 -236
- package/chunk/StepStudentPersonalInfo-DRvZ3Vtb.js +0 -232
- package/chunk/StepTeacherPersonalInfo-B8foLmZZ.js +0 -152
- package/chunk/StepTeacherPersonalInfo-ip_pVe12.js +0 -156
- package/chunk/TeacherSchoolComponent-kPobTv7N.js +0 -40
- package/chunk/TestingRouteOverrides-DXjtFZZd.js.map +0 -1
- package/chunk/TestingRouteOverrides-fnlJLg1Z.js.map +0 -1
- package/chunk/countryUtils-DqbdyVbZ.js +0 -12
- package/chunk/empties-BBKd53_B.js +0 -363
- package/chunk/empties-BBKd53_B.js.map +0 -1
- package/chunk/empties-DcQjcgEV.js +0 -367
- package/chunk/empties-DcQjcgEV.js.map +0 -1
- package/chunk/hooks-B7aeAwHn.js.map +0 -1
- package/chunk/hooks-D0X_qdc-.js.map +0 -1
- package/chunk/i18next-iyVj5hRL.js.map +0 -1
- package/chunk/intl-BK4prEGw.js.map +0 -1
- package/chunk/jsx-runtime-BUMIo32n.js.map +0 -1
- package/chunk/jsx-runtime-DwmrsRqi.js.map +0 -1
- package/chunk/programThemeGetters-0iwXNOx6.js.map +0 -1
- package/chunk/programThemeGetters-BEzpDnQy.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-CKn8va6d.js +0 -63
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCompleteAuthentication-B_0EZ3mH.js","names":["forwardRef","useRef","produce","__toESM","fn","VerificationStepsEnum","FormattedHTMLMessage","require_react","require_jsx_runtime","useFlag","AnnouncingHeader","updateFieldValidationErrorsByFieldId","import_react","allowedCharactersValues","propsMap","AuthCode","_ref$allowedCharacter","_ref","allowedCharacters","ariaLabel","_ref$autoFocus","autoFocus","containerClassName","disabled","inputClassName","_ref$isPassword","isPassword","_ref$length","length","placeholder","onChange","value","inputsRef","inputProps","ref","i","sendResult","res","input","handleOnChange","_e$target","nextElementSibling","handleOnKeyDown","key","target","t","handleOnFocus","handleOnPaste","pastedValue","currentInput","pastedCharacter","currentValue","inputs","_loop","el","import_jsx_runtime","StepCompleteAuthenticationComponent","viewModel","verificationService","verificationResponse","shouldHideIcon","authInputRef","updateCompleteAuthenticationViewmodel","nextState","manuallyVerifyViewModel","draft","submitForm","token","fieldValidationErrors","errorIds"],"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"],"ign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A,GACAA,EAAsB,sBACpBC,GAAU,SAAS,KAClB,iBAAA,GAAAd,EAAA,KAAA,CAAC,OAAD;MAAK,WAAU;MAAf,UAAA,CACG,CAACK,KACA,iBAAA,GAAAL,EAAA,IAAA,CAAC,OAAD,EAAA,UACE,iBAAA,GAAAA,EAAA,IAAA,CAAC,OAAD;OACE,KAAI;OACJ,KAAI;MACL,CAAA,EACE,CAAA,GAEP,iBAAA,GAAAA,EAAA,IAAA,CAAC,OAAD;OAAK,WAAU;OACb,UAAA,iBAAA,GAAAA,EAAA,IAAA,CAACjD,GAAD;QACE,IAAG;QACH,gBAAe;OAChB,CAAA;MACE,CAAA,CACF;KAEN,CAAA,CAAA;;IACL,iBAAA,GAAAiD,EAAA,IAAA,CAAC,OAAD;KAAK,WAAU;KACb,UAAA,iBAAA,GAAAA,EAAA,IAAA,CAAC,UAAD;MACE,MAAK;MACL,WAAU;MACV,cAAW;MACX,eAAe;OACb,EACES,EAAwB,GACxBN,GACArD,EAAsB,sBACxB;MACF;MAEA,UAAA,iBAAA,GAAAkD,EAAA,IAAA,CAACjD,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACK,CAAA;IACL,CAAA;GACF;;CACF,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"StepCompleteAuthentication-CK8SYf3r.js","names":["forwardRef","useRef","produce","fn","__toESM","require_react","require_jsx_runtime","VerificationStepsEnum","useFlag","FormattedHTMLMessage","AnnouncingHeader","updateFieldValidationErrorsByFieldId","import_react","allowedCharactersValues","propsMap","AuthCode","_ref$allowedCharacter","_ref","allowedCharacters","ariaLabel","_ref$autoFocus","autoFocus","containerClassName","disabled","inputClassName","_ref$isPassword","isPassword","_ref$length","length","placeholder","onChange","value","inputsRef","inputProps","ref","i","sendResult","res","input","handleOnChange","_e$target","nextElementSibling","handleOnKeyDown","key","target","t","handleOnFocus","handleOnPaste","pastedValue","currentInput","pastedCharacter","currentValue","inputs","_loop","el","import_jsx_runtime","StepCompleteAuthenticationComponent","viewModel","verificationService","verificationResponse","shouldHideIcon","authInputRef","updateCompleteAuthenticationViewmodel","nextState","manuallyVerifyViewModel","draft","submitForm","token","fieldValidationErrors","errorIds"],"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"],"ignoreList":[0],"mappings":";;;;;;;;A,gCAEIa,IAA0B;CAAC;CAAS;CAAW;AAAc,GAC7DC,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,GACIC,KAAA,GAAWf,EAAAA,WAAAA,CAAW,SAAU,GAAM,GAAK;CAC7C,IAAIgB,IAAwBC,EAAK,mBAC7BC,IAAoBF,MAA0B,KAAK,IAAI,iBAAiBA,GACxEG,IAAYF,EAAK,WACjBG,IAAiBH,EAAK,WACtBI,IAAYD,MAAmB,KAAK,KAAWA,GAC/CE,IAAqBL,EAAK,oBAC1BM,IAAWN,EAAK,UAChBO,IAAiBP,EAAK,gBACtBQ,IAAkBR,EAAK,YACvBS,IAAaD,MAAoB,KAAK,KAAYA,GAClDE,IAAcV,EAAK,QACnBW,IAASD,MAAgB,KAAK,IAAI,IAAIA,GACtCE,IAAcZ,EAAK,aACnBa,IAAWb,EAAK;CAEpB,IAAI,MAAMW,CAAM,KAAKA,IAAS,GAC5B,MAAU,M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F;;CACF,CAAA;AAET"}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Nov 04 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.317.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1793828551263
|
|
5
|
+
* BUILD_DATE: Wed Nov 04 2026 21:42:31 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: cfcae53b477fea0855447c301740825340a005f8
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { l as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
8
|
+
import { t as e } from "./jsx-runtime-h9ybVYa3.js";
|
|
9
|
+
import { o as t } from "./programThemeGetters-BhNmQw7_.js";
|
|
10
|
+
import { l as n } from "./runtimeTypes-B2AGNJMT.js";
|
|
11
|
+
import { t as r } from "./ApiUrls-DjPCY66L.js";
|
|
12
|
+
import { t as i } from "./index.es-Dw43pp1V.js";
|
|
13
|
+
import { t as a } from "./LogoComponent-Dwrer09q.js";
|
|
14
|
+
import { t as o } from "./CopyToClipboardComponent-DdLZvzfB.js";
|
|
13
15
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
14
|
-
var s =
|
|
15
|
-
let c =
|
|
16
|
+
var s = e(), c = ({ verificationService: e }) => {
|
|
17
|
+
let c = t(), l = e.verificationResponse.consolationRewardCode || "${consolationRewardCode}", u = c.offerType === "noCode", { verificationId: d } = e.verificationResponse, { rewardDisplay: f } = c, p = !u && !!f.length;
|
|
16
18
|
return /* @__PURE__ */ (0, s.jsxs)("div", {
|
|
17
19
|
id: "sid-step-consolation",
|
|
18
20
|
className: "sid-l-container",
|
|
@@ -24,13 +26,13 @@ var s = t(), c = ({ verificationService: t }) => {
|
|
|
24
26
|
children: [
|
|
25
27
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
26
28
|
className: "sid-l-horz-center",
|
|
27
|
-
children: /* @__PURE__ */ (0, s.jsx)(a, { verificationService:
|
|
29
|
+
children: /* @__PURE__ */ (0, s.jsx)(a, { verificationService: e })
|
|
28
30
|
}),
|
|
29
31
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
30
32
|
className: "sid-header__title sid-l-horz-center sid-l-space-top-md",
|
|
31
33
|
id: "consolation-status",
|
|
32
34
|
role: "alertdialog",
|
|
33
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
35
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
34
36
|
id: "step.consolation.title",
|
|
35
37
|
defaultMessage: "Claim your offer",
|
|
36
38
|
tagName: "h1"
|
|
@@ -38,13 +40,13 @@ var s = t(), c = ({ verificationService: t }) => {
|
|
|
38
40
|
}),
|
|
39
41
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
40
42
|
className: "sid-l-horz-center",
|
|
41
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
43
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
42
44
|
id: "companyName",
|
|
43
45
|
defaultMessage: "{Company}",
|
|
44
|
-
children: (
|
|
46
|
+
children: (e) => /* @__PURE__ */ (0, s.jsx)(i, {
|
|
45
47
|
id: "step.consolation.subtitle",
|
|
46
48
|
defaultMessage: "Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.",
|
|
47
|
-
values: { companyName:
|
|
49
|
+
values: { companyName: e }
|
|
48
50
|
})
|
|
49
51
|
})
|
|
50
52
|
})
|
|
@@ -52,30 +54,30 @@ var s = t(), c = ({ verificationService: t }) => {
|
|
|
52
54
|
}),
|
|
53
55
|
p && /* @__PURE__ */ (0, s.jsx)("div", {
|
|
54
56
|
className: "sid-l-horz-center sid-reward-container sid-l-space-top-md",
|
|
55
|
-
children: f.map((
|
|
57
|
+
children: f.map((e) => e === n.TEXT ? /* @__PURE__ */ (0, s.jsxs)(s.Fragment, { children: [/* @__PURE__ */ (0, s.jsx)("div", {
|
|
56
58
|
className: "sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center",
|
|
57
59
|
role: "region",
|
|
58
60
|
children: l
|
|
59
61
|
}), /* @__PURE__ */ (0, s.jsx)(o, {
|
|
60
62
|
className: "sid-l-space-top-md sid-h-bold-text sid-l-horz-center",
|
|
61
63
|
textToCopy: l,
|
|
62
|
-
notificationText: /* @__PURE__ */ (0, s.jsx)(
|
|
64
|
+
notificationText: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
63
65
|
id: "copied",
|
|
64
66
|
defaultMessage: "Copied"
|
|
65
67
|
}),
|
|
66
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
68
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
67
69
|
id: "step.success.copyCouponCode",
|
|
68
70
|
defaultMessage: "Copy Coupon code"
|
|
69
71
|
})
|
|
70
72
|
})] }) : /* @__PURE__ */ (0, s.jsx)("img", {
|
|
71
73
|
className: "sid-l-space-top-md sid-barcode",
|
|
72
74
|
alt: l,
|
|
73
|
-
src:
|
|
74
|
-
},
|
|
75
|
+
src: r(d, "consolationRewardCode", e)
|
|
76
|
+
}, e))
|
|
75
77
|
}),
|
|
76
78
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
77
79
|
className: "sid-footer sid-l-horz-center sid-l-space-top-lg",
|
|
78
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
80
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
79
81
|
id: "rewardCodeEmailNotification",
|
|
80
82
|
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."
|
|
81
83
|
})
|
|
@@ -84,13 +86,13 @@ var s = t(), c = ({ verificationService: t }) => {
|
|
|
84
86
|
}), /* @__PURE__ */ (0, s.jsx)("div", {
|
|
85
87
|
className: "sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text",
|
|
86
88
|
role: "contentinfo",
|
|
87
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
89
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
88
90
|
id: "companyName",
|
|
89
91
|
defaultMessage: "{Company}",
|
|
90
|
-
children: (
|
|
92
|
+
children: (e) => /* @__PURE__ */ (0, s.jsx)(i, {
|
|
91
93
|
id: "step.consolation.verificationOnly",
|
|
92
94
|
defaultMessage: "Please direct any and all questions about this offer to {companyName}.",
|
|
93
|
-
values: { companyName:
|
|
95
|
+
values: { companyName: e }
|
|
94
96
|
})
|
|
95
97
|
})
|
|
96
98
|
})]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-BRcJHP3o.js","names":["_Fragment","require_jsx_runtime","useProgramConfiguration","RewardDisplayEnum","getBarcodeUrl","FormattedHTMLMessage","LogoComponent","CopyToClipboard","import_jsx_runtime","StepConsolationComponent","programConfiguration","consolationRewardCode","verificationService","noCodeType","showReward","rewardDisplay","displayType","verificationId"],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\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 programConfiguration = useProgramConfiguration();\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = programConfiguration.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = programConfiguration;\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":";;;;;;;;A,aAyHaS,KA3GY,EAAE,6BAAgD;CACzE,IAAMC,IAAuBR,EAAwB,GAC/CS,IACHC,EAAoB,qBAA6C,yBAClE,4BAEIC,IAAaH,EAAqB,cAAc,UAChD,EAAE,sBAAmBE,EAAoB,sBAEzC,EAAE,qBAAkBF,GACpBI,IAAa,CAACD,KAAc,CAAC,CAACE,EAAc;CAElD,OACE,iBAAA,GAAAP,EAAA,KAAA,CAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;EAAzC,UAAA,CACE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA;IACE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;KAAK,WAAU;KAAf,UAAA;MACE,iBAAA,GAAAA,EAAA,IAAA,CAAC,OAAD;OAAK,WAAU;OACb,UAAA,iBAAA,GAAAA,EAAA,IAAA,CAACF,GAAD,EAAoC,uBAAsB,CAAA;MACvD,CAAA;MAEL,iBAAA,GAAAE,EAAA,IAAA,CAAC,OAAD;OACE,WAAU;OACV,IAAG;OACH,MAAK;OAEL,UAAA,iBAAA,GAAAA,EAAA,IAAA,CAACH,GAAD;QACE,IAAG;QACH,gBAAe;QACf,SAAQ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AA,iBAAA,GAAAA,EAAA,IAAA,CAACH,GAAD;IAAsB,IAAG;IAAc,gBAAe;IAClD,WAAA,MACA,iBAAA,GAAAG,EAAA,IAAA,CAACH,GAAD;KACE,IAAG;KACH,gBAAe;KACf,QAAQ,EAAE,eAAY;IACvB,CAAA;GAEiB,CAAA;EACnB,CAAA,CACF;;AAET"}
|
|
@@ -4,19 +4,21 @@
|
|
|
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: Wed Nov 04 2026
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.317.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1793828555691
|
|
9
|
+
* BUILD_DATE: Wed Nov 04 2026 21:42:35 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: cfcae53b477fea0855447c301740825340a005f8
|
|
11
11
|
*/
|
|
12
12
|
import { l as e } from "./runtimeTypes-B2AGNJMT.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
13
|
+
import { t } from "./jsx-runtime-DQgZVOUX.js";
|
|
14
|
+
import { o as n } from "./programThemeGetters-B2hrl_I4.js";
|
|
15
|
+
import { t as r } from "./ApiUrls-BW8MkgqK.js";
|
|
16
|
+
import { t as i } from "./index.es-Cir3-TDI.js";
|
|
17
|
+
import { t as a } from "./LogoComponent-1FE2nzPz.js";
|
|
18
|
+
import { t as o } from "./CopyToClipboardComponent-De_3_3VT.js";
|
|
17
19
|
//#region src/components/StepConsolation/StepConsolationComponent.tsx
|
|
18
|
-
var s =
|
|
19
|
-
let c =
|
|
20
|
+
var s = t(), c = ({ verificationService: t }) => {
|
|
21
|
+
let c = n(), l = t.verificationResponse.consolationRewardCode || "${consolationRewardCode}", u = c.offerType === "noCode", { verificationId: d } = t.verificationResponse, { rewardDisplay: f } = c, p = !u && !!f.length;
|
|
20
22
|
return /* @__PURE__ */ (0, s.jsxs)("div", {
|
|
21
23
|
id: "sid-step-consolation",
|
|
22
24
|
className: "sid-l-container",
|
|
@@ -28,13 +30,13 @@ var s = n(), c = ({ verificationService: n }) => {
|
|
|
28
30
|
children: [
|
|
29
31
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
30
32
|
className: "sid-l-horz-center",
|
|
31
|
-
children: /* @__PURE__ */ (0, s.jsx)(a, { verificationService:
|
|
33
|
+
children: /* @__PURE__ */ (0, s.jsx)(a, { verificationService: t })
|
|
32
34
|
}),
|
|
33
35
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
34
36
|
className: "sid-header__title sid-l-horz-center sid-l-space-top-md",
|
|
35
37
|
id: "consolation-status",
|
|
36
38
|
role: "alertdialog",
|
|
37
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
39
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
38
40
|
id: "step.consolation.title",
|
|
39
41
|
defaultMessage: "Claim your offer",
|
|
40
42
|
tagName: "h1"
|
|
@@ -42,10 +44,10 @@ var s = n(), c = ({ verificationService: n }) => {
|
|
|
42
44
|
}),
|
|
43
45
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
44
46
|
className: "sid-l-horz-center",
|
|
45
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
47
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
46
48
|
id: "companyName",
|
|
47
49
|
defaultMessage: "{Company}",
|
|
48
|
-
children: (e) => /* @__PURE__ */ (0, s.jsx)(
|
|
50
|
+
children: (e) => /* @__PURE__ */ (0, s.jsx)(i, {
|
|
49
51
|
id: "step.consolation.subtitle",
|
|
50
52
|
defaultMessage: "Although we couldn't verify you, {companyName} is providing you this code. It is unique to you and can be only used once.",
|
|
51
53
|
values: { companyName: e }
|
|
@@ -56,30 +58,30 @@ var s = n(), c = ({ verificationService: n }) => {
|
|
|
56
58
|
}),
|
|
57
59
|
p && /* @__PURE__ */ (0, s.jsx)("div", {
|
|
58
60
|
className: "sid-l-horz-center sid-reward-container sid-l-space-top-md",
|
|
59
|
-
children: f.map((
|
|
61
|
+
children: f.map((t) => t === e.TEXT ? /* @__PURE__ */ (0, s.jsxs)(s.Fragment, { children: [/* @__PURE__ */ (0, s.jsx)("div", {
|
|
60
62
|
className: "sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center",
|
|
61
63
|
role: "region",
|
|
62
64
|
children: l
|
|
63
65
|
}), /* @__PURE__ */ (0, s.jsx)(o, {
|
|
64
66
|
className: "sid-l-space-top-md sid-h-bold-text sid-l-horz-center",
|
|
65
67
|
textToCopy: l,
|
|
66
|
-
notificationText: /* @__PURE__ */ (0, s.jsx)(
|
|
68
|
+
notificationText: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
67
69
|
id: "copied",
|
|
68
70
|
defaultMessage: "Copied"
|
|
69
71
|
}),
|
|
70
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
72
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
71
73
|
id: "step.success.copyCouponCode",
|
|
72
74
|
defaultMessage: "Copy Coupon code"
|
|
73
75
|
})
|
|
74
76
|
})] }) : /* @__PURE__ */ (0, s.jsx)("img", {
|
|
75
77
|
className: "sid-l-space-top-md sid-barcode",
|
|
76
78
|
alt: l,
|
|
77
|
-
src: r(d, "consolationRewardCode",
|
|
78
|
-
},
|
|
79
|
+
src: r(d, "consolationRewardCode", t)
|
|
80
|
+
}, t))
|
|
79
81
|
}),
|
|
80
82
|
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
81
83
|
className: "sid-footer sid-l-horz-center sid-l-space-top-lg",
|
|
82
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
84
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
83
85
|
id: "rewardCodeEmailNotification",
|
|
84
86
|
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."
|
|
85
87
|
})
|
|
@@ -88,10 +90,10 @@ var s = n(), c = ({ verificationService: n }) => {
|
|
|
88
90
|
}), /* @__PURE__ */ (0, s.jsx)("div", {
|
|
89
91
|
className: "sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text",
|
|
90
92
|
role: "contentinfo",
|
|
91
|
-
children: /* @__PURE__ */ (0, s.jsx)(
|
|
93
|
+
children: /* @__PURE__ */ (0, s.jsx)(i, {
|
|
92
94
|
id: "companyName",
|
|
93
95
|
defaultMessage: "{Company}",
|
|
94
|
-
children: (e) => /* @__PURE__ */ (0, s.jsx)(
|
|
96
|
+
children: (e) => /* @__PURE__ */ (0, s.jsx)(i, {
|
|
95
97
|
id: "step.consolation.verificationOnly",
|
|
96
98
|
defaultMessage: "Please direct any and all questions about this offer to {companyName}.",
|
|
97
99
|
values: { companyName: e }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConsolation-
|
|
1
|
+
{"version":3,"file":"StepConsolation-CI7sVIqL.js","names":["_Fragment","RewardDisplayEnum","useProgramConfiguration","getBarcodeUrl","FormattedHTMLMessage","LogoComponent","CopyToClipboard","import_jsx_runtime","require_jsx_runtime","StepConsolationComponent","programConfiguration","consolationRewardCode","verificationService","noCodeType","showReward","rewardDisplay","displayType","verificationId"],"sources":["../../src/components/StepConsolation/StepConsolationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useProgramConfiguration } from \"@/lib/state/contextHooks\";\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 programConfiguration = useProgramConfiguration();\n const consolationRewardCode =\n (verificationService.verificationResponse as ConsolationResponse).consolationRewardCode ||\n \"${consolationRewardCode}\"; // eslint-disable-line no-template-curly-in-string\n\n const noCodeType = programConfiguration.offerType === \"noCode\";\n const { verificationId } = verificationService.verificationResponse;\n\n const { rewardDisplay } = programConfiguration;\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":";;;;;;;;A,aAyHaS,KA3GY,EAAE,6BAAgD;CACzE,IAAMC,IAAuBR,EAAwB,GAC/CS,IACHC,EAAoB,qBAA6C,yBAClE,4BAEIC,IAAaH,EAAqB,cAAc,UAChD,EAAE,sBAAmBE,EAAoB,sBAEzC,EAAE,qBAAkBF,GACpBI,IAAa,CAACD,KAAc,CAAC,CAACE,EAAc;CAElD,OACE,iBAAA,GAAAR,EAAA,KAAA,CAAC,OAAD;EAAK,IAAG;EAAuB,WAAU;EAAzC,UAAA,CACE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;GAAK,MAAK;GAAV,UAAA;IACE,iBAAA,GAAAA,EAAA,KAAA,CAAC,OAAD;KAAK,WAAU;KAAf,UAAA;MACE,iBAAA,GAAAA,EAAA,IAAA,CAAC,OAAD;OAAK,WAAU;OACb,UAAA,iBAAA,GAAAA,EAAA,IAAA,CAACF,GAAD,EAAoC,uBA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