@sheerid/jslib-nightly 2.262.0-alpha.0 → 2.262.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 +1489 -1604
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BIrgOqZP.js → AddressComponent-CL1CDsWz.js} +5 -5
- package/chunk/{AddressComponent-BIrgOqZP.js.map → AddressComponent-CL1CDsWz.js.map} +1 -1
- package/chunk/{AddressComponent-Bz4YL1zB.js → AddressComponent-DJPGVE04.js} +5 -5
- package/chunk/{AddressComponent-Bz4YL1zB.js.map → AddressComponent-DJPGVE04.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DSPYeTwU.js → AnnouncingHeader-DGy7wEme.js} +5 -5
- package/chunk/{AnnouncingHeader-DDT5xAyL.js.map → AnnouncingHeader-DGy7wEme.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DDT5xAyL.js → AnnouncingHeader-lotcA5d8.js} +5 -5
- package/chunk/{AnnouncingHeader-DSPYeTwU.js.map → AnnouncingHeader-lotcA5d8.js.map} +1 -1
- package/chunk/{ApiUrls-B4ByDP6J.js → ApiUrls-2nyQYW2W.js} +12 -12
- package/chunk/{ApiUrls-B4ByDP6J.js.map → ApiUrls-2nyQYW2W.js.map} +1 -1
- package/chunk/{ApiUrls-BK_KGyck.js → ApiUrls-COuA4yL_.js} +5 -5
- package/chunk/{ApiUrls-BK_KGyck.js.map → ApiUrls-COuA4yL_.js.map} +1 -1
- package/chunk/{BirthDateComponent-D1JJgBl2.js → BirthDateComponent-DFxS4kMS.js} +6 -6
- package/chunk/{BirthDateComponent-D1JJgBl2.js.map → BirthDateComponent-DFxS4kMS.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dl3W3nIx.js → BirthDateComponent-HZvQy3lM.js} +6 -6
- package/chunk/{BirthDateComponent-Dl3W3nIx.js.map → BirthDateComponent-HZvQy3lM.js.map} +1 -1
- package/chunk/{CaptchaComponent-BTUP8GAT.js → CaptchaComponent-BS8mnq81.js} +150 -150
- package/chunk/{CaptchaComponent-BTUP8GAT.js.map → CaptchaComponent-BS8mnq81.js.map} +1 -1
- package/chunk/{CaptchaComponent-DiFfWhVe.js → CaptchaComponent-CKg700hI.js} +150 -150
- package/chunk/{CaptchaComponent-DiFfWhVe.js.map → CaptchaComponent-CKg700hI.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BaZ5GFUi.js → ChangeLocaleComponent-CRbVlTD8.js} +6 -6
- package/chunk/{ChangeLocaleComponent-BWWd7KAP.js.map → ChangeLocaleComponent-CRbVlTD8.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BWWd7KAP.js → ChangeLocaleComponent-DYOoquLn.js} +6 -6
- package/chunk/{ChangeLocaleComponent-BaZ5GFUi.js.map → ChangeLocaleComponent-DYOoquLn.js.map} +1 -1
- package/chunk/{City-DOi7PTZI.js → City-C7052kY5.js} +5 -5
- package/chunk/{City-CCtrauPi.js.map → City-C7052kY5.js.map} +1 -1
- package/chunk/{City-CCtrauPi.js → City-FRiBMMDp.js} +5 -5
- package/chunk/{City-DOi7PTZI.js.map → City-FRiBMMDp.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CfmsSdHW.js → CollegeNameComponent-DuclBSqH.js} +7 -7
- package/chunk/{CollegeNameComponent-C_WR63dc.js.map → CollegeNameComponent-DuclBSqH.js.map} +1 -1
- package/chunk/{CollegeNameComponent-C_WR63dc.js → CollegeNameComponent-V6porV1g.js} +7 -7
- package/chunk/{CollegeNameComponent-CfmsSdHW.js.map → CollegeNameComponent-V6porV1g.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DyolMvdc.js → CopyToClipboardComponent-DMUuSpCM.js} +5 -5
- package/chunk/{CopyToClipboardComponent-CI5EWk0o.js.map → CopyToClipboardComponent-DMUuSpCM.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-CI5EWk0o.js → CopyToClipboardComponent-DnS2qHDv.js} +5 -5
- package/chunk/{CopyToClipboardComponent-DyolMvdc.js.map → CopyToClipboardComponent-DnS2qHDv.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-B8N-AOdz.js → CountryComponentWrapper-B674Hdv3.js} +23 -23
- package/chunk/{CountryComponentWrapper-B8N-AOdz.js.map → CountryComponentWrapper-B674Hdv3.js.map} +1 -1
- package/chunk/CountryComponentWrapper-DAATNYQK.js +74 -0
- package/chunk/{CountryComponentWrapper-DeOMczUR.js.map → CountryComponentWrapper-DAATNYQK.js.map} +1 -1
- package/chunk/{DischargeDateComponent-a38WjW8U.js → DischargeDateComponent-B057PxFP.js} +15 -15
- package/chunk/{DischargeDateComponent-Bsw6WaP6.js.map → DischargeDateComponent-B057PxFP.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Bsw6WaP6.js → DischargeDateComponent-BKdUiBby.js} +17 -17
- package/chunk/{DischargeDateComponent-a38WjW8U.js.map → DischargeDateComponent-BKdUiBby.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js → DriverLicenseNumberComponent-BpY0Emv_.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-C3627P1m.js.map → DriverLicenseNumberComponent-BpY0Emv_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C3627P1m.js → DriverLicenseNumberComponent-DZtTp8zc.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-lB2n8IBb.js.map → DriverLicenseNumberComponent-DZtTp8zc.js.map} +1 -1
- package/chunk/{EmailLoopPending-CIKALvLm.js → EmailLoopPending-BASx0mdz.js} +17 -17
- package/chunk/{EmailLoopPending-CIKALvLm.js.map → EmailLoopPending-BASx0mdz.js.map} +1 -1
- package/chunk/{EmailLoopPending-BehX14qP.js → EmailLoopPending-o2wTb-n0.js} +21 -21
- package/chunk/{EmailLoopPending-BehX14qP.js.map → EmailLoopPending-o2wTb-n0.js.map} +1 -1
- package/chunk/{ExtraMessage-CEUNDVpi.js → ExtraMessage-CXv8VIOx.js} +6 -6
- package/chunk/{ExtraMessage-BCJi-s7l.js.map → ExtraMessage-CXv8VIOx.js.map} +1 -1
- package/chunk/{ExtraMessage-BCJi-s7l.js → ExtraMessage-DdnlgJyb.js} +6 -6
- package/chunk/{ExtraMessage-CEUNDVpi.js.map → ExtraMessage-DdnlgJyb.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BNiiNTt7.js → FirstResponderOrganizationComponent-Bj2mT1eO.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-BNiiNTt7.js.map → FirstResponderOrganizationComponent-Bj2mT1eO.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DKV7GVCW.js → FirstResponderOrganizationComponent-DEI0b75P.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DKV7GVCW.js.map → FirstResponderOrganizationComponent-DEI0b75P.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DGP75-4e.js → FormFieldInputSelect-Bt06no_v.js} +6 -6
- package/chunk/{FormFieldInputSelect-DGP75-4e.js.map → FormFieldInputSelect-Bt06no_v.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-_j71XaLW.js → FormFieldInputSelect-CrSQY-QZ.js} +6 -6
- package/chunk/{FormFieldInputSelect-_j71XaLW.js.map → FormFieldInputSelect-CrSQY-QZ.js.map} +1 -1
- package/chunk/{FormFieldLayout-eXRaMPRB.js → FormFieldLayout-Bmwrqqid.js} +5 -5
- package/chunk/{FormFieldLayout-eXRaMPRB.js.map → FormFieldLayout-Bmwrqqid.js.map} +1 -1
- package/chunk/{FormFieldLayout-C-prs50D.js → FormFieldLayout-BzljWm45.js} +5 -5
- package/chunk/{FormFieldLayout-C-prs50D.js.map → FormFieldLayout-BzljWm45.js.map} +1 -1
- package/chunk/{FormFieldText-C44FpzvF.js → FormFieldText-Cd6qEKyH.js} +6 -6
- package/chunk/{FormFieldText-C44FpzvF.js.map → FormFieldText-Cd6qEKyH.js.map} +1 -1
- package/chunk/{FormFieldText-DKDYD6O1.js → FormFieldText-Dj7CbXHB.js} +6 -6
- package/chunk/{FormFieldText-DKDYD6O1.js.map → FormFieldText-Dj7CbXHB.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-mgaV5E38.js → FormFieldTypeahead-BrI_eILx.js} +135 -135
- package/chunk/{FormFieldTypeahead-mgaV5E38.js.map → FormFieldTypeahead-BrI_eILx.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CdEMh8jK.js → FormFieldTypeahead-CYfD3h7j.js} +46 -46
- package/chunk/{FormFieldTypeahead-CdEMh8jK.js.map → FormFieldTypeahead-CYfD3h7j.js.map} +1 -1
- package/chunk/{FormFooterComponent-Clo562J7.js → FormFooterComponent-CN1rXBqV.js} +2208 -2277
- package/chunk/FormFooterComponent-CN1rXBqV.js.map +1 -0
- package/chunk/{FormFooterComponent-SukO1mHN.js → FormFooterComponent-I2iHTqii.js} +1600 -1681
- package/chunk/FormFooterComponent-I2iHTqii.js.map +1 -0
- package/chunk/{FormSelectChoice-pQ_jID7c.js → FormSelectChoice--GHQeXda.js} +12 -8
- package/chunk/{FormSelectChoice-DZuKjVGz.js.map → FormSelectChoice--GHQeXda.js.map} +1 -1
- package/chunk/{FormSelectChoice-DZuKjVGz.js → FormSelectChoice-C8Of7pw2.js} +8 -12
- package/chunk/{FormSelectChoice-pQ_jID7c.js.map → FormSelectChoice-C8Of7pw2.js.map} +1 -1
- package/chunk/{InputText-CDxD4Fcy.js → InputText-15VS1v4H.js} +6 -6
- package/chunk/{InputText-C12rmr0E.js.map → InputText-15VS1v4H.js.map} +1 -1
- package/chunk/{InputText-C12rmr0E.js → InputText-B0p1sWvq.js} +6 -6
- package/chunk/{InputText-CDxD4Fcy.js.map → InputText-B0p1sWvq.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-B3c3IfeM.js → LicensedProfessionalOrganizationComponent-D52Pyuo7.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-B3c3IfeM.js.map → LicensedProfessionalOrganizationComponent-D52Pyuo7.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CP9r0hEA.js → LicensedProfessionalOrganizationComponent-Da-emWlV.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-CP9r0hEA.js.map → LicensedProfessionalOrganizationComponent-Da-emWlV.js.map} +1 -1
- package/chunk/{LogoComponent-Dt2sl-7K.js → LogoComponent-CTCMA59a.js} +5 -5
- package/chunk/{LogoComponent-Dt2sl-7K.js.map → LogoComponent-CTCMA59a.js.map} +1 -1
- package/chunk/{LogoComponent-qYFfdGhk.js → LogoComponent-CXrKiNgF.js} +5 -5
- package/chunk/{LogoComponent-qYFfdGhk.js.map → LogoComponent-CXrKiNgF.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DPu10icr.js → LowIncomeOrganizationComponent-BibedtO2.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-DPu10icr.js.map → LowIncomeOrganizationComponent-BibedtO2.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-m8qqbAz3.js → LowIncomeOrganizationComponent-CqfbfXzK.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-m8qqbAz3.js.map → LowIncomeOrganizationComponent-CqfbfXzK.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CgoQuZA8.js → MedicalProfessionalOrganizationComponent-iTMjr26o.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-CgoQuZA8.js.map → MedicalProfessionalOrganizationComponent-iTMjr26o.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CtYx3bko.js → MedicalProfessionalOrganizationComponent-qHCnGDXt.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-CtYx3bko.js.map → MedicalProfessionalOrganizationComponent-qHCnGDXt.js.map} +1 -1
- package/chunk/{MemberIdComponent-BehRbst0.js → MemberIdComponent-CptMgI3z.js} +5 -5
- package/chunk/{MemberIdComponent-BehRbst0.js.map → MemberIdComponent-CptMgI3z.js.map} +1 -1
- package/chunk/{MemberIdComponent-Bwx5Gc1F.js → MemberIdComponent-D9iQX3c1.js} +5 -5
- package/chunk/{MemberIdComponent-Bwx5Gc1F.js.map → MemberIdComponent-D9iQX3c1.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D00T5bq6.js → MembershipOrganizationComponent-BL_1Gvwf.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-DasXCN5t.js.map → MembershipOrganizationComponent-BL_1Gvwf.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DasXCN5t.js → MembershipOrganizationComponent-DVg0Wmqo.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-D00T5bq6.js.map → MembershipOrganizationComponent-DVg0Wmqo.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js → PersonalInfoStepSubmitButton-BS-lDcpS.js} +18 -18
- package/chunk/{PersonalInfoStepSubmitButton-C9ilhi9-.js.map → PersonalInfoStepSubmitButton-BS-lDcpS.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js → PersonalInfoStepSubmitButton-BjmIuVJ1.js} +15 -15
- package/chunk/{PersonalInfoStepSubmitButton-u4r9ghKQ.js.map → PersonalInfoStepSubmitButton-BjmIuVJ1.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-TGJP5U6C.js → PersonalInfoStepWrapper-DP9_3AGQ.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-TGJP5U6C.js.map → PersonalInfoStepWrapper-DP9_3AGQ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D8eq_Wtt.js → PersonalInfoStepWrapper-GeDOFNRv.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-D8eq_Wtt.js.map → PersonalInfoStepWrapper-GeDOFNRv.js.map} +1 -1
- package/chunk/{PostalCodeComponent-Ds-f1Aso.js → PostalCodeComponent-BLKNma3I.js} +5 -5
- package/chunk/{PostalCodeComponent-BA2FNJ8F.js.map → PostalCodeComponent-BLKNma3I.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BA2FNJ8F.js → PostalCodeComponent-CvmEHXss.js} +5 -5
- package/chunk/{PostalCodeComponent-Ds-f1Aso.js.map → PostalCodeComponent-CvmEHXss.js.map} +1 -1
- package/chunk/{SSN-V4OsBJo-.js → SSN-7ZWvh6Fl.js} +6 -6
- package/chunk/{SSN-DKOJL4kj.js.map → SSN-7ZWvh6Fl.js.map} +1 -1
- package/chunk/{SSN-DKOJL4kj.js → SSN-D4L9dF07.js} +6 -6
- package/chunk/{SSN-V4OsBJo-.js.map → SSN-D4L9dF07.js.map} +1 -1
- package/chunk/{StateSelectComponent-Crtyb0Zu.js → StateSelectComponent-Dh7COOOn.js} +5 -5
- package/chunk/{StateSelectComponent-C5uGSKMw.js.map → StateSelectComponent-Dh7COOOn.js.map} +1 -1
- package/chunk/{StateSelectComponent-C5uGSKMw.js → StateSelectComponent-YN0sVElW.js} +5 -5
- package/chunk/{StateSelectComponent-Crtyb0Zu.js.map → StateSelectComponent-YN0sVElW.js.map} +1 -1
- package/chunk/{StatusComponent-C6yLT_6w.js → StatusComponent-4NsI309s.js} +6 -6
- package/chunk/{StatusComponent-B64U2q3T.js.map → StatusComponent-4NsI309s.js.map} +1 -1
- package/chunk/{StatusComponent-B64U2q3T.js → StatusComponent-DR7rYTcN.js} +6 -6
- package/chunk/{StatusComponent-C6yLT_6w.js.map → StatusComponent-DR7rYTcN.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Zy3dZ3wQ.js → StepActiveMilitaryPersonalInfoComponent-C1c-o9-b.js} +22 -22
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-0gL_mAx0.js.map → StepActiveMilitaryPersonalInfoComponent-C1c-o9-b.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-0gL_mAx0.js → StepActiveMilitaryPersonalInfoComponent-D_wjQ_rO.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-Zy3dZ3wQ.js.map → StepActiveMilitaryPersonalInfoComponent-D_wjQ_rO.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-B_fhJKD6.js → StepAgePersonalInfo-BQbGy0dF.js} +17 -17
- package/chunk/{StepAgePersonalInfo-B_fhJKD6.js.map → StepAgePersonalInfo-BQbGy0dF.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DPNbQWwP.js → StepAgePersonalInfo-D86adXna.js} +17 -17
- package/chunk/{StepAgePersonalInfo-DPNbQWwP.js.map → StepAgePersonalInfo-D86adXna.js.map} +1 -1
- package/chunk/{StepCard-B-nYcoAX.js → StepCard-42EsVjXX.js} +4 -4
- package/chunk/{StepCard-B-nYcoAX.js.map → StepCard-42EsVjXX.js.map} +1 -1
- package/chunk/{StepCard-DXyV0Wj4.js → StepCard-Bp2KEF4j.js} +4 -4
- package/chunk/{StepCard-DXyV0Wj4.js.map → StepCard-Bp2KEF4j.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-S9ylxY5S.js → StepCollectIdentifier-BCqeMDDf.js} +9 -9
- package/chunk/{StepCollectIdentifier-B-9p1C-j.js.map → StepCollectIdentifier-BCqeMDDf.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-B-9p1C-j.js → StepCollectIdentifier-DInLAm3p.js} +7 -7
- package/chunk/{StepCollectIdentifier-S9ylxY5S.js.map → StepCollectIdentifier-DInLAm3p.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-BRrktsOd.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-QAU3rC-7.js → StepCollectMilitaryStatusComponent-BZ82dYt9.js} +4 -4
- package/chunk/{StepCollectPersonalInfo-DmqTN2Po.js → StepCollectPersonalInfo-CdY4UpDc.js} +130 -130
- package/chunk/{StepCollectPersonalInfo-TYr3ZfZt.js.map → StepCollectPersonalInfo-CdY4UpDc.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-TYr3ZfZt.js → StepCollectPersonalInfo-z0mDvmeE.js} +97 -97
- package/chunk/{StepCollectPersonalInfo-DmqTN2Po.js.map → StepCollectPersonalInfo-z0mDvmeE.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js → StepCompleteAuthentication-B5kvuKWH.js} +6 -6
- package/chunk/{StepCompleteAuthentication-Al4mmZZ4.js.map → StepCompleteAuthentication-B5kvuKWH.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js → StepCompleteAuthentication-ZqAH64xm.js} +6 -6
- package/chunk/{StepCompleteAuthentication-zrcJ8B4S.js.map → StepCompleteAuthentication-ZqAH64xm.js.map} +1 -1
- package/chunk/{StepConsolation-DMEtDUwF.js → StepConsolation-C2zijHAP.js} +8 -8
- package/chunk/{StepConsolation-CNCu1p-c.js.map → StepConsolation-C2zijHAP.js.map} +1 -1
- package/chunk/{StepConsolation-CNCu1p-c.js → StepConsolation-DGh2BB0d.js} +8 -8
- package/chunk/{StepConsolation-DMEtDUwF.js.map → StepConsolation-DGh2BB0d.js.map} +1 -1
- package/chunk/{StepDocUpload-MyD36uMA.js → StepDocUpload-3Nm-72Xn.js} +215 -215
- package/chunk/{StepDocUpload-MyD36uMA.js.map → StepDocUpload-3Nm-72Xn.js.map} +1 -1
- package/chunk/{StepDocUpload-DkW2dA7T.js → StepDocUpload-Dd8ubqcl.js} +207 -207
- package/chunk/{StepDocUpload-DkW2dA7T.js.map → StepDocUpload-Dd8ubqcl.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-C0d7h_vU.js → StepDriverLicensePersonalInfoComponent-DnJcQWfb.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-BimlWXi-.js.map → StepDriverLicensePersonalInfoComponent-DnJcQWfb.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BimlWXi-.js → StepDriverLicensePersonalInfoComponent-uxMjgmoP.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-C0d7h_vU.js.map → StepDriverLicensePersonalInfoComponent-uxMjgmoP.js.map} +1 -1
- package/chunk/{StepEmailLoop-D7V1UxL8.js → StepEmailLoop-DL2OP0R8.js} +13 -13
- package/chunk/{StepEmailLoop-BMD9mmRi.js.map → StepEmailLoop-DL2OP0R8.js.map} +1 -1
- package/chunk/{StepEmailLoop-BMD9mmRi.js → StepEmailLoop-DOX_tRZ2.js} +10 -10
- package/chunk/{StepEmailLoop-D7V1UxL8.js.map → StepEmailLoop-DOX_tRZ2.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BirWFiWr.js → StepEmploymentPersonalInfo-DOdLrSuX.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-BirWFiWr.js.map → StepEmploymentPersonalInfo-DOdLrSuX.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DedR7oVc.js → StepEmploymentPersonalInfo-D_alZYyi.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-DedR7oVc.js.map → StepEmploymentPersonalInfo-D_alZYyi.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BjrLQRYq.js → StepFirstResponderPersonalInfo-BWApRM8R.js} +25 -25
- package/chunk/{StepFirstResponderPersonalInfo-BjrLQRYq.js.map → StepFirstResponderPersonalInfo-BWApRM8R.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CB22u23N.js → StepFirstResponderPersonalInfo-B__OS-IL.js} +23 -23
- package/chunk/{StepFirstResponderPersonalInfo-CB22u23N.js.map → StepFirstResponderPersonalInfo-B__OS-IL.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CooUjo5k.js → StepGeneralIdentityPersonalInfoComponent-BhIp-Ho1.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BTilz5ZG.js.map → StepGeneralIdentityPersonalInfoComponent-BhIp-Ho1.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BTilz5ZG.js → StepGeneralIdentityPersonalInfoComponent-qp0H0P4I.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CooUjo5k.js.map → StepGeneralIdentityPersonalInfoComponent-qp0H0P4I.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CNT3ijHo.js → StepHybridIdentityPersonalInfoComponent-CFu3cRhC.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CNT3ijHo.js.map → StepHybridIdentityPersonalInfoComponent-CFu3cRhC.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-fYHPcDLv.js → StepHybridIdentityPersonalInfoComponent-D6WjFNFn.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-fYHPcDLv.js.map → StepHybridIdentityPersonalInfoComponent-D6WjFNFn.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BMBYj20c.js → StepIDCheckLoop-B-ovs04E.js} +7 -7
- package/chunk/{StepIDCheckLoop-BMBYj20c.js.map → StepIDCheckLoop-B-ovs04E.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DUA6P4bQ.js → StepIDCheckLoop-BakK_1Df.js} +7 -7
- package/chunk/{StepIDCheckLoop-DUA6P4bQ.js.map → StepIDCheckLoop-BakK_1Df.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-D9jQ8swA.js → StepIDCheckLoopOnfido-67nx0G7X.js} +36 -36
- package/chunk/{StepIDCheckLoopOnfido-Bo9HlY4S.js.map → StepIDCheckLoopOnfido-67nx0G7X.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Bo9HlY4S.js → StepIDCheckLoopOnfido-CTT_tZfG.js} +37 -37
- package/chunk/{StepIDCheckLoopOnfido-D9jQ8swA.js.map → StepIDCheckLoopOnfido-CTT_tZfG.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DAPHjsoR.js → StepIDCheckLoopRegula-DGg-6jCw.js} +19 -19
- package/chunk/{StepIDCheckLoopRegula-B1-v9x5u.js.map → StepIDCheckLoopRegula-DGg-6jCw.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-B1-v9x5u.js → StepIDCheckLoopRegula-OhBYXZTy.js} +20 -20
- package/chunk/{StepIDCheckLoopRegula-DAPHjsoR.js.map → StepIDCheckLoopRegula-OhBYXZTy.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B6XPP6NJ.js → StepInactiveMilitaryPersonalInfoComponent-C05IqKby.js} +31 -31
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B6XPP6NJ.js.map → StepInactiveMilitaryPersonalInfoComponent-C05IqKby.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BohJ927P.js → StepInactiveMilitaryPersonalInfoComponent-DoO9LFCM.js} +34 -34
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BohJ927P.js.map → StepInactiveMilitaryPersonalInfoComponent-DoO9LFCM.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSR6uyGW.js → StepLicensedProfessionalPersonalInfo-D88TnIAC.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-BSR6uyGW.js.map → StepLicensedProfessionalPersonalInfo-D88TnIAC.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DBaICckY.js → StepLicensedProfessionalPersonalInfo-DC2C_iMj.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-DBaICckY.js.map → StepLicensedProfessionalPersonalInfo-DC2C_iMj.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-7PD6nVhq.js → StepLowIncomePersonalInfo-CVimzkdB.js} +29 -29
- package/chunk/{StepLowIncomePersonalInfo-7PD6nVhq.js.map → StepLowIncomePersonalInfo-CVimzkdB.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-B8_Bdz6J.js → StepLowIncomePersonalInfo-DJZpc1sH.js} +32 -32
- package/chunk/{StepLowIncomePersonalInfo-B8_Bdz6J.js.map → StepLowIncomePersonalInfo-DJZpc1sH.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-rF25m688.js → StepMedicalProfessionalPersonalInfo-BzVvGxHn.js} +24 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-CLlI9lA4.js.map → StepMedicalProfessionalPersonalInfo-BzVvGxHn.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CLlI9lA4.js → StepMedicalProfessionalPersonalInfo-D2aQoOB1.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-rF25m688.js.map → StepMedicalProfessionalPersonalInfo-D2aQoOB1.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BXIRckt_.js → StepMemberPersonalInfo-CAOLW8Mj.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-BXIRckt_.js.map → StepMemberPersonalInfo-CAOLW8Mj.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-GCOuR46b.js → StepMemberPersonalInfo-CutpJaNy.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-GCOuR46b.js.map → StepMemberPersonalInfo-CutpJaNy.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Wg154T-c.js → StepMoverPersonalInfo-BR6890Cu.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-BC_CC0ii.js.map → StepMoverPersonalInfo-BR6890Cu.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BC_CC0ii.js → StepMoverPersonalInfo-xJ-8G5hz.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-Wg154T-c.js.map → StepMoverPersonalInfo-xJ-8G5hz.js.map} +1 -1
- package/chunk/{StepOverrideComponent-zBjMTa3J.js → StepOverrideComponent-BTDn-G5h.js} +14 -14
- package/chunk/{StepOverrideComponent-B7BcXOC-.js.map → StepOverrideComponent-BTDn-G5h.js.map} +1 -1
- package/chunk/{StepOverrideComponent-B7BcXOC-.js → StepOverrideComponent-DaNND3ht.js} +14 -14
- package/chunk/{StepOverrideComponent-zBjMTa3J.js.map → StepOverrideComponent-DaNND3ht.js.map} +1 -1
- package/chunk/{StepSMSLoop-BiOaasl3.js → StepSMSLoop-Dtyxcxwy.js} +15 -15
- package/chunk/{StepSMSLoop-0HaSMjqk.js.map → StepSMSLoop-Dtyxcxwy.js.map} +1 -1
- package/chunk/{StepSMSLoop-0HaSMjqk.js → StepSMSLoop-MJVHiwbr.js} +15 -15
- package/chunk/{StepSMSLoop-BiOaasl3.js.map → StepSMSLoop-MJVHiwbr.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +3 -3
- package/chunk/StepSSO-BaFk7RFJ.js +3 -3
- package/chunk/{StepSocialSecurityNumber-CZ-yVv3v.js → StepSocialSecurityNumber-CbTEm5w9.js} +15 -15
- package/chunk/{StepSocialSecurityNumber-CGBBfuX7.js.map → StepSocialSecurityNumber-CbTEm5w9.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CGBBfuX7.js → StepSocialSecurityNumber-DLZrCzqK.js} +15 -15
- package/chunk/{StepSocialSecurityNumber-CZ-yVv3v.js.map → StepSocialSecurityNumber-DLZrCzqK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DvuDscq7.js → StepStudentPersonalInfo-CkHDekAm.js} +16 -16
- package/chunk/{StepStudentPersonalInfo-CxQWE7Yi.js.map → StepStudentPersonalInfo-CkHDekAm.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CxQWE7Yi.js → StepStudentPersonalInfo-Cw7V1qE6.js} +49 -49
- package/chunk/{StepStudentPersonalInfo-DvuDscq7.js.map → StepStudentPersonalInfo-Cw7V1qE6.js.map} +1 -1
- package/chunk/{StepSuccess-GdSJcQra.js → StepSuccess-BoFfh07U.js} +29 -33
- package/chunk/{StepSuccess-Bf4WVIHj.js.map → StepSuccess-BoFfh07U.js.map} +1 -1
- package/chunk/{StepSuccess-Bf4WVIHj.js → StepSuccess-fKcWXJUp.js} +32 -28
- package/chunk/{StepSuccess-GdSJcQra.js.map → StepSuccess-fKcWXJUp.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-PWOMlZ2Q.js → StepTeacherPersonalInfo-BQWkWrGQ.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-DaOyuvoK.js.map → StepTeacherPersonalInfo-BQWkWrGQ.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DaOyuvoK.js → StepTeacherPersonalInfo-DU5hRzhe.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-PWOMlZ2Q.js.map → StepTeacherPersonalInfo-DU5hRzhe.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
- package/chunk/{TeacherSchoolComponent-CZOQYGHJ.js → TeacherSchoolComponent-CNyDEsoc.js} +7 -7
- package/chunk/{TeacherSchoolComponent-CZOQYGHJ.js.map → TeacherSchoolComponent-CNyDEsoc.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BlPUYAZK.js → TeacherSchoolComponent-DEBaejkK.js} +7 -7
- package/chunk/{TeacherSchoolComponent-BlPUYAZK.js.map → TeacherSchoolComponent-DEBaejkK.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BQzBlUms.js +77 -0
- package/chunk/{TestingRouteOverrides-C6_6elEq.js.map → TestingRouteOverrides-BQzBlUms.js.map} +1 -1
- package/chunk/TestingRouteOverrides-Dw6GXQ6-.js +81 -0
- package/chunk/{TestingRouteOverrides-DHL_cusu.js.map → TestingRouteOverrides-Dw6GXQ6-.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-DkMe8iY0.js → VerificationApiClient-BBXAAhs5.js} +168 -161
- package/chunk/VerificationApiClient-BBXAAhs5.js.map +1 -0
- package/chunk/{VerificationApiClient-6KGDr9vD.js → VerificationApiClient-D2u6cPDh.js} +109 -102
- package/chunk/VerificationApiClient-D2u6cPDh.js.map +1 -0
- package/chunk/{VerificationApiUtils-CoCXhRjv.js → VerificationApiUtils-CjzRr2iV.js} +7 -7
- package/chunk/{VerificationApiUtils-CoCXhRjv.js.map → VerificationApiUtils-CjzRr2iV.js.map} +1 -1
- package/chunk/{VerificationApiUtils-jK7TFY_P.js → VerificationApiUtils-DjTVnAoy.js} +6 -6
- package/chunk/{VerificationApiUtils-jK7TFY_P.js.map → VerificationApiUtils-DjTVnAoy.js.map} +1 -1
- package/chunk/ar-CZrVPqvf.js +3 -3
- package/chunk/bg-Cj9u62RW.js +3 -3
- package/chunk/bn-IN-AX8JdjQ8.js +3 -3
- package/chunk/{countryUtils-CAW7TO02.js → countryUtils-B0gQRrDx.js} +4 -4
- package/chunk/{countryUtils-CAW7TO02.js.map → countryUtils-B0gQRrDx.js.map} +1 -1
- package/chunk/{countryUtils-CV_Lr16_.js → countryUtils-CLqT0spr.js} +4 -4
- package/chunk/{countryUtils-CV_Lr16_.js.map → countryUtils-CLqT0spr.js.map} +1 -1
- package/chunk/cs-5rrzGv7_.js +3 -3
- package/chunk/da-DMDlBT-5.js +3 -3
- package/chunk/de-DG-q-l7o.js +3 -3
- package/chunk/{downshift.esm-BmU5C7C0.js → downshift.esm-B9WBR05h.js} +121 -121
- package/chunk/{downshift.esm-BmU5C7C0.js.map → downshift.esm-B9WBR05h.js.map} +1 -1
- package/chunk/{downshift.esm-Bt__j-Dt.js → downshift.esm-DyXFLawK.js} +42 -42
- package/chunk/{downshift.esm-Bt__j-Dt.js.map → downshift.esm-DyXFLawK.js.map} +1 -1
- package/chunk/el-yctEkMhE.js +3 -3
- package/chunk/{empties-CuuBn0bi.js → empties-DXsucFOV.js} +4 -4
- package/chunk/{empties-CuuBn0bi.js.map → empties-DXsucFOV.js.map} +1 -1
- package/chunk/{empties-NTFzwSRR.js → empties-GdeHHk2b.js} +48 -48
- package/chunk/{empties-NTFzwSRR.js.map → empties-GdeHHk2b.js.map} +1 -1
- package/chunk/en-GB-6LZCsn1D.js +3 -3
- package/chunk/es-BMeF1R04.js +3 -3
- package/chunk/es-ES-CsFb7QAU.js +3 -3
- package/chunk/et-CiZKWMRu.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-D9V3MCMh.js +3 -3
- package/chunk/fi-poKCN0AL.js +3 -3
- package/chunk/fr-BiSjb5hG.js +3 -3
- package/chunk/fr-CA-zBX3D7Nl.js +3 -3
- package/chunk/ga-jC99p6r7.js +3 -3
- package/chunk/hi-IN-C_1AZftT.js +3 -3
- package/chunk/hr-abbR52XG.js +3 -3
- package/chunk/hu-CeZoihsr.js +3 -3
- package/chunk/id-wFLT8G20.js +3 -3
- package/chunk/{intl-CuZpjbF2.js → intl-B461eGlU.js} +400 -408
- package/chunk/intl-B461eGlU.js.map +1 -0
- package/chunk/is-sc_8Dmxx.js +3 -3
- package/chunk/it-Mhw_31wt.js +3 -3
- package/chunk/iw-BfqjzsAq.js +3 -3
- package/chunk/ja-Bdvw5s91.js +3 -3
- package/chunk/{jsx-runtime-B29HBOo1.js → jsx-runtime-CeRrwqti.js} +4 -4
- package/chunk/{jsx-runtime-B29HBOo1.js.map → jsx-runtime-CeRrwqti.js.map} +1 -1
- package/chunk/{jsx-runtime-Br-ldzo0.js → jsx-runtime-KEs0wOl5.js} +4 -4
- package/chunk/{jsx-runtime-Br-ldzo0.js.map → jsx-runtime-KEs0wOl5.js.map} +1 -1
- package/chunk/kk-mHV9A9HS.js +3 -3
- package/chunk/ko-C7nyKdTs.js +3 -3
- package/chunk/lo-baNG1foB.js +3 -3
- package/chunk/lt-CNU2L7fK.js +3 -3
- package/chunk/lv-bP-HuAKS.js +3 -3
- package/chunk/{militaryStepHelpers-COmBnCcw.js → militaryStepHelpers-BeN98TAk.js} +4 -4
- package/chunk/{militaryStepHelpers-BlzQcNHu.js.map → militaryStepHelpers-BeN98TAk.js.map} +1 -1
- package/chunk/{militaryStepHelpers-BlzQcNHu.js → militaryStepHelpers-CT2x_HCE.js} +4 -4
- package/chunk/{militaryStepHelpers-COmBnCcw.js.map → militaryStepHelpers-CT2x_HCE.js.map} +1 -1
- package/chunk/{mocks-CuPTVtpf.js → mocks-3VPL7XDa.js} +8 -8
- package/chunk/{mocks-BlLp3eOz.js.map → mocks-3VPL7XDa.js.map} +1 -1
- package/chunk/{mocks-BlLp3eOz.js → mocks-CmzyO_3E.js} +8 -8
- package/chunk/{mocks-CuPTVtpf.js.map → mocks-CmzyO_3E.js.map} +1 -1
- package/chunk/ms-Bg8aDCAA.js +3 -3
- package/chunk/nl-BE-Ct8zP0W1.js +3 -3
- package/chunk/nl-CbfjSfKQ.js +3 -3
- package/chunk/no-DjDW2Ec_.js +3 -3
- package/chunk/{options-BqxY1ri6.js → options-PkP3zQGm.js} +385 -393
- package/chunk/{options-BqxY1ri6.js.map → options-PkP3zQGm.js.map} +1 -1
- package/chunk/pl--DnD-6qz.js +3 -3
- package/chunk/{programThemeGetters-BKJAvlOG.js → programThemeGetters-DSFEiKNU.js} +55 -55
- package/chunk/{programThemeGetters-f9o96pYi.js.map → programThemeGetters-DSFEiKNU.js.map} +1 -1
- package/chunk/{programThemeGetters-f9o96pYi.js → programThemeGetters-LYR56E0U.js} +17 -17
- package/chunk/{programThemeGetters-BKJAvlOG.js.map → programThemeGetters-LYR56E0U.js.map} +1 -1
- package/chunk/pt-BR-B02CJDXT.js +3 -3
- package/chunk/pt-CcmRJnZb.js +3 -3
- package/chunk/{refs-CWwQlqJe.js → refs-V7YziA0C.js} +4 -4
- package/chunk/{refs-B-c--SWS.js.map → refs-V7YziA0C.js.map} +1 -1
- package/chunk/{refs-B-c--SWS.js → refs-xcOEsQO3.js} +4 -4
- package/chunk/{refs-CWwQlqJe.js.map → refs-xcOEsQO3.js.map} +1 -1
- package/chunk/ro-CLdi0jqR.js +3 -3
- package/chunk/ru-Z91NV1Cr.js +3 -3
- package/chunk/sk-B7rRmmv6.js +3 -3
- package/chunk/sl-DhAq6T_a.js +3 -3
- package/chunk/sr-DpP50d7v.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-QG7LEZNd.js +3 -3
- package/chunk/sw--WAxwRTW.js +3 -3
- package/chunk/ta-DRF7u30N.js +3 -3
- package/chunk/th-BoK35Z2N.js +3 -3
- package/chunk/tl-BDTwfyaC.js +3 -3
- package/chunk/tr-BoXGTv5p.js +3 -3
- package/chunk/uk-AXN3c9FX.js +3 -3
- package/chunk/ur-D5Nqe4mS.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-CjjqitMW.js → useCollectFieldsEndpoint-CbVPn7oB.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-CfzinFgL.js.map → useCollectFieldsEndpoint-CbVPn7oB.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-CfzinFgL.js → useCollectFieldsEndpoint-kTVN-LyD.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-CjjqitMW.js.map → useCollectFieldsEndpoint-kTVN-LyD.js.map} +1 -1
- package/chunk/{useMetrics-B3zSqEvx.js → useMetrics-C13BbDWa.js} +10 -6
- package/chunk/{useMetrics-yFN3h5mC.js.map → useMetrics-C13BbDWa.js.map} +1 -1
- package/chunk/{useMetrics-yFN3h5mC.js → useMetrics-ntewhX51.js} +6 -10
- package/chunk/{useMetrics-B3zSqEvx.js.map → useMetrics-ntewhX51.js.map} +1 -1
- package/chunk/{validators-DtqLbhHK.js → validators-BIcHHTv2.js} +287 -287
- package/chunk/{validators-DqymSzki.js.map → validators-BIcHHTv2.js.map} +1 -1
- package/chunk/{validators-DqymSzki.js → validators-CWveyjFm.js} +85 -85
- package/chunk/{validators-DtqLbhHK.js.map → validators-CWveyjFm.js.map} +1 -1
- package/chunk/vi-BE4aMeLo.js +3 -3
- package/chunk/zh-CUzsIz8M.js +3 -3
- package/chunk/zh-HK-BTCqwQOw.js +3 -3
- package/chunk/zu-ChHTiO3Y.js +3 -3
- package/package.json +2 -3
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +3 -3
- package/sheerid.css +3 -3
- package/sheerid.js +1841 -1866
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-DeOMczUR.js +0 -74
- package/chunk/FormFooterComponent-Clo562J7.js.map +0 -1
- package/chunk/FormFooterComponent-SukO1mHN.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-BL0juR4i.js +0 -9
- package/chunk/TestingRouteOverrides-C6_6elEq.js +0 -77
- package/chunk/TestingRouteOverrides-DHL_cusu.js +0 -81
- package/chunk/VerificationApiClient-6KGDr9vD.js.map +0 -1
- package/chunk/VerificationApiClient-DkMe8iY0.js.map +0 -1
- package/chunk/intl-CuZpjbF2.js.map +0 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.262.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
3
|
+
* VERSION: 2.262.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1785442381985
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:01 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a, c as o, n as s, t as c } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
11
|
-
import { a as u } from "./refs-
|
|
8
|
+
import { It as e, Vt as t, c as n, n as r, wt as i } from "./options-PkP3zQGm.js";
|
|
9
|
+
import { a, c as o, n as s, t as c } from "./jsx-runtime-CeRrwqti.js";
|
|
10
|
+
import { x as l } from "./FormFooterComponent-CN1rXBqV.js";
|
|
11
|
+
import { a as u } from "./refs-V7YziA0C.js";
|
|
12
12
|
import { G as d, I as f, K as p, V as m, et as h, r as g, tt as _ } from "../sheerid.js";
|
|
13
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
14
|
-
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-
|
|
15
|
-
import { t as E } from "./BirthDateComponent-
|
|
16
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
17
|
-
import { t as O } from "./ExtraMessage-
|
|
18
|
-
import { t as k } from "./ChangeLocaleComponent-
|
|
19
|
-
import { t as A } from "./PersonalInfoStepWrapper-
|
|
20
|
-
import { n as j, r as M, t as N } from "./DischargeDateComponent-
|
|
21
|
-
import { t as P } from "./StatusComponent-
|
|
22
|
-
import { t as F } from "./militaryStepHelpers-
|
|
13
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-BS8mnq81.js";
|
|
14
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-BS-lDcpS.js";
|
|
15
|
+
import { t as E } from "./BirthDateComponent-DFxS4kMS.js";
|
|
16
|
+
import { t as D } from "./CountryComponentWrapper-DAATNYQK.js";
|
|
17
|
+
import { t as O } from "./ExtraMessage-CXv8VIOx.js";
|
|
18
|
+
import { t as k } from "./ChangeLocaleComponent-DYOoquLn.js";
|
|
19
|
+
import { t as A } from "./PersonalInfoStepWrapper-GeDOFNRv.js";
|
|
20
|
+
import { n as j, r as M, t as N } from "./DischargeDateComponent-B057PxFP.js";
|
|
21
|
+
import { t as P } from "./StatusComponent-4NsI309s.js";
|
|
22
|
+
import { t as F } from "./militaryStepHelpers-BeN98TAk.js";
|
|
23
23
|
o();
|
|
24
24
|
var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
25
|
-
let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U =
|
|
25
|
+
let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U = r(), W = (e, t) => {
|
|
26
26
|
o.updateViewModel(F(e, t, o, V));
|
|
27
27
|
};
|
|
28
|
-
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep ===
|
|
29
|
-
let
|
|
30
|
-
|
|
28
|
+
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === e.collectMilitaryStatus) && (() => {
|
|
29
|
+
let r = n(c, () => {});
|
|
30
|
+
t.info("StepMilitaryStatusComponent submitting form"), o.submitStep(e.collectMilitaryStatus, r, o.previousVerificationResponse || o.verificationResponse);
|
|
31
31
|
})(), u(), /* @__PURE__ */ (0, I.jsxs)(A, {
|
|
32
32
|
verificationService: o,
|
|
33
33
|
step: z.currentStep,
|
|
@@ -45,7 +45,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
45
45
|
segmentId: "military",
|
|
46
46
|
value: {
|
|
47
47
|
value: c.status,
|
|
48
|
-
label: d(a, c.status,
|
|
48
|
+
label: d(a, c.status, i)
|
|
49
49
|
},
|
|
50
50
|
isErrored: !!R.status,
|
|
51
51
|
errorId: "invalidMilitaryStatus",
|
|
@@ -162,7 +162,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
162
162
|
isErrored: !!R.captchaToken
|
|
163
163
|
}),
|
|
164
164
|
/* @__PURE__ */ (0, I.jsx)(T, {
|
|
165
|
-
step:
|
|
165
|
+
step: e.collectActiveMilitaryPersonalInfo,
|
|
166
166
|
verificationService: o,
|
|
167
167
|
viewModel: c,
|
|
168
168
|
failedInstantMatch: B,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-Zy3dZ3wQ.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\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 onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA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GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,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;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
1
|
+
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-D_wjQ_rO.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateActiveMilitaryViewModel(\"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 updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\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 onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACu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,iBAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAA8B,eAAe,CAAQ,GACrD,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAA8B,YAAY;MACxC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,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;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
@@ -4,26 +4,26 @@
|
|
|
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.262.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
7
|
+
* VERSION: 2.262.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1785442385900
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:05 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
12
|
+
import { Lt as e, Mt as t, Ut as n, s as r } from "./intl-B461eGlU.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-KEs0wOl5.js";
|
|
14
|
+
import { T as c } from "./FormFooterComponent-I2iHTqii.js";
|
|
15
15
|
import { $ as l, A as u, B as d, G as f, J as p, R as m, n as h } from "../_mysheerid-preview.js";
|
|
16
|
-
import { t as g } from "./useCollectFieldsEndpoint-
|
|
17
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
18
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { t as T } from "./BirthDateComponent-
|
|
20
|
-
import { t as E } from "./PostalCodeComponent-
|
|
21
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
22
|
-
import { t as O } from "./City-
|
|
23
|
-
import { t as k } from "./AddressComponent-
|
|
24
|
-
import { t as A } from "./ExtraMessage-
|
|
25
|
-
import { t as j } from "./ChangeLocaleComponent-
|
|
26
|
-
import { t as M } from "./PersonalInfoStepWrapper-
|
|
16
|
+
import { t as g } from "./useCollectFieldsEndpoint-CbVPn7oB.js";
|
|
17
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-CKg700hI.js";
|
|
18
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-BjmIuVJ1.js";
|
|
19
|
+
import { t as T } from "./BirthDateComponent-HZvQy3lM.js";
|
|
20
|
+
import { t as E } from "./PostalCodeComponent-CvmEHXss.js";
|
|
21
|
+
import { t as D } from "./CountryComponentWrapper-B674Hdv3.js";
|
|
22
|
+
import { t as O } from "./City-FRiBMMDp.js";
|
|
23
|
+
import { t as k } from "./AddressComponent-DJPGVE04.js";
|
|
24
|
+
import { t as A } from "./ExtraMessage-DdnlgJyb.js";
|
|
25
|
+
import { t as j } from "./ChangeLocaleComponent-CRbVlTD8.js";
|
|
26
|
+
import { t as M } from "./PersonalInfoStepWrapper-DP9_3AGQ.js";
|
|
27
27
|
//#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
|
|
28
28
|
var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, intl: i }) => {
|
|
29
29
|
let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = e(() => a.countryChoice.value, m(u(n.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled, B = L !== "US" || n.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAgePersonalInfo-B_fhJKD6.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyC;IAAqB,qBAAoB;GAAO,CAAA;GAEzF,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iB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EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,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,CAE0E"}
|
|
1
|
+
{"version":3,"file":"StepAgePersonalInfo-BQbGy0dF.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAA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AA;GAEJ,CAAA;EACkB;;AAEzB,CAE0E"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.262.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
3
|
+
* VERSION: 2.262.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1785442381985
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:01 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
8
|
+
import { Gt as e, It as t, ct as n, n as r } from "./options-PkP3zQGm.js";
|
|
9
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-CeRrwqti.js";
|
|
10
|
+
import { x as c } from "./FormFooterComponent-CN1rXBqV.js";
|
|
11
11
|
import { K as l, V as u, Y as d, et as f, j as p, r as m, z as h } from "../sheerid.js";
|
|
12
|
-
import { t as g } from "./useCollectFieldsEndpoint-
|
|
13
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
14
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
15
|
-
import { t as T } from "./BirthDateComponent-
|
|
16
|
-
import { t as E } from "./PostalCodeComponent-
|
|
17
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
18
|
-
import { t as O } from "./City-
|
|
19
|
-
import { t as k } from "./AddressComponent-
|
|
20
|
-
import { t as A } from "./ExtraMessage-
|
|
21
|
-
import { t as j } from "./ChangeLocaleComponent-
|
|
22
|
-
import { t as M } from "./PersonalInfoStepWrapper-
|
|
12
|
+
import { t as g } from "./useCollectFieldsEndpoint-kTVN-LyD.js";
|
|
13
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-BS8mnq81.js";
|
|
14
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-BS-lDcpS.js";
|
|
15
|
+
import { t as T } from "./BirthDateComponent-DFxS4kMS.js";
|
|
16
|
+
import { t as E } from "./PostalCodeComponent-BLKNma3I.js";
|
|
17
|
+
import { t as D } from "./CountryComponentWrapper-DAATNYQK.js";
|
|
18
|
+
import { t as O } from "./City-C7052kY5.js";
|
|
19
|
+
import { t as k } from "./AddressComponent-CL1CDsWz.js";
|
|
20
|
+
import { t as A } from "./ExtraMessage-CXv8VIOx.js";
|
|
21
|
+
import { t as j } from "./ChangeLocaleComponent-DYOoquLn.js";
|
|
22
|
+
import { t as M } from "./PersonalInfoStepWrapper-GeDOFNRv.js";
|
|
23
23
|
//#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
|
|
24
24
|
var N = /* @__PURE__ */ e(a(), 1), P = s(), F = i(({ verificationService: e, intl: i }) => {
|
|
25
25
|
let a = e.viewModel, { fieldValidationErrors: s } = e, F = e.verificationResponse, I = c(F), L = n(() => a.countryChoice.value, h(p(e.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled, B = L !== "US" || e.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAgePersonalInfo-DPNbQWwP.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,CAAC,EAAU,OAAO,CAAC,GAGpB,iBAAA,GAAA,EAAA,MAAC,GAAD;EACu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C,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmB,YAAY;MAC7B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,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,CAE0E"}
|
|
1
|
+
{"version":3,"file":"StepAgePersonalInfo-D86adXna.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\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 updateAgeViewModel(\"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 updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAA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AAC,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,CAE0E"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.262.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
3
|
+
* VERSION: 2.262.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1785442381985
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:01 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import { t as e } from "./jsx-runtime-
|
|
8
|
+
import { t as e } from "./jsx-runtime-CeRrwqti.js";
|
|
9
9
|
//#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
|
|
10
10
|
var t = e(), n = ({ icon: e, title: n, subtitle: r = void 0, isHighlighted: i = !1 }) => /* @__PURE__ */ (0, t.jsxs)("div", {
|
|
11
11
|
className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCard-
|
|
1
|
+
{"version":3,"file":"StepCard-42EsVjXX.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
|
|
@@ -4,12 +4,12 @@
|
|
|
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.262.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
7
|
+
* VERSION: 2.262.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1785442385900
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:05 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import { t as e } from "./jsx-runtime-
|
|
12
|
+
import { t as e } from "./jsx-runtime-KEs0wOl5.js";
|
|
13
13
|
//#region src/components/StepIDCheckLoop/StepCard/StepCard.tsx
|
|
14
14
|
var t = e(), n = ({ icon: e, title: n, subtitle: r = void 0, isHighlighted: i = !1 }) => /* @__PURE__ */ (0, t.jsxs)("div", {
|
|
15
15
|
className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCard-
|
|
1
|
+
{"version":3,"file":"StepCard-Bp2KEF4j.js","names":[],"sources":["../../src/components/StepIDCheckLoop/StepCard/StepCard.tsx"],"sourcesContent":["import type React from \"react\";\n\ninterface StepCardComponentProps {\n icon: React.ReactNode;\n title: React.ReactNode;\n subtitle?: React.ReactNode;\n isHighlighted?: boolean;\n}\n\nconst StepCard = ({\n icon,\n title,\n subtitle = undefined,\n isHighlighted = false,\n}: StepCardComponentProps) => (\n <div\n className={`sid-id-check-step-card ${isHighlighted && \"sid-id-check-step-card--highlighted\"}`}\n >\n <div className=\"sid-id-check-step-card__icon\">{icon}</div>\n\n <div className=\"sid-id-check-step-card__description\">\n <div className=\"sid-id-check-step-card__title\">{title}</div>\n {subtitle && (\n <div className=\"sid-id-check-step-card__subtitle sid-l-space-top-sm\">{subtitle}</div>\n )}\n </div>\n </div>\n);\n\nexport const StepCardComponent = StepCard;\n"],"mappings":";;aA6Ba,KApBK,EAChB,SACA,UACA,cAAW,KAAA,GACX,mBAAgB,SAEhB,iBAAA,GAAA,EAAA,MAAC,OAAD;CACE,WAAW,0BAA0B,KAAiB;WADxD,CAGE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YAAgC;CAAU,CAAA,GAEzD,iBAAA,GAAA,EAAA,MAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAiC;EAAW,CAAA,GAC1D,KACC,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAU;aAAuD;EAAc,CAAA,CAEnF;GACF"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.262.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
3
|
+
* VERSION: 2.262.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1785442381985
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:01 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { n, t as r } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
8
|
+
import { It as e, c as t } from "./options-PkP3zQGm.js";
|
|
9
|
+
import { n, t as r } from "./jsx-runtime-CeRrwqti.js";
|
|
10
|
+
import { t as i, x as a } from "./FormFooterComponent-CN1rXBqV.js";
|
|
11
11
|
import { K as o, et as s, r as c } from "../sheerid.js";
|
|
12
|
-
import { n as l, t as u } from "./PersonalInfoStepSubmitButton-
|
|
12
|
+
import { n as l, t as u } from "./PersonalInfoStepSubmitButton-BS-lDcpS.js";
|
|
13
13
|
//#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
|
|
14
14
|
var d = r(), f = ({ verificationService: r }) => {
|
|
15
|
-
let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h =
|
|
15
|
+
let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = a(m), g = (e, n) => {
|
|
16
16
|
let i = t(f, (t) => {
|
|
17
17
|
t[e] = n;
|
|
18
18
|
});
|
|
@@ -51,7 +51,7 @@ var d = r(), f = ({ verificationService: r }) => {
|
|
|
51
51
|
})
|
|
52
52
|
})
|
|
53
53
|
]
|
|
54
|
-
}), /* @__PURE__ */ (0, d.jsx)(
|
|
54
|
+
}), /* @__PURE__ */ (0, d.jsx)(i, { verificationService: r })]
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
57
|
//#endregion
|
package/chunk/{StepCollectIdentifier-B-9p1C-j.js.map → StepCollectIdentifier-BCqeMDDf.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectIdentifier-
|
|
1
|
+
{"version":3,"file":"StepCollectIdentifier-BCqeMDDf.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
|
|
@@ -4,16 +4,16 @@
|
|
|
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.262.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Thu Jul 30 2026
|
|
7
|
+
* VERSION: 2.262.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1785442385900
|
|
9
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:05 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { n, t as r } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
12
|
+
import { Mt as e, p as t } from "./intl-B461eGlU.js";
|
|
13
|
+
import { n, t as r } from "./jsx-runtime-KEs0wOl5.js";
|
|
14
|
+
import { T as i, t as a } from "./FormFooterComponent-I2iHTqii.js";
|
|
15
15
|
import { $ as o, G as s, n as c } from "../_mysheerid-preview.js";
|
|
16
|
-
import { n as l, t as u } from "./PersonalInfoStepSubmitButton-
|
|
16
|
+
import { n as l, t as u } from "./PersonalInfoStepSubmitButton-BjmIuVJ1.js";
|
|
17
17
|
//#region src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx
|
|
18
18
|
var d = r(), f = ({ verificationService: r }) => {
|
|
19
19
|
let f = r.viewModel, { fieldValidationErrors: p } = r, m = r.verificationResponse, h = i(m), g = (e, n) => {
|
package/chunk/{StepCollectIdentifier-S9ylxY5S.js.map → StepCollectIdentifier-DInLAm3p.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectIdentifier-
|
|
1
|
+
{"version":3,"file":"StepCollectIdentifier-DInLAm3p.js","names":[],"sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectIdentifierViewModel,\n type PersonalInfoResponse,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"mappings":";;;;;;aAqFa,KA7DkB,EAAE,6BAAsD;CACrF,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAE/D,KAAoC,GAAuC,MAAe;EAC9F,IAAM,IAAwC,EAC5C,IACC,MAAsC;GACrC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C;CAEA,OACE,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,qBAAoB;IACrB,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,OAAO,EAAU;KACjB,WAAW,CAAC,CAAC,EAAsB;KACnC,aACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;KAEH,WAAW,MAAa;MAEtB,AADA,EAAiC,SAAS,CAAQ,GAClD,EAAqC,SAAS,GAAU,CAAmB;KAC7E;KACA,YAAY,MAAiD,EAAqB,CAAK;IACxF,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* VERSION: 2.262.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1785442381985
|
|
5
|
+
* BUILD_DATE: Thu Jul 30 2026 20:13:01 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 572623f7bc6b5a1e30face657957b5ba18222d0c
|
|
7
|
+
*/
|
|
8
|
+
import { StepActiveMilitaryPersonalInfoComponent as e } from "./StepActiveMilitaryPersonalInfoComponent-D_wjQ_rO.js";
|
|
9
|
+
export { e as default };
|