@sheerid/jslib 2.305.0 → 2.307.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +1053 -1069
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-Cy1Rhow8.js → AddressComponent-C2lC7O7h.js} +8 -8
- package/chunk/{AddressComponent-7Kn9xST8.js.map → AddressComponent-C2lC7O7h.js.map} +1 -1
- package/chunk/{AddressComponent-7Kn9xST8.js → AddressComponent-h8JfcOkn.js} +8 -8
- package/chunk/{AddressComponent-Cy1Rhow8.js.map → AddressComponent-h8JfcOkn.js.map} +1 -1
- package/chunk/{AnnouncingHeader-zH7WLU2-.js → AnnouncingHeader-DKOYC3b9.js} +6 -6
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js.map → AnnouncingHeader-DKOYC3b9.js.map} +1 -1
- package/chunk/{AnnouncingHeader-CnV2m0Ak.js → AnnouncingHeader-gJrk6VDV.js} +6 -6
- package/chunk/{AnnouncingHeader-zH7WLU2-.js.map → AnnouncingHeader-gJrk6VDV.js.map} +1 -1
- package/chunk/{BirthDateComponent-Jlv1ygoa.js → BirthDateComponent-DLA-a79g.js} +8 -8
- package/chunk/{BirthDateComponent-D1M8ATw2.js.map → BirthDateComponent-DLA-a79g.js.map} +1 -1
- package/chunk/{BirthDateComponent-D1M8ATw2.js → BirthDateComponent-PIolYRcO.js} +8 -8
- package/chunk/{BirthDateComponent-Jlv1ygoa.js.map → BirthDateComponent-PIolYRcO.js.map} +1 -1
- package/chunk/{CaptchaComponent-DijVQaDh.js → CaptchaComponent-DNRbjOk0.js} +232 -235
- package/chunk/{CaptchaComponent-DijVQaDh.js.map → CaptchaComponent-DNRbjOk0.js.map} +1 -1
- package/chunk/{CaptchaComponent-Jj13Tw4k.js → CaptchaComponent-DwUevV3t.js} +234 -237
- package/chunk/{CaptchaComponent-Jj13Tw4k.js.map → CaptchaComponent-DwUevV3t.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-B_Ya5hV4.js → ChangeLocaleComponent-BOMhh2b3.js} +9 -9
- package/chunk/{ChangeLocaleComponent-B_Ya5hV4.js.map → ChangeLocaleComponent-BOMhh2b3.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DhcUoMWL.js → ChangeLocaleComponent-D0JepSri.js} +9 -9
- package/chunk/{ChangeLocaleComponent-DhcUoMWL.js.map → ChangeLocaleComponent-D0JepSri.js.map} +1 -1
- package/chunk/{City-iq1DR3HC.js → City-DRLuVsMu.js} +8 -8
- package/chunk/{City-DmwFHxPe.js.map → City-DRLuVsMu.js.map} +1 -1
- package/chunk/{City-DmwFHxPe.js → City-Ufl43AsO.js} +8 -8
- package/chunk/{City-iq1DR3HC.js.map → City-Ufl43AsO.js.map} +1 -1
- package/chunk/CollegeNameComponent-B8jZYiX1.js +43 -0
- package/chunk/CollegeNameComponent-B8jZYiX1.js.map +1 -0
- package/chunk/CollegeNameComponent-Xj0rQB7c.js +39 -0
- package/chunk/CollegeNameComponent-Xj0rQB7c.js.map +1 -0
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js → CopyToClipboardComponent-BorxChs8.js} +9 -9
- package/chunk/{CopyToClipboardComponent-BdrpxpHJ.js.map → CopyToClipboardComponent-BorxChs8.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js → CopyToClipboardComponent-ystjPwTW.js} +9 -9
- package/chunk/{CopyToClipboardComponent-Dm3-3x4b.js.map → CopyToClipboardComponent-ystjPwTW.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-BmNABlLF.js → CountryComponentWrapper-CF5TH0Ww.js} +29 -29
- package/chunk/{CountryComponentWrapper-BmNABlLF.js.map → CountryComponentWrapper-CF5TH0Ww.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CFooYkPK.js → CountryComponentWrapper-CauXt0Zp.js} +12 -12
- package/chunk/{CountryComponentWrapper-CFooYkPK.js.map → CountryComponentWrapper-CauXt0Zp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CKL2mQc6.js → DischargeDateComponent-BURlHu-f.js} +18 -18
- package/chunk/{DischargeDateComponent-CKL2mQc6.js.map → DischargeDateComponent-BURlHu-f.js.map} +1 -1
- package/chunk/{DischargeDateComponent-WBm110Pc.js → DischargeDateComponent-DphDUj7n.js} +17 -17
- package/chunk/{DischargeDateComponent-WBm110Pc.js.map → DischargeDateComponent-DphDUj7n.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C2nVV_gO.js → DriverLicenseNumberComponent-BUe8vef1.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-C2nVV_gO.js.map → DriverLicenseNumberComponent-BUe8vef1.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-bTA5d7cI.js → DriverLicenseNumberComponent-fEmGGbnz.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-bTA5d7cI.js.map → DriverLicenseNumberComponent-fEmGGbnz.js.map} +1 -1
- package/chunk/{EmailLoopPending-ByW9XkIK.js → EmailLoopPending-BN7Op60d.js} +12 -12
- package/chunk/{EmailLoopPending-ByW9XkIK.js.map → EmailLoopPending-BN7Op60d.js.map} +1 -1
- package/chunk/{EmailLoopPending-DTnuWa6p.js → EmailLoopPending-HOmFgKTU.js} +14 -14
- package/chunk/{EmailLoopPending-DTnuWa6p.js.map → EmailLoopPending-HOmFgKTU.js.map} +1 -1
- package/chunk/{ExtraMessage-W3biUb29.js → ExtraMessage-BnNB6oFi.js} +7 -7
- package/chunk/{ExtraMessage-DuuHw84g.js.map → ExtraMessage-BnNB6oFi.js.map} +1 -1
- package/chunk/{ExtraMessage-DuuHw84g.js → ExtraMessage-Pq3Frlg0.js} +7 -7
- package/chunk/{ExtraMessage-W3biUb29.js.map → ExtraMessage-Pq3Frlg0.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DquuqEdB.js → FirstResponderOrganizationComponent-B8Th8Q4m.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-C4caR50S.js.map → FirstResponderOrganizationComponent-B8Th8Q4m.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-C4caR50S.js → FirstResponderOrganizationComponent-C8zsvoAK.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-DquuqEdB.js.map → FirstResponderOrganizationComponent-C8zsvoAK.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-d-hHVoQQ.js → FormFieldInputSelect-BKMQ9gEA.js} +7 -7
- package/chunk/{FormFieldInputSelect-CnGM7mg4.js.map → FormFieldInputSelect-BKMQ9gEA.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CnGM7mg4.js → FormFieldInputSelect-dsQeqe8F.js} +7 -7
- package/chunk/{FormFieldInputSelect-d-hHVoQQ.js.map → FormFieldInputSelect-dsQeqe8F.js.map} +1 -1
- package/chunk/{FormFieldLayout-D1tb5nAu.js → FormFieldLayout-B5_PsKrR.js} +6 -6
- package/chunk/{FormFieldLayout-D1tb5nAu.js.map → FormFieldLayout-B5_PsKrR.js.map} +1 -1
- package/chunk/{FormFieldLayout-Dt_dMiDh.js → FormFieldLayout-CRgEwTkx.js} +6 -6
- package/chunk/{FormFieldLayout-Dt_dMiDh.js.map → FormFieldLayout-CRgEwTkx.js.map} +1 -1
- package/chunk/{FormFieldText-CsFISbyw.js → FormFieldText-BWImUS8U.js} +7 -7
- package/chunk/{FormFieldText-BU2NBm1H.js.map → FormFieldText-BWImUS8U.js.map} +1 -1
- package/chunk/{FormFieldText-BU2NBm1H.js → FormFieldText-D4SW8w-w.js} +7 -7
- package/chunk/{FormFieldText-CsFISbyw.js.map → FormFieldText-D4SW8w-w.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DQe-u8ke.js → FormFieldTypeahead-B0gZVz-_.js} +87 -87
- package/chunk/{FormFieldTypeahead-DQe-u8ke.js.map → FormFieldTypeahead-B0gZVz-_.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-UICnjipa.js → FormFieldTypeahead-MpKtmzcg.js} +85 -85
- package/chunk/{FormFieldTypeahead-UICnjipa.js.map → FormFieldTypeahead-MpKtmzcg.js.map} +1 -1
- package/chunk/{FormFooterComponent-GntU0CK1.js → FormFooterComponent-3UsgRJsz.js} +489 -509
- package/chunk/FormFooterComponent-3UsgRJsz.js.map +1 -0
- package/chunk/{FormFooterComponent-INOCMS5I.js → FormFooterComponent-CxPaPS8m.js} +503 -523
- package/chunk/FormFooterComponent-CxPaPS8m.js.map +1 -0
- package/chunk/{FormSelectChoice-CbCgCvkh.js → FormSelectChoice-D-la3EDO.js} +8 -8
- package/chunk/{FormSelectChoice-CbCgCvkh.js.map → FormSelectChoice-D-la3EDO.js.map} +1 -1
- package/chunk/{FormSelectChoice-lKpoGUFg.js → FormSelectChoice-D9QN8zac.js} +8 -8
- package/chunk/{FormSelectChoice-lKpoGUFg.js.map → FormSelectChoice-D9QN8zac.js.map} +1 -1
- package/chunk/{InputText-DMztCQmi.js → InputText-CS8Q8oNz.js} +6 -6
- package/chunk/{InputText-CuBi-ytU.js.map → InputText-CS8Q8oNz.js.map} +1 -1
- package/chunk/{InputText-CuBi-ytU.js → InputText-D__c437o.js} +6 -6
- package/chunk/{InputText-DMztCQmi.js.map → InputText-D__c437o.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Ca5Q95Dv.js → LicensedProfessionalOrganizationComponent-0YuaW1wl.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-Ca5Q95Dv.js.map → LicensedProfessionalOrganizationComponent-0YuaW1wl.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CzbEn3OT.js → LicensedProfessionalOrganizationComponent-DpFUTGIU.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-CzbEn3OT.js.map → LicensedProfessionalOrganizationComponent-DpFUTGIU.js.map} +1 -1
- package/chunk/{LogoComponent-BBafuteW.js → LogoComponent-BgbR17OV.js} +6 -6
- package/chunk/{LogoComponent-BBafuteW.js.map → LogoComponent-BgbR17OV.js.map} +1 -1
- package/chunk/{LogoComponent-BlvwHGG7.js → LogoComponent-CuBinjv8.js} +6 -6
- package/chunk/{LogoComponent-BlvwHGG7.js.map → LogoComponent-CuBinjv8.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-C5tBx4R1.js → LowIncomeOrganizationComponent-BwJZgutt.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-SXofGZtZ.js.map → LowIncomeOrganizationComponent-BwJZgutt.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-SXofGZtZ.js → LowIncomeOrganizationComponent-Cu8hF9KG.js} +21 -21
- package/chunk/{LowIncomeOrganizationComponent-C5tBx4R1.js.map → LowIncomeOrganizationComponent-Cu8hF9KG.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DhXuwA6G.js → MedicalProfessionalOrganizationComponent-D1nAdwMg.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-DhXuwA6G.js.map → MedicalProfessionalOrganizationComponent-D1nAdwMg.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DDEwJw25.js → MedicalProfessionalOrganizationComponent-qH0R0RdW.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-DDEwJw25.js.map → MedicalProfessionalOrganizationComponent-qH0R0RdW.js.map} +1 -1
- package/chunk/{MemberIdComponent-CYE9NWER.js → MemberIdComponent-B6AVjpgw.js} +8 -8
- package/chunk/{MemberIdComponent-CYE9NWER.js.map → MemberIdComponent-B6AVjpgw.js.map} +1 -1
- package/chunk/{MemberIdComponent-zZA-2Be7.js → MemberIdComponent-zCfHfHqP.js} +8 -8
- package/chunk/{MemberIdComponent-zZA-2Be7.js.map → MemberIdComponent-zCfHfHqP.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BvUIEiHp.js → MembershipOrganizationComponent-BpVuchsF.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-BvUIEiHp.js.map → MembershipOrganizationComponent-BpVuchsF.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Dt6uhM9W.js → MembershipOrganizationComponent-CsmHLMIR.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Dt6uhM9W.js.map → MembershipOrganizationComponent-CsmHLMIR.js.map} +1 -1
- package/chunk/{Message-B01COPOe.js → Message-DiIMSbkQ.js} +7639 -7613
- package/chunk/Message-DiIMSbkQ.js.map +1 -0
- package/chunk/{Message-D2z1-4t7.js → Message-DtxngN6C.js} +7853 -7827
- package/chunk/Message-DtxngN6C.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-BIFTcGKn.js → PersonalInfoStepSubmitButton-C9bX9hn-.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-BIFTcGKn.js.map → PersonalInfoStepSubmitButton-C9bX9hn-.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-BhivUjA7.js → PersonalInfoStepSubmitButton-Ce7x__Wi.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-BhivUjA7.js.map → PersonalInfoStepSubmitButton-Ce7x__Wi.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CmbBT85L.js → PersonalInfoStepWrapper-CBtDM65w.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-CmbBT85L.js.map → PersonalInfoStepWrapper-CBtDM65w.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BhmtlbC3.js → PersonalInfoStepWrapper-TFsKYUeL.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BhmtlbC3.js.map → PersonalInfoStepWrapper-TFsKYUeL.js.map} +1 -1
- package/chunk/{PostalCodeComponent-1D8zJ6Gw.js → PostalCodeComponent-BBs9Bp36.js} +8 -8
- package/chunk/{PostalCodeComponent-1D8zJ6Gw.js.map → PostalCodeComponent-BBs9Bp36.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DCpTuzDt.js → PostalCodeComponent-Dknp_LrI.js} +8 -8
- package/chunk/{PostalCodeComponent-DCpTuzDt.js.map → PostalCodeComponent-Dknp_LrI.js.map} +1 -1
- package/chunk/{SSN-BYa6bN2F.js → SSN-BSxE5Uet.js} +8 -8
- package/chunk/{SSN-BYa6bN2F.js.map → SSN-BSxE5Uet.js.map} +1 -1
- package/chunk/{SSN-Cv-vv86v.js → SSN-gJcpvUFG.js} +8 -8
- package/chunk/{SSN-Cv-vv86v.js.map → SSN-gJcpvUFG.js.map} +1 -1
- package/chunk/{StateSelectComponent-C5SyZrP9.js → StateSelectComponent-BLPGXEhQ.js} +7 -7
- package/chunk/{StateSelectComponent-C5SyZrP9.js.map → StateSelectComponent-BLPGXEhQ.js.map} +1 -1
- package/chunk/{StateSelectComponent-Yrm2gmjt.js → StateSelectComponent-CqzkF1jU.js} +7 -7
- package/chunk/{StateSelectComponent-Yrm2gmjt.js.map → StateSelectComponent-CqzkF1jU.js.map} +1 -1
- package/chunk/StatusComponent-C95cd9HL.js +41 -0
- package/chunk/StatusComponent-C95cd9HL.js.map +1 -0
- package/chunk/StatusComponent-Os3WMfWG.js +45 -0
- package/chunk/StatusComponent-Os3WMfWG.js.map +1 -0
- package/chunk/{StepAgePersonalInfo-B-fHCbQ0.js → StepAgePersonalInfo-D2IGNQbe.js} +58 -58
- package/chunk/{StepAgePersonalInfo-B-fHCbQ0.js.map → StepAgePersonalInfo-D2IGNQbe.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BZ8HQDRa.js → StepAgePersonalInfo-DVP1nW1R.js} +58 -58
- package/chunk/{StepAgePersonalInfo-BZ8HQDRa.js.map → StepAgePersonalInfo-DVP1nW1R.js.map} +1 -1
- package/chunk/{StepCard-DJR-l3sW.js → StepCard-B72CFYHs.js} +5 -5
- package/chunk/{StepCard-DJR-l3sW.js.map → StepCard-B72CFYHs.js.map} +1 -1
- package/chunk/{StepCard-wwTRGIhn.js → StepCard-Bvt7Kykz.js} +5 -5
- package/chunk/{StepCard-wwTRGIhn.js.map → StepCard-Bvt7Kykz.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DduKuXJZ.js → StepCollectIdentifier-Cr-pcekl.js} +9 -9
- package/chunk/{StepCollectIdentifier-DduKuXJZ.js.map → StepCollectIdentifier-Cr-pcekl.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CyCr6Kkf.js → StepCollectIdentifier-DnC9MgdJ.js} +9 -9
- package/chunk/{StepCollectIdentifier-CyCr6Kkf.js.map → StepCollectIdentifier-DnC9MgdJ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYvlaLFf.js → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTzbUlUh.js.map → StepCollectMilitaryPersonalInfoComponent-DJBXqFkS.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CTzbUlUh.js → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js} +24 -24
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DYvlaLFf.js.map → StepCollectMilitaryPersonalInfoComponent-DV1imjVy.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BKe3gp2Y.js → StepCollectPersonalInfo-BW4zdAuJ.js} +121 -121
- package/chunk/{StepCollectPersonalInfo-BKe3gp2Y.js.map → StepCollectPersonalInfo-BW4zdAuJ.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DMhjFyhS.js → StepCollectPersonalInfo-Dp0QqT2l.js} +122 -122
- package/chunk/{StepCollectPersonalInfo-DMhjFyhS.js.map → StepCollectPersonalInfo-Dp0QqT2l.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cj1zd9Fz.js → StepCompleteAuthentication-BrdV0iN-.js} +9 -9
- package/chunk/{StepCompleteAuthentication-76dd_HoE.js.map → StepCompleteAuthentication-BrdV0iN-.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-76dd_HoE.js → StepCompleteAuthentication-DLwlKmBO.js} +20 -20
- package/chunk/{StepCompleteAuthentication-Cj1zd9Fz.js.map → StepCompleteAuthentication-DLwlKmBO.js.map} +1 -1
- package/chunk/{StepConsolation-BMIhHrZ_.js → StepConsolation-BjfCC2wN.js} +8 -8
- package/chunk/{StepConsolation-D4U5Lz4s.js.map → StepConsolation-BjfCC2wN.js.map} +1 -1
- package/chunk/{StepConsolation-D4U5Lz4s.js → StepConsolation-CGZzbc4p.js} +8 -8
- package/chunk/{StepConsolation-BMIhHrZ_.js.map → StepConsolation-CGZzbc4p.js.map} +1 -1
- package/chunk/{StepDocUpload-ATFJ1VNK.js → StepDocUpload--r9rabBA.js} +23 -23
- package/chunk/{StepDocUpload-ATFJ1VNK.js.map → StepDocUpload--r9rabBA.js.map} +1 -1
- package/chunk/{StepDocUpload-BPWmYRcH.js → StepDocUpload-LtmtqAaG.js} +30 -30
- package/chunk/{StepDocUpload-BPWmYRcH.js.map → StepDocUpload-LtmtqAaG.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-B6BPGM9y.js → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-B6BPGM9y.js.map → StepDriverLicensePersonalInfoComponent-TZmQSwrX.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CLv-0SEo.js → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-CLv-0SEo.js.map → StepDriverLicensePersonalInfoComponent-jrvtL5WY.js.map} +1 -1
- package/chunk/{StepEmailLoop-UdxzIxg_.js → StepEmailLoop-BOMgU-LY.js} +13 -13
- package/chunk/{StepEmailLoop-D7TmjcYy.js.map → StepEmailLoop-BOMgU-LY.js.map} +1 -1
- package/chunk/{StepEmailLoop-D7TmjcYy.js → StepEmailLoop-KgVxTrKD.js} +13 -13
- package/chunk/{StepEmailLoop-UdxzIxg_.js.map → StepEmailLoop-KgVxTrKD.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DppM-dRp.js → StepEmploymentPersonalInfo-CsCSbWGn.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-DppM-dRp.js.map → StepEmploymentPersonalInfo-CsCSbWGn.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-eF2ZaDPS.js → StepEmploymentPersonalInfo-DCgjGcV1.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-eF2ZaDPS.js.map → StepEmploymentPersonalInfo-DCgjGcV1.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BQtlqbwc.js → StepFirstResponderPersonalInfo-BNichcOp.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-BQtlqbwc.js.map → StepFirstResponderPersonalInfo-BNichcOp.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CztSfSRA.js → StepFirstResponderPersonalInfo-C0dqZ6v9.js} +22 -22
- package/chunk/{StepFirstResponderPersonalInfo-CztSfSRA.js.map → StepFirstResponderPersonalInfo-C0dqZ6v9.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CKd4Dp6T.js → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CKd4Dp6T.js.map → StepGeneralIdentityPersonalInfoComponent-BFGOloFz.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cdfe4rFN.js → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cdfe4rFN.js.map → StepGeneralIdentityPersonalInfoComponent-BY5f03WX.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-q4VhGaMS.js → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dsa_CKJM.js.map → StepHybridIdentityPersonalInfoComponent-6iihyo4W.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dsa_CKJM.js → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-q4VhGaMS.js.map → StepHybridIdentityPersonalInfoComponent-CUmSF5K7.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-EhL3Le-F.js → StepIDCheckLoop-D8HQBh8L.js} +8 -8
- package/chunk/{StepIDCheckLoop-BWxld16D.js.map → StepIDCheckLoop-D8HQBh8L.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BWxld16D.js → StepIDCheckLoop-DSxFMqVr.js} +8 -8
- package/chunk/{StepIDCheckLoop-EhL3Le-F.js.map → StepIDCheckLoop-DSxFMqVr.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CHKilPtA.js → StepIDCheckLoopOnfido-BTKJ2Blc.js} +28 -28
- package/chunk/{StepIDCheckLoopOnfido-CHKilPtA.js.map → StepIDCheckLoopOnfido-BTKJ2Blc.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Di9NfHJM.js → StepIDCheckLoopOnfido-DMuf0LlO.js} +14 -14
- package/chunk/{StepIDCheckLoopOnfido-Di9NfHJM.js.map → StepIDCheckLoopOnfido-DMuf0LlO.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BYts2Drd.js → StepIDCheckLoopRegula-Ci85xeOu.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-BYts2Drd.js.map → StepIDCheckLoopRegula-Ci85xeOu.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DQUN1TMk.js → StepIDCheckLoopRegula-wLpAcBIL.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-DQUN1TMk.js.map → StepIDCheckLoopRegula-wLpAcBIL.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bk__6Yly.js → StepLicensedProfessionalPersonalInfo-CaME8oV0.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-B9tXN-Gj.js.map → StepLicensedProfessionalPersonalInfo-CaME8oV0.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-B9tXN-Gj.js → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js} +21 -21
- package/chunk/{StepLicensedProfessionalPersonalInfo-Bk__6Yly.js.map → StepLicensedProfessionalPersonalInfo-DcyPpqRP.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C1yGX0tU.js → StepLowIncomePersonalInfo-D2XooNBZ.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-C1yGX0tU.js.map → StepLowIncomePersonalInfo-D2XooNBZ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-UIbxTxQ6.js → StepLowIncomePersonalInfo-D_DnxewS.js} +74 -74
- package/chunk/{StepLowIncomePersonalInfo-UIbxTxQ6.js.map → StepLowIncomePersonalInfo-D_DnxewS.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CKwl0Aoz.js → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-CKwl0Aoz.js.map → StepMedicalProfessionalPersonalInfo-BBTMJxlc.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-PZWUlBsx.js → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js} +22 -22
- package/chunk/{StepMedicalProfessionalPersonalInfo-PZWUlBsx.js.map → StepMedicalProfessionalPersonalInfo-DQvZgNA8.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CHgfdkTw.js → StepMemberPersonalInfo-C163dcFm.js} +57 -57
- package/chunk/{StepMemberPersonalInfo-BF9YI1SU.js.map → StepMemberPersonalInfo-C163dcFm.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BF9YI1SU.js → StepMemberPersonalInfo-DZI9oiLg.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-CHgfdkTw.js.map → StepMemberPersonalInfo-DZI9oiLg.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DBQ7vjuj.js → StepMoverPersonalInfo-DVKj_md6.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-DBQ7vjuj.js.map → StepMoverPersonalInfo-DVKj_md6.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-JN4fzgsz.js → StepMoverPersonalInfo-DkqRxBv_.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-JN4fzgsz.js.map → StepMoverPersonalInfo-DkqRxBv_.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BdKhdxCF.js → StepOverrideComponent-BZ5DPwb7.js} +21 -21
- package/chunk/{StepOverrideComponent-I6jIloHJ.js.map → StepOverrideComponent-BZ5DPwb7.js.map} +1 -1
- package/chunk/{StepOverrideComponent-I6jIloHJ.js → StepOverrideComponent-CFCHGcGm.js} +21 -21
- package/chunk/{StepOverrideComponent-BdKhdxCF.js.map → StepOverrideComponent-CFCHGcGm.js.map} +1 -1
- package/chunk/{StepSMSLoop-DhwsBE2w.js → StepSMSLoop-kUCfwUG3.js} +22 -22
- package/chunk/{StepSMSLoop-BQ-ebg-w.js.map → StepSMSLoop-kUCfwUG3.js.map} +1 -1
- package/chunk/{StepSMSLoop-BQ-ebg-w.js → StepSMSLoop-qDDjiu2X.js} +25 -25
- package/chunk/{StepSMSLoop-DhwsBE2w.js.map → StepSMSLoop-qDDjiu2X.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-ITN1udUd.js → StepSocialSecurityNumber-CzdRBNES.js} +24 -24
- package/chunk/{StepSocialSecurityNumber-BjMAYy4I.js.map → StepSocialSecurityNumber-CzdRBNES.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BjMAYy4I.js → StepSocialSecurityNumber-D-Ryab7q.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-ITN1udUd.js.map → StepSocialSecurityNumber-D-Ryab7q.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-B8EJqu5o.js → StepStudentPersonalInfo-DzBMt8Kd.js} +64 -64
- package/chunk/{StepStudentPersonalInfo-B8EJqu5o.js.map → StepStudentPersonalInfo-DzBMt8Kd.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C6OXBOsJ.js → StepStudentPersonalInfo-z2J7_k9j.js} +22 -22
- package/chunk/{StepStudentPersonalInfo-C6OXBOsJ.js.map → StepStudentPersonalInfo-z2J7_k9j.js.map} +1 -1
- package/chunk/{StepSuccess-D1Hg8KzS.js → StepSuccess-CoQmjeaw.js} +28 -28
- package/chunk/{StepSuccess-D1Hg8KzS.js.map → StepSuccess-CoQmjeaw.js.map} +1 -1
- package/chunk/{StepSuccess-ye_BWJ5v.js → StepSuccess-CwprAx_X.js} +30 -30
- package/chunk/{StepSuccess-ye_BWJ5v.js.map → StepSuccess-CwprAx_X.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-B_nvmggg.js → StepTeacherPersonalInfo-BnREkHc-.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-B_fczbbC.js.map → StepTeacherPersonalInfo-BnREkHc-.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-B_fczbbC.js → StepTeacherPersonalInfo-oxESzOhJ.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-B_nvmggg.js.map → StepTeacherPersonalInfo-oxESzOhJ.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/TeacherSchoolComponent-X4jP0iPe.js +39 -0
- package/chunk/TeacherSchoolComponent-X4jP0iPe.js.map +1 -0
- package/chunk/TeacherSchoolComponent-xlpebqi9.js +43 -0
- package/chunk/TeacherSchoolComponent-xlpebqi9.js.map +1 -0
- package/chunk/{TestingRouteOverrides-CujYUoVO.js → TestingRouteOverrides-CqkLaStu.js} +26 -26
- package/chunk/{TestingRouteOverrides-CUyDPV66.js.map → TestingRouteOverrides-CqkLaStu.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CUyDPV66.js → TestingRouteOverrides-DUx5spVA.js} +24 -24
- package/chunk/{TestingRouteOverrides-CujYUoVO.js.map → TestingRouteOverrides-DUx5spVA.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-DnejTdLp.js → countryUtils-B4JUeycO.js} +5 -5
- package/chunk/{countryUtils-BdYD9O0C.js.map → countryUtils-B4JUeycO.js.map} +1 -1
- package/chunk/countryUtils-DS8Zctdr.js +12 -0
- package/chunk/{countryUtils-DnejTdLp.js.map → countryUtils-DS8Zctdr.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-N5l_mTkN.js → downshift.esm-B1eE_tYZ.js} +7 -7
- package/chunk/{downshift.esm-W4ZpLUFm.js.map → downshift.esm-B1eE_tYZ.js.map} +1 -1
- package/chunk/{downshift.esm-W4ZpLUFm.js → downshift.esm-CWgGV2e-.js} +124 -124
- package/chunk/{downshift.esm-N5l_mTkN.js.map → downshift.esm-CWgGV2e-.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-CgrU7EMF.js → empties-C1INRgC4.js} +51 -57
- package/chunk/{empties-Cv-TCyNM.js.map → empties-C1INRgC4.js.map} +1 -1
- package/chunk/{empties-Cv-TCyNM.js → empties-C38lUQIl.js} +6 -12
- package/chunk/{empties-CgrU7EMF.js.map → empties-C38lUQIl.js.map} +1 -1
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-i_EJH0P5.js → hooks-DFk9wlFh.js} +51 -51
- package/chunk/hooks-DFk9wlFh.js.map +1 -0
- package/chunk/{hooks-HrcXcUYn.js → hooks-Y72jcEAM.js} +47 -47
- package/chunk/hooks-Y72jcEAM.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-DYOqmiaL.js → intl-D5sUivUy.js} +285 -273
- package/chunk/intl-D5sUivUy.js.map +1 -0
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-DQO6A867.js → jsx-runtime-BfITI5pK.js} +19 -19
- package/chunk/{jsx-runtime-DtApx7WX.js.map → jsx-runtime-BfITI5pK.js.map} +1 -1
- package/chunk/{jsx-runtime-DtApx7WX.js → jsx-runtime-CB6nLaN6.js} +19 -19
- package/chunk/{jsx-runtime-DQO6A867.js.map → jsx-runtime-CB6nLaN6.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramConfiguration-YBQMVL51.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js +4 -4
- package/chunk/mockProgramI18n-CgYx_1_a.js.map +1 -1
- package/chunk/{mockProgramTheme-CBqgtg7A.js → mockProgramTheme-CPG4vkJd.js} +4 -8
- package/chunk/mockProgramTheme-CPG4vkJd.js.map +1 -0
- package/chunk/{mocks-Cn2hY_Nm.js → mocks-BJWOJTTC.js} +73 -74
- package/chunk/mocks-BJWOJTTC.js.map +1 -0
- package/chunk/{mocks-Do-_JoZy.js → mocks-BtNIwVeT.js} +73 -74
- package/chunk/mocks-BtNIwVeT.js.map +1 -0
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{options-DsRV5fwh.js → options-BCFIfBTZ.js} +356 -344
- package/chunk/options-BCFIfBTZ.js.map +1 -0
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-BIRDUiTI.js +158 -0
- package/chunk/programThemeGetters-BIRDUiTI.js.map +1 -0
- package/chunk/{programThemeGetters-DtvKCzaA.js → programThemeGetters-CIZ0gRgE.js} +36 -56
- package/chunk/programThemeGetters-CIZ0gRgE.js.map +1 -0
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-DZXh3P6t.js → stepComponentHelpers--E4kvS6y.js} +14 -14
- package/chunk/{stepComponentHelpers-D8vgCSY7.js.map → stepComponentHelpers--E4kvS6y.js.map} +1 -1
- package/chunk/{stepComponentHelpers-D8vgCSY7.js → stepComponentHelpers-CD1Gfspm.js} +34 -34
- package/chunk/{stepComponentHelpers-DZXh3P6t.js.map → stepComponentHelpers-CD1Gfspm.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-C0qk0ahQ.js → useCollectFieldsEndpoint-Bxae2_8a.js} +20 -20
- package/chunk/{useCollectFieldsEndpoint-Cre55nuJ.js.map → useCollectFieldsEndpoint-Bxae2_8a.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Cre55nuJ.js → useCollectFieldsEndpoint-CzTl9kbR.js} +20 -20
- package/chunk/{useCollectFieldsEndpoint-C0qk0ahQ.js.map → useCollectFieldsEndpoint-CzTl9kbR.js.map} +1 -1
- package/chunk/{useMetrics-BZU-S7E4.js → useMetrics-CtsRRjGJ.js} +7 -7
- package/chunk/{useMetrics-BZU-S7E4.js.map → useMetrics-CtsRRjGJ.js.map} +1 -1
- package/chunk/{useMetrics-CKV-Of-2.js → useMetrics-jabV9gsZ.js} +7 -7
- package/chunk/{useMetrics-CKV-Of-2.js.map → useMetrics-jabV9gsZ.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +1337 -1353
- package/sheerid.js.map +1 -1
- package/chunk/CollegeNameComponent-BfM_mY5M.js +0 -46
- package/chunk/CollegeNameComponent-BfM_mY5M.js.map +0 -1
- package/chunk/CollegeNameComponent-CR9Jp91m.js +0 -42
- package/chunk/CollegeNameComponent-CR9Jp91m.js.map +0 -1
- package/chunk/FormFooterComponent-GntU0CK1.js.map +0 -1
- package/chunk/FormFooterComponent-INOCMS5I.js.map +0 -1
- package/chunk/Message-B01COPOe.js.map +0 -1
- package/chunk/Message-D2z1-4t7.js.map +0 -1
- package/chunk/StatusComponent-CBcXQ1RR.js +0 -44
- package/chunk/StatusComponent-CBcXQ1RR.js.map +0 -1
- package/chunk/StatusComponent-DVPyiAZr.js +0 -48
- package/chunk/StatusComponent-DVPyiAZr.js.map +0 -1
- package/chunk/TeacherSchoolComponent-C1IpPIt7.js +0 -46
- package/chunk/TeacherSchoolComponent-C1IpPIt7.js.map +0 -1
- package/chunk/TeacherSchoolComponent-l3FK9Z72.js +0 -42
- package/chunk/TeacherSchoolComponent-l3FK9Z72.js.map +0 -1
- package/chunk/countryUtils-BdYD9O0C.js +0 -12
- package/chunk/hooks-HrcXcUYn.js.map +0 -1
- package/chunk/hooks-i_EJH0P5.js.map +0 -1
- package/chunk/intl-DYOqmiaL.js.map +0 -1
- package/chunk/mockProgramTheme-CBqgtg7A.js.map +0 -1
- package/chunk/mocks-Cn2hY_Nm.js.map +0 -1
- package/chunk/mocks-Do-_JoZy.js.map +0 -1
- package/chunk/options-DsRV5fwh.js.map +0 -1
- package/chunk/programThemeGetters-B8-9nrqc.js +0 -178
- package/chunk/programThemeGetters-B8-9nrqc.js.map +0 -1
- package/chunk/programThemeGetters-DtvKCzaA.js.map +0 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.307.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1792788063846
|
|
5
|
+
* BUILD_DATE: Fri Oct 23 2026 20:41:03 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 9bea609f9e2a9b4cd4a26fb21eea3072f87be58a
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { n as r, s as i, t as a } from "./jsx-runtime-
|
|
10
|
-
import { n as o } from "./Message-
|
|
8
|
+
import { At as e, c as t, n } from "./options-BCFIfBTZ.js";
|
|
9
|
+
import { n as r, s as i, t as a } from "./jsx-runtime-BfITI5pK.js";
|
|
10
|
+
import { n as o } from "./Message-DiIMSbkQ.js";
|
|
11
11
|
import { b as s, p as c } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { h as l } from "./FormFooterComponent-
|
|
13
|
-
import { t as u } from "./hooks-
|
|
12
|
+
import { h as l } from "./FormFooterComponent-CxPaPS8m.js";
|
|
13
|
+
import { t as u } from "./hooks-Y72jcEAM.js";
|
|
14
14
|
import { n as d } from "../sheerid.js";
|
|
15
|
-
import { t as f } from "./useCollectFieldsEndpoint-
|
|
16
|
-
import { d as p, f as m, r as h, t as g } from "./stepComponentHelpers-
|
|
17
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
18
|
-
import { t as C } from "./FormFieldText-
|
|
19
|
-
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-
|
|
20
|
-
import { i as E } from "./FormSelectChoice-
|
|
21
|
-
import { t as D } from "./BirthDateComponent-
|
|
22
|
-
import { t as O } from "./CountryComponentWrapper-
|
|
23
|
-
import { t as k } from "./ExtraMessage-
|
|
24
|
-
import { t as A } from "./ChangeLocaleComponent-
|
|
25
|
-
import { t as j } from "./PersonalInfoStepWrapper-
|
|
26
|
-
import { t as M } from "./CollegeNameComponent-
|
|
27
|
-
import { t as N } from "./StatusComponent-
|
|
15
|
+
import { t as f } from "./useCollectFieldsEndpoint-Bxae2_8a.js";
|
|
16
|
+
import { d as p, f as m, r as h, t as g } from "./stepComponentHelpers-CD1Gfspm.js";
|
|
17
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-DNRbjOk0.js";
|
|
18
|
+
import { t as C } from "./FormFieldText-BWImUS8U.js";
|
|
19
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-Ce7x__Wi.js";
|
|
20
|
+
import { i as E } from "./FormSelectChoice-D9QN8zac.js";
|
|
21
|
+
import { t as D } from "./BirthDateComponent-DLA-a79g.js";
|
|
22
|
+
import { t as O } from "./CountryComponentWrapper-CF5TH0Ww.js";
|
|
23
|
+
import { t as k } from "./ExtraMessage-BnNB6oFi.js";
|
|
24
|
+
import { t as A } from "./ChangeLocaleComponent-D0JepSri.js";
|
|
25
|
+
import { t as j } from "./PersonalInfoStepWrapper-CBtDM65w.js";
|
|
26
|
+
import { t as M } from "./CollegeNameComponent-Xj0rQB7c.js";
|
|
27
|
+
import { t as N } from "./StatusComponent-C95cd9HL.js";
|
|
28
28
|
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
29
|
-
var P = /* @__PURE__ */
|
|
29
|
+
var P = /* @__PURE__ */ e(i(), 1), F = a(), I = ({ value: e, isErrored: t, onChange: n, explanation: i, placeholder: a = "", isRequired: s = !1 }) => {
|
|
30
30
|
let { msg: c } = o(), l = u("include-cvec-field-france-student");
|
|
31
31
|
return g("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, F.jsx)(C, {
|
|
32
32
|
fieldId: "cvecNumber",
|
|
@@ -65,18 +65,18 @@ var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onCha
|
|
|
65
65
|
disabled: a,
|
|
66
66
|
onChange: (t) => n(z(t ? t.value : void 0, e))
|
|
67
67
|
});
|
|
68
|
-
}, H = [], U = ({ verificationService:
|
|
69
|
-
let { msg: i } = o(), a =
|
|
68
|
+
}, H = [], U = ({ verificationService: e }) => {
|
|
69
|
+
let { msg: i } = o(), a = e.viewModel, { fieldValidationErrors: c } = e, C = e.verificationResponse, E = n(), N = u("include-cvec-field-france-student"), B = N !== "control" && N !== "default" && a?.countryChoice?.value === "FR", { availableStatuses: U } = f({
|
|
70
70
|
verificationId: C.verificationId,
|
|
71
71
|
currentStep: C.currentStep,
|
|
72
72
|
viewModel: a,
|
|
73
73
|
dispatchFieldRequirements: !1
|
|
74
74
|
}), W = U ?? C.availableStatuses ?? H, G = L(W);
|
|
75
75
|
P.useEffect(() => {
|
|
76
|
-
let n = (
|
|
76
|
+
let n = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "statuses");
|
|
77
77
|
B || (n = [...n, "cvecNumber"]), G || (n = [...n, "statuses"]);
|
|
78
78
|
let r = G ? z(R(a.statuses), W) : [];
|
|
79
|
-
|
|
79
|
+
e.updateViewModel(t(a, (e) => {
|
|
80
80
|
e.fieldsToSkipValidation = n, e.statuses = r;
|
|
81
81
|
}));
|
|
82
82
|
}, [
|
|
@@ -85,22 +85,22 @@ var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onCha
|
|
|
85
85
|
W
|
|
86
86
|
]);
|
|
87
87
|
let K = l(C), q = (n, r) => {
|
|
88
|
-
let i =
|
|
88
|
+
let i = t(a, (e) => {
|
|
89
89
|
e[n] = r;
|
|
90
90
|
});
|
|
91
|
-
|
|
91
|
+
e.updateViewModel(i);
|
|
92
92
|
}, J = a.localeChoice.value;
|
|
93
93
|
return /* @__PURE__ */ (0, F.jsxs)(j, {
|
|
94
|
-
verificationService:
|
|
94
|
+
verificationService: e,
|
|
95
95
|
step: C.currentStep,
|
|
96
96
|
children: [
|
|
97
97
|
/* @__PURE__ */ (0, F.jsx)(d, {
|
|
98
|
-
verificationService:
|
|
98
|
+
verificationService: e,
|
|
99
99
|
classNameIdentifier: "student-personal-info"
|
|
100
100
|
}),
|
|
101
|
-
/* @__PURE__ */ (0, F.jsx)(A, { verificationService:
|
|
101
|
+
/* @__PURE__ */ (0, F.jsx)(A, { verificationService: e }),
|
|
102
102
|
/* @__PURE__ */ (0, F.jsx)(O, {
|
|
103
|
-
verificationService:
|
|
103
|
+
verificationService: e,
|
|
104
104
|
disabled: g("country")?.disabled
|
|
105
105
|
}),
|
|
106
106
|
G && /* @__PURE__ */ (0, F.jsx)(V, {
|
|
@@ -108,18 +108,18 @@ var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onCha
|
|
|
108
108
|
value: a.statuses ?? [],
|
|
109
109
|
isErrored: !!c.statuses,
|
|
110
110
|
disabled: g("statuses")?.disabled,
|
|
111
|
-
onChange: (
|
|
112
|
-
q("statuses",
|
|
111
|
+
onChange: (t) => {
|
|
112
|
+
q("statuses", t), p("statuses", t[0] ?? "", e);
|
|
113
113
|
}
|
|
114
114
|
}),
|
|
115
115
|
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
116
|
-
value:
|
|
117
|
-
verificationService:
|
|
116
|
+
value: e.viewModel.organization,
|
|
117
|
+
verificationService: e,
|
|
118
118
|
isErrored: !!c.organization,
|
|
119
119
|
isRequired: !0,
|
|
120
120
|
disabled: g("organization")?.disabled,
|
|
121
|
-
onChange: (
|
|
122
|
-
m(
|
|
121
|
+
onChange: (t) => {
|
|
122
|
+
m(t, e), p("organization", t, e);
|
|
123
123
|
}
|
|
124
124
|
}),
|
|
125
125
|
B && /* @__PURE__ */ (0, F.jsx)(I, {
|
|
@@ -127,8 +127,8 @@ var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onCha
|
|
|
127
127
|
value: a.cvecNumber,
|
|
128
128
|
isErrored: !!c.cvecNumber,
|
|
129
129
|
disabled: g("cvecNumber")?.disabled,
|
|
130
|
-
onChange: (
|
|
131
|
-
q("cvecNumber",
|
|
130
|
+
onChange: (t) => {
|
|
131
|
+
q("cvecNumber", t), p("cvecNumber", t, e);
|
|
132
132
|
}
|
|
133
133
|
}),
|
|
134
134
|
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
@@ -144,15 +144,15 @@ var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onCha
|
|
|
144
144
|
value: a.firstName,
|
|
145
145
|
isErrored: !!c.firstName,
|
|
146
146
|
disabled: g("firstName")?.disabled,
|
|
147
|
-
onChange: (
|
|
148
|
-
q("firstName",
|
|
147
|
+
onChange: (t) => {
|
|
148
|
+
q("firstName", t), p("firstName", t, e);
|
|
149
149
|
}
|
|
150
150
|
}), /* @__PURE__ */ (0, F.jsx)(v, {
|
|
151
151
|
value: a.lastName,
|
|
152
152
|
isErrored: !!c.lastName,
|
|
153
153
|
disabled: g("lastName")?.disabled,
|
|
154
|
-
onChange: (
|
|
155
|
-
q("lastName",
|
|
154
|
+
onChange: (t) => {
|
|
155
|
+
q("lastName", t), p("lastName", t, e);
|
|
156
156
|
}
|
|
157
157
|
})]
|
|
158
158
|
}),
|
|
@@ -162,8 +162,8 @@ var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onCha
|
|
|
162
162
|
locale: J,
|
|
163
163
|
isRequired: !0,
|
|
164
164
|
disabled: g("birthDate")?.disabled,
|
|
165
|
-
onChange: (
|
|
166
|
-
q("birthDate",
|
|
165
|
+
onChange: (t) => {
|
|
166
|
+
q("birthDate", t), p("birthDate", t, e);
|
|
167
167
|
}
|
|
168
168
|
}),
|
|
169
169
|
/* @__PURE__ */ (0, F.jsx)(w, {
|
|
@@ -173,50 +173,50 @@ var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onCha
|
|
|
173
173
|
id: "emailExplanation",
|
|
174
174
|
defaultMessage: "Personal or school email is fine"
|
|
175
175
|
}),
|
|
176
|
-
onChange: (
|
|
177
|
-
q("email",
|
|
176
|
+
onChange: (t) => {
|
|
177
|
+
q("email", t), p("email", t, e);
|
|
178
178
|
},
|
|
179
179
|
onKeyDown: (e) => h(e),
|
|
180
180
|
disabled: g("email")?.disabled
|
|
181
181
|
}),
|
|
182
|
-
|
|
183
|
-
isRequired: !!
|
|
182
|
+
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, F.jsx)(b, {
|
|
183
|
+
isRequired: !!e.programTheme.smsLoopEnabled,
|
|
184
184
|
value: a.phoneNumber,
|
|
185
185
|
isErrored: !!c.phoneNumber,
|
|
186
186
|
disabled: g("phoneNumber")?.disabled,
|
|
187
|
-
onChange: (
|
|
188
|
-
q("phoneNumber",
|
|
187
|
+
onChange: (t) => {
|
|
188
|
+
q("phoneNumber", t), p("phoneNumber", t, e);
|
|
189
189
|
},
|
|
190
190
|
selectedCountryCode: a.countryChoice && a.countryChoice.value
|
|
191
191
|
}) : null,
|
|
192
|
-
(E.customFormFields || []).map((
|
|
193
|
-
config:
|
|
194
|
-
verificationService:
|
|
192
|
+
(E.customFormFields || []).map((t) => /* @__PURE__ */ (0, F.jsx)(y, {
|
|
193
|
+
config: t,
|
|
194
|
+
verificationService: e
|
|
195
195
|
})),
|
|
196
196
|
" ",
|
|
197
197
|
/* @__PURE__ */ (0, F.jsx)(x, {
|
|
198
|
-
verificationService:
|
|
198
|
+
verificationService: e,
|
|
199
199
|
isErrored: !!c.marketConsentValue,
|
|
200
200
|
disabled: g("marketConsentValue")?.disabled,
|
|
201
|
-
onChange: (
|
|
201
|
+
onChange: (t) => {
|
|
202
202
|
q("metadata", {
|
|
203
|
-
...
|
|
204
|
-
marketConsentValue:
|
|
205
|
-
}), p("marketConsentValue",
|
|
203
|
+
...e.viewModel.metadata,
|
|
204
|
+
marketConsentValue: t
|
|
205
|
+
}), p("marketConsentValue", t, e);
|
|
206
206
|
},
|
|
207
207
|
viewModel: a
|
|
208
208
|
}),
|
|
209
209
|
/* @__PURE__ */ (0, F.jsx)(k, {
|
|
210
|
-
verificationService:
|
|
210
|
+
verificationService: e,
|
|
211
211
|
suffix: "CollectAboveSubmit"
|
|
212
212
|
}),
|
|
213
213
|
/* @__PURE__ */ (0, F.jsx)(S, {
|
|
214
|
-
verificationService:
|
|
214
|
+
verificationService: e,
|
|
215
215
|
isErrored: !!c.captchaToken
|
|
216
216
|
}),
|
|
217
217
|
/* @__PURE__ */ (0, F.jsx)(T, {
|
|
218
218
|
step: s.collectStudentPersonalInfo,
|
|
219
|
-
verificationService:
|
|
219
|
+
verificationService: e,
|
|
220
220
|
viewModel: a,
|
|
221
221
|
failedInstantMatch: K,
|
|
222
222
|
buttonText: /* @__PURE__ */ (0, F.jsx)(r, {
|
package/chunk/{StepStudentPersonalInfo-B8EJqu5o.js.map → StepStudentPersonalInfo-DzBMt8Kd.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-B8EJqu5o.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/FormFields/GraduationStatus/graduationStatusUtils.ts","../../src/components/FormFields/GraduationStatus/GraduationStatusComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","import type { StudentStatus, StudentStatusSelection } from \"@/lib/types/types\";\n\nexport const hasGraduationStatusChoice = (availableStatuses: StudentStatus[] = []): boolean =>\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\nexport const statusesToSelection = (\n statuses: StudentStatus[] = [],\n): StudentStatusSelection | undefined => {\n if (statuses.includes(\"GRADUATE\")) {\n return \"GRADUATE\";\n }\n return statuses.length ? \"STUDENT\" : undefined;\n};\n\nexport const selectionToStatuses = (\n selection: StudentStatusSelection | undefined,\n availableStatuses: StudentStatus[] = [],\n): StudentStatus[] => {\n if (selection === \"GRADUATE\") {\n return [\"GRADUATE\"];\n }\n if (selection === \"STUDENT\") {\n return availableStatuses.filter((s) => s !== \"GRADUATE\");\n }\n return [];\n};\n","import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { StudentStatusDefaultMessagesEnum } from \"@/lib/types/runtimeTypes\";\nimport {\n type FormSelectChoice,\n type StudentStatus,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { useFormSelectChoice } from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { StatusComponent as Status } from \"../Status/StatusComponent\";\n\nimport { selectionToStatuses, statusesToSelection } from \"./graduationStatusUtils\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface GraduationStatusProps {\n availableStatuses: StudentStatus[];\n value: StudentStatus[];\n onChange: (statuses: StudentStatus[]) => void;\n isErrored: boolean;\n disabled?: boolean;\n}\n\nexport const GraduationStatusComponent: React.FC<GraduationStatusProps> = ({\n availableStatuses,\n value,\n onChange,\n isErrored,\n disabled = false,\n}) => {\n const options = useFormSelectChoice(STATUS_SELECTIONS);\n\n const selection = statusesToSelection(value);\n\n return (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={options.find((option) => option.value === selection)}\n isErrored={isErrored}\n options={options}\n disabled={disabled}\n onChange={(choice: FormSelectChoice) =>\n onChange(\n selectionToStatuses(\n choice ? (choice.value as StudentStatusSelection) : undefined,\n availableStatuses,\n ),\n )\n }\n />\n );\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type Organization,\n type StudentPersonalInfoResponse,\n type CustomFormFieldConfig,\n type FieldId,\n type StudentStatus,\n} from \"@/lib/types/types\";\n\nimport { VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { GraduationStatusComponent as GraduationStatus } from \"../FormFields/GraduationStatus/GraduationStatusComponent\";\nimport {\n hasGraduationStatusChoice,\n selectionToStatuses,\n statusesToSelection,\n} from \"../FormFields/GraduationStatus/graduationStatusUtils\";\n\nconst NO_STATUSES: StudentStatus[] = [];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n // Only statuses come from the fields endpoint; every other field keeps the step's own validation\n // Cleanup: DATA-5704\n dispatchFieldRequirements: false,\n });\n\n const availableStatuses = (dynamicStatuses ??\n verificationResponse.availableStatuses ??\n NO_STATUSES) as StudentStatus[];\n const showGraduateStatusInput = hasGraduationStatusChoice(availableStatuses);\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"statuses\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"statuses\"];\n }\n const statuses = showGraduateStatusInput\n ? selectionToStatuses(statusesToSelection(viewModel.statuses), availableStatuses)\n : [];\n verificationService.updateViewModel(\n produce(viewModel, (draft: StudentPersonalInfoViewModel) => {\n draft.fieldsToSkipValidation = skip;\n draft.statuses = statuses;\n }),\n );\n }, [showCvecInput, showGraduateStatusInput, availableStatuses]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <GraduationStatus\n availableStatuses={availableStatuses}\n value={viewModel.statuses ?? []}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(statuses: StudentStatus[]) => {\n updateStudentViewModel(\"statuses\", statuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n statuses[0] ?? \"\",\n verificationService,\n );\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GC/Da,KAA6B,IAAqC,CAAC,MAC9E,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU,GAE7E,KACX,IAA4B,CAAC,MAEzB,EAAS,SAAS,UAAU,IACvB,aAEF,EAAS,SAAS,YAAY,KAAA,GAG1B,KACX,GACA,IAAqC,CAAC,MAElC,MAAc,aACT,CAAC,UAAU,IAEhB,MAAc,YACT,EAAkB,QAAQ,MAAM,MAAM,UAAU,IAElD,CAAC,GCRJ,IAAoB,OAAO,KAAK,CAAgC,GAUzD,KAA8D,EACzE,sBACA,UACA,aACA,cACA,cAAW,SACP;CACJ,IAAM,IAAU,EAAoB,CAAiB,GAE/C,IAAY,EAAoB,CAAK;CAE3C,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,WAAU;EACV,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GA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C,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;GACzE,CAAA,IACC;IACF,EAAQ,oBAAoB,CAAC,GAAG,KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,oBAAoB,GAAG;IACzD,WAAW,MAAa;KAKtB,AAJA,EAAuB,YAAY;MACjC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-DzBMt8Kd.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/FormFields/GraduationStatus/graduationStatusUtils.ts","../../src/components/FormFields/GraduationStatus/GraduationStatusComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","import type { StudentStatus, StudentStatusSelection } from \"@/lib/types/types\";\n\nexport const hasGraduationStatusChoice = (availableStatuses: StudentStatus[] = []): boolean =>\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\nexport const statusesToSelection = (\n statuses: StudentStatus[] = [],\n): StudentStatusSelection | undefined => {\n if (statuses.includes(\"GRADUATE\")) {\n return \"GRADUATE\";\n }\n return statuses.length ? \"STUDENT\" : undefined;\n};\n\nexport const selectionToStatuses = (\n selection: StudentStatusSelection | undefined,\n availableStatuses: StudentStatus[] = [],\n): StudentStatus[] => {\n if (selection === \"GRADUATE\") {\n return [\"GRADUATE\"];\n }\n if (selection === \"STUDENT\") {\n return availableStatuses.filter((s) => s !== \"GRADUATE\");\n }\n return [];\n};\n","import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { StudentStatusDefaultMessagesEnum } from \"@/lib/types/runtimeTypes\";\nimport {\n type FormSelectChoice,\n type StudentStatus,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { useFormSelectChoice } from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { StatusComponent as Status } from \"../Status/StatusComponent\";\n\nimport { selectionToStatuses, statusesToSelection } from \"./graduationStatusUtils\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface GraduationStatusProps {\n availableStatuses: StudentStatus[];\n value: StudentStatus[];\n onChange: (statuses: StudentStatus[]) => void;\n isErrored: boolean;\n disabled?: boolean;\n}\n\nexport const GraduationStatusComponent: React.FC<GraduationStatusProps> = ({\n availableStatuses,\n value,\n onChange,\n isErrored,\n disabled = false,\n}) => {\n const options = useFormSelectChoice(STATUS_SELECTIONS);\n\n const selection = statusesToSelection(value);\n\n return (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={options.find((option) => option.value === selection)}\n isErrored={isErrored}\n options={options}\n disabled={disabled}\n onChange={(choice: FormSelectChoice) =>\n onChange(\n selectionToStatuses(\n choice ? (choice.value as StudentStatusSelection) : undefined,\n availableStatuses,\n ),\n )\n }\n />\n );\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type Organization,\n type StudentPersonalInfoResponse,\n type CustomFormFieldConfig,\n type FieldId,\n type StudentStatus,\n} from \"@/lib/types/types\";\n\nimport { VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { GraduationStatusComponent as GraduationStatus } from \"../FormFields/GraduationStatus/GraduationStatusComponent\";\nimport {\n hasGraduationStatusChoice,\n selectionToStatuses,\n statusesToSelection,\n} from \"../FormFields/GraduationStatus/graduationStatusUtils\";\n\nconst NO_STATUSES: StudentStatus[] = [];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n // Only statuses come from the fields endpoint; every other field keeps the step's own validation\n // Cleanup: DATA-5704\n dispatchFieldRequirements: false,\n });\n\n const availableStatuses = (dynamicStatuses ??\n verificationResponse.availableStatuses ??\n NO_STATUSES) as StudentStatus[];\n const showGraduateStatusInput = hasGraduationStatusChoice(availableStatuses);\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"statuses\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"statuses\"];\n }\n const statuses = showGraduateStatusInput\n ? selectionToStatuses(statusesToSelection(viewModel.statuses), availableStatuses)\n : [];\n verificationService.updateViewModel(\n produce(viewModel, (draft: StudentPersonalInfoViewModel) => {\n draft.fieldsToSkipValidation = skip;\n draft.statuses = statuses;\n }),\n );\n }, [showCvecInput, showGraduateStatusInput, availableStatuses]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <GraduationStatus\n availableStatuses={availableStatuses}\n value={viewModel.statuses ?? []}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(statuses: StudentStatus[]) => {\n updateStudentViewModel(\"statuses\", statuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n statuses[0] ?? \"\",\n verificationService,\n );\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GC/Da,KAA6B,IAAqC,CAAC,MAC9E,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU,GAE7E,KACX,IAA4B,CAAC,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,31 +4,31 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.307.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1792788069710
|
|
9
|
+
* BUILD_DATE: Fri Oct 23 2026 20:41:09 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 9bea609f9e2a9b4cd4a26fb21eea3072f87be58a
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { At as e, p as t, s as n } from "./intl-D5sUivUy.js";
|
|
13
13
|
import { b as r, p as i } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { n as a, s as o, t as s } from "./jsx-runtime-
|
|
15
|
-
import { n as c } from "./Message-
|
|
16
|
-
import { p as l } from "./FormFooterComponent-
|
|
17
|
-
import { t as u } from "./hooks-
|
|
14
|
+
import { n as a, s as o, t as s } from "./jsx-runtime-CB6nLaN6.js";
|
|
15
|
+
import { n as c } from "./Message-DtxngN6C.js";
|
|
16
|
+
import { p as l } from "./FormFooterComponent-3UsgRJsz.js";
|
|
17
|
+
import { t as u } from "./hooks-DFk9wlFh.js";
|
|
18
18
|
import { t as d } from "../_mysheerid-preview.js";
|
|
19
|
-
import { t as f } from "./useCollectFieldsEndpoint-
|
|
20
|
-
import { d as p, f as m, r as h, t as g } from "./stepComponentHelpers
|
|
21
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
22
|
-
import { t as C } from "./FormFieldText-
|
|
23
|
-
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-
|
|
24
|
-
import { i as E } from "./FormSelectChoice-
|
|
25
|
-
import { t as D } from "./BirthDateComponent-
|
|
26
|
-
import { t as O } from "./CountryComponentWrapper-
|
|
27
|
-
import { t as k } from "./ExtraMessage-
|
|
28
|
-
import { t as A } from "./ChangeLocaleComponent-
|
|
29
|
-
import { t as j } from "./PersonalInfoStepWrapper-
|
|
30
|
-
import { t as M } from "./CollegeNameComponent-
|
|
31
|
-
import { t as N } from "./StatusComponent-
|
|
19
|
+
import { t as f } from "./useCollectFieldsEndpoint-CzTl9kbR.js";
|
|
20
|
+
import { d as p, f as m, r as h, t as g } from "./stepComponentHelpers--E4kvS6y.js";
|
|
21
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-DwUevV3t.js";
|
|
22
|
+
import { t as C } from "./FormFieldText-D4SW8w-w.js";
|
|
23
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-C9bX9hn-.js";
|
|
24
|
+
import { i as E } from "./FormSelectChoice-D-la3EDO.js";
|
|
25
|
+
import { t as D } from "./BirthDateComponent-PIolYRcO.js";
|
|
26
|
+
import { t as O } from "./CountryComponentWrapper-CauXt0Zp.js";
|
|
27
|
+
import { t as k } from "./ExtraMessage-Pq3Frlg0.js";
|
|
28
|
+
import { t as A } from "./ChangeLocaleComponent-BOMhh2b3.js";
|
|
29
|
+
import { t as j } from "./PersonalInfoStepWrapper-TFsKYUeL.js";
|
|
30
|
+
import { t as M } from "./CollegeNameComponent-B8jZYiX1.js";
|
|
31
|
+
import { t as N } from "./StatusComponent-Os3WMfWG.js";
|
|
32
32
|
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
33
33
|
var P = /* @__PURE__ */ e(o(), 1), F = s(), I = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: o = !1 }) => {
|
|
34
34
|
let { msg: s } = c(), l = u("include-cvec-field-france-student");
|
package/chunk/{StepStudentPersonalInfo-C6OXBOsJ.js.map → StepStudentPersonalInfo-z2J7_k9j.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-C6OXBOsJ.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/FormFields/GraduationStatus/graduationStatusUtils.ts","../../src/components/FormFields/GraduationStatus/GraduationStatusComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","import type { StudentStatus, StudentStatusSelection } from \"@/lib/types/types\";\n\nexport const hasGraduationStatusChoice = (availableStatuses: StudentStatus[] = []): boolean =>\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\nexport const statusesToSelection = (\n statuses: StudentStatus[] = [],\n): StudentStatusSelection | undefined => {\n if (statuses.includes(\"GRADUATE\")) {\n return \"GRADUATE\";\n }\n return statuses.length ? \"STUDENT\" : undefined;\n};\n\nexport const selectionToStatuses = (\n selection: StudentStatusSelection | undefined,\n availableStatuses: StudentStatus[] = [],\n): StudentStatus[] => {\n if (selection === \"GRADUATE\") {\n return [\"GRADUATE\"];\n }\n if (selection === \"STUDENT\") {\n return availableStatuses.filter((s) => s !== \"GRADUATE\");\n }\n return [];\n};\n","import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { StudentStatusDefaultMessagesEnum } from \"@/lib/types/runtimeTypes\";\nimport {\n type FormSelectChoice,\n type StudentStatus,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { useFormSelectChoice } from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { StatusComponent as Status } from \"../Status/StatusComponent\";\n\nimport { selectionToStatuses, statusesToSelection } from \"./graduationStatusUtils\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface GraduationStatusProps {\n availableStatuses: StudentStatus[];\n value: StudentStatus[];\n onChange: (statuses: StudentStatus[]) => void;\n isErrored: boolean;\n disabled?: boolean;\n}\n\nexport const GraduationStatusComponent: React.FC<GraduationStatusProps> = ({\n availableStatuses,\n value,\n onChange,\n isErrored,\n disabled = false,\n}) => {\n const options = useFormSelectChoice(STATUS_SELECTIONS);\n\n const selection = statusesToSelection(value);\n\n return (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={options.find((option) => option.value === selection)}\n isErrored={isErrored}\n options={options}\n disabled={disabled}\n onChange={(choice: FormSelectChoice) =>\n onChange(\n selectionToStatuses(\n choice ? (choice.value as StudentStatusSelection) : undefined,\n availableStatuses,\n ),\n )\n }\n />\n );\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type Organization,\n type StudentPersonalInfoResponse,\n type CustomFormFieldConfig,\n type FieldId,\n type StudentStatus,\n} from \"@/lib/types/types\";\n\nimport { VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { GraduationStatusComponent as GraduationStatus } from \"../FormFields/GraduationStatus/GraduationStatusComponent\";\nimport {\n hasGraduationStatusChoice,\n selectionToStatuses,\n statusesToSelection,\n} from \"../FormFields/GraduationStatus/graduationStatusUtils\";\n\nconst NO_STATUSES: StudentStatus[] = [];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n // Only statuses come from the fields endpoint; every other field keeps the step's own validation\n // Cleanup: DATA-5704\n dispatchFieldRequirements: false,\n });\n\n const availableStatuses = (dynamicStatuses ??\n verificationResponse.availableStatuses ??\n NO_STATUSES) as StudentStatus[];\n const showGraduateStatusInput = hasGraduationStatusChoice(availableStatuses);\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"statuses\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"statuses\"];\n }\n const statuses = showGraduateStatusInput\n ? selectionToStatuses(statusesToSelection(viewModel.statuses), availableStatuses)\n : [];\n verificationService.updateViewModel(\n produce(viewModel, (draft: StudentPersonalInfoViewModel) => {\n draft.fieldsToSkipValidation = skip;\n draft.statuses = statuses;\n }),\n );\n }, [showCvecInput, showGraduateStatusInput, availableStatuses]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <GraduationStatus\n availableStatuses={availableStatuses}\n value={viewModel.statuses ?? []}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(statuses: StudentStatus[]) => {\n updateStudentViewModel(\"statuses\", statuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n statuses[0] ?? \"\",\n verificationService,\n );\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GC/Da,KAA6B,IAAqC,CAAC,MAC9E,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU,GAE7E,KACX,IAA4B,CAAC,MAEzB,EAAS,SAAS,UAAU,IACvB,aAEF,EAAS,SAAS,YAAY,KAAA,GAG1B,KACX,GACA,IAAqC,CAAC,MAElC,MAAc,aACT,CAAC,UAAU,IAEhB,MAAc,YACT,EAAkB,QAAQ,MAAM,MAAM,UAAU,IAElD,CAAC,GCRJ,IAAoB,OAAO,KAAK,CAAgC,GAUzD,KAA8D,EACzE,sBACA,UACA,aACA,cACA,cAAW,SACP;CACJ,IAAM,IAAU,EAAoB,CAAiB,GAE/C,IAAY,EAAoB,CAAK;CAE3C,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,WAAU;EACV,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAmB,gBAAe;EAAqB,CAAA;EACvF,OAAO,EAAQ,MAAM,MAAW,EAAO,UAAU,CAAS;EAC/C;EACF;EACC;EACV,WAAW,MACT,EACE,EACE,IAAU,EAAO,QAAmC,KAAA,GACpD,CACF,CACF;CAEH,CAAA;AAEL,GCJM,IAA+B,CAAC,GAMzB,KAAoC,EAC/C,6BAC2C;CAC3C,IAAM,EAAE,WAAQ,EAAW,GACrB,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aA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,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-z2J7_k9j.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/FormFields/GraduationStatus/graduationStatusUtils.ts","../../src/components/FormFields/GraduationStatus/GraduationStatusComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","import type { StudentStatus, StudentStatusSelection } from \"@/lib/types/types\";\n\nexport const hasGraduationStatusChoice = (availableStatuses: StudentStatus[] = []): boolean =>\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\nexport const statusesToSelection = (\n statuses: StudentStatus[] = [],\n): StudentStatusSelection | undefined => {\n if (statuses.includes(\"GRADUATE\")) {\n return \"GRADUATE\";\n }\n return statuses.length ? \"STUDENT\" : undefined;\n};\n\nexport const selectionToStatuses = (\n selection: StudentStatusSelection | undefined,\n availableStatuses: StudentStatus[] = [],\n): StudentStatus[] => {\n if (selection === \"GRADUATE\") {\n return [\"GRADUATE\"];\n }\n if (selection === \"STUDENT\") {\n return availableStatuses.filter((s) => s !== \"GRADUATE\");\n }\n return [];\n};\n","import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { StudentStatusDefaultMessagesEnum } from \"@/lib/types/runtimeTypes\";\nimport {\n type FormSelectChoice,\n type StudentStatus,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { useFormSelectChoice } from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { StatusComponent as Status } from \"../Status/StatusComponent\";\n\nimport { selectionToStatuses, statusesToSelection } from \"./graduationStatusUtils\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface GraduationStatusProps {\n availableStatuses: StudentStatus[];\n value: StudentStatus[];\n onChange: (statuses: StudentStatus[]) => void;\n isErrored: boolean;\n disabled?: boolean;\n}\n\nexport const GraduationStatusComponent: React.FC<GraduationStatusProps> = ({\n availableStatuses,\n value,\n onChange,\n isErrored,\n disabled = false,\n}) => {\n const options = useFormSelectChoice(STATUS_SELECTIONS);\n\n const selection = statusesToSelection(value);\n\n return (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={options.find((option) => option.value === selection)}\n isErrored={isErrored}\n options={options}\n disabled={disabled}\n onChange={(choice: FormSelectChoice) =>\n onChange(\n selectionToStatuses(\n choice ? (choice.value as StudentStatusSelection) : undefined,\n availableStatuses,\n ),\n )\n }\n />\n );\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type Organization,\n type StudentPersonalInfoResponse,\n type CustomFormFieldConfig,\n type FieldId,\n type StudentStatus,\n} from \"@/lib/types/types\";\n\nimport { VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { GraduationStatusComponent as GraduationStatus } from \"../FormFields/GraduationStatus/GraduationStatusComponent\";\nimport {\n hasGraduationStatusChoice,\n selectionToStatuses,\n statusesToSelection,\n} from \"../FormFields/GraduationStatus/graduationStatusUtils\";\n\nconst NO_STATUSES: StudentStatus[] = [];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n // Only statuses come from the fields endpoint; every other field keeps the step's own validation\n // Cleanup: DATA-5704\n dispatchFieldRequirements: false,\n });\n\n const availableStatuses = (dynamicStatuses ??\n verificationResponse.availableStatuses ??\n NO_STATUSES) as StudentStatus[];\n const showGraduateStatusInput = hasGraduationStatusChoice(availableStatuses);\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"statuses\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"statuses\"];\n }\n const statuses = showGraduateStatusInput\n ? selectionToStatuses(statusesToSelection(viewModel.statuses), availableStatuses)\n : [];\n verificationService.updateViewModel(\n produce(viewModel, (draft: StudentPersonalInfoViewModel) => {\n draft.fieldsToSkipValidation = skip;\n draft.statuses = statuses;\n }),\n );\n }, [showCvecInput, showGraduateStatusInput, availableStatuses]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <GraduationStatus\n availableStatuses={availableStatuses}\n value={viewModel.statuses ?? []}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(statuses: StudentStatus[]) => {\n updateStudentViewModel(\"statuses\", statuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n statuses[0] ?? \"\",\n verificationService,\n );\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GC/Da,KAA6B,IAAqC,CAAC,MAC9E,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU,GAE7E,KACX,IAA4B,CAAC,MAEzB,EAAS,SAAS,UAAU,IACvB,aAEF,EAAS,SAAS,YAAY,KAAA,GAG1B,KACX,GACA,IAAqC,CAAC,MAElC,MAAc,aACT,CAAC,UAAU,IAEhB,MAAc,YACT,EAAkB,QAAQ,MAAM,MAAM,UAAU,IAElD,CAAC,GCRJ,IAAoB,OAAO,KAAK,CAAgC,GAUzD,KAA8D,EACzE,sBACA,UACA,aACA,cACA,cAAW,SACP;CACJ,IAAM,IAAU,EAAoB,CAAiB,GAE/C,IAAY,EAAoB,CAAK;CAE3C,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,WAAU;EACV,OAAO,iBAAA,GAAA,EAAA,KAAC,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