@sheerid/jslib 2.302.0 → 2.304.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 +39 -39
- package/chunk/{AddressComponent-HgOPFaTV.js → AddressComponent-DIp4rtF_.js} +6 -6
- package/chunk/{AddressComponent-DMjWstD0.js.map → AddressComponent-DIp4rtF_.js.map} +1 -1
- package/chunk/{AddressComponent-DMjWstD0.js → AddressComponent-OHgf-_sl.js} +6 -6
- package/chunk/{AddressComponent-HgOPFaTV.js.map → AddressComponent-OHgf-_sl.js.map} +1 -1
- package/chunk/AnnouncingHeader-CnV2m0Ak.js +4 -4
- package/chunk/AnnouncingHeader-zH7WLU2-.js +4 -4
- package/chunk/{BirthDateComponent-DULhhlCB.js → BirthDateComponent-CucjHQqp.js} +6 -6
- package/chunk/{BirthDateComponent-DULhhlCB.js.map → BirthDateComponent-CucjHQqp.js.map} +1 -1
- package/chunk/{BirthDateComponent-DiLk0zA1.js → BirthDateComponent-oQPnVqSa.js} +6 -6
- package/chunk/{BirthDateComponent-DiLk0zA1.js.map → BirthDateComponent-oQPnVqSa.js.map} +1 -1
- package/chunk/{CaptchaComponent-VO2ah-8j.js → CaptchaComponent-D98si3Jy.js} +9 -9
- package/chunk/{CaptchaComponent-IPki4JiO.js.map → CaptchaComponent-D98si3Jy.js.map} +1 -1
- package/chunk/{CaptchaComponent-IPki4JiO.js → CaptchaComponent-DqGHJA-M.js} +9 -9
- package/chunk/{CaptchaComponent-VO2ah-8j.js.map → CaptchaComponent-DqGHJA-M.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D8jA640h.js → ChangeLocaleComponent-C8snL44m.js} +7 -7
- package/chunk/{ChangeLocaleComponent-D8jA640h.js.map → ChangeLocaleComponent-C8snL44m.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DY3mTZmW.js → ChangeLocaleComponent-CeHqgN6J.js} +7 -7
- package/chunk/{ChangeLocaleComponent-DY3mTZmW.js.map → ChangeLocaleComponent-CeHqgN6J.js.map} +1 -1
- package/chunk/{City-CrQskjYm.js → City-7bUXB6DM.js} +6 -6
- package/chunk/{City-CrQskjYm.js.map → City-7bUXB6DM.js.map} +1 -1
- package/chunk/{City-N99Ylumw.js → City-aUxxLZ7_.js} +6 -6
- package/chunk/{City-N99Ylumw.js.map → City-aUxxLZ7_.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DYL4QpDh.js → CollegeNameComponent-B5as2wyn.js} +8 -8
- package/chunk/{CollegeNameComponent-DYL4QpDh.js.map → CollegeNameComponent-B5as2wyn.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Dfpi_RVo.js → CollegeNameComponent-YAs8pRV4.js} +8 -8
- package/chunk/{CollegeNameComponent-Dfpi_RVo.js.map → CollegeNameComponent-YAs8pRV4.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BdrpxpHJ.js +4 -4
- package/chunk/CopyToClipboardComponent-Dm3-3x4b.js +4 -4
- package/chunk/{CountryComponentWrapper-DxJLaSii.js → CountryComponentWrapper-BTUytS2o.js} +9 -9
- package/chunk/{CountryComponentWrapper-AZfdcr0e.js.map → CountryComponentWrapper-BTUytS2o.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-AZfdcr0e.js → CountryComponentWrapper-IoxuPmMC.js} +9 -9
- package/chunk/{CountryComponentWrapper-DxJLaSii.js.map → CountryComponentWrapper-IoxuPmMC.js.map} +1 -1
- package/chunk/{DischargeDateComponent-B1VHZ-mW.js → DischargeDateComponent-CTZiOL4E.js} +9 -9
- package/chunk/{DischargeDateComponent-2zgmUX_G.js.map → DischargeDateComponent-CTZiOL4E.js.map} +1 -1
- package/chunk/{DischargeDateComponent-2zgmUX_G.js → DischargeDateComponent-Cy1_zOya.js} +9 -9
- package/chunk/{DischargeDateComponent-B1VHZ-mW.js.map → DischargeDateComponent-Cy1_zOya.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-Cwg2jjXc.js → DriverLicenseNumberComponent-CxSJbkjt.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-Cwg2jjXc.js.map → DriverLicenseNumberComponent-CxSJbkjt.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-cXc98oAB.js → DriverLicenseNumberComponent-Rky9SG-A.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-cXc98oAB.js.map → DriverLicenseNumberComponent-Rky9SG-A.js.map} +1 -1
- package/chunk/{EmailLoopPending-Cos-1XuS.js → EmailLoopPending-BZWT0n5I.js} +8 -8
- package/chunk/{EmailLoopPending-CW0IXYCV.js.map → EmailLoopPending-BZWT0n5I.js.map} +1 -1
- package/chunk/{EmailLoopPending-CW0IXYCV.js → EmailLoopPending-C319a8WP.js} +8 -8
- package/chunk/{EmailLoopPending-Cos-1XuS.js.map → EmailLoopPending-C319a8WP.js.map} +1 -1
- package/chunk/{ExtraMessage-DjFl8EFt.js → ExtraMessage-B58a-KYp.js} +5 -5
- package/chunk/{ExtraMessage-DjFl8EFt.js.map → ExtraMessage-B58a-KYp.js.map} +1 -1
- package/chunk/{ExtraMessage-Ufr6pUdi.js → ExtraMessage-C1LGtDyk.js} +5 -5
- package/chunk/{ExtraMessage-Ufr6pUdi.js.map → ExtraMessage-C1LGtDyk.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B2BUcsCS.js → FirstResponderOrganizationComponent-D6M_yo4M.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-B2BUcsCS.js.map → FirstResponderOrganizationComponent-D6M_yo4M.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CaEVgzrw.js → FirstResponderOrganizationComponent-HTKkHwO4.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-CaEVgzrw.js.map → FirstResponderOrganizationComponent-HTKkHwO4.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DmGgd3ys.js → FormFieldInputSelect-Cb6lHKHg.js} +5 -5
- package/chunk/{FormFieldInputSelect-DmGgd3ys.js.map → FormFieldInputSelect-Cb6lHKHg.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-VUOf6ebh.js → FormFieldInputSelect-e0N6kc8Y.js} +5 -5
- package/chunk/{FormFieldInputSelect-VUOf6ebh.js.map → FormFieldInputSelect-e0N6kc8Y.js.map} +1 -1
- package/chunk/FormFieldLayout-D1tb5nAu.js +4 -4
- package/chunk/FormFieldLayout-Dt_dMiDh.js +4 -4
- package/chunk/FormFieldText-BU2NBm1H.js +4 -4
- package/chunk/FormFieldText-CsFISbyw.js +4 -4
- package/chunk/{FormFieldTypeahead-D8bK5U52.js → FormFieldTypeahead-BsM6Ruie.js} +10 -10
- package/chunk/{FormFieldTypeahead-D8bK5U52.js.map → FormFieldTypeahead-BsM6Ruie.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C0AlhMib.js → FormFieldTypeahead-QR_lJrFB.js} +10 -10
- package/chunk/{FormFieldTypeahead-C0AlhMib.js.map → FormFieldTypeahead-QR_lJrFB.js.map} +1 -1
- package/chunk/{FormFooterComponent-wJK9dVmZ.js → FormFooterComponent-DGcfJdwH.js} +372 -368
- package/chunk/FormFooterComponent-DGcfJdwH.js.map +1 -0
- package/chunk/{FormFooterComponent-Bgtt26qj.js → FormFooterComponent-DmKzIyrc.js} +169 -165
- package/chunk/FormFooterComponent-DmKzIyrc.js.map +1 -0
- package/chunk/{FormSelectChoice-CBgwNqPf.js → FormSelectChoice-Bv5aMXMd.js} +6 -6
- package/chunk/{FormSelectChoice-CBgwNqPf.js.map → FormSelectChoice-Bv5aMXMd.js.map} +1 -1
- package/chunk/{FormSelectChoice-DCHixfLC.js → FormSelectChoice-CE1QacNH.js} +6 -6
- package/chunk/{FormSelectChoice-DCHixfLC.js.map → FormSelectChoice-CE1QacNH.js.map} +1 -1
- package/chunk/InputText-CuBi-ytU.js +4 -4
- package/chunk/InputText-DMztCQmi.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-DSnF_tTO.js → LicensedProfessionalOrganizationComponent-BzyJSQrq.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-CEOF8iiN.js.map → LicensedProfessionalOrganizationComponent-BzyJSQrq.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CEOF8iiN.js → LicensedProfessionalOrganizationComponent-JXLsT4Ua.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-DSnF_tTO.js.map → LicensedProfessionalOrganizationComponent-JXLsT4Ua.js.map} +1 -1
- package/chunk/{LogoComponent-CkyIDoTb.js → LogoComponent-B9xpaOmb.js} +5 -5
- package/chunk/{LogoComponent-CkyIDoTb.js.map → LogoComponent-B9xpaOmb.js.map} +1 -1
- package/chunk/{LogoComponent-DUBdhQUZ.js → LogoComponent-CcqFEsge.js} +5 -5
- package/chunk/{LogoComponent-DUBdhQUZ.js.map → LogoComponent-CcqFEsge.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Cq0AMxkr.js → LowIncomeOrganizationComponent-DlRk_SSB.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-Cq0AMxkr.js.map → LowIncomeOrganizationComponent-DlRk_SSB.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-ChFAxJfX.js → LowIncomeOrganizationComponent-FQA-80EB.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-ChFAxJfX.js.map → LowIncomeOrganizationComponent-FQA-80EB.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BILEi2lj.js → MedicalProfessionalOrganizationComponent-B52FvTE1.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-BILEi2lj.js.map → MedicalProfessionalOrganizationComponent-B52FvTE1.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Qhnj0S4u.js → MedicalProfessionalOrganizationComponent-GUaeaxBA.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-Qhnj0S4u.js.map → MedicalProfessionalOrganizationComponent-GUaeaxBA.js.map} +1 -1
- package/chunk/{MemberIdComponent-Dm_Hhrqs.js → MemberIdComponent-CKOJTsUZ.js} +6 -6
- package/chunk/{MemberIdComponent-D8OxtYrr.js.map → MemberIdComponent-CKOJTsUZ.js.map} +1 -1
- package/chunk/{MemberIdComponent-D8OxtYrr.js → MemberIdComponent-DKvGJ5w8.js} +6 -6
- package/chunk/{MemberIdComponent-Dm_Hhrqs.js.map → MemberIdComponent-DKvGJ5w8.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BiIIsbuh.js → MembershipOrganizationComponent-BsP0oS9k.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-BiIIsbuh.js.map → MembershipOrganizationComponent-BsP0oS9k.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-DW6wZqae.js → MembershipOrganizationComponent-DlERUS3X.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-DW6wZqae.js.map → MembershipOrganizationComponent-DlERUS3X.js.map} +1 -1
- package/chunk/{Message-DRlHAfhp.js → Message-BToMuDnF.js} +5 -5
- package/chunk/{Message-DRlHAfhp.js.map → Message-BToMuDnF.js.map} +1 -1
- package/chunk/{Message-BhvG12pX.js → Message-BcRlg1D8.js} +5 -5
- package/chunk/{Message-BhvG12pX.js.map → Message-BcRlg1D8.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-BrmnjKyp.js → PersonalInfoStepSubmitButton-B3cCavK_.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-BrmnjKyp.js.map → PersonalInfoStepSubmitButton-B3cCavK_.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-EoLwWois.js → PersonalInfoStepSubmitButton-DvsmVrOf.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-EoLwWois.js.map → PersonalInfoStepSubmitButton-DvsmVrOf.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CtAV_LI9.js → PersonalInfoStepWrapper-B58Hl9Sp.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-CtAV_LI9.js.map → PersonalInfoStepWrapper-B58Hl9Sp.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BR9Bc3NZ.js → PersonalInfoStepWrapper-BvUX_IV3.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-BR9Bc3NZ.js.map → PersonalInfoStepWrapper-BvUX_IV3.js.map} +1 -1
- package/chunk/{PostalCodeComponent-D6tXYa6C.js → PostalCodeComponent-CrWWddQS.js} +6 -6
- package/chunk/{PostalCodeComponent-8lYcNG8O.js.map → PostalCodeComponent-CrWWddQS.js.map} +1 -1
- package/chunk/{PostalCodeComponent-8lYcNG8O.js → PostalCodeComponent-FVc2Nso4.js} +6 -6
- package/chunk/{PostalCodeComponent-D6tXYa6C.js.map → PostalCodeComponent-FVc2Nso4.js.map} +1 -1
- package/chunk/{SSN-CAWgb0lT.js → SSN-5QKevvwg.js} +6 -6
- package/chunk/{SSN-CAWgb0lT.js.map → SSN-5QKevvwg.js.map} +1 -1
- package/chunk/{SSN-CFh1QANN.js → SSN-rfoKEogO.js} +6 -6
- package/chunk/{SSN-CFh1QANN.js.map → SSN-rfoKEogO.js.map} +1 -1
- package/chunk/{StateSelectComponent-7OKVu9_Q.js → StateSelectComponent-BaUHQef8.js} +7 -7
- package/chunk/{StateSelectComponent-7OKVu9_Q.js.map → StateSelectComponent-BaUHQef8.js.map} +1 -1
- package/chunk/{StateSelectComponent-CBBmFM_i.js → StateSelectComponent-Bl0sEDiJ.js} +7 -7
- package/chunk/{StateSelectComponent-CBBmFM_i.js.map → StateSelectComponent-Bl0sEDiJ.js.map} +1 -1
- package/chunk/{StatusComponent-niwGqX_A.js → StatusComponent-CXUgeCAX.js} +7 -7
- package/chunk/{StatusComponent-BDzRWlQa.js.map → StatusComponent-CXUgeCAX.js.map} +1 -1
- package/chunk/{StatusComponent-BDzRWlQa.js → StatusComponent-DoH2jBJe.js} +7 -7
- package/chunk/{StatusComponent-niwGqX_A.js.map → StatusComponent-DoH2jBJe.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BF2Et12w.js → StepAgePersonalInfo-CjTZNsVe.js} +18 -18
- package/chunk/{StepAgePersonalInfo-BF2Et12w.js.map → StepAgePersonalInfo-CjTZNsVe.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-vae6Mbfo.js → StepAgePersonalInfo-DYHJqeaB.js} +18 -18
- package/chunk/{StepAgePersonalInfo-vae6Mbfo.js.map → StepAgePersonalInfo-DYHJqeaB.js.map} +1 -1
- package/chunk/StepCard-DJR-l3sW.js +4 -4
- package/chunk/StepCard-wwTRGIhn.js +4 -4
- package/chunk/{StepCollectIdentifier-pivAyrci.js → StepCollectIdentifier-BxkG6FC9.js} +7 -7
- package/chunk/{StepCollectIdentifier-pivAyrci.js.map → StepCollectIdentifier-BxkG6FC9.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D5QAFiM1.js → StepCollectIdentifier-DE0gBqAY.js} +7 -7
- package/chunk/{StepCollectIdentifier-D5QAFiM1.js.map → StepCollectIdentifier-DE0gBqAY.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-COAGVTKO.js → StepCollectMilitaryPersonalInfoComponent--Ie4B0yl.js} +22 -22
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-COAGVTKO.js.map → StepCollectMilitaryPersonalInfoComponent--Ie4B0yl.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-C_Iw5N2Q.js → StepCollectMilitaryPersonalInfoComponent-DfiGcf5I.js} +22 -22
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-C_Iw5N2Q.js.map → StepCollectMilitaryPersonalInfoComponent-DfiGcf5I.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-o7Op9y7E.js → StepCollectPersonalInfo-lnriADQY.js} +32 -32
- package/chunk/{StepCollectPersonalInfo-DgjQoMzk.js.map → StepCollectPersonalInfo-lnriADQY.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DgjQoMzk.js → StepCollectPersonalInfo-vwWUcMyH.js} +32 -32
- package/chunk/{StepCollectPersonalInfo-o7Op9y7E.js.map → StepCollectPersonalInfo-vwWUcMyH.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DOywOfPZ.js → StepCompleteAuthentication-BJTAm52g.js} +6 -6
- package/chunk/{StepCompleteAuthentication-DOywOfPZ.js.map → StepCompleteAuthentication-BJTAm52g.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DWg90te_.js → StepCompleteAuthentication-BUA2xrtE.js} +6 -6
- package/chunk/{StepCompleteAuthentication-DWg90te_.js.map → StepCompleteAuthentication-BUA2xrtE.js.map} +1 -1
- package/chunk/{StepConsolation-9E8D4OYc.js → StepConsolation-CRoBFGTd.js} +6 -6
- package/chunk/{StepConsolation-9E8D4OYc.js.map → StepConsolation-CRoBFGTd.js.map} +1 -1
- package/chunk/{StepConsolation-BZBH7C4R.js → StepConsolation-Dw4IOp9l.js} +6 -6
- package/chunk/{StepConsolation-BZBH7C4R.js.map → StepConsolation-Dw4IOp9l.js.map} +1 -1
- package/chunk/{StepDocUpload-6pfD9E_N.js → StepDocUpload-BUzQ9g81.js} +492 -1110
- package/chunk/StepDocUpload-BUzQ9g81.js.map +1 -0
- package/chunk/StepDocUpload-xEtdWGcK.js +1674 -0
- package/chunk/StepDocUpload-xEtdWGcK.js.map +1 -0
- package/chunk/{StepDriverLicensePersonalInfoComponent-CbVyiNu6.js → StepDriverLicensePersonalInfoComponent-BxUpMImU.js} +13 -13
- package/chunk/{StepDriverLicensePersonalInfoComponent-CXcnpE-O.js.map → StepDriverLicensePersonalInfoComponent-BxUpMImU.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CXcnpE-O.js → StepDriverLicensePersonalInfoComponent-Dx_8OM3-.js} +13 -13
- package/chunk/{StepDriverLicensePersonalInfoComponent-CbVyiNu6.js.map → StepDriverLicensePersonalInfoComponent-Dx_8OM3-.js.map} +1 -1
- package/chunk/{StepEmailLoop-BpLJAHXf.js → StepEmailLoop-Nw-rJgsm.js} +9 -9
- package/chunk/{StepEmailLoop-BpLJAHXf.js.map → StepEmailLoop-Nw-rJgsm.js.map} +1 -1
- package/chunk/{StepEmailLoop-dHQ2jwEJ.js → StepEmailLoop-mfub_mok.js} +9 -9
- package/chunk/{StepEmailLoop-dHQ2jwEJ.js.map → StepEmailLoop-mfub_mok.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-B-PVwBxK.js → StepEmploymentPersonalInfo-DMkrJYj7.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-B-PVwBxK.js.map → StepEmploymentPersonalInfo-DMkrJYj7.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CPzZ4Dty.js → StepEmploymentPersonalInfo-jfNudNTZ.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-CPzZ4Dty.js.map → StepEmploymentPersonalInfo-jfNudNTZ.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-t14PPnT-.js → StepFirstResponderPersonalInfo-CFqJv92p.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-CX3LjXFF.js.map → StepFirstResponderPersonalInfo-CFqJv92p.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CX3LjXFF.js → StepFirstResponderPersonalInfo-CYFtsRm-.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-t14PPnT-.js.map → StepFirstResponderPersonalInfo-CYFtsRm-.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cs-amRVS.js → StepGeneralIdentityPersonalInfoComponent-BaVIwPSY.js} +16 -16
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cs-amRVS.js.map → StepGeneralIdentityPersonalInfoComponent-BaVIwPSY.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dg9n96NK.js → StepGeneralIdentityPersonalInfoComponent-k27Awiqm.js} +16 -16
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Dg9n96NK.js.map → StepGeneralIdentityPersonalInfoComponent-k27Awiqm.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-qWQ95lIP.js → StepHybridIdentityPersonalInfoComponent-D0luWaZH.js} +17 -17
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Bk085zqd.js.map → StepHybridIdentityPersonalInfoComponent-D0luWaZH.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Bk085zqd.js → StepHybridIdentityPersonalInfoComponent-k2Y3yuVP.js} +17 -17
- package/chunk/{StepHybridIdentityPersonalInfoComponent-qWQ95lIP.js.map → StepHybridIdentityPersonalInfoComponent-k2Y3yuVP.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-BUTZLH5d.js → StepIDCheckLoop-BtLu63gH.js} +5 -5
- package/chunk/{StepIDCheckLoop-BUTZLH5d.js.map → StepIDCheckLoop-BtLu63gH.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DpUxzbp6.js → StepIDCheckLoop-qMDVYGF6.js} +5 -5
- package/chunk/{StepIDCheckLoop-DpUxzbp6.js.map → StepIDCheckLoop-qMDVYGF6.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CPKnHVjk.js → StepIDCheckLoopOnfido-Cn2taSRq.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-CPKnHVjk.js.map → StepIDCheckLoopOnfido-Cn2taSRq.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BCC746X-.js → StepIDCheckLoopOnfido-D9hJvwHI.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-BCC746X-.js.map → StepIDCheckLoopOnfido-D9hJvwHI.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DFcYcndS.js → StepIDCheckLoopRegula-B0gSu2f2.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-D6mlKXMg.js.map → StepIDCheckLoopRegula-B0gSu2f2.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D6mlKXMg.js → StepIDCheckLoopRegula-C5taOj9i.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-DFcYcndS.js.map → StepIDCheckLoopRegula-C5taOj9i.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-ZODr0Sin.js → StepLicensedProfessionalPersonalInfo-Db4rc2F6.js} +19 -19
- package/chunk/{StepLicensedProfessionalPersonalInfo-Dv79I78o.js.map → StepLicensedProfessionalPersonalInfo-Db4rc2F6.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Dv79I78o.js → StepLicensedProfessionalPersonalInfo-tWD68oFU.js} +19 -19
- package/chunk/{StepLicensedProfessionalPersonalInfo-ZODr0Sin.js.map → StepLicensedProfessionalPersonalInfo-tWD68oFU.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DKcOi0Be.js → StepLowIncomePersonalInfo-C8ZXtF9i.js} +22 -22
- package/chunk/{StepLowIncomePersonalInfo-DGEBDGer.js.map → StepLowIncomePersonalInfo-C8ZXtF9i.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DGEBDGer.js → StepLowIncomePersonalInfo-DTQzLFYh.js} +22 -22
- package/chunk/{StepLowIncomePersonalInfo-DKcOi0Be.js.map → StepLowIncomePersonalInfo-DTQzLFYh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BDoPxwbq.js → StepMedicalProfessionalPersonalInfo-CEWvfZIo.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-BDoPxwbq.js.map → StepMedicalProfessionalPersonalInfo-CEWvfZIo.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BcKSEPns.js → StepMedicalProfessionalPersonalInfo-D81j6Sg7.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-BcKSEPns.js.map → StepMedicalProfessionalPersonalInfo-D81j6Sg7.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DEVs-Z8h.js → StepMemberPersonalInfo-B__oOkWE.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-DEVs-Z8h.js.map → StepMemberPersonalInfo-B__oOkWE.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DxIUMa40.js → StepMemberPersonalInfo-Idz-W2bu.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-DxIUMa40.js.map → StepMemberPersonalInfo-Idz-W2bu.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-C8lwcN46.js → StepMoverPersonalInfo-BItSb2hF.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-BysYb21u.js.map → StepMoverPersonalInfo-BItSb2hF.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BysYb21u.js → StepMoverPersonalInfo-EJ5M2CDv.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-C8lwcN46.js.map → StepMoverPersonalInfo-EJ5M2CDv.js.map} +1 -1
- package/chunk/{StepOverrideComponent-g7AEzqna.js → StepOverrideComponent-BABa7V4t.js} +8 -8
- package/chunk/{StepOverrideComponent-g7AEzqna.js.map → StepOverrideComponent-BABa7V4t.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DXsbx1Hj.js → StepOverrideComponent-Cfltty36.js} +8 -8
- package/chunk/{StepOverrideComponent-DXsbx1Hj.js.map → StepOverrideComponent-Cfltty36.js.map} +1 -1
- package/chunk/{StepSMSLoop-DeLEVdEF.js → StepSMSLoop-DfGhOhOr.js} +5 -5
- package/chunk/{StepSMSLoop-C7nA_FOu.js.map → StepSMSLoop-DfGhOhOr.js.map} +1 -1
- package/chunk/{StepSMSLoop-C7nA_FOu.js → StepSMSLoop-vn3IgTp0.js} +5 -5
- package/chunk/{StepSMSLoop-DeLEVdEF.js.map → StepSMSLoop-vn3IgTp0.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-vJlvhLo0.js → StepSocialSecurityNumber-BEhNPFMA.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-M3Y3uz1m.js.map → StepSocialSecurityNumber-BEhNPFMA.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-M3Y3uz1m.js → StepSocialSecurityNumber-CjG9oKtT.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-vJlvhLo0.js.map → StepSocialSecurityNumber-CjG9oKtT.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-Chfj2PZO.js → StepStudentPersonalInfo-6sEXvlbs.js} +19 -19
- package/chunk/{StepStudentPersonalInfo-C13mW6z9.js.map → StepStudentPersonalInfo-6sEXvlbs.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C13mW6z9.js → StepStudentPersonalInfo-NYJN6QM4.js} +19 -19
- package/chunk/{StepStudentPersonalInfo-Chfj2PZO.js.map → StepStudentPersonalInfo-NYJN6QM4.js.map} +1 -1
- package/chunk/{StepSuccess-DAZef3AB.js → StepSuccess-BSGiXxfN.js} +8 -8
- package/chunk/{StepSuccess-CC7iPIaH.js.map → StepSuccess-BSGiXxfN.js.map} +1 -1
- package/chunk/{StepSuccess-CC7iPIaH.js → StepSuccess-DXYPrAoS.js} +8 -8
- package/chunk/{StepSuccess-DAZef3AB.js.map → StepSuccess-DXYPrAoS.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BB08EyDm.js → StepTeacherPersonalInfo-BnUPd7A_.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-BB08EyDm.js.map → StepTeacherPersonalInfo-BnUPd7A_.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-C43xnTcR.js → StepTeacherPersonalInfo-DH19GPsU.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-C43xnTcR.js.map → StepTeacherPersonalInfo-DH19GPsU.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-Bl74DnxI.js → TeacherSchoolComponent-I15vrTCE.js} +8 -8
- package/chunk/{TeacherSchoolComponent-Bl74DnxI.js.map → TeacherSchoolComponent-I15vrTCE.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-f9Sup6bM.js → TeacherSchoolComponent-pnmySE96.js} +8 -8
- package/chunk/{TeacherSchoolComponent-f9Sup6bM.js.map → TeacherSchoolComponent-pnmySE96.js.map} +1 -1
- package/chunk/TestingRouteOverrides-Bx1n-xCR.js +4 -4
- package/chunk/TestingRouteOverrides-DHe5BulD.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/{countryUtils-Bn6PaKqR.js → countryUtils-CdNf-73_.js} +5 -5
- package/chunk/{countryUtils-0Vt4Ufed.js.map → countryUtils-CdNf-73_.js.map} +1 -1
- package/chunk/countryUtils-CniUDXes.js +12 -0
- package/chunk/{countryUtils-Bn6PaKqR.js.map → countryUtils-CniUDXes.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-DsR2aEqI.js → downshift.esm-D0Q-rG8L.js} +5 -5
- package/chunk/{downshift.esm-BCAMjZ0g.js.map → downshift.esm-D0Q-rG8L.js.map} +1 -1
- package/chunk/{downshift.esm-BCAMjZ0g.js → downshift.esm-DUM3sJ7L.js} +5 -5
- package/chunk/{downshift.esm-DsR2aEqI.js.map → downshift.esm-DUM3sJ7L.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-C5H0EoXJ.js +4 -4
- package/chunk/empties-DaNcqYFb.js +4 -4
- 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-B4mmDpuv.js → hooks-BF7oPgCe.js} +4 -5
- package/chunk/{hooks-CMAl6OEH.js.map → hooks-BF7oPgCe.js.map} +1 -1
- package/chunk/{hooks-CMAl6OEH.js → hooks-Bqhz6E9V.js} +4 -5
- package/chunk/{hooks-B4mmDpuv.js.map → hooks-Bqhz6E9V.js.map} +1 -1
- 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 +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-DQO6A867.js +4 -4
- package/chunk/jsx-runtime-DtApx7WX.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/mocks-D8UIPfvt.js +4 -4
- package/chunk/mocks-denu632X.js +4 -4
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/options-DsRV5fwh.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-DZ0ZFrUM.js → programThemeGetters-BD2PXz0k.js} +5 -5
- package/chunk/{programThemeGetters-DZ0ZFrUM.js.map → programThemeGetters-BD2PXz0k.js.map} +1 -1
- package/chunk/{programThemeGetters-BX4evnnI.js → programThemeGetters-DTXDRpA2.js} +5 -5
- package/chunk/{programThemeGetters-BX4evnnI.js.map → programThemeGetters-DTXDRpA2.js.map} +1 -1
- 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-D_F4GOcs.js → stepComponentHelpers-BElircEH.js} +5 -5
- package/chunk/{stepComponentHelpers-Bo_ASl0b.js.map → stepComponentHelpers-BElircEH.js.map} +1 -1
- package/chunk/{stepComponentHelpers-Bo_ASl0b.js → stepComponentHelpers-DOISo3yJ.js} +5 -5
- package/chunk/{stepComponentHelpers-D_F4GOcs.js.map → stepComponentHelpers-DOISo3yJ.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-Br47rbzo.js → useCollectFieldsEndpoint-DODNTDbS.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-BZIO1IO5.js.map → useCollectFieldsEndpoint-DODNTDbS.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BZIO1IO5.js → useCollectFieldsEndpoint-DbalWE2_.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-Br47rbzo.js.map → useCollectFieldsEndpoint-DbalWE2_.js.map} +1 -1
- package/chunk/{useMetrics-CrpCzbvt.js → useMetrics-XHSibxjX.js} +5 -5
- package/chunk/{useMetrics-kG8AjSPf.js.map → useMetrics-XHSibxjX.js.map} +1 -1
- package/chunk/{useMetrics-kG8AjSPf.js → useMetrics-f-F1IOc3.js} +5 -5
- package/chunk/{useMetrics-CrpCzbvt.js.map → useMetrics-f-F1IOc3.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 +5 -5
- package/sheerid.js +39 -39
- package/chunk/FormFooterComponent-Bgtt26qj.js.map +0 -1
- package/chunk/FormFooterComponent-wJK9dVmZ.js.map +0 -1
- package/chunk/StepDocUpload-6pfD9E_N.js.map +0 -1
- package/chunk/StepDocUpload-D9nor4JZ.js +0 -2292
- package/chunk/StepDocUpload-D9nor4JZ.js.map +0 -1
- package/chunk/countryUtils-0Vt4Ufed.js +0 -12
|
@@ -4,47 +4,27 @@
|
|
|
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.304.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1792172954317
|
|
9
|
+
* BUILD_DATE: Fri Oct 16 2026 17:49:14 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 14bb12a3aac5dfbe3f216ca64aa66bee70d284c3
|
|
11
11
|
*/
|
|
12
12
|
import { Dt as e, L as t, Tt as n, g as r, kt as i, p as a, y as o } from "./intl-DYOqmiaL.js";
|
|
13
13
|
import { S as s, b as c, m as l, u } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
14
|
import { a as d, n as f, s as p, t as m } from "./jsx-runtime-DtApx7WX.js";
|
|
15
|
-
import { a as
|
|
16
|
-
import { i as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { n as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { a as
|
|
23
|
-
import { i as
|
|
24
|
-
//#region ../node_modules/@heroicons/react/24/outline/esm/PlusCircleIcon.js
|
|
25
|
-
var A = /* @__PURE__ */ i(d()), j = m(), M = /* @__PURE__ */ i(p());
|
|
26
|
-
function N({ title: e, titleId: t, ...n }, r) {
|
|
27
|
-
return /*#__PURE__*/ M.createElement("svg", Object.assign({
|
|
28
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
-
fill: "none",
|
|
30
|
-
viewBox: "0 0 24 24",
|
|
31
|
-
strokeWidth: 1.5,
|
|
32
|
-
stroke: "currentColor",
|
|
33
|
-
"aria-hidden": "true",
|
|
34
|
-
"data-slot": "icon",
|
|
35
|
-
ref: r,
|
|
36
|
-
"aria-labelledby": t
|
|
37
|
-
}, n), e ? /*#__PURE__*/ M.createElement("title", { id: t }, e) : null, /*#__PURE__*/ M.createElement("path", {
|
|
38
|
-
strokeLinecap: "round",
|
|
39
|
-
strokeLinejoin: "round",
|
|
40
|
-
d: "M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
var P = /*#__PURE__*/ M.forwardRef(N);
|
|
44
|
-
//#endregion
|
|
15
|
+
import { a as ee, c as te, n as h, o as ne, t as re } from "./Message-BToMuDnF.js";
|
|
16
|
+
import { i as g } from "./TestingRouteOverrides-Bx1n-xCR.js";
|
|
17
|
+
import { t as ie } from "./FormFooterComponent-DmKzIyrc.js";
|
|
18
|
+
import { t as _, u as v } from "./hooks-BF7oPgCe.js";
|
|
19
|
+
import { n as y, o as b } from "./refs-Mq0rtW9K.js";
|
|
20
|
+
import { t as x } from "./LogoComponent-CcqFEsge.js";
|
|
21
|
+
import { t as S } from "./AnnouncingHeader-CnV2m0Ak.js";
|
|
22
|
+
import { a as C, i as w, j as T, n as ae, o as E } from "../_mysheerid-preview.js";
|
|
23
|
+
import { i as oe, o as se, r as D } from "./useMetrics-f-F1IOc3.js";
|
|
45
24
|
//#region ../node_modules/@heroicons/react/24/outline/esm/PlusIcon.js
|
|
46
|
-
|
|
47
|
-
|
|
25
|
+
var O = /* @__PURE__ */ i(d()), k = /* @__PURE__ */ i(p());
|
|
26
|
+
function A({ title: e, titleId: t, ...n }, r) {
|
|
27
|
+
return /*#__PURE__*/ k.createElement("svg", Object.assign({
|
|
48
28
|
xmlns: "http://www.w3.org/2000/svg",
|
|
49
29
|
fill: "none",
|
|
50
30
|
viewBox: "0 0 24 24",
|
|
@@ -54,13 +34,13 @@ function F({ title: e, titleId: t, ...n }, r) {
|
|
|
54
34
|
"data-slot": "icon",
|
|
55
35
|
ref: r,
|
|
56
36
|
"aria-labelledby": t
|
|
57
|
-
}, n), e ? /*#__PURE__*/
|
|
37
|
+
}, n), e ? /*#__PURE__*/ k.createElement("title", { id: t }, e) : null, /*#__PURE__*/ k.createElement("path", {
|
|
58
38
|
strokeLinecap: "round",
|
|
59
39
|
strokeLinejoin: "round",
|
|
60
40
|
d: "M12 4.5v15m7.5-7.5h-15"
|
|
61
41
|
}));
|
|
62
42
|
}
|
|
63
|
-
var
|
|
43
|
+
var ce = /*#__PURE__*/ k.forwardRef(A), j = new Map([
|
|
64
44
|
["aac", "audio/aac"],
|
|
65
45
|
["abw", "application/x-abiword"],
|
|
66
46
|
["arc", "application/x-freearc"],
|
|
@@ -140,8 +120,8 @@ var I = /*#__PURE__*/ M.forwardRef(F), L = new Map([
|
|
|
140
120
|
["mov", "video/quicktime"],
|
|
141
121
|
["msg", "application/vnd.ms-outlook"]
|
|
142
122
|
]);
|
|
143
|
-
function
|
|
144
|
-
var n =
|
|
123
|
+
function M(e, t) {
|
|
124
|
+
var n = N(e);
|
|
145
125
|
if (typeof n.path != "string") {
|
|
146
126
|
var r = e.webkitRelativePath;
|
|
147
127
|
Object.defineProperty(n, "path", {
|
|
@@ -153,10 +133,10 @@ function R(e, t) {
|
|
|
153
133
|
}
|
|
154
134
|
return n;
|
|
155
135
|
}
|
|
156
|
-
function
|
|
136
|
+
function N(e) {
|
|
157
137
|
var t = e.name;
|
|
158
138
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
159
|
-
var n = t.split(".").pop().toLowerCase(), r =
|
|
139
|
+
var n = t.split(".").pop().toLowerCase(), r = j.get(n);
|
|
160
140
|
r && Object.defineProperty(e, "type", {
|
|
161
141
|
value: r,
|
|
162
142
|
writable: !1,
|
|
@@ -168,67 +148,67 @@ function z(e) {
|
|
|
168
148
|
}
|
|
169
149
|
//#endregion
|
|
170
150
|
//#region ../node_modules/file-selector/dist/es5/file-selector.js
|
|
171
|
-
var
|
|
172
|
-
function
|
|
173
|
-
return
|
|
174
|
-
return
|
|
175
|
-
return
|
|
151
|
+
var P = [".DS_Store", "Thumbs.db"];
|
|
152
|
+
function F(e) {
|
|
153
|
+
return w(this, void 0, void 0, function() {
|
|
154
|
+
return C(this, function(t) {
|
|
155
|
+
return R(e) && I(e) ? [2, V(e.dataTransfer, e.type)] : L(e) ? [2, z(e)] : Array.isArray(e) && e.every(function(e) {
|
|
176
156
|
return "getFile" in e && typeof e.getFile == "function";
|
|
177
|
-
}) ? [2,
|
|
157
|
+
}) ? [2, B(e)] : [2, []];
|
|
178
158
|
});
|
|
179
159
|
});
|
|
180
160
|
}
|
|
181
|
-
function
|
|
182
|
-
return
|
|
161
|
+
function I(e) {
|
|
162
|
+
return R(e.dataTransfer);
|
|
183
163
|
}
|
|
184
|
-
function
|
|
185
|
-
return
|
|
164
|
+
function L(e) {
|
|
165
|
+
return R(e) && R(e.target);
|
|
186
166
|
}
|
|
187
|
-
function
|
|
167
|
+
function R(e) {
|
|
188
168
|
return typeof e == "object" && !!e;
|
|
189
169
|
}
|
|
190
|
-
function
|
|
191
|
-
return
|
|
192
|
-
return
|
|
170
|
+
function z(e) {
|
|
171
|
+
return U(e.target.files).map(function(e) {
|
|
172
|
+
return M(e);
|
|
193
173
|
});
|
|
194
174
|
}
|
|
195
|
-
function
|
|
196
|
-
return
|
|
175
|
+
function B(e) {
|
|
176
|
+
return w(this, void 0, void 0, function() {
|
|
197
177
|
var t;
|
|
198
|
-
return
|
|
178
|
+
return C(this, function(n) {
|
|
199
179
|
switch (n.label) {
|
|
200
180
|
case 0: return [4, Promise.all(e.map(function(e) {
|
|
201
181
|
return e.getFile();
|
|
202
182
|
}))];
|
|
203
183
|
case 1: return t = n.sent(), [2, t.map(function(e) {
|
|
204
|
-
return
|
|
184
|
+
return M(e);
|
|
205
185
|
})];
|
|
206
186
|
}
|
|
207
187
|
});
|
|
208
188
|
});
|
|
209
189
|
}
|
|
210
|
-
function
|
|
211
|
-
return
|
|
190
|
+
function V(e, t) {
|
|
191
|
+
return w(this, void 0, void 0, function() {
|
|
212
192
|
var n, r;
|
|
213
|
-
return
|
|
193
|
+
return C(this, function(i) {
|
|
214
194
|
switch (i.label) {
|
|
215
|
-
case 0: return e === null ? [2, []] : e.items ? (n =
|
|
195
|
+
case 0: return e === null ? [2, []] : e.items ? (n = U(e.items).filter(function(e) {
|
|
216
196
|
return e.kind === "file";
|
|
217
|
-
}), t === "drop" ? [4, Promise.all(n.map(
|
|
218
|
-
case 1: return r = i.sent(), [2,
|
|
219
|
-
case 2: return [2,
|
|
220
|
-
return
|
|
197
|
+
}), t === "drop" ? [4, Promise.all(n.map(W))] : [2, n]) : [3, 2];
|
|
198
|
+
case 1: return r = i.sent(), [2, H(G(r))];
|
|
199
|
+
case 2: return [2, H(U(e.files).map(function(e) {
|
|
200
|
+
return M(e);
|
|
221
201
|
}))];
|
|
222
202
|
}
|
|
223
203
|
});
|
|
224
204
|
});
|
|
225
205
|
}
|
|
226
|
-
function
|
|
206
|
+
function H(e) {
|
|
227
207
|
return e.filter(function(e) {
|
|
228
|
-
return
|
|
208
|
+
return P.indexOf(e.name) === -1;
|
|
229
209
|
});
|
|
230
210
|
}
|
|
231
|
-
function
|
|
211
|
+
function U(e) {
|
|
232
212
|
if (e === null) return [];
|
|
233
213
|
for (var t = [], n = 0; n < e.length; n++) {
|
|
234
214
|
var r = e[n];
|
|
@@ -236,39 +216,39 @@ function q(e) {
|
|
|
236
216
|
}
|
|
237
217
|
return t;
|
|
238
218
|
}
|
|
239
|
-
function
|
|
240
|
-
if (typeof e.webkitGetAsEntry != "function") return
|
|
219
|
+
function W(e) {
|
|
220
|
+
if (typeof e.webkitGetAsEntry != "function") return K(e);
|
|
241
221
|
var t = e.webkitGetAsEntry();
|
|
242
|
-
return t && t.isDirectory ?
|
|
222
|
+
return t && t.isDirectory ? J(t) : K(e);
|
|
243
223
|
}
|
|
244
|
-
function
|
|
224
|
+
function G(e) {
|
|
245
225
|
return e.reduce(function(e, t) {
|
|
246
|
-
return
|
|
226
|
+
return E(e, Array.isArray(t) ? G(t) : [t]);
|
|
247
227
|
}, []);
|
|
248
228
|
}
|
|
249
|
-
function
|
|
229
|
+
function K(e) {
|
|
250
230
|
var t = e.getAsFile();
|
|
251
231
|
if (!t) return Promise.reject(e + " is not a File");
|
|
252
|
-
var n =
|
|
232
|
+
var n = M(t);
|
|
253
233
|
return Promise.resolve(n);
|
|
254
234
|
}
|
|
255
|
-
function
|
|
256
|
-
return
|
|
257
|
-
return
|
|
258
|
-
return [2, e.isDirectory ?
|
|
235
|
+
function q(e) {
|
|
236
|
+
return w(this, void 0, void 0, function() {
|
|
237
|
+
return C(this, function(t) {
|
|
238
|
+
return [2, e.isDirectory ? J(e) : le(e)];
|
|
259
239
|
});
|
|
260
240
|
});
|
|
261
241
|
}
|
|
262
|
-
function
|
|
242
|
+
function J(e) {
|
|
263
243
|
var t = e.createReader();
|
|
264
244
|
return new Promise(function(e, n) {
|
|
265
245
|
var r = [];
|
|
266
246
|
function i() {
|
|
267
247
|
var a = this;
|
|
268
248
|
t.readEntries(function(t) {
|
|
269
|
-
return
|
|
249
|
+
return w(a, void 0, void 0, function() {
|
|
270
250
|
var a, o, s;
|
|
271
|
-
return
|
|
251
|
+
return C(this, function(c) {
|
|
272
252
|
switch (c.label) {
|
|
273
253
|
case 0:
|
|
274
254
|
if (t.length) return [3, 5];
|
|
@@ -282,7 +262,7 @@ function fe(e) {
|
|
|
282
262
|
case 2: return a = c.sent(), e(a), [3, 4];
|
|
283
263
|
case 3: return o = c.sent(), n(o), [3, 4];
|
|
284
264
|
case 4: return [3, 6];
|
|
285
|
-
case 5: s = Promise.all(t.map(
|
|
265
|
+
case 5: s = Promise.all(t.map(q)), r.push(s), i(), c.label = 6;
|
|
286
266
|
case 6: return [2];
|
|
287
267
|
}
|
|
288
268
|
});
|
|
@@ -294,12 +274,12 @@ function fe(e) {
|
|
|
294
274
|
i();
|
|
295
275
|
});
|
|
296
276
|
}
|
|
297
|
-
function
|
|
298
|
-
return
|
|
299
|
-
return
|
|
277
|
+
function le(e) {
|
|
278
|
+
return w(this, void 0, void 0, function() {
|
|
279
|
+
return C(this, function(t) {
|
|
300
280
|
return [2, new Promise(function(t, n) {
|
|
301
281
|
e.file(function(n) {
|
|
302
|
-
t(
|
|
282
|
+
t(M(n, e.fullPath));
|
|
303
283
|
}, function(e) {
|
|
304
284
|
n(e);
|
|
305
285
|
});
|
|
@@ -309,7 +289,7 @@ function pe(e) {
|
|
|
309
289
|
}
|
|
310
290
|
//#endregion
|
|
311
291
|
//#region ../node_modules/react-dropzone/dist/es/utils/index.js
|
|
312
|
-
var
|
|
292
|
+
var ue = /* @__PURE__ */ i((/* @__PURE__ */ e(((e) => {
|
|
313
293
|
e.__esModule = !0, e.default = function(e, t) {
|
|
314
294
|
if (e && t) {
|
|
315
295
|
var n = Array.isArray(t) ? t : t.split(",");
|
|
@@ -323,7 +303,7 @@ var me = /* @__PURE__ */ i((/* @__PURE__ */ e(((e) => {
|
|
|
323
303
|
return !0;
|
|
324
304
|
};
|
|
325
305
|
})))());
|
|
326
|
-
function
|
|
306
|
+
function Y(e, t) {
|
|
327
307
|
var n = Object.keys(e);
|
|
328
308
|
if (Object.getOwnPropertySymbols) {
|
|
329
309
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -333,18 +313,18 @@ function J(e, t) {
|
|
|
333
313
|
}
|
|
334
314
|
return n;
|
|
335
315
|
}
|
|
336
|
-
function
|
|
316
|
+
function de(e) {
|
|
337
317
|
for (var t = 1; t < arguments.length; t++) {
|
|
338
318
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
339
|
-
t % 2 ?
|
|
340
|
-
|
|
341
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
319
|
+
t % 2 ? Y(Object(n), !0).forEach(function(t) {
|
|
320
|
+
fe(e, t, n[t]);
|
|
321
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y(Object(n)).forEach(function(t) {
|
|
342
322
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
343
323
|
});
|
|
344
324
|
}
|
|
345
325
|
return e;
|
|
346
326
|
}
|
|
347
|
-
function
|
|
327
|
+
function fe(e, t, n) {
|
|
348
328
|
return t in e ? Object.defineProperty(e, t, {
|
|
349
329
|
value: n,
|
|
350
330
|
enumerable: !0,
|
|
@@ -352,26 +332,26 @@ function ge(e, t, n) {
|
|
|
352
332
|
writable: !0
|
|
353
333
|
}) : e[t] = n, e;
|
|
354
334
|
}
|
|
355
|
-
function
|
|
356
|
-
return
|
|
335
|
+
function pe(e, t) {
|
|
336
|
+
return ve(e) || _e(e, t) || he(e, t) || me();
|
|
357
337
|
}
|
|
358
|
-
function
|
|
338
|
+
function me() {
|
|
359
339
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
360
340
|
}
|
|
361
|
-
function
|
|
341
|
+
function he(e, t) {
|
|
362
342
|
if (e) {
|
|
363
|
-
if (typeof e == "string") return
|
|
343
|
+
if (typeof e == "string") return ge(e, t);
|
|
364
344
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
365
345
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
366
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
346
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ge(e, t);
|
|
367
347
|
}
|
|
368
348
|
}
|
|
369
|
-
function
|
|
349
|
+
function ge(e, t) {
|
|
370
350
|
(t == null || t > e.length) && (t = e.length);
|
|
371
351
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
372
352
|
return r;
|
|
373
353
|
}
|
|
374
|
-
function
|
|
354
|
+
function _e(e, t) {
|
|
375
355
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
376
356
|
if (n != null) {
|
|
377
357
|
var r = [], i = !0, a = !1, o, s;
|
|
@@ -389,98 +369,98 @@ function xe(e, t) {
|
|
|
389
369
|
return r;
|
|
390
370
|
}
|
|
391
371
|
}
|
|
392
|
-
function
|
|
372
|
+
function ve(e) {
|
|
393
373
|
if (Array.isArray(e)) return e;
|
|
394
374
|
}
|
|
395
|
-
var
|
|
375
|
+
var ye = "file-invalid-type", be = "file-too-large", xe = "file-too-small", Se = "too-many-files", Ce = function(e) {
|
|
396
376
|
return e = Array.isArray(e) && e.length === 1 ? e[0] : e, {
|
|
397
|
-
code:
|
|
377
|
+
code: ye,
|
|
398
378
|
message: `File type must be ${Array.isArray(e) ? `one of ${e.join(", ")}` : e}`
|
|
399
379
|
};
|
|
400
|
-
},
|
|
380
|
+
}, we = function(e) {
|
|
401
381
|
return {
|
|
402
|
-
code:
|
|
382
|
+
code: be,
|
|
403
383
|
message: `File is larger than ${e} ${e === 1 ? "byte" : "bytes"}`
|
|
404
384
|
};
|
|
405
|
-
},
|
|
385
|
+
}, Te = function(e) {
|
|
406
386
|
return {
|
|
407
|
-
code:
|
|
387
|
+
code: xe,
|
|
408
388
|
message: `File is smaller than ${e} ${e === 1 ? "byte" : "bytes"}`
|
|
409
389
|
};
|
|
410
|
-
},
|
|
411
|
-
code:
|
|
390
|
+
}, Ee = {
|
|
391
|
+
code: Se,
|
|
412
392
|
message: "Too many files"
|
|
413
393
|
};
|
|
414
|
-
function
|
|
415
|
-
var n = e.type === "application/x-moz-file" || (0,
|
|
416
|
-
return [n, n ? null :
|
|
417
|
-
}
|
|
418
|
-
function
|
|
419
|
-
if (
|
|
420
|
-
if (
|
|
421
|
-
if (e.size > n) return [!1,
|
|
422
|
-
if (e.size < t) return [!1,
|
|
423
|
-
} else if (
|
|
424
|
-
else if (
|
|
394
|
+
function De(e, t) {
|
|
395
|
+
var n = e.type === "application/x-moz-file" || (0, ue.default)(e, t);
|
|
396
|
+
return [n, n ? null : Ce(t)];
|
|
397
|
+
}
|
|
398
|
+
function Oe(e, t, n) {
|
|
399
|
+
if (X(e.size)) {
|
|
400
|
+
if (X(t) && X(n)) {
|
|
401
|
+
if (e.size > n) return [!1, we(n)];
|
|
402
|
+
if (e.size < t) return [!1, Te(t)];
|
|
403
|
+
} else if (X(t) && e.size < t) return [!1, Te(t)];
|
|
404
|
+
else if (X(n) && e.size > n) return [!1, we(n)];
|
|
425
405
|
}
|
|
426
406
|
return [!0, null];
|
|
427
407
|
}
|
|
428
|
-
function
|
|
408
|
+
function X(e) {
|
|
429
409
|
return e != null;
|
|
430
410
|
}
|
|
431
|
-
function
|
|
411
|
+
function ke(e) {
|
|
432
412
|
var t = e.files, n = e.accept, r = e.minSize, i = e.maxSize, a = e.multiple, o = e.maxFiles;
|
|
433
413
|
return !a && t.length > 1 || a && o >= 1 && t.length > o ? !1 : t.every(function(e) {
|
|
434
|
-
var t =
|
|
414
|
+
var t = pe(De(e, n), 1)[0], a = pe(Oe(e, r, i), 1)[0];
|
|
435
415
|
return t && a;
|
|
436
416
|
});
|
|
437
417
|
}
|
|
438
|
-
function
|
|
418
|
+
function Ae(e) {
|
|
439
419
|
return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : e.cancelBubble === void 0 ? !1 : e.cancelBubble;
|
|
440
420
|
}
|
|
441
|
-
function
|
|
421
|
+
function je(e) {
|
|
442
422
|
return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(e) {
|
|
443
423
|
return e === "Files" || e === "application/x-moz-file";
|
|
444
424
|
}) : !!e.target && !!e.target.files;
|
|
445
425
|
}
|
|
446
|
-
function
|
|
426
|
+
function Me(e) {
|
|
447
427
|
e.preventDefault();
|
|
448
428
|
}
|
|
449
|
-
function
|
|
429
|
+
function Ne(e) {
|
|
450
430
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
451
431
|
}
|
|
452
|
-
function
|
|
432
|
+
function Pe(e) {
|
|
453
433
|
return e.indexOf("Edge/") !== -1;
|
|
454
434
|
}
|
|
455
|
-
function
|
|
435
|
+
function Fe() {
|
|
456
436
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
457
|
-
return
|
|
437
|
+
return Ne(e) || Pe(e);
|
|
458
438
|
}
|
|
459
|
-
function
|
|
439
|
+
function Z() {
|
|
460
440
|
var e = [...arguments];
|
|
461
441
|
return function(t) {
|
|
462
442
|
var n = [...arguments].slice(1);
|
|
463
443
|
return e.some(function(e) {
|
|
464
|
-
return !
|
|
444
|
+
return !Ae(t) && e && e.apply(void 0, [t].concat(n)), Ae(t);
|
|
465
445
|
});
|
|
466
446
|
};
|
|
467
447
|
}
|
|
468
|
-
function
|
|
448
|
+
function Ie() {
|
|
469
449
|
return "showOpenFilePicker" in window;
|
|
470
450
|
}
|
|
471
|
-
function
|
|
451
|
+
function Le(e) {
|
|
472
452
|
return e = typeof e == "string" ? e.split(",") : e, [{
|
|
473
453
|
description: "everything",
|
|
474
454
|
accept: Array.isArray(e) ? e.filter(function(e) {
|
|
475
455
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
476
456
|
}).reduce(function(e, t) {
|
|
477
|
-
return
|
|
457
|
+
return de(de({}, e), {}, fe({}, t, []));
|
|
478
458
|
}, {}) : {}
|
|
479
459
|
}];
|
|
480
460
|
}
|
|
481
461
|
//#endregion
|
|
482
462
|
//#region ../node_modules/react-dropzone/dist/es/index.js
|
|
483
|
-
var
|
|
463
|
+
var Re = ["children"], ze = ["open"], Be = [
|
|
484
464
|
"refKey",
|
|
485
465
|
"role",
|
|
486
466
|
"onKeyDown",
|
|
@@ -491,43 +471,43 @@ var He = ["children"], Ue = ["open"], We = [
|
|
|
491
471
|
"onDragOver",
|
|
492
472
|
"onDragLeave",
|
|
493
473
|
"onDrop"
|
|
494
|
-
],
|
|
474
|
+
], Ve = [
|
|
495
475
|
"refKey",
|
|
496
476
|
"onChange",
|
|
497
477
|
"onClick"
|
|
498
478
|
];
|
|
499
|
-
function
|
|
500
|
-
return
|
|
479
|
+
function He(e) {
|
|
480
|
+
return Ge(e) || We(e) || Je(e) || Ue();
|
|
501
481
|
}
|
|
502
|
-
function
|
|
482
|
+
function Ue() {
|
|
503
483
|
throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
504
484
|
}
|
|
505
|
-
function
|
|
485
|
+
function We(e) {
|
|
506
486
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
507
487
|
}
|
|
508
|
-
function
|
|
509
|
-
if (Array.isArray(e)) return
|
|
488
|
+
function Ge(e) {
|
|
489
|
+
if (Array.isArray(e)) return Ye(e);
|
|
510
490
|
}
|
|
511
|
-
function
|
|
512
|
-
return
|
|
491
|
+
function Ke(e, t) {
|
|
492
|
+
return Ze(e) || Xe(e, t) || Je(e, t) || qe();
|
|
513
493
|
}
|
|
514
|
-
function
|
|
494
|
+
function qe() {
|
|
515
495
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
516
496
|
}
|
|
517
|
-
function
|
|
497
|
+
function Je(e, t) {
|
|
518
498
|
if (e) {
|
|
519
|
-
if (typeof e == "string") return
|
|
499
|
+
if (typeof e == "string") return Ye(e, t);
|
|
520
500
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
521
501
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
522
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
502
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ye(e, t);
|
|
523
503
|
}
|
|
524
504
|
}
|
|
525
|
-
function
|
|
505
|
+
function Ye(e, t) {
|
|
526
506
|
(t == null || t > e.length) && (t = e.length);
|
|
527
507
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
528
508
|
return r;
|
|
529
509
|
}
|
|
530
|
-
function
|
|
510
|
+
function Xe(e, t) {
|
|
531
511
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
532
512
|
if (n != null) {
|
|
533
513
|
var r = [], i = !0, a = !1, o, s;
|
|
@@ -545,10 +525,10 @@ function et(e, t) {
|
|
|
545
525
|
return r;
|
|
546
526
|
}
|
|
547
527
|
}
|
|
548
|
-
function
|
|
528
|
+
function Ze(e) {
|
|
549
529
|
if (Array.isArray(e)) return e;
|
|
550
530
|
}
|
|
551
|
-
function
|
|
531
|
+
function Qe(e, t) {
|
|
552
532
|
var n = Object.keys(e);
|
|
553
533
|
if (Object.getOwnPropertySymbols) {
|
|
554
534
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -558,18 +538,18 @@ function nt(e, t) {
|
|
|
558
538
|
}
|
|
559
539
|
return n;
|
|
560
540
|
}
|
|
561
|
-
function
|
|
541
|
+
function Q(e) {
|
|
562
542
|
for (var t = 1; t < arguments.length; t++) {
|
|
563
543
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
564
|
-
t % 2 ?
|
|
565
|
-
|
|
566
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
544
|
+
t % 2 ? Qe(Object(n), !0).forEach(function(t) {
|
|
545
|
+
$e(e, t, n[t]);
|
|
546
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qe(Object(n)).forEach(function(t) {
|
|
567
547
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
568
548
|
});
|
|
569
549
|
}
|
|
570
550
|
return e;
|
|
571
551
|
}
|
|
572
|
-
function
|
|
552
|
+
function $e(e, t, n) {
|
|
573
553
|
return t in e ? Object.defineProperty(e, t, {
|
|
574
554
|
value: n,
|
|
575
555
|
enumerable: !0,
|
|
@@ -577,31 +557,31 @@ function rt(e, t, n) {
|
|
|
577
557
|
writable: !0
|
|
578
558
|
}) : e[t] = n, e;
|
|
579
559
|
}
|
|
580
|
-
function
|
|
560
|
+
function et(e, t) {
|
|
581
561
|
if (e == null) return {};
|
|
582
|
-
var n =
|
|
562
|
+
var n = tt(e, t), r, i;
|
|
583
563
|
if (Object.getOwnPropertySymbols) {
|
|
584
564
|
var a = Object.getOwnPropertySymbols(e);
|
|
585
565
|
for (i = 0; i < a.length; i++) r = a[i], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
|
|
586
566
|
}
|
|
587
567
|
return n;
|
|
588
568
|
}
|
|
589
|
-
function
|
|
569
|
+
function tt(e, t) {
|
|
590
570
|
if (e == null) return {};
|
|
591
571
|
var n = {}, r = Object.keys(e), i, a;
|
|
592
572
|
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
593
573
|
return n;
|
|
594
574
|
}
|
|
595
|
-
var
|
|
596
|
-
var n = e.children, r =
|
|
597
|
-
return (0,
|
|
575
|
+
var nt = /*#__PURE__*/ (0, k.forwardRef)(function(e, t) {
|
|
576
|
+
var n = e.children, r = at(et(e, Re)), i = r.open, a = et(r, ze);
|
|
577
|
+
return (0, k.useImperativeHandle)(t, function() {
|
|
598
578
|
return { open: i };
|
|
599
|
-
}, [i]), /*#__PURE__*/
|
|
579
|
+
}, [i]), /*#__PURE__*/ k.createElement(k.Fragment, null, n(Q(Q({}, a), {}, { open: i })));
|
|
600
580
|
});
|
|
601
|
-
|
|
602
|
-
var
|
|
581
|
+
nt.displayName = "Dropzone";
|
|
582
|
+
var rt = {
|
|
603
583
|
disabled: !1,
|
|
604
|
-
getFilesFromEvent:
|
|
584
|
+
getFilesFromEvent: F,
|
|
605
585
|
maxSize: Infinity,
|
|
606
586
|
minSize: 0,
|
|
607
587
|
multiple: !0,
|
|
@@ -614,32 +594,32 @@ var ot = {
|
|
|
614
594
|
validator: null,
|
|
615
595
|
useFsAccessApi: !1
|
|
616
596
|
};
|
|
617
|
-
|
|
618
|
-
children:
|
|
619
|
-
accept:
|
|
620
|
-
multiple:
|
|
621
|
-
preventDropOnDocument:
|
|
622
|
-
noClick:
|
|
623
|
-
noKeyboard:
|
|
624
|
-
noDrag:
|
|
625
|
-
noDragEventsBubbling:
|
|
626
|
-
minSize:
|
|
627
|
-
maxSize:
|
|
628
|
-
maxFiles:
|
|
629
|
-
disabled:
|
|
630
|
-
getFilesFromEvent:
|
|
631
|
-
onFileDialogCancel:
|
|
632
|
-
onFileDialogOpen:
|
|
633
|
-
useFsAccessApi:
|
|
634
|
-
onDragEnter:
|
|
635
|
-
onDragLeave:
|
|
636
|
-
onDragOver:
|
|
637
|
-
onDrop:
|
|
638
|
-
onDropAccepted:
|
|
639
|
-
onDropRejected:
|
|
640
|
-
validator:
|
|
597
|
+
nt.defaultProps = rt, nt.propTypes = {
|
|
598
|
+
children: O.default.func,
|
|
599
|
+
accept: O.default.oneOfType([O.default.string, O.default.arrayOf(O.default.string)]),
|
|
600
|
+
multiple: O.default.bool,
|
|
601
|
+
preventDropOnDocument: O.default.bool,
|
|
602
|
+
noClick: O.default.bool,
|
|
603
|
+
noKeyboard: O.default.bool,
|
|
604
|
+
noDrag: O.default.bool,
|
|
605
|
+
noDragEventsBubbling: O.default.bool,
|
|
606
|
+
minSize: O.default.number,
|
|
607
|
+
maxSize: O.default.number,
|
|
608
|
+
maxFiles: O.default.number,
|
|
609
|
+
disabled: O.default.bool,
|
|
610
|
+
getFilesFromEvent: O.default.func,
|
|
611
|
+
onFileDialogCancel: O.default.func,
|
|
612
|
+
onFileDialogOpen: O.default.func,
|
|
613
|
+
useFsAccessApi: O.default.bool,
|
|
614
|
+
onDragEnter: O.default.func,
|
|
615
|
+
onDragLeave: O.default.func,
|
|
616
|
+
onDragOver: O.default.func,
|
|
617
|
+
onDrop: O.default.func,
|
|
618
|
+
onDropAccepted: O.default.func,
|
|
619
|
+
onDropRejected: O.default.func,
|
|
620
|
+
validator: O.default.func
|
|
641
621
|
};
|
|
642
|
-
var
|
|
622
|
+
var it = {
|
|
643
623
|
isFocused: !1,
|
|
644
624
|
isFileDialogActive: !1,
|
|
645
625
|
isDragActive: !1,
|
|
@@ -649,37 +629,37 @@ var st = {
|
|
|
649
629
|
acceptedFiles: [],
|
|
650
630
|
fileRejections: []
|
|
651
631
|
};
|
|
652
|
-
function
|
|
653
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t =
|
|
654
|
-
return typeof
|
|
655
|
-
}, [
|
|
656
|
-
return typeof
|
|
657
|
-
}, [
|
|
658
|
-
|
|
659
|
-
|
|
632
|
+
function at() {
|
|
633
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, rt), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, f = t.onDrop, p = t.onDropAccepted, m = t.onDropRejected, ee = t.onFileDialogCancel, te = t.onFileDialogOpen, h = t.useFsAccessApi, ne = t.preventDropOnDocument, re = t.noClick, g = t.noKeyboard, ie = t.noDrag, _ = t.noDragEventsBubbling, v = t.validator, y = (0, k.useMemo)(function() {
|
|
634
|
+
return typeof te == "function" ? te : st;
|
|
635
|
+
}, [te]), b = (0, k.useMemo)(function() {
|
|
636
|
+
return typeof ee == "function" ? ee : st;
|
|
637
|
+
}, [ee]), x = (0, k.useRef)(null), S = (0, k.useRef)(null), C = Ke((0, k.useReducer)(ot, it), 2), w = C[0], T = C[1], ae = w.isFocused, E = w.isFileDialogActive, oe = w.draggedFiles, se = function() {
|
|
638
|
+
E && setTimeout(function() {
|
|
639
|
+
S.current && (S.current.files.length || (T({ type: "closeDialog" }), b()));
|
|
660
640
|
}, 300);
|
|
661
641
|
};
|
|
662
|
-
(0,
|
|
663
|
-
return
|
|
664
|
-
window.removeEventListener("focus",
|
|
642
|
+
(0, k.useEffect)(function() {
|
|
643
|
+
return h && Ie() ? function() {} : (window.addEventListener("focus", se, !1), function() {
|
|
644
|
+
window.removeEventListener("focus", se, !1);
|
|
665
645
|
});
|
|
666
646
|
}, [
|
|
667
|
-
w,
|
|
668
|
-
O,
|
|
669
647
|
S,
|
|
670
|
-
|
|
648
|
+
E,
|
|
649
|
+
b,
|
|
650
|
+
h
|
|
671
651
|
]);
|
|
672
|
-
var
|
|
673
|
-
|
|
652
|
+
var D = (0, k.useRef)([]), O = function(e) {
|
|
653
|
+
x.current && x.current.contains(e.target) || (e.preventDefault(), D.current = []);
|
|
674
654
|
};
|
|
675
|
-
(0,
|
|
676
|
-
return
|
|
677
|
-
|
|
655
|
+
(0, k.useEffect)(function() {
|
|
656
|
+
return ne && (document.addEventListener("dragover", Me, !1), document.addEventListener("drop", O, !1)), function() {
|
|
657
|
+
ne && (document.removeEventListener("dragover", Me), document.removeEventListener("drop", O));
|
|
678
658
|
};
|
|
679
|
-
}, [
|
|
680
|
-
var
|
|
681
|
-
e.preventDefault(), e.persist(),
|
|
682
|
-
|
|
659
|
+
}, [x, ne]);
|
|
660
|
+
var A = (0, k.useCallback)(function(e) {
|
|
661
|
+
e.preventDefault(), e.persist(), H(e), D.current = [].concat(He(D.current), [e.target]), je(e) && Promise.resolve(i(e)).then(function(t) {
|
|
662
|
+
Ae(e) && !_ || (T({
|
|
683
663
|
draggedFiles: t,
|
|
684
664
|
isDragActive: !0,
|
|
685
665
|
type: "setDraggedFiles"
|
|
@@ -688,32 +668,32 @@ function ct() {
|
|
|
688
668
|
}, [
|
|
689
669
|
i,
|
|
690
670
|
l,
|
|
691
|
-
|
|
692
|
-
]),
|
|
693
|
-
e.preventDefault(), e.persist(),
|
|
694
|
-
var t =
|
|
671
|
+
_
|
|
672
|
+
]), ce = (0, k.useCallback)(function(e) {
|
|
673
|
+
e.preventDefault(), e.persist(), H(e);
|
|
674
|
+
var t = je(e);
|
|
695
675
|
if (t && e.dataTransfer) try {
|
|
696
676
|
e.dataTransfer.dropEffect = "copy";
|
|
697
677
|
} catch {}
|
|
698
678
|
return t && d && d(e), !1;
|
|
699
|
-
}, [d,
|
|
700
|
-
e.preventDefault(), e.persist(),
|
|
701
|
-
var t =
|
|
702
|
-
return
|
|
679
|
+
}, [d, _]), j = (0, k.useCallback)(function(e) {
|
|
680
|
+
e.preventDefault(), e.persist(), H(e);
|
|
681
|
+
var t = D.current.filter(function(e) {
|
|
682
|
+
return x.current && x.current.contains(e);
|
|
703
683
|
}), n = t.indexOf(e.target);
|
|
704
|
-
n !== -1 && t.splice(n, 1),
|
|
684
|
+
n !== -1 && t.splice(n, 1), D.current = t, !(t.length > 0) && (T({
|
|
705
685
|
isDragActive: !1,
|
|
706
686
|
type: "setDraggedFiles",
|
|
707
687
|
draggedFiles: []
|
|
708
|
-
}),
|
|
688
|
+
}), je(e) && u && u(e));
|
|
709
689
|
}, [
|
|
710
|
-
|
|
690
|
+
x,
|
|
711
691
|
u,
|
|
712
|
-
|
|
713
|
-
]),
|
|
692
|
+
_
|
|
693
|
+
]), M = (0, k.useCallback)(function(e, t) {
|
|
714
694
|
var r = [], i = [];
|
|
715
695
|
e.forEach(function(e) {
|
|
716
|
-
var t =
|
|
696
|
+
var t = Ke(De(e, n), 2), s = t[0], c = t[1], l = Ke(Oe(e, o, a), 2), u = l[0], d = l[1], f = v ? v(e) : null;
|
|
717
697
|
if (s && u && !f) r.push(e);
|
|
718
698
|
else {
|
|
719
699
|
var p = [c, d];
|
|
@@ -727,15 +707,15 @@ function ct() {
|
|
|
727
707
|
}), (!s && r.length > 1 || s && c >= 1 && r.length > c) && (r.forEach(function(e) {
|
|
728
708
|
i.push({
|
|
729
709
|
file: e,
|
|
730
|
-
errors: [
|
|
710
|
+
errors: [Ee]
|
|
731
711
|
});
|
|
732
|
-
}), r.splice(0)),
|
|
712
|
+
}), r.splice(0)), T({
|
|
733
713
|
acceptedFiles: r,
|
|
734
714
|
fileRejections: i,
|
|
735
715
|
type: "setFiles"
|
|
736
716
|
}), f && f(r, i, t), i.length > 0 && m && m(i, t), r.length > 0 && p && p(r, t);
|
|
737
717
|
}, [
|
|
738
|
-
|
|
718
|
+
T,
|
|
739
719
|
s,
|
|
740
720
|
n,
|
|
741
721
|
o,
|
|
@@ -744,166 +724,166 @@ function ct() {
|
|
|
744
724
|
f,
|
|
745
725
|
p,
|
|
746
726
|
m,
|
|
747
|
-
|
|
748
|
-
]),
|
|
749
|
-
e.preventDefault(), e.persist(),
|
|
750
|
-
|
|
751
|
-
}),
|
|
727
|
+
v
|
|
728
|
+
]), N = (0, k.useCallback)(function(e) {
|
|
729
|
+
e.preventDefault(), e.persist(), H(e), D.current = [], je(e) && Promise.resolve(i(e)).then(function(t) {
|
|
730
|
+
Ae(e) && !_ || M(t, e);
|
|
731
|
+
}), T({ type: "reset" });
|
|
752
732
|
}, [
|
|
753
733
|
i,
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
]),
|
|
757
|
-
if (
|
|
758
|
-
|
|
734
|
+
M,
|
|
735
|
+
_
|
|
736
|
+
]), P = (0, k.useCallback)(function() {
|
|
737
|
+
if (h && Ie()) {
|
|
738
|
+
T({ type: "openDialog" }), y();
|
|
759
739
|
var e = {
|
|
760
740
|
multiple: s,
|
|
761
|
-
types:
|
|
741
|
+
types: Le(n)
|
|
762
742
|
};
|
|
763
743
|
window.showOpenFilePicker(e).then(function(e) {
|
|
764
744
|
return i(e);
|
|
765
745
|
}).then(function(e) {
|
|
766
|
-
return
|
|
746
|
+
return M(e, null);
|
|
767
747
|
}).catch(function(e) {
|
|
768
|
-
return
|
|
748
|
+
return b(e);
|
|
769
749
|
}).finally(function() {
|
|
770
|
-
return
|
|
750
|
+
return T({ type: "closeDialog" });
|
|
771
751
|
});
|
|
772
752
|
return;
|
|
773
753
|
}
|
|
774
|
-
|
|
754
|
+
S.current && (T({ type: "openDialog" }), y(), S.current.value = null, S.current.click());
|
|
775
755
|
}, [
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
756
|
+
T,
|
|
757
|
+
y,
|
|
758
|
+
b,
|
|
759
|
+
h,
|
|
760
|
+
M,
|
|
781
761
|
n,
|
|
782
762
|
s
|
|
783
|
-
]),
|
|
784
|
-
!
|
|
763
|
+
]), F = (0, k.useCallback)(function(e) {
|
|
764
|
+
!x.current || !x.current.isEqualNode(e.target) || (e.keyCode === 32 || e.keyCode === 13) && (e.preventDefault(), P());
|
|
785
765
|
}, [
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
]),
|
|
790
|
-
|
|
791
|
-
}, []),
|
|
792
|
-
|
|
793
|
-
}, []),
|
|
794
|
-
|
|
766
|
+
x,
|
|
767
|
+
S,
|
|
768
|
+
P
|
|
769
|
+
]), I = (0, k.useCallback)(function() {
|
|
770
|
+
T({ type: "focus" });
|
|
771
|
+
}, []), L = (0, k.useCallback)(function() {
|
|
772
|
+
T({ type: "blur" });
|
|
773
|
+
}, []), R = (0, k.useCallback)(function() {
|
|
774
|
+
re || (Fe() ? setTimeout(P, 0) : P());
|
|
795
775
|
}, [
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
]),
|
|
776
|
+
S,
|
|
777
|
+
re,
|
|
778
|
+
P
|
|
779
|
+
]), z = function(e) {
|
|
800
780
|
return r ? null : e;
|
|
801
|
-
},
|
|
802
|
-
return
|
|
803
|
-
},
|
|
804
|
-
return
|
|
805
|
-
},
|
|
806
|
-
|
|
807
|
-
},
|
|
781
|
+
}, B = function(e) {
|
|
782
|
+
return g ? null : z(e);
|
|
783
|
+
}, V = function(e) {
|
|
784
|
+
return ie ? null : z(e);
|
|
785
|
+
}, H = function(e) {
|
|
786
|
+
_ && e.stopPropagation();
|
|
787
|
+
}, U = (0, k.useMemo)(function() {
|
|
808
788
|
return function() {
|
|
809
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, i = e.role, a = e.onKeyDown, o = e.onFocus, s = e.onBlur, c = e.onClick, l = e.onDragEnter, u = e.onDragOver, d = e.onDragLeave, f = e.onDrop, p =
|
|
810
|
-
return
|
|
811
|
-
onKeyDown:
|
|
812
|
-
onFocus:
|
|
813
|
-
onBlur:
|
|
814
|
-
onClick:
|
|
815
|
-
onDragEnter:
|
|
816
|
-
onDragOver:
|
|
817
|
-
onDragLeave:
|
|
818
|
-
onDrop:
|
|
789
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, i = e.role, a = e.onKeyDown, o = e.onFocus, s = e.onBlur, c = e.onClick, l = e.onDragEnter, u = e.onDragOver, d = e.onDragLeave, f = e.onDrop, p = et(e, Be);
|
|
790
|
+
return Q(Q($e({
|
|
791
|
+
onKeyDown: B(Z(a, F)),
|
|
792
|
+
onFocus: B(Z(o, I)),
|
|
793
|
+
onBlur: B(Z(s, L)),
|
|
794
|
+
onClick: z(Z(c, R)),
|
|
795
|
+
onDragEnter: V(Z(l, A)),
|
|
796
|
+
onDragOver: V(Z(u, ce)),
|
|
797
|
+
onDragLeave: V(Z(d, j)),
|
|
798
|
+
onDrop: V(Z(f, N)),
|
|
819
799
|
role: typeof i == "string" && i !== "" ? i : "button"
|
|
820
|
-
}, n,
|
|
800
|
+
}, n, x), !r && !g ? { tabIndex: 0 } : {}), p);
|
|
821
801
|
};
|
|
822
802
|
}, [
|
|
823
|
-
|
|
803
|
+
x,
|
|
804
|
+
F,
|
|
805
|
+
I,
|
|
806
|
+
L,
|
|
824
807
|
R,
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
V,
|
|
808
|
+
A,
|
|
809
|
+
ce,
|
|
828
810
|
j,
|
|
829
811
|
N,
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
v,
|
|
833
|
-
ne,
|
|
812
|
+
g,
|
|
813
|
+
ie,
|
|
834
814
|
r
|
|
835
|
-
]),
|
|
815
|
+
]), W = (0, k.useCallback)(function(e) {
|
|
836
816
|
e.stopPropagation();
|
|
837
|
-
}, []),
|
|
817
|
+
}, []), G = (0, k.useMemo)(function() {
|
|
838
818
|
return function() {
|
|
839
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, r = t === void 0 ? "ref" : t, i = e.onChange, a = e.onClick, o =
|
|
840
|
-
return
|
|
819
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, r = t === void 0 ? "ref" : t, i = e.onChange, a = e.onClick, o = et(e, Ve);
|
|
820
|
+
return Q(Q({}, $e({
|
|
841
821
|
accept: n,
|
|
842
822
|
multiple: s,
|
|
843
823
|
type: "file",
|
|
844
824
|
style: { display: "none" },
|
|
845
|
-
onChange:
|
|
846
|
-
onClick:
|
|
825
|
+
onChange: z(Z(i, N)),
|
|
826
|
+
onClick: z(Z(a, W)),
|
|
847
827
|
autoComplete: "off",
|
|
848
828
|
tabIndex: -1
|
|
849
|
-
}, r,
|
|
829
|
+
}, r, S)), o);
|
|
850
830
|
};
|
|
851
831
|
}, [
|
|
852
|
-
|
|
832
|
+
S,
|
|
853
833
|
n,
|
|
854
834
|
s,
|
|
855
|
-
|
|
835
|
+
N,
|
|
856
836
|
r
|
|
857
|
-
]),
|
|
858
|
-
files:
|
|
837
|
+
]), K = oe.length, q = K > 0 && ke({
|
|
838
|
+
files: oe,
|
|
859
839
|
accept: n,
|
|
860
840
|
minSize: o,
|
|
861
841
|
maxSize: a,
|
|
862
842
|
multiple: s,
|
|
863
843
|
maxFiles: c
|
|
864
|
-
}),
|
|
865
|
-
return
|
|
866
|
-
isDragAccept:
|
|
867
|
-
isDragReject:
|
|
868
|
-
isFocused:
|
|
869
|
-
getRootProps:
|
|
870
|
-
getInputProps:
|
|
871
|
-
rootRef:
|
|
872
|
-
inputRef:
|
|
873
|
-
open:
|
|
844
|
+
}), J = K > 0 && !q;
|
|
845
|
+
return Q(Q({}, w), {}, {
|
|
846
|
+
isDragAccept: q,
|
|
847
|
+
isDragReject: J,
|
|
848
|
+
isFocused: ae && !r,
|
|
849
|
+
getRootProps: U,
|
|
850
|
+
getInputProps: G,
|
|
851
|
+
rootRef: x,
|
|
852
|
+
inputRef: S,
|
|
853
|
+
open: z(P)
|
|
874
854
|
});
|
|
875
855
|
}
|
|
876
|
-
function
|
|
856
|
+
function ot(e, t) {
|
|
877
857
|
/* istanbul ignore next */
|
|
878
858
|
switch (t.type) {
|
|
879
|
-
case "focus": return
|
|
880
|
-
case "blur": return
|
|
881
|
-
case "openDialog": return
|
|
882
|
-
case "closeDialog": return
|
|
859
|
+
case "focus": return Q(Q({}, e), {}, { isFocused: !0 });
|
|
860
|
+
case "blur": return Q(Q({}, e), {}, { isFocused: !1 });
|
|
861
|
+
case "openDialog": return Q(Q({}, it), {}, { isFileDialogActive: !0 });
|
|
862
|
+
case "closeDialog": return Q(Q({}, e), {}, { isFileDialogActive: !1 });
|
|
883
863
|
case "setDraggedFiles":
|
|
884
864
|
var n = t.isDragActive, r = t.draggedFiles;
|
|
885
|
-
return
|
|
865
|
+
return Q(Q({}, e), {}, {
|
|
886
866
|
draggedFiles: r,
|
|
887
867
|
isDragActive: n
|
|
888
868
|
});
|
|
889
|
-
case "setFiles": return
|
|
869
|
+
case "setFiles": return Q(Q({}, e), {}, {
|
|
890
870
|
acceptedFiles: t.acceptedFiles,
|
|
891
871
|
fileRejections: t.fileRejections
|
|
892
872
|
});
|
|
893
|
-
case "reset": return
|
|
873
|
+
case "reset": return Q({}, it);
|
|
894
874
|
default: return e;
|
|
895
875
|
}
|
|
896
876
|
}
|
|
897
|
-
function
|
|
877
|
+
function st() {}
|
|
898
878
|
//#endregion
|
|
899
879
|
//#region src/lib/ServerApi/VerificationRequestSetters.ts
|
|
900
|
-
var
|
|
880
|
+
var ct = (e, t, n) => a(e, (r) => {
|
|
901
881
|
Object.keys(e).filter((t) => !!e[t] && t.includes("file")).map((t) => e[t]).concat(t, [
|
|
902
882
|
,
|
|
903
883
|
,
|
|
904
884
|
,
|
|
905
885
|
].fill(void 0)).splice(0, 3).forEach((e, t) => r[`file${t + 1}`] = e), n ? r.erroredFileNames = n : r.erroredFileNames = void 0;
|
|
906
|
-
}),
|
|
886
|
+
}), lt = (e, t) => {
|
|
907
887
|
if (![
|
|
908
888
|
1,
|
|
909
889
|
2,
|
|
@@ -916,26 +896,24 @@ var dt = (e, t, n) => a(e, (r) => {
|
|
|
916
896
|
,
|
|
917
897
|
].fill(void 0)).splice(0, 3).forEach((e, t) => n[`file${t + 1}`] = e);
|
|
918
898
|
});
|
|
919
|
-
};
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
let [i, a] = (0, M.useState)(r === "open"), o = `${n}-region`;
|
|
924
|
-
return /* @__PURE__ */ (0, j.jsxs)("section", {
|
|
899
|
+
}, $ = m();
|
|
900
|
+
function ut({ title: e, children: t, id: n, defaultState: r = "closed" }) {
|
|
901
|
+
let [i, a] = (0, k.useState)(r === "open"), o = `${n}-region`;
|
|
902
|
+
return /* @__PURE__ */ (0, $.jsxs)("section", {
|
|
925
903
|
className: `sid-expanding-section sid-expanding-section-${n} sid-l-space-top-sm sid-l-space-btm-sm`,
|
|
926
|
-
children: [/* @__PURE__ */ (0,
|
|
904
|
+
children: [/* @__PURE__ */ (0, $.jsx)("header", { children: /* @__PURE__ */ (0, $.jsxs)("button", {
|
|
927
905
|
"aria-controls": o,
|
|
928
906
|
"aria-expanded": i,
|
|
929
907
|
id: n,
|
|
930
908
|
type: "button",
|
|
931
909
|
className: "sid-expanding-section__title",
|
|
932
910
|
onClick: () => a(!i),
|
|
933
|
-
children: [/* @__PURE__ */ (0,
|
|
934
|
-
}) }), /* @__PURE__ */ (0,
|
|
911
|
+
children: [/* @__PURE__ */ (0, $.jsx)("span", { children: e }), /* @__PURE__ */ (0, $.jsx)("div", { className: `sid-expanding-section__indicator sid-expanding-section__indicator--state-${i ? "open" : "closed"}` })]
|
|
912
|
+
}) }), /* @__PURE__ */ (0, $.jsx)("div", {
|
|
935
913
|
id: o,
|
|
936
914
|
role: "region",
|
|
937
915
|
"aria-labelledby": n,
|
|
938
|
-
children: i && /* @__PURE__ */ (0,
|
|
916
|
+
children: i && /* @__PURE__ */ (0, $.jsx)("div", {
|
|
939
917
|
className: "sid-expanding-section__children",
|
|
940
918
|
children: t
|
|
941
919
|
})
|
|
@@ -944,7 +922,7 @@ function $({ title: e, children: t, id: n, defaultState: r = "closed" }) {
|
|
|
944
922
|
}
|
|
945
923
|
//#endregion
|
|
946
924
|
//#region src/components/UploadInfoComponent/getLegacyUploadInfo.ts
|
|
947
|
-
var
|
|
925
|
+
var dt = {
|
|
948
926
|
[u.STUDENT]: [
|
|
949
927
|
"step.docUpload.uploadInfo.fullName",
|
|
950
928
|
"step.docUpload.uploadInfo.student.school",
|
|
@@ -992,7 +970,7 @@ var pt = {
|
|
|
992
970
|
"step.docUpload.uploadInfo.recentMover.address",
|
|
993
971
|
"step.docUpload.uploadInfo.recentMover.validDate"
|
|
994
972
|
]
|
|
995
|
-
},
|
|
973
|
+
}, ft = {
|
|
996
974
|
[l.ACTIVE_DUTY]: [],
|
|
997
975
|
[l.VETERAN]: [],
|
|
998
976
|
[l.RESERVIST]: [],
|
|
@@ -1020,7 +998,7 @@ var pt = {
|
|
|
1020
998
|
[l.ARCHITECT]: [],
|
|
1021
999
|
[l.GENERAL_CONTRACTOR]: [],
|
|
1022
1000
|
[l.NUTRITION_PROFESSIONAL]: []
|
|
1023
|
-
},
|
|
1001
|
+
}, pt = {
|
|
1024
1002
|
[l.MILITARY_FAMILY]: ["step.docUpload.uploadInfo.military.uploadInstructionsDependent"],
|
|
1025
1003
|
[l.GRADUATE]: [
|
|
1026
1004
|
"step.docUpload.uploadInfo.fullName",
|
|
@@ -1028,589 +1006,12 @@ var pt = {
|
|
|
1028
1006
|
"step.docUpload.uploadInfo.student.graduate.degreeConferral"
|
|
1029
1007
|
]
|
|
1030
1008
|
};
|
|
1031
|
-
function
|
|
1032
|
-
return
|
|
1009
|
+
function mt(e, t) {
|
|
1010
|
+
return pt[t] || [...ft[t] || [], ...dt[e] || []];
|
|
1033
1011
|
}
|
|
1034
1012
|
//#endregion
|
|
1035
|
-
//#region src/components/StepDocUpload/
|
|
1036
|
-
var
|
|
1037
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1038
|
-
width: 168,
|
|
1039
|
-
height: 168,
|
|
1040
|
-
fill: "none",
|
|
1041
|
-
viewBox: "0 0 168 168",
|
|
1042
|
-
...e,
|
|
1043
|
-
children: [
|
|
1044
|
-
/* @__PURE__ */ (0, j.jsx)("circle", {
|
|
1045
|
-
cx: 83.514,
|
|
1046
|
-
cy: 85.516,
|
|
1047
|
-
r: 64,
|
|
1048
|
-
fill: "#F1F5F9",
|
|
1049
|
-
transform: "rotate(5.116 83.514 85.516)"
|
|
1050
|
-
}),
|
|
1051
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1052
|
-
width: 69.14,
|
|
1053
|
-
height: 130.872,
|
|
1054
|
-
x: 37.134,
|
|
1055
|
-
y: 27.051,
|
|
1056
|
-
fill: "#fff",
|
|
1057
|
-
rx: 8,
|
|
1058
|
-
transform: "rotate(-11.496 37.134 27.05)"
|
|
1059
|
-
}),
|
|
1060
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1061
|
-
fill: "#94A3B8",
|
|
1062
|
-
d: "m44.394 50.569 62.986-12.81 10.335 50.815-62.986 12.81z",
|
|
1063
|
-
opacity: .7
|
|
1064
|
-
}),
|
|
1065
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1066
|
-
width: 59.482,
|
|
1067
|
-
height: 42.197,
|
|
1068
|
-
x: 81.641,
|
|
1069
|
-
y: 46.525,
|
|
1070
|
-
fill: "#fff",
|
|
1071
|
-
stroke: "#0F172A",
|
|
1072
|
-
strokeWidth: 2.25,
|
|
1073
|
-
rx: 3.225,
|
|
1074
|
-
transform: "rotate(-1.248 81.64 46.525)"
|
|
1075
|
-
}),
|
|
1076
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1077
|
-
fill: "#B0BCCC",
|
|
1078
|
-
d: "m83.376 80.513 57.558-1.025.088 5a2 2 0 0 1-1.964 2.034l-53.558.954a2 2 0 0 1-2.035-1.964l-.089-4.999ZM140.162 53.003l-57.208 1.5-.108-4.791a2.06 2.06 0 0 1 2.006-2.106l52.899-1.387a2.25 2.25 0 0 1 2.308 2.199l.103 4.585Z"
|
|
1079
|
-
}),
|
|
1080
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1081
|
-
stroke: "#000",
|
|
1082
|
-
strokeLinecap: "round",
|
|
1083
|
-
strokeLinejoin: "round",
|
|
1084
|
-
strokeWidth: 2,
|
|
1085
|
-
d: "M102.982 73.725a7.491 7.491 0 0 0-5.983-2.975 7.489 7.489 0 0 0-5.981 2.975m11.964 0a9 9 0 1 0-11.965 0m11.965 0A8.97 8.97 0 0 1 96.999 76a8.966 8.966 0 0 1-5.981-2.275m8.981-8.975a3 3 0 1 1-5.998 0 3 3 0 0 1 5.998 0Z"
|
|
1086
|
-
}),
|
|
1087
|
-
/* @__PURE__ */ (0, j.jsx)("circle", {
|
|
1088
|
-
cx: 93.647,
|
|
1089
|
-
cy: 131.469,
|
|
1090
|
-
r: 4.939,
|
|
1091
|
-
fill: "#0F172A",
|
|
1092
|
-
transform: "rotate(-11.496 93.647 131.469)"
|
|
1093
|
-
}),
|
|
1094
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1095
|
-
stroke: "#000",
|
|
1096
|
-
strokeWidth: 2,
|
|
1097
|
-
d: "M111 63h23M111 67h17M111 71h19"
|
|
1098
|
-
}),
|
|
1099
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1100
|
-
width: 66.14,
|
|
1101
|
-
height: 127.872,
|
|
1102
|
-
x: 38.903,
|
|
1103
|
-
y: 28.222,
|
|
1104
|
-
stroke: "#000",
|
|
1105
|
-
strokeWidth: 3,
|
|
1106
|
-
rx: 6.5,
|
|
1107
|
-
transform: "rotate(-11.496 38.903 28.222)"
|
|
1108
|
-
})
|
|
1109
|
-
]
|
|
1110
|
-
}), vt = (e) => /* @__PURE__ */ (0, j.jsxs)("svg", {
|
|
1111
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1112
|
-
width: 80,
|
|
1113
|
-
height: 80,
|
|
1114
|
-
fill: "none",
|
|
1115
|
-
viewBox: "0 0 80 80",
|
|
1116
|
-
...e,
|
|
1117
|
-
children: [
|
|
1118
|
-
/* @__PURE__ */ (0, j.jsx)("circle", {
|
|
1119
|
-
cx: 41.757,
|
|
1120
|
-
cy: 42.758,
|
|
1121
|
-
r: 32,
|
|
1122
|
-
fill: "#F1F5F9",
|
|
1123
|
-
transform: "rotate(5.116 41.757 42.758)"
|
|
1124
|
-
}),
|
|
1125
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1126
|
-
width: 34.57,
|
|
1127
|
-
height: 65.436,
|
|
1128
|
-
x: 18.566,
|
|
1129
|
-
y: 13.525,
|
|
1130
|
-
fill: "#fff",
|
|
1131
|
-
rx: 4,
|
|
1132
|
-
transform: "rotate(-11.496 18.566 13.525)"
|
|
1133
|
-
}),
|
|
1134
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1135
|
-
fill: "#94A3B8",
|
|
1136
|
-
d: "M22.197 25.285 53.69 18.88l5.168 25.407-31.494 6.405z",
|
|
1137
|
-
opacity: .7
|
|
1138
|
-
}),
|
|
1139
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1140
|
-
width: 29.741,
|
|
1141
|
-
height: 21.099,
|
|
1142
|
-
x: 40.821,
|
|
1143
|
-
y: 23.263,
|
|
1144
|
-
fill: "#fff",
|
|
1145
|
-
stroke: "#0F172A",
|
|
1146
|
-
strokeWidth: 1.125,
|
|
1147
|
-
rx: 1.613,
|
|
1148
|
-
transform: "rotate(-1.248 40.82 23.263)"
|
|
1149
|
-
}),
|
|
1150
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1151
|
-
stroke: "#000",
|
|
1152
|
-
strokeLinecap: "round",
|
|
1153
|
-
strokeLinejoin: "round",
|
|
1154
|
-
d: "M51.991 37.363a3.743 3.743 0 0 0-2.99-1.488 3.745 3.745 0 0 0-2.992 1.488m5.982 0A4.499 4.499 0 0 0 49 29.5a4.5 4.5 0 0 0-2.99 7.863m5.981 0a4.484 4.484 0 0 1-2.99 1.137 4.483 4.483 0 0 1-2.992-1.137m4.491-4.488a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"
|
|
1155
|
-
}),
|
|
1156
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1157
|
-
stroke: "#000",
|
|
1158
|
-
d: "M56 32h11.5M56 34h8.5M56 36h9.5"
|
|
1159
|
-
}),
|
|
1160
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1161
|
-
fill: "#B0BCCC",
|
|
1162
|
-
d: "m41.688 40.257 28.778-.513.045 2.5a1 1 0 0 1-.982 1.017l-26.78.477a1 1 0 0 1-1.017-.982l-.044-2.5ZM70.082 26.502l-28.604.75-.054-2.396a1.03 1.03 0 0 1 1.002-1.053l26.45-.693a1.125 1.125 0 0 1 1.154 1.099l.052 2.293Z"
|
|
1163
|
-
}),
|
|
1164
|
-
/* @__PURE__ */ (0, j.jsx)("circle", {
|
|
1165
|
-
cx: 46.824,
|
|
1166
|
-
cy: 65.735,
|
|
1167
|
-
r: 2.469,
|
|
1168
|
-
fill: "#0F172A",
|
|
1169
|
-
transform: "rotate(-11.496 46.824 65.735)"
|
|
1170
|
-
}),
|
|
1171
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1172
|
-
width: 33.07,
|
|
1173
|
-
height: 63.936,
|
|
1174
|
-
x: 19.451,
|
|
1175
|
-
y: 14.111,
|
|
1176
|
-
stroke: "#000",
|
|
1177
|
-
strokeWidth: 1.5,
|
|
1178
|
-
rx: 3.25,
|
|
1179
|
-
transform: "rotate(-11.496 19.45 14.11)"
|
|
1180
|
-
})
|
|
1181
|
-
]
|
|
1182
|
-
}), yt = (e) => /* @__PURE__ */ (0, j.jsxs)("svg", {
|
|
1183
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1184
|
-
width: 168,
|
|
1185
|
-
height: 168,
|
|
1186
|
-
fill: "none",
|
|
1187
|
-
viewBox: "0 0 168 168",
|
|
1188
|
-
...e,
|
|
1189
|
-
children: [
|
|
1190
|
-
/* @__PURE__ */ (0, j.jsx)("circle", {
|
|
1191
|
-
cx: 83.901,
|
|
1192
|
-
cy: 85.086,
|
|
1193
|
-
r: 64,
|
|
1194
|
-
fill: "#F1F5F9",
|
|
1195
|
-
transform: "rotate(-.812 83.901 85.086)"
|
|
1196
|
-
}),
|
|
1197
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1198
|
-
stroke: "#535A68",
|
|
1199
|
-
strokeLinecap: "round",
|
|
1200
|
-
strokeWidth: 2.05,
|
|
1201
|
-
d: "M45.1 58.913h14.862"
|
|
1202
|
-
}),
|
|
1203
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1204
|
-
width: 102,
|
|
1205
|
-
height: 111,
|
|
1206
|
-
x: 32.5,
|
|
1207
|
-
y: 29.5,
|
|
1208
|
-
fill: "#fff",
|
|
1209
|
-
stroke: "#000",
|
|
1210
|
-
strokeWidth: 3,
|
|
1211
|
-
rx: 6.5
|
|
1212
|
-
}),
|
|
1213
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1214
|
-
width: 14,
|
|
1215
|
-
height: 48,
|
|
1216
|
-
x: 43,
|
|
1217
|
-
y: 75,
|
|
1218
|
-
fill: "#F1F5F9",
|
|
1219
|
-
rx: 2.148
|
|
1220
|
-
}),
|
|
1221
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1222
|
-
width: 13.962,
|
|
1223
|
-
height: 5.817,
|
|
1224
|
-
x: 43,
|
|
1225
|
-
y: 84.56,
|
|
1226
|
-
fill: "#64748B",
|
|
1227
|
-
rx: 2
|
|
1228
|
-
}),
|
|
1229
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1230
|
-
width: 13.962,
|
|
1231
|
-
height: 5.817,
|
|
1232
|
-
x: 43,
|
|
1233
|
-
y: 93.868,
|
|
1234
|
-
fill: "#CBD5E1",
|
|
1235
|
-
rx: 2
|
|
1236
|
-
}),
|
|
1237
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1238
|
-
width: 13.962,
|
|
1239
|
-
height: 5.817,
|
|
1240
|
-
x: 43,
|
|
1241
|
-
y: 112.484,
|
|
1242
|
-
fill: "#94A3B8",
|
|
1243
|
-
rx: 2
|
|
1244
|
-
}),
|
|
1245
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1246
|
-
width: 14,
|
|
1247
|
-
height: 48,
|
|
1248
|
-
x: 60.06,
|
|
1249
|
-
y: 75,
|
|
1250
|
-
fill: "#F1F5F9",
|
|
1251
|
-
rx: 2.148
|
|
1252
|
-
}),
|
|
1253
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1254
|
-
width: 13.962,
|
|
1255
|
-
height: 5.817,
|
|
1256
|
-
x: 60,
|
|
1257
|
-
y: 93.868,
|
|
1258
|
-
fill: "#64748B",
|
|
1259
|
-
rx: 2
|
|
1260
|
-
}),
|
|
1261
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1262
|
-
width: 13.962,
|
|
1263
|
-
height: 5.817,
|
|
1264
|
-
x: 60,
|
|
1265
|
-
y: 112.484,
|
|
1266
|
-
fill: "#CBD5E1",
|
|
1267
|
-
rx: 2
|
|
1268
|
-
}),
|
|
1269
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1270
|
-
width: 14,
|
|
1271
|
-
height: 48,
|
|
1272
|
-
x: 77.06,
|
|
1273
|
-
y: 75,
|
|
1274
|
-
fill: "#F1F5F9",
|
|
1275
|
-
rx: 2.148
|
|
1276
|
-
}),
|
|
1277
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1278
|
-
width: 13.962,
|
|
1279
|
-
height: 5.817,
|
|
1280
|
-
x: 77.06,
|
|
1281
|
-
y: 84.56,
|
|
1282
|
-
fill: "#94A3B8",
|
|
1283
|
-
rx: 2
|
|
1284
|
-
}),
|
|
1285
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1286
|
-
width: 13.962,
|
|
1287
|
-
height: 5.817,
|
|
1288
|
-
x: 77.06,
|
|
1289
|
-
y: 93.868,
|
|
1290
|
-
fill: "#CBD5E1",
|
|
1291
|
-
rx: 2
|
|
1292
|
-
}),
|
|
1293
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1294
|
-
width: 13.962,
|
|
1295
|
-
height: 5.817,
|
|
1296
|
-
x: 77.06,
|
|
1297
|
-
y: 112.484,
|
|
1298
|
-
fill: "#94A3B8",
|
|
1299
|
-
rx: 2
|
|
1300
|
-
}),
|
|
1301
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1302
|
-
width: 14,
|
|
1303
|
-
height: 48,
|
|
1304
|
-
x: 94.06,
|
|
1305
|
-
y: 75,
|
|
1306
|
-
fill: "#F1F5F9",
|
|
1307
|
-
rx: 2.148
|
|
1308
|
-
}),
|
|
1309
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1310
|
-
width: 13.962,
|
|
1311
|
-
height: 5.817,
|
|
1312
|
-
x: 94.06,
|
|
1313
|
-
y: 93.868,
|
|
1314
|
-
fill: "#64748B",
|
|
1315
|
-
rx: 2
|
|
1316
|
-
}),
|
|
1317
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1318
|
-
width: 13.962,
|
|
1319
|
-
height: 5.817,
|
|
1320
|
-
x: 94.06,
|
|
1321
|
-
y: 112.484,
|
|
1322
|
-
fill: "#64748B",
|
|
1323
|
-
rx: 2
|
|
1324
|
-
}),
|
|
1325
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1326
|
-
width: 14,
|
|
1327
|
-
height: 48,
|
|
1328
|
-
x: 111.06,
|
|
1329
|
-
y: 75,
|
|
1330
|
-
fill: "#F1F5F9",
|
|
1331
|
-
rx: 2.148
|
|
1332
|
-
}),
|
|
1333
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1334
|
-
width: 13.962,
|
|
1335
|
-
height: 5.817,
|
|
1336
|
-
x: 111.06,
|
|
1337
|
-
y: 84.56,
|
|
1338
|
-
fill: "#94A3B8",
|
|
1339
|
-
rx: 2
|
|
1340
|
-
}),
|
|
1341
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1342
|
-
width: 13.962,
|
|
1343
|
-
height: 5.817,
|
|
1344
|
-
x: 111.06,
|
|
1345
|
-
y: 93.868,
|
|
1346
|
-
fill: "#CBD5E1",
|
|
1347
|
-
rx: 2
|
|
1348
|
-
}),
|
|
1349
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1350
|
-
width: 13.962,
|
|
1351
|
-
height: 5.817,
|
|
1352
|
-
x: 111.06,
|
|
1353
|
-
y: 103.176,
|
|
1354
|
-
fill: "#94A3B8",
|
|
1355
|
-
rx: 2
|
|
1356
|
-
}),
|
|
1357
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1358
|
-
width: 13.962,
|
|
1359
|
-
height: 5.817,
|
|
1360
|
-
x: 111.06,
|
|
1361
|
-
y: 112.484,
|
|
1362
|
-
fill: "#CBD5E1",
|
|
1363
|
-
rx: 2
|
|
1364
|
-
}),
|
|
1365
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1366
|
-
stroke: "#000",
|
|
1367
|
-
strokeLinecap: "square",
|
|
1368
|
-
strokeWidth: 2.05,
|
|
1369
|
-
d: "M41 45h24.6M41 49.1h21.013M41 53.2h25.112M67 69h34.85"
|
|
1370
|
-
}),
|
|
1371
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1372
|
-
stroke: "#000",
|
|
1373
|
-
strokeLinecap: "round",
|
|
1374
|
-
strokeLinejoin: "round",
|
|
1375
|
-
strokeWidth: 2,
|
|
1376
|
-
d: "M106.659 46.654a60.439 60.439 0 0 0-.491 6.347 48.617 48.617 0 0 1 8.231 4.41 48.626 48.626 0 0 1 8.232-4.41 60.439 60.439 0 0 0-.491-6.347m0 0a51.39 51.39 0 0 1 2.658-.814A59.884 59.884 0 0 0 114.399 40 59.889 59.889 0 0 0 104 45.841a50.548 50.548 0 0 1 10.399 4.155 50.741 50.741 0 0 1 7.741-3.342Zm-12.991 4.853a.748.748 0 0 0 .75-.75.749.749 0 0 0-1.28-.53.749.749 0 0 0 .53 1.28Zm0 0v-3.675a55.374 55.374 0 0 1 5.25-2.882m-7.007 11.55a5.989 5.989 0 0 0 1.757-4.243v-1.5"
|
|
1377
|
-
})
|
|
1378
|
-
]
|
|
1379
|
-
}), bt = (e) => /* @__PURE__ */ (0, j.jsxs)("svg", {
|
|
1380
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1381
|
-
width: 80,
|
|
1382
|
-
height: 80,
|
|
1383
|
-
fill: "none",
|
|
1384
|
-
viewBox: "0 0 80 80",
|
|
1385
|
-
...e,
|
|
1386
|
-
children: [
|
|
1387
|
-
/* @__PURE__ */ (0, j.jsx)("circle", {
|
|
1388
|
-
cx: 39.95,
|
|
1389
|
-
cy: 40.543,
|
|
1390
|
-
r: 32,
|
|
1391
|
-
fill: "#F1F5F9",
|
|
1392
|
-
transform: "rotate(-.812 39.95 40.543)"
|
|
1393
|
-
}),
|
|
1394
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1395
|
-
stroke: "#535A68",
|
|
1396
|
-
strokeLinecap: "round",
|
|
1397
|
-
strokeWidth: 1.025,
|
|
1398
|
-
d: "M22.55 29.456h7.431"
|
|
1399
|
-
}),
|
|
1400
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1401
|
-
width: 51,
|
|
1402
|
-
height: 55.5,
|
|
1403
|
-
x: 16.25,
|
|
1404
|
-
y: 14.75,
|
|
1405
|
-
fill: "#fff",
|
|
1406
|
-
stroke: "#000",
|
|
1407
|
-
strokeWidth: 1.5,
|
|
1408
|
-
rx: 3.25
|
|
1409
|
-
}),
|
|
1410
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1411
|
-
stroke: "#000",
|
|
1412
|
-
strokeLinecap: "round",
|
|
1413
|
-
strokeLinejoin: "round",
|
|
1414
|
-
d: "M52.529 23.68a30.215 30.215 0 0 0-.246 3.173c1.44.601 2.818 1.34 4.116 2.205a24.306 24.306 0 0 1 4.116-2.205 30.215 30.215 0 0 0-.246-3.173m0 0c.438-.147.881-.283 1.33-.407a29.946 29.946 0 0 0-5.2-2.92 29.948 29.948 0 0 0-5.2 2.92 25.227 25.227 0 0 1 5.2 2.078 25.357 25.357 0 0 1 3.87-1.671Zm-6.495 2.426a.375.375 0 1 0 0-.75.375.375 0 0 0 0 .75Zm0 0V24.27a27.677 27.677 0 0 1 2.625-1.441m-3.504 5.775a2.99 2.99 0 0 0 .879-2.122v-.75"
|
|
1415
|
-
}),
|
|
1416
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1417
|
-
width: 7,
|
|
1418
|
-
height: 24,
|
|
1419
|
-
x: 21.5,
|
|
1420
|
-
y: 37.5,
|
|
1421
|
-
fill: "#F1F5F9",
|
|
1422
|
-
rx: 1.074
|
|
1423
|
-
}),
|
|
1424
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1425
|
-
width: 6.981,
|
|
1426
|
-
height: 2.909,
|
|
1427
|
-
x: 21.5,
|
|
1428
|
-
y: 42.28,
|
|
1429
|
-
fill: "#64748B",
|
|
1430
|
-
rx: 1
|
|
1431
|
-
}),
|
|
1432
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1433
|
-
width: 6.981,
|
|
1434
|
-
height: 2.909,
|
|
1435
|
-
x: 21.5,
|
|
1436
|
-
y: 46.934,
|
|
1437
|
-
fill: "#CBD5E1",
|
|
1438
|
-
rx: 1
|
|
1439
|
-
}),
|
|
1440
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1441
|
-
width: 6.981,
|
|
1442
|
-
height: 2.909,
|
|
1443
|
-
x: 21.5,
|
|
1444
|
-
y: 56.242,
|
|
1445
|
-
fill: "#94A3B8",
|
|
1446
|
-
rx: 1
|
|
1447
|
-
}),
|
|
1448
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1449
|
-
width: 7,
|
|
1450
|
-
height: 24,
|
|
1451
|
-
x: 30.029,
|
|
1452
|
-
y: 37.5,
|
|
1453
|
-
fill: "#F1F5F9",
|
|
1454
|
-
rx: 1.074
|
|
1455
|
-
}),
|
|
1456
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1457
|
-
width: 6.981,
|
|
1458
|
-
height: 2.909,
|
|
1459
|
-
x: 30,
|
|
1460
|
-
y: 46.934,
|
|
1461
|
-
fill: "#64748B",
|
|
1462
|
-
rx: 1
|
|
1463
|
-
}),
|
|
1464
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1465
|
-
width: 6.981,
|
|
1466
|
-
height: 2.909,
|
|
1467
|
-
x: 30,
|
|
1468
|
-
y: 56.242,
|
|
1469
|
-
fill: "#CBD5E1",
|
|
1470
|
-
rx: 1
|
|
1471
|
-
}),
|
|
1472
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1473
|
-
width: 7,
|
|
1474
|
-
height: 24,
|
|
1475
|
-
x: 38.53,
|
|
1476
|
-
y: 37.5,
|
|
1477
|
-
fill: "#F1F5F9",
|
|
1478
|
-
rx: 1.074
|
|
1479
|
-
}),
|
|
1480
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1481
|
-
width: 6.981,
|
|
1482
|
-
height: 2.909,
|
|
1483
|
-
x: 38.53,
|
|
1484
|
-
y: 42.28,
|
|
1485
|
-
fill: "#94A3B8",
|
|
1486
|
-
rx: 1
|
|
1487
|
-
}),
|
|
1488
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1489
|
-
width: 6.981,
|
|
1490
|
-
height: 2.909,
|
|
1491
|
-
x: 38.53,
|
|
1492
|
-
y: 46.934,
|
|
1493
|
-
fill: "#CBD5E1",
|
|
1494
|
-
rx: 1
|
|
1495
|
-
}),
|
|
1496
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1497
|
-
width: 6.981,
|
|
1498
|
-
height: 2.909,
|
|
1499
|
-
x: 38.53,
|
|
1500
|
-
y: 56.242,
|
|
1501
|
-
fill: "#94A3B8",
|
|
1502
|
-
rx: 1
|
|
1503
|
-
}),
|
|
1504
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1505
|
-
width: 7,
|
|
1506
|
-
height: 24,
|
|
1507
|
-
x: 47.03,
|
|
1508
|
-
y: 37.5,
|
|
1509
|
-
fill: "#F1F5F9",
|
|
1510
|
-
rx: 1.074
|
|
1511
|
-
}),
|
|
1512
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1513
|
-
width: 6.981,
|
|
1514
|
-
height: 2.909,
|
|
1515
|
-
x: 47.03,
|
|
1516
|
-
y: 46.934,
|
|
1517
|
-
fill: "#64748B",
|
|
1518
|
-
rx: 1
|
|
1519
|
-
}),
|
|
1520
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1521
|
-
width: 6.981,
|
|
1522
|
-
height: 2.909,
|
|
1523
|
-
x: 47.03,
|
|
1524
|
-
y: 56.242,
|
|
1525
|
-
fill: "#64748B",
|
|
1526
|
-
rx: 1
|
|
1527
|
-
}),
|
|
1528
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1529
|
-
width: 7,
|
|
1530
|
-
height: 24,
|
|
1531
|
-
x: 55.53,
|
|
1532
|
-
y: 37.5,
|
|
1533
|
-
fill: "#F1F5F9",
|
|
1534
|
-
rx: 1.074
|
|
1535
|
-
}),
|
|
1536
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1537
|
-
width: 6.981,
|
|
1538
|
-
height: 2.909,
|
|
1539
|
-
x: 55.53,
|
|
1540
|
-
y: 42.28,
|
|
1541
|
-
fill: "#94A3B8",
|
|
1542
|
-
rx: 1
|
|
1543
|
-
}),
|
|
1544
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1545
|
-
width: 6.981,
|
|
1546
|
-
height: 2.909,
|
|
1547
|
-
x: 55.53,
|
|
1548
|
-
y: 46.934,
|
|
1549
|
-
fill: "#CBD5E1",
|
|
1550
|
-
rx: 1
|
|
1551
|
-
}),
|
|
1552
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1553
|
-
width: 6.981,
|
|
1554
|
-
height: 2.909,
|
|
1555
|
-
x: 55.53,
|
|
1556
|
-
y: 51.588,
|
|
1557
|
-
fill: "#94A3B8",
|
|
1558
|
-
rx: 1
|
|
1559
|
-
}),
|
|
1560
|
-
/* @__PURE__ */ (0, j.jsx)("rect", {
|
|
1561
|
-
width: 6.981,
|
|
1562
|
-
height: 2.909,
|
|
1563
|
-
x: 55.53,
|
|
1564
|
-
y: 56.242,
|
|
1565
|
-
fill: "#CBD5E1",
|
|
1566
|
-
rx: 1
|
|
1567
|
-
}),
|
|
1568
|
-
/* @__PURE__ */ (0, j.jsx)("path", {
|
|
1569
|
-
stroke: "#000",
|
|
1570
|
-
strokeLinecap: "square",
|
|
1571
|
-
strokeWidth: 1.025,
|
|
1572
|
-
d: "M20.5 22.5h12.3M20.5 24.55h10.506M20.5 26.6h12.556M33.5 34.5h17.425"
|
|
1573
|
-
})
|
|
1574
|
-
]
|
|
1575
|
-
}), xt = ["ID_CARD", "SCHEDULE"];
|
|
1576
|
-
function St(e, t) {
|
|
1577
|
-
return e === "ID_CARD" && t === "large" ? _t : e === "ID_CARD" && t === "small" ? vt : e === "SCHEDULE" && t === "large" ? yt : e === "SCHEDULE" && t === "small" ? bt : vt;
|
|
1578
|
-
}
|
|
1579
|
-
var Ct = ({ onFileDrop: e, type: t, style: n = "small" }) => {
|
|
1580
|
-
let r = St(t, n);
|
|
1581
|
-
return /* @__PURE__ */ (0, j.jsx)(Q, {
|
|
1582
|
-
onDrop: (n) => e(n, t),
|
|
1583
|
-
children: ({ getRootProps: e, getInputProps: i }) => /* @__PURE__ */ (0, j.jsxs)("section", {
|
|
1584
|
-
...e(),
|
|
1585
|
-
className: "sid-document-type-attachment-wrap",
|
|
1586
|
-
children: [/* @__PURE__ */ (0, j.jsx)("input", { ...i() }), n === "small" ? /* @__PURE__ */ (0, j.jsxs)("button", {
|
|
1587
|
-
className: "sid-document-type-attachment",
|
|
1588
|
-
type: "button",
|
|
1589
|
-
children: [
|
|
1590
|
-
/* @__PURE__ */ (0, j.jsx)(r, { className: "sid-document-type-attachment__icon-small" }),
|
|
1591
|
-
/* @__PURE__ */ (0, j.jsxs)("span", {
|
|
1592
|
-
className: "sid-document-type-attachment__text",
|
|
1593
|
-
children: [t === "ID_CARD" && /* @__PURE__ */ (0, j.jsx)(j.Fragment, { children: "Dated School ID card" }), t === "SCHEDULE" && /* @__PURE__ */ (0, j.jsx)(j.Fragment, { children: "Class Schedule" })]
|
|
1594
|
-
}),
|
|
1595
|
-
/* @__PURE__ */ (0, j.jsx)(P, { className: "sid-document-type-attachment__plus" })
|
|
1596
|
-
]
|
|
1597
|
-
}) : /* @__PURE__ */ (0, j.jsxs)("button", {
|
|
1598
|
-
className: "sid-document-type-attachment sid-document-type-attachment__large",
|
|
1599
|
-
type: "button",
|
|
1600
|
-
children: [/* @__PURE__ */ (0, j.jsx)(r, { className: "sid-document-type-attachment__icon-large" }), /* @__PURE__ */ (0, j.jsxs)("span", {
|
|
1601
|
-
className: "sid-document-type-attachment__text-large",
|
|
1602
|
-
children: [t === "ID_CARD" && /* @__PURE__ */ (0, j.jsx)(j.Fragment, { children: "Add your dated school ID card" }), t === "SCHEDULE" && /* @__PURE__ */ (0, j.jsx)(j.Fragment, { children: "Add your class schedule" })]
|
|
1603
|
-
})]
|
|
1604
|
-
})]
|
|
1605
|
-
})
|
|
1606
|
-
});
|
|
1607
|
-
}, wt = ({ children: e }) => /* @__PURE__ */ (0, j.jsxs)("div", {
|
|
1608
|
-
className: "sid-named-divider",
|
|
1609
|
-
children: [/* @__PURE__ */ (0, j.jsx)("hr", { className: "sid-named-divider__rule" }), /* @__PURE__ */ (0, j.jsx)("p", {
|
|
1610
|
-
className: "sid-named-divider__text",
|
|
1611
|
-
children: e
|
|
1612
|
-
})]
|
|
1613
|
-
}), Tt = {
|
|
1013
|
+
//#region src/components/StepDocUpload/getLegacyAcceptableUploads.ts
|
|
1014
|
+
var ht = {
|
|
1614
1015
|
[u.STUDENT]: [
|
|
1615
1016
|
"step.docUpload.acceptableUploads.student.idCard",
|
|
1616
1017
|
"step.docUpload.acceptableUploads.student.classSchedule",
|
|
@@ -1659,7 +1060,7 @@ var Ct = ({ onFileDrop: e, type: t, style: n = "small" }) => {
|
|
|
1659
1060
|
],
|
|
1660
1061
|
[u.MILITARY]: [],
|
|
1661
1062
|
[u.IDENTITY]: []
|
|
1662
|
-
},
|
|
1063
|
+
}, gt = {
|
|
1663
1064
|
[l.ACTIVE_DUTY]: [
|
|
1664
1065
|
"step.docUpload.acceptableUploads.military.activeDuty",
|
|
1665
1066
|
"step.docUpload.allowedDocuments",
|
|
@@ -1691,18 +1092,18 @@ var Ct = ({ onFileDrop: e, type: t, style: n = "small" }) => {
|
|
|
1691
1092
|
[l.ARCHITECT]: [],
|
|
1692
1093
|
[l.GENERAL_CONTRACTOR]: [],
|
|
1693
1094
|
[l.NUTRITION_PROFESSIONAL]: []
|
|
1694
|
-
},
|
|
1095
|
+
}, _t = { [l.GRADUATE]: [
|
|
1695
1096
|
"step.docUpload.acceptableUploads.student.graduate.transcript",
|
|
1696
1097
|
"step.docUpload.acceptableUploads.student.graduate.diploma",
|
|
1697
1098
|
"step.docUpload.acceptableUploads.student.graduate.letterOfCompletion",
|
|
1698
1099
|
"step.docUpload.acceptableUploads.student.graduate.alumniCard"
|
|
1699
1100
|
] };
|
|
1700
|
-
function
|
|
1701
|
-
return
|
|
1101
|
+
function vt(e, t, n) {
|
|
1102
|
+
return _t[t] || [...t === l.MILITARY_FAMILY && n?.hideMilitaryFamilyAcceptableUploads ? [] : gt[t] || [], ...ht[e] || []];
|
|
1702
1103
|
}
|
|
1703
1104
|
//#endregion
|
|
1704
1105
|
//#region src/components/StepDocUpload/getAcceptableInfoUploads.ts
|
|
1705
|
-
var
|
|
1106
|
+
var yt = {
|
|
1706
1107
|
[u.STUDENT]: [
|
|
1707
1108
|
"step.docUpload.acceptableUploads.student.idCard",
|
|
1708
1109
|
"step.docUpload.acceptableUploads.student.classSchedule",
|
|
@@ -1755,7 +1156,7 @@ var kt = {
|
|
|
1755
1156
|
"step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",
|
|
1756
1157
|
"step.docUpload.acceptableUploads.lowIncome.programBankStatement"
|
|
1757
1158
|
]
|
|
1758
|
-
},
|
|
1159
|
+
}, bt = {
|
|
1759
1160
|
[l.ACTIVE_DUTY]: ["step.docUpload.acceptableUploads.military.active.leaveEarningStatement", "step.docUpload.acceptableUploads.military.active.uniformedServicesId"],
|
|
1760
1161
|
[l.VETERAN]: [
|
|
1761
1162
|
"step.docUpload.acceptableUploads.military.vet.dd214Form",
|
|
@@ -1806,7 +1207,7 @@ var kt = {
|
|
|
1806
1207
|
[l.ARCHITECT]: [],
|
|
1807
1208
|
[l.GENERAL_CONTRACTOR]: [],
|
|
1808
1209
|
[l.NUTRITION_PROFESSIONAL]: ["step.docUpload.acceptableUploads.licensedProfessional.license"]
|
|
1809
|
-
},
|
|
1210
|
+
}, xt = {
|
|
1810
1211
|
[u.STUDENT]: [
|
|
1811
1212
|
"step.docUpload.uploadInfo.fullName",
|
|
1812
1213
|
"step.docUpload.uploadInfo.institutionName",
|
|
@@ -1852,7 +1253,7 @@ var kt = {
|
|
|
1852
1253
|
"step.docUpload.uploadInfo.recentMover.validDate"
|
|
1853
1254
|
],
|
|
1854
1255
|
[u.LOW_INCOME]: ["step.docUpload.uploadInfo.fullName", "step.docUpload.uploadInfo.lowIncome.validDate"]
|
|
1855
|
-
},
|
|
1256
|
+
}, St = {
|
|
1856
1257
|
[l.ACTIVE_DUTY]: ["step.docUpload.uploadInfo.military.activeDuty.status"],
|
|
1857
1258
|
[l.VETERAN]: ["step.docUpload.uploadInfo.military.veteran.status"],
|
|
1858
1259
|
[l.RESERVIST]: ["step.docUpload.uploadInfo.military.reservist.status"],
|
|
@@ -1880,7 +1281,7 @@ var kt = {
|
|
|
1880
1281
|
[l.ARCHITECT]: [],
|
|
1881
1282
|
[l.GENERAL_CONTRACTOR]: [],
|
|
1882
1283
|
[l.NUTRITION_PROFESSIONAL]: []
|
|
1883
|
-
},
|
|
1284
|
+
}, Ct = {
|
|
1884
1285
|
[l.MILITARY_FAMILY]: ["step.docUpload.uploadInfo.fullName", "step.docUpload.uploadInfo.military.militaryFamily.status"],
|
|
1885
1286
|
[l.GOLD_STAR_FAMILY]: ["step.docUpload.uploadInfo.fullName", "step.docUpload.uploadInfo.military.goldStarFamily.status"],
|
|
1886
1287
|
[l.GRADUATE]: [
|
|
@@ -1888,175 +1289,168 @@ var kt = {
|
|
|
1888
1289
|
"step.docUpload.uploadInfo.institutionName",
|
|
1889
1290
|
"step.docUpload.uploadInfo.student.graduate.degreeConferral"
|
|
1890
1291
|
]
|
|
1891
|
-
},
|
|
1292
|
+
}, wt = { [l.GRADUATE]: [
|
|
1892
1293
|
"step.docUpload.acceptableUploads.student.graduate.transcript",
|
|
1893
1294
|
"step.docUpload.acceptableUploads.student.graduate.diploma",
|
|
1894
1295
|
"step.docUpload.acceptableUploads.student.graduate.letterOfCompletion",
|
|
1895
1296
|
"step.docUpload.acceptableUploads.student.graduate.alumniCard"
|
|
1896
1297
|
] };
|
|
1897
|
-
function
|
|
1898
|
-
return
|
|
1298
|
+
function Tt(e, t) {
|
|
1299
|
+
return wt[t] || [...new Set([...bt[t] || [], ...yt[e] || []])];
|
|
1899
1300
|
}
|
|
1900
|
-
function
|
|
1901
|
-
return
|
|
1301
|
+
function Et(e, t) {
|
|
1302
|
+
return Ct[t] || [...new Set([...St[t] || [], ...xt[e] || []])];
|
|
1902
1303
|
}
|
|
1903
1304
|
//#endregion
|
|
1904
1305
|
//#region src/components/StepDocUpload/StepDocUploadComponent.tsx
|
|
1905
|
-
var
|
|
1306
|
+
var Dt = "DE", Ot = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n }) => e ? /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
1906
1307
|
className: "sid-field-error sid-field-error-redesign__doc-upload",
|
|
1907
|
-
children: [/* @__PURE__ */ (0,
|
|
1308
|
+
children: [/* @__PURE__ */ (0, $.jsx)(f, {
|
|
1908
1309
|
id: `errorId.${n.docUpload}`,
|
|
1909
1310
|
defaultMessage: "No valid files"
|
|
1910
|
-
}), t ? t.map((e) => /* @__PURE__ */ (0,
|
|
1311
|
+
}), t ? t.map((e) => /* @__PURE__ */ (0, $.jsx)("div", {
|
|
1911
1312
|
className: "sid-field-error-redesign__doc-upload__span",
|
|
1912
1313
|
children: e
|
|
1913
1314
|
}, `error-${e}`)) : null]
|
|
1914
|
-
}) : null,
|
|
1315
|
+
}) : null, kt = "step.docUpload.uploadInfo.enrollmentProof", At = [
|
|
1915
1316
|
"step.docUpload.uploadInfo.dateCurrentYear",
|
|
1916
1317
|
"step.docUpload.uploadInfo.issueDate",
|
|
1917
1318
|
"step.docUpload.uploadInfo.expiration"
|
|
1918
|
-
],
|
|
1919
|
-
let t = e.includes(
|
|
1920
|
-
return /* @__PURE__ */ (0,
|
|
1319
|
+
], jt = ({ uploadInfo: e }) => {
|
|
1320
|
+
let t = e.includes(kt);
|
|
1321
|
+
return /* @__PURE__ */ (0, $.jsx)("ul", {
|
|
1921
1322
|
className: "sid-doc-upload-requirements",
|
|
1922
|
-
children: e.map((e) => t &&
|
|
1323
|
+
children: e.map((e) => t && At.includes(e) ? null : /* @__PURE__ */ (0, $.jsxs)("li", {
|
|
1923
1324
|
className: "sid-doc-upload-requirements__definition",
|
|
1924
|
-
children: [/* @__PURE__ */ (0,
|
|
1325
|
+
children: [/* @__PURE__ */ (0, $.jsx)(f, { id: e }), e === kt && /* @__PURE__ */ (0, $.jsx)("ul", {
|
|
1925
1326
|
className: "sid-doc-upload-requirements__sub-list",
|
|
1926
|
-
children:
|
|
1327
|
+
children: At.map((e) => /* @__PURE__ */ (0, $.jsx)("li", {
|
|
1927
1328
|
className: "sid-doc-upload-requirements__definition",
|
|
1928
|
-
children: /* @__PURE__ */ (0,
|
|
1329
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, { id: e })
|
|
1929
1330
|
}, e))
|
|
1930
1331
|
})]
|
|
1931
1332
|
}, e))
|
|
1932
1333
|
});
|
|
1933
|
-
},
|
|
1934
|
-
let { msg: i } =
|
|
1334
|
+
}, Mt = ({ verificationService: e }) => {
|
|
1335
|
+
let { msg: i } = h(), [l, d] = (0, k.useState)(!1), { rejectionReasons: p, segment: m, subSegment: C, verificationId: w, locale: E, country: O } = te(), A = ee(), j = e.viewModel, { fieldValidationErrors: M } = e, { overrideEnabled: N } = ne(), P = _("doc-upload-redesign-use-legacy-message-keys"), F = _("doc-upload-considerations"), I = (P ? mt : Et)(m, C), L = e.verificationResponse.country === "US", R = (e) => ({
|
|
1935
1336
|
name: e.name,
|
|
1936
1337
|
url: e.type.includes("image") ? URL.createObjectURL(e) : ""
|
|
1937
|
-
}),
|
|
1938
|
-
|
|
1338
|
+
}), { userDidConvert: z } = se({ segment: m }), B = [];
|
|
1339
|
+
g("mockDocSelected") && B.push({
|
|
1939
1340
|
name: "myFile.png",
|
|
1940
1341
|
url: ""
|
|
1941
1342
|
});
|
|
1942
|
-
let
|
|
1943
|
-
|
|
1944
|
-
let
|
|
1343
|
+
let V = i({ id: "step.docUpload.addFile" });
|
|
1344
|
+
j.file1 && j.file1.name && B.push(R(j.file1)), j.file2 && j.file2.name && B.push(R(j.file2)), j.file3 && j.file3.name && B.push(R(j.file3));
|
|
1345
|
+
let H = (t, n) => {
|
|
1945
1346
|
o(r.DOC_UPLOAD_ADD_FILES, {
|
|
1946
|
-
programId:
|
|
1947
|
-
locale:
|
|
1948
|
-
verificationId:
|
|
1949
|
-
}), d(!1), e.updateViewModel(
|
|
1950
|
-
},
|
|
1347
|
+
programId: A,
|
|
1348
|
+
locale: E,
|
|
1349
|
+
verificationId: w
|
|
1350
|
+
}), d(!1), e.updateViewModel(ct(j, t, n));
|
|
1351
|
+
}, U = (t) => {
|
|
1951
1352
|
o(r.DOC_UPLOAD_REMOVE_FILES, {
|
|
1952
|
-
programId:
|
|
1953
|
-
locale:
|
|
1954
|
-
verificationId:
|
|
1353
|
+
programId: A,
|
|
1354
|
+
locale: E,
|
|
1355
|
+
verificationId: w
|
|
1955
1356
|
});
|
|
1956
1357
|
let n = t + 1;
|
|
1957
|
-
d(!1), e.updateViewModel(
|
|
1958
|
-
},
|
|
1959
|
-
let
|
|
1358
|
+
d(!1), e.updateViewModel(lt(j, n));
|
|
1359
|
+
}, W = M.docUpload || n(() => e.verificationResponse.errorIds[0], void 0), G = (t) => {
|
|
1360
|
+
let n = [], r = [], i = [];
|
|
1960
1361
|
for (let a of t) {
|
|
1961
|
-
let t =
|
|
1962
|
-
t === void 0 ? (
|
|
1963
|
-
...W,
|
|
1964
|
-
[a.name]: n
|
|
1965
|
-
}), r.push(a)) : (o.push(a.name), i.push(t));
|
|
1362
|
+
let t = v(c.docUpload, a, e.formValidationOptions);
|
|
1363
|
+
t === void 0 ? n.push(a) : (i.push(a.name), r.push(t));
|
|
1966
1364
|
}
|
|
1967
|
-
let
|
|
1968
|
-
|
|
1969
|
-
e.docUpload =
|
|
1970
|
-
})), e.updateFieldValidationErrors(
|
|
1971
|
-
},
|
|
1972
|
-
s.info("StepDocUploadComponent submitting form"), e.submitStep(c.docUpload,
|
|
1973
|
-
},
|
|
1974
|
-
e.length > 0 ?
|
|
1975
|
-
},
|
|
1976
|
-
|
|
1977
|
-
},
|
|
1978
|
-
let t =
|
|
1365
|
+
let o;
|
|
1366
|
+
r && (o = a(M, (e) => {
|
|
1367
|
+
e.docUpload = r[0];
|
|
1368
|
+
})), e.updateFieldValidationErrors(o), H(n, i);
|
|
1369
|
+
}, K = () => {
|
|
1370
|
+
s.info("StepDocUploadComponent submitting form"), e.submitStep(c.docUpload, j, e.verificationResponse), z(oe, D);
|
|
1371
|
+
}, q = (e) => {
|
|
1372
|
+
e.length > 0 ? G(e) : e.length <= 0 && s.error("No files were accepted or rejected. Unknown error.", c.docUpload);
|
|
1373
|
+
}, J = (e) => {
|
|
1374
|
+
q(Array.from(e.target.files));
|
|
1375
|
+
}, le = (e) => {
|
|
1376
|
+
let t = y("addFile");
|
|
1979
1377
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), t.click());
|
|
1980
|
-
},
|
|
1378
|
+
}, ue = async () => {
|
|
1981
1379
|
s.info("StepDocUploadComponent submitting form after skipping document upload");
|
|
1982
|
-
let t = a(
|
|
1380
|
+
let t = a(j, () => {});
|
|
1983
1381
|
e.submitStep(c.cancelDocUpload, t, e.verificationResponse);
|
|
1984
|
-
},
|
|
1382
|
+
}, Y = /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
1985
1383
|
className: "sid-upload-wrap sid-l-space-top-md sid-l-space-btm-md",
|
|
1986
|
-
children:
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
})
|
|
1991
|
-
fieldValidationErrors: L,
|
|
1992
|
-
errorId: fe,
|
|
1993
|
-
erroredFileNames: F.erroredFileNames
|
|
1994
|
-
}), /* @__PURE__ */ (0, j.jsx)("div", {
|
|
1384
|
+
children: [/* @__PURE__ */ (0, $.jsx)(Ot, {
|
|
1385
|
+
fieldValidationErrors: M,
|
|
1386
|
+
errorId: W,
|
|
1387
|
+
erroredFileNames: j.erroredFileNames
|
|
1388
|
+
}), /* @__PURE__ */ (0, $.jsx)("div", {
|
|
1995
1389
|
className: "sid-docdrop-wrap",
|
|
1996
|
-
children: /* @__PURE__ */ (0,
|
|
1997
|
-
onDrop: (e) =>
|
|
1390
|
+
children: /* @__PURE__ */ (0, $.jsx)(nt, {
|
|
1391
|
+
onDrop: (e) => q(e),
|
|
1998
1392
|
accept: t.join(","),
|
|
1999
|
-
children: ({ getRootProps: e, getInputProps: n }) => /* @__PURE__ */ (0,
|
|
1393
|
+
children: ({ getRootProps: e, getInputProps: n }) => /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2000
1394
|
...e(),
|
|
2001
1395
|
className: "sid-docdrop-wrap__dropzone sid-docdrop-wrap__dropzone_height",
|
|
2002
|
-
children: [/* @__PURE__ */ (0,
|
|
1396
|
+
children: [/* @__PURE__ */ (0, $.jsx)("input", { ...n({ accept: t.join(",") }) }), /* @__PURE__ */ (0, $.jsx)("button", {
|
|
2003
1397
|
tabIndex: -1,
|
|
2004
1398
|
className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
|
|
2005
1399
|
type: "button",
|
|
2006
|
-
"aria-label":
|
|
2007
|
-
children: /* @__PURE__ */ (0,
|
|
1400
|
+
"aria-label": V,
|
|
1401
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2008
1402
|
id: "step.docUpload.addFile",
|
|
2009
1403
|
defaultMessage: "Add documents"
|
|
2010
1404
|
})
|
|
2011
1405
|
})]
|
|
2012
1406
|
})
|
|
2013
1407
|
})
|
|
2014
|
-
})]
|
|
1408
|
+
})]
|
|
2015
1409
|
});
|
|
2016
|
-
return /* @__PURE__ */ (0,
|
|
1410
|
+
return /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2017
1411
|
id: "sid-step-doc-upload",
|
|
2018
|
-
className:
|
|
2019
|
-
children: [/* @__PURE__ */ (0,
|
|
1412
|
+
className: "sid-doc-upload-redesign-container sid-l-container",
|
|
1413
|
+
children: [/* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2020
1414
|
role: "main",
|
|
2021
1415
|
children: [
|
|
2022
|
-
/* @__PURE__ */ (0,
|
|
1416
|
+
/* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2023
1417
|
className: "sid-header sid-l-space-top-md",
|
|
2024
1418
|
children: [
|
|
2025
|
-
/* @__PURE__ */ (0,
|
|
1419
|
+
/* @__PURE__ */ (0, $.jsx)("div", {
|
|
2026
1420
|
className: "sid-doc-upload-logo-container sid-l-horz-center",
|
|
2027
|
-
children: /* @__PURE__ */ (0,
|
|
1421
|
+
children: /* @__PURE__ */ (0, $.jsx)(x, { verificationService: e })
|
|
2028
1422
|
}),
|
|
2029
|
-
/* @__PURE__ */ (0,
|
|
1423
|
+
/* @__PURE__ */ (0, $.jsx)(S, {
|
|
2030
1424
|
align: "center",
|
|
2031
|
-
children: /* @__PURE__ */ (0,
|
|
1425
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2032
1426
|
id: "step.docUpload.title",
|
|
2033
1427
|
tagName: "h1"
|
|
2034
1428
|
})
|
|
2035
1429
|
}),
|
|
2036
|
-
/* @__PURE__ */ (0,
|
|
2037
|
-
|
|
1430
|
+
/* @__PURE__ */ (0, $.jsx)(ae, { verificationService: e }),
|
|
1431
|
+
p && p.length > 0 && /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2038
1432
|
className: "sid-upload-rejection__wrapper",
|
|
2039
1433
|
children: [
|
|
2040
|
-
/* @__PURE__ */ (0,
|
|
1434
|
+
/* @__PURE__ */ (0, $.jsx)("div", {
|
|
2041
1435
|
className: "sid-header__subtitle-doc-upload-rejected",
|
|
2042
|
-
children: /* @__PURE__ */ (0,
|
|
1436
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2043
1437
|
id: "step.docUpload.rejectedSubtitle",
|
|
2044
1438
|
defaultMessage: "We were unable to confirm your eligibility due to:"
|
|
2045
1439
|
})
|
|
2046
1440
|
}),
|
|
2047
|
-
/* @__PURE__ */ (0,
|
|
1441
|
+
/* @__PURE__ */ (0, $.jsx)("ul", {
|
|
2048
1442
|
className: "sid-upload-rejection-list",
|
|
2049
|
-
children:
|
|
1443
|
+
children: p.map((e) => /* @__PURE__ */ (0, $.jsx)("li", {
|
|
2050
1444
|
className: "sid-upload-rejection-list__li",
|
|
2051
|
-
children: /* @__PURE__ */ (0,
|
|
1445
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2052
1446
|
id: `step.docUpload.rejectionReasons.${e}`,
|
|
2053
1447
|
defaultMessage: `${e}`
|
|
2054
1448
|
})
|
|
2055
1449
|
}, e))
|
|
2056
1450
|
}),
|
|
2057
|
-
/* @__PURE__ */ (0,
|
|
1451
|
+
/* @__PURE__ */ (0, $.jsx)("div", {
|
|
2058
1452
|
className: "sid-upload-rejection__next-step",
|
|
2059
|
-
children: /* @__PURE__ */ (0,
|
|
1453
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2060
1454
|
id: "step.docUpload.rejectedNextStep",
|
|
2061
1455
|
defaultMessage: "Please correct this and try again."
|
|
2062
1456
|
})
|
|
@@ -2065,232 +1459,220 @@ var Lt = "DE", Rt = ({ errorId: e, erroredFileNames: t, fieldValidationErrors: n
|
|
|
2065
1459
|
})
|
|
2066
1460
|
]
|
|
2067
1461
|
}),
|
|
2068
|
-
|
|
2069
|
-
/* @__PURE__ */ (0, j.jsx)("h2", {
|
|
1462
|
+
/* @__PURE__ */ (0, $.jsx)("h2", {
|
|
2070
1463
|
className: "sid-header__subtitle sid-l-space-btm-md sid-l-space-top-md",
|
|
2071
|
-
children: /* @__PURE__ */ (0,
|
|
2072
|
-
id:
|
|
1464
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
1465
|
+
id: P ? "step.docUpload.uploadInstructions" : "step.docUpload.documentsMustInclude",
|
|
2073
1466
|
defaultMessage: "Your documents must include:"
|
|
2074
1467
|
})
|
|
2075
1468
|
}),
|
|
2076
|
-
/* @__PURE__ */ (0,
|
|
2077
|
-
|
|
1469
|
+
/* @__PURE__ */ (0, $.jsx)(jt, { uploadInfo: I }),
|
|
1470
|
+
m === u.AGE && O === Dt && /* @__PURE__ */ (0, $.jsx)("p", {
|
|
2078
1471
|
className: "sid-l-space-top-md",
|
|
2079
|
-
children: /* @__PURE__ */ (0,
|
|
1472
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2080
1473
|
id: "step.docUpload.uploadInfo.age.consentDE",
|
|
2081
1474
|
defaultMessage: "I consent to the processing and storage of my ID copy for age verification. I understand the image will automatically be saved as a copy, and that I am entitled to black out the serial number before uploading."
|
|
2082
1475
|
})
|
|
2083
1476
|
}),
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
/* @__PURE__ */ (0,
|
|
1477
|
+
B.length === 0 && Y,
|
|
1478
|
+
B.length > 0 ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
|
|
1479
|
+
/* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2087
1480
|
className: "sid-file-list sid-l-space-top-md",
|
|
2088
|
-
children: [
|
|
1481
|
+
children: [B.map((e, t) => /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2089
1482
|
className: "sid-file-list__file",
|
|
2090
|
-
children: [/* @__PURE__ */ (0,
|
|
1483
|
+
children: [/* @__PURE__ */ (0, $.jsx)("div", {
|
|
2091
1484
|
className: "sid-file-list__thumbnail-wrapper",
|
|
2092
|
-
children: e.url ? /* @__PURE__ */ (0,
|
|
1485
|
+
children: e.url ? /* @__PURE__ */ (0, $.jsx)("img", {
|
|
2093
1486
|
className: "sid-file-list__thumbnail border-radius",
|
|
2094
1487
|
src: e.url,
|
|
2095
1488
|
alt: "File thumbnail"
|
|
2096
|
-
}) : /* @__PURE__ */ (0,
|
|
1489
|
+
}) : /* @__PURE__ */ (0, $.jsx)("div", {
|
|
2097
1490
|
className: "sid-file-list__no-thumbnail",
|
|
2098
|
-
children: /* @__PURE__ */ (0,
|
|
1491
|
+
children: /* @__PURE__ */ (0, $.jsx)("img", {
|
|
2099
1492
|
alt: "File thumbnail",
|
|
2100
1493
|
src: "https://assets-resources.sheerid.com/common/images/2018/icons/default-image.svg"
|
|
2101
1494
|
})
|
|
2102
1495
|
})
|
|
2103
|
-
}), /* @__PURE__ */ (0,
|
|
1496
|
+
}), /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
2104
1497
|
className: "sid-file-list__name-wrapper",
|
|
2105
|
-
children: [/* @__PURE__ */ (0,
|
|
1498
|
+
children: [/* @__PURE__ */ (0, $.jsx)("div", {
|
|
2106
1499
|
className: "sid-file-list__name",
|
|
2107
1500
|
title: e.name,
|
|
2108
1501
|
children: e.name
|
|
2109
|
-
}), /* @__PURE__ */ (0,
|
|
1502
|
+
}), /* @__PURE__ */ (0, $.jsx)("div", {
|
|
2110
1503
|
role: "button",
|
|
2111
1504
|
tabIndex: 0,
|
|
2112
1505
|
"aria-label": `Remove file ${e.name}`,
|
|
2113
1506
|
className: "sid-file-list__remove-btn",
|
|
2114
|
-
onClick: () =>
|
|
2115
|
-
onKeyPress: () =>
|
|
1507
|
+
onClick: () => U(t),
|
|
1508
|
+
onKeyPress: () => U(t)
|
|
2116
1509
|
})]
|
|
2117
1510
|
})]
|
|
2118
|
-
}, e.name)),
|
|
1511
|
+
}, e.name)), B.length < 3 && /* @__PURE__ */ (0, $.jsx)($.Fragment, { children: l ? /* @__PURE__ */ (0, $.jsx)("div", {
|
|
2119
1512
|
className: "sid-add-more-files",
|
|
2120
|
-
children:
|
|
2121
|
-
}) : /* @__PURE__ */ (0,
|
|
1513
|
+
children: Y
|
|
1514
|
+
}) : /* @__PURE__ */ (0, $.jsx)("div", {
|
|
2122
1515
|
className: "sid-file-list__file",
|
|
2123
|
-
children: /* @__PURE__ */ (0,
|
|
1516
|
+
children: /* @__PURE__ */ (0, $.jsx)("div", {
|
|
2124
1517
|
className: "sid-file-list__thumbnail-wrapper thumbnail_wrapper_width",
|
|
2125
|
-
children: /* @__PURE__ */ (0,
|
|
1518
|
+
children: /* @__PURE__ */ (0, $.jsxs)("label", {
|
|
2126
1519
|
className: "sid-docdrop-wrap__dropzone thumbnail_wrapper",
|
|
2127
1520
|
htmlFor: "sid-take-photo-input",
|
|
2128
1521
|
role: "button",
|
|
2129
|
-
onKeyUp: (e) =>
|
|
1522
|
+
onKeyUp: (e) => le(e),
|
|
2130
1523
|
tabIndex: 0,
|
|
2131
1524
|
children: [
|
|
2132
|
-
/* @__PURE__ */ (0,
|
|
1525
|
+
/* @__PURE__ */ (0, $.jsx)(ce, {
|
|
2133
1526
|
className: "sid-uploadzone__icon",
|
|
2134
1527
|
width: "16px"
|
|
2135
1528
|
}),
|
|
2136
|
-
/* @__PURE__ */ (0,
|
|
1529
|
+
/* @__PURE__ */ (0, $.jsx)("p", {
|
|
2137
1530
|
className: "sid-docdrop-wrap__instructions thumbnail_wrapper-text",
|
|
2138
|
-
children: /* @__PURE__ */ (0,
|
|
1531
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2139
1532
|
id: "step.docUpload.addFile",
|
|
2140
1533
|
defaultMessage: "Add documents"
|
|
2141
1534
|
})
|
|
2142
1535
|
}),
|
|
2143
|
-
/* @__PURE__ */ (0,
|
|
2144
|
-
onChange:
|
|
1536
|
+
/* @__PURE__ */ (0, $.jsx)("input", {
|
|
1537
|
+
onChange: J,
|
|
2145
1538
|
type: "file",
|
|
2146
1539
|
id: "sid-take-photo-input",
|
|
2147
1540
|
hidden: !0,
|
|
2148
1541
|
accept: "image/jpeg,image/png,application/pdf",
|
|
2149
1542
|
multiple: !0,
|
|
2150
|
-
ref: (e) =>
|
|
1543
|
+
ref: (e) => b("addFile", e)
|
|
2151
1544
|
})
|
|
2152
1545
|
]
|
|
2153
1546
|
})
|
|
2154
1547
|
})
|
|
2155
1548
|
}) })]
|
|
2156
1549
|
}),
|
|
2157
|
-
/* @__PURE__ */ (0,
|
|
2158
|
-
fieldValidationErrors:
|
|
2159
|
-
errorId:
|
|
2160
|
-
erroredFileNames:
|
|
1550
|
+
/* @__PURE__ */ (0, $.jsx)(Ot, {
|
|
1551
|
+
fieldValidationErrors: M,
|
|
1552
|
+
errorId: W,
|
|
1553
|
+
erroredFileNames: j.erroredFileNames
|
|
2161
1554
|
}),
|
|
2162
|
-
/* @__PURE__ */ (0,
|
|
1555
|
+
/* @__PURE__ */ (0, $.jsx)("div", {
|
|
2163
1556
|
className: "sid-submit sid-doc-upload-submit sid-l-space-top-md sid-submit-doc-upload_pb",
|
|
2164
|
-
children: /* @__PURE__ */ (0,
|
|
1557
|
+
children: /* @__PURE__ */ (0, $.jsx)("button", {
|
|
2165
1558
|
id: "sid-submit-doc-upload",
|
|
2166
|
-
onClick:
|
|
1559
|
+
onClick: K,
|
|
2167
1560
|
type: "submit",
|
|
2168
1561
|
className: "sid-btn sid-btn--dark sid-doc-upload-submit-btn sid-submit__continue border-radius",
|
|
2169
|
-
"aria-disabled":
|
|
2170
|
-
children:
|
|
2171
|
-
id: "_EXPERIMENTAL-VARIATION.step.docUpload.submitButtonLabel",
|
|
2172
|
-
defaultMessage: "Upload {count, plural,\n one {document}\n two {documents}\n other {documents}\n }",
|
|
2173
|
-
values: { count: K.length }
|
|
2174
|
-
}) : /* @__PURE__ */ (0, j.jsx)(f, {
|
|
1562
|
+
"aria-disabled": B.length <= 0,
|
|
1563
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2175
1564
|
id: "step.docUpload.submitButtonLabel",
|
|
2176
1565
|
defaultMessage: "Submit",
|
|
2177
|
-
values: { count:
|
|
1566
|
+
values: { count: B.length }
|
|
2178
1567
|
})
|
|
2179
1568
|
})
|
|
2180
1569
|
})
|
|
2181
1570
|
] }) : null,
|
|
2182
|
-
|
|
2183
|
-
K.length > 0 && K.length < 2 && /* @__PURE__ */ (0, j.jsxs)(j.Fragment, { children: [/* @__PURE__ */ (0, j.jsx)(wt, { children: "Add another document" }), ve] }),
|
|
2184
|
-
/* @__PURE__ */ (0, j.jsx)("h3", { children: "FAQ" }),
|
|
2185
|
-
/* @__PURE__ */ (0, j.jsx)($, {
|
|
2186
|
-
id: "suggestedDocs",
|
|
2187
|
-
title: "What information is needed?",
|
|
2188
|
-
children: /* @__PURE__ */ (0, j.jsx)(Vt, { uploadInfo: V })
|
|
2189
|
-
})
|
|
2190
|
-
] }) : /* @__PURE__ */ (0, j.jsxs)(j.Fragment, { children: [B === "add-doc-considerations" && H && (E === "activeDuty" || E === "reservist") && /* @__PURE__ */ (0, j.jsx)($, {
|
|
1571
|
+
F === "add-doc-considerations" && L && (C === "activeDuty" || C === "reservist") && /* @__PURE__ */ (0, $.jsx)(ut, {
|
|
2191
1572
|
id: "docConsiderations",
|
|
2192
|
-
title: /* @__PURE__ */ (0,
|
|
1573
|
+
title: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2193
1574
|
id: "experiment.step.docUpload.documentConsiderations",
|
|
2194
1575
|
defaultMessage: "Document considerations"
|
|
2195
1576
|
}),
|
|
2196
1577
|
defaultState: "open",
|
|
2197
|
-
children: /* @__PURE__ */ (0,
|
|
1578
|
+
children: /* @__PURE__ */ (0, $.jsx)("span", {
|
|
2198
1579
|
className: "sid-doc-upload-considerations",
|
|
2199
|
-
children: /* @__PURE__ */ (0,
|
|
2200
|
-
/* @__PURE__ */ (0,
|
|
1580
|
+
children: /* @__PURE__ */ (0, $.jsxs)("p", { children: [
|
|
1581
|
+
/* @__PURE__ */ (0, $.jsx)("strong", { children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2201
1582
|
id: "step.docUpload.acceptableUploads.doNotUploadMilitaryIdTitle",
|
|
2202
1583
|
defaultMessage: "Do not upload a photo of your military ID."
|
|
2203
1584
|
}) }),
|
|
2204
1585
|
" ",
|
|
2205
|
-
/* @__PURE__ */ (0,
|
|
1586
|
+
/* @__PURE__ */ (0, $.jsx)(f, {
|
|
2206
1587
|
id: "step.docUpload.acceptableUploads.doNotUploadMilitaryIdContent",
|
|
2207
1588
|
defaultMessage: "In accordance with federal law, SheerID does not accept submissions of active duty/reservist military ID cards."
|
|
2208
1589
|
})
|
|
2209
1590
|
] })
|
|
2210
1591
|
})
|
|
2211
|
-
}),
|
|
1592
|
+
}),
|
|
1593
|
+
/* @__PURE__ */ (0, $.jsxs)(ut, {
|
|
2212
1594
|
id: "suggestedDocs",
|
|
2213
|
-
title: /* @__PURE__ */ (0,
|
|
1595
|
+
title: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2214
1596
|
id: "step.docUpload.suggestedDocumentTypes",
|
|
2215
1597
|
defaultMessage: "Suggested document types"
|
|
2216
1598
|
}),
|
|
2217
|
-
defaultState:
|
|
1599
|
+
defaultState: "open",
|
|
2218
1600
|
children: [
|
|
2219
|
-
|
|
2220
|
-
/* @__PURE__ */ (0,
|
|
1601
|
+
P && /* @__PURE__ */ (0, $.jsx)(f, { id: "step.docUpload.acceptableUploadExamples" }),
|
|
1602
|
+
/* @__PURE__ */ (0, $.jsxs)("ul", {
|
|
2221
1603
|
className: "sid-acceptable-document-types",
|
|
2222
|
-
children: [(
|
|
1604
|
+
children: [(P ? vt : Tt)(m, C).map((e) => /* @__PURE__ */ (0, $.jsx)("li", {
|
|
2223
1605
|
className: "sid-acceptable-document-types__item",
|
|
2224
|
-
children: /* @__PURE__ */ (0,
|
|
2225
|
-
}, e)), /* @__PURE__ */ (0,
|
|
1606
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, { id: e })
|
|
1607
|
+
}, e)), /* @__PURE__ */ (0, $.jsx)("li", {
|
|
2226
1608
|
className: "sid-acceptable-document-types__item",
|
|
2227
|
-
children: /* @__PURE__ */ (0,
|
|
1609
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, { id: "step.docUpload.acceptedTypes" })
|
|
2228
1610
|
})]
|
|
2229
1611
|
}),
|
|
2230
|
-
|
|
1612
|
+
F !== "add-doc-considerations" && L && (C === "activeDuty" || C === "reservist") && /* @__PURE__ */ (0, $.jsx)("div", {
|
|
2231
1613
|
className: "sid-acceptable-document-types",
|
|
2232
|
-
children: /* @__PURE__ */ (0,
|
|
1614
|
+
children: /* @__PURE__ */ (0, $.jsxs)("p", { children: [/* @__PURE__ */ (0, $.jsx)("span", {
|
|
2233
1615
|
className: "display-block",
|
|
2234
|
-
children: /* @__PURE__ */ (0,
|
|
1616
|
+
children: /* @__PURE__ */ (0, $.jsx)("strong", { children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2235
1617
|
id: "step.docUpload.acceptableUploads.doNotUploadMilitaryIdTitle",
|
|
2236
1618
|
defaultMessage: "Do not upload a photo of your military ID."
|
|
2237
1619
|
}) })
|
|
2238
|
-
}), /* @__PURE__ */ (0,
|
|
1620
|
+
}), /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2239
1621
|
id: "step.docUpload.acceptableUploads.doNotUploadMilitaryIdContent",
|
|
2240
1622
|
defaultMessage: "In accordance with federal law, SheerID does not accept submissions of active duty/reservist military ID cards."
|
|
2241
1623
|
})] })
|
|
2242
1624
|
})
|
|
2243
1625
|
]
|
|
2244
|
-
})
|
|
2245
|
-
/* @__PURE__ */ (0,
|
|
1626
|
+
}),
|
|
1627
|
+
/* @__PURE__ */ (0, $.jsxs)(ut, {
|
|
2246
1628
|
id: "whatHappensNext",
|
|
2247
|
-
title: /* @__PURE__ */ (0,
|
|
1629
|
+
title: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2248
1630
|
id: "step.docUpload.whatHappensNext",
|
|
2249
1631
|
defaultMessage: "What happens next?"
|
|
2250
1632
|
}),
|
|
2251
1633
|
children: [
|
|
2252
|
-
/* @__PURE__ */ (0,
|
|
1634
|
+
/* @__PURE__ */ (0, $.jsx)("p", { children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2253
1635
|
id: "step.docUpload.whoIsSheerId",
|
|
2254
1636
|
defaultMessage: "Document review is handled by SheerID, a trusted partner who specializes in verifying\n students."
|
|
2255
1637
|
}) }),
|
|
2256
|
-
/* @__PURE__ */ (0,
|
|
1638
|
+
/* @__PURE__ */ (0, $.jsx)("p", { children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2257
1639
|
id: "step.docUpload.documentReviewProcess",
|
|
2258
1640
|
defaultMessage: "SheerID staff will review the documents for authenticity and compare the information in the documents against the information you provided."
|
|
2259
1641
|
}) }),
|
|
2260
|
-
/* @__PURE__ */ (0,
|
|
2261
|
-
/* @__PURE__ */ (0,
|
|
1642
|
+
/* @__PURE__ */ (0, $.jsx)("p", { children: /* @__PURE__ */ (0, $.jsx)(re, { id: "step.docUpload.reviewTime" }) }),
|
|
1643
|
+
/* @__PURE__ */ (0, $.jsx)("p", { children: /* @__PURE__ */ (0, $.jsx)(T, { verificationService: e }) })
|
|
2262
1644
|
]
|
|
2263
1645
|
}),
|
|
2264
|
-
/* @__PURE__ */ (0,
|
|
1646
|
+
/* @__PURE__ */ (0, $.jsx)(ut, {
|
|
2265
1647
|
id: "canIFinishLater",
|
|
2266
|
-
title: /* @__PURE__ */ (0,
|
|
1648
|
+
title: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2267
1649
|
id: "step.docUpload.canIFinishLater",
|
|
2268
1650
|
defaultMessage: "Can I finish later?"
|
|
2269
1651
|
}),
|
|
2270
|
-
children: /* @__PURE__ */ (0,
|
|
1652
|
+
children: /* @__PURE__ */ (0, $.jsx)("p", { children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2271
1653
|
id: "step.docUpload.canIFinishLaterDetails",
|
|
2272
1654
|
defaultMessage: "Yes, If you don't finish now, we'll automatically send an email to the address you provided with a link back to this step."
|
|
2273
1655
|
}) })
|
|
2274
1656
|
}),
|
|
2275
|
-
|
|
1657
|
+
N && /* @__PURE__ */ (0, $.jsx)("div", {
|
|
2276
1658
|
className: "sid-submit sid-override-submit sid-l-space-top-sm",
|
|
2277
|
-
children: /* @__PURE__ */ (0,
|
|
1659
|
+
children: /* @__PURE__ */ (0, $.jsx)("a", {
|
|
2278
1660
|
href: "#",
|
|
2279
1661
|
className: "sid-link sid-override-link",
|
|
2280
|
-
onClick: () =>
|
|
1662
|
+
onClick: () => ue(),
|
|
2281
1663
|
role: "button",
|
|
2282
|
-
children: /* @__PURE__ */ (0,
|
|
1664
|
+
children: /* @__PURE__ */ (0, $.jsx)(f, {
|
|
2283
1665
|
id: "step.docUpload.cancelDocUploadLabel",
|
|
2284
1666
|
defaultMessage: "Click here if you are unable to verify with a document"
|
|
2285
1667
|
})
|
|
2286
1668
|
})
|
|
2287
1669
|
})
|
|
2288
1670
|
]
|
|
2289
|
-
}), /* @__PURE__ */ (0,
|
|
1671
|
+
}), /* @__PURE__ */ (0, $.jsx)(ie, {
|
|
2290
1672
|
verificationService: e,
|
|
2291
1673
|
showShield: !1
|
|
2292
1674
|
})]
|
|
2293
1675
|
});
|
|
2294
1676
|
};
|
|
2295
1677
|
//#endregion
|
|
2296
|
-
export {
|
|
1678
|
+
export { Mt as default };
|