@sheerid/jslib-nightly 2.259.0-alpha.1 → 2.259.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +3 -3
- package/_mysheerid-preview.js +3931 -1402
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-RKH3wkuU.js → AddressComponent-CJV3vrMt.js} +6 -6
- package/chunk/{AddressComponent-CN9VzjhI.js.map → AddressComponent-CJV3vrMt.js.map} +1 -1
- package/chunk/{AddressComponent-CN9VzjhI.js → AddressComponent-DMwOmjiG.js} +4 -4
- package/chunk/{AddressComponent-RKH3wkuU.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BZreAj2L.js → AnnouncingHeader-BF69hVVm.js} +5 -5
- package/chunk/{AnnouncingHeader-BZreAj2L.js.map → AnnouncingHeader-BF69hVVm.js.map} +1 -1
- package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
- package/chunk/{ApiUrls-MjYrUy5O.js → ApiUrls-BpvEY_I3.js} +4 -4
- package/chunk/{ApiUrls-DNPrws1D.js.map → ApiUrls-BpvEY_I3.js.map} +1 -1
- package/chunk/{ApiUrls-DNPrws1D.js → ApiUrls-Qas0Xjyd.js} +12 -12
- package/chunk/{ApiUrls-MjYrUy5O.js.map → ApiUrls-Qas0Xjyd.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dx9Zgnrr.js → BirthDateComponent-DFHRO9YQ.js} +5 -5
- package/chunk/{BirthDateComponent-25k9Dw8L.js.map → BirthDateComponent-DFHRO9YQ.js.map} +1 -1
- package/chunk/{BirthDateComponent-25k9Dw8L.js → BirthDateComponent-Dh5xAxOF.js} +7 -7
- package/chunk/{BirthDateComponent-Dx9Zgnrr.js.map → BirthDateComponent-Dh5xAxOF.js.map} +1 -1
- package/chunk/{CaptchaComponent-DZNI_Mdp.js → CaptchaComponent-DaH202Ah.js} +94 -94
- package/chunk/{CaptchaComponent-DA4ytPM2.js.map → CaptchaComponent-DaH202Ah.js.map} +1 -1
- package/chunk/{CaptchaComponent-DA4ytPM2.js → CaptchaComponent-QYGB0QuK.js} +14 -14
- package/chunk/{CaptchaComponent-DZNI_Mdp.js.map → CaptchaComponent-QYGB0QuK.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-COGR4N31.js → ChangeLocaleComponent-DdX2nV2D.js} +7 -7
- package/chunk/{ChangeLocaleComponent-COGR4N31.js.map → ChangeLocaleComponent-DdX2nV2D.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DPIcEDOe.js → ChangeLocaleComponent-QMQdbxxB.js} +5 -5
- package/chunk/{ChangeLocaleComponent-DPIcEDOe.js.map → ChangeLocaleComponent-QMQdbxxB.js.map} +1 -1
- package/chunk/{City-BHrlkpMX.js → City-CmO85Z9x.js} +4 -4
- package/chunk/{City-BHrlkpMX.js.map → City-CmO85Z9x.js.map} +1 -1
- package/chunk/{City-BbRIAxOR.js → City-DlWin4GX.js} +6 -6
- package/chunk/{City-BbRIAxOR.js.map → City-DlWin4GX.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Bu2ei2eB.js → CollegeNameComponent-CIhHISji.js} +5 -5
- package/chunk/{CollegeNameComponent-Bu2ei2eB.js.map → CollegeNameComponent-CIhHISji.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DXmseJtL.js → CollegeNameComponent-D_dKLkKY.js} +8 -8
- package/chunk/{CollegeNameComponent-DXmseJtL.js.map → CollegeNameComponent-D_dKLkKY.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js → CopyToClipboardComponent-C1BnmvlK.js} +8 -8
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js.map → CopyToClipboardComponent-C1BnmvlK.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js → CountryComponentWrapper-Du13nINk.js} +9 -9
- package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js.map → CountryComponentWrapper-Du13nINk.js.map} +1 -1
- package/chunk/CountryComponentWrapper-zWLRBrRp.js +78 -0
- package/chunk/{CountryComponentWrapper-CRF7oKmW.js.map → CountryComponentWrapper-zWLRBrRp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Dylz_5IN.js → DischargeDateComponent-DH3gbXN-.js} +18 -18
- package/chunk/{DischargeDateComponent-dn8Ym3Oc.js.map → DischargeDateComponent-DH3gbXN-.js.map} +1 -1
- package/chunk/{DischargeDateComponent-dn8Ym3Oc.js → DischargeDateComponent-DpNsH3Q4.js} +7 -7
- package/chunk/{DischargeDateComponent-Dylz_5IN.js.map → DischargeDateComponent-DpNsH3Q4.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js → DriverLicenseNumberComponent-D8q18o2M.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js.map → DriverLicenseNumberComponent-D8q18o2M.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +4 -4
- package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
- package/chunk/EmailLoopPending-BpsA3nlg.js +136 -0
- package/chunk/EmailLoopPending-BpsA3nlg.js.map +1 -0
- package/chunk/{EmailLoopPending-MXkvNNP8.js → EmailLoopPending-Dvufu09u.js} +53 -54
- package/chunk/EmailLoopPending-Dvufu09u.js.map +1 -0
- package/chunk/{ExtraMessage-Roxhs2rt.js → ExtraMessage-9BMK2Fd_.js} +6 -6
- package/chunk/{ExtraMessage-DeL_Wn33.js.map → ExtraMessage-9BMK2Fd_.js.map} +1 -1
- package/chunk/{ExtraMessage-DeL_Wn33.js → ExtraMessage-Ca6AF5JE.js} +4 -4
- package/chunk/{ExtraMessage-Roxhs2rt.js.map → ExtraMessage-Ca6AF5JE.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js → FirstResponderOrganizationComponent-C88NJlsu.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js.map → FirstResponderOrganizationComponent-C88NJlsu.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js → FirstResponderOrganizationComponent-DgcptK9s.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js.map → FirstResponderOrganizationComponent-DgcptK9s.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BaD_qpOw.js → FormFieldInputSelect-BJlHmrSC.js} +4 -4
- package/chunk/{FormFieldInputSelect-BaD_qpOw.js.map → FormFieldInputSelect-BJlHmrSC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CSqp8aHf.js → FormFieldInputSelect-qjIEfk_y.js} +6 -6
- package/chunk/{FormFieldInputSelect-CSqp8aHf.js.map → FormFieldInputSelect-qjIEfk_y.js.map} +1 -1
- package/chunk/{FormFieldLayout-CUA-PItd.js → FormFieldLayout-BpmeMD4X.js} +5 -5
- package/chunk/{FormFieldLayout-CUA-PItd.js.map → FormFieldLayout-BpmeMD4X.js.map} +1 -1
- package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
- package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
- package/chunk/{FormFieldText-BeEhq8Kc.js → FormFieldText-zuTjfmLt.js} +6 -6
- package/chunk/{FormFieldText-BeEhq8Kc.js.map → FormFieldText-zuTjfmLt.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C3gO98J5.js → FormFieldTypeahead-4sP6yrSp.js} +455 -456
- package/chunk/{FormFieldTypeahead-C3gO98J5.js.map → FormFieldTypeahead-4sP6yrSp.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BvcKAdzA.js → FormFieldTypeahead-CrDv6QmZ.js} +498 -499
- package/chunk/{FormFieldTypeahead-BvcKAdzA.js.map → FormFieldTypeahead-CrDv6QmZ.js.map} +1 -1
- package/chunk/{FormFooterComponent-DcilxYfs.js → FormFooterComponent-CXzDxR2J.js} +2116 -2043
- package/chunk/FormFooterComponent-CXzDxR2J.js.map +1 -0
- package/chunk/{FormFooterComponent-Cobuya5J.js → FormFooterComponent-D9_fIqUs.js} +1335 -1250
- package/chunk/FormFooterComponent-D9_fIqUs.js.map +1 -0
- package/chunk/{FormSelectChoice-Dz_8_0v1.js → FormSelectChoice-BQPP65dN.js} +5 -5
- package/chunk/{FormSelectChoice-DjQUf_kR.js.map → FormSelectChoice-BQPP65dN.js.map} +1 -1
- package/chunk/{FormSelectChoice-DjQUf_kR.js → FormSelectChoice-QRH1HmYa.js} +17 -17
- package/chunk/{FormSelectChoice-Dz_8_0v1.js.map → FormSelectChoice-QRH1HmYa.js.map} +1 -1
- package/chunk/InputText-Bzkl8mKj.js +3 -3
- package/chunk/{InputText-CkDvaW9P.js → InputText-DA8wfbQM.js} +6 -6
- package/chunk/{InputText-CkDvaW9P.js.map → InputText-DA8wfbQM.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js.map → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js → LicensedProfessionalOrganizationComponent-DD9CuMfT.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js.map → LicensedProfessionalOrganizationComponent-DD9CuMfT.js.map} +1 -1
- package/chunk/LogoComponent-BMeuu-aK.js +3 -3
- package/chunk/{LogoComponent-CFPoRk_q.js → LogoComponent-BxIXOXCM.js} +5 -5
- package/chunk/{LogoComponent-CFPoRk_q.js.map → LogoComponent-BxIXOXCM.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js → LowIncomeOrganizationComponent-D3-otdoS.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js.map → LowIncomeOrganizationComponent-D3-otdoS.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js → LowIncomeOrganizationComponent-Dpvvj9n4.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js.map → LowIncomeOrganizationComponent-Dpvvj9n4.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js → MedicalProfessionalOrganizationComponent-B-hFqd6W.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js.map → MedicalProfessionalOrganizationComponent-B-hFqd6W.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js.map → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js.map} +1 -1
- package/chunk/{MemberIdComponent-D4U9CjTr.js → MemberIdComponent-DMGaNM9l.js} +6 -6
- package/chunk/{MemberIdComponent-D4U9CjTr.js.map → MemberIdComponent-DMGaNM9l.js.map} +1 -1
- package/chunk/{MemberIdComponent-DOikwfIV.js → MemberIdComponent-Dva2Xx7J.js} +4 -4
- package/chunk/{MemberIdComponent-DOikwfIV.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D02G3scF.js → MembershipOrganizationComponent-CfLlUdPl.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-CisdewfJ.js.map → MembershipOrganizationComponent-CfLlUdPl.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CisdewfJ.js → MembershipOrganizationComponent-DuJZlKLf.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-D02G3scF.js.map → MembershipOrganizationComponent-DuJZlKLf.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js → PersonalInfoStepSubmitButton-D3lzSm2E.js} +22 -22
- package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js.map → PersonalInfoStepSubmitButton-D3lzSm2E.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-VYXPs068.js → PersonalInfoStepWrapper-B-1TuvRJ.js} +4 -4
- package/chunk/{PersonalInfoStepWrapper-VYXPs068.js.map → PersonalInfoStepWrapper-B-1TuvRJ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js → PersonalInfoStepWrapper-DgL_kGk3.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js.map → PersonalInfoStepWrapper-DgL_kGk3.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DwnHo2aW.js → PostalCodeComponent-BGzBByZd.js} +6 -6
- package/chunk/{PostalCodeComponent-DwnHo2aW.js.map → PostalCodeComponent-BGzBByZd.js.map} +1 -1
- package/chunk/{PostalCodeComponent-hDSZecsX.js → PostalCodeComponent-C97fgZFI.js} +4 -4
- package/chunk/{PostalCodeComponent-hDSZecsX.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
- package/chunk/{SSN-_mJmp2Gg.js → SSN-CNzKgddw.js} +7 -7
- package/chunk/{SSN-B9b4KlAr.js.map → SSN-CNzKgddw.js.map} +1 -1
- package/chunk/{SSN-B9b4KlAr.js → SSN-mk_cMbDH.js} +4 -4
- package/chunk/{SSN-_mJmp2Gg.js.map → SSN-mk_cMbDH.js.map} +1 -1
- package/chunk/{StateSelectComponent-DGQL388D.js → StateSelectComponent-Cx1_JBfI.js} +4 -4
- package/chunk/{StateSelectComponent-D26TjOAn.js.map → StateSelectComponent-Cx1_JBfI.js.map} +1 -1
- package/chunk/{StateSelectComponent-D26TjOAn.js → StateSelectComponent-D2j7QCvj.js} +5 -5
- package/chunk/{StateSelectComponent-DGQL388D.js.map → StateSelectComponent-D2j7QCvj.js.map} +1 -1
- package/chunk/{StatusComponent-Dv3frckJ.js → StatusComponent-Cxw9bsOp.js} +7 -7
- package/chunk/{StatusComponent-Dv3frckJ.js.map → StatusComponent-Cxw9bsOp.js.map} +1 -1
- package/chunk/{StatusComponent-XLL7x50K.js → StatusComponent-_HBklXve.js} +5 -5
- package/chunk/{StatusComponent-XLL7x50K.js.map → StatusComponent-_HBklXve.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js} +47 -51
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js.map → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js} +25 -21
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js.map → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BTdUm8M1.js → StepAgePersonalInfo-DmBYGHG8.js} +39 -39
- package/chunk/{StepAgePersonalInfo-BTdUm8M1.js.map → StepAgePersonalInfo-DmBYGHG8.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-X-eQf_2z.js +173 -0
- package/chunk/{StepAgePersonalInfo-KeuFdZua.js.map → StepAgePersonalInfo-X-eQf_2z.js.map} +1 -1
- package/chunk/StepCard-7t2vkHqM.js +3 -3
- package/chunk/{StepCard-BF_RD7Rd.js → StepCard-BtvCt-ND.js} +4 -4
- package/chunk/{StepCard-BF_RD7Rd.js.map → StepCard-BtvCt-ND.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Cr5cRjes.js → StepCollectIdentifier-8QO4sVSo.js} +10 -10
- package/chunk/{StepCollectIdentifier-Cr5cRjes.js.map → StepCollectIdentifier-8QO4sVSo.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-aSTN2D3f.js → StepCollectIdentifier-bhlSO88L.js} +8 -8
- package/chunk/{StepCollectIdentifier-aSTN2D3f.js.map → StepCollectIdentifier-bhlSO88L.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-5RzFVxA_.js → StepCollectMilitaryStatusComponent-CwiPlk5w.js} +4 -4
- package/chunk/StepCollectMilitaryStatusComponent-f2ZW0KJY.js +9 -0
- package/chunk/StepCollectPersonalInfo-R-5UOPTA.js +361 -0
- package/chunk/{StepCollectPersonalInfo-BVd72Idl.js.map → StepCollectPersonalInfo-R-5UOPTA.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D75Yctan.js → StepCollectPersonalInfo-r2uBVXk_.js} +87 -87
- package/chunk/{StepCollectPersonalInfo-D75Yctan.js.map → StepCollectPersonalInfo-r2uBVXk_.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CYsu3UXL.js → StepCompleteAuthentication-C2HoMZzF.js} +50 -51
- package/chunk/StepCompleteAuthentication-C2HoMZzF.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-CmOEE_s5.js → StepCompleteAuthentication-Cs4zhI-D.js} +42 -43
- package/chunk/StepCompleteAuthentication-Cs4zhI-D.js.map +1 -0
- package/chunk/{StepConsolation-Bm7fMyFo.js → StepConsolation-CwLUx5P6.js} +4 -4
- package/chunk/{StepConsolation-Bm7fMyFo.js.map → StepConsolation-CwLUx5P6.js.map} +1 -1
- package/chunk/{StepConsolation-euaYpjbw.js → StepConsolation-J6tneCHK.js} +8 -8
- package/chunk/{StepConsolation-euaYpjbw.js.map → StepConsolation-J6tneCHK.js.map} +1 -1
- package/chunk/{StepDocUpload-Fi16blpY.js → StepDocUpload-Dl-gzKui.js} +40 -40
- package/chunk/{StepDocUpload-Dc986T4y.js.map → StepDocUpload-Dl-gzKui.js.map} +1 -1
- package/chunk/{StepDocUpload-Dc986T4y.js → StepDocUpload-dc7sQRtA.js} +242 -242
- package/chunk/{StepDocUpload-Fi16blpY.js.map → StepDocUpload-dc7sQRtA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js} +19 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js.map → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js} +32 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js.map → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js.map} +1 -1
- package/chunk/{StepEmailLoop-7EwsfbG2.js → StepEmailLoop-BDRiI0kO.js} +46 -47
- package/chunk/StepEmailLoop-BDRiI0kO.js.map +1 -0
- package/chunk/{StepEmailLoop-CLIGNsCO.js → StepEmailLoop-DWNRCm1O.js} +51 -52
- package/chunk/StepEmailLoop-DWNRCm1O.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js → StepEmploymentPersonalInfo-C0UAANQZ.js} +44 -48
- package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js.map → StepEmploymentPersonalInfo-C0UAANQZ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js → StepEmploymentPersonalInfo-al1phPDp.js} +22 -18
- package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js.map → StepEmploymentPersonalInfo-al1phPDp.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js → StepFirstResponderPersonalInfo-Byb5gsnf.js} +37 -37
- package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js.map → StepFirstResponderPersonalInfo-Byb5gsnf.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js → StepFirstResponderPersonalInfo-Ci8gAYOs.js} +42 -42
- package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js.map → StepFirstResponderPersonalInfo-Ci8gAYOs.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js} +41 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js.map → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js} +22 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js.map → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js} +44 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js.map → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js} +23 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js.map → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DPbA9LaQ.js → StepIDCheckLoop-DiGRkuBM.js} +5 -5
- package/chunk/{StepIDCheckLoop-C7UAES2n.js.map → StepIDCheckLoop-DiGRkuBM.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C7UAES2n.js → StepIDCheckLoop-Djow0hoO.js} +8 -8
- package/chunk/{StepIDCheckLoop-DPbA9LaQ.js.map → StepIDCheckLoop-Djow0hoO.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js → StepIDCheckLoopOnfido-BvMXuWoN.js} +40 -40
- package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js.map → StepIDCheckLoopOnfido-BvMXuWoN.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js → StepIDCheckLoopOnfido-CT458GtS.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js.map → StepIDCheckLoopOnfido-CT458GtS.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js → StepIDCheckLoopRegula-BvLpBUxe.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js.map → StepIDCheckLoopRegula-BvLpBUxe.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js → StepIDCheckLoopRegula-DcB8ugg0.js} +18 -18
- package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js.map → StepIDCheckLoopRegula-DcB8ugg0.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js} +69 -73
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js.map → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js} +33 -29
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js.map → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js} +21 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js.map → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js} +37 -41
- package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js.map → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js → StepLowIncomePersonalInfo-CTZREXGu.js} +63 -67
- package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js.map → StepLowIncomePersonalInfo-CTZREXGu.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js → StepLowIncomePersonalInfo-CZlgdCqq.js} +39 -35
- package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js.map → StepLowIncomePersonalInfo-CZlgdCqq.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js} +28 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js.map → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js} +48 -52
- package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js.map → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-Dpb5-ENF.js +152 -0
- package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js.map → StepMemberPersonalInfo-Dpb5-ENF.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js → StepMemberPersonalInfo-TjSa0NJV.js} +20 -16
- package/chunk/{StepMemberPersonalInfo-DzKpsoK8.js.map → StepMemberPersonalInfo-TjSa0NJV.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-6bjpRGAv.js +139 -0
- package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js.map → StepMoverPersonalInfo-6bjpRGAv.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js → StepMoverPersonalInfo-vv7-jdz0.js} +18 -14
- package/chunk/{StepMoverPersonalInfo-DIspTifw.js.map → StepMoverPersonalInfo-vv7-jdz0.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DbbQq6nF.js → StepOverrideComponent-4f8ZZxxE.js} +41 -41
- package/chunk/StepOverrideComponent-4f8ZZxxE.js.map +1 -0
- package/chunk/{StepOverrideComponent-67Wl2Ic3.js → StepOverrideComponent-BXnbZhfO.js} +37 -37
- package/chunk/StepOverrideComponent-BXnbZhfO.js.map +1 -0
- package/chunk/{StepSMSLoop-DU91kmZw.js → StepSMSLoop-DAKxJhXo.js} +4 -4
- package/chunk/{StepSMSLoop-DU91kmZw.js.map → StepSMSLoop-DAKxJhXo.js.map} +1 -1
- package/chunk/{StepSMSLoop-DbvJTafU.js → StepSMSLoop-DO4S-Aje.js} +18 -18
- package/chunk/{StepSMSLoop-DbvJTafU.js.map → StepSMSLoop-DO4S-Aje.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +9 -0
- package/chunk/{StepSSO-Bp-M6Mod.js → StepSSO-BaFk7RFJ.js} +4 -4
- package/chunk/{StepSocialSecurityNumber-DK4msVLI.js → StepSocialSecurityNumber-BseFM9rt.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-CbSszHk8.js.map → StepSocialSecurityNumber-BseFM9rt.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CbSszHk8.js → StepSocialSecurityNumber-D0_62BYK.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-DK4msVLI.js.map → StepSocialSecurityNumber-D0_62BYK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js → StepStudentPersonalInfo-0LRBqSx5.js} +72 -73
- package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js.map → StepStudentPersonalInfo-0LRBqSx5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js → StepStudentPersonalInfo-CLG5AxSd.js} +36 -37
- package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js.map → StepStudentPersonalInfo-CLG5AxSd.js.map} +1 -1
- package/chunk/{StepSuccess-DkoWskiv.js → StepSuccess-8Ek9VvK_.js} +82 -83
- package/chunk/StepSuccess-8Ek9VvK_.js.map +1 -0
- package/chunk/{StepSuccess-DOWQrS9p.js → StepSuccess-Be30r2Og.js} +71 -72
- package/chunk/StepSuccess-Be30r2Og.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js → StepTeacherPersonalInfo-BYTmkyxy.js} +21 -17
- package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js.map → StepTeacherPersonalInfo-BYTmkyxy.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-BfyMicng.js +149 -0
- package/chunk/{StepTeacherPersonalInfo-CW71f8l7.js.map → StepTeacherPersonalInfo-BfyMicng.js.map} +1 -1
- package/chunk/{StepThirdPartyLoop-CbFTIlwP.js → StepThirdPartyLoop-BGHCbduX.js} +4 -4
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +9 -0
- package/chunk/{TeacherSchoolComponent-DrN1Py8h.js → TeacherSchoolComponent-IkCV6bH-.js} +8 -8
- package/chunk/{TeacherSchoolComponent-DrN1Py8h.js.map → TeacherSchoolComponent-IkCV6bH-.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js → TeacherSchoolComponent-Qyri5g_X.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js.map → TeacherSchoolComponent-Qyri5g_X.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
- package/chunk/TestingRouteOverrides-BDCygTLC.js +81 -0
- package/chunk/{TestingRouteOverrides-DCR0qXVH.js.map → TestingRouteOverrides-BDCygTLC.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-CVR-bKWg.js → VerificationApiClient-Br6D_KwQ.js} +4 -4
- package/chunk/{VerificationApiClient-CVR-bKWg.js.map → VerificationApiClient-Br6D_KwQ.js.map} +1 -1
- package/chunk/{VerificationApiClient-xgUCQ1gs.js → VerificationApiClient-D6OYdL72.js} +140 -140
- package/chunk/{VerificationApiClient-xgUCQ1gs.js.map → VerificationApiClient-D6OYdL72.js.map} +1 -1
- package/chunk/{VerificationApiUtils-OKRnuWj4.js → VerificationApiUtils-D5oFJWD5.js} +5 -5
- package/chunk/{VerificationApiUtils-COM2VOcB.js.map → VerificationApiUtils-D5oFJWD5.js.map} +1 -1
- package/chunk/{VerificationApiUtils-COM2VOcB.js → VerificationApiUtils-rnfNWA2k.js} +6 -6
- package/chunk/{VerificationApiUtils-OKRnuWj4.js.map → VerificationApiUtils-rnfNWA2k.js.map} +1 -1
- package/chunk/ar-wkBEXxD9.js +3 -3
- package/chunk/bg-D2-seofX.js +3 -3
- package/chunk/bn-IN-B5PyYaJU.js +3 -3
- package/chunk/{countryUtils-BAFwHnuu.js → countryUtils-D2UBy7Uo.js} +4 -4
- package/chunk/{countryUtils-BAFwHnuu.js.map → countryUtils-D2UBy7Uo.js.map} +1 -1
- package/chunk/countryUtils-QSjR1rBI.js +3 -3
- package/chunk/cs-CsEnIopo.js +3 -3
- package/chunk/da-Da-m3VU_.js +3 -3
- package/chunk/de-BSoD5U3-.js +3 -3
- package/chunk/{downshift.esm-Cy12VCIv.js → downshift.esm-DWGiKAV_.js} +121 -121
- package/chunk/{downshift.esm-Cy12VCIv.js.map → downshift.esm-DWGiKAV_.js.map} +1 -1
- package/chunk/{downshift.esm-D4-Qs4ci.js → downshift.esm-oTd5iRZU.js} +40 -40
- package/chunk/{downshift.esm-D4-Qs4ci.js.map → downshift.esm-oTd5iRZU.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/empties-BIoZK05_.js +3 -3
- package/chunk/{empties-Ck9OJXHG.js → empties-DHvaWflk.js} +4 -4
- package/chunk/{empties-Ck9OJXHG.js.map → empties-DHvaWflk.js.map} +1 -1
- package/chunk/en-GB-V8XaGkaI.js +3 -3
- package/chunk/es-D18tLxcT.js +3 -3
- package/chunk/es-ES-7x2bVUQr.js +3 -3
- package/chunk/et-udrWMVlD.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-DgwYULMs.js +3 -3
- package/chunk/fi-CkCWFGDC.js +3 -3
- package/chunk/fr-BprIFEa8.js +3 -3
- package/chunk/fr-CA-DrjICejr.js +3 -3
- package/chunk/ga-LaV5ZJgg.js +3 -3
- package/chunk/hi-IN-7dtEICYI.js +3 -3
- package/chunk/hr-2Bctl997.js +3 -3
- package/chunk/hu-BT0z6TPZ.js +3 -3
- package/chunk/id-BvyYep3X.js +3 -3
- package/chunk/{intl-aUfdCP8t.js → intl-Yr2cw5px.js} +4 -4
- package/chunk/{intl-aUfdCP8t.js.map → intl-Yr2cw5px.js.map} +1 -1
- package/chunk/is-DOsKfa80.js +3 -3
- package/chunk/it-3dX9AQk7.js +3 -3
- package/chunk/iw-5I90wqQ8.js +3 -3
- package/chunk/ja-CHdgbMgX.js +3 -3
- package/chunk/jsx-runtime-BknAqbDq.js +3 -3
- package/chunk/{jsx-runtime-XNwIsY_N.js → jsx-runtime-D_-z-h6n.js} +17 -17
- package/chunk/{jsx-runtime-XNwIsY_N.js.map → jsx-runtime-D_-z-h6n.js.map} +1 -1
- package/chunk/kk-BriyNfHL.js +3 -3
- package/chunk/ko-DsMaax3V.js +3 -3
- package/chunk/lo-CjASRmNr.js +3 -3
- package/chunk/lt-DF29E1de.js +3 -3
- package/chunk/lv-DlHBZyt-.js +3 -3
- package/chunk/{militaryStepHelpers-qMYyQgVn.js → militaryStepHelpers-DSh6iat_.js} +4 -4
- package/chunk/{militaryStepHelpers-qMYyQgVn.js.map → militaryStepHelpers-DSh6iat_.js.map} +1 -1
- package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
- package/chunk/mocks-1r84in2Q.js +3 -3
- package/chunk/{mocks-fUTXc8-e.js → mocks-CKXq8CZk.js} +8 -8
- package/chunk/{mocks-fUTXc8-e.js.map → mocks-CKXq8CZk.js.map} +1 -1
- package/chunk/ms-B3vDtlFh.js +3 -3
- package/chunk/nl-BE-Dw1IGXuF.js +3 -3
- package/chunk/nl-Cqkrr5-r.js +3 -3
- package/chunk/no-876EdwkX.js +3 -3
- package/chunk/options-D19mRw5a.js +3 -3
- package/chunk/pl-B_G8s05-.js +3 -3
- package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
- package/chunk/{programThemeGetters-CyMKyJao.js → programThemeGetters-iBty-gXI.js} +35 -35
- package/chunk/{programThemeGetters-CyMKyJao.js.map → programThemeGetters-iBty-gXI.js.map} +1 -1
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/refs-Bbe0gnJ3.js +3 -3
- package/chunk/{refs--ECXpllB.js → refs-C_tB1qMA.js} +4 -4
- package/chunk/{refs--ECXpllB.js.map → refs-C_tB1qMA.js.map} +1 -1
- package/chunk/ro-DukNcWCM.js +3 -3
- package/chunk/ru-RkdRQ7qb.js +3 -3
- package/chunk/sk-CPBgBtC5.js +3 -3
- package/chunk/sl-Cyj9PWmN.js +3 -3
- package/chunk/sr-Bm1GVW8m.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-CcMmeZrG.js +3 -3
- package/chunk/sw-BPvl1ou6.js +3 -3
- package/chunk/ta-BPEH7IlE.js +3 -3
- package/chunk/th-Dd912RL5.js +3 -3
- package/chunk/tl-J_TdpjQz.js +3 -3
- package/chunk/tr-B-GrrJj0.js +3 -3
- package/chunk/uk-MohyvT_n.js +3 -3
- package/chunk/ur-CDYGpWMm.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js → useCollectFieldsEndpoint-BSbEIf3Q.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js.map → useCollectFieldsEndpoint-BSbEIf3Q.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js → useCollectFieldsEndpoint-BuXZrZTD.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js.map → useCollectFieldsEndpoint-BuXZrZTD.js.map} +1 -1
- package/chunk/{useMetrics-AzdlM_Kg.js → useMetrics-BdMoL7SD.js} +18 -18
- package/chunk/{useMetrics-DKs1RHom.js.map → useMetrics-BdMoL7SD.js.map} +1 -1
- package/chunk/{useMetrics-DKs1RHom.js → useMetrics-D_8asKZL.js} +4 -4
- package/chunk/{useMetrics-AzdlM_Kg.js.map → useMetrics-D_8asKZL.js.map} +1 -1
- package/chunk/validators-DTjHYDSK.js +474 -0
- package/chunk/validators-DTjHYDSK.js.map +1 -0
- package/chunk/validators-Do9xo2t_.js +470 -0
- package/chunk/validators-Do9xo2t_.js.map +1 -0
- package/chunk/vi-CdPTWSev.js +3 -3
- package/chunk/zh-DhnjKBoc.js +3 -3
- package/chunk/zh-HK-CWKNP_HX.js +3 -3
- package/chunk/zu-BpMHS0oR.js +3 -3
- package/package.json +3 -2
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +3 -3
- package/sheerid.css +3 -3
- package/sheerid.js +3812 -1369
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-CRF7oKmW.js +0 -78
- package/chunk/EmailLoopPending-MXkvNNP8.js.map +0 -1
- package/chunk/EmailLoopPending-anok50US.js +0 -137
- package/chunk/EmailLoopPending-anok50US.js.map +0 -1
- package/chunk/FormFooterComponent-Cobuya5J.js.map +0 -1
- package/chunk/FormFooterComponent-DcilxYfs.js.map +0 -1
- package/chunk/StepAgePersonalInfo-KeuFdZua.js +0 -173
- package/chunk/StepCollectMilitaryStatusComponent-CHOxuZnI.js +0 -9
- package/chunk/StepCollectPersonalInfo-BVd72Idl.js +0 -361
- package/chunk/StepCompleteAuthentication-CYsu3UXL.js.map +0 -1
- package/chunk/StepCompleteAuthentication-CmOEE_s5.js.map +0 -1
- package/chunk/StepEmailLoop-7EwsfbG2.js.map +0 -1
- package/chunk/StepEmailLoop-CLIGNsCO.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-DzKpsoK8.js +0 -156
- package/chunk/StepMoverPersonalInfo-DIspTifw.js +0 -143
- package/chunk/StepOverrideComponent-67Wl2Ic3.js.map +0 -1
- package/chunk/StepOverrideComponent-DbbQq6nF.js.map +0 -1
- package/chunk/StepSSO-DfPU73JX.js +0 -9
- package/chunk/StepSuccess-DOWQrS9p.js.map +0 -1
- package/chunk/StepSuccess-DkoWskiv.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-CW71f8l7.js +0 -153
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +0 -9
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +0 -81
- package/chunk/hooks--D4yPhcg.js +0 -2893
- package/chunk/hooks--D4yPhcg.js.map +0 -1
- package/chunk/hooks-Bn35OzEf.js +0 -2889
- package/chunk/hooks-Bn35OzEf.js.map +0 -1
|
@@ -4,22 +4,22 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import { t as c } from "./FormFooterComponent-
|
|
15
|
-
import { o as l } from "./refs
|
|
16
|
-
import { t as u } from "./LogoComponent-
|
|
17
|
-
import { t as d } from "./AnnouncingHeader-
|
|
18
|
-
import {
|
|
19
|
-
import { t as m } from "./ChangeLocaleComponent-
|
|
20
|
-
import { t as h } from "./SSN-
|
|
12
|
+
import { Mt as e, Ut as t, gt as n, p as r } from "./intl-Yr2cw5px.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-D_-z-h6n.js";
|
|
14
|
+
import { t as c } from "./FormFooterComponent-D9_fIqUs.js";
|
|
15
|
+
import { o as l } from "./refs-C_tB1qMA.js";
|
|
16
|
+
import { t as u } from "./LogoComponent-BxIXOXCM.js";
|
|
17
|
+
import { t as d } from "./AnnouncingHeader-BF69hVVm.js";
|
|
18
|
+
import { $ as f, Z as p } from "../_mysheerid-preview.js";
|
|
19
|
+
import { t as m } from "./ChangeLocaleComponent-DdX2nV2D.js";
|
|
20
|
+
import { t as h } from "./SSN-CNzKgddw.js";
|
|
21
21
|
//#region src/components/StepSocialSecurityNumber/SsnChoice.tsx
|
|
22
|
-
var g = /* @__PURE__ */
|
|
22
|
+
var g = /* @__PURE__ */ t(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, verificationService: n }) => /* @__PURE__ */ (0, _.jsxs)("div", {
|
|
23
23
|
id: "sid-ssn-choice",
|
|
24
24
|
className: "sid-ssn-choice-container sid-l-container sid-l-horz-center",
|
|
25
25
|
children: [/* @__PURE__ */ (0, _.jsxs)("div", {
|
|
@@ -68,17 +68,17 @@ var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, v
|
|
|
68
68
|
className: "sid-ssn-choice__footer sid-l-space-top-lg",
|
|
69
69
|
children: /* @__PURE__ */ (0, _.jsx)(c, { verificationService: n })
|
|
70
70
|
})]
|
|
71
|
-
}), y = i(({ verificationService:
|
|
72
|
-
let [i, a] = g.useState(!0), s =
|
|
73
|
-
let i = r(s, (
|
|
74
|
-
e
|
|
71
|
+
}), y = i(({ verificationService: t }) => {
|
|
72
|
+
let [i, a] = g.useState(!0), s = t.viewModel, { fieldValidationErrors: y } = t, b = () => t.submitStep(e.cancelSocialSecurityNumber, s, t.verificationResponse), x = (e, n) => {
|
|
73
|
+
let i = r(s, (t) => {
|
|
74
|
+
t[e] = n;
|
|
75
75
|
});
|
|
76
|
-
|
|
76
|
+
t.updateViewModel(i);
|
|
77
77
|
}, S = s.socialSecurityNumber && s.socialSecurityNumber.toString().length === 9;
|
|
78
78
|
return i ? /* @__PURE__ */ (0, _.jsx)(v, {
|
|
79
79
|
useSsn: () => a(!1),
|
|
80
80
|
useDocUpload: b,
|
|
81
|
-
verificationService:
|
|
81
|
+
verificationService: t
|
|
82
82
|
}) : /* @__PURE__ */ (0, _.jsxs)("div", {
|
|
83
83
|
id: "sid-step-social-security",
|
|
84
84
|
className: "sid-social-sercurity-number-container sid-l-container sid-l-horz-center",
|
|
@@ -90,7 +90,7 @@ var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, v
|
|
|
90
90
|
children: [
|
|
91
91
|
/* @__PURE__ */ (0, _.jsx)("div", {
|
|
92
92
|
className: "sid-social-security-number-logo-container sid-l-horz-center",
|
|
93
|
-
children: /* @__PURE__ */ (0, _.jsx)(u, { verificationService:
|
|
93
|
+
children: /* @__PURE__ */ (0, _.jsx)(u, { verificationService: t })
|
|
94
94
|
}),
|
|
95
95
|
/* @__PURE__ */ (0, _.jsx)(d, {
|
|
96
96
|
align: "center",
|
|
@@ -100,15 +100,15 @@ var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, v
|
|
|
100
100
|
tagName: "h1"
|
|
101
101
|
})
|
|
102
102
|
}),
|
|
103
|
-
/* @__PURE__ */ (0, _.jsx)(m, { verificationService:
|
|
103
|
+
/* @__PURE__ */ (0, _.jsx)(m, { verificationService: t }),
|
|
104
104
|
/* @__PURE__ */ (0, _.jsx)("div", {
|
|
105
105
|
className: "sid-ssn-wrapper",
|
|
106
106
|
children: /* @__PURE__ */ (0, _.jsx)(h, {
|
|
107
107
|
value: s.socialSecurityNumber,
|
|
108
|
-
onChange: (
|
|
109
|
-
x("socialSecurityNumber",
|
|
108
|
+
onChange: (e) => {
|
|
109
|
+
x("socialSecurityNumber", e), f("socialSecurityNumber", e, t);
|
|
110
110
|
},
|
|
111
|
-
isErrored: !!y[
|
|
111
|
+
isErrored: !!y[n.socialSecurityNumber],
|
|
112
112
|
placeholder: "000-00-0000"
|
|
113
113
|
})
|
|
114
114
|
})
|
|
@@ -120,7 +120,7 @@ var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, v
|
|
|
120
120
|
className: "sid-social-security-number-submit sid-submit",
|
|
121
121
|
children: /* @__PURE__ */ (0, _.jsx)("button", {
|
|
122
122
|
id: "sid-submit-wrapper__collect-info",
|
|
123
|
-
onClick: () => p(s,
|
|
123
|
+
onClick: () => p(s, t, e.collectSocialSecurityNumber),
|
|
124
124
|
type: "submit",
|
|
125
125
|
className: `sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${S ? "" : "sid-btn--disabled-like"}`,
|
|
126
126
|
"aria-label": "submit",
|
|
@@ -147,7 +147,7 @@ var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, v
|
|
|
147
147
|
})
|
|
148
148
|
})
|
|
149
149
|
]
|
|
150
|
-
}), /* @__PURE__ */ (0, _.jsx)(c, { verificationService:
|
|
150
|
+
}), /* @__PURE__ */ (0, _.jsx)(c, { verificationService: t })]
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
//#endregion
|
package/chunk/{StepSocialSecurityNumber-DK4msVLI.js.map → StepSocialSecurityNumber-D0_62BYK.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-D0_62BYK.js","names":[],"sources":["../../src/components/StepSocialSecurityNumber/SsnChoice.tsx","../../src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\n\ntype Props = {\n useSsn: () => void;\n useDocUpload: () => void;\n verificationService: any;\n};\n\nconst Step = ({ useSsn, useDocUpload, verificationService }: Props) => (\n <div id=\"sid-ssn-choice\" className=\"sid-ssn-choice-container sid-l-container sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-ssn-choice-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <div className=\"sid-header__title sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.selectOption\"\n defaultMessage=\"Select an option\"\n tagName=\"h1\"\n />\n </div>\n </div>\n\n <div className=\"sid-ssn-choice__choice1 sid-l-space-top-lg\">\n <button\n type=\"button\"\n onClick={useSsn}\n className=\"sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.useSsn\"\n defaultMessage=\"Verify using your social security number\"\n />\n </button>\n </div>\n\n <div className=\"sid-ssn-choice__choice2 sid-l-space-top-md\">\n <button\n type=\"button\"\n onClick={useDocUpload}\n className=\"sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadDoc\"\n defaultMessage=\"Upload a document\"\n />\n </button>\n </div>\n </div>\n <div className=\"sid-ssn-choice__footer sid-l-space-top-lg\">\n <FormFooter verificationService={verificationService} />\n </div>\n </div>\n);\n\nexport const SsnChoice = Step;\n","import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum, FieldIdEnum } from \"../../lib/types/runtimeTypes\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport { type VerificationService, type SocialSecurityViewModel } from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nimport { SsnChoice } from \"./SsnChoice\";\n\ninterface StepSocialSecurityNumberProps {\n verificationService: VerificationService;\n}\n\nconst Step = ({ verificationService }: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(Step);\n"],"mappings":";;;;;;;;;;4CA2DA,KAhDA,EAAA,WAAA,iBAAA,6BAAA,iBAAA,GAAA,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F;QACF;QACA,WAAW,CAAC,CAAC,EAAsB,EAAY;QAC/C,aAAY;OACb,CAAA;MACE,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;OACE,IAAG;OACH,eACE,EACE,GACA,GACA,EAAsB,2BACxB;OAEF,MAAK;OACL,WAAW,gFACT,IAAgB,KAAK;OAEvB,cAAW;OACX,MAAM,MAAW,EAAO,gBAAgB,CAAM;iBAE9C,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAU,gBAAe;OAAW,CAAA;MACvD,CAAA;KACL,CAAA;IACF,CAAA;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;KACL,UAAU;KACV,SAAS;KACT,SAAS;eAET,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF,CAAA;GACF;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAGuD"}
|
|
@@ -4,29 +4,28 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as k } from "./CollegeNameComponent-DXmseJtL.js";
|
|
12
|
+
import { Mt as e, Ut as t, p as n, s as r } from "./intl-Yr2cw5px.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-D_-z-h6n.js";
|
|
14
|
+
import { D as c } from "./FormFooterComponent-D9_fIqUs.js";
|
|
15
|
+
import { $ as l, B as u, G as d, et as f, n as p, t as m } from "../_mysheerid-preview.js";
|
|
16
|
+
import { a as h, i as g, n as _, o as v, s as y, t as b } from "./CaptchaComponent-DaH202Ah.js";
|
|
17
|
+
import { t as x } from "./FormFieldText-zuTjfmLt.js";
|
|
18
|
+
import { n as S, t as C } from "./PersonalInfoStepSubmitButton-D3lzSm2E.js";
|
|
19
|
+
import { t as w } from "./BirthDateComponent-Dh5xAxOF.js";
|
|
20
|
+
import { t as T } from "./CountryComponentWrapper-zWLRBrRp.js";
|
|
21
|
+
import { t as E } from "./ExtraMessage-9BMK2Fd_.js";
|
|
22
|
+
import { t as D } from "./ChangeLocaleComponent-DdX2nV2D.js";
|
|
23
|
+
import { t as O } from "./PersonalInfoStepWrapper-DgL_kGk3.js";
|
|
24
|
+
import { t as k } from "./CollegeNameComponent-D_dKLkKY.js";
|
|
26
25
|
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
27
|
-
var A = /* @__PURE__ */
|
|
28
|
-
let c =
|
|
29
|
-
return
|
|
26
|
+
var A = /* @__PURE__ */ t(a(), 1), j = s(), M = i(({ value: e, isErrored: t, onChange: n, intl: r, explanation: i, placeholder: a = "", isRequired: s = !1 }) => {
|
|
27
|
+
let c = m("include-cvec-field-france-student");
|
|
28
|
+
return u("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, j.jsx)(x, {
|
|
30
29
|
fieldId: "cvecNumber",
|
|
31
30
|
value: e,
|
|
32
31
|
onChange: n,
|
|
@@ -52,48 +51,48 @@ var A = /* @__PURE__ */ e(a(), 1), j = s(), M = i(({ value: e, isErrored: t, onC
|
|
|
52
51
|
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
53
52
|
}))
|
|
54
53
|
});
|
|
55
|
-
}), N = ({ verificationService:
|
|
56
|
-
let i =
|
|
54
|
+
}), N = ({ verificationService: t }) => {
|
|
55
|
+
let i = t.viewModel, { fieldValidationErrors: a } = t, s = t.verificationResponse, x = r(), N = m("include-cvec-field-france-student"), P = N !== "control" && N !== "default" && i?.countryChoice?.value === "FR";
|
|
57
56
|
A.useEffect(() => {
|
|
58
|
-
let
|
|
59
|
-
P ? I("fieldsToSkipValidation",
|
|
57
|
+
let e = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber");
|
|
58
|
+
P ? I("fieldsToSkipValidation", e) : I("fieldsToSkipValidation", [...e, "cvecNumber"]);
|
|
60
59
|
}, [P]);
|
|
61
|
-
let F = c(s), I = (
|
|
62
|
-
let a = n(i, (
|
|
63
|
-
e
|
|
60
|
+
let F = c(s), I = (e, r) => {
|
|
61
|
+
let a = n(i, (t) => {
|
|
62
|
+
t[e] = r;
|
|
64
63
|
});
|
|
65
|
-
|
|
64
|
+
t.updateViewModel(a);
|
|
66
65
|
}, L = i.localeChoice.value;
|
|
67
66
|
return /* @__PURE__ */ (0, j.jsxs)(O, {
|
|
68
|
-
verificationService:
|
|
67
|
+
verificationService: t,
|
|
69
68
|
step: s.currentStep,
|
|
70
69
|
children: [
|
|
71
70
|
/* @__PURE__ */ (0, j.jsx)(p, {
|
|
72
|
-
verificationService:
|
|
71
|
+
verificationService: t,
|
|
73
72
|
classNameIdentifier: "student-personal-info"
|
|
74
73
|
}),
|
|
75
|
-
/* @__PURE__ */ (0, j.jsx)(D, { verificationService:
|
|
74
|
+
/* @__PURE__ */ (0, j.jsx)(D, { verificationService: t }),
|
|
76
75
|
/* @__PURE__ */ (0, j.jsx)(T, {
|
|
77
|
-
verificationService:
|
|
78
|
-
disabled:
|
|
76
|
+
verificationService: t,
|
|
77
|
+
disabled: u("country")?.disabled
|
|
79
78
|
}),
|
|
80
79
|
/* @__PURE__ */ (0, j.jsx)(k, {
|
|
81
|
-
value:
|
|
82
|
-
verificationService:
|
|
80
|
+
value: t.viewModel.organization,
|
|
81
|
+
verificationService: t,
|
|
83
82
|
isErrored: !!a.organization,
|
|
84
83
|
isRequired: !0,
|
|
85
|
-
disabled:
|
|
86
|
-
onChange: (
|
|
87
|
-
|
|
84
|
+
disabled: u("organization")?.disabled,
|
|
85
|
+
onChange: (e) => {
|
|
86
|
+
f(e, t), l("organization", e, t);
|
|
88
87
|
}
|
|
89
88
|
}),
|
|
90
89
|
P && /* @__PURE__ */ (0, j.jsx)(M, {
|
|
91
|
-
isRequired:
|
|
90
|
+
isRequired: u("cvecNumber")?.requireIfOptional,
|
|
92
91
|
value: i.cvecNumber,
|
|
93
92
|
isErrored: !!a.cvecNumber,
|
|
94
|
-
disabled:
|
|
95
|
-
onChange: (
|
|
96
|
-
I("cvecNumber",
|
|
93
|
+
disabled: u("cvecNumber")?.disabled,
|
|
94
|
+
onChange: (e) => {
|
|
95
|
+
I("cvecNumber", e), l("cvecNumber", e, t);
|
|
97
96
|
}
|
|
98
97
|
}),
|
|
99
98
|
/* @__PURE__ */ (0, j.jsxs)("div", {
|
|
@@ -101,16 +100,16 @@ var A = /* @__PURE__ */ e(a(), 1), j = s(), M = i(({ value: e, isErrored: t, onC
|
|
|
101
100
|
children: [/* @__PURE__ */ (0, j.jsx)(h, {
|
|
102
101
|
value: i.firstName,
|
|
103
102
|
isErrored: !!a.firstName,
|
|
104
|
-
disabled:
|
|
105
|
-
onChange: (
|
|
106
|
-
I("firstName",
|
|
103
|
+
disabled: u("firstName")?.disabled,
|
|
104
|
+
onChange: (e) => {
|
|
105
|
+
I("firstName", e), l("firstName", e, t);
|
|
107
106
|
}
|
|
108
107
|
}), /* @__PURE__ */ (0, j.jsx)(g, {
|
|
109
108
|
value: i.lastName,
|
|
110
109
|
isErrored: !!a.lastName,
|
|
111
|
-
disabled:
|
|
112
|
-
onChange: (
|
|
113
|
-
I("lastName",
|
|
110
|
+
disabled: u("lastName")?.disabled,
|
|
111
|
+
onChange: (e) => {
|
|
112
|
+
I("lastName", e), l("lastName", e, t);
|
|
114
113
|
}
|
|
115
114
|
})]
|
|
116
115
|
}),
|
|
@@ -119,9 +118,9 @@ var A = /* @__PURE__ */ e(a(), 1), j = s(), M = i(({ value: e, isErrored: t, onC
|
|
|
119
118
|
errorId: a.birthDate,
|
|
120
119
|
locale: L,
|
|
121
120
|
isRequired: !0,
|
|
122
|
-
disabled:
|
|
123
|
-
onChange: (
|
|
124
|
-
I("birthDate",
|
|
121
|
+
disabled: u("birthDate")?.disabled,
|
|
122
|
+
onChange: (e) => {
|
|
123
|
+
I("birthDate", e), l("birthDate", e, t);
|
|
125
124
|
}
|
|
126
125
|
}),
|
|
127
126
|
/* @__PURE__ */ (0, j.jsx)(S, {
|
|
@@ -131,50 +130,50 @@ var A = /* @__PURE__ */ e(a(), 1), j = s(), M = i(({ value: e, isErrored: t, onC
|
|
|
131
130
|
id: "emailExplanation",
|
|
132
131
|
defaultMessage: "Personal or school email is fine"
|
|
133
132
|
}),
|
|
134
|
-
onChange: (
|
|
135
|
-
I("email",
|
|
133
|
+
onChange: (e) => {
|
|
134
|
+
I("email", e), l("email", e, t);
|
|
136
135
|
},
|
|
137
|
-
onKeyDown: (e) =>
|
|
138
|
-
disabled:
|
|
136
|
+
onKeyDown: (e) => d(e),
|
|
137
|
+
disabled: u("email")?.disabled
|
|
139
138
|
}),
|
|
140
|
-
|
|
141
|
-
isRequired: !!
|
|
139
|
+
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, j.jsx)(v, {
|
|
140
|
+
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
142
141
|
value: i.phoneNumber,
|
|
143
142
|
isErrored: !!a.phoneNumber,
|
|
144
|
-
disabled:
|
|
145
|
-
onChange: (
|
|
146
|
-
I("phoneNumber",
|
|
143
|
+
disabled: u("phoneNumber")?.disabled,
|
|
144
|
+
onChange: (e) => {
|
|
145
|
+
I("phoneNumber", e), l("phoneNumber", e, t);
|
|
147
146
|
},
|
|
148
147
|
selectedCountryCode: i.countryChoice && i.countryChoice.value
|
|
149
148
|
}) : null,
|
|
150
|
-
(x.customFormFields || []).map((
|
|
151
|
-
config:
|
|
152
|
-
verificationService:
|
|
149
|
+
(x.customFormFields || []).map((e) => /* @__PURE__ */ (0, j.jsx)(_, {
|
|
150
|
+
config: e,
|
|
151
|
+
verificationService: t
|
|
153
152
|
})),
|
|
154
153
|
" ",
|
|
155
154
|
/* @__PURE__ */ (0, j.jsx)(y, {
|
|
156
|
-
verificationService:
|
|
155
|
+
verificationService: t,
|
|
157
156
|
isErrored: !!a.marketConsentValue,
|
|
158
|
-
disabled:
|
|
159
|
-
onChange: (
|
|
157
|
+
disabled: u("marketConsentValue")?.disabled,
|
|
158
|
+
onChange: (e) => {
|
|
160
159
|
I("metadata", {
|
|
161
|
-
...
|
|
162
|
-
marketConsentValue:
|
|
163
|
-
}),
|
|
160
|
+
...t.viewModel.metadata,
|
|
161
|
+
marketConsentValue: e
|
|
162
|
+
}), l("marketConsentValue", e, t);
|
|
164
163
|
},
|
|
165
164
|
viewModel: i
|
|
166
165
|
}),
|
|
167
166
|
/* @__PURE__ */ (0, j.jsx)(E, {
|
|
168
|
-
verificationService:
|
|
167
|
+
verificationService: t,
|
|
169
168
|
suffix: "CollectAboveSubmit"
|
|
170
169
|
}),
|
|
171
170
|
/* @__PURE__ */ (0, j.jsx)(b, {
|
|
172
|
-
verificationService:
|
|
171
|
+
verificationService: t,
|
|
173
172
|
isErrored: !!a.captchaToken
|
|
174
173
|
}),
|
|
175
174
|
/* @__PURE__ */ (0, j.jsx)(C, {
|
|
176
|
-
step:
|
|
177
|
-
verificationService:
|
|
175
|
+
step: e.collectStudentPersonalInfo,
|
|
176
|
+
verificationService: t,
|
|
178
177
|
viewModel: i,
|
|
179
178
|
failedInstantMatch: F,
|
|
180
179
|
buttonText: /* @__PURE__ */ (0, j.jsx)(o, {
|
package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js.map → StepStudentPersonalInfo-0LRBqSx5.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-BJlc0JF0.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\",\n );\n if (showCvecInput) {\n updateStudentViewModel(\"fieldsToSkipValidation\", existing);\n } else {\n // Don't validate CVEC number if country is not France\n updateStudentViewModel(\"fieldsToSkipValidation\", [...existing, \"cvecNumber\"]);\n }\n }, [showCvecInput]);\n // #endregion include-cvec-field-france-student\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n draft[key] = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GC4Ja,KAnLoB,EAC/B,6BAC2C;CAC3C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU;CAEtC,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,YACjB;EACA,AAAI,IACF,EAAuB,0BAA0B,CAAQ,IAGzD,EAAuB,0BAA0B,CAAC,GAAG,GAAU,YAAY,CAAC;CAEhF,GAAG,CAAC,CAAa,CAAC;CAGlB,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B,GAAyC,MAAe;EACtF,IAAM,IAA0C,EAC9C,IACC,MAAwC;GACvC,EAAM,KAAO;EACf,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IAAS,EAAU,aAAa;CAEtC,OACE,iBAAA,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;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-0LRBqSx5.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n\n React.useEffect(() => {\n const existing = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\",\n );\n if (showCvecInput) {\n updateStudentViewModel(\"fieldsToSkipValidation\", existing);\n } else {\n // Don't validate CVEC number if country is not France\n updateStudentViewModel(\"fieldsToSkipValidation\", [...existing, \"cvecNumber\"]);\n }\n }, [showCvecInput]);\n // #endregion include-cvec-field-france-student\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n draft[key] = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;\n"],"mappings":";;;;;;;;;;;;;;4CAuEA,IAAA,GA3DA,EAAA,UAAA,cAAA,aAAA,SAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,CACA,GC4Ja,KAnLoB,EAC/B,6BAC2C;CAC3C,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU;CAEtC,EAAM,gBAAgB;EACpB,IAAM,KAAY,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QAC5E,MAAO,MAAO,YACjB;EACA,AAAI,IACF,EAAuB,0BAA0B,CAAQ,IAGzD,EAAuB,0BAA0B,CAAC,GAAG,GAAU,YAAY,CAAC;CAEhF,GAAG,CAAC,CAAa,CAAC;CAGlB,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B,GAAyC,MAAe;EACtF,IAAM,IAA0C,EAC9C,IACC,MAAwC;GACvC,EAAM,KAAO;EACf,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IAAS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